Skip to content

Commit 8065754

Browse files
committed
ci: regenerated with OpenAPI Doc , Speakeasy CLI 1.520.1
1 parent e0315cc commit 8065754

File tree

105 files changed

+1636
-769
lines changed

Some content is hidden

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

105 files changed

+1636
-769
lines changed

.speakeasy/gen.lock

Lines changed: 58 additions & 23 deletions
Large diffs are not rendered by default.

.speakeasy/workflow.lock

Lines changed: 8 additions & 8 deletions
Original file line numberDiff line numberDiff line change
@@ -1,21 +1,21 @@
1-
speakeasyVersion: 1.513.0
1+
speakeasyVersion: 1.520.1
22
sources:
33
my-source:
44
sourceNamespace: my-source
5-
sourceRevisionDigest: sha256:284396f88ac6b8f00fc6b64e117310094af9403c775d96d0273f2dc91e20a99d
6-
sourceBlobDigest: sha256:eeff76b4ac663079622a4957d5023f06ca2a8ad423075a125478ad3b57aeb4ef
5+
sourceRevisionDigest: sha256:4f35a2c57bcd3c591ef9d161f5e34d317ff8a06e9e9591f2e2004f13e5c63cbb
6+
sourceBlobDigest: sha256:7f47ca310de4d401a93083208819c79bfba2a77519e7bfcd34d825bbcbb8da60
77
tags:
88
- latest
9-
- speakeasy-sdk-regen-1741292249
10-
- 1.0.78
9+
- speakeasy-sdk-regen-1741651804
10+
- 1.0.81
1111
targets:
1212
unstructured-python:
1313
source: my-source
1414
sourceNamespace: my-source
15-
sourceRevisionDigest: sha256:284396f88ac6b8f00fc6b64e117310094af9403c775d96d0273f2dc91e20a99d
16-
sourceBlobDigest: sha256:eeff76b4ac663079622a4957d5023f06ca2a8ad423075a125478ad3b57aeb4ef
15+
sourceRevisionDigest: sha256:4f35a2c57bcd3c591ef9d161f5e34d317ff8a06e9e9591f2e2004f13e5c63cbb
16+
sourceBlobDigest: sha256:7f47ca310de4d401a93083208819c79bfba2a77519e7bfcd34d825bbcbb8da60
1717
codeSamplesNamespace: my-source-code-samples
18-
codeSamplesRevisionDigest: sha256:19241c5759df66896762918163ed4cbb6be089a165082e64717f088fb50320c1
18+
codeSamplesRevisionDigest: sha256:e8f8184199d659db4bcbdd1e0c8e6ab5133ad869812c76a407038b79e07d7438
1919
workflow:
2020
workflowVersion: 1.0.0
2121
speakeasyVersion: latest

README.md

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -469,8 +469,8 @@ with UnstructuredClient() as uc_client:
469469
1,
470470
10,
471471
],
472-
"vlm_model": shared.PartitionParametersStrategy.GPT_4O,
473-
"vlm_model_provider": shared.PartitionParametersSchemasStrategy.OPENAI,
472+
"vlm_model": shared.VLMModel.GPT_4O,
473+
"vlm_model_provider": shared.VLMModelProvider.OPENAI,
474474
},
475475
})
476476

RELEASES.md

Lines changed: 11 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -855,4 +855,14 @@ Based on:
855855
### Generated
856856
- [python v0.31.1] .
857857
### Releases
858-
- [PyPI v0.31.1] https://pypi.org/project/unstructured-client/0.31.1 - .
858+
- [PyPI v0.31.1] https://pypi.org/project/unstructured-client/0.31.1 - .
859+
860+
## 2025-03-19 00:20:38
861+
### Changes
862+
Based on:
863+
- OpenAPI Doc
864+
- Speakeasy CLI 1.520.1 (2.556.1) https://github.com/speakeasy-api/speakeasy
865+
### Generated
866+
- [python v0.31.2] .
867+
### Releases
868+
- [PyPI v0.31.2] https://pypi.org/project/unstructured-client/0.31.2 - .

codeSamples.yaml

