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 _0x3337=['uniqueid','lodash','util','../../config/logger','api','path','rimraf','exports','define','report_openchannel_transfer'];(function(_0x3a03e0,_0x512413){var _0x49a153=function(_0x1b7bef){while(--_0x1b7bef){_0x3a03e0['push'](_0x3a03e0['shift']());}};_0x49a153(++_0x512413);}(_0x3337,0x1eb));var _0x7333=function(_0x40ebff,_0x1dd15e){_0x40ebff=_0x40ebff-0x0;var _0x40122a=_0x3337[_0x40ebff];return _0x40122a;};'use strict';var _=require(_0x7333('0x0'));var util=require(_0x7333('0x1'));var logger=require(_0x7333('0x2'))(_0x7333('0x3'));var moment=require('moment');var BPromise=require('bluebird');var rp=require('request-promise');var fs=require('fs');var path=require(_0x7333('0x4'));var rimraf=require(_0x7333('0x5'));var config=require('../../config/environment');var attributes=require('./openchannelTransferReport.attributes');module[_0x7333('0x6')]=function(_0x1d21c5,_0x489c42){return _0x1d21c5[_0x7333('0x7')]('OpenchannelTransferReport',attributes,{'tableName':_0x7333('0x8'),'paranoid':![],'indexes':[{'name':_0x7333('0x9'),'fields':[_0x7333('0x9')]}],'timestamps':!![]});};