Built motion from commit bab6f49e.|2.6.17
[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 _0x7b11=['VoiceQueuesLog','event_dtm','event','dtm','lodash','../../config/logger','api','moment','bluebird','request-promise','path','rimraf','./voiceQueuesLog.attributes'];(function(_0x1f2893,_0x227e8d){var _0x467d65=function(_0x7506d0){while(--_0x7506d0){_0x1f2893['push'](_0x1f2893['shift']());}};_0x467d65(++_0x227e8d);}(_0x7b11,0x1be));var _0x17b1=function(_0xab8893,_0x858f66){_0xab8893=_0xab8893-0x0;var _0xad15c3=_0x7b11[_0xab8893];return _0xad15c3;};'use strict';var _=require(_0x17b1('0x0'));var util=require('util');var logger=require(_0x17b1('0x1'))(_0x17b1('0x2'));var moment=require(_0x17b1('0x3'));var BPromise=require(_0x17b1('0x4'));var rp=require(_0x17b1('0x5'));var fs=require('fs');var path=require(_0x17b1('0x6'));var rimraf=require(_0x17b1('0x7'));var config=require('../../config/environment');var attributes=require(_0x17b1('0x8'));module['exports']=function(_0x11b4f5,_0x2a73f7){return _0x11b4f5['define'](_0x17b1('0x9'),attributes,{'tableName':'voice_queues_log','paranoid':![],'indexes':[{'name':_0x17b1('0xa'),'fields':[_0x17b1('0xb'),_0x17b1('0xc')]}],'timestamps':![]});};