fb0da2f598aca5b89357b89cc41660e0b8de0eda
[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 _0xf53b=['lodash','util','../../config/logger','api','bluebird','rimraf','../../config/environment','./chatQueueReport.attributes','exports','ChatQueueReport','report_chat_queue','uniqueid'];(function(_0x1f3437,_0x4062c5){var _0x57b792=function(_0x8adb2){while(--_0x8adb2){_0x1f3437['push'](_0x1f3437['shift']());}};_0x57b792(++_0x4062c5);}(_0xf53b,0xd8));var _0xbf53=function(_0xec3058,_0x5c1446){_0xec3058=_0xec3058-0x0;var _0x1a670d=_0xf53b[_0xec3058];return _0x1a670d;};'use strict';var _=require(_0xbf53('0x0'));var util=require(_0xbf53('0x1'));var logger=require(_0xbf53('0x2'))(_0xbf53('0x3'));var moment=require('moment');var BPromise=require(_0xbf53('0x4'));var rp=require('request-promise');var fs=require('fs');var path=require('path');var rimraf=require(_0xbf53('0x5'));var config=require(_0xbf53('0x6'));var attributes=require(_0xbf53('0x7'));module[_0xbf53('0x8')]=function(_0x24b188,_0x50ae47){return _0x24b188['define'](_0xbf53('0x9'),attributes,{'tableName':_0xbf53('0xa'),'paranoid':![],'indexes':[{'name':_0xbf53('0xb'),'fields':[_0xbf53('0xb')]}],'timestamps':!![]});};