Skip to content

Commit

Permalink
ci: regenerated with OpenAPI Doc , Speakeasy CLI 1.422.1
Browse files Browse the repository at this point in the history
  • Loading branch information
speakeasybot authored and frankie567 committed Oct 28, 2024
1 parent 9a9607a commit c06abaf
Show file tree
Hide file tree
Showing 114 changed files with 1,711 additions and 1,121 deletions.
23 changes: 11 additions & 12 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.4
version: 0.13.5
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.421.1
speakeasyVersion: 1.422.1
sources:
Polar-OAS:
sourceNamespace: polar-oas
sourceRevisionDigest: sha256:f6103548f368df47426a16ea11e73e7723a9c148abb583655869c1bf2a4b44fe
sourceBlobDigest: sha256:e4d5bea4ffc74b41e58b9fdd6396d43c95b3b069a564ed3e421efdf13716091a
sourceRevisionDigest: sha256:ff2f54f80f589bd4831c6dc097e67a69c807816fa76d6b04633252616f7a8a2d
sourceBlobDigest: sha256:90bc458a412c5beec0e41812e44f386f7c608b0d03d621aed777f8506afdcd2c
tags:
- latest
- main
targets:
polar:
source: Polar-OAS
sourceNamespace: polar-oas
sourceRevisionDigest: sha256:f6103548f368df47426a16ea11e73e7723a9c148abb583655869c1bf2a4b44fe
sourceBlobDigest: sha256:e4d5bea4ffc74b41e58b9fdd6396d43c95b3b069a564ed3e421efdf13716091a
sourceRevisionDigest: sha256:ff2f54f80f589bd4831c6dc097e67a69c807816fa76d6b04633252616f7a8a2d
sourceBlobDigest: sha256:90bc458a412c5beec0e41812e44f386f7c608b0d03d621aed777f8506afdcd2c
workflow:
workflowVersion: 1.0.0
speakeasyVersion: latest
Expand Down
2 changes: 1 addition & 1 deletion .speakeasy/workflow.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -18,4 +18,4 @@ targets:
npm:
token: $npm_token
codeSamples:
output: codeSamples.yaml
output: codeSamples.yaml
12 changes: 11 additions & 1 deletion RELEASES.md
Original file line number Diff line number Diff line change
Expand Up @@ -158,4 +158,14 @@ Based on:
### Generated
- [typescript v0.13.4] .
### Releases
- [NPM v0.13.4] https://www.npmjs.com/package/@polar-sh/sdk/v/0.13.4 - .
- [NPM v0.13.4] https://www.npmjs.com/package/@polar-sh/sdk/v/0.13.4 - .

## 2024-10-28 12:32:16
### Changes
Based on:
- OpenAPI Doc
- Speakeasy CLI 1.422.1 (2.438.15) https://github.com/speakeasy-api/speakeasy
### Generated
- [typescript v0.13.5] .
### Releases
- [NPM v0.13.5] https://www.npmjs.com/package/@polar-sh/sdk/v/0.13.5 - .
2 changes: 1 addition & 1 deletion codeSamples.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -350,7 +350,7 @@ actions:
"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.products.list({\n organizationId: [\n \"<value>\",\n \"<value>\",\n ],\n });\n\n for await (const page of result) {\n // Handle the page\n console.log(page);\n }\n}\n\nrun();"
"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.products.list({});\n\n for await (const page of result) {\n // Handle the page\n console.log(page);\n }\n}\n\nrun();"
- target: $["paths"]["/v1/products/"]["post"]
update:
"x-codeSamples":
Expand Down
2 changes: 1 addition & 1 deletion docs/models/components/address.md
Original file line number Diff line number Diff line change
Expand Up @@ -6,7 +6,7 @@
import { Address } from "@polar-sh/sdk/models/components";

