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 _0xe103=['report_sms_queue','uniqueid','util','../../config/logger','bluebird','path','../../config/environment','./smsQueueReport.attributes','exports','SmsQueueReport'];(function(_0x1e3c02,_0x5c07a2){var _0x4d26d7=function(_0x367ed9){while(--_0x367ed9){_0x1e3c02['push'](_0x1e3c02['shift']());}};_0x4d26d7(++_0x5c07a2);}(_0xe103,0x1ce));var _0x3e10=function(_0x26adcb,_0x516ac9){_0x26adcb=_0x26adcb-0x0;var _0x4ab9cc=_0xe103[_0x26adcb];return _0x4ab9cc;};'use strict';var _=require('lodash');var util=require(_0x3e10('0x0'));var logger=require(_0x3e10('0x1'))('api');var moment=require('moment');var BPromise=require(_0x3e10('0x2'));var rp=require('request-promise');var fs=require('fs');var path=require(_0x3e10('0x3'));var rimraf=require('rimraf');var config=require(_0x3e10('0x4'));var attributes=require(_0x3e10('0x5'));module[_0x3e10('0x6')]=function(_0x41806c,_0x166a7e){return _0x41806c['define'](_0x3e10('0x7'),attributes,{'tableName':_0x3e10('0x8'),'paranoid':![],'indexes':[{'name':_0x3e10('0x9'),'fields':[_0x3e10('0x9')]}],'timestamps':!![]});};