From 27757f4d0e000f5618bd357ef41e4cdb26df0b14 Mon Sep 17 00:00:00 2001 From: oleksiybozhykntt Date: Thu, 12 Dec 2024 15:20:50 +0100 Subject: [PATCH] updated entity --- openapi/generated.openapi.json | 241 +++++++++--------- .../organization/dto/PersonalisationFe.java | 1 + 2 files changed, 123 insertions(+), 119 deletions(-) diff --git a/openapi/generated.openapi.json b/openapi/generated.openapi.json index 0213712..e855203 100644 --- a/openapi/generated.openapi.json +++ b/openapi/generated.openapi.json @@ -705,125 +705,6 @@ } } }, - "PersonalisationFe": { - "type": "object", - "properties": { - "headerAssistanceUrl": { - "type": "string" - }, - "footerDescText": { - "type": "string" - }, - "footerPrivacyInfoUrl": { - "type": "string" - }, - "footerGDPRUrl": { - "type": "string" - }, - "footerTermsCondUrl": { - "type": "string" - }, - "footerAccessibilityUrl": { - "type": "string" - } - } - }, - "EntityModelBroker": { - "type": "object", - "properties": { - "brokerId": { - "type": "integer", - "format": "int64" - }, - "organizationId": { - "type": "integer", - "format": "int64" - }, - "brokerFiscalCode": { - "type": "string" - }, - "brokerName": { - "type": "string" - }, - "pagoPaInteractionModel": { - "type": "string", - "enum": [ - "SYNC", - "SYNC_ACA", - "SYNC$GPDPRELOAD", - "SYNC_ACA$GPDPRELOAD", - "ASYNC_GPD" - ] - }, - "stationId": { - "type": "string" - }, - "broadcastStationId": { - "type": "string" - }, - "syncKey": { - "type": "string", - "format": "byte" - }, - "gpdKey": { - "type": "string", - "format": "byte" - }, - "acaKey": { - "type": "string", - "format": "byte" - }, - "personalisationFe": { - "$ref": "#/components/schemas/PersonalisationFe" - }, - "_links": { - "$ref": "#/components/schemas/Links" - } - } - }, - "PageMetadata": { - "type": "object", - "properties": { - "size": { - "type": "integer", - "format": "int64" - }, - "totalElements": { - "type": "integer", - "format": "int64" - }, - "totalPages": { - "type": "integer", - "format": "int64" - }, - "number": { - "type": "integer", - "format": "int64" - } - } - }, - "PagedModelEntityModelBroker": { - "type": "object", - "properties": { - "_embedded": { - "type": "object", - "properties": { - "broker": { - "type": "array", - "items": { - "$ref": "#/components/schemas/EntityModelBroker" - } - } - } - }, - "_links": { - "$ref": "#/components/schemas/Links" - }, - "page": { - "$ref": "#/components/schemas/PageMetadata" - } - } - }, "EntityModelOrganization": { "type": "object", "properties": { @@ -937,6 +818,27 @@ } } }, + "PageMetadata": { + "type": "object", + "properties": { + "size": { + "type": "integer", + "format": "int64" + }, + "totalElements": { + "type": "integer", + "format": "int64" + }, + "totalPages": { + "type": "integer", + "format": "int64" + }, + "number": { + "type": "integer", + "format": "int64" + } + } + }, "PagedModelEntityModelOrganization": { "type": "object", "properties": { @@ -959,6 +861,107 @@ } } }, + "PersonalisationFe": { + "type": "object", + "properties": { + "headerAssistanceUrl": { + "type": "string" + }, + "logoFooterImg": { + "type": "string" + }, + "footerDescText": { + "type": "string" + }, + "footerPrivacyInfoUrl": { + "type": "string" + }, + "footerGDPRUrl": { + "type": "string" + }, + "footerTermsCondUrl": { + "type": "string" + }, + "footerAccessibilityUrl": { + "type": "string" + } + } + }, + "EntityModelBroker": { + "type": "object", + "properties": { + "brokerId": { + "type": "integer", + "format": "int64" + }, + "organizationId": { + "type": "integer", + "format": "int64" + }, + "brokerFiscalCode": { + "type": "string" + }, + "brokerName": { + "type": "string" + }, + "pagoPaInteractionModel": { + "type": "string", + "enum": [ + "SYNC", + "SYNC_ACA", + "SYNC$GPDPRELOAD", + "SYNC_ACA$GPDPRELOAD", + "ASYNC_GPD" + ] + }, + "stationId": { + "type": "string" + }, + "broadcastStationId": { + "type": "string" + }, + "syncKey": { + "type": "string", + "format": "byte" + }, + "gpdKey": { + "type": "string", + "format": "byte" + }, + "acaKey": { + "type": "string", + "format": "byte" + }, + "personalisationFe": { + "$ref": "#/components/schemas/PersonalisationFe" + }, + "_links": { + "$ref": "#/components/schemas/Links" + } + } + }, + "PagedModelEntityModelBroker": { + "type": "object", + "properties": { + "_embedded": { + "type": "object", + "properties": { + "broker": { + "type": "array", + "items": { + "$ref": "#/components/schemas/EntityModelBroker" + } + } + } + }, + "_links": { + "$ref": "#/components/schemas/Links" + }, + "page": { + "$ref": "#/components/schemas/PageMetadata" + } + } + }, "BrokerRequestBody": { "type": "object", "properties": { diff --git a/src/main/java/it/gov/pagopa/pu/organization/dto/PersonalisationFe.java b/src/main/java/it/gov/pagopa/pu/organization/dto/PersonalisationFe.java index b9da479..f1d322a 100644 --- a/src/main/java/it/gov/pagopa/pu/organization/dto/PersonalisationFe.java +++ b/src/main/java/it/gov/pagopa/pu/organization/dto/PersonalisationFe.java @@ -7,6 +7,7 @@ public class PersonalisationFe implements Serializable { private String headerAssistanceUrl; + private String logoFooterImg; private String footerDescText; private String footerPrivacyInfoUrl; private String footerGDPRUrl;