77405b7f12303cac5558dae5b1261ed8d82d6547
[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 _0xe559=['moment','bluebird','request-promise','rimraf','../../config/environment','./voiceQueuesLog.attributes','define','VoiceQueuesLog','event','dtm','util','../../config/logger','api'];(function(_0x13eec6,_0x170127){var _0x585c24=function(_0x3052df){while(--_0x3052df){_0x13eec6['push'](_0x13eec6['shift']());}};_0x585c24(++_0x170127);}(_0xe559,0x176));var _0x9e55=function(_0x3422e1,_0x33f9ff){_0x3422e1=_0x3422e1-0x0;var _0x4cdfe1=_0xe559[_0x3422e1];return _0x4cdfe1;};'use strict';var _=require('lodash');var util=require(_0x9e55('0x0'));var logger=require(_0x9e55('0x1'))(_0x9e55('0x2'));var moment=require(_0x9e55('0x3'));var BPromise=require(_0x9e55('0x4'));var rp=require(_0x9e55('0x5'));var fs=require('fs');var path=require('path');var rimraf=require(_0x9e55('0x6'));var config=require(_0x9e55('0x7'));var attributes=require(_0x9e55('0x8'));module['exports']=function(_0x27f94e,_0xb35340){return _0x27f94e[_0x9e55('0x9')](_0x9e55('0xa'),attributes,{'tableName':'voice_queues_log','paranoid':![],'indexes':[{'name':'event_dtm','fields':[_0x9e55('0xb'),_0x9e55('0xc')]}],'timestamps':![]});};