Skip to content

Commit bddc137

Browse files
committed
## Php SDK Changes Detected:
* `polar->customer_portal->orders->update()`: `response.product->organization` **Changed** **Breaking** ⚠️ * `polar->customer_portal->organizations->get()`: `response.organization` **Changed** **Breaking** ⚠️ * `polar->_endpointorganization_updated_post()`: * `request->data` **Changed** **Breaking** ⚠️ * `polar->customer_portal->subscriptions->update()`: `response.product->organization` **Changed** **Breaking** ⚠️ * `polar->organizations->create()`: * `request->subscriptionSettings->preventTrialAbuse` **Added** **Breaking** ⚠️ * `response` **Changed** * `polar->customer_portal->subscriptions->cancel()`: `response.product->organization` **Changed** **Breaking** ⚠️ * `polar->organizations->update()`: * `request.organizationUpdate->subscriptionSettings->preventTrialAbuse` **Added** **Breaking** ⚠️ * `response` **Changed** * `polar->customer_portal->subscriptions->get()`: `response.product->organization` **Changed** **Breaking** ⚠️ * `polar->customer_portal->subscriptions->list()`: `response.items->[]->product->organization` **Changed** **Breaking** ⚠️ * `polar->customer_portal->benefit-grants->get()`: `response.[customerBenefitGrantDownloadables]->benefit->organization` **Changed** **Breaking** ⚠️ * `polar->_endpointcheckout_created_post()`: * `request->data->allowTrial` **Added** **Breaking** ⚠️ * `polar->customer_portal->orders->get()`: `response.product->organization` **Changed** **Breaking** ⚠️ * `polar->checkouts->clientGet()`: `response` **Changed** **Breaking** ⚠️ * `polar->checkouts->clientUpdate()`: * `request.checkoutUpdatePublic->allowTrial` **Added** * `response` **Changed** **Breaking** ⚠️ * `error.[trialAlreadyRedeemed]` **Added** * `polar->_endpointcheckout_updated_post()`: * `request->data->allowTrial` **Added** **Breaking** ⚠️ * `polar->customer_portal->orders->list()`: `response.items->[]->product->organization` **Changed** **Breaking** ⚠️ * `polar->checkouts->clientConfirm()`: * `request.checkoutConfirmStripe->allowTrial` **Added** * `response` **Changed** **Breaking** ⚠️ * `error.[trialAlreadyRedeemed]` **Added** * `polar->customer_portal->benefit-grants->update()`: `response.[customerBenefitGrantMeterCredit]->benefit->organization` **Changed** **Breaking** ⚠️ * `polar->customer_portal->seats->listClaimedSubscriptions()`: `response.[]->product->organization` **Changed** **Breaking** ⚠️ * `polar->customer_portal->benefit-grants->list()`: `response.items->[]->[customerBenefitGrantDiscord]->benefit->organization` **Changed** **Breaking** ⚠️ * `polar->checkouts->update()`: * `request.checkoutUpdate->allowTrial` **Added** * `response.allowTrial` **Added** * `error.[trialAlreadyRedeemed]` **Added** * `polar->checkouts->get()`: `response.allowTrial` **Added** * `polar->checkouts->create()`: * `request->allowTrial` **Added** * `response.allowTrial` **Added** * `polar->checkouts->list()`: `response.items->[]->allowTrial` **Added** * `polar->subscriptions->list()`: * `request->cancelAtPeriodEnd` **Added** * `polar->organizations->get()`: `response` **Changed** * `polar->organizations->list()`: `response.items->[]` **Changed** * `polar->events->list()`: * `request->hierarchical` **Added** * `response.items->[]` **Changed** * `polar->events->get()`: `response` **Changed**
1 parent c063d47 commit bddc137

File tree

98 files changed

+965
-192
lines changed

Some content is hidden

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

98 files changed

+965
-192
lines changed

.speakeasy/gen.lock

