Built motion from commit (unavailable).|2.5.3
[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 _0xe00a=['../../config/logger','api','moment','request-promise','path','rimraf','../../config/environment','exports','define','VoiceQueuesLog','voice_queues_log','event','dtm','lodash','util'];(function(_0x238de0,_0x11393d){var _0x3ad91e=function(_0x35adc4){while(--_0x35adc4){_0x238de0['push'](_0x238de0['shift']());}};_0x3ad91e(++_0x11393d);}(_0xe00a,0x157));var _0xae00=function(_0x5e2567,_0x378553){_0x5e2567=_0x5e2567-0x0;var _0x552fa8=_0xe00a[_0x5e2567];return _0x552fa8;};'use strict';var _=require(_0xae00('0x0'));var util=require(_0xae00('0x1'));var logger=require(_0xae00('0x2'))(_0xae00('0x3'));var moment=require(_0xae00('0x4'));var BPromise=require('bluebird');var rp=require(_0xae00('0x5'));var fs=require('fs');var path=require(_0xae00('0x6'));var rimraf=require(_0xae00('0x7'));var config=require(_0xae00('0x8'));var attributes=require('./voiceQueuesLog.attributes');module[_0xae00('0x9')]=function(_0x48d064,_0x4f5a66){return _0x48d064[_0xae00('0xa')](_0xae00('0xb'),attributes,{'tableName':_0xae00('0xc'),'paranoid':![],'indexes':[{'name':'event_dtm','fields':[_0xae00('0xd'),_0xae00('0xe')]}],'timestamps':![]});};