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