Lines changed: 45 additions & 35 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
@@ -19,12 +19,13 @@ generation:
1919
hoistGlobalSecurity: true
2020
schemas:
2121
allOfMergeStrategy: shallowMerge
22+
requestBodyFieldName: ""
2223
tests:
2324
generateTests: true
2425
generateNewTests: false
2526
skipResponseBodyAssertions: false
2627
php:
27-
version: 0.7.0
28+
version: 0.7.1
2829
additionalDependencies:
2930
autoload: {}
3031
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.648.0
1+
speakeasyVersion: 1.653.2
22
sources:
33
Polar-OAS:
44
sourceNamespace: polar-oas
5-
sourceRevisionDigest: sha256:c0187c3b97b30297429930c9b97513e82a6fb748fa42bb6ef632b447899f4063
6-
sourceBlobDigest: sha256:64e17fc520f1c7b5bf6663aa5279d8655e70ee7240fa77085f5486aa632e0275
5+
sourceRevisionDigest: sha256:76a776e5ca499039d7d85d69c00101ed6556c907c77df857b74f251fdba90ff4
6+
sourceBlobDigest: sha256:b06d66ae9b4b230fe1c0b5ec0d4f6cc1023cc1548cd5173cc62b8cff452df992
77
tags:
88
- latest
9-
- speakeasy-sdk-regen-1761092353
9+
- speakeasy-sdk-regen-1762301989
1010
- 0.1.0
1111
targets:
1212
polar:
1313
source: Polar-OAS
1414
sourceNamespace: polar-oas
15-
sourceRevisionDigest: sha256:c0187c3b97b30297429930c9b97513e82a6fb748fa42bb6ef632b447899f4063
16-
sourceBlobDigest: sha256:64e17fc520f1c7b5bf6663aa5279d8655e70ee7240fa77085f5486aa632e0275
15+
sourceRevisionDigest: sha256:76a776e5ca499039d7d85d69c00101ed6556c907c77df857b74f251fdba90ff4
16+
sourceBlobDigest: sha256:b06d66ae9b4b230fe1c0b5ec0d4f6cc1023cc1548cd5173cc62b8cff452df992
1717
codeSamplesNamespace: polar-api-php-code-samples
18-
codeSamplesRevisionDigest: sha256:04aecb4b5c428435e3ef2889dde87529ea6b17b44db4fe251657f934e4f9ce67
18+
codeSamplesRevisionDigest: sha256:fd20aad45b67e013136e41e4b23ea89fe9863bfce02372c975d19ce0815c9be9
1919
workflow:
2020
workflowVersion: 1.0.0
2121
speakeasyVersion: latest

RELEASES.md

Lines changed: 11 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -388,4 +388,14 @@ Based on:
388388
### Generated
389389
- [php v0.7.0] .
390390
### Releases
391-
- [Composer v0.7.0] https://packagist.org/packages/polar-sh/sdk#v0.7.0 - .
391+
- [Composer v0.7.0] https://packagist.org/packages/polar-sh/sdk#v0.7.0 - .
392+
393+
## 2025-11-12 00:19:48
394+
### Changes
395+
Based on:
396+
- OpenAPI Doc
397+
- Speakeasy CLI 1.653.2 (2.748.4) https://github.com/speakeasy-api/speakeasy
398+
### Generated
399+
- [php v0.7.1] .
400+
### Releases
401+
- [Composer v0.7.1] https://packagist.org/packages/polar-sh/sdk#v0.7.1 - .

docs/Models/Components/BenefitCustomSubscriber.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -14,5 +14,5 @@
1414
| `deletable` | *bool* | :heavy_check_mark: | Whether the benefit is deletable. |
1515
| `organizationId` | *string* | :heavy_check_mark: | The ID of the organization owning the benefit. |
1616
| `metadata` | array<string, [string\|int\|float\|bool](../../Models/Components/BenefitCustomSubscriberMetadata.md)> | :heavy_check_mark: | N/A |
17-
| `organization` | [Components\Organization](../../Models/Components/Organization.md) | :heavy_check_mark: | N/A |
17+
| `organization` | [Components\BenefitSubscriberOrganization](../../Models/Components/BenefitSubscriberOrganization.md) | :heavy_check_mark: | N/A |
1818
| `properties` | [Components\BenefitCustomSubscriberProperties](../../Models/Components/BenefitCustomSubscriberProperties.md) | :heavy_check_mark: | Properties available to subscribers for a benefit of type `custom`. |

