Skip to content

Commit 0fa71cc

Browse files
committed
ci: regenerated with OpenAPI Doc , Speakeasy CLI 1.552.0
1 parent a8e484c commit 0fa71cc

Some content is hidden

Large Commits have some content hidden by default. Use the searchbox below for content that may be hidden.

42 files changed

+1323
-27
lines changed

.speakeasy/gen.lock

Lines changed: 59 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -1,12 +1,12 @@
11
lockVersion: 2.0.0
22
id: 8b5fa338-9106-4734-abf0-e30d67044a90
33
management:
4-
docChecksum: 1305a6771cbde39530fd78e1b8acb938
5-
docVersion: 1.1.17
4+
docChecksum: 83b80320b841ae9fc6dddb0888912f9a
5+
docVersion: 1.1.25
66
speakeasyVersion: 1.552.0
77
generationVersion: 2.610.0
8-
releaseVersion: 0.36.0
9-
configChecksum: e1d52979607afacfb892d70fedc250fb
8+
releaseVersion: 0.37.1
9+
configChecksum: 995e2ded80d15617a1661ac4be288219
1010
repoURL: https://github.com/Unstructured-IO/unstructured-python-client.git
1111
repoSubDirectory: .
1212
installationURL: https://github.com/Unstructured-IO/unstructured-python-client.git
@@ -70,6 +70,10 @@ generatedFiles:
7070
- docs/models/operations/getconnectionchecksourcesresponse.md
7171
- docs/models/operations/getdestinationrequest.md
7272
- docs/models/operations/getdestinationresponse.md
73+
- docs/models/operations/getjobdetailsrequest.md
74+
- docs/models/operations/getjobdetailsresponse.md
75+
- docs/models/operations/getjobfailedfilesrequest.md
76+
- docs/models/operations/getjobfailedfilesresponse.md
7377
- docs/models/operations/getjobrequest.md
7478
- docs/models/operations/getjobresponse.md
7579
- docs/models/operations/getsourcerequest.md
@@ -86,6 +90,8 @@ generatedFiles:
8690
- docs/models/operations/listworkflowsresponse.md
8791
- docs/models/operations/partitionrequest.md
8892
- docs/models/operations/partitionresponse.md
93+
- docs/models/operations/retrieverequest.md
94+
- docs/models/operations/retrieveresponse.md
8995
- docs/models/operations/runworkflowrequest.md
9096
- docs/models/operations/runworkflowresponse.md
9197
- docs/models/operations/updatedestinationrequest.md
@@ -130,6 +136,7 @@ generatedFiles:
130136
- docs/models/shared/dropboxsourceconnectorconfiginput.md
131137
- docs/models/shared/elasticsearchconnectorconfig.md
132138
- docs/models/shared/elasticsearchconnectorconfiginput.md
139+
- docs/models/shared/failedfile.md
133140
- docs/models/shared/files.md
134141
- docs/models/shared/gcsdestinationconnectorconfig.md
135142
- docs/models/shared/gcsdestinationconnectorconfiginput.md
@@ -142,7 +149,11 @@ generatedFiles:
142149
- docs/models/shared/inputfiles.md
143150
- docs/models/shared/jirasourceconnectorconfig.md
144151
- docs/models/shared/jirasourceconnectorconfiginput.md
152+
- docs/models/shared/jobdetails.md
153+
- docs/models/shared/jobfailedfiles.md
145154
- docs/models/shared/jobinformation.md
155+
- docs/models/shared/jobnodedetails.md
156+
- docs/models/shared/jobprocessingstatus.md
146157
- docs/models/shared/jobstatus.md
147158
- docs/models/shared/kafkaclouddestinationconnectorconfig.md
148159
- docs/models/shared/kafkaclouddestinationconnectorconfiginput.md
@@ -164,6 +175,7 @@ generatedFiles:
164175
- docs/models/shared/outlooksourceconnectorconfiginput.md
165176
- docs/models/shared/outputformat.md
166177
- docs/models/shared/partitionparameters.md
178+
- docs/models/shared/pemauthresponse.md
167179
- docs/models/shared/pineconedestinationconnectorconfig.md
168180
- docs/models/shared/pineconedestinationconnectorconfiginput.md
169181
- docs/models/shared/postgresdestinationconnectorconfig.md
@@ -188,6 +200,7 @@ generatedFiles:
188200
- docs/models/shared/snowflakedestinationconnectorconfiginput.md
189201
- docs/models/shared/snowflakesourceconnectorconfig.md
190202
- docs/models/shared/snowflakesourceconnectorconfiginput.md
203+
- docs/models/shared/sortdirection.md
191204
- docs/models/shared/sourceconnectorinformation.md
192205
- docs/models/shared/sourceconnectorinformationconfig.md
193206
- docs/models/shared/sourceconnectortype.md
@@ -215,6 +228,7 @@ generatedFiles:
215228
- docs/sdks/destinations/README.md
216229
- docs/sdks/general/README.md
217230
- docs/sdks/jobs/README.md
231+
- docs/sdks/pemkeyauth/README.md
218232
- docs/sdks/sources/README.md
219233
- docs/sdks/unstructuredclient/README.md
220234
- docs/sdks/workflows/README.md
@@ -251,13 +265,16 @@ generatedFiles:
251265
- src/unstructured_client/models/operations/get_connection_check_sources.py
252266
- src/unstructured_client/models/operations/get_destination.py
253267
- src/unstructured_client/models/operations/get_job.py
268+
- src/unstructured_client/models/operations/get_job_details.py
269+
- src/unstructured_client/models/operations/get_job_failed_files.py
254270
- src/unstructured_client/models/operations/get_source.py
255271
- src/unstructured_client/models/operations/get_workflow.py
256272
- src/unstructured_client/models/operations/list_destinations.py
257273
- src/unstructured_client/models/operations/list_jobs.py
258274
- src/unstructured_client/models/operations/list_sources.py
259275
- src/unstructured_client/models/operations/list_workflows.py
260276
- src/unstructured_client/models/operations/partition.py
277+
- src/unstructured_client/models/operations/retrieve.py
261278
- src/unstructured_client/models/operations/run_workflow.py
262279
- src/unstructured_client/models/operations/update_destination.py
263280
- src/unstructured_client/models/operations/update_source.py
@@ -296,6 +313,7 @@ generatedFiles:
296313
- src/unstructured_client/models/shared/dropboxsourceconnectorconfiginput.py
297314
- src/unstructured_client/models/shared/elasticsearchconnectorconfig.py
298315
- src/unstructured_client/models/shared/elasticsearchconnectorconfiginput.py
316+
- src/unstructured_client/models/shared/failedfile.py
299317
- src/unstructured_client/models/shared/gcsdestinationconnectorconfig.py
300318
- src/unstructured_client/models/shared/gcsdestinationconnectorconfiginput.py
301319
- src/unstructured_client/models/shared/gcssourceconnectorconfig.py
@@ -306,7 +324,11 @@ generatedFiles:
306324
- src/unstructured_client/models/shared/ibmwatsonxs3destinationconnectorconfiginput.py
307325
- src/unstructured_client/models/shared/jirasourceconnectorconfig.py
308326
- src/unstructured_client/models/shared/jirasourceconnectorconfiginput.py
327+
- src/unstructured_client/models/shared/jobdetails.py
328+
- src/unstructured_client/models/shared/jobfailedfiles.py
309329
- src/unstructured_client/models/shared/jobinformation.py
330+
- src/unstructured_client/models/shared/jobnodedetails.py
331+
- src/unstructured_client/models/shared/jobprocessingstatus.py
310332
- src/unstructured_client/models/shared/jobstatus.py
311333
- src/unstructured_client/models/shared/kafkaclouddestinationconnectorconfig.py
312334
- src/unstructured_client/models/shared/kafkaclouddestinationconnectorconfiginput.py
@@ -326,6 +348,7 @@ generatedFiles:
326348
- src/unstructured_client/models/shared/outlooksourceconnectorconfig.py
327349
- src/unstructured_client/models/shared/outlooksourceconnectorconfiginput.py
328350
- src/unstructured_client/models/shared/partition_parameters.py
351+
- src/unstructured_client/models/shared/pemauthresponse.py
329352
- src/unstructured_client/models/shared/pineconedestinationconnectorconfig.py
330353
- src/unstructured_client/models/shared/pineconedestinationconnectorconfiginput.py
331354
- src/unstructured_client/models/shared/postgresdestinationconnectorconfig.py
@@ -349,6 +372,7 @@ generatedFiles:
349372
- src/unstructured_client/models/shared/snowflakedestinationconnectorconfiginput.py
350373
- src/unstructured_client/models/shared/snowflakesourceconnectorconfig.py
351374
- src/unstructured_client/models/shared/snowflakesourceconnectorconfiginput.py
375+
- src/unstructured_client/models/shared/sortdirection.py
352376
- src/unstructured_client/models/shared/sourceconnectorinformation.py
353377
- src/unstructured_client/models/shared/sourceconnectortype.py
354378
- src/unstructured_client/models/shared/updatedestinationconnector.py
@@ -365,6 +389,7 @@ generatedFiles:
365389
- src/unstructured_client/models/shared/workflowtype.py
366390
- src/unstructured_client/models/shared/zendesksourceconnectorconfig.py
367391
- src/unstructured_client/models/shared/zendesksourceconnectorconfiginput.py
392+
- src/unstructured_client/pemkeyauth.py
368393
- src/unstructured_client/py.typed
369394
- src/unstructured_client/sdk.py
370395
- src/unstructured_client/sdkconfiguration.py
@@ -594,6 +619,9 @@ examples:
594619
application/json: {"detail": "<value>"}
595620
list_workflows:
596621
speakeasy-default-list-workflows:
622+
parameters:
623+
query:
624+
sort_by: "id"
597625
responses:
598626
"200":
599627
application/json: [{"created_at": "2023-09-02T04:21:23.162Z", "destinations": [], "id": "1e4c63cf-6a6b-407b-b993-b2bc8b3bcefc", "name": "<value>", "schedule": {"crontab_entries": [{"cron_expression": "0 0 * * *"}]}, "sources": ["2e12d926-4caf-4cce-8b5c-3e16722c1c84"], "status": "inactive", "workflow_nodes": [{"name": "<value>", "subtype": "<value>", "type": "<value>"}, {"name": "<value>", "subtype": "<value>", "type": "<value>"}]}, {"created_at": "2023-09-02T04:21:23.162Z", "destinations": [], "id": "1e4c63cf-6a6b-407b-b993-b2bc8b3bcefc", "name": "<value>", "schedule": {"crontab_entries": [{"cron_expression": "0 0 * * *"}]}, "sources": ["2e12d926-4caf-4cce-8b5c-3e16722c1c84"], "status": "inactive", "workflow_nodes": [{"name": "<value>", "subtype": "<value>", "type": "<value>"}, {"name": "<value>", "subtype": "<value>", "type": "<value>"}]}]
@@ -633,5 +661,32 @@ examples:
633661
application/json: {"detail": "<value>"}
634662
5XX:
635663
application/json: {"detail": "An error occurred"}
664+
get_job_details:
665+
speakeasy-default-get-job-details:
666+
parameters:
667+
path:
668+
job_id: "14cc95f9-4174-46b3-81f5-7089b87a4787"
669+
responses:
670+
"200":
671+
application/json: {"id": "39a8d74e-66d2-40a4-a9b0-25ee4f08f855", "node_stats": [], "processing_status": "STOPPED"}
672+
"422":
673+
application/json: {"detail": "<value>"}
674+
get_job_failed_files:
675+
speakeasy-default-get-job-failed-files:
676+
parameters:
677+
path:
678+
job_id: "ad262041-3530-40a9-9f83-b004e947a203"
679+
responses:
680+
"200":
681+
application/json: {"failed_files": []}
682+
"422":
683+
application/json: {"detail": "<value>"}
684+
retrieve:
685+
speakeasy-default-retrieve:
686+
responses:
687+
"200":
688+
application/json: {"pem_key": "<value>", "tenant_id": "<id>"}
689+
"422":
690+
application/json: {"detail": "<value>"}
636691
examplesVersion: 1.0.2
637692
generatedTests: {}

