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 _0xf8c7=['destroy','exports','multer','util','path','connect-timeout','Router','../../components/auth/service','../../components/interaction/service','../../config/environment','get','isAuthenticated','index','/:id','show','post','put','update'];(function(_0x27841e,_0x45435f){var _0x30d008=function(_0x2d2a60){while(--_0x2d2a60){_0x27841e['push'](_0x27841e['shift']());}};_0x30d008(++_0x45435f);}(_0xf8c7,0x110));var _0x7f8c=function(_0x59311c,_0x541338){_0x59311c=_0x59311c-0x0;var _0x341c5d=_0xf8c7[_0x59311c];return _0x341c5d;};'use strict';var multer=require(_0x7f8c('0x0'));var util=require(_0x7f8c('0x1'));var path=require(_0x7f8c('0x2'));var timeout=require(_0x7f8c('0x3'));var express=require('express');var router=express[_0x7f8c('0x4')]();var auth=require(_0x7f8c('0x5'));var interaction=require(_0x7f8c('0x6'));var config=require(_0x7f8c('0x7'));var controller=require('./intZendeskField.controller');router[_0x7f8c('0x8')]('/',auth[_0x7f8c('0x9')](),controller[_0x7f8c('0xa')]);router[_0x7f8c('0x8')](_0x7f8c('0xb'),auth[_0x7f8c('0x9')](),controller[_0x7f8c('0xc')]);router[_0x7f8c('0xd')]('/',auth[_0x7f8c('0x9')](),controller['create']);router[_0x7f8c('0xe')](_0x7f8c('0xb'),auth[_0x7f8c('0x9')](),controller[_0x7f8c('0xf')]);router['delete'](_0x7f8c('0xb'),auth['isAuthenticated'](),controller[_0x7f8c('0x10')]);module[_0x7f8c('0x11')]=router;