Skip to content
Open
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
The table of contents is too big for display.
Diff view
Diff view
  •  
  •  
  •  
13,536 changes: 11,296 additions & 2,240 deletions .speakeasy/gen.lock

Large diffs are not rendered by default.

6 changes: 5 additions & 1 deletion .speakeasy/gen.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -19,12 +19,14 @@ generation:
hoistGlobalSecurity: true
schemas:
allOfMergeStrategy: shallowMerge
requestBodyFieldName: ""
persistentEdits: {}
tests:
generateTests: true
generateNewTests: false
skipResponseBodyAssertions: false
php:
version: 0.7.0
version: 0.7.1
additionalDependencies:
autoload: {}
autoload-dev: {}
Expand All @@ -42,12 +44,14 @@ php:
operations: Models/Operations
shared: Models/Components
webhooks: Models/Webhooks
inferUnionDiscriminators: false
inputModelSuffix: input
laravelServiceProvider:
enabled: true
svcName: openapi
maxMethodParams: 4
methodArguments: infer-optional-args
multipartArrayFormat: legacy
namespace: Polar
outputModelSuffix: output
packageName: polar-sh/sdk
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.648.0
speakeasyVersion: 1.675.4
sources:
Polar-OAS:
sourceNamespace: polar-oas
sourceRevisionDigest: sha256:c0187c3b97b30297429930c9b97513e82a6fb748fa42bb6ef632b447899f4063
sourceBlobDigest: sha256:64e17fc520f1c7b5bf6663aa5279d8655e70ee7240fa77085f5486aa632e0275
sourceRevisionDigest: sha256:dc5cda836de64eeffff723a8d2f447ecbc829a09ff405f597845bae3b42c15ce
sourceBlobDigest: sha256:7ca49f9abdd0f2d7c030e70aa24b8401517633b0b8bd9f31da1b4f155c8c9790
tags:
- latest
- speakeasy-sdk-regen-1761092353
- speakeasy-sdk-regen-1762301989
- 0.1.0
targets:
polar:
source: Polar-OAS
sourceNamespace: polar-oas
sourceRevisionDigest: sha256:c0187c3b97b30297429930c9b97513e82a6fb748fa42bb6ef632b447899f4063
sourceBlobDigest: sha256:64e17fc520f1c7b5bf6663aa5279d8655e70ee7240fa77085f5486aa632e0275
sourceRevisionDigest: sha256:dc5cda836de64eeffff723a8d2f447ecbc829a09ff405f597845bae3b42c15ce
sourceBlobDigest: sha256:7ca49f9abdd0f2d7c030e70aa24b8401517633b0b8bd9f31da1b4f155c8c9790
codeSamplesNamespace: polar-api-php-code-samples
codeSamplesRevisionDigest: sha256:04aecb4b5c428435e3ef2889dde87529ea6b17b44db4fe251657f934e4f9ce67
codeSamplesRevisionDigest: sha256:014bd2e70183fcb179a2f86f210baf46b794b0f805c04db46189c5b60908f26f
workflow:
workflowVersion: 1.0.0
speakeasyVersion: latest
Expand Down
138 changes: 73 additions & 65 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 @@ -388,4 +388,14 @@ Based on:
### Generated
- [php v0.7.0] .
### Releases
- [Composer v0.7.0] https://packagist.org/packages/polar-sh/sdk#v0.7.0 - .
- [Composer v0.7.0] https://packagist.org/packages/polar-sh/sdk#v0.7.0 - .

