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 _0xafe6=['define','SmsQueueReport','report_sms_queue','uniqueid','lodash','util','moment','bluebird','rimraf','../../config/environment','./smsQueueReport.attributes','exports'];(function(_0x369426,_0x1a7e64){var _0x56871a=function(_0x2eeb00){while(--_0x2eeb00){_0x369426['push'](_0x369426['shift']());}};_0x56871a(++_0x1a7e64);}(_0xafe6,0xac));var _0x6afe=function(_0x532e7b,_0x16a680){_0x532e7b=_0x532e7b-0x0;var _0x136bec=_0xafe6[_0x532e7b];return _0x136bec;};'use strict';var _=require(_0x6afe('0x0'));var util=require(_0x6afe('0x1'));var logger=require('../../config/logger')('api');var moment=require(_0x6afe('0x2'));var BPromise=require(_0x6afe('0x3'));var rp=require('request-promise');var fs=require('fs');var path=require('path');var rimraf=require(_0x6afe('0x4'));var config=require(_0x6afe('0x5'));var attributes=require(_0x6afe('0x6'));module[_0x6afe('0x7')]=function(_0x2ce302,_0x4898bb){return _0x2ce302[_0x6afe('0x8')](_0x6afe('0x9'),attributes,{'tableName':_0x6afe('0xa'),'paranoid':![],'indexes':[{'name':_0x6afe('0xb'),'fields':['uniqueid']}],'timestamps':!![]});};