Built motion from commit (unavailable).|2.5.31
[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 _0x96a0=['rimraf','define','voice_queues_log','event','dtm','lodash','util','../../config/logger','api','moment','bluebird','request-promise','path'];(function(_0x1bba7f,_0x392cef){var _0x2428f9=function(_0x38fe38){while(--_0x38fe38){_0x1bba7f['push'](_0x1bba7f['shift']());}};_0x2428f9(++_0x392cef);}(_0x96a0,0x198));var _0x096a=function(_0xefc21a,_0x207de1){_0xefc21a=_0xefc21a-0x0;var _0x5cfa00=_0x96a0[_0xefc21a];return _0x5cfa00;};'use strict';var _=require(_0x096a('0x0'));var util=require(_0x096a('0x1'));var logger=require(_0x096a('0x2'))(_0x096a('0x3'));var moment=require(_0x096a('0x4'));var BPromise=require(_0x096a('0x5'));var rp=require(_0x096a('0x6'));var fs=require('fs');var path=require(_0x096a('0x7'));var rimraf=require(_0x096a('0x8'));var config=require('../../config/environment');var attributes=require('./voiceQueuesLog.attributes');module['exports']=function(_0x2610a8,_0x218132){return _0x2610a8[_0x096a('0x9')]('VoiceQueuesLog',attributes,{'tableName':_0x096a('0xa'),'paranoid':![],'indexes':[{'name':'event_dtm','fields':[_0x096a('0xb'),_0x096a('0xc')]}],'timestamps':![]});};