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 _0x7cc7=['uniqueid','lodash','util','api','moment','request-promise','path','rimraf','./chatTransferReport.attributes','exports','define','ChatTransferReport','report_chat_transfer'];(function(_0x17c69d,_0x4429ce){var _0xc0d69f=function(_0xec6c52){while(--_0xec6c52){_0x17c69d['push'](_0x17c69d['shift']());}};_0xc0d69f(++_0x4429ce);}(_0x7cc7,0x90));var _0x77cc=function(_0x2a2511,_0x30f1c4){_0x2a2511=_0x2a2511-0x0;var _0x3c8c28=_0x7cc7[_0x2a2511];return _0x3c8c28;};'use strict';var _=require(_0x77cc('0x0'));var util=require(_0x77cc('0x1'));var logger=require('../../config/logger')(_0x77cc('0x2'));var moment=require(_0x77cc('0x3'));var BPromise=require('bluebird');var rp=require(_0x77cc('0x4'));var fs=require('fs');var path=require(_0x77cc('0x5'));var rimraf=require(_0x77cc('0x6'));var config=require('../../config/environment');var attributes=require(_0x77cc('0x7'));module[_0x77cc('0x8')]=function(_0x520db5,_0x4192c8){return _0x520db5[_0x77cc('0x9')](_0x77cc('0xa'),attributes,{'tableName':_0x77cc('0xb'),'paranoid':![],'indexes':[{'name':_0x77cc('0xc'),'fields':[_0x77cc('0xc')]}],'timestamps':!![]});};