Skip to content

Commit 119d7d4

Browse files
committed
ci: regenerated with OpenAPI Doc 0.2.0, Speakeay CLI 1.0.0
1 parent 34f8c37 commit 119d7d4

Some content is hidden

Large Commits have some content hidden by default. Use the searchbox below for content that may be hidden.

67 files changed

+198
-321
lines changed

README.md

Lines changed: 7 additions & 8 deletions
Original file line numberDiff line numberDiff line change
@@ -61,7 +61,7 @@ sdk.Apis.getApis(request).then((res: GetApisResponse | AxiosError) => {
6161

6262
* `validateApiKey` - Validate the current api key.
6363

64-
### ApiEndpoints
64+
### apiEndpoints
6565

6666
* `deleteApiEndpoint` - Delete an ApiEndpoint.
6767
* `findApiEndpoint` - Find an ApiEndpoint via its displayName.
@@ -72,7 +72,7 @@ sdk.Apis.getApis(request).then((res: GetApisResponse | AxiosError) => {
7272
* `getApiEndpoint` - Get an ApiEndpoint.
7373
* `upsertApiEndpoint` - Upsert an ApiEndpoint.
7474

75-
### Apis
75+
### apis
7676

7777
* `deleteApi` - Delete an Api.
7878
* `generateOpenApiSpec` - Generate an OpenAPI specification for a particular Api.
@@ -81,31 +81,31 @@ sdk.Apis.getApis(request).then((res: GetApisResponse | AxiosError) => {
8181
* `getApis` - Get a list of Apis for a given workspace
8282
* `upsertApi` - Upsert an Api
8383

84-
### Embeds
84+
### embeds
8585

8686
* `getEmbedAccessToken` - Get an embed access token for the current workspace.
8787
* `getValidEmbedAccessTokens` - Get all valid embed access tokens for the current workspace.
8888
* `revokeEmbedAccessToken` - Revoke an embed access EmbedToken.
8989

90-
### Metadata
90+
### metadata
9191

9292
* `deleteVersionMetadata` - Delete metadata for a particular apiID and versionID.
9393
* `getVersionMetadata` - Get all metadata for a particular apiID and versionID.
9494
* `insertVersionMetadata` - Insert metadata for a particular apiID and versionID.
9595

96-
### Plugins
96+
### plugins
9797

9898
* `getPlugins` - Get all plugins for the current workspace.
9999
* `runPlugin` - Run a plugin
100100
* `upsertPlugin` - Upsert a plugin
101101

102-
### Requests
102+
### requests
103103

104104
* `generateRequestPostmanCollection` - Generate a Postman collection for a particular request.
105105
* `getRequestFromEventLog` - Get information about a particular request.
106106
* `queryEventLog` - Query the event log to retrieve a list of requests.
107107

108-
### Schemas
108+
### schemas
109109

110110
* `deleteSchema` - Delete a particular schema revision for an Api.
111111
* `downloadSchema` - Download the latest schema for a particular apiID.
@@ -115,7 +115,6 @@ sdk.Apis.getApis(request).then((res: GetApisResponse | AxiosError) => {
115115
* `getSchemaRevision` - Get information about a particular schema revision for an Api.
116116
* `getSchemas` - Get information about all schemas associated with a particular apiID.
117117
* `registerSchema` - Register a schema.
118-
119118
<!-- End SDK Available Operations -->
120119

121120
### SDK Generated by [Speakeasy](https://docs.speakeasyapi.dev/docs/using-speakeasy/client-sdks)

RELEASES.md

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -1,9 +1,9 @@
11

22

3-
## Version 0.13.1
3+
## Version 1.0.0
44
### Changes
55
Based on:
66
- OpenAPI Doc 0.2.0 https://docs.speakeasyapi.dev/openapi.yaml
7-
- Speakeasy CLI 0.22.1 https://github.com/speakeasy-api/speakeasy
7+
- Speakeasy CLI 1.0.0 https://github.com/speakeasy-api/speakeasy
88
### Releases
9-
- [NPM v0.13.1] https://www.npmjs.com/package/@speakeasy-api/speakeasy-client-sdk-typescript/v/0.13.1 - .
9+
- [NPM v1.0.0] https://www.npmjs.com/package/@speakeasy-api/speakeasy-client-sdk-typescript/v/1.0.0 - .

USAGE.md

Lines changed: 14 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -15,9 +15,20 @@ const sdk = new SDK(withSecurity(
1515
const req: GetApisRequest = {
1616
queryParams: {
1717
metadata: {
18-
"voluptas": [
19-
"expedita",
20-
"consequuntur",
18+
"deserunt": [
19+
"nulla",
20+
"id",
21+
"vero",
22+
],
23+
"perspiciatis": [
24+
"nihil",
25+
"fuga",
26+
"facilis",
27+
"eum",
28+
],
29+
"iusto": [
30+
"saepe",
31+
"inventore",
2132
],
2233
},
2334
op: {

gen.yaml

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1,9 +1,9 @@
11
management:
22
openapi-checksum: 85121b09180ffa7f639ebd829f945718
33
openapi-version: 0.2.0
4-
speakeasy-version: 0.22.1
4+
speakeasy-version: 1.0.0
55
typescript:
6-
version: 0.13.1
6+
version: 1.0.0
77
packagename: '@speakeasy-api/speakeasy-client-sdk-typescript'
88
author: Speakeasy
99
telemetryenabled: null

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": "@speakeasy-api/speakeasy-client-sdk-typescript",
3-
"version": "0.13.1",
3+
"version": "1.0.0",
44
"author": "Speakeasy",
55
"scripts": {
66
"prepare": "tsc --build"

src/sdk/apiendpoints.ts

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
1-
import { AxiosInstance, AxiosRequestConfig, AxiosResponse } from "axios";
2-
import * as operations from "./models/operations";
31
import * as utils from "../internal/utils";
2+
import * as operations from "./models/operations";
3+
import { AxiosInstance, AxiosRequestConfig, AxiosResponse } from "axios";
44

55
export class ApiEndpoints {
66
_defaultClient: AxiosInstance;

src/sdk/apis.ts

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
1-
import { AxiosInstance, AxiosRequestConfig, AxiosResponse, ParamsSerializerOptions } from "axios";
2-
import * as operations from "./models/operations";
31
import * as utils from "../internal/utils";
2+
import * as operations from "./models/operations";
3+
import { AxiosInstance, AxiosRequestConfig, AxiosResponse, ParamsSerializerOptions } from "axios";
44

55
export class Apis {
66
_defaultClient: AxiosInstance;

src/sdk/embeds.ts

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
1-
import { AxiosInstance, AxiosRequestConfig, AxiosResponse, ParamsSerializerOptions } from "axios";
2-
import * as operations from "./models/operations";
31
import * as utils from "../internal/utils";
2+
import * as operations from "./models/operations";
3+
import { AxiosInstance, AxiosRequestConfig, AxiosResponse, ParamsSerializerOptions } from "axios";
44

55
export class Embeds {
66
_defaultClient: AxiosInstance;

src/sdk/metadata.ts

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
1-
import { AxiosInstance, AxiosRequestConfig, AxiosResponse } from "axios";
2-
import * as operations from "./models/operations";
31
import * as utils from "../internal/utils";
2+
import * as operations from "./models/operations";
3+
import { AxiosInstance, AxiosRequestConfig, AxiosResponse } from "axios";
44

55
export class Metadata {
66
_defaultClient: AxiosInstance;

src/sdk/models/callbacks/index.ts

Lines changed: 0 additions & 2 deletions
This file was deleted.
Lines changed: 2 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -1,8 +1,7 @@
1-
import { SpeakeasyMetadata, SpeakeasyBase } from "../../../internal/utils";
1+
import { SpeakeasyBase, SpeakeasyMetadata } from "../../../internal/utils";
22
import * as shared from "../shared";
33

44

5-
65
export class DeleteApiPathParams extends SpeakeasyBase {
76
@SpeakeasyMetadata({ data: "pathParam, style=simple;explode=false;name=apiID" })
87
apiID: string;
@@ -11,13 +10,11 @@ export class DeleteApiPathParams extends SpeakeasyBase {
1110
versionID: string;
1211
}
1312

14-
1513
export class DeleteApiRequest extends SpeakeasyBase {
1614
@SpeakeasyMetadata()
1715
pathParams: DeleteApiPathParams;
1816
}
1917

20-
2118
export class DeleteApiResponse extends SpeakeasyBase {
2219
@SpeakeasyMetadata()
2320
contentType: string;
@@ -27,4 +24,4 @@ export class DeleteApiResponse extends SpeakeasyBase {
2724

2825
@SpeakeasyMetadata()
2926
statusCode: number;
30-
}
27+
}

src/sdk/models/operations/deleteapiendpoint.ts

Lines changed: 2 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -1,8 +1,7 @@
1-
import { SpeakeasyMetadata, SpeakeasyBase } from "../../../internal/utils";
1+
import { SpeakeasyBase, SpeakeasyMetadata } from "../../../internal/utils";
22
import * as shared from "../shared";
33

44

5-
65
export class DeleteApiEndpointPathParams extends SpeakeasyBase {
76
@SpeakeasyMetadata({ data: "pathParam, style=simple;explode=false;name=apiEndpointID" })
87
apiEndpointID: string;
@@ -14,13 +13,11 @@ export class DeleteApiEndpointPathParams extends SpeakeasyBase {
1413
versionID: string;
1514
}
1615

17-
1816
export class DeleteApiEndpointRequest extends SpeakeasyBase {
1917
@SpeakeasyMetadata()
2018
pathParams: DeleteApiEndpointPathParams;
2119
}
2220

23-
2421
export class DeleteApiEndpointResponse extends SpeakeasyBase {
2522
@SpeakeasyMetadata()
2623
contentType: string;
@@ -30,4 +27,4 @@ export class DeleteApiEndpointResponse extends SpeakeasyBase {
3027

3128
@SpeakeasyMetadata()
3229
statusCode: number;
33-
}
30+
}

src/sdk/models/operations/deleteschema.ts

Lines changed: 2 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -1,8 +1,7 @@
1-
import { SpeakeasyMetadata, SpeakeasyBase } from "../../../internal/utils";
1+
import { SpeakeasyBase, SpeakeasyMetadata } from "../../../internal/utils";
22
import * as shared from "../shared";
33

44

5-
65
export class DeleteSchemaPathParams extends SpeakeasyBase {
76
@SpeakeasyMetadata({ data: "pathParam, style=simple;explode=false;name=apiID" })
87
apiID: string;
@@ -14,13 +13,11 @@ export class DeleteSchemaPathParams extends SpeakeasyBase {
1413
versionID: string;
1514
}
1615

17-
1816
export class DeleteSchemaRequest extends SpeakeasyBase {
1917
@SpeakeasyMetadata()
2018
pathParams: DeleteSchemaPathParams;
2119
}
2220

23-
2421
export class DeleteSchemaResponse extends SpeakeasyBase {
2522
@SpeakeasyMetadata()
2623
contentType: string;
@@ -30,4 +27,4 @@ export class DeleteSchemaResponse extends SpeakeasyBase {
3027

3128
@SpeakeasyMetadata()
3229
statusCode: number;
33-
}
30+
}

src/sdk/models/operations/deleteversionmetadata.ts

Lines changed: 2 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -1,8 +1,7 @@
1-
import { SpeakeasyMetadata, SpeakeasyBase } from "../../../internal/utils";
1+
import { SpeakeasyBase, SpeakeasyMetadata } from "../../../internal/utils";
22
import * as shared from "../shared";
33

44

5-
65
export class DeleteVersionMetadataPathParams extends SpeakeasyBase {
76
@SpeakeasyMetadata({ data: "pathParam, style=simple;explode=false;name=apiID" })
87
apiID: string;
@@ -17,13 +16,11 @@ export class DeleteVersionMetadataPathParams extends SpeakeasyBase {
1716
versionID: string;
1817
}
1918

20-
2119
export class DeleteVersionMetadataRequest extends SpeakeasyBase {
2220
@SpeakeasyMetadata()
2321
pathParams: DeleteVersionMetadataPathParams;
2422
}
2523

26-
2724
export class DeleteVersionMetadataResponse extends SpeakeasyBase {
2825
@SpeakeasyMetadata()
2926
contentType: string;
@@ -33,4 +30,4 @@ export class DeleteVersionMetadataResponse extends SpeakeasyBase {
3330

3431
@SpeakeasyMetadata()
3532
statusCode: number;
36-
}
33+
}

src/sdk/models/operations/downloadschema.ts

Lines changed: 2 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -1,8 +1,7 @@
1-
import { SpeakeasyMetadata, SpeakeasyBase } from "../../../internal/utils";
1+
import { SpeakeasyBase, SpeakeasyMetadata } from "../../../internal/utils";
22
import * as shared from "../shared";
33

44

5-
65
export class DownloadSchemaPathParams extends SpeakeasyBase {
76
@SpeakeasyMetadata({ data: "pathParam, style=simple;explode=false;name=apiID" })
87
apiID: string;
@@ -11,13 +10,11 @@ export class DownloadSchemaPathParams extends SpeakeasyBase {
1110
versionID: string;
1211
}
1312

14-
1513
export class DownloadSchemaRequest extends SpeakeasyBase {
1614
@SpeakeasyMetadata()
1715
pathParams: DownloadSchemaPathParams;
1816
}
1917

20-
2118
export class DownloadSchemaResponse extends SpeakeasyBase {
2219
@SpeakeasyMetadata()
2320
contentType: string;
@@ -30,4 +27,4 @@ export class DownloadSchemaResponse extends SpeakeasyBase {
3027

3128
@SpeakeasyMetadata()
3229
statusCode: number;
33-
}
30+
}

src/sdk/models/operations/downloadschemarevision.ts

Lines changed: 2 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -1,8 +1,7 @@
1-
import { SpeakeasyMetadata, SpeakeasyBase } from "../../../internal/utils";
1+
import { SpeakeasyBase, SpeakeasyMetadata } from "../../../internal/utils";
22
import * as shared from "../shared";
33

44

5-
65
export class DownloadSchemaRevisionPathParams extends SpeakeasyBase {
76
@SpeakeasyMetadata({ data: "pathParam, style=simple;explode=false;name=apiID" })
87
apiID: string;
@@ -14,13 +13,11 @@ export class DownloadSchemaRevisionPathParams extends SpeakeasyBase {
1413
versionID: string;
1514
}
1615

17-
1816
export class DownloadSchemaRevisionRequest extends SpeakeasyBase {
1917
@SpeakeasyMetadata()
2018
pathParams: DownloadSchemaRevisionPathParams;
2119
}
2220

23-
2421
export class DownloadSchemaRevisionResponse extends SpeakeasyBase {
2522
@SpeakeasyMetadata()
2623
contentType: string;
@@ -33,4 +30,4 @@ export class DownloadSchemaRevisionResponse extends SpeakeasyBase {
3330

3431
@SpeakeasyMetadata()
3532
statusCode: number;
36-
}
33+
}

src/sdk/models/operations/findapiendpoint.ts

Lines changed: 2 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -1,8 +1,7 @@
1-
import { SpeakeasyMetadata, SpeakeasyBase } from "../../../internal/utils";
1+
import { SpeakeasyBase, SpeakeasyMetadata } from "../../../internal/utils";
22
import * as shared from "../shared";
33

44

5-
65
export class FindApiEndpointPathParams extends SpeakeasyBase {
76
@SpeakeasyMetadata({ data: "pathParam, style=simple;explode=false;name=apiID" })
87
apiID: string;
@@ -14,13 +13,11 @@ export class FindApiEndpointPathParams extends SpeakeasyBase {
1413
versionID: string;
1514
}
1615

17-
1816
export class FindApiEndpointRequest extends SpeakeasyBase {
1917
@SpeakeasyMetadata()
2018
pathParams: FindApiEndpointPathParams;
2119
}
2220

23-
2421
export class FindApiEndpointResponse extends SpeakeasyBase {
2522
@SpeakeasyMetadata()
2623
apiEndpoint?: shared.ApiEndpoint;
@@ -33,4 +30,4 @@ export class FindApiEndpointResponse extends SpeakeasyBase {
3330

3431
@SpeakeasyMetadata()
3532
statusCode: number;
36-
}
33+
}

0 commit comments

Comments
 (0)