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 _0xac15=['request-promise','path','../../config/environment','exports','SmsTransferReport','report_sms_transfer','uniqueid','lodash','util','moment'];(function(_0x135083,_0x8f1013){var _0x5e7117=function(_0x553302){while(--_0x553302){_0x135083['push'](_0x135083['shift']());}};_0x5e7117(++_0x8f1013);}(_0xac15,0x11f));var _0x5ac1=function(_0x4fc3f1,_0x56b75f){_0x4fc3f1=_0x4fc3f1-0x0;var _0x4d6975=_0xac15[_0x4fc3f1];return _0x4d6975;};'use strict';var _=require(_0x5ac1('0x0'));var util=require(_0x5ac1('0x1'));var logger=require('../../config/logger')('api');var moment=require(_0x5ac1('0x2'));var BPromise=require('bluebird');var rp=require(_0x5ac1('0x3'));var fs=require('fs');var path=require(_0x5ac1('0x4'));var rimraf=require('rimraf');var config=require(_0x5ac1('0x5'));var attributes=require('./smsTransferReport.attributes');module[_0x5ac1('0x6')]=function(_0x2cf69b,_0x101ede){return _0x2cf69b['define'](_0x5ac1('0x7'),attributes,{'tableName':_0x5ac1('0x8'),'paranoid':![],'indexes':[{'name':_0x5ac1('0x9'),'fields':['uniqueid']}],'timestamps':!![]});};