Skip to content

Commit 6ed4883

Browse files
chore: 🐝 Update SDK - Generate 0.32.0 (#255)
> [!IMPORTANT] > Linting report available at: <https://app.speakeasy.com/org/unstructured/unstructured5xr/linting-report/b8dc1f2b9b2670c76c924c0f582a998e> > OpenAPI Change report available at: <https://app.speakeasy.com/org/unstructured/unstructured5xr/changes-report/3a42da5ad52320d2f60b46dec8b5cf7b> # SDK update Based on: - OpenAPI Doc - Speakeasy CLI 1.526.0 (2.563.0) https://github.com/speakeasy-api/speakeasy ## Versioning Version Bump Type: [minor] - 🤖 (automated) ## OpenAPI Change Summary ``` ├─┬Info │ └──[🔀] version (18:16) └─┬Components ├─┬JiraSourceConnectorConfig │ ├─┬boards │ │ ├─┬ANYOF │ │ │ └──[🔀] type (3376:25)❌ │ │ └─┬ANYOF │ │ ├──[➕] items (3371:26)❌ │ │ └──[🔀] type (3370:25)❌ │ ├─┬projects │ │ ├─┬ANYOF │ │ │ └──[🔀] type (3362:25)❌ │ │ └─┬ANYOF │ │ ├──[➕] items (3357:26)❌ │ │ └──[🔀] type (3356:25)❌ │ └─┬issues │ ├─┬ANYOF │ │ └──[🔀] type (3390:25)❌ │ └─┬ANYOF │ ├──[➕] items (3385:26)❌ │ └──[🔀] type (3384:25)❌ ├─┬SnowflakeSourceConnectorConfigInput │ └──[➖] required (1:72119)❌ ├─┬SharePointSourceConnectorConfig │ ├──[➕] required (5169:11)❌ │ ├──[➕] required (5170:11)❌ │ ├──[➕] properties (5133:11) │ ├──[➕] properties (5129:11) │ └──[➕] properties (5138:11) ├─┬AstraDBConnectorConfigInput │ └──[➕] properties (1674:11) ├─┬ConfluenceSourceConnectorConfig │ ├──[➕] properties (1964:11) │ ├──[➕] properties (1959:11) │ └─┬spaces │ ├─┬ANYOF │ │ └──[🔀] type (1986:25)❌ │ └─┬ANYOF │ ├──[➕] items (1981:26)❌ │ └──[🔀] type (1980:25)❌ ├─┬JiraSourceConnectorConfigInput │ ├─┬boards │ │ ├─┬ANYOF │ │ │ └──[🔀] type (3470:25)❌ │ │ └─┬ANYOF │ │ ├──[➕] items (3465:26)❌ │ │ └──[🔀] type (3464:25)❌ │ ├─┬issues │ │ ├─┬ANYOF │ │ │ └──[🔀] type (3484:25)❌ │ │ └─┬ANYOF │ │ ├──[➕] items (3479:26)❌ │ │ └──[🔀] type (3478:25)❌ │ └─┬projects │ ├─┬ANYOF │ │ └──[🔀] type (3456:25)❌ │ └─┬ANYOF │ ├──[➕] items (3451:26)❌ │ └──[🔀] type (3450:25)❌ ├─┬ConfluenceSourceConnectorConfigInput │ ├──[➕] properties (2045:11) │ ├──[➕] properties (2040:11) │ └─┬spaces │ ├─┬ANYOF │ │ └──[🔀] type (2071:25)❌ │ └─┬ANYOF │ ├──[➕] items (2066:26)❌ │ └──[🔀] type (2065:25)❌ ├─┬SnowflakeSourceConnectorConfig │ └──[➖] required (1:71137)❌ ├─┬partition_parameters │ ├──[➕] properties (6619:11) │ ├──[➕] properties (6632:11) │ ├──[➕] properties (6606:11) │ └──[➕] properties (6645:11) ├─┬SnowflakeDestinationConnectorConfig │ └──[➖] required (1:69213)❌ ├─┬SharePointSourceConnectorConfigInput │ ├──[➕] required (5225:11)❌ │ ├──[➕] required (5226:11)❌ │ ├──[➕] properties (5188:11) │ ├──[➕] properties (5184:11) │ └──[➕] properties (5193:11) └─┬SnowflakeDestinationConnectorConfigInput └──[➖] required (1:70262)❌ ``` | Document Element | Total Changes | Breaking Changes | |------------------|---------------|------------------| | info | 1 | 0 | | components | 47 | 32 | ## PYTHON CHANGELOG No relevant generator changes Co-authored-by: speakeasybot <[email protected]>
1 parent efb19b6 commit 6ed4883

40 files changed

+249
-144
lines changed

.speakeasy/gen.lock

+7-7
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: c919f9a5fe1fffc0fe08d9ba771fdf37
5-
docVersion: 1.0.81
6-
speakeasyVersion: 1.525.1
7-
generationVersion: 2.562.2
8-
releaseVersion: 0.31.6
9-
configChecksum: 4c2dbab9c89a9d2312d8d54a2c3fef88
4+
docChecksum: 82d55672df290a1b6b3641bf1c0385a0
5+
docVersion: 1.1.4
6+
speakeasyVersion: 1.526.0
7+
generationVersion: 2.563.0
8+
releaseVersion: 0.32.0
9+
configChecksum: aaffd2f8109b46337a8b440562051f7a
1010
repoURL: https://github.com/Unstructured-IO/unstructured-python-client.git
1111
repoSubDirectory: .
1212
installationURL: https://github.com/Unstructured-IO/unstructured-python-client.git
@@ -566,7 +566,7 @@ examples:
566566
partition:
567567
speakeasy-default-partition:
568568
requestBody:
569-
multipart/form-data: {"chunking_strategy": "by_title", "combine_under_n_chars": null, "content_type": null, "coordinates": false, "encoding": null, "files": {"": "{\"summary\":\"File to be partitioned\",\"externalValue\":\"https://github.com/Unstructured-IO/unstructured/blob/98d3541909f64290b5efb65a226fc3ee8a7cc5ee/example-docs/layout-parser-paper.pdf\"}"}, "gz_uncompressed_content_type": null, "hi_res_model_name": null, "include_orig_elements": null, "include_page_breaks": false, "include_slide_notes": true, "max_characters": null, "multipage_sections": true, "new_after_n_chars": null, "output_format": "application/json", "overlap": 0, "overlap_all": false, "pdf_infer_table_structure": true, "similarity_threshold": null, "split_pdf_allow_failed": false, "split_pdf_cache_tmp_data": false, "split_pdf_cache_tmp_data_dir": "<value>", "split_pdf_concurrency_level": 5, "split_pdf_page": true, "split_pdf_page_range": [1, 10], "starting_page_number": null, "strategy": "vlm", "table_ocr_agent": null, "unique_element_ids": false, "vlm_model": "gpt-4o", "vlm_model_provider": "openai", "xml_keep_tags": false}
569+
multipart/form-data: {"chunking_strategy": "by_title", "combine_under_n_chars": null, "content_type": null, "coordinates": false, "encoding": null, "files": {"": "{\"summary\":\"File to be partitioned\",\"externalValue\":\"https://github.com/Unstructured-IO/unstructured/blob/98d3541909f64290b5efb65a226fc3ee8a7cc5ee/example-docs/layout-parser-paper.pdf\"}"}, "gz_uncompressed_content_type": null, "hi_res_model_name": null, "include_orig_elements": null, "include_page_breaks": false, "include_slide_notes": true, "max_characters": null, "multipage_sections": true, "new_after_n_chars": null, "output_format": "application/json", "overlap": 0, "overlap_all": false, "pdf_infer_table_structure": true, "pdfminer_char_margin": null, "pdfminer_line_margin": null, "pdfminer_line_overlap": null, "pdfminer_word_margin": null, "similarity_threshold": null, "split_pdf_allow_failed": false, "split_pdf_cache_tmp_data": false, "split_pdf_cache_tmp_data_dir": "<value>", "split_pdf_concurrency_level": 5, "split_pdf_page": true, "split_pdf_page_range": [1, 10], "starting_page_number": null, "strategy": "vlm", "table_ocr_agent": null, "unique_element_ids": false, "vlm_model": "gpt-4o", "vlm_model_provider": "openai", "xml_keep_tags": false}
570570
responses:
571571
"200":
572572
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"}}]

.speakeasy/workflow.lock

+8-8
Original file line numberDiff line numberDiff line change
@@ -1,21 +1,21 @@
1-
speakeasyVersion: 1.525.1
1+
speakeasyVersion: 1.526.0
22
sources:
33
my-source:
44
sourceNamespace: my-source
5-
sourceRevisionDigest: sha256:8cefa2db4e0071ffc9ae499d113126153c720616d0f065d3cfd8d0130d695c14
6-
sourceBlobDigest: sha256:bbe20a8c95ddaf534208edebea334f221fa91acaff2ae00525987715bd36b943
5+
sourceRevisionDigest: sha256:b7ee9aa59b47e0b739012e611720330b6870798eb256e44c15d0c55832dc1207
6+
sourceBlobDigest: sha256:19ebaffb7c44a42ce3fbdf03cf5fe0f4a68956d59d6f3239d8b6a5b16e1c07e5
77
tags:
88
- latest
9-
- speakeasy-sdk-regen-1743108088
10-
- 1.0.81
9+
- speakeasy-sdk-regen-1743188464
10+
- 1.1.4
1111
targets:
1212
unstructured-python:
1313
source: my-source
1414
sourceNamespace: my-source
15-
sourceRevisionDigest: sha256:8cefa2db4e0071ffc9ae499d113126153c720616d0f065d3cfd8d0130d695c14
16-
sourceBlobDigest: sha256:bbe20a8c95ddaf534208edebea334f221fa91acaff2ae00525987715bd36b943
15+
sourceRevisionDigest: sha256:b7ee9aa59b47e0b739012e611720330b6870798eb256e44c15d0c55832dc1207
16+
sourceBlobDigest: sha256:19ebaffb7c44a42ce3fbdf03cf5fe0f4a68956d59d6f3239d8b6a5b16e1c07e5
1717
codeSamplesNamespace: my-source-code-samples
18-
codeSamplesRevisionDigest: sha256:974e4d48d27a10c9be80ec289dc9dbf7903b32a4ac7f0c6821c8224e52b93799
18+
codeSamplesRevisionDigest: sha256:0696c1f0b1f0274a950cd103dd855cc721ada1716468d57138e7370f7f7e9ea4
1919
workflow:
2020
workflowVersion: 1.0.0
2121
speakeasyVersion: latest

RELEASES.md

+11-1
Original file line numberDiff line numberDiff line change
@@ -905,4 +905,14 @@ Based on:
905905
### Generated
906906
- [python v0.31.6] .
907907
### Releases
908-
- [PyPI v0.31.6] https://pypi.org/project/unstructured-client/0.31.6 - .
908+
- [PyPI v0.31.6] https://pypi.org/project/unstructured-client/0.31.6 - .
909+
910+
## 2025-03-28 19:00:48
911+
### Changes
912+
Based on:
913+
- OpenAPI Doc
914+
- Speakeasy CLI 1.526.0 (2.563.0) https://github.com/speakeasy-api/speakeasy
915+
### Generated
916+
- [python v0.32.0] .
917+
### Releases
918+
- [PyPI v0.32.0] https://pypi.org/project/unstructured-client/0.32.0 - .

codeSamples.yaml

+2-2
Original file line numberDiff line numberDiff line change
@@ -14,7 +14,7 @@ actions:
1414
"x-codeSamples":
1515
- "lang": "python"
1616
"label": "create_destination"
17-
"source": "from unstructured_client import UnstructuredClient\nfrom unstructured_client.models import shared\n\n\nwith UnstructuredClient() as uc_client:\n\n res = uc_client.destinations.create_destination(request={\n \"create_destination_connector\": {\n \"name\": \"<value>\",\n \"type\": shared.DestinationConnectorType.AZURE_AI_SEARCH,\n \"config\": {\n \"collection_name\": \"<value>\",\n \"batch_size\": 20,\n \"api_endpoint\": \"<value>\",\n \"token\": \"<value>\",\n },\n },\n })\n\n assert res.destination_connector_information is not None\n\n # Handle response\n print(res.destination_connector_information)"
17+
"source": "from unstructured_client import UnstructuredClient\nfrom unstructured_client.models import shared\n\n\nwith UnstructuredClient() as uc_client:\n\n res = uc_client.destinations.create_destination(request={\n \"create_destination_connector\": {\n \"name\": \"<value>\",\n \"type\": shared.DestinationConnectorType.AZURE_AI_SEARCH,\n \"config\": {\n \"collection_name\": \"<value>\",\n \"batch_size\": 20,\n \"api_endpoint\": \"<value>\",\n \"token\": \"<value>\",\n \"flatten_metadata\": False,\n },\n },\n })\n\n assert res.destination_connector_information is not None\n\n # Handle response\n print(res.destination_connector_information)"
1818
- target: $["paths"]["/api/v1/destinations/{destination_id}"]["delete"]
1919
update:
2020
"x-codeSamples":
@@ -68,7 +68,7 @@ actions:
6868
"x-codeSamples":
6969
- "lang": "python"
7070
"label": "create_source"
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.SHAREPOINT,\n \"config\": {\n \"account\": \"21158540\",\n \"role\": \"<value>\",\n \"user\": \"Andrew_Ebert71\",\n \"password\": \"RKAX3jUtlnjWe9D\",\n \"host\": \"impractical-academics.net\",\n \"port\": 443,\n \"database\": \"<value>\",\n \"schema_\": \"<value>\",\n \"table_name\": \"<value>\",\n \"batch_size\": 100,\n \"id_column\": \"<value>\",\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.SHAREPOINT,\n \"config\": {\n \"account\": \"21158540\",\n \"role\": \"<value>\",\n \"user\": \"Andrew_Ebert71\",\n \"password\": \"RKAX3jUtlnjWe9D\",\n \"host\": \"impractical-academics.net\",\n \"port\": 443,\n \"database\": \"<value>\",\n \"table_name\": \"<value>\",\n \"batch_size\": 100,\n \"id_column\": \"<value>\",\n },\n },\n })\n\n assert res.source_connector_information is not None\n\n # Handle response\n print(res.source_connector_information)"
7272
- target: $["paths"]["/api/v1/sources/{source_id}"]["delete"]
7373
update:
7474
"x-codeSamples":

docs/models/shared/astradbconnectorconfiginput.md

+1
Original file line numberDiff line numberDiff line change
@@ -9,4 +9,5 @@
99
| `collection_name` | *str* | :heavy_check_mark: | N/A |
1010
| `token` | *str* | :heavy_check_mark: | N/A |
1111
| `batch_size` | *Optional[int]* | :heavy_minus_sign: | N/A |
12+
| `flatten_metadata` | *Optional[bool]* | :heavy_minus_sign: | N/A |
1213
| `keyspace` | *OptionalNullable[str]* | :heavy_minus_sign: | N/A |

docs/models/shared/confluencesourceconnectorconfig.md

+3-1
Original file line numberDiff line numberDiff line change
@@ -8,8 +8,10 @@
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 |
11+
| `spaces` | List[*str*] | :heavy_check_mark: | N/A |
1212
| `url` | *str* | :heavy_check_mark: | N/A |
1313
| `username` | *str* | :heavy_check_mark: | N/A |
14+
| `extract_files` | *Optional[bool]* | :heavy_minus_sign: | N/A |
15+
| `extract_images` | *Optional[bool]* | :heavy_minus_sign: | N/A |
1416
| `password` | *OptionalNullable[str]* | :heavy_minus_sign: | N/A |
1517
| `token` | *OptionalNullable[str]* | :heavy_minus_sign: | N/A |

docs/models/shared/confluencesourceconnectorconfiginput.md

+3-1
Original file line numberDiff line numberDiff line change
@@ -8,8 +8,10 @@
88
| `url` | *str* | :heavy_check_mark: | N/A |
99
| `username` | *str* | :heavy_check_mark: | N/A |
1010
| `cloud` | *Optional[bool]* | :heavy_minus_sign: | N/A |
11+
| `extract_files` | *Optional[bool]* | :heavy_minus_sign: | N/A |
12+
| `extract_images` | *Optional[bool]* | :heavy_minus_sign: | N/A |
1113
| `max_num_of_docs_from_each_space` | *Optional[int]* | :heavy_minus_sign: | N/A |
1214
| `max_num_of_spaces` | *Optional[int]* | :heavy_minus_sign: | N/A |
1315
| `password` | *OptionalNullable[str]* | :heavy_minus_sign: | N/A |
14-
| `spaces` | *OptionalNullable[str]* | :heavy_minus_sign: | N/A |
16+
| `spaces` | List[*str*] | :heavy_minus_sign: | N/A |
1517
| `token` | *OptionalNullable[str]* | :heavy_minus_sign: | N/A |

docs/models/shared/jirasourceconnectorconfig.md

+3-3
Original file line numberDiff line numberDiff line change
@@ -7,9 +7,9 @@
77
| ------------------------ | ------------------------ | ------------------------ | ------------------------ |
88
| `url` | *str* | :heavy_check_mark: | N/A |
99
| `username` | *str* | :heavy_check_mark: | N/A |
10-
| `boards` | *OptionalNullable[str]* | :heavy_minus_sign: | N/A |
10+
| `boards` | List[*str*] | :heavy_minus_sign: | N/A |
1111
| `cloud` | *OptionalNullable[bool]* | :heavy_minus_sign: | N/A |
12-
| `issues` | *OptionalNullable[str]* | :heavy_minus_sign: | N/A |
12+
| `issues` | List[*str*] | :heavy_minus_sign: | N/A |
1313
| `password` | *OptionalNullable[str]* | :heavy_minus_sign: | N/A |
14-
| `projects` | *OptionalNullable[str]* | :heavy_minus_sign: | N/A |
14+
| `projects` | List[*str*] | :heavy_minus_sign: | N/A |
1515
| `token` | *OptionalNullable[str]* | :heavy_minus_sign: | N/A |

docs/models/shared/jirasourceconnectorconfiginput.md

+3-3
Original file line numberDiff line numberDiff line change
@@ -7,9 +7,9 @@
77
| ------------------------ | ------------------------ | ------------------------ | ------------------------ |
88
| `url` | *str* | :heavy_check_mark: | N/A |
99
| `username` | *str* | :heavy_check_mark: | N/A |
10-
| `boards` | *OptionalNullable[str]* | :heavy_minus_sign: | N/A |
10+
| `boards` | List[*str*] | :heavy_minus_sign: | N/A |
1111
| `cloud` | *OptionalNullable[bool]* | :heavy_minus_sign: | N/A |
12-
| `issues` | *OptionalNullable[str]* | :heavy_minus_sign: | N/A |
12+
| `issues` | List[*str*] | :heavy_minus_sign: | N/A |
1313
| `password` | *OptionalNullable[str]* | :heavy_minus_sign: | N/A |
14-
| `projects` | *OptionalNullable[str]* | :heavy_minus_sign: | N/A |
14+
| `projects` | List[*str*] | :heavy_minus_sign: | N/A |
1515
| `token` | *OptionalNullable[str]* | :heavy_minus_sign: | N/A |

0 commit comments

Comments
 (0)