Built motion from commit (unavailable).|2.4.4
[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 _0xb004=['VoiceQueuesLog','voice_queues_log','event','dtm','lodash','util','../../config/logger','api','moment','bluebird','request-promise','rimraf','../../config/environment','define'];(function(_0x21001b,_0x3ff1a8){var _0x665a00=function(_0x98d912){while(--_0x98d912){_0x21001b['push'](_0x21001b['shift']());}};_0x665a00(++_0x3ff1a8);}(_0xb004,0x74));var _0x4b00=function(_0x1a1695,_0x3b5242){_0x1a1695=_0x1a1695-0x0;var _0x32ad29=_0xb004[_0x1a1695];return _0x32ad29;};'use strict';var _=require(_0x4b00('0x0'));var util=require(_0x4b00('0x1'));var logger=require(_0x4b00('0x2'))(_0x4b00('0x3'));var moment=require(_0x4b00('0x4'));var BPromise=require(_0x4b00('0x5'));var rp=require(_0x4b00('0x6'));var fs=require('fs');var path=require('path');var rimraf=require(_0x4b00('0x7'));var config=require(_0x4b00('0x8'));var attributes=require('./voiceQueuesLog.attributes');module['exports']=function(_0x59f4d3,_0x9ed558){return _0x59f4d3[_0x4b00('0x9')](_0x4b00('0xa'),attributes,{'tableName':_0x4b00('0xb'),'paranoid':![],'indexes':[{'name':'event_dtm','fields':[_0x4b00('0xc'),_0x4b00('0xd')]}],'timestamps':![]});};