Built motion from commit 39adb707.|2.6.14
[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 _0xec6b=['./voiceQueueReport.attributes','exports','define','report_queue','calleridnum','lodash','util','api','moment','bluebird','request-promise','path','rimraf','../../config/environment'];(function(_0x449c92,_0x10c4b9){var _0x1c75af=function(_0x387a1b){while(--_0x387a1b){_0x449c92['push'](_0x449c92['shift']());}};_0x1c75af(++_0x10c4b9);}(_0xec6b,0x1b7));var _0xbec6=function(_0x3162fb,_0x5d1446){_0x3162fb=_0x3162fb-0x0;var _0x26daab=_0xec6b[_0x3162fb];return _0x26daab;};'use strict';var _=require(_0xbec6('0x0'));var util=require(_0xbec6('0x1'));var logger=require('../../config/logger')(_0xbec6('0x2'));var moment=require(_0xbec6('0x3'));var BPromise=require(_0xbec6('0x4'));var rp=require(_0xbec6('0x5'));var fs=require('fs');var path=require(_0xbec6('0x6'));var rimraf=require(_0xbec6('0x7'));var config=require(_0xbec6('0x8'));var attributes=require(_0xbec6('0x9'));module[_0xbec6('0xa')]=function(_0x55b9f7,_0x1af117){return _0x55b9f7[_0xbec6('0xb')]('VoiceQueueReport',attributes,{'tableName':_0xbec6('0xc'),'paranoid':![],'indexes':[{'fields':['uniqueid']},{'fields':[_0xbec6('0xd')]}],'timestamps':!![]});};