208a0fb1ef25806b99bbc5cd814594ca3bfaf547
[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 _0x1a31=['create','put','update','delete','destroy','exports','path','connect-timeout','express','Router','../../components/auth/service','../../config/environment','./intSugarcrmConfiguration.controller','get','isAuthenticated','index','/:id','show','/:id/fields','getFields','/:id/subjects','getSubjects','post'];(function(_0x55fdb7,_0x3fd4c3){var _0x5840c2=function(_0x510272){while(--_0x510272){_0x55fdb7['push'](_0x55fdb7['shift']());}};_0x5840c2(++_0x3fd4c3);}(_0x1a31,0x11a));var _0x11a3=function(_0x172747,_0x1732bd){_0x172747=_0x172747-0x0;var _0x509692=_0x1a31[_0x172747];return _0x509692;};'use strict';var multer=require('multer');var util=require('util');var path=require(_0x11a3('0x0'));var timeout=require(_0x11a3('0x1'));var express=require(_0x11a3('0x2'));var router=express[_0x11a3('0x3')]();var auth=require(_0x11a3('0x4'));var interaction=require('../../components/interaction/service');var config=require(_0x11a3('0x5'));var controller=require(_0x11a3('0x6'));router[_0x11a3('0x7')]('/',auth[_0x11a3('0x8')](),controller[_0x11a3('0x9')]);router[_0x11a3('0x7')](_0x11a3('0xa'),auth['isAuthenticated'](),controller[_0x11a3('0xb')]);router[_0x11a3('0x7')](_0x11a3('0xc'),auth['isAuthenticated'](),controller[_0x11a3('0xd')]);router[_0x11a3('0x7')](_0x11a3('0xe'),auth['isAuthenticated'](),controller[_0x11a3('0xf')]);router[_0x11a3('0x7')]('/:id/descriptions',auth[_0x11a3('0x8')](),controller['getDescriptions']);router[_0x11a3('0x10')]('/',auth[_0x11a3('0x8')](),controller[_0x11a3('0x11')]);router[_0x11a3('0x12')](_0x11a3('0xa'),auth[_0x11a3('0x8')](),controller[_0x11a3('0x13')]);router[_0x11a3('0x14')](_0x11a3('0xa'),auth[_0x11a3('0x8')](),controller[_0x11a3('0x15')]);module[_0x11a3('0x16')]=router;