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