Built motion from commit (unavailable).|2.5.23
[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 _0xa23f=['connect-timeout','../../components/auth/service','../../components/interaction/service','../../config/environment','./intDynamics365Configuration.controller','get','index','isAuthenticated','getFields','/:id/subjects','/:id/descriptions','getDescriptions','post','put','delete','/:id','destroy','multer','util','path'];(function(_0x4b89c4,_0x3e214a){var _0x44f454=function(_0x432da9){while(--_0x432da9){_0x4b89c4['push'](_0x4b89c4['shift']());}};_0x44f454(++_0x3e214a);}(_0xa23f,0x18d));var _0xfa23=function(_0x5c4546,_0x9fe3c2){_0x5c4546=_0x5c4546-0x0;var _0x28d1b=_0xa23f[_0x5c4546];return _0x28d1b;};'use strict';var multer=require(_0xfa23('0x0'));var util=require(_0xfa23('0x1'));var path=require(_0xfa23('0x2'));var timeout=require(_0xfa23('0x3'));var express=require('express');var router=express['Router']();var auth=require(_0xfa23('0x4'));var interaction=require(_0xfa23('0x5'));var config=require(_0xfa23('0x6'));var controller=require(_0xfa23('0x7'));router[_0xfa23('0x8')]('/',auth['isAuthenticated'](),controller[_0xfa23('0x9')]);router[_0xfa23('0x8')]('/:id',auth[_0xfa23('0xa')](),controller['show']);router[_0xfa23('0x8')]('/:id/fields',auth['isAuthenticated'](),controller[_0xfa23('0xb')]);router[_0xfa23('0x8')](_0xfa23('0xc'),auth[_0xfa23('0xa')](),controller['getSubjects']);router[_0xfa23('0x8')](_0xfa23('0xd'),auth[_0xfa23('0xa')](),controller[_0xfa23('0xe')]);router[_0xfa23('0xf')]('/',auth['isAuthenticated'](),controller['create']);router[_0xfa23('0x10')]('/:id',auth[_0xfa23('0xa')](),controller['update']);router[_0xfa23('0x11')](_0xfa23('0x12'),auth[_0xfa23('0xa')](),controller[_0xfa23('0x13')]);module['exports']=router;