Skip to content

SWI-8410 Update SDK Based on Recent Spec Changes #260

New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Open
wants to merge 1 commit into
base: main
Choose a base branch
from
Open
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: 2 additions & 0 deletions .openapi-generator/FILES
Original file line number Diff line number Diff line change
Expand Up @@ -108,6 +108,7 @@ bandwidth/models/multi_channel_message_response_data_channel_list_inner.py
bandwidth/models/opt_in_workflow.py
bandwidth/models/page_info.py
bandwidth/models/priority_enum.py
bandwidth/models/product_type_enum.py
bandwidth/models/rbm_action_base.py
bandwidth/models/rbm_action_dial.py
bandwidth/models/rbm_action_open_url.py
Expand Down Expand Up @@ -268,6 +269,7 @@ docs/OptInWorkflow.md
docs/PageInfo.md
docs/PhoneNumberLookupApi.md
docs/PriorityEnum.md
docs/ProductTypeEnum.md
docs/RbmActionBase.md
docs/RbmActionDial.md
docs/RbmActionOpenUrl.md
Expand Down
1 change: 1 addition & 0 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -239,6 +239,7 @@ Class | Method | HTTP request | Description
- [OptInWorkflow](docs/OptInWorkflow.md)
- [PageInfo](docs/PageInfo.md)
- [PriorityEnum](docs/PriorityEnum.md)
- [ProductTypeEnum](docs/ProductTypeEnum.md)
- [RbmActionBase](docs/RbmActionBase.md)
- [RbmActionDial](docs/RbmActionDial.md)
- [RbmActionOpenUrl](docs/RbmActionOpenUrl.md)
Expand Down
136 changes: 136 additions & 0 deletions bandwidth.yml
Original file line number Diff line number Diff line change
Expand Up @@ -179,6 +179,16 @@ paths:
- $ref: '#/components/parameters/fromDateTime'
- $ref: '#/components/parameters/toDateTime'
- $ref: '#/components/parameters/campaignId'
- $ref: '#/components/parameters/fromBwLatency'
- $ref: '#/components/parameters/bwQueued'
- $ref: '#/components/parameters/product'
- $ref: '#/components/parameters/location'
- $ref: '#/components/parameters/callingNumberCountryA3'
- $ref: '#/components/parameters/calledNumberCountryA3'
- $ref: '#/components/parameters/fromSegmentCount'
- $ref: '#/components/parameters/toSegmentCount'
- $ref: '#/components/parameters/fromMessageSize'
- $ref: '#/components/parameters/toMessageSize'
- $ref: '#/components/parameters/sort'
- $ref: '#/components/parameters/pageToken'
- $ref: '#/components/parameters/limit'
Expand Down Expand Up @@ -1716,7 +1726,22 @@ components:
enum:
- sms
- mms
- rcs
example: sms
productTypeEnum:
type: string
description: The type of product associated with the message.
enum:
- LOCAL_A2P
- P2P
- SHORT_CODE_REACH
- TOLL_FREE
- HOSTED_SHORT_CODE
- ALPHA_NUMERIC
- RBM_MEDIA
- RBM_RICH
- RBM_CONVERSATIONAL
example: P2P
fieldError:
type: object
properties:
Expand Down Expand Up @@ -1819,6 +1844,33 @@ components:
description: The campaign ID of the message if it has one.
nullable: true
example: CJEUMDK
bwLatency:
type: integer
description: >-
The Bandwidth latency of the message in seconds. Only available for
accounts with the Advanced Quality Metrics feature enabled.
nullable: true
example: 20
callingNumberCountryA3:
type: string
description: The A3 country code of the calling number.
nullable: true
example: USA
calledNumberCountryA3:
type: string
description: The A3 country code of the called number.
nullable: true
example: USA
product:
type: string
description: The messaging product associated with the message.
nullable: true
example: P2P
location:
type: string
description: The location ID associated with this message.
nullable: true
example: 123ID
pageInfo:
title: PageInfo
type: object
Expand Down Expand Up @@ -6940,6 +6992,90 @@ components:
example: CJEUMDK
schema:
type: string
fromBwLatency:
in: query
name: fromBwLatency
required: false
description: >-
The minimum Bandwidth latency of the message in seconds. Only available
for accounts with the Advanced Quality Metrics feature enabled.
example: 5
schema:
type: integer
bwQueued:
in: query
name: bwQueued
required: false
description: >-
A boolean value indicating whether the message is queued in the
Bandwidth network.
example: true
schema:
type: boolean
product:
in: query
name: product
required: false
description: Messaging product associated with the message.
example: P2P
schema:
$ref: '#/components/schemas/productTypeEnum'
location:
in: query
name: location
required: false
description: Location Id associated with the message.
example: 123ABC
schema:
type: string
callingNumberCountryA3:
in: query
name: callingNumberCountryA3
required: false
description: Calling number country in A3 format.
example: USA
schema:
type: string
calledNumberCountryA3:
in: query
name: calledNumberCountryA3
required: false
description: Called number country in A3 format.
example: USA
schema:
type: string
fromSegmentCount:
in: query
name: fromSegmentCount
required: false
description: Segment count (start range).
example: 1
schema:
type: integer
toSegmentCount:
in: query
name: toSegmentCount
required: false
description: Segment count (end range).
example: 3
schema:
type: integer
fromMessageSize:
in: query
name: fromMessageSize
required: false
description: Message size (start range).
example: 100
schema:
type: integer
toMessageSize:
in: query
name: toMessageSize
required: false
description: Message size (end range).
example: 120
schema:
type: integer
sort:
in: query
name: sort
Expand Down
1 change: 1 addition & 0 deletions bandwidth/__init__.py
Original file line number Diff line number Diff line change
Expand Up @@ -131,6 +131,7 @@
from bandwidth.models.opt_in_workflow import OptInWorkflow
from bandwidth.models.page_info import PageInfo
from bandwidth.models.priority_enum import PriorityEnum
from bandwidth.models.product_type_enum import ProductTypeEnum
from bandwidth.models.rbm_action_base import RbmActionBase
from bandwidth.models.rbm_action_dial import RbmActionDial
from bandwidth.models.rbm_action_open_url import RbmActionOpenUrl
Expand Down
Loading
Loading