Built motion from commit (unavailable).|2.5.12
[motion2.git] / server / api / openchannelQueueReport / openchannelQueueReport.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 _0x6e6f=['uniqueid','util','../../config/logger','moment','bluebird','request-promise','path','rimraf','../../config/environment','./openchannelQueueReport.attributes','define','OpenchannelQueueReport','report_openchannel_queue'];(function(_0xf0bcac,_0x531755){var _0x4e4c65=function(_0x35a77a){while(--_0x35a77a){_0xf0bcac['push'](_0xf0bcac['shift']());}};_0x4e4c65(++_0x531755);}(_0x6e6f,0x76));var _0xf6e6=function(_0x347498,_0x332242){_0x347498=_0x347498-0x0;var _0x334f2b=_0x6e6f[_0x347498];return _0x334f2b;};'use strict';var _=require('lodash');var util=require(_0xf6e6('0x0'));var logger=require(_0xf6e6('0x1'))('api');var moment=require(_0xf6e6('0x2'));var BPromise=require(_0xf6e6('0x3'));var rp=require(_0xf6e6('0x4'));var fs=require('fs');var path=require(_0xf6e6('0x5'));var rimraf=require(_0xf6e6('0x6'));var config=require(_0xf6e6('0x7'));var attributes=require(_0xf6e6('0x8'));module['exports']=function(_0x3c9820,_0x3ca8a7){return _0x3c9820[_0xf6e6('0x9')](_0xf6e6('0xa'),attributes,{'tableName':_0xf6e6('0xb'),'paranoid':![],'indexes':[{'name':_0xf6e6('0xc'),'fields':[_0xf6e6('0xc')]}],'timestamps':!![]});};