Skip to content

Commit ffd2578

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

Some content is hidden

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

57 files changed

+1982
-47
lines changed

.speakeasy/gen.lock

Lines changed: 79 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: bac3524113e4b9ed02bfae0e65ccb42b
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,8 +90,12 @@ 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
97+
- docs/models/operations/storesecretrequest.md
98+
- docs/models/operations/storesecretresponse.md
9199
- docs/models/operations/updatedestinationrequest.md
92100
- docs/models/operations/updatedestinationresponse.md
93101
- docs/models/operations/updatesourcerequest.md
@@ -130,19 +138,27 @@ generatedFiles:
130138
- docs/models/shared/dropboxsourceconnectorconfiginput.md
131139
- docs/models/shared/elasticsearchconnectorconfig.md
132140
- docs/models/shared/elasticsearchconnectorconfiginput.md
141+
- docs/models/shared/encryptedsecret.md
142+
- docs/models/shared/encryptiontype.md
143+
- docs/models/shared/failedfile.md
133144
- docs/models/shared/files.md
134145
- docs/models/shared/gcsdestinationconnectorconfig.md
135146
- docs/models/shared/gcsdestinationconnectorconfiginput.md
136147
- docs/models/shared/gcssourceconnectorconfig.md
137148
- docs/models/shared/gcssourceconnectorconfiginput.md
138149
- docs/models/shared/googledrivesourceconnectorconfig.md
139150
- docs/models/shared/googledrivesourceconnectorconfiginput.md
151+
- docs/models/shared/googledrivesourceconnectorconfiginputserviceaccountkey.md
140152
- docs/models/shared/ibmwatsonxs3destinationconnectorconfig.md
141153
- docs/models/shared/ibmwatsonxs3destinationconnectorconfiginput.md
142154
- docs/models/shared/inputfiles.md
143155
- docs/models/shared/jirasourceconnectorconfig.md
144156
- docs/models/shared/jirasourceconnectorconfiginput.md
157+
- docs/models/shared/jobdetails.md
158+
- docs/models/shared/jobfailedfiles.md
145159
- docs/models/shared/jobinformation.md
160+
- docs/models/shared/jobnodedetails.md
161+
- docs/models/shared/jobprocessingstatus.md
146162
- docs/models/shared/jobstatus.md
147163
- docs/models/shared/kafkaclouddestinationconnectorconfig.md
148164
- docs/models/shared/kafkaclouddestinationconnectorconfiginput.md
@@ -164,6 +180,7 @@ generatedFiles:
164180
- docs/models/shared/outlooksourceconnectorconfiginput.md
165181
- docs/models/shared/outputformat.md
166182
- docs/models/shared/partitionparameters.md
183+
- docs/models/shared/pemauthresponse.md
167184
- docs/models/shared/pineconedestinationconnectorconfig.md
168185
- docs/models/shared/pineconedestinationconnectorconfiginput.md
169186
- docs/models/shared/postgresdestinationconnectorconfig.md
@@ -181,13 +198,16 @@ generatedFiles:
181198
- docs/models/shared/salesforcesourceconnectorconfig.md
182199
- docs/models/shared/salesforcesourceconnectorconfiginput.md
183200
- docs/models/shared/schedule.md
201+
- docs/models/shared/secretreference.md
184202
- docs/models/shared/security.md
203+
- docs/models/shared/serviceaccountkey.md
185204
- docs/models/shared/sharepointsourceconnectorconfig.md
186205
- docs/models/shared/sharepointsourceconnectorconfiginput.md
187206
- docs/models/shared/snowflakedestinationconnectorconfig.md
188207
- docs/models/shared/snowflakedestinationconnectorconfiginput.md
189208
- docs/models/shared/snowflakesourceconnectorconfig.md
190209
- docs/models/shared/snowflakesourceconnectorconfiginput.md
210+
- docs/models/shared/sortdirection.md
191211
- docs/models/shared/sourceconnectorinformation.md
192212
- docs/models/shared/sourceconnectorinformationconfig.md
193213
- docs/models/shared/sourceconnectortype.md
@@ -217,6 +237,7 @@ generatedFiles:
217237
- docs/sdks/jobs/README.md
218238
- docs/sdks/sources/README.md
219239
- docs/sdks/unstructuredclient/README.md
240+
- docs/sdks/users/README.md
220241
- docs/sdks/workflows/README.md
221242
- poetry.toml
222243
- py.typed
@@ -251,14 +272,18 @@ generatedFiles:
251272
- src/unstructured_client/models/operations/get_connection_check_sources.py
252273
- src/unstructured_client/models/operations/get_destination.py
253274
- src/unstructured_client/models/operations/get_job.py
275+
- src/unstructured_client/models/operations/get_job_details.py
276+
- src/unstructured_client/models/operations/get_job_failed_files.py
254277
- src/unstructured_client/models/operations/get_source.py
255278
- src/unstructured_client/models/operations/get_workflow.py
256279
- src/unstructured_client/models/operations/list_destinations.py
257280
- src/unstructured_client/models/operations/list_jobs.py
258281
- src/unstructured_client/models/operations/list_sources.py
259282
- src/unstructured_client/models/operations/list_workflows.py
260283
- src/unstructured_client/models/operations/partition.py
284+
- src/unstructured_client/models/operations/retrieve.py
261285
- src/unstructured_client/models/operations/run_workflow.py
286+
- src/unstructured_client/models/operations/store_secret.py
262287
- src/unstructured_client/models/operations/update_destination.py
263288
- src/unstructured_client/models/operations/update_source.py
264289
- src/unstructured_client/models/operations/update_workflow.py
@@ -296,6 +321,9 @@ generatedFiles:
296321
- src/unstructured_client/models/shared/dropboxsourceconnectorconfiginput.py
297322
- src/unstructured_client/models/shared/elasticsearchconnectorconfig.py
298323
- src/unstructured_client/models/shared/elasticsearchconnectorconfiginput.py
324+
- src/unstructured_client/models/shared/encryptedsecret.py
325+
- src/unstructured_client/models/shared/encryptiontype.py
326+
- src/unstructured_client/models/shared/failedfile.py
299327
- src/unstructured_client/models/shared/gcsdestinationconnectorconfig.py
300328
- src/unstructured_client/models/shared/gcsdestinationconnectorconfiginput.py
301329
- src/unstructured_client/models/shared/gcssourceconnectorconfig.py
@@ -306,7 +334,11 @@ generatedFiles:
306334
- src/unstructured_client/models/shared/ibmwatsonxs3destinationconnectorconfiginput.py
307335
- src/unstructured_client/models/shared/jirasourceconnectorconfig.py
308336
- src/unstructured_client/models/shared/jirasourceconnectorconfiginput.py
337+
- src/unstructured_client/models/shared/jobdetails.py
338+
- src/unstructured_client/models/shared/jobfailedfiles.py
309339
- src/unstructured_client/models/shared/jobinformation.py
340+
- src/unstructured_client/models/shared/jobnodedetails.py
341+
- src/unstructured_client/models/shared/jobprocessingstatus.py
310342
- src/unstructured_client/models/shared/jobstatus.py
311343
- src/unstructured_client/models/shared/kafkaclouddestinationconnectorconfig.py
312344
- src/unstructured_client/models/shared/kafkaclouddestinationconnectorconfiginput.py
@@ -326,6 +358,7 @@ generatedFiles:
326358
- src/unstructured_client/models/shared/outlooksourceconnectorconfig.py
327359
- src/unstructured_client/models/shared/outlooksourceconnectorconfiginput.py
328360
- src/unstructured_client/models/shared/partition_parameters.py
361+
- src/unstructured_client/models/shared/pemauthresponse.py
329362
- src/unstructured_client/models/shared/pineconedestinationconnectorconfig.py
330363
- src/unstructured_client/models/shared/pineconedestinationconnectorconfiginput.py
331364
- src/unstructured_client/models/shared/postgresdestinationconnectorconfig.py
@@ -342,13 +375,15 @@ generatedFiles:
342375
- src/unstructured_client/models/shared/s3sourceconnectorconfiginput.py
343376
- src/unstructured_client/models/shared/salesforcesourceconnectorconfig.py
344377
- src/unstructured_client/models/shared/salesforcesourceconnectorconfiginput.py
378+
- src/unstructured_client/models/shared/secretreference.py
345379
- src/unstructured_client/models/shared/security.py
346380
- src/unstructured_client/models/shared/sharepointsourceconnectorconfig.py
347381
- src/unstructured_client/models/shared/sharepointsourceconnectorconfiginput.py
348382
- src/unstructured_client/models/shared/snowflakedestinationconnectorconfig.py
349383
- src/unstructured_client/models/shared/snowflakedestinationconnectorconfiginput.py
350384
- src/unstructured_client/models/shared/snowflakesourceconnectorconfig.py
351385
- src/unstructured_client/models/shared/snowflakesourceconnectorconfiginput.py
386+
- src/unstructured_client/models/shared/sortdirection.py
352387
- src/unstructured_client/models/shared/sourceconnectorinformation.py
353388
- src/unstructured_client/models/shared/sourceconnectortype.py
354389
- src/unstructured_client/models/shared/updatedestinationconnector.py
@@ -370,6 +405,7 @@ generatedFiles:
370405
- src/unstructured_client/sdkconfiguration.py
371406
- src/unstructured_client/types/__init__.py
372407
- src/unstructured_client/types/basemodel.py
408+
- src/unstructured_client/users.py
373409
- src/unstructured_client/utils/__init__.py
374410
- src/unstructured_client/utils/annotations.py
375411
- src/unstructured_client/utils/datetimes.py
@@ -594,6 +630,9 @@ examples:
594630
application/json: {"detail": "<value>"}
595631
list_workflows:
596632
speakeasy-default-list-workflows:
633+
parameters:
634+
query:
635+
sort_by: "id"
597636
responses:
598637
"200":
599638
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 +672,41 @@ examples:
633672
application/json: {"detail": "<value>"}
634673
5XX:
635674
application/json: {"detail": "An error occurred"}
675+
get_job_details:
676+
speakeasy-default-get-job-details:
677+
parameters:
678+
path:
679+
job_id: "14cc95f9-4174-46b3-81f5-7089b87a4787"
680+
responses:
681+
"200":
682+
application/json: {"id": "39a8d74e-66d2-40a4-a9b0-25ee4f08f855", "node_stats": [], "processing_status": "STOPPED"}
683+
"422":
684+
application/json: {"detail": "<value>"}
685+
get_job_failed_files:
686+
speakeasy-default-get-job-failed-files:
687+
parameters:
688+
path:
689+
job_id: "ad262041-3530-40a9-9f83-b004e947a203"
690+
responses:
691+
"200":
692+
application/json: {"failed_files": []}
693+
"422":
694+
application/json: {"detail": "<value>"}
695+
retrieve:
696+
speakeasy-default-retrieve:
697+
responses:
698+
"200":
699+
application/json: {"pem_key": "<value>", "tenant_id": "<id>"}
700+
"422":
701+
application/json: {"detail": "<value>"}
702+
store_secret:
703+
speakeasy-default-store-secret:
704+
requestBody:
705+
application/json: {"encrypted_value": "<value>"}
706+
responses:
707+
"200":
708+
application/json: {"id": "<id>"}
709+
"422":
710+
application/json: {"detail": []}
636711
examplesVersion: 1.0.2
637712
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:d14d57547ad78fb9de555d53df7316688897fcfde70597ebae236e093686ac64
6+
sourceBlobDigest: sha256:344e0d1a73221fe624794cb7c74290201da4093a73b6897fcbadea1d1cc99447
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:d14d57547ad78fb9de555d53df7316688897fcfde70597ebae236e093686ac64
16+
sourceBlobDigest: sha256:344e0d1a73221fe624794cb7c74290201da4093a73b6897fcbadea1d1cc99447
1717
codeSamplesNamespace: my-source-code-samples
18-
codeSamplesRevisionDigest: sha256:8dd8b645e1112de59bfed16856623f891e44b10d8af11e4f48877b08541e246f
18+
codeSamplesRevisionDigest: sha256:0d9d8872a992b8f4dc480ccfd3fe65d9966f22cfbc3e69668ab15922d75a6c4c
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 18:31:52
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: 25 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -63,12 +63,24 @@ 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)"
7284
- target: $["paths"]["/api/v1/sources/"]["get"]
7385
update:
7486
"x-codeSamples":
@@ -80,7 +92,7 @@ actions:
8092
"x-codeSamples":
8193
- "lang": "python"
8294
"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)"
95+
"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)"
8496
- target: $["paths"]["/api/v1/sources/{source_id}"]["delete"]
8597
update:
8698
"x-codeSamples":
@@ -111,6 +123,18 @@ actions:
111123
- "lang": "python"
112124
"label": "create_connection_check_sources"
113125
"source": "from unstructured_client import UnstructuredClient\n\n\nwith UnstructuredClient() as uc_client:\n\n res = uc_client.sources.create_connection_check_sources(request={\n \"source_id\": \"8d49e3f2-3e6d-4973-bc61-292af66829d7\",\n })\n\n assert res.dag_node_connection_check is not None\n\n # Handle response\n print(res.dag_node_connection_check)"
126+
- target: $["paths"]["/api/v1/users/retrieve"]["post"]
127+
update:
128+
"x-codeSamples":
129+
- "lang": "python"
130+
"label": "retrieve"
131+
"source": "from unstructured_client import UnstructuredClient\n\n\nwith UnstructuredClient() as uc_client:\n\n res = uc_client.users.retrieve(request={})\n\n assert res.pem_auth_response is not None\n\n # Handle response\n print(res.pem_auth_response)"
132+
- target: $["paths"]["/api/v1/users/secrets"]["post"]
133+
update:
134+
"x-codeSamples":
135+
- "lang": "python"
136+
"label": "store_secret"
137+
"source": "from unstructured_client import UnstructuredClient\n\n\nwith UnstructuredClient() as uc_client:\n\n res = uc_client.users.store_secret(request={\n \"encrypted_secret\": {\n \"encrypted_value\": \"<value>\",\n },\n })\n\n assert res.secret_reference is not None\n\n # Handle response\n print(res.secret_reference)"
114138
- target: $["paths"]["/api/v1/workflows/"]["get"]
115139
update:
116140
"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 |

0 commit comments

Comments
 (0)