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 _0x7f1c=['Router','../../components/auth/service','./intFreshdeskAccount.controller','/:id','isAuthenticated','show','/:id/configurations','getConfigurations','get','getFields','post','create','addConfiguration','put','update','delete','destroy','exports','multer','util','path','connect-timeout','express'];(function(_0x2695ab,_0x3f4b39){var _0x3eaf50=function(_0x2ada55){while(--_0x2ada55){_0x2695ab['push'](_0x2695ab['shift']());}};_0x3eaf50(++_0x3f4b39);}(_0x7f1c,0x85));var _0xc7f1=function(_0x1cd23d,_0xec4ea5){_0x1cd23d=_0x1cd23d-0x0;var _0x5e8ad5=_0x7f1c[_0x1cd23d];return _0x5e8ad5;};'use strict';var multer=require(_0xc7f1('0x0'));var util=require(_0xc7f1('0x1'));var path=require(_0xc7f1('0x2'));var timeout=require(_0xc7f1('0x3'));var express=require(_0xc7f1('0x4'));var router=express[_0xc7f1('0x5')]();var auth=require(_0xc7f1('0x6'));var interaction=require('../../components/interaction/service');var config=require('../../config/environment');var controller=require(_0xc7f1('0x7'));router['get']('/',auth['isAuthenticated'](),controller['index']);router['get'](_0xc7f1('0x8'),auth[_0xc7f1('0x9')](),controller[_0xc7f1('0xa')]);router['get'](_0xc7f1('0xb'),auth['isAuthenticated'](),controller[_0xc7f1('0xc')]);router[_0xc7f1('0xd')]('/:id/fields',auth[_0xc7f1('0x9')](),controller[_0xc7f1('0xe')]);router[_0xc7f1('0xf')]('/',auth[_0xc7f1('0x9')](),controller[_0xc7f1('0x10')]);router[_0xc7f1('0xf')](_0xc7f1('0xb'),auth[_0xc7f1('0x9')](),controller[_0xc7f1('0x11')]);router[_0xc7f1('0x12')](_0xc7f1('0x8'),auth[_0xc7f1('0x9')](),controller[_0xc7f1('0x13')]);router[_0xc7f1('0x14')](_0xc7f1('0x8'),auth[_0xc7f1('0x9')](),controller[_0xc7f1('0x15')]);module[_0xc7f1('0x16')]=router;