Skip to content

Commit

Permalink
ci: regenerated with OpenAPI Doc , Speakeasy CLI 1.455.3
Browse files Browse the repository at this point in the history
  • Loading branch information
speakeasybot committed Dec 16, 2024
1 parent f31ec32 commit 814ed94
Show file tree
Hide file tree
Showing 487 changed files with 9,462 additions and 13,613 deletions.
1 change: 1 addition & 0 deletions .gitignore
Original file line number Diff line number Diff line change
@@ -1,3 +1,4 @@
/react-query
/funcs
/core.*
/__tests__
Expand Down
3 changes: 3 additions & 0 deletions .npmignore
Original file line number Diff line number Diff line change
@@ -1,4 +1,7 @@
**/*
!/FUNCTIONS.md
!/RUNTIMES.md
!/REACT_QUERY.md
!/**/*.ts
!/**/*.js
!/**/*.map
Expand Down
377 changes: 188 additions & 189 deletions .speakeasy/gen.lock

Large diffs are not rendered by default.

19 changes: 13 additions & 6 deletions .speakeasy/workflow.lock
Original file line number Diff line number Diff line change
@@ -1,18 +1,21 @@
speakeasyVersion: 1.414.1
speakeasyVersion: 1.455.3
sources:
my-source:
sourceNamespace: my-source
sourceRevisionDigest: sha256:1028a5681cdb95a67b15df8dbdc317bb263a1a3777b8f0a01adfa4cf681d5ac4
sourceBlobDigest: sha256:09998bda13d2cfb8f8b4358ed65c6a132bd8a5f7fc1825bf153dec19b1c89744
sourceRevisionDigest: sha256:906bc3e8d777a5bf621efcca0ab1aaaffcf63aa6f98f4a0c6e01418f8af99219
sourceBlobDigest: sha256:57b066b6505966df2aab772bec5bd33880a1a448bb68083b0a10cb6a5113edd5
tags:
- latest
- main
- speakeasy-sdk-regen-1728605883
- 0.4.0
targets:
speakeasy-client-sdk-typescript:
source: my-source
sourceNamespace: my-source
sourceRevisionDigest: sha256:1028a5681cdb95a67b15df8dbdc317bb263a1a3777b8f0a01adfa4cf681d5ac4
sourceBlobDigest: sha256:09998bda13d2cfb8f8b4358ed65c6a132bd8a5f7fc1825bf153dec19b1c89744
sourceRevisionDigest: sha256:906bc3e8d777a5bf621efcca0ab1aaaffcf63aa6f98f4a0c6e01418f8af99219
sourceBlobDigest: sha256:57b066b6505966df2aab772bec5bd33880a1a448bb68083b0a10cb6a5113edd5
codeSamplesNamespace: my-source-typescript-code-samples
codeSamplesRevisionDigest: sha256:f0e9bc674b1ab9bfc6d9860b30326d59a7f061c19968429195d70058f70c9dfd
workflow:
workflowVersion: 1.0.0
speakeasyVersion: latest
Expand All @@ -29,3 +32,7 @@ workflow:
publish:
npm:
token: $npm_token
codeSamples:
registry:
location: registry.speakeasyapi.dev/speakeasy-self/speakeasy-self/my-source-typescript-code-samples
blocking: false
4 changes: 4 additions & 0 deletions .speakeasy/workflow.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -13,3 +13,7 @@ targets:
publish:
npm:
token: $npm_token
codeSamples:
registry:
location: registry.speakeasyapi.dev/speakeasy-self/speakeasy-self/my-source-typescript-code-samples
blocking: false
11 changes: 9 additions & 2 deletions FUNCTIONS.md
Original file line number Diff line number Diff line change
Expand Up @@ -20,8 +20,9 @@ specific category of applications.

