661738cd5f650702e7c68a352ebbd56eb1aa2813
[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 _0x63bf=['../../config/environment','./voiceQueuesLog.attributes','exports','VoiceQueuesLog','event','dtm','lodash','../../config/logger','api','bluebird','request-promise','path','rimraf'];(function(_0x36cb7e,_0x58fe51){var _0x595086=function(_0x58e504){while(--_0x58e504){_0x36cb7e['push'](_0x36cb7e['shift']());}};_0x595086(++_0x58fe51);}(_0x63bf,0x199));var _0xf63b=function(_0x218d77,_0xdcca93){_0x218d77=_0x218d77-0x0;var _0x4c48f9=_0x63bf[_0x218d77];return _0x4c48f9;};'use strict';var _=require(_0xf63b('0x0'));var util=require('util');var logger=require(_0xf63b('0x1'))(_0xf63b('0x2'));var moment=require('moment');var BPromise=require(_0xf63b('0x3'));var rp=require(_0xf63b('0x4'));var fs=require('fs');var path=require(_0xf63b('0x5'));var rimraf=require(_0xf63b('0x6'));var config=require(_0xf63b('0x7'));var attributes=require(_0xf63b('0x8'));module[_0xf63b('0x9')]=function(_0x14fd2e,_0x333aa7){return _0x14fd2e['define'](_0xf63b('0xa'),attributes,{'tableName':'voice_queues_log','paranoid':![],'indexes':[{'name':'event_dtm','fields':[_0xf63b('0xb'),_0xf63b('0xc')]}],'timestamps':![]});};