Skip to content

Commit 7a2a281

Browse files
committed
## Go SDK Changes Detected:
* `Polar.Orders.Get()`: `response` **Changed** **Breaking** ⚠️ * `Polar.Orders.List()`: `response.Items.[]` **Changed** **Breaking** ⚠️ * `Polar.EndpointorderCreatedPost()`: * `request.Request.Data` **Changed** **Breaking** ⚠️ * `Polar.EndpointorderUpdatedPost()`: * `request.Request.Data` **Changed** **Breaking** ⚠️ * `Polar.EndpointorderPaidPost()`: * `request.Request.Data` **Changed** **Breaking** ⚠️ * `Polar.CustomerPortal.Orders.GenerateInvoice()`: `error.status[409]` **Removed** **Breaking** ⚠️ * `Polar.CustomerPortal.Orders.Update()`: `response` **Changed** **Breaking** ⚠️ * `Polar.EndpointorderRefundedPost()`: * `request.Request.Data` **Changed** **Breaking** ⚠️ * `Polar.EndpointsubscriptionCreatedPost()`: * `request.Request.Data` **Changed** **Breaking** ⚠️ * `Polar.Orders.GenerateInvoice()`: `error.status[409]` **Removed** **Breaking** ⚠️ * `Polar.EndpointsubscriptionActivePost()`: * `request.Request.Data` **Changed** **Breaking** ⚠️ * `Polar.EndpointsubscriptionCanceledPost()`: * `request.Request.Data` **Changed** **Breaking** ⚠️ * `Polar.EndpointsubscriptionUncanceledPost()`: * `request.Request.Data` **Changed** **Breaking** ⚠️ * `Polar.EndpointsubscriptionRevokedPost()`: * `request.Request.Data` **Changed** **Breaking** ⚠️ * `Polar.EndpointproductCreatedPost()`: * `request.Request.Data.RecurringIntervalCount` **Added** **Breaking** ⚠️ * `Polar.EndpointproductUpdatedPost()`: * `request.Request.Data.RecurringIntervalCount` **Added** **Breaking** ⚠️ * `Polar.CustomerPortal.Orders.Get()`: `response` **Changed** **Breaking** ⚠️ * `Polar.CustomerPortal.Orders.List()`: `response.Items.[]` **Changed** **Breaking** ⚠️ * `Polar.CustomerPortal.Seats.ResendInvitation()`: `response` **Changed** **Breaking** ⚠️ * `Polar.EndpointcheckoutCreatedPost()`: * `request.Request.Data.Products.[].RecurringIntervalCount` **Added** **Breaking** ⚠️ * `Polar.CustomerPortal.Seats.RevokeSeat()`: `response` **Changed** **Breaking** ⚠️ * `Polar.CustomerPortal.Seats.AssignSeat()`: * `request.Request.OrderId` **Added** * `response` **Changed** **Breaking** ⚠️ * `Polar.CustomerPortal.Seats.ListSeats()`: * `request` **Changed** * `response.Seats.[]` **Changed** **Breaking** ⚠️ * `Polar.EndpointsubscriptionUpdatedPost()`: * `request.Request.Data` **Changed** **Breaking** ⚠️ * `Polar.Orders.Update()`: `response` **Changed** **Breaking** ⚠️ * `Polar.EndpointcheckoutUpdatedPost()`: * `request.Request.Data.Products.[].RecurringIntervalCount` **Added** **Breaking** ⚠️ * `Polar.Customer-Seats.GetClaimInfo()`: **Added** * `Polar.Checkout-Links.Get()`: `response.Products.[].RecurringIntervalCount` **Added** * `Polar.Subscriptions.Revoke()`: `response` **Changed** * `Polar.Subscriptions.Update()`: `response` **Changed** * `Polar.Products.List()`: `response.Items.[].RecurringIntervalCount` **Added** * `Polar.Products.Create()`: * `request.Request` **Changed** * `response.RecurringIntervalCount` **Added** * `Polar.Products.Get()`: `response.RecurringIntervalCount` **Added** * `Polar.Products.Update()`: * `request.ProductUpdate.RecurringIntervalCount` **Added** * `response.RecurringIntervalCount` **Added** * `Polar.Products.UpdateBenefits()`: `response.RecurringIntervalCount` **Added** * `Polar.Subscriptions.List()`: `response.Items.[]` **Changed** * `Polar.Organizations.Update()`: * `request.OrganizationUpdate.FeatureSettings.RevopsEnabled` **Added** * `response.FeatureSettings.RevopsEnabled` **Added** * `Polar.Organizations.Get()`: `response.FeatureSettings.RevopsEnabled` **Added** * `Polar.Organizations.Create()`: * `request.Request.FeatureSettings.RevopsEnabled` **Added** * `response.FeatureSettings.RevopsEnabled` **Added** * `Polar.Checkouts.List()`: `response.Items.[].Products.[].RecurringIntervalCount` **Added** * `Polar.Checkouts.Create()`: `response.Products.[].RecurringIntervalCount` **Added** * `Polar.Checkouts.Get()`: `response.Products.[].RecurringIntervalCount` **Added** * `Polar.Checkouts.Update()`: `response.Products.[].RecurringIntervalCount` **Added** * `Polar.Checkouts.ClientGet()`: `response` **Changed** * `Polar.Checkouts.ClientUpdate()`: `response` **Changed** * `Polar.Checkouts.ClientConfirm()`: `response` **Changed** * `Polar.Metrics.Get()`: `response` **Changed** * `Polar.Checkout-Links.List()`: `response.Items.[].Products.[].RecurringIntervalCount` **Added** * `Polar.Checkout-Links.Create()`: `response.Products.[].RecurringIntervalCount` **Added** * `Polar.Subscriptions.Get()`: `response` **Changed** * `Polar.Checkout-Links.Update()`: `response.Products.[].RecurringIntervalCount` **Added** * `Polar.Discounts.List()`: `response.Items.[].[discountFixedOnceForeverDuration].Products.[].RecurringIntervalCount` **Added** * `Polar.Discounts.Create()`: `response.[discountFixedOnceForeverDuration].Products.[].RecurringIntervalCount` **Added** * `Polar.Discounts.Get()`: `response.[discountFixedOnceForeverDuration].Products.[].RecurringIntervalCount` **Added** * `Polar.Discounts.Update()`: `response.[discountFixedOnceForeverDuration].Products.[].RecurringIntervalCount` **Added** * `Polar.CustomerPortal.Benefit-Grants.List()`: `response.Items.[].[customerBenefitGrantDiscord].Benefit.Organization.FeatureSettings.RevopsEnabled` **Added** * `Polar.CustomerPortal.Benefit-Grants.Get()`: `response.[customerBenefitGrantMeterCredit].Benefit.Organization.FeatureSettings.RevopsEnabled` **Added** * `Polar.CustomerPortal.Benefit-Grants.Update()`: `response.[customerBenefitGrantDownloadables].Benefit.Organization.FeatureSettings.RevopsEnabled` **Added** * `Polar.Organizations.List()`: `response.Items.[].FeatureSettings.RevopsEnabled` **Added** * `Polar.EndpointorganizationUpdatedPost()`: * `request.Request.Data.FeatureSettings.RevopsEnabled` **Added** * `Polar.Customer-Seats.ClaimSeat()`: **Added** * `Polar.Customer-Seats.ResendInvitation()`: **Added** * `Polar.CustomerPortal.Seats.ListClaimedSubscriptions()`: `response.[]` **Changed** * `Polar.Customer-Seats.RevokeSeat()`: **Added** * `Polar.Customer-Seats.ListSeats()`: **Added** * `Polar.Customer-Seats.AssignSeat()`: **Added** * `Polar.Orders.Export()`: **Added** * `Polar.CustomerPortal.Organizations.Get()`: `response` **Changed** * `Polar.CustomerPortal.Subscriptions.List()`: `response.Items.[]` **Changed** * `Polar.CustomerPortal.Subscriptions.Get()`: `response` **Changed** * `Polar.CustomerPortal.Subscriptions.Cancel()`: `response` **Changed** * `Polar.CustomerPortal.Subscriptions.Update()`: `response` **Changed** * `Polar.Events.List()`: * `request.Request.Query` **Added**
1 parent c535ed9 commit 7a2a281

