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 _0x9862=['delete','exports','multer','util','path','express','Router','../../components/interaction/service','get','/:id','isAuthenticated','show','/:id/configurations','getConfigurations','/:id/fields','getFields','post','create','put'];(function(_0x13f980,_0x1e1c56){var _0x27153c=function(_0x3953d5){while(--_0x3953d5){_0x13f980['push'](_0x13f980['shift']());}};_0x27153c(++_0x1e1c56);}(_0x9862,0xf9));var _0x2986=function(_0x5564fd,_0x5e9d92){_0x5564fd=_0x5564fd-0x0;var _0x283eab=_0x9862[_0x5564fd];return _0x283eab;};'use strict';var multer=require(_0x2986('0x0'));var util=require(_0x2986('0x1'));var path=require(_0x2986('0x2'));var timeout=require('connect-timeout');var express=require(_0x2986('0x3'));var router=express[_0x2986('0x4')]();var auth=require('../../components/auth/service');var interaction=require(_0x2986('0x5'));var config=require('../../config/environment');var controller=require('./intZendeskAccount.controller');router[_0x2986('0x6')]('/',auth['isAuthenticated'](),controller['index']);router[_0x2986('0x6')](_0x2986('0x7'),auth[_0x2986('0x8')](),controller[_0x2986('0x9')]);router[_0x2986('0x6')](_0x2986('0xa'),auth[_0x2986('0x8')](),controller[_0x2986('0xb')]);router[_0x2986('0x6')](_0x2986('0xc'),auth[_0x2986('0x8')](),controller[_0x2986('0xd')]);router[_0x2986('0xe')]('/',auth[_0x2986('0x8')](),controller[_0x2986('0xf')]);router['post'](_0x2986('0xa'),auth[_0x2986('0x8')](),controller['addConfiguration']);router[_0x2986('0x10')](_0x2986('0x7'),auth[_0x2986('0x8')](),controller['update']);router[_0x2986('0x11')](_0x2986('0x7'),auth['isAuthenticated'](),controller['destroy']);module[_0x2986('0x12')]=router;