Skip to content

Commit

Permalink
ci: regenerated with OpenAPI Doc 1.0.0, Speakeasy CLI 1.121.1
Browse files Browse the repository at this point in the history
  • Loading branch information
speakeasybot committed Nov 18, 2023
1 parent 6ff732d commit e375d8e
Show file tree
Hide file tree
Showing 15 changed files with 34 additions and 19 deletions.
12 changes: 11 additions & 1 deletion RELEASES.md
Original file line number Diff line number Diff line change
Expand Up @@ -86,4 +86,14 @@ Based on:
### Generated
- [typescript v0.2.7] .
### Releases
- [NPM v0.2.7] https://www.npmjs.com/package/@ding-live/ding/v/0.2.7 - .
- [NPM v0.2.7] https://www.npmjs.com/package/@ding-live/ding/v/0.2.7 - .

## 2023-11-18 00:02:49
### Changes
Based on:
- OpenAPI Doc 1.0.0
- Speakeasy CLI 1.121.1 (2.194.1) https://github.com/speakeasy-api/speakeasy
### Generated
- [typescript v0.2.8] .
### Releases
- [NPM v0.2.8] https://www.npmjs.com/package/@ding-live/ding/v/0.2.8 - .
2 changes: 2 additions & 0 deletions docs/models/errors/errorresponse.md
Original file line number Diff line number Diff line change
@@ -1,5 +1,7 @@
# ErrorResponse

Bad Request


## Fields

