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 _0x5d47=['util','path','connect-timeout','fs-extra','../../components/auth/service','../../config/environment','get','/:id','isAuthenticated','post','create','put','delete','destroy','multer'];(function(_0x32b30c,_0x2d5ec8){var _0xcfc212=function(_0x42e668){while(--_0x42e668){_0x32b30c['push'](_0x32b30c['shift']());}};_0xcfc212(++_0x2d5ec8);}(_0x5d47,0x10d));var _0x75d4=function(_0x40c6fe,_0x4232c9){_0x40c6fe=_0x40c6fe-0x0;var _0x19e556=_0x5d47[_0x40c6fe];return _0x19e556;};'use strict';var multer=require(_0x75d4('0x0'));var util=require(_0x75d4('0x1'));var path=require(_0x75d4('0x2'));var timeout=require(_0x75d4('0x3'));var express=require('express');var router=express['Router']();var fs_extra=require(_0x75d4('0x4'));var auth=require(_0x75d4('0x5'));var interaction=require('../../components/interaction/service');var config=require(_0x75d4('0x6'));var controller=require('./intZendeskField.controller');router['get']('/',auth['isAuthenticated'](),controller['index']);router[_0x75d4('0x7')](_0x75d4('0x8'),auth[_0x75d4('0x9')](),controller['show']);router[_0x75d4('0xa')]('/',auth[_0x75d4('0x9')](),controller[_0x75d4('0xb')]);router[_0x75d4('0xc')]('/:id',auth[_0x75d4('0x9')](),controller['update']);router[_0x75d4('0xd')](_0x75d4('0x8'),auth[_0x75d4('0x9')](),controller[_0x75d4('0xe')]);module['exports']=router;