Skip to content
This repository was archived by the owner on Jul 22, 2026. It is now read-only.

Commit 5cbf9ce

Browse files
speakeasybotfrankie567
authored andcommitted
## Php SDK Changes Detected:
* `polar->subscriptions->update()`: `response.product->prices->[]->[productPrice]` **Changed** **Breaking** ⚠️ * `polar->products->list()`: `response.items->[]->prices->[]->[productPrice]` **Changed** **Breaking** ⚠️ * `polar->_endpointcheckout_created_post()`: * `request->data` **Changed** **Breaking** ⚠️ * `polar->_endpointorder_updated_post()`: * `request->data` **Changed** **Breaking** ⚠️ * `polar->_endpointorder_paid_post()`: * `request->data` **Changed** **Breaking** ⚠️ * `polar->customer_portal->subscriptions->update()`: `response.product` **Changed** **Breaking** ⚠️ * `polar->customer_portal->subscriptions->cancel()`: `response.product` **Changed** **Breaking** ⚠️ * `polar->customer_portal->subscriptions->get()`: `response.product` **Changed** **Breaking** ⚠️ * `polar->customer_portal->subscriptions->list()`: `response.items->[]->product` **Changed** **Breaking** ⚠️ * `polar->customer_portal->organizations->get()`: `response` **Changed** **Breaking** ⚠️ * `polar->_endpointorder_refunded_post()`: * `request->data` **Changed** **Breaking** ⚠️ * `polar->_endpointsubscription_created_post()`: * `request->data->product->prices->[]->[productPrice]` **Changed** **Breaking** ⚠️ * `polar->_endpointsubscription_updated_post()`: * `request->data->product->prices->[]->[productPrice]` **Changed** **Breaking** ⚠️ * `polar->_endpointsubscription_active_post()`: * `request->data->product->prices->[]->[productPrice]` **Changed** **Breaking** ⚠️ * `polar->_endpointsubscription_canceled_post()`: * `request->data->product->prices->[]->[productPrice]` **Changed** **Breaking** ⚠️ * `polar->_endpointsubscription_uncanceled_post()`: * `request->data->product->prices->[]->[productPrice]` **Changed** **Breaking** ⚠️ * `polar->_endpointsubscription_revoked_post()`: * `request->data->product->prices->[]->[productPrice]` **Changed** **Breaking** ⚠️ * `polar->_endpointproduct_created_post()`: * `request->data->prices->[]->[productPrice]` **Changed** **Breaking** ⚠️ * `polar->_endpointproduct_updated_post()`: * `request->data->prices->[]->[productPrice]` **Changed** **Breaking** ⚠️ * `polar->customer_portal->orders->update()`: `response` **Changed** **Breaking** ⚠️ * `polar->customer_portal->orders->get()`: `response` **Changed** **Breaking** ⚠️ * `polar->customer_portal->orders->list()`: `response.items->[]` **Changed** **Breaking** ⚠️ * `polar->checkout-links->update()`: `response.products->[]->prices->[]->[productPrice]` **Changed** **Breaking** ⚠️ * `polar->checkout-links->get()`: `response.products->[]->prices->[]->[productPrice]` **Changed** **Breaking** ⚠️ * `polar->checkout-links->create()`: `response.products->[]->prices->[]->[productPrice]` **Changed** **Breaking** ⚠️ * `polar->checkout-links->list()`: `response.items->[]->products->[]->prices->[]->[productPrice]` **Changed** **Breaking** ⚠️ * `polar->checkouts->clientConfirm()`: * `request.checkoutConfirmStripe->seats` **Added** * `response` **Changed** **Breaking** ⚠️ * `polar->checkouts->clientUpdate()`: * `request.checkoutUpdatePublic->seats` **Added** * `response` **Changed** **Breaking** ⚠️ * `polar->checkouts->clientGet()`: `response` **Changed** **Breaking** ⚠️ * `polar->subscriptions->list()`: `response.items->[]->product->prices->[]->[productPrice]` **Changed** **Breaking** ⚠️ * `polar->subscriptions->get()`: `response.product->prices->[]->[productPrice]` **Changed** **Breaking** ⚠️ * `polar->subscriptions->revoke()`: `response.product->prices->[]->[productPrice]` **Changed** **Breaking** ⚠️ * `polar->_endpointorder_created_post()`: * `request->data` **Changed** **Breaking** ⚠️ * `polar->_endpointcheckout_updated_post()`: * `request->data` **Changed** **Breaking** ⚠️ * `polar->orders->update()`: `response` **Changed** **Breaking** ⚠️ * `polar->products->create()`: * `request` **Changed** **Breaking** ⚠️ * `response.prices->[]->[productPrice]` **Changed** **Breaking** ⚠️ * `polar->products->get()`: `response.prices->[]->[productPrice]` **Changed** **Breaking** ⚠️ * `polar->products->update()`: * `request.productUpdate->prices->[]` **Changed** **Breaking** ⚠️ * `response.prices->[]->[productPrice]` **Changed** **Breaking** ⚠️ * `polar->products->updateBenefits()`: `response.prices->[]->[productPrice]` **Changed** **Breaking** ⚠️ * `polar->orders->list()`: `response.items->[]` **Changed** **Breaking** ⚠️ * `polar->orders->get()`: `response` **Changed** **Breaking** ⚠️ * `polar->checkouts->update()`: * `request.checkoutUpdate` **Changed** * `response` **Changed** **Breaking** ⚠️ * `polar->checkouts->list()`: `response.items->[]` **Changed** **Breaking** ⚠️ * `polar->checkouts->create()`: * `request` **Changed** * `response` **Changed** **Breaking** ⚠️ * `polar->checkouts->get()`: `response` **Changed** **Breaking** ⚠️ * `polar->customer_portal->benefit-grants->get()`: `response.[customerBenefitGrantDiscord]->benefit->organization->featureSettings->seatBasedPricingEnabled` **Added** * `polar->discounts->update()`: * `request.discountUpdate->currency` **Changed** * `polar->organizations->get()`: `response.featureSettings->seatBasedPricingEnabled` **Added** * `polar->organizations->create()`: * `request->featureSettings->seatBasedPricingEnabled` **Added** * `response.featureSettings->seatBasedPricingEnabled` **Added** * `polar->organizations->list()`: `response.items->[]->featureSettings->seatBasedPricingEnabled` **Added** * `polar->_endpointorganization_updated_post()`: * `request->data->featureSettings->seatBasedPricingEnabled` **Added** * `polar->customer_portal->customer-session->introspect()`: **Added** * `polar->customer_portal->seats->listClaimedSubscriptions()`: **Added** * `polar->customer_portal->benefit-grants->update()`: `response.[customerBenefitGrantDiscord]->benefit->organization->featureSettings->seatBasedPricingEnabled` **Added** * `polar->oauth2->token()`: * `request->[webTokenRequest]` **Added** * `polar->organizations->update()`: * `request.organizationUpdate->featureSettings->seatBasedPricingEnabled` **Added** * `response.featureSettings->seatBasedPricingEnabled` **Added** * `polar->customer_portal->seats->resendInvitation()`: **Added** * `polar->customer_portal->benefit-grants->list()`: `response.items->[]->[customerBenefitGrantMeterCredit]->benefit->organization->featureSettings->seatBasedPricingEnabled` **Added** * `polar->customer_portal->seats->revokeSeat()`: **Added** * `polar->customer_portal->seats->assignSeat()`: **Added** * `polar->customer_portal->seats->listSeats()`: **Added** * `polar->oauth2->clients->delete()`: **Added** * `polar->oauth2->clients->update()`: **Added** * `polar->oauth2->clients->get()`: **Added** * `polar->oauth2->clients->create()`: **Added** * `polar->customer-sessions->create()`: * `request` **Changed** * `response.returnUrl` **Added**
1 parent c743e5f commit 5cbf9ce

