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 _0x4561=['define','report_chat_queue','uniqueid','util','../../config/logger','api','bluebird','request-promise','rimraf'];(function(_0x4dab51,_0x2a5c13){var _0x2b6f22=function(_0x4dca07){while(--_0x4dca07){_0x4dab51['push'](_0x4dab51['shift']());}};_0x2b6f22(++_0x2a5c13);}(_0x4561,0x108));var _0x1456=function(_0x1eb7b7,_0x3cc652){_0x1eb7b7=_0x1eb7b7-0x0;var _0x509dba=_0x4561[_0x1eb7b7];return _0x509dba;};'use strict';var _=require('lodash');var util=require(_0x1456('0x0'));var logger=require(_0x1456('0x1'))(_0x1456('0x2'));var moment=require('moment');var BPromise=require(_0x1456('0x3'));var rp=require(_0x1456('0x4'));var fs=require('fs');var path=require('path');var rimraf=require(_0x1456('0x5'));var config=require('../../config/environment');var attributes=require('./chatQueueReport.attributes');module['exports']=function(_0x44e131,_0x319ba7){return _0x44e131[_0x1456('0x6')]('ChatQueueReport',attributes,{'tableName':_0x1456('0x7'),'paranoid':![],'indexes':[{'name':'uniqueid','fields':[_0x1456('0x8')]}],'timestamps':!![]});};