Built motion from commit da617fac.|2.6.6
[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 _0xfbb5=['../../components/interaction/service','get','index','/:id','isAuthenticated','show','/:id/subjects','getSubjects','/:id/descriptions','post','put','update','delete','destroy','exports','multer','util','path','connect-timeout','express','Router','fs-extra','../../components/auth/service'];(function(_0x4fe496,_0x1d8673){var _0x422b24=function(_0x27a644){while(--_0x27a644){_0x4fe496['push'](_0x4fe496['shift']());}};_0x422b24(++_0x1d8673);}(_0xfbb5,0xb0));var _0x5fbb=function(_0x29f3c0,_0x4a61ae){_0x29f3c0=_0x29f3c0-0x0;var _0x9aff4b=_0xfbb5[_0x29f3c0];return _0x9aff4b;};'use strict';var multer=require(_0x5fbb('0x0'));var util=require(_0x5fbb('0x1'));var path=require(_0x5fbb('0x2'));var timeout=require(_0x5fbb('0x3'));var express=require(_0x5fbb('0x4'));var router=express[_0x5fbb('0x5')]();var fs_extra=require(_0x5fbb('0x6'));var auth=require(_0x5fbb('0x7'));var interaction=require(_0x5fbb('0x8'));var config=require('../../config/environment');var controller=require('./intVtigerConfiguration.controller');router[_0x5fbb('0x9')]('/',auth['isAuthenticated'](),controller[_0x5fbb('0xa')]);router['get'](_0x5fbb('0xb'),auth[_0x5fbb('0xc')](),controller[_0x5fbb('0xd')]);router[_0x5fbb('0x9')]('/:id/fields',auth['isAuthenticated'](),controller['getFields']);router[_0x5fbb('0x9')](_0x5fbb('0xe'),auth[_0x5fbb('0xc')](),controller[_0x5fbb('0xf')]);router['get'](_0x5fbb('0x10'),auth[_0x5fbb('0xc')](),controller['getDescriptions']);router[_0x5fbb('0x11')]('/',auth[_0x5fbb('0xc')](),controller['create']);router[_0x5fbb('0x12')](_0x5fbb('0xb'),auth[_0x5fbb('0xc')](),controller[_0x5fbb('0x13')]);router[_0x5fbb('0x14')](_0x5fbb('0xb'),auth[_0x5fbb('0xc')](),controller[_0x5fbb('0x15')]);module[_0x5fbb('0x16')]=router;