Skip to content

Commit 7df72b5

Browse files
committed
ci: regenerated with OpenAPI Doc , Speakeasy CLI 1.484.1
1 parent 1c0e471 commit 7df72b5

File tree

522 files changed

+12652
-16048
lines changed

Some content is hidden

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

522 files changed

+12652
-16048
lines changed

.eslintrc.cjs

-28
This file was deleted.

.gitignore

+3
Original file line numberDiff line numberDiff line change
@@ -1,3 +1,6 @@
1+
/react-query
2+
/.eslintcache
3+
/.speakeasy/reports
14
/funcs
25
/core.*
36
/__tests__

.npmignore

+5-1
Original file line numberDiff line numberDiff line change
@@ -1,9 +1,13 @@
11
**/*
2+
!/FUNCTIONS.md
3+
!/RUNTIMES.md
4+
!/REACT_QUERY.md
25
!/**/*.ts
36
!/**/*.js
7+
!/**/*.json
48
!/**/*.map
59

6-
/.eslintrc.js
10+
/eslint.config.mjs
711
/cjs
812
/.tshy
913
/.tshy-*

.speakeasy/gen.lock

+298-533
Large diffs are not rendered by default.

.speakeasy/workflow.lock

+15-6
Original file line numberDiff line numberDiff line change
@@ -1,18 +1,21 @@
1-
speakeasyVersion: 1.414.1
1+
speakeasyVersion: 1.484.1
22
sources:
33
my-source:
44
sourceNamespace: my-source
5-
sourceRevisionDigest: sha256:1028a5681cdb95a67b15df8dbdc317bb263a1a3777b8f0a01adfa4cf681d5ac4
6-
sourceBlobDigest: sha256:09998bda13d2cfb8f8b4358ed65c6a132bd8a5f7fc1825bf153dec19b1c89744
5+
sourceRevisionDigest: sha256:ac4b11af3565f02368d9fb254382aeb2c76a5c8613a0351d00ba5f4d97370c70
6+
sourceBlobDigest: sha256:a3c82707f36dbd5fb67ba0be2bbd133524f693e35e5a278ceadc7cca1b90ef5a
77
tags:
88
- latest
9-
- main
9+
- speakeasy-sdk-regen-1736295504
10+
- 0.4.0
1011
targets:
1112
speakeasy-client-sdk-typescript:
1213
source: my-source
1314
sourceNamespace: my-source
14-
sourceRevisionDigest: sha256:1028a5681cdb95a67b15df8dbdc317bb263a1a3777b8f0a01adfa4cf681d5ac4
15-
sourceBlobDigest: sha256:09998bda13d2cfb8f8b4358ed65c6a132bd8a5f7fc1825bf153dec19b1c89744
15+
sourceRevisionDigest: sha256:ac4b11af3565f02368d9fb254382aeb2c76a5c8613a0351d00ba5f4d97370c70
16+
sourceBlobDigest: sha256:a3c82707f36dbd5fb67ba0be2bbd133524f693e35e5a278ceadc7cca1b90ef5a
17+
codeSamplesNamespace: my-source-typescript-code-samples
18+
codeSamplesRevisionDigest: sha256:ba161b6eb51b84010f361f7750bcfd27c758ab19bc16ff9051f6525bc04ff01f
1619
workflow:
1720
workflowVersion: 1.0.0
1821
speakeasyVersion: latest
@@ -29,3 +32,9 @@ workflow:
2932
publish:
3033
npm:
3134
token: $npm_token
35+
codeSamples:
36+
registry:
37+
location: registry.speakeasyapi.dev/speakeasy-self/speakeasy-self/my-source-typescript-code-samples
38+
labelOverride:
39+
fixedValue: Typescript (SDK)
40+
blocking: false

.speakeasy/workflow.yaml

