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 _0x3d21=['put','/:id','update','delete','destroy','exports','multer','util','connect-timeout','express','Router','../../components/interaction/service','../../config/environment','./intServicenowField.controller','isAuthenticated','index','get','show','create'];(function(_0x152fe3,_0x12b0c8){var _0xc5bb39=function(_0x1fde42){while(--_0x1fde42){_0x152fe3['push'](_0x152fe3['shift']());}};_0xc5bb39(++_0x12b0c8);}(_0x3d21,0xb1));var _0x13d2=function(_0x2f1bae,_0x4bcdbf){_0x2f1bae=_0x2f1bae-0x0;var _0x58af15=_0x3d21[_0x2f1bae];return _0x58af15;};'use strict';var multer=require(_0x13d2('0x0'));var util=require(_0x13d2('0x1'));var path=require('path');var timeout=require(_0x13d2('0x2'));var express=require(_0x13d2('0x3'));var router=express[_0x13d2('0x4')]();var auth=require('../../components/auth/service');var interaction=require(_0x13d2('0x5'));var config=require(_0x13d2('0x6'));var controller=require(_0x13d2('0x7'));router['get']('/',auth[_0x13d2('0x8')](),controller[_0x13d2('0x9')]);router[_0x13d2('0xa')]('/:id',auth[_0x13d2('0x8')](),controller[_0x13d2('0xb')]);router['post']('/',auth['isAuthenticated'](),controller[_0x13d2('0xc')]);router[_0x13d2('0xd')](_0x13d2('0xe'),auth[_0x13d2('0x8')](),controller[_0x13d2('0xf')]);router[_0x13d2('0x10')](_0x13d2('0xe'),auth[_0x13d2('0x8')](),controller[_0x13d2('0x11')]);module[_0x13d2('0x12')]=router;