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