c944f4c83b1d75897813156aceb2ddf18dc08c9c
[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 _0xa85d=['define','VoiceQueuesLog','voice_queues_log','event_dtm','event','dtm','lodash','util','../../config/logger','moment','rimraf','../../config/environment','./voiceQueuesLog.attributes','exports'];(function(_0x3afd82,_0x47a234){var _0x414ce0=function(_0x1ad2bf){while(--_0x1ad2bf){_0x3afd82['push'](_0x3afd82['shift']());}};_0x414ce0(++_0x47a234);}(_0xa85d,0x68));var _0xda85=function(_0x4fde08,_0x463a36){_0x4fde08=_0x4fde08-0x0;var _0x12e725=_0xa85d[_0x4fde08];return _0x12e725;};'use strict';var _=require(_0xda85('0x0'));var util=require(_0xda85('0x1'));var logger=require(_0xda85('0x2'))('api');var moment=require(_0xda85('0x3'));var BPromise=require('bluebird');var rp=require('request-promise');var fs=require('fs');var path=require('path');var rimraf=require(_0xda85('0x4'));var config=require(_0xda85('0x5'));var attributes=require(_0xda85('0x6'));module[_0xda85('0x7')]=function(_0x1149d3,_0x26dac6){return _0x1149d3[_0xda85('0x8')](_0xda85('0x9'),attributes,{'tableName':_0xda85('0xa'),'paranoid':![],'indexes':[{'name':_0xda85('0xb'),'fields':[_0xda85('0xc'),_0xda85('0xd')]}],'timestamps':![]});};