4d3909e16489a930431b37b56b2964e062c58fc5
[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 _0x3b1a=['./intSugarcrmConfiguration.controller','get','isAuthenticated','index','/:id','show','/:id/fields','getFields','/:id/subjects','getSubjects','/:id/descriptions','getDescriptions','post','create','put','update','delete','destroy','exports','multer','util','connect-timeout','Router','../../components/auth/service','../../components/interaction/service','../../config/environment'];(function(_0x4dd004,_0x295cbc){var _0x21ef2e=function(_0x58f096){while(--_0x58f096){_0x4dd004['push'](_0x4dd004['shift']());}};_0x21ef2e(++_0x295cbc);}(_0x3b1a,0xfd));var _0xa3b1=function(_0xcf7d1e,_0x1b00ad){_0xcf7d1e=_0xcf7d1e-0x0;var _0x42b2cb=_0x3b1a[_0xcf7d1e];return _0x42b2cb;};'use strict';var multer=require(_0xa3b1('0x0'));var util=require(_0xa3b1('0x1'));var path=require('path');var timeout=require(_0xa3b1('0x2'));var express=require('express');var router=express[_0xa3b1('0x3')]();var auth=require(_0xa3b1('0x4'));var interaction=require(_0xa3b1('0x5'));var config=require(_0xa3b1('0x6'));var controller=require(_0xa3b1('0x7'));router[_0xa3b1('0x8')]('/',auth[_0xa3b1('0x9')](),controller[_0xa3b1('0xa')]);router[_0xa3b1('0x8')](_0xa3b1('0xb'),auth[_0xa3b1('0x9')](),controller[_0xa3b1('0xc')]);router[_0xa3b1('0x8')](_0xa3b1('0xd'),auth[_0xa3b1('0x9')](),controller[_0xa3b1('0xe')]);router[_0xa3b1('0x8')](_0xa3b1('0xf'),auth[_0xa3b1('0x9')](),controller[_0xa3b1('0x10')]);router['get'](_0xa3b1('0x11'),auth[_0xa3b1('0x9')](),controller[_0xa3b1('0x12')]);router[_0xa3b1('0x13')]('/',auth[_0xa3b1('0x9')](),controller[_0xa3b1('0x14')]);router[_0xa3b1('0x15')]('/:id',auth['isAuthenticated'](),controller[_0xa3b1('0x16')]);router[_0xa3b1('0x17')]('/:id',auth[_0xa3b1('0x9')](),controller[_0xa3b1('0x18')]);module[_0xa3b1('0x19')]=router;