Built motion from commit 0900f080.|2.5.45
[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 _0x21ab=['../../components/interaction/service','./intVtigerConfiguration.controller','get','isAuthenticated','/:id','show','/:id/fields','/:id/subjects','getSubjects','/:id/descriptions','getDescriptions','post','create','put','delete','destroy','exports','multer','util','path','connect-timeout','express','Router','fs-extra','../../components/auth/service'];(function(_0x57eebd,_0x561057){var _0x343a79=function(_0x5e2cb4){while(--_0x5e2cb4){_0x57eebd['push'](_0x57eebd['shift']());}};_0x343a79(++_0x561057);}(_0x21ab,0x8e));var _0xb21a=function(_0x16ae34,_0x1dc6d){_0x16ae34=_0x16ae34-0x0;var _0x184836=_0x21ab[_0x16ae34];return _0x184836;};'use strict';var multer=require(_0xb21a('0x0'));var util=require(_0xb21a('0x1'));var path=require(_0xb21a('0x2'));var timeout=require(_0xb21a('0x3'));var express=require(_0xb21a('0x4'));var router=express[_0xb21a('0x5')]();var fs_extra=require(_0xb21a('0x6'));var auth=require(_0xb21a('0x7'));var interaction=require(_0xb21a('0x8'));var config=require('../../config/environment');var controller=require(_0xb21a('0x9'));router[_0xb21a('0xa')]('/',auth[_0xb21a('0xb')](),controller['index']);router['get'](_0xb21a('0xc'),auth[_0xb21a('0xb')](),controller[_0xb21a('0xd')]);router[_0xb21a('0xa')](_0xb21a('0xe'),auth[_0xb21a('0xb')](),controller['getFields']);router[_0xb21a('0xa')](_0xb21a('0xf'),auth[_0xb21a('0xb')](),controller[_0xb21a('0x10')]);router['get'](_0xb21a('0x11'),auth[_0xb21a('0xb')](),controller[_0xb21a('0x12')]);router[_0xb21a('0x13')]('/',auth['isAuthenticated'](),controller[_0xb21a('0x14')]);router[_0xb21a('0x15')](_0xb21a('0xc'),auth['isAuthenticated'](),controller['update']);router[_0xb21a('0x16')](_0xb21a('0xc'),auth['isAuthenticated'](),controller[_0xb21a('0x17')]);module[_0xb21a('0x18')]=router;