Skip to content

Commit 56a5c8e

Browse files
committed
ci: regenerated with OpenAPI Doc 1.0.0, Speakeasy CLI 1.118.3
1 parent e1ee331 commit 56a5c8e

File tree

8 files changed

+83
-16
lines changed

8 files changed

+83
-16
lines changed

RELEASES.md

Lines changed: 11 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -46,4 +46,14 @@ Based on:
4646
### Generated
4747
- [typescript v0.2.3] .
4848
### Releases
49-
- [NPM v0.2.3] https://www.npmjs.com/package/@ding-live/ding/v/0.2.3 - .
49+
- [NPM v0.2.3] https://www.npmjs.com/package/@ding-live/ding/v/0.2.3 - .
50+
51+
## 2023-11-10 11:12:02
52+
### Changes
53+
Based on:
54+
- OpenAPI Doc 1.0.0
55+
- Speakeasy CLI 1.118.3 (2.187.7) https://github.com/speakeasy-api/speakeasy
56+
### Generated
57+
- [typescript v0.2.4] .
58+
### Releases
59+
- [NPM v0.2.4] https://www.npmjs.com/package/@ding-live/ding/v/0.2.4 - .

docs/models/errors/code.md

Lines changed: 16 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,21 @@
11
# Code
22

3+
A machine-readable code that describes the error. Possible values are:
4+
* `invalid_phone_number` - This is not a valid E.164 number.
5+
* `internal_server_error` - An internal server error occurred.
6+
* `bad_request` - The request was malformed.
7+
* `account_invalid` - The customer UUID you provided is invalid.
8+
* `negative_balance` - You have a negative balance.
9+
* `invalid_line` - Ding does not support this type of phone number.
10+
* `unsupported_region` - Ding does not support this region yet.
11+
* `invalid_auth_uuid` - The authentication UUID you provided is invalid.
12+
* `blocked_number` - The phone number you provided is in the blocklist.
13+
* `invalid_app_version` - The app version you provided is invalid.
14+
* `invalid_os_version` - The OS version you provided is invalid.
15+
* `invalid_device_model` - The device model you provided is invalid.
16+
* `invalid_device_id` - The device ID you provided is invalid.
17+
18+
319

420
## Values
521

docs/models/errors/errorresponse.md

Lines changed: 5 additions & 5 deletions
Large diffs are not rendered by default.

gen.yaml

Lines changed: 4 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -1,9 +1,9 @@
11
configVersion: 1.0.0
22
management:
3-
docChecksum: 680c79e509a7475254c5b20f5f988bfb
3+
docChecksum: 591d96aa48562d90166a6ad684e16504
44
docVersion: 1.0.0
5-
speakeasyVersion: 1.118.1
6-
generationVersion: 2.187.4
5+
speakeasyVersion: 1.118.3
6+
generationVersion: 2.187.7
77
generation:
88
comments: {}
99
sdkClassName: Ding
@@ -19,7 +19,7 @@ features:
1919
globalServerURLs: 2.82.0
2020
serverIDs: 2.81.2
2121
typescript:
22-
version: 0.2.3
22+
version: 0.2.4
2323
author: Ding
2424
clientServerStatusCodesAsErrors: true
2525
flattenGlobalSecurity: true

package-lock.json

Lines changed: 2 additions & 2 deletions
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

package.json

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
{
22
"name": "@ding-live/ding",
3-
"version": "0.2.3",
3+
"version": "0.2.4",
44
"author": "Ding",
55
"scripts": {
66
"prepare": "tsc --build",

src/models/errors/errorresponse.ts

Lines changed: 41 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -5,6 +5,25 @@
55
import { SpeakeasyMetadata } from "../../internal/utils";
66
import { classToPlain, Expose } from "class-transformer";
77

8+
/**
9+
* A machine-readable code that describes the error. Possible values are:
10+
*
11+
* @remarks
12+
* * `invalid_phone_number` - This is not a valid E.164 number.
13+
* * `internal_server_error` - An internal server error occurred.
14+
* * `bad_request` - The request was malformed.
15+
* * `account_invalid` - The customer UUID you provided is invalid.
16+
* * `negative_balance` - You have a negative balance.
17+
* * `invalid_line` - Ding does not support this type of phone number.
18+
* * `unsupported_region` - Ding does not support this region yet.
19+
* * `invalid_auth_uuid` - The authentication UUID you provided is invalid.
20+
* * `blocked_number` - The phone number you provided is in the blocklist.
21+
* * `invalid_app_version` - The app version you provided is invalid.
22+
* * `invalid_os_version` - The OS version you provided is invalid.
23+
* * `invalid_device_model` - The device model you provided is invalid.
24+
* * `invalid_device_id` - The device ID you provided is invalid.
25+
*
26+
*/
827
export enum Code {
928
InvalidPhoneNumber = "invalid_phone_number",
1029
InternalServerError = "internal_server_error",
@@ -25,6 +44,25 @@ export enum Code {
2544
}
2645

2746
export class ErrorResponse extends Error {
47+
/**
48+
* A machine-readable code that describes the error. Possible values are:
49+
*
50+
* @remarks
51+
* * `invalid_phone_number` - This is not a valid E.164 number.
52+
* * `internal_server_error` - An internal server error occurred.
53+
* * `bad_request` - The request was malformed.
54+
* * `account_invalid` - The customer UUID you provided is invalid.
55+
* * `negative_balance` - You have a negative balance.
56+
* * `invalid_line` - Ding does not support this type of phone number.
57+
* * `unsupported_region` - Ding does not support this region yet.
58+
* * `invalid_auth_uuid` - The authentication UUID you provided is invalid.
59+
* * `blocked_number` - The phone number you provided is in the blocklist.
60+
* * `invalid_app_version` - The app version you provided is invalid.
61+
* * `invalid_os_version` - The OS version you provided is invalid.
62+
* * `invalid_device_model` - The device model you provided is invalid.
63+
* * `invalid_device_id` - The device ID you provided is invalid.
64+
*
65+
*/
2866
@SpeakeasyMetadata()
2967
@Expose({ name: "code" })
3068
code?: Code;
@@ -36,6 +74,9 @@ export class ErrorResponse extends Error {
3674
@Expose({ name: "doc_url" })
3775
docUrl?: string;
3876

77+
/**
78+
* A human-readable message that describes the error.
79+
*/
3980
@SpeakeasyMetadata()
4081
@Expose({ name: "message" })
4182
message: string;

src/sdk/sdk.ts

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -53,9 +53,9 @@ export class SDKConfiguration {
5353
serverDefaults: any;
5454
language = "typescript";
5555
openapiDocVersion = "1.0.0";
56-
sdkVersion = "0.2.3";
57-
genVersion = "2.187.4";
58-
userAgent = "speakeasy-sdk/typescript 0.2.3 2.187.4 1.0.0 @ding-live/ding";
56+
sdkVersion = "0.2.4";
57+
genVersion = "2.187.7";
58+
userAgent = "speakeasy-sdk/typescript 0.2.4 2.187.7 1.0.0 @ding-live/ding";
5959
retryConfig?: utils.RetryConfig;
6060
public constructor(init?: Partial<SDKConfiguration>) {
6161
Object.assign(this, init);

0 commit comments

Comments
 (0)