Skip to content

Commit

Permalink
ci: regenerated with OpenAPI Doc , Speakeasy CLI 1.484.1
Browse files Browse the repository at this point in the history
  • Loading branch information
speakeasybot authored and frankie567 committed Feb 5, 2025
1 parent c18229e commit d020572
Show file tree
Hide file tree
Showing 188 changed files with 9,417 additions and 2,694 deletions.
28 changes: 0 additions & 28 deletions .eslintrc.cjs

This file was deleted.

1 change: 1 addition & 0 deletions .gitignore
Original file line number Diff line number Diff line change
@@ -1,3 +1,4 @@
/.eslintcache
/.speakeasy/reports
/react-query
/__tests__
Expand Down
2 changes: 1 addition & 1 deletion .npmignore
Original file line number Diff line number Diff line change
Expand Up @@ -7,7 +7,7 @@
!/**/*.json
!/**/*.map

/.eslintrc.js
/eslint.config.mjs
/cjs
/.tshy
/.tshy-*
Expand Down
241 changes: 221 additions & 20 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.22.2
version: 0.23.0
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.477.2
speakeasyVersion: 1.484.1
sources:
Polar-OAS:
sourceNamespace: polar-oas
sourceRevisionDigest: sha256:50796bf80a8b95a6fa4dfa9425a6da75a233d33eff208913434e30f662258211
sourceBlobDigest: sha256:af17895c9591a019fcc82332db823c59ef4d18ba276fff2ff3a718d6739e383f
sourceRevisionDigest: sha256:21a65b5061eb52a7b7c00f2d4ba58400af0022fe9ecd328ddacc255aa99c1516
sourceBlobDigest: sha256:65979b2ca8b35454357ff88e58d12c23708f6ea4dd5b22474799c45c2d9856aa
tags:
- latest
- speakeasy-sdk-regen-1738110353
- speakeasy-sdk-regen-1738283170
- 0.1.0
targets:
polar:
source: Polar-OAS
sourceNamespace: polar-oas
sourceRevisionDigest: sha256:50796bf80a8b95a6fa4dfa9425a6da75a233d33eff208913434e30f662258211
sourceBlobDigest: sha256:af17895c9591a019fcc82332db823c59ef4d18ba276fff2ff3a718d6739e383f
sourceRevisionDigest: sha256:21a65b5061eb52a7b7c00f2d4ba58400af0022fe9ecd328ddacc255aa99c1516
sourceBlobDigest: sha256:65979b2ca8b35454357ff88e58d12c23708f6ea4dd5b22474799c45c2d9856aa
codeSamplesNamespace: polar-oas-ts-code-samples
codeSamplesRevisionDigest: sha256:444cb9d6aac04eb3711415ce6a5f04836c16d2b593fcb75bf9016277d39c17ba
codeSamplesRevisionDigest: sha256:e80890cbfc42b796b1ff4d175c7969ad55bfa58835fa7c1c39446a560261ce87
workflow:
workflowVersion: 1.0.0
speakeasyVersion: latest
Expand Down
5 changes: 1 addition & 4 deletions FUNCTIONS.md
Original file line number Diff line number Diff line change
Expand Up @@ -30,10 +30,7 @@ const polar = new PolarCore({
});

