42e985e77916dbfc723926d802c84e666497f6c4
[motion2.git] / server / api / intSugarcrmConfiguration / 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 _0x59e5=['../../components/auth/service','../../components/interaction/service','./intSugarcrmConfiguration.controller','get','isAuthenticated','index','/:id','show','/:id/fields','getFields','/:id/subjects','getSubjects','getDescriptions','post','create','put','update','destroy','exports','multer','util','path','express','Router'];(function(_0x5038e3,_0x29855b){var _0x593c8d=function(_0x41c341){while(--_0x41c341){_0x5038e3['push'](_0x5038e3['shift']());}};_0x593c8d(++_0x29855b);}(_0x59e5,0x11b));var _0x559e=function(_0x5e5078,_0x2964c2){_0x5e5078=_0x5e5078-0x0;var _0x220b83=_0x59e5[_0x5e5078];return _0x220b83;};'use strict';var multer=require(_0x559e('0x0'));var util=require(_0x559e('0x1'));var path=require(_0x559e('0x2'));var timeout=require('connect-timeout');var express=require(_0x559e('0x3'));var router=express[_0x559e('0x4')]();var auth=require(_0x559e('0x5'));var interaction=require(_0x559e('0x6'));var config=require('../../config/environment');var controller=require(_0x559e('0x7'));router[_0x559e('0x8')]('/',auth[_0x559e('0x9')](),controller[_0x559e('0xa')]);router[_0x559e('0x8')](_0x559e('0xb'),auth[_0x559e('0x9')](),controller[_0x559e('0xc')]);router[_0x559e('0x8')](_0x559e('0xd'),auth[_0x559e('0x9')](),controller[_0x559e('0xe')]);router[_0x559e('0x8')](_0x559e('0xf'),auth[_0x559e('0x9')](),controller[_0x559e('0x10')]);router[_0x559e('0x8')]('/:id/descriptions',auth[_0x559e('0x9')](),controller[_0x559e('0x11')]);router[_0x559e('0x12')]('/',auth[_0x559e('0x9')](),controller[_0x559e('0x13')]);router[_0x559e('0x14')](_0x559e('0xb'),auth[_0x559e('0x9')](),controller[_0x559e('0x15')]);router['delete'](_0x559e('0xb'),auth[_0x559e('0x9')](),controller[_0x559e('0x16')]);module[_0x559e('0x17')]=router;