4d9759c109a8801373b465a1706795a8c834a356
[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 _0x5580=['../../config/logger','moment','bluebird','request-promise','rimraf','../../config/environment','./voiceQueuesLog.attributes','exports','VoiceQueuesLog','voice_queues_log','event_dtm','event','lodash','util'];(function(_0x264de4,_0x41f555){var _0x4e004e=function(_0x43f7c8){while(--_0x43f7c8){_0x264de4['push'](_0x264de4['shift']());}};_0x4e004e(++_0x41f555);}(_0x5580,0xa6));var _0x0558=function(_0x40b2bd,_0xc696ef){_0x40b2bd=_0x40b2bd-0x0;var _0x138cfc=_0x5580[_0x40b2bd];return _0x138cfc;};'use strict';var _=require(_0x0558('0x0'));var util=require(_0x0558('0x1'));var logger=require(_0x0558('0x2'))('api');var moment=require(_0x0558('0x3'));var BPromise=require(_0x0558('0x4'));var rp=require(_0x0558('0x5'));var fs=require('fs');var path=require('path');var rimraf=require(_0x0558('0x6'));var config=require(_0x0558('0x7'));var attributes=require(_0x0558('0x8'));module[_0x0558('0x9')]=function(_0x147d9e,_0x1c49dd){return _0x147d9e['define'](_0x0558('0xa'),attributes,{'tableName':_0x0558('0xb'),'paranoid':![],'indexes':[{'name':_0x0558('0xc'),'fields':[_0x0558('0xd'),'dtm']}],'timestamps':![]});};