1 // *************************************************************************
3 // * xCALLY Motion - The Omnichannel Contact Center *
4 // * Copyright (c) Xenialab s.r.l. All Rights Reserved *
6 // *************************************************************************
8 // * Email: info@xcally.com *
9 // * Website: https://www.xcally.com *
11 // *************************************************************************
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. *
17 // *************************************************************************
18 var _0x641c=['../../config/logger','moment','bluebird','request-promise','path','../../config/environment','./chatQueue.attributes','exports','chat_queues','lodash','util'];(function(_0x687ab5,_0x1ceca1){var _0x420143=function(_0x266bfb){while(--_0x266bfb){_0x687ab5['push'](_0x687ab5['shift']());}};_0x420143(++_0x1ceca1);}(_0x641c,0x1d7));var _0xc641=function(_0x2263c3,_0x126cac){_0x2263c3=_0x2263c3-0x0;var _0x2362e8=_0x641c[_0x2263c3];return _0x2362e8;};'use strict';var _=require(_0xc641('0x0'));var util=require(_0xc641('0x1'));var logger=require(_0xc641('0x2'))('api');var moment=require(_0xc641('0x3'));var BPromise=require(_0xc641('0x4'));var rp=require(_0xc641('0x5'));var fs=require('fs');var path=require(_0xc641('0x6'));var rimraf=require('rimraf');var config=require(_0xc641('0x7'));var attributes=require(_0xc641('0x8'));module[_0xc641('0x9')]=function(_0x57e8bd,_0x5bb86c){return _0x57e8bd['define']('ChatQueue',attributes,{'tableName':_0xc641('0xa'),'paranoid':![],'indexes':[],'timestamps':!![]});};