18a992583b6db87483b7841c143f97a7de5350ea
[motion2.git] / server / api / intDynamics365Configuration / 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 _0xcd1d=['connect-timeout','express','Router','../../components/auth/service','./intDynamics365Configuration.controller','get','isAuthenticated','index','/:id/fields','getFields','/:id/subjects','getSubjects','getDescriptions','post','put','/:id','update','delete','destroy','exports','multer','path'];(function(_0x295313,_0x4a5bfd){var _0x2067ce=function(_0x1af81a){while(--_0x1af81a){_0x295313['push'](_0x295313['shift']());}};_0x2067ce(++_0x4a5bfd);}(_0xcd1d,0x18a));var _0xdcd1=function(_0x517593,_0x30d2bc){_0x517593=_0x517593-0x0;var _0x3430de=_0xcd1d[_0x517593];return _0x3430de;};'use strict';var multer=require(_0xdcd1('0x0'));var util=require('util');var path=require(_0xdcd1('0x1'));var timeout=require(_0xdcd1('0x2'));var express=require(_0xdcd1('0x3'));var router=express[_0xdcd1('0x4')]();var auth=require(_0xdcd1('0x5'));var interaction=require('../../components/interaction/service');var config=require('../../config/environment');var controller=require(_0xdcd1('0x6'));router[_0xdcd1('0x7')]('/',auth[_0xdcd1('0x8')](),controller[_0xdcd1('0x9')]);router[_0xdcd1('0x7')]('/:id',auth[_0xdcd1('0x8')](),controller['show']);router['get'](_0xdcd1('0xa'),auth[_0xdcd1('0x8')](),controller[_0xdcd1('0xb')]);router[_0xdcd1('0x7')](_0xdcd1('0xc'),auth[_0xdcd1('0x8')](),controller[_0xdcd1('0xd')]);router[_0xdcd1('0x7')]('/:id/descriptions',auth['isAuthenticated'](),controller[_0xdcd1('0xe')]);router[_0xdcd1('0xf')]('/',auth[_0xdcd1('0x8')](),controller['create']);router[_0xdcd1('0x10')](_0xdcd1('0x11'),auth[_0xdcd1('0x8')](),controller[_0xdcd1('0x12')]);router[_0xdcd1('0x13')](_0xdcd1('0x11'),auth[_0xdcd1('0x8')](),controller[_0xdcd1('0x14')]);module[_0xdcd1('0x15')]=router;