Built motion from commit d5e4af8c.|2.6.23
[motion2.git] / server / api / analyticMetric / index.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 _0xf2cf=['put','update','delete','destroy','exports','util','path','connect-timeout','Router','fs-extra','../../components/auth/service','../../components/interaction/service','../../config/environment','./analyticMetric.controller','isAuthenticated','index','/:id','show','post','create'];(function(_0x184031,_0x20f2d9){var _0x1454f5=function(_0x2a094b){while(--_0x2a094b){_0x184031['push'](_0x184031['shift']());}};_0x1454f5(++_0x20f2d9);}(_0xf2cf,0xf5));var _0xff2c=function(_0x26dc33,_0x23c483){_0x26dc33=_0x26dc33-0x0;var _0x1bbee3=_0xf2cf[_0x26dc33];return _0x1bbee3;};'use strict';var multer=require('multer');var util=require(_0xff2c('0x0'));var path=require(_0xff2c('0x1'));var timeout=require(_0xff2c('0x2'));var express=require('express');var router=express[_0xff2c('0x3')]();var fs_extra=require(_0xff2c('0x4'));var auth=require(_0xff2c('0x5'));var interaction=require(_0xff2c('0x6'));var config=require(_0xff2c('0x7'));var controller=require(_0xff2c('0x8'));router['get']('/',auth[_0xff2c('0x9')](),controller[_0xff2c('0xa')]);router['get'](_0xff2c('0xb'),auth[_0xff2c('0x9')](),controller[_0xff2c('0xc')]);router[_0xff2c('0xd')]('/',auth[_0xff2c('0x9')](),controller[_0xff2c('0xe')]);router[_0xff2c('0xf')]('/:id',auth[_0xff2c('0x9')](),controller[_0xff2c('0x10')]);router[_0xff2c('0x11')]('/:id',auth[_0xff2c('0x9')](),controller[_0xff2c('0x12')]);module[_0xff2c('0x13')]=router;