Built motion from commit 21186556.|2.6.19
[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 _0x683f=['lodash','util','../../config/logger','moment','bluebird','request-promise','path','rimraf','../../config/environment','./openchannelQueue.attributes','exports','openchannel_queues'];(function(_0x47863f,_0x1b37a9){var _0x1331c1=function(_0x888d38){while(--_0x888d38){_0x47863f['push'](_0x47863f['shift']());}};_0x1331c1(++_0x1b37a9);}(_0x683f,0x9c));var _0xf683=function(_0x577519,_0x346daf){_0x577519=_0x577519-0x0;var _0x5b12f7=_0x683f[_0x577519];return _0x5b12f7;};'use strict';var _=require(_0xf683('0x0'));var util=require(_0xf683('0x1'));var logger=require(_0xf683('0x2'))('api');var moment=require(_0xf683('0x3'));var BPromise=require(_0xf683('0x4'));var rp=require(_0xf683('0x5'));var fs=require('fs');var path=require(_0xf683('0x6'));var rimraf=require(_0xf683('0x7'));var config=require(_0xf683('0x8'));var attributes=require(_0xf683('0x9'));module[_0xf683('0xa')]=function(_0x862f7a,_0x351954){return _0x862f7a['define']('OpenchannelQueue',attributes,{'tableName':_0xf683('0xb'),'paranoid':![],'indexes':[],'timestamps':!![]});};