d8228382715efd6d7bb57d36308eedd76712741b
[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 _0xea69=['request-promise','rimraf','../../config/environment','./voiceQueuesLog.attributes','define','VoiceQueuesLog','event_dtm','dtm','lodash','util','../../config/logger','api','moment'];(function(_0xdea41a,_0x552987){var _0x15d0d8=function(_0x1e0d0b){while(--_0x1e0d0b){_0xdea41a['push'](_0xdea41a['shift']());}};_0x15d0d8(++_0x552987);}(_0xea69,0x181));var _0x9ea6=function(_0x535e73,_0x5d397f){_0x535e73=_0x535e73-0x0;var _0x316665=_0xea69[_0x535e73];return _0x316665;};'use strict';var _=require(_0x9ea6('0x0'));var util=require(_0x9ea6('0x1'));var logger=require(_0x9ea6('0x2'))(_0x9ea6('0x3'));var moment=require(_0x9ea6('0x4'));var BPromise=require('bluebird');var rp=require(_0x9ea6('0x5'));var fs=require('fs');var path=require('path');var rimraf=require(_0x9ea6('0x6'));var config=require(_0x9ea6('0x7'));var attributes=require(_0x9ea6('0x8'));module['exports']=function(_0x173f2d,_0x54cd72){return _0x173f2d[_0x9ea6('0x9')](_0x9ea6('0xa'),attributes,{'tableName':'voice_queues_log','paranoid':![],'indexes':[{'name':_0x9ea6('0xb'),'fields':['event',_0x9ea6('0xc')]}],'timestamps':![]});};