Skip to content

Commit fda34c0

Browse files
committed
ci: regenerated with OpenAPI Doc 0.4.0 ., Speakeasy CLI 1.277.0
1 parent 7ea19fd commit fda34c0

20 files changed

+196
-174
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: f5719c92-1297-4aa0-bc5f-37116859d1e3
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: 4.1.8
9-
configChecksum: 63754dca3e2e5264649a6cfe96c70e59
6+
speakeasyVersion: 1.277.0
7+
generationVersion: 2.317.0
8+
releaseVersion: 4.1.9
9+
configChecksum: ddad15a1c74b9e69042967f27a2ea41d
1010
repoURL: https://github.com/speakeasy-api/speakeasy-client-sdk-ruby.git
1111
repoSubDirectory: .
1212
installationURL: https://github.com/speakeasy-api/speakeasy-client-sdk-ruby
@@ -174,14 +174,14 @@ generatedFiles:
174174
- lib/speakeasy_client_sdk/models/operations/getvalidembedaccesstokens_response.rb
175175
- lib/speakeasy_client_sdk/models/operations/revokeembedaccesstoken_request.rb
176176
- lib/speakeasy_client_sdk/models/operations/revokeembedaccesstoken_response.rb
177-
- lib/speakeasy_client_sdk/models/operations/getworkspaceevents_request.rb
178-
- lib/speakeasy_client_sdk/models/operations/getworkspaceevents_response.rb
179-
- lib/speakeasy_client_sdk/models/operations/getworkspaceeventsbysourcerevisiondigest_request.rb
180-
- lib/speakeasy_client_sdk/models/operations/getworkspaceeventsbysourcerevisiondigest_response.rb
177+
- lib/speakeasy_client_sdk/models/operations/getworkspaceeventsbytarget_request.rb
178+
- lib/speakeasy_client_sdk/models/operations/getworkspaceeventsbytarget_response.rb
181179
- lib/speakeasy_client_sdk/models/operations/getworkspacetargets_request.rb
182180
- lib/speakeasy_client_sdk/models/operations/getworkspacetargets_response.rb
183181
- lib/speakeasy_client_sdk/models/operations/postworkspaceevents_request.rb
184182
- lib/speakeasy_client_sdk/models/operations/postworkspaceevents_response.rb
183+
- lib/speakeasy_client_sdk/models/operations/searchworkspaceevents_request.rb
184+
- lib/speakeasy_client_sdk/models/operations/searchworkspaceevents_response.rb
185185
- lib/speakeasy_client_sdk/models/shared/error.rb
186186
- lib/speakeasy_client_sdk/models/shared/generateopenapispecdiff.rb
187187
- lib/speakeasy_client_sdk/models/shared/api.rb
@@ -327,14 +327,14 @@ generatedFiles:
327327
- docs/models/operations/getvalidembedaccesstokensresponse.md
328328
- docs/models/operations/revokeembedaccesstokenrequest.md
329329
- docs/models/operations/revokeembedaccesstokenresponse.md
330-
- docs/models/operations/getworkspaceeventsrequest.md
331-
- docs/models/operations/getworkspaceeventsresponse.md
332-
- docs/models/operations/getworkspaceeventsbysourcerevisiondigestrequest.md
333-
- docs/models/operations/getworkspaceeventsbysourcerevisiondigestresponse.md
330+
- docs/models/operations/getworkspaceeventsbytargetrequest.md
331+
- docs/models/operations/getworkspaceeventsbytargetresponse.md
334332
- docs/models/operations/getworkspacetargetsrequest.md
335333
- docs/models/operations/getworkspacetargetsresponse.md
336334
- docs/models/operations/postworkspaceeventsrequest.md
337335
- docs/models/operations/postworkspaceeventsresponse.md
336+
- docs/models/operations/searchworkspaceeventsrequest.md
337+
- docs/models/operations/searchworkspaceeventsresponse.md
338338
- docs/models/shared/error.md
339339
- docs/models/shared/generateopenapispecdiff.md
340340
- docs/models/shared/api.md

Gemfile.lock

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,7 +1,7 @@
11
PATH
22
remote: .
33
specs:
4-
speakeasy_client_sdk_ruby (4.1.8)
4+
speakeasy_client_sdk_ruby (4.1.9)
55
faraday
66
faraday-multipart
77
rack

