Built motion from commit f7863d46.|2.5.41
[motion2.git] / server / api / intVtigerConfiguration / 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 _0xf695=['getDescriptions','create','update','destroy','exports','multer','util','path','connect-timeout','Router','fs-extra','../../components/auth/service','../../components/interaction/service','../../config/environment','isAuthenticated','get','/:id','show','/:id/fields','getFields','/:id/subjects','getSubjects','/:id/descriptions'];(function(_0x498c9f,_0x5677c3){var _0x240958=function(_0x534174){while(--_0x534174){_0x498c9f['push'](_0x498c9f['shift']());}};_0x240958(++_0x5677c3);}(_0xf695,0xd4));var _0x5f69=function(_0x1977e5,_0x556699){_0x1977e5=_0x1977e5-0x0;var _0x41af6c=_0xf695[_0x1977e5];return _0x41af6c;};'use strict';var multer=require(_0x5f69('0x0'));var util=require(_0x5f69('0x1'));var path=require(_0x5f69('0x2'));var timeout=require(_0x5f69('0x3'));var express=require('express');var router=express[_0x5f69('0x4')]();var fs_extra=require(_0x5f69('0x5'));var auth=require(_0x5f69('0x6'));var interaction=require(_0x5f69('0x7'));var config=require(_0x5f69('0x8'));var controller=require('./intVtigerConfiguration.controller');router['get']('/',auth[_0x5f69('0x9')](),controller['index']);router[_0x5f69('0xa')](_0x5f69('0xb'),auth[_0x5f69('0x9')](),controller[_0x5f69('0xc')]);router['get'](_0x5f69('0xd'),auth[_0x5f69('0x9')](),controller[_0x5f69('0xe')]);router[_0x5f69('0xa')](_0x5f69('0xf'),auth[_0x5f69('0x9')](),controller[_0x5f69('0x10')]);router['get'](_0x5f69('0x11'),auth[_0x5f69('0x9')](),controller[_0x5f69('0x12')]);router['post']('/',auth[_0x5f69('0x9')](),controller[_0x5f69('0x13')]);router['put'](_0x5f69('0xb'),auth[_0x5f69('0x9')](),controller[_0x5f69('0x14')]);router['delete'](_0x5f69('0xb'),auth['isAuthenticated'](),controller[_0x5f69('0x15')]);module[_0x5f69('0x16')]=router;