Built motion from commit (unavailable).|2.4.20
[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 _0x57dd=['show','/:id/fields','/:id/subjects','getSubjects','getDescriptions','post','create','put','update','delete','destroy','exports','util','../../components/auth/service','../../components/interaction/service','../../config/environment','./intSugarcrmConfiguration.controller','get','isAuthenticated','index','/:id'];(function(_0x4c2c14,_0x3f7a46){var _0x3ed6ab=function(_0x3e5d8b){while(--_0x3e5d8b){_0x4c2c14['push'](_0x4c2c14['shift']());}};_0x3ed6ab(++_0x3f7a46);}(_0x57dd,0x75));var _0xd57d=function(_0x5e19f9,_0x17a4d8){_0x5e19f9=_0x5e19f9-0x0;var _0x3dd24f=_0x57dd[_0x5e19f9];return _0x3dd24f;};'use strict';var multer=require('multer');var util=require(_0xd57d('0x0'));var path=require('path');var timeout=require('connect-timeout');var express=require('express');var router=express['Router']();var auth=require(_0xd57d('0x1'));var interaction=require(_0xd57d('0x2'));var config=require(_0xd57d('0x3'));var controller=require(_0xd57d('0x4'));router[_0xd57d('0x5')]('/',auth[_0xd57d('0x6')](),controller[_0xd57d('0x7')]);router['get'](_0xd57d('0x8'),auth[_0xd57d('0x6')](),controller[_0xd57d('0x9')]);router[_0xd57d('0x5')](_0xd57d('0xa'),auth[_0xd57d('0x6')](),controller['getFields']);router[_0xd57d('0x5')](_0xd57d('0xb'),auth[_0xd57d('0x6')](),controller[_0xd57d('0xc')]);router[_0xd57d('0x5')]('/:id/descriptions',auth[_0xd57d('0x6')](),controller[_0xd57d('0xd')]);router[_0xd57d('0xe')]('/',auth[_0xd57d('0x6')](),controller[_0xd57d('0xf')]);router[_0xd57d('0x10')](_0xd57d('0x8'),auth[_0xd57d('0x6')](),controller[_0xd57d('0x11')]);router[_0xd57d('0x12')]('/:id',auth[_0xd57d('0x6')](),controller[_0xd57d('0x13')]);module[_0xd57d('0x14')]=router;