Skip to content

Commit

Permalink
ci: regenerated with OpenAPI Doc , Speakeasy CLI 1.455.5
Browse files Browse the repository at this point in the history
  • Loading branch information
speakeasybot authored and frankie567 committed Dec 16, 2024
1 parent b793a7f commit 9653292
Show file tree
Hide file tree
Showing 596 changed files with 17,524 additions and 11,374 deletions.
624 changes: 464 additions & 160 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 @@ -16,7 +16,7 @@ generation:
oAuth2ClientCredentialsEnabled: true
oAuth2PasswordEnabled: false
typescript:
version: 0.18.0
version: 0.18.1
additionalDependencies:
dependencies:
standardwebhooks: ^1.0.0
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.453.8
speakeasyVersion: 1.455.5
sources:
Polar-OAS:
sourceNamespace: polar-oas
sourceRevisionDigest: sha256:437b1239e8f81495c940e3330207c4b8cdc74a8422690aabc5d4885627f7b62c
sourceBlobDigest: sha256:615278c4cec988d0ee67769a6dcbed439fd0d7308bba4c93d07fe55275a995fe
sourceRevisionDigest: sha256:35d79649c41e56adfe2c80f7e4ad51672cd6619b30d50da385f577971d6051cb
sourceBlobDigest: sha256:746fb8a17154acb4253dd58e3b93f50646552e700f06a7c253bfdd8dffc219a0
tags:
- latest
- speakeasy-sdk-regen-1733790537
- speakeasy-sdk-regen-1734355586
- 0.1.0
targets:
polar:
source: Polar-OAS
sourceNamespace: polar-oas
sourceRevisionDigest: sha256:437b1239e8f81495c940e3330207c4b8cdc74a8422690aabc5d4885627f7b62c
sourceBlobDigest: sha256:615278c4cec988d0ee67769a6dcbed439fd0d7308bba4c93d07fe55275a995fe
sourceRevisionDigest: sha256:35d79649c41e56adfe2c80f7e4ad51672cd6619b30d50da385f577971d6051cb
sourceBlobDigest: sha256:746fb8a17154acb4253dd58e3b93f50646552e700f06a7c253bfdd8dffc219a0
codeSamplesNamespace: polar-oas-code-samples
codeSamplesRevisionDigest: sha256:968c7411e857388510a1375655911b69303c791a75f0a6bfda9c180187525c55
codeSamplesRevisionDigest: sha256:39af9c3391023e1437dd1cb6407a1745a47243dc9ff57ed135ba0ebe80c92d94
workflow:
workflowVersion: 1.0.0
speakeasyVersion: latest
Expand Down
4 changes: 2 additions & 2 deletions FUNCTIONS.md
Original file line number Diff line number Diff line change
Expand Up @@ -20,7 +20,7 @@ specific category of applications.

```typescript
import { PolarCore } from "@polar-sh/sdk/core.js";
import { usersBenefitsList } from "@polar-sh/sdk/funcs/usersBenefitsList.js";
import { externalOrganizationsList } from "@polar-sh/sdk/funcs/externalOrganizationsList.js";
import { SDKValidationError } from "@polar-sh/sdk/models/errors/sdkvalidationerror.js";

// Use `PolarCore` for best tree-shaking performance.
Expand All @@ -30,7 +30,7 @@ const polar = new PolarCore({
});

async function run() {
const res = await usersBenefitsList(polar, {});
const res = await externalOrganizationsList(polar, {});

switch (true) {
case res.ok:
Expand Down
186 changes: 99 additions & 87 deletions README.md

Large diffs are not rendered by default.

12 changes: 11 additions & 1 deletion RELEASES.md
Original file line number Diff line number Diff line change
Expand Up @@ -288,4 +288,14 @@ Based on:
### Generated
- [typescript v0.18.0] .
### Releases
- [NPM v0.18.0] https://www.npmjs.com/package/@polar-sh/sdk/v/0.18.0 - .
- [NPM v0.18.0] https://www.npmjs.com/package/@polar-sh/sdk/v/0.18.0 - .

## 2024-12-16 13:26:22
### Changes
Based on:
- OpenAPI Doc
- Speakeasy CLI 1.455.5 (2.479.3) https://github.com/speakeasy-api/speakeasy
### Generated
- [typescript v0.18.1] .
### Releases
- [NPM v0.18.1] https://www.npmjs.com/package/@polar-sh/sdk/v/0.18.1 - .
2 changes: 1 addition & 1 deletion USAGE.md
Original file line number Diff line number Diff line change
Expand Up @@ -7,7 +7,7 @@ const polar = new Polar({
});

async function run() {
const result = await polar.users.benefits.list({});
const result = await polar.externalOrganizations.list({});

for await (const page of result) {
// Handle the page
Expand Down
300 changes: 156 additions & 144 deletions codeSamples.yaml

Large diffs are not rendered by default.

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

let value: AdvertisementCampaign = {
createdAt: new Date("2023-08-06T19:15:57.742Z"),
modifiedAt: new Date("2022-09-03T22:54:55.390Z"),
createdAt: new Date("2023-10-01T06:10:04.385Z"),
modifiedAt: new Date("2024-12-25T00:17:56.713Z"),
id: "<value>",
imageUrl: "https://pointless-footrest.org/",
imageUrlDark: "https://triangular-suspension.info/",
imageUrl: "https://hidden-remark.net",
imageUrlDark: "https://unfinished-character.info/",
text: "<value>",
linkUrl: "https://flustered-bookend.name",
linkUrl: "https://lone-plastic.org",
};
```

