You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Copy file name to clipboardExpand all lines: bandwidth/models/business_entity_type_enum.py
+1-1Lines changed: 1 addition & 1 deletion
Original file line number
Diff line number
Diff line change
@@ -21,7 +21,7 @@
21
21
22
22
classBusinessEntityTypeEnum(str, Enum):
23
23
"""
24
-
The type of registered business. If no option is applicable, please provide \"SOLE_PROPRIETOR\" as a value. Optional until early 2026; required if `businessRegistrationNumber` is provided. Available starting October 1st, 2025.
24
+
The type of registered business. If no option is applicable, please provide \"SOLE_PROPRIETOR\" as a value.
The country issuing the business registration in ISO-3166-1 alpha-3 format. | Registration Type | Supported Countries | |----------------------|------------------------------------| | EIN | USA | | CBN | CAN | | NEQ | CAN | | PROVINCIAL_NUMBER | CAN | | CRN | GBR, HKG | | VAT | GBR, IRL, BRA, NLD | | ACN | AUS | | ABN | AUS | | BRN | HKG | | SIREN | FRA | | SIRET | FRA | | NZBN | NZL | | UST_IDNR | DEU | | CIF | ESP | | NIF | ESP | | CNPJ | BRA | | UID | CHE | | OTHER | Must Provide Country Code |
25
+
"""
26
+
27
+
"""
28
+
allowed enum values
29
+
"""
30
+
USA='USA'
31
+
CAN='CAN'
32
+
HKG='HKG'
33
+
GBR='GBR'
34
+
IRL='IRL'
35
+
BRA='BRA'
36
+
NLD='NLD'
37
+
AUS='AUS'
38
+
FRA='FRA'
39
+
NZL='NZL'
40
+
DEU='DEU'
41
+
ESP='ESP'
42
+
CHE='CHE'
43
+
44
+
@classmethod
45
+
deffrom_json(cls, json_str: str) ->Self:
46
+
"""Create an instance of BusinessRegistrationIssuingCountryEnum from a JSON string"""
Copy file name to clipboardExpand all lines: bandwidth/models/business_registration_type_enum.py
+17-1Lines changed: 17 additions & 1 deletion
Original file line number
Diff line number
Diff line change
@@ -21,14 +21,30 @@
21
21
22
22
classBusinessRegistrationTypeEnum(str, Enum):
23
23
"""
24
-
The type of business registration number. Optional until early 2026; required if `businessRegistrationNumber` is provided. Available starting October 1st, 2025.
business_dba: Optional[StrictStr] =Field(default=None, description="The company 'Doing Business As'.", alias="businessDba")
48
-
business_registration_number: Optional[Annotated[str, Field(strict=True, max_length=500)]] =Field(default=None, description="US Federal Tax ID Number (EIN) or Canada Business Number (CBN). Optional until early 2026. If a value is provided for this field, a value must be provided for `businessRegistrationType` and `businessEntityType`. Available starting October 1st, 2025.", alias="businessRegistrationNumber")
49
+
business_registration_number: Optional[Annotated[str, Field(strict=True, max_length=500)]] =Field(default=None, description="Government-issued business identifying number.", alias="businessRegistrationNumber")
0 commit comments