Skip to content

Commit d9c52e7

Browse files
committed
ci: regenerated with OpenAPI Doc , Speakeasy CLI 1.480.0
1 parent 1c0e471 commit d9c52e7

File tree

517 files changed

+12532
-15882
lines changed

Some content is hidden

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

517 files changed

+12532
-15882
lines changed

.eslintrc.cjs

Lines changed: 0 additions & 28 deletions
This file was deleted.

.gitignore

Lines changed: 3 additions & 0 deletions
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

Lines changed: 5 additions & 1 deletion
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

Lines changed: 309 additions & 532 deletions
Large diffs are not rendered by default.

.speakeasy/workflow.lock

Lines changed: 15 additions & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -1,18 +1,21 @@
1-
speakeasyVersion: 1.414.1
1+
speakeasyVersion: 1.480.0
22
sources:
33
my-source:
44
sourceNamespace: my-source
5-
sourceRevisionDigest: sha256:1028a5681cdb95a67b15df8dbdc317bb263a1a3777b8f0a01adfa4cf681d5ac4
6-
sourceBlobDigest: sha256:09998bda13d2cfb8f8b4358ed65c6a132bd8a5f7fc1825bf153dec19b1c89744
5+
sourceRevisionDigest: sha256:cacf690bd7997a730e6d429b0fccc0007de3e1e97236e4175a6c057c7ff11086
6+
sourceBlobDigest: sha256:c06cc83921f8f24dfc098c977539857c3b7ff65302887ea14acb0fe3d5b17c62
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:cacf690bd7997a730e6d429b0fccc0007de3e1e97236e4175a6c057c7ff11086
16+
sourceBlobDigest: sha256:c06cc83921f8f24dfc098c977539857c3b7ff65302887ea14acb0fe3d5b17c62
17+
codeSamplesNamespace: my-source-typescript-code-samples
18+
codeSamplesRevisionDigest: sha256:1cff771737642e6b4db1bc9cc8ae0863ee4b57d3f374b984fc67502a99b85199
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

Lines changed: 6 additions & 0 deletions
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

Lines changed: 2 additions & 2 deletions
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

Lines changed: 139 additions & 156 deletions
Large diffs are not rendered by default.

RELEASES.md

Lines changed: 11 additions & 1 deletion
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-01-31 00:17:57
1662+
### Changes
1663+
Based on:
1664+
- OpenAPI Doc
1665+
- Speakeasy CLI 1.480.0 (2.499.0) 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

Lines changed: 27 additions & 1 deletion
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.

0 commit comments

Comments
 (0)