Built motion from commit 47436d59.|2.6.7
[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 _0x6817=['bluebird','request-promise','rimraf','../../config/environment','exports','VoiceQueueReport','report_queue','uniqueid','calleridnum','lodash','util','../../config/logger','api','moment'];(function(_0x21a2b3,_0x5d6564){var _0x4651a7=function(_0x285f59){while(--_0x285f59){_0x21a2b3['push'](_0x21a2b3['shift']());}};_0x4651a7(++_0x5d6564);}(_0x6817,0x1c9));var _0x7681=function(_0x113716,_0x2e918a){_0x113716=_0x113716-0x0;var _0x447d7f=_0x6817[_0x113716];return _0x447d7f;};'use strict';var _=require(_0x7681('0x0'));var util=require(_0x7681('0x1'));var logger=require(_0x7681('0x2'))(_0x7681('0x3'));var moment=require(_0x7681('0x4'));var BPromise=require(_0x7681('0x5'));var rp=require(_0x7681('0x6'));var fs=require('fs');var path=require('path');var rimraf=require(_0x7681('0x7'));var config=require(_0x7681('0x8'));var attributes=require('./voiceQueueReport.attributes');module[_0x7681('0x9')]=function(_0x298891,_0x2bf713){return _0x298891['define'](_0x7681('0xa'),attributes,{'tableName':_0x7681('0xb'),'paranoid':![],'indexes':[{'fields':[_0x7681('0xc')]},{'fields':[_0x7681('0xd')]}],'timestamps':!![]});};