.speakeasy/workflow.lock

Lines changed: 7 additions & 7 deletions
Original file line numberDiff line numberDiff line change
@@ -2,20 +2,20 @@ speakeasyVersion: 1.552.0
22
sources:
33
my-source:
44
sourceNamespace: my-source
5-
sourceRevisionDigest: sha256:7ceb514059ca48d6851ea7eacc84aa4177b0299d9fc01e71a891f6bc6244b089
6-
sourceBlobDigest: sha256:20af3cb02fd412795707dc692fcfdb11f412c27d8095ee4197ea318ea31c7bfe
5+
sourceRevisionDigest: sha256:5330c01ad2b1163448dc9d45529e426f6e4266abf09e07fa918c15315e4a8690
6+
sourceBlobDigest: sha256:9b5bc5130d14803ff180b5a65efc30d93c5d9f6e21ca1642feea7653ba557aed
77
tags:
88
- latest
9-
- speakeasy-sdk-regen-1748459387
10-
- 1.1.17
9+
- speakeasy-sdk-regen-1749082267
10+
- 1.1.25
1111
targets:
1212
unstructured-python:
1313
source: my-source
1414
sourceNamespace: my-source
15-
sourceRevisionDigest: sha256:7ceb514059ca48d6851ea7eacc84aa4177b0299d9fc01e71a891f6bc6244b089
16-
sourceBlobDigest: sha256:20af3cb02fd412795707dc692fcfdb11f412c27d8095ee4197ea318ea31c7bfe
15+
sourceRevisionDigest: sha256:5330c01ad2b1163448dc9d45529e426f6e4266abf09e07fa918c15315e4a8690
16+
sourceBlobDigest: sha256:9b5bc5130d14803ff180b5a65efc30d93c5d9f6e21ca1642feea7653ba557aed
1717
codeSamplesNamespace: my-source-code-samples
18-
codeSamplesRevisionDigest: sha256:8dd8b645e1112de59bfed16856623f891e44b10d8af11e4f48877b08541e246f
18+
codeSamplesRevisionDigest: sha256:ef79f49f53bb5b656f77daa3852942b3219e3cc8179094b15891af2bba5b3500
1919
workflow:
2020
workflowVersion: 1.0.0
2121
speakeasyVersion: latest

