Skip to content

Commit 7c893c0

Browse files
committed
ci: regenerated with OpenAPI Doc 0.4.0, Speakeasy CLI 1.193.4
1 parent ab2f52b commit 7c893c0

30 files changed

+501
-55
lines changed

.speakeasy/gen.lock

Lines changed: 16 additions & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -1,21 +1,21 @@
11
lockVersion: 2.0.0
22
id: f5719c92-1297-4aa0-bc5f-37116859d1e3
33
management:
4-
docChecksum: 10893fff3e9a4e77b8628de48190cd77
4+
docChecksum: 1e1fbb7b85b19b149be8f6b8a6916f76
55
docVersion: 0.4.0
66
speakeasyVersion: internal
7-
generationVersion: 2.269.0
8-
releaseVersion: 4.0.6
9-
configChecksum: b1d0720eaeb9277cf255f71005ad1c85
7+
generationVersion: 2.272.4
8+
releaseVersion: 4.0.7
9+
configChecksum: 572b5f5489b006e5e2331cdf1732c334
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
1313
published: true
1414
features:
1515
ruby:
16-
core: 3.2.9
16+
core: 3.2.10
1717
examples: 2.81.3
18-
globalSecurity: 2.81.3
18+
globalSecurity: 2.81.4
1919
globalServerURLs: 2.82.1
2020
globals: 2.81.1
2121
inputOutputModels: 2.83.0
@@ -147,6 +147,10 @@ generatedFiles:
147147
- lib/speakeasy_client_sdk/models/operations/getvalidembedaccesstokens_response.rb
148148
- lib/speakeasy_client_sdk/models/operations/revokeembedaccesstoken_request.rb
149149
- lib/speakeasy_client_sdk/models/operations/revokeembedaccesstoken_response.rb
150+
- lib/speakeasy_client_sdk/models/operations/getworkspaceevents_request.rb
151+
- lib/speakeasy_client_sdk/models/operations/getworkspaceevents_response.rb
152+
- lib/speakeasy_client_sdk/models/operations/getworkspacetargets_request.rb
153+
- lib/speakeasy_client_sdk/models/operations/getworkspacetargets_response.rb
150154
- lib/speakeasy_client_sdk/models/operations/postworkspaceevents_request.rb
151155
- lib/speakeasy_client_sdk/models/operations/postworkspaceevents_response.rb
152156
- lib/speakeasy_client_sdk/models/shared/error.rb
@@ -173,6 +177,7 @@ generatedFiles:
173177
- lib/speakeasy_client_sdk/models/shared/generate_bump_type.rb
174178
- lib/speakeasy_client_sdk/models/shared/interaction_type.rb
175179
- lib/speakeasy_client_sdk/models/shared/clievent.rb
180+
- lib/speakeasy_client_sdk/models/shared/targetsdk.rb
176181
- lib/speakeasy_client_sdk/models/shared/security.rb
177182
- lib/speakeasy_client_sdk_ruby.rb
178183
- lib/speakeasy_client_sdk/models/operations.rb
@@ -245,6 +250,10 @@ generatedFiles:
245250
- docs/models/operations/getvalidembedaccesstokensresponse.md
246251
- docs/models/operations/revokeembedaccesstokenrequest.md
247252
- docs/models/operations/revokeembedaccesstokenresponse.md
253+
- docs/models/operations/getworkspaceeventsrequest.md
254+
- docs/models/operations/getworkspaceeventsresponse.md
255+
- docs/models/operations/getworkspacetargetsrequest.md
256+
- docs/models/operations/getworkspacetargetsresponse.md
248257
- docs/models/operations/postworkspaceeventsrequest.md
249258
- docs/models/operations/postworkspaceeventsresponse.md
250259
- docs/models/shared/error.md
@@ -271,6 +280,7 @@ generatedFiles:
271280
- docs/models/shared/generatebumptype.md
272281
- docs/models/shared/interactiontype.md
273282
- docs/models/shared/clievent.md
283+
- docs/models/shared/targetsdk.md
274284
- docs/models/shared/security.md
275285
- docs/sdks/sdk/README.md
276286
- docs/sdks/apis/README.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.0.6)
4+
speakeasy_client_sdk_ruby (4.0.7)
55
faraday
66
faraday-multipart
77
rack

README.md

Lines changed: 6 additions & 18 deletions
Original file line numberDiff line numberDiff line change
@@ -95,6 +95,8 @@ end
9595

9696
### [Events](docs/sdks/events/README.md)
9797

