Skip to content

Commit

Permalink
ci: regenerated with OpenAPI Doc , Speakeasy CLI 1.468.3
Browse files Browse the repository at this point in the history
  • Loading branch information
speakeasybot authored and frankie567 committed Jan 14, 2025
1 parent 821ba6b commit 32fbc44
Show file tree
Hide file tree
Showing 11 changed files with 36 additions and 52 deletions.
15 changes: 7 additions & 8 deletions .speakeasy/gen.lock
Original file line number Diff line number Diff line change
@@ -1,12 +1,12 @@
lockVersion: 2.0.0
id: 983150e6-ebc8-43fe-9b18-750461aad344
management:
docChecksum: 1d864ef50d93354ff5c32910b4e653ff
docChecksum: f5e9732d587dbc19a0c42ad39ee6be30
docVersion: 0.1.0
speakeasyVersion: 1.463.1
generationVersion: 2.486.6
releaseVersion: 0.20.2
configChecksum: 43114a1838263b179a8dc0269e89cc0d
speakeasyVersion: 1.468.3
generationVersion: 2.493.4
releaseVersion: 0.21.0
configChecksum: 9c790189aac0c1a4d657330b5e78f577
repoURL: https://github.com/polarsource/polar-js.git
installationURL: https://github.com/polarsource/polar-js
published: true
Expand All @@ -33,15 +33,14 @@ features:
sdkHooks: 0.2.0
serverIDs: 2.81.2
unions: 2.85.8
webhooks: 1.3.1
webhooks: 1.4.1
generatedFiles:
- .devcontainer/README.md
- .devcontainer/devcontainer.json
- .devcontainer/setup.sh
- .eslintrc.cjs
- .gitattributes
- .npmignore
- CONTRIBUTING.md
- FUNCTIONS.md
- RUNTIMES.md
- USAGE.md
Expand Down Expand Up @@ -2772,7 +2771,7 @@ examples:
_endpointsubscription_uncanceled_post:
speakeasy-default-endpointsubscription-uncanceled-post:
requestBody:
application/json: {"data": {"created_at": "2024-06-17T13:11:57.598Z", "modified_at": "2025-03-19T00:33:29.972Z", "id": "<value>", "amount": 243909, "currency": "Swiss Franc", "recurring_interval": "month", "status": "past_due", "current_period_start": "2025-04-10T22:53:35.005Z", "current_period_end": "2025-11-06T14:37:36.152Z", "cancel_at_period_end": false, "canceled_at": "2025-11-20T17:26:51.612Z", "started_at": "2023-03-17T23:30:29.508Z", "ends_at": "2024-09-26T10:53:58.966Z", "ended_at": "2023-07-03T15:11:27.108Z", "customer_id": "<value>", "product_id": "<value>", "price_id": "<value>", "discount_id": "<value>", "checkout_id": "<value>", "customer_cancellation_reason": "low_quality", "customer_cancellation_comment": "<value>", "metadata": {"key": 21399, "key1": "<value>"}, "customer": {"created_at": "2023-12-13T17:38:34.053Z", "modified_at": "2025-01-30T22:08:30.455Z", "id": "<value>", "metadata": {}, "email": "[email protected]", "email_verified": false, "name": "<value>", "billing_address": {"country": "Bangladesh"}, "tax_id": ["us_ein", "jp_trn", "ca_gst_hst"], "organization_id": "<value>", "avatar_url": "https://direct-ferret.org/"}, "user_id": "<value>", "user": {"id": "<value>", "email": "[email protected]", "public_name": "<value>"}, "product": {"created_at": "2023-03-30T10:41:05.586Z", "modified_at": "2025-10-18T00:21:05.189Z", "id": "<value>", "name": "<value>", "description": "fully pepper hm jovially outside coal bah fax midst", "is_recurring": false, "is_archived": false, "organization_id": "<value>", "metadata": {"key": 737248}, "prices": [], "benefits": [{"created_at": "2023-07-07T10:48:19.585Z", "modified_at": "2024-03-27T14:57:46.256Z", "id": "<value>", "description": "even record ick misappropriate toe grouchy tough why", "selectable": true, "deletable": false, "organization_id": "<value>", "properties": {"note": "<value>"}, "is_tax_applicable": false}, {"created_at": "2025-01-08T21:19:13.910Z", "modified_at": "2025-10-24T08:25:56.079Z", "id": "<value>", "description": "trusting nor wedding doubter", "selectable": false, "deletable": true, "organization_id": "<value>"}, {"created_at": "2023-09-21T02:33:03.865Z", "modified_at": "2024-06-08T03:10:46.020Z", "id": "<value>", "description": "misjudge between deeply ah duh nor calculating failing sans quarrelsome", "selectable": false, "deletable": true, "organization_id": "<value>", "properties": {"repository_owner": "polarsource", "repository_name": "private_repo", "permission": "admin"}}], "medias": [{"id": "<value>", "organization_id": "<value>", "name": "<value>", "path": "/rescue", "mime_type": "<value>", "size": 406629, "storage_version": "<value>", "checksum_etag": "<value>", "checksum_sha256_base64": "<value>", "checksum_sha256_hex": "<value>", "last_modified_at": "2025-11-25T05:13:22.395Z", "version": "<value>", "is_uploaded": false, "created_at": "2024-01-12T01:04:51.744Z", "size_readable": "<value>", "public_url": "https://major-scenario.com/"}, {"id": "<value>", "organization_id": "<value>", "name": "<value>", "path": "/System", "mime_type": "<value>", "size": 743911, "storage_version": "<value>", "checksum_etag": "<value>", "checksum_sha256_base64": "<value>", "checksum_sha256_hex": "<value>", "last_modified_at": "2024-07-30T00:48:09.915Z", "version": "<value>", "is_uploaded": false, "created_at": "2023-01-08T04:01:53.027Z", "size_readable": "<value>", "public_url": "https://mild-earth.info/"}], "attached_custom_fields": []}, "price": {"created_at": "2024-09-08T15:15:49.774Z", "modified_at": "2024-04-05T18:50:19.349Z", "id": "<value>", "is_archived": true, "product_id": "<value>", "price_currency": "<value>", "price_amount": 641525, "recurring_interval": "year"}, "discount": {"duration": "repeating", "duration_in_months": 38744, "type": "fixed", "amount": 555218, "currency": "Tugrik", "created_at": "2023-12-03T15:06:58.982Z", "modified_at": "2024-10-10T05:07:17.233Z", "id": "<value>", "metadata": {}, "name": "<value>", "code": "<value>", "starts_at": "2025-10-01T04:08:00.905Z", "ends_at": "2023-03-18T04:07:15.266Z", "max_redemptions": 829470, "redemptions_count": 371171, "organization_id": "<value>"}}}
application/json: {"data": {"created_at": "2024-06-17T13:11:57.598Z", "modified_at": "2025-03-19T00:33:29.972Z", "id": "<value>", "amount": 243909, "currency": "Swiss Franc", "recurring_interval": "month", "status": "past_due", "current_period_start": "2025-04-10T22:53:35.005Z", "current_period_end": "2025-11-06T14:37:36.152Z", "cancel_at_period_end": false, "canceled_at": "2025-11-20T17:26:51.612Z", "started_at": "2023-03-17T23:30:29.508Z", "ends_at": "2024-09-26T10:53:58.966Z", "ended_at": "2023-07-03T15:11:27.108Z", "customer_id": "<value>", "product_id": "<value>", "price_id": "<value>", "discount_id": "<value>", "checkout_id": "<value>", "customer_cancellation_reason": "low_quality", "customer_cancellation_comment": "<value>", "metadata": {"key": 21399, "key1": "<value>"}, "customer": {"created_at": "2023-12-13T17:38:34.053Z", "modified_at": "2025-01-30T22:08:30.455Z", "id": "<value>", "metadata": {}, "email": "[email protected]", "email_verified": false, "name": "<value>", "billing_address": {"country": "Bangladesh"}, "tax_id": ["us_ein", "jp_trn", "ca_gst_hst"], "organization_id": "<value>", "avatar_url": "https://direct-ferret.org/"}, "user_id": "<value>", "user": {"id": "<value>", "email": "[email protected]", "public_name": "<value>"}, "product": {"created_at": "2023-03-30T10:41:05.586Z", "modified_at": "2025-10-18T00:21:05.189Z", "id": "<value>", "name": "<value>", "description": "fully pepper hm jovially outside coal bah fax midst", "is_recurring": false, "is_archived": false, "organization_id": "<value>", "metadata": {"key": 737248}, "prices": [], "benefits": [{"created_at": "2025-03-19T00:33:29.972Z", "modified_at": "2023-09-25T07:47:22.602Z", "id": "<value>", "description": "black-and-white ew zowie plugin", "selectable": false, "deletable": false, "organization_id": "<value>", "properties": {"guild_id": "<id>", "role_id": "<id>", "guild_token": "<value>"}}, {"created_at": "2025-11-26T21:39:23.749Z", "modified_at": "2023-06-13T03:10:12.109Z", "id": "<value>", "description": "whose meh surprisingly among gloss before", "selectable": true, "deletable": true, "organization_id": "<value>", "properties": {"repository_owner": "polarsource", "repository_name": "private_repo", "permission": "push"}}, {"created_at": "2025-11-08T10:21:05.522Z", "modified_at": "2025-01-09T08:14:23.639Z", "id": "<value>", "description": "quarrelsomely dicker foolishly throughout whoever", "selectable": true, "deletable": true, "organization_id": "<value>", "properties": {"note": "<value>"}, "is_tax_applicable": true}], "medias": [{"id": "<value>", "organization_id": "<value>", "name": "<value>", "path": "/rescue", "mime_type": "<value>", "size": 406629, "storage_version": "<value>", "checksum_etag": "<value>", "checksum_sha256_base64": "<value>", "checksum_sha256_hex": "<value>", "last_modified_at": "2025-11-25T05:13:22.395Z", "version": "<value>", "is_uploaded": false, "created_at": "2024-01-12T01:04:51.744Z", "size_readable": "<value>", "public_url": "https://major-scenario.com/"}, {"id": "<value>", "organization_id": "<value>", "name": "<value>", "path": "/System", "mime_type": "<value>", "size": 743911, "storage_version": "<value>", "checksum_etag": "<value>", "checksum_sha256_base64": "<value>", "checksum_sha256_hex": "<value>", "last_modified_at": "2024-07-30T00:48:09.915Z", "version": "<value>", "is_uploaded": false, "created_at": "2023-01-08T04:01:53.027Z", "size_readable": "<value>", "public_url": "https://mild-earth.info/"}], "attached_custom_fields": []}, "price": {"created_at": "2024-02-04T13:14:10.428Z", "modified_at": "2023-01-29T13:29:57.900Z", "id": "<value>", "is_archived": false, "product_id": "<value>", "price_currency": "<value>", "price_amount": 923834, "recurring_interval": "month"}, "discount": {"duration": "repeating", "duration_in_months": 38744, "type": "fixed", "amount": 555218, "currency": "Tugrik", "created_at": "2023-12-03T15:06:58.982Z", "modified_at": "2024-10-10T05:07:17.233Z", "id": "<value>", "metadata": {}, "name": "<value>", "code": "<value>", "starts_at": "2025-10-01T04:08:00.905Z", "ends_at": "2023-03-18T04:07:15.266Z", "max_redemptions": 829470, "redemptions_count": 371171, "organization_id": "<value>"}}}
responses:
"200":
application/json: "<value>"
Expand Down
3 changes: 2 additions & 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.20.2
version: 0.21.0
additionalDependencies:
dependencies:
standardwebhooks: ^1.0.0
Expand All @@ -30,6 +30,7 @@ typescript:
author: Speakeasy
clientServerStatusCodesAsErrors: true
defaultErrorName: SDKError
enableCustomCodeRegions: false
enableReactQuery: false
enumFormat: union
envVarPrefix: POLAR
Expand Down
14 changes: 7 additions & 7 deletions .speakeasy/workflow.lock
Original file line number Diff line number Diff line change
@@ -1,21 +1,21 @@
speakeasyVersion: 1.463.1
speakeasyVersion: 1.468.3
sources:
Polar-OAS:
sourceNamespace: polar-oas
sourceRevisionDigest: sha256:55ee1d9374a298fcda484dba06760585ab24920edfd149d9d6e33b7c16cdf394
sourceBlobDigest: sha256:722c5521b0cef657dbbbc89b7cb84028771c1d72e4d391e2eee0255d75f5aa9f
sourceRevisionDigest: sha256:589b6ef14c1462d0828fe392c6c6e08d41481c592fd6be7f92c062db97823577
sourceBlobDigest: sha256:c3b0bf5a597e1f246ae9c4f8e87cf7c71156b15dcf8a66b4c4e8198947685628
tags:
- latest
- speakeasy-sdk-regen-1736209623
- speakeasy-sdk-regen-1736641776
- 0.1.0
targets:
polar:
source: Polar-OAS
sourceNamespace: polar-oas
sourceRevisionDigest: sha256:55ee1d9374a298fcda484dba06760585ab24920edfd149d9d6e33b7c16cdf394
sourceBlobDigest: sha256:722c5521b0cef657dbbbc89b7cb84028771c1d72e4d391e2eee0255d75f5aa9f
sourceRevisionDigest: sha256:589b6ef14c1462d0828fe392c6c6e08d41481c592fd6be7f92c062db97823577
sourceBlobDigest: sha256:c3b0bf5a597e1f246ae9c4f8e87cf7c71156b15dcf8a66b4c4e8198947685628
codeSamplesNamespace: polar-oas-ts-code-samples
codeSamplesRevisionDigest: sha256:bc200279c8511b7acf979a931934d50e1088be4bc68e82f04347b9f853ceee59
codeSamplesRevisionDigest: sha256:192002fc6db91058c834784d0d350277d46aca6d156b1f7deee374feb284440d
workflow:
workflowVersion: 1.0.0
speakeasyVersion: latest
Expand Down
26 changes: 0 additions & 26 deletions CONTRIBUTING.md

