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 _0x8a24=['rimraf','../../config/environment','exports','define','UserSmsQueue','user_has_sms_queues','lodash','util','../../config/logger','bluebird','request-promise','path'];(function(_0x3f1c28,_0x1f3b4f){var _0x234af6=function(_0xcb3a7f){while(--_0xcb3a7f){_0x3f1c28['push'](_0x3f1c28['shift']());}};_0x234af6(++_0x1f3b4f);}(_0x8a24,0x10e));var _0x48a2=function(_0x371818,_0x4a67a5){_0x371818=_0x371818-0x0;var _0x5e223d=_0x8a24[_0x371818];return _0x5e223d;};'use strict';var _=require(_0x48a2('0x0'));var util=require(_0x48a2('0x1'));var logger=require(_0x48a2('0x2'))('api');var moment=require('moment');var BPromise=require(_0x48a2('0x3'));var rp=require(_0x48a2('0x4'));var fs=require('fs');var path=require(_0x48a2('0x5'));var rimraf=require(_0x48a2('0x6'));var config=require(_0x48a2('0x7'));var attributes=require('./userSmsQueue.attributes');module[_0x48a2('0x8')]=function(_0x308736,_0xd475c3){return _0x308736[_0x48a2('0x9')](_0x48a2('0xa'),attributes,{'tableName':_0x48a2('0xb'),'paranoid':![],'indexes':[],'timestamps':!![]});};