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