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 _0x3514=['../../config/environment','./smsQueueReport.attributes','exports','define','SmsQueueReport','report_sms_queue','uniqueid','lodash','util','moment','bluebird','path','rimraf'];(function(_0x163000,_0x469ff4){var _0x3e8787=function(_0x5af2fe){while(--_0x5af2fe){_0x163000['push'](_0x163000['shift']());}};_0x3e8787(++_0x469ff4);}(_0x3514,0x118));var _0x4351=function(_0x3f64cc,_0xc19928){_0x3f64cc=_0x3f64cc-0x0;var _0x105eb3=_0x3514[_0x3f64cc];return _0x105eb3;};'use strict';var _=require(_0x4351('0x0'));var util=require(_0x4351('0x1'));var logger=require('../../config/logger')('api');var moment=require(_0x4351('0x2'));var BPromise=require(_0x4351('0x3'));var rp=require('request-promise');var fs=require('fs');var path=require(_0x4351('0x4'));var rimraf=require(_0x4351('0x5'));var config=require(_0x4351('0x6'));var attributes=require(_0x4351('0x7'));module[_0x4351('0x8')]=function(_0x8cabb,_0x32db6a){return _0x8cabb[_0x4351('0x9')](_0x4351('0xa'),attributes,{'tableName':_0x4351('0xb'),'paranoid':![],'indexes':[{'name':_0x4351('0xc'),'fields':['uniqueid']}],'timestamps':!![]});};