Built motion from commit c116dc8b.|2.6.30
[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 _0x0f32=['destroy','exports','multer','util','path','connect-timeout','Router','fs-extra','../../components/auth/service','../../components/interaction/service','../../config/environment','./intVtigerConfiguration.controller','get','index','/:id','show','/:id/fields','getFields','/:id/subjects','isAuthenticated','getSubjects','/:id/descriptions','getDescriptions','post','create','put','update'];(function(_0x3bacf8,_0x315aaa){var _0x53d999=function(_0xd57078){while(--_0xd57078){_0x3bacf8['push'](_0x3bacf8['shift']());}};_0x53d999(++_0x315aaa);}(_0x0f32,0xbf));var _0x20f3=function(_0x3f8a04,_0x5b1696){_0x3f8a04=_0x3f8a04-0x0;var _0x57f1fb=_0x0f32[_0x3f8a04];return _0x57f1fb;};'use strict';var multer=require(_0x20f3('0x0'));var util=require(_0x20f3('0x1'));var path=require(_0x20f3('0x2'));var timeout=require(_0x20f3('0x3'));var express=require('express');var router=express[_0x20f3('0x4')]();var fs_extra=require(_0x20f3('0x5'));var auth=require(_0x20f3('0x6'));var interaction=require(_0x20f3('0x7'));var config=require(_0x20f3('0x8'));var controller=require(_0x20f3('0x9'));router[_0x20f3('0xa')]('/',auth['isAuthenticated'](),controller[_0x20f3('0xb')]);router['get'](_0x20f3('0xc'),auth['isAuthenticated'](),controller[_0x20f3('0xd')]);router[_0x20f3('0xa')](_0x20f3('0xe'),auth['isAuthenticated'](),controller[_0x20f3('0xf')]);router['get'](_0x20f3('0x10'),auth[_0x20f3('0x11')](),controller[_0x20f3('0x12')]);router[_0x20f3('0xa')](_0x20f3('0x13'),auth['isAuthenticated'](),controller[_0x20f3('0x14')]);router[_0x20f3('0x15')]('/',auth['isAuthenticated'](),controller[_0x20f3('0x16')]);router[_0x20f3('0x17')](_0x20f3('0xc'),auth[_0x20f3('0x11')](),controller[_0x20f3('0x18')]);router['delete'](_0x20f3('0xc'),auth[_0x20f3('0x11')](),controller[_0x20f3('0x19')]);module[_0x20f3('0x1a')]=router;