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 _0x64fc=['OpenchannelTransferReport','report_openchannel_transfer','uniqueid','lodash','util','../../config/logger','moment','request-promise','path','rimraf','../../config/environment','./openchannelTransferReport.attributes','exports','define'];(function(_0x48d31d,_0x2b8e4f){var _0x397ab9=function(_0x32831c){while(--_0x32831c){_0x48d31d['push'](_0x48d31d['shift']());}};_0x397ab9(++_0x2b8e4f);}(_0x64fc,0x153));var _0xc64f=function(_0x1e3c16,_0x372caa){_0x1e3c16=_0x1e3c16-0x0;var _0x47a0c9=_0x64fc[_0x1e3c16];return _0x47a0c9;};'use strict';var _=require(_0xc64f('0x0'));var util=require(_0xc64f('0x1'));var logger=require(_0xc64f('0x2'))('api');var moment=require(_0xc64f('0x3'));var BPromise=require('bluebird');var rp=require(_0xc64f('0x4'));var fs=require('fs');var path=require(_0xc64f('0x5'));var rimraf=require(_0xc64f('0x6'));var config=require(_0xc64f('0x7'));var attributes=require(_0xc64f('0x8'));module[_0xc64f('0x9')]=function(_0x488df7,_0x58e9ef){return _0x488df7[_0xc64f('0xa')](_0xc64f('0xb'),attributes,{'tableName':_0xc64f('0xc'),'paranoid':![],'indexes':[{'name':'uniqueid','fields':[_0xc64f('0xd')]}],'timestamps':!![]});};