Skip to content

Commit 60cc55d

Browse files
authored
Merge pull request #131 from polarsource/speakeasy-sdk-regen-1761093069
chore: 🐝 Update SDK - Generate 0.39.0
2 parents 64aa67f + f2158fb commit 60cc55d

File tree

721 files changed

+2980
-2349
lines changed

Some content is hidden

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

721 files changed

+2980
-2349
lines changed

.speakeasy/gen.lock

Lines changed: 71 additions & 69 deletions
Large diffs are not rendered by default.

.speakeasy/gen.yaml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -27,7 +27,7 @@ generation:
2727
generateNewTests: false
2828
skipResponseBodyAssertions: false
2929
typescript:
30-
version: 0.38.1
30+
version: 0.39.0
3131
acceptHeaderEnum: true
3232
additionalDependencies:
3333
dependencies:

.speakeasy/workflow.lock

Lines changed: 7 additions & 7 deletions
Original file line numberDiff line numberDiff line change
@@ -1,21 +1,21 @@
1-
speakeasyVersion: 1.637.3
1+
speakeasyVersion: 1.638.1
22
sources:
33
Polar-OAS:
44
sourceNamespace: polar-oas
5-
sourceRevisionDigest: sha256:98dd88f089435a1af194015ca729983c7e2888b24ddc04e77194e8f913bce865
6-
sourceBlobDigest: sha256:81a64948141fbdaebf65485efe43f3942459a2da5f4c44dc6519392b117ec5e7
5+
sourceRevisionDigest: sha256:1ab0c8d59acdcb1e52ecd7b9b1b41f132e0b86a900781a07efe58ee050905046
6+
sourceBlobDigest: sha256:7ddaa63ac394658121ab2c0ae526f3abdbafa59c6f135307867c75801f5979ee
77
tags:
88
- latest
9-
- speakeasy-sdk-regen-1761052430
9+
- speakeasy-sdk-regen-1761093069
1010
- 0.1.0
1111
targets:
1212
polar:
1313
source: Polar-OAS
1414
sourceNamespace: polar-oas
15-
sourceRevisionDigest: sha256:98dd88f089435a1af194015ca729983c7e2888b24ddc04e77194e8f913bce865
16-
sourceBlobDigest: sha256:81a64948141fbdaebf65485efe43f3942459a2da5f4c44dc6519392b117ec5e7
15+
sourceRevisionDigest: sha256:1ab0c8d59acdcb1e52ecd7b9b1b41f132e0b86a900781a07efe58ee050905046
16+
sourceBlobDigest: sha256:7ddaa63ac394658121ab2c0ae526f3abdbafa59c6f135307867c75801f5979ee
1717
codeSamplesNamespace: polar-oas-ts-code-samples
18-
codeSamplesRevisionDigest: sha256:d885eebb74b02191bd0f112eabfec204ccb5eba75eca1445b589c23c9871fd52
18+
codeSamplesRevisionDigest: sha256:7f466e85d8e404002adc98b4683f29d2afddfc006a28de21811885a591ca268c
1919
workflow:
2020
workflowVersion: 1.0.0
2121
speakeasyVersion: latest

README.md

Lines changed: 1 addition & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -698,7 +698,7 @@ run();
698698
* [`PolarError`](./src/models/errors/polarerror.ts): The base class for HTTP error responses.
699699
* [`HTTPValidationError`](./src/models/errors/httpvalidationerror.ts): Validation Error. Status code `422`. *
700700

701-
<details><summary>Less common errors (25)</summary>
701+
<details><summary>Less common errors (24)</summary>
702702

703703
<br />
704704

@@ -720,7 +720,6 @@ run();
720720
* [`PaymentNotReady`](./src/models/errors/paymentnotready.ts): The checkout is expired, the customer already has an active subscription, or the organization is not ready to accept payments. Status code `403`. Applicable to 3 of 142 methods.*
721721
* [`ExpiredCheckoutError`](./src/models/errors/expiredcheckouterror.ts): The checkout session is expired. Status code `410`. Applicable to 3 of 142 methods.*
722722
* [`SubscriptionLocked`](./src/models/errors/subscriptionlocked.ts): Subscription is pending an update. Status code `409`. Applicable to 2 of 142 methods.*
723-
* [`InvoiceAlreadyExists`](./src/models/errors/invoicealreadyexists.ts): Order already has an invoice. Status code `409`. Applicable to 2 of 142 methods.*
724723
* [`MissingInvoiceBillingDetails`](./src/models/errors/missinginvoicebillingdetails.ts): Order is not paid or is missing billing name or address. Status code `422`. Applicable to 2 of 142 methods.*
725724
* [`NotPaidOrder`](./src/models/errors/notpaidorder.ts): Order is not paid or is missing billing name or address. Status code `422`. Applicable to 2 of 142 methods.*
726725
* [`RefundAmountTooHigh`](./src/models/errors/refundamounttoohigh.ts): Refund amount exceeds remaining order balance. Status code `400`. Applicable to 1 of 142 methods.*

