From b7093182412f2a6edae342d9e5a26ff85abbb91b Mon Sep 17 00:00:00 2001 From: speakeasybot Date: Thu, 23 Apr 2026 12:57:32 +0000 Subject: [PATCH 1/2] ## Python SDK Changes Detected: * `apideck.accounting.payments.list()`: `request.filter` **Changed** * `apideck.accounting.bill_payments.list()`: `request.filter` **Changed** --- .speakeasy/gen.lock | 39 +++++++++++-------- .speakeasy/gen.yaml | 2 +- .speakeasy/workflow.lock | 14 +++---- RELEASES.md | 12 +++++- .../accountingbillpaymentsallrequest.md | 2 +- docs/models/accountingpaymentsallrequest.md | 2 +- docs/models/paymentsfilter.md | 17 ++++---- docs/models/paymentsfilterpaymentstatus.md | 15 +++++++ docs/models/rebillstatus.md | 3 +- docs/sdks/billpayments/README.md | 2 +- docs/sdks/payments/README.md | 2 +- pyproject.toml | 2 +- src/apideck_unify/_version.py | 6 +-- src/apideck_unify/models/__init__.py | 3 ++ src/apideck_unify/models/paymentsfilter.py | 31 +++++++++++++++ src/apideck_unify/models/rebilling.py | 1 + 16 files changed, 111 insertions(+), 42 deletions(-) create mode 100644 docs/models/paymentsfilterpaymentstatus.md diff --git a/.speakeasy/gen.lock b/.speakeasy/gen.lock index 83f606cb..5324cbad 100644 --- a/.speakeasy/gen.lock +++ b/.speakeasy/gen.lock @@ -1,12 +1,12 @@ lockVersion: 2.0.0 id: fca0ac3a-5f4e-452c-bbc7-2311afa8da40 management: - docChecksum: 5db45958ae11c768a5d273971a7bde06 - docVersion: 10.24.25 + docChecksum: e85e9e1fc71d355b24b46ee1d3875ed3 + docVersion: 10.24.27 speakeasyVersion: 1.656.1 generationVersion: 2.753.1 - releaseVersion: 0.31.11 - configChecksum: 9683894f1e404e6f55aba00245388628 + releaseVersion: 0.31.12 + configChecksum: b397925dbc153d4cea06027b09383d46 repoURL: https://github.com/apideck-libraries/sdk-python.git installationURL: https://github.com/apideck-libraries/sdk-python.git published: true @@ -1678,6 +1678,7 @@ generatedFiles: - docs/models/paymentinput.md - docs/models/paymentrequiredresponse.md - docs/models/paymentsfilter.md + - docs/models/paymentsfilterpaymentstatus.md - docs/models/paymentsfiltertype.md - docs/models/paymentssort.md - docs/models/paymentssortby.md @@ -5460,7 +5461,7 @@ examples: query: raw: false limit: 20 - filter: {"updated_since": "2020-09-30T07:43:32.000Z", "invoice_id": "123", "bill_id": "123", "supplier_id": "123", "customer_id": "123abc", "type": "accounts_receivable"} + filter: {"updated_since": "2020-09-30T07:43:32.000Z", "invoice_id": "123", "bill_id": "123", "supplier_id": "123", "customer_id": "123abc", "type": "accounts_receivable", "status": "authorised"} sort: {"by": "updated_at", "direction": "desc"} pass_through: {"search": "San Francisco"} fields: "id,updated_at" @@ -7809,7 +7810,7 @@ examples: query: raw: false limit: 20 - filter: {"updated_since": "2020-09-30T07:43:32.000Z", "invoice_id": "123", "bill_id": "123", "supplier_id": "123", "customer_id": "123abc", "type": "accounts_receivable"} + filter: {"updated_since": "2020-09-30T07:43:32.000Z", "invoice_id": "123", "bill_id": "123", "supplier_id": "123", "customer_id": "123abc", "type": "accounts_receivable", "status": "authorised"} sort: {"by": "updated_at", "direction": "desc"} pass_through: {"search": "San Francisco"} fields: "id,updated_at" @@ -19651,6 +19652,10 @@ examples: application/json: {"status_code": 400, "error": "Bad Request", "type_name": "RequestHeadersValidationError", "message": "Invalid Params", "detail": "Missing Header: x-apideck-consumer-id", "ref": "https://developers.apideck.com/errors#unauthorizederror"} examplesVersion: 1.0.2 generatedTests: {} +releaseNotes: | + ## Python SDK Changes Detected: + * `apideck.accounting.payments.list()`: `request.filter` **Changed** + * `apideck.accounting.bill_payments.list()`: `request.filter` **Changed** trackedFiles: .devcontainer/README.md: last_write_checksum: sha1:07adb0c0c051a9be4d479ea06461f3a9b3bbeb2f @@ -19819,7 +19824,7 @@ trackedFiles: docs/models/accountingbillpaymentsallglobals.md: last_write_checksum: sha1:5be2bf553d2f07fa43fa47ba1ef5e92eb18a78b9 docs/models/accountingbillpaymentsallrequest.md: - last_write_checksum: sha1:618dab5e25e20067a2227c48f062ea5b731b22fc + last_write_checksum: sha1:c7d2b4bb9018399137b16889ba6d46ae0fa549a7 docs/models/accountingbillpaymentsallresponse.md: last_write_checksum: sha1:0cfd8cc7811e4f63ce22210643372de42d47cbfd docs/models/accountingbillpaymentsdeleteglobals.md: @@ -20289,7 +20294,7 @@ trackedFiles: docs/models/accountingpaymentsallglobals.md: last_write_checksum: sha1:04d2fc2e254081c43037f4848b2d40384660183c docs/models/accountingpaymentsallrequest.md: - last_write_checksum: sha1:318e2e1ad124086ff96a9e2038e328a0399d324c + last_write_checksum: sha1:2550acf4978565701d423726f480abfff4160baa docs/models/accountingpaymentsallresponse.md: last_write_checksum: sha1:925d90629b866c54f3b5a9eaf39b4027651f603b docs/models/accountingpaymentsdeleteglobals.md: @@ -22913,7 +22918,9 @@ trackedFiles: docs/models/paymentrequiredresponse.md: last_write_checksum: sha1:45bb76a00672508387db28b9dce96d3661491594 docs/models/paymentsfilter.md: - last_write_checksum: sha1:47121e95e082c66e6427a7007ae2f62b6d9944c6 + last_write_checksum: sha1:44a022e442059c6750eecf94ea2376e2ee12374f + docs/models/paymentsfilterpaymentstatus.md: + last_write_checksum: sha1:0003ab41802651f55fc9e7456f6f4d94e364b1a7 docs/models/paymentsfiltertype.md: last_write_checksum: sha1:7e7d68630c4be65f58a215d1ccf80bb9857a4efe docs/models/paymentssort.md: @@ -23061,7 +23068,7 @@ trackedFiles: docs/models/rebilling.md: last_write_checksum: sha1:fe49c840d3e18694762ebd43c327c835af20aa61 docs/models/rebillstatus.md: - last_write_checksum: sha1:7ad87bf8b3538c8a534b5e04ac65d9c3947bd0f1 + last_write_checksum: sha1:7ccd91cacc378a85197eda141f27d45c65d00dd6 docs/models/refund.md: last_write_checksum: sha1:2dad60e011c8a47b424bab2eb362188a199e4aad docs/models/refundinput.md: @@ -23687,7 +23694,7 @@ trackedFiles: docs/sdks/bankfeedstatements/README.md: last_write_checksum: sha1:dc4e86b81dc7c23d30dba5ebb12fba03d4be8850 docs/sdks/billpayments/README.md: - last_write_checksum: sha1:caf8fbe6b77642665ea96796c9911bc8a5a895ef + last_write_checksum: sha1:d2b191f283403be1bdb3dafaaabb53b9a2136906 docs/sdks/bills/README.md: last_write_checksum: sha1:fba81e371632c66e45f7b9287b006b551d2a2916 docs/sdks/categories/README.md: @@ -23791,7 +23798,7 @@ trackedFiles: docs/sdks/orders/README.md: last_write_checksum: sha1:dcb1b40d536f93c51a86aba423dbf130425ee888 docs/sdks/payments/README.md: - last_write_checksum: sha1:b7d7aee34b86982fc944289d12552d406b5fc053 + last_write_checksum: sha1:7b5cedd6c95b79bf7fe1f7ee7ca705199a364c8b docs/sdks/payrolls/README.md: last_write_checksum: sha1:3b19b8c40ca21754ad55d083e19e97a6d7e20a4d docs/sdks/pipelines/README.md: @@ -23855,7 +23862,7 @@ trackedFiles: src/apideck_unify/_hooks/types.py: last_write_checksum: sha1:4b923d3d84d979af6169a9db6b81bfc373079a25 src/apideck_unify/_version.py: - last_write_checksum: sha1:24b16de675e56cab0fb2666da363950bd1ce8be3 + last_write_checksum: sha1:009eb575ae54fde2b0966cc431a8fd69d141b93f src/apideck_unify/accounting.py: last_write_checksum: sha1:afb8958c0092d6bbc935597b72e8a96d2b82b4aa src/apideck_unify/activities.py: @@ -24011,7 +24018,7 @@ trackedFiles: src/apideck_unify/messages.py: last_write_checksum: sha1:158b4c1fb137ee3ac806cc6a59c8d906b01233d6 src/apideck_unify/models/__init__.py: - last_write_checksum: sha1:3d6a507dfa2d95138e1630960adc6ce66988d931 + last_write_checksum: sha1:0df620cd3572d2348591ab47b60c45c150295907 src/apideck_unify/models/accounting_agedcreditorsoneop.py: last_write_checksum: sha1:7346d1ab1c21db21995aae34c5ba01549c2786c2 src/apideck_unify/models/accounting_ageddebtorsoneop.py: @@ -25617,7 +25624,7 @@ trackedFiles: src/apideck_unify/models/paymentrequiredresponse.py: last_write_checksum: sha1:e31a1e7837134fcdab40d81d32da12d59ab651ba src/apideck_unify/models/paymentsfilter.py: - last_write_checksum: sha1:49428ea3990aedeedfcc6d6e8b73d4afd3d2515f + last_write_checksum: sha1:dd2e5d3b8ec586b6d33a4152a2b83bd14ae460f4 src/apideck_unify/models/paymentssort.py: last_write_checksum: sha1:d58183eb6ba2aec67bb57c0705b425aef1e0b464 src/apideck_unify/models/paymentstatus.py: @@ -25679,7 +25686,7 @@ trackedFiles: src/apideck_unify/models/quotelineitem.py: last_write_checksum: sha1:ec6e349592938366215654e8f7ac369ea28dfc73 src/apideck_unify/models/rebilling.py: - last_write_checksum: sha1:3482fda2bcc55ca48f204ec49208776c87c19b74 + last_write_checksum: sha1:335956b996339dc4b07c60468e34408b9f9fff3f src/apideck_unify/models/refund.py: last_write_checksum: sha1:5d71c491cdcff3f45fc0b1d312626622adf7fad5 src/apideck_unify/models/refund_input.py: diff --git a/.speakeasy/gen.yaml b/.speakeasy/gen.yaml index 8fea238c..8525b5c9 100644 --- a/.speakeasy/gen.yaml +++ b/.speakeasy/gen.yaml @@ -32,7 +32,7 @@ generation: persistentEdits: {} versioningStrategy: automatic python: - version: 0.31.11 + version: 0.31.12 additionalDependencies: dev: {} main: {} diff --git a/.speakeasy/workflow.lock b/.speakeasy/workflow.lock index 0d9d1d4b..bb36d214 100644 --- a/.speakeasy/workflow.lock +++ b/.speakeasy/workflow.lock @@ -2,20 +2,20 @@ speakeasyVersion: 1.656.1 sources: Apideck: sourceNamespace: apideck - sourceRevisionDigest: sha256:83a29447ae0929a22efb6c43e6d0149978f17c66567fa582f483e96bf83f2860 - sourceBlobDigest: sha256:ce5e3b45c790ccd15129e31a61bb4b01afae4acbe08dd37952fdd130a0a4724c + sourceRevisionDigest: sha256:520a82a681bb28e6083dad2216048ff90f91296d79eaf926427fb9e92a4d1402 + sourceBlobDigest: sha256:394f974fe47473404efada5205b75559dd8e1e500d60a07b39c155f0d9e1eae8 tags: - latest - - speakeasy-sdk-regen-1776782628 - - 10.24.25 + - speakeasy-sdk-regen-1776866092 + - 10.24.27 targets: apideck: source: Apideck sourceNamespace: apideck - sourceRevisionDigest: sha256:83a29447ae0929a22efb6c43e6d0149978f17c66567fa582f483e96bf83f2860 - sourceBlobDigest: sha256:ce5e3b45c790ccd15129e31a61bb4b01afae4acbe08dd37952fdd130a0a4724c + sourceRevisionDigest: sha256:520a82a681bb28e6083dad2216048ff90f91296d79eaf926427fb9e92a4d1402 + sourceBlobDigest: sha256:394f974fe47473404efada5205b75559dd8e1e500d60a07b39c155f0d9e1eae8 codeSamplesNamespace: apideck-python-code-samples - codeSamplesRevisionDigest: sha256:1e7aa77521187db2c5a0363f08ea1e215f8140ad7af3448192aa5bef89d389ac + codeSamplesRevisionDigest: sha256:4aa2824ae6d97bbb8123cefc6a4bb5c3f1fc6346a9a0e4dd931a5101b4ff96a2 workflow: workflowVersion: 1.0.0 speakeasyVersion: latest diff --git a/RELEASES.md b/RELEASES.md index a03d41e7..fed63a4a 100644 --- a/RELEASES.md +++ b/RELEASES.md @@ -1178,4 +1178,14 @@ Based on: ### Generated - [python v0.31.11] . ### Releases -- [PyPI v0.31.11] https://pypi.org/project/apideck-unify/0.31.11 - . \ No newline at end of file +- [PyPI v0.31.11] https://pypi.org/project/apideck-unify/0.31.11 - . + +## 2026-04-23 12:50:33 +### Changes +Based on: +- OpenAPI Doc +- Speakeasy CLI 1.656.1 (2.753.1) https://github.com/speakeasy-api/speakeasy +### Generated +- [python v0.31.12] . +### Releases +- [PyPI v0.31.12] https://pypi.org/project/apideck-unify/0.31.12 - . \ No newline at end of file diff --git a/docs/models/accountingbillpaymentsallrequest.md b/docs/models/accountingbillpaymentsallrequest.md index 097148c5..c28d7fd1 100644 --- a/docs/models/accountingbillpaymentsallrequest.md +++ b/docs/models/accountingbillpaymentsallrequest.md @@ -12,7 +12,7 @@ | `company_id` | *Optional[str]* | :heavy_minus_sign: | The ID of the company to scope requests to. For connectors that support multi-company, this overrides the default company configured in connection settings. | 12345 | | `cursor` | *OptionalNullable[str]* | :heavy_minus_sign: | Cursor to start from. You can find cursors for next/previous pages in the meta.cursors property of the response. | | | `limit` | *Optional[int]* | :heavy_minus_sign: | Number of results to return. Minimum 1, Maximum 200, Default 20 | | -| `filter_` | [Optional[models.PaymentsFilter]](../models/paymentsfilter.md) | :heavy_minus_sign: | Apply filters | {
"updated_since": "2020-09-30T07:43:32.000Z",
"invoice_id": "123",
"bill_id": "123",
"supplier_id": "123",
"customer_id": "123abc",
"type": "accounts_receivable"
} | +| `filter_` | [Optional[models.PaymentsFilter]](../models/paymentsfilter.md) | :heavy_minus_sign: | Apply filters | {
"updated_since": "2020-09-30T07:43:32.000Z",
"invoice_id": "123",
"bill_id": "123",
"supplier_id": "123",
"customer_id": "123abc",
"type": "accounts_receivable",
"status": "authorised"
} | | `sort` | [Optional[models.PaymentsSort]](../models/paymentssort.md) | :heavy_minus_sign: | Apply sorting | {
"by": "updated_at",
"direction": "desc"
} | | `pass_through` | Dict[str, *Any*] | :heavy_minus_sign: | Optional unmapped key/values that will be passed through to downstream as query parameters. Ie: ?pass_through[search]=leads becomes ?search=leads | {
"search": "San Francisco"
} | | `fields` | *OptionalNullable[str]* | :heavy_minus_sign: | The 'fields' parameter allows API users to specify the fields they want to include in the API response. If this parameter is not present, the API will return all available fields. If this parameter is present, only the fields specified in the comma-separated string will be included in the response. Nested properties can also be requested by using a dot notation.

