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