Built motion from commit 10af8726.|2.6.34
[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 _0x609a=['fs-extra','../../components/auth/service','../../components/interaction/service','get','isAuthenticated','index','/:id','show','getFields','/:id/subjects','getSubjects','/:id/descriptions','getDescriptions','post','create','put','update','delete','destroy','exports','multer','util','connect-timeout','express'];(function(_0x14a1b4,_0x2c72b0){var _0x3cb209=function(_0xa1076a){while(--_0xa1076a){_0x14a1b4['push'](_0x14a1b4['shift']());}};_0x3cb209(++_0x2c72b0);}(_0x609a,0x11c));var _0xa609=function(_0x502c7d,_0x2f1285){_0x502c7d=_0x502c7d-0x0;var _0x30b7ed=_0x609a[_0x502c7d];return _0x30b7ed;};'use strict';var multer=require(_0xa609('0x0'));var util=require(_0xa609('0x1'));var path=require('path');var timeout=require(_0xa609('0x2'));var express=require(_0xa609('0x3'));var router=express['Router']();var fs_extra=require(_0xa609('0x4'));var auth=require(_0xa609('0x5'));var interaction=require(_0xa609('0x6'));var config=require('../../config/environment');var controller=require('./intDynamics365Configuration.controller');router[_0xa609('0x7')]('/',auth[_0xa609('0x8')](),controller[_0xa609('0x9')]);router[_0xa609('0x7')](_0xa609('0xa'),auth[_0xa609('0x8')](),controller[_0xa609('0xb')]);router[_0xa609('0x7')]('/:id/fields',auth[_0xa609('0x8')](),controller[_0xa609('0xc')]);router[_0xa609('0x7')](_0xa609('0xd'),auth[_0xa609('0x8')](),controller[_0xa609('0xe')]);router[_0xa609('0x7')](_0xa609('0xf'),auth[_0xa609('0x8')](),controller[_0xa609('0x10')]);router[_0xa609('0x11')]('/',auth[_0xa609('0x8')](),controller[_0xa609('0x12')]);router[_0xa609('0x13')](_0xa609('0xa'),auth[_0xa609('0x8')](),controller[_0xa609('0x14')]);router[_0xa609('0x15')]('/:id',auth[_0xa609('0x8')](),controller[_0xa609('0x16')]);module[_0xa609('0x17')]=router;