Skip to content

Commit 42d7d8e

Browse files
band-swi-release-engineering[bot]DX-Bandwidthckoegel
authored
SWI-7950 Update SDK Based on Recent Spec Changes (#189)
* Generate SDK with OpenAPI Generator Version * update windows runner version --------- Co-authored-by: DX-Bandwidth <dx@bandwidth.com> Co-authored-by: ckoegel <ckoegel1006@gmail.com>
1 parent 1f5cd65 commit 42d7d8e

15 files changed

+56
-71
lines changed

.github/workflows/test-pr.yml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -35,7 +35,7 @@ jobs:
3535
runs-on: ${{ matrix.os }}
3636
strategy:
3737
matrix:
38-
os: [windows-2019, windows-2022, ubuntu-22.04, ubuntu-24.04]
38+
os: [windows-2022, windows-2025, ubuntu-22.04, ubuntu-24.04]
3939
java-version: ["11", "17", "21"]
4040
distribution: ["zulu", "temurin"]
4141
fail-fast: false

api/openapi.yaml

Lines changed: 20 additions & 30 deletions
Original file line numberDiff line numberDiff line change
@@ -12207,26 +12207,25 @@ components:
1220712207
type: boolean
1220812208
blocked:
1220912209
description: Whether a Toll-Free Verification is blocked. This attribute will
12210-
only be defined when the number is blocked. (Not Available Until 5/28/2025)
12210+
only be defined when the number is blocked.
1221112211
example: true
1221212212
type: boolean
1221312213
blockedReason:
1221412214
description: The reason why the Toll-Free Verification is blocked. This attribute
12215-
will only be defined when the number is blocked. (Not Available Until 5/28/2025)
12215+
will only be defined when the number is blocked.
1221612216
example: Toll-free number was used to send spam messages
1221712217
type: string
1221812218
privacyPolicyUrl:
12219-
description: The Toll-Free Verification request privacy policy URL. (Not Available
12220-
Until 5/28/2025)
12219+
description: The Toll-Free Verification request privacy policy URL.
1222112220
example: http://your-company.com/privacyPolicy
1222212221
type: string
1222312222
termsAndConditionsUrl:
1222412223
description: The Toll-Free Verification request terms and conditions policy
12225-
URL. (Not Available Until 5/28/2025)
12224+
URL.
1222612225
example: http://your-company.com/termsAndConditions
1222712226
type: string
1222812227
businessDba:
12229-
description: The company 'Doing Business As'. (Not Available Until 5/28/2025)
12228+
description: The company 'Doing Business As'.
1223012229
example: Another Company Name Inc.
1223112230
type: string
1223212231
additionalDenialReason:
@@ -12325,17 +12324,16 @@ components:
1232512324
nullable: true
1232612325
type: string
1232712326
privacyPolicyUrl:
12328-
description: The Toll-Free Verification request privacy policy URL. (Not
12329-
Available Until 5/28/2025)
12327+
description: The Toll-Free Verification request privacy policy URL.
1233012328
example: http://your-company.com/privacyPolicy
1233112329
type: string
1233212330
termsAndConditionsUrl:
1233312331
description: The Toll-Free Verification request terms and conditions policy
12334-
URL. (Not Available Until 5/28/2025)
12332+
URL.
1233512333
example: http://your-company.com/termsAndConditions
1233612334
type: string
1233712335
businessDba:
12338-
description: The company 'Doing Business As'. (Not Available Until 5/28/2025)
12336+
description: The company 'Doing Business As'.
1233912337
example: Another Company Name Inc.
1234012338
type: string
1234112339
required:
@@ -12397,17 +12395,16 @@ components:
1239712395
nullable: true
1239812396
type: string
1239912397
privacyPolicyUrl:
12400-
description: The Toll-Free Verification request privacy policy URL. (Not
12401-
Available Until 5/28/2025)
12398+
description: The Toll-Free Verification request privacy policy URL.
1240212399
example: http://your-company.com/privacyPolicy
1240312400
type: string
1240412401
termsAndConditionsUrl:
1240512402
description: The Toll-Free Verification request terms and conditions policy
12406-
URL. (Not Available Until 5/28/2025)
12403+
URL.
1240712404
example: http://your-company.com/termsAndConditions
1240812405
type: string
1240912406
businessDba:
12410-
description: The company 'Doing Business As'. (Not Available Until 5/28/2025)
12407+
description: The company 'Doing Business As'.
1241112408
example: Another Company Name Inc.
1241212409
type: string
1241312410
required:
@@ -12554,14 +12551,12 @@ components:
1255412551
type: string
1255512552
blocked:
1255612553
description: Whether a Toll-Free Verification is blocked. This attribute
12557-
will only be defined when the number is blocked. (Not Available Until
12558-
5/28/2025)
12554+
will only be defined when the number is blocked.
1255912555
example: true
1256012556
type: boolean
1256112557
blockedReason:
1256212558
description: The reason why the Toll-Free Verification is blocked. This
12563-
attribute will only be defined when the number is blocked. (Not Available
12564-
Until 5/28/2025)
12559+
attribute will only be defined when the number is blocked.
1256512560
example: Toll-free number was used to send spam messages
1256612561
type: string
1256712562
type: object
@@ -12612,14 +12607,12 @@ components:
1261212607
type: string
1261312608
blocked:
1261412609
description: Whether a Toll-Free Verification is blocked. This attribute
12615-
will only be defined when the number is blocked. (Not Available Until
12616-
5/28/2025)
12610+
will only be defined when the number is blocked.
1261712611
example: true
1261812612
type: boolean
1261912613
blockedReason:
1262012614
description: The reason why the Toll-Free Verification is blocked. This
12621-
attribute will only be defined when the number is blocked. (Not Available
12622-
Until 5/28/2025)
12615+
attribute will only be defined when the number is blocked.
1262312616
example: Toll-free number was used to send spam messages
1262412617
type: string
1262512618
type: object
@@ -13109,14 +13102,12 @@ components:
1310913102
$ref: '#/components/schemas/tfvSubmissionInfo'
1311013103
blocked:
1311113104
description: Whether a Toll-Free Verification is blocked. This attribute
13112-
will only be defined when the number is blocked. (Not Available Until
13113-
5/28/2025)
13105+
will only be defined when the number is blocked.
1311413106
example: true
1311513107
type: boolean
1311613108
blockedReason:
1311713109
description: The reason why the Toll-Free Verification is blocked. This
13118-
attribute will only be defined when the number is blocked. (Not Available
13119-
Until 5/28/2025)
13110+
attribute will only be defined when the number is blocked.
1312013111
example: Toll-free number was used to send spam messages
1312113112
type: string
1312213113
type: object
@@ -13197,17 +13188,16 @@ components:
1319713188
nullable: true
1319813189
type: string
1319913190
privacyPolicyUrl:
13200-
description: The Toll-Free Verification request privacy policy URL. (Not
13201-
Available Until 5/28/2025)
13191+
description: The Toll-Free Verification request privacy policy URL.
1320213192
example: http://your-company.com/privacyPolicy
1320313193
type: string
1320413194
termsAndConditionsUrl:
1320513195
description: The Toll-Free Verification request terms and conditions policy
13206-
URL. (Not Available Until 5/28/2025)
13196+
URL.
1320713197
example: http://your-company.com/termsAndConditions
1320813198
type: string
1320913199
businessDba:
13210-
description: The company 'Doing Business As'. (Not Available Until 5/28/2025)
13200+
description: The company 'Doing Business As'.
1321113201
example: Another Company Name Inc.
1321213202
type: string
1321313203
type: object

bandwidth.yml

Lines changed: 5 additions & 10 deletions
Original file line numberDiff line numberDiff line change
@@ -5239,30 +5239,25 @@ components:
52395239
blocked:
52405240
description: >-
52415241
Whether a Toll-Free Verification is blocked. This attribute will only be
5242-
defined when the number is blocked. (Not Available Until 5/28/2025)
5242+
defined when the number is blocked.
52435243
example: true
52445244
type: boolean
52455245
blockedReason:
52465246
description: >-
52475247
The reason why the Toll-Free Verification is blocked. This attribute
5248-
will only be defined when the number is blocked. (Not Available Until
5249-
5/28/2025)
5248+
will only be defined when the number is blocked.
52505249
example: Toll-free number was used to send spam messages
52515250
type: string
52525251
privacyPolicyUrl:
5253-
description: >-
5254-
The Toll-Free Verification request privacy policy URL. (Not Available
5255-
Until 5/28/2025)
5252+
description: The Toll-Free Verification request privacy policy URL.
52565253
example: http://your-company.com/privacyPolicy
52575254
type: string
52585255
termsAndConditionsUrl:
5259-
description: >-
5260-
The Toll-Free Verification request terms and conditions policy URL. (Not
5261-
Available Until 5/28/2025)
5256+
description: The Toll-Free Verification request terms and conditions policy URL.
52625257
example: http://your-company.com/termsAndConditions
52635258
type: string
52645259
businessDba:
5265-
description: The company 'Doing Business As'. (Not Available Until 5/28/2025)
5260+
description: The company 'Doing Business As'.
52665261
example: Another Company Name Inc.
52675262
type: string
52685263
additionalDenialReason:

docs/BlockedWebhook.md

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -11,8 +11,8 @@
1111
|**phoneNumber** | **String** | Toll-free telephone number in E.164 format. | [optional] |
1212
|**status** | **TfvCallbackStatusEnum** | | [optional] |
1313
|**internalTicketNumber** | **UUID** | Unique identifier (UUID) generated by Bandwidth to assist in tracking the verification status of a toll-free number. | [optional] |
14-
|**blocked** | **Boolean** | Whether a Toll-Free Verification is blocked. This attribute will only be defined when the number is blocked. (Not Available Until 5/28/2025) | [optional] |
15-
|**blockedReason** | **String** | The reason why the Toll-Free Verification is blocked. This attribute will only be defined when the number is blocked. (Not Available Until 5/28/2025) | [optional] |
14+
|**blocked** | **Boolean** | Whether a Toll-Free Verification is blocked. This attribute will only be defined when the number is blocked. | [optional] |
15+
|**blockedReason** | **String** | The reason why the Toll-Free Verification is blocked. This attribute will only be defined when the number is blocked. | [optional] |
1616

1717

1818

docs/TfvStatus.md

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -15,8 +15,8 @@
1515
|**createdDateTime** | **OffsetDateTime** | Date and time the verification request was created. | [optional] |
1616
|**modifiedDateTime** | **OffsetDateTime** | Date and time the verification request was last modified. | [optional] |
1717
|**submission** | [**TfvSubmissionInfo**](TfvSubmissionInfo.md) | | [optional] |
18-
|**blocked** | **Boolean** | Whether a Toll-Free Verification is blocked. This attribute will only be defined when the number is blocked. (Not Available Until 5/28/2025) | [optional] |
19-
|**blockedReason** | **String** | The reason why the Toll-Free Verification is blocked. This attribute will only be defined when the number is blocked. (Not Available Until 5/28/2025) | [optional] |
18+
|**blocked** | **Boolean** | Whether a Toll-Free Verification is blocked. This attribute will only be defined when the number is blocked. | [optional] |
19+
|**blockedReason** | **String** | The reason why the Toll-Free Verification is blocked. This attribute will only be defined when the number is blocked. | [optional] |
2020

2121

2222

docs/TfvSubmissionInfo.md

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -16,9 +16,9 @@
1616
|**optInWorkflow** | [**OptInWorkflow**](OptInWorkflow.md) | | [optional] |
1717
|**additionalInformation** | **String** | Any additional information. | [optional] |
1818
|**isvReseller** | **String** | ISV name. | [optional] |
19-
|**privacyPolicyUrl** | **String** | The Toll-Free Verification request privacy policy URL. (Not Available Until 5/28/2025) | [optional] |
20-
|**termsAndConditionsUrl** | **String** | The Toll-Free Verification request terms and conditions policy URL. (Not Available Until 5/28/2025) | [optional] |
21-
|**businessDba** | **String** | The company &#39;Doing Business As&#39;. (Not Available Until 5/28/2025) | [optional] |
19+
|**privacyPolicyUrl** | **String** | The Toll-Free Verification request privacy policy URL. | [optional] |
20+
|**termsAndConditionsUrl** | **String** | The Toll-Free Verification request terms and conditions policy URL. | [optional] |
21+
|**businessDba** | **String** | The company &#39;Doing Business As&#39;. | [optional] |
2222

2323

2424

docs/VerificationDenialWebhook.md

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -15,8 +15,8 @@
1515
|**phoneNumber** | **String** | Toll-free telephone number in E.164 format. | [optional] |
1616
|**resubmitAllowed** | **Boolean** | Whether a Toll-Free Verification request qualifies for resubmission via PUT. | [optional] |
1717
|**status** | **String** | | [optional] |
18-
|**blocked** | **Boolean** | Whether a Toll-Free Verification is blocked. This attribute will only be defined when the number is blocked. (Not Available Until 5/28/2025) | [optional] |
19-
|**blockedReason** | **String** | The reason why the Toll-Free Verification is blocked. This attribute will only be defined when the number is blocked. (Not Available Until 5/28/2025) | [optional] |
18+
|**blocked** | **Boolean** | Whether a Toll-Free Verification is blocked. This attribute will only be defined when the number is blocked. | [optional] |
19+
|**blockedReason** | **String** | The reason why the Toll-Free Verification is blocked. This attribute will only be defined when the number is blocked. | [optional] |
2020

2121

2222

docs/VerificationRequest.md

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -17,9 +17,9 @@
1717
|**optInWorkflow** | [**OptInWorkflow**](OptInWorkflow.md) | | |
1818
|**additionalInformation** | **String** | Any additional information. | [optional] |
1919
|**isvReseller** | **String** | ISV name. | [optional] |
20-
|**privacyPolicyUrl** | **String** | The Toll-Free Verification request privacy policy URL. (Not Available Until 5/28/2025) | [optional] |
21-
|**termsAndConditionsUrl** | **String** | The Toll-Free Verification request terms and conditions policy URL. (Not Available Until 5/28/2025) | [optional] |
22-
|**businessDba** | **String** | The company &#39;Doing Business As&#39;. (Not Available Until 5/28/2025) | [optional] |
20+
|**privacyPolicyUrl** | **String** | The Toll-Free Verification request privacy policy URL. | [optional] |
21+
|**termsAndConditionsUrl** | **String** | The Toll-Free Verification request terms and conditions policy URL. | [optional] |
22+
|**businessDba** | **String** | The company &#39;Doing Business As&#39;. | [optional] |
2323

2424

2525

docs/VerificationUpdateRequest.md

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -16,9 +16,9 @@
1616
|**optInWorkflow** | [**OptInWorkflow**](OptInWorkflow.md) | | |
1717
|**additionalInformation** | **String** | Any additional information. | [optional] |
1818
|**isvReseller** | **String** | ISV name. | [optional] |
19-
|**privacyPolicyUrl** | **String** | The Toll-Free Verification request privacy policy URL. (Not Available Until 5/28/2025) | [optional] |
20-
|**termsAndConditionsUrl** | **String** | The Toll-Free Verification request terms and conditions policy URL. (Not Available Until 5/28/2025) | [optional] |
21-
|**businessDba** | **String** | The company &#39;Doing Business As&#39;. (Not Available Until 5/28/2025) | [optional] |
19+
|**privacyPolicyUrl** | **String** | The Toll-Free Verification request privacy policy URL. | [optional] |
20+
|**termsAndConditionsUrl** | **String** | The Toll-Free Verification request terms and conditions policy URL. | [optional] |
21+
|**businessDba** | **String** | The company &#39;Doing Business As&#39;. | [optional] |
2222

2323

2424

src/main/java/com/bandwidth/sdk/model/BlockedWebhook.java

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -167,7 +167,7 @@ public BlockedWebhook blocked(@javax.annotation.Nullable Boolean blocked) {
167167
}
168168

169169
/**
170-
* Whether a Toll-Free Verification is blocked. This attribute will only be defined when the number is blocked. (Not Available Until 5/28/2025)
170+
* Whether a Toll-Free Verification is blocked. This attribute will only be defined when the number is blocked.
171171
* @return blocked
172172
*/
173173
@javax.annotation.Nullable
@@ -186,7 +186,7 @@ public BlockedWebhook blockedReason(@javax.annotation.Nullable String blockedRea
186186
}
187187

188188
/**
189-
* The reason why the Toll-Free Verification is blocked. This attribute will only be defined when the number is blocked. (Not Available Until 5/28/2025)
189+
* The reason why the Toll-Free Verification is blocked. This attribute will only be defined when the number is blocked.
190190
* @return blockedReason
191191
*/
192192
@javax.annotation.Nullable

src/main/java/com/bandwidth/sdk/model/TfvStatus.java

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -265,7 +265,7 @@ public TfvStatus blocked(@javax.annotation.Nullable Boolean blocked) {
265265
}
266266

267267
/**
268-
* Whether a Toll-Free Verification is blocked. This attribute will only be defined when the number is blocked. (Not Available Until 5/28/2025)
268+
* Whether a Toll-Free Verification is blocked. This attribute will only be defined when the number is blocked.
269269
* @return blocked
270270
*/
271271
@javax.annotation.Nullable
@@ -284,7 +284,7 @@ public TfvStatus blockedReason(@javax.annotation.Nullable String blockedReason)
284284
}
285285

