Built motion from commit 616d3211.|2.6.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 _0xe3e0=['event_dtm','event','util','../../config/logger','api','moment','request-promise','path','rimraf','../../config/environment','./voiceQueuesLog.attributes','exports','define'];(function(_0x2a74a6,_0x3f72e8){var _0x52f1dd=function(_0xcd6af5){while(--_0xcd6af5){_0x2a74a6['push'](_0x2a74a6['shift']());}};_0x52f1dd(++_0x3f72e8);}(_0xe3e0,0x188));var _0x0e3e=function(_0x44d9ab,_0x76bc69){_0x44d9ab=_0x44d9ab-0x0;var _0x31485e=_0xe3e0[_0x44d9ab];return _0x31485e;};'use strict';var _=require('lodash');var util=require(_0x0e3e('0x0'));var logger=require(_0x0e3e('0x1'))(_0x0e3e('0x2'));var moment=require(_0x0e3e('0x3'));var BPromise=require('bluebird');var rp=require(_0x0e3e('0x4'));var fs=require('fs');var path=require(_0x0e3e('0x5'));var rimraf=require(_0x0e3e('0x6'));var config=require(_0x0e3e('0x7'));var attributes=require(_0x0e3e('0x8'));module[_0x0e3e('0x9')]=function(_0x58bcb1,_0xd13c74){return _0x58bcb1[_0x0e3e('0xa')]('VoiceQueuesLog',attributes,{'tableName':'voice_queues_log','paranoid':![],'indexes':[{'name':_0x0e3e('0xb'),'fields':[_0x0e3e('0xc'),'dtm']}],'timestamps':![]});};