Skip to content

Commit

Permalink
Merge pull request #75 from placetopay-org/acs-doc
Browse files Browse the repository at this point in the history
Acs doc
  • Loading branch information
meiyerDev committed Jul 31, 2024
2 parents 5c21b87 + b26acdf commit f0612f4
Show file tree
Hide file tree
Showing 87 changed files with 5,535 additions and 132 deletions.
8 changes: 0 additions & 8 deletions src/assets/apis/token-requestor/en.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -935,7 +935,6 @@ paths:
schema:
type: object
example:
service: mastercard
merchant:
id: 2e988305-40bb-4e77-a992-c0dce3303db9
name: name Merchant
Expand All @@ -955,13 +954,6 @@ paths:
surname: Doe
email: jhon@doe.com
properties:
service:
type: string
description: 'Service name'
enum:
- visa
- mastercard
example: mastercard
merchant:
type: object
description: 'Merchant information'
Expand Down
8 changes: 0 additions & 8 deletions src/assets/apis/token-requestor/es.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -932,7 +932,6 @@ paths:
schema:
type: object
example:
service: mastercard
merchant:
id: 2e988305-40bb-4e77-a992-c0dce3303db9
name: name Merchant
Expand All @@ -952,13 +951,6 @@ paths:
surname: Doe
email: jhon@doe.com
properties:
service:
type: string
description: 'Nombre del Servicio'
enum:
- visa
- mastercard
example: mastercard
merchant:
type: object
description: 'Información del comercio'
Expand Down
16 changes: 14 additions & 2 deletions src/components/SelectMenu.jsx
Original file line number Diff line number Diff line change
Expand Up @@ -27,6 +27,12 @@ const LINKS = {
href: '/three-d-s-server',
icon: Activity,
},
{
title: 'ACS',
description: 'Pagos más seguros',
href: '/acs',
icon: Activity,
},
{
title: 'Token Requestor',
description: 'Servicio de tokenización publica',
Expand All @@ -50,13 +56,19 @@ const LINKS = {
{
title: '3DS Server',
description: 'Safer payments.',
href: 'en/three-d-s-server',
href: '/en/three-d-s-server',
icon: Activity,
},
{
title: 'ACS',
description: 'Safer payments.',
href: '/en/acs',
icon: Activity,
},
{
title: 'Token Requestor',
description: 'Public tokenization service',
href: '/token-requestor',
href: '/en/token-requestor',
icon: SecurityCard,
},
],
Expand Down
112 changes: 107 additions & 5 deletions src/constants/navigations.js
Original file line number Diff line number Diff line change
Expand Up @@ -396,7 +396,7 @@ export const TAB_NAVIGATION = {
{
title: 'API',
identifier: 'three-d-s-server/api',
href: '/three-d-s-server/api',
href: 'three-d-s-server/api',
icon: DocumentCode,
links: [
{
Expand Down Expand Up @@ -436,7 +436,7 @@ export const TAB_NAVIGATION = {
{
title: "Documentation",
identifier: "three-d-s-server",
href: "/three-d-s-server",
href: "/en/three-d-s-server",
icon: "Book",
links: [
{
Expand Down Expand Up @@ -489,7 +489,7 @@ export const TAB_NAVIGATION = {
{
title: "API",
identifier: "three-d-s-server/api",
href: "/three-d-s-server/api/",
href: "/en/three-d-s-server/api/",
icon: DocumentCode,
links: [
{
Expand Down Expand Up @@ -575,7 +575,7 @@ export const TAB_NAVIGATION = {
{
title: 'Documentación',
identifier: 'token-requestor',
href: '/token-requestor',
href: '/en/token-requestor',
icon: Book,
links: [
{
Expand All @@ -599,7 +599,7 @@ export const TAB_NAVIGATION = {
{
title: 'API',
identifier: 'token-requestor/api',
href: '/token-requestor/api',
href: '/en/token-requestor/api',
icon: DocumentCode,
links: [
{
Expand Down Expand Up @@ -655,4 +655,106 @@ export const TAB_NAVIGATION = {
},
],
},
acs: {
[LANGUAGES_CODES.ES]: [
{
title: 'Documentación',
identifier: 'acs',
href: '/acs',
icon: Book,
links: [
{
title: 'ACS',
links: [
{ title: 'Introducción', href: '/acs' },
{ title: '¿Qué es el Protocolo 3-D Secure?', href: '/acs/3-d-s-secure-protocol' },
{ title: '¿Cómo configurar ACS?', href: '/acs/a-c-s-general-configuration' },
{ title: 'Gestión de cuenta', href: '/acs/account' },
{ title: 'Motor de Control de Fraude', href: '/acs/antifraud' },
{ title: 'Estados del proceso de autenticación', href: '/acs/authentication-status' },
{ title: 'Autenticaciones', href: '/acs/authentications' },
{ title: 'Suscripción por marcas', href: '/acs/brands-subscriptions' },
{ title: 'Rangos de tarjetas', href: '/acs/card-ranges' },
{ title: 'Certificados', href: '/acs/certificates-configurations' },
{ title: 'Configuraciones', href: '/acs/configuration-fields' },
{ title: 'Países en ACS', href: '/acs/countries-configurations' },
{ title: 'Monedas utilizadas en ACS', href: '/acs/currencies-configurations' },
{ title: 'Autenticaciones Desacopladas', href: '/acs/decoupled-authentications' },
{ title: 'Disputas', href: '/acs/disputes' },
{ title: 'Códigos de error', href: '/acs/error-codes' },
{ title: 'Preguntas frecuentes sobre el funcionamiento ACS', href: '/acs/f-a-q' },
{ title: 'Campos de configuración', href: '/acs/fields-configurations' },
{ title: 'Marcas en ACS', href: '/acs/franchise-creation' },
{ title: 'Códigos HTTP en el proceso de autenticación', href: '/acs/http-codes' },
{ title: 'Importes', href: '/acs/imports-configurations' },
{ title: 'Invitaciones de usuarios', href: '/acs/invitations' },
{ title: 'Emisores en ACS', href: '/acs/issuer-configuration' },
{ title: 'Servicios del emisor', href: '/acs/issuer-services' },
{ title: 'Gestión de idioma', href: '/acs/language-configurations' },
{ title: 'Logs de Seguridad', href: '/acs/logs' },
{ title: 'Códigos de categoría del comercio', href: '/acs/merchant-codes-configurations' },
{ title: 'Métricas', href: '/acs/metrics' },
{ title: 'Perfiles', href: '/acs/profiles' },
{ title: 'Reportes', href: '/acs/reports' },
{ title: 'Roles', href: '/acs/roles' },
{ title: 'Alertas del servicio', href: '/acs/service-alerts' },
{ title: 'Términos y Definiciones', href: '/acs/terms-and-definitions' },
{ title: 'Tarjetas de Prueba', href: '/acs/test-cards' },
{ title: 'Usuarios', href: '/acs/users' },
],
},
],
},
],
[LANGUAGES_CODES.EN]: [
{
title: "Documentation",
identifier: "acs",
href: "/en/acs",
icon: "Book",
links: [
{
"title": "ACS",
"links": [
{ title: "Introduction", "href": "/acs" },
{ title: "What is the 3-D Secure Protocol?", "href": "/acs/3-d-s-secure-protocol" },
{ title: "How to configure ACS?", "href": "/acs/a-c-s-general-configuration" },
{ title: "Account Management", "href": "/acs/account" },
{ title: "Fraud Control Engine", "href": "/acs/antifraud" },
{ title: "Authentication Process Status", "href": "/acs/authentication-status" },
{ title: "Authentications", "href": "/acs/authentications" },
{ title: "Brand Subscriptions", "href": "/acs/brands-subscriptions" },
{ title: "Card Ranges", "href": "/acs/card-ranges" },
{ title: "Certificates", "href": "/acs/certificates-configurations" },
{ title: "Configurations", "href": "/acs/configuration-fields" },
{ title: "Countries in ACS", "href": "/acs/countries-configurations" },
{ title: "Currencies Used in ACS", "href": "/acs/currencies-configurations" },
{ title: "Decoupled Authentications", "href": "/acs/decoupled-authentications" },
{ title: "Disputes", "href": "/acs/disputes" },
{ title: "Error Codes", "href": "/acs/error-codes" },
{ title: "FAQs about ACS Functionality", "href": "/acs/f-a-q" },
{ title: "Configuration Fields", "href": "/acs/fields-configurations" },
{ title: "Brands in ACS", "href": "/acs/franchise-creation" },
{ title: "HTTP Codes in the Authentication Process", "href": "/acs/http-codes" },
{ title: "Amounts", "href": "/acs/imports-configurations" },
{ title: "User Invitations", "href": "/acs/invitations" },
{ title: "Issuers in ACS", "href": "/acs/issuer-configuration" },
{ title: "Issuer Services", "href": "/acs/issuer-services" },
{ title: "Language Management", "href": "/acs/language-configurations" },
{ title: "Security Logs", "href": "/acs/logs" },
{ title: "Merchant Category Codes", "href": "/acs/merchant-codes-configurations" },
{ title: "Metrics", "href": "/acs/metrics" },
{ title: "Profiles", "href": "/acs/profiles" },
{ title: "Reports", "href": "/acs/reports" },
{ title: "Roles", "href": "/acs/roles" },
{ title: "Service Alerts", "href": "/acs/service-alerts" },
{ title: "Terms and Definitions", "href": "/acs/terms-and-definitions" },
{ title: "Test Cards", "href": "/acs/test-cards" },
{ title: "Users", "href": "/acs/users" }
]
}
]
},
]
},
}
4 changes: 4 additions & 0 deletions src/hooks/useNavigation.jsx
Original file line number Diff line number Diff line change
Expand Up @@ -12,6 +12,8 @@ export const useNamespaceRoute = () => {
return 'checkout';
case 'three-d-s-server':
return 'three-d-s-server';
case 'acs':
return 'acs';
case 'sdks':
return 'sdks';
case 'token-requestor':
Expand All @@ -31,6 +33,8 @@ export const useNavigation = (namespaces) => {
return TAB_NAVIGATION.gateway[locale].find((item) => item.identifier === tabRouter.active)?.links ?? [];
case 'three-d-s-server':
return TAB_NAVIGATION['three-d-s-server'][locale].find((item) => item.identifier === tabRouter.active)?.links ?? [];
case 'acs':
return TAB_NAVIGATION.acs[locale].find((item) => item.identifier === tabRouter.active)?.links ?? [];
case 'sdks':
return TAB_NAVIGATION.sdks[locale].find((item) => item.identifier === tabRouter.active)?.links ?? [];
case 'token-requestor':
Expand Down
Loading

0 comments on commit f0612f4

Please sign in to comment.