Expand Down
2 changes: 1 addition & 1 deletion docs/models/operations/checkresponse.md
Original file line number Diff line number Diff line change
Expand Up @@ -8,4 +8,4 @@
| `contentType` | *string* | :heavy_check_mark: | HTTP response content type for this operation |
| `createCheckResponse` | [components.CreateCheckResponse](../../models/components/createcheckresponse.md) | :heavy_minus_sign: | OK |
| `statusCode` | *number* | :heavy_check_mark: | HTTP response status code for this operation |
| `rawResponse` | [AxiosResponse](https://axios-http.com/docs/res_schema) | :heavy_minus_sign: | Raw HTTP response; suitable for custom response parsing |
| `rawResponse` | [AxiosResponse](https://axios-http.com/docs/res_schema) | :heavy_check_mark: | Raw HTTP response; suitable for custom response parsing |
2 changes: 1 addition & 1 deletion docs/models/operations/createautenticationresponse.md
Original file line number Diff line number Diff line change
Expand Up @@ -8,4 +8,4 @@
| `contentType` | *string* | :heavy_check_mark: | HTTP response content type for this operation |
| `createAuthenticationResponse` | [components.CreateAuthenticationResponse](../../models/components/createauthenticationresponse.md) | :heavy_minus_sign: | OK |
| `statusCode` | *number* | :heavy_check_mark: | HTTP response status code for this operation |
| `rawResponse` | [AxiosResponse](https://axios-http.com/docs/res_schema) | :heavy_minus_sign: | Raw HTTP response; suitable for custom response parsing |
| `rawResponse` | [AxiosResponse](https://axios-http.com/docs/res_schema) | :heavy_check_mark: | Raw HTTP response; suitable for custom response parsing |
2 changes: 1 addition & 1 deletion docs/models/operations/lookupresponse.md
Original file line number Diff line number Diff line change
Expand Up @@ -8,4 +8,4 @@
| `contentType` | *string* | :heavy_check_mark: | HTTP response content type for this operation |
| `lookupResponse` | [components.LookupResponse](../../models/components/lookupresponse.md) | :heavy_minus_sign: | OK |
| `statusCode` | *number* | :heavy_check_mark: | HTTP response status code for this operation |
| `rawResponse` | [AxiosResponse](https://axios-http.com/docs/res_schema) | :heavy_minus_sign: | Raw HTTP response; suitable for custom response parsing |
| `rawResponse` | [AxiosResponse](https://axios-http.com/docs/res_schema) | :heavy_check_mark: | Raw HTTP response; suitable for custom response parsing |
2 changes: 1 addition & 1 deletion docs/models/operations/retryresponse.md
Original file line number Diff line number Diff line change
Expand Up @@ -8,4 +8,4 @@
| `contentType` | *string* | :heavy_check_mark: | HTTP response content type for this operation |
| `retryAuthenticationResponse` | [components.RetryAuthenticationResponse](../../models/components/retryauthenticationresponse.md) | :heavy_minus_sign: | OK |
| `statusCode` | *number* | :heavy_check_mark: | HTTP response status code for this operation |
| `rawResponse` | [AxiosResponse](https://axios-http.com/docs/res_schema) | :heavy_minus_sign: | Raw HTTP response; suitable for custom response parsing |
| `rawResponse` | [AxiosResponse](https://axios-http.com/docs/res_schema) | :heavy_check_mark: | Raw HTTP response; suitable for custom response parsing |
8 changes: 4 additions & 4 deletions gen.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -2,8 +2,8 @@ configVersion: 1.0.0
management:
docChecksum: 5e4ef027bc51f54368e8b1607b77c098
docVersion: 1.0.0
speakeasyVersion: 1.120.2
generationVersion: 2.191.3
speakeasyVersion: 1.121.1
generationVersion: 2.194.1
generation:
comments: {}
sdkClassName: Ding
Expand All @@ -16,10 +16,10 @@ features:
examples: 2.81.3
flattening: 2.81.1
globalSecurity: 2.82.0
globalServerURLs: 2.82.0
globalServerURLs: 2.82.1
serverIDs: 2.81.2
typescript:
version: 0.2.7
version: 0.2.8
author: Ding
clientServerStatusCodesAsErrors: true
flattenGlobalSecurity: true
Expand Down
4 changes: 2 additions & 2 deletions package-lock.json

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

2 changes: 1 addition & 1 deletion package.json
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
{
"name": "@ding-live/ding",
"version": "0.2.7",
"version": "0.2.8",
"author": "Ding",
"scripts": {
"prepare": "tsc --build",
Expand Down
3 changes: 3 additions & 0 deletions src/models/errors/errorresponse.ts
Original file line number Diff line number Diff line change
Expand Up @@ -43,6 +43,9 @@ export enum Code {
InvalidDeviceId = "invalid_device_id",
}

/**
* Bad Request
*/
export class ErrorResponse extends Error {
/**
* A machine-readable code that describes the error. Possible values are:
Expand Down
2 changes: 1 addition & 1 deletion src/models/operations/check.ts
Original file line number Diff line number Diff line change
Expand Up @@ -29,5 +29,5 @@ export class CheckResponse extends SpeakeasyBase {
* Raw HTTP response; suitable for custom response parsing
*/
@SpeakeasyMetadata()
rawResponse?: AxiosResponse;
rawResponse: AxiosResponse;
}
2 changes: 1 addition & 1 deletion src/models/operations/createautentication.ts
Original file line number Diff line number Diff line change
Expand Up @@ -29,5 +29,5 @@ export class CreateAutenticationResponse extends SpeakeasyBase {
* Raw HTTP response; suitable for custom response parsing
*/
@SpeakeasyMetadata()
rawResponse?: AxiosResponse;
rawResponse: AxiosResponse;
}
2 changes: 1 addition & 1 deletion src/models/operations/lookup.ts
Original file line number Diff line number Diff line change
Expand Up @@ -37,5 +37,5 @@ export class LookupResponse extends SpeakeasyBase {
* Raw HTTP response; suitable for custom response parsing
*/
@SpeakeasyMetadata()
rawResponse?: AxiosResponse;
rawResponse: AxiosResponse;
}
2 changes: 1 addition & 1 deletion src/models/operations/retry.ts
Original file line number Diff line number Diff line change
Expand Up @@ -29,5 +29,5 @@ export class RetryResponse extends SpeakeasyBase {
* Raw HTTP response; suitable for custom response parsing
*/
@SpeakeasyMetadata()
rawResponse?: AxiosResponse;
rawResponse: AxiosResponse;
}
6 changes: 3 additions & 3 deletions src/sdk/sdk.ts
Original file line number Diff line number Diff line change
Expand Up @@ -53,9 +53,9 @@ export class SDKConfiguration {
serverDefaults: any;
language = "typescript";
openapiDocVersion = "1.0.0";
sdkVersion = "0.2.7";
genVersion = "2.191.3";
userAgent = "speakeasy-sdk/typescript 0.2.7 2.191.3 1.0.0 @ding-live/ding";
sdkVersion = "0.2.8";
genVersion = "2.194.1";
userAgent = "speakeasy-sdk/typescript 0.2.8 2.194.1 1.0.0 @ding-live/ding";
retryConfig?: utils.RetryConfig;
public constructor(init?: Partial<SDKConfiguration>) {
Object.assign(this, init);
Expand Down

0 comments on commit e375d8e

Please sign in to comment.