docs/Models/Components/BenefitCycledEvent.md

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -14,6 +14,7 @@ An event created by Polar when a benefit is cycled.
1414
| `customer` | [Components\Customer](../../Models/Components/Customer.md) | :heavy_check_mark: | The customer associated with the event. | |
1515
| `externalCustomerId` | *string* | :heavy_check_mark: | ID of the customer in your system associated with the event. | |
1616
| `childCount` | *?int* | :heavy_minus_sign: | Number of direct child events linked to this event. | |
17+
| `parentId` | *?string* | :heavy_minus_sign: | The ID of the parent event. | |
1718
| `source` | *string* | :heavy_check_mark: | The source of the event. `system` events are created by Polar. `user` events are the one you create through our ingestion API. | |
1819
| `name` | *string* | :heavy_check_mark: | The name of the event. | |
1920
| `metadata` | [Components\BenefitGrantMetadata](../../Models/Components/BenefitGrantMetadata.md) | :heavy_check_mark: | N/A | |

docs/Models/Components/BenefitDiscordSubscriber.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -14,5 +14,5 @@
1414
| `deletable` | *bool* | :heavy_check_mark: | Whether the benefit is deletable. |
1515
| `organizationId` | *string* | :heavy_check_mark: | The ID of the organization owning the benefit. |
1616
| `metadata` | array<string, [string\|int\|float\|bool](../../Models/Components/BenefitDiscordSubscriberMetadata.md)> | :heavy_check_mark: | N/A |
17-
| `organization` | [Components\Organization](../../Models/Components/Organization.md) | :heavy_check_mark: | N/A |
17+
| `organization` | [Components\BenefitSubscriberOrganization](../../Models/Components/BenefitSubscriberOrganization.md) | :heavy_check_mark: | N/A |
1818
| `properties` | [Components\BenefitDiscordSubscriberProperties](../../Models/Components/BenefitDiscordSubscriberProperties.md) | :heavy_check_mark: | Properties available to subscribers for a benefit of type `discord`. |

docs/Models/Components/BenefitDownloadablesSubscriber.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -14,5 +14,5 @@
1414
| `deletable` | *bool* | :heavy_check_mark: | Whether the benefit is deletable. |
1515
| `organizationId` | *string* | :heavy_check_mark: | The ID of the organization owning the benefit. |
1616
| `metadata` | array<string, [string\|int\|float\|bool](../../Models/Components/BenefitDownloadablesSubscriberMetadata.md)> | :heavy_check_mark: | N/A |
17-
| `organization` | [Components\Organization](../../Models/Components/Organization.md) | :heavy_check_mark: | N/A |
17+
| `organization` | [Components\BenefitSubscriberOrganization](../../Models/Components/BenefitSubscriberOrganization.md) | :heavy_check_mark: | N/A |
1818
| `properties` | [Components\BenefitDownloadablesSubscriberProperties](../../Models/Components/BenefitDownloadablesSubscriberProperties.md) | :heavy_check_mark: | N/A |

docs/Models/Components/BenefitGitHubRepositorySubscriber.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -14,5 +14,5 @@
1414
| `deletable` | *bool* | :heavy_check_mark: | Whether the benefit is deletable. |
1515
| `organizationId` | *string* | :heavy_check_mark: | The ID of the organization owning the benefit. |
1616
| `metadata` | array<string, [string\|int\|float\|bool](../../Models/Components/BenefitGitHubRepositorySubscriberMetadata.md)> | :heavy_check_mark: | N/A |
17-
| `organization` | [Components\Organization](../../Models/Components/Organization.md) | :heavy_check_mark: | N/A |
17+
| `organization` | [Components\BenefitSubscriberOrganization](../../Models/Components/BenefitSubscriberOrganization.md) | :heavy_check_mark: | N/A |
1818
| `properties` | [Components\BenefitGitHubRepositorySubscriberProperties](../../Models/Components/BenefitGitHubRepositorySubscriberProperties.md) | :heavy_check_mark: | Properties available to subscribers for a benefit of type `github_repository`. |

0 commit comments

Comments
 (0)