Built motion from commit (unavailable).|2.4.4
[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 _0x7a61=['request-promise','path','rimraf','../../config/environment','./voiceQueueReport.attributes','define','VoiceQueueReport','report_queue','uniqueid','calleridnum','util','../../config/logger','bluebird'];(function(_0x17af03,_0x25958b){var _0x2f6fd8=function(_0xcdc2a8){while(--_0xcdc2a8){_0x17af03['push'](_0x17af03['shift']());}};_0x2f6fd8(++_0x25958b);}(_0x7a61,0x183));var _0x17a6=function(_0x9a31b6,_0x157437){_0x9a31b6=_0x9a31b6-0x0;var _0x1f8814=_0x7a61[_0x9a31b6];return _0x1f8814;};'use strict';var _=require('lodash');var util=require(_0x17a6('0x0'));var logger=require(_0x17a6('0x1'))('api');var moment=require('moment');var BPromise=require(_0x17a6('0x2'));var rp=require(_0x17a6('0x3'));var fs=require('fs');var path=require(_0x17a6('0x4'));var rimraf=require(_0x17a6('0x5'));var config=require(_0x17a6('0x6'));var attributes=require(_0x17a6('0x7'));module['exports']=function(_0x2d90eb,_0x2fcb95){return _0x2d90eb[_0x17a6('0x8')](_0x17a6('0x9'),attributes,{'tableName':_0x17a6('0xa'),'paranoid':![],'indexes':[{'fields':[_0x17a6('0xb')]},{'fields':[_0x17a6('0xc')]}],'timestamps':!![]});};