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