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 _0xce4d=['lodash','../../config/logger','moment','bluebird','path','rimraf','../../config/environment','./openchannelTransferReport.attributes','define','OpenchannelTransferReport','report_openchannel_transfer','uniqueid'];(function(_0x30553e,_0x2029a2){var _0x16e9fb=function(_0x45fda4){while(--_0x45fda4){_0x30553e['push'](_0x30553e['shift']());}};_0x16e9fb(++_0x2029a2);}(_0xce4d,0x138));var _0xdce4=function(_0xf0fef7,_0x4bf009){_0xf0fef7=_0xf0fef7-0x0;var _0x23436e=_0xce4d[_0xf0fef7];return _0x23436e;};'use strict';var _=require(_0xdce4('0x0'));var util=require('util');var logger=require(_0xdce4('0x1'))('api');var moment=require(_0xdce4('0x2'));var BPromise=require(_0xdce4('0x3'));var rp=require('request-promise');var fs=require('fs');var path=require(_0xdce4('0x4'));var rimraf=require(_0xdce4('0x5'));var config=require(_0xdce4('0x6'));var attributes=require(_0xdce4('0x7'));module['exports']=function(_0x27073f,_0x29137e){return _0x27073f[_0xdce4('0x8')](_0xdce4('0x9'),attributes,{'tableName':_0xdce4('0xa'),'paranoid':![],'indexes':[{'name':_0xdce4('0xb'),'fields':['uniqueid']}],'timestamps':!![]});};