Built motion from commit (unavailable).|2.5.2
[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 _0xd893=['path','rimraf','../../config/environment','exports','define','VoiceQueuesLog','voice_queues_log','event_dtm','dtm','lodash','util','../../config/logger','api','moment','bluebird','request-promise'];(function(_0x301c31,_0x20f29f){var _0x44a806=function(_0x11564a){while(--_0x11564a){_0x301c31['push'](_0x301c31['shift']());}};_0x44a806(++_0x20f29f);}(_0xd893,0xb9));var _0x3d89=function(_0x2dafbe,_0x5d04de){_0x2dafbe=_0x2dafbe-0x0;var _0x58a45a=_0xd893[_0x2dafbe];return _0x58a45a;};'use strict';var _=require(_0x3d89('0x0'));var util=require(_0x3d89('0x1'));var logger=require(_0x3d89('0x2'))(_0x3d89('0x3'));var moment=require(_0x3d89('0x4'));var BPromise=require(_0x3d89('0x5'));var rp=require(_0x3d89('0x6'));var fs=require('fs');var path=require(_0x3d89('0x7'));var rimraf=require(_0x3d89('0x8'));var config=require(_0x3d89('0x9'));var attributes=require('./voiceQueuesLog.attributes');module[_0x3d89('0xa')]=function(_0x49d3d3,_0x322d22){return _0x49d3d3[_0x3d89('0xb')](_0x3d89('0xc'),attributes,{'tableName':_0x3d89('0xd'),'paranoid':![],'indexes':[{'name':_0x3d89('0xe'),'fields':['event',_0x3d89('0xf')]}],'timestamps':![]});};