File tree

104 files changed

+4203
-481
lines changed

Some content is hidden

Large Commits have some content hidden by default. Use the searchbox below for content that may be hidden.

104 files changed

+4203
-481
lines changed

.speakeasy/gen.lock

Lines changed: 165 additions & 69 deletions
Large diffs are not rendered by default.

.speakeasy/gen.yaml

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -27,7 +27,7 @@ generation:
2727
generateNewTests: false
2828
skipResponseBodyAssertions: false
2929
go:
30-
version: 0.11.1
30+
version: 0.12.0
3131
additionalDependencies: {}
3232
allowUnknownFieldsInWeakUnions: true
3333
baseErrorName: PolarError
@@ -53,3 +53,4 @@ go:
5353
respectRequiredFields: false
5454
responseFormat: envelope-http
5555
sdkPackageName: ""
56+
unionDeserializationStrategy: left-to-right

.speakeasy/workflow.lock

Lines changed: 7 additions & 7 deletions
Original file line numberDiff line numberDiff line change
@@ -1,21 +1,21 @@
1-
speakeasyVersion: 1.637.3
1+
speakeasyVersion: 1.639.1
22
sources:
33
Polar-OAS:
44
sourceNamespace: polar-oas
5-
sourceRevisionDigest: sha256:98dd88f089435a1af194015ca729983c7e2888b24ddc04e77194e8f913bce865
6-
sourceBlobDigest: sha256:81a64948141fbdaebf65485efe43f3942459a2da5f4c44dc6519392b117ec5e7
5+
sourceRevisionDigest: sha256:46b611f9c8ade538739548e99fc7531d2d8997238bec750975c87243e3561dae
6+
sourceBlobDigest: sha256:84a4d4283070e1ca8b54d4c5d671521e42810a1a7338838f698ae2be95d01514
77
tags:
88
- latest
9-
- speakeasy-sdk-regen-1761052457
9+
- speakeasy-sdk-regen-1761092921
1010
- 0.1.0
1111
targets:
1212
polar:
1313
source: Polar-OAS
1414
sourceNamespace: polar-oas
15-
sourceRevisionDigest: sha256:98dd88f089435a1af194015ca729983c7e2888b24ddc04e77194e8f913bce865
16-
sourceBlobDigest: sha256:81a64948141fbdaebf65485efe43f3942459a2da5f4c44dc6519392b117ec5e7
15+
sourceRevisionDigest: sha256:46b611f9c8ade538739548e99fc7531d2d8997238bec750975c87243e3561dae
16+
sourceBlobDigest: sha256:84a4d4283070e1ca8b54d4c5d671521e42810a1a7338838f698ae2be95d01514
1717
codeSamplesNamespace: polar-oas-code-samples-go
18-
codeSamplesRevisionDigest: sha256:c1f4aa09a89d2205c33952c77be00ea3af980028be48a073ed8569e3a28372c1
18+
codeSamplesRevisionDigest: sha256:ecfd8a1336a3d65e2509f86797ac2627153f3b49cb51d18ce029b285722ea020
1919
workflow:
2020
workflowVersion: 1.0.0
2121
speakeasyVersion: latest

