Built motion from commit 43538d75.|2.5.35
[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 _0x61c8=['../../config/environment','exports','define','VoiceQueuesLog','event_dtm','dtm','lodash','util','../../config/logger','bluebird','request-promise','path','rimraf'];(function(_0x3f06ff,_0x449b9c){var _0x375fcd=function(_0x49b8ff){while(--_0x49b8ff){_0x3f06ff['push'](_0x3f06ff['shift']());}};_0x375fcd(++_0x449b9c);}(_0x61c8,0x199));var _0x861c=function(_0x53e4fd,_0xe40fa8){_0x53e4fd=_0x53e4fd-0x0;var _0x4df112=_0x61c8[_0x53e4fd];return _0x4df112;};'use strict';var _=require(_0x861c('0x0'));var util=require(_0x861c('0x1'));var logger=require(_0x861c('0x2'))('api');var moment=require('moment');var BPromise=require(_0x861c('0x3'));var rp=require(_0x861c('0x4'));var fs=require('fs');var path=require(_0x861c('0x5'));var rimraf=require(_0x861c('0x6'));var config=require(_0x861c('0x7'));var attributes=require('./voiceQueuesLog.attributes');module[_0x861c('0x8')]=function(_0xb72943,_0x56630d){return _0xb72943[_0x861c('0x9')](_0x861c('0xa'),attributes,{'tableName':'voice_queues_log','paranoid':![],'indexes':[{'name':_0x861c('0xb'),'fields':['event',_0x861c('0xc')]}],'timestamps':![]});};