Skip to content

Commit 6824ecb

Browse files
committed
ci: regenerated with OpenAPI Doc 0.4.0 ., Speakeasy CLI 1.277.0
1 parent 66ecef3 commit 6824ecb

18 files changed

+197
-177
lines changed

.speakeasy/gen.lock

Lines changed: 13 additions & 13 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: 0df832386c1fcd5f74fb87fea6d0e2b7
4+
docChecksum: e87f7661ef116d09df25c842b1032981
55
docVersion: 0.4.0 .
6-
speakeasyVersion: 1.269.1
7-
generationVersion: 2.312.1
8-
releaseVersion: 5.6.11
9-
configChecksum: 0f63b6d40acff557a7ff2dc25c263d7b
6+
speakeasyVersion: 1.277.0
7+
generationVersion: 2.317.0
8+
releaseVersion: 5.6.12
9+
configChecksum: 07ee419dccd2777287e8afcfc0972899
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
@@ -91,10 +91,10 @@ generatedFiles:
9191
- src/speakeasy/models/operations/getembedaccesstoken.py
9292
- src/speakeasy/models/operations/getvalidembedaccesstokens.py
9393
- src/speakeasy/models/operations/revokeembedaccesstoken.py
94-
- src/speakeasy/models/operations/getworkspaceevents.py
95-
- src/speakeasy/models/operations/getworkspaceeventsbysourcerevisiondigest.py
94+
- src/speakeasy/models/operations/getworkspaceeventsbytarget.py
9695
- src/speakeasy/models/operations/getworkspacetargets.py
9796
- src/speakeasy/models/operations/postworkspaceevents.py
97+
- src/speakeasy/models/operations/searchworkspaceevents.py
9898
- src/speakeasy/models/errors/error.py
9999
- src/speakeasy/models/shared/generateopenapispecdiff.py
100100
- src/speakeasy/models/shared/api.py
@@ -231,18 +231,18 @@ generatedFiles:
231231
- docs/models/operations/getvalidembedaccesstokensresponse.md
232232
- docs/models/operations/revokeembedaccesstokenrequest.md
233233
- docs/models/operations/revokeembedaccesstokenresponse.md
234-
- docs/models/operations/getworkspaceeventsglobals.md
235-
- docs/models/operations/getworkspaceeventsrequest.md
236-
- docs/models/operations/getworkspaceeventsresponse.md
237-
- docs/models/operations/getworkspaceeventsbysourcerevisiondigestglobals.md
238-
- docs/models/operations/getworkspaceeventsbysourcerevisiondigestrequest.md
239-
- docs/models/operations/getworkspaceeventsbysourcerevisiondigestresponse.md
234+
- docs/models/operations/getworkspaceeventsbytargetglobals.md
235+
- docs/models/operations/getworkspaceeventsbytargetrequest.md
236+
- docs/models/operations/getworkspaceeventsbytargetresponse.md
240237
- docs/models/operations/getworkspacetargetsglobals.md
241238
- docs/models/operations/getworkspacetargetsrequest.md
242239
- docs/models/operations/getworkspacetargetsresponse.md
243240
- docs/models/operations/postworkspaceeventsglobals.md
244241
- docs/models/operations/postworkspaceeventsrequest.md
245242
- docs/models/operations/postworkspaceeventsresponse.md
243+
- docs/models/operations/searchworkspaceeventsglobals.md
244+
- docs/models/operations/searchworkspaceeventsrequest.md
245+
- docs/models/operations/searchworkspaceeventsresponse.md
246246
- docs/models/errors/error.md
247247
- docs/models/shared/generateopenapispecdiff.md
248248
- docs/models/shared/api.md

README.md

Lines changed: 11 additions & 7 deletions
Original file line numberDiff line numberDiff line change
@@ -115,10 +115,10 @@ if res.apis is not None:
115115

116116
### [events](docs/sdks/events/README.md)
117117

