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 _0xeb27=['post','create','addConfiguration','put','update','delete','destroy','exports','multer','util','path','express','Router','fs-extra','../../components/auth/service','../../components/interaction/service','../../config/environment','./intFreshdeskAccount.controller','index','/:id','show','get','/:id/configurations','/:id/fields','isAuthenticated','getFields'];(function(_0x3dd15e,_0x1f0015){var _0x231fd0=function(_0x4f680a){while(--_0x4f680a){_0x3dd15e['push'](_0x3dd15e['shift']());}};_0x231fd0(++_0x1f0015);}(_0xeb27,0x1c2));var _0x7eb2=function(_0x4f1c7b,_0x46d1fd){_0x4f1c7b=_0x4f1c7b-0x0;var _0x2ee349=_0xeb27[_0x4f1c7b];return _0x2ee349;};'use strict';var multer=require(_0x7eb2('0x0'));var util=require(_0x7eb2('0x1'));var path=require(_0x7eb2('0x2'));var timeout=require('connect-timeout');var express=require(_0x7eb2('0x3'));var router=express[_0x7eb2('0x4')]();var fs_extra=require(_0x7eb2('0x5'));var auth=require(_0x7eb2('0x6'));var interaction=require(_0x7eb2('0x7'));var config=require(_0x7eb2('0x8'));var controller=require(_0x7eb2('0x9'));router['get']('/',auth['isAuthenticated'](),controller[_0x7eb2('0xa')]);router['get'](_0x7eb2('0xb'),auth['isAuthenticated'](),controller[_0x7eb2('0xc')]);router[_0x7eb2('0xd')](_0x7eb2('0xe'),auth['isAuthenticated'](),controller['getConfigurations']);router[_0x7eb2('0xd')](_0x7eb2('0xf'),auth[_0x7eb2('0x10')](),controller[_0x7eb2('0x11')]);router[_0x7eb2('0x12')]('/',auth['isAuthenticated'](),controller[_0x7eb2('0x13')]);router[_0x7eb2('0x12')](_0x7eb2('0xe'),auth[_0x7eb2('0x10')](),controller[_0x7eb2('0x14')]);router[_0x7eb2('0x15')](_0x7eb2('0xb'),auth['isAuthenticated'](),controller[_0x7eb2('0x16')]);router[_0x7eb2('0x17')](_0x7eb2('0xb'),auth[_0x7eb2('0x10')](),controller[_0x7eb2('0x18')]);module[_0x7eb2('0x19')]=router;