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 _0x9acd=['create','put','/:id','update','delete','multer','util','connect-timeout','express','../../components/auth/service','../../components/interaction/service','../../config/environment','./intServicenowField.controller','isAuthenticated','index','get','show','post'];(function(_0x4bf05c,_0x6f1fb8){var _0x50bb5e=function(_0x54d2f3){while(--_0x54d2f3){_0x4bf05c['push'](_0x4bf05c['shift']());}};_0x50bb5e(++_0x6f1fb8);}(_0x9acd,0x71));var _0xd9ac=function(_0x397e5f,_0x454c8f){_0x397e5f=_0x397e5f-0x0;var _0x5302b8=_0x9acd[_0x397e5f];return _0x5302b8;};'use strict';var multer=require(_0xd9ac('0x0'));var util=require(_0xd9ac('0x1'));var path=require('path');var timeout=require(_0xd9ac('0x2'));var express=require(_0xd9ac('0x3'));var router=express['Router']();var auth=require(_0xd9ac('0x4'));var interaction=require(_0xd9ac('0x5'));var config=require(_0xd9ac('0x6'));var controller=require(_0xd9ac('0x7'));router['get']('/',auth[_0xd9ac('0x8')](),controller[_0xd9ac('0x9')]);router[_0xd9ac('0xa')]('/:id',auth['isAuthenticated'](),controller[_0xd9ac('0xb')]);router[_0xd9ac('0xc')]('/',auth[_0xd9ac('0x8')](),controller[_0xd9ac('0xd')]);router[_0xd9ac('0xe')](_0xd9ac('0xf'),auth[_0xd9ac('0x8')](),controller[_0xd9ac('0x10')]);router[_0xd9ac('0x11')](_0xd9ac('0xf'),auth[_0xd9ac('0x8')](),controller['destroy']);module['exports']=router;