Built motion from commit d32f51f5.|2.6.31
[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 _0xf350=['post','create','put','update','delete','destroy','exports','multer','util','path','connect-timeout','Router','fs-extra','../../components/auth/service','../../config/environment','./intVtigerConfiguration.controller','get','isAuthenticated','index','/:id','show','/:id/fields','getSubjects','/:id/descriptions','getDescriptions'];(function(_0x5f3f88,_0x562baf){var _0xd08119=function(_0x42dbf7){while(--_0x42dbf7){_0x5f3f88['push'](_0x5f3f88['shift']());}};_0xd08119(++_0x562baf);}(_0xf350,0x9d));var _0x0f35=function(_0x122ef9,_0x451d2a){_0x122ef9=_0x122ef9-0x0;var _0x42fba0=_0xf350[_0x122ef9];return _0x42fba0;};'use strict';var multer=require(_0x0f35('0x0'));var util=require(_0x0f35('0x1'));var path=require(_0x0f35('0x2'));var timeout=require(_0x0f35('0x3'));var express=require('express');var router=express[_0x0f35('0x4')]();var fs_extra=require(_0x0f35('0x5'));var auth=require(_0x0f35('0x6'));var interaction=require('../../components/interaction/service');var config=require(_0x0f35('0x7'));var controller=require(_0x0f35('0x8'));router[_0x0f35('0x9')]('/',auth[_0x0f35('0xa')](),controller[_0x0f35('0xb')]);router[_0x0f35('0x9')](_0x0f35('0xc'),auth[_0x0f35('0xa')](),controller[_0x0f35('0xd')]);router[_0x0f35('0x9')](_0x0f35('0xe'),auth['isAuthenticated'](),controller['getFields']);router[_0x0f35('0x9')]('/:id/subjects',auth[_0x0f35('0xa')](),controller[_0x0f35('0xf')]);router[_0x0f35('0x9')](_0x0f35('0x10'),auth['isAuthenticated'](),controller[_0x0f35('0x11')]);router[_0x0f35('0x12')]('/',auth[_0x0f35('0xa')](),controller[_0x0f35('0x13')]);router[_0x0f35('0x14')]('/:id',auth[_0x0f35('0xa')](),controller[_0x0f35('0x15')]);router[_0x0f35('0x16')](_0x0f35('0xc'),auth['isAuthenticated'](),controller[_0x0f35('0x17')]);module[_0x0f35('0x18')]=router;