Built motion from commit (unavailable).|2.3.4
[motion2.git] / server / api / voiceQueueReport / voiceQueueReport.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 _0x3d2a=['exports','define','VoiceQueueReport','uniqueid','calleridnum','util','../../config/logger','api','moment','bluebird','request-promise','./voiceQueueReport.attributes'];(function(_0x2af75e,_0x12570b){var _0x169494=function(_0x413b92){while(--_0x413b92){_0x2af75e['push'](_0x2af75e['shift']());}};_0x169494(++_0x12570b);}(_0x3d2a,0xc5));var _0xa3d2=function(_0x362882,_0x3012cf){_0x362882=_0x362882-0x0;var _0x4632c9=_0x3d2a[_0x362882];return _0x4632c9;};'use strict';var _=require('lodash');var util=require(_0xa3d2('0x0'));var logger=require(_0xa3d2('0x1'))(_0xa3d2('0x2'));var moment=require(_0xa3d2('0x3'));var BPromise=require(_0xa3d2('0x4'));var rp=require(_0xa3d2('0x5'));var attributes=require(_0xa3d2('0x6'));module[_0xa3d2('0x7')]=function(_0x41e8ec,_0x6347fc){return _0x41e8ec[_0xa3d2('0x8')](_0xa3d2('0x9'),attributes,{'tableName':'report_queue','paranoid':![],'indexes':[{'fields':[_0xa3d2('0xa')]},{'fields':[_0xa3d2('0xb')]}],'timestamps':!![]});};