RELEASES.md

Lines changed: 11 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1058,4 +1058,14 @@ Based on:
10581058
### Generated
10591059
- [typescript v0.38.1] .
10601060
### Releases
1061-
- [NPM v0.38.1] https://www.npmjs.com/package/@polar-sh/sdk/v/0.38.1 - .
1061+
- [NPM v0.38.1] https://www.npmjs.com/package/@polar-sh/sdk/v/0.38.1 - .
1062+
1063+
## 2025-10-23 06:35:02
1064+
### Changes
1065+
Based on:
1066+
- OpenAPI Doc
1067+
- Speakeasy CLI 1.638.1 (2.729.2) https://github.com/speakeasy-api/speakeasy
1068+
### Generated
1069+
- [typescript v0.39.0] .
1070+
### Releases
1071+
- [NPM v0.39.0] https://www.npmjs.com/package/@polar-sh/sdk/v/0.39.0 - .

codeSamples.yaml

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

docs/models/components/benefit.md

Lines changed: 6 additions & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -112,16 +112,16 @@ const value: components.BenefitLicenseKeys = {
112112
organizationId: "<value>",
113113
metadata: {},
114114
properties: {
115-
prefix: null,
115+
prefix: "<value>",
116116
expires: {
117-
ttl: 84298,
118-
timeframe: "year",
117+
ttl: 93452,
118+
timeframe: "day",
119119
},
120120
activations: {
121-
limit: 202982,
122-
enableCustomerAdmin: false,
121+
limit: 777902,
122+
enableCustomerAdmin: true,
123123
},
124-
limitUsage: 666374,
124+
limitUsage: null,
125125
},
126126
};
127127
```

docs/models/components/benefitgrantlicensekeyswebhook.md

Lines changed: 6 additions & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -48,16 +48,16 @@ let value: BenefitGrantLicenseKeysWebhook = {
4848
organizationId: "<value>",
4949
metadata: {},
5050
properties: {
51-
prefix: null,
51+
prefix: "<value>",
5252
expires: {
53-
ttl: 84298,
54-
timeframe: "year",
53+
ttl: 93452,
54+
timeframe: "day",
5555
},
5656
activations: {
57-
limit: 202982,
58-
enableCustomerAdmin: false,
57+
limit: 777902,
58+
enableCustomerAdmin: true,
5959
},
60-
limitUsage: 666374,
60+
limitUsage: null,
6161
},
6262
},
6363
properties: {},

docs/models/components/benefitgrantwebhook.md

Lines changed: 6 additions & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -278,16 +278,16 @@ const value: components.BenefitGrantLicenseKeysWebhook = {
278278
organizationId: "<value>",
279279
metadata: {},
280280
properties: {
281-
prefix: null,
281+
prefix: "<value>",
282282
expires: {
283-
ttl: 84298,
284-
timeframe: "year",
283+
ttl: 93452,
284+
timeframe: "day",
285285
},
286286
activations: {
287-
limit: 202982,
288-
enableCustomerAdmin: false,
287+
limit: 777902,
288+
enableCustomerAdmin: true,
289289
},
290-
limitUsage: 666374,
290+
limitUsage: null,
291291
},
292292
},
293293
properties: {},

docs/models/components/benefitlicensekeys.md

Lines changed: 6 additions & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -16,16 +16,16 @@ let value: BenefitLicenseKeys = {
1616
organizationId: "<value>",
1717
metadata: {},
1818
properties: {
19-
prefix: null,
19+
prefix: "<value>",
2020
expires: {
21-
ttl: 84298,
22-
timeframe: "year",
21+
ttl: 93452,
22+
timeframe: "day",
2323
},
2424
activations: {
25-
limit: 202982,
26-
enableCustomerAdmin: false,
25+
limit: 777902,
26+
enableCustomerAdmin: true,
2727
},
28-
limitUsage: 666374,
28+
limitUsage: null,
2929
},
3030
};
3131
```

0 commit comments

Comments
 (0)