Skip to content

Commit 5c53cec

Browse files
Generate SDK with OpenAPI Generator Version (#74)
Co-authored-by: DX-Bandwidth <[email protected]>
1 parent 13f8dca commit 5c53cec

File tree

11 files changed

+133
-19
lines changed

11 files changed

+133
-19
lines changed

.openapi-generator/FILES

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -19,6 +19,7 @@ docs/AccountStatistics.md
1919
docs/AdditionalDenialReason.md
2020
docs/Address.md
2121
docs/AnswerCallback.md
22+
docs/BlockedWebhook.md
2223
docs/BridgeCompleteCallback.md
2324
docs/BridgeTargetCompleteCallback.md
2425
docs/CallDirectionEnum.md
@@ -176,6 +177,7 @@ models/account-statistics.ts
176177
models/additional-denial-reason.ts
177178
models/address.ts
178179
models/answer-callback.ts
180+
models/blocked-webhook.ts
179181
models/bridge-complete-callback.ts
180182
models/bridge-target-complete-callback.ts
181183
models/call-direction-enum.ts

bandwidth.yml

Lines changed: 26 additions & 10 deletions
Original file line numberDiff line numberDiff line change
@@ -5253,17 +5253,17 @@ components:
52535253
description: >-
52545254
The Toll-Free Verification request privacy policy URL. (Not Available
52555255
Until 5/28/2025)
5256-
example: http://your-company.com/privacyPolicyUrl.pdf
5256+
example: http://your-company.com/privacyPolicy
52575257
type: string
52585258
termsAndConditionsUrl:
52595259
description: >-
52605260
The Toll-Free Verification request terms and conditions policy URL. (Not
52615261
Available Until 5/28/2025)
5262-
example: http://your-company.com/termsAndConditionsUrl.pdf
5262+
example: http://your-company.com/termsAndConditions
52635263
type: string
5264-
businessDBA:
5264+
businessDba:
52655265
description: The company 'Doing Business As'. (Not Available Until 5/28/2025)
5266-
example: SecondCompany Name
5266+
example: Another Company Name Inc.
52675267
type: string
52685268
additionalDenialReason:
52695269
properties:
@@ -5349,8 +5349,8 @@ components:
53495349
$ref: '#/components/schemas/privacyPolicyUrl'
53505350
termsAndConditionsUrl:
53515351
$ref: '#/components/schemas/termsAndConditionsUrl'
5352-
businessDBA:
5353-
$ref: '#/components/schemas/businessDBA'
5352+
businessDba:
5353+
$ref: '#/components/schemas/businessDba'
53545354
verificationUpdateRequest:
53555355
type: object
53565356
required:
@@ -5388,8 +5388,8 @@ components:
53885388
$ref: '#/components/schemas/privacyPolicyUrl'
53895389
termsAndConditionsUrl:
53905390
$ref: '#/components/schemas/termsAndConditionsUrl'
5391-
businessDBA:
5392-
$ref: '#/components/schemas/businessDBA'
5391+
businessDba:
5392+
$ref: '#/components/schemas/businessDba'
53935393
tfvBasicAuthentication:
53945394
type: object
53955395
properties:
@@ -5483,6 +5483,21 @@ components:
54835483
$ref: '#/components/schemas/tfvCallbackStatusEnum'
54845484
internalTicketNumber:
54855485
$ref: '#/components/schemas/internalTicketNumberForWebhook'
5486+
blockedWebhook:
5487+
type: object
5488+
properties:
5489+
accountId:
5490+
$ref: '#/components/schemas/accountId1'
5491+
phoneNumber:
5492+
$ref: '#/components/schemas/tfPhoneNumber'
5493+
status:
5494+
$ref: '#/components/schemas/tfvCallbackStatusEnum'
5495+
internalTicketNumber:
5496+
$ref: '#/components/schemas/internalTicketNumberForWebhook'
5497+
blocked:
5498+
$ref: '#/components/schemas/blocked'
5499+
blockedReason:
5500+
$ref: '#/components/schemas/blockedReason'
54865501
tfvSubmissionWrapper:
54875502
type: object
54885503
properties:
@@ -5849,8 +5864,8 @@ components:
58495864
$ref: '#/components/schemas/privacyPolicyUrl'
58505865
termsAndConditionsUrl:
58515866
$ref: '#/components/schemas/termsAndConditionsUrl'
5852-
businessDBA:
5853-
$ref: '#/components/schemas/businessDBA'
5867+
businessDba:
5868+
$ref: '#/components/schemas/businessDba'
58545869
tfvStatusEnum:
58555870
type: string
58565871
enum:
@@ -7468,6 +7483,7 @@ components:
74687483
- $ref: '#/components/schemas/verificationWebhook'
74697484
- $ref: '#/components/schemas/verificationDenialWebhook'
74707485
- $ref: '#/components/schemas/failureWebhook'
7486+
- $ref: '#/components/schemas/blockedWebhook'
74717487
webhookSubscriptionRequest:
74727488
description: >-
74737489
Information about a webhook that Bandwidth should send upon the

docs/BlockedWebhook.md

Lines changed: 30 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,30 @@
1+
# BlockedWebhook
2+
3+
4+
## Properties
5+
6+
Name | Type | Description | Notes
7+
------------ | ------------- | ------------- | -------------
8+
**accountId** | **string** | User\&#39;s account ID. | [optional] [default to undefined]
9+
**phoneNumber** | **string** | Toll-free telephone number in E.164 format. | [optional] [default to undefined]
10+
**status** | [**TfvCallbackStatusEnum**](TfvCallbackStatusEnum.md) | | [optional] [default to undefined]
11+
**internalTicketNumber** | **string** | Unique identifier (UUID) generated by Bandwidth to assist in tracking the verification status of a toll-free number. | [optional] [default to undefined]
12+
**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] [default to undefined]
13+
**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] [default to undefined]
14+
15+
## Example
16+
17+
```typescript
18+
import { BlockedWebhook } from 'bandwidth-sdk';
19+
20+
const instance: BlockedWebhook = {
21+
accountId,
22+
phoneNumber,
23+
status,
24+
internalTicketNumber,
25+
blocked,
26+
blockedReason,
27+
};
28+
```
29+
30+
[[Back to Model list]](../README.md#documentation-for-models) [[Back to API list]](../README.md#documentation-for-api-endpoints) [[Back to README]](../README.md)

docs/TfvSubmissionInfo.md

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -16,7 +16,7 @@ Name | Type | Description | Notes
1616
**isvReseller** | **string** | ISV name. | [optional] [default to undefined]
1717
**privacyPolicyUrl** | **string** | The Toll-Free Verification request privacy policy URL. (Not Available Until 5/28/2025) | [optional] [default to undefined]
1818
**termsAndConditionsUrl** | **string** | The Toll-Free Verification request terms and conditions policy URL. (Not Available Until 5/28/2025) | [optional] [default to undefined]
19-
**businessDBA** | **string** | The company \&#39;Doing Business As\&#39;. (Not Available Until 5/28/2025) | [optional] [default to undefined]
19+
**businessDba** | **string** | The company \&#39;Doing Business As\&#39;. (Not Available Until 5/28/2025) | [optional] [default to undefined]
2020

2121
## Example
2222

@@ -35,7 +35,7 @@ const instance: TfvSubmissionInfo = {
3535
isvReseller,
3636
privacyPolicyUrl,
3737
termsAndConditionsUrl,
38-
businessDBA,
38+
businessDba,
3939
};
4040
```
4141

docs/VerificationRequest.md

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -17,7 +17,7 @@ Name | Type | Description | Notes
1717
**isvReseller** | **string** | ISV name. | [optional] [default to undefined]
1818
**privacyPolicyUrl** | **string** | The Toll-Free Verification request privacy policy URL. (Not Available Until 5/28/2025) | [optional] [default to undefined]
1919
**termsAndConditionsUrl** | **string** | The Toll-Free Verification request terms and conditions policy URL. (Not Available Until 5/28/2025) | [optional] [default to undefined]
20-
**businessDBA** | **string** | The company \&#39;Doing Business As\&#39;. (Not Available Until 5/28/2025) | [optional] [default to undefined]
20+
**businessDba** | **string** | The company \&#39;Doing Business As\&#39;. (Not Available Until 5/28/2025) | [optional] [default to undefined]
2121

2222
## Example
2323

@@ -37,7 +37,7 @@ const instance: VerificationRequest = {
3737
isvReseller,
3838
privacyPolicyUrl,
3939
termsAndConditionsUrl,
40-
businessDBA,
40+
businessDba,
4141
};
4242
```
4343

docs/VerificationUpdateRequest.md

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -16,7 +16,7 @@ Name | Type | Description | Notes
1616
**isvReseller** | **string** | ISV name. | [optional] [default to undefined]
1717
**privacyPolicyUrl** | **string** | The Toll-Free Verification request privacy policy URL. (Not Available Until 5/28/2025) | [optional] [default to undefined]
1818
**termsAndConditionsUrl** | **string** | The Toll-Free Verification request terms and conditions policy URL. (Not Available Until 5/28/2025) | [optional] [default to undefined]
19-
**businessDBA** | **string** | The company \&#39;Doing Business As\&#39;. (Not Available Until 5/28/2025) | [optional] [default to undefined]
19+
**businessDba** | **string** | The company \&#39;Doing Business As\&#39;. (Not Available Until 5/28/2025) | [optional] [default to undefined]
2020

2121
## Example
2222

@@ -35,7 +35,7 @@ const instance: VerificationUpdateRequest = {
3535
isvReseller,
3636
privacyPolicyUrl,
3737
termsAndConditionsUrl,
38-
businessDBA,
38+
businessDba,
3939
};
4040
```
4141

models/blocked-webhook.ts

Lines changed: 65 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,65 @@
1+
/* tslint:disable */
2+
/* eslint-disable */
3+
/**
4+
* Bandwidth
5+
* Bandwidth\'s Communication APIs
6+
*
7+
* The version of the OpenAPI document: 1.0.0
8+
* Contact: [email protected]
9+
*
10+
* NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech).
11+
* https://openapi-generator.tech
12+
* Do not edit the class manually.
13+
*/
14+
15+
16+
// May contain unused imports in some cases
17+
// @ts-ignore
18+
import type { TfvCallbackStatusEnum } from './tfv-callback-status-enum';
19+
20+
/**
21+
*
22+
* @export
23+
* @interface BlockedWebhook
24+
*/
25+
export interface BlockedWebhook {
26+
/**
27+
* User\'s account ID.
28+
* @type {string}
29+
* @memberof BlockedWebhook
30+
*/
31+
'accountId'?: string;
32+
/**
33+
* Toll-free telephone number in E.164 format.
34+
* @type {string}
35+
* @memberof BlockedWebhook
36+
*/
37+
'phoneNumber'?: string;
38+
/**
39+
*
40+
* @type {TfvCallbackStatusEnum}
41+
* @memberof BlockedWebhook
42+
*/
43+
'status'?: TfvCallbackStatusEnum;
44+
/**
45+
* Unique identifier (UUID) generated by Bandwidth to assist in tracking the verification status of a toll-free number.
46+
* @type {string}
47+
* @memberof BlockedWebhook
48+
*/
49+
'internalTicketNumber'?: string;
50+
/**
51+
* Whether a Toll-Free Verification is blocked. This attribute will only be defined when the number is blocked. (Not Available Until 5/28/2025)
52+
* @type {boolean}
53+
* @memberof BlockedWebhook
54+
*/
55+
'blocked'?: boolean;
56+
/**
57+
* 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)
58+
* @type {string}
59+
* @memberof BlockedWebhook
60+
*/
61+
'blockedReason'?: string;
62+
}
63+
64+
65+

models/index.ts

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -2,6 +2,7 @@ export * from './account-statistics';
22
export * from './additional-denial-reason';
33
export * from './address';
44
export * from './answer-callback';
5+
export * from './blocked-webhook';
56
export * from './bridge-complete-callback';
67
export * from './bridge-target-complete-callback';
78
export * from './call-direction-enum';

models/tfv-submission-info.ts

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -100,6 +100,6 @@ export interface TfvSubmissionInfo {
100100
* @type {string}
101101
* @memberof TfvSubmissionInfo
102102
*/
103-
'businessDBA'?: string;
103+
'businessDba'?: string;
104104
}
105105

models/verification-request.ts

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -106,6 +106,6 @@ export interface VerificationRequest {
106106
* @type {string}
107107
* @memberof VerificationRequest
108108
*/
109-
'businessDBA'?: string;
109+
'businessDba'?: string;
110110
}
111111

0 commit comments

Comments
 (0)