+6
Original file line numberDiff line numberDiff line change
@@ -13,3 +13,9 @@ targets:
1313
publish:
1414
npm:
1515
token: $npm_token
16+
codeSamples:
17+
registry:
18+
location: registry.speakeasyapi.dev/speakeasy-self/speakeasy-self/my-source-typescript-code-samples
19+
labelOverride:
20+
fixedValue: Typescript (SDK)
21+
blocking: false

FUNCTIONS.md

+2-2
Original file line numberDiff line numberDiff line change
@@ -20,7 +20,7 @@ specific category of applications.
2020

2121
```typescript
2222
import { SpeakeasyCore } from "@speakeasy-api/speakeasy-client-sdk-typescript/core.js";
23-
import { apisGetApis } from "@speakeasy-api/speakeasy-client-sdk-typescript/funcs/apisGetApis.js";
23+
import { artifactsCreateRemoteSource } from "@speakeasy-api/speakeasy-client-sdk-typescript/funcs/artifactsCreateRemoteSource.js";
2424
import { SDKValidationError } from "@speakeasy-api/speakeasy-client-sdk-typescript/sdk/models/errors/sdkvalidationerror.js";
2525

2626
// Use `SpeakeasyCore` for best tree-shaking performance.
@@ -32,7 +32,7 @@ const speakeasy = new SpeakeasyCore({
3232
});
3333

3434
async function run() {
35-
const res = await apisGetApis(speakeasy, {});
35+
const res = await artifactsCreateRemoteSource(speakeasy);
3636

3737
switch (true) {
3838
case res.ok:

README.md

+136-156
Large diffs are not rendered by default.

RELEASES.md

+11-1
Original file line numberDiff line numberDiff line change
@@ -1656,4 +1656,14 @@ Based on:
16561656
### Generated
16571657
- [typescript v4.0.0-rc.2] .
16581658
### Releases
1659-
- [NPM v4.0.0-rc.2] https://www.npmjs.com/package/@speakeasy-api/speakeasy-client-sdk-typescript/v/4.0.0-rc.2 - .
1659+
- [NPM v4.0.0-rc.2] https://www.npmjs.com/package/@speakeasy-api/speakeasy-client-sdk-typescript/v/4.0.0-rc.2 - .
1660+
1661+
## 2025-02-06 00:18:32
1662+
### Changes
1663+
Based on:
1664+
- OpenAPI Doc
1665+
- Speakeasy CLI 1.484.1 (2.503.2) https://github.com/speakeasy-api/speakeasy
1666+
### Generated
1667+
- [typescript v4.0.0-rc.3] .
1668+
### Releases
1669+
- [NPM v4.0.0-rc.3] https://www.npmjs.com/package/@speakeasy-api/speakeasy-client-sdk-typescript/v/4.0.0-rc.3 - .

RUNTIMES.md

+27-1
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
# Supported JavaScript runtimes
22

3-
This SDK is intended to be used in JavaScript runtimes that support the following features:
3+
This SDK is intended to be used in JavaScript runtimes that support ECMAScript 2020 or newer. The SDK uses the following features:
44

55
* [Web Fetch API][web-fetch]
66
* [Web Streams API][web-streams] and in particular `ReadableStream`
@@ -20,3 +20,29 @@ Runtime environments that are explicitly supported are:
2020
- Note that Deno does not currently have native support for streaming file uploads backed by the filesystem ([issue link][deno-file-streaming])
2121

2222
[deno-file-streaming]: https://github.com/denoland/deno/issues/11018
23+
24+
## Recommended TypeScript compiler options
25+
26+
The following `tsconfig.json` options are recommended for projects using this
27+
SDK in order to get static type support for features like async iterables,
28+
streams and `fetch`-related APIs ([`for await...of`][for-await-of],
29+
[`AbortSignal`][abort-signal], [`Request`][request], [`Response`][response] and
30+
so on):
31+
32+
[for-await-of]: https://developer.mozilla.org/en-US/docs/Web/JavaScript/Reference/Statements/for-await...of
33+
[abort-signal]: https://developer.mozilla.org/en-US/docs/Web/API/AbortSignal
34+
[request]: https://developer.mozilla.org/en-US/docs/Web/API/Request
35+
[response]: https://developer.mozilla.org/en-US/docs/Web/API/Response
36+
37+
```jsonc
38+
{
39+
"compilerOptions": {
40+
"target": "es2020", // or higher
41+
"lib": ["es2020", "dom", "dom.iterable"],
42+
}
43+
}
44+
```
45+
46+
While `target` can be set to older ECMAScript versions, it may result in extra,
47+
unnecessary compatibility code being generated if you are not targeting old
48+
runtimes.

USAGE.md

+1-1
Original file line numberDiff line numberDiff line change
@@ -9,7 +9,7 @@ const speakeasy = new Speakeasy({
99
});
1010

1111
async function run() {
12-
const result = await speakeasy.apis.getApis({});
12+
const result = await speakeasy.artifacts.createRemoteSource();
1313

1414
// Handle the result
1515
console.log(result);
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,19 @@
1+
# ActivateSubscriptionNamespaceRequest
2+
3+
## Example Usage
4+
5+
```typescript
6+
import { ActivateSubscriptionNamespaceRequest } from "@speakeasy-api/speakeasy-client-sdk-typescript/sdk/models/operations";
7+
8+
let value: ActivateSubscriptionNamespaceRequest = {
9+
subscriptionID: "<id>",
10+
namespaceName: "<value>",
11+
};
12+
```
13+
14+
## Fields
15+
16+
| Field | Type | Required | Description |
17+
| ---------------------------- | ---------------------------- | ---------------------------- | ---------------------------- |
18+
| `subscriptionID` | *string* | :heavy_check_mark: | The existing subscription ID |
19+
| `namespaceName` | *string* | :heavy_check_mark: | The namespace name |
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,18 @@
1+
# ArchiveNamespaceRequest
2+
3+
## Example Usage
4+
5+
```typescript
6+
import { ArchiveNamespaceRequest } from "@speakeasy-api/speakeasy-client-sdk-typescript/sdk/models/operations";
7+
8+
let value: ArchiveNamespaceRequest = {
9+
namespaceName: "<value>",
10+
};
11+
```
12+
13+
## Fields
14+
15+
| Field | Type | Required | Description |
16+
| ------------------------------------------------------------------------------------------------------- | ------------------------------------------------------------------------------------------------------- | ------------------------------------------------------------------------------------------------------- | ------------------------------------------------------------------------------------------------------- |
17+
| `namespaceName` | *string* | :heavy_check_mark: | N/A |
18+
| `requestBody` | [operations.ArchiveNamespaceRequestBody](../../../sdk/models/operations/archivenamespacerequestbody.md) | :heavy_minus_sign: | Archived status |
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,17 @@
1+
# ArchiveNamespaceRequestBody
2+
3+
Archived status
4+
5+
## Example Usage
6+
7+
```typescript
8+
import { ArchiveNamespaceRequestBody } from "@speakeasy-api/speakeasy-client-sdk-typescript/sdk/models/operations";
9+
10+
let value: ArchiveNamespaceRequestBody = {};
11+
```
12+
13+
## Fields
14+
15+
| Field | Type | Required | Description |
16+
| ------------------ | ------------------ | ------------------ | ------------------ |
17+
| `archived` | *boolean* | :heavy_minus_sign: | N/A |

docs/sdk/models/operations/createorganizationresponse.md

+5-4
Original file line numberDiff line numberDiff line change
@@ -8,21 +8,22 @@
88
```typescript
99
const value: shared.ErrorT = {
1010
message: "<value>",
11-
statusCode: 501,
11+
statusCode: 101,
1212
};
1313
```
1414

1515
### `shared.Organization`
1616

1717
```typescript
1818
const value: shared.Organization = {
19-
accountType: "enterprise",
20-
createdAt: new Date("2022-11-19T12:22:37.852Z"),
19+
accountType: "free",
20+
createdAt: new Date("2024-04-02T13:33:41.769Z"),
2121
id: "<id>",
2222
name: "<value>",
2323
slug: "<value>",
24+
ssoActivated: false,
2425
telemetryDisabled: false,
25-
updatedAt: new Date("2023-04-23T03:32:15.282Z"),
26+
updatedAt: new Date("2023-05-24T21:26:04.186Z"),
2627
};
2728
```
2829

docs/sdk/models/operations/createrequestbody.md

+1-1
Original file line numberDiff line numberDiff line change
@@ -6,7 +6,7 @@
66
import { CreateRequestBody } from "@speakeasy-api/speakeasy-client-sdk-typescript/sdk/models/operations";
77

88
let value: CreateRequestBody = {
9-
url: "https://fruitful-masterpiece.org",
9+
url: "https://respectful-onset.net",
1010
};
1111
```
1212