286286
/**
287-
* The reason why the Toll-Free Verification is blocked. This attribute will only be defined when the number is blocked. (Not Available Until 5/28/2025)
287+
* The reason why the Toll-Free Verification is blocked. This attribute will only be defined when the number is blocked.
288288
* @return blockedReason
289289
*/
290290
@javax.annotation.Nullable

src/main/java/com/bandwidth/sdk/model/TfvSubmissionInfo.java

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -296,7 +296,7 @@ public TfvSubmissionInfo privacyPolicyUrl(@javax.annotation.Nullable String priv
296296
}
297297

298298
/**
299-
* The Toll-Free Verification request privacy policy URL. (Not Available Until 5/28/2025)
299+
* The Toll-Free Verification request privacy policy URL.
300300
* @return privacyPolicyUrl
301301
*/
302302
@javax.annotation.Nullable
@@ -315,7 +315,7 @@ public TfvSubmissionInfo termsAndConditionsUrl(@javax.annotation.Nullable String
315315
}
316316

317317
/**
318-
* The Toll-Free Verification request terms and conditions policy URL. (Not Available Until 5/28/2025)
318+
* The Toll-Free Verification request terms and conditions policy URL.
319319
* @return termsAndConditionsUrl
320320
*/
321321
@javax.annotation.Nullable
@@ -334,7 +334,7 @@ public TfvSubmissionInfo businessDba(@javax.annotation.Nullable String businessD
334334
}
335335

