Skip to content

Commit

Permalink
ci: regenerated with OpenAPI Doc , Speakeasy CLI 1.424.0
Browse files Browse the repository at this point in the history
  • Loading branch information
speakeasybot authored and frankie567 committed Nov 4, 2024
1 parent c06abaf commit 56117fd
Show file tree
Hide file tree
Showing 17 changed files with 74 additions and 25 deletions.
19 changes: 10 additions & 9 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 @@ -15,7 +15,7 @@ generation:
auth:
oAuth2ClientCredentialsEnabled: true
typescript:
version: 0.13.5
version: 0.14.0
additionalDependencies:
dependencies: {}
devDependencies: {}
Expand Down
10 changes: 5 additions & 5 deletions .speakeasy/workflow.lock
Original file line number Diff line number Diff line change
@@ -1,18 +1,18 @@
speakeasyVersion: 1.422.1
speakeasyVersion: 1.424.0
sources:
Polar-OAS:
sourceNamespace: polar-oas
sourceRevisionDigest: sha256:ff2f54f80f589bd4831c6dc097e67a69c807816fa76d6b04633252616f7a8a2d
sourceBlobDigest: sha256:90bc458a412c5beec0e41812e44f386f7c608b0d03d621aed777f8506afdcd2c
sourceRevisionDigest: sha256:e30177eddab893ea89998cc6684acf560f1561b6fca95ad03072054f7f0e23f4
sourceBlobDigest: sha256:47c4285003255d7bf61593438fcc7f5cc4650bece8005ac801a6c26cd2eabba7
tags:
- latest
- main
targets:
polar:
source: Polar-OAS
sourceNamespace: polar-oas
sourceRevisionDigest: sha256:ff2f54f80f589bd4831c6dc097e67a69c807816fa76d6b04633252616f7a8a2d
sourceBlobDigest: sha256:90bc458a412c5beec0e41812e44f386f7c608b0d03d621aed777f8506afdcd2c
sourceRevisionDigest: sha256:e30177eddab893ea89998cc6684acf560f1561b6fca95ad03072054f7f0e23f4
sourceBlobDigest: sha256:47c4285003255d7bf61593438fcc7f5cc4650bece8005ac801a6c26cd2eabba7
workflow:
workflowVersion: 1.0.0
speakeasyVersion: latest
Expand Down
12 changes: 11 additions & 1 deletion RELEASES.md
Original file line number Diff line number Diff line change
Expand Up @@ -168,4 +168,14 @@ Based on:
### Generated
- [typescript v0.13.5] .
### Releases
- [NPM v0.13.5] https://www.npmjs.com/package/@polar-sh/sdk/v/0.13.5 - .
- [NPM v0.13.5] https://www.npmjs.com/package/@polar-sh/sdk/v/0.13.5 - .

