Skip to content

Commit cf12c5c

Browse files
band-swi-release-engineering[bot]DX-Bandwidthckoegel
authored
SWI-7770 Update SDK Based on Recent Spec Changes (#149)
* Generate SDK with OpenAPI Generator Version * model unit tests --------- Co-authored-by: DX-Bandwidth <[email protected]> Co-authored-by: ckoegel <[email protected]>
1 parent 7f1bad7 commit cf12c5c

20 files changed

+481
-20
lines changed

Bandwidth.Standard.sln

Lines changed: 6 additions & 6 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", "{CC6CF6E6-9388-4DCB-98C0-48F3EF382764}"
5+
Project("{FAE04EC0-301F-11D3-BF4B-00C04F79EFBC}") = "Bandwidth.Standard", "src\Bandwidth.Standard\Bandwidth.Standard.csproj", "{8E522D01-703C-44A8-986A-A56745917B15}"
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-
{CC6CF6E6-9388-4DCB-98C0-48F3EF382764}.Debug|Any CPU.ActiveCfg = Debug|Any CPU
16-
{CC6CF6E6-9388-4DCB-98C0-48F3EF382764}.Debug|Any CPU.Build.0 = Debug|Any CPU
17-
{CC6CF6E6-9388-4DCB-98C0-48F3EF382764}.Release|Any CPU.ActiveCfg = Release|Any CPU
18-
{CC6CF6E6-9388-4DCB-98C0-48F3EF382764}.Release|Any CPU.Build.0 = Release|Any CPU
15+
{8E522D01-703C-44A8-986A-A56745917B15}.Debug|Any CPU.ActiveCfg = Debug|Any CPU
16+
{8E522D01-703C-44A8-986A-A56745917B15}.Debug|Any CPU.Build.0 = Debug|Any CPU
17+
{8E522D01-703C-44A8-986A-A56745917B15}.Release|Any CPU.ActiveCfg = Release|Any CPU
18+
{8E522D01-703C-44A8-986A-A56745917B15}.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
@@ -24,4 +24,4 @@ Global
2424
GlobalSection(SolutionProperties) = preSolution
2525
HideSolutionNode = FALSE
2626
EndGlobalSection
27-
EndGlobal
27+
EndGlobal

api/openapi.yaml

Lines changed: 103 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -12077,6 +12077,30 @@ components:
1207712077
via PUT.
1207812078
example: true
1207912079
type: boolean
12080+
blocked:
12081+
description: Whether a Toll-Free Verification is blocked. This attribute will
12082+
only be defined when the number is blocked. (Not Available Until 5/28/2025)
12083+
example: true
12084+
type: boolean
12085+
blockedReason:
12086+
description: The reason why the Toll-Free Verification is blocked. This attribute
12087+
will only be defined when the number is blocked. (Not Available Until 5/28/2025)
12088+
example: Toll-free number was used to send spam messages
12089+
type: string
12090+
privacyPolicyUrl:
12091+
description: The Toll-Free Verification request privacy policy URL. (Not Available
12092+
Until 5/28/2025)
12093+
example: http://your-company.com/privacyPolicyUrl.pdf
12094+
type: string
12095+
termsAndConditionsUrl:
12096+
description: The Toll-Free Verification request terms and conditions policy
12097+
URL. (Not Available Until 5/28/2025)
12098+
example: http://your-company.com/termsAndConditionsUrl.pdf
12099+
type: string
12100+
businessDBA:
12101+
description: The company 'Doing Business As'. (Not Available Until 5/28/2025)
12102+
example: SecondCompany Name
12103+
type: string
1208012104
additionalDenialReason:
1208112105
properties:
1208212106
statusCode:
@@ -12172,6 +12196,20 @@ components:
1217212196
minLength: 0
1217312197
nullable: true
1217412198
type: string
12199+
privacyPolicyUrl:
12200+
description: The Toll-Free Verification request privacy policy URL. (Not
12201+
Available Until 5/28/2025)
12202+
example: http://your-company.com/privacyPolicyUrl.pdf
12203+
type: string
12204+
termsAndConditionsUrl:
12205+
description: The Toll-Free Verification request terms and conditions policy
12206+
URL. (Not Available Until 5/28/2025)
12207+
example: http://your-company.com/termsAndConditionsUrl.pdf
12208+
type: string
12209+
businessDBA:
12210+
description: The company 'Doing Business As'. (Not Available Until 5/28/2025)
12211+
example: SecondCompany Name
12212+
type: string
1217512213
required:
1217612214
- businessAddress
1217712215
- businessContact
@@ -12218,6 +12256,7 @@ components:
1221812256
$ref: '#/components/schemas/optInWorkflow'
1221912257
additionalInformation:
1222012258
description: Any additional information.
12259+
example: Any additional information
1222112260
maxLength: 500
1222212261
minLength: 0
1222312262
nullable: true
@@ -12229,6 +12268,20 @@ components:
1222912268
minLength: 0
1223012269
nullable: true
1223112270
type: string
12271+
privacyPolicyUrl:
12272+
description: The Toll-Free Verification request privacy policy URL. (Not
12273+
Available Until 5/28/2025)
12274+
example: http://your-company.com/privacyPolicyUrl.pdf
12275+
type: string
12276+
termsAndConditionsUrl:
12277+
description: The Toll-Free Verification request terms and conditions policy
12278+
URL. (Not Available Until 5/28/2025)
12279+
example: http://your-company.com/termsAndConditionsUrl.pdf
12280+
type: string
12281+
businessDBA:
12282+
description: The company 'Doing Business As'. (Not Available Until 5/28/2025)
12283+
example: SecondCompany Name
12284+
type: string
1223212285
required:
1223312286
- businessAddress
1223412287
- businessContact
@@ -12371,6 +12424,18 @@ components:
1237112424
default: UNVERIFIED
1237212425
example: UNVERIFIED
1237312426
type: string
12427+
blocked:
12428+
description: Whether a Toll-Free Verification is blocked. This attribute
12429+
will only be defined when the number is blocked. (Not Available Until
12430+
5/28/2025)
12431+
example: true
12432+
type: boolean
12433+
blockedReason:
12434+
description: The reason why the Toll-Free Verification is blocked. This
12435+
attribute will only be defined when the number is blocked. (Not Available
12436+
Until 5/28/2025)
12437+
example: Toll-free number was used to send spam messages
12438+
type: string
1237412439
type: object
1237512440
verificationWebhook:
1237612441
properties:
@@ -12470,6 +12535,7 @@ components:
1247012535
type: object
1247112536
additionalInformation:
1247212537
description: Any additional information.
12538+
example: Any additional information
1247312539
maxLength: 500
1247412540
minLength: 0
1247512541
nullable: true
@@ -12801,12 +12867,16 @@ components:
1280112867
example:
1280212868
internalTicketNumber: acde070d-8c4c-4f0d-9d8a-162843c10333
1280312869
phoneNumber: "+18005555555"
12870+
blocked: true
12871+
blockedReason: Toll-free number was used to send spam messages
1280412872
resubmitAllowed: true
1280512873
createdDateTime: 2021-06-08T06:45:13Z
1280612874
modifiedDateTime: 2021-06-08T06:45:13Z
1280712875
submission:
12808-
additionalInformation: additionalInformation
12876+
additionalInformation: Any additional information
1280912877
useCase: 2FA
12878+
termsAndConditionsUrl: http://your-company.com/termsAndConditionsUrl.pdf
12879+
businessDBA: SecondCompany Name
1281012880
isvReseller: Test ISV
1281112881
businessContact:
1281212882
firstName: John
@@ -12823,6 +12893,7 @@ components:
1282312893
name: Bandwidth Inc.
1282412894
state: NC
1282512895
url: https://www.example.com/path/to/resource
12896+
privacyPolicyUrl: http://your-company.com/privacyPolicyUrl.pdf
1282612897
useCaseSummary: Text summarizing the use case for the toll-free number
1282712898
optInWorkflow:
1282812899
imageUrls:
@@ -12873,11 +12944,25 @@ components:
1287312944
type: string
1287412945
submission:
1287512946
$ref: '#/components/schemas/tfvSubmissionInfo'
12947+
blocked:
12948+
description: Whether a Toll-Free Verification is blocked. This attribute
12949+
will only be defined when the number is blocked. (Not Available Until
12950+
5/28/2025)
12951+
example: true
12952+
type: boolean
12953+
blockedReason:
12954+
description: The reason why the Toll-Free Verification is blocked. This
12955+
attribute will only be defined when the number is blocked. (Not Available
12956+
Until 5/28/2025)
12957+
example: Toll-free number was used to send spam messages
12958+
type: string
1287612959
type: object
1287712960
tfvSubmissionInfo:
1287812961
example:
12879-
additionalInformation: additionalInformation
12962+
additionalInformation: Any additional information
1288012963
useCase: 2FA
12964+
termsAndConditionsUrl: http://your-company.com/termsAndConditionsUrl.pdf
12965+
businessDBA: SecondCompany Name
1288112966
isvReseller: Test ISV
1288212967
businessContact:
1288312968
firstName: John
@@ -12894,6 +12979,7 @@ components:
1289412979
name: Bandwidth Inc.
1289512980
state: NC
1289612981
url: https://www.example.com/path/to/resource
12982+
privacyPolicyUrl: http://your-company.com/privacyPolicyUrl.pdf
1289712983
useCaseSummary: Text summarizing the use case for the toll-free number
1289812984
optInWorkflow:
1289912985
imageUrls:
@@ -12935,6 +13021,7 @@ components:
1293513021
$ref: '#/components/schemas/optInWorkflow'
1293613022
additionalInformation:
1293713023
description: Any additional information.
13024+
example: Any additional information
1293813025
maxLength: 500
1293913026
minLength: 0
1294013027
nullable: true
@@ -12946,6 +13033,20 @@ components:
1294613033
minLength: 0
1294713034
nullable: true
1294813035
type: string
13036+
privacyPolicyUrl:
13037+
description: The Toll-Free Verification request privacy policy URL. (Not
13038+
Available Until 5/28/2025)
13039+
example: http://your-company.com/privacyPolicyUrl.pdf
13040+
type: string
13041+
termsAndConditionsUrl:
13042+
description: The Toll-Free Verification request terms and conditions policy
13043+
URL. (Not Available Until 5/28/2025)
13044+
example: http://your-company.com/termsAndConditionsUrl.pdf
13045+
type: string
13046+
businessDBA:
13047+
description: The company 'Doing Business As'. (Not Available Until 5/28/2025)
13048+
example: SecondCompany Name
13049+
type: string
1294913050
type: object
1295013051
tfvStatusEnum:
1295113052
enum:

bandwidth.yml

Lines changed: 56 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -5228,6 +5228,35 @@ components:
52285228
PUT.
52295229
example: true
52305230
type: boolean
5231+
blocked:
5232+
description: >-
5233+
Whether a Toll-Free Verification is blocked. This attribute will only be
5234+
defined when the number is blocked. (Not Available Until 5/28/2025)
5235+
example: true
5236+
type: boolean
5237+
blockedReason:
5238+
description: >-
5239+
The reason why the Toll-Free Verification is blocked. This attribute
5240+
will only be defined when the number is blocked. (Not Available Until
5241+
5/28/2025)
5242+
example: Toll-free number was used to send spam messages
5243+
type: string
5244+
privacyPolicyUrl:
5245+
description: >-
5246+
The Toll-Free Verification request privacy policy URL. (Not Available
5247+
Until 5/28/2025)
5248+
example: http://your-company.com/privacyPolicyUrl.pdf
5249+
type: string
5250+
termsAndConditionsUrl:
5251+
description: >-
5252+
The Toll-Free Verification request terms and conditions policy URL. (Not
5253+
Available Until 5/28/2025)
5254+
example: http://your-company.com/termsAndConditionsUrl.pdf
5255+
type: string
5256+
businessDBA:
5257+
description: The company 'Doing Business As'. (Not Available Until 5/28/2025)
5258+
example: SecondCompany Name
5259+
type: string
52315260
additionalDenialReason:
52325261
properties:
52335262
statusCode:
@@ -5308,6 +5337,12 @@ components:
53085337
example: Any additional information
53095338
isvReseller:
53105339
$ref: '#/components/schemas/isvReseller'
5340+
privacyPolicyUrl:
5341+
$ref: '#/components/schemas/privacyPolicyUrl'
5342+
termsAndConditionsUrl:
5343+
$ref: '#/components/schemas/termsAndConditionsUrl'
5344+
businessDBA:
5345+
$ref: '#/components/schemas/businessDBA'
53115346
verificationUpdateRequest:
53125347
type: object
53135348
required:
@@ -5341,6 +5376,12 @@ components:
53415376
$ref: '#/components/schemas/additionalInformation'
53425377
isvReseller:
53435378
$ref: '#/components/schemas/isvReseller'
5379+
privacyPolicyUrl:
5380+
$ref: '#/components/schemas/privacyPolicyUrl'
5381+
termsAndConditionsUrl:
5382+
$ref: '#/components/schemas/termsAndConditionsUrl'
5383+
businessDBA:
5384+
$ref: '#/components/schemas/businessDBA'
53445385
tfvBasicAuthentication:
53455386
type: object
53465387
properties:
@@ -5419,6 +5460,10 @@ components:
54195460
$ref: '#/components/schemas/resubmitAllowed'
54205461
status:
54215462
$ref: '#/components/schemas/tfvUnverifiedStatus'
5463+
blocked:
5464+
$ref: '#/components/schemas/blocked'
5465+
blockedReason:
5466+
$ref: '#/components/schemas/blockedReason'
54225467
verificationWebhook:
54235468
type: object
54245469
properties:
@@ -5501,6 +5546,7 @@ components:
55015546
minLength: 0
55025547
maxLength: 500
55035548
nullable: true
5549+
example: Any additional information
55045550
optInWorkflow:
55055551
type: object
55065552
nullable: false
@@ -5762,6 +5808,10 @@ components:
57625808
example: '2021-06-08T06:45:13.0Z'
57635809
submission:
57645810
$ref: '#/components/schemas/tfvSubmissionInfo'
5811+
blocked:
5812+
$ref: '#/components/schemas/blocked'
5813+
blockedReason:
5814+
$ref: '#/components/schemas/blockedReason'
57655815
tfvSubmissionInfo:
57665816
type: object
57675817
properties:
@@ -5787,6 +5837,12 @@ components:
57875837
$ref: '#/components/schemas/additionalInformation'
57885838
isvReseller:
57895839
$ref: '#/components/schemas/isvReseller'
5840+
privacyPolicyUrl:
5841+
$ref: '#/components/schemas/privacyPolicyUrl'
5842+
termsAndConditionsUrl:
5843+
$ref: '#/components/schemas/termsAndConditionsUrl'
5844+
businessDBA:
5845+
$ref: '#/components/schemas/businessDBA'
57905846
tfvStatusEnum:
57915847
type: string
57925848
enum:

docs/TfvStatus.md

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -12,6 +12,8 @@ Name | Type | Description | Notes
1212
**CreatedDateTime** | **DateTime** | Date and time the verification request was created. | [optional]
1313
**ModifiedDateTime** | **DateTime** | Date and time the verification request was last modified. | [optional]
1414
**Submission** | [**TfvSubmissionInfo**](TfvSubmissionInfo.md) | | [optional]
15+
**Blocked** | **bool** | 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]
16+
**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]
1517

