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 _0xcf90=['util','connect-timeout','Router','fs-extra','../../components/auth/service','../../components/interaction/service','../../config/environment','get','isAuthenticated','/:id','/:id/configurations','getConfigurations','/:id/fields','getFields','post','create','addConfiguration','put','delete','destroy','exports','multer'];(function(_0x1dd39a,_0x1c3343){var _0x183104=function(_0xee42fc){while(--_0xee42fc){_0x1dd39a['push'](_0x1dd39a['shift']());}};_0x183104(++_0x1c3343);}(_0xcf90,0x175));var _0x0cf9=function(_0x222e45,_0x1067f5){_0x222e45=_0x222e45-0x0;var _0xa98b84=_0xcf90[_0x222e45];return _0xa98b84;};'use strict';var multer=require(_0x0cf9('0x0'));var util=require(_0x0cf9('0x1'));var path=require('path');var timeout=require(_0x0cf9('0x2'));var express=require('express');var router=express[_0x0cf9('0x3')]();var fs_extra=require(_0x0cf9('0x4'));var auth=require(_0x0cf9('0x5'));var interaction=require(_0x0cf9('0x6'));var config=require(_0x0cf9('0x7'));var controller=require('./intZendeskAccount.controller');router[_0x0cf9('0x8')]('/',auth[_0x0cf9('0x9')](),controller['index']);router[_0x0cf9('0x8')](_0x0cf9('0xa'),auth[_0x0cf9('0x9')](),controller['show']);router[_0x0cf9('0x8')](_0x0cf9('0xb'),auth[_0x0cf9('0x9')](),controller[_0x0cf9('0xc')]);router[_0x0cf9('0x8')](_0x0cf9('0xd'),auth[_0x0cf9('0x9')](),controller[_0x0cf9('0xe')]);router[_0x0cf9('0xf')]('/',auth[_0x0cf9('0x9')](),controller[_0x0cf9('0x10')]);router['post'](_0x0cf9('0xb'),auth[_0x0cf9('0x9')](),controller[_0x0cf9('0x11')]);router[_0x0cf9('0x12')]('/:id',auth[_0x0cf9('0x9')](),controller['update']);router[_0x0cf9('0x13')](_0x0cf9('0xa'),auth['isAuthenticated'](),controller[_0x0cf9('0x14')]);module[_0x0cf9('0x15')]=router;