Built motion from commit (unavailable).|2.4.18
[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 _0x0c5d=['multer','util','connect-timeout','Router','../../components/auth/service','../../components/interaction/service','../../config/environment','./intDynamics365Field.controller','get','isAuthenticated','index','/:id','post','put','update','delete','destroy','exports'];(function(_0x2c91e9,_0x2fb965){var _0x13f0ff=function(_0xb39edf){while(--_0xb39edf){_0x2c91e9['push'](_0x2c91e9['shift']());}};_0x13f0ff(++_0x2fb965);}(_0x0c5d,0x6c));var _0xd0c5=function(_0x1b5cad,_0x4560e3){_0x1b5cad=_0x1b5cad-0x0;var _0x2e782b=_0x0c5d[_0x1b5cad];return _0x2e782b;};'use strict';var multer=require(_0xd0c5('0x0'));var util=require(_0xd0c5('0x1'));var path=require('path');var timeout=require(_0xd0c5('0x2'));var express=require('express');var router=express[_0xd0c5('0x3')]();var auth=require(_0xd0c5('0x4'));var interaction=require(_0xd0c5('0x5'));var config=require(_0xd0c5('0x6'));var controller=require(_0xd0c5('0x7'));router[_0xd0c5('0x8')]('/',auth[_0xd0c5('0x9')](),controller[_0xd0c5('0xa')]);router['get'](_0xd0c5('0xb'),auth['isAuthenticated'](),controller['show']);router[_0xd0c5('0xc')]('/',auth['isAuthenticated'](),controller['create']);router[_0xd0c5('0xd')](_0xd0c5('0xb'),auth['isAuthenticated'](),controller[_0xd0c5('0xe')]);router[_0xd0c5('0xf')]('/:id',auth[_0xd0c5('0x9')](),controller[_0xd0c5('0x10')]);module[_0xd0c5('0x11')]=router;