188 files changed

Lines changed: 4990 additions & 702 deletions

File tree

Some content is hidden

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

.speakeasy/gen.lock

Lines changed: 174 additions & 42 deletions
Large diffs are not rendered by default.

.speakeasy/gen.yaml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -22,7 +22,7 @@ generation:
2222
generateNewTests: false
2323
skipResponseBodyAssertions: false
2424
php:
25-
version: 0.5.2
25+
version: 0.5.3
2626
additionalDependencies:
2727
autoload: {}
2828
autoload-dev: {}

.speakeasy/workflow.lock

Lines changed: 7 additions & 7 deletions
Original file line numberDiff line numberDiff line change
@@ -1,21 +1,21 @@
1-
speakeasyVersion: 1.631.4
1+
speakeasyVersion: 1.636.3
22
sources:
33
Polar-OAS:
44
sourceNamespace: polar-oas
5-
sourceRevisionDigest: sha256:1892991b5bcde6ddaa85ab053285b4b16032e0abd39596d3904bcfd4b0f2b9b5
6-
sourceBlobDigest: sha256:3d99dbf80059f5861879922b94bf7f2ebee0dd1e8c0acdfc80eed643f31aa1f0
5+
sourceRevisionDigest: sha256:a2d47725aa55a8a44bd25f16906f28a8a24e41cd257a068284c1bda91dab06b6
6+
sourceBlobDigest: sha256:5f14ed6fd946b22d43124e554b9bc35847c0385ea345d3d248e6f6831c8d091f
77
tags:
88
- latest
9-
- speakeasy-sdk-regen-1758673098
9+
- speakeasy-sdk-regen-1759191519
1010
- 0.1.0
1111
targets:
1212
polar:
1313
source: Polar-OAS
1414
sourceNamespace: polar-oas
15-
sourceRevisionDigest: sha256:1892991b5bcde6ddaa85ab053285b4b16032e0abd39596d3904bcfd4b0f2b9b5
16-
sourceBlobDigest: sha256:3d99dbf80059f5861879922b94bf7f2ebee0dd1e8c0acdfc80eed643f31aa1f0
15+
sourceRevisionDigest: sha256:a2d47725aa55a8a44bd25f16906f28a8a24e41cd257a068284c1bda91dab06b6
16+
sourceBlobDigest: sha256:5f14ed6fd946b22d43124e554b9bc35847c0385ea345d3d248e6f6831c8d091f
1717
codeSamplesNamespace: polar-api-php-code-samples
18-
codeSamplesRevisionDigest: sha256:05735902b1dce4624dcf0deb760a35b095c3bc5998bfa66b55a6f8b0d8660c9a
18+
codeSamplesRevisionDigest: sha256:958f521a5b6cdf72de3049b5f4efffc1b66b30fb5e4406fdcd3a493abab307be
1919
workflow:
2020
workflowVersion: 1.0.0
2121
speakeasyVersion: latest

