Built motion from commit 0bd120ac.|2.6.25
[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 _0x7f2a=['isAuthenticated','/:id/subjects','getSubjects','/:id/descriptions','put','update','exports','multer','util','path','connect-timeout','express','Router','fs-extra','../../components/auth/service','../../components/interaction/service','./intVtigerConfiguration.controller','get','index','/:id','show','/:id/fields'];(function(_0x498fb7,_0xf319a8){var _0x186c3f=function(_0x2818b0){while(--_0x2818b0){_0x498fb7['push'](_0x498fb7['shift']());}};_0x186c3f(++_0xf319a8);}(_0x7f2a,0x17d));var _0xa7f2=function(_0x59565b,_0x5bb843){_0x59565b=_0x59565b-0x0;var _0x17a286=_0x7f2a[_0x59565b];return _0x17a286;};'use strict';var multer=require(_0xa7f2('0x0'));var util=require(_0xa7f2('0x1'));var path=require(_0xa7f2('0x2'));var timeout=require(_0xa7f2('0x3'));var express=require(_0xa7f2('0x4'));var router=express[_0xa7f2('0x5')]();var fs_extra=require(_0xa7f2('0x6'));var auth=require(_0xa7f2('0x7'));var interaction=require(_0xa7f2('0x8'));var config=require('../../config/environment');var controller=require(_0xa7f2('0x9'));router[_0xa7f2('0xa')]('/',auth['isAuthenticated'](),controller[_0xa7f2('0xb')]);router['get'](_0xa7f2('0xc'),auth['isAuthenticated'](),controller[_0xa7f2('0xd')]);router['get'](_0xa7f2('0xe'),auth[_0xa7f2('0xf')](),controller['getFields']);router[_0xa7f2('0xa')](_0xa7f2('0x10'),auth[_0xa7f2('0xf')](),controller[_0xa7f2('0x11')]);router[_0xa7f2('0xa')](_0xa7f2('0x12'),auth['isAuthenticated'](),controller['getDescriptions']);router['post']('/',auth[_0xa7f2('0xf')](),controller['create']);router[_0xa7f2('0x13')](_0xa7f2('0xc'),auth[_0xa7f2('0xf')](),controller[_0xa7f2('0x14')]);router['delete']('/:id',auth['isAuthenticated'](),controller['destroy']);module[_0xa7f2('0x15')]=router;