Built motion from commit 14588770.|2.5.38
[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 _0x5abe=['create','put','delete','destroy','exports','multer','path','connect-timeout','express','Router','../../components/interaction/service','../../config/environment','./intVtigerConfiguration.controller','get','isAuthenticated','index','/:id','/:id/fields','getFields','/:id/subjects','getSubjects','getDescriptions'];(function(_0x339b9b,_0x3568a8){var _0x576a88=function(_0x276c08){while(--_0x276c08){_0x339b9b['push'](_0x339b9b['shift']());}};_0x576a88(++_0x3568a8);}(_0x5abe,0x1bd));var _0xe5ab=function(_0x1a97ec,_0x8c7430){_0x1a97ec=_0x1a97ec-0x0;var _0x7631ee=_0x5abe[_0x1a97ec];return _0x7631ee;};'use strict';var multer=require(_0xe5ab('0x0'));var util=require('util');var path=require(_0xe5ab('0x1'));var timeout=require(_0xe5ab('0x2'));var express=require(_0xe5ab('0x3'));var router=express[_0xe5ab('0x4')]();var fs_extra=require('fs-extra');var auth=require('../../components/auth/service');var interaction=require(_0xe5ab('0x5'));var config=require(_0xe5ab('0x6'));var controller=require(_0xe5ab('0x7'));router[_0xe5ab('0x8')]('/',auth[_0xe5ab('0x9')](),controller[_0xe5ab('0xa')]);router[_0xe5ab('0x8')](_0xe5ab('0xb'),auth[_0xe5ab('0x9')](),controller['show']);router['get'](_0xe5ab('0xc'),auth['isAuthenticated'](),controller[_0xe5ab('0xd')]);router[_0xe5ab('0x8')](_0xe5ab('0xe'),auth['isAuthenticated'](),controller[_0xe5ab('0xf')]);router[_0xe5ab('0x8')]('/:id/descriptions',auth[_0xe5ab('0x9')](),controller[_0xe5ab('0x10')]);router['post']('/',auth[_0xe5ab('0x9')](),controller[_0xe5ab('0x11')]);router[_0xe5ab('0x12')]('/:id',auth['isAuthenticated'](),controller['update']);router[_0xe5ab('0x13')]('/:id',auth[_0xe5ab('0x9')](),controller[_0xe5ab('0x14')]);module[_0xe5ab('0x15')]=router;