Skip to content

Commit 831123a

Browse files
committed
ci: regenerated with OpenAPI Doc , Speakeasy CLI 1.332.1
1 parent db67f39 commit 831123a

File tree

17 files changed

+347
-18
lines changed

17 files changed

+347
-18
lines changed

.speakeasy/gen.lock

Lines changed: 12 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -1,12 +1,12 @@
11
lockVersion: 2.0.0
22
id: b0b519b1-d1d3-43b2-82dd-b4292eadd4b0
33
management:
4-
docChecksum: f5cf06d8d5f2ec68226ab161d7a73cba
4+
docChecksum: 638dbecd668cc1d7818c3b5aefd2d3e1
55
docVersion: 0.4.0 .
6-
speakeasyVersion: 1.331.0
7-
generationVersion: 2.365.0
8-
releaseVersion: 6.0.0
9-
configChecksum: f414126a58ac4fbab5782f1046b2f87c
6+
speakeasyVersion: 1.332.1
7+
generationVersion: 2.366.1
8+
releaseVersion: 6.0.1
9+
configChecksum: 97d1236f08906ddf9eec64830edad7ae
1010
repoURL: https://github.com/speakeasy-api/speakeasy-client-sdk-python.git
1111
repoSubDirectory: .
1212
installationURL: https://github.com/speakeasy-api/speakeasy-client-sdk-python.git
@@ -44,6 +44,7 @@ generatedFiles:
4444
- src/speakeasy_client_sdk_python/github.py
4545
- src/speakeasy_client_sdk_python/organizations.py
4646
- src/speakeasy_client_sdk_python/reports.py
47+
- src/speakeasy_client_sdk_python/shorturls.py
4748
- src/speakeasy_client_sdk_python/suggest.py
4849
- src/speakeasy_client_sdk_python/embeds.py
4950
- src/speakeasy_client_sdk_python/events.py
@@ -126,6 +127,7 @@ generatedFiles:
126127
- src/speakeasy_client_sdk_python/models/operations/getchangesreportsignedurl.py
127128
- src/speakeasy_client_sdk_python/models/operations/getlintingreportsignedurl.py
128129
- src/speakeasy_client_sdk_python/models/operations/uploadreport.py
130+
- src/speakeasy_client_sdk_python/models/operations/create.py
129131
- src/speakeasy_client_sdk_python/models/operations/applyoperationids.py
130132
- src/speakeasy_client_sdk_python/models/operations/suggestoperationids.py
131133
- src/speakeasy_client_sdk_python/models/operations/suggestoperationidsregistry.py
@@ -185,6 +187,7 @@ generatedFiles:
185187
- src/speakeasy_client_sdk_python/models/shared/organizationusage.py
186188
- src/speakeasy_client_sdk_python/models/shared/organization.py
187189
- src/speakeasy_client_sdk_python/models/shared/report.py
190+
- src/speakeasy_client_sdk_python/models/shared/shorturl.py
188191
- src/speakeasy_client_sdk_python/models/shared/suggestedoperationids.py
189192
- src/speakeasy_client_sdk_python/models/shared/suggestoperationidsopts.py
190193
- src/speakeasy_client_sdk_python/models/shared/embedaccesstokenresponse.py
@@ -305,6 +308,8 @@ generatedFiles:
305308
- docs/models/operations/uploadreportrequestbody.md
306309
- docs/models/operations/uploadreportuploadedreport.md
307310
- docs/models/operations/uploadreportresponse.md
311+
- docs/models/operations/createrequestbody.md
312+
- docs/models/operations/createresponse.md
308313
- docs/models/operations/applyoperationidsrequestbody.md
309314
- docs/models/operations/applyoperationidsrequest.md
310315
- docs/models/operations/applyoperationidsresponse.md
@@ -391,6 +396,7 @@ generatedFiles:
391396
- docs/models/shared/organization.md
392397
- docs/models/shared/type.md
393398
- docs/models/shared/report.md
399+
- docs/models/shared/shorturl.md
394400
- docs/models/shared/suggestedoperationids.md
395401
- docs/models/shared/depthstyle.md
396402
- docs/models/shared/style.md
@@ -416,6 +422,7 @@ generatedFiles:
416422
- docs/sdks/github/README.md
417423
- docs/sdks/organizations/README.md
418424
- docs/sdks/reports/README.md
425+
- docs/sdks/shorturls/README.md
419426
- docs/sdks/suggest/README.md
420427
- docs/sdks/embeds/README.md
421428
- docs/sdks/events/README.md

.speakeasy/gen.yaml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -10,7 +10,7 @@ generation:
1010
auth:
1111
oAuth2ClientCredentialsEnabled: false
1212
python:
13-
version: 6.0.0
13+
version: 6.0.1
1414
additionalDependencies:
1515
dev: {}
1616
main: {}

.speakeasy/workflow.lock

