Skip to content

Commit 58e2b69

Browse files
committed
ci: regenerated with OpenAPI Doc 0.4.0, Speakeasy CLI 1.204.1
1 parent 5084680 commit 58e2b69

32 files changed

+581
-484
lines changed

.speakeasy/gen.lock

Lines changed: 10 additions & 8 deletions
Original file line numberDiff line numberDiff line change
@@ -1,25 +1,26 @@
11
lockVersion: 2.0.0
22
id: b0b519b1-d1d3-43b2-82dd-b4292eadd4b0
33
management:
4-
docChecksum: 78317aabbf8200a3d43be677bd6fe435
4+
docChecksum: 64b423d1904e6c12d31973957d033247
55
docVersion: 0.4.0
6-
speakeasyVersion: 1.202.0
7-
generationVersion: 2.277.0
8-
releaseVersion: 5.3.2
9-
configChecksum: affd4a37f328a37e21923e7294b7f345
6+
speakeasyVersion: 1.204.1
7+
generationVersion: 2.279.1
8+
releaseVersion: 5.4.0
9+
configChecksum: b7b3a76dd38b581e75d3bacbb60538ec
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
1313
published: true
1414
features:
1515
python:
16-
core: 4.5.0
16+
core: 4.5.1
1717
downloadStreams: 0.0.2
1818
examples: 2.81.3
1919
globalSecurity: 2.83.4
2020
globalServerURLs: 2.82.1
2121
globals: 2.81.1
2222
inputOutputModels: 2.83.1
23+
responseFormat: 0.1.0
2324
retries: 2.82.1
2425
serverIDs: 2.81.1
2526
generatedFiles:
@@ -33,6 +34,7 @@ generatedFiles:
3334
- src/speakeasy/embeds.py
3435
- src/speakeasy/events.py
3536
- src/speakeasy/sdk.py
37+
- py.typed
3638
- pylintrc
3739
- setup.py
3840
- src/speakeasy/__init__.py
@@ -99,6 +101,7 @@ generatedFiles:
99101
- src/speakeasy/models/shared/embedaccesstokenresponse.py
100102
- src/speakeasy/models/shared/embedtoken.py
101103
- src/speakeasy/models/shared/clievent.py
104+
- src/speakeasy/models/shared/interactiontype.py
102105
- src/speakeasy/models/shared/targetsdk.py
103106
- src/speakeasy/models/shared/security.py
104107
- src/speakeasy/models/__init__.py
@@ -207,8 +210,8 @@ generatedFiles:
207210
- docs/models/shared/embedaccesstokenresponse.md
208211
- docs/models/shared/embedtoken.md
209212
- docs/models/shared/generatebumptype.md
210-
- docs/models/shared/interactiontype.md
211213
- docs/models/shared/clievent.md
214+
- docs/models/shared/interactiontype.md
212215
- docs/models/shared/targetsdk.md
213216
- docs/models/shared/security.md
214217
- docs/sdks/speakeasy/README.md
@@ -223,7 +226,6 @@ generatedFiles:
223226
- docs/sdks/events/README.md
224227
- USAGE.md
225228
- .gitattributes
226-
- src/speakeasy/_hooks/registration.py
227229
- src/speakeasy/_hooks/sdkhooks.py
228230
- src/speakeasy/_hooks/types.py
229231
- src/speakeasy/_hooks/__init__.py

README.md

Lines changed: 11 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -31,6 +31,7 @@ res = s.apis.get_apis(req)
3131
if res.apis is not None:
3232
# handle response
3333
pass
34+
3435
```
3536
<!-- End SDK Example Usage [usage] -->
3637

@@ -143,6 +144,7 @@ except errors.SDKError as e:
143144
if res.cli_event_batch is not None:
144145
# handle response
145146
pass
147+
146148
```
147149
<!-- End Error Handling [errors] -->
148150

