0ba18af0889c867de292d704fbee237146438e89
[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 _0x907a=['/:id/subjects','getSubjects','/:id/descriptions','getDescriptions','post','create','put','/:id','update','delete','destroy','exports','multer','util','connect-timeout','express','../../components/auth/service','../../components/interaction/service','../../config/environment','./intDynamics365Configuration.controller','get','isAuthenticated','index','show','/:id/fields','getFields'];(function(_0x1f31d3,_0x111697){var _0x578c07=function(_0x8e02f){while(--_0x8e02f){_0x1f31d3['push'](_0x1f31d3['shift']());}};_0x578c07(++_0x111697);}(_0x907a,0x192));var _0xa907=function(_0x386d6b,_0x37e050){_0x386d6b=_0x386d6b-0x0;var _0x17190d=_0x907a[_0x386d6b];return _0x17190d;};'use strict';var multer=require(_0xa907('0x0'));var util=require(_0xa907('0x1'));var path=require('path');var timeout=require(_0xa907('0x2'));var express=require(_0xa907('0x3'));var router=express['Router']();var auth=require(_0xa907('0x4'));var interaction=require(_0xa907('0x5'));var config=require(_0xa907('0x6'));var controller=require(_0xa907('0x7'));router[_0xa907('0x8')]('/',auth[_0xa907('0x9')](),controller[_0xa907('0xa')]);router[_0xa907('0x8')]('/:id',auth[_0xa907('0x9')](),controller[_0xa907('0xb')]);router[_0xa907('0x8')](_0xa907('0xc'),auth[_0xa907('0x9')](),controller[_0xa907('0xd')]);router[_0xa907('0x8')](_0xa907('0xe'),auth['isAuthenticated'](),controller[_0xa907('0xf')]);router[_0xa907('0x8')](_0xa907('0x10'),auth['isAuthenticated'](),controller[_0xa907('0x11')]);router[_0xa907('0x12')]('/',auth[_0xa907('0x9')](),controller[_0xa907('0x13')]);router[_0xa907('0x14')](_0xa907('0x15'),auth[_0xa907('0x9')](),controller[_0xa907('0x16')]);router[_0xa907('0x17')](_0xa907('0x15'),auth['isAuthenticated'](),controller[_0xa907('0x18')]);module[_0xa907('0x19')]=router;