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 _0x1888=['../../config/logger','api','moment','path','rimraf','../../config/environment','./openchannelTransferReport.attributes','exports','OpenchannelTransferReport','report_openchannel_transfer','uniqueid','util'];(function(_0x43c74a,_0x134fad){var _0xbdf740=function(_0x52fcfc){while(--_0x52fcfc){_0x43c74a['push'](_0x43c74a['shift']());}};_0xbdf740(++_0x134fad);}(_0x1888,0x15b));var _0x8188=function(_0x193927,_0x545c88){_0x193927=_0x193927-0x0;var _0x1d21b1=_0x1888[_0x193927];return _0x1d21b1;};'use strict';var _=require('lodash');var util=require(_0x8188('0x0'));var logger=require(_0x8188('0x1'))(_0x8188('0x2'));var moment=require(_0x8188('0x3'));var BPromise=require('bluebird');var rp=require('request-promise');var fs=require('fs');var path=require(_0x8188('0x4'));var rimraf=require(_0x8188('0x5'));var config=require(_0x8188('0x6'));var attributes=require(_0x8188('0x7'));module[_0x8188('0x8')]=function(_0x175ae9,_0x28f6dc){return _0x175ae9['define'](_0x8188('0x9'),attributes,{'tableName':_0x8188('0xa'),'paranoid':![],'indexes':[{'name':'uniqueid','fields':[_0x8188('0xb')]}],'timestamps':!![]});};