0389400aa2215b855c673b930f74309d17cb5b37
[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 _0x97cf=['define','voice_queues_log','event_dtm','dtm','util','../../config/logger','api','bluebird','request-promise','path','rimraf','exports'];(function(_0x1203f,_0x554bbc){var _0x365f0a=function(_0x3531d0){while(--_0x3531d0){_0x1203f['push'](_0x1203f['shift']());}};_0x365f0a(++_0x554bbc);}(_0x97cf,0xa0));var _0xf97c=function(_0x2ecf03,_0x2adccf){_0x2ecf03=_0x2ecf03-0x0;var _0x4418ab=_0x97cf[_0x2ecf03];return _0x4418ab;};'use strict';var _=require('lodash');var util=require(_0xf97c('0x0'));var logger=require(_0xf97c('0x1'))(_0xf97c('0x2'));var moment=require('moment');var BPromise=require(_0xf97c('0x3'));var rp=require(_0xf97c('0x4'));var fs=require('fs');var path=require(_0xf97c('0x5'));var rimraf=require(_0xf97c('0x6'));var config=require('../../config/environment');var attributes=require('./voiceQueuesLog.attributes');module[_0xf97c('0x7')]=function(_0x43dbac,_0x27fd1e){return _0x43dbac[_0xf97c('0x8')]('VoiceQueuesLog',attributes,{'tableName':_0xf97c('0x9'),'paranoid':![],'indexes':[{'name':_0xf97c('0xa'),'fields':['event',_0xf97c('0xb')]}],'timestamps':![]});};