Skip to content

SWI-8411 Update SDK Based on Recent Spec Changes #158

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 @@ -98,6 +98,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 Expand Up @@ -282,6 +283,7 @@ src/Bandwidth.Standard/Model/MultiChannelMessageResponseDataChannelListInner.cs
src/Bandwidth.Standard/Model/OptInWorkflow.cs
src/Bandwidth.Standard/Model/PageInfo.cs
src/Bandwidth.Standard/Model/PriorityEnum.cs
src/Bandwidth.Standard/Model/ProductTypeEnum.cs
src/Bandwidth.Standard/Model/RbmActionBase.cs
src/Bandwidth.Standard/Model/RbmActionDial.cs
src/Bandwidth.Standard/Model/RbmActionOpenUrl.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", "{5369BDE8-E89E-4A47-BF1B-915C8C23CB7C}"
Project("{FAE04EC0-301F-11D3-BF4B-00C04F79EFBC}") = "Bandwidth.Standard", "src\Bandwidth.Standard\Bandwidth.Standard.csproj", "{30B96883-C571-497C-8A61-1A38A3690AFC}"
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
{5369BDE8-E89E-4A47-BF1B-915C8C23CB7C}.Debug|Any CPU.ActiveCfg = Debug|Any CPU
{5369BDE8-E89E-4A47-BF1B-915C8C23CB7C}.Debug|Any CPU.Build.0 = Debug|Any CPU
{5369BDE8-E89E-4A47-BF1B-915C8C23CB7C}.Release|Any CPU.ActiveCfg = Release|Any CPU
{5369BDE8-E89E-4A47-BF1B-915C8C23CB7C}.Release|Any CPU.Build.0 = Release|Any CPU
{30B96883-C571-497C-8A61-1A38A3690AFC}.Debug|Any CPU.ActiveCfg = Debug|Any CPU
{30B96883-C571-497C-8A61-1A38A3690AFC}.Debug|Any CPU.Build.0 = Debug|Any CPU
{30B96883-C571-497C-8A61-1A38A3690AFC}.Release|Any CPU.ActiveCfg = Release|Any CPU
{30B96883-C571-497C-8A61-1A38A3690AFC}.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: 1 addition & 0 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -251,6 +251,7 @@ Class | Method | HTTP request | Description
- [Model.OptInWorkflow](docs/OptInWorkflow.md)
- [Model.PageInfo](docs/PageInfo.md)
- [Model.PriorityEnum](docs/PriorityEnum.md)
- [Model.ProductTypeEnum](docs/ProductTypeEnum.md)
- [Model.RbmActionBase](docs/RbmActionBase.md)
- [Model.RbmActionDial](docs/RbmActionDial.md)
- [Model.RbmActionOpenUrl](docs/RbmActionOpenUrl.md)
Expand Down
254 changes: 252 additions & 2 deletions api/openapi.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -511,6 +511,98 @@ paths:
schema:
type: string
style: form
- description: The minimum Bandwidth latency of the message in seconds. Only
available for accounts with the Advanced Quality Metrics feature enabled.
example: 5
explode: true
in: query
name: fromBwLatency
required: false
schema:
type: integer
style: form
- description: A boolean value indicating whether the message is queued in the
Bandwidth network.
example: true
explode: true
in: query
name: bwQueued
required: false
schema:
type: boolean
style: form
- description: Messaging product associated with the message.
example: P2P
explode: true
in: query
name: product
required: false
schema:
$ref: '#/components/schemas/productTypeEnum'
style: form
- description: Location Id associated with the message.
example: 123ABC
explode: true
in: query
name: location
required: false
schema:
type: string
style: form
- description: Calling number country in A3 format.
example: USA
explode: true
in: query
name: callingNumberCountryA3
required: false
schema:
type: string
style: form
- description: Called number country in A3 format.
example: USA
explode: true
in: query
name: calledNumberCountryA3
required: false
schema:
type: string
style: form
- description: Segment count (start range).
example: 1
explode: true
in: query
name: fromSegmentCount
required: false
schema:
type: integer
style: form
- description: Segment count (end range).
example: 3
explode: true
in: query
name: toSegmentCount
required: false
schema:
type: integer
style: form
- description: Message size (start range).
example: 100
explode: true
in: query
name: fromMessageSize
required: false
schema:
type: integer
style: form
- description: Message size (end range).
example: 120
explode: true
in: query
name: toMessageSize
required: false
schema:
type: integer
style: form
- description: The field and direction to sort by combined with a colon. Direction
is either asc or desc.
example: sourceTn:desc
Expand Down Expand Up @@ -6237,6 +6329,108 @@ components:
schema:
type: string
style: form
fromBwLatency:
description: The minimum Bandwidth latency of the message in seconds. Only available
for accounts with the Advanced Quality Metrics feature enabled.
example: 5
explode: true
in: query
name: fromBwLatency
required: false
schema:
type: integer
style: form
bwQueued:
description: A boolean value indicating whether the message is queued in the
Bandwidth network.
example: true
explode: true
in: query
name: bwQueued
required: false
schema:
type: boolean
style: form
product:
description: Messaging product associated with the message.
example: P2P
explode: true
in: query
name: product
required: false
schema:
$ref: '#/components/schemas/productTypeEnum'
style: form
location:
description: Location Id associated with the message.
example: 123ABC
explode: true
in: query
name: location
required: false
schema:
type: string
style: form
callingNumberCountryA3:
description: Calling number country in A3 format.
example: USA
explode: true
in: query
name: callingNumberCountryA3
required: false
schema:
type: string
style: form
calledNumberCountryA3:
description: Called number country in A3 format.
example: USA
explode: true
in: query
name: calledNumberCountryA3
required: false
schema:
type: string
style: form
fromSegmentCount:
description: Segment count (start range).
example: 1
explode: true
in: query
name: fromSegmentCount
required: false
schema:
type: integer
style: form
toSegmentCount:
description: Segment count (end range).
example: 3
explode: true
in: query
name: toSegmentCount
required: false
schema:
type: integer
style: form
fromMessageSize:
description: Message size (start range).
example: 100
explode: true
in: query
name: fromMessageSize
required: false
schema:
type: integer
style: form
toMessageSize:
description: Message size (end range).
example: 120
explode: true
in: query
name: toMessageSize
required: false
schema:
type: integer
style: form
sort:
description: The field and direction to sort by combined with a colon. Direction
is either asc or desc.
Expand Down Expand Up @@ -7586,8 +7780,23 @@ components:
enum:
- sms
- mms
- rcs
example: sms
type: string
productTypeEnum:
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
type: string
fieldError:
example:
fieldName: from
Expand All @@ -7612,11 +7821,14 @@ components:
nextPageToken: GL83PD3C
prevPage: https://messaging.bandwidth.com/api/v2/users/accountId/messages?messageStatus=DLR_EXPIRED&nextPage=DLAPE902
messages:
- sourceTn: "+15554443333"
- callingNumberCountryA3: USA
product: P2P
sourceTn: "+15554443333"
messageLength: 18
campaignId: CJEUMDK
messageId: 1589228074636lm4k2je7j7jklbn2
errorCode: 9902
calledNumberCountryA3: USA
destinationTn: "+15554442222"
segmentCount: 1
messageStatus: RECEIVED
Expand All @@ -7627,13 +7839,18 @@ components:
carrierName: other
recipientCount: 1
campaignClass: T
bwLatency: 20
attachmentCount: 1
location: 123ID
messageSize: 27
- sourceTn: "+15554443333"
- callingNumberCountryA3: USA
product: P2P
sourceTn: "+15554443333"
messageLength: 18
campaignId: CJEUMDK
messageId: 1589228074636lm4k2je7j7jklbn2
errorCode: 9902
calledNumberCountryA3: USA
destinationTn: "+15554442222"
segmentCount: 1
messageStatus: RECEIVED
Expand All @@ -7644,7 +7861,9 @@ components:
carrierName: other
recipientCount: 1
campaignClass: T
bwLatency: 20
attachmentCount: 1
location: 123ID
messageSize: 27
totalCount: 100
properties:
Expand All @@ -7663,11 +7882,14 @@ components:
type: object
listMessageItem:
example:
callingNumberCountryA3: USA
product: P2P
sourceTn: "+15554443333"
messageLength: 18
campaignId: CJEUMDK
messageId: 1589228074636lm4k2je7j7jklbn2
errorCode: 9902
calledNumberCountryA3: USA
destinationTn: "+15554442222"
segmentCount: 1
messageStatus: RECEIVED
Expand All @@ -7678,7 +7900,9 @@ components:
carrierName: other
recipientCount: 1
campaignClass: T
bwLatency: 20
attachmentCount: 1
location: 123ID
messageSize: 27
properties:
messageId:
Expand Down Expand Up @@ -7752,6 +7976,32 @@ components:
example: CJEUMDK
nullable: true
type: string
bwLatency:
description: The Bandwidth latency of the message in seconds. Only available
for accounts with the Advanced Quality Metrics feature enabled.
example: 20
nullable: true
type: integer
callingNumberCountryA3:
description: The A3 country code of the calling number.
example: USA
nullable: true
type: string
calledNumberCountryA3:
description: The A3 country code of the called number.
example: USA
nullable: true
type: string
product:
description: The messaging product associated with the message.
example: P2P
nullable: true
type: string
location:
description: The location ID associated with this message.
example: 123ID
nullable: true
type: string
title: listMessageItem
type: object
pageInfo:
Expand Down
Loading
Loading