Built motion from commit b0a9a629.|2.6.33
[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 _0x4cc6=['../../config/environment','./voiceQueueReport.attributes','exports','define','VoiceQueueReport','report_queue','uniqueid','calleridnum','lodash','util','../../config/logger','api','moment','bluebird','request-promise'];(function(_0x394bf7,_0xa6156e){var _0x1fabef=function(_0x74e3ab){while(--_0x74e3ab){_0x394bf7['push'](_0x394bf7['shift']());}};_0x1fabef(++_0xa6156e);}(_0x4cc6,0x116));var _0x64cc=function(_0x260b48,_0x117977){_0x260b48=_0x260b48-0x0;var _0x3f730b=_0x4cc6[_0x260b48];return _0x3f730b;};'use strict';var _=require(_0x64cc('0x0'));var util=require(_0x64cc('0x1'));var logger=require(_0x64cc('0x2'))(_0x64cc('0x3'));var moment=require(_0x64cc('0x4'));var BPromise=require(_0x64cc('0x5'));var rp=require(_0x64cc('0x6'));var fs=require('fs');var path=require('path');var rimraf=require('rimraf');var config=require(_0x64cc('0x7'));var attributes=require(_0x64cc('0x8'));module[_0x64cc('0x9')]=function(_0x26c565,_0x32025f){return _0x26c565[_0x64cc('0xa')](_0x64cc('0xb'),attributes,{'tableName':_0x64cc('0xc'),'paranoid':![],'indexes':[{'fields':[_0x64cc('0xd')]},{'fields':[_0x64cc('0xe')]}],'timestamps':!![]});};