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