Skip to content

Commit d478741

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

File tree

18 files changed

+545
-25
lines changed

18 files changed

+545
-25
lines changed

.speakeasy/gen.lock

Lines changed: 18 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: 9f5b0f5a65058a58d5eb82235ccf0616
5+
docVersion: 1.1.23
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
@@ -86,6 +86,8 @@ generatedFiles:
8686
- docs/models/operations/listworkflowsresponse.md
8787
- docs/models/operations/partitionrequest.md
8888
- docs/models/operations/partitionresponse.md
89+
- docs/models/operations/retrieverequest.md
90+
- docs/models/operations/retrieveresponse.md
8991
- docs/models/operations/runworkflowrequest.md
9092
- docs/models/operations/runworkflowresponse.md
9193
- docs/models/operations/updatedestinationrequest.md
@@ -164,6 +166,7 @@ generatedFiles:
164166
- docs/models/shared/outlooksourceconnectorconfiginput.md
165167
- docs/models/shared/outputformat.md
166168
- docs/models/shared/partitionparameters.md
169+
- docs/models/shared/pemauthresponse.md
167170
- docs/models/shared/pineconedestinationconnectorconfig.md
168171
- docs/models/shared/pineconedestinationconnectorconfiginput.md
169172
- docs/models/shared/postgresdestinationconnectorconfig.md
@@ -215,6 +218,7 @@ generatedFiles:
215218
- docs/sdks/destinations/README.md
216219
- docs/sdks/general/README.md
217220
- docs/sdks/jobs/README.md
221+
- docs/sdks/pemkeyauth/README.md
218222
- docs/sdks/sources/README.md
219223
- docs/sdks/unstructuredclient/README.md
220224
- docs/sdks/workflows/README.md
@@ -258,6 +262,7 @@ generatedFiles:
258262
- src/unstructured_client/models/operations/list_sources.py
259263
- src/unstructured_client/models/operations/list_workflows.py
260264
- src/unstructured_client/models/operations/partition.py
265+
- src/unstructured_client/models/operations/retrieve.py
261266
- src/unstructured_client/models/operations/run_workflow.py
262267
- src/unstructured_client/models/operations/update_destination.py
263268
- src/unstructured_client/models/operations/update_source.py
@@ -326,6 +331,7 @@ generatedFiles:
326331
- src/unstructured_client/models/shared/outlooksourceconnectorconfig.py
327332
- src/unstructured_client/models/shared/outlooksourceconnectorconfiginput.py
328333
- src/unstructured_client/models/shared/partition_parameters.py
334+
- src/unstructured_client/models/shared/pemauthresponse.py
329335
- src/unstructured_client/models/shared/pineconedestinationconnectorconfig.py
330336
- src/unstructured_client/models/shared/pineconedestinationconnectorconfiginput.py
331337
- src/unstructured_client/models/shared/postgresdestinationconnectorconfig.py
@@ -365,6 +371,7 @@ generatedFiles:
365371
- src/unstructured_client/models/shared/workflowtype.py
366372
- src/unstructured_client/models/shared/zendesksourceconnectorconfig.py
367373
- src/unstructured_client/models/shared/zendesksourceconnectorconfiginput.py
374+
- src/unstructured_client/pemkeyauth.py
368375
- src/unstructured_client/py.typed
369376
- src/unstructured_client/sdk.py
370377
- src/unstructured_client/sdkconfiguration.py
@@ -633,5 +640,12 @@ examples:
633640
application/json: {"detail": "<value>"}
634641
5XX:
635642
application/json: {"detail": "An error occurred"}
643+
retrieve:
644+
speakeasy-default-retrieve:
645+
responses:
646+
"200":
647+
application/json: {"pem_key": "<value>", "tenant_id": "<id>"}
648+
"422":
649+
application/json: {"detail": "<value>"}
636650
examplesVersion: 1.0.2
637651
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:e3bb8b85cdb5e7cf4f9ac2fc93398696108bd299e379c14c338f73ad4ea5a9c7
6+
sourceBlobDigest: sha256:45fccbe81de2d78b0e015ea92ed40440c6e2b56525706293cc7489f533181254
77
tags:
88
- latest
9-
- speakeasy-sdk-regen-1748459387
10-
- 1.1.17
9+
- speakeasy-sdk-regen-1749082267
10+
- 1.1.23
1111
targets:
1212
unstructured-python:
1313
source: my-source
1414
sourceNamespace: my-source
15-
sourceRevisionDigest: sha256:7ceb514059ca48d6851ea7eacc84aa4177b0299d9fc01e71a891f6bc6244b089
16-
sourceBlobDigest: sha256:20af3cb02fd412795707dc692fcfdb11f412c27d8095ee4197ea318ea31c7bfe
15+
sourceRevisionDigest: sha256:e3bb8b85cdb5e7cf4f9ac2fc93398696108bd299e379c14c338f73ad4ea5a9c7
16+
sourceBlobDigest: sha256:45fccbe81de2d78b0e015ea92ed40440c6e2b56525706293cc7489f533181254
1717
codeSamplesNamespace: my-source-code-samples
18-
codeSamplesRevisionDigest: sha256:8dd8b645e1112de59bfed16856623f891e44b10d8af11e4f48877b08541e246f
18+
codeSamplesRevisionDigest: sha256:e21609fe9dcd7aa32fef1f3ca6fa653f8eb06210eadca7169d0ea8f45eb837b6
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-07 00:10:53
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: 6 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -69,6 +69,12 @@ actions:
6969
- "lang": "python"
7070
"label": "download_job_output"
7171
"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)"
72+
- target: $["paths"]["/api/v1/pemkeyauth/retrieve"]["post"]
73+
update:
74+
"x-codeSamples":
75+
- "lang": "python"
76+
"label": "retrieve"
77+
"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)"
7278
- target: $["paths"]["/api/v1/sources/"]["get"]
7379
update:
7480
"x-codeSamples":
Lines changed: 8 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,8 @@
1+
# RetrieveRequest
2+
3+
4+
## Fields
5+
6+
| Field | Type | Required | Description |
7+
| ----------------------- | ----------------------- | ----------------------- | ----------------------- |
8+
| `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+
# RetrieveResponse
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+
| `pem_auth_response` | [Optional[shared.PemAuthResponse]](../../models/shared/pemauthresponse.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 |

docs/models/shared/pemauthresponse.md

Lines changed: 12 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,12 @@
1+
# PemAuthResponse
2+
3+
Response model for PEM key retrieval.
4+
5+
6+
## Fields
7+
8+
| Field | Type | Required | Description |
9+
| ----------------------- | ----------------------- | ----------------------- | ----------------------- |
10+
| `pem_key` | *str* | :heavy_check_mark: | N/A |
11+
| `tenant_id` | *str* | :heavy_check_mark: | N/A |
12+
| `user_id` | *OptionalNullable[str]* | :heavy_minus_sign: | N/A |

docs/sdks/pemkeyauth/README.md

Lines changed: 48 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,48 @@
1+
# Pemkeyauth
2+
(*pemkeyauth*)
3+
4+
## Overview
5+
6+
### Available Operations
7+
8+
* [retrieve](#retrieve) - Retrieve PEM Key
9+
10+
## retrieve
11+
12+
Given a UNSTRUCTURED_API_KEY in the post-payload, retrieve the associated PEM key
13+
14+
### Example Usage
15+
16+
```python
17+
from unstructured_client import UnstructuredClient
18+
19+
20+
with UnstructuredClient() as uc_client:
21+
22+
res = uc_client.pemkeyauth.retrieve(request={})
23+
24+
assert res.pem_auth_response is not None
25+
26+
# Handle response
27+
print(res.pem_auth_response)
28+
29+
```
30+
31+
### Parameters
32+
33+
| Parameter | Type | Required | Description |
34+
| ------------------------------------------------------------------------ | ------------------------------------------------------------------------ | ------------------------------------------------------------------------ | ------------------------------------------------------------------------ |
35+
| `request` | [operations.RetrieveRequest](../../models/operations/retrieverequest.md) | :heavy_check_mark: | The request object to use for the request. |
36+
| `retries` | [Optional[utils.RetryConfig]](../../models/utils/retryconfig.md) | :heavy_minus_sign: | Configuration to override the default retry behavior of the client. |
37+
| `server_url` | *Optional[str]* | :heavy_minus_sign: | An optional server URL to use. |
38+
39+
### Response
40+
41+
**[operations.RetrieveResponse](../../models/operations/retrieveresponse.md)**
42+
43+
### Errors
44+
45+
| Error Type | Status Code | Content Type |
46+
| -------------------------- | -------------------------- | -------------------------- |
47+
| errors.HTTPValidationError | 422 | application/json |
48+
| errors.SDKError | 4XX, 5XX | \*/\* |

gen.yaml

Lines changed: 3 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -3,6 +3,7 @@ generation:
33
sdkClassName: unstructured_client
44
usageSnippets:
55
optionalPropertyRendering: withExample
6+
sdkInitStyle: constructor
67
fixes:
78
nameResolutionFeb2025: false
89
parameterOrderingFeb2024: false
@@ -13,7 +14,7 @@ generation:
1314
oAuth2ClientCredentialsEnabled: false
1415
oAuth2PasswordEnabled: false
1516
python:
16-
version: 0.36.0
17+
version: 0.37.1
1718
additionalDependencies:
1819
dev:
1920
deepdiff: '>=6.0'
@@ -34,6 +35,7 @@ python:
3435
requests-toolbelt: '>=1.0.0'
3536
authors:
3637
- Unstructured
38+
baseErrorName: UnstructuredClientError
3739
clientServerStatusCodesAsErrors: true
3840
defaultErrorName: SDKError
3941
description: Python Client SDK for Unstructured API

poetry.lock

Lines changed: 8 additions & 8 deletions
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

pyproject.toml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
[project]
22
name = "unstructured-client"
3-
version = "0.36.0"
3+
version = "0.37.1"
44
description = "Python Client SDK for Unstructured API"
55
authors = [{ name = "Unstructured" },]
66
readme = "README-PYPI.md"

src/unstructured_client/_version.py

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -3,10 +3,10 @@
33
import importlib.metadata
44

55
__title__: str = "unstructured-client"
6-
__version__: str = "0.36.0"
7-
__openapi_doc_version__: str = "1.1.17"
6+
__version__: str = "0.37.1"
7+
__openapi_doc_version__: str = "1.1.23"
88
__gen_version__: str = "2.610.0"
9-
__user_agent__: str = "speakeasy-sdk/python 0.36.0 2.610.0 1.1.17 unstructured-client"
9+
__user_agent__: str = "speakeasy-sdk/python 0.37.1 2.610.0 1.1.23 unstructured-client"
1010

1111
try:
1212
if __package__ is not None:

src/unstructured_client/models/operations/__init__.py

Lines changed: 20 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -173,6 +173,14 @@
173173
PartitionResponse,
174174
PartitionResponseTypedDict,
175175
)
176+
from .retrieve import (
177+
RETRIEVE_SERVERS,
178+
RETRIEVE_SERVER_PLATFORM_API,
179+
RetrieveRequest,
180+
RetrieveRequestTypedDict,
181+
RetrieveResponse,
182+
RetrieveResponseTypedDict,
183+
)
176184
from .run_workflow import (
177185
RUN_WORKFLOW_SERVERS,
178186
RUN_WORKFLOW_SERVER_PLATFORM_API,
@@ -334,8 +342,14 @@
334342
"PartitionRequestTypedDict",
335343
"PartitionResponse",
336344
"PartitionResponseTypedDict",
345+
"RETRIEVE_SERVERS",
346+
"RETRIEVE_SERVER_PLATFORM_API",
337347
"RUN_WORKFLOW_SERVERS",
338348
"RUN_WORKFLOW_SERVER_PLATFORM_API",
349+
"RetrieveRequest",
350+
"RetrieveRequestTypedDict",
351+
"RetrieveResponse",
352+
"RetrieveResponseTypedDict",
339353
"RunWorkflowRequest",
340354
"RunWorkflowRequestTypedDict",
341355
"RunWorkflowResponse",
@@ -488,6 +502,12 @@
488502
"PartitionRequestTypedDict": ".partition",
489503
"PartitionResponse": ".partition",
490504
"PartitionResponseTypedDict": ".partition",
505+
"RETRIEVE_SERVERS": ".retrieve",
506+
"RETRIEVE_SERVER_PLATFORM_API": ".retrieve",
507+
"RetrieveRequest": ".retrieve",
508+
"RetrieveRequestTypedDict": ".retrieve",
509+
"RetrieveResponse": ".retrieve",
510+
"RetrieveResponseTypedDict": ".retrieve",
491511
"RUN_WORKFLOW_SERVERS": ".run_workflow",
492512
"RUN_WORKFLOW_SERVER_PLATFORM_API": ".run_workflow",
493513
"RunWorkflowRequest": ".run_workflow",

0 commit comments

Comments
 (0)