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 _0x578c=['put','update','delete','destroy','exports','path','connect-timeout','express','../../components/auth/service','./intZendeskField.controller','index','get','/:id','isAuthenticated','show','post','create'];(function(_0x5da2df,_0x313e20){var _0x38a42d=function(_0x38b72b){while(--_0x38b72b){_0x5da2df['push'](_0x5da2df['shift']());}};_0x38a42d(++_0x313e20);}(_0x578c,0x17b));var _0xc578=function(_0x5e2bc4,_0x986b09){_0x5e2bc4=_0x5e2bc4-0x0;var _0x3cb031=_0x578c[_0x5e2bc4];return _0x3cb031;};'use strict';var multer=require('multer');var util=require('util');var path=require(_0xc578('0x0'));var timeout=require(_0xc578('0x1'));var express=require(_0xc578('0x2'));var router=express['Router']();var auth=require(_0xc578('0x3'));var interaction=require('../../components/interaction/service');var config=require('../../config/environment');var controller=require(_0xc578('0x4'));router['get']('/',auth['isAuthenticated'](),controller[_0xc578('0x5')]);router[_0xc578('0x6')](_0xc578('0x7'),auth[_0xc578('0x8')](),controller[_0xc578('0x9')]);router[_0xc578('0xa')]('/',auth[_0xc578('0x8')](),controller[_0xc578('0xb')]);router[_0xc578('0xc')](_0xc578('0x7'),auth[_0xc578('0x8')](),controller[_0xc578('0xd')]);router[_0xc578('0xe')]('/:id',auth[_0xc578('0x8')](),controller[_0xc578('0xf')]);module[_0xc578('0x10')]=router;