## 2025-12-12 00:20:15
### Changes
Based on:
- OpenAPI Doc
- Speakeasy CLI 1.675.4 (2.779.2) https://github.com/speakeasy-api/speakeasy
### Generated
- [php v0.7.1] .
### Releases
- [Composer v0.7.1] https://packagist.org/packages/polar-sh/sdk#v0.7.1 - .
2 changes: 1 addition & 1 deletion docs/Models/Components/BenefitCustomSubscriber.md
Original file line number Diff line number Diff line change
Expand Up @@ -14,5 +14,5 @@
| `deletable` | *bool* | :heavy_check_mark: | Whether the benefit is deletable. |
| `organizationId` | *string* | :heavy_check_mark: | The ID of the organization owning the benefit. |
| `metadata` | array<string, [string\|int\|float\|bool](../../Models/Components/BenefitCustomSubscriberMetadata.md)> | :heavy_check_mark: | N/A |
| `organization` | [Components\Organization](../../Models/Components/Organization.md) | :heavy_check_mark: | N/A |
| `organization` | [Components\BenefitSubscriberOrganization](../../Models/Components/BenefitSubscriberOrganization.md) | :heavy_check_mark: | N/A |
| `properties` | [Components\BenefitCustomSubscriberProperties](../../Models/Components/BenefitCustomSubscriberProperties.md) | :heavy_check_mark: | Properties available to subscribers for a benefit of type `custom`. |
2 changes: 2 additions & 0 deletions docs/Models/Components/BenefitCycledEvent.md
Original file line number Diff line number Diff line change
Expand Up @@ -14,6 +14,8 @@ An event created by Polar when a benefit is cycled.
| `customer` | [Components\Customer](../../Models/Components/Customer.md) | :heavy_check_mark: | The customer associated with the event. | |
| `externalCustomerId` | *string* | :heavy_check_mark: | ID of the customer in your system associated with the event. | |
| `childCount` | *?int* | :heavy_minus_sign: | Number of direct child events linked to this event. | |
| `parentId` | *?string* | :heavy_minus_sign: | The ID of the parent event. | |
| `label` | *string* | :heavy_check_mark: | Human readable label of the event type. | |
| `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. | |
| `name` | *string* | :heavy_check_mark: | The name of the event. | |
| `metadata` | [Components\BenefitGrantMetadata](../../Models/Components/BenefitGrantMetadata.md) | :heavy_check_mark: | N/A | |
2 changes: 1 addition & 1 deletion docs/Models/Components/BenefitDiscordSubscriber.md
Original file line number Diff line number Diff line change
Expand Up @@ -14,5 +14,5 @@
| `deletable` | *bool* | :heavy_check_mark: | Whether the benefit is deletable. |
| `organizationId` | *string* | :heavy_check_mark: | The ID of the organization owning the benefit. |
| `metadata` | array<string, [string\|int\|float\|bool](../../Models/Components/BenefitDiscordSubscriberMetadata.md)> | :heavy_check_mark: | N/A |
| `organization` | [Components\Organization](../../Models/Components/Organization.md) | :heavy_check_mark: | N/A |
| `organization` | [Components\BenefitSubscriberOrganization](../../Models/Components/BenefitSubscriberOrganization.md) | :heavy_check_mark: | N/A |
| `properties` | [Components\BenefitDiscordSubscriberProperties](../../Models/Components/BenefitDiscordSubscriberProperties.md) | :heavy_check_mark: | Properties available to subscribers for a benefit of type `discord`. |
2 changes: 1 addition & 1 deletion docs/Models/Components/BenefitDownloadablesSubscriber.md
Original file line number Diff line number Diff line change
Expand Up @@ -14,5 +14,5 @@
| `deletable` | *bool* | :heavy_check_mark: | Whether the benefit is deletable. |
| `organizationId` | *string* | :heavy_check_mark: | The ID of the organization owning the benefit. |
| `metadata` | array<string, [string\|int\|float\|bool](../../Models/Components/BenefitDownloadablesSubscriberMetadata.md)> | :heavy_check_mark: | N/A |
| `organization` | [Components\Organization](../../Models/Components/Organization.md) | :heavy_check_mark: | N/A |
| `organization` | [Components\BenefitSubscriberOrganization](../../Models/Components/BenefitSubscriberOrganization.md) | :heavy_check_mark: | N/A |
| `properties` | [Components\BenefitDownloadablesSubscriberProperties](../../Models/Components/BenefitDownloadablesSubscriberProperties.md) | :heavy_check_mark: | N/A |
Original file line number Diff line number Diff line change
Expand Up @@ -14,5 +14,5 @@
| `deletable` | *bool* | :heavy_check_mark: | Whether the benefit is deletable. |
| `organizationId` | *string* | :heavy_check_mark: | The ID of the organization owning the benefit. |
| `metadata` | array<string, [string\|int\|float\|bool](../../Models/Components/BenefitGitHubRepositorySubscriberMetadata.md)> | :heavy_check_mark: | N/A |
| `organization` | [Components\Organization](../../Models/Components/Organization.md) | :heavy_check_mark: | N/A |
| `organization` | [Components\BenefitSubscriberOrganization](../../Models/Components/BenefitSubscriberOrganization.md) | :heavy_check_mark: | N/A |
| `properties` | [Components\BenefitGitHubRepositorySubscriberProperties](../../Models/Components/BenefitGitHubRepositorySubscriberProperties.md) | :heavy_check_mark: | Properties available to subscribers for a benefit of type `github_repository`. |
Loading