Skip to content

Commit 2cf39e5

Browse files
committed
Generate SDK with OpenAPI Generator Version
1 parent a8ea952 commit 2cf39e5

25 files changed

+856
-15
lines changed

.openapi-generator/FILES

Lines changed: 6 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -26,6 +26,8 @@ bandwidth/models/answer_callback.py
2626
bandwidth/models/blocked_webhook.py
2727
bandwidth/models/bridge_complete_callback.py
2828
bandwidth/models/bridge_target_complete_callback.py
29+
bandwidth/models/business_entity_type_enum.py
30+
bandwidth/models/business_registration_type_enum.py
2931
bandwidth/models/call_direction_enum.py
3032
bandwidth/models/call_recording_metadata.py
3133
bandwidth/models/call_state.py
@@ -108,6 +110,7 @@ bandwidth/models/multi_channel_message_response_data_channel_list_inner.py
108110
bandwidth/models/opt_in_workflow.py
109111
bandwidth/models/page_info.py
110112
bandwidth/models/priority_enum.py
113+
bandwidth/models/product_type_enum.py
111114
bandwidth/models/rbm_action_base.py
112115
bandwidth/models/rbm_action_dial.py
113116
bandwidth/models/rbm_action_open_url.py
@@ -179,6 +182,8 @@ docs/AnswerCallback.md
179182
docs/BlockedWebhook.md
180183
docs/BridgeCompleteCallback.md
181184
docs/BridgeTargetCompleteCallback.md
185+
docs/BusinessEntityTypeEnum.md
186+
docs/BusinessRegistrationTypeEnum.md
182187
docs/CallDirectionEnum.md
183188
docs/CallRecordingMetadata.md
184189
docs/CallState.md
@@ -268,6 +273,7 @@ docs/OptInWorkflow.md
268273
docs/PageInfo.md
269274
docs/PhoneNumberLookupApi.md
270275
docs/PriorityEnum.md
276+
docs/ProductTypeEnum.md
271277
docs/RbmActionBase.md
272278
docs/RbmActionDial.md
273279
docs/RbmActionOpenUrl.md

README.md

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -157,6 +157,8 @@ Class | Method | HTTP request | Description
157157
- [BlockedWebhook](docs/BlockedWebhook.md)
158158
- [BridgeCompleteCallback](docs/BridgeCompleteCallback.md)
159159
- [BridgeTargetCompleteCallback](docs/BridgeTargetCompleteCallback.md)
160+
- [BusinessEntityTypeEnum](docs/BusinessEntityTypeEnum.md)
161+
- [BusinessRegistrationTypeEnum](docs/BusinessRegistrationTypeEnum.md)
160162
- [CallDirectionEnum](docs/CallDirectionEnum.md)
161163
- [CallRecordingMetadata](docs/CallRecordingMetadata.md)
162164
- [CallState](docs/CallState.md)
@@ -239,6 +241,7 @@ Class | Method | HTTP request | Description
239241
- [OptInWorkflow](docs/OptInWorkflow.md)
240242
- [PageInfo](docs/PageInfo.md)
241243
- [PriorityEnum](docs/PriorityEnum.md)
244+
- [ProductTypeEnum](docs/ProductTypeEnum.md)
242245
- [RbmActionBase](docs/RbmActionBase.md)
243246
- [RbmActionDial](docs/RbmActionDial.md)
244247
- [RbmActionOpenUrl](docs/RbmActionOpenUrl.md)

bandwidth.yml