Lines changed: 10 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -51,6 +51,12 @@ actions:
5151
- "lang": "python"
5252
"label": "cancel_job"
5353
"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\": \"ec29bf67-0f30-4793-b5ee-8fc0da196032\",\n })\n\n assert res.any is not None\n\n # Handle response\n print(res.any)"
54+
- target: $["paths"]["/api/v1/jobs/{job_id}/download"]["get"]
55+
update:
56+
"x-codeSamples":
57+
- "lang": "python"
58+
"label": "download_playground_job"
59+
"source": "from unstructured_client import UnstructuredClient\n\n\nwith UnstructuredClient() as uc_client:\n\n res = uc_client.jobs.download_playground_job(request={\n \"job_id\": \"844a9b13-d032-43c7-8e81-b20a874c4c79\",\n \"file_id\": \"<id>\",\n })\n\n assert res.any is not None\n\n # Handle response\n print(res.any)"
5460
- target: $["paths"]["/api/v1/sources/"]["get"]
5561
update:
5662
"x-codeSamples":
@@ -62,7 +68,7 @@ actions:
6268
"x-codeSamples":
6369
- "lang": "python"
6470
"label": "create_source"
65-
"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.S3,\n \"config\": {\n \"username\": \"Eldora_Casper\",\n \"consumer_key\": \"<value>\",\n \"private_key\": \"<value>\",\n \"categories\": [\n \"<value>\",\n ],\n },\n },\n })\n\n assert res.source_connector_information is not None\n\n # Handle response\n print(res.source_connector_information)"
71+
"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.S3,\n \"config\": {\n \"username\": \"Eldora_Casper\",\n \"password\": \"I5xeRKAX3jUtlnj\",\n \"security_token\": \"<value>\",\n },\n },\n })\n\n assert res.source_connector_information is not None\n\n # Handle response\n print(res.source_connector_information)"
6672
- target: $["paths"]["/api/v1/sources/{source_id}"]["delete"]
6773
update:
6874
"x-codeSamples":
@@ -80,7 +86,7 @@ actions:
8086
"x-codeSamples":
8187
- "lang": "python"
8288
"label": "update_source"
83-
"source": "from unstructured_client import UnstructuredClient\n\n\nwith UnstructuredClient() as uc_client:\n\n res = uc_client.sources.update_source(request={\n \"source_id\": \"7d031737-4969-4d2e-ae5d-8e2396edec43\",\n \"update_source_connector\": {\n \"config\": {\n \"client_id\": \"<id>\",\n \"tenant\": \"<value>\",\n \"authority_url\": \"https://pleasing-hammock.org/\",\n \"user_pname\": \"<value>\",\n \"client_cred\": \"<value>\",\n \"recursive\": False,\n \"path\": \"/etc/namedb\",\n },\n },\n })\n\n assert res.source_connector_information is not None\n\n # Handle response\n print(res.source_connector_information)"
89+
"source": "from unstructured_client import UnstructuredClient\n\n\nwith UnstructuredClient() as uc_client:\n\n res = uc_client.sources.update_source(request={\n \"source_id\": \"196d27d0-3173-4749-b69d-2ee5d8e2396e\",\n \"update_source_connector\": {\n \"config\": {\n \"client_id\": \"<id>\",\n \"client_cred\": \"<value>\",\n \"recursive\": False,\n \"user_email\": \"<value>\",\n },\n },\n })\n\n assert res.source_connector_information is not None\n\n # Handle response\n print(res.source_connector_information)"
8490
- target: $["paths"]["/api/v1/workflows/"]["get"]
8591
update:
8692
"x-codeSamples":
@@ -92,7 +98,7 @@ actions:
9298
"x-codeSamples":
9399
- "lang": "python"
94100
"label": "create_workflow"
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.workflows.create_workflow(request={\n \"create_workflow\": {\n \"name\": \"<value>\",\n \"source_id\": \"b5baba90-bc88-4ea4-b45f-e894788e3f38\",\n \"destination_id\": \"0efa0612-4dfe-411e-b84d-d7cfa1e3fe9e\",\n \"workflow_type\": shared.WorkflowType.ADVANCED,\n },\n })\n\n assert res.workflow_information is not None\n\n # Handle response\n print(res.workflow_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.workflows.create_workflow(request={\n \"create_workflow\": {\n \"name\": \"<value>\",\n \"workflow_type\": shared.WorkflowType.PLATINUM,\n },\n })\n\n assert res.workflow_information is not None\n\n # Handle response\n print(res.workflow_information)"
96102
- target: $["paths"]["/api/v1/workflows/{workflow_id}"]["delete"]
97103
update:
98104
"x-codeSamples":
@@ -122,4 +128,4 @@ actions:
122128
"x-codeSamples":
123129
- "lang": "python"
124130
"label": "partition"
125-
"source": "from unstructured_client import UnstructuredClient\nfrom unstructured_client.models import shared\n\n\nwith UnstructuredClient() as uc_client:\n\n res = uc_client.general.partition(request={\n \"partition_parameters\": {\n \"files\": {\n \"file_name\": \"example.file\",\n \"content\": open(\"example.file\", \"rb\"),\n },\n \"vlm_model_provider\": shared.PartitionParametersStrategy.OPENAI,\n \"vlm_model\": shared.PartitionParametersSchemasStrategy.GPT_4O,\n \"split_pdf_page_range\": [\n 1,\n 10,\n ],\n },\n })\n\n assert res.elements is not None\n\n # Handle response\n print(res.elements)"
131+
"source": "from unstructured_client import UnstructuredClient\nfrom unstructured_client.models import shared\n\n\nwith UnstructuredClient() as uc_client:\n\n res = uc_client.general.partition(request={\n \"partition_parameters\": {\n \"files\": {\n \"file_name\": \"example.file\",\n \"content\": open(\"example.file\", \"rb\"),\n },\n \"vlm_model_provider\": shared.VLMModelProvider.OPENAI,\n \"vlm_model\": shared.VLMModel.GPT_4O,\n \"split_pdf_page_range\": [\n 1,\n 10,\n ],\n },\n })\n\n assert res.elements is not None\n\n # Handle response\n print(res.elements)"
Lines changed: 11 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,11 @@
1+
# DownloadPlaygroundJobRequest
2+
3+
4+
## Fields
5+
6+
| Field | Type | Required | Description |
7+
| ------------------------------------------- | ------------------------------------------- | ------------------------------------------- | ------------------------------------------- |
8+
| `file_id` | *str* | :heavy_check_mark: | ID of the file to download |
9+
| `job_id` | *str* | :heavy_check_mark: | N/A |
10+
| `node_id` | *OptionalNullable[str]* | :heavy_minus_sign: | Node ID to view per node output of the file |
11+
| `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+
# DownloadPlaygroundJobResponse
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+
| `status_code` | *int* | :heavy_check_mark: | HTTP response status code for this operation |
10+
| `raw_response` | [httpx.Response](https://www.python-httpx.org/api/#response) | :heavy_check_mark: | Raw HTTP response; suitable for custom response parsing |
11+
| `any` | *Optional[Any]* | :heavy_minus_sign: | Successful Response |

docs/models/operations/runworkflowrequest.md

Lines changed: 5 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -3,7 +3,8 @@
33

44
## Fields
55

6-
| Field | Type | Required | Description |
7-
| ----------------------- | ----------------------- | ----------------------- | ----------------------- |
8-
| `workflow_id` | *str* | :heavy_check_mark: | N/A |
9-
| `unstructured_api_key` | *OptionalNullable[str]* | :heavy_minus_sign: | N/A |
6+
| Field | Type | Required | Description |
7+
| -------------------------------------------------------------------------- | -------------------------------------------------------------------------- | -------------------------------------------------------------------------- | -------------------------------------------------------------------------- |
8+
| `workflow_id` | *str* | :heavy_check_mark: | N/A |
9+
| `body_run_workflow` | [Optional[shared.BodyRunWorkflow]](../../models/shared/bodyrunworkflow.md) | :heavy_minus_sign: | N/A |
10+
| `unstructured_api_key` | *OptionalNullable[str]* | :heavy_minus_sign: | N/A |

docs/models/shared/bodyrunworkflow.md

Lines changed: 8 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,8 @@
1+
# BodyRunWorkflow
2+
3+
4+
## Fields
5+
6+
| Field | Type | Required | Description |
7+
| ------------------------------------------------------------ | ------------------------------------------------------------ | ------------------------------------------------------------ | ------------------------------------------------------------ |
8+
| `input_files` | List[[shared.InputFiles](../../models/shared/inputfiles.md)] | :heavy_minus_sign: | N/A |

docs/models/shared/config.md

Lines changed: 0 additions & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -51,12 +51,6 @@ value: shared.ElasticsearchConnectorConfigInput = /* values here */
5151
value: shared.GCSDestinationConnectorConfigInput = /* values here */
5252
```
5353

54-
### `shared.KafkaCloudDestinationConnectorConfigInput`
55-
56-
```python
57-
value: shared.KafkaCloudDestinationConnectorConfigInput = /* values here */
58-
```
59-
6054
### `shared.MilvusDestinationConnectorConfigInput`
6155

6256
```python

docs/models/shared/confluencesourceconnectorconfig.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -8,8 +8,8 @@
88
| `cloud` | *bool* | :heavy_check_mark: | N/A |
99
| `max_num_of_docs_from_each_space` | *int* | :heavy_check_mark: | N/A |
1010
| `max_num_of_spaces` | *int* | :heavy_check_mark: | N/A |
11-
| `spaces` | *Nullable[str]* | :heavy_check_mark: | N/A |
1211
| `url` | *str* | :heavy_check_mark: | N/A |
1312
| `username` | *str* | :heavy_check_mark: | N/A |
1413
| `password` | *OptionalNullable[str]* | :heavy_minus_sign: | N/A |
14+
| `spaces` | *OptionalNullable[str]* | :heavy_minus_sign: | N/A |
1515
| `token` | *OptionalNullable[str]* | :heavy_minus_sign: | N/A |

docs/models/shared/couchbasesourceconnectorconfiginput.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -5,11 +5,11 @@
55

66
| Field | Type | Required | Description |
77
| ----------------------- | ----------------------- | ----------------------- | ----------------------- |
8-
| `batch_size` | *int* | :heavy_check_mark: | N/A |
98
| `bucket` | *str* | :heavy_check_mark: | N/A |
109
| `collection_id` | *str* | :heavy_check_mark: | N/A |
1110
| `connection_string` | *str* | :heavy_check_mark: | N/A |
1211
| `password` | *str* | :heavy_check_mark: | N/A |
1312
| `username` | *str* | :heavy_check_mark: | N/A |
13+
| `batch_size` | *Optional[int]* | :heavy_minus_sign: | N/A |
1414
| `collection` | *OptionalNullable[str]* | :heavy_minus_sign: | N/A |
1515
| `scope` | *OptionalNullable[str]* | :heavy_minus_sign: | N/A |

0 commit comments

Comments
 (0)