README.md

Lines changed: 19 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -202,9 +202,6 @@ foreach ($responses as $response) {
202202
* [list](docs/sdks/customermeters/README.md#list) - List Customer Meters
203203
* [get](docs/sdks/customermeters/README.md#get) - Get Customer Meter
204204

205-
### [customerPortal](docs/sdks/customerportal/README.md)
206-
207-
208205
#### [customerPortal->benefitGrants](docs/sdks/polarbenefitgrants/README.md)
209206

210207
* [list](docs/sdks/polarbenefitgrants/README.md#list) - List Benefit Grants
@@ -225,6 +222,10 @@ foreach ($responses as $response) {
225222
* [confirmPaymentMethod](docs/sdks/polarcustomers/README.md#confirmpaymentmethod) - Confirm Customer Payment Method
226223
* [deletePaymentMethod](docs/sdks/polarcustomers/README.md#deletepaymentmethod) - Delete Customer Payment Method
227224

225+
#### [customerPortal->customerSession](docs/sdks/customersession/README.md)
226+
227+
* [introspect](docs/sdks/customersession/README.md#introspect) - Introspect Customer Session
228+
228229
#### [customerPortal->downloadables](docs/sdks/downloadables/README.md)
229230

230231
* [list](docs/sdks/downloadables/README.md#list) - List Downloadables
@@ -251,6 +252,14 @@ foreach ($responses as $response) {
251252

252253
* [get](docs/sdks/polarorganizations/README.md#get) - Get Organization
253254

255+
#### [customerPortal->seats](docs/sdks/seats/README.md)
256+
257+
* [listSeats](docs/sdks/seats/README.md#listseats) - List Seats
258+
* [assignSeat](docs/sdks/seats/README.md#assignseat) - Assign Seat
259+
* [revokeSeat](docs/sdks/seats/README.md#revokeseat) - Revoke Seat
260+
* [resendInvitation](docs/sdks/seats/README.md#resendinvitation) - Resend Invitation
261+
* [listClaimedSubscriptions](docs/sdks/seats/README.md#listclaimedsubscriptions) - List Claimed Subscriptions
262+
254263
#### [customerPortal->subscriptions](docs/sdks/polarsubscriptions/README.md)
255264

256265
* [list](docs/sdks/polarsubscriptions/README.md#list) - List Subscriptions
@@ -339,6 +348,13 @@ foreach ($responses as $response) {
339348
* [introspect](docs/sdks/oauth2/README.md#introspect) - Introspect Token
340349
* [userinfo](docs/sdks/oauth2/README.md#userinfo) - Get User Info
341350

351+
#### [oauth2->clients](docs/sdks/clients/README.md)
352+
353+
* [create](docs/sdks/clients/README.md#create) - Create Client
354+
* [get](docs/sdks/clients/README.md#get) - Get Client
355+
* [update](docs/sdks/clients/README.md#update) - Update Client
356+
* [delete](docs/sdks/clients/README.md#delete) - Delete Client
357+
342358
### [orders](docs/sdks/orders/README.md)
343359

344360
* [list](docs/sdks/orders/README.md#list) - List Orders
@@ -359,7 +375,6 @@ foreach ($responses as $response) {
359375
* [list](docs/sdks/payments/README.md#list) - List Payments
360376
* [get](docs/sdks/payments/README.md#get) - Get Payment
361377

362-
363378
### [products](docs/sdks/products/README.md)
364379

365380
* [list](docs/sdks/products/README.md#list) - List Products

RELEASES.md

Lines changed: 11 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -338,4 +338,14 @@ Based on:
338338
### Generated
339339
- [php v0.5.2] .
340340
### Releases
341-
- [Composer v0.5.2] https://packagist.org/packages/polar-sh/sdk#v0.5.2 - .
341+
- [Composer v0.5.2] https://packagist.org/packages/polar-sh/sdk#v0.5.2 - .
342+
343+
## 2025-10-16 00:18:40
344+
### Changes
345+
Based on:
346+
- OpenAPI Doc
347+
- Speakeasy CLI 1.636.3 (2.723.11) https://github.com/speakeasy-api/speakeasy
348+
### Generated
349+
- [php v0.5.3] .
350+
### Releases
351+
- [Composer v0.5.3] https://packagist.org/packages/polar-sh/sdk#v0.5.3 - .

docs/Models/Components/Checkout.md

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

docs/Models/Components/CheckoutConfirmStripe.md

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -11,6 +11,7 @@ Confirm a checkout session using a Stripe confirmation token.
1111
| `productId` | *?string* | :heavy_minus_sign: | ID of the product to checkout. Must be present in the checkout's product list. |
1212
| ~~`productPriceId`~~ | *?string* | :heavy_minus_sign: | : warning: ** DEPRECATED **: This will be removed in a future release, please migrate away from it as soon as possible.<br/><br/>ID of the product price to checkout. Must correspond to a price present in the checkout's product list. |
1313
| `amount` | *?int* | :heavy_minus_sign: | N/A |
14+
| `seats` | *?int* | :heavy_minus_sign: | Number of seats for seat-based pricing. |
1415
| `isBusinessCustomer` | *?bool* | :heavy_minus_sign: | N/A |
1516
| `customerName` | *?string* | :heavy_minus_sign: | N/A |
1617
| `customerEmail` | *?string* | :heavy_minus_sign: | N/A |

0 commit comments

Comments
 (0)