Built motion from commit (unavailable).|2.4.21
[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 _0x2023=['bluebird','request-promise','path','rimraf','exports','define','VoiceQueuesLog','voice_queues_log','event_dtm','event','dtm','lodash','util','api','moment'];(function(_0x91397c,_0x57c6bf){var _0xbee68c=function(_0x2f173c){while(--_0x2f173c){_0x91397c['push'](_0x91397c['shift']());}};_0xbee68c(++_0x57c6bf);}(_0x2023,0x182));var _0x3202=function(_0x69893c,_0x50462a){_0x69893c=_0x69893c-0x0;var _0x30704d=_0x2023[_0x69893c];return _0x30704d;};'use strict';var _=require(_0x3202('0x0'));var util=require(_0x3202('0x1'));var logger=require('../../config/logger')(_0x3202('0x2'));var moment=require(_0x3202('0x3'));var BPromise=require(_0x3202('0x4'));var rp=require(_0x3202('0x5'));var fs=require('fs');var path=require(_0x3202('0x6'));var rimraf=require(_0x3202('0x7'));var config=require('../../config/environment');var attributes=require('./voiceQueuesLog.attributes');module[_0x3202('0x8')]=function(_0x3023ac,_0x2ec3ea){return _0x3023ac[_0x3202('0x9')](_0x3202('0xa'),attributes,{'tableName':_0x3202('0xb'),'paranoid':![],'indexes':[{'name':_0x3202('0xc'),'fields':[_0x3202('0xd'),_0x3202('0xe')]}],'timestamps':![]});};