2a2bee462e5d721eedf12fbbed7a6bd1575560c8
[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 _0x6925=['moment','bluebird','path','rimraf','../../config/environment','exports','define','voice_queues_log','event','dtm','lodash','../../config/logger','api'];(function(_0x244520,_0x1b8380){var _0x348e09=function(_0x41ac31){while(--_0x41ac31){_0x244520['push'](_0x244520['shift']());}};_0x348e09(++_0x1b8380);}(_0x6925,0xb3));var _0x5692=function(_0x399af4,_0x3c847c){_0x399af4=_0x399af4-0x0;var _0x5115ea=_0x6925[_0x399af4];return _0x5115ea;};'use strict';var _=require(_0x5692('0x0'));var util=require('util');var logger=require(_0x5692('0x1'))(_0x5692('0x2'));var moment=require(_0x5692('0x3'));var BPromise=require(_0x5692('0x4'));var rp=require('request-promise');var fs=require('fs');var path=require(_0x5692('0x5'));var rimraf=require(_0x5692('0x6'));var config=require(_0x5692('0x7'));var attributes=require('./voiceQueuesLog.attributes');module[_0x5692('0x8')]=function(_0x53cb73,_0x2de65e){return _0x53cb73[_0x5692('0x9')]('VoiceQueuesLog',attributes,{'tableName':_0x5692('0xa'),'paranoid':![],'indexes':[{'name':'event_dtm','fields':[_0x5692('0xb'),_0x5692('0xc')]}],'timestamps':![]});};