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