```typescript
import { SpeakeasyCore } from "@speakeasy-api/speakeasy-client-sdk-typescript/core.js";
import { apisGetApis } from "@speakeasy-api/speakeasy-client-sdk-typescript/funcs/apisGetApis.js";
import { generateCodeSamplePreview } from "@speakeasy-api/speakeasy-client-sdk-typescript/funcs/generateCodeSamplePreview.js";
import { SDKValidationError } from "@speakeasy-api/speakeasy-client-sdk-typescript/sdk/models/errors/sdkvalidationerror.js";
import { openAsBlob } from "node:fs";

// Use `SpeakeasyCore` for best tree-shaking performance.
// You can create one instance of it to use across an application.
Expand All @@ -32,7 +33,13 @@ const speakeasy = new SpeakeasyCore({
});

async function run() {
const res = await apisGetApis(speakeasy, {});
const res = await generateCodeSamplePreview(speakeasy, {
languages: [
"<value>",
"<value>",
],
schemaFile: await openAsBlob("example.file"),
});

switch (true) {
case res.ok:
Expand Down
327 changes: 176 additions & 151 deletions README.md

Large diffs are not rendered by default.

12 changes: 11 additions & 1 deletion RELEASES.md
Original file line number Diff line number Diff line change
Expand Up @@ -1656,4 +1656,14 @@ Based on:
### Generated
- [typescript v4.0.0-rc.2] .
### Releases
- [NPM v4.0.0-rc.2] https://www.npmjs.com/package/@speakeasy-api/speakeasy-client-sdk-typescript/v/4.0.0-rc.2 - .
- [NPM v4.0.0-rc.2] https://www.npmjs.com/package/@speakeasy-api/speakeasy-client-sdk-typescript/v/4.0.0-rc.2 - .

## 2024-12-16 00:21:00
### Changes
Based on:
- OpenAPI Doc
- Speakeasy CLI 1.455.3 (2.479.3) https://github.com/speakeasy-api/speakeasy
### Generated
- [typescript v4.0.0-rc.3] .
### Releases
- [NPM v4.0.0-rc.3] https://www.npmjs.com/package/@speakeasy-api/speakeasy-client-sdk-typescript/v/4.0.0-rc.3 - .
9 changes: 8 additions & 1 deletion USAGE.md
Original file line number Diff line number Diff line change
@@ -1,6 +1,7 @@
<!-- Start SDK Example Usage [usage] -->
```typescript
import { Speakeasy } from "@speakeasy-api/speakeasy-client-sdk-typescript";
import { openAsBlob } from "node:fs";