docs/sdk/models/operations/createworkspaceresponse.md

+3-4
Original file line numberDiff line numberDiff line change
@@ -8,21 +8,20 @@
88
```typescript
99
const value: shared.ErrorT = {
1010
message: "<value>",
11-
statusCode: 408,
11+
statusCode: 302,
1212
};
1313
```
1414

1515
### `shared.Workspace`
1616

1717
```typescript
1818
const value: shared.Workspace = {
19-
createdAt: new Date("2022-04-24T23:18:08.610Z"),
19+
createdAt: new Date("2023-09-19T07:13:22.589Z"),
2020
id: "<id>",
2121
name: "<value>",
2222
organizationId: "<id>",
2323
slug: "<value>",
24-
telemetryDisabled: false,
25-
updatedAt: new Date("2024-09-22T01:21:39.695Z"),
24+
updatedAt: new Date("2024-07-17T21:44:35.519Z"),
2625
verified: false,
2726
};
2827
```
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,15 @@
1+
# CreateWorkspaceTokenGlobals
2+
3+
## Example Usage
4+
5+
```typescript
6+
import { CreateWorkspaceTokenGlobals } from "@speakeasy-api/speakeasy-client-sdk-typescript/sdk/models/operations";
7+
8+
let value: CreateWorkspaceTokenGlobals = {};
9+
```
10+
11+
## Fields
12+
13+
| Field | Type | Required | Description |
14+
| ------------------ | ------------------ | ------------------ | ------------------ |
15+
| `workspaceId` | *string* | :heavy_minus_sign: | N/A |