README.md

Lines changed: 10 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -315,6 +315,15 @@ func main() {
315315
* [GetStateExternal](docs/sdks/customers/README.md#getstateexternal) - Get Customer State by External ID
316316
* [GetBalance](docs/sdks/customers/README.md#getbalance) - Get Customer Balance
317317

318+
### [CustomerSeats](docs/sdks/customerseats/README.md)
319+
320+
* [AssignSeat](docs/sdks/customerseats/README.md#assignseat) - Assign Seat
321+
* [ListSeats](docs/sdks/customerseats/README.md#listseats) - List Seats
322+
* [RevokeSeat](docs/sdks/customerseats/README.md#revokeseat) - Revoke Seat
323+
* [ResendInvitation](docs/sdks/customerseats/README.md#resendinvitation) - Resend Invitation
324+
* [GetClaimInfo](docs/sdks/customerseats/README.md#getclaiminfo) - Get Claim Info
325+
* [ClaimSeat](docs/sdks/customerseats/README.md#claimseat) - Claim Seat
326+
318327
### [CustomerSessions](docs/sdks/customersessions/README.md)
319328

320329
* [Create](docs/sdks/customersessions/README.md#create) - Create Customer Session
@@ -391,6 +400,7 @@ func main() {
391400
### [Orders](docs/sdks/orders/README.md)
392401

393402
* [List](docs/sdks/orders/README.md#list) - List Orders
403+
* [Export](docs/sdks/orders/README.md#export) - Export Subscriptions
394404
* [Get](docs/sdks/orders/README.md#get) - Get Order
395405
* [Update](docs/sdks/orders/README.md#update) - Update Order
396406
* [GenerateInvoice](docs/sdks/orders/README.md#generateinvoice) - Generate Order Invoice

RELEASES.md

Lines changed: 11 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -548,4 +548,14 @@ Based on:
548548
### Generated
549549
- [go v0.11.1] .
550550
### Releases
551-
- [Go v0.11.1] https://github.com/polarsource/polar-go/releases/tag/v0.11.1 - .
551+
- [Go v0.11.1] https://github.com/polarsource/polar-go/releases/tag/v0.11.1 - .
552+
553+
## 2025-10-24 00:25:12
554+
### Changes
555+
Based on:
556+
- OpenAPI Doc
557+
- Speakeasy CLI 1.639.1 (2.730.0) https://github.com/speakeasy-api/speakeasy
558+
### Generated
559+
- [go v0.12.0] .
560+
### Releases
561+
- [Go v0.12.0] https://github.com/polarsource/polar-go/releases/tag/v0.12.0 - .

codeSamples.yaml

Lines changed: 57 additions & 15 deletions
Large diffs are not rendered by default.

0 commit comments

Comments
 (0)