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 _0x290f=['show','update','delete','destroy','exports','multer','util','path','../../components/auth/service','../../config/environment','./intServicenowField.controller','get','isAuthenticated','index','/:id'];(function(_0x33b75b,_0x326c1a){var _0x45f55e=function(_0x5dc497){while(--_0x5dc497){_0x33b75b['push'](_0x33b75b['shift']());}};_0x45f55e(++_0x326c1a);}(_0x290f,0xd7));var _0xf290=function(_0x3dd15e,_0x1f0015){_0x3dd15e=_0x3dd15e-0x0;var _0x231fd0=_0x290f[_0x3dd15e];return _0x231fd0;};'use strict';var multer=require(_0xf290('0x0'));var util=require(_0xf290('0x1'));var path=require(_0xf290('0x2'));var timeout=require('connect-timeout');var express=require('express');var router=express['Router']();var auth=require(_0xf290('0x3'));var interaction=require('../../components/interaction/service');var config=require(_0xf290('0x4'));var controller=require(_0xf290('0x5'));router[_0xf290('0x6')]('/',auth[_0xf290('0x7')](),controller[_0xf290('0x8')]);router[_0xf290('0x6')](_0xf290('0x9'),auth['isAuthenticated'](),controller[_0xf290('0xa')]);router['post']('/',auth[_0xf290('0x7')](),controller['create']);router['put'](_0xf290('0x9'),auth[_0xf290('0x7')](),controller[_0xf290('0xb')]);router[_0xf290('0xc')](_0xf290('0x9'),auth['isAuthenticated'](),controller[_0xf290('0xd')]);module[_0xf290('0xe')]=router;