From 49afe6c58faf42fbe590577bcc60643c38a17253 Mon Sep 17 00:00:00 2001 From: appscisumup Date: Thu, 18 Jun 2026 12:13:05 +0000 Subject: [PATCH 1/2] chore: synced local 'openapi.json' with remote 'specs/openapi.json' --- openapi.json | 32 ++++++++++++++++---------------- 1 file changed, 16 insertions(+), 16 deletions(-) diff --git a/openapi.json b/openapi.json index 4ff3692..d3d186b 100755 --- a/openapi.json +++ b/openapi.json @@ -8181,7 +8181,7 @@ "description": "The postal code (aka. zip code) of the address.\n", "type": "string", "example": "10999", - "maxLength": 32 + "maxLength": 10 }, "country": { "$ref": "#/components/schemas/CountryCode" @@ -8190,85 +8190,85 @@ "description": "The city of the address.\n", "type": "string", "example": "Berlin", - "maxLength": 512 + "maxLength": 60 }, "province": { "description": "The province where the address is located. This may not be relevant in some countries.\n", "type": "string", "example": "Berlin", - "maxLength": 512 + "maxLength": 60 }, "region": { "description": "The region where the address is located. This may not be relevant in some countries.\n", "type": "string", "example": "Baden Wuerttemberg", - "maxLength": 512 + "maxLength": 60 }, "county": { "description": "A county is a geographic region of a country used for administrative or other purposes in some nations. Used in countries such as Ireland, Romania, etc.\n", "type": "string", "example": "Dublin County", - "maxLength": 512 + "maxLength": 60 }, "autonomous_community": { "description": "In Spain, an autonomous community is the first sub-national level of political and administrative division.\n", "type": "string", "example": "Catalonia", - "maxLength": 512 + "maxLength": 60 }, "post_town": { "description": "A post town is a required part of all postal addresses in the United Kingdom and Ireland, and a basic unit of the postal delivery system.\n", "type": "string", "example": "London", - "maxLength": 512 + "maxLength": 60 }, "state": { "description": "Most often, a country has a single state, with various administrative divisions. The term \"state\" is sometimes used to refer to the federated polities that make up the federation. Used in countries such as the United States and Brazil.\n", "type": "string", "example": "California", - "maxLength": 512 + "maxLength": 60 }, "neighborhood": { "description": "Locality level of the address. Used in countries such as Brazil or Chile.\n", "type": "string", "example": "Copacabana", - "maxLength": 512 + "maxLength": 60 }, "commune": { "description": "In many countries, terms cognate with \"commune\" are used, referring to the community living in the area and the common interest. Used in countries such as Chile.\n", "type": "string", "example": "Providencia", - "maxLength": 512 + "maxLength": 60 }, "department": { "description": "A department (French: département, Spanish: departamento) is an administrative or political division in several countries. Used in countries such as Colombia.\n", "type": "string", "example": "Antioquia", - "maxLength": 512 + "maxLength": 60 }, "municipality": { "description": "A municipality is usually a single administrative division having corporate status and powers of self-government or jurisdiction as granted by national and regional laws to which it is subordinate. Used in countries such as Colombia.\n", "type": "string", "example": "Medellín", - "maxLength": 512 + "maxLength": 60 }, "district": { "description": "A district is a type of administrative division that in some countries is managed by the local government. Used in countries such as Portugal.\n", "type": "string", "example": "Lisbon District", - "maxLength": 512 + "maxLength": 60 }, "zip_code": { "description": "A US system of postal codes used by the United States Postal Service (USPS).\n", "type": "string", "example": "94103", - "maxLength": 512 + "maxLength": 10 }, "eircode": { "description": "A postal address in Ireland.\n", "type": "string", "example": "D02 X285", - "maxLength": 512 + "maxLength": 10 } }, "example": { @@ -8282,7 +8282,7 @@ }, "externalDocs": { "description": "Address documentation", - "url": "https://backstage.sumup.net/docs/default/Component/merchants/merchant/#addresses" + "url": "https://developer.sumup.com/tools/glossary/address" }, "required": [ "country" From df6d09d07a6854472398089b50fa8b9711049b0b Mon Sep 17 00:00:00 2001 From: "sumup-bot[bot]" <241716704+sumup-bot[bot]@users.noreply.github.com> Date: Thu, 18 Jun 2026 12:13:30 +0000 Subject: [PATCH 2/2] chore: generate code --- sdk/src/types/address.ts | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/sdk/src/types/address.ts b/sdk/src/types/address.ts index 2928487..5da2104 100644 --- a/sdk/src/types/address.ts +++ b/sdk/src/types/address.ts @@ -6,7 +6,7 @@ import type { CountryCode } from "./country-code"; * An address somewhere in the world. The address fields used depend on the country conventions. For example, in Great Britain, `city` is `post_town`. In the United States, the top-level administrative unit used in addresses is `state`, whereas in Chile it's `region`. * Whether an address is valid or not depends on whether the locally required fields are present. Fields not supported in a country will be ignored. * - * Address documentation: https://backstage.sumup.net/docs/default/Component/merchants/merchant/#addresses + * Address documentation: https://developer.sumup.com/tools/glossary/address */ export type Address = { street_address?: string[];