Skip to content

Commit 286064c

Browse files
band-swi-release-engineering[bot]DX-Bandwidthckoegel
authored
SWI-8411 Update SDK Based on Recent Spec Changes (#158)
* Generate SDK with OpenAPI Generator Version * update Test.Sdk version * tests * downgrade test.sdk * try newer version * even newer? --------- Co-authored-by: DX-Bandwidth <[email protected]> Co-authored-by: ckoegel <[email protected]>
1 parent 7f48e42 commit 286064c

18 files changed

+882
-27
lines changed

.openapi-generator/FILES

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -98,6 +98,7 @@ docs/OptInWorkflow.md
9898
docs/PageInfo.md
9999
docs/PhoneNumberLookupApi.md
100100
docs/PriorityEnum.md
101+
docs/ProductTypeEnum.md
101102
docs/RbmActionBase.md
102103
docs/RbmActionDial.md
103104
docs/RbmActionOpenUrl.md
@@ -282,6 +283,7 @@ src/Bandwidth.Standard/Model/MultiChannelMessageResponseDataChannelListInner.cs
282283
src/Bandwidth.Standard/Model/OptInWorkflow.cs
283284
src/Bandwidth.Standard/Model/PageInfo.cs
284285
src/Bandwidth.Standard/Model/PriorityEnum.cs
286+
src/Bandwidth.Standard/Model/ProductTypeEnum.cs
285287
src/Bandwidth.Standard/Model/RbmActionBase.cs
286288
src/Bandwidth.Standard/Model/RbmActionDial.cs
287289
src/Bandwidth.Standard/Model/RbmActionOpenUrl.cs

Bandwidth.Standard.sln

Lines changed: 5 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -2,7 +2,7 @@ Microsoft Visual Studio Solution File, Format Version 12.00
22
# Visual Studio 14
33
VisualStudioVersion = 14.0.25420.1
44
MinimumVisualStudioVersion = 10.0.40219.1
5-
Project("{FAE04EC0-301F-11D3-BF4B-00C04F79EFBC}") = "Bandwidth.Standard", "src\Bandwidth.Standard\Bandwidth.Standard.csproj", "{5369BDE8-E89E-4A47-BF1B-915C8C23CB7C}"
5+
Project("{FAE04EC0-301F-11D3-BF4B-00C04F79EFBC}") = "Bandwidth.Standard", "src\Bandwidth.Standard\Bandwidth.Standard.csproj", "{30B96883-C571-497C-8A61-1A38A3690AFC}"
66
EndProject
77
Project("{FAE04EC0-301F-11D3-BF4B-00C04F79EFBC}") = "Bandwidth.Standard.Test", "src\Bandwidth.Standard.Test\Bandwidth.Standard.Test.csproj", "{19F1DEBC-DE5E-4517-8062-F000CD499087}"
88
EndProject
@@ -12,10 +12,10 @@ Global
1212
Release|Any CPU = Release|Any CPU
1313
EndGlobalSection
1414
GlobalSection(ProjectConfigurationPlatforms) = postSolution
15-
{5369BDE8-E89E-4A47-BF1B-915C8C23CB7C}.Debug|Any CPU.ActiveCfg = Debug|Any CPU
16-
{5369BDE8-E89E-4A47-BF1B-915C8C23CB7C}.Debug|Any CPU.Build.0 = Debug|Any CPU
17-
{5369BDE8-E89E-4A47-BF1B-915C8C23CB7C}.Release|Any CPU.ActiveCfg = Release|Any CPU
18-
{5369BDE8-E89E-4A47-BF1B-915C8C23CB7C}.Release|Any CPU.Build.0 = Release|Any CPU
15+
{30B96883-C571-497C-8A61-1A38A3690AFC}.Debug|Any CPU.ActiveCfg = Debug|Any CPU
16+
{30B96883-C571-497C-8A61-1A38A3690AFC}.Debug|Any CPU.Build.0 = Debug|Any CPU
17+
{30B96883-C571-497C-8A61-1A38A3690AFC}.Release|Any CPU.ActiveCfg = Release|Any CPU
18+
{30B96883-C571-497C-8A61-1A38A3690AFC}.Release|Any CPU.Build.0 = Release|Any CPU
1919
{19F1DEBC-DE5E-4517-8062-F000CD499087}.Debug|Any CPU.ActiveCfg = Debug|Any CPU
2020
{19F1DEBC-DE5E-4517-8062-F000CD499087}.Debug|Any CPU.Build.0 = Debug|Any CPU
2121
{19F1DEBC-DE5E-4517-8062-F000CD499087}.Release|Any CPU.ActiveCfg = Release|Any CPU

README.md

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -251,6 +251,7 @@ Class | Method | HTTP request | Description
251251
- [Model.OptInWorkflow](docs/OptInWorkflow.md)
252252
- [Model.PageInfo](docs/PageInfo.md)
253253
- [Model.PriorityEnum](docs/PriorityEnum.md)
254+
- [Model.ProductTypeEnum](docs/ProductTypeEnum.md)
254255
- [Model.RbmActionBase](docs/RbmActionBase.md)
255256
- [Model.RbmActionDial](docs/RbmActionDial.md)
256257
- [Model.RbmActionOpenUrl](docs/RbmActionOpenUrl.md)

api/openapi.yaml

Lines changed: 252 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -511,6 +511,98 @@ paths:
511511
schema:
512512
type: string
513513
style: form
514+
- description: The minimum Bandwidth latency of the message in seconds. Only
515+
available for accounts with the Advanced Quality Metrics feature enabled.
516+
example: 5
517+
explode: true
518+
in: query
519+
name: fromBwLatency
520+
required: false
521+
schema:
522+
type: integer
523+
style: form
524+
- description: A boolean value indicating whether the message is queued in the
525+
Bandwidth network.
526+
example: true
527+
explode: true
528+
in: query
529+
name: bwQueued
530+
required: false
531+
schema:
532+
type: boolean
533+
style: form
534+
- description: Messaging product associated with the message.
535+
example: P2P
536+
explode: true
537+
in: query
538+
name: product
539+
required: false
540+
schema:
541+
$ref: '#/components/schemas/productTypeEnum'
542+
style: form
543+
- description: Location Id associated with the message.
544+
example: 123ABC
545+
explode: true
546+
in: query
547+
name: location
548+
required: false
549+
schema:
550+
type: string
551+
style: form
552+
- description: Calling number country in A3 format.
553+
example: USA
554+
explode: true
555+
in: query
556+
name: callingNumberCountryA3
557+
required: false
558+
schema:
559+
type: string
560+
style: form
561+
- description: Called number country in A3 format.
562+
example: USA
563+
explode: true
564+
in: query
565+
name: calledNumberCountryA3
566+
required: false
567+
schema:
568+
type: string
569+
style: form
570+
- description: Segment count (start range).
571+
example: 1
572+
explode: true
573+
in: query
574+
name: fromSegmentCount
575+
required: false
576+
schema:
577+
type: integer
578+
style: form
579+
- description: Segment count (end range).
580+
example: 3
581+
explode: true
582+
in: query
583+
name: toSegmentCount
584+
required: false
585+
schema:
586+
type: integer
587+
style: form
588+
- description: Message size (start range).
589+
example: 100
590+
explode: true
591+
in: query
592+
name: fromMessageSize
593+
required: false
594+
schema:
595+
type: integer
596+
style: form
597+
- description: Message size (end range).
598+
example: 120
599+
explode: true
600+
in: query
601+
name: toMessageSize
602+
required: false
603+
schema:
604+
type: integer
605+
style: form
514606
- description: The field and direction to sort by combined with a colon. Direction
515607
is either asc or desc.
516608
example: sourceTn:desc
@@ -6237,6 +6329,108 @@ components:
62376329
schema:
62386330
type: string
62396331
style: form
6332+
fromBwLatency:
6333+
description: The minimum Bandwidth latency of the message in seconds. Only available
6334+
for accounts with the Advanced Quality Metrics feature enabled.
6335+
example: 5
6336+
explode: true
6337+
in: query
6338+
name: fromBwLatency
6339+
required: false
6340+
schema:
6341+
type: integer
6342+
style: form
6343+
bwQueued:
6344+
description: A boolean value indicating whether the message is queued in the
6345+
Bandwidth network.
6346+
example: true
6347+
explode: true
6348+
in: query
6349+
name: bwQueued
6350+
required: false
6351+
schema:
6352+
type: boolean
6353+
style: form
6354+
product:
6355+
description: Messaging product associated with the message.
6356+
example: P2P
6357+
explode: true
6358+
in: query
6359+
name: product
6360+
required: false
6361+
schema:
6362+
$ref: '#/components/schemas/productTypeEnum'
6363+
style: form
6364+
location:
6365+
description: Location Id associated with the message.
6366+
example: 123ABC
6367+
explode: true
6368+
in: query
6369+
name: location
6370+
required: false
6371+
schema:
6372+
type: string
6373+
style: form
6374+
callingNumberCountryA3:
6375+
description: Calling number country in A3 format.
6376+
example: USA
6377+
explode: true
6378+
in: query
6379+
name: callingNumberCountryA3
6380+
required: false
6381+
schema:
6382+
type: string
6383+
style: form
6384+
calledNumberCountryA3:
6385+
description: Called number country in A3 format.
6386+
example: USA
6387+
explode: true
6388+
in: query
6389+
name: calledNumberCountryA3
6390+
required: false
6391+
schema:
6392+
type: string
6393+
style: form
6394+
fromSegmentCount:
6395+
description: Segment count (start range).
6396+
example: 1
6397+
explode: true
6398+
in: query
6399+
name: fromSegmentCount
6400+
required: false
6401+
schema:
6402+
type: integer
6403+
style: form
6404+
toSegmentCount:
6405+
description: Segment count (end range).
6406+
example: 3
6407+
explode: true
6408+
in: query
6409+
name: toSegmentCount
6410+
required: false
6411+
schema:
6412+
type: integer
6413+
style: form
6414+
fromMessageSize:
6415+
description: Message size (start range).
6416+
example: 100
6417+
explode: true
6418+
in: query
6419+
name: fromMessageSize
6420+
required: false
6421+
schema:
6422+
type: integer
6423+
style: form
6424+
toMessageSize:
6425+
description: Message size (end range).
6426+
example: 120
6427+
explode: true
6428+
in: query
6429+
name: toMessageSize
6430+
required: false
6431+
schema:
6432+
type: integer
6433+
style: form
62406434
sort:
62416435
description: The field and direction to sort by combined with a colon. Direction
62426436
is either asc or desc.
@@ -7586,8 +7780,23 @@ components:
75867780
enum:
75877781
- sms
75887782
- mms
7783+
- rcs
75897784
example: sms
75907785
type: string
7786+
productTypeEnum:
7787+
description: The type of product associated with the message.
7788+
enum:
7789+
- LOCAL_A2P
7790+
- P2P
7791+
- SHORT_CODE_REACH
7792+
- TOLL_FREE
7793+
- HOSTED_SHORT_CODE
7794+
- ALPHA_NUMERIC
7795+
- RBM_MEDIA
7796+
- RBM_RICH
7797+
- RBM_CONVERSATIONAL
7798+
example: P2P
7799+
type: string
75917800
fieldError:
75927801
example:
75937802
fieldName: from
@@ -7612,11 +7821,14 @@ components:
76127821
nextPageToken: GL83PD3C
76137822
prevPage: https://messaging.bandwidth.com/api/v2/users/accountId/messages?messageStatus=DLR_EXPIRED&nextPage=DLAPE902
76147823
messages:
7615-
- sourceTn: "+15554443333"
7824+
- callingNumberCountryA3: USA
7825+
product: P2P
7826+
sourceTn: "+15554443333"
76167827
messageLength: 18
76177828
campaignId: CJEUMDK
76187829
messageId: 1589228074636lm4k2je7j7jklbn2
76197830
errorCode: 9902
7831+
calledNumberCountryA3: USA
76207832
destinationTn: "+15554442222"
76217833
segmentCount: 1
76227834
messageStatus: RECEIVED
@@ -7627,13 +7839,18 @@ components:
76277839
carrierName: other
76287840
recipientCount: 1
76297841
campaignClass: T
7842+
bwLatency: 20
76307843
attachmentCount: 1
7844+
location: 123ID
76317845
messageSize: 27
7632-
- sourceTn: "+15554443333"
7846+
- callingNumberCountryA3: USA
7847+
product: P2P
7848+
sourceTn: "+15554443333"
76337849
messageLength: 18
76347850
campaignId: CJEUMDK
76357851
messageId: 1589228074636lm4k2je7j7jklbn2
76367852
errorCode: 9902
7853+
calledNumberCountryA3: USA
76377854
destinationTn: "+15554442222"
76387855
segmentCount: 1
76397856
messageStatus: RECEIVED
@@ -7644,7 +7861,9 @@ components:
76447861
carrierName: other
76457862
recipientCount: 1
76467863
campaignClass: T
7864+
bwLatency: 20
76477865
attachmentCount: 1
7866+
location: 123ID
76487867
messageSize: 27
76497868
totalCount: 100
76507869
properties:
@@ -7663,11 +7882,14 @@ components:
76637882
type: object
76647883
listMessageItem:
76657884
example:
7885+
callingNumberCountryA3: USA
7886+
product: P2P
76667887
sourceTn: "+15554443333"
76677888
messageLength: 18
76687889
campaignId: CJEUMDK
76697890
messageId: 1589228074636lm4k2je7j7jklbn2
76707891
errorCode: 9902
7892+
calledNumberCountryA3: USA
76717893
destinationTn: "+15554442222"
76727894
segmentCount: 1
76737895
messageStatus: RECEIVED
@@ -7678,7 +7900,9 @@ components:
76787900
carrierName: other
76797901
recipientCount: 1
76807902
campaignClass: T
7903+
bwLatency: 20
76817904
attachmentCount: 1
7905+
location: 123ID
76827906
messageSize: 27
76837907
properties:
76847908
messageId:
@@ -7752,6 +7976,32 @@ components:
77527976
example: CJEUMDK
77537977
nullable: true
77547978
type: string
7979+
bwLatency:
7980+
description: The Bandwidth latency of the message in seconds. Only available
7981+
for accounts with the Advanced Quality Metrics feature enabled.
7982+
example: 20
7983+
nullable: true
7984+
type: integer
7985+
callingNumberCountryA3:
7986+
description: The A3 country code of the calling number.
7987+
example: USA
7988+
nullable: true
7989+
type: string
7990+
calledNumberCountryA3:
7991+
description: The A3 country code of the called number.
7992+
example: USA
7993+
nullable: true
7994+
type: string
7995+
product:
7996+
description: The messaging product associated with the message.
7997+
example: P2P
7998+
nullable: true
7999+
type: string
8000+
location:
8001+
description: The location ID associated with this message.
8002+
example: 123ID
8003+
nullable: true
8004+
type: string
77558005
title: listMessageItem
77568006
type: object
77578007
pageInfo:

0 commit comments

Comments
 (0)