Built motion from commit 953226e6.|2.6.32
[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 _0xe0d3=['../../components/auth/service','../../components/interaction/service','../../config/environment','./intVtigerConfiguration.controller','get','isAuthenticated','index','/:id','show','/:id/fields','getFields','getSubjects','/:id/descriptions','getDescriptions','create','exports','multer','connect-timeout','express','Router','fs-extra'];(function(_0xbab0b8,_0x292a2e){var _0x171ea9=function(_0x1ecbeb){while(--_0x1ecbeb){_0xbab0b8['push'](_0xbab0b8['shift']());}};_0x171ea9(++_0x292a2e);}(_0xe0d3,0x14b));var _0x3e0d=function(_0xf3dc36,_0x23c49e){_0xf3dc36=_0xf3dc36-0x0;var _0x4c573b=_0xe0d3[_0xf3dc36];return _0x4c573b;};'use strict';var multer=require(_0x3e0d('0x0'));var util=require('util');var path=require('path');var timeout=require(_0x3e0d('0x1'));var express=require(_0x3e0d('0x2'));var router=express[_0x3e0d('0x3')]();var fs_extra=require(_0x3e0d('0x4'));var auth=require(_0x3e0d('0x5'));var interaction=require(_0x3e0d('0x6'));var config=require(_0x3e0d('0x7'));var controller=require(_0x3e0d('0x8'));router[_0x3e0d('0x9')]('/',auth[_0x3e0d('0xa')](),controller[_0x3e0d('0xb')]);router[_0x3e0d('0x9')](_0x3e0d('0xc'),auth[_0x3e0d('0xa')](),controller[_0x3e0d('0xd')]);router[_0x3e0d('0x9')](_0x3e0d('0xe'),auth[_0x3e0d('0xa')](),controller[_0x3e0d('0xf')]);router['get']('/:id/subjects',auth[_0x3e0d('0xa')](),controller[_0x3e0d('0x10')]);router[_0x3e0d('0x9')](_0x3e0d('0x11'),auth[_0x3e0d('0xa')](),controller[_0x3e0d('0x12')]);router['post']('/',auth['isAuthenticated'](),controller[_0x3e0d('0x13')]);router['put'](_0x3e0d('0xc'),auth['isAuthenticated'](),controller['update']);router['delete'](_0x3e0d('0xc'),auth['isAuthenticated'](),controller['destroy']);module[_0x3e0d('0x14')]=router;