Skip to content
Merged
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
375 changes: 325 additions & 50 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
python:
version: 2.2.2
version: 2.2.3
additionalDependencies:
dev:
freezegun: ^1.5.1
Expand Down
12 changes: 6 additions & 6 deletions .speakeasy/workflow.lock
Original file line number Diff line number Diff line change
@@ -1,20 +1,20 @@
speakeasyVersion: 1.787.0
speakeasyVersion: 1.788.1
sources:
openapi:
sourceNamespace: openapi
sourceRevisionDigest: sha256:a1db8c15f417c9dc5589583862fe8ebe1dd66bac25d0d138177d0d8416bcd2b5
sourceBlobDigest: sha256:10f8f9202d53e7ee403525a2e1cd8f77461e32b414a980c09fe9cf476d499d94
sourceRevisionDigest: sha256:8856b1b133b50597c1f5a93ce9493ace33d0e1343d2f8049ecd88c7045a0b15a
sourceBlobDigest: sha256:71ac5ae6e07f91b23c3db57f4b4843b63b63caca63ee014e8cdb59ed3ead4d85
tags:
- latest
- 1.0.0
targets:
python:
source: openapi
sourceNamespace: openapi
sourceRevisionDigest: sha256:a1db8c15f417c9dc5589583862fe8ebe1dd66bac25d0d138177d0d8416bcd2b5
sourceBlobDigest: sha256:10f8f9202d53e7ee403525a2e1cd8f77461e32b414a980c09fe9cf476d499d94
sourceRevisionDigest: sha256:8856b1b133b50597c1f5a93ce9493ace33d0e1343d2f8049ecd88c7045a0b15a
sourceBlobDigest: sha256:71ac5ae6e07f91b23c3db57f4b4843b63b63caca63ee014e8cdb59ed3ead4d85
codeSamplesNamespace: openapi-python-code-samples
codeSamplesRevisionDigest: sha256:e4cf7e376b09084fcf10617af339bc2a13792efbce7e16a7c11ed962f2237c48
codeSamplesRevisionDigest: sha256:811dc4d3950b253ea56784d90fae039065ebe328964b2e525cdd3bed59f18126
workflow:
workflowVersion: 1.0.0
speakeasyVersion: latest
Expand Down
11 changes: 9 additions & 2 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -336,6 +336,14 @@ except ValueError as error:

