23933e952090aa7d288813d7bed9749b4a302a4e
[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 _0xe73d=['request-promise','rimraf','../../config/environment','define','event_dtm','event','dtm','util','api','bluebird'];(function(_0x15a50b,_0x53fb9d){var _0x94c098=function(_0x41af82){while(--_0x41af82){_0x15a50b['push'](_0x15a50b['shift']());}};_0x94c098(++_0x53fb9d);}(_0xe73d,0x15b));var _0xde73=function(_0x113ca1,_0x4dc3a6){_0x113ca1=_0x113ca1-0x0;var _0x50a5a9=_0xe73d[_0x113ca1];return _0x50a5a9;};'use strict';var _=require('lodash');var util=require(_0xde73('0x0'));var logger=require('../../config/logger')(_0xde73('0x1'));var moment=require('moment');var BPromise=require(_0xde73('0x2'));var rp=require(_0xde73('0x3'));var fs=require('fs');var path=require('path');var rimraf=require(_0xde73('0x4'));var config=require(_0xde73('0x5'));var attributes=require('./voiceQueuesLog.attributes');module['exports']=function(_0x2d6ff0,_0x5f2a9b){return _0x2d6ff0[_0xde73('0x6')]('VoiceQueuesLog',attributes,{'tableName':'voice_queues_log','paranoid':![],'indexes':[{'name':_0xde73('0x7'),'fields':[_0xde73('0x8'),_0xde73('0x9')]}],'timestamps':![]});};