Built motion from commit (unavailable).|2.5.8
[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 _0x1b3e=['put','update','delete','destroy','exports','path','connect-timeout','express','Router','../../components/auth/service','../../components/interaction/service','./intDynamics365Configuration.controller','get','index','/:id','isAuthenticated','show','/:id/fields','getFields','getSubjects','/:id/descriptions','getDescriptions','post'];(function(_0x55414b,_0xe03b7b){var _0x1e332c=function(_0x51c229){while(--_0x51c229){_0x55414b['push'](_0x55414b['shift']());}};_0x1e332c(++_0xe03b7b);}(_0x1b3e,0x175));var _0xe1b3=function(_0x4fcaf2,_0xb8a422){_0x4fcaf2=_0x4fcaf2-0x0;var _0xf4f221=_0x1b3e[_0x4fcaf2];return _0xf4f221;};'use strict';var multer=require('multer');var util=require('util');var path=require(_0xe1b3('0x0'));var timeout=require(_0xe1b3('0x1'));var express=require(_0xe1b3('0x2'));var router=express[_0xe1b3('0x3')]();var auth=require(_0xe1b3('0x4'));var interaction=require(_0xe1b3('0x5'));var config=require('../../config/environment');var controller=require(_0xe1b3('0x6'));router[_0xe1b3('0x7')]('/',auth['isAuthenticated'](),controller[_0xe1b3('0x8')]);router[_0xe1b3('0x7')](_0xe1b3('0x9'),auth[_0xe1b3('0xa')](),controller[_0xe1b3('0xb')]);router[_0xe1b3('0x7')](_0xe1b3('0xc'),auth[_0xe1b3('0xa')](),controller[_0xe1b3('0xd')]);router[_0xe1b3('0x7')]('/:id/subjects',auth[_0xe1b3('0xa')](),controller[_0xe1b3('0xe')]);router[_0xe1b3('0x7')](_0xe1b3('0xf'),auth[_0xe1b3('0xa')](),controller[_0xe1b3('0x10')]);router[_0xe1b3('0x11')]('/',auth[_0xe1b3('0xa')](),controller['create']);router[_0xe1b3('0x12')](_0xe1b3('0x9'),auth['isAuthenticated'](),controller[_0xe1b3('0x13')]);router[_0xe1b3('0x14')]('/:id',auth[_0xe1b3('0xa')](),controller[_0xe1b3('0x15')]);module[_0xe1b3('0x16')]=router;