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 _0xe937=['./chatTransferReport.attributes','exports','define','report_chat_transfer','uniqueid','util','../../config/logger','bluebird','request-promise','rimraf','../../config/environment'];(function(_0x38be62,_0xc0275f){var _0x2da447=function(_0x2f06f9){while(--_0x2f06f9){_0x38be62['push'](_0x38be62['shift']());}};_0x2da447(++_0xc0275f);}(_0xe937,0x15a));var _0x7e93=function(_0x51a4b1,_0x374955){_0x51a4b1=_0x51a4b1-0x0;var _0x305c71=_0xe937[_0x51a4b1];return _0x305c71;};'use strict';var _=require('lodash');var util=require(_0x7e93('0x0'));var logger=require(_0x7e93('0x1'))('api');var moment=require('moment');var BPromise=require(_0x7e93('0x2'));var rp=require(_0x7e93('0x3'));var fs=require('fs');var path=require('path');var rimraf=require(_0x7e93('0x4'));var config=require(_0x7e93('0x5'));var attributes=require(_0x7e93('0x6'));module[_0x7e93('0x7')]=function(_0x1afaff,_0x34e382){return _0x1afaff[_0x7e93('0x8')]('ChatTransferReport',attributes,{'tableName':_0x7e93('0x9'),'paranoid':![],'indexes':[{'name':_0x7e93('0xa'),'fields':[_0x7e93('0xa')]}],'timestamps':!![]});};