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