Built motion from commit (unavailable).|2.3.8
[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 _0x8f77=['define','report_queue','uniqueid','calleridnum','lodash','util','../../config/logger','api','moment','./voiceQueueReport.attributes','exports'];(function(_0x3e44fa,_0x75ed2a){var _0x2a0aba=function(_0x1db6a7){while(--_0x1db6a7){_0x3e44fa['push'](_0x3e44fa['shift']());}};_0x2a0aba(++_0x75ed2a);}(_0x8f77,0x19b));var _0x78f7=function(_0x2ed77a,_0x2db873){_0x2ed77a=_0x2ed77a-0x0;var _0x96234d=_0x8f77[_0x2ed77a];return _0x96234d;};'use strict';var _=require(_0x78f7('0x0'));var util=require(_0x78f7('0x1'));var logger=require(_0x78f7('0x2'))(_0x78f7('0x3'));var moment=require(_0x78f7('0x4'));var BPromise=require('bluebird');var rp=require('request-promise');var attributes=require(_0x78f7('0x5'));module[_0x78f7('0x6')]=function(_0x3a4e29,_0x47ce3e){return _0x3a4e29[_0x78f7('0x7')]('VoiceQueueReport',attributes,{'tableName':_0x78f7('0x8'),'paranoid':![],'indexes':[{'fields':[_0x78f7('0x9')]},{'fields':[_0x78f7('0xa')]}],'timestamps':!![]});};