RELEASES.md

Lines changed: 11 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1007,4 +1007,14 @@ Based on:
10071007
### Generated
10081008
- [python v0.36.0] .
10091009
### Releases
1010-
- [PyPI v0.36.0] https://pypi.org/project/unstructured-client/0.36.0 - .
1010+
- [PyPI v0.36.0] https://pypi.org/project/unstructured-client/0.36.0 - .
1011+
1012+
## 2025-06-23 00:11:39
1013+
### Changes
1014+
Based on:
1015+
- OpenAPI Doc
1016+
- Speakeasy CLI 1.552.0 (2.610.0) https://github.com/speakeasy-api/speakeasy
1017+
### Generated
1018+
- [python v0.37.1] .
1019+
### Releases
1020+
- [PyPI v0.37.1] https://pypi.org/project/unstructured-client/0.37.1 - .

codeSamples.yaml

Lines changed: 19 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -63,12 +63,30 @@ actions:
6363
- "lang": "python"
6464
"label": "cancel_job"
6565
"source": "from unstructured_client import UnstructuredClient\n\n\nwith UnstructuredClient() as uc_client:\n\n res = uc_client.jobs.cancel_job(request={\n \"job_id\": \"2fafd129-04f3-4201-a0e7-fe33e937b367\",\n })\n\n assert res.any is not None\n\n # Handle response\n print(res.any)"
66+
- target: $["paths"]["/api/v1/jobs/{job_id}/details"]["get"]
67+
update:
68+
"x-codeSamples":
69+
- "lang": "python"
70+
"label": "get_job_details"
71+
"source": "from unstructured_client import UnstructuredClient\n\n\nwith UnstructuredClient() as uc_client:\n\n res = uc_client.jobs.get_job_details(request={\n \"job_id\": \"14cc95f9-4174-46b3-81f5-7089b87a4787\",\n })\n\n assert res.job_details is not None\n\n # Handle response\n print(res.job_details)"
6672
- target: $["paths"]["/api/v1/jobs/{job_id}/download"]["get"]
6773
update:
6874
"x-codeSamples":
6975
- "lang": "python"
7076
"label": "download_job_output"
7177
"source": "from unstructured_client import UnstructuredClient\n\n\nwith UnstructuredClient() as uc_client:\n\n res = uc_client.jobs.download_job_output(request={\n \"job_id\": \"06d1b7b8-8642-4793-b37e-e45d97d53bc3\",\n \"file_id\": \"<id>\",\n \"node_id\": \"7c8f2aa4-da13-4a04-a98d-0204ea55681e\",\n })\n\n assert res.any is not None\n\n # Handle response\n print(res.any)"
78+
- target: $["paths"]["/api/v1/jobs/{job_id}/failed-files"]["get"]
79+
update:
80+
"x-codeSamples":
81+
- "lang": "python"
82+
"label": "get_job_failed_files"
83+
"source": "from unstructured_client import UnstructuredClient\n\n\nwith UnstructuredClient() as uc_client:\n\n res = uc_client.jobs.get_job_failed_files(request={\n \"job_id\": \"ad262041-3530-40a9-9f83-b004e947a203\",\n })\n\n assert res.job_failed_files is not None\n\n # Handle response\n print(res.job_failed_files)"
84+
- target: $["paths"]["/api/v1/pemkeyauth/retrieve"]["post"]
85+
update:
86+
"x-codeSamples":
87+
- "lang": "python"
88+
"label": "retrieve"
89+
"source": "from unstructured_client import UnstructuredClient\n\n\nwith UnstructuredClient() as uc_client:\n\n res = uc_client.pemkeyauth.retrieve(request={})\n\n assert res.pem_auth_response is not None\n\n # Handle response\n print(res.pem_auth_response)"
7290
- target: $["paths"]["/api/v1/sources/"]["get"]
7391
update:
7492
"x-codeSamples":
@@ -80,7 +98,7 @@ actions:
8098
"x-codeSamples":
8199
- "lang": "python"
82100
"label": "create_source"
83-
"source": "from unstructured_client import UnstructuredClient\nfrom unstructured_client.models import shared\n\n\nwith UnstructuredClient() as uc_client:\n\n res = uc_client.sources.create_source(request={\n \"create_source_connector\": {\n \"name\": \"<value>\",\n \"type\": shared.SourceConnectorType.DATABRICKS_VOLUMES,\n \"config\": {\n \"remote_url\": \"https://ugly-ribbon.info\",\n \"recursive\": True,\n },\n },\n })\n\n assert res.source_connector_information is not None\n\n # Handle response\n print(res.source_connector_information)"
101+
"source": "from unstructured_client import UnstructuredClient\nfrom unstructured_client.models import shared\n\n\nwith UnstructuredClient() as uc_client:\n\n res = uc_client.sources.create_source(request={\n \"create_source_connector\": {\n \"name\": \"<value>\",\n \"type\": shared.SourceConnectorType.DROPBOX,\n \"config\": {\n \"remote_url\": \"https://ugly-ribbon.info\",\n \"recursive\": True,\n },\n },\n })\n\n assert res.source_connector_information is not None\n\n # Handle response\n print(res.source_connector_information)"
84102
- target: $["paths"]["/api/v1/sources/{source_id}"]["delete"]
85103
update:
86104
"x-codeSamples":
Lines changed: 9 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,9 @@
1+
# GetJobDetailsRequest
2+
3+
4+
## Fields
5+
6+
| Field | Type | Required | Description |
7+
| ----------------------- | ----------------------- | ----------------------- | ----------------------- |
8+
| `job_id` | *str* | :heavy_check_mark: | N/A |
9+
| `unstructured_api_key` | *OptionalNullable[str]* | :heavy_minus_sign: | N/A |
Lines changed: 11 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,11 @@
1+
# GetJobDetailsResponse
2+
3+
4+
## Fields
5+
6+
| Field | Type | Required | Description |
7+
| ---------------------------------------------------------------- | ---------------------------------------------------------------- | ---------------------------------------------------------------- | ---------------------------------------------------------------- |
8+
| `content_type` | *str* | :heavy_check_mark: | HTTP response content type for this operation |
9+
| `job_details` | [Optional[shared.JobDetails]](../../models/shared/jobdetails.md) | :heavy_minus_sign: | Successful Response |
10+
| `status_code` | *int* | :heavy_check_mark: | HTTP response status code for this operation |
11+
| `raw_response` | [httpx.Response](https://www.python-httpx.org/api/#response) | :heavy_check_mark: | Raw HTTP response; suitable for custom response parsing |
Lines changed: 9 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,9 @@
1+
# GetJobFailedFilesRequest
2+
3+
4+
## Fields
5+
6+
| Field | Type | Required | Description |
7+
| ----------------------- | ----------------------- | ----------------------- | ----------------------- |
8+
| `job_id` | *str* | :heavy_check_mark: | N/A |
9+
| `unstructured_api_key` | *OptionalNullable[str]* | :heavy_minus_sign: | N/A |

0 commit comments

Comments
 (0)