336336
/**
337-
* The company &#39;Doing Business As&#39;. (Not Available Until 5/28/2025)
337+
* The company &#39;Doing Business As&#39;.
338338
* @return businessDba
339339
*/
340340
@javax.annotation.Nullable

src/main/java/com/bandwidth/sdk/model/VerificationDenialWebhook.java

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -273,7 +273,7 @@ public VerificationDenialWebhook blocked(@javax.annotation.Nullable Boolean bloc
273273
}
274274

275275
/**
276-
* Whether a Toll-Free Verification is blocked. This attribute will only be defined when the number is blocked. (Not Available Until 5/28/2025)
276+
* Whether a Toll-Free Verification is blocked. This attribute will only be defined when the number is blocked.
277277
* @return blocked
278278
*/
279279
@javax.annotation.Nullable
@@ -292,7 +292,7 @@ public VerificationDenialWebhook blockedReason(@javax.annotation.Nullable String
292292
}
293293

294294
/**
295-
* The reason why the Toll-Free Verification is blocked. This attribute will only be defined when the number is blocked. (Not Available Until 5/28/2025)
295+
* The reason why the Toll-Free Verification is blocked. This attribute will only be defined when the number is blocked.
296296
* @return blockedReason
297297
*/
298298
@javax.annotation.Nullable

