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 _0x9c39=['define','report_chat_transfer','uniqueid','lodash','api','moment','bluebird','request-promise','rimraf','../../config/environment','./chatTransferReport.attributes','exports'];(function(_0x4f3095,_0x44de67){var _0x3c3159=function(_0x25f827){while(--_0x25f827){_0x4f3095['push'](_0x4f3095['shift']());}};_0x3c3159(++_0x44de67);}(_0x9c39,0xe7));var _0x99c3=function(_0x307086,_0x3bfe4e){_0x307086=_0x307086-0x0;var _0x699043=_0x9c39[_0x307086];return _0x699043;};'use strict';var _=require(_0x99c3('0x0'));var util=require('util');var logger=require('../../config/logger')(_0x99c3('0x1'));var moment=require(_0x99c3('0x2'));var BPromise=require(_0x99c3('0x3'));var rp=require(_0x99c3('0x4'));var fs=require('fs');var path=require('path');var rimraf=require(_0x99c3('0x5'));var config=require(_0x99c3('0x6'));var attributes=require(_0x99c3('0x7'));module[_0x99c3('0x8')]=function(_0x1ebab8,_0x271f22){return _0x1ebab8[_0x99c3('0x9')]('ChatTransferReport',attributes,{'tableName':_0x99c3('0xa'),'paranoid':![],'indexes':[{'name':'uniqueid','fields':[_0x99c3('0xb')]}],'timestamps':!![]});};