From 156729a988b7597cc05ece2ee7aa8531c1a64cd6 Mon Sep 17 00:00:00 2001 From: Alessandro Izzo Date: Wed, 12 Jun 2024 15:56:52 +0200 Subject: [PATCH 1/2] chore: Add payments section definitions --- package.json | 2 +- src/payloads/backend.ts | 12 ++++++++++++ 2 files changed, 13 insertions(+), 1 deletion(-) diff --git a/package.json b/package.json index 6f870f7c..ae689176 100644 --- a/package.json +++ b/package.json @@ -9,7 +9,7 @@ "api_cgn": "https://raw.githubusercontent.com/pagopa/io-backend/v13.39.1-RELEASE/api_cgn.yaml", "api_cgn_merchants": "https://raw.githubusercontent.com/pagopa/io-backend/v13.39.1-RELEASE/api_cgn_operator_search.yaml", "api_cgn_geo": "https://raw.githubusercontent.com/pagopa/io-backend/here_geoapi_integration/api_geo.yaml", - "content_specs": "https://raw.githubusercontent.com/pagopa/io-services-metadata/1.0.32/definitions.yml", + "content_specs": "https://raw.githubusercontent.com/pagopa/io-services-metadata/IOBP-696-create-payments-banner-of-service/definitions.yml", "api_pagopa_walletv2": "https://raw.githubusercontent.com/pagopa/io-services-metadata/1.0.30/bonus/specs/bpd/pm/walletv2.json", "api_pagopa": "https://raw.githubusercontent.com/pagopa/io-app/master/assets/paymentManager/spec.json", "pagopa_cobadge_configuration": "https://raw.githubusercontent.com/pagopa/io-services-metadata/1.0.30/pagopa/cobadge/abi_definitions.yml", diff --git a/src/payloads/backend.ts b/src/payloads/backend.ts index 63767c72..75fea924 100644 --- a/src/payloads/backend.ts +++ b/src/payloads/backend.ts @@ -232,6 +232,18 @@ export const backendStatus: BackendStatus = { "en-EN": "PayPal services won't be available from 8:30 to 10:40 PM." } }, + payments: { + is_visible: true, + level: LevelEnum.critical, + message: { + "it-IT": "Dalle 20:30 alle 22:40 non sarĂ  possibile pagare con PayPal.", + "en-EN": "PayPal services won't be available from 8:30 to 10:40 PM." + }, + web_url: { + "it-IT": "https://io.italia.it/status/#2012081628", + "en-EN": "https://io.italia.it/status/en/#2012081628" + } + }, ingress: { is_visible: false, level: LevelEnum.warning, From 234da8df44984a18cd1a633eb7d4747d8035e536 Mon Sep 17 00:00:00 2001 From: Alessandro Izzo Date: Wed, 19 Jun 2024 09:48:12 +0200 Subject: [PATCH 2/2] Update package.json --- package.json | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/package.json b/package.json index ae689176..fd21ca20 100644 --- a/package.json +++ b/package.json @@ -9,7 +9,7 @@ "api_cgn": "https://raw.githubusercontent.com/pagopa/io-backend/v13.39.1-RELEASE/api_cgn.yaml", "api_cgn_merchants": "https://raw.githubusercontent.com/pagopa/io-backend/v13.39.1-RELEASE/api_cgn_operator_search.yaml", "api_cgn_geo": "https://raw.githubusercontent.com/pagopa/io-backend/here_geoapi_integration/api_geo.yaml", - "content_specs": "https://raw.githubusercontent.com/pagopa/io-services-metadata/IOBP-696-create-payments-banner-of-service/definitions.yml", + "content_specs": "https://raw.githubusercontent.com/pagopa/io-services-metadata/1.0.33/definitions.yml", "api_pagopa_walletv2": "https://raw.githubusercontent.com/pagopa/io-services-metadata/1.0.30/bonus/specs/bpd/pm/walletv2.json", "api_pagopa": "https://raw.githubusercontent.com/pagopa/io-app/master/assets/paymentManager/spec.json", "pagopa_cobadge_configuration": "https://raw.githubusercontent.com/pagopa/io-services-metadata/1.0.30/pagopa/cobadge/abi_definitions.yml",