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 _0x9af5=['path','rimraf','../../config/environment','./openchannelTransferReport.attributes','exports','define','OpenchannelTransferReport','report_openchannel_transfer','uniqueid','util','../../config/logger','api','moment','request-promise'];(function(_0x53bb35,_0xccb458){var _0x4b26f9=function(_0x49733a){while(--_0x49733a){_0x53bb35['push'](_0x53bb35['shift']());}};_0x4b26f9(++_0xccb458);}(_0x9af5,0x6b));var _0x59af=function(_0x2dafbe,_0x5d04de){_0x2dafbe=_0x2dafbe-0x0;var _0x58a45a=_0x9af5[_0x2dafbe];return _0x58a45a;};'use strict';var _=require('lodash');var util=require(_0x59af('0x0'));var logger=require(_0x59af('0x1'))(_0x59af('0x2'));var moment=require(_0x59af('0x3'));var BPromise=require('bluebird');var rp=require(_0x59af('0x4'));var fs=require('fs');var path=require(_0x59af('0x5'));var rimraf=require(_0x59af('0x6'));var config=require(_0x59af('0x7'));var attributes=require(_0x59af('0x8'));module[_0x59af('0x9')]=function(_0x4f95ad,_0x9e8f4e){return _0x4f95ad[_0x59af('0xa')](_0x59af('0xb'),attributes,{'tableName':_0x59af('0xc'),'paranoid':![],'indexes':[{'name':_0x59af('0xd'),'fields':[_0x59af('0xd')]}],'timestamps':!![]});};