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 _0xfb24=['exports','define','OpenchannelTransferReport','report_openchannel_transfer','uniqueid','util','moment','bluebird','request-promise','rimraf','../../config/environment','./openchannelTransferReport.attributes'];(function(_0xa464c9,_0x7c86d8){var _0x3d73c4=function(_0x5c2056){while(--_0x5c2056){_0xa464c9['push'](_0xa464c9['shift']());}};_0x3d73c4(++_0x7c86d8);}(_0xfb24,0x1e5));var _0x4fb2=function(_0x245fb5,_0x2aa64a){_0x245fb5=_0x245fb5-0x0;var _0x4ea73e=_0xfb24[_0x245fb5];return _0x4ea73e;};'use strict';var _=require('lodash');var util=require(_0x4fb2('0x0'));var logger=require('../../config/logger')('api');var moment=require(_0x4fb2('0x1'));var BPromise=require(_0x4fb2('0x2'));var rp=require(_0x4fb2('0x3'));var fs=require('fs');var path=require('path');var rimraf=require(_0x4fb2('0x4'));var config=require(_0x4fb2('0x5'));var attributes=require(_0x4fb2('0x6'));module[_0x4fb2('0x7')]=function(_0x135ba1,_0x3b7d67){return _0x135ba1[_0x4fb2('0x8')](_0x4fb2('0x9'),attributes,{'tableName':_0x4fb2('0xa'),'paranoid':![],'indexes':[{'name':_0x4fb2('0xb'),'fields':['uniqueid']}],'timestamps':!![]});};