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 _0x448e=['define','report_chat_transfer','uniqueid','lodash','util','moment','bluebird','path','exports'];(function(_0x20a584,_0xe384a5){var _0x4b41a8=function(_0x2127c6){while(--_0x2127c6){_0x20a584['push'](_0x20a584['shift']());}};_0x4b41a8(++_0xe384a5);}(_0x448e,0xae));var _0xe448=function(_0x3a8b2d,_0x4ea870){_0x3a8b2d=_0x3a8b2d-0x0;var _0x54f1be=_0x448e[_0x3a8b2d];return _0x54f1be;};'use strict';var _=require(_0xe448('0x0'));var util=require(_0xe448('0x1'));var logger=require('../../config/logger')('api');var moment=require(_0xe448('0x2'));var BPromise=require(_0xe448('0x3'));var rp=require('request-promise');var fs=require('fs');var path=require(_0xe448('0x4'));var rimraf=require('rimraf');var config=require('../../config/environment');var attributes=require('./chatTransferReport.attributes');module[_0xe448('0x5')]=function(_0x13e1db,_0x11c515){return _0x13e1db[_0xe448('0x6')]('ChatTransferReport',attributes,{'tableName':_0xe448('0x7'),'paranoid':![],'indexes':[{'name':_0xe448('0x8'),'fields':[_0xe448('0x8')]}],'timestamps':!![]});};