docs/sdk/models/operations/createworkspacetokenrequest.md

+3-2
Original file line numberDiff line numberDiff line change
@@ -9,10 +9,11 @@ let value: CreateWorkspaceTokenRequest = {
99
workspaceId: "<id>",
1010
workspaceToken: {
1111
alg: "<value>",
12-
createdAt: "<value>",
12+
createdAt: new Date("2024-02-08T05:58:01.482Z"),
1313
id: "<id>",
1414
key: "<key>",
1515
name: "<value>",
16+
workspaceId: "<id>",
1617
},
1718
};
1819
```
@@ -21,5 +22,5 @@ let value: CreateWorkspaceTokenRequest = {
2122

2223
| Field | Type | Required | Description |
2324
| --------------------------------------------------------------------- | --------------------------------------------------------------------- | --------------------------------------------------------------------- | --------------------------------------------------------------------- |
24-
| `workspaceId` | *string* | :heavy_check_mark: | Unique identifier of the workspace. |
25+
| `workspaceId` | *string* | :heavy_minus_sign: | Unique identifier of the workspace. |
2526
| `workspaceToken` | [shared.WorkspaceToken](../../../sdk/models/shared/workspacetoken.md) | :heavy_check_mark: | N/A |

docs/sdk/models/operations/deleteapiendpointrequest.md

-21
This file was deleted.

docs/sdk/models/operations/deleteapirequest.md

-19
This file was deleted.

0 commit comments

Comments
 (0)