Built motion from commit (unavailable).|2.5.26
[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 _0xc1c9=['getSubjects','/:id/descriptions','getDescriptions','post','put','update','delete','destroy','multer','util','connect-timeout','express','Router','fs-extra','../../components/interaction/service','./intDynamics365Configuration.controller','get','/:id','isAuthenticated','show','getFields','/:id/subjects'];(function(_0x1ebd6b,_0xed39d1){var _0x224bb2=function(_0x50d480){while(--_0x50d480){_0x1ebd6b['push'](_0x1ebd6b['shift']());}};_0x224bb2(++_0xed39d1);}(_0xc1c9,0x13c));var _0x9c1c=function(_0x218756,_0x419c39){_0x218756=_0x218756-0x0;var _0x1b90ec=_0xc1c9[_0x218756];return _0x1b90ec;};'use strict';var multer=require(_0x9c1c('0x0'));var util=require(_0x9c1c('0x1'));var path=require('path');var timeout=require(_0x9c1c('0x2'));var express=require(_0x9c1c('0x3'));var router=express[_0x9c1c('0x4')]();var fs_extra=require(_0x9c1c('0x5'));var auth=require('../../components/auth/service');var interaction=require(_0x9c1c('0x6'));var config=require('../../config/environment');var controller=require(_0x9c1c('0x7'));router['get']('/',auth['isAuthenticated'](),controller['index']);router[_0x9c1c('0x8')](_0x9c1c('0x9'),auth[_0x9c1c('0xa')](),controller[_0x9c1c('0xb')]);router['get']('/:id/fields',auth[_0x9c1c('0xa')](),controller[_0x9c1c('0xc')]);router[_0x9c1c('0x8')](_0x9c1c('0xd'),auth[_0x9c1c('0xa')](),controller[_0x9c1c('0xe')]);router[_0x9c1c('0x8')](_0x9c1c('0xf'),auth[_0x9c1c('0xa')](),controller[_0x9c1c('0x10')]);router[_0x9c1c('0x11')]('/',auth[_0x9c1c('0xa')](),controller['create']);router[_0x9c1c('0x12')]('/:id',auth['isAuthenticated'](),controller[_0x9c1c('0x13')]);router[_0x9c1c('0x14')](_0x9c1c('0x9'),auth[_0x9c1c('0xa')](),controller[_0x9c1c('0x15')]);module['exports']=router;