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 _0x8781=['../../config/environment','./smsTransferReport.attributes','exports','define','SmsTransferReport','report_sms_transfer','uniqueid','lodash','util','api','moment','request-promise','rimraf'];(function(_0x5b5199,_0x58a8e5){var _0x2f5736=function(_0x1f35ce){while(--_0x1f35ce){_0x5b5199['push'](_0x5b5199['shift']());}};_0x2f5736(++_0x58a8e5);}(_0x8781,0x118));var _0x1878=function(_0x5e175a,_0x40cd27){_0x5e175a=_0x5e175a-0x0;var _0x135192=_0x8781[_0x5e175a];return _0x135192;};'use strict';var _=require(_0x1878('0x0'));var util=require(_0x1878('0x1'));var logger=require('../../config/logger')(_0x1878('0x2'));var moment=require(_0x1878('0x3'));var BPromise=require('bluebird');var rp=require(_0x1878('0x4'));var fs=require('fs');var path=require('path');var rimraf=require(_0x1878('0x5'));var config=require(_0x1878('0x6'));var attributes=require(_0x1878('0x7'));module[_0x1878('0x8')]=function(_0x21515f,_0x5745c7){return _0x21515f[_0x1878('0x9')](_0x1878('0xa'),attributes,{'tableName':_0x1878('0xb'),'paranoid':![],'indexes':[{'name':'uniqueid','fields':[_0x1878('0xc')]}],'timestamps':!![]});};