This file was deleted.

2 changes: 1 addition & 1 deletion README.md
Original file line number Diff line number Diff line change
Expand Up @@ -17,7 +17,7 @@ Developer-friendly & type-safe Typescript SDK specifically catered to leverage [

Polar API: Polar HTTP and Webhooks API

Read the docs at https://docs.polar.sh/api
Read the docs at https://docs.polar.sh/api-reference
<!-- End Summary [summary] -->

<!-- Start Table of Contents [toc] -->
Expand Down
12 changes: 11 additions & 1 deletion RELEASES.md
Original file line number Diff line number Diff line change
Expand Up @@ -358,4 +358,14 @@ Based on:
### Generated
- [typescript v0.20.2] .
### Releases
- [NPM v0.20.2] https://www.npmjs.com/package/@polar-sh/sdk/v/0.20.2 - .
- [NPM v0.20.2] https://www.npmjs.com/package/@polar-sh/sdk/v/0.20.2 - .

## 2025-01-14 00:25:09
### Changes
Based on:
- OpenAPI Doc
- Speakeasy CLI 1.468.3 (2.493.4) https://github.com/speakeasy-api/speakeasy
### Generated
- [typescript v0.21.0] .
### Releases
- [NPM v0.21.0] https://www.npmjs.com/package/@polar-sh/sdk/v/0.21.0 - .
2 changes: 1 addition & 1 deletion docs/sdks/polar/README.md
Original file line number Diff line number Diff line change
Expand Up @@ -2,6 +2,6 @@

## Overview

Read the docs at https://docs.polar.sh/api
Read the docs at https://docs.polar.sh/api-reference

### Available Operations
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.20.2",
"version": "0.21.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.20.2",
"version": "0.21.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.20.2",
genVersion: "2.486.6",
userAgent: "speakeasy-sdk/typescript 0.20.2 2.486.6 0.1.0 @polar-sh/sdk",
sdkVersion: "0.21.0",
genVersion: "2.493.4",
userAgent: "speakeasy-sdk/typescript 0.21.0 2.493.4 0.1.0 @polar-sh/sdk",
} as const;

0 comments on commit 32fbc44

Please sign in to comment.