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 _0x8820=['update','delete','destroy','multer','path','connect-timeout','express','Router','../../components/auth/service','../../components/interaction/service','./intZendeskField.controller','isAuthenticated','index','get','/:id','show','post','create','put'];(function(_0x2ac6e1,_0x2e58a0){var _0xf93881=function(_0x29d607){while(--_0x29d607){_0x2ac6e1['push'](_0x2ac6e1['shift']());}};_0xf93881(++_0x2e58a0);}(_0x8820,0x16c));var _0x0882=function(_0x2ee6f6,_0x36c49b){_0x2ee6f6=_0x2ee6f6-0x0;var _0x29beec=_0x8820[_0x2ee6f6];return _0x29beec;};'use strict';var multer=require(_0x0882('0x0'));var util=require('util');var path=require(_0x0882('0x1'));var timeout=require(_0x0882('0x2'));var express=require(_0x0882('0x3'));var router=express[_0x0882('0x4')]();var auth=require(_0x0882('0x5'));var interaction=require(_0x0882('0x6'));var config=require('../../config/environment');var controller=require(_0x0882('0x7'));router['get']('/',auth[_0x0882('0x8')](),controller[_0x0882('0x9')]);router[_0x0882('0xa')](_0x0882('0xb'),auth['isAuthenticated'](),controller[_0x0882('0xc')]);router[_0x0882('0xd')]('/',auth[_0x0882('0x8')](),controller[_0x0882('0xe')]);router[_0x0882('0xf')](_0x0882('0xb'),auth[_0x0882('0x8')](),controller[_0x0882('0x10')]);router[_0x0882('0x11')](_0x0882('0xb'),auth[_0x0882('0x8')](),controller[_0x0882('0x12')]);module['exports']=router;