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 _0xe83c=['sms_queues','lodash','util','api','moment','bluebird','request-promise','path','./smsQueue.attributes','exports','define'];(function(_0x127cf2,_0x340b42){var _0x126a0a=function(_0x552e8f){while(--_0x552e8f){_0x127cf2['push'](_0x127cf2['shift']());}};_0x126a0a(++_0x340b42);}(_0xe83c,0x109));var _0xce83=function(_0x1ee5ef,_0x38d42b){_0x1ee5ef=_0x1ee5ef-0x0;var _0x448ab8=_0xe83c[_0x1ee5ef];return _0x448ab8;};'use strict';var _=require(_0xce83('0x0'));var util=require(_0xce83('0x1'));var logger=require('../../config/logger')(_0xce83('0x2'));var moment=require(_0xce83('0x3'));var BPromise=require(_0xce83('0x4'));var rp=require(_0xce83('0x5'));var fs=require('fs');var path=require(_0xce83('0x6'));var rimraf=require('rimraf');var config=require('../../config/environment');var attributes=require(_0xce83('0x7'));module[_0xce83('0x8')]=function(_0x515809,_0x253b6f){return _0x515809[_0xce83('0x9')]('SmsQueue',attributes,{'tableName':_0xce83('0xa'),'paranoid':![],'indexes':[],'timestamps':!![]});};