Lines changed: 5 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -1,18 +1,18 @@
1-
speakeasyVersion: 1.331.0
1+
speakeasyVersion: 1.332.1
22
sources:
33
speakeasy-openapi:
44
sourceNamespace: speakeasy-openapi
5-
sourceRevisionDigest: sha256:8787159661038cf5a3046fb75861745de4add6bbd3fbaf226608a20e66515391
6-
sourceBlobDigest: sha256:ead0e21583007eb3befd64a8c9f9015fc5effc5500c22030c553e7a992a742b7
5+
sourceRevisionDigest: sha256:f880ed96c602f2283878bfca703285e92a097cc042dc1f7ab5396a86b55a1895
6+
sourceBlobDigest: sha256:edb4044f351de8961bca49a9b0e558b03ee41e96ed79ba21a86c447b9bf2c53e
77
tags:
88
- latest
99
- main
1010
targets:
1111
speakeasy-client-sdk-python:
1212
source: speakeasy-openapi
1313
sourceNamespace: speakeasy-openapi
14-
sourceRevisionDigest: sha256:8787159661038cf5a3046fb75861745de4add6bbd3fbaf226608a20e66515391
15-
sourceBlobDigest: sha256:ead0e21583007eb3befd64a8c9f9015fc5effc5500c22030c553e7a992a742b7
14+
sourceRevisionDigest: sha256:f880ed96c602f2283878bfca703285e92a097cc042dc1f7ab5396a86b55a1895
15+
sourceBlobDigest: sha256:edb4044f351de8961bca49a9b0e558b03ee41e96ed79ba21a86c447b9bf2c53e
1616
outLocation: /github/workspace/repo
1717
workflow:
1818
workflowVersion: 1.0.0

README.md

Lines changed: 4 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -152,6 +152,10 @@ asyncio.run(main())
152152
* [get_linting_report_signed_url](docs/sdks/reports/README.md#get_linting_report_signed_url) - Get the signed access url for the linting reports for a particular document.
153153
* [upload_report](docs/sdks/reports/README.md#upload_report) - Upload a report.
154154

155+
### [short_ur_ls](docs/sdks/shorturls/README.md)
156+
157+
* [create](docs/sdks/shorturls/README.md#create) - Shorten a URL.
158+
155159
### [suggest](docs/sdks/suggest/README.md)
156160

157161
* [apply_operation_i_ds](docs/sdks/suggest/README.md#apply_operation_i_ds) - Apply operation ID suggestions and download result.

RELEASES.md

Lines changed: 11 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1736,4 +1736,14 @@ Based on:
17361736
### Generated
17371737
- [python v6.0.0] .
17381738
### Releases
1739-
- [PyPI v6.0.0] https://pypi.org/project/speakeasy-client-sdk-python/6.0.0 - .
1739+
- [PyPI v6.0.0] https://pypi.org/project/speakeasy-client-sdk-python/6.0.0 - .
1740+
1741+
## 2024-07-12 00:11:41
1742+
### Changes
1743+
Based on:
1744+
- OpenAPI Doc
1745+
- Speakeasy CLI 1.332.1 (2.366.1) https://github.com/speakeasy-api/speakeasy
1746+
### Generated
1747+
- [python v6.0.1] .
1748+
### Releases
1749+
- [PyPI v6.0.1] https://pypi.org/project/speakeasy-client-sdk-python/6.0.1 - .
Lines changed: 8 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,8 @@
1+
# CreateRequestBody
2+
3+
4+
## Fields
5+
6+
| Field | Type | Required | Description |
7+
| ------------------ | ------------------ | ------------------ | ------------------ |
8+
| `url` | *str* | :heavy_check_mark: | URL to shorten |
Lines changed: 11 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,11 @@
1+
# CreateResponse
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+
| `short_url` | [Optional[shared.ShortURL]](../../models/shared/shorturl.md) | :heavy_minus_sign: | OK |

docs/models/shared/shorturl.md

Lines changed: 9 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,9 @@
1+
# ShortURL
2+
3+
4+
## Fields
5+
6+
| Field | Type | Required | Description |
7+
| ------------------ | ------------------ | ------------------ | ------------------ |
8+
| `full_url` | *str* | :heavy_check_mark: | N/A |
9+
| `short_url` | *str* | :heavy_check_mark: | N/A |

docs/sdks/shorturls/README.md

Lines changed: 55 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,55 @@
1+
# ShortURLs
2+
(*short_ur_ls*)
3+
4+
## Overview
5+
6+
REST APIs for managing short URLs
7+
8+
### Available Operations
9+
10+
* [create](#create) - Shorten a URL.
11+
12+
## create
13+
14+
Shorten a URL.
15+
16+
### Example Usage
17+
18+
```python
19+
import os
20+
from speakeasy_client_sdk_python import Speakeasy
21+
from speakeasy_client_sdk_python.models import shared
22+
23+
s = Speakeasy(
24+
security=shared.Security(
25+
api_key=os.getenv("API_KEY", ""),
26+
),
27+
)
28+
29+
30+
res = s.short_ur_ls.create(request={
31+
"url": "http://limp-pastry.org",
32+
})
33+
34+
if res.short_url is not None:
35+
# handle response
36+
pass
37+
38+
```
39+
40+
### Parameters
41+
42+
| Parameter | Type | Required | Description |
43+
| ---------------------------------------------------------------------------- | ---------------------------------------------------------------------------- | ---------------------------------------------------------------------------- | ---------------------------------------------------------------------------- |
44+
| `request` | [operations.CreateRequestBody](../../models/operations/createrequestbody.md) | :heavy_check_mark: | The request object to use for the request. |
45+
| `retries` | [Optional[utils.RetryConfig]](../../models/utils/retryconfig.md) | :heavy_minus_sign: | Configuration to override the default retry behavior of the client. |
46+
47+
48+
### Response
49+
50+
**[operations.CreateResponse](../../models/operations/createresponse.md)**
51+
### Errors
52+
53+
| Error Object | Status Code | Content Type |
54+
| --------------- | --------------- | --------------- |
55+
| errors.SDKError | 4xx-5xx | */* |

pyproject.toml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
[tool.poetry]
22
name = "speakeasy-client-sdk-python"
3-
version = "6.0.0"
3+
version = "6.0.1"
44
description = "Speakeasy API Client SDK for Python"
55
authors = ["Speakeasy",]
66
readme = "README.md"

0 commit comments

Comments
 (0)