From cf936d30131fe699fa2ab636fdd91bfcc74195e0 Mon Sep 17 00:00:00 2001 From: speakeasybot Date: Fri, 22 May 2026 13:54:31 +0000 Subject: [PATCH 1/2] ## Python SDK Changes Detected: * `apideck.accounting.ledger_accounts.list()`: `request.filter` **Changed** * `apideck.accounting.invoice_items.list()`: `request.filter` **Changed** * `apideck.connector.connectors.list()`: `request.filter` **Changed** * `apideck.connector.connector_resources.get()`: `request.unified_api` **Changed** --- .speakeasy/gen.lock | 41 ++++++++----- .speakeasy/gen.yaml | 2 +- .speakeasy/workflow.lock | 14 ++--- RELEASES.md | 12 +++- .../accountinginvoiceitemsallrequest.md | 2 +- docs/models/invoiceitemsfilter.md | 1 + docs/models/ledgeraccountsfilter.md | 11 ++-- docs/models/ledgeraccountsfilterstatus.md | 11 ++++ docs/models/unifiedapiid.md | 59 ++++++++++--------- docs/sdks/invoiceitems/README.md | 2 +- pyproject.toml | 2 +- src/apideck_unify/_version.py | 6 +- src/apideck_unify/models/__init__.py | 3 + .../models/invoiceitemsfilter.py | 7 ++- .../models/ledgeraccountsfilter.py | 27 +++++++++ src/apideck_unify/models/unifiedapiid.py | 1 + 16 files changed, 135 insertions(+), 66 deletions(-) create mode 100644 docs/models/ledgeraccountsfilterstatus.md diff --git a/.speakeasy/gen.lock b/.speakeasy/gen.lock index 63f7717c..bd66bdc0 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: a5c46419c74167675cc97e7e7941d983 - docVersion: 10.24.33 + docChecksum: ea9aaa355f5466723f9162ffe21cd8b9 + docVersion: 10.24.34 speakeasyVersion: 1.656.1 generationVersion: 2.753.1 - releaseVersion: 0.31.15 - configChecksum: 63a374b46c5ab4f8cff1742e150139dc + releaseVersion: 0.31.16 + configChecksum: 6ebe80ba411de71d0b68103f5759373b repoURL: https://github.com/apideck-libraries/sdk-python.git installationURL: https://github.com/apideck-libraries/sdk-python.git published: true @@ -1593,6 +1593,7 @@ generatedFiles: - docs/models/ledgeraccountclassification.md - docs/models/ledgeraccountinput.md - docs/models/ledgeraccountsfilter.md + - docs/models/ledgeraccountsfilterstatus.md - docs/models/ledgeraccountssort.md - docs/models/ledgeraccountssortby.md - docs/models/ledgeraccountsubsidiaries.md @@ -4378,7 +4379,7 @@ examples: query: raw: false limit: 20 - filter: {"updated_since": "2020-09-30T07:43:32.000Z", "name": "Widgets Large", "type": "service", "transaction_type": "sale"} + filter: {"updated_since": "2020-09-30T07:43:32.000Z", "ids": "12345,67890", "name": "Widgets Large", "type": "service", "transaction_type": "sale"} sort: {"by": "updated_at", "direction": "desc"} pass_through: {"search": "San Francisco"} fields: "id,updated_at" @@ -19653,6 +19654,12 @@ 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.ledger_accounts.list()`: `request.filter` **Changed** + * `apideck.accounting.invoice_items.list()`: `request.filter` **Changed** + * `apideck.connector.connectors.list()`: `request.filter` **Changed** + * `apideck.connector.connector_resources.get()`: `request.unified_api` **Changed** trackedFiles: .devcontainer/README.md: last_write_checksum: sha1:07adb0c0c051a9be4d479ea06461f3a9b3bbeb2f @@ -20133,7 +20140,7 @@ trackedFiles: docs/models/accountinginvoiceitemsallglobals.md: last_write_checksum: sha1:47d8c4f738a819cd59486d5f9d84559042227171 docs/models/accountinginvoiceitemsallrequest.md: - last_write_checksum: sha1:dbe5e1b97e6d245740f5af0fbf70cb07bf67a61e + last_write_checksum: sha1:b34a20f408db59270a5c5f79c7e716e1343b2fc8 docs/models/accountinginvoiceitemsallresponse.md: last_write_checksum: sha1:2720cf0d042f6c63a05002d36ec1da9415e3c363 docs/models/accountinginvoiceitemsdeleteglobals.md: @@ -22575,7 +22582,7 @@ trackedFiles: docs/models/invoiceitemsalesdetails.md: last_write_checksum: sha1:e86574bd1508f782013ad3e72c31f87971524cf1 docs/models/invoiceitemsfilter.md: - last_write_checksum: sha1:64bace0fb7460af74e711d3ece5bbf3224e2b093 + last_write_checksum: sha1:7c0aefca2a8b00117842860327829391fd865427 docs/models/invoiceitemssort.md: last_write_checksum: sha1:69616d3404cad41715adbbeec8fa9bf292faae30 docs/models/invoiceitemssortby.md: @@ -22745,7 +22752,9 @@ trackedFiles: docs/models/ledgeraccountinput.md: last_write_checksum: sha1:4ac3c9d202db5f43f07936ebcc53c16f2cbde2ba docs/models/ledgeraccountsfilter.md: - last_write_checksum: sha1:8b320f3ffad8f6dde8aa1ee746b8d1d16ec7c30f + last_write_checksum: sha1:aa41ec441db68d4235157bf37b17c9ee47a4d22b + docs/models/ledgeraccountsfilterstatus.md: + last_write_checksum: sha1:a14b96feb7ea68ab27a33069477d678f2068badb docs/models/ledgeraccountssort.md: last_write_checksum: sha1:0e5ec030881ee091760439c4dd6497da0698dc0c docs/models/ledgeraccountssortby.md: @@ -23291,7 +23300,7 @@ trackedFiles: docs/models/unifiedapi.md: last_write_checksum: sha1:1bdfe723449d04a350d28c3c941fa8335de22631 docs/models/unifiedapiid.md: - last_write_checksum: sha1:3588538555cf556d50792bd594ef13dbb1eface3 + last_write_checksum: sha1:daa11a2da1d1261849b494fa3285a1d5cb7f24e2 docs/models/unifiedapis.md: last_write_checksum: sha1:726956c8c68ea94e2e8204b9dc80affa3387115b docs/models/unifiedfile.md: @@ -23773,7 +23782,7 @@ trackedFiles: docs/sdks/folders/README.md: last_write_checksum: sha1:2997e8070c3ac42b86e6a3b8e611ab6a468c54ab docs/sdks/invoiceitems/README.md: - last_write_checksum: sha1:227e98fc3cdb093935058a6e191b97299dab86ae + last_write_checksum: sha1:d2426572c3480a9b6d0befefb7256a11051b7d76 docs/sdks/invoices/README.md: last_write_checksum: sha1:7cbcdc7a1d31852425b6651cd60a82c1e2cc3cbf docs/sdks/jobs/README.md: @@ -23861,7 +23870,7 @@ trackedFiles: src/apideck_unify/_hooks/types.py: last_write_checksum: sha1:4b923d3d84d979af6169a9db6b81bfc373079a25 src/apideck_unify/_version.py: - last_write_checksum: sha1:6d09677a3be312e7421b5195cf07c08dfb82f490 + last_write_checksum: sha1:0292ece848f25f7a1975b62da7e65eaf2b861649 src/apideck_unify/accounting.py: last_write_checksum: sha1:afb8958c0092d6bbc935597b72e8a96d2b82b4aa src/apideck_unify/activities.py: @@ -24017,7 +24026,7 @@ trackedFiles: src/apideck_unify/messages.py: last_write_checksum: sha1:158b4c1fb137ee3ac806cc6a59c8d906b01233d6 src/apideck_unify/models/__init__.py: - last_write_checksum: sha1:587ce7ac7854d3287bb1fb38278aaa37921299c8 + last_write_checksum: sha1:445a459a69075c85a8fa6c0266fc0fa32d5001e1 src/apideck_unify/models/accounting_agedcreditorsoneop.py: last_write_checksum: sha1:7346d1ab1c21db21995aae34c5ba01549c2786c2 src/apideck_unify/models/accounting_ageddebtorsoneop.py: @@ -25443,7 +25452,7 @@ trackedFiles: src/apideck_unify/models/invoiceitemfilter.py: last_write_checksum: sha1:bf9fe557898e15320cd93dcc5f64f9b5d1586fc7 src/apideck_unify/models/invoiceitemsfilter.py: - last_write_checksum: sha1:1698ac1da3e7e3de2478069883220225118dd78a + last_write_checksum: sha1:12dbbd45537a445ad1d71bb21f2a74fdd507e74f src/apideck_unify/models/invoiceitemssort.py: last_write_checksum: sha1:c82ca03f6566821fa66c901052a93654feb62da2 src/apideck_unify/models/invoicelineitem.py: @@ -25509,7 +25518,7 @@ trackedFiles: src/apideck_unify/models/ledgeraccount.py: last_write_checksum: sha1:955a153c9bc9bb0401d41ff11a7eef61981df5cf src/apideck_unify/models/ledgeraccountsfilter.py: - last_write_checksum: sha1:e4c4df55cc600bbf701f6d0d6d4818ee23c12f1e + last_write_checksum: sha1:dd7c1cc04bc8ccfad7f2dd3be9d15515befa6854 src/apideck_unify/models/ledgeraccountssort.py: last_write_checksum: sha1:50e3c719cae78fd57ea86ef3ebe9be76c7a1e01d src/apideck_unify/models/lineitemtype.py: @@ -25775,7 +25784,7 @@ trackedFiles: src/apideck_unify/models/unexpectederrorresponse.py: last_write_checksum: sha1:3dc0c7f7c1f3429aa4fe7369e859d2fad6436202 src/apideck_unify/models/unifiedapiid.py: - last_write_checksum: sha1:95651dbea794a72a9e6e2f7677d8bee59f5c33f2 + last_write_checksum: sha1:4646a9086cd0a057603708951ed55c54e38c1fcf src/apideck_unify/models/unifiedfile.py: last_write_checksum: sha1:8e399cb391e3f185da27247420846849e0b8cc23 src/apideck_unify/models/unifiedid.py: @@ -26013,7 +26022,7 @@ trackedFiles: src/apideck_unify/refunds.py: last_write_checksum: sha1:c51716769333075b09e46c1df729980b1dfa4552 src/apideck_unify/sdk.py: - last_write_checksum: sha1:feae857f6d254bc9bb156767d2a72f6380cc607a + last_write_checksum: sha1:c36fd87d8a9d1b51c46deeb198cc84a9761aedfb src/apideck_unify/sdkconfiguration.py: last_write_checksum: sha1:41dc7958d7c9ad55f49a781091bea6d6d4c8d7ab src/apideck_unify/sessions.py: diff --git a/.speakeasy/gen.yaml b/.speakeasy/gen.yaml index 4562f734..faa82b33 100644 --- a/.speakeasy/gen.yaml +++ b/.speakeasy/gen.yaml @@ -32,7 +32,7 @@ generation: persistentEdits: {} versioningStrategy: automatic python: - version: 0.31.15 + version: 0.31.16 additionalDependencies: dev: {} main: {} diff --git a/.speakeasy/workflow.lock b/.speakeasy/workflow.lock index a5c6586c..07eba792 100644 --- a/.speakeasy/workflow.lock +++ b/.speakeasy/workflow.lock @@ -2,20 +2,20 @@ speakeasyVersion: 1.656.1 sources: Apideck: sourceNamespace: apideck - sourceRevisionDigest: sha256:fa52a9501f103c65be29c007b8bbdf1c11efe60d02514b04c38a995144baf26d - sourceBlobDigest: sha256:0a1e2245f8e9c7d59f9cfb8b3a2247c2b65d6762eda4221e6fef17689cdc3815 + sourceRevisionDigest: sha256:7a42d4108fe1d55876422e0a16306c9a7af77979ef81e0e04772eb17cb74416f + sourceBlobDigest: sha256:b058ded5d966479da5dd969e885a9a256398d7db68cc59cf284b5b7abf7f64e8 tags: - latest - - speakeasy-sdk-regen-1778861642 - - 10.24.33 + - speakeasy-sdk-regen-1779304254 + - 10.24.34 targets: apideck: source: Apideck sourceNamespace: apideck - sourceRevisionDigest: sha256:fa52a9501f103c65be29c007b8bbdf1c11efe60d02514b04c38a995144baf26d - sourceBlobDigest: sha256:0a1e2245f8e9c7d59f9cfb8b3a2247c2b65d6762eda4221e6fef17689cdc3815 + sourceRevisionDigest: sha256:7a42d4108fe1d55876422e0a16306c9a7af77979ef81e0e04772eb17cb74416f + sourceBlobDigest: sha256:b058ded5d966479da5dd969e885a9a256398d7db68cc59cf284b5b7abf7f64e8 codeSamplesNamespace: apideck-python-code-samples - codeSamplesRevisionDigest: sha256:830b6217f43713aa502c1accf5299ac8aa5d9ad9aaf33dbd3dedf78c69eb99af + codeSamplesRevisionDigest: sha256:3ff850ac8ac06edc3c284c9c9b1b228ad523698d70968f06fa33280327d11398 workflow: workflowVersion: 1.0.0 speakeasyVersion: latest diff --git a/RELEASES.md b/RELEASES.md index ecb7783b..d32bb4e4 100644 --- a/RELEASES.md +++ b/RELEASES.md @@ -1218,4 +1218,14 @@ Based on: ### Generated - [python v0.31.15] . ### Releases -- [PyPI v0.31.15] https://pypi.org/project/apideck-unify/0.31.15 - . \ No newline at end of file +- [PyPI v0.31.15] https://pypi.org/project/apideck-unify/0.31.15 - . + +## 2026-05-22 13:47:12 +### Changes +Based on: +- OpenAPI Doc +- Speakeasy CLI 1.656.1 (2.753.1) https://github.com/speakeasy-api/speakeasy +### Generated +- [python v0.31.16] . +### Releases +- [PyPI v0.31.16] https://pypi.org/project/apideck-unify/0.31.16 - . \ No newline at end of file diff --git a/docs/models/accountinginvoiceitemsallrequest.md b/docs/models/accountinginvoiceitemsallrequest.md index 18623112..48731661 100644 --- a/docs/models/accountinginvoiceitemsallrequest.md +++ b/docs/models/accountinginvoiceitemsallrequest.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.InvoiceItemsFilter]](../models/invoiceitemsfilter.md) | :heavy_minus_sign: | Apply filters | {
"updated_since": "2020-09-30T07:43:32.000Z",
"name": "Widgets Large",
"type": "service",
"transaction_type": "sale"
} | +| `filter_` | [Optional[models.InvoiceItemsFilter]](../models/invoiceitemsfilter.md) | :heavy_minus_sign: | Apply filters | {
"updated_since": "2020-09-30T07:43:32.000Z",
"name": "Widgets Large",
"type": "service",
"transaction_type": "sale",
"ids": "12345,67890"
} | | `sort` | [Optional[models.InvoiceItemsSort]](../models/invoiceitemssort.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/invoiceitemsfilter.md b/docs/models/invoiceitemsfilter.md index fdc4d99f..95d066c5 100644 --- a/docs/models/invoiceitemsfilter.md +++ b/docs/models/invoiceitemsfilter.md @@ -6,6 +6,7 @@ | 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 | +| `ids` | *Optional[str]* | :heavy_minus_sign: | Comma-separated list of invoice item IDs to filter by (e.g. `12345,67890`). | 12345,67890 | | `name` | *Optional[str]* | :heavy_minus_sign: | Name of Invoice Items to search for | Widgets Large | | `type` | [OptionalNullable[models.InvoiceItemType]](../models/invoiceitemtype.md) | :heavy_minus_sign: | The type of invoice item, indicating whether it is an inventory item, a service, or another type. | service | | `transaction_type` | [OptionalNullable[models.TransactionType]](../models/transactiontype.md) | :heavy_minus_sign: | The kind of transaction, indicating whether it is a sales transaction or a purchase transaction. | sale | \ No newline at end of file diff --git a/docs/models/ledgeraccountsfilter.md b/docs/models/ledgeraccountsfilter.md index 5853329c..6e843825 100644 --- a/docs/models/ledgeraccountsfilter.md +++ b/docs/models/ledgeraccountsfilter.md @@ -3,8 +3,9 @@ ## Fields -| Field | Type | Required | Description | Example | -| -------------------------------------------------------------------- | -------------------------------------------------------------------- | -------------------------------------------------------------------- | -------------------------------------------------------------------- | -------------------------------------------------------------------- | -| `name` | *Optional[str]* | :heavy_minus_sign: | Filter by ledger account name | Sales | -| `updated_since` | [date](https://docs.python.org/3/library/datetime.html#date-objects) | :heavy_minus_sign: | N/A | 2020-09-30T07:43:32.000Z | -| `classification` | [Optional[models.Classification]](../models/classification.md) | :heavy_minus_sign: | Filter by account classification. | asset | \ No newline at end of file +| Field | Type | Required | Description | Example | +| -------------------------------------------------------------------------------------- | -------------------------------------------------------------------------------------- | -------------------------------------------------------------------------------------- | -------------------------------------------------------------------------------------- | -------------------------------------------------------------------------------------- | +| `name` | *Optional[str]* | :heavy_minus_sign: | Filter by ledger account name | Sales | +| `updated_since` | [date](https://docs.python.org/3/library/datetime.html#date-objects) | :heavy_minus_sign: | N/A | 2020-09-30T07:43:32.000Z | +| `classification` | [Optional[models.Classification]](../models/classification.md) | :heavy_minus_sign: | Filter by account classification. | asset | +| `status` | [Optional[models.LedgerAccountsFilterStatus]](../models/ledgeraccountsfilterstatus.md) | :heavy_minus_sign: | Filter by account status. | active | \ No newline at end of file diff --git a/docs/models/ledgeraccountsfilterstatus.md b/docs/models/ledgeraccountsfilterstatus.md new file mode 100644 index 00000000..51687302 --- /dev/null +++ b/docs/models/ledgeraccountsfilterstatus.md @@ -0,0 +1,11 @@ +# LedgerAccountsFilterStatus + +Filter by account status. + + +## Values + +| Name | Value | +| ---------- | ---------- | +| `ACTIVE` | active | +| `INACTIVE` | inactive | \ No newline at end of file diff --git a/docs/models/unifiedapiid.md b/docs/models/unifiedapiid.md index c0f99f05..16d312c3 100644 --- a/docs/models/unifiedapiid.md +++ b/docs/models/unifiedapiid.md @@ -5,32 +5,33 @@ Name of Apideck Unified API ## Values -| Name | Value | -| --------------------- | --------------------- | -| `ACCOUNTING` | accounting | -| `ATS` | ats | -| `CALENDAR` | calendar | -| `CRM` | crm | -| `CSP` | csp | -| `CUSTOMER_SUPPORT` | customer-support | -| `ECOMMERCE` | ecommerce | -| `EMAIL` | email | -| `EMAIL_MARKETING` | email-marketing | -| `EXPENSE_MANAGEMENT` | expense-management | -| `FILE_STORAGE` | file-storage | -| `FORM` | form | -| `HRIS` | hris | -| `LEAD` | lead | -| `PAYROLL` | payroll | -| `POS` | pos | -| `PROCUREMENT` | procurement | -| `PROJECT_MANAGEMENT` | project-management | -| `SCRIPT` | script | -| `SMS` | sms | -| `SPREADSHEET` | spreadsheet | -| `TEAM_MESSAGING` | team-messaging | -| `ISSUE_TRACKING` | issue-tracking | -| `TIME_REGISTRATION` | time-registration | -| `TRANSACTIONAL_EMAIL` | transactional-email | -| `VAULT` | vault | -| `DATA_WAREHOUSE` | data-warehouse | \ No newline at end of file +| Name | Value | +| ------------------------ | ------------------------ | +| `ACCOUNTING` | accounting | +| `ATS` | ats | +| `CALENDAR` | calendar | +| `CRM` | crm | +| `CSP` | csp | +| `CUSTOMER_SUPPORT` | customer-support | +| `ECOMMERCE` | ecommerce | +| `EMAIL` | email | +| `EMAIL_MARKETING` | email-marketing | +| `EXPENSE_MANAGEMENT` | expense-management | +| `FILE_STORAGE` | file-storage | +| `FORM` | form | +| `HRIS` | hris | +| `LEAD` | lead | +| `PAYROLL` | payroll | +| `POS` | pos | +| `PROCUREMENT` | procurement | +| `PROJECT_MANAGEMENT` | project-management | +| `SCRIPT` | script | +| `SMS` | sms | +| `SPREADSHEET` | spreadsheet | +| `SUBSCRIPTION_ANALYTICS` | subscription-analytics | +| `TEAM_MESSAGING` | team-messaging | +| `ISSUE_TRACKING` | issue-tracking | +| `TIME_REGISTRATION` | time-registration | +| `TRANSACTIONAL_EMAIL` | transactional-email | +| `VAULT` | vault | +| `DATA_WAREHOUSE` | data-warehouse | \ No newline at end of file diff --git a/docs/sdks/invoiceitems/README.md b/docs/sdks/invoiceitems/README.md index 73403311..65eebaa2 100644 --- a/docs/sdks/invoiceitems/README.md +++ b/docs/sdks/invoiceitems/README.md @@ -58,7 +58,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.InvoiceItemsFilter]](../../models/invoiceitemsfilter.md) | :heavy_minus_sign: | Apply filters | {
"updated_since": "2020-09-30T07:43:32.000Z",
"name": "Widgets Large",
"type": "service",
"transaction_type": "sale"
} | +| `filter_` | [Optional[models.InvoiceItemsFilter]](../../models/invoiceitemsfilter.md) | :heavy_minus_sign: | Apply filters | {
"updated_since": "2020-09-30T07:43:32.000Z",
"name": "Widgets Large",
"type": "service",
"transaction_type": "sale",
"ids": "12345,67890"
} | | `sort` | [Optional[models.InvoiceItemsSort]](../../models/invoiceitemssort.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 c3277dac..849beada 100644 --- a/pyproject.toml +++ b/pyproject.toml @@ -1,7 +1,7 @@ [project] name = "apideck-unify" -version = "0.31.15" +version = "0.31.16" 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 a9ac70d7..cb60210b 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.15" -__openapi_doc_version__: str = "10.24.33" +__version__: str = "0.31.16" +__openapi_doc_version__: str = "10.24.34" __gen_version__: str = "2.753.1" -__user_agent__: str = "speakeasy-sdk/python 0.31.15 2.753.1 10.24.33 apideck-unify" +__user_agent__: str = "speakeasy-sdk/python 0.31.16 2.753.1 10.24.34 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 db716f5d..22c3efac 100644 --- a/src/apideck_unify/models/__init__.py +++ b/src/apideck_unify/models/__init__.py @@ -3960,6 +3960,7 @@ from .ledgeraccountsfilter import ( Classification, LedgerAccountsFilter, + LedgerAccountsFilterStatus, LedgerAccountsFilterTypedDict, ) from .ledgeraccountssort import ( @@ -7942,6 +7943,7 @@ "LedgerAccountType", "LedgerAccountTypedDict", "LedgerAccountsFilter", + "LedgerAccountsFilterStatus", "LedgerAccountsFilterTypedDict", "LedgerAccountsSort", "LedgerAccountsSortBy", @@ -11758,6 +11760,7 @@ "SubAccountsTypedDict": ".ledgeraccount", "Classification": ".ledgeraccountsfilter", "LedgerAccountsFilter": ".ledgeraccountsfilter", + "LedgerAccountsFilterStatus": ".ledgeraccountsfilter", "LedgerAccountsFilterTypedDict": ".ledgeraccountsfilter", "LedgerAccountsSort": ".ledgeraccountssort", "LedgerAccountsSortBy": ".ledgeraccountssort", diff --git a/src/apideck_unify/models/invoiceitemsfilter.py b/src/apideck_unify/models/invoiceitemsfilter.py index 5c7e1ab2..faaa9605 100644 --- a/src/apideck_unify/models/invoiceitemsfilter.py +++ b/src/apideck_unify/models/invoiceitemsfilter.py @@ -35,6 +35,8 @@ class TransactionType(str, Enum, metaclass=utils.OpenEnumMeta): class InvoiceItemsFilterTypedDict(TypedDict): updated_since: NotRequired[datetime] + ids: NotRequired[str] + r"""Comma-separated list of invoice item IDs to filter by (e.g. `12345,67890`).""" name: NotRequired[str] r"""Name of Invoice Items to search for""" type: NotRequired[Nullable[InvoiceItemType]] @@ -46,6 +48,9 @@ class InvoiceItemsFilterTypedDict(TypedDict): class InvoiceItemsFilter(BaseModel): updated_since: Annotated[Optional[datetime], FieldMetadata(query=True)] = None + ids: Annotated[Optional[str], FieldMetadata(query=True)] = None + r"""Comma-separated list of invoice item IDs to filter by (e.g. `12345,67890`).""" + name: Annotated[Optional[str], FieldMetadata(query=True)] = None r"""Name of Invoice Items to search for""" @@ -85,7 +90,7 @@ def serialize_transaction_type(self, value): @model_serializer(mode="wrap") def serialize_model(self, handler): - optional_fields = ["updated_since", "name", "type", "transaction_type"] + optional_fields = ["updated_since", "ids", "name", "type", "transaction_type"] nullable_fields = ["type", "transaction_type"] null_default_fields = [] diff --git a/src/apideck_unify/models/ledgeraccountsfilter.py b/src/apideck_unify/models/ledgeraccountsfilter.py index cfcc6bf5..2c3b3d08 100644 --- a/src/apideck_unify/models/ledgeraccountsfilter.py +++ b/src/apideck_unify/models/ledgeraccountsfilter.py @@ -27,12 +27,21 @@ class Classification(str, Enum, metaclass=utils.OpenEnumMeta): OTHER = "other" +class LedgerAccountsFilterStatus(str, Enum, metaclass=utils.OpenEnumMeta): + r"""Filter by account status.""" + + ACTIVE = "active" + INACTIVE = "inactive" + + class LedgerAccountsFilterTypedDict(TypedDict): name: NotRequired[str] r"""Filter by ledger account name""" updated_since: NotRequired[datetime] classification: NotRequired[Classification] r"""Filter by account classification.""" + status: NotRequired[LedgerAccountsFilterStatus] + r"""Filter by account status.""" class LedgerAccountsFilter(BaseModel): @@ -47,6 +56,15 @@ class LedgerAccountsFilter(BaseModel): ] = None r"""Filter by account classification.""" + status: Annotated[ + Annotated[ + Optional[LedgerAccountsFilterStatus], + PlainValidator(validate_open_enum(False)), + ], + FieldMetadata(query=True), + ] = None + r"""Filter by account status.""" + @field_serializer("classification") def serialize_classification(self, value): if isinstance(value, str): @@ -55,3 +73,12 @@ def serialize_classification(self, value): except ValueError: return value return value + + @field_serializer("status") + def serialize_status(self, value): + if isinstance(value, str): + try: + return models.LedgerAccountsFilterStatus(value) + except ValueError: + return value + return value diff --git a/src/apideck_unify/models/unifiedapiid.py b/src/apideck_unify/models/unifiedapiid.py index 4f866d9f..09c21f41 100644 --- a/src/apideck_unify/models/unifiedapiid.py +++ b/src/apideck_unify/models/unifiedapiid.py @@ -29,6 +29,7 @@ class UnifiedAPIID(str, Enum, metaclass=utils.OpenEnumMeta): SCRIPT = "script" SMS = "sms" SPREADSHEET = "spreadsheet" + SUBSCRIPTION_ANALYTICS = "subscription-analytics" TEAM_MESSAGING = "team-messaging" ISSUE_TRACKING = "issue-tracking" TIME_REGISTRATION = "time-registration" From 0f4ebd32b2f80b708fe16c03bb3bfb63655de869 Mon Sep 17 00:00:00 2001 From: "speakeasy-github[bot]" <128539517+speakeasy-github[bot]@users.noreply.github.com> Date: Fri, 22 May 2026 13:54:57 +0000 Subject: [PATCH 2/2] empty commit to trigger [run-tests] workflow