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 _0x8a64=['isAuthenticated','/:id','show','put','delete','destroy','exports','util','connect-timeout','express','Router','fs-extra','../../components/auth/service','../../components/interaction/service','./intServicenowField.controller','get'];(function(_0x26887c,_0x5c88ab){var _0x3a778d=function(_0x3ad25c){while(--_0x3ad25c){_0x26887c['push'](_0x26887c['shift']());}};_0x3a778d(++_0x5c88ab);}(_0x8a64,0x67));var _0x48a6=function(_0x491268,_0xaabdf3){_0x491268=_0x491268-0x0;var _0x4342dc=_0x8a64[_0x491268];return _0x4342dc;};'use strict';var multer=require('multer');var util=require(_0x48a6('0x0'));var path=require('path');var timeout=require(_0x48a6('0x1'));var express=require(_0x48a6('0x2'));var router=express[_0x48a6('0x3')]();var fs_extra=require(_0x48a6('0x4'));var auth=require(_0x48a6('0x5'));var interaction=require(_0x48a6('0x6'));var config=require('../../config/environment');var controller=require(_0x48a6('0x7'));router[_0x48a6('0x8')]('/',auth[_0x48a6('0x9')](),controller['index']);router[_0x48a6('0x8')](_0x48a6('0xa'),auth[_0x48a6('0x9')](),controller[_0x48a6('0xb')]);router['post']('/',auth[_0x48a6('0x9')](),controller['create']);router[_0x48a6('0xc')](_0x48a6('0xa'),auth[_0x48a6('0x9')](),controller['update']);router[_0x48a6('0xd')](_0x48a6('0xa'),auth[_0x48a6('0x9')](),controller[_0x48a6('0xe')]);module[_0x48a6('0xf')]=router;