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 _0x752a=['util','path','connect-timeout','express','../../components/auth/service','../../components/interaction/service','../../config/environment','./intZendeskField.controller','get','index','/:id','isAuthenticated','post','create','put','update','delete','destroy','exports','multer'];(function(_0x27d958,_0x29ef87){var _0x53e63e=function(_0x4130ec){while(--_0x4130ec){_0x27d958['push'](_0x27d958['shift']());}};_0x53e63e(++_0x29ef87);}(_0x752a,0x103));var _0xa752=function(_0x5be7aa,_0x5de661){_0x5be7aa=_0x5be7aa-0x0;var _0x215408=_0x752a[_0x5be7aa];return _0x215408;};'use strict';var multer=require(_0xa752('0x0'));var util=require(_0xa752('0x1'));var path=require(_0xa752('0x2'));var timeout=require(_0xa752('0x3'));var express=require(_0xa752('0x4'));var router=express['Router']();var auth=require(_0xa752('0x5'));var interaction=require(_0xa752('0x6'));var config=require(_0xa752('0x7'));var controller=require(_0xa752('0x8'));router[_0xa752('0x9')]('/',auth['isAuthenticated'](),controller[_0xa752('0xa')]);router[_0xa752('0x9')](_0xa752('0xb'),auth[_0xa752('0xc')](),controller['show']);router[_0xa752('0xd')]('/',auth[_0xa752('0xc')](),controller[_0xa752('0xe')]);router[_0xa752('0xf')]('/:id',auth[_0xa752('0xc')](),controller[_0xa752('0x10')]);router[_0xa752('0x11')](_0xa752('0xb'),auth[_0xa752('0xc')](),controller[_0xa752('0x12')]);module[_0xa752('0x13')]=router;