Example: `fields=name,email,addresses.city`

In the example above, the response will only include the fields "name", "email" and "addresses.city". If any other fields are available, they will be excluded. | id,updated_at | \ No newline at end of file diff --git a/docs/models/accountingpaymentsallrequest.md b/docs/models/accountingpaymentsallrequest.md index 42c1261b..5be3fa0f 100644 --- a/docs/models/accountingpaymentsallrequest.md +++ b/docs/models/accountingpaymentsallrequest.md @@ -12,7 +12,7 @@ | `company_id` | *Optional[str]* | :heavy_minus_sign: | The ID of the company to scope requests to. For connectors that support multi-company, this overrides the default company configured in connection settings. | 12345 | | `cursor` | *OptionalNullable[str]* | :heavy_minus_sign: | Cursor to start from. You can find cursors for next/previous pages in the meta.cursors property of the response. | | | `limit` | *Optional[int]* | :heavy_minus_sign: | Number of results to return. Minimum 1, Maximum 200, Default 20 | | -| `filter_` | [Optional[models.PaymentsFilter]](../models/paymentsfilter.md) | :heavy_minus_sign: | Apply filters | {
"updated_since": "2020-09-30T07:43:32.000Z",
"invoice_id": "123",
"bill_id": "123",
"supplier_id": "123",
"customer_id": "123abc",
"type": "accounts_receivable"
} | +| `filter_` | [Optional[models.PaymentsFilter]](../models/paymentsfilter.md) | :heavy_minus_sign: | Apply filters | {
"updated_since": "2020-09-30T07:43:32.000Z",
"invoice_id": "123",
"bill_id": "123",
"supplier_id": "123",
"customer_id": "123abc",
"type": "accounts_receivable",
"status": "authorised"
} | | `sort` | [Optional[models.PaymentsSort]](../models/paymentssort.md) | :heavy_minus_sign: | Apply sorting | {
"by": "updated_at",
"direction": "desc"
} | | `pass_through` | Dict[str, *Any*] | :heavy_minus_sign: | Optional unmapped key/values that will be passed through to downstream as query parameters. Ie: ?pass_through[search]=leads becomes ?search=leads | {
"search": "San Francisco"
} | | `fields` | *OptionalNullable[str]* | :heavy_minus_sign: | The 'fields' parameter allows API users to specify the fields they want to include in the API response. If this parameter is not present, the API will return all available fields. If this parameter is present, only the fields specified in the comma-separated string will be included in the response. Nested properties can also be requested by using a dot notation.