118-
* [get_workspace_events](docs/sdks/events/README.md#get_workspace_events) - Load recent events for a particular workspace
119-
* [get_workspace_events_by_source_revision_digest](docs/sdks/events/README.md#get_workspace_events_by_source_revision_digest) - Load events for a particular workspace and source revision digest
118+
* [get_workspace_events_by_target](docs/sdks/events/README.md#get_workspace_events_by_target) - Load recent events for a particular workspace
120119
* [get_workspace_targets](docs/sdks/events/README.md#get_workspace_targets) - Load targets for a particular workspace
121120
* [post_workspace_events](docs/sdks/events/README.md#post_workspace_events) - Post events for a specific workspace
121+
* [search_workspace_events](docs/sdks/events/README.md#search_workspace_events) - Search events for a particular workspace by any field
122122
<!-- End Available Resources and Operations [operations] -->
123123

124124

@@ -150,11 +150,13 @@ s = speakeasy.Speakeasy(
150150
workspace_id='<value>',
151151
)
152152

153-
req = operations.GetWorkspaceEventsRequest()
153+
req = operations.GetWorkspaceEventsByTargetRequest(
154+
target_id='<value>',
155+
)
154156

155157
res = None
156158
try:
157-
res = s.events.get_workspace_events(req)
159+
res = s.events.get_workspace_events_by_target(req)
158160
except errors.Error as e:
159161
# handle exception
160162
raise(e)
@@ -302,7 +304,7 @@ if res is not None:
302304

303305
A parameter is configured globally. This parameter may be set on the SDK client instance itself during initialization. When configured as an option during SDK initialization, This global value will be used as the default on the operations that use it. When such operations are called, there is a place in each to override the global value, if needed.
304306

305-
For example, you can set `workspaceID` to `'<value>'` at SDK initialization and then you do not have to pass the same value on calls to operations like `get_workspace_events`. But if you want to do so you may, which will locally override the global setting. See the example code below for a demonstration.
307+
For example, you can set `workspaceID` to `'<value>'` at SDK initialization and then you do not have to pass the same value on calls to operations like `get_workspace_events_by_target`. But if you want to do so you may, which will locally override the global setting. See the example code below for a demonstration.
306308

307309

308310
### Available Globals
@@ -327,9 +329,11 @@ s = speakeasy.Speakeasy(
327329
workspace_id='<value>',
328330
)
329331

330-
req = operations.GetWorkspaceEventsRequest()
332+
req = operations.GetWorkspaceEventsByTargetRequest(
333+
target_id='<value>',
334+
)
331335

332-
res = s.events.get_workspace_events(req)
336+
res = s.events.get_workspace_events_by_target(req)
333337

334338
if res.cli_event_batch is not None:
335339
# handle response

RELEASES.md

Lines changed: 11 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1496,4 +1496,14 @@ Based on:
14961496
### Generated
14971497
- [python v5.6.11] .
14981498
### Releases
1499-
- [PyPI v5.6.11] https://pypi.org/project/speakeasy-client-sdk-python/5.6.11 - .
1499+
- [PyPI v5.6.11] https://pypi.org/project/speakeasy-client-sdk-python/5.6.11 - .
1500+
1501+
## 2024-04-30 00:10:40
1502+
### Changes
1503+
Based on:
1504+
- OpenAPI Doc 0.4.0 . https://docs.speakeasyapi.dev/openapi.yaml
1505+
- Speakeasy CLI 1.277.0 (2.317.0) https://github.com/speakeasy-api/speakeasy
1506+
### Generated
1507+
- [python v5.6.12] .
1508+
### Releases
1509+
- [PyPI v5.6.12] https://pypi.org/project/speakeasy-client-sdk-python/5.6.12 - .

docs/models/operations/getworkspaceeventsbysourcerevisiondigestrequest.md

Lines changed: 0 additions & 9 deletions
This file was deleted.

docs/models/operations/getworkspaceeventsbysourcerevisiondigestglobals.md renamed to docs/models/operations/getworkspaceeventsbytargetglobals.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,4 @@
1-
# GetWorkspaceEventsBySourceRevisionDigestGlobals
1+
# GetWorkspaceEventsByTargetGlobals
22

33

44
## Fields
Original file line numberDiff line numberDiff line change
@@ -1,10 +1,10 @@
1-
# GetWorkspaceEventsRequest
1+
# GetWorkspaceEventsByTargetRequest
22

33

44
## Fields
55

66
| Field | Type | Required | Description |
77
| ----------------------------------------------------------------------------------------------------------------- | ----------------------------------------------------------------------------------------------------------------- | ----------------------------------------------------------------------------------------------------------------- | ----------------------------------------------------------------------------------------------------------------- |
8+
| `target_id` | *str* | :heavy_check_mark: | Filter to only return events corresponding to a particular gen_lock_id (gen_lock_id uniquely identifies a target) |
89
| `after_created_at` | [date](https://docs.python.org/3/library/datetime.html#date-objects) | :heavy_minus_sign: | Filter to only return events created after this timestamp |
9-
| `generate_gen_lock_id` | *Optional[str]* | :heavy_minus_sign: | Filter to only return events corresponding to a particular gen_lock_id (gen_lock_id uniquely identifies a target) |
1010
| `workspace_id` | *Optional[str]* | :heavy_minus_sign: | Unique identifier of the workspace. |

docs/models/operations/getworkspaceeventsbysourcerevisiondigestresponse.md renamed to docs/models/operations/getworkspaceeventsbytargetresponse.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,4 @@
1-
# GetWorkspaceEventsBySourceRevisionDigestResponse
1+
# GetWorkspaceEventsByTargetResponse
22

33

44
## Fields

docs/models/operations/getworkspaceeventsglobals.md renamed to docs/models/operations/searchworkspaceeventsglobals.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,4 @@
1-
# GetWorkspaceEventsGlobals
1+
# SearchWorkspaceEventsGlobals
22

33

44
## Fields
Lines changed: 11 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,11 @@
1+
# SearchWorkspaceEventsRequest
2+
3+
4+
## Fields
5+
6+
| Field | Type | Required | Description |
7+
| ---------------------------------------------------- | ---------------------------------------------------- | ---------------------------------------------------- | ---------------------------------------------------- |
8+
| `lint_report_digest` | *Optional[str]* | :heavy_minus_sign: | Unique identifier of the lint report digest. |
9+
| `openapi_diff_report_digest` | *Optional[str]* | :heavy_minus_sign: | Unique identifier of the openapi diff report digest. |
10+
| `source_revision_digest` | *Optional[str]* | :heavy_minus_sign: | Unique identifier of the source revision digest. |
11+
| `workspace_id` | *Optional[str]* | :heavy_minus_sign: | Unique identifier of the workspace. |

docs/models/operations/getworkspaceeventsresponse.md renamed to docs/models/operations/searchworkspaceeventsresponse.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,4 @@
1-
# GetWorkspaceEventsResponse
1+
# SearchWorkspaceEventsResponse
22

33

44
## Fields

0 commit comments

Comments
 (0)