@@ -180,9 +182,10 @@ req = operations.DeleteAPIRequest(
180182

181183
res = s.apis.delete_api(req)
182184

183-
if res.status_code == 200:
185+
if res is not None:
184186
# handle response
185187
pass
188+
186189
```
187190

188191

@@ -208,9 +211,10 @@ req = operations.DeleteAPIRequest(
208211

209212
res = s.apis.delete_api(req)
210213

211-
if res.status_code == 200:
214+
if res is not None:
212215
# handle response
213216
pass
217+
214218
```
215219
<!-- End Server Selection [server] -->
216220

@@ -265,9 +269,10 @@ req = operations.DeleteAPIRequest(
265269

266270
res = s.apis.delete_api(req)
267271

268-
if res.status_code == 200:
272+
if res is not None:
269273
# handle response
270274
pass
275+
271276
```
272277
<!-- End Authentication [security] -->
273278

@@ -308,6 +313,7 @@ res = s.events.get_workspace_events(req)
308313
if res.cli_event_batch is not None:
309314
# handle response
310315
pass
316+
311317
```
312318
<!-- End Global Parameters [global-parameters] -->
313319

@@ -337,6 +343,7 @@ res = s.auth.get_workspace_access(req,
337343
if res.access_details is not None:
338344
# handle response
339345
pass
346+
340347
```
341348

342349
If you'd like to override the default retry strategy for all operations that support retries, you can use the `retry_config` optional parameter when initializing the SDK:
@@ -360,6 +367,7 @@ res = s.auth.get_workspace_access(req)
360367
if res.access_details is not None:
361368
# handle response
362369
pass
370+
363371
```
364372
<!-- End Retries [retries] -->
365373

RELEASES.md

Lines changed: 11 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1316,4 +1316,14 @@ Based on:
13161316
### Generated
13171317
- [python v5.3.2] .
13181318
### Releases
1319-
- [PyPI v5.3.2] https://pypi.org/project/speakeasy-client-sdk-python/5.3.2 - .
1319+
- [PyPI v5.3.2] https://pypi.org/project/speakeasy-client-sdk-python/5.3.2 - .
1320+
1321+
## 2024-03-08 00:10:44
1322+
### Changes
1323+
Based on:
1324+
- OpenAPI Doc 0.4.0 https://docs.speakeasyapi.dev/openapi.yaml
1325+
- Speakeasy CLI 1.204.1 (2.279.1) https://github.com/speakeasy-api/speakeasy
1326+
### Generated
1327+
- [python v5.4.0] .
1328+
### Releases
1329+
- [PyPI v5.4.0] https://pypi.org/project/speakeasy-client-sdk-python/5.4.0 - .

USAGE.md

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -17,5 +17,6 @@ res = s.apis.get_apis(req)
1717
if res.apis is not None:
1818
# handle response
1919
pass
20+
2021
```
2122
<!-- End SDK Example Usage [usage] -->

docs/models/shared/interactiontype.md

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -7,8 +7,10 @@ Type of interaction.
77

88
| Name | Value |
99
| ----------------- | ----------------- |
10+
| `CI_EXEC` | CI_EXEC |
1011
| `CLI_EXEC` | CLI_EXEC |
1112
| `TARGET_GENERATE` | TARGET_GENERATE |
13+
| `TOMBSTONE` | TOMBSTONE |
1214
| `AUTHENTICATE` | AUTHENTICATE |
1315
| `QUICKSTART` | QUICKSTART |
1416
| `RUN` | RUN |

docs/models/shared/targetsdk.md

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -10,6 +10,7 @@
1010
| `id` | *str* | :heavy_check_mark: | Unique identifier of the target the same as `generate_gen_lock_id` |
1111
| `last_event_created_at` | [date](https://docs.python.org/3/library/datetime.html#date-objects) | :heavy_check_mark: | Timestamp when the event was created in the database. |
1212
| `last_event_id` | *str* | :heavy_check_mark: | Unique identifier of the last event for the target |
13+
| `last_event_interaction_type` | [shared.InteractionType](../../models/shared/interactiontype.md) | :heavy_check_mark: | Type of interaction. |
1314
| `commit_head` | *Optional[str]* | :heavy_minus_sign: | Remote commit ID. |
1415
| `continuous_integration_environment` | *Optional[str]* | :heavy_minus_sign: | Name of the CI environment. |
1516
| `generate_config_post_version` | *Optional[str]* | :heavy_minus_sign: | Version of the generated target (post generation) |

docs/sdks/apiendpoints/README.md

Lines changed: 9 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -41,9 +41,10 @@ req = operations.DeleteAPIEndpointRequest(
4141

4242
res = s.api_endpoints.delete_api_endpoint(req)
4343

44-
if res.status_code == 200:
44+
if res is not None:
4545
# handle response
4646
pass
47+
4748
```
4849

4950
### Parameters
@@ -91,6 +92,7 @@ res = s.api_endpoints.find_api_endpoint(req)
9192
if res.api_endpoint is not None:
9293
# handle response
9394
pass
95+
9496
```
9597

9698
### Parameters
@@ -138,6 +140,7 @@ res = s.api_endpoints.generate_open_api_spec_for_api_endpoint(req)
138140
if res.generate_open_api_spec_diff is not None:
139141
# handle response
140142
pass
143+
141144
```
142145

143146
### Parameters
@@ -184,6 +187,7 @@ res = s.api_endpoints.generate_postman_collection_for_api_endpoint(req)
184187
if res.postman_collection is not None:
185188
# handle response
186189
pass
190+
187191
```
188192

189193
### Parameters
@@ -228,6 +232,7 @@ res = s.api_endpoints.get_all_api_endpoints(req)
228232
if res.api_endpoints is not None:
229233
# handle response
230234
pass
235+
231236
```
232237

233238
### Parameters
@@ -273,6 +278,7 @@ res = s.api_endpoints.get_all_for_version_api_endpoints(req)
273278
if res.api_endpoints is not None:
274279
# handle response
275280
pass
281+
276282
```
277283

278284
### Parameters
@@ -319,6 +325,7 @@ res = s.api_endpoints.get_api_endpoint(req)
319325
if res.api_endpoint is not None:
320326
# handle response
321327
pass
328+
322329
```
323330

324331
### Parameters
@@ -373,6 +380,7 @@ res = s.api_endpoints.upsert_api_endpoint(req)
373380
if res.api_endpoint is not None:
374381
# handle response
375382
pass
383+
376384
```
377385

378386
### Parameters

docs/sdks/apis/README.md

Lines changed: 7 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -38,9 +38,10 @@ req = operations.DeleteAPIRequest(
3838

3939
res = s.apis.delete_api(req)
4040

41-
if res.status_code == 200:
41+
if res is not None:
4242
# handle response
4343
pass
44+
4445
```
4546

4647
### Parameters
@@ -87,6 +88,7 @@ res = s.apis.generate_open_api_spec(req)
8788
if res.generate_open_api_spec_diff is not None:
8889
# handle response
8990
pass
91+
9092
```
9193

9294
### Parameters
@@ -132,6 +134,7 @@ res = s.apis.generate_postman_collection(req)
132134
if res.postman_collection is not None:
133135
# handle response
134136
pass
137+
135138
```
136139

137140
### Parameters
@@ -177,6 +180,7 @@ res = s.apis.get_all_api_versions(req)
177180
if res.apis is not None:
178181
# handle response
179182
pass
183+
180184
```
181185

182186
### Parameters
@@ -220,6 +224,7 @@ res = s.apis.get_apis(req)
220224
if res.apis is not None:
221225
# handle response
222226
pass
227+
223228
```
224229

225230
### Parameters
@@ -270,6 +275,7 @@ res = s.apis.upsert_api(req)
270275
if res.api is not None:
271276
# handle response
272277
pass
278+
273279
```
274280

275281
### Parameters

docs/sdks/auth/README.md

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -34,6 +34,7 @@ res = s.auth.get_access_token(req)
3434
if res.access_token is not None:
3535
# handle response
3636
pass
37+
3738
```
3839

3940
### Parameters
@@ -76,6 +77,7 @@ res = s.auth.get_workspace_access(req)
7677
if res.access_details is not None:
7778
# handle response
7879
pass
80+
7981
```
8082

8183
### Parameters
@@ -118,6 +120,7 @@ res = s.auth.validate_api_key()
118120
if res.api_key_details is not None:
119121
# handle response
120122
pass
123+
121124
```
122125

123126

docs/sdks/embeds/README.md

Lines changed: 4 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -36,6 +36,7 @@ res = s.embeds.get_embed_access_token(req)
3636
if res.embed_access_token_response is not None:
3737
# handle response
3838
pass
39+
3940
```
4041

4142
### Parameters
@@ -77,6 +78,7 @@ res = s.embeds.get_valid_embed_access_tokens()
7778
if res.embed_tokens is not None:
7879
# handle response
7980
pass
81+
8082
```
8183

8284

@@ -112,9 +114,10 @@ req = operations.RevokeEmbedAccessTokenRequest(
112114

113115
res = s.embeds.revoke_embed_access_token(req)
114116

115-
if res.status_code == 200:
117+
if res is not None:
116118
# handle response
117119
pass
120+
118121
```
119122

120123
### Parameters

docs/sdks/events/README.md

Lines changed: 4 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -35,6 +35,7 @@ res = s.events.get_workspace_events(req)
3535
if res.cli_event_batch is not None:
3636
# handle response
3737
pass
38+
3839
```
3940

4041
### Parameters
@@ -78,6 +79,7 @@ res = s.events.get_workspace_targets(req)
7879
if res.target_sdk_list is not None:
7980
# handle response
8081
pass
82+
8183
```
8284

8385
### Parameters
@@ -133,9 +135,10 @@ req = operations.PostWorkspaceEventsRequest(
133135

134136
res = s.events.post_workspace_events(req)
135137

136-
if res.status_code == 200:
138+
if res is not None:
137139
# handle response
138140
pass
141+
139142
```
140143

141144
### Parameters

0 commit comments

Comments
 (0)