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