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 _0xe0a2=['define','OpenchannelTransferReport','uniqueid','lodash','bluebird','path','rimraf','../../config/environment','./openchannelTransferReport.attributes','exports'];(function(_0x5c2b34,_0x5afb8b){var _0x128121=function(_0x2c971f){while(--_0x2c971f){_0x5c2b34['push'](_0x5c2b34['shift']());}};_0x128121(++_0x5afb8b);}(_0xe0a2,0x1b1));var _0x2e0a=function(_0x14add3,_0x13ce8d){_0x14add3=_0x14add3-0x0;var _0x4a174f=_0xe0a2[_0x14add3];return _0x4a174f;};'use strict';var _=require(_0x2e0a('0x0'));var util=require('util');var logger=require('../../config/logger')('api');var moment=require('moment');var BPromise=require(_0x2e0a('0x1'));var rp=require('request-promise');var fs=require('fs');var path=require(_0x2e0a('0x2'));var rimraf=require(_0x2e0a('0x3'));var config=require(_0x2e0a('0x4'));var attributes=require(_0x2e0a('0x5'));module[_0x2e0a('0x6')]=function(_0x19f2f3,_0x5499f7){return _0x19f2f3[_0x2e0a('0x7')](_0x2e0a('0x8'),attributes,{'tableName':'report_openchannel_transfer','paranoid':![],'indexes':[{'name':'uniqueid','fields':[_0x2e0a('0x9')]}],'timestamps':!![]});};