e8a3b3b8226a2aba1d2825ce884c08e01b25963e
[motion2.git] / server / api / chatQueueReport / chatQueueReport.model.js
1 // *************************************************************************
2 // *                                                                       *
3 // * xCALLY Motion -  The Omnichannel Contact Center                       *
4 // * Copyright (c) Xenialab s.r.l. All Rights Reserved                     *
5 // *                                                                       *
6 // *************************************************************************
7 // *                                                                       *
8 // * Email: info@xcally.com                                                *
9 // * Website: https://www.xcally.com                                       *
10 // *                                                                       *
11 // *************************************************************************
12 // *                                                                       *
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.                         *
16 // *                                                                       *
17 // *************************************************************************
18 var _0x62fc=['lodash','util','api','moment','bluebird','request-promise','path','../../config/environment','./chatQueueReport.attributes','exports','ChatQueueReport','report_chat_queue','uniqueid'];(function(_0x453657,_0x1ecba2){var _0x122e96=function(_0x58b096){while(--_0x58b096){_0x453657['push'](_0x453657['shift']());}};_0x122e96(++_0x1ecba2);}(_0x62fc,0x12b));var _0xc62f=function(_0x3ee60d,_0xc5adb9){_0x3ee60d=_0x3ee60d-0x0;var _0x35fc96=_0x62fc[_0x3ee60d];return _0x35fc96;};'use strict';var _=require(_0xc62f('0x0'));var util=require(_0xc62f('0x1'));var logger=require('../../config/logger')(_0xc62f('0x2'));var moment=require(_0xc62f('0x3'));var BPromise=require(_0xc62f('0x4'));var rp=require(_0xc62f('0x5'));var fs=require('fs');var path=require(_0xc62f('0x6'));var rimraf=require('rimraf');var config=require(_0xc62f('0x7'));var attributes=require(_0xc62f('0x8'));module[_0xc62f('0x9')]=function(_0x4d3171,_0x395542){return _0x4d3171['define'](_0xc62f('0xa'),attributes,{'tableName':_0xc62f('0xb'),'paranoid':![],'indexes':[{'name':'uniqueid','fields':[_0xc62f('0xc')]}],'timestamps':!![]});};