9b61fb82778c53128779892a25abb17e0df974a7
[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 _0x3c81=['destroy','exports','multer','util','connect-timeout','express','./intDynamics365Field.controller','get','isAuthenticated','index','/:id','post','create','put','update','delete'];(function(_0x140ee1,_0x1426c4){var _0x2c659f=function(_0x55c111){while(--_0x55c111){_0x140ee1['push'](_0x140ee1['shift']());}};_0x2c659f(++_0x1426c4);}(_0x3c81,0x102));var _0x13c8=function(_0x2dc1e3,_0x402802){_0x2dc1e3=_0x2dc1e3-0x0;var _0xbdfa85=_0x3c81[_0x2dc1e3];return _0xbdfa85;};'use strict';var multer=require(_0x13c8('0x0'));var util=require(_0x13c8('0x1'));var path=require('path');var timeout=require(_0x13c8('0x2'));var express=require(_0x13c8('0x3'));var router=express['Router']();var auth=require('../../components/auth/service');var interaction=require('../../components/interaction/service');var config=require('../../config/environment');var controller=require(_0x13c8('0x4'));router[_0x13c8('0x5')]('/',auth[_0x13c8('0x6')](),controller[_0x13c8('0x7')]);router[_0x13c8('0x5')](_0x13c8('0x8'),auth[_0x13c8('0x6')](),controller['show']);router[_0x13c8('0x9')]('/',auth['isAuthenticated'](),controller[_0x13c8('0xa')]);router[_0x13c8('0xb')](_0x13c8('0x8'),auth[_0x13c8('0x6')](),controller[_0x13c8('0xc')]);router[_0x13c8('0xd')](_0x13c8('0x8'),auth[_0x13c8('0x6')](),controller[_0x13c8('0xe')]);module[_0x13c8('0xf')]=router;