Built motion from commit e6806ed6.|2.6.0
[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 _0x3385=['../../config/logger','api','moment','bluebird','request-promise','path','../../config/environment','./voiceQueuesLog.attributes','exports','define','voice_queues_log','event_dtm','event','dtm','lodash','util'];(function(_0x3ada41,_0x5ca1cc){var _0x37b874=function(_0x154971){while(--_0x154971){_0x3ada41['push'](_0x3ada41['shift']());}};_0x37b874(++_0x5ca1cc);}(_0x3385,0x1ae));var _0x5338=function(_0x55d58f,_0x2bea83){_0x55d58f=_0x55d58f-0x0;var _0x1ad6e6=_0x3385[_0x55d58f];return _0x1ad6e6;};'use strict';var _=require(_0x5338('0x0'));var util=require(_0x5338('0x1'));var logger=require(_0x5338('0x2'))(_0x5338('0x3'));var moment=require(_0x5338('0x4'));var BPromise=require(_0x5338('0x5'));var rp=require(_0x5338('0x6'));var fs=require('fs');var path=require(_0x5338('0x7'));var rimraf=require('rimraf');var config=require(_0x5338('0x8'));var attributes=require(_0x5338('0x9'));module[_0x5338('0xa')]=function(_0x5a4104,_0x406959){return _0x5a4104[_0x5338('0xb')]('VoiceQueuesLog',attributes,{'tableName':_0x5338('0xc'),'paranoid':![],'indexes':[{'name':_0x5338('0xd'),'fields':[_0x5338('0xe'),_0x5338('0xf')]}],'timestamps':![]});};