Built motion from commit (unavailable).|2.4.19
[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 _0x9fd3=['post','create','put','update','delete','destroy','exports','util','connect-timeout','express','Router','../../components/auth/service','../../config/environment','./intSugarcrmConfiguration.controller','index','get','/:id','isAuthenticated','show','getFields','/:id/subjects','getSubjects','/:id/descriptions'];(function(_0x8b4dd3,_0x120bdc){var _0x1f9fda=function(_0x59eb16){while(--_0x59eb16){_0x8b4dd3['push'](_0x8b4dd3['shift']());}};_0x1f9fda(++_0x120bdc);}(_0x9fd3,0x1d3));var _0x39fd=function(_0x3778e7,_0x171ea2){_0x3778e7=_0x3778e7-0x0;var _0x3a0799=_0x9fd3[_0x3778e7];return _0x3a0799;};'use strict';var multer=require('multer');var util=require(_0x39fd('0x0'));var path=require('path');var timeout=require(_0x39fd('0x1'));var express=require(_0x39fd('0x2'));var router=express[_0x39fd('0x3')]();var auth=require(_0x39fd('0x4'));var interaction=require('../../components/interaction/service');var config=require(_0x39fd('0x5'));var controller=require(_0x39fd('0x6'));router['get']('/',auth['isAuthenticated'](),controller[_0x39fd('0x7')]);router[_0x39fd('0x8')](_0x39fd('0x9'),auth[_0x39fd('0xa')](),controller[_0x39fd('0xb')]);router[_0x39fd('0x8')]('/:id/fields',auth['isAuthenticated'](),controller[_0x39fd('0xc')]);router[_0x39fd('0x8')](_0x39fd('0xd'),auth['isAuthenticated'](),controller[_0x39fd('0xe')]);router['get'](_0x39fd('0xf'),auth['isAuthenticated'](),controller['getDescriptions']);router[_0x39fd('0x10')]('/',auth[_0x39fd('0xa')](),controller[_0x39fd('0x11')]);router[_0x39fd('0x12')](_0x39fd('0x9'),auth[_0x39fd('0xa')](),controller[_0x39fd('0x13')]);router[_0x39fd('0x14')](_0x39fd('0x9'),auth[_0x39fd('0xa')](),controller[_0x39fd('0x15')]);module[_0x39fd('0x16')]=router;