Skip to content
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
2 changes: 0 additions & 2 deletions .openapi-generator/FILES
Original file line number Diff line number Diff line change
Expand Up @@ -11,7 +11,6 @@ docs/BlockedWebhook.md
docs/BridgeCompleteCallback.md
docs/BridgeTargetCompleteCallback.md
docs/BusinessEntityTypeEnum.md
docs/BusinessRegistrationIssuingCountryEnum.md
docs/BusinessRegistrationTypeEnum.md
docs/CallDirectionEnum.md
docs/CallRecordingMetadata.md
Expand Down Expand Up @@ -231,7 +230,6 @@ src/Bandwidth.Standard/Model/BlockedWebhook.cs
src/Bandwidth.Standard/Model/BridgeCompleteCallback.cs
src/Bandwidth.Standard/Model/BridgeTargetCompleteCallback.cs
src/Bandwidth.Standard/Model/BusinessEntityTypeEnum.cs
src/Bandwidth.Standard/Model/BusinessRegistrationIssuingCountryEnum.cs
src/Bandwidth.Standard/Model/BusinessRegistrationTypeEnum.cs
src/Bandwidth.Standard/Model/CallDirectionEnum.cs
src/Bandwidth.Standard/Model/CallRecordingMetadata.cs
Expand Down
10 changes: 5 additions & 5 deletions Bandwidth.Standard.sln
Original file line number Diff line number Diff line change
Expand Up @@ -2,7 +2,7 @@ Microsoft Visual Studio Solution File, Format Version 12.00
# Visual Studio 14
VisualStudioVersion = 14.0.25420.1
MinimumVisualStudioVersion = 10.0.40219.1
Project("{FAE04EC0-301F-11D3-BF4B-00C04F79EFBC}") = "Bandwidth.Standard", "src\Bandwidth.Standard\Bandwidth.Standard.csproj", "{91F6B73E-F556-4AD3-B5B8-29505E8F6758}"
Project("{FAE04EC0-301F-11D3-BF4B-00C04F79EFBC}") = "Bandwidth.Standard", "src\Bandwidth.Standard\Bandwidth.Standard.csproj", "{5EFE889A-C3DA-4D5A-AD9B-AFA38EF89736}"
EndProject
Project("{FAE04EC0-301F-11D3-BF4B-00C04F79EFBC}") = "Bandwidth.Standard.Test", "src\Bandwidth.Standard.Test\Bandwidth.Standard.Test.csproj", "{19F1DEBC-DE5E-4517-8062-F000CD499087}"
EndProject
Expand All @@ -12,10 +12,10 @@ Global
Release|Any CPU = Release|Any CPU
EndGlobalSection
GlobalSection(ProjectConfigurationPlatforms) = postSolution
{91F6B73E-F556-4AD3-B5B8-29505E8F6758}.Debug|Any CPU.ActiveCfg = Debug|Any CPU
{91F6B73E-F556-4AD3-B5B8-29505E8F6758}.Debug|Any CPU.Build.0 = Debug|Any CPU
{91F6B73E-F556-4AD3-B5B8-29505E8F6758}.Release|Any CPU.ActiveCfg = Release|Any CPU
{91F6B73E-F556-4AD3-B5B8-29505E8F6758}.Release|Any CPU.Build.0 = Release|Any CPU
{5EFE889A-C3DA-4D5A-AD9B-AFA38EF89736}.Debug|Any CPU.ActiveCfg = Debug|Any CPU
{5EFE889A-C3DA-4D5A-AD9B-AFA38EF89736}.Debug|Any CPU.Build.0 = Debug|Any CPU
{5EFE889A-C3DA-4D5A-AD9B-AFA38EF89736}.Release|Any CPU.ActiveCfg = Release|Any CPU
{5EFE889A-C3DA-4D5A-AD9B-AFA38EF89736}.Release|Any CPU.Build.0 = Release|Any CPU
{19F1DEBC-DE5E-4517-8062-F000CD499087}.Debug|Any CPU.ActiveCfg = Debug|Any CPU
{19F1DEBC-DE5E-4517-8062-F000CD499087}.Debug|Any CPU.Build.0 = Debug|Any CPU
{19F1DEBC-DE5E-4517-8062-F000CD499087}.Release|Any CPU.ActiveCfg = Release|Any CPU
Expand Down
1 change: 0 additions & 1 deletion README.md
Original file line number Diff line number Diff line change
Expand Up @@ -177,7 +177,6 @@ Class | Method | HTTP request | Description
- [Model.BridgeCompleteCallback](docs/BridgeCompleteCallback.md)
- [Model.BridgeTargetCompleteCallback](docs/BridgeTargetCompleteCallback.md)
- [Model.BusinessEntityTypeEnum](docs/BusinessEntityTypeEnum.md)
- [Model.BusinessRegistrationIssuingCountryEnum](docs/BusinessRegistrationIssuingCountryEnum.md)
- [Model.BusinessRegistrationTypeEnum](docs/BusinessRegistrationTypeEnum.md)
- [Model.CallDirectionEnum](docs/CallDirectionEnum.md)
- [Model.CallRecordingMetadata](docs/CallRecordingMetadata.md)
Expand Down
136 changes: 103 additions & 33 deletions api/openapi.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -288,7 +288,7 @@ paths:

