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
Jump to file
Failed to load files.
Loading
Diff view
Diff view
1,419 changes: 882 additions & 537 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 @@ -29,7 +29,7 @@ generation:
generateNewTests: false
skipResponseBodyAssertions: false
php:
version: 1.0.0
version: 1.0.1
additionalDependencies:
autoload: {}
autoload-dev:
Expand Down
12 changes: 6 additions & 6 deletions .speakeasy/workflow.lock
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
speakeasyVersion: 1.777.0
speakeasyVersion: 1.791.0
sources:
backend-php:
sourceNamespace: clerk-openapi
Expand All @@ -14,19 +14,19 @@ sources:
- latest
clerk-openapi:
sourceNamespace: clerk-openapi
sourceRevisionDigest: sha256:d15346bde80f5abad95d77c66b96208b660c78544a4c4dca48b2068565d13717
sourceBlobDigest: sha256:2ca2b3040b8261f61ac0c56c7fd9a942f7ad5ed5312eb73d44b7b9b648605b29
sourceRevisionDigest: sha256:040ae88b85e3438dfe4b7ffb0b79b0410a94902a497bf50875cd865258ffe2d0
sourceBlobDigest: sha256:6b5f500f4b2091f898969c9e04b5baa76c9d2f9299d5ade01e0573aa4a11645b
tags:
- latest
- "2026-05-12"
targets:
clerk-php:
source: clerk-openapi
sourceNamespace: clerk-openapi
sourceRevisionDigest: sha256:d15346bde80f5abad95d77c66b96208b660c78544a4c4dca48b2068565d13717
sourceBlobDigest: sha256:2ca2b3040b8261f61ac0c56c7fd9a942f7ad5ed5312eb73d44b7b9b648605b29
sourceRevisionDigest: sha256:040ae88b85e3438dfe4b7ffb0b79b0410a94902a497bf50875cd865258ffe2d0
sourceBlobDigest: sha256:6b5f500f4b2091f898969c9e04b5baa76c9d2f9299d5ade01e0573aa4a11645b
codeSamplesNamespace: clerk-openapi-php-code-samples
codeSamplesRevisionDigest: sha256:ff97e3969ed881f87956c53b2adaaf00c1989617de838d21b742f2ded29a9bc2
codeSamplesRevisionDigest: sha256:303f980cd466a02fffc1c57263e93d8586e972a546cdda52479f9344a601801b
my-first-target:
source: clerk-backend-php
sourceNamespace: clerk-openapi
Expand Down
14 changes: 14 additions & 0 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -358,6 +358,7 @@ if ($response->statusCode === 200) {
* [delete](docs/sdks/oauthapplications/README.md#delete) - Delete an OAuth application
* [uploadLogo](docs/sdks/oauthapplications/README.md#uploadlogo) - Upload a logo for the OAuth application
* [rotateSecret](docs/sdks/oauthapplications/README.md#rotatesecret) - Rotate the client secret of the given OAuth application
* [revokeToken](docs/sdks/oauthapplications/README.md#revoketoken) - Revoke an OAuth application token

### [OrganizationDomains](docs/sdks/organizationdomains/README.md)

Expand Down Expand Up @@ -458,6 +459,19 @@ if ($response->statusCode === 200) {
* [~~update~~](docs/sdks/samlconnections/README.md#update) - Update a SAML Connection :warning: **Deprecated**
* [~~delete~~](docs/sdks/samlconnections/README.md#delete) - Delete a SAML Connection :warning: **Deprecated**

### [ScimDirectories](docs/sdks/scimdirectories/README.md)

* [list](docs/sdks/scimdirectories/README.md#list) - List all SCIM directories
* [create](docs/sdks/scimdirectories/README.md#create) - Create a SCIM directory
* [get](docs/sdks/scimdirectories/README.md#get) - Retrieve a SCIM directory
* [update](docs/sdks/scimdirectories/README.md#update) - Update a SCIM directory
* [delete](docs/sdks/scimdirectories/README.md#delete) - Delete a SCIM directory
* [rotateApiKey](docs/sdks/scimdirectories/README.md#rotateapikey) - Rotate a SCIM directory's API key
* [listGroupRoleMappings](docs/sdks/scimdirectories/README.md#listgrouprolemappings) - List SCIM group role mappings
* [createGroupRoleMapping](docs/sdks/scimdirectories/README.md#creategrouprolemapping) - Create a SCIM group role mapping
* [replaceGroupRoleMappings](docs/sdks/scimdirectories/README.md#replacegrouprolemappings) - Replace SCIM group role mappings
* [deleteGroupRoleMapping](docs/sdks/scimdirectories/README.md#deletegrouprolemapping) - Delete a SCIM group role mapping

### [Sessions](docs/sdks/sessions/README.md)

* [list](docs/sdks/sessions/README.md#list) - List all sessions
Expand Down
12 changes: 11 additions & 1 deletion RELEASES.md
Original file line number Diff line number Diff line change
Expand Up @@ -118,4 +118,14 @@ Based on:
### Generated
- [php v1.0.0] .
### Releases
- [Composer v1.0.0] https://packagist.org/packages/clerkinc/backend-php#v1.0.0 - .
- [Composer v1.0.0] https://packagist.org/packages/clerkinc/backend-php#v1.0.0 - .

## 2026-07-29 00:46:32
### Changes
Based on:
- OpenAPI Doc
- Speakeasy CLI 1.791.0 (2.924.0) https://github.com/speakeasy-api/speakeasy
### Generated
- [php v1.0.1] .
### Releases
- [Composer v1.0.1] https://packagist.org/packages/clerkinc/backend-php#v1.0.1 - .
2 changes: 1 addition & 1 deletion composer.json
Original file line number Diff line number Diff line change
Expand Up @@ -15,7 +15,7 @@
"require": {
"php": ">=8.2",
"galbar/jsonpath": ">=3.0",
"guzzlehttp/guzzle": "^7.0",
"guzzlehttp/guzzle": "^7.12.1",
"speakeasy/serializer": "^4.0.3",
"brick/date-time": ">=0.7.0",
"phpdocumentor/type-resolver": ">=1.8",
Expand Down
2 changes: 1 addition & 1 deletion docs/Models/Components/BillingPaymentAttemptTotals.md
Original file line number Diff line number Diff line change
Expand Up @@ -11,6 +11,6 @@ Totals breakdown for this payment attempt.
| `baseFee` | [Components\CommerceMoneyResponse](../../Models/Components/CommerceMoneyResponse.md) | :heavy_check_mark: | N/A |
| `taxTotal` | [Components\CommerceMoneyResponse](../../Models/Components/CommerceMoneyResponse.md) | :heavy_check_mark: | N/A |
| `grandTotal` | [Components\CommerceMoneyResponse](../../Models/Components/CommerceMoneyResponse.md) | :heavy_check_mark: | N/A |
| `perUnitTotals` | array<[Components\SchemasCommercePerUnitTotal](../../Models/Components/SchemasCommercePerUnitTotal.md)> | :heavy_minus_sign: | N/A |
| `perUnitTotals` | array<[Components\CommercePerUnitTotal2](../../Models/Components/CommercePerUnitTotal2.md)> | :heavy_minus_sign: | N/A |
| `credits` | [?Components\BillingPaymentAttemptCredits](../../Models/Components/BillingPaymentAttemptCredits.md) | :heavy_minus_sign: | N/A |
| `discounts` | [?Components\BillingPaymentAttemptDiscounts](../../Models/Components/BillingPaymentAttemptDiscounts.md) | :heavy_minus_sign: | Information about the discounts applied to the payment |
12 changes: 6 additions & 6 deletions docs/Models/Components/ClerkError.md
Original file line number Diff line number Diff line change
Expand Up @@ -3,9 +3,9 @@

## Fields

| Field | Type | Required | Description |
| --------------------------------------------------- | --------------------------------------------------- | --------------------------------------------------- | --------------------------------------------------- |
| `message` | *string* | :heavy_check_mark: | N/A |
| `longMessage` | *string* | :heavy_check_mark: | N/A |
| `code` | *string* | :heavy_check_mark: | N/A |
| `meta` | [?Components\Meta](../../Models/Components/Meta.md) | :heavy_minus_sign: | N/A |
| Field | Type | Required | Description |
| ---------------------- | ---------------------- | ---------------------- | ---------------------- |
| `message` | *string* | :heavy_check_mark: | N/A |
| `longMessage` | *string* | :heavy_check_mark: | N/A |
| `code` | *string* | :heavy_check_mark: | N/A |
| `meta` | array<string, *mixed*> | :heavy_minus_sign: | N/A |

This file was deleted.

This file was deleted.

This file was deleted.

This file was deleted.

7 changes: 0 additions & 7 deletions docs/Models/Components/ClerkErrorErrorMeta.md

This file was deleted.

7 changes: 0 additions & 7 deletions docs/Models/Components/ClerkErrorErrorSAMLAccountMeta.md

This file was deleted.

21 changes: 10 additions & 11 deletions docs/Models/Components/CommerceCreditLedgerResponse.md
Original file line number Diff line number Diff line change
Expand Up @@ -5,14 +5,13 @@ A credit ledger entry.

## Fields

| Field | Type | Required | Description |
| ------------------------------------------------------------------------- | ------------------------------------------------------------------------- | ------------------------------------------------------------------------- | ------------------------------------------------------------------------- |
| `object` | *string* | :heavy_check_mark: | String representing the object's type. Always "commerce_credit_ledger". |
| `id` | *string* | :heavy_check_mark: | Unique identifier for the ledger entry. |
| `payerId` | *string* | :heavy_check_mark: | The ID of the payer whose balance was adjusted. |
| `amount` | *int* | :heavy_check_mark: | The signed credit amount. Positive for increases, negative for decreases. |
| `currency` | *string* | :heavy_check_mark: | The currency code of the credit adjustment. |
| `sourceType` | *string* | :heavy_check_mark: | The type of source that originated the adjustment (e.g. "grant"). |
| `sourceId` | *string* | :heavy_check_mark: | The ID of the source that originated the adjustment. |
| `note` | *?string* | :heavy_minus_sign: | An optional note attached to the ledger entry. |
| `createdAt` | [\DateTime](https://www.php.net/manual/en/class.datetime.php) | :heavy_check_mark: | Timestamp when the ledger entry was created. |
| Field | Type | Required | Description |
| ------------------------------------------------------------------------------------ | ------------------------------------------------------------------------------------ | ------------------------------------------------------------------------------------ | ------------------------------------------------------------------------------------ |
| `object` | *string* | :heavy_check_mark: | String representing the object's type. Always "commerce_credit_ledger". |
| `id` | *string* | :heavy_check_mark: | Unique identifier for the ledger entry. |
| `payerId` | *string* | :heavy_check_mark: | The ID of the payer whose balance was adjusted. |
| `amount` | [Components\CommerceMoneyResponse](../../Models/Components/CommerceMoneyResponse.md) | :heavy_check_mark: | N/A |
| `sourceType` | *string* | :heavy_check_mark: | The type of source that originated the adjustment (e.g. "grant"). |
| `sourceId` | *string* | :heavy_check_mark: | The ID of the source that originated the adjustment. |
| `note` | *?string* | :heavy_minus_sign: | An optional note attached to the ledger entry. |
| `createdAt` | [\DateTime](https://www.php.net/manual/en/class.datetime.php) | :heavy_check_mark: | Timestamp when the ledger entry was created. |
10 changes: 10 additions & 0 deletions docs/Models/Components/CommercePerUnitTotal2.md
Original file line number Diff line number Diff line change
@@ -0,0 +1,10 @@
# CommercePerUnitTotal2


## Fields

| Field | Type | Required | Description |
| --------------------------------------------------------------------------------------------------- | --------------------------------------------------------------------------------------------------- | --------------------------------------------------------------------------------------------------- | --------------------------------------------------------------------------------------------------- |
| `name` | *string* | :heavy_check_mark: | Name of the billable unit (for example, seats) |
| `blockSize` | *int* | :heavy_check_mark: | Number of units included in each pricing block |
| `tiers` | array<[Components\CommercePerUnitTotalTier2](../../Models/Components/CommercePerUnitTotalTier2.md)> | :heavy_check_mark: | Computed totals for each pricing tier |
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
# SchemasCommercePerUnitTotalTier
# CommercePerUnitTotalTier2


## Fields
Expand Down
Loading