Built motion from commit (unavailable).|2.5.14
[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 _0x12dc=['lodash','util','api','moment','bluebird','request-promise','path','rimraf','../../config/environment','./openchannelQueueReport.attributes','exports','define','OpenchannelQueueReport','report_openchannel_queue','uniqueid'];(function(_0x4d642b,_0x49c928){var _0x2c92f1=function(_0x40b09f){while(--_0x40b09f){_0x4d642b['push'](_0x4d642b['shift']());}};_0x2c92f1(++_0x49c928);}(_0x12dc,0xb4));var _0xc12d=function(_0xbd70a6,_0x50c7bd){_0xbd70a6=_0xbd70a6-0x0;var _0x4314a7=_0x12dc[_0xbd70a6];return _0x4314a7;};'use strict';var _=require(_0xc12d('0x0'));var util=require(_0xc12d('0x1'));var logger=require('../../config/logger')(_0xc12d('0x2'));var moment=require(_0xc12d('0x3'));var BPromise=require(_0xc12d('0x4'));var rp=require(_0xc12d('0x5'));var fs=require('fs');var path=require(_0xc12d('0x6'));var rimraf=require(_0xc12d('0x7'));var config=require(_0xc12d('0x8'));var attributes=require(_0xc12d('0x9'));module[_0xc12d('0xa')]=function(_0x5383da,_0x3148cf){return _0x5383da[_0xc12d('0xb')](_0xc12d('0xc'),attributes,{'tableName':_0xc12d('0xd'),'paranoid':![],'indexes':[{'name':_0xc12d('0xe'),'fields':[_0xc12d('0xe')]}],'timestamps':!![]});};