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 _0x6a05=['put','delete','destroy','exports','util','connect-timeout','express','Router','../../components/auth/service','../../components/interaction/service','./intZendeskField.controller','index','get','/:id','isAuthenticated','show','post','create'];(function(_0x5ddb1c,_0x5ea4df){var _0x354adc=function(_0x2dfb1f){while(--_0x2dfb1f){_0x5ddb1c['push'](_0x5ddb1c['shift']());}};_0x354adc(++_0x5ea4df);}(_0x6a05,0x124));var _0x56a0=function(_0x2fbb8e,_0x39edeb){_0x2fbb8e=_0x2fbb8e-0x0;var _0x556d49=_0x6a05[_0x2fbb8e];return _0x556d49;};'use strict';var multer=require('multer');var util=require(_0x56a0('0x0'));var path=require('path');var timeout=require(_0x56a0('0x1'));var express=require(_0x56a0('0x2'));var router=express[_0x56a0('0x3')]();var fs_extra=require('fs-extra');var auth=require(_0x56a0('0x4'));var interaction=require(_0x56a0('0x5'));var config=require('../../config/environment');var controller=require(_0x56a0('0x6'));router['get']('/',auth['isAuthenticated'](),controller[_0x56a0('0x7')]);router[_0x56a0('0x8')](_0x56a0('0x9'),auth[_0x56a0('0xa')](),controller[_0x56a0('0xb')]);router[_0x56a0('0xc')]('/',auth[_0x56a0('0xa')](),controller[_0x56a0('0xd')]);router[_0x56a0('0xe')]('/:id',auth[_0x56a0('0xa')](),controller['update']);router[_0x56a0('0xf')](_0x56a0('0x9'),auth['isAuthenticated'](),controller[_0x56a0('0x10')]);module[_0x56a0('0x11')]=router;