src/main/java/com/bandwidth/sdk/model/VerificationRequest.java

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -330,7 +330,7 @@ public VerificationRequest privacyPolicyUrl(@javax.annotation.Nullable String pr
330330
}
331331

332332
/**
333-
* The Toll-Free Verification request privacy policy URL. (Not Available Until 5/28/2025)
333+
* The Toll-Free Verification request privacy policy URL.
334334
* @return privacyPolicyUrl
335335
*/
336336
@javax.annotation.Nullable
@@ -349,7 +349,7 @@ public VerificationRequest termsAndConditionsUrl(@javax.annotation.Nullable Stri
349349
}
350350

351351
/**
352-
* The Toll-Free Verification request terms and conditions policy URL. (Not Available Until 5/28/2025)
352+
* The Toll-Free Verification request terms and conditions policy URL.
353353
* @return termsAndConditionsUrl
354354
*/
355355
@javax.annotation.Nullable
@@ -368,7 +368,7 @@ public VerificationRequest businessDba(@javax.annotation.Nullable String busines
368368
}
369369

370370
/**
371-
* The company &#39;Doing Business As&#39;. (Not Available Until 5/28/2025)
371+
* The company &#39;Doing Business As&#39;.
372372
* @return businessDba
373373
*/
374374
@javax.annotation.Nullable

