Built motion from commit 7158bc59.|2.5.42
[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 _0xdd8d=['openchannel_queues','lodash','util','api','moment','bluebird','request-promise','path','../../config/environment','./openchannelQueue.attributes','exports','OpenchannelQueue'];(function(_0x448970,_0x44b9b4){var _0x2fa420=function(_0x10a754){while(--_0x10a754){_0x448970['push'](_0x448970['shift']());}};_0x2fa420(++_0x44b9b4);}(_0xdd8d,0x85));var _0xddd8=function(_0x54fe1c,_0x5d208c){_0x54fe1c=_0x54fe1c-0x0;var _0x460aaa=_0xdd8d[_0x54fe1c];return _0x460aaa;};'use strict';var _=require(_0xddd8('0x0'));var util=require(_0xddd8('0x1'));var logger=require('../../config/logger')(_0xddd8('0x2'));var moment=require(_0xddd8('0x3'));var BPromise=require(_0xddd8('0x4'));var rp=require(_0xddd8('0x5'));var fs=require('fs');var path=require(_0xddd8('0x6'));var rimraf=require('rimraf');var config=require(_0xddd8('0x7'));var attributes=require(_0xddd8('0x8'));module[_0xddd8('0x9')]=function(_0x295194,_0x3fe554){return _0x295194['define'](_0xddd8('0xa'),attributes,{'tableName':_0xddd8('0xb'),'paranoid':![],'indexes':[],'timestamps':!![]});};