Built motion from commit 53172ac8.|2.6.30
[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 _0xa922=['path','rimraf','../../config/environment','./openchannelQueue.attributes','exports','define','OpenchannelQueue','lodash','util','moment','bluebird','request-promise'];(function(_0x49777b,_0x1ba533){var _0x56a2bc=function(_0x1f4d5d){while(--_0x1f4d5d){_0x49777b['push'](_0x49777b['shift']());}};_0x56a2bc(++_0x1ba533);}(_0xa922,0x14b));var _0x2a92=function(_0x29c838,_0x47ddfb){_0x29c838=_0x29c838-0x0;var _0x449c3e=_0xa922[_0x29c838];return _0x449c3e;};'use strict';var _=require(_0x2a92('0x0'));var util=require(_0x2a92('0x1'));var logger=require('../../config/logger')('api');var moment=require(_0x2a92('0x2'));var BPromise=require(_0x2a92('0x3'));var rp=require(_0x2a92('0x4'));var fs=require('fs');var path=require(_0x2a92('0x5'));var rimraf=require(_0x2a92('0x6'));var config=require(_0x2a92('0x7'));var attributes=require(_0x2a92('0x8'));module[_0x2a92('0x9')]=function(_0x2c1f99,_0x1c9621){return _0x2c1f99[_0x2a92('0xa')](_0x2a92('0xb'),attributes,{'tableName':'openchannel_queues','paranoid':![],'indexes':[],'timestamps':!![]});};