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 _0x930c=['isAuthenticated','show','post','create','put','update','destroy','exports','multer','util','path','express','Router','fs-extra','../../components/interaction/service','../../config/environment','./intServicenowField.controller','get','index','/:id'];(function(_0x3dd15e,_0x1f0015){var _0x231fd0=function(_0x4f680a){while(--_0x4f680a){_0x3dd15e['push'](_0x3dd15e['shift']());}};_0x231fd0(++_0x1f0015);}(_0x930c,0x1ac));var _0xc930=function(_0x4dafa5,_0x31ab97){_0x4dafa5=_0x4dafa5-0x0;var _0x4ad399=_0x930c[_0x4dafa5];return _0x4ad399;};'use strict';var multer=require(_0xc930('0x0'));var util=require(_0xc930('0x1'));var path=require(_0xc930('0x2'));var timeout=require('connect-timeout');var express=require(_0xc930('0x3'));var router=express[_0xc930('0x4')]();var fs_extra=require(_0xc930('0x5'));var auth=require('../../components/auth/service');var interaction=require(_0xc930('0x6'));var config=require(_0xc930('0x7'));var controller=require(_0xc930('0x8'));router[_0xc930('0x9')]('/',auth['isAuthenticated'](),controller[_0xc930('0xa')]);router[_0xc930('0x9')](_0xc930('0xb'),auth[_0xc930('0xc')](),controller[_0xc930('0xd')]);router[_0xc930('0xe')]('/',auth[_0xc930('0xc')](),controller[_0xc930('0xf')]);router[_0xc930('0x10')](_0xc930('0xb'),auth[_0xc930('0xc')](),controller[_0xc930('0x11')]);router['delete'](_0xc930('0xb'),auth[_0xc930('0xc')](),controller[_0xc930('0x12')]);module[_0xc930('0x13')]=router;