Skip to content

Commit 9ecdf4e

Browse files
band-swi-release-engineering[bot]DX-Bandwidthckoegel
authored
SWI-8410 Update SDK Based on Recent Spec Changes (#260)
* Generate SDK with OpenAPI Generator Version * tests * add to smoke test --------- Co-authored-by: DX-Bandwidth <[email protected]> Co-authored-by: ckoegel <[email protected]>
1 parent a8ea952 commit 9ecdf4e

18 files changed

+523
-6
lines changed

.openapi-generator/FILES

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -108,6 +108,7 @@ bandwidth/models/multi_channel_message_response_data_channel_list_inner.py
108108
bandwidth/models/opt_in_workflow.py
109109
bandwidth/models/page_info.py
110110
bandwidth/models/priority_enum.py
111+
bandwidth/models/product_type_enum.py
111112
bandwidth/models/rbm_action_base.py
112113
bandwidth/models/rbm_action_dial.py
113114
bandwidth/models/rbm_action_open_url.py
@@ -268,6 +269,7 @@ docs/OptInWorkflow.md
268269
docs/PageInfo.md
269270
docs/PhoneNumberLookupApi.md
270271
docs/PriorityEnum.md
272+
docs/ProductTypeEnum.md
271273
docs/RbmActionBase.md
272274
docs/RbmActionDial.md
273275
docs/RbmActionOpenUrl.md

README.md

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -239,6 +239,7 @@ Class | Method | HTTP request | Description
239239
- [OptInWorkflow](docs/OptInWorkflow.md)
240240
- [PageInfo](docs/PageInfo.md)
241241
- [PriorityEnum](docs/PriorityEnum.md)
242+
- [ProductTypeEnum](docs/ProductTypeEnum.md)
242243
- [RbmActionBase](docs/RbmActionBase.md)
243244
- [RbmActionDial](docs/RbmActionDial.md)
244245
- [RbmActionOpenUrl](docs/RbmActionOpenUrl.md)

bandwidth.yml

Lines changed: 136 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -179,6 +179,16 @@ 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/callingNumberCountryA3'
187+
- $ref: '#/components/parameters/calledNumberCountryA3'
188+
- $ref: '#/components/parameters/fromSegmentCount'
189+
- $ref: '#/components/parameters/toSegmentCount'
190+
- $ref: '#/components/parameters/fromMessageSize'
191+
- $ref: '#/components/parameters/toMessageSize'
182192
- $ref: '#/components/parameters/sort'
183193
- $ref: '#/components/parameters/pageToken'
184194
- $ref: '#/components/parameters/limit'
@@ -1716,7 +1726,22 @@ components:
17161726
enum:
17171727
- sms
17181728
- mms
1729+
- rcs
17191730
example: sms
1731+
productTypeEnum:
1732+
type: string
1733+
description: The type of product associated with the message.
1734+
enum:
1735+
- LOCAL_A2P
1736+
- P2P
1737+
- SHORT_CODE_REACH
1738+
- TOLL_FREE
1739+
- HOSTED_SHORT_CODE
1740+
- ALPHA_NUMERIC
1741+
- RBM_MEDIA
1742+
- RBM_RICH
1743+
- RBM_CONVERSATIONAL
1744+
example: P2P
17201745
fieldError:
17211746
type: object
17221747
properties:
@@ -1819,6 +1844,33 @@ components:
18191844
description: The campaign ID of the message if it has one.
18201845
nullable: true
18211846
example: CJEUMDK
1847+
bwLatency:
1848+
type: integer
1849+
description: >-
1850+
The Bandwidth latency of the message in seconds. Only available for
1851+
accounts with the Advanced Quality Metrics feature enabled.
1852+
nullable: true
1853+
example: 20
1854+
callingNumberCountryA3:
1855+
type: string
1856+
description: The A3 country code of the calling number.
1857+
nullable: true
1858+
example: USA
1859+
calledNumberCountryA3:
1860+
type: string
1861+
description: The A3 country code of the called number.
1862+
nullable: true
1863+
example: USA
1864+
product:
1865+
type: string
1866+
description: The messaging product associated with the message.
1867+
nullable: true
1868+
example: P2P
1869+
location:
1870+
type: string
1871+
description: The location ID associated with this message.
1872+
nullable: true
1873+
example: 123ID
18221874
pageInfo:
18231875
title: PageInfo
18241876
type: object
@@ -6940,6 +6992,90 @@ components:
69406992
example: CJEUMDK
69416993
schema:
69426994
type: string
6995+
fromBwLatency:
6996+
in: query
6997+
name: fromBwLatency
6998+
required: false
6999+
description: >-
7000+
The minimum Bandwidth latency of the message in seconds. Only available
7001+
for accounts with the Advanced Quality Metrics feature enabled.
7002+
example: 5
7003+
schema:
7004+
type: integer
7005+
bwQueued:
7006+
in: query
7007+
name: bwQueued
7008+
required: false
7009+
description: >-
7010+
A boolean value indicating whether the message is queued in the
7011+
Bandwidth network.
7012+
example: true
7013+
schema:
7014+
type: boolean
7015+
product:
7016+
in: query
7017+
name: product
7018+
required: false
7019+
description: Messaging product associated with the message.
7020+
example: P2P
7021+
schema:
7022+
$ref: '#/components/schemas/productTypeEnum'
7023+
location:
7024+
in: query
7025+
name: location
7026+
required: false
7027+
description: Location Id associated with the message.
7028+
example: 123ABC
7029+
schema:
7030+
type: string
7031+
callingNumberCountryA3:
7032+
in: query
7033+
name: callingNumberCountryA3
7034+
required: false
7035+
description: Calling number country in A3 format.
7036+
example: USA
7037+
schema:
7038+
type: string
7039+
calledNumberCountryA3:
7040+
in: query
7041+
name: calledNumberCountryA3
7042+
required: false
7043+
description: Called number country in A3 format.
7044+
example: USA
7045+
schema:
7046+
type: string
7047+
fromSegmentCount:
7048+
in: query
7049+
name: fromSegmentCount
7050+
required: false
7051+
description: Segment count (start range).
7052+
example: 1
7053+
schema:
7054+
type: integer
7055+
toSegmentCount:
7056+
in: query
7057+
name: toSegmentCount
7058+
required: false
7059+
description: Segment count (end range).
7060+
example: 3
7061+
schema:
7062+
type: integer
7063+
fromMessageSize:
7064+
in: query
7065+
name: fromMessageSize
7066+
required: false
7067+
description: Message size (start range).
7068+
example: 100
7069+
schema:
7070+
type: integer
7071+
toMessageSize:
7072+
in: query
7073+
name: toMessageSize
7074+
required: false
7075+
description: Message size (end range).
7076+
example: 120
7077+
schema:
7078+
type: integer
69437079
sort:
69447080
in: query
69457081
name: sort

bandwidth/__init__.py

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -131,6 +131,7 @@
131131
from bandwidth.models.opt_in_workflow import OptInWorkflow
132132
from bandwidth.models.page_info import PageInfo
133133
from bandwidth.models.priority_enum import PriorityEnum
134+
from bandwidth.models.product_type_enum import ProductTypeEnum
134135
from bandwidth.models.rbm_action_base import RbmActionBase
135136
from bandwidth.models.rbm_action_dial import RbmActionDial
136137
from bandwidth.models.rbm_action_open_url import RbmActionOpenUrl

0 commit comments

Comments
 (0)