src/main/java/com/bandwidth/sdk/model/VerificationUpdateRequest.java

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -296,7 +296,7 @@ public VerificationUpdateRequest privacyPolicyUrl(@javax.annotation.Nullable Str
296296
}
297297

298298
/**
299-
* The Toll-Free Verification request privacy policy URL. (Not Available Until 5/28/2025)
299+
* The Toll-Free Verification request privacy policy URL.
300300
* @return privacyPolicyUrl
301301
*/
302302
@javax.annotation.Nullable
@@ -315,7 +315,7 @@ public VerificationUpdateRequest termsAndConditionsUrl(@javax.annotation.Nullabl
315315
}
316316

317317
/**
318-
* The Toll-Free Verification request terms and conditions policy URL. (Not Available Until 5/28/2025)
318+
* The Toll-Free Verification request terms and conditions policy URL.
319319
* @return termsAndConditionsUrl
320320
*/
321321
@javax.annotation.Nullable
@@ -334,7 +334,7 @@ public VerificationUpdateRequest businessDba(@javax.annotation.Nullable String b
334334
}
335335

336336
/**
337-
* The company &#39;Doing Business As&#39;. (Not Available Until 5/28/2025)
337+
* The company &#39;Doing Business As&#39;.
338338
* @return businessDba
339339
*/
340340
@javax.annotation.Nullable

0 commit comments

Comments
 (0)