let value: Address = {
country: "Papua New Guinea",
country: "Heard Island and McDonald Islands",
};
```

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: 778597,
login: "Romaine.Hoeger5",
htmlUrl: "https://elliptical-piglet.biz/",
avatarUrl: "https://wide-eyed-intent.com",
id: 462378,
login: "Dudley27",
htmlUrl: "https://thrifty-porter.com",
avatarUrl: "https://clear-cut-issue.net/",
};
```

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: 170634,
login: "Dock_Towne26",
htmlUrl: "https://grown-guacamole.info",
avatarUrl: "https://glum-reorganisation.info/",
id: 718185,
login: "Coralie_Price",
htmlUrl: "https://puzzled-petticoat.org/",
avatarUrl: "https://mysterious-in-joke.net/",
};
```

Expand Down
6 changes: 3 additions & 3 deletions docs/models/components/benefitdiscordinput.md
Original file line number Diff line number Diff line change
Expand Up @@ -10,10 +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-08-08T07:18:03.677Z"),
modifiedAt: new Date("2022-04-14T07:45:40.363Z"),
createdAt: new Date("2023-04-20T19:40:49.785Z"),
modifiedAt: new Date("2023-05-20T04:29:31.559Z"),
id: "<value>",
description: "incidentally livid phew poetry tank bicycle",
description: "modulo since likewise lumpy while musty",
selectable: false,
deletable: false,
organizationId: "<value>",
Expand Down
23 changes: 7 additions & 16 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("2024-12-22T13:01:24.491Z"),
modifiedAt: new Date("2024-09-18T13:31:21.764Z"),
createdAt: new Date("2023-01-27T05:26:22.568Z"),
modifiedAt: new Date("2022-03-30T12:54:31.192Z"),
id: "<value>",
isGranted: false,
isRevoked: false,
Expand All @@ -17,26 +17,17 @@ let value: BenefitGrantWebhook = {
benefitId: "<value>",
properties: {},
benefit: {
createdAt: new Date("2024-04-18T19:33:03.929Z"),
modifiedAt: new Date("2023-07-30T22:49:24.756Z"),
createdAt: new Date("2023-12-05T13:48:33.318Z"),
modifiedAt: new Date("2022-07-09T02:51:12.374Z"),
id: "<value>",
description:
"headline arrogantly priesthood absentmindedly knickers forenenst shudder faint zowie eek",
description: "derby powerful how stoop that form hospitable consequently",
selectable: false,
deletable: false,
organizationId: "<value>",
properties: {
prefix: "<value>",
expires: {
ttl: 674063,
timeframe: "day",
},
activations: {
limit: 926516,
enableUserAdmin: false,
},
limitUsage: 611872,
note: "<value>",
},
isTaxApplicable: false,
},
};
```
Expand Down
56 changes: 30 additions & 26 deletions docs/models/components/benefitinput.md
Original file line number Diff line number Diff line change
Expand Up @@ -7,10 +7,10 @@

