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 _0xc988=['../../config/environment','get','isAuthenticated','show','post','put','/:id','delete','destroy','exports','multer','path','connect-timeout','fs-extra','../../components/auth/service','../../components/interaction/service'];(function(_0x5749d0,_0x4b3590){var _0x2cea6d=function(_0x21ae0a){while(--_0x21ae0a){_0x5749d0['push'](_0x5749d0['shift']());}};_0x2cea6d(++_0x4b3590);}(_0xc988,0x12a));var _0x8c98=function(_0x45d3f0,_0x4be53f){_0x45d3f0=_0x45d3f0-0x0;var _0x314b79=_0xc988[_0x45d3f0];return _0x314b79;};'use strict';var multer=require(_0x8c98('0x0'));var util=require('util');var path=require(_0x8c98('0x1'));var timeout=require(_0x8c98('0x2'));var express=require('express');var router=express['Router']();var fs_extra=require(_0x8c98('0x3'));var auth=require(_0x8c98('0x4'));var interaction=require(_0x8c98('0x5'));var config=require(_0x8c98('0x6'));var controller=require('./intZendeskField.controller');router[_0x8c98('0x7')]('/',auth[_0x8c98('0x8')](),controller['index']);router['get']('/:id',auth['isAuthenticated'](),controller[_0x8c98('0x9')]);router[_0x8c98('0xa')]('/',auth[_0x8c98('0x8')](),controller['create']);router[_0x8c98('0xb')](_0x8c98('0xc'),auth['isAuthenticated'](),controller['update']);router[_0x8c98('0xd')](_0x8c98('0xc'),auth['isAuthenticated'](),controller[_0x8c98('0xe')]);module[_0x8c98('0xf')]=router;