README.md

Lines changed: 7 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -116,10 +116,10 @@ end
116116

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

119-
* [get_workspace_events](docs/sdks/events/README.md#get_workspace_events) - Load recent events for a particular workspace
120-
* [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
119+
* [get_workspace_events_by_target](docs/sdks/events/README.md#get_workspace_events_by_target) - Load recent events for a particular workspace
121120
* [get_workspace_targets](docs/sdks/events/README.md#get_workspace_targets) - Load targets for a particular workspace
122121
* [post_workspace_events](docs/sdks/events/README.md#post_workspace_events) - Post events for a specific workspace
122+
* [search_workspace_events](docs/sdks/events/README.md#search_workspace_events) - Search events for a particular workspace by any field
123123
<!-- End Available Resources and Operations [operations] -->
124124

125125

@@ -149,7 +149,7 @@ The default server can also be overridden globally by passing a URL to the `serv
149149

150150
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.
151151

152-
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.
152+
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.
153153

154154

155155
### Available Globals
@@ -177,9 +177,11 @@ s.config_security(
177177
)
178178

179179

180-
req = ::SpeakeasyClientSDK::Operations::GetWorkspaceEventsRequest.new()
180+
req = ::SpeakeasyClientSDK::Operations::GetWorkspaceEventsByTargetRequest.new(
181+
target_id: "<value>",
182+
)
181183

182-
res = s.events.get_workspace_events(req)
184+
res = s.events.get_workspace_events_by_target(req)
183185

184186
if ! res.cli_event_batch.nil?
185187
# handle response

RELEASES.md

Lines changed: 11 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -818,4 +818,14 @@ Based on:
818818
### Generated
819819
- [ruby v4.1.8] .
820820
### Releases
821-
- [Ruby Gems v4.1.8] https://rubygems.org/gems/speakeasy_client_sdk_ruby/versions/4.1.8 - .
821+
- [Ruby Gems v4.1.8] https://rubygems.org/gems/speakeasy_client_sdk_ruby/versions/4.1.8 - .
822+
823+
## 2024-04-30 00:02:54
824+
### Changes
825+
Based on:
826+
- OpenAPI Doc 0.4.0 . https://docs.speakeasyapi.dev/openapi.yaml
827+
- Speakeasy CLI 1.277.0 (2.317.0) https://github.com/speakeasy-api/speakeasy
828+
### Generated
829+
- [ruby v4.1.9] .
830+
### Releases
831+
- [Ruby Gems v4.1.9] https://rubygems.org/gems/speakeasy_client_sdk_ruby/versions/4.1.9 - .

docs/models/operations/getworkspaceeventsbysourcerevisiondigestrequest.md

Lines changed: 0 additions & 9 deletions
This file was deleted.
Lines changed: 2 additions & 2 deletions
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
| ----------------------------------------------------------------------------------------------------------------- | ----------------------------------------------------------------------------------------------------------------- | ----------------------------------------------------------------------------------------------------------------- | ----------------------------------------------------------------------------------------------------------------- |
88
| `after_created_at` | [Date](https://ruby-doc.org/stdlib-2.6.1/libdoc/date/rdoc/Date.html) | :heavy_minus_sign: | Filter to only return events created after this timestamp |
9-
| `generate_gen_lock_id` | *T.nilable(::String)* | :heavy_minus_sign: | Filter to only return events corresponding to a particular gen_lock_id (gen_lock_id uniquely identifies a target) |
9+
| `target_id` | *::String* | :heavy_check_mark: | Filter to only return events corresponding to a particular gen_lock_id (gen_lock_id uniquely identifies a target) |
1010
| `workspace_id` | *T.nilable(::String)* | :heavy_minus_sign: | Unique identifier of the workspace. |
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
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` | *T.nilable(::String)* | :heavy_minus_sign: | Unique identifier of the lint report digest. |
9+
| `openapi_diff_report_digest` | *T.nilable(::String)* | :heavy_minus_sign: | Unique identifier of the openapi diff report digest. |
10+
| `source_revision_digest` | *T.nilable(::String)* | :heavy_minus_sign: | Unique identifier of the source revision digest. |
11+
| `workspace_id` | *T.nilable(::String)* | :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)