Built motion from commit (unavailable).|2.5.10
[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 _0x1fec=['bluebird','request-promise','path','rimraf','./openchannelQueueReport.attributes','define','OpenchannelQueueReport','report_openchannel_queue','uniqueid','util','../../config/logger','api','moment'];(function(_0xf3d3d,_0x18c710){var _0x1e5511=function(_0x2b25e9){while(--_0x2b25e9){_0xf3d3d['push'](_0xf3d3d['shift']());}};_0x1e5511(++_0x18c710);}(_0x1fec,0x1ea));var _0xc1fe=function(_0x502c7d,_0x2f1285){_0x502c7d=_0x502c7d-0x0;var _0x30b7ed=_0x1fec[_0x502c7d];return _0x30b7ed;};'use strict';var _=require('lodash');var util=require(_0xc1fe('0x0'));var logger=require(_0xc1fe('0x1'))(_0xc1fe('0x2'));var moment=require(_0xc1fe('0x3'));var BPromise=require(_0xc1fe('0x4'));var rp=require(_0xc1fe('0x5'));var fs=require('fs');var path=require(_0xc1fe('0x6'));var rimraf=require(_0xc1fe('0x7'));var config=require('../../config/environment');var attributes=require(_0xc1fe('0x8'));module['exports']=function(_0x5aef62,_0x25ec9a){return _0x5aef62[_0xc1fe('0x9')](_0xc1fe('0xa'),attributes,{'tableName':_0xc1fe('0xb'),'paranoid':![],'indexes':[{'name':'uniqueid','fields':[_0xc1fe('0xc')]}],'timestamps':!![]});};