If a file is uploaded with the same name as a file that already exists under this account, the previous file will be overwritten.

A list of supported media types can be found [here](https://support.bandwidth.com/hc/en-us/articles/360014128994-What-MMS-file-types-are-supported-).
A list of supported media types can be found at [Bandwidth Support](https://www.bandwidth.com/support/en/articles/12823220-what-mms-file-types-are-supported).
operationId: uploadMedia
parameters:
- description: Your Bandwidth Account ID.
Expand Down Expand Up @@ -8831,7 +8831,7 @@ components:
description: |-
The URL of a media attachment.

For MMS, the API limits file size to 3.5MB. Specific carriers and channels may have a smaller limit that could cause a large file to fail, see [here](https://support.bandwidth.com/hc/en-us/articles/360014235473-What-are-the-MMS-file-size-limits) for more details.
For MMS, the API limits file size to 3.5MB. Specific carriers and channels may have a smaller limit that could cause a large file to fail, see more at [Bandwidth Support](https://www.bandwidth.com/support/en/articles/12823216-what-are-the-mms-file-size-limits) for more details.
example: https://dev.bandwidth.com/images/bandwidth-logo.png
format: uri
maxLength: 1000
Expand Down Expand Up @@ -13707,14 +13707,16 @@ components:
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.
**Note: As of October 19th, 2026 this field will be required when `businessEntityType` is _not_ `SOLE_PROPRIETOR`. If this field is provided, `businessRegistrationType` and `businessRegistrationIssuingCountry` are also required.**
example: 12-3456789
maxLength: 500
nullable: true
type: string
businessRegistrationTypeEnum:
description: |
The type of business registration number.

**Note: As of October 19th, 2026 this field will be required when `businessRegistrationNumber` is provided.**
enum:
- EIN
- CBN
Expand All @@ -13737,11 +13739,11 @@ components:
example: EIN
nullable: true
type: string
businessRegistrationIssuingCountryEnum:
businessRegistrationIssuingCountry:
description: |-
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.
The country issuing the business registration in ISO-3166-1 alpha-3 format. Alpha-2 format is accepted by the API, but alpha-3 is highly 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`.
**Note: As of October 19th, 2026 this field will be required when `businessRegistrationNumber` is provided.**

| Registration Type | Supported Countries |
|----------------------|------------------------------------|
Expand All @@ -13763,30 +13765,17 @@ components:
| CNPJ | BRA |
| UID | CHE |
| OTHER | Must Provide Country Code |
enum:
- USA
- CAN
- HKG
- GBR
- IRL
- BRA
- NLD
- AUS
- FRA
- NZL
- DEU
- ESP
- CHE
- CYP
- IND
- CHN
- BGR
example: USA
nullable: false
nullable: true
type: string
businessEntityTypeEnum:
description: |
The type of registered business.
description: "The type of registered business.\n\n**Note: As of October 19th,\
\ 2026 submissions using a value other than `SOLE_PROPRIETOR` must provide\
\ a value for `businessRegistrationNumber`, `businessRegistrationType`, and\
\ `businessRegistrationIssuingCountry`. \nSubmissions using `SOLE_PROPRIETOR`\
\ must _omit_ `businessRegistrationNumber`, `businessRegistrationType`, and\
\ `businessRegistrationIssuingCountry`. Failure to adhere to these constraints\
\ will result in a 400 Bad Request rejection.**\n"
enum:
- SOLE_PROPRIETOR
- PRIVATE_PROFIT
Expand Down Expand Up @@ -13919,15 +13908,42 @@ components:
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.
**Note: As of October 19th, 2026 this field will be required when `businessEntityType` is _not_ `SOLE_PROPRIETOR`. If this field is provided, `businessRegistrationType` and `businessRegistrationIssuingCountry` are also required.**
example: 12-3456789
maxLength: 500
nullable: true
type: string
businessRegistrationType:
$ref: '#/components/schemas/businessRegistrationTypeEnum'
businessRegistrationIssuingCountry:
$ref: '#/components/schemas/businessRegistrationIssuingCountryEnum'
description: |-
The country issuing the business registration in ISO-3166-1 alpha-3 format. Alpha-2 format is accepted by the API, but alpha-3 is highly encouraged.

**Note: As of October 19th, 2026 this field will be required when `businessRegistrationNumber` is provided.**

| 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 |
example: USA
nullable: true
type: string
businessEntityType:
$ref: '#/components/schemas/businessEntityTypeEnum'
helpMessageResponse:
Expand Down Expand Up @@ -14029,7 +14045,7 @@ components:
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.
**Note: As of October 19th, 2026 this field will be required when `businessEntityType` is _not_ `SOLE_PROPRIETOR`. If this field is provided, `businessRegistrationType` and `businessRegistrationIssuingCountry` are also required.**
example: 12-3456789
maxLength: 500
nullable: true
Expand All @@ -14039,7 +14055,34 @@ components:
businessEntityType:
$ref: '#/components/schemas/businessEntityTypeEnum'
businessRegistrationIssuingCountry:
$ref: '#/components/schemas/businessRegistrationIssuingCountryEnum'
description: |-
The country issuing the business registration in ISO-3166-1 alpha-3 format. Alpha-2 format is accepted by the API, but alpha-3 is highly encouraged.

**Note: As of October 19th, 2026 this field will be required when `businessRegistrationNumber` is provided.**

| 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 |
example: USA
nullable: true
type: string
helpMessageResponse:
description: A message that gets sent to users requesting help.
example: Please contact support for assistance.
Expand Down Expand Up @@ -14883,15 +14926,42 @@ components:
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.
**Note: As of October 19th, 2026 this field will be required when `businessEntityType` is _not_ `SOLE_PROPRIETOR`. If this field is provided, `businessRegistrationType` and `businessRegistrationIssuingCountry` are also required.**
example: 12-3456789
maxLength: 500
nullable: true
type: string
businessRegistrationType:
$ref: '#/components/schemas/businessRegistrationTypeEnum'
businessRegistrationIssuingCountry:
$ref: '#/components/schemas/businessRegistrationIssuingCountryEnum'
description: |-
The country issuing the business registration in ISO-3166-1 alpha-3 format. Alpha-2 format is accepted by the API, but alpha-3 is highly encouraged.

**Note: As of October 19th, 2026 this field will be required when `businessRegistrationNumber` is provided.**

| 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 |
example: USA
nullable: true
type: string
businessEntityType:
$ref: '#/components/schemas/businessEntityTypeEnum'
type: object
Expand Down
Loading
Loading