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 _0xfaf0=['moment','bluebird','request-promise','path','rimraf','../../config/environment','./openchannelTransferReport.attributes','exports','define','OpenchannelTransferReport','uniqueid','../../config/logger','api'];(function(_0x590acb,_0x2e3f40){var _0x2d4f7d=function(_0x5394f9){while(--_0x5394f9){_0x590acb['push'](_0x590acb['shift']());}};_0x2d4f7d(++_0x2e3f40);}(_0xfaf0,0x102));var _0x0faf=function(_0x1f854c,_0x1bfba6){_0x1f854c=_0x1f854c-0x0;var _0x58f027=_0xfaf0[_0x1f854c];return _0x58f027;};'use strict';var _=require('lodash');var util=require('util');var logger=require(_0x0faf('0x0'))(_0x0faf('0x1'));var moment=require(_0x0faf('0x2'));var BPromise=require(_0x0faf('0x3'));var rp=require(_0x0faf('0x4'));var fs=require('fs');var path=require(_0x0faf('0x5'));var rimraf=require(_0x0faf('0x6'));var config=require(_0x0faf('0x7'));var attributes=require(_0x0faf('0x8'));module[_0x0faf('0x9')]=function(_0x2803ac,_0x2b430f){return _0x2803ac[_0x0faf('0xa')](_0x0faf('0xb'),attributes,{'tableName':'report_openchannel_transfer','paranoid':![],'indexes':[{'name':'uniqueid','fields':[_0x0faf('0xc')]}],'timestamps':!![]});};