Example: `fields=name,email,addresses.city`

In the example above, the response will only include the fields "name", "email" and "addresses.city". If any other fields are available, they will be excluded. | id,updated_at | \ No newline at end of file diff --git a/docs/models/paymentsfilter.md b/docs/models/paymentsfilter.md index 72c19d33..196e7c98 100644 --- a/docs/models/paymentsfilter.md +++ b/docs/models/paymentsfilter.md @@ -3,11 +3,12 @@ ## Fields -| Field | Type | Required | Description | Example | -| ---------------------------------------------------------------------- | ---------------------------------------------------------------------- | ---------------------------------------------------------------------- | ---------------------------------------------------------------------- | ---------------------------------------------------------------------- | -| `updated_since` | [date](https://docs.python.org/3/library/datetime.html#date-objects) | :heavy_minus_sign: | N/A | 2020-09-30T07:43:32.000Z | -| `invoice_id` | *Optional[str]* | :heavy_minus_sign: | N/A | 123 | -| `bill_id` | *Optional[str]* | :heavy_minus_sign: | N/A | 123 | -| `supplier_id` | *Optional[str]* | :heavy_minus_sign: | N/A | 123 | -| `customer_id` | *Optional[str]* | :heavy_minus_sign: | Filter by customer id | 123abc | -| `type` | [Optional[models.PaymentsFilterType]](../models/paymentsfiltertype.md) | :heavy_minus_sign: | N/A | accounts_receivable | \ No newline at end of file +| Field | Type | Required | Description | Example | +| ---------------------------------------------------------------------------------------- | ---------------------------------------------------------------------------------------- | ---------------------------------------------------------------------------------------- | ---------------------------------------------------------------------------------------- | ---------------------------------------------------------------------------------------- | +| `updated_since` | [date](https://docs.python.org/3/library/datetime.html#date-objects) | :heavy_minus_sign: | N/A | 2020-09-30T07:43:32.000Z | +| `invoice_id` | *Optional[str]* | :heavy_minus_sign: | N/A | 123 | +| `bill_id` | *Optional[str]* | :heavy_minus_sign: | N/A | 123 | +| `supplier_id` | *Optional[str]* | :heavy_minus_sign: | N/A | 123 | +| `customer_id` | *Optional[str]* | :heavy_minus_sign: | Filter by customer id | 123abc | +| `type` | [Optional[models.PaymentsFilterType]](../models/paymentsfiltertype.md) | :heavy_minus_sign: | N/A | accounts_receivable | +| `status` | [Optional[models.PaymentsFilterPaymentStatus]](../models/paymentsfilterpaymentstatus.md) | :heavy_minus_sign: | Filter by payment status | authorised | \ No newline at end of file diff --git a/docs/models/paymentsfilterpaymentstatus.md b/docs/models/paymentsfilterpaymentstatus.md new file mode 100644 index 00000000..29a74e7e --- /dev/null +++ b/docs/models/paymentsfilterpaymentstatus.md @@ -0,0 +1,15 @@ +# PaymentsFilterPaymentStatus + +Filter by payment status + + +## Values + +| Name | Value | +| ------------ | ------------ | +| `DRAFT` | draft | +| `AUTHORISED` | authorised | +| `REJECTED` | rejected | +| `PAID` | paid | +| `VOIDED` | voided | +| `DELETED` | deleted | \ No newline at end of file diff --git a/docs/models/rebillstatus.md b/docs/models/rebillstatus.md index 350707f1..f5d73fa6 100644 --- a/docs/models/rebillstatus.md +++ b/docs/models/rebillstatus.md @@ -9,4 +9,5 @@ Status of the rebilling process for this line item. | --------- | --------- | | `PENDING` | pending | | `BILLED` | billed | -| `VOIDED` | voided | \ No newline at end of file +| `VOIDED` | voided | +| `OTHER` | other | \ No newline at end of file diff --git a/docs/sdks/billpayments/README.md b/docs/sdks/billpayments/README.md index c890e078..b75675d0 100644 --- a/docs/sdks/billpayments/README.md +++ b/docs/sdks/billpayments/README.md @@ -59,7 +59,7 @@ with Apideck( | `company_id` | *Optional[str]* | :heavy_minus_sign: | The ID of the company to scope requests to. For connectors that support multi-company, this overrides the default company configured in connection settings. | 12345 | | `cursor` | *OptionalNullable[str]* | :heavy_minus_sign: | Cursor to start from. You can find cursors for next/previous pages in the meta.cursors property of the response. | | | `limit` | *Optional[int]* | :heavy_minus_sign: | Number of results to return. Minimum 1, Maximum 200, Default 20 | | -| `filter_` | [Optional[models.PaymentsFilter]](../../models/paymentsfilter.md) | :heavy_minus_sign: | Apply filters | {
"updated_since": "2020-09-30T07:43:32.000Z",
"invoice_id": "123",
"bill_id": "123",
"supplier_id": "123",
"customer_id": "123abc",
"type": "accounts_receivable"
} | +| `filter_` | [Optional[models.PaymentsFilter]](../../models/paymentsfilter.md) | :heavy_minus_sign: | Apply filters | {
"updated_since": "2020-09-30T07:43:32.000Z",
"invoice_id": "123",
"bill_id": "123",
"supplier_id": "123",
"customer_id": "123abc",
"type": "accounts_receivable",
"status": "authorised"
} | | `sort` | [Optional[models.PaymentsSort]](../../models/paymentssort.md) | :heavy_minus_sign: | Apply sorting | {
"by": "updated_at",
"direction": "desc"
} | | `pass_through` | Dict[str, *Any*] | :heavy_minus_sign: | Optional unmapped key/values that will be passed through to downstream as query parameters. Ie: ?pass_through[search]=leads becomes ?search=leads | {
"search": "San Francisco"
} | | `fields` | *OptionalNullable[str]* | :heavy_minus_sign: | The 'fields' parameter allows API users to specify the fields they want to include in the API response. If this parameter is not present, the API will return all available fields. If this parameter is present, only the fields specified in the comma-separated string will be included in the response. Nested properties can also be requested by using a dot notation.

