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 _0xd95b=['./chatTransferReport.attributes','exports','define','ChatTransferReport','report_chat_transfer','uniqueid','../../config/logger','api','moment','bluebird','path','rimraf','../../config/environment'];(function(_0x3cb474,_0x413451){var _0x12794e=function(_0x5759dc){while(--_0x5759dc){_0x3cb474['push'](_0x3cb474['shift']());}};_0x12794e(++_0x413451);}(_0xd95b,0x165));var _0xbd95=function(_0x25cd2a,_0x36645d){_0x25cd2a=_0x25cd2a-0x0;var _0x572a39=_0xd95b[_0x25cd2a];return _0x572a39;};'use strict';var _=require('lodash');var util=require('util');var logger=require(_0xbd95('0x0'))(_0xbd95('0x1'));var moment=require(_0xbd95('0x2'));var BPromise=require(_0xbd95('0x3'));var rp=require('request-promise');var fs=require('fs');var path=require(_0xbd95('0x4'));var rimraf=require(_0xbd95('0x5'));var config=require(_0xbd95('0x6'));var attributes=require(_0xbd95('0x7'));module[_0xbd95('0x8')]=function(_0x2e6703,_0x19b695){return _0x2e6703[_0xbd95('0x9')](_0xbd95('0xa'),attributes,{'tableName':_0xbd95('0xb'),'paranoid':![],'indexes':[{'name':_0xbd95('0xc'),'fields':['uniqueid']}],'timestamps':!![]});};