Built motion from commit 9e1399f3.|2.5.37
[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 _0x3a71=['bluebird','request-promise','path','rimraf','../../config/environment','./voiceQueueReport.attributes','define','report_queue','uniqueid','calleridnum','lodash','../../config/logger','api','moment'];(function(_0x19e35c,_0x29cd1e){var _0x3e1fe8=function(_0x17258b){while(--_0x17258b){_0x19e35c['push'](_0x19e35c['shift']());}};_0x3e1fe8(++_0x29cd1e);}(_0x3a71,0xea));var _0x13a7=function(_0x3abda8,_0x4a7965){_0x3abda8=_0x3abda8-0x0;var _0x2d5d79=_0x3a71[_0x3abda8];return _0x2d5d79;};'use strict';var _=require(_0x13a7('0x0'));var util=require('util');var logger=require(_0x13a7('0x1'))(_0x13a7('0x2'));var moment=require(_0x13a7('0x3'));var BPromise=require(_0x13a7('0x4'));var rp=require(_0x13a7('0x5'));var fs=require('fs');var path=require(_0x13a7('0x6'));var rimraf=require(_0x13a7('0x7'));var config=require(_0x13a7('0x8'));var attributes=require(_0x13a7('0x9'));module['exports']=function(_0x2efe76,_0x52985e){return _0x2efe76[_0x13a7('0xa')]('VoiceQueueReport',attributes,{'tableName':_0x13a7('0xb'),'paranoid':![],'indexes':[{'fields':[_0x13a7('0xc')]},{'fields':[_0x13a7('0xd')]}],'timestamps':!![]});};