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 _0xf98f=['uniqueid','lodash','../../config/logger','moment','bluebird','request-promise','path','rimraf','../../config/environment','./chatTransferReport.attributes','define','report_chat_transfer'];(function(_0x435893,_0xb1a00a){var _0x26a639=function(_0x5b32ef){while(--_0x5b32ef){_0x435893['push'](_0x435893['shift']());}};_0x26a639(++_0xb1a00a);}(_0xf98f,0x169));var _0xff98=function(_0x1286b3,_0x2afc27){_0x1286b3=_0x1286b3-0x0;var _0x197b73=_0xf98f[_0x1286b3];return _0x197b73;};'use strict';var _=require(_0xff98('0x0'));var util=require('util');var logger=require(_0xff98('0x1'))('api');var moment=require(_0xff98('0x2'));var BPromise=require(_0xff98('0x3'));var rp=require(_0xff98('0x4'));var fs=require('fs');var path=require(_0xff98('0x5'));var rimraf=require(_0xff98('0x6'));var config=require(_0xff98('0x7'));var attributes=require(_0xff98('0x8'));module['exports']=function(_0x3c5679,_0x51395f){return _0x3c5679[_0xff98('0x9')]('ChatTransferReport',attributes,{'tableName':_0xff98('0xa'),'paranoid':![],'indexes':[{'name':_0xff98('0xb'),'fields':[_0xff98('0xb')]}],'timestamps':!![]});};