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 _0x2cde=['SmsTransferReport','report_sms_transfer','uniqueid','lodash','util','../../config/logger','api','moment','bluebird','request-promise','path','rimraf','../../config/environment','exports'];(function(_0x3dd15e,_0x1f0015){var _0x231fd0=function(_0x4f680a){while(--_0x4f680a){_0x3dd15e['push'](_0x3dd15e['shift']());}};_0x231fd0(++_0x1f0015);}(_0x2cde,0x1ed));var _0xe2cd=function(_0x2f4819,_0x3b4b03){_0x2f4819=_0x2f4819-0x0;var _0x2363e0=_0x2cde[_0x2f4819];return _0x2363e0;};'use strict';var _=require(_0xe2cd('0x0'));var util=require(_0xe2cd('0x1'));var logger=require(_0xe2cd('0x2'))(_0xe2cd('0x3'));var moment=require(_0xe2cd('0x4'));var BPromise=require(_0xe2cd('0x5'));var rp=require(_0xe2cd('0x6'));var fs=require('fs');var path=require(_0xe2cd('0x7'));var rimraf=require(_0xe2cd('0x8'));var config=require(_0xe2cd('0x9'));var attributes=require('./smsTransferReport.attributes');module[_0xe2cd('0xa')]=function(_0x337ac8,_0x5af2d2){return _0x337ac8['define'](_0xe2cd('0xb'),attributes,{'tableName':_0xe2cd('0xc'),'paranoid':![],'indexes':[{'name':'uniqueid','fields':[_0xe2cd('0xd')]}],'timestamps':!![]});};