diff --git a/.speakeasy/gen.lock b/.speakeasy/gen.lock index cb39e589..52e24eb6 100755 --- a/.speakeasy/gen.lock +++ b/.speakeasy/gen.lock @@ -1,12 +1,12 @@ lockVersion: 2.0.0 id: 8b5fa338-9106-4734-abf0-e30d67044a90 management: - docChecksum: 55560f658152696f9515aab6d5d87d02 - docVersion: 1.0.0 - speakeasyVersion: 1.498.0 - generationVersion: 2.518.0 - releaseVersion: 0.30.2 - configChecksum: d3d1b9d76ad643645f8dc5e232a56669 + docChecksum: ecf43991e66b0e7217a77239ed0a1da9 + docVersion: 1.0.68 + speakeasyVersion: 1.498.1 + generationVersion: 2.518.1 + releaseVersion: 0.30.3 + configChecksum: 8f8960cde56a4a3e94f39254a7afa405 repoURL: https://github.com/Unstructured-IO/unstructured-python-client.git repoSubDirectory: . installationURL: https://github.com/Unstructured-IO/unstructured-python-client.git @@ -40,6 +40,7 @@ generatedFiles: - .python-version - .vscode/settings.json - USAGE.md + - docs/models/errors/detail.md - docs/models/errors/httpvalidationerror.md - docs/models/errors/servererror.md - docs/models/operations/canceljobrequest.md @@ -130,7 +131,6 @@ generatedFiles: - src/unstructured_client/_version.py - src/unstructured_client/basesdk.py - src/unstructured_client/destinations.py - - src/unstructured_client/general.py - src/unstructured_client/httpclient.py - src/unstructured_client/jobs.py - src/unstructured_client/models/errors/__init__.py @@ -211,7 +211,7 @@ examples: "200": application/json: {"config": {"account_key": "azure_account_key", "account_name": "azure_account_name", "anonymous": false, "recursive": true, "remote_url": "az://"}, "created_at": "2023-11-15T01:07:46.428Z", "id": "05b94b3c-bed9-4976-bf02-38635119a590", "name": "", "type": "databricks_volumes"} "422": - application/json: {} + application/json: {"detail": ""} delete_destination: speakeasy-default-delete-destination: parameters: @@ -222,7 +222,7 @@ examples: "200": application/json: "" "422": - application/json: {} + application/json: {"detail": []} get_destination: speakeasy-default-get-destination: parameters: @@ -233,14 +233,14 @@ examples: "200": application/json: {"config": {"account_key": "azure_account_key", "account_name": "azure_account_name", "anonymous": false, "recursive": true, "remote_url": "az://"}, "created_at": "2024-10-14T19:54:11.006Z", "id": "42a89289-d2ad-4317-9f06-cb55de8b2b8c", "name": "", "type": "databricks_volumes"} "422": - application/json: {} + application/json: {"detail": [{"loc": ["", ""], "msg": "", "type": ""}, {"loc": [939869, 667498, ""], "msg": "", "type": ""}]} list_destinations: speakeasy-default-list-destinations: responses: "200": application/json: [{"config": {"account_key": "azure_account_key", "account_name": "azure_account_name", "anonymous": false, "recursive": true, "remote_url": "az://"}, "created_at": "2023-02-24T01:08:17.980Z", "id": "c363dec3-c705-4ee0-a414-81044a6e1cc3", "name": "", "type": "snowflake"}] "422": - application/json: {} + application/json: {"detail": ""} update_destination: speakeasy-default-update-destination: parameters: @@ -253,7 +253,7 @@ examples: "200": application/json: {"config": {"account_key": "azure_account_key", "account_name": "azure_account_name", "anonymous": false, "recursive": true, "remote_url": "az://"}, "created_at": "2025-01-09T05:32:50.655Z", "id": "9d27c4e2-ecb5-4a69-971b-d7ec9d2266e1", "name": "", "type": "postgres"} "422": - application/json: {} + application/json: {"detail": ""} cancel_job: speakeasy-default-cancel-job: parameters: @@ -264,7 +264,7 @@ examples: "200": application/json: "" "422": - application/json: {} + application/json: {"detail": ""} get_job: speakeasy-default-get-job: parameters: @@ -275,14 +275,14 @@ examples: "200": application/json: {"created_at": "2025-01-14T00:09:32.358Z", "id": "d18f330b-506f-455c-9cb8-0cee2386ac29", "runtime": "", "status": "", "workflow_id": "136fd799-4c45-4417-a632-f460d8ebb2a2", "workflow_name": ""} "422": - application/json: {} + application/json: {"detail": [{"loc": ["", 701982], "msg": "", "type": ""}, {"loc": [""], "msg": "", "type": ""}]} list_jobs: speakeasy-default-list-jobs: responses: "200": application/json: [{"created_at": "2023-09-01T17:59:19.211Z", "id": "7098ff76-419f-4a5a-a313-d159507b629d", "runtime": "", "status": "", "workflow_id": "75cf761e-8c10-48e4-b3d7-6ae90ad4fd3e", "workflow_name": ""}] "422": - application/json: {} + application/json: {"detail": []} create_source: speakeasy-default-create-source: requestBody: @@ -291,7 +291,7 @@ examples: "200": application/json: {"config": {"batch_size": 100, "bucket": "bucket-name", "collection": "collection_name", "collection_id": "type", "connection_string": "couchbases://cb.abcdefg.cloud.couchbase.com", "password": "password", "scope": "scope_name", "username": "username"}, "created_at": "2023-04-25T02:02:10.136Z", "id": "18d86009-3eb2-422a-a875-93c814e4cdc9", "name": "", "type": "dropbox"} "422": - application/json: {} + application/json: {"detail": []} delete_source: speakeasy-default-delete-source: parameters: @@ -302,7 +302,7 @@ examples: "200": application/json: "" "422": - application/json: {} + application/json: {"detail": ""} get_source: speakeasy-default-get-source: parameters: @@ -313,14 +313,14 @@ examples: "200": application/json: {"config": {"batch_size": 100, "bucket": "bucket-name", "collection": "collection_name", "collection_id": "type", "connection_string": "couchbases://cb.abcdefg.cloud.couchbase.com", "password": "password", "scope": "scope_name", "username": "username"}, "created_at": "2023-05-26T11:39:22.869Z", "id": "24daedf6-4f76-49d1-a6af-bb58044f8cfd", "name": "", "type": "sharepoint"} "422": - application/json: {} + application/json: {"detail": []} list_sources: speakeasy-default-list-sources: responses: "200": application/json: [{"config": {"account_key": "azure_account_key", "account_name": "azure_account_name", "anonymous": false, "recursive": true, "remote_url": "az://"}, "created_at": "2024-12-15T10:13:09.959Z", "id": "15d41617-7a0e-4086-a5e8-6f398ce15adf", "name": "", "type": "postgres"}] "422": - application/json: {} + application/json: {"detail": [{"loc": [], "msg": "", "type": ""}, {"loc": [312491], "msg": "", "type": ""}]} update_source: speakeasy-default-update-source: parameters: @@ -333,7 +333,7 @@ examples: "200": application/json: {"config": {"account_key": "azure_account_key", "account_name": "azure_account_name", "anonymous": false, "recursive": true, "remote_url": "az://"}, "created_at": "2025-05-26T03:32:19.957Z", "id": "439e8ef6-c69c-49e3-9ba7-a8418be7cbe9", "name": "", "type": "snowflake"} "422": - application/json: {} + application/json: {"detail": ""} create_workflow: speakeasy-default-create-workflow: requestBody: @@ -342,7 +342,7 @@ examples: "200": application/json: {"created_at": "2025-06-03T14:40:43.213Z", "destinations": ["7a3141b6-19c5-4d0d-aa5f-5edb0b22f19c", "e4d2c1c2-a0f5-404c-b37f-b0f07c5417c9"], "id": "2569dec8-72ff-4e46-b78b-ffe279bdaafc", "name": "", "schedule": {"crontab_entries": [{"cron_expression": "0 0 * * *"}]}, "sources": ["47b1728b-a663-4345-8bae-a1ae67a567f1"], "status": "active", "workflow_type": "advanced"} "422": - application/json: {} + application/json: {"detail": ""} delete_workflow: speakeasy-default-delete-workflow: parameters: @@ -353,7 +353,7 @@ examples: "200": application/json: "" "422": - application/json: {} + application/json: {"detail": [{"loc": ["", 852050, ""], "msg": "", "type": ""}]} get_workflow: speakeasy-default-get-workflow: parameters: @@ -364,14 +364,14 @@ examples: "200": application/json: {"created_at": "2023-05-27T02:17:56.472Z", "destinations": [], "id": "5781a90a-c5ba-41a1-ac38-4b031d1d247d", "name": "", "schedule": {"crontab_entries": [{"cron_expression": "0 0 * * *"}]}, "sources": ["1ecf852c-a41e-4193-b8ae-7afe4e642c1d", "73825739-ddfe-44a7-b2e9-6adc9e5972ee", "32976128-e157-4711-b160-6c7e63baa0cb"], "status": "inactive", "workflow_type": "platinum"} "422": - application/json: {} + application/json: {"detail": [{"loc": [], "msg": "", "type": ""}]} list_workflows: speakeasy-default-list-workflows: responses: "200": application/json: [{"created_at": "2025-06-22T11:37:21.648Z", "destinations": ["aeebecc7-9d8e-4625-bf1d-815c2f084869", "01866db9-54f2-4be7-93c3-062b8107d001", "fcdc4994-eea5-425c-91fa-e03f2bd8030d"], "id": "16b80fee-64dc-472d-8f26-1d7729b6423d", "name": "", "schedule": {"crontab_entries": [{"cron_expression": "0 0 * * *"}]}, "sources": [], "status": "active", "workflow_type": "advanced"}] "422": - application/json: {} + application/json: {"detail": [{"loc": [931730, 730320, 769892], "msg": "", "type": ""}, {"loc": ["", 862351, 882715], "msg": "", "type": ""}, {"loc": [""], "msg": "", "type": ""}]} run_workflow: speakeasy-default-run-workflow: parameters: @@ -382,7 +382,7 @@ examples: "202": application/json: {"created_at": "2024-08-04T10:06:22.481Z", "destinations": [], "id": "6c4f327c-7ca2-4933-a68d-2ebe9d9f1445", "name": "", "schedule": {"crontab_entries": [{"cron_expression": "0 0 * * *"}]}, "sources": ["a9593964-92eb-496f-84ac-c8f067ba24c3"], "status": "inactive", "workflow_type": "custom"} "422": - application/json: {} + application/json: {"detail": [{"loc": [""], "msg": "", "type": ""}, {"loc": [397022, 604524], "msg": "", "type": ""}]} update_workflow: speakeasy-default-update-workflow: parameters: @@ -395,7 +395,7 @@ examples: "200": application/json: {"created_at": "2024-02-01T21:33:30.305Z", "destinations": [], "id": "4348c683-9378-4211-a7a6-ea9307f1cbb9", "name": "", "schedule": {"crontab_entries": [{"cron_expression": "0 0 * * *"}]}, "sources": ["179309ff-51c8-4023-9475-af5f2a03511d"], "status": "active", "workflow_type": "platinum"} "422": - application/json: {} + application/json: {"detail": ""} partition: speakeasy-default-partition: requestBody: @@ -405,7 +405,7 @@ examples: application/json: [{"type": "Title", "element_id": "6aa0ff22f91bbe7e26e8e25ca8052acd", "text": "LayoutParser: A Unified Toolkit for Deep Learning Based Document Image Analysis", "metadata": {"languages": ["eng"], "page_number": 1, "filename": "layout-parser-paper.pdf", "filetype": "application/pdf"}}] text/csv: "" "422": - application/json: {} + application/json: {"detail": []} 5XX: application/json: {"detail": "An error occurred"} examplesVersion: 1.0.0 diff --git a/.speakeasy/workflow.lock b/.speakeasy/workflow.lock index 2a6c9f12..38bb3545 100644 --- a/.speakeasy/workflow.lock +++ b/.speakeasy/workflow.lock @@ -1,29 +1,29 @@ -speakeasyVersion: 1.498.0 +speakeasyVersion: 1.498.1 sources: my-source: sourceNamespace: my-source - sourceRevisionDigest: sha256:3f0b1ceea00a0e10f5e8e22a5bc9a6e7e7da3d1fb6bfcd7d2a832185e6c7fbc9 - sourceBlobDigest: sha256:b9141ea121d6bc1aa41cd57b544dc7e2111d68a80a207fd394ef368481e86ba4 + sourceRevisionDigest: sha256:3a375218a87eae405feb875c8aae5606e30a806e429bb45a7bb9fe4ec3e93550 + sourceBlobDigest: sha256:ee590e22c2420902e4013cdd462014c326a6be029ec482d38c24c55712280117 tags: - latest - - speakeasy-sdk-regen-1740071825 - - 1.0.0 + - speakeasy-sdk-regen-1740096591 + - 1.0.68 targets: unstructured-python: source: my-source sourceNamespace: my-source - sourceRevisionDigest: sha256:3f0b1ceea00a0e10f5e8e22a5bc9a6e7e7da3d1fb6bfcd7d2a832185e6c7fbc9 - sourceBlobDigest: sha256:b9141ea121d6bc1aa41cd57b544dc7e2111d68a80a207fd394ef368481e86ba4 + sourceRevisionDigest: sha256:3a375218a87eae405feb875c8aae5606e30a806e429bb45a7bb9fe4ec3e93550 + sourceBlobDigest: sha256:ee590e22c2420902e4013cdd462014c326a6be029ec482d38c24c55712280117 codeSamplesNamespace: my-source-code-samples - codeSamplesRevisionDigest: sha256:e60ad5d07ffc2e9dad358e7cf8f3c55f25f97848ecb6f8f4f6d95017e04e767d + codeSamplesRevisionDigest: sha256:2206c744b2aa7e0220f3046c49f3b1c491aa4e7bdf5937abe000a7dc0ec65a51 workflow: workflowVersion: 1.0.0 speakeasyVersion: latest sources: my-source: inputs: - - location: https://api.unstructured.io/general/openapi.json - location: https://platform.unstructuredapp.io/openapi.json + - location: https://api.unstructured.io/general/openapi.json overlays: - location: ./overlay_client.yaml registry: diff --git a/RELEASES.md b/RELEASES.md index 7405d2ef..d302dcd7 100644 --- a/RELEASES.md +++ b/RELEASES.md @@ -794,4 +794,14 @@ Based on: ### Generated - [python v0.30.2] . ### Releases -- [PyPI v0.30.2] https://pypi.org/project/unstructured-client/0.30.2 - . \ No newline at end of file +- [PyPI v0.30.2] https://pypi.org/project/unstructured-client/0.30.2 - . + +## 2025-02-21 00:09:34 +### Changes +Based on: +- OpenAPI Doc +- Speakeasy CLI 1.498.1 (2.518.1) https://github.com/speakeasy-api/speakeasy +### Generated +- [python v0.30.3] . +### Releases +- [PyPI v0.30.3] https://pypi.org/project/unstructured-client/0.30.3 - . \ No newline at end of file diff --git a/gen.yaml b/gen.yaml index 3842ff34..4345452a 100644 --- a/gen.yaml +++ b/gen.yaml @@ -12,7 +12,7 @@ generation: oAuth2ClientCredentialsEnabled: false oAuth2PasswordEnabled: false python: - version: 0.30.2 + version: 0.30.3 additionalDependencies: dev: deepdiff: '>=6.0' diff --git a/pyproject.toml b/pyproject.toml index 1d0cfee1..a099db69 100644 --- a/pyproject.toml +++ b/pyproject.toml @@ -1,6 +1,6 @@ [project] name = "unstructured-client" -version = "0.30.2" +version = "0.30.3" description = "Python Client SDK for Unstructured API" authors = [{ name = "Unstructured" },] readme = "README-PYPI.md" diff --git a/src/unstructured_client/_version.py b/src/unstructured_client/_version.py index 60b3e4d1..e683ca65 100644 --- a/src/unstructured_client/_version.py +++ b/src/unstructured_client/_version.py @@ -3,10 +3,10 @@ import importlib.metadata __title__: str = "unstructured-client" -__version__: str = "0.30.2" -__openapi_doc_version__: str = "1.0.0" -__gen_version__: str = "2.518.0" -__user_agent__: str = "speakeasy-sdk/python 0.30.2 2.518.0 1.0.0 unstructured-client" +__version__: str = "0.30.3" +__openapi_doc_version__: str = "1.0.68" +__gen_version__: str = "2.518.1" +__user_agent__: str = "speakeasy-sdk/python 0.30.3 2.518.1 1.0.68 unstructured-client" try: if __package__ is not None: