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 _0x43a4=['Router','../../components/auth/service','../../components/interaction/service','./intZendeskConfiguration.controller','isAuthenticated','get','/:id','show','/:id/fields','getFields','/:id/subjects','/:id/descriptions','getDescriptions','getTags','post','create','/:id/tags','setTags','put','update','destroy','exports','multer','util','path','connect-timeout','express'];(function(_0x33b6c9,_0x13a936){var _0x2090f3=function(_0x23e392){while(--_0x23e392){_0x33b6c9['push'](_0x33b6c9['shift']());}};_0x2090f3(++_0x13a936);}(_0x43a4,0x82));var _0x443a=function(_0x364f67,_0x24b0d7){_0x364f67=_0x364f67-0x0;var _0x474f32=_0x43a4[_0x364f67];return _0x474f32;};'use strict';var multer=require(_0x443a('0x0'));var util=require(_0x443a('0x1'));var path=require(_0x443a('0x2'));var timeout=require(_0x443a('0x3'));var express=require(_0x443a('0x4'));var router=express[_0x443a('0x5')]();var auth=require(_0x443a('0x6'));var interaction=require(_0x443a('0x7'));var config=require('../../config/environment');var controller=require(_0x443a('0x8'));router['get']('/',auth[_0x443a('0x9')](),controller['index']);router[_0x443a('0xa')](_0x443a('0xb'),auth[_0x443a('0x9')](),controller[_0x443a('0xc')]);router[_0x443a('0xa')](_0x443a('0xd'),auth[_0x443a('0x9')](),controller[_0x443a('0xe')]);router[_0x443a('0xa')](_0x443a('0xf'),auth[_0x443a('0x9')](),controller['getSubjects']);router[_0x443a('0xa')](_0x443a('0x10'),auth['isAuthenticated'](),controller[_0x443a('0x11')]);router[_0x443a('0xa')]('/:id/tags',auth[_0x443a('0x9')](),controller[_0x443a('0x12')]);router[_0x443a('0x13')]('/',auth['isAuthenticated'](),controller[_0x443a('0x14')]);router['post'](_0x443a('0x15'),auth[_0x443a('0x9')](),controller[_0x443a('0x16')]);router[_0x443a('0x17')](_0x443a('0xb'),auth[_0x443a('0x9')](),controller[_0x443a('0x18')]);router['delete'](_0x443a('0xb'),auth['isAuthenticated'](),controller[_0x443a('0x19')]);module[_0x443a('0x1a')]=router;