Built motion from commit d1eab355.|2.6.28
[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 _0x875d=['../../config/environment','./voiceQueueReport.attributes','exports','VoiceQueueReport','report_queue','uniqueid','calleridnum','lodash','util','../../config/logger','api','moment','request-promise','path'];(function(_0x324c0f,_0x21e254){var _0x10b3f8=function(_0xd25c43){while(--_0xd25c43){_0x324c0f['push'](_0x324c0f['shift']());}};_0x10b3f8(++_0x21e254);}(_0x875d,0x181));var _0xd875=function(_0x422905,_0x3bce3a){_0x422905=_0x422905-0x0;var _0x33dc6c=_0x875d[_0x422905];return _0x33dc6c;};'use strict';var _=require(_0xd875('0x0'));var util=require(_0xd875('0x1'));var logger=require(_0xd875('0x2'))(_0xd875('0x3'));var moment=require(_0xd875('0x4'));var BPromise=require('bluebird');var rp=require(_0xd875('0x5'));var fs=require('fs');var path=require(_0xd875('0x6'));var rimraf=require('rimraf');var config=require(_0xd875('0x7'));var attributes=require(_0xd875('0x8'));module[_0xd875('0x9')]=function(_0x4e8301,_0x1f4cd0){return _0x4e8301['define'](_0xd875('0xa'),attributes,{'tableName':_0xd875('0xb'),'paranoid':![],'indexes':[{'fields':[_0xd875('0xc')]},{'fields':[_0xd875('0xd')]}],'timestamps':!![]});};