const speakeasy = new Speakeasy({
security: {
Expand All @@ -9,7 +10,13 @@ const speakeasy = new Speakeasy({
});

async function run() {
const result = await speakeasy.apis.getApis({});
const result = await speakeasy.generateCodeSamplePreview({
languages: [
"<value>",
"<value>",
],
schemaFile: await openAsBlob("example.file"),
});

// Handle the result
console.log(result);
Expand Down
19 changes: 19 additions & 0 deletions docs/sdk/models/operations/activatesubscriptionnamespacerequest.md
Original file line number Diff line number Diff line change
@@ -0,0 +1,19 @@
# ActivateSubscriptionNamespaceRequest

## Example Usage

```typescript
import { ActivateSubscriptionNamespaceRequest } from "@speakeasy-api/speakeasy-client-sdk-typescript/sdk/models/operations";

let value: ActivateSubscriptionNamespaceRequest = {
subscriptionID: "<id>",
namespaceName: "<value>",
};
```

## Fields

| Field | Type | Required | Description |
| ---------------------------- | ---------------------------- | ---------------------------- | ---------------------------- |
| `subscriptionID` | *string* | :heavy_check_mark: | The existing subscription ID |
| `namespaceName` | *string* | :heavy_check_mark: | The namespace name |
9 changes: 5 additions & 4 deletions docs/sdk/models/operations/createorganizationresponse.md
Original file line number Diff line number Diff line change
Expand Up @@ -8,21 +8,22 @@
```typescript
const value: shared.ErrorT = {
message: "<value>",
statusCode: 501,
statusCode: 423,
};
```

### `shared.Organization`

```typescript
const value: shared.Organization = {
accountType: "enterprise",
createdAt: new Date("2022-11-19T12:22:37.852Z"),
accountType: "free",
createdAt: new Date("2022-11-06T22:57:15.637Z"),
id: "<id>",
name: "<value>",
slug: "<value>",
ssoActivated: false,
telemetryDisabled: false,
updatedAt: new Date("2023-04-23T03:32:15.282Z"),
updatedAt: new Date("2022-05-12T17:39:01.246Z"),
};
```

2 changes: 1 addition & 1 deletion docs/sdk/models/operations/createrequestbody.md
Original file line number Diff line number Diff line change
Expand Up @@ -6,7 +6,7 @@
import { CreateRequestBody } from "@speakeasy-api/speakeasy-client-sdk-typescript/sdk/models/operations";

let value: CreateRequestBody = {
url: "https://fruitful-masterpiece.org",
url: "https://pale-milestone.biz",
};
```

Expand Down
7 changes: 3 additions & 4 deletions docs/sdk/models/operations/createworkspaceresponse.md
Original file line number Diff line number Diff line change
Expand Up @@ -8,21 +8,20 @@
```typescript
const value: shared.ErrorT = {
message: "<value>",
statusCode: 408,
statusCode: 102,
};
```

### `shared.Workspace`

```typescript
const value: shared.Workspace = {
createdAt: new Date("2022-04-24T23:18:08.610Z"),
createdAt: new Date("2023-05-13T06:02:30.477Z"),
id: "<id>",
name: "<value>",
organizationId: "<id>",
slug: "<value>",
telemetryDisabled: false,
updatedAt: new Date("2024-09-22T01:21:39.695Z"),
updatedAt: new Date("2023-08-12T02:10:46.448Z"),
verified: false,
};
```
Expand Down
15 changes: 15 additions & 0 deletions docs/sdk/models/operations/createworkspacetokenglobals.md
Original file line number Diff line number Diff line change
@@ -0,0 +1,15 @@
# CreateWorkspaceTokenGlobals

## Example Usage

```typescript
import { CreateWorkspaceTokenGlobals } from "@speakeasy-api/speakeasy-client-sdk-typescript/sdk/models/operations";

let value: CreateWorkspaceTokenGlobals = {};
```

## Fields

| Field | Type | Required | Description |
| ------------------ | ------------------ | ------------------ | ------------------ |
| `workspaceId` | *string* | :heavy_minus_sign: | N/A |
6 changes: 3 additions & 3 deletions docs/sdk/models/operations/createworkspacetokenrequest.md
Original file line number Diff line number Diff line change
Expand Up @@ -6,13 +6,13 @@
import { CreateWorkspaceTokenRequest } from "@speakeasy-api/speakeasy-client-sdk-typescript/sdk/models/operations";

let value: CreateWorkspaceTokenRequest = {
workspaceId: "<id>",
workspaceToken: {
alg: "<value>",
createdAt: "<value>",
createdAt: new Date("2024-09-09T18:02:30.092Z"),
id: "<id>",
key: "<key>",
name: "<value>",
workspaceId: "<id>",
},
};
```
Expand All @@ -21,5 +21,5 @@ let value: CreateWorkspaceTokenRequest = {

| Field | Type | Required | Description |
| --------------------------------------------------------------------- | --------------------------------------------------------------------- | --------------------------------------------------------------------- | --------------------------------------------------------------------- |
| `workspaceId` | *string* | :heavy_check_mark: | Unique identifier of the workspace. |
| `workspaceId` | *string* | :heavy_minus_sign: | Unique identifier of the workspace. |
| `workspaceToken` | [shared.WorkspaceToken](../../../sdk/models/shared/workspacetoken.md) | :heavy_check_mark: | N/A |
21 changes: 0 additions & 21 deletions docs/sdk/models/operations/deleteapiendpointrequest.md

This file was deleted.

19 changes: 0 additions & 19 deletions docs/sdk/models/operations/deleteapirequest.md

This file was deleted.

21 changes: 0 additions & 21 deletions docs/sdk/models/operations/deleteschemarequest.md

This file was deleted.

23 changes: 0 additions & 23 deletions docs/sdk/models/operations/deleteversionmetadatarequest.md

This file was deleted.

15 changes: 15 additions & 0 deletions docs/sdk/models/operations/deleteworkspacetokenglobals.md
Original file line number Diff line number Diff line change
@@ -0,0 +1,15 @@
# DeleteWorkspaceTokenGlobals

## Example Usage

```typescript
import { DeleteWorkspaceTokenGlobals } from "@speakeasy-api/speakeasy-client-sdk-typescript/sdk/models/operations";

let value: DeleteWorkspaceTokenGlobals = {};
```

## Fields

| Field | Type | Required | Description |
| ------------------ | ------------------ | ------------------ | ------------------ |
| `workspaceId` | *string* | :heavy_minus_sign: | N/A |
3 changes: 1 addition & 2 deletions docs/sdk/models/operations/deleteworkspacetokenrequest.md
Original file line number Diff line number Diff line change
Expand Up @@ -6,7 +6,6 @@
import { DeleteWorkspaceTokenRequest } from "@speakeasy-api/speakeasy-client-sdk-typescript/sdk/models/operations";

let value: DeleteWorkspaceTokenRequest = {
workspaceId: "<id>",
tokenID: "<id>",
};
```
Expand All @@ -15,5 +14,5 @@ let value: DeleteWorkspaceTokenRequest = {

| Field | Type | Required | Description |
| ----------------------------------- | ----------------------------------- | ----------------------------------- | ----------------------------------- |
| `workspaceId` | *string* | :heavy_check_mark: | Unique identifier of the workspace. |
| `workspaceId` | *string* | :heavy_minus_sign: | Unique identifier of the workspace. |
| `tokenID` | *string* | :heavy_check_mark: | Unique identifier of the token. |
19 changes: 0 additions & 19 deletions docs/sdk/models/operations/downloadschemarequest.md

This file was deleted.

Loading

0 comments on commit 814ed94

Please sign in to comment.