1618
[[Back to Model list]](../README.md#documentation-for-models) [[Back to API list]](../README.md#documentation-for-api-endpoints) [[Back to README]](../README.md)
1719

docs/TfvSubmissionInfo.md

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -13,6 +13,9 @@ Name | Type | Description | Notes
1313
**OptInWorkflow** | [**OptInWorkflow**](OptInWorkflow.md) | | [optional]
1414
**AdditionalInformation** | **string** | Any additional information. | [optional]
1515
**IsvReseller** | **string** | ISV name. | [optional]
16+
**PrivacyPolicyUrl** | **string** | The Toll-Free Verification request privacy policy URL. (Not Available Until 5/28/2025) | [optional]
17+
**TermsAndConditionsUrl** | **string** | The Toll-Free Verification request terms and conditions policy URL. (Not Available Until 5/28/2025) | [optional]
18+
**BusinessDBA** | **string** | The company &#39;Doing Business As&#39;. (Not Available Until 5/28/2025) | [optional]
1619

1720
[[Back to Model list]](../README.md#documentation-for-models) [[Back to API list]](../README.md#documentation-for-api-endpoints) [[Back to README]](../README.md)
1821

docs/VerificationDenialWebhook.md

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -12,6 +12,8 @@ Name | Type | Description | Notes
1212
**PhoneNumber** | **string** | Toll-free telephone number in E.164 format. | [optional]
1313
**ResubmitAllowed** | **bool** | Whether a Toll-Free Verification request qualifies for resubmission via PUT. | [optional]
1414
**Status** | **string** | | [optional] [default to "UNVERIFIED"]
15+
**Blocked** | **bool** | 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]
16+
**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]
1517

