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 _0x49ce=['../../components/auth/service','../../components/interaction/service','get','/:id','isAuthenticated','show','create','put','update','delete','destroy','exports','multer','util','path','connect-timeout','Router','fs-extra'];(function(_0x54f8b6,_0x5e675f){var _0x2ff157=function(_0x37828b){while(--_0x37828b){_0x54f8b6['push'](_0x54f8b6['shift']());}};_0x2ff157(++_0x5e675f);}(_0x49ce,0xe4));var _0xe49c=function(_0x597834,_0x159bb6){_0x597834=_0x597834-0x0;var _0x12da6c=_0x49ce[_0x597834];return _0x12da6c;};'use strict';var multer=require(_0xe49c('0x0'));var util=require(_0xe49c('0x1'));var path=require(_0xe49c('0x2'));var timeout=require(_0xe49c('0x3'));var express=require('express');var router=express[_0xe49c('0x4')]();var fs_extra=require(_0xe49c('0x5'));var auth=require(_0xe49c('0x6'));var interaction=require(_0xe49c('0x7'));var config=require('../../config/environment');var controller=require('./intZendeskField.controller');router[_0xe49c('0x8')]('/',auth['isAuthenticated'](),controller['index']);router[_0xe49c('0x8')](_0xe49c('0x9'),auth[_0xe49c('0xa')](),controller[_0xe49c('0xb')]);router['post']('/',auth[_0xe49c('0xa')](),controller[_0xe49c('0xc')]);router[_0xe49c('0xd')](_0xe49c('0x9'),auth['isAuthenticated'](),controller[_0xe49c('0xe')]);router[_0xe49c('0xf')]('/:id',auth['isAuthenticated'](),controller[_0xe49c('0x10')]);module[_0xe49c('0x11')]=router;