7024993013b389bfa61f5cdb34d12ea0952a16d8
[motion2.git] / server / api / voiceQueuesLog / voiceQueuesLog.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 _0x8512=['define','voice_queues_log','event','dtm','lodash','util','../../config/logger','api','moment','request-promise','path','rimraf'];(function(_0x3d0b9e,_0x2a46bc){var _0x2767f0=function(_0x37d211){while(--_0x37d211){_0x3d0b9e['push'](_0x3d0b9e['shift']());}};_0x2767f0(++_0x2a46bc);}(_0x8512,0x70));var _0x2851=function(_0x3fea8a,_0x3cca86){_0x3fea8a=_0x3fea8a-0x0;var _0xd33ae=_0x8512[_0x3fea8a];return _0xd33ae;};'use strict';var _=require(_0x2851('0x0'));var util=require(_0x2851('0x1'));var logger=require(_0x2851('0x2'))(_0x2851('0x3'));var moment=require(_0x2851('0x4'));var BPromise=require('bluebird');var rp=require(_0x2851('0x5'));var fs=require('fs');var path=require(_0x2851('0x6'));var rimraf=require(_0x2851('0x7'));var config=require('../../config/environment');var attributes=require('./voiceQueuesLog.attributes');module['exports']=function(_0x151165,_0x206c79){return _0x151165[_0x2851('0x8')]('VoiceQueuesLog',attributes,{'tableName':_0x2851('0x9'),'paranoid':![],'indexes':[{'name':'event_dtm','fields':[_0x2851('0xa'),_0x2851('0xb')]}],'timestamps':![]});};