Expand Down
16 changes: 8 additions & 8 deletions docs/models/components/advertisementcampaignlistresource.md
Original file line number Diff line number Diff line change
Expand Up @@ -8,21 +8,21 @@ import { AdvertisementCampaignListResource } from "@polar-sh/sdk/models/componen
let value: AdvertisementCampaignListResource = {
items: [
{
createdAt: new Date("2022-08-11T18:26:01.453Z"),
modifiedAt: new Date("2024-10-11T05:31:23.796Z"),
createdAt: new Date("2024-01-06T16:42:23.865Z"),
modifiedAt: new Date("2024-05-26T02:27:18.532Z"),
id: "<value>",
imageUrl: "https://intrepid-scholarship.org/",
imageUrlDark: "https://some-charm.biz/",
imageUrl: "https://limping-gym.name",
imageUrlDark: "https://spiteful-thyme.net/",
text: "<value>",
linkUrl: "https://variable-carboxyl.com",
linkUrl: "https://svelte-complication.org",
},
],
pagination: {
totalCount: 975228,
maxPage: 91236,
totalCount: 657186,
maxPage: 420927,
},
dimensions: [
42895,
888024,
],
};
```
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: 805831,
login: "Alvera99",
htmlUrl: "https://strange-petticoat.biz",
avatarUrl: "https://trim-fishery.info/",
id: 309221,
login: "Lonny27",
htmlUrl: "https://crooked-advertisement.org/",
avatarUrl: "https://mindless-cappelletti.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: 391136,
login: "America_Lindgren",
htmlUrl: "https://informal-pendant.org/",
avatarUrl: "https://monthly-heartbeat.com",
id: 333783,
login: "Jose_Kutch37",
htmlUrl: "https://brave-fedora.org/",
avatarUrl: "https://ethical-ghost.info",
};
```

