Skip to content

Commit ebb720f

Browse files
author
stlc-bot
committed
feat(identity): return alpha-2 country code from IdentityProfile GraphQL
Stainless-Generated-From: 3b42b46
1 parent 0d68cf1 commit ebb720f

8 files changed

Lines changed: 32 additions & 8 deletions

‎src/whop_sdk/types/identity_profile_approved_webhook_event.py‎

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -135,9 +135,9 @@ class Data(BaseModel):
135135
"""
136136

137137
country: Optional[str] = None
138-
"""ISO 3166-1 alpha-3 country code (e.g.
138+
"""ISO 3166-1 alpha-2 country code (e.g.
139139
140-
`USA`, `GBR`). For individuals this is the country of citizenship or residence
140+
`US`, `GB`). For individuals this is the country of citizenship or residence
141141
reported by the identity provider; for businesses this is the country of
142142
incorporation.
143143
"""

‎src/whop_sdk/types/identity_profile_needs_action_webhook_event.py‎

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -135,9 +135,9 @@ class Data(BaseModel):
135135
"""
136136

137137
country: Optional[str] = None
138-
"""ISO 3166-1 alpha-3 country code (e.g.
138+
"""ISO 3166-1 alpha-2 country code (e.g.
139139
140-
`USA`, `GBR`). For individuals this is the country of citizenship or residence
140+
`US`, `GB`). For individuals this is the country of citizenship or residence
141141
reported by the identity provider; for businesses this is the country of
142142
incorporation.
143143
"""

‎src/whop_sdk/types/identity_profile_rejected_webhook_event.py‎

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -135,9 +135,9 @@ class Data(BaseModel):
135135
"""
136136

137137
country: Optional[str] = None
138-
"""ISO 3166-1 alpha-3 country code (e.g.
138+
"""ISO 3166-1 alpha-2 country code (e.g.
139139
140-
`USA`, `GBR`). For individuals this is the country of citizenship or residence
140+
`US`, `GB`). For individuals this is the country of citizenship or residence
141141
reported by the identity provider; for businesses this is the country of
142142
incorporation.
143143
"""

‎src/whop_sdk/types/identity_profile_updated_webhook_event.py‎

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -135,9 +135,9 @@ class Data(BaseModel):
135135
"""
136136

137137
country: Optional[str] = None
138-
"""ISO 3166-1 alpha-3 country code (e.g.
138+
"""ISO 3166-1 alpha-2 country code (e.g.
139139
140-
`USA`, `GBR`). For individuals this is the country of citizenship or residence
140+
`US`, `GB`). For individuals this is the country of citizenship or residence
141141
reported by the identity provider; for businesses this is the country of
142142
incorporation.
143143
"""

‎src/whop_sdk/types/verification_create_response.py‎

Lines changed: 6 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -47,6 +47,12 @@ class VerificationCreateResponse(BaseModel):
4747
business_structure: Optional[str] = None
4848

4949
country: Optional[str] = None
50+
"""ISO 3166-1 alpha-2 country code (e.g.
51+
52+
`US`, `GB`). For individuals this is the country of citizenship or residence
53+
reported by the identity provider; for businesses this is the country of
54+
incorporation.
55+
"""
5056

5157
created_at: Optional[str] = None
5258

‎src/whop_sdk/types/verification_list_response.py‎

Lines changed: 6 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -47,6 +47,12 @@ class Data(BaseModel):
4747
business_structure: Optional[str] = None
4848

4949
country: Optional[str] = None
50+
"""ISO 3166-1 alpha-2 country code (e.g.
51+
52+
`US`, `GB`). For individuals this is the country of citizenship or residence
53+
reported by the identity provider; for businesses this is the country of
54+
incorporation.
55+
"""
5056

5157
created_at: Optional[str] = None
5258

‎src/whop_sdk/types/verification_retrieve_response.py‎

Lines changed: 6 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -47,6 +47,12 @@ class VerificationRetrieveResponse(BaseModel):
4747
business_structure: Optional[str] = None
4848

4949
country: Optional[str] = None
50+
"""ISO 3166-1 alpha-2 country code (e.g.
51+
52+
`US`, `GB`). For individuals this is the country of citizenship or residence
53+
reported by the identity provider; for businesses this is the country of
54+
incorporation.
55+
"""
5056

5157
created_at: Optional[str] = None
5258

‎src/whop_sdk/types/verification_update_response.py‎

Lines changed: 6 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -47,6 +47,12 @@ class VerificationUpdateResponse(BaseModel):
4747
business_structure: Optional[str] = None
4848

4949
country: Optional[str] = None
50+
"""ISO 3166-1 alpha-2 country code (e.g.
51+
52+
`US`, `GB`). For individuals this is the country of citizenship or residence
53+
reported by the identity provider; for businesses this is the country of
54+
incorporation.
55+
"""
5056

5157
created_at: Optional[str] = None
5258

0 commit comments

Comments
 (0)