Built motion from commit db94841.|2.5.3
[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 _0x1cf7=['exports','multer','util','path','connect-timeout','express','Router','../../components/auth/service','../../components/interaction/service','../../config/environment','./intDynamics365Configuration.controller','get','isAuthenticated','index','/:id/fields','getFields','/:id/subjects','getSubjects','/:id/descriptions','getDescriptions','post','create','/:id','update','delete','destroy'];(function(_0x2dd7d6,_0x54eb41){var _0x1fd228=function(_0x5ad989){while(--_0x5ad989){_0x2dd7d6['push'](_0x2dd7d6['shift']());}};_0x1fd228(++_0x54eb41);}(_0x1cf7,0x187));var _0x71cf=function(_0x40cbc2,_0x398002){_0x40cbc2=_0x40cbc2-0x0;var _0x1fbe22=_0x1cf7[_0x40cbc2];return _0x1fbe22;};'use strict';var multer=require(_0x71cf('0x0'));var util=require(_0x71cf('0x1'));var path=require(_0x71cf('0x2'));var timeout=require(_0x71cf('0x3'));var express=require(_0x71cf('0x4'));var router=express[_0x71cf('0x5')]();var auth=require(_0x71cf('0x6'));var interaction=require(_0x71cf('0x7'));var config=require(_0x71cf('0x8'));var controller=require(_0x71cf('0x9'));router[_0x71cf('0xa')]('/',auth[_0x71cf('0xb')](),controller[_0x71cf('0xc')]);router[_0x71cf('0xa')]('/:id',auth['isAuthenticated'](),controller['show']);router[_0x71cf('0xa')](_0x71cf('0xd'),auth[_0x71cf('0xb')](),controller[_0x71cf('0xe')]);router[_0x71cf('0xa')](_0x71cf('0xf'),auth[_0x71cf('0xb')](),controller[_0x71cf('0x10')]);router[_0x71cf('0xa')](_0x71cf('0x11'),auth[_0x71cf('0xb')](),controller[_0x71cf('0x12')]);router[_0x71cf('0x13')]('/',auth[_0x71cf('0xb')](),controller[_0x71cf('0x14')]);router['put'](_0x71cf('0x15'),auth[_0x71cf('0xb')](),controller[_0x71cf('0x16')]);router[_0x71cf('0x17')](_0x71cf('0x15'),auth[_0x71cf('0xb')](),controller[_0x71cf('0x18')]);module[_0x71cf('0x19')]=router;