async function run() {
const res = await externalOrganizationsList(polar, {
page: 1,
limit: 10,
});
const res = await externalOrganizationsList(polar, {});

switch (true) {
case res.ok:
Expand Down
59 changes: 31 additions & 28 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -428,6 +428,12 @@ app.post("/webhook", express.raw({ type: "application/json" }), (req: Request, r
* [update](docs/sdks/discounts/README.md#update) - Update Discount
* [delete](docs/sdks/discounts/README.md#delete) - Delete Discount

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

* [list](docs/sdks/events/README.md#list) - List Events
* [get](docs/sdks/events/README.md#get) - Get Event
* [ingest](docs/sdks/events/README.md#ingest) - Ingest Events

### [externalOrganizations](docs/sdks/externalorganizations/README.md)

* [list](docs/sdks/externalorganizations/README.md#list) - List External Organizations
Expand All @@ -447,6 +453,15 @@ app.post("/webhook", express.raw({ type: "application/json" }), (req: Request, r
* [update](docs/sdks/licensekeys/README.md#update) - Update License Key
* [getActivation](docs/sdks/licensekeys/README.md#getactivation) - Get Activation

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

* [list](docs/sdks/meters/README.md#list) - List Meters
* [create](docs/sdks/meters/README.md#create) - Create Meter
* [get](docs/sdks/meters/README.md#get) - Get Meter
* [update](docs/sdks/meters/README.md#update) - Update Meter
* [events](docs/sdks/meters/README.md#events) - Get Meter Events
* [quantities](docs/sdks/meters/README.md#quantities) - Get Meter Quantities

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

* [get](docs/sdks/metrics/README.md#get) - Get Metrics
Expand Down Expand Up @@ -582,6 +597,9 @@ To read more about standalone functions, check [FUNCTIONS.md](./FUNCTIONS.md).
- [`discountsGet`](docs/sdks/discounts/README.md#get) - Get Discount
- [`discountsList`](docs/sdks/discounts/README.md#list) - List Discounts
- [`discountsUpdate`](docs/sdks/discounts/README.md#update) - Update Discount
- [`eventsGet`](docs/sdks/events/README.md#get) - Get Event
- [`eventsIngest`](docs/sdks/events/README.md#ingest) - Ingest Events
- [`eventsList`](docs/sdks/events/README.md#list) - List Events
- [`externalOrganizationsList`](docs/sdks/externalorganizations/README.md#list) - List External Organizations
- [`filesCreate`](docs/sdks/files/README.md#create) - Create File
- [`filesDelete`](docs/sdks/files/README.md#delete) - Delete File
Expand All @@ -592,6 +610,12 @@ To read more about standalone functions, check [FUNCTIONS.md](./FUNCTIONS.md).
- [`licenseKeysGetActivation`](docs/sdks/licensekeys/README.md#getactivation) - Get Activation
- [`licenseKeysList`](docs/sdks/licensekeys/README.md#list) - List License Keys
- [`licenseKeysUpdate`](docs/sdks/licensekeys/README.md#update) - Update License Key
- [`metersCreate`](docs/sdks/meters/README.md#create) - Create Meter
- [`metersEvents`](docs/sdks/meters/README.md#events) - Get Meter Events
- [`metersGet`](docs/sdks/meters/README.md#get) - Get Meter
- [`metersList`](docs/sdks/meters/README.md#list) - List Meters
- [`metersQuantities`](docs/sdks/meters/README.md#quantities) - Get Meter Quantities
- [`metersUpdate`](docs/sdks/meters/README.md#update) - Update Meter
- [`metricsGet`](docs/sdks/metrics/README.md#get) - Get Metrics
- [`metricsLimits`](docs/sdks/metrics/README.md#limits) - Get Metrics Limits
- [`oauth2Authorize`](docs/sdks/oauth2/README.md#authorize) - Authorize
Expand Down Expand Up @@ -652,10 +676,7 @@ const polar = new Polar({
});

async function run() {
const result = await polar.externalOrganizations.list({
page: 1,
limit: 10,
});
const result = await polar.externalOrganizations.list({});

for await (const page of result) {
// Handle the page
Expand All @@ -682,10 +703,7 @@ const polar = new Polar({
});

async function run() {
const result = await polar.externalOrganizations.list({
page: 1,
limit: 10,
}, {
const result = await polar.externalOrganizations.list({}, {
retries: {
strategy: "backoff",
backoff: {
Expand Down Expand Up @@ -727,10 +745,7 @@ const polar = new Polar({
});

async function run() {
const result = await polar.externalOrganizations.list({
page: 1,
limit: 10,
});
const result = await polar.externalOrganizations.list({});

for await (const page of result) {
// Handle the page
Expand Down Expand Up @@ -767,10 +782,7 @@ const polar = new Polar({
async function run() {
let result;
try {
result = await polar.externalOrganizations.list({
page: 1,
limit: 10,
});
result = await polar.externalOrganizations.list({});

for await (const page of result) {
// Handle the page
Expand Down Expand Up @@ -839,10 +851,7 @@ const polar = new Polar({
});

async function run() {
const result = await polar.externalOrganizations.list({
page: 1,
limit: 10,
});
const result = await polar.externalOrganizations.list({});

for await (const page of result) {
// Handle the page
Expand All @@ -866,10 +875,7 @@ const polar = new Polar({
});

async function run() {
const result = await polar.externalOrganizations.list({
page: 1,
limit: 10,
});
const result = await polar.externalOrganizations.list({});

for await (const page of result) {
// Handle the page
Expand Down Expand Up @@ -951,10 +957,7 @@ const polar = new Polar({
});

async function run() {
const result = await polar.externalOrganizations.list({
page: 1,
limit: 10,
});
const result = await polar.externalOrganizations.list({});

for await (const page of result) {
// Handle the page
Expand Down
12 changes: 11 additions & 1 deletion RELEASES.md
Original file line number Diff line number Diff line change
Expand Up @@ -428,4 +428,14 @@ Based on:
### Generated
- [typescript v0.22.2] .
### Releases
- [NPM v0.22.2] https://www.npmjs.com/package/@polar-sh/sdk/v/0.22.2 - .
- [NPM v0.22.2] https://www.npmjs.com/package/@polar-sh/sdk/v/0.22.2 - .

## 2025-02-05 14:24:09
### Changes
Based on:
- OpenAPI Doc
- Speakeasy CLI 1.484.1 (2.503.2) https://github.com/speakeasy-api/speakeasy
### Generated
- [typescript v0.23.0] .
### Releases
- [NPM v0.23.0] https://www.npmjs.com/package/@polar-sh/sdk/v/0.23.0 - .
5 changes: 1 addition & 4 deletions USAGE.md
Original file line number Diff line number Diff line change
Expand Up @@ -7,10 +7,7 @@ const polar = new Polar({
});

async function run() {
const result = await polar.externalOrganizations.list({
page: 1,
limit: 10,
});
const result = await polar.externalOrganizations.list({});

for await (const page of result) {
// Handle the page
Expand Down
Loading

0 comments on commit d020572

Please sign in to comment.