Built motion from commit fe909640.|2.6.8
[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 _0x6171=['multer','util','path','connect-timeout','express','fs-extra','../../components/auth/service','./intSugarcrmConfiguration.controller','get','/:id','isAuthenticated','/:id/fields','getFields','/:id/subjects','getSubjects','/:id/descriptions','getDescriptions','post','create','put','update','delete','destroy','exports'];(function(_0x5a95aa,_0xd9c628){var _0x17c85e=function(_0x239ba6){while(--_0x239ba6){_0x5a95aa['push'](_0x5a95aa['shift']());}};_0x17c85e(++_0xd9c628);}(_0x6171,0x1e0));var _0x1617=function(_0x3b0731,_0xcf9925){_0x3b0731=_0x3b0731-0x0;var _0x4204d7=_0x6171[_0x3b0731];return _0x4204d7;};'use strict';var multer=require(_0x1617('0x0'));var util=require(_0x1617('0x1'));var path=require(_0x1617('0x2'));var timeout=require(_0x1617('0x3'));var express=require(_0x1617('0x4'));var router=express['Router']();var fs_extra=require(_0x1617('0x5'));var auth=require(_0x1617('0x6'));var interaction=require('../../components/interaction/service');var config=require('../../config/environment');var controller=require(_0x1617('0x7'));router[_0x1617('0x8')]('/',auth['isAuthenticated'](),controller['index']);router[_0x1617('0x8')](_0x1617('0x9'),auth[_0x1617('0xa')](),controller['show']);router['get'](_0x1617('0xb'),auth[_0x1617('0xa')](),controller[_0x1617('0xc')]);router[_0x1617('0x8')](_0x1617('0xd'),auth[_0x1617('0xa')](),controller[_0x1617('0xe')]);router[_0x1617('0x8')](_0x1617('0xf'),auth['isAuthenticated'](),controller[_0x1617('0x10')]);router[_0x1617('0x11')]('/',auth['isAuthenticated'](),controller[_0x1617('0x12')]);router[_0x1617('0x13')](_0x1617('0x9'),auth[_0x1617('0xa')](),controller[_0x1617('0x14')]);router[_0x1617('0x15')](_0x1617('0x9'),auth[_0x1617('0xa')](),controller[_0x1617('0x16')]);module[_0x1617('0x17')]=router;