Skip to content

Commit 529c4a2

Browse files
authored
chore: synced file(s) with sumup/apis (#150)
1 parent 0d9f6eb commit 529c4a2

File tree

3 files changed

+42
-0
lines changed

3 files changed

+42
-0
lines changed

openapi.json

Lines changed: 16 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -9783,6 +9783,22 @@
97839783
"citizenship": {
97849784
"$ref": "#/components/schemas/CountryCode"
97859785
},
9786+
"nationality": {
9787+
"description": "The persons nationality. May be an [ISO3166-1 alpha-2](https://en.wikipedia.org/wiki/ISO_3166-1_alpha-2) country code, but legacy data may not conform to this standard.\n",
9788+
"type": "string",
9789+
"nullable": true,
9790+
"x-go-type": "nullable.Nullable[string]",
9791+
"x-go-type-skip-optional-pointer": true
9792+
},
9793+
"country_of_residence": {
9794+
"description": "An [ISO3166-1 alpha-2](https://en.wikipedia.org/wiki/ISO_3166-1_alpha-2) country code representing the country where the person resides.\n",
9795+
"type": "string",
9796+
"maxLength": 2,
9797+
"minLength": 2,
9798+
"nullable": true,
9799+
"x-go-type": "nullable.Nullable[string]",
9800+
"x-go-type-skip-optional-pointer": true
9801+
},
97869802
"version": {
97879803
"$ref": "#/components/schemas/Version"
97889804
},

openapi.yaml

Lines changed: 16 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -6862,6 +6862,22 @@ components:
68626862
maxItems: 5
68636863
citizenship:
68646864
$ref: '#/components/schemas/CountryCode'
6865+
nationality:
6866+
description: |
6867+
The persons nationality. May be an [ISO3166-1 alpha-2](https://en.wikipedia.org/wiki/ISO_3166-1_alpha-2) country code, but legacy data may not conform to this standard.
6868+
type: string
6869+
nullable: true
6870+
x-go-type: 'nullable.Nullable[string]'
6871+
x-go-type-skip-optional-pointer: true
6872+
country_of_residence:
6873+
description: |
6874+
An [ISO3166-1 alpha-2](https://en.wikipedia.org/wiki/ISO_3166-1_alpha-2) country code representing the country where the person resides.
6875+
type: string
6876+
maxLength: 2
6877+
minLength: 2
6878+
nullable: true
6879+
x-go-type: 'nullable.Nullable[string]'
6880+
x-go-type-skip-optional-pointer: true
68656881
version:
68666882
$ref: '#/components/schemas/Version'
68676883
change_status:

sdk/src/resources/merchants/index.ts

Lines changed: 10 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -187,6 +187,16 @@ export type BasePerson = {
187187
*/
188188
identifiers?: PersonalIdentifier[];
189189
citizenship?: CountryCode;
190+
/**
191+
* The persons nationality. May be an [ISO3166-1 alpha-2](https://en.wikipedia.org/wiki/ISO_3166-1_alpha-2) country code, but legacy data may not conform to this standard.
192+
*
193+
*/
194+
nationality?: string | null;
195+
/**
196+
* An [ISO3166-1 alpha-2](https://en.wikipedia.org/wiki/ISO_3166-1_alpha-2) country code representing the country where the person resides.
197+
*
198+
*/
199+
country_of_residence?: string | null;
190200
version?: Version;
191201
change_status?: ChangeStatus;
192202
};

0 commit comments

Comments
 (0)