Expand Down
2 changes: 1 addition & 1 deletion docs/models/components/authorizeorganization.md
Original file line number Diff line number Diff line change
Expand Up @@ -8,7 +8,7 @@ import { AuthorizeOrganization } from "@polar-sh/sdk/models/components";
let value: AuthorizeOrganization = {
id: "<value>",
slug: "<value>",
avatarUrl: "https://mixed-cutover.net/",
avatarUrl: "https://black-clavicle.biz",
};
```

Expand Down
18 changes: 9 additions & 9 deletions docs/models/components/authorizeresponseorganization.md
Original file line number Diff line number Diff line change
Expand Up @@ -7,28 +7,28 @@ import { AuthorizeResponseOrganization } from "@polar-sh/sdk/models/components";

let value: AuthorizeResponseOrganization = {
client: {
createdAt: new Date("2023-06-16T15:13:24.972Z"),
modifiedAt: new Date("2022-11-06T16:13:51.110Z"),
createdAt: new Date("2023-06-16T14:07:15.875Z"),
modifiedAt: new Date("2022-12-02T08:05:48.981Z"),
clientId: "<id>",
clientName: "<value>",
clientUri: "https://untidy-pliers.org",
logoUri: "https://quick-ostrich.biz/",
tosUri: "https://bitter-minister.biz",
policyUri: "https://wordy-going.name/",
clientUri: "https://unfinished-casement.com/",
logoUri: "https://miserly-accountability.com/",
tosUri: "https://key-unibody.org",
policyUri: "https://humble-tool.name/",
},
sub: {
id: "<value>",
slug: "<value>",
avatarUrl: "https://married-quinoa.com",
avatarUrl: "https://sticky-traffic.net/",
},
scopes: [
"license_keys:read",
"custom_fields:write",
],
organizations: [
{
id: "<value>",
slug: "<value>",
avatarUrl: "https://uncomfortable-charm.com/",
avatarUrl: "https://innocent-precedent.info",
},
],
};
Expand Down
18 changes: 9 additions & 9 deletions docs/models/components/authorizeresponseuser.md
Original file line number Diff line number Diff line change
Expand Up @@ -7,22 +7,22 @@ import { AuthorizeResponseUser } from "@polar-sh/sdk/models/components";

let value: AuthorizeResponseUser = {
client: {
createdAt: new Date("2023-06-04T16:24:12.271Z"),
modifiedAt: new Date("2024-07-06T03:17:12.941Z"),
createdAt: new Date("2024-04-11T19:55:00.706Z"),
modifiedAt: new Date("2024-06-14T21:32:03.383Z"),
clientId: "<id>",
clientName: "<value>",
clientUri: "https://doting-disconnection.org/",
logoUri: "https://damaged-information.name",
tosUri: "https://spirited-account.biz",
policyUri: "https://narrow-brush.biz",
clientUri: "https://familiar-husband.info/",
logoUri: "https://each-kettledrum.net",
tosUri: "https://rare-electronics.org",
policyUri: "https://enraged-chainstay.org/",
},
sub: {
id: "<value>",
email: "Kaelyn_Schumm@hotmail.com",
avatarUrl: "https://first-pension.com/",
email: "Justen.Stroman73@gmail.com",
avatarUrl: "https://radiant-heartache.org",
},
scopes: [
"openid",
"files:read",
],
};
```
Expand Down
4 changes: 2 additions & 2 deletions docs/models/components/authorizeuser.md
Original file line number Diff line number Diff line change
Expand Up @@ -7,8 +7,8 @@ import { AuthorizeUser } from "@polar-sh/sdk/models/components";

