b57ca5982209b82a0cc283ded574a0683b9b8d80
[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 _0x61fb=['show','/:id/fields','getFields','getDescriptions','create','put','update','delete','/:id','destroy','multer','util','path','connect-timeout','Router','fs-extra','../../components/auth/service','../../components/interaction/service','../../config/environment','./intDynamics365Configuration.controller','get','isAuthenticated','index'];(function(_0x51ef1b,_0x5984a1){var _0x5c5368=function(_0x561ddd){while(--_0x561ddd){_0x51ef1b['push'](_0x51ef1b['shift']());}};_0x5c5368(++_0x5984a1);}(_0x61fb,0x1a8));var _0xb61f=function(_0x399486,_0x5319d4){_0x399486=_0x399486-0x0;var _0x381361=_0x61fb[_0x399486];return _0x381361;};'use strict';var multer=require(_0xb61f('0x0'));var util=require(_0xb61f('0x1'));var path=require(_0xb61f('0x2'));var timeout=require(_0xb61f('0x3'));var express=require('express');var router=express[_0xb61f('0x4')]();var fs_extra=require(_0xb61f('0x5'));var auth=require(_0xb61f('0x6'));var interaction=require(_0xb61f('0x7'));var config=require(_0xb61f('0x8'));var controller=require(_0xb61f('0x9'));router[_0xb61f('0xa')]('/',auth[_0xb61f('0xb')](),controller[_0xb61f('0xc')]);router[_0xb61f('0xa')]('/:id',auth[_0xb61f('0xb')](),controller[_0xb61f('0xd')]);router[_0xb61f('0xa')](_0xb61f('0xe'),auth[_0xb61f('0xb')](),controller[_0xb61f('0xf')]);router[_0xb61f('0xa')]('/:id/subjects',auth[_0xb61f('0xb')](),controller['getSubjects']);router[_0xb61f('0xa')]('/:id/descriptions',auth[_0xb61f('0xb')](),controller[_0xb61f('0x10')]);router['post']('/',auth[_0xb61f('0xb')](),controller[_0xb61f('0x11')]);router[_0xb61f('0x12')]('/:id',auth[_0xb61f('0xb')](),controller[_0xb61f('0x13')]);router[_0xb61f('0x14')](_0xb61f('0x15'),auth[_0xb61f('0xb')](),controller[_0xb61f('0x16')]);module['exports']=router;