Skip to content

Commit

Permalink
ci: regenerated with OpenAPI Doc , Speakeasy CLI 1.460.3
Browse files Browse the repository at this point in the history
  • Loading branch information
speakeasybot authored and frankie567 committed Jan 2, 2025
1 parent 2582801 commit ed273da
Show file tree
Hide file tree
Showing 581 changed files with 4,018 additions and 8,371 deletions.
242 changes: 67 additions & 175 deletions .speakeasy/gen.lock

Large diffs are not rendered by default.

2 changes: 1 addition & 1 deletion .speakeasy/gen.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -16,7 +16,7 @@ generation:
oAuth2ClientCredentialsEnabled: true
oAuth2PasswordEnabled: false
typescript:
version: 0.19.2
version: 0.20.0
additionalDependencies:
dependencies:
standardwebhooks: ^1.0.0
Expand Down
20 changes: 11 additions & 9 deletions .speakeasy/workflow.lock
Original file line number Diff line number Diff line change
@@ -1,21 +1,21 @@
speakeasyVersion: 1.456.1
speakeasyVersion: 1.460.3
sources:
Polar-OAS:
sourceNamespace: polar-oas
sourceRevisionDigest: sha256:cf26635b4fd268456aefef2efe3855f879071ba209cb8ea272fe057ec4dc8080
sourceBlobDigest: sha256:2fcb4a497110dfacf53652f840b4586fd532f15ddfa11dc8329db9987c54371a
sourceRevisionDigest: sha256:b1f4a64aa71c96ebab871c01a8ae16aa7bb008f9782f54e65151d4e65f2d7c78
sourceBlobDigest: sha256:6dbfe2107a5935633f4599b35f6b7ea72d04e2464bad60267066c53a1cc17e5c
tags:
- latest
- speakeasy-sdk-regen-1734654388
- speakeasy-sdk-regen-1734740758
- 0.1.0
targets:
polar:
source: Polar-OAS
sourceNamespace: polar-oas
sourceRevisionDigest: sha256:cf26635b4fd268456aefef2efe3855f879071ba209cb8ea272fe057ec4dc8080
sourceBlobDigest: sha256:2fcb4a497110dfacf53652f840b4586fd532f15ddfa11dc8329db9987c54371a
codeSamplesNamespace: polar-oas-code-samples
codeSamplesRevisionDigest: sha256:d1b9a8d832074174ed260c651e217075056ca05c4dfa24aa047c6e5a32fcc696
sourceRevisionDigest: sha256:b1f4a64aa71c96ebab871c01a8ae16aa7bb008f9782f54e65151d4e65f2d7c78
sourceBlobDigest: sha256:6dbfe2107a5935633f4599b35f6b7ea72d04e2464bad60267066c53a1cc17e5c
codeSamplesNamespace: polar-oas-ts-code-samples
codeSamplesRevisionDigest: sha256:658b36cc453f743e38013d068bf88917ce19d1ba2364a4cf907ba42e40b04901
workflow:
workflowVersion: 1.0.0
speakeasyVersion: latest
Expand All @@ -40,4 +40,6 @@ workflow:
codeSamples:
output: codeSamples.yaml
registry:
location: registry.speakeasyapi.dev/polar/polar/polar-oas-code-samples
location: registry.speakeasyapi.dev/polar/polar/polar-oas-ts-code-samples
labelOverride:
fixedValue: Typescript (SDK)
4 changes: 2 additions & 2 deletions .speakeasy/workflow.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -20,7 +20,7 @@ targets:
token: $npm_token
codeSamples:
output: codeSamples.yaml
labelOverride:
fixedValue: Typescript (SDK)
registry:
location: registry.speakeasyapi.dev/polar/polar/polar-oas-ts-code-samples
labelOverride:
fixedValue: Typescript (SDK)
21 changes: 11 additions & 10 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -97,6 +97,7 @@ async function run() {
createdAt: new Date("2024-11-12T14:26:42.882Z"),
modifiedAt: new Date("2023-05-28T05:08:06.235Z"),
id: "<value>",
paymentProcessor: "stripe",
status: "failed",
clientSecret: "<value>",
url: "https://heavy-beret.com/",
Expand Down Expand Up @@ -142,8 +143,8 @@ async function run() {
organizationId: "<value>",
prices: [
{
createdAt: new Date("2024-11-19T15:59:15.588Z"),
modifiedAt: new Date("2022-11-17T00:11:23.972Z"),
createdAt: new Date("2025-11-19T15:59:15.588Z"),
modifiedAt: new Date("2023-11-17T00:11:23.972Z"),
id: "<value>",
isArchived: false,
productId: "<value>",
Expand Down Expand Up @@ -187,8 +188,8 @@ async function run() {
],
},
productPrice: {
createdAt: new Date("2024-02-15T09:22:19.644Z"),
modifiedAt: new Date("2022-12-28T20:59:29.904Z"),
createdAt: new Date("2025-02-14T09:22:19.644Z"),
modifiedAt: new Date("2023-12-28T20:59:29.904Z"),
id: "<value>",
isArchived: false,
productId: "<value>",
Expand All @@ -211,8 +212,8 @@ async function run() {
{
customFieldId: "<value>",
customField: {
createdAt: new Date("2022-08-19T22:18:44.316Z"),
modifiedAt: new Date("2023-04-29T23:39:10.699Z"),
createdAt: new Date("2023-08-19T22:18:44.316Z"),
modifiedAt: new Date("2024-04-28T23:39:10.699Z"),
id: "<value>",
metadata: {
"key": false,
Expand All @@ -235,8 +236,8 @@ async function run() {
{
customFieldId: "<value>",
customField: {
createdAt: new Date("2023-07-03T09:46:29.338Z"),
modifiedAt: new Date("2024-01-25T18:08:49.597Z"),
createdAt: new Date("2024-07-02T09:46:29.338Z"),
modifiedAt: new Date("2025-01-24T18:08:49.597Z"),
id: "<value>",
metadata: {
"key": false,
Expand All @@ -252,8 +253,8 @@ async function run() {
{
customFieldId: "<value>",
customField: {
createdAt: new Date("2024-07-31T13:25:31.669Z"),
modifiedAt: new Date("2022-11-12T09:40:10.044Z"),
createdAt: new Date("2025-07-31T13:25:31.669Z"),
modifiedAt: new Date("2023-11-12T09:40:10.044Z"),
id: "<value>",
metadata: {
"key": "<value>",
Expand Down
12 changes: 11 additions & 1 deletion RELEASES.md
Original file line number Diff line number Diff line change
Expand Up @@ -328,4 +328,14 @@ Based on:
### Generated
- [typescript v0.19.2] .
### Releases
- [NPM v0.19.2] https://www.npmjs.com/package/@polar-sh/sdk/v/0.19.2 - .
- [NPM v0.19.2] https://www.npmjs.com/package/@polar-sh/sdk/v/0.19.2 - .

## 2025-01-02 12:12:31
### Changes
Based on:
- OpenAPI Doc
- Speakeasy CLI 1.460.3 (2.484.0) https://github.com/speakeasy-api/speakeasy
### Generated
- [typescript v0.20.0] .
### Releases
- [NPM v0.20.0] https://www.npmjs.com/package/@polar-sh/sdk/v/0.20.0 - .
28 changes: 27 additions & 1 deletion RUNTIMES.md
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
# Supported JavaScript runtimes

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

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

[deno-file-streaming]: https://github.com/denoland/deno/issues/11018

## Recommended TypeScript compiler options

The following `tsconfig.json` options are recommended for projects using this
SDK in order to get static type support for features like async iterables,
streams and `fetch`-related APIs ([`for await...of`][for-await-of],
[`AbortSignal`][abort-signal], [`Request`][request], [`Response`][response] and
so on):

[for-await-of]: https://developer.mozilla.org/en-US/docs/Web/JavaScript/Reference/Statements/for-await...of
[abort-signal]: https://developer.mozilla.org/en-US/docs/Web/API/AbortSignal
[request]: https://developer.mozilla.org/en-US/docs/Web/API/Request
[response]: https://developer.mozilla.org/en-US/docs/Web/API/Response

```jsonc
{
"compilerOptions": {
"target": "es2020", // or higher
"lib": ["es2020", "dom", "dom.iterable"],
}
}
```

While `target` can be set to older ECMAScript versions, it may result in extra,
unnecessary compatibility code being generated if you are not targeting old
runtimes.
Loading

0 comments on commit ed273da

Please sign in to comment.