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 _0x1d8e=['moment','bluebird','request-promise','path','rimraf','../../config/environment','exports','define','SmsQueue','lodash','util','../../config/logger','api'];(function(_0x2283dc,_0x2fcfc5){var _0x16db90=function(_0x376c35){while(--_0x376c35){_0x2283dc['push'](_0x2283dc['shift']());}};_0x16db90(++_0x2fcfc5);}(_0x1d8e,0xcc));var _0xe1d8=function(_0x460666,_0x24bfa0){_0x460666=_0x460666-0x0;var _0x555cbf=_0x1d8e[_0x460666];return _0x555cbf;};'use strict';var _=require(_0xe1d8('0x0'));var util=require(_0xe1d8('0x1'));var logger=require(_0xe1d8('0x2'))(_0xe1d8('0x3'));var moment=require(_0xe1d8('0x4'));var BPromise=require(_0xe1d8('0x5'));var rp=require(_0xe1d8('0x6'));var fs=require('fs');var path=require(_0xe1d8('0x7'));var rimraf=require(_0xe1d8('0x8'));var config=require(_0xe1d8('0x9'));var attributes=require('./smsQueue.attributes');module[_0xe1d8('0xa')]=function(_0x1470ae,_0x336be9){return _0x1470ae[_0xe1d8('0xb')](_0xe1d8('0xc'),attributes,{'tableName':'sms_queues','paranoid':![],'indexes':[],'timestamps':!![]});};