From ea0d9f12bbd0590ad52cb31e2cc06fd2f4fc8840 Mon Sep 17 00:00:00 2001 From: DX-Bandwidth Date: Wed, 18 Mar 2026 20:08:43 +0000 Subject: [PATCH 1/2] Generate SDK with OpenAPI Generator Version --- bandwidth.yml | 59 ++++++++++++++++--- bandwidth/models/business_entity_type_enum.py | 2 +- ...iness_registration_issuing_country_enum.py | 6 +- .../models/business_registration_type_enum.py | 2 +- bandwidth/models/callback.py | 1 + .../latest_message_delivery_status_enum.py | 3 +- bandwidth/models/tfv_submission_info.py | 10 ++-- bandwidth/models/verification_request.py | 10 ++-- .../models/verification_update_request.py | 10 ++-- docs/BusinessEntityTypeEnum.md | 2 +- .../BusinessRegistrationIssuingCountryEnum.md | 10 +++- docs/BusinessRegistrationTypeEnum.md | 2 +- docs/LatestMessageDeliveryStatusEnum.md | 4 +- docs/TfvSubmissionInfo.md | 2 +- docs/VerificationRequest.md | 2 +- docs/VerificationUpdateRequest.md | 2 +- 16 files changed, 94 insertions(+), 33 deletions(-) diff --git a/bandwidth.yml b/bandwidth.yml index 4948dd1d..bfa971f6 100644 --- a/bandwidth.yml +++ b/bandwidth.yml @@ -1956,8 +1956,10 @@ components: type: string contentLength: type: integer + example: 1024 mediaName: type: string + example: image.png segmentCount: type: integer description: >- @@ -2744,6 +2746,7 @@ components: discriminator: propertyName: type mapping: + message-sending: '#/components/schemas/statusCallback' message-sent: '#/components/schemas/statusCallback' message-delivered: '#/components/schemas/statusCallback' message-failed: '#/components/schemas/statusCallback' @@ -5510,10 +5513,14 @@ components: - UNKNOWN: Bandwidth cannot find an delivery status entry for the number. + + - NOT_ENABLED: The phone number is not enabled for messaging, so there + is no delivery status information. enum: - ACTIVE - DEACTIVATED - UNKNOWN + - NOT_ENABLED lineTypeEnum: type: string enum: @@ -5816,25 +5823,36 @@ components: type: string privacyPolicyUrl: description: The Toll-Free Verification request privacy policy URL. + maxLength: 500 example: http://your-company.com/privacyPolicy type: string termsAndConditionsUrl: description: The Toll-Free Verification request terms and conditions policy URL. + maxLength: 500 example: http://your-company.com/termsAndConditions type: string businessDba: description: The company 'Doing Business As'. + maxLength: 500 example: Another Company Name Inc. type: string businessRegistrationNumber: type: string - description: Government-issued business identifying number. + description: > + Government-issued business identifying number. + + + **Note:** If this field is provided, it is strongly recommended to also + provide `businessRegistrationType` and + `businessRegistrationIssuingCountry`. Submissions missing these fields + have a high likelihood of rejection. nullable: true maxLength: 500 example: 12-3456789 businessRegistrationTypeEnum: type: string - description: The type of business registration number. + description: | + The type of business registration number. enum: - EIN - CBN @@ -5854,12 +5872,22 @@ components: - CNPJ - UID - OTHER + example: EIN nullable: true businessRegistrationIssuingCountryEnum: type: string description: >- The country issuing the business registration in ISO-3166-1 alpha-3 - format. + format. Alpha-2 country codes are acceptable, but the application will + convert them to alpha-3 when received, so alpha-3 is encouraged. + + + **Note:** If this field is omitted but `businessRegistrationType` is + provided, the application will attempt to infer the country based on the + registration type. However, if the application cannot confidently infer + the country, the submission may be rejected. To ensure the highest + likelihood of acceptance, it is recommended to provide both + `businessRegistrationType` and `businessRegistrationIssuingCountry`. | Registration Type | Supported Countries | @@ -5915,18 +5943,23 @@ components: - DEU - ESP - CHE + - CYP + - IND + - CHN + - BGR + example: USA nullable: false businessEntityTypeEnum: type: string - description: >- - The type of registered business. If no option is applicable, please - provide "SOLE_PROPRIETOR" as a value. + description: | + The type of registered business. enum: - SOLE_PROPRIETOR - PRIVATE_PROFIT - PUBLIC_PROFIT - NON_PROFIT - GOVERNMENT + example: PRIVATE_PROFIT nullable: false helpMessageResponse: type: string @@ -6576,10 +6609,14 @@ components: $ref: '#/components/schemas/businessDba' businessRegistrationNumber: $ref: '#/components/schemas/businessRegistrationNumber' + description: Government-issued business identifying number. businessRegistrationType: $ref: '#/components/schemas/businessRegistrationTypeEnum' businessRegistrationIssuingCountry: $ref: '#/components/schemas/businessRegistrationIssuingCountryEnum' + description: >- + The country issuing the business registration in ISO-3166-1 alpha-3 + format. businessEntityType: $ref: '#/components/schemas/businessEntityTypeEnum' tfvStatusEnum: @@ -8117,7 +8154,7 @@ components: latestMessageDeliveryStatusDate: '2025-05-18' - phoneNumber: '+10072904498' countryCodeA3: USA - lineType: FIXED + lineType: MOBILE voiceProvider: VERIZON latestMessageDeliveryStatus: DEACTIVATED initialMessageDeliveryStatusDate: '2025-09-05' @@ -8131,6 +8168,14 @@ components: deactivationDate: '2025-09-29 01:23:00' deactivationEvent: DEACTIVATED latestMessageDeliveryStatus: UNKNOWN + - phoneNumber: '+10072904500' + lineType: FIXED + countryCodeA3: USA + voiceProvider: VERIZON + deactivationReporter: Verizon Wireless + deactivationDate: '2025-09-29 01:23:00' + deactivationEvent: DEACTIVATED + latestMessageDeliveryStatus: NOT_ENABLED errors: [] badRequestExample: summary: Example Bad Request Error diff --git a/bandwidth/models/business_entity_type_enum.py b/bandwidth/models/business_entity_type_enum.py index 6b17ac2d..30b0fc38 100644 --- a/bandwidth/models/business_entity_type_enum.py +++ b/bandwidth/models/business_entity_type_enum.py @@ -21,7 +21,7 @@ class BusinessEntityTypeEnum(str, Enum): """ - The type of registered business. If no option is applicable, please provide \"SOLE_PROPRIETOR\" as a value. + The type of registered business. """ """ diff --git a/bandwidth/models/business_registration_issuing_country_enum.py b/bandwidth/models/business_registration_issuing_country_enum.py index 2c40769e..d1a2338f 100644 --- a/bandwidth/models/business_registration_issuing_country_enum.py +++ b/bandwidth/models/business_registration_issuing_country_enum.py @@ -21,7 +21,7 @@ class BusinessRegistrationIssuingCountryEnum(str, Enum): """ - 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 | + The country issuing the business registration in ISO-3166-1 alpha-3 format. Alpha-2 country codes are acceptable, but the application will convert them to alpha-3 when received, so alpha-3 is encouraged. **Note:** If this field is omitted but `businessRegistrationType` is provided, the application will attempt to infer the country based on the registration type. However, if the application cannot confidently infer the country, the submission may be rejected. To ensure the highest likelihood of acceptance, it is recommended to provide both `businessRegistrationType` and `businessRegistrationIssuingCountry`. | 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 | """ """ @@ -40,6 +40,10 @@ class BusinessRegistrationIssuingCountryEnum(str, Enum): DEU = 'DEU' ESP = 'ESP' CHE = 'CHE' + CYP = 'CYP' + IND = 'IND' + CHN = 'CHN' + BGR = 'BGR' @classmethod def from_json(cls, json_str: str) -> Self: diff --git a/bandwidth/models/business_registration_type_enum.py b/bandwidth/models/business_registration_type_enum.py index 1c78e389..79e4c26f 100644 --- a/bandwidth/models/business_registration_type_enum.py +++ b/bandwidth/models/business_registration_type_enum.py @@ -21,7 +21,7 @@ class BusinessRegistrationTypeEnum(str, Enum): """ - The type of business registration number. + The type of business registration number. """ """ diff --git a/bandwidth/models/callback.py b/bandwidth/models/callback.py index 8b30ce41..4fc0e9ec 100644 --- a/bandwidth/models/callback.py +++ b/bandwidth/models/callback.py @@ -51,6 +51,7 @@ class Callback(BaseModel): 'message-failed': 'StatusCallback', 'message-read': 'StatusCallback', 'message-received': 'InboundCallback', + 'message-sending': 'StatusCallback', 'message-sent': 'StatusCallback', 'request-location-response': 'InboundCallback', 'suggestion-response': 'InboundCallback' diff --git a/bandwidth/models/latest_message_delivery_status_enum.py b/bandwidth/models/latest_message_delivery_status_enum.py index a4eb61ec..28dbb3da 100644 --- a/bandwidth/models/latest_message_delivery_status_enum.py +++ b/bandwidth/models/latest_message_delivery_status_enum.py @@ -21,7 +21,7 @@ class LatestMessageDeliveryStatusEnum(str, Enum): """ - [DNI-Only](#section/DNI-Only). The current delivery status of the phone number. - ACTIVE: A message was successfully sent to the number (delivery code 0). - DEACTIVATED: A message was not delivered to a number (delivery code 720) - UNKNOWN: Bandwidth cannot find an delivery status entry for the number. + [DNI-Only](#section/DNI-Only). The current delivery status of the phone number. - ACTIVE: A message was successfully sent to the number (delivery code 0). - DEACTIVATED: A message was not delivered to a number (delivery code 720) - UNKNOWN: Bandwidth cannot find an delivery status entry for the number. - NOT_ENABLED: The phone number is not enabled for messaging, so there is no delivery status information. """ """ @@ -30,6 +30,7 @@ class LatestMessageDeliveryStatusEnum(str, Enum): ACTIVE = 'ACTIVE' DEACTIVATED = 'DEACTIVATED' UNKNOWN = 'UNKNOWN' + NOT_ENABLED = 'NOT_ENABLED' @classmethod def from_json(cls, json_str: str) -> Self: diff --git a/bandwidth/models/tfv_submission_info.py b/bandwidth/models/tfv_submission_info.py index f1118c32..59bee9b7 100644 --- a/bandwidth/models/tfv_submission_info.py +++ b/bandwidth/models/tfv_submission_info.py @@ -18,7 +18,7 @@ import re # noqa: F401 import json -from pydantic import BaseModel, ConfigDict, Field, StrictStr +from pydantic import BaseModel, ConfigDict, Field from typing import Any, ClassVar, Dict, List, Optional from typing_extensions import Annotated from bandwidth.models.address import Address @@ -43,10 +43,10 @@ class TfvSubmissionInfo(BaseModel): opt_in_workflow: Optional[OptInWorkflow] = Field(default=None, alias="optInWorkflow") additional_information: Optional[Annotated[str, Field(min_length=0, strict=True, max_length=500)]] = Field(default=None, description="Any additional information.", alias="additionalInformation") isv_reseller: Optional[Annotated[str, Field(min_length=0, strict=True, max_length=500)]] = Field(default=None, description="ISV name.", alias="isvReseller") - privacy_policy_url: Optional[StrictStr] = Field(default=None, description="The Toll-Free Verification request privacy policy URL.", alias="privacyPolicyUrl") - terms_and_conditions_url: Optional[StrictStr] = Field(default=None, description="The Toll-Free Verification request terms and conditions policy URL.", alias="termsAndConditionsUrl") - business_dba: Optional[StrictStr] = Field(default=None, description="The company 'Doing Business As'.", alias="businessDba") - business_registration_number: Optional[Annotated[str, Field(strict=True, max_length=500)]] = Field(default=None, description="Government-issued business identifying number.", alias="businessRegistrationNumber") + privacy_policy_url: Optional[Annotated[str, Field(strict=True, max_length=500)]] = Field(default=None, description="The Toll-Free Verification request privacy policy URL.", alias="privacyPolicyUrl") + terms_and_conditions_url: Optional[Annotated[str, Field(strict=True, max_length=500)]] = Field(default=None, description="The Toll-Free Verification request terms and conditions policy URL.", alias="termsAndConditionsUrl") + business_dba: Optional[Annotated[str, Field(strict=True, max_length=500)]] = Field(default=None, description="The company 'Doing Business As'.", alias="businessDba") + business_registration_number: Optional[Annotated[str, Field(strict=True, max_length=500)]] = Field(default=None, description="Government-issued business identifying number. **Note:** If this field is provided, it is strongly recommended to also provide `businessRegistrationType` and `businessRegistrationIssuingCountry`. Submissions missing these fields have a high likelihood of rejection. ", alias="businessRegistrationNumber") business_registration_type: Optional[BusinessRegistrationTypeEnum] = Field(default=None, alias="businessRegistrationType") business_registration_issuing_country: Optional[BusinessRegistrationIssuingCountryEnum] = Field(default=None, alias="businessRegistrationIssuingCountry") business_entity_type: Optional[BusinessEntityTypeEnum] = Field(default=None, alias="businessEntityType") diff --git a/bandwidth/models/verification_request.py b/bandwidth/models/verification_request.py index a3fa4234..53f3e17f 100644 --- a/bandwidth/models/verification_request.py +++ b/bandwidth/models/verification_request.py @@ -18,7 +18,7 @@ import re # noqa: F401 import json -from pydantic import BaseModel, ConfigDict, Field, StrictBool, StrictStr, field_validator +from pydantic import BaseModel, ConfigDict, Field, StrictBool, field_validator from typing import Any, ClassVar, Dict, List, Optional from typing_extensions import Annotated from bandwidth.models.address import Address @@ -44,10 +44,10 @@ class VerificationRequest(BaseModel): opt_in_workflow: OptInWorkflow = Field(alias="optInWorkflow") additional_information: Optional[Annotated[str, Field(min_length=0, strict=True, max_length=500)]] = Field(default=None, description="Any additional information.", alias="additionalInformation") isv_reseller: Optional[Annotated[str, Field(min_length=0, strict=True, max_length=500)]] = Field(default=None, description="ISV name.", alias="isvReseller") - privacy_policy_url: Optional[StrictStr] = Field(default=None, description="The Toll-Free Verification request privacy policy URL.", alias="privacyPolicyUrl") - terms_and_conditions_url: Optional[StrictStr] = Field(default=None, description="The Toll-Free Verification request terms and conditions policy URL.", alias="termsAndConditionsUrl") - business_dba: Optional[StrictStr] = Field(default=None, description="The company 'Doing Business As'.", alias="businessDba") - business_registration_number: Optional[Annotated[str, Field(strict=True, max_length=500)]] = Field(default=None, description="Government-issued business identifying number.", alias="businessRegistrationNumber") + privacy_policy_url: Optional[Annotated[str, Field(strict=True, max_length=500)]] = Field(default=None, description="The Toll-Free Verification request privacy policy URL.", alias="privacyPolicyUrl") + terms_and_conditions_url: Optional[Annotated[str, Field(strict=True, max_length=500)]] = Field(default=None, description="The Toll-Free Verification request terms and conditions policy URL.", alias="termsAndConditionsUrl") + business_dba: Optional[Annotated[str, Field(strict=True, max_length=500)]] = Field(default=None, description="The company 'Doing Business As'.", alias="businessDba") + business_registration_number: Optional[Annotated[str, Field(strict=True, max_length=500)]] = Field(default=None, description="Government-issued business identifying number. **Note:** If this field is provided, it is strongly recommended to also provide `businessRegistrationType` and `businessRegistrationIssuingCountry`. Submissions missing these fields have a high likelihood of rejection. ", alias="businessRegistrationNumber") business_registration_type: Optional[BusinessRegistrationTypeEnum] = Field(default=None, alias="businessRegistrationType") business_registration_issuing_country: Optional[BusinessRegistrationIssuingCountryEnum] = Field(default=None, alias="businessRegistrationIssuingCountry") business_entity_type: BusinessEntityTypeEnum = Field(alias="businessEntityType") diff --git a/bandwidth/models/verification_update_request.py b/bandwidth/models/verification_update_request.py index 1dce7948..18f2bd7a 100644 --- a/bandwidth/models/verification_update_request.py +++ b/bandwidth/models/verification_update_request.py @@ -18,7 +18,7 @@ import re # noqa: F401 import json -from pydantic import BaseModel, ConfigDict, Field, StrictBool, StrictStr +from pydantic import BaseModel, ConfigDict, Field, StrictBool from typing import Any, ClassVar, Dict, List, Optional from typing_extensions import Annotated from bandwidth.models.address import Address @@ -43,10 +43,10 @@ class VerificationUpdateRequest(BaseModel): opt_in_workflow: OptInWorkflow = Field(alias="optInWorkflow") additional_information: Optional[Annotated[str, Field(min_length=0, strict=True, max_length=500)]] = Field(default=None, description="Any additional information.", alias="additionalInformation") isv_reseller: Optional[Annotated[str, Field(min_length=0, strict=True, max_length=500)]] = Field(default=None, description="ISV name.", alias="isvReseller") - privacy_policy_url: Optional[StrictStr] = Field(default=None, description="The Toll-Free Verification request privacy policy URL.", alias="privacyPolicyUrl") - terms_and_conditions_url: Optional[StrictStr] = Field(default=None, description="The Toll-Free Verification request terms and conditions policy URL.", alias="termsAndConditionsUrl") - business_dba: Optional[StrictStr] = Field(default=None, description="The company 'Doing Business As'.", alias="businessDba") - business_registration_number: Optional[Annotated[str, Field(strict=True, max_length=500)]] = Field(default=None, description="Government-issued business identifying number.", alias="businessRegistrationNumber") + privacy_policy_url: Optional[Annotated[str, Field(strict=True, max_length=500)]] = Field(default=None, description="The Toll-Free Verification request privacy policy URL.", alias="privacyPolicyUrl") + terms_and_conditions_url: Optional[Annotated[str, Field(strict=True, max_length=500)]] = Field(default=None, description="The Toll-Free Verification request terms and conditions policy URL.", alias="termsAndConditionsUrl") + business_dba: Optional[Annotated[str, Field(strict=True, max_length=500)]] = Field(default=None, description="The company 'Doing Business As'.", alias="businessDba") + business_registration_number: Optional[Annotated[str, Field(strict=True, max_length=500)]] = Field(default=None, description="Government-issued business identifying number. **Note:** If this field is provided, it is strongly recommended to also provide `businessRegistrationType` and `businessRegistrationIssuingCountry`. Submissions missing these fields have a high likelihood of rejection. ", alias="businessRegistrationNumber") business_registration_type: Optional[BusinessRegistrationTypeEnum] = Field(default=None, alias="businessRegistrationType") business_entity_type: Optional[BusinessEntityTypeEnum] = Field(default=None, alias="businessEntityType") business_registration_issuing_country: Optional[BusinessRegistrationIssuingCountryEnum] = Field(default=None, alias="businessRegistrationIssuingCountry") diff --git a/docs/BusinessEntityTypeEnum.md b/docs/BusinessEntityTypeEnum.md index 81844eff..97dcd6ae 100644 --- a/docs/BusinessEntityTypeEnum.md +++ b/docs/BusinessEntityTypeEnum.md @@ -1,6 +1,6 @@ # BusinessEntityTypeEnum -The type of registered business. If no option is applicable, please provide \"SOLE_PROPRIETOR\" as a value. +The type of registered business. ## Enum diff --git a/docs/BusinessRegistrationIssuingCountryEnum.md b/docs/BusinessRegistrationIssuingCountryEnum.md index 70459eca..edb53fb2 100644 --- a/docs/BusinessRegistrationIssuingCountryEnum.md +++ b/docs/BusinessRegistrationIssuingCountryEnum.md @@ -1,6 +1,6 @@ # BusinessRegistrationIssuingCountryEnum -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 | +The country issuing the business registration in ISO-3166-1 alpha-3 format. Alpha-2 country codes are acceptable, but the application will convert them to alpha-3 when received, so alpha-3 is encouraged. **Note:** If this field is omitted but `businessRegistrationType` is provided, the application will attempt to infer the country based on the registration type. However, if the application cannot confidently infer the country, the submission may be rejected. To ensure the highest likelihood of acceptance, it is recommended to provide both `businessRegistrationType` and `businessRegistrationIssuingCountry`. | 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 | ## Enum @@ -30,6 +30,14 @@ The country issuing the business registration in ISO-3166-1 alpha-3 format. | R * `CHE` (value: `'CHE'`) +* `CYP` (value: `'CYP'`) + +* `IND` (value: `'IND'`) + +* `CHN` (value: `'CHN'`) + +* `BGR` (value: `'BGR'`) + [[Back to Model list]](../README.md#documentation-for-models) [[Back to API list]](../README.md#documentation-for-api-endpoints) [[Back to README]](../README.md) diff --git a/docs/BusinessRegistrationTypeEnum.md b/docs/BusinessRegistrationTypeEnum.md index fb15fb9c..f9db0d4e 100644 --- a/docs/BusinessRegistrationTypeEnum.md +++ b/docs/BusinessRegistrationTypeEnum.md @@ -1,6 +1,6 @@ # BusinessRegistrationTypeEnum -The type of business registration number. +The type of business registration number. ## Enum diff --git a/docs/LatestMessageDeliveryStatusEnum.md b/docs/LatestMessageDeliveryStatusEnum.md index 63eebf37..b7ec1563 100644 --- a/docs/LatestMessageDeliveryStatusEnum.md +++ b/docs/LatestMessageDeliveryStatusEnum.md @@ -1,6 +1,6 @@ # LatestMessageDeliveryStatusEnum -[DNI-Only](#section/DNI-Only). The current delivery status of the phone number. - ACTIVE: A message was successfully sent to the number (delivery code 0). - DEACTIVATED: A message was not delivered to a number (delivery code 720) - UNKNOWN: Bandwidth cannot find an delivery status entry for the number. +[DNI-Only](#section/DNI-Only). The current delivery status of the phone number. - ACTIVE: A message was successfully sent to the number (delivery code 0). - DEACTIVATED: A message was not delivered to a number (delivery code 720) - UNKNOWN: Bandwidth cannot find an delivery status entry for the number. - NOT_ENABLED: The phone number is not enabled for messaging, so there is no delivery status information. ## Enum @@ -10,6 +10,8 @@ * `UNKNOWN` (value: `'UNKNOWN'`) +* `NOT_ENABLED` (value: `'NOT_ENABLED'`) + [[Back to Model list]](../README.md#documentation-for-models) [[Back to API list]](../README.md#documentation-for-api-endpoints) [[Back to README]](../README.md) diff --git a/docs/TfvSubmissionInfo.md b/docs/TfvSubmissionInfo.md index 701bc8ce..8baede8b 100644 --- a/docs/TfvSubmissionInfo.md +++ b/docs/TfvSubmissionInfo.md @@ -17,7 +17,7 @@ Name | Type | Description | Notes **privacy_policy_url** | **str** | The Toll-Free Verification request privacy policy URL. | [optional] **terms_and_conditions_url** | **str** | The Toll-Free Verification request terms and conditions policy URL. | [optional] **business_dba** | **str** | The company 'Doing Business As'. | [optional] -**business_registration_number** | **str** | Government-issued business identifying number. | [optional] +**business_registration_number** | **str** | Government-issued business identifying number. **Note:** If this field is provided, it is strongly recommended to also provide `businessRegistrationType` and `businessRegistrationIssuingCountry`. Submissions missing these fields have a high likelihood of rejection. | [optional] **business_registration_type** | [**BusinessRegistrationTypeEnum**](BusinessRegistrationTypeEnum.md) | | [optional] **business_registration_issuing_country** | [**BusinessRegistrationIssuingCountryEnum**](BusinessRegistrationIssuingCountryEnum.md) | | [optional] **business_entity_type** | [**BusinessEntityTypeEnum**](BusinessEntityTypeEnum.md) | | [optional] diff --git a/docs/VerificationRequest.md b/docs/VerificationRequest.md index 99e8b9cb..53df8f85 100644 --- a/docs/VerificationRequest.md +++ b/docs/VerificationRequest.md @@ -18,7 +18,7 @@ Name | Type | Description | Notes **privacy_policy_url** | **str** | The Toll-Free Verification request privacy policy URL. | [optional] **terms_and_conditions_url** | **str** | The Toll-Free Verification request terms and conditions policy URL. | [optional] **business_dba** | **str** | The company 'Doing Business As'. | [optional] -**business_registration_number** | **str** | Government-issued business identifying number. | [optional] +**business_registration_number** | **str** | Government-issued business identifying number. **Note:** If this field is provided, it is strongly recommended to also provide `businessRegistrationType` and `businessRegistrationIssuingCountry`. Submissions missing these fields have a high likelihood of rejection. | [optional] **business_registration_type** | [**BusinessRegistrationTypeEnum**](BusinessRegistrationTypeEnum.md) | | [optional] **business_registration_issuing_country** | [**BusinessRegistrationIssuingCountryEnum**](BusinessRegistrationIssuingCountryEnum.md) | | [optional] **business_entity_type** | [**BusinessEntityTypeEnum**](BusinessEntityTypeEnum.md) | | diff --git a/docs/VerificationUpdateRequest.md b/docs/VerificationUpdateRequest.md index f67cb6c6..ae9e472f 100644 --- a/docs/VerificationUpdateRequest.md +++ b/docs/VerificationUpdateRequest.md @@ -17,7 +17,7 @@ Name | Type | Description | Notes **privacy_policy_url** | **str** | The Toll-Free Verification request privacy policy URL. | [optional] **terms_and_conditions_url** | **str** | The Toll-Free Verification request terms and conditions policy URL. | [optional] **business_dba** | **str** | The company 'Doing Business As'. | [optional] -**business_registration_number** | **str** | Government-issued business identifying number. | [optional] +**business_registration_number** | **str** | Government-issued business identifying number. **Note:** If this field is provided, it is strongly recommended to also provide `businessRegistrationType` and `businessRegistrationIssuingCountry`. Submissions missing these fields have a high likelihood of rejection. | [optional] **business_registration_type** | [**BusinessRegistrationTypeEnum**](BusinessRegistrationTypeEnum.md) | | [optional] **business_entity_type** | [**BusinessEntityTypeEnum**](BusinessEntityTypeEnum.md) | | [optional] **business_registration_issuing_country** | [**BusinessRegistrationIssuingCountryEnum**](BusinessRegistrationIssuingCountryEnum.md) | | [optional] From b9e7006b20c62d04ff997610b810df2c711baa9e Mon Sep 17 00:00:00 2001 From: ckoegel Date: Fri, 20 Mar 2026 15:26:22 -0400 Subject: [PATCH 2/2] add tests --- .../models/test_business_registration_issuing_country_enum.py | 4 ++++ test/unit/models/test_latest_message_delivery_status_enum.py | 1 + 2 files changed, 5 insertions(+) diff --git a/test/unit/models/test_business_registration_issuing_country_enum.py b/test/unit/models/test_business_registration_issuing_country_enum.py index 6895cc90..70ce3f93 100644 --- a/test/unit/models/test_business_registration_issuing_country_enum.py +++ b/test/unit/models/test_business_registration_issuing_country_enum.py @@ -41,6 +41,10 @@ def testBusinessRegistrationIssuingCountryEnum(self): assert BusinessRegistrationIssuingCountryEnum('DEU') == 'DEU' assert BusinessRegistrationIssuingCountryEnum('ESP') == 'ESP' assert BusinessRegistrationIssuingCountryEnum('CHE') == 'CHE' + assert BusinessRegistrationIssuingCountryEnum('CYP') == 'CYP' + assert BusinessRegistrationIssuingCountryEnum('IND') == 'IND' + assert BusinessRegistrationIssuingCountryEnum('CHN') == 'CHN' + assert BusinessRegistrationIssuingCountryEnum('BGR') == 'BGR' if __name__ == '__main__': diff --git a/test/unit/models/test_latest_message_delivery_status_enum.py b/test/unit/models/test_latest_message_delivery_status_enum.py index 68af465c..53450ae3 100644 --- a/test/unit/models/test_latest_message_delivery_status_enum.py +++ b/test/unit/models/test_latest_message_delivery_status_enum.py @@ -31,6 +31,7 @@ def testLatestMessageDeliveryStatusEnum(self): assert LatestMessageDeliveryStatusEnum('ACTIVE') == 'ACTIVE' assert LatestMessageDeliveryStatusEnum('DEACTIVATED') == 'DEACTIVATED' assert LatestMessageDeliveryStatusEnum('UNKNOWN') == 'UNKNOWN' + assert LatestMessageDeliveryStatusEnum('NOT_ENABLED') == 'NOT_ENABLED' if __name__ == '__main__': unittest.main()