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 _0x6a37=['define','report_chat_transfer','uniqueid','lodash','../../config/logger','api','moment','request-promise','rimraf','./chatTransferReport.attributes'];(function(_0x2be8c2,_0x14a4b5){var _0x97f531=function(_0xcee58d){while(--_0xcee58d){_0x2be8c2['push'](_0x2be8c2['shift']());}};_0x97f531(++_0x14a4b5);}(_0x6a37,0x19d));var _0x76a3=function(_0x1deb03,_0xd05ad8){_0x1deb03=_0x1deb03-0x0;var _0x189fe7=_0x6a37[_0x1deb03];return _0x189fe7;};'use strict';var _=require(_0x76a3('0x0'));var util=require('util');var logger=require(_0x76a3('0x1'))(_0x76a3('0x2'));var moment=require(_0x76a3('0x3'));var BPromise=require('bluebird');var rp=require(_0x76a3('0x4'));var fs=require('fs');var path=require('path');var rimraf=require(_0x76a3('0x5'));var config=require('../../config/environment');var attributes=require(_0x76a3('0x6'));module['exports']=function(_0x44f76e,_0xf685eb){return _0x44f76e[_0x76a3('0x7')]('ChatTransferReport',attributes,{'tableName':_0x76a3('0x8'),'paranoid':![],'indexes':[{'name':_0x76a3('0x9'),'fields':['uniqueid']}],'timestamps':!![]});};