Skip to content

Commit

Permalink
ci: regenerated with OpenAPI Doc , Speakeasy CLI 1.419.0
Browse files Browse the repository at this point in the history
  • Loading branch information
speakeasybot authored and frankie567 committed Oct 17, 2024
1 parent 799619b commit 0b884c0
Show file tree
Hide file tree
Showing 203 changed files with 3,920 additions and 1,600 deletions.
111 changes: 92 additions & 19 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.1
version: 0.13.2
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.418.4
speakeasyVersion: 1.419.0
sources:
Polar-OAS:
sourceNamespace: polar-oas
sourceRevisionDigest: sha256:f87d955636fb8c810a7062a8e3ed99ec716281562a4cb47b3053856bc2e8fb73
sourceBlobDigest: sha256:8aa5bbab824b689955e2c1763c1751ce61965e9bddb63c207b0cbdaefac8d5ed
sourceRevisionDigest: sha256:11d104b8badf78c97e402074e8410736da2ade4da62bc2b6b5d6fc4fa2c6f749
sourceBlobDigest: sha256:f08236b46e40d4b60554aac287a0268ce101aeefda19b36c22f9fdfde9068091
tags:
- latest
- main
targets:
polar:
source: Polar-OAS
sourceNamespace: polar-oas
sourceRevisionDigest: sha256:f87d955636fb8c810a7062a8e3ed99ec716281562a4cb47b3053856bc2e8fb73
sourceBlobDigest: sha256:8aa5bbab824b689955e2c1763c1751ce61965e9bddb63c207b0cbdaefac8d5ed
sourceRevisionDigest: sha256:11d104b8badf78c97e402074e8410736da2ade4da62bc2b6b5d6fc4fa2c6f749
sourceBlobDigest: sha256:f08236b46e40d4b60554aac287a0268ce101aeefda19b36c22f9fdfde9068091
workflow:
workflowVersion: 1.0.0
speakeasyVersion: latest
Expand Down
13 changes: 13 additions & 0 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -134,6 +134,14 @@ run();
* [delete](docs/sdks/benefits/README.md#delete) - Delete Benefit
* [grants](docs/sdks/benefits/README.md#grants) - List Benefit Grants

### [checkoutLinks](docs/sdks/checkoutlinks/README.md)

* [list](docs/sdks/checkoutlinks/README.md#list) - List Checkout Links
* [create](docs/sdks/checkoutlinks/README.md#create) - Create Checkout Link
* [get](docs/sdks/checkoutlinks/README.md#get) - Get Checkout Link
* [update](docs/sdks/checkoutlinks/README.md#update) - Update Checkout Link
* [delete](docs/sdks/checkoutlinks/README.md#delete) - Delete Checkout Link

### [checkouts](docs/sdks/checkouts/README.md)

* [~~create~~](docs/sdks/checkouts/README.md#create) - Create Checkout :warning: **Deprecated** Use `create` instead.
Expand Down Expand Up @@ -299,6 +307,11 @@ To read more about standalone functions, check [FUNCTIONS.md](./FUNCTIONS.md).
- [`benefitsGrants`](docs/sdks/benefits/README.md#grants) - List Benefit Grants
- [`benefitsList`](docs/sdks/benefits/README.md#list) - List Benefits
- [`benefitsUpdate`](docs/sdks/benefits/README.md#update) - Update Benefit
- [`checkoutLinksCreate`](docs/sdks/checkoutlinks/README.md#create) - Create Checkout Link
- [`checkoutLinksDelete`](docs/sdks/checkoutlinks/README.md#delete) - Delete Checkout Link
- [`checkoutLinksGet`](docs/sdks/checkoutlinks/README.md#get) - Get Checkout Link
- [`checkoutLinksList`](docs/sdks/checkoutlinks/README.md#list) - List Checkout Links
- [`checkoutLinksUpdate`](docs/sdks/checkoutlinks/README.md#update) - Update Checkout Link
- [`checkoutsCustomClientConfirm`](docs/sdks/custom/README.md#clientconfirm) - Confirm Checkout Session from Client
- [`checkoutsCustomClientGet`](docs/sdks/custom/README.md#clientget) - Get Checkout Session from Client
- [`checkoutsCustomClientUpdate`](docs/sdks/custom/README.md#clientupdate) - Update Checkout Session from Client
Expand Down
12 changes: 11 additions & 1 deletion RELEASES.md
Original file line number Diff line number Diff line change
Expand Up @@ -128,4 +128,14 @@ Based on:
### Generated
- [typescript v0.13.1] .
### Releases
- [NPM v0.13.1] https://www.npmjs.com/package/@polar-sh/sdk/v/0.13.1 - .
- [NPM v0.13.1] https://www.npmjs.com/package/@polar-sh/sdk/v/0.13.1 - .

## 2024-10-17 00:25:54
### Changes
Based on:
- OpenAPI Doc
- Speakeasy CLI 1.419.0 (2.438.3) https://github.com/speakeasy-api/speakeasy
### Generated
- [typescript v0.13.2] .
### Releases
- [NPM v0.13.2] https://www.npmjs.com/package/@polar-sh/sdk/v/0.13.2 - .
30 changes: 30 additions & 0 deletions codeSamples.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -105,6 +105,36 @@ actions:
- "lang": "typescript"
"label": "grants"
"source": "import { Polar } from \"@polar-sh/sdk\";\n\nconst polar = new Polar({\n accessToken: process.env[\"POLAR_ACCESS_TOKEN\"] ?? \"\",\n});\n\nasync function run() {\n const result = await polar.benefits.grants({\n id: \"<value>\",\n });\n\n for await (const page of result) {\n // Handle the page\n console.log(page);\n }\n}\n\nrun();"
- target: $["paths"]["/v1/checkout-links/"]["get"]
update:
"x-codeSamples":
- "lang": "typescript"
"label": "list"
"source": "import { Polar } from \"@polar-sh/sdk\";\n\nconst polar = new Polar({\n accessToken: process.env[\"POLAR_ACCESS_TOKEN\"] ?? \"\",\n});\n\nasync function run() {\n const result = await polar.checkoutLinks.list({});\n\n for await (const page of result) {\n // Handle the page\n console.log(page);\n }\n}\n\nrun();"
- target: $["paths"]["/v1/checkout-links/"]["post"]
update:
"x-codeSamples":
- "lang": "typescript"
"label": "create"
"source": "import { Polar } from \"@polar-sh/sdk\";\n\nconst polar = new Polar({\n accessToken: process.env[\"POLAR_ACCESS_TOKEN\"] ?? \"\",\n});\n\nasync function run() {\n const result = await polar.checkoutLinks.create({\n productPriceId: \"<value>\",\n });\n\n // Handle the result\n console.log(result);\n}\n\nrun();"
- target: $["paths"]["/v1/checkout-links/{id}"]["delete"]
update:
"x-codeSamples":
- "lang": "typescript"
"label": "delete"
"source": "import { Polar } from \"@polar-sh/sdk\";\n\nconst polar = new Polar({\n accessToken: process.env[\"POLAR_ACCESS_TOKEN\"] ?? \"\",\n});\n\nasync function run() {\n await polar.checkoutLinks.delete({\n id: \"<value>\",\n });\n\n\n}\n\nrun();"
- target: $["paths"]["/v1/checkout-links/{id}"]["get"]
update:
"x-codeSamples":
- "lang": "typescript"
"label": "get"
"source": "import { Polar } from \"@polar-sh/sdk\";\n\nconst polar = new Polar({\n accessToken: process.env[\"POLAR_ACCESS_TOKEN\"] ?? \"\",\n});\n\nasync function run() {\n const result = await polar.checkoutLinks.get({\n id: \"<value>\",\n });\n\n // Handle the result\n console.log(result);\n}\n\nrun();"
- target: $["paths"]["/v1/checkout-links/{id}"]["patch"]
update:
"x-codeSamples":
- "lang": "typescript"
"label": "update"
"source": "import { Polar } from \"@polar-sh/sdk\";\n\nconst polar = new Polar({\n accessToken: process.env[\"POLAR_ACCESS_TOKEN\"] ?? \"\",\n});\n\nasync function run() {\n const result = await polar.checkoutLinks.update({\n id: \"<value>\",\n checkoutLinkUpdate: {},\n });\n\n // Handle the result\n console.log(result);\n}\n\nrun();"
- target: $["paths"]["/v1/checkouts/custom/"]["get"]
update:
"x-codeSamples":
Expand Down
8 changes: 4 additions & 4 deletions docs/models/components/assignee.md
Original file line number Diff line number Diff line change
Expand Up @@ -6,10 +6,10 @@
import { Assignee } from "@polar-sh/sdk/models/components";

let value: Assignee = {
id: 636696,
login: "Stella.Champlin94",
htmlUrl: "https://esteemed-lay.info",
avatarUrl: "https://sugary-zebra.biz",
id: 778597,
login: "Romaine.Hoeger5",
htmlUrl: "https://elliptical-piglet.biz/",
avatarUrl: "https://wide-eyed-intent.com",
};
```

Expand Down
8 changes: 4 additions & 4 deletions docs/models/components/author.md
Original file line number Diff line number Diff line change
Expand Up @@ -6,10 +6,10 @@
import { Author } from "@polar-sh/sdk/models/components";

let value: Author = {
id: 436663,
login: "Garrick_Ferry87",
htmlUrl: "https://wasteful-confusion.com",
avatarUrl: "https://avaricious-earth.org",
id: 170634,
login: "Dock_Towne26",
htmlUrl: "https://grown-guacamole.info",
avatarUrl: "https://glum-reorganisation.info/",
};
```

Expand Down
10 changes: 5 additions & 5 deletions docs/models/components/benefitadssubscriber.md
Original file line number Diff line number Diff line change
Expand Up @@ -6,19 +6,19 @@
import { BenefitAdsSubscriber } from "@polar-sh/sdk/models/components";

let value: BenefitAdsSubscriber = {
createdAt: new Date("2023-08-03T23:23:59.966Z"),
modifiedAt: new Date("2023-08-18T21:58:52.875Z"),
createdAt: new Date("2023-06-12T12:17:54.368Z"),
modifiedAt: new Date("2024-01-24T08:06:05.859Z"),
id: "<value>",
description:
"dividend investigate minty louse ferret commonly talkative liberalize",
"unto excepting insidious please once louse deployment circa trolley",
selectable: false,
deletable: false,
organizationId: "<value>",
properties: {},
grants: [
{
createdAt: new Date("2022-09-25T08:37:09.478Z"),
modifiedAt: new Date("2024-03-02T11:27:13.468Z"),
createdAt: new Date("2022-06-05T14:48:44.098Z"),
modifiedAt: new Date("2022-10-12T06:34:08.121Z"),
id: "<value>",
isGranted: false,
isRevoked: false,
Expand Down
6 changes: 3 additions & 3 deletions docs/models/components/benefitarticles.md
Original file line number Diff line number Diff line change
Expand Up @@ -10,10 +10,10 @@ Use it to grant access to posts.
import { BenefitArticles } from "@polar-sh/sdk/models/components";

let value: BenefitArticles = {
createdAt: new Date("2023-03-11T21:56:42.620Z"),
modifiedAt: new Date("2023-04-20T20:35:52.502Z"),
createdAt: new Date("2024-11-26T08:57:48.541Z"),
modifiedAt: new Date("2024-06-27T02:43:23.928Z"),
id: "<value>",
description: "broadcast whoever triangular past",
description: "a mmm upsell more short who sign flowery",
selectable: false,
deletable: false,
organizationId: "<value>",
Expand Down
6 changes: 3 additions & 3 deletions docs/models/components/benefitarticlessubscriber.md
Original file line number Diff line number Diff line change
Expand Up @@ -6,10 +6,10 @@
import { BenefitArticlesSubscriber } from "@polar-sh/sdk/models/components";

let value: BenefitArticlesSubscriber = {
createdAt: new Date("2024-10-28T06:45:26.918Z"),
modifiedAt: new Date("2023-09-23T21:28:43.149Z"),
createdAt: new Date("2022-03-21T10:21:14.772Z"),
modifiedAt: new Date("2022-01-07T00:32:08.475Z"),
id: "<value>",
description: "foolishly why beside commonly intently prime hm",
description: "silver unless save unlawful vague",
selectable: false,
deletable: false,
organizationId: "<value>",
Expand Down
9 changes: 4 additions & 5 deletions docs/models/components/benefitbase.md
Original file line number Diff line number Diff line change
Expand Up @@ -6,12 +6,11 @@
import { BenefitBase } from "@polar-sh/sdk/models/components";

let value: BenefitBase = {
createdAt: new Date("2022-10-26T13:05:57.095Z"),
modifiedAt: new Date("2024-02-17T17:04:58.533Z"),
createdAt: new Date("2023-02-08T00:40:57.806Z"),
modifiedAt: new Date("2024-04-15T22:56:43.340Z"),
id: "<value>",
type: "articles",
description:
"up loosely coil sympathetically whether convoke confirm mid individual",
type: "custom",
description: "gerbil angelic acquire",
selectable: false,
deletable: false,
organizationId: "<value>",
Expand Down
10 changes: 5 additions & 5 deletions docs/models/components/benefitcustomsubscriber.md
Original file line number Diff line number Diff line change
Expand Up @@ -6,17 +6,17 @@
import { BenefitCustomSubscriber } from "@polar-sh/sdk/models/components";

let value: BenefitCustomSubscriber = {
createdAt: new Date("2023-01-23T08:27:25.525Z"),
modifiedAt: new Date("2022-10-16T03:05:22.272Z"),
createdAt: new Date("2022-07-24T02:06:35.279Z"),
modifiedAt: new Date("2022-07-26T11:39:39.770Z"),
id: "<value>",
description: "respray coagulate submissive ridge veg",
description: "than sailor eventually phew violently quaff",
selectable: false,
deletable: false,
organizationId: "<value>",
grants: [
{
createdAt: new Date("2022-01-26T11:12:58.424Z"),
modifiedAt: new Date("2023-08-06T02:09:12.930Z"),
createdAt: new Date("2022-02-02T10:37:12.717Z"),
modifiedAt: new Date("2023-06-16T10:56:54.092Z"),
id: "<value>",
isGranted: false,
isRevoked: false,
Expand Down
7 changes: 3 additions & 4 deletions docs/models/components/benefitdiscordinput.md
Original file line number Diff line number Diff line change
Expand Up @@ -10,11 +10,10 @@ Use it to automatically invite your backers to a Discord server.
import { BenefitDiscordInput } from "@polar-sh/sdk/models/components";

let value: BenefitDiscordInput = {
createdAt: new Date("2023-10-26T18:56:37.422Z"),
modifiedAt: new Date("2024-01-09T18:32:25.623Z"),
createdAt: new Date("2023-08-08T07:18:03.677Z"),
modifiedAt: new Date("2022-04-14T07:45:40.363Z"),
id: "<value>",
description:
"anticodon instead instead yippee narrate apud fully curse decisive firsthand",
description: "incidentally livid phew poetry tank bicycle",
selectable: false,
deletable: false,
organizationId: "<value>",
Expand Down
6 changes: 3 additions & 3 deletions docs/models/components/benefitdiscordsubscriber.md
Original file line number Diff line number Diff line change
Expand Up @@ -6,10 +6,10 @@
import { BenefitDiscordSubscriber } from "@polar-sh/sdk/models/components";

let value: BenefitDiscordSubscriber = {
createdAt: new Date("2024-07-15T12:42:19.873Z"),
modifiedAt: new Date("2023-08-09T19:43:23.369Z"),
createdAt: new Date("2022-03-18T12:23:43.530Z"),
modifiedAt: new Date("2022-09-06T05:37:35.670Z"),
id: "<value>",
description: "flight swathe amongst dislocate however entire",
description: "deduction yummy pish cluttered whose manipulate",
selectable: false,
deletable: false,
organizationId: "<value>",
Expand Down
6 changes: 3 additions & 3 deletions docs/models/components/benefitdownloadablessubscriber.md
Original file line number Diff line number Diff line change
Expand Up @@ -6,10 +6,10 @@
import { BenefitDownloadablesSubscriber } from "@polar-sh/sdk/models/components";

let value: BenefitDownloadablesSubscriber = {
createdAt: new Date("2022-10-25T06:04:46.666Z"),
modifiedAt: new Date("2022-04-19T08:02:38.105Z"),
createdAt: new Date("2023-11-26T16:08:08.795Z"),
modifiedAt: new Date("2024-11-12T19:38:06.759Z"),
id: "<value>",
description: "only self-confidence reluctantly conceal toward happily",
description: "edible ah twine modulo plugin",
selectable: false,
deletable: false,
organizationId: "<value>",
Expand Down
7 changes: 3 additions & 4 deletions docs/models/components/benefitgithubrepositorysubscriber.md
Original file line number Diff line number Diff line change
Expand Up @@ -6,11 +6,10 @@
import { BenefitGitHubRepositorySubscriber } from "@polar-sh/sdk/models/components";

let value: BenefitGitHubRepositorySubscriber = {
createdAt: new Date("2023-10-06T21:17:53.356Z"),
modifiedAt: new Date("2024-04-26T18:34:45.819Z"),
createdAt: new Date("2022-06-14T08:03:29.925Z"),
modifiedAt: new Date("2024-04-06T11:35:34.778Z"),
id: "<value>",
description:
"hourly as whenever antagonize obstruct overburden mountain wrongly plan",
description: "extent except instead aboard since hurtful forenenst solidly",
selectable: false,
deletable: false,
organizationId: "<value>",
Expand Down
4 changes: 2 additions & 2 deletions docs/models/components/benefitgrantads.md
Original file line number Diff line number Diff line change
Expand Up @@ -6,8 +6,8 @@
import { BenefitGrantAds } from "@polar-sh/sdk/models/components";

let value: BenefitGrantAds = {
createdAt: new Date("2022-05-04T14:46:57.065Z"),
modifiedAt: new Date("2024-12-21T12:53:01.858Z"),
createdAt: new Date("2023-04-14T11:56:41.335Z"),
modifiedAt: new Date("2022-01-01T23:45:36.080Z"),
id: "<value>",
isGranted: false,
isRevoked: false,
Expand Down
4 changes: 2 additions & 2 deletions docs/models/components/benefitgrantlicensekeys.md
Original file line number Diff line number Diff line change
Expand Up @@ -6,8 +6,8 @@
import { BenefitGrantLicenseKeys } from "@polar-sh/sdk/models/components";

let value: BenefitGrantLicenseKeys = {
createdAt: new Date("2024-09-02T04:18:11.595Z"),
modifiedAt: new Date("2022-03-09T18:45:54.640Z"),
createdAt: new Date("2022-01-16T17:26:23.935Z"),
modifiedAt: new Date("2023-11-02T04:30:35.857Z"),
id: "<value>",
isGranted: false,
isRevoked: false,
Expand Down
4 changes: 2 additions & 2 deletions docs/models/components/benefitgrantsubscriber.md
Original file line number Diff line number Diff line change
Expand Up @@ -6,8 +6,8 @@
import { BenefitGrantSubscriber } from "@polar-sh/sdk/models/components";

let value: BenefitGrantSubscriber = {
createdAt: new Date("2022-08-13T10:34:08.199Z"),
modifiedAt: new Date("2022-02-28T19:32:56.713Z"),
createdAt: new Date("2024-01-19T18:40:42.345Z"),
modifiedAt: new Date("2024-06-19T01:50:01.880Z"),
id: "<value>",
isGranted: false,
isRevoked: false,
Expand Down
19 changes: 10 additions & 9 deletions docs/models/components/benefitgrantwebhook.md
Original file line number Diff line number Diff line change
Expand Up @@ -6,8 +6,8 @@
import { BenefitGrantWebhook } from "@polar-sh/sdk/models/components";

let value: BenefitGrantWebhook = {
createdAt: new Date("2023-06-01T03:37:00.180Z"),
modifiedAt: new Date("2022-09-09T06:29:34.747Z"),
createdAt: new Date("2024-12-22T13:01:24.491Z"),
modifiedAt: new Date("2024-09-18T13:31:21.764Z"),
id: "<value>",
isGranted: false,
isRevoked: false,
Expand All @@ -17,24 +17,25 @@ let value: BenefitGrantWebhook = {
benefitId: "<value>",
properties: {},
benefit: {
createdAt: new Date("2022-05-28T13:13:34.231Z"),
modifiedAt: new Date("2022-08-25T10:24:20.426Z"),
createdAt: new Date("2024-04-18T19:33:03.929Z"),
modifiedAt: new Date("2023-07-30T22:49:24.756Z"),
id: "<value>",
description: "throughout below knowledgeably",
description:
"headline arrogantly priesthood absentmindedly knickers forenenst shudder faint zowie eek",
selectable: false,
deletable: false,
organizationId: "<value>",
properties: {
prefix: "<value>",
expires: {
ttl: 750956,
timeframe: "month",
ttl: 674063,
timeframe: "day",
},
activations: {
limit: 662360,
limit: 926516,
enableUserAdmin: false,
},
limitUsage: 889439,
limitUsage: 611872,
},
},
};
Expand Down
Loading

0 comments on commit 0b884c0

Please sign in to comment.