Built motion from commit 96f8de6d.|2.6.3
[motion2.git] / server / api / openchannelQueue / openchannelQueue.model.js
1 // *************************************************************************
2 // *                                                                       *
3 // * xCALLY Motion -  The Omnichannel Contact Center                       *
4 // * Copyright (c) Xenialab s.r.l. All Rights Reserved                     *
5 // *                                                                       *
6 // *************************************************************************
7 // *                                                                       *
8 // * Email: info@xcally.com                                                *
9 // * Website: https://www.xcally.com                                       *
10 // *                                                                       *
11 // *************************************************************************
12 // *                                                                       *
13 // * The SOFTWARE PRODUCT is protected by copyright laws and international *
14 // * copyright treaties, as well as other intellectual property laws and   *
15 // * treaties. The SOFTWARE PRODUCT is licensed, not sold.                         *
16 // *                                                                       *
17 // *************************************************************************
18 var _0x202e=['../../config/logger','moment','bluebird','path','rimraf','../../config/environment','exports','OpenchannelQueue','lodash','util'];(function(_0x14c195,_0x59d195){var _0x17a689=function(_0x2d83ad){while(--_0x2d83ad){_0x14c195['push'](_0x14c195['shift']());}};_0x17a689(++_0x59d195);}(_0x202e,0x184));var _0xe202=function(_0x54a030,_0x2b8053){_0x54a030=_0x54a030-0x0;var _0x5bae45=_0x202e[_0x54a030];return _0x5bae45;};'use strict';var _=require(_0xe202('0x0'));var util=require(_0xe202('0x1'));var logger=require(_0xe202('0x2'))('api');var moment=require(_0xe202('0x3'));var BPromise=require(_0xe202('0x4'));var rp=require('request-promise');var fs=require('fs');var path=require(_0xe202('0x5'));var rimraf=require(_0xe202('0x6'));var config=require(_0xe202('0x7'));var attributes=require('./openchannelQueue.attributes');module[_0xe202('0x8')]=function(_0x2bd229,_0x420f44){return _0x2bd229['define'](_0xe202('0x9'),attributes,{'tableName':'openchannel_queues','paranoid':![],'indexes':[],'timestamps':!![]});};