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 _0x7937=['moment','bluebird','request-promise','rimraf','../../config/environment','./openchannelTransferReport.attributes','exports','define','OpenchannelTransferReport','uniqueid','lodash','util'];(function(_0x49f790,_0x27de72){var _0x5a9c0e=function(_0x1cbe57){while(--_0x1cbe57){_0x49f790['push'](_0x49f790['shift']());}};_0x5a9c0e(++_0x27de72);}(_0x7937,0xe2));var _0x7793=function(_0x2c9e61,_0x2d13f5){_0x2c9e61=_0x2c9e61-0x0;var _0x4d55d6=_0x7937[_0x2c9e61];return _0x4d55d6;};'use strict';var _=require(_0x7793('0x0'));var util=require(_0x7793('0x1'));var logger=require('../../config/logger')('api');var moment=require(_0x7793('0x2'));var BPromise=require(_0x7793('0x3'));var rp=require(_0x7793('0x4'));var fs=require('fs');var path=require('path');var rimraf=require(_0x7793('0x5'));var config=require(_0x7793('0x6'));var attributes=require(_0x7793('0x7'));module[_0x7793('0x8')]=function(_0x5bcfdf,_0x2ea7bc){return _0x5bcfdf[_0x7793('0x9')](_0x7793('0xa'),attributes,{'tableName':'report_openchannel_transfer','paranoid':![],'indexes':[{'name':_0x7793('0xb'),'fields':['uniqueid']}],'timestamps':!![]});};