d280e24a4f08c80c35445e8838e7cd2f6737f221
[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 _0x42e5=['../../config/logger','api','moment','bluebird','rimraf','./chatQueueReport.attributes','exports','define','ChatQueueReport','uniqueid','lodash','util'];(function(_0x1c546c,_0x5c57cb){var _0x2cc384=function(_0x4dee11){while(--_0x4dee11){_0x1c546c['push'](_0x1c546c['shift']());}};_0x2cc384(++_0x5c57cb);}(_0x42e5,0x1de));var _0x542e=function(_0x1089fb,_0x2a412d){_0x1089fb=_0x1089fb-0x0;var _0x5deb2a=_0x42e5[_0x1089fb];return _0x5deb2a;};'use strict';var _=require(_0x542e('0x0'));var util=require(_0x542e('0x1'));var logger=require(_0x542e('0x2'))(_0x542e('0x3'));var moment=require(_0x542e('0x4'));var BPromise=require(_0x542e('0x5'));var rp=require('request-promise');var fs=require('fs');var path=require('path');var rimraf=require(_0x542e('0x6'));var config=require('../../config/environment');var attributes=require(_0x542e('0x7'));module[_0x542e('0x8')]=function(_0x2fb58c,_0x1a747e){return _0x2fb58c[_0x542e('0x9')](_0x542e('0xa'),attributes,{'tableName':'report_chat_queue','paranoid':![],'indexes':[{'name':_0x542e('0xb'),'fields':[_0x542e('0xb')]}],'timestamps':!![]});};