Lines changed: 254 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -179,6 +179,18 @@ paths:
179179
- $ref: '#/components/parameters/fromDateTime'
180180
- $ref: '#/components/parameters/toDateTime'
181181
- $ref: '#/components/parameters/campaignId'
182+
- $ref: '#/components/parameters/fromBwLatency'
183+
- $ref: '#/components/parameters/bwQueued'
184+
- $ref: '#/components/parameters/product'
185+
- $ref: '#/components/parameters/location'
186+
- $ref: '#/components/parameters/carrierQueued'
187+
- $ref: '#/components/parameters/fromCarrierLatency'
188+
- $ref: '#/components/parameters/callingNumberCountryA3'
189+
- $ref: '#/components/parameters/calledNumberCountryA3'
190+
- $ref: '#/components/parameters/fromSegmentCount'
191+
- $ref: '#/components/parameters/toSegmentCount'
192+
- $ref: '#/components/parameters/fromMessageSize'
193+
- $ref: '#/components/parameters/toMessageSize'
182194
- $ref: '#/components/parameters/sort'
183195
- $ref: '#/components/parameters/pageToken'
184196
- $ref: '#/components/parameters/limit'
@@ -1716,7 +1728,22 @@ components:
17161728
enum:
17171729
- sms
17181730
- mms
1731+
- rcs
17191732
example: sms
1733+
productTypeEnum:
1734+
type: string
1735+
description: The type of product associated with the message.
1736+
enum:
1737+
- LOCAL_A2P
1738+
- P2P
1739+
- SHORT_CODE_REACH
1740+
- TOLL_FREE
1741+
- HOSTED_SHORT_CODE
1742+
- ALPHA_NUMERIC
1743+
- RBM_MEDIA
1744+
- RBM_RICH
1745+
- RBM_CONVERSATIONAL
1746+
example: P2P
17201747
fieldError:
17211748
type: object
17221749
properties:
@@ -1819,6 +1846,41 @@ components:
18191846
description: The campaign ID of the message if it has one.
18201847
nullable: true
18211848
example: CJEUMDK
1849+
bwLatency:
1850+
type: integer
1851+
description: >-
1852+
The Bandwidth latency of the message in seconds. Only available for
1853+
accounts with the Advanced Quality Metrics feature enabled.
1854+
nullable: true
1855+
example: 20
1856+
carrierLatency:
1857+
type: integer
1858+
description: >-
1859+
The carrier latency of the message in seconds. Only available for
1860+
OUTBOUND messages from accounts with the Advanced Quality Metrics
1861+
feature enabled.
1862+
nullable: true
1863+
example: 20
1864+
callingNumberCountryA3:
1865+
type: string
1866+
description: The A3 country code of the calling number.
1867+
nullable: true
1868+
example: USA
1869+
calledNumberCountryA3:
1870+
type: string
1871+
description: The A3 country code of the called number.
1872+
nullable: true
1873+
example: USA
1874+
product:
1875+
type: string
1876+
description: The messaging product associated with the message.
1877+
nullable: true
1878+
example: P2P
1879+
location:
1880+
type: string
1881+
description: The location ID associated with this message.
1882+
nullable: true
1883+
example: 123ID
18221884
pageInfo:
18231885
title: PageInfo
18241886
type: object
@@ -5478,6 +5540,50 @@ components:
54785540
description: The company 'Doing Business As'.
54795541
example: Another Company Name Inc.
54805542
type: string
5543+
businessRegistrationNumber:
5544+
type: string
5545+
description: >-
5546+
US Federal Tax ID Number (EIN) or Canada Business Number (CBN). Optional
5547+
until early 2026. If a value is provided for this field, a value must be
5548+
provided for `businessRegistrationType` and `businessEntityType`.
5549+
Available starting October 1st, 2025.
5550+
nullable: true
5551+
maxLength: 500
5552+
example: 12-3456789
5553+
businessRegistrationTypeEnum:
5554+
type: string
5555+
description: >-
5556+
The type of business registration number. Optional until early 2026;
5557+
required if `businessRegistrationNumber` is provided. Available starting
5558+
October 1st, 2025.
5559+
enum:
5560+
- EIN
5561+
- CBN
5562+
nullable: true
5563+
businessEntityTypeEnum:
5564+
type: string
5565+
description: >-
5566+
The type of registered business. If no option is applicable, please
5567+
provide "SOLE_PROPRIETOR" as a value. Optional until early 2026;
5568+
required if `businessRegistrationNumber` is provided. Available starting
5569+
October 1st, 2025.
5570+
enum:
5571+
- SOLE_PROPRIETOR
5572+
- PRIVATE_PROFIT
5573+
- PUBLIC_PROFIT
5574+
- NON_PROFIT
5575+
- GOVERNMENT
5576+
nullable: true
5577+
helpMessageResponse:
5578+
type: string
5579+
description: A message that gets sent to users requesting help.
5580+
nullable: true
5581+
maxLength: 500
5582+
example: Please contact support for assistance.
5583+
ageGatedContent:
5584+
type: boolean
5585+
description: Indicates whether the content is age-gated.
5586+
example: false
54815587
additionalDenialReason:
54825588
properties:
54835589
statusCode:
@@ -5564,6 +5670,16 @@ components:
55645670
$ref: '#/components/schemas/termsAndConditionsUrl'
55655671
businessDba:
55665672
$ref: '#/components/schemas/businessDba'
5673+
businessRegistrationNumber:
5674+
$ref: '#/components/schemas/businessRegistrationNumber'
5675+
businessRegistrationType:
5676+
$ref: '#/components/schemas/businessRegistrationTypeEnum'
5677+
businessEntityType:
5678+
$ref: '#/components/schemas/businessEntityTypeEnum'
5679+
helpMessageResponse:
5680+
$ref: '#/components/schemas/helpMessageResponse'
5681+
ageGatedContent:
5682+
$ref: '#/components/schemas/ageGatedContent'
55675683
verificationUpdateRequest:
55685684
type: object
55695685
required:
@@ -5603,6 +5719,16 @@ components:
56035719
$ref: '#/components/schemas/termsAndConditionsUrl'
56045720
businessDba:
56055721
$ref: '#/components/schemas/businessDba'
5722+
businessRegistrationNumber:
5723+
$ref: '#/components/schemas/businessRegistrationNumber'
5724+
businessRegistrationType:
5725+
$ref: '#/components/schemas/businessRegistrationTypeEnum'
5726+
businessEntityType:
5727+
$ref: '#/components/schemas/businessEntityTypeEnum'
5728+
helpMessageResponse:
5729+
$ref: '#/components/schemas/helpMessageResponse'
5730+
ageGatedContent:
5731+
$ref: '#/components/schemas/ageGatedContent'
56065732
tfvBasicAuthentication:
56075733
type: object
56085734
properties:
@@ -5806,6 +5932,12 @@ components:
58065932
example: https://www.example.com/path/to/resource
58075933
pattern: >-
58085934
^$|(https?:\/\/)?(www\.)?[-a-zA-Z0-9@:%._\+~#=]{1,253}\.[a-z]{2,6}\b([-a-zA-Z0-9@:%_\+.~#()?&//=]*)
5935+
confirmationResponse:
5936+
type: string
5937+
minLength: 0
5938+
maxLength: 500
5939+
nullable: true
5940+
example: Thank you for opting in!
58095941
isvReseller:
58105942
type: string
58115943
description: ISV name.
@@ -6079,6 +6211,22 @@ components:
60796211
$ref: '#/components/schemas/termsAndConditionsUrl'
60806212
businessDba:
60816213
$ref: '#/components/schemas/businessDba'
6214+
businessRegistrationNumber:
6215+
$ref: '#/components/schemas/businessRegistrationNumber'
6216+
description: >-
6217+
US Federal Tax ID Number (EIN) or Canada Business Number (CBN).
6218+
Available starting October 1st, 2025.
6219+
businessRegistrationType:
6220+
$ref: '#/components/schemas/businessRegistrationTypeEnum'
6221+
description: >-
6222+
The type of business registration number. Available starting October
6223+
1st, 2025.
6224+
businessEntityType:
6225+
$ref: '#/components/schemas/businessEntityTypeEnum'
6226+
description: >-
6227+
The type of registered business. If no option is applicable, please
6228+
provide "SOLE_PROPRIETOR" as a value. Available starting October
6229+
1st, 2025.
60826230
tfvStatusEnum:
60836231
type: string
60846232
enum:
@@ -6940,6 +7088,112 @@ components:
69407088
example: CJEUMDK
69417089
schema:
69427090
type: string
7091+
fromBwLatency:
7092+
in: query
7093+
name: fromBwLatency
7094+
required: false
7095+
description: >-
7096+
The minimum Bandwidth latency of the message in seconds. Only available
7097+
for accounts with the Advanced Quality Metrics feature enabled.
7098+
example: 5
7099+
schema:
7100+
type: integer
7101+
bwQueued:
7102+
in: query
7103+
name: bwQueued
7104+
required: false
7105+
description: >-
7106+
A boolean value indicating whether the message is queued in the
7107+
Bandwidth network.
7108+
example: true
7109+
schema:
7110+
type: boolean
7111+
product:
7112+
in: query
7113+
name: product
7114+
required: false
7115+
description: Messaging product associated with the message.
7116+
example: P2P
7117+
schema:
7118+
$ref: '#/components/schemas/productTypeEnum'
7119+
location:
7120+
in: query
7121+
name: location
7122+
required: false
7123+
description: Location Id associated with the message.
7124+
example: 123ABC
7125+
schema:
7126+
type: string
7127+
carrierQueued:
7128+
in: query
7129+
name: carrierQueued
7130+
required: false
7131+
description: >-
7132+
A boolean value indicating whether the message is queued in the carrier
7133+
network. Only available for OUTBOUND messages from accounts with the
7134+
Advanced Quality Metrics feature enabled.
7135+
example: true
7136+
schema:
7137+
type: boolean
7138+
fromCarrierLatency:
7139+
in: query
7140+
name: fromCarrierLatency
7141+
required: false
7142+
description: >-
7143+
The minimum carrier latency of the message in seconds. Only available
7144+
for OUTBOUND messages from accounts with the Advanced Quality Metrics
7145+
feature enabled.
7146+
example: 50
7147+
schema:
7148+
type: integer
7149+
callingNumberCountryA3:
7150+
in: query
7151+
name: callingNumberCountryA3
7152+
required: false
7153+
description: Calling number country in A3 format.
7154+
example: USA
7155+
schema:
7156+
type: string
7157+
calledNumberCountryA3:
7158+
in: query
7159+
name: calledNumberCountryA3
7160+
required: false
7161+
description: Called number country in A3 format.
7162+
example: USA
7163+
schema:
7164+
type: string
7165+
fromSegmentCount:
7166+
in: query
7167+
name: fromSegmentCount
7168+
required: false
7169+
description: Segment count (start range).
7170+
example: 1
7171+
schema:
7172+
type: integer
7173+
toSegmentCount:
7174+
in: query
7175+
name: toSegmentCount
7176+
required: false
7177+
description: Segment count (end range).
7178+
example: 3
7179+
schema:
7180+
type: integer
7181+
fromMessageSize:
7182+
in: query
7183+
name: fromMessageSize
7184+
required: false
7185+
description: Message size (start range).
7186+
example: 100
7187+
schema:
7188+
type: integer
7189+
toMessageSize:
7190+
in: query
7191+
name: toMessageSize
7192+
required: false
7193+
description: Message size (end range).
7194+
example: 120
7195+
schema:
7196+
type: integer
69437197
sort:
69447198
in: query
69457199
name: sort

bandwidth/__init__.py

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -49,6 +49,8 @@
4949
from bandwidth.models.blocked_webhook import BlockedWebhook
5050
from bandwidth.models.bridge_complete_callback import BridgeCompleteCallback
5151
from bandwidth.models.bridge_target_complete_callback import BridgeTargetCompleteCallback
52+
from bandwidth.models.business_entity_type_enum import BusinessEntityTypeEnum
53+
from bandwidth.models.business_registration_type_enum import BusinessRegistrationTypeEnum
5254
from bandwidth.models.call_direction_enum import CallDirectionEnum
5355
from bandwidth.models.call_recording_metadata import CallRecordingMetadata
5456
from bandwidth.models.call_state import CallState
@@ -131,6 +133,7 @@
131133
from bandwidth.models.opt_in_workflow import OptInWorkflow
132134
from bandwidth.models.page_info import PageInfo
133135
from bandwidth.models.priority_enum import PriorityEnum
136+
from bandwidth.models.product_type_enum import ProductTypeEnum
134137
from bandwidth.models.rbm_action_base import RbmActionBase
135138
from bandwidth.models.rbm_action_dial import RbmActionDial
136139
from bandwidth.models.rbm_action_open_url import RbmActionOpenUrl

0 commit comments

Comments
 (0)