Skip to content

Commit 5285266

Browse files
committed
ci: regenerated with OpenAPI Doc 0.1.0, Speakeay CLI 0.11.3
1 parent 6419c87 commit 5285266

Some content is hidden

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

48 files changed

+203
-57
lines changed

gen.yaml

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1,8 +1,8 @@
11
management:
22
openapi-checksum: 46093b002f359f8049d6b8210be2bc73
33
openapi-version: 0.1.0
4-
speakeasy-version: 0.10.5
4+
speakeasy-version: 0.11.3
55
typescript:
66
author: Speakeasy
77
packagename: '@speakeasy-api/speakeasy-client-sdk-typescript'
8-
version: 0.1.6
8+
version: 0.2.6

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.1.5",
3+
"version": "0.1.6",
44
"author": "Speakeasy",
55
"scripts": {
66
"lint:fix": "tsc --noemit && eslint \"./src\" --ext .ts,.tsx --fix",

src/sdk/models/operations/deleteapi.ts

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

44

5+
56
export class DeleteApiPathParams extends SpeakeasyBase {
67
@Metadata({ data: "pathParam, style=simple;explode=false;name=apiID" })
78
apiId: string;

src/sdk/models/operations/deleteapiendpoint.ts

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

44

5+
56
export class DeleteApiEndpointPathParams extends SpeakeasyBase {
67
@Metadata({ data: "pathParam, style=simple;explode=false;name=apiEndpointID" })
78
apiEndpointId: string;

src/sdk/models/operations/deleteschema.ts

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

44

5+
56
export class DeleteSchemaPathParams extends SpeakeasyBase {
67
@Metadata({ data: "pathParam, style=simple;explode=false;name=apiID" })
78
apiId: string;

src/sdk/models/operations/deleteversionmetadata.ts

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

44

5+
56
export class DeleteVersionMetadataPathParams extends SpeakeasyBase {
67
@Metadata({ data: "pathParam, style=simple;explode=false;name=apiID" })
78
apiId: string;

src/sdk/models/operations/downloadschema.ts

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

44

5+
56
export class DownloadSchemaPathParams extends SpeakeasyBase {
67
@Metadata({ data: "pathParam, style=simple;explode=false;name=apiID" })
78
apiId: string;

src/sdk/models/operations/downloadschemarevision.ts

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

44

5+
56
export class DownloadSchemaRevisionPathParams extends SpeakeasyBase {
67
@Metadata({ data: "pathParam, style=simple;explode=false;name=apiID" })
78
apiId: string;

src/sdk/models/operations/findapiendpoint.ts

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

44

5+
56
export class FindApiEndpointPathParams extends SpeakeasyBase {
67
@Metadata({ data: "pathParam, style=simple;explode=false;name=apiID" })
78
apiId: string;

src/sdk/models/operations/generateopenapispec.ts

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

44

5+
56
export class GenerateOpenApiSpecPathParams extends SpeakeasyBase {
67
@Metadata({ data: "pathParam, style=simple;explode=false;name=apiID" })
78
apiId: string;

src/sdk/models/operations/generateopenapispecforapiendpoint.ts

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

44

5+
56
export class GenerateOpenApiSpecForApiEndpointPathParams extends SpeakeasyBase {
67
@Metadata({ data: "pathParam, style=simple;explode=false;name=apiEndpointID" })
78
apiEndpointId: string;

src/sdk/models/operations/generatepostmancollection.ts

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

44

5+
56
export class GeneratePostmanCollectionPathParams extends SpeakeasyBase {
67
@Metadata({ data: "pathParam, style=simple;explode=false;name=apiID" })
78
apiId: string;

src/sdk/models/operations/generatepostmancollectionforapiendpoint.ts

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

44

5+
56
export class GeneratePostmanCollectionForApiEndpointPathParams extends SpeakeasyBase {
67
@Metadata({ data: "pathParam, style=simple;explode=false;name=apiEndpointID" })
78
apiEndpointId: string;

src/sdk/models/operations/generaterequestpostmancollection.ts

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

44

5+
56
export class GenerateRequestPostmanCollectionPathParams extends SpeakeasyBase {
67
@Metadata({ data: "pathParam, style=simple;explode=false;name=requestID" })
78
requestId: string;

src/sdk/models/operations/getallapiendpoints.ts

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

44

5+
56
export class GetAllApiEndpointsPathParams extends SpeakeasyBase {
67
@Metadata({ data: "pathParam, style=simple;explode=false;name=apiID" })
78
apiId: string;

src/sdk/models/operations/getallapiversions.ts

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

44

5+
56
export class GetAllApiVersionsPathParams extends SpeakeasyBase {
67
@Metadata({ data: "pathParam, style=simple;explode=false;name=apiID" })
78
apiId: string;

src/sdk/models/operations/getallforversionapiendpoints.ts

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

44

5+
56
export class GetAllForVersionApiEndpointsPathParams extends SpeakeasyBase {
67
@Metadata({ data: "pathParam, style=simple;explode=false;name=apiID" })
78
apiId: string;

src/sdk/models/operations/getapiendpoint.ts

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

44

5+
56
export class GetApiEndpointPathParams extends SpeakeasyBase {
67
@Metadata({ data: "pathParam, style=simple;explode=false;name=apiEndpointID" })
78
apiEndpointId: string;

src/sdk/models/operations/getapis.ts

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

44

5+
56
export class GetApisOp extends SpeakeasyBase {
67
@Metadata({ data: "queryParam, name=and" })
78
and: boolean;

src/sdk/models/operations/getembedaccesstoken.ts

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

44

5+
56
export class GetEmbedAccessTokenQueryParams extends SpeakeasyBase {
67
@Metadata({ data: "queryParam, style=form;explode=true;name=description" })
78
description?: string;

src/sdk/models/operations/getrequestfromeventlog.ts

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

44

5+
56
export class GetRequestFromEventLogPathParams extends SpeakeasyBase {
67
@Metadata({ data: "pathParam, style=simple;explode=false;name=requestID" })
78
requestId: string;

src/sdk/models/operations/getschema.ts

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

44

5+
56
export class GetSchemaPathParams extends SpeakeasyBase {
67
@Metadata({ data: "pathParam, style=simple;explode=false;name=apiID" })
78
apiId: string;

src/sdk/models/operations/getschemadiff.ts

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

44

5+
56
export class GetSchemaDiffPathParams extends SpeakeasyBase {
67
@Metadata({ data: "pathParam, style=simple;explode=false;name=apiID" })
78
apiId: string;

src/sdk/models/operations/getschemarevision.ts

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

44

5+
56
export class GetSchemaRevisionPathParams extends SpeakeasyBase {
67
@Metadata({ data: "pathParam, style=simple;explode=false;name=apiID" })
78
apiId: string;

src/sdk/models/operations/getschemas.ts

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

44

5+
56
export class GetSchemasPathParams extends SpeakeasyBase {
67
@Metadata({ data: "pathParam, style=simple;explode=false;name=apiID" })
78
apiId: string;

src/sdk/models/operations/getvalidembedaccesstokens.ts

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

44

5+
56
export class GetValidEmbedAccessTokensResponse extends SpeakeasyBase {
67
@Metadata()
78
contentType: string;

src/sdk/models/operations/getversionmetadata.ts

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

44

5+
56
export class GetVersionMetadataPathParams extends SpeakeasyBase {
67
@Metadata({ data: "pathParam, style=simple;explode=false;name=apiID" })
78
apiId: string;

src/sdk/models/operations/insertversionmetadata.ts

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

44

5+
56
export class InsertVersionMetadataPathParams extends SpeakeasyBase {
67
@Metadata({ data: "pathParam, style=simple;explode=false;name=apiID" })
78
apiId: string;
@@ -16,7 +17,7 @@ export class InsertVersionMetadataRequest extends SpeakeasyBase {
1617
pathParams: InsertVersionMetadataPathParams;
1718

1819
@Metadata({ data: "request, media_type=application/json" })
19-
request: shared.VersionMetadata;
20+
request: shared.VersionMetadataInput;
2021
}
2122

2223

src/sdk/models/operations/queryeventlog.ts

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

44

5+
56
export class QueryEventLogQueryParams extends SpeakeasyBase {
67
@Metadata({ data: "queryParam, serialization=json;name=filters" })
78
filters?: shared.Filters;

src/sdk/models/operations/registerschema.ts

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

44

5+
56
export class RegisterSchemaPathParams extends SpeakeasyBase {
67
@Metadata({ data: "pathParam, style=simple;explode=false;name=apiID" })
78
apiId: string;

src/sdk/models/operations/revokeembedaccesstoken.ts

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

44

5+
56
export class RevokeEmbedAccessTokenPathParams extends SpeakeasyBase {
67
@Metadata({ data: "pathParam, style=simple;explode=false;name=tokenID" })
78
tokenId: string;

src/sdk/models/operations/upsertapi.ts

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

44

5+
56
export class UpsertApiPathParams extends SpeakeasyBase {
67
@Metadata({ data: "pathParam, style=simple;explode=false;name=apiID" })
78
apiId: string;
@@ -13,7 +14,7 @@ export class UpsertApiRequest extends SpeakeasyBase {
1314
pathParams: UpsertApiPathParams;
1415

1516
@Metadata({ data: "request, media_type=application/json" })
16-
request: shared.Api;
17+
request: shared.ApiInput;
1718
}
1819

1920

src/sdk/models/operations/upsertapiendpoint.ts

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

44

5+
56
export class UpsertApiEndpointPathParams extends SpeakeasyBase {
67
@Metadata({ data: "pathParam, style=simple;explode=false;name=apiEndpointID" })
78
apiEndpointId: string;
@@ -19,7 +20,7 @@ export class UpsertApiEndpointRequest extends SpeakeasyBase {
1920
pathParams: UpsertApiEndpointPathParams;
2021

2122
@Metadata({ data: "request, media_type=application/json" })
22-
request: shared.ApiEndpoint;
23+
request: shared.ApiEndpointInput;
2324
}
2425

2526

src/sdk/models/shared/api.ts

Lines changed: 20 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,7 @@
11
import { Metadata, SpeakeasyBase } from "../../../internal/utils/utils";
22

33

4+
45
// Api
56
/**
67
* An Api is representation of a API (a collection of API Endpoints) within the Speakeasy Platform.
@@ -30,3 +31,22 @@ export class Api extends SpeakeasyBase {
3031
@Metadata({ data: "json, name=workspace_id" })
3132
workspaceId: string;
3233
}
34+
35+
36+
// ApiInput
37+
/**
38+
* An Api is representation of a API (a collection of API Endpoints) within the Speakeasy Platform.
39+
**/
40+
export class ApiInput extends SpeakeasyBase {
41+
@Metadata({ data: "json, name=api_id" })
42+
apiId: string;
43+
44+
@Metadata({ data: "json, name=description" })
45+
description: string;
46+
47+
@Metadata({ data: "json, name=meta_data" })
48+
metaData?: Map<string, string[]>;
49+
50+
@Metadata({ data: "json, name=version_id" })
51+
versionId: string;
52+
}

src/sdk/models/shared/apiendpoint.ts

Lines changed: 26 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,7 @@
11
import { Metadata, SpeakeasyBase } from "../../../internal/utils/utils";
22

33

4+
45
// ApiEndpoint
56
/**
67
* An ApiEndpoint is a description of an Endpoint for an API.
@@ -39,3 +40,28 @@ export class ApiEndpoint extends SpeakeasyBase {
3940
@Metadata({ data: "json, name=workspace_id" })
4041
workspaceId: string;
4142
}
43+
44+
45+
// ApiEndpointInput
46+
/**
47+
* An ApiEndpoint is a description of an Endpoint for an API.
48+
**/
49+
export class ApiEndpointInput extends SpeakeasyBase {
50+
@Metadata({ data: "json, name=api_endpoint_id" })
51+
apiEndpointId: string;
52+
53+
@Metadata({ data: "json, name=description" })
54+
description: string;
55+
56+
@Metadata({ data: "json, name=display_name" })
57+
displayName: string;
58+
59+
@Metadata({ data: "json, name=method" })
60+
method: string;
61+
62+
@Metadata({ data: "json, name=path" })
63+
path: string;
64+
65+
@Metadata({ data: "json, name=version_id" })
66+
versionId: string;
67+
}

src/sdk/models/shared/boundedrequest.ts

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,7 @@
11
import { Metadata, SpeakeasyBase } from "../../../internal/utils/utils";
22

33

4+
45
// BoundedRequest
56
/**
67
* A BoundedRequest is a request that has been logged by the Speakeasy without the contents of the request.

src/sdk/models/shared/embedaccesstokenresponse.ts

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,7 @@
11
import { Metadata, SpeakeasyBase } from "../../../internal/utils/utils";
22

33

4+
45
// EmbedAccessTokenResponse
56
/**
67
* An EmbedAccessTokenResponse contains a token that can be used to embed a Speakeasy dashboard.

src/sdk/models/shared/embedtoken.ts

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,7 @@
11
import { Metadata, SpeakeasyBase } from "../../../internal/utils/utils";
22

33

4+
45
// EmbedToken
56
/**
67
* A representation of an embed token granted for working with Speakeasy components.

src/sdk/models/shared/error.ts

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,7 @@
11
import { Metadata, SpeakeasyBase } from "../../../internal/utils/utils";
22

33

4+
45
// Error
56
/**
67
* The `Status` type defines a logical error model

0 commit comments

Comments
 (0)