Built motion from commit (unavailable).|2.5.29
[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 _0xd919=['dtm','lodash','util','../../config/logger','api','moment','bluebird','request-promise','path','rimraf','../../config/environment','./voiceQueuesLog.attributes','define','VoiceQueuesLog','event_dtm'];(function(_0x325e39,_0x347804){var _0x549c94=function(_0x4fa574){while(--_0x4fa574){_0x325e39['push'](_0x325e39['shift']());}};_0x549c94(++_0x347804);}(_0xd919,0x13c));var _0x9d91=function(_0x44f5a8,_0x437050){_0x44f5a8=_0x44f5a8-0x0;var _0x21710d=_0xd919[_0x44f5a8];return _0x21710d;};'use strict';var _=require(_0x9d91('0x0'));var util=require(_0x9d91('0x1'));var logger=require(_0x9d91('0x2'))(_0x9d91('0x3'));var moment=require(_0x9d91('0x4'));var BPromise=require(_0x9d91('0x5'));var rp=require(_0x9d91('0x6'));var fs=require('fs');var path=require(_0x9d91('0x7'));var rimraf=require(_0x9d91('0x8'));var config=require(_0x9d91('0x9'));var attributes=require(_0x9d91('0xa'));module['exports']=function(_0x33d99b,_0x33bc09){return _0x33d99b[_0x9d91('0xb')](_0x9d91('0xc'),attributes,{'tableName':'voice_queues_log','paranoid':![],'indexes':[{'name':_0x9d91('0xd'),'fields':['event',_0x9d91('0xe')]}],'timestamps':![]});};