d0a44bbfa145eb43900d4e81cce6e212d083b619
[motion2.git] / server / api / intDynamics365Field / 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 _0xa699=['/:id','show','post','create','put','update','exports','multer','util','path','connect-timeout','express','Router','../../components/auth/service','../../components/interaction/service','../../config/environment','./intDynamics365Field.controller','get','isAuthenticated','index'];(function(_0x5b1055,_0xe4c0d2){var _0xe3c0bc=function(_0x87b097){while(--_0x87b097){_0x5b1055['push'](_0x5b1055['shift']());}};_0xe3c0bc(++_0xe4c0d2);}(_0xa699,0x6b));var _0x9a69=function(_0x5af97c,_0x24a49f){_0x5af97c=_0x5af97c-0x0;var _0x3472ae=_0xa699[_0x5af97c];return _0x3472ae;};'use strict';var multer=require(_0x9a69('0x0'));var util=require(_0x9a69('0x1'));var path=require(_0x9a69('0x2'));var timeout=require(_0x9a69('0x3'));var express=require(_0x9a69('0x4'));var router=express[_0x9a69('0x5')]();var auth=require(_0x9a69('0x6'));var interaction=require(_0x9a69('0x7'));var config=require(_0x9a69('0x8'));var controller=require(_0x9a69('0x9'));router[_0x9a69('0xa')]('/',auth[_0x9a69('0xb')](),controller[_0x9a69('0xc')]);router['get'](_0x9a69('0xd'),auth[_0x9a69('0xb')](),controller[_0x9a69('0xe')]);router[_0x9a69('0xf')]('/',auth['isAuthenticated'](),controller[_0x9a69('0x10')]);router[_0x9a69('0x11')](_0x9a69('0xd'),auth[_0x9a69('0xb')](),controller[_0x9a69('0x12')]);router['delete']('/:id',auth[_0x9a69('0xb')](),controller['destroy']);module[_0x9a69('0x13')]=router;