Built motion from commit (unavailable).|2.5.5
[motion2.git] / server / api / intDynamics365Account / 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 _0xf941=['multer','util','path','connect-timeout','express','Router','../../components/auth/service','../../components/interaction/service','../../config/environment','get','isAuthenticated','index','/:id','show','/:id/configurations','getConfigurations','/:id/fields','getFields','post','create','addConfiguration','put','update','delete','destroy','exports'];(function(_0x131b32,_0x2af9a1){var _0x4fa5e3=function(_0x6f02cb){while(--_0x6f02cb){_0x131b32['push'](_0x131b32['shift']());}};_0x4fa5e3(++_0x2af9a1);}(_0xf941,0x104));var _0x1f94=function(_0x1ac595,_0x5d2081){_0x1ac595=_0x1ac595-0x0;var _0x455fff=_0xf941[_0x1ac595];return _0x455fff;};'use strict';var multer=require(_0x1f94('0x0'));var util=require(_0x1f94('0x1'));var path=require(_0x1f94('0x2'));var timeout=require(_0x1f94('0x3'));var express=require(_0x1f94('0x4'));var router=express[_0x1f94('0x5')]();var auth=require(_0x1f94('0x6'));var interaction=require(_0x1f94('0x7'));var config=require(_0x1f94('0x8'));var controller=require('./intDynamics365Account.controller');router[_0x1f94('0x9')]('/',auth[_0x1f94('0xa')](),controller[_0x1f94('0xb')]);router[_0x1f94('0x9')](_0x1f94('0xc'),auth[_0x1f94('0xa')](),controller[_0x1f94('0xd')]);router['get'](_0x1f94('0xe'),auth['isAuthenticated'](),controller[_0x1f94('0xf')]);router[_0x1f94('0x9')](_0x1f94('0x10'),auth[_0x1f94('0xa')](),controller[_0x1f94('0x11')]);router[_0x1f94('0x12')]('/',auth[_0x1f94('0xa')](),controller[_0x1f94('0x13')]);router[_0x1f94('0x12')]('/:id/configurations',auth[_0x1f94('0xa')](),controller[_0x1f94('0x14')]);router[_0x1f94('0x15')]('/:id',auth[_0x1f94('0xa')](),controller[_0x1f94('0x16')]);router[_0x1f94('0x17')](_0x1f94('0xc'),auth[_0x1f94('0xa')](),controller[_0x1f94('0x18')]);module[_0x1f94('0x19')]=router;