1 // *************************************************************************
3 // * xCALLY Motion - The Omnichannel Contact Center *
4 // * Copyright (c) Xenialab s.r.l. All Rights Reserved *
6 // *************************************************************************
8 // * Email: info@xcally.com *
9 // * Website: https://www.xcally.com *
11 // *************************************************************************
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. *
17 // *************************************************************************
18 var _0x3e18=['isAuthenticated','index','show','/:id/configurations','getConfigurations','get','/:id/fields','getFields','create','post','addConfiguration','update','delete','/:id','destroy','multer','util','path','connect-timeout','express','Router','../../components/auth/service','../../config/environment','./intDynamics365Account.controller'];(function(_0x3b380d,_0x4bf247){var _0x54502b=function(_0x35d207){while(--_0x35d207){_0x3b380d['push'](_0x3b380d['shift']());}};_0x54502b(++_0x4bf247);}(_0x3e18,0xb7));var _0x83e1=function(_0x4f6c3d,_0x58c96a){_0x4f6c3d=_0x4f6c3d-0x0;var _0x59f5b9=_0x3e18[_0x4f6c3d];return _0x59f5b9;};'use strict';var multer=require(_0x83e1('0x0'));var util=require(_0x83e1('0x1'));var path=require(_0x83e1('0x2'));var timeout=require(_0x83e1('0x3'));var express=require(_0x83e1('0x4'));var router=express[_0x83e1('0x5')]();var auth=require(_0x83e1('0x6'));var interaction=require('../../components/interaction/service');var config=require(_0x83e1('0x7'));var controller=require(_0x83e1('0x8'));router['get']('/',auth[_0x83e1('0x9')](),controller[_0x83e1('0xa')]);router['get']('/:id',auth[_0x83e1('0x9')](),controller[_0x83e1('0xb')]);router['get'](_0x83e1('0xc'),auth['isAuthenticated'](),controller[_0x83e1('0xd')]);router[_0x83e1('0xe')](_0x83e1('0xf'),auth[_0x83e1('0x9')](),controller[_0x83e1('0x10')]);router['post']('/',auth['isAuthenticated'](),controller[_0x83e1('0x11')]);router[_0x83e1('0x12')](_0x83e1('0xc'),auth['isAuthenticated'](),controller[_0x83e1('0x13')]);router['put']('/:id',auth[_0x83e1('0x9')](),controller[_0x83e1('0x14')]);router[_0x83e1('0x15')](_0x83e1('0x16'),auth[_0x83e1('0x9')](),controller[_0x83e1('0x17')]);module['exports']=router;