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 _0xb87c=['../../components/interaction/service','get','isAuthenticated','index','/:id','post','create','put','update','delete','destroy','exports','util','path','connect-timeout','express','Router'];(function(_0x1a837b,_0x7cae3a){var _0x5d0e20=function(_0x5e19c9){while(--_0x5e19c9){_0x1a837b['push'](_0x1a837b['shift']());}};_0x5d0e20(++_0x7cae3a);}(_0xb87c,0x1d7));var _0xcb87=function(_0x2e2b00,_0x2e0003){_0x2e2b00=_0x2e2b00-0x0;var _0x4ea586=_0xb87c[_0x2e2b00];return _0x4ea586;};'use strict';var multer=require('multer');var util=require(_0xcb87('0x0'));var path=require(_0xcb87('0x1'));var timeout=require(_0xcb87('0x2'));var express=require(_0xcb87('0x3'));var router=express[_0xcb87('0x4')]();var auth=require('../../components/auth/service');var interaction=require(_0xcb87('0x5'));var config=require('../../config/environment');var controller=require('./intZendeskField.controller');router[_0xcb87('0x6')]('/',auth[_0xcb87('0x7')](),controller[_0xcb87('0x8')]);router[_0xcb87('0x6')](_0xcb87('0x9'),auth[_0xcb87('0x7')](),controller['show']);router[_0xcb87('0xa')]('/',auth[_0xcb87('0x7')](),controller[_0xcb87('0xb')]);router[_0xcb87('0xc')](_0xcb87('0x9'),auth['isAuthenticated'](),controller[_0xcb87('0xd')]);router[_0xcb87('0xe')](_0xcb87('0x9'),auth[_0xcb87('0x7')](),controller[_0xcb87('0xf')]);module[_0xcb87('0x10')]=router;