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 _0xbced=['../../config/logger','moment','bluebird','request-promise','./openchannelTransferReport.attributes','exports','define','OpenchannelTransferReport','uniqueid','util'];(function(_0x30a027,_0x3088a3){var _0x52e81e=function(_0x5e0cba){while(--_0x5e0cba){_0x30a027['push'](_0x30a027['shift']());}};_0x52e81e(++_0x3088a3);}(_0xbced,0xb3));var _0xdbce=function(_0x6bb893,_0x1a2464){_0x6bb893=_0x6bb893-0x0;var _0x48d0fb=_0xbced[_0x6bb893];return _0x48d0fb;};'use strict';var _=require('lodash');var util=require(_0xdbce('0x0'));var logger=require(_0xdbce('0x1'))('api');var moment=require(_0xdbce('0x2'));var BPromise=require(_0xdbce('0x3'));var rp=require(_0xdbce('0x4'));var fs=require('fs');var path=require('path');var rimraf=require('rimraf');var config=require('../../config/environment');var attributes=require(_0xdbce('0x5'));module[_0xdbce('0x6')]=function(_0x596e75,_0x174223){return _0x596e75[_0xdbce('0x7')](_0xdbce('0x8'),attributes,{'tableName':'report_openchannel_transfer','paranoid':![],'indexes':[{'name':_0xdbce('0x9'),'fields':[_0xdbce('0x9')]}],'timestamps':!![]});};