2dff54c965dde8077536d74727ab09b96c17b0af
[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 _0x4e2c=['lodash','util','../../config/logger','moment','bluebird','request-promise','path','../../config/environment','./voiceQueuesLog.attributes','exports','define','VoiceQueuesLog','event_dtm','event','dtm'];(function(_0x55c465,_0x56c919){var _0x2c43a0=function(_0x57bf8d){while(--_0x57bf8d){_0x55c465['push'](_0x55c465['shift']());}};_0x2c43a0(++_0x56c919);}(_0x4e2c,0x1d1));var _0xc4e2=function(_0x1cfca1,_0x44d20b){_0x1cfca1=_0x1cfca1-0x0;var _0x5389b6=_0x4e2c[_0x1cfca1];return _0x5389b6;};'use strict';var _=require(_0xc4e2('0x0'));var util=require(_0xc4e2('0x1'));var logger=require(_0xc4e2('0x2'))('api');var moment=require(_0xc4e2('0x3'));var BPromise=require(_0xc4e2('0x4'));var rp=require(_0xc4e2('0x5'));var fs=require('fs');var path=require(_0xc4e2('0x6'));var rimraf=require('rimraf');var config=require(_0xc4e2('0x7'));var attributes=require(_0xc4e2('0x8'));module[_0xc4e2('0x9')]=function(_0x4873ee,_0x3409b6){return _0x4873ee[_0xc4e2('0xa')](_0xc4e2('0xb'),attributes,{'tableName':'voice_queues_log','paranoid':![],'indexes':[{'name':_0xc4e2('0xc'),'fields':[_0xc4e2('0xd'),_0xc4e2('0xe')]}],'timestamps':![]});};