98+
* [get_workspace_events](docs/sdks/events/README.md#get_workspace_events) - Load recent events for a particular workspace
99+
* [get_workspace_targets](docs/sdks/events/README.md#get_workspace_targets) - Load targets for a particular workspace
98100
* [post_workspace_events](docs/sdks/events/README.md#post_workspace_events) - Post events for a specific workspace
99101
<!-- End Available Resources and Operations [operations] -->
100102

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

126128
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.
127129

128-
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 `post_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.
130+
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.
129131

130132

131133
### Available Globals
@@ -153,25 +155,11 @@ s.config_security(
153155
)
154156

155157

156-
req = ::SpeakeasyClientSDK::Operations::PostWorkspaceEventsRequest.new(
157-
request_body: [
158-
::SpeakeasyClientSDK::Shared::CliEvent.new(
159-
created_at: DateTime.iso8601('2024-11-21T06:58:42.120Z'),
160-
execution_id: "<value>",
161-
id: "<id>",
162-
interaction_type: ::SpeakeasyClientSDK::Shared::InteractionType::CLI_EXEC,
163-
local_started_at: DateTime.iso8601('2024-05-07T12:35:47.182Z'),
164-
speakeasy_api_key_name: "<value>",
165-
speakeasy_version: "<value>",
166-
success: false,
167-
workspace_id: "<value>",
168-
),
169-
],
170-
)
158+
req = ::SpeakeasyClientSDK::Operations::GetWorkspaceEventsRequest.new()
171159

172-
res = s.events.post_workspace_events(req)
160+
res = s.events.get_workspace_events(req)
173161

174-
if res.status_code == 200
162+
if ! res.cli_event_batch.nil?
175163
# handle response
176164
end
177165

RELEASES.md

Lines changed: 11 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -628,4 +628,14 @@ Based on:
628628
### Generated
629629
- [ruby v4.0.6] .
630630
### Releases
631-
- [Ruby Gems v4.0.6] https://rubygems.org/gems/speakeasy_client_sdk_ruby/versions/4.0.6 - .
631+
- [Ruby Gems v4.0.6] https://rubygems.org/gems/speakeasy_client_sdk_ruby/versions/4.0.6 - .
632+
633+
## 2024-02-25 00:03:05
634+
### Changes
635+
Based on:
636+
- OpenAPI Doc 0.4.0 https://docs.speakeasyapi.dev/openapi.yaml
637+
- Speakeasy CLI 1.193.4 (2.272.4) https://github.com/speakeasy-api/speakeasy
638+
### Generated
639+
- [ruby v4.0.7] .
640+
### Releases
641+
- [Ruby Gems v4.0.7] https://rubygems.org/gems/speakeasy_client_sdk_ruby/versions/4.0.7 - .

docs/models/operations/getworkspaceaccessresponse.md

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -7,6 +7,5 @@
77
| ---------------------------------------------------------------------------------------------- | ---------------------------------------------------------------------------------------------- | ---------------------------------------------------------------------------------------------- | ---------------------------------------------------------------------------------------------- |
88
| `access_details` | [T.nilable(::SpeakeasyClientSDK::Shared::AccessDetails)](../../models/shared/accessdetails.md) | :heavy_minus_sign: | OK |
99
| `content_type` | *::String* | :heavy_check_mark: | HTTP response content type for this operation |
10-
| `error` | [T.nilable(::SpeakeasyClientSDK::Shared::Error)](../../models/shared/error.md) | :heavy_minus_sign: | N/A |
1110
| `status_code` | *::Integer* | :heavy_check_mark: | HTTP response status code for this operation |
1211
| `raw_response` | [Faraday::Response](https://www.rubydoc.info/gems/faraday/Faraday/Response) | :heavy_check_mark: | Raw HTTP response; suitable for custom response parsing |
Lines changed: 9 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,9 @@
1+
# GetWorkspaceEventsRequest
2+
3+
4+
## Fields
5+
6+
| Field | Type | Required | Description |
7+
| ---------------------------------------------------------------------- | ---------------------------------------------------------------------- | ---------------------------------------------------------------------- | ---------------------------------------------------------------------- |
8+
| `generate_gen_lock_id` | *T.nilable(::String)* | :heavy_minus_sign: | Filter to only return events corresponding to a particular gen_lock_id |
9+
| `workspace_id` | *T.nilable(::String)* | :heavy_minus_sign: | Unique identifier of the workspace. |
Lines changed: 12 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,12 @@
1+
# GetWorkspaceEventsResponse
2+
3+
4+
## Fields
5+
6+
| Field | Type | Required | Description |
7+
| ----------------------------------------------------------------------------------- | ----------------------------------------------------------------------------------- | ----------------------------------------------------------------------------------- | ----------------------------------------------------------------------------------- |
8+
| `cli_event_batch` | T::Array<[::SpeakeasyClientSDK::Shared::CliEvent](../../models/shared/clievent.md)> | :heavy_minus_sign: | Success |
9+
| `content_type` | *::String* | :heavy_check_mark: | HTTP response content type for this operation |
10+
| `error` | [T.nilable(::SpeakeasyClientSDK::Shared::Error)](../../models/shared/error.md) | :heavy_minus_sign: | Error |
11+
| `status_code` | *::Integer* | :heavy_check_mark: | HTTP response status code for this operation |
12+
| `raw_response` | [Faraday::Response](https://www.rubydoc.info/gems/faraday/Faraday/Response) | :heavy_check_mark: | Raw HTTP response; suitable for custom response parsing |
Lines changed: 8 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,8 @@
1+
# GetWorkspaceTargetsRequest
2+
3+
4+
## Fields
5+
6+
| Field | Type | Required | Description |
7+
| ----------------------------------- | ----------------------------------- | ----------------------------------- | ----------------------------------- |
8+
| `workspace_id` | *T.nilable(::String)* | :heavy_minus_sign: | Unique identifier of the workspace. |
Lines changed: 12 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,12 @@
1+
# GetWorkspaceTargetsResponse
2+
3+
4+
## Fields
5+
6+
| Field | Type | Required | Description |
7+
| ------------------------------------------------------------------------------------- | ------------------------------------------------------------------------------------- | ------------------------------------------------------------------------------------- | ------------------------------------------------------------------------------------- |
8+
| `content_type` | *::String* | :heavy_check_mark: | HTTP response content type for this operation |
9+
| `error` | [T.nilable(::SpeakeasyClientSDK::Shared::Error)](../../models/shared/error.md) | :heavy_minus_sign: | N/A |
10+
| `status_code` | *::Integer* | :heavy_check_mark: | HTTP response status code for this operation |
11+
| `raw_response` | [Faraday::Response](https://www.rubydoc.info/gems/faraday/Faraday/Response) | :heavy_check_mark: | Raw HTTP response; suitable for custom response parsing |
12+
| `target_sdk_list` | T::Array<[::SpeakeasyClientSDK::Shared::TargetSDK](../../models/shared/targetsdk.md)> | :heavy_minus_sign: | Success |

0 commit comments

Comments
 (0)