let value: AuthorizeUser = {
id: "<value>",
email: "Susanna7@hotmail.com",
avatarUrl: "https://selfish-yin.org",
email: "Minnie.Fadel@gmail.com",
avatarUrl: "https://forsaken-recommendation.name/",
};
```

Expand Down
51 changes: 25 additions & 26 deletions docs/models/components/benefit.md
Original file line number Diff line number Diff line change
Expand Up @@ -7,11 +7,11 @@

```typescript
const value: components.BenefitAds = {
createdAt: new Date("2024-03-13T10:16:08.156Z"),
modifiedAt: new Date("2024-09-02T13:29:38.345Z"),
createdAt: new Date("2023-10-09T07:46:46.778Z"),
modifiedAt: new Date("2024-08-24T04:44:43.700Z"),
id: "<value>",
description:
"abnegate convection bogus till lasting bruised suburban splash psst before",
"gee funny brief where daintily role infatuated ew lazily elegantly",
selectable: false,
deletable: false,
organizationId: "<value>",
Expand All @@ -23,11 +23,10 @@ const value: components.BenefitAds = {

```typescript
const value: components.BenefitCustom = {
createdAt: new Date("2023-09-13T03:59:21.804Z"),
modifiedAt: new Date("2023-04-06T13:49:22.596Z"),
createdAt: new Date("2024-05-30T01:27:51.669Z"),
modifiedAt: new Date("2024-04-21T03:25:09.956Z"),
id: "<value>",
description:
"likewise whether whereas collectivization despite till crumble besides",
description: "before anguished emergent upward rival inasmuch uh-huh",
selectable: false,
deletable: false,
organizationId: "<value>",
Expand All @@ -42,10 +41,10 @@ const value: components.BenefitCustom = {

```typescript
const value: components.BenefitDiscord = {
createdAt: new Date("2024-08-27T05:15:52.024Z"),
modifiedAt: new Date("2024-11-16T13:14:05.219Z"),
createdAt: new Date("2022-03-30T04:07:03.909Z"),
modifiedAt: new Date("2023-10-21T22:41:41.776Z"),
id: "<value>",
description: "why limited gosh inwardly",
description: "crumble besides even forenenst lazily afore spring midst yuck",
selectable: false,
deletable: false,
organizationId: "<value>",
Expand All @@ -61,18 +60,17 @@ const value: components.BenefitDiscord = {

```typescript
const value: components.BenefitGitHubRepository = {
createdAt: new Date("2022-08-29T07:55:29.814Z"),
modifiedAt: new Date("2024-05-14T18:51:09.710Z"),
createdAt: new Date("2022-12-24T03:17:08.750Z"),
modifiedAt: new Date("2023-07-05T18:00:25.840Z"),
id: "<value>",
description: "republican depend ha after",
description: "superficial fluctuate candid",
selectable: false,
deletable: false,
organizationId: "<value>",
properties: {
repositoryId: "<value>",
repositoryOwner: "polarsource",
repositoryName: "private_repo",
permission: "maintain",
permission: "push",
},
};
```
Expand All @@ -81,10 +79,10 @@ const value: components.BenefitGitHubRepository = {

```typescript
const value: components.BenefitDownloadables = {
createdAt: new Date("2024-12-20T00:58:21.844Z"),
modifiedAt: new Date("2024-06-15T15:19:48.072Z"),
createdAt: new Date("2022-12-10T19:26:04.923Z"),
modifiedAt: new Date("2023-07-16T14:23:33.760Z"),
id: "<value>",
description: "candid gigantic boohoo now aha",
description: "deserted meh failing up subsidy",
selectable: false,
deletable: false,
organizationId: "<value>",
Expand All @@ -103,24 +101,25 @@ const value: components.BenefitDownloadables = {

```typescript
const value: components.BenefitLicenseKeys = {
createdAt: new Date("2023-11-06T16:40:09.305Z"),
modifiedAt: new Date("2024-11-03T10:14:15.332Z"),
createdAt: new Date("2024-11-12T18:00:26.208Z"),
modifiedAt: new Date("2023-07-23T17:49:15.783Z"),
id: "<value>",
description: "drat corral snowplow unimpressively",
description:
"amongst ick notwithstanding aboard same below celsius along upward",
selectable: false,
deletable: false,
organizationId: "<value>",
properties: {
prefix: "<value>",
expires: {
ttl: 254288,
timeframe: "month",
ttl: 148038,
timeframe: "day",
},
activations: {
limit: 816726,
enableUserAdmin: false,
limit: 14976,
enableCustomerAdmin: false,
},
limitUsage: 607181,
limitUsage: 457389,
},
};
```
Expand Down
6 changes: 3 additions & 3 deletions docs/models/components/benefitads.md
Original file line number Diff line number Diff line change
Expand Up @@ -10,10 +10,10 @@ Use it so your backers can display ads on your README, website, etc.
import { BenefitAds } from "@polar-sh/sdk/models/components";

let value: BenefitAds = {
createdAt: new Date("2024-11-15T09:46:43.129Z"),
modifiedAt: new Date("2024-02-16T22:27:20.816Z"),
createdAt: new Date("2023-12-08T06:13:20.624Z"),
modifiedAt: new Date("2022-03-08T04:13:18.822Z"),
id: "<value>",
description: "rout unhappy yum",
description: "acidly colorless oof oof ugh beneath unruly",
selectable: false,
deletable: false,
organizationId: "<value>",
Expand Down
2 changes: 1 addition & 1 deletion docs/models/components/benefitadscreate.md
Original file line number Diff line number Diff line change
Expand Up @@ -6,7 +6,7 @@
import { BenefitAdsCreate } from "@polar-sh/sdk/models/components";

let value: BenefitAdsCreate = {
description: "rowdy mechanic hmph",
description: "knitting underneath phew",
properties: {},
};
```
Expand Down
Loading

0 comments on commit 9653292

Please sign in to comment.