Example: `fields=name,email,addresses.city`

In the example above, the response will only include the fields "name", "email" and "addresses.city". If any other fields are available, they will be excluded. | id,updated_at | diff --git a/docs/sdks/payments/README.md b/docs/sdks/payments/README.md index 3e69cb82..75eb0d4c 100644 --- a/docs/sdks/payments/README.md +++ b/docs/sdks/payments/README.md @@ -59,7 +59,7 @@ with Apideck( | `company_id` | *Optional[str]* | :heavy_minus_sign: | The ID of the company to scope requests to. For connectors that support multi-company, this overrides the default company configured in connection settings. | 12345 | | `cursor` | *OptionalNullable[str]* | :heavy_minus_sign: | Cursor to start from. You can find cursors for next/previous pages in the meta.cursors property of the response. | | | `limit` | *Optional[int]* | :heavy_minus_sign: | Number of results to return. Minimum 1, Maximum 200, Default 20 | | -| `filter_` | [Optional[models.PaymentsFilter]](../../models/paymentsfilter.md) | :heavy_minus_sign: | Apply filters | {
"updated_since": "2020-09-30T07:43:32.000Z",
"invoice_id": "123",
"bill_id": "123",
"supplier_id": "123",
"customer_id": "123abc",
"type": "accounts_receivable"
} | +| `filter_` | [Optional[models.PaymentsFilter]](../../models/paymentsfilter.md) | :heavy_minus_sign: | Apply filters | {
"updated_since": "2020-09-30T07:43:32.000Z",
"invoice_id": "123",
"bill_id": "123",
"supplier_id": "123",
"customer_id": "123abc",
"type": "accounts_receivable",
"status": "authorised"
} | | `sort` | [Optional[models.PaymentsSort]](../../models/paymentssort.md) | :heavy_minus_sign: | Apply sorting | {
"by": "updated_at",
"direction": "desc"
} | | `pass_through` | Dict[str, *Any*] | :heavy_minus_sign: | Optional unmapped key/values that will be passed through to downstream as query parameters. Ie: ?pass_through[search]=leads becomes ?search=leads | {
"search": "San Francisco"
} | | `fields` | *OptionalNullable[str]* | :heavy_minus_sign: | The 'fields' parameter allows API users to specify the fields they want to include in the API response. If this parameter is not present, the API will return all available fields. If this parameter is present, only the fields specified in the comma-separated string will be included in the response. Nested properties can also be requested by using a dot notation.

Example: `fields=name,email,addresses.city`

In the example above, the response will only include the fields "name", "email" and "addresses.city". If any other fields are available, they will be excluded. | id,updated_at | diff --git a/pyproject.toml b/pyproject.toml index c8ffb1d3..4f298f06 100644 --- a/pyproject.toml +++ b/pyproject.toml @@ -1,7 +1,7 @@ [project] name = "apideck-unify" -version = "0.31.11" +version = "0.31.12" description = "Python Client SDK Generated by Speakeasy." authors = [{ name = "Speakeasy" },] readme = "README-PYPI.md" diff --git a/src/apideck_unify/_version.py b/src/apideck_unify/_version.py index d419a2bf..c9b3fa75 100644 --- a/src/apideck_unify/_version.py +++ b/src/apideck_unify/_version.py @@ -3,10 +3,10 @@ import importlib.metadata __title__: str = "apideck-unify" -__version__: str = "0.31.11" -__openapi_doc_version__: str = "10.24.25" +__version__: str = "0.31.12" +__openapi_doc_version__: str = "10.24.27" __gen_version__: str = "2.753.1" -__user_agent__: str = "speakeasy-sdk/python 0.31.11 2.753.1 10.24.25 apideck-unify" +__user_agent__: str = "speakeasy-sdk/python 0.31.12 2.753.1 10.24.27 apideck-unify" try: if __package__ is not None: diff --git a/src/apideck_unify/models/__init__.py b/src/apideck_unify/models/__init__.py index d7f55a22..5d632d6c 100644 --- a/src/apideck_unify/models/__init__.py +++ b/src/apideck_unify/models/__init__.py @@ -4108,6 +4108,7 @@ ) from .paymentsfilter import ( PaymentsFilter, + PaymentsFilterPaymentStatus, PaymentsFilterType, PaymentsFilterTypedDict, ) @@ -8095,6 +8096,7 @@ "PaymentTypedDict", "PaymentUnit", "PaymentsFilter", + "PaymentsFilterPaymentStatus", "PaymentsFilterType", "PaymentsFilterTypedDict", "PaymentsSort", @@ -11889,6 +11891,7 @@ "PaymentRequiredResponse": ".paymentrequiredresponse", "PaymentRequiredResponseData": ".paymentrequiredresponse", "PaymentsFilter": ".paymentsfilter", + "PaymentsFilterPaymentStatus": ".paymentsfilter", "PaymentsFilterType": ".paymentsfilter", "PaymentsFilterTypedDict": ".paymentsfilter", "PaymentsSort": ".paymentssort", diff --git a/src/apideck_unify/models/paymentsfilter.py b/src/apideck_unify/models/paymentsfilter.py index 2b149a96..f7e03101 100644 --- a/src/apideck_unify/models/paymentsfilter.py +++ b/src/apideck_unify/models/paymentsfilter.py @@ -23,6 +23,17 @@ class PaymentsFilterType(str, Enum, metaclass=utils.OpenEnumMeta): ACCOUNTS_PAYABLE_PREPAYMENT = "accounts_payable_prepayment" +class PaymentsFilterPaymentStatus(str, Enum, metaclass=utils.OpenEnumMeta): + r"""Filter by payment status""" + + DRAFT = "draft" + AUTHORISED = "authorised" + REJECTED = "rejected" + PAID = "paid" + VOIDED = "voided" + DELETED = "deleted" + + class PaymentsFilterTypedDict(TypedDict): updated_since: NotRequired[datetime] invoice_id: NotRequired[str] @@ -31,6 +42,8 @@ class PaymentsFilterTypedDict(TypedDict): customer_id: NotRequired[str] r"""Filter by customer id""" type: NotRequired[PaymentsFilterType] + status: NotRequired[PaymentsFilterPaymentStatus] + r"""Filter by payment status""" class PaymentsFilter(BaseModel): @@ -52,6 +65,15 @@ class PaymentsFilter(BaseModel): FieldMetadata(query=True), ] = None + status: Annotated[ + Annotated[ + Optional[PaymentsFilterPaymentStatus], + PlainValidator(validate_open_enum(False)), + ], + FieldMetadata(query=True), + ] = None + r"""Filter by payment status""" + @field_serializer("type") def serialize_type(self, value): if isinstance(value, str): @@ -60,3 +82,12 @@ def serialize_type(self, value): except ValueError: return value return value + + @field_serializer("status") + def serialize_status(self, value): + if isinstance(value, str): + try: + return models.PaymentsFilterPaymentStatus(value) + except ValueError: + return value + return value diff --git a/src/apideck_unify/models/rebilling.py b/src/apideck_unify/models/rebilling.py index b58b1c45..a940c787 100644 --- a/src/apideck_unify/models/rebilling.py +++ b/src/apideck_unify/models/rebilling.py @@ -23,6 +23,7 @@ class RebillStatus(str, Enum, metaclass=utils.OpenEnumMeta): PENDING = "pending" BILLED = "billed" VOIDED = "voided" + OTHER = "other" class RebillingTypedDict(TypedDict): From dc7ebfefa449d62b2b4211b49cf9e7555e54dbc2 Mon Sep 17 00:00:00 2001 From: "speakeasy-github[bot]" <128539517+speakeasy-github[bot]@users.noreply.github.com> Date: Thu, 23 Apr 2026 12:57:55 +0000 Subject: [PATCH 2/2] empty commit to trigger [run-tests] workflow