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 _0xe231=['show','post','create','put','update','destroy','exports','multer','util','path','connect-timeout','express','Router','fs-extra','../../components/auth/service','../../components/interaction/service','../../config/environment','./intFreshdeskField.controller','isAuthenticated','index','get','/:id'];(function(_0x42cae2,_0x284ef8){var _0x5f256f=function(_0x41abc8){while(--_0x41abc8){_0x42cae2['push'](_0x42cae2['shift']());}};_0x5f256f(++_0x284ef8);}(_0xe231,0xcd));var _0x1e23=function(_0x2d2d37,_0x5778a6){_0x2d2d37=_0x2d2d37-0x0;var _0x55bbce=_0xe231[_0x2d2d37];return _0x55bbce;};'use strict';var multer=require(_0x1e23('0x0'));var util=require(_0x1e23('0x1'));var path=require(_0x1e23('0x2'));var timeout=require(_0x1e23('0x3'));var express=require(_0x1e23('0x4'));var router=express[_0x1e23('0x5')]();var fs_extra=require(_0x1e23('0x6'));var auth=require(_0x1e23('0x7'));var interaction=require(_0x1e23('0x8'));var config=require(_0x1e23('0x9'));var controller=require(_0x1e23('0xa'));router['get']('/',auth[_0x1e23('0xb')](),controller[_0x1e23('0xc')]);router[_0x1e23('0xd')](_0x1e23('0xe'),auth['isAuthenticated'](),controller[_0x1e23('0xf')]);router[_0x1e23('0x10')]('/',auth['isAuthenticated'](),controller[_0x1e23('0x11')]);router[_0x1e23('0x12')](_0x1e23('0xe'),auth['isAuthenticated'](),controller[_0x1e23('0x13')]);router['delete']('/:id',auth[_0x1e23('0xb')](),controller[_0x1e23('0x14')]);module[_0x1e23('0x15')]=router;