```typescript
const value: components.BenefitArticles = {
createdAt: new Date("2023-05-06T22:20:39.516Z"),
modifiedAt: new Date("2024-04-07T07:22:12.777Z"),
createdAt: new Date("2022-12-04T16:25:25.756Z"),
modifiedAt: new Date("2024-02-16T22:54:46.161Z"),
id: "<value>",
description: "smart all while libel substantial alive",
description: "astride yearly rowdy ouch after yuck wherever up reluctantly",
selectable: false,
deletable: false,
organizationId: "<value>",
Expand All @@ -24,10 +24,11 @@ const value: components.BenefitArticles = {

```typescript
const value: components.BenefitAds = {
createdAt: new Date("2024-12-24T18:52:15.485Z"),
modifiedAt: new Date("2023-06-23T15:25:01.492Z"),
createdAt: new Date("2024-08-24T06:52:47.595Z"),
modifiedAt: new Date("2022-11-30T21:45:00.403Z"),
id: "<value>",
description: "faithfully mmm unto defensive",
description:
"since governance formal plain across until toothpick uh-huh amidst broadcast",
selectable: false,
deletable: false,
organizationId: "<value>",
Expand All @@ -39,10 +40,10 @@ const value: components.BenefitAds = {

```typescript
const value: components.BenefitCustom = {
createdAt: new Date("2023-10-15T16:36:34.415Z"),
modifiedAt: new Date("2023-10-28T12:57:22.714Z"),
createdAt: new Date("2024-01-19T04:12:42.334Z"),
modifiedAt: new Date("2022-02-26T09:31:45.655Z"),
id: "<value>",
description: "tousle sashay screw circa fat viciously",
description: "yowza warp statement snow",
selectable: false,
deletable: false,
organizationId: "<value>",
Expand All @@ -57,10 +58,10 @@ const value: components.BenefitCustom = {

```typescript
const value: components.BenefitDiscordInput = {
createdAt: new Date("2022-08-28T12:53:24.536Z"),
modifiedAt: new Date("2022-10-24T05:28:30.875Z"),
createdAt: new Date("2024-11-02T13:11:38.475Z"),
modifiedAt: new Date("2024-08-20T00:50:52.223Z"),
id: "<value>",
description: "excepting which battle lest slow mechanically times",
description: "avalanche squid noxious connect amused bowling",
selectable: false,
deletable: false,
organizationId: "<value>",
Expand All @@ -75,18 +76,19 @@ const value: components.BenefitDiscordInput = {

```typescript
const value: components.BenefitGitHubRepository = {
createdAt: new Date("2024-04-09T16:23:40.595Z"),
modifiedAt: new Date("2024-12-26T22:45:57.487Z"),
createdAt: new Date("2023-11-22T13:06:40.923Z"),
modifiedAt: new Date("2022-01-29T22:14:42.973Z"),
id: "<value>",
description: "delightfully plumber fray elevator",
description:
"beyond yahoo incidentally profuse fun bandwidth throughout below",
selectable: false,
deletable: false,
organizationId: "<value>",
properties: {
repositoryId: "<value>",
repositoryOwner: "polarsource",
repositoryName: "private_repo",
permission: "push",
permission: "pull",
},
};
```
Expand All @@ -95,10 +97,11 @@ const value: components.BenefitGitHubRepository = {

```typescript
const value: components.BenefitDownloadables = {
createdAt: new Date("2022-10-27T06:47:16.886Z"),
modifiedAt: new Date("2024-07-30T18:35:21.364Z"),
createdAt: new Date("2023-06-17T12:06:28.738Z"),
modifiedAt: new Date("2023-10-14T21:42:37.950Z"),
id: "<value>",
description: "past mmm but well-off joyful aw defiantly likewise freely",
description:
"underneath completion before monthly daintily synergy yearn too fervently toward",
selectable: false,
deletable: false,
organizationId: "<value>",
Expand All @@ -117,24 +120,25 @@ const value: components.BenefitDownloadables = {

```typescript
const value: components.BenefitLicenseKeys = {
createdAt: new Date("2024-03-20T18:03:46.720Z"),
modifiedAt: new Date("2024-06-03T15:08:11.140Z"),
createdAt: new Date("2023-09-12T19:42:53.732Z"),
modifiedAt: new Date("2023-06-03T07:07:47.859Z"),
id: "<value>",
description: "across mmm unlike unwritten",
description:
"bah stint seemingly hoof dwell hygienic geez fatally disbar repeatedly",
selectable: false,
deletable: false,
organizationId: "<value>",
properties: {
prefix: "<value>",
expires: {
ttl: 196451,
timeframe: "day",
ttl: 9143,
timeframe: "month",
},
activations: {
limit: 317755,
limit: 290874,
enableUserAdmin: false,
},
limitUsage: 12811,
limitUsage: 335015,
},
};
```
Expand Down
18 changes: 9 additions & 9 deletions docs/models/components/checkoutlink.md
Original file line number Diff line number Diff line change
Expand Up @@ -8,27 +8,27 @@ Checkout link data.
import { CheckoutLink } from "@polar-sh/sdk/models/components";

let value: CheckoutLink = {
createdAt: new Date("2023-08-24T13:00:43.871Z"),
modifiedAt: new Date("2022-06-11T05:25:03.700Z"),
createdAt: new Date("2022-03-24T04:55:38.302Z"),
modifiedAt: new Date("2024-05-26T23:36:57.146Z"),
id: "<value>",
metadata: {
"key": "<value>",
},
clientSecret: "<value>",
successUrl: "https://appropriate-horde.info/",
successUrl: "https://untidy-importance.name",
productPriceId: "<value>",
productPrice: {
createdAt: new Date("2022-09-09T18:27:38.526Z"),
modifiedAt: new Date("2022-04-16T13:09:43.732Z"),
createdAt: new Date("2023-07-31T21:34:52.600Z"),
modifiedAt: new Date("2022-09-25T19:36:57.431Z"),
id: "<value>",
isArchived: false,
productId: "<value>",
priceCurrency: "<value>",
minimumAmount: 571158,
maximumAmount: 217338,
presetAmount: 377150,
minimumAmount: 330422,
maximumAmount: 287648,
presetAmount: 45663,
},
url: "https://extra-large-pearl.com/",
url: "https://tender-rust.biz",
};
```

Expand Down
Loading

0 comments on commit c06abaf

Please sign in to comment.