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 _0x8be6=['put','update','delete','destroy','util','path','Router','../../components/interaction/service','./intServicenowField.controller','get','isAuthenticated','index','/:id','show','post','create'];(function(_0x14add3,_0x13ce8d){var _0x4a174f=function(_0x2b3ed7){while(--_0x2b3ed7){_0x14add3['push'](_0x14add3['shift']());}};_0x4a174f(++_0x13ce8d);}(_0x8be6,0x134));var _0x68be=function(_0x53fa30,_0x5e6fe7){_0x53fa30=_0x53fa30-0x0;var _0x34771a=_0x8be6[_0x53fa30];return _0x34771a;};'use strict';var multer=require('multer');var util=require(_0x68be('0x0'));var path=require(_0x68be('0x1'));var timeout=require('connect-timeout');var express=require('express');var router=express[_0x68be('0x2')]();var auth=require('../../components/auth/service');var interaction=require(_0x68be('0x3'));var config=require('../../config/environment');var controller=require(_0x68be('0x4'));router[_0x68be('0x5')]('/',auth[_0x68be('0x6')](),controller[_0x68be('0x7')]);router['get'](_0x68be('0x8'),auth[_0x68be('0x6')](),controller[_0x68be('0x9')]);router[_0x68be('0xa')]('/',auth[_0x68be('0x6')](),controller[_0x68be('0xb')]);router[_0x68be('0xc')](_0x68be('0x8'),auth[_0x68be('0x6')](),controller[_0x68be('0xd')]);router[_0x68be('0xe')](_0x68be('0x8'),auth[_0x68be('0x6')](),controller[_0x68be('0xf')]);module['exports']=router;