* [create](docs/sdks/jobs/README.md#create) - Create account updater job

### [ApiKeyPairs](docs/sdks/apikeypairs/README.md)

* [list](docs/sdks/apikeypairs/README.md#list) - List all API key pairs
* [create](docs/sdks/apikeypairs/README.md#create) - Create an API key pair
* [get](docs/sdks/apikeypairs/README.md#get) - Get an API key pair
* [update](docs/sdks/apikeypairs/README.md#update) - Update an API key pair
* [delete](docs/sdks/apikeypairs/README.md#delete) - Delete an API key pair

### [AuditLogs](docs/sdks/auditlogs/README.md)

* [list](docs/sdks/auditlogs/README.md#list) - List audit log entries
Expand Down Expand Up @@ -603,11 +611,10 @@ import os


with Gr4vy(
merchant_account_id="default",
bearer_auth=os.getenv("GR4VY_BEARER_AUTH", ""),
) as g_client:

res = g_client.buyers.list(cursor="ZXhhbXBsZTE", limit=20, search="John", external_identifier="buyer-12345")
res = g_client.api_key_pairs.list(limit=20)

while res is not None:
# Handle items
Expand Down
12 changes: 11 additions & 1 deletion RELEASES.md
Original file line number Diff line number Diff line change
Expand Up @@ -2158,4 +2158,14 @@ Based on:
### Generated
- [python v2.2.2] .
### Releases
- [PyPI v2.2.2] https://pypi.org/project/gr4vy/2.2.2 - .
- [PyPI v2.2.2] https://pypi.org/project/gr4vy/2.2.2 - .

## 2026-07-06 08:37:28
### Changes
Based on:
- OpenAPI Doc
- Speakeasy CLI 1.788.1 (2.915.1) https://github.com/speakeasy-api/speakeasy
### Generated
- [python v2.2.3] .
### Releases
- [PyPI v2.2.3] https://pypi.org/project/gr4vy/2.2.3 - .
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
# Creator
# APICommonSchemasCreator


## Fields
Expand Down
14 changes: 14 additions & 0 deletions docs/models/apicommonschemasmerchantaccount.md
Original file line number Diff line number Diff line change
@@ -0,0 +1,14 @@
# APICommonSchemasMerchantAccount


## Fields

| Field | Type | Required | Description |
| -------------------------------------------------------------------- | -------------------------------------------------------------------- | -------------------------------------------------------------------- | -------------------------------------------------------------------- |
| `type` | *Optional[Literal["merchant-account"]]* | :heavy_minus_sign: | N/A |
| `id` | *str* | :heavy_check_mark: | N/A |
| `display_name` | *str* | :heavy_check_mark: | N/A |
| `created_at` | [date](https://docs.python.org/3/library/datetime.html#date-objects) | :heavy_check_mark: | N/A |
| `updated_at` | [date](https://docs.python.org/3/library/datetime.html#date-objects) | :heavy_check_mark: | N/A |
| `over_capture_amount` | *OptionalNullable[int]* | :heavy_minus_sign: | N/A |
| `over_capture_percentage` | *OptionalNullable[int]* | :heavy_minus_sign: | N/A |
19 changes: 19 additions & 0 deletions docs/models/apikeypair.md
Original file line number Diff line number Diff line change
@@ -0,0 +1,19 @@
# APIKeyPair


## Fields

| Field | Type | Required | Description | Example |
| ---------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------- | ---------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------- | ---------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------- | ---------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------- | ---------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------- |
| `type` | *Optional[Literal["api-key-pair"]]* | :heavy_minus_sign: | The type of this resource. | |
| `id` | *str* | :heavy_check_mark: | The ID for the API key pair. | fe26475d-ec3e-4884-9553-f7356683f7f9 |
| `thumbprint` | *str* | :heavy_check_mark: | The unique thumbprint that identifies the API key pair. | 6zsbrjs0Cp4M4Ebz8sfHqUKGiG9Sd0lF2sfKp5-w-nk |
| `display_name` | *str* | :heavy_check_mark: | The display name for the API key pair. | Production key |
| `algorithm` | [models.CertificateAlgorithm](../models/certificatealgorithm.md) | :heavy_check_mark: | N/A | |
| `active` | *bool* | :heavy_check_mark: | Whether the API key pair is active and can be used to authenticate. | true |
| `private_key` | *OptionalNullable[str]* | :heavy_minus_sign: | The PEM-encoded private key. Only returned once, in the response to creating the API key pair, and only when Gr4vy generated the key pair. Store it securely, as it cannot be retrieved later. | |
| `created_at` | [date](https://docs.python.org/3/library/datetime.html#date-objects) | :heavy_check_mark: | The date and time when this API key pair was created. | 2013-07-16T19:23:00.000+00:00 |
| `updated_at` | [date](https://docs.python.org/3/library/datetime.html#date-objects) | :heavy_check_mark: | The date and time when this API key pair was last updated. | 2013-07-16T19:23:00.000+00:00 |
| `creator` | [OptionalNullable[models.APIRoutersAPIKeyPairsSchemasCreator]](../models/apiroutersapikeypairsschemascreator.md) | :heavy_minus_sign: | The user or API key pair that created this API key pair. | |
| `merchant_accounts` | List[[models.APICommonSchemasMerchantAccount](../models/apicommonschemasmerchantaccount.md)] | :heavy_minus_sign: | The merchant accounts this API key pair has access to. An empty list means it has access to all merchant accounts. | |
| `roles` | List[[models.Role](../models/role.md)] | :heavy_minus_sign: | The roles assigned to this API key pair. | |
Loading
Loading