Built motion from commit (unavailable).|2.5.24
[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 _0xd1e6=['define','ChatQueueReport','uniqueid','lodash','../../config/logger','api','moment','bluebird','request-promise','rimraf','../../config/environment','./chatQueueReport.attributes','exports'];(function(_0x54db7a,_0x7b6ee6){var _0xd5928c=function(_0x317510){while(--_0x317510){_0x54db7a['push'](_0x54db7a['shift']());}};_0xd5928c(++_0x7b6ee6);}(_0xd1e6,0x78));var _0x6d1e=function(_0x437690,_0x28468f){_0x437690=_0x437690-0x0;var _0x599ee1=_0xd1e6[_0x437690];return _0x599ee1;};'use strict';var _=require(_0x6d1e('0x0'));var util=require('util');var logger=require(_0x6d1e('0x1'))(_0x6d1e('0x2'));var moment=require(_0x6d1e('0x3'));var BPromise=require(_0x6d1e('0x4'));var rp=require(_0x6d1e('0x5'));var fs=require('fs');var path=require('path');var rimraf=require(_0x6d1e('0x6'));var config=require(_0x6d1e('0x7'));var attributes=require(_0x6d1e('0x8'));module[_0x6d1e('0x9')]=function(_0x4fe389,_0x33d34b){return _0x4fe389[_0x6d1e('0xa')](_0x6d1e('0xb'),attributes,{'tableName':'report_chat_queue','paranoid':![],'indexes':[{'name':_0x6d1e('0xc'),'fields':[_0x6d1e('0xc')]}],'timestamps':!![]});};