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 _0x08d6=['destroy','exports','multer','util','express','Router','fs-extra','../../components/auth/service','../../components/interaction/service','../../config/environment','isAuthenticated','index','/:id','show','post','create','put'];(function(_0x13d07a,_0x41efc3){var _0x5ee0ee=function(_0x4ca94a){while(--_0x4ca94a){_0x13d07a['push'](_0x13d07a['shift']());}};_0x5ee0ee(++_0x41efc3);}(_0x08d6,0x101));var _0x608d=function(_0x23b9e4,_0x3e4fb6){_0x23b9e4=_0x23b9e4-0x0;var _0x3e17b0=_0x08d6[_0x23b9e4];return _0x3e17b0;};'use strict';var multer=require(_0x608d('0x0'));var util=require(_0x608d('0x1'));var path=require('path');var timeout=require('connect-timeout');var express=require(_0x608d('0x2'));var router=express[_0x608d('0x3')]();var fs_extra=require(_0x608d('0x4'));var auth=require(_0x608d('0x5'));var interaction=require(_0x608d('0x6'));var config=require(_0x608d('0x7'));var controller=require('./intZendeskField.controller');router['get']('/',auth[_0x608d('0x8')](),controller[_0x608d('0x9')]);router['get'](_0x608d('0xa'),auth[_0x608d('0x8')](),controller[_0x608d('0xb')]);router[_0x608d('0xc')]('/',auth[_0x608d('0x8')](),controller[_0x608d('0xd')]);router[_0x608d('0xe')](_0x608d('0xa'),auth['isAuthenticated'](),controller['update']);router['delete'](_0x608d('0xa'),auth[_0x608d('0x8')](),controller[_0x608d('0xf')]);module[_0x608d('0x10')]=router;