1618
[[Back to Model list]](../README.md#documentation-for-models) [[Back to API list]](../README.md#documentation-for-api-endpoints) [[Back to README]](../README.md)
1719

docs/VerificationRequest.md

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -14,6 +14,9 @@ Name | Type | Description | Notes
1414
**OptInWorkflow** | [**OptInWorkflow**](OptInWorkflow.md) | |
1515
**AdditionalInformation** | **string** | Any additional information. | [optional]
1616
**IsvReseller** | **string** | ISV name. | [optional]
17+
**PrivacyPolicyUrl** | **string** | The Toll-Free Verification request privacy policy URL. (Not Available Until 5/28/2025) | [optional]
18+
**TermsAndConditionsUrl** | **string** | The Toll-Free Verification request terms and conditions policy URL. (Not Available Until 5/28/2025) | [optional]
19+
**BusinessDBA** | **string** | The company &#39;Doing Business As&#39;. (Not Available Until 5/28/2025) | [optional]
1720

1821
[[Back to Model list]](../README.md#documentation-for-models) [[Back to API list]](../README.md#documentation-for-api-endpoints) [[Back to README]](../README.md)
1922

docs/VerificationUpdateRequest.md

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -13,6 +13,9 @@ Name | Type | Description | Notes
1313
**OptInWorkflow** | [**OptInWorkflow**](OptInWorkflow.md) | |
1414
**AdditionalInformation** | **string** | Any additional information. | [optional]
1515
**IsvReseller** | **string** | ISV name. | [optional]
16+
**PrivacyPolicyUrl** | **string** | The Toll-Free Verification request privacy policy URL. (Not Available Until 5/28/2025) | [optional]
17+
**TermsAndConditionsUrl** | **string** | The Toll-Free Verification request terms and conditions policy URL. (Not Available Until 5/28/2025) | [optional]
18+
**BusinessDBA** | **string** | The company &#39;Doing Business As&#39;. (Not Available Until 5/28/2025) | [optional]
1619

1720
[[Back to Model list]](../README.md#documentation-for-models) [[Back to API list]](../README.md#documentation-for-api-endpoints) [[Back to README]](../README.md)
1821

0 commit comments

Comments
 (0)