Skip to content

Commit

Permalink
ci: regenerated with OpenAPI Doc 0.1.0, Speakeay CLI 0.11.3
Browse files Browse the repository at this point in the history
  • Loading branch information
speakeasy-ci committed Nov 10, 2022
1 parent 6419c87 commit 5285266
Show file tree
Hide file tree
Showing 48 changed files with 203 additions and 57 deletions.
4 changes: 2 additions & 2 deletions gen.yaml
Original file line number Diff line number Diff line change
@@ -1,8 +1,8 @@
management:
openapi-checksum: 46093b002f359f8049d6b8210be2bc73
openapi-version: 0.1.0
speakeasy-version: 0.10.5
speakeasy-version: 0.11.3
typescript:
author: Speakeasy
packagename: '@speakeasy-api/speakeasy-client-sdk-typescript'
version: 0.1.6
version: 0.2.6
2 changes: 1 addition & 1 deletion package.json
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
{
"name": "@speakeasy-api/speakeasy-client-sdk-typescript",
"version": "0.1.5",
"version": "0.1.6",
"author": "Speakeasy",
"scripts": {
"lint:fix": "tsc --noemit && eslint \"./src\" --ext .ts,.tsx --fix",
Expand Down
1 change: 1 addition & 0 deletions src/sdk/models/operations/deleteapi.ts
Original file line number Diff line number Diff line change
Expand Up @@ -2,6 +2,7 @@ import { Metadata, SpeakeasyBase } from "../../../internal/utils/utils";
import * as shared from "../shared";



export class DeleteApiPathParams extends SpeakeasyBase {
@Metadata({ data: "pathParam, style=simple;explode=false;name=apiID" })
apiId: string;
Expand Down
1 change: 1 addition & 0 deletions src/sdk/models/operations/deleteapiendpoint.ts
Original file line number Diff line number Diff line change
Expand Up @@ -2,6 +2,7 @@ import { Metadata, SpeakeasyBase } from "../../../internal/utils/utils";
import * as shared from "../shared";



export class DeleteApiEndpointPathParams extends SpeakeasyBase {
@Metadata({ data: "pathParam, style=simple;explode=false;name=apiEndpointID" })
apiEndpointId: string;
Expand Down
1 change: 1 addition & 0 deletions src/sdk/models/operations/deleteschema.ts
Original file line number Diff line number Diff line change
Expand Up @@ -2,6 +2,7 @@ import { Metadata, SpeakeasyBase } from "../../../internal/utils/utils";
import * as shared from "../shared";



export class DeleteSchemaPathParams extends SpeakeasyBase {
@Metadata({ data: "pathParam, style=simple;explode=false;name=apiID" })
apiId: string;
Expand Down
1 change: 1 addition & 0 deletions src/sdk/models/operations/deleteversionmetadata.ts
Original file line number Diff line number Diff line change
Expand Up @@ -2,6 +2,7 @@ import { Metadata, SpeakeasyBase } from "../../../internal/utils/utils";
import * as shared from "../shared";



export class DeleteVersionMetadataPathParams extends SpeakeasyBase {
@Metadata({ data: "pathParam, style=simple;explode=false;name=apiID" })
apiId: string;
Expand Down
1 change: 1 addition & 0 deletions src/sdk/models/operations/downloadschema.ts
Original file line number Diff line number Diff line change
Expand Up @@ -2,6 +2,7 @@ import { Metadata, SpeakeasyBase } from "../../../internal/utils/utils";
import * as shared from "../shared";



export class DownloadSchemaPathParams extends SpeakeasyBase {
@Metadata({ data: "pathParam, style=simple;explode=false;name=apiID" })
apiId: string;
Expand Down
1 change: 1 addition & 0 deletions src/sdk/models/operations/downloadschemarevision.ts
Original file line number Diff line number Diff line change
Expand Up @@ -2,6 +2,7 @@ import { Metadata, SpeakeasyBase } from "../../../internal/utils/utils";
import * as shared from "../shared";



export class DownloadSchemaRevisionPathParams extends SpeakeasyBase {
@Metadata({ data: "pathParam, style=simple;explode=false;name=apiID" })
apiId: string;
Expand Down
1 change: 1 addition & 0 deletions src/sdk/models/operations/findapiendpoint.ts
Original file line number Diff line number Diff line change
Expand Up @@ -2,6 +2,7 @@ import { Metadata, SpeakeasyBase } from "../../../internal/utils/utils";
import * as shared from "../shared";



export class FindApiEndpointPathParams extends SpeakeasyBase {
@Metadata({ data: "pathParam, style=simple;explode=false;name=apiID" })
apiId: string;
Expand Down
1 change: 1 addition & 0 deletions src/sdk/models/operations/generateopenapispec.ts
Original file line number Diff line number Diff line change
Expand Up @@ -2,6 +2,7 @@ import { Metadata, SpeakeasyBase } from "../../../internal/utils/utils";
import * as shared from "../shared";



export class GenerateOpenApiSpecPathParams extends SpeakeasyBase {
@Metadata({ data: "pathParam, style=simple;explode=false;name=apiID" })
apiId: string;
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -2,6 +2,7 @@ import { Metadata, SpeakeasyBase } from "../../../internal/utils/utils";
import * as shared from "../shared";



export class GenerateOpenApiSpecForApiEndpointPathParams extends SpeakeasyBase {
@Metadata({ data: "pathParam, style=simple;explode=false;name=apiEndpointID" })
apiEndpointId: string;
Expand Down
1 change: 1 addition & 0 deletions src/sdk/models/operations/generatepostmancollection.ts
Original file line number Diff line number Diff line change
Expand Up @@ -2,6 +2,7 @@ import { Metadata, SpeakeasyBase } from "../../../internal/utils/utils";
import * as shared from "../shared";



export class GeneratePostmanCollectionPathParams extends SpeakeasyBase {
@Metadata({ data: "pathParam, style=simple;explode=false;name=apiID" })
apiId: string;
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -2,6 +2,7 @@ import { Metadata, SpeakeasyBase } from "../../../internal/utils/utils";
import * as shared from "../shared";



export class GeneratePostmanCollectionForApiEndpointPathParams extends SpeakeasyBase {
@Metadata({ data: "pathParam, style=simple;explode=false;name=apiEndpointID" })
apiEndpointId: string;
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -2,6 +2,7 @@ import { Metadata, SpeakeasyBase } from "../../../internal/utils/utils";
import * as shared from "../shared";



export class GenerateRequestPostmanCollectionPathParams extends SpeakeasyBase {
@Metadata({ data: "pathParam, style=simple;explode=false;name=requestID" })
requestId: string;
Expand Down
1 change: 1 addition & 0 deletions src/sdk/models/operations/getallapiendpoints.ts
Original file line number Diff line number Diff line change
Expand Up @@ -2,6 +2,7 @@ import { Metadata, SpeakeasyBase } from "../../../internal/utils/utils";
import * as shared from "../shared";



export class GetAllApiEndpointsPathParams extends SpeakeasyBase {
@Metadata({ data: "pathParam, style=simple;explode=false;name=apiID" })
apiId: string;
Expand Down
1 change: 1 addition & 0 deletions src/sdk/models/operations/getallapiversions.ts
Original file line number Diff line number Diff line change
Expand Up @@ -2,6 +2,7 @@ import { Metadata, SpeakeasyBase } from "../../../internal/utils/utils";
import * as shared from "../shared";



export class GetAllApiVersionsPathParams extends SpeakeasyBase {
@Metadata({ data: "pathParam, style=simple;explode=false;name=apiID" })
apiId: string;
Expand Down
1 change: 1 addition & 0 deletions src/sdk/models/operations/getallforversionapiendpoints.ts
Original file line number Diff line number Diff line change
Expand Up @@ -2,6 +2,7 @@ import { Metadata, SpeakeasyBase } from "../../../internal/utils/utils";
import * as shared from "../shared";



export class GetAllForVersionApiEndpointsPathParams extends SpeakeasyBase {
@Metadata({ data: "pathParam, style=simple;explode=false;name=apiID" })
apiId: string;
Expand Down
1 change: 1 addition & 0 deletions src/sdk/models/operations/getapiendpoint.ts
Original file line number Diff line number Diff line change
Expand Up @@ -2,6 +2,7 @@ import { Metadata, SpeakeasyBase } from "../../../internal/utils/utils";
import * as shared from "../shared";



export class GetApiEndpointPathParams extends SpeakeasyBase {
@Metadata({ data: "pathParam, style=simple;explode=false;name=apiEndpointID" })
apiEndpointId: string;
Expand Down
1 change: 1 addition & 0 deletions src/sdk/models/operations/getapis.ts
Original file line number Diff line number Diff line change
Expand Up @@ -2,6 +2,7 @@ import { Metadata, SpeakeasyBase } from "../../../internal/utils/utils";
import * as shared from "../shared";



export class GetApisOp extends SpeakeasyBase {
@Metadata({ data: "queryParam, name=and" })
and: boolean;
Expand Down
1 change: 1 addition & 0 deletions src/sdk/models/operations/getembedaccesstoken.ts
Original file line number Diff line number Diff line change
Expand Up @@ -2,6 +2,7 @@ import { Metadata, SpeakeasyBase } from "../../../internal/utils/utils";
import * as shared from "../shared";



export class GetEmbedAccessTokenQueryParams extends SpeakeasyBase {
@Metadata({ data: "queryParam, style=form;explode=true;name=description" })
description?: string;
Expand Down
1 change: 1 addition & 0 deletions src/sdk/models/operations/getrequestfromeventlog.ts
Original file line number Diff line number Diff line change
Expand Up @@ -2,6 +2,7 @@ import { Metadata, SpeakeasyBase } from "../../../internal/utils/utils";
import * as shared from "../shared";



export class GetRequestFromEventLogPathParams extends SpeakeasyBase {
@Metadata({ data: "pathParam, style=simple;explode=false;name=requestID" })
requestId: string;
Expand Down
1 change: 1 addition & 0 deletions src/sdk/models/operations/getschema.ts
Original file line number Diff line number Diff line change
Expand Up @@ -2,6 +2,7 @@ import { Metadata, SpeakeasyBase } from "../../../internal/utils/utils";
import * as shared from "../shared";



export class GetSchemaPathParams extends SpeakeasyBase {
@Metadata({ data: "pathParam, style=simple;explode=false;name=apiID" })
apiId: string;
Expand Down
1 change: 1 addition & 0 deletions src/sdk/models/operations/getschemadiff.ts
Original file line number Diff line number Diff line change
Expand Up @@ -2,6 +2,7 @@ import { Metadata, SpeakeasyBase } from "../../../internal/utils/utils";
import * as shared from "../shared";



export class GetSchemaDiffPathParams extends SpeakeasyBase {
@Metadata({ data: "pathParam, style=simple;explode=false;name=apiID" })
apiId: string;
Expand Down
1 change: 1 addition & 0 deletions src/sdk/models/operations/getschemarevision.ts
Original file line number Diff line number Diff line change
Expand Up @@ -2,6 +2,7 @@ import { Metadata, SpeakeasyBase } from "../../../internal/utils/utils";
import * as shared from "../shared";



export class GetSchemaRevisionPathParams extends SpeakeasyBase {
@Metadata({ data: "pathParam, style=simple;explode=false;name=apiID" })
apiId: string;
Expand Down
1 change: 1 addition & 0 deletions src/sdk/models/operations/getschemas.ts
Original file line number Diff line number Diff line change
Expand Up @@ -2,6 +2,7 @@ import { Metadata, SpeakeasyBase } from "../../../internal/utils/utils";
import * as shared from "../shared";



export class GetSchemasPathParams extends SpeakeasyBase {
@Metadata({ data: "pathParam, style=simple;explode=false;name=apiID" })
apiId: string;
Expand Down
1 change: 1 addition & 0 deletions src/sdk/models/operations/getvalidembedaccesstokens.ts
Original file line number Diff line number Diff line change
Expand Up @@ -2,6 +2,7 @@ import { Metadata, SpeakeasyBase } from "../../../internal/utils/utils";
import * as shared from "../shared";



export class GetValidEmbedAccessTokensResponse extends SpeakeasyBase {
@Metadata()
contentType: string;
Expand Down
1 change: 1 addition & 0 deletions src/sdk/models/operations/getversionmetadata.ts
Original file line number Diff line number Diff line change
Expand Up @@ -2,6 +2,7 @@ import { Metadata, SpeakeasyBase } from "../../../internal/utils/utils";
import * as shared from "../shared";



export class GetVersionMetadataPathParams extends SpeakeasyBase {
@Metadata({ data: "pathParam, style=simple;explode=false;name=apiID" })
apiId: string;
Expand Down
3 changes: 2 additions & 1 deletion src/sdk/models/operations/insertversionmetadata.ts
Original file line number Diff line number Diff line change
Expand Up @@ -2,6 +2,7 @@ import { Metadata, SpeakeasyBase } from "../../../internal/utils/utils";
import * as shared from "../shared";



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

@Metadata({ data: "request, media_type=application/json" })
request: shared.VersionMetadata;
request: shared.VersionMetadataInput;
}


Expand Down
1 change: 1 addition & 0 deletions src/sdk/models/operations/queryeventlog.ts
Original file line number Diff line number Diff line change
Expand Up @@ -2,6 +2,7 @@ import { Metadata, SpeakeasyBase } from "../../../internal/utils/utils";
import * as shared from "../shared";



export class QueryEventLogQueryParams extends SpeakeasyBase {
@Metadata({ data: "queryParam, serialization=json;name=filters" })
filters?: shared.Filters;
Expand Down
1 change: 1 addition & 0 deletions src/sdk/models/operations/registerschema.ts
Original file line number Diff line number Diff line change
Expand Up @@ -2,6 +2,7 @@ import { Metadata, SpeakeasyBase } from "../../../internal/utils/utils";
import * as shared from "../shared";



export class RegisterSchemaPathParams extends SpeakeasyBase {
@Metadata({ data: "pathParam, style=simple;explode=false;name=apiID" })
apiId: string;
Expand Down
1 change: 1 addition & 0 deletions src/sdk/models/operations/revokeembedaccesstoken.ts
Original file line number Diff line number Diff line change
Expand Up @@ -2,6 +2,7 @@ import { Metadata, SpeakeasyBase } from "../../../internal/utils/utils";
import * as shared from "../shared";



export class RevokeEmbedAccessTokenPathParams extends SpeakeasyBase {
@Metadata({ data: "pathParam, style=simple;explode=false;name=tokenID" })
tokenId: string;
Expand Down
3 changes: 2 additions & 1 deletion src/sdk/models/operations/upsertapi.ts
Original file line number Diff line number Diff line change
Expand Up @@ -2,6 +2,7 @@ import { Metadata, SpeakeasyBase } from "../../../internal/utils/utils";
import * as shared from "../shared";



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

@Metadata({ data: "request, media_type=application/json" })
request: shared.Api;
request: shared.ApiInput;
}


Expand Down
3 changes: 2 additions & 1 deletion src/sdk/models/operations/upsertapiendpoint.ts
Original file line number Diff line number Diff line change
Expand Up @@ -2,6 +2,7 @@ import { Metadata, SpeakeasyBase } from "../../../internal/utils/utils";
import * as shared from "../shared";



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

@Metadata({ data: "request, media_type=application/json" })
request: shared.ApiEndpoint;
request: shared.ApiEndpointInput;
}


Expand Down
20 changes: 20 additions & 0 deletions src/sdk/models/shared/api.ts
Original file line number Diff line number Diff line change
@@ -1,6 +1,7 @@
import { Metadata, SpeakeasyBase } from "../../../internal/utils/utils";



// Api
/**
* An Api is representation of a API (a collection of API Endpoints) within the Speakeasy Platform.
Expand Down Expand Up @@ -30,3 +31,22 @@ export class Api extends SpeakeasyBase {
@Metadata({ data: "json, name=workspace_id" })
workspaceId: string;
}


// ApiInput
/**
* An Api is representation of a API (a collection of API Endpoints) within the Speakeasy Platform.
**/
export class ApiInput extends SpeakeasyBase {
@Metadata({ data: "json, name=api_id" })
apiId: string;

@Metadata({ data: "json, name=description" })
description: string;

@Metadata({ data: "json, name=meta_data" })
metaData?: Map<string, string[]>;

@Metadata({ data: "json, name=version_id" })
versionId: string;
}
26 changes: 26 additions & 0 deletions src/sdk/models/shared/apiendpoint.ts
Original file line number Diff line number Diff line change
@@ -1,6 +1,7 @@
import { Metadata, SpeakeasyBase } from "../../../internal/utils/utils";



// ApiEndpoint
/**
* An ApiEndpoint is a description of an Endpoint for an API.
Expand Down Expand Up @@ -39,3 +40,28 @@ export class ApiEndpoint extends SpeakeasyBase {
@Metadata({ data: "json, name=workspace_id" })
workspaceId: string;
}


// ApiEndpointInput
/**
* An ApiEndpoint is a description of an Endpoint for an API.
**/
export class ApiEndpointInput extends SpeakeasyBase {
@Metadata({ data: "json, name=api_endpoint_id" })
apiEndpointId: string;

@Metadata({ data: "json, name=description" })
description: string;

@Metadata({ data: "json, name=display_name" })
displayName: string;

@Metadata({ data: "json, name=method" })
method: string;

@Metadata({ data: "json, name=path" })
path: string;

@Metadata({ data: "json, name=version_id" })
versionId: string;
}
1 change: 1 addition & 0 deletions src/sdk/models/shared/boundedrequest.ts
Original file line number Diff line number Diff line change
@@ -1,6 +1,7 @@
import { Metadata, SpeakeasyBase } from "../../../internal/utils/utils";



// BoundedRequest
/**
* A BoundedRequest is a request that has been logged by the Speakeasy without the contents of the request.
Expand Down
1 change: 1 addition & 0 deletions src/sdk/models/shared/embedaccesstokenresponse.ts
Original file line number Diff line number Diff line change
@@ -1,6 +1,7 @@
import { Metadata, SpeakeasyBase } from "../../../internal/utils/utils";



// EmbedAccessTokenResponse
/**
* An EmbedAccessTokenResponse contains a token that can be used to embed a Speakeasy dashboard.
Expand Down
1 change: 1 addition & 0 deletions src/sdk/models/shared/embedtoken.ts
Original file line number Diff line number Diff line change
@@ -1,6 +1,7 @@
import { Metadata, SpeakeasyBase } from "../../../internal/utils/utils";



// EmbedToken
/**
* A representation of an embed token granted for working with Speakeasy components.
Expand Down
1 change: 1 addition & 0 deletions src/sdk/models/shared/error.ts
Original file line number Diff line number Diff line change
@@ -1,6 +1,7 @@
import { Metadata, SpeakeasyBase } from "../../../internal/utils/utils";



// Error
/**
* The `Status` type defines a logical error model
Expand Down
Loading

0 comments on commit 5285266

Please sign in to comment.