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 _0xf93d=['OpenchannelTransferReport','report_openchannel_transfer','uniqueid','lodash','../../config/logger','moment','bluebird','request-promise','path','./openchannelTransferReport.attributes','exports','define'];(function(_0x86c3a7,_0xfed69c){var _0x4ff309=function(_0x4a9196){while(--_0x4a9196){_0x86c3a7['push'](_0x86c3a7['shift']());}};_0x4ff309(++_0xfed69c);}(_0xf93d,0x16b));var _0xdf93=function(_0x32acce,_0x1c050f){_0x32acce=_0x32acce-0x0;var _0x582c25=_0xf93d[_0x32acce];return _0x582c25;};'use strict';var _=require(_0xdf93('0x0'));var util=require('util');var logger=require(_0xdf93('0x1'))('api');var moment=require(_0xdf93('0x2'));var BPromise=require(_0xdf93('0x3'));var rp=require(_0xdf93('0x4'));var fs=require('fs');var path=require(_0xdf93('0x5'));var rimraf=require('rimraf');var config=require('../../config/environment');var attributes=require(_0xdf93('0x6'));module[_0xdf93('0x7')]=function(_0x847185,_0x2b7a78){return _0x847185[_0xdf93('0x8')](_0xdf93('0x9'),attributes,{'tableName':_0xdf93('0xa'),'paranoid':![],'indexes':[{'name':_0xdf93('0xb'),'fields':[_0xdf93('0xb')]}],'timestamps':!![]});};