Built motion from commit 85328c08.|2.5.50
[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 _0xb6c6=['delete','destroy','exports','multer','util','connect-timeout','Router','fs-extra','../../components/auth/service','../../components/interaction/service','../../config/environment','./intDynamics365Field.controller','get','isAuthenticated','/:id','post','put','update'];(function(_0x238950,_0xac79d7){var _0x505840=function(_0x3b5bbb){while(--_0x3b5bbb){_0x238950['push'](_0x238950['shift']());}};_0x505840(++_0xac79d7);}(_0xb6c6,0x1e9));var _0x6b6c=function(_0x188658,_0x12b855){_0x188658=_0x188658-0x0;var _0x3b05d3=_0xb6c6[_0x188658];return _0x3b05d3;};'use strict';var multer=require(_0x6b6c('0x0'));var util=require(_0x6b6c('0x1'));var path=require('path');var timeout=require(_0x6b6c('0x2'));var express=require('express');var router=express[_0x6b6c('0x3')]();var fs_extra=require(_0x6b6c('0x4'));var auth=require(_0x6b6c('0x5'));var interaction=require(_0x6b6c('0x6'));var config=require(_0x6b6c('0x7'));var controller=require(_0x6b6c('0x8'));router[_0x6b6c('0x9')]('/',auth[_0x6b6c('0xa')](),controller['index']);router[_0x6b6c('0x9')](_0x6b6c('0xb'),auth['isAuthenticated'](),controller['show']);router[_0x6b6c('0xc')]('/',auth[_0x6b6c('0xa')](),controller['create']);router[_0x6b6c('0xd')](_0x6b6c('0xb'),auth['isAuthenticated'](),controller[_0x6b6c('0xe')]);router[_0x6b6c('0xf')](_0x6b6c('0xb'),auth[_0x6b6c('0xa')](),controller[_0x6b6c('0x10')]);module[_0x6b6c('0x11')]=router;