Skip to content

Commit 1d8f756

Browse files
band-swi-release-engineering[bot]DX-Bandwidthckoegel
authored
SWI-8326 Update SDK Based on Recent Spec Changes (#156)
* Generate SDK with OpenAPI Generator Version * remove old docs * remove old models * remove old tests * fix unit tests * new tfv unit test * new unit tests * dont use collection expressions * remove other collections expressions and empty whitespace --------- Co-authored-by: DX-Bandwidth <dx@bandwidth.com> Co-authored-by: ckoegel <ckoegel1006@gmail.com>
1 parent 716683f commit 1d8f756

File tree

115 files changed

+5112
-1955
lines changed

Some content is hidden

Large Commits have some content hidden by default. Use the searchbox below for content that may be hidden.

115 files changed

+5112
-1955
lines changed

.openapi-generator/FILES

Lines changed: 30 additions & 18 deletions
Original file line numberDiff line numberDiff line change
@@ -18,8 +18,8 @@ docs/CallTranscriptionDetectedLanguageEnum.md
1818
docs/CallTranscriptionMetadata.md
1919
docs/CallTranscriptionResponse.md
2020
docs/CallTranscriptionTrackEnum.md
21+
docs/Callback.md
2122
docs/CallbackMethodEnum.md
22-
docs/CallbackTypeEnum.md
2323
docs/CallsApi.md
2424
docs/CardWidthEnum.md
2525
docs/CodeRequest.md
@@ -40,16 +40,19 @@ docs/CreateCallResponse.md
4040
docs/CreateLookupResponse.md
4141
docs/CreateMessageRequestError.md
4242
docs/CreateMultiChannelMessageResponse.md
43-
docs/DeferredResult.md
4443
docs/DisconnectCallback.md
4544
docs/Diversion.md
4645
docs/DtmfCallback.md
4746
docs/Error.md
4847
docs/ErrorObject.md
48+
docs/ErrorSource.md
4949
docs/FailureWebhook.md
5050
docs/FieldError.md
5151
docs/FileFormatEnum.md
5252
docs/GatherCallback.md
53+
docs/InboundCallback.md
54+
docs/InboundCallbackMessage.md
55+
docs/InboundCallbackTypeEnum.md
5356
docs/InitiateCallback.md
5457
docs/Link.md
5558
docs/LinksObject.md
@@ -67,8 +70,6 @@ docs/MachineDetectionResult.md
6770
docs/Media.md
6871
docs/MediaApi.md
6972
docs/Message.md
70-
docs/MessageCallback.md
71-
docs/MessageCallbackMessage.md
7273
docs/MessageDirectionEnum.md
7374
docs/MessageRequest.md
7475
docs/MessageStatusEnum.md
@@ -81,18 +82,18 @@ docs/MfaForbiddenRequestError.md
8182
docs/MfaRequestError.md
8283
docs/MfaUnauthorizedRequestError.md
8384
docs/MmsMessageContent.md
85+
docs/MmsMessageContentFile.md
8486
docs/MultiChannelAction.md
8587
docs/MultiChannelActionCalendarEvent.md
8688
docs/MultiChannelApi.md
87-
docs/MultiChannelCallbackData.md
8889
docs/MultiChannelChannelListObject.md
8990
docs/MultiChannelChannelListObjectContent.md
90-
docs/MultiChannelMessageCallbackData.md
91+
docs/MultiChannelError.md
9192
docs/MultiChannelMessageChannelEnum.md
92-
docs/MultiChannelMessageData.md
93-
docs/MultiChannelMessageDirectionEnum.md
93+
docs/MultiChannelMessageContent.md
9494
docs/MultiChannelMessageRequest.md
95-
docs/MultiChannelStatusEnum.md
95+
docs/MultiChannelMessageResponseData.md
96+
docs/MultiChannelMessageResponseDataChannelListInner.md
9697
docs/OptInWorkflow.md
9798
docs/PageInfo.md
9899
docs/PhoneNumberLookupApi.md
@@ -104,13 +105,15 @@ docs/RbmActionTypeEnum.md
104105
docs/RbmActionViewLocation.md
105106
docs/RbmCardContent.md
106107
docs/RbmCardContentMedia.md
108+
docs/RbmLocationResponse.md
107109
docs/RbmMediaHeightEnum.md
108110
docs/RbmMessageCarouselCard.md
109111
docs/RbmMessageContentFile.md
110112
docs/RbmMessageContentRichCard.md
111113
docs/RbmMessageContentText.md
112114
docs/RbmMessageMedia.md
113115
docs/RbmStandaloneCard.md
116+
docs/RbmSuggestionResponse.md
114117
docs/RecordingAvailableCallback.md
115118
docs/RecordingCompleteCallback.md
116119
docs/RecordingStateEnum.md
@@ -122,6 +125,9 @@ docs/RedirectMethodEnum.md
122125
docs/SmsMessageContent.md
123126
docs/StandaloneCardOrientationEnum.md
124127
docs/StatisticsApi.md
128+
docs/StatusCallback.md
129+
docs/StatusCallbackMessage.md
130+
docs/StatusCallbackTypeEnum.md
125131
docs/StirShaken.md
126132
docs/TelephoneNumber.md
127133
docs/TfvBasicAuthentication.md
@@ -203,8 +209,8 @@ src/Bandwidth.Standard/Model/CallTranscriptionDetectedLanguageEnum.cs
203209
src/Bandwidth.Standard/Model/CallTranscriptionMetadata.cs
204210
src/Bandwidth.Standard/Model/CallTranscriptionResponse.cs
205211
src/Bandwidth.Standard/Model/CallTranscriptionTrackEnum.cs
212+
src/Bandwidth.Standard/Model/Callback.cs
206213
src/Bandwidth.Standard/Model/CallbackMethodEnum.cs
207-
src/Bandwidth.Standard/Model/CallbackTypeEnum.cs
208214
src/Bandwidth.Standard/Model/CardWidthEnum.cs
209215
src/Bandwidth.Standard/Model/CodeRequest.cs
210216
src/Bandwidth.Standard/Model/Conference.cs
@@ -223,16 +229,19 @@ src/Bandwidth.Standard/Model/CreateCallResponse.cs
223229
src/Bandwidth.Standard/Model/CreateLookupResponse.cs
224230
src/Bandwidth.Standard/Model/CreateMessageRequestError.cs
225231
src/Bandwidth.Standard/Model/CreateMultiChannelMessageResponse.cs
226-
src/Bandwidth.Standard/Model/DeferredResult.cs
227232
src/Bandwidth.Standard/Model/DisconnectCallback.cs
228233
src/Bandwidth.Standard/Model/Diversion.cs
229234
src/Bandwidth.Standard/Model/DtmfCallback.cs
230235
src/Bandwidth.Standard/Model/Error.cs
231236
src/Bandwidth.Standard/Model/ErrorObject.cs
237+
src/Bandwidth.Standard/Model/ErrorSource.cs
232238
src/Bandwidth.Standard/Model/FailureWebhook.cs
233239
src/Bandwidth.Standard/Model/FieldError.cs
234240
src/Bandwidth.Standard/Model/FileFormatEnum.cs
235241
src/Bandwidth.Standard/Model/GatherCallback.cs
242+
src/Bandwidth.Standard/Model/InboundCallback.cs
243+
src/Bandwidth.Standard/Model/InboundCallbackMessage.cs
244+
src/Bandwidth.Standard/Model/InboundCallbackTypeEnum.cs
236245
src/Bandwidth.Standard/Model/InitiateCallback.cs
237246
src/Bandwidth.Standard/Model/Link.cs
238247
src/Bandwidth.Standard/Model/LinksObject.cs
@@ -248,8 +257,6 @@ src/Bandwidth.Standard/Model/MachineDetectionModeEnum.cs
248257
src/Bandwidth.Standard/Model/MachineDetectionResult.cs
249258
src/Bandwidth.Standard/Model/Media.cs
250259
src/Bandwidth.Standard/Model/Message.cs
251-
src/Bandwidth.Standard/Model/MessageCallback.cs
252-
src/Bandwidth.Standard/Model/MessageCallbackMessage.cs
253260
src/Bandwidth.Standard/Model/MessageDirectionEnum.cs
254261
src/Bandwidth.Standard/Model/MessageRequest.cs
255262
src/Bandwidth.Standard/Model/MessageStatusEnum.cs
@@ -261,17 +268,17 @@ src/Bandwidth.Standard/Model/MfaForbiddenRequestError.cs
261268
src/Bandwidth.Standard/Model/MfaRequestError.cs
262269
src/Bandwidth.Standard/Model/MfaUnauthorizedRequestError.cs
263270
src/Bandwidth.Standard/Model/MmsMessageContent.cs
271+
src/Bandwidth.Standard/Model/MmsMessageContentFile.cs
264272
src/Bandwidth.Standard/Model/MultiChannelAction.cs
265273
src/Bandwidth.Standard/Model/MultiChannelActionCalendarEvent.cs
266-
src/Bandwidth.Standard/Model/MultiChannelCallbackData.cs
267274
src/Bandwidth.Standard/Model/MultiChannelChannelListObject.cs
268275
src/Bandwidth.Standard/Model/MultiChannelChannelListObjectContent.cs
269-
src/Bandwidth.Standard/Model/MultiChannelMessageCallbackData.cs
276+
src/Bandwidth.Standard/Model/MultiChannelError.cs
270277
src/Bandwidth.Standard/Model/MultiChannelMessageChannelEnum.cs
271-
src/Bandwidth.Standard/Model/MultiChannelMessageData.cs
272-
src/Bandwidth.Standard/Model/MultiChannelMessageDirectionEnum.cs
278+
src/Bandwidth.Standard/Model/MultiChannelMessageContent.cs
273279
src/Bandwidth.Standard/Model/MultiChannelMessageRequest.cs
274-
src/Bandwidth.Standard/Model/MultiChannelStatusEnum.cs
280+
src/Bandwidth.Standard/Model/MultiChannelMessageResponseData.cs
281+
src/Bandwidth.Standard/Model/MultiChannelMessageResponseDataChannelListInner.cs
275282
src/Bandwidth.Standard/Model/OptInWorkflow.cs
276283
src/Bandwidth.Standard/Model/PageInfo.cs
277284
src/Bandwidth.Standard/Model/PriorityEnum.cs
@@ -282,13 +289,15 @@ src/Bandwidth.Standard/Model/RbmActionTypeEnum.cs
282289
src/Bandwidth.Standard/Model/RbmActionViewLocation.cs
283290
src/Bandwidth.Standard/Model/RbmCardContent.cs
284291
src/Bandwidth.Standard/Model/RbmCardContentMedia.cs
292+
src/Bandwidth.Standard/Model/RbmLocationResponse.cs
285293
src/Bandwidth.Standard/Model/RbmMediaHeightEnum.cs
286294
src/Bandwidth.Standard/Model/RbmMessageCarouselCard.cs
287295
src/Bandwidth.Standard/Model/RbmMessageContentFile.cs
288296
src/Bandwidth.Standard/Model/RbmMessageContentRichCard.cs
289297
src/Bandwidth.Standard/Model/RbmMessageContentText.cs
290298
src/Bandwidth.Standard/Model/RbmMessageMedia.cs
291299
src/Bandwidth.Standard/Model/RbmStandaloneCard.cs
300+
src/Bandwidth.Standard/Model/RbmSuggestionResponse.cs
292301
src/Bandwidth.Standard/Model/RecordingAvailableCallback.cs
293302
src/Bandwidth.Standard/Model/RecordingCompleteCallback.cs
294303
src/Bandwidth.Standard/Model/RecordingStateEnum.cs
@@ -298,6 +307,9 @@ src/Bandwidth.Standard/Model/RedirectCallback.cs
298307
src/Bandwidth.Standard/Model/RedirectMethodEnum.cs
299308
src/Bandwidth.Standard/Model/SmsMessageContent.cs
300309
src/Bandwidth.Standard/Model/StandaloneCardOrientationEnum.cs
310+
src/Bandwidth.Standard/Model/StatusCallback.cs
311+
src/Bandwidth.Standard/Model/StatusCallbackMessage.cs
312+
src/Bandwidth.Standard/Model/StatusCallbackTypeEnum.cs
301313
src/Bandwidth.Standard/Model/StirShaken.cs
302314
src/Bandwidth.Standard/Model/TelephoneNumber.cs
303315
src/Bandwidth.Standard/Model/TfvBasicAuthentication.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", "{930D0378-7645-4210-BCE2-A922C3634788}"
5+
Project("{FAE04EC0-301F-11D3-BF4B-00C04F79EFBC}") = "Bandwidth.Standard", "src\Bandwidth.Standard\Bandwidth.Standard.csproj", "{5369BDE8-E89E-4A47-BF1B-915C8C23CB7C}"
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-
{930D0378-7645-4210-BCE2-A922C3634788}.Debug|Any CPU.ActiveCfg = Debug|Any CPU
16-
{930D0378-7645-4210-BCE2-A922C3634788}.Debug|Any CPU.Build.0 = Debug|Any CPU
17-
{930D0378-7645-4210-BCE2-A922C3634788}.Release|Any CPU.ActiveCfg = Release|Any CPU
18-
{930D0378-7645-4210-BCE2-A922C3634788}.Release|Any CPU.Build.0 = Release|Any CPU
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
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: 16 additions & 9 deletions
Original file line numberDiff line numberDiff line change
@@ -146,6 +146,7 @@ Class | Method | HTTP request | Description
146146
*RecordingsApi* | [**UpdateCallRecordingState**](docs/RecordingsApi.md#updatecallrecordingstate) | **PUT** /accounts/{accountId}/calls/{callId}/recording | Update Recording
147147
*StatisticsApi* | [**GetStatistics**](docs/StatisticsApi.md#getstatistics) | **GET** /accounts/{accountId}/statistics | Get Account Statistics
148148
*TollFreeVerificationApi* | [**CreateWebhookSubscription**](docs/TollFreeVerificationApi.md#createwebhooksubscription) | **POST** /accounts/{accountId}/tollFreeVerification/webhooks/subscriptions | Create Webhook Subscription
149+
*TollFreeVerificationApi* | [**DeleteVerificationRequest**](docs/TollFreeVerificationApi.md#deleteverificationrequest) | **DELETE** /accounts/{accountId}/phoneNumbers/{phoneNumber}/tollFreeVerification | Delete a Toll-Free Verification Submission
149150
*TollFreeVerificationApi* | [**DeleteWebhookSubscription**](docs/TollFreeVerificationApi.md#deletewebhooksubscription) | **DELETE** /accounts/{accountId}/tollFreeVerification/webhooks/subscriptions/{id} | Delete Webhook Subscription
150151
*TollFreeVerificationApi* | [**GetTollFreeVerificationStatus**](docs/TollFreeVerificationApi.md#gettollfreeverificationstatus) | **GET** /accounts/{accountId}/phoneNumbers/{phoneNumber}/tollFreeVerification | Get Toll-Free Verification Status
151152
*TollFreeVerificationApi* | [**ListTollFreeUseCases**](docs/TollFreeVerificationApi.md#listtollfreeusecases) | **GET** /tollFreeVerification/useCases | List Toll-Free Use Cases
@@ -177,8 +178,8 @@ Class | Method | HTTP request | Description
177178
- [Model.CallTranscriptionMetadata](docs/CallTranscriptionMetadata.md)
178179
- [Model.CallTranscriptionResponse](docs/CallTranscriptionResponse.md)
179180
- [Model.CallTranscriptionTrackEnum](docs/CallTranscriptionTrackEnum.md)
181+
- [Model.Callback](docs/Callback.md)
180182
- [Model.CallbackMethodEnum](docs/CallbackMethodEnum.md)
181-
- [Model.CallbackTypeEnum](docs/CallbackTypeEnum.md)
182183
- [Model.CardWidthEnum](docs/CardWidthEnum.md)
183184
- [Model.CodeRequest](docs/CodeRequest.md)
184185
- [Model.Conference](docs/Conference.md)
@@ -197,16 +198,19 @@ Class | Method | HTTP request | Description
197198
- [Model.CreateLookupResponse](docs/CreateLookupResponse.md)
198199
- [Model.CreateMessageRequestError](docs/CreateMessageRequestError.md)
199200
- [Model.CreateMultiChannelMessageResponse](docs/CreateMultiChannelMessageResponse.md)
200-
- [Model.DeferredResult](docs/DeferredResult.md)
201201
- [Model.DisconnectCallback](docs/DisconnectCallback.md)
202202
- [Model.Diversion](docs/Diversion.md)
203203
- [Model.DtmfCallback](docs/DtmfCallback.md)
204204
- [Model.Error](docs/Error.md)
205205
- [Model.ErrorObject](docs/ErrorObject.md)
206+
- [Model.ErrorSource](docs/ErrorSource.md)
206207
- [Model.FailureWebhook](docs/FailureWebhook.md)
207208
- [Model.FieldError](docs/FieldError.md)
208209
- [Model.FileFormatEnum](docs/FileFormatEnum.md)
209210
- [Model.GatherCallback](docs/GatherCallback.md)
211+
- [Model.InboundCallback](docs/InboundCallback.md)
212+
- [Model.InboundCallbackMessage](docs/InboundCallbackMessage.md)
213+
- [Model.InboundCallbackTypeEnum](docs/InboundCallbackTypeEnum.md)
210214
- [Model.InitiateCallback](docs/InitiateCallback.md)
211215
- [Model.Link](docs/Link.md)
212216
- [Model.LinksObject](docs/LinksObject.md)
@@ -222,8 +226,6 @@ Class | Method | HTTP request | Description
222226
- [Model.MachineDetectionResult](docs/MachineDetectionResult.md)
223227
- [Model.Media](docs/Media.md)
224228
- [Model.Message](docs/Message.md)
225-
- [Model.MessageCallback](docs/MessageCallback.md)
226-
- [Model.MessageCallbackMessage](docs/MessageCallbackMessage.md)
227229
- [Model.MessageDirectionEnum](docs/MessageDirectionEnum.md)
228230
- [Model.MessageRequest](docs/MessageRequest.md)
229231
- [Model.MessageStatusEnum](docs/MessageStatusEnum.md)
@@ -235,17 +237,17 @@ Class | Method | HTTP request | Description
235237
- [Model.MfaRequestError](docs/MfaRequestError.md)
236238
- [Model.MfaUnauthorizedRequestError](docs/MfaUnauthorizedRequestError.md)
237239
- [Model.MmsMessageContent](docs/MmsMessageContent.md)
240+
- [Model.MmsMessageContentFile](docs/MmsMessageContentFile.md)
238241
- [Model.MultiChannelAction](docs/MultiChannelAction.md)
239242
- [Model.MultiChannelActionCalendarEvent](docs/MultiChannelActionCalendarEvent.md)
240-
- [Model.MultiChannelCallbackData](docs/MultiChannelCallbackData.md)
241243
- [Model.MultiChannelChannelListObject](docs/MultiChannelChannelListObject.md)
242244
- [Model.MultiChannelChannelListObjectContent](docs/MultiChannelChannelListObjectContent.md)
243-
- [Model.MultiChannelMessageCallbackData](docs/MultiChannelMessageCallbackData.md)
245+
- [Model.MultiChannelError](docs/MultiChannelError.md)
244246
- [Model.MultiChannelMessageChannelEnum](docs/MultiChannelMessageChannelEnum.md)
245-
- [Model.MultiChannelMessageData](docs/MultiChannelMessageData.md)
246-
- [Model.MultiChannelMessageDirectionEnum](docs/MultiChannelMessageDirectionEnum.md)
247+
- [Model.MultiChannelMessageContent](docs/MultiChannelMessageContent.md)
247248
- [Model.MultiChannelMessageRequest](docs/MultiChannelMessageRequest.md)
248-
- [Model.MultiChannelStatusEnum](docs/MultiChannelStatusEnum.md)
249+
- [Model.MultiChannelMessageResponseData](docs/MultiChannelMessageResponseData.md)
250+
- [Model.MultiChannelMessageResponseDataChannelListInner](docs/MultiChannelMessageResponseDataChannelListInner.md)
249251
- [Model.OptInWorkflow](docs/OptInWorkflow.md)
250252
- [Model.PageInfo](docs/PageInfo.md)
251253
- [Model.PriorityEnum](docs/PriorityEnum.md)
@@ -256,13 +258,15 @@ Class | Method | HTTP request | Description
256258
- [Model.RbmActionViewLocation](docs/RbmActionViewLocation.md)
257259
- [Model.RbmCardContent](docs/RbmCardContent.md)
258260
- [Model.RbmCardContentMedia](docs/RbmCardContentMedia.md)
261+
- [Model.RbmLocationResponse](docs/RbmLocationResponse.md)
259262
- [Model.RbmMediaHeightEnum](docs/RbmMediaHeightEnum.md)
260263
- [Model.RbmMessageCarouselCard](docs/RbmMessageCarouselCard.md)
261264
- [Model.RbmMessageContentFile](docs/RbmMessageContentFile.md)
262265
- [Model.RbmMessageContentRichCard](docs/RbmMessageContentRichCard.md)
263266
- [Model.RbmMessageContentText](docs/RbmMessageContentText.md)
264267
- [Model.RbmMessageMedia](docs/RbmMessageMedia.md)
265268
- [Model.RbmStandaloneCard](docs/RbmStandaloneCard.md)
269+
- [Model.RbmSuggestionResponse](docs/RbmSuggestionResponse.md)
266270
- [Model.RecordingAvailableCallback](docs/RecordingAvailableCallback.md)
267271
- [Model.RecordingCompleteCallback](docs/RecordingCompleteCallback.md)
268272
- [Model.RecordingStateEnum](docs/RecordingStateEnum.md)
@@ -272,6 +276,9 @@ Class | Method | HTTP request | Description
272276
- [Model.RedirectMethodEnum](docs/RedirectMethodEnum.md)
273277
- [Model.SmsMessageContent](docs/SmsMessageContent.md)
274278
- [Model.StandaloneCardOrientationEnum](docs/StandaloneCardOrientationEnum.md)
279+
- [Model.StatusCallback](docs/StatusCallback.md)
280+
- [Model.StatusCallbackMessage](docs/StatusCallbackMessage.md)
281+
- [Model.StatusCallbackTypeEnum](docs/StatusCallbackTypeEnum.md)
275282
- [Model.StirShaken](docs/StirShaken.md)
276283
- [Model.TelephoneNumber](docs/TelephoneNumber.md)
277284
- [Model.TfvBasicAuthentication](docs/TfvBasicAuthentication.md)

0 commit comments

Comments
 (0)