Built motion from commit (unavailable).|2.5.18
[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 _0xd744=['exports','VoiceQueuesLog','voice_queues_log','event_dtm','event','util','../../config/logger','api','moment','bluebird','request-promise','path','rimraf','../../config/environment','./voiceQueuesLog.attributes'];(function(_0x582942,_0x4c6747){var _0x3a0b75=function(_0x1722bf){while(--_0x1722bf){_0x582942['push'](_0x582942['shift']());}};_0x3a0b75(++_0x4c6747);}(_0xd744,0x1d6));var _0x4d74=function(_0x502c7d,_0x2f1285){_0x502c7d=_0x502c7d-0x0;var _0x30b7ed=_0xd744[_0x502c7d];return _0x30b7ed;};'use strict';var _=require('lodash');var util=require(_0x4d74('0x0'));var logger=require(_0x4d74('0x1'))(_0x4d74('0x2'));var moment=require(_0x4d74('0x3'));var BPromise=require(_0x4d74('0x4'));var rp=require(_0x4d74('0x5'));var fs=require('fs');var path=require(_0x4d74('0x6'));var rimraf=require(_0x4d74('0x7'));var config=require(_0x4d74('0x8'));var attributes=require(_0x4d74('0x9'));module[_0x4d74('0xa')]=function(_0x238843,_0x3132b4){return _0x238843['define'](_0x4d74('0xb'),attributes,{'tableName':_0x4d74('0xc'),'paranoid':![],'indexes':[{'name':_0x4d74('0xd'),'fields':[_0x4d74('0xe'),'dtm']}],'timestamps':![]});};