## 2024-11-04 08:17:26
### Changes
Based on:
- OpenAPI Doc
- Speakeasy CLI 1.424.0 (2.445.1) https://github.com/speakeasy-api/speakeasy
### Generated
- [typescript v0.14.0] .
### Releases
- [NPM v0.14.0] https://www.npmjs.com/package/@polar-sh/sdk/v/0.14.0 - .
1 change: 1 addition & 0 deletions docs/models/components/listresourcecheckout.md
Original file line number Diff line number Diff line change
Expand Up @@ -100,6 +100,7 @@ let value: ListResourceCheckout = {
isArchived: false,
productId: "<value>",
},
subscriptionId: "<value>",
},
],
pagination: {
Expand Down
4 changes: 3 additions & 1 deletion docs/models/components/polarcheckoutschemascheckout.md
Original file line number Diff line number Diff line change
Expand Up @@ -99,6 +99,7 @@ let value: PolarCheckoutSchemasCheckout = {
priceAmount: 973823,
recurringInterval: "year",
},
subscriptionId: "<value>",
};
```

Expand Down Expand Up @@ -132,4 +133,5 @@ let value: PolarCheckoutSchemasCheckout = {
| `paymentProcessorMetadata` | [components.PaymentProcessorMetadata](../../models/components/paymentprocessormetadata.md) | :heavy_check_mark: | N/A |
| `metadata` | Record<string, *string*> | :heavy_check_mark: | N/A |
| `product` | [components.Product](../../models/components/product.md) | :heavy_check_mark: | A product. |
| `productPrice` | *components.ProductPrice* | :heavy_check_mark: | N/A |
| `productPrice` | *components.ProductPrice* | :heavy_check_mark: | N/A |
| `subscriptionId` | *string* | :heavy_check_mark: | N/A |
4 changes: 4 additions & 0 deletions docs/models/components/polarcheckoutschemascheckoutcreate.md
Original file line number Diff line number Diff line change
Expand Up @@ -2,6 +2,9 @@

Create a new checkout session.

Metadata set on the checkout will be copied
to the resulting order and/or subscription.

## Example Usage

```typescript
Expand All @@ -25,4 +28,5 @@ let value: PolarCheckoutSchemasCheckoutCreate = {
| `customerIpAddress` | *string* | :heavy_minus_sign: | N/A |
| `customerBillingAddress` | [components.Address](../../models/components/address.md) | :heavy_minus_sign: | N/A |
| `customerTaxId` | *string* | :heavy_minus_sign: | N/A |
| `subscriptionId` | *string* | :heavy_minus_sign: | ID of a subscription to upgrade. It must be on a free pricing. If checkout is successful, metadata set on this checkout will be copied to the subscription, and existing keys will be overwritten. |
| `successUrl` | *string* | :heavy_minus_sign: | URL where the customer will be redirected after a successful payment.You can add the `checkout_id={CHECKOUT_ID}` query parameter to retrieve the checkout session id. |
4 changes: 3 additions & 1 deletion docs/models/components/polarcheckoutschemascheckoutinput.md
Original file line number Diff line number Diff line change
Expand Up @@ -98,6 +98,7 @@ let value: PolarCheckoutSchemasCheckoutInput = {
maximumAmount: 718949,
presetAmount: 7866,
},
subscriptionId: "<value>",
};
```

Expand Down Expand Up @@ -131,4 +132,5 @@ let value: PolarCheckoutSchemasCheckoutInput = {
| `paymentProcessorMetadata` | [components.PaymentProcessorMetadata](../../models/components/paymentprocessormetadata.md) | :heavy_check_mark: | N/A |
| `metadata` | Record<string, *string*> | :heavy_check_mark: | N/A |
| `product` | [components.ProductInput](../../models/components/productinput.md) | :heavy_check_mark: | A product. |
| `productPrice` | *components.ProductPrice* | :heavy_check_mark: | N/A |
| `productPrice` | *components.ProductPrice* | :heavy_check_mark: | N/A |
| `subscriptionId` | *string* | :heavy_check_mark: | N/A |
1 change: 1 addition & 0 deletions docs/models/components/webhookcheckoutcreatedpayload.md
Original file line number Diff line number Diff line change
Expand Up @@ -98,6 +98,7 @@ let value: WebhookCheckoutCreatedPayload = {
isArchived: false,
productId: "<value>",
},
subscriptionId: "<value>",
},
};
```
Expand Down
1 change: 1 addition & 0 deletions docs/models/components/webhookcheckoutupdatedpayload.md
Original file line number Diff line number Diff line change
Expand Up @@ -104,6 +104,7 @@ let value: WebhookCheckoutUpdatedPayload = {
priceCurrency: "<value>",
priceAmount: 511975,
},
subscriptionId: "<value>",
},
};
```
Expand Down
1 change: 1 addition & 0 deletions docs/models/operations/checkoutscustomlistresponse.md
Original file line number Diff line number Diff line change
Expand Up @@ -99,6 +99,7 @@ let value: CheckoutsCustomListResponse = {
productId: "<value>",
recurringInterval: "month",
},
subscriptionId: "<value>",
},
],
pagination: {
Expand Down
2 changes: 1 addition & 1 deletion jsr.json
Original file line number Diff line number Diff line change
Expand Up @@ -2,7 +2,7 @@

{
"name": "@polar-sh/sdk",
"version": "0.13.5",
"version": "0.14.0",
"exports": {
".": "./src/index.ts",
"./models/errors": "./src/models/errors/index.ts",
Expand Down
4 changes: 2 additions & 2 deletions package-lock.json

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

2 changes: 1 addition & 1 deletion package.json
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
{
"name": "@polar-sh/sdk",
"version": "0.13.5",
"version": "0.14.0",
"author": "Speakeasy",
"main": "./index.js",
"sideEffects": false,
Expand Down
6 changes: 3 additions & 3 deletions src/lib/config.ts
Original file line number Diff line number Diff line change
Expand Up @@ -60,7 +60,7 @@ export function serverURLFromOptions(options: SDKOptions): URL | null {
export const SDK_METADATA = {
language: "typescript",
openapiDocVersion: "0.1.0",
sdkVersion: "0.13.5",
genVersion: "2.438.15",
userAgent: "speakeasy-sdk/typescript 0.13.5 2.438.15 0.1.0 @polar-sh/sdk",
sdkVersion: "0.14.0",
genVersion: "2.445.1",
userAgent: "speakeasy-sdk/typescript 0.14.0 2.445.1 0.1.0 @polar-sh/sdk",
} as const;
Loading

0 comments on commit 56117fd

Please sign in to comment.