3f9f657dfc19bd9a405f01e20858ad5844a1d048
[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 _0x2f61=['express','Router','fs-extra','../../components/auth/service','../../components/interaction/service','../../config/environment','./intDynamics365Configuration.controller','get','isAuthenticated','index','/:id','show','/:id/fields','getFields','/:id/subjects','getSubjects','getDescriptions','post','create','put','update','delete','destroy','exports','multer','util','connect-timeout'];(function(_0xc85fbd,_0x21d671){var _0x64f2d9=function(_0x4eb22d){while(--_0x4eb22d){_0xc85fbd['push'](_0xc85fbd['shift']());}};_0x64f2d9(++_0x21d671);}(_0x2f61,0x15c));var _0x12f6=function(_0x396737,_0x1baadb){_0x396737=_0x396737-0x0;var _0x109d41=_0x2f61[_0x396737];return _0x109d41;};'use strict';var multer=require(_0x12f6('0x0'));var util=require(_0x12f6('0x1'));var path=require('path');var timeout=require(_0x12f6('0x2'));var express=require(_0x12f6('0x3'));var router=express[_0x12f6('0x4')]();var fs_extra=require(_0x12f6('0x5'));var auth=require(_0x12f6('0x6'));var interaction=require(_0x12f6('0x7'));var config=require(_0x12f6('0x8'));var controller=require(_0x12f6('0x9'));router[_0x12f6('0xa')]('/',auth[_0x12f6('0xb')](),controller[_0x12f6('0xc')]);router[_0x12f6('0xa')](_0x12f6('0xd'),auth[_0x12f6('0xb')](),controller[_0x12f6('0xe')]);router[_0x12f6('0xa')](_0x12f6('0xf'),auth[_0x12f6('0xb')](),controller[_0x12f6('0x10')]);router['get'](_0x12f6('0x11'),auth[_0x12f6('0xb')](),controller[_0x12f6('0x12')]);router['get']('/:id/descriptions',auth[_0x12f6('0xb')](),controller[_0x12f6('0x13')]);router[_0x12f6('0x14')]('/',auth['isAuthenticated'](),controller[_0x12f6('0x15')]);router[_0x12f6('0x16')](_0x12f6('0xd'),auth[_0x12f6('0xb')](),controller[_0x12f6('0x17')]);router[_0x12f6('0x18')](_0x12f6('0xd'),auth[_0x12f6('0xb')](),controller[_0x12f6('0x19')]);module[_0x12f6('0x1a')]=router;