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 _0xa758=['delete','destroy','exports','util','Router','../../components/auth/service','../../components/interaction/service','../../config/environment','./intZendeskField.controller','get','/:id','isAuthenticated','show','create','put','update'];(function(_0x1992f1,_0x5c61f0){var _0x413dfe=function(_0x2136e5){while(--_0x2136e5){_0x1992f1['push'](_0x1992f1['shift']());}};_0x413dfe(++_0x5c61f0);}(_0xa758,0x193));var _0x8a75=function(_0x386408,_0x584c61){_0x386408=_0x386408-0x0;var _0xedb599=_0xa758[_0x386408];return _0xedb599;};'use strict';var multer=require('multer');var util=require(_0x8a75('0x0'));var path=require('path');var timeout=require('connect-timeout');var express=require('express');var router=express[_0x8a75('0x1')]();var auth=require(_0x8a75('0x2'));var interaction=require(_0x8a75('0x3'));var config=require(_0x8a75('0x4'));var controller=require(_0x8a75('0x5'));router[_0x8a75('0x6')]('/',auth['isAuthenticated'](),controller['index']);router['get'](_0x8a75('0x7'),auth[_0x8a75('0x8')](),controller[_0x8a75('0x9')]);router['post']('/',auth['isAuthenticated'](),controller[_0x8a75('0xa')]);router[_0x8a75('0xb')](_0x8a75('0x7'),auth[_0x8a75('0x8')](),controller[_0x8a75('0xc')]);router[_0x8a75('0xd')](_0x8a75('0x7'),auth['isAuthenticated'](),controller[_0x8a75('0xe')]);module[_0x8a75('0xf')]=router;