Skip to content

Commit

Permalink
ci: regenerated with OpenAPI Doc 0.4.0 ., Speakeasy CLI 1.346.3
Browse files Browse the repository at this point in the history
  • Loading branch information
speakeasybot committed Jul 27, 2024
1 parent 93841f2 commit 56b083c
Show file tree
Hide file tree
Showing 246 changed files with 715 additions and 253 deletions.
30 changes: 21 additions & 9 deletions .speakeasy/gen.lock
Original file line number Diff line number Diff line change
@@ -1,12 +1,12 @@
lockVersion: 2.0.0
id: f5719c92-1297-4aa0-bc5f-37116859d1e3
management:
docChecksum: 5b362866a3e7a85c830c6cb1f1cf4896
docChecksum: 312822a7ccdbf7c77dbbfeef49fb2053
docVersion: 0.4.0 .
speakeasyVersion: 1.346.0
generationVersion: 2.379.3
releaseVersion: 4.2.15
configChecksum: 3cad0845b41ea1972a8fc8dfe2226bd4
speakeasyVersion: 1.346.3
generationVersion: 2.379.6
releaseVersion: 4.2.16
configChecksum: 9e20c01aa0deb8be642f00d24d4575b1
repoURL: https://github.com/speakeasy-api/speakeasy-client-sdk-ruby.git
repoSubDirectory: .
installationURL: https://github.com/speakeasy-api/speakeasy-client-sdk-ruby
Expand Down Expand Up @@ -36,6 +36,7 @@ generatedFiles:
- lib/speakeasy_client_sdk/shorturls.rb
- lib/speakeasy_client_sdk/suggest.rb
- lib/speakeasy_client_sdk/embeds.rb
- lib/speakeasy_client_sdk/workspaces.rb
- lib/speakeasy_client_sdk/events.rb
- lib/speakeasy_client_sdk/sdk.rb
- .rubocop.yml
Expand Down Expand Up @@ -180,6 +181,8 @@ generatedFiles:
- lib/speakeasy_client_sdk/models/operations/githubstorepublishingsecrets_response.rb
- lib/speakeasy_client_sdk/models/operations/triggeraction_response.rb
- lib/speakeasy_client_sdk/models/operations/createfreetrial_response.rb
- lib/speakeasy_client_sdk/models/operations/getorganization_request.rb
- lib/speakeasy_client_sdk/models/operations/getorganization_response.rb
- lib/speakeasy_client_sdk/models/operations/getorganizationusage_response.rb
- lib/speakeasy_client_sdk/models/operations/getorganizations_response.rb
- lib/speakeasy_client_sdk/models/operations/getchangesreportsignedurl_request.rb
Expand Down Expand Up @@ -208,6 +211,8 @@ generatedFiles:
- lib/speakeasy_client_sdk/models/operations/getvalidembedaccesstokens_response.rb
- lib/speakeasy_client_sdk/models/operations/revokeembedaccesstoken_request.rb
- lib/speakeasy_client_sdk/models/operations/revokeembedaccesstoken_response.rb
- lib/speakeasy_client_sdk/models/operations/getworkspace_request.rb
- lib/speakeasy_client_sdk/models/operations/getworkspace_response.rb
- lib/speakeasy_client_sdk/models/operations/getworkspaceeventsbytarget_request.rb
- lib/speakeasy_client_sdk/models/operations/getworkspaceeventsbytarget_response.rb
- lib/speakeasy_client_sdk/models/operations/getworkspacetargets_request.rb
Expand Down Expand Up @@ -270,10 +275,10 @@ generatedFiles:
- lib/speakeasy_client_sdk/models/shared/githubmissingpublishingsecretsresponse.rb
- lib/speakeasy_client_sdk/models/shared/githubstorepublishingsecretsrequest.rb
- lib/speakeasy_client_sdk/models/shared/githubtriggeractionrequest.rb
- lib/speakeasy_client_sdk/models/shared/organizationusageresponse.rb
- lib/speakeasy_client_sdk/models/shared/organizationusage.rb
- lib/speakeasy_client_sdk/models/shared/organization_account_type.rb
- lib/speakeasy_client_sdk/models/shared/organization.rb
- lib/speakeasy_client_sdk/models/shared/organizationusageresponse.rb
- lib/speakeasy_client_sdk/models/shared/organizationusage.rb
- lib/speakeasy_client_sdk/models/shared/type.rb
- lib/speakeasy_client_sdk/models/shared/report.rb
- lib/speakeasy_client_sdk/models/shared/shorturl.rb
Expand All @@ -283,6 +288,7 @@ generatedFiles:
- lib/speakeasy_client_sdk/models/shared/suggestoperationidsopts.rb
- lib/speakeasy_client_sdk/models/shared/embedaccesstokenresponse.rb
- lib/speakeasy_client_sdk/models/shared/embedtoken.rb
- lib/speakeasy_client_sdk/models/shared/workspace.rb
- lib/speakeasy_client_sdk/models/shared/generate_bump_type.rb
- lib/speakeasy_client_sdk/models/shared/openapi_diff_bump_type.rb
- lib/speakeasy_client_sdk/models/shared/clievent.rb
Expand Down Expand Up @@ -386,6 +392,8 @@ generatedFiles:
- docs/models/operations/githubstorepublishingsecretsresponse.md
- docs/models/operations/triggeractionresponse.md
- docs/models/operations/createfreetrialresponse.md
- docs/models/operations/getorganizationrequest.md
- docs/models/operations/getorganizationresponse.md
- docs/models/operations/getorganizationusageresponse.md
- docs/models/operations/getorganizationsresponse.md
- docs/models/operations/getchangesreportsignedurlrequest.md
Expand Down Expand Up @@ -414,6 +422,8 @@ generatedFiles:
- docs/models/operations/getvalidembedaccesstokensresponse.md
- docs/models/operations/revokeembedaccesstokenrequest.md
- docs/models/operations/revokeembedaccesstokenresponse.md
- docs/models/operations/getworkspacerequest.md
- docs/models/operations/getworkspaceresponse.md
- docs/models/operations/getworkspaceeventsbytargetrequest.md
- docs/models/operations/getworkspaceeventsbytargetresponse.md
- docs/models/operations/getworkspacetargetsrequest.md
Expand Down Expand Up @@ -476,10 +486,10 @@ generatedFiles:
- docs/models/shared/githubmissingpublishingsecretsresponse.md
- docs/models/shared/githubstorepublishingsecretsrequest.md
- docs/models/shared/githubtriggeractionrequest.md
- docs/models/shared/organizationusageresponse.md
- docs/models/shared/organizationusage.md
- docs/models/shared/organizationaccounttype.md
- docs/models/shared/organization.md
- docs/models/shared/organizationusageresponse.md
- docs/models/shared/organizationusage.md
- docs/models/shared/type.md
- docs/models/shared/report.md
- docs/models/shared/shorturl.md
Expand All @@ -489,6 +499,7 @@ generatedFiles:
- docs/models/shared/suggestoperationidsopts.md
- docs/models/shared/embedaccesstokenresponse.md
- docs/models/shared/embedtoken.md
- docs/models/shared/workspace.md
- docs/models/shared/generatebumptype.md
- docs/models/shared/openapidiffbumptype.md
- docs/models/shared/clievent.md
Expand All @@ -509,6 +520,7 @@ generatedFiles:
- docs/sdks/shorturls/README.md
- docs/sdks/suggest/README.md
- docs/sdks/embeds/README.md
- docs/sdks/workspaces/README.md
- docs/sdks/events/README.md
- USAGE.md
- .gitattributes
Expand Down
2 changes: 1 addition & 1 deletion Gemfile.lock
Original file line number Diff line number Diff line change
@@ -1,7 +1,7 @@
PATH
remote: .
specs:
speakeasy_client_sdk_ruby (4.2.15)
speakeasy_client_sdk_ruby (4.2.16)
faraday
faraday-multipart
rack
Expand Down
15 changes: 9 additions & 6 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -113,6 +113,7 @@ end
### [Organizations](docs/sdks/organizations/README.md)

* [create_free_trial](docs/sdks/organizations/README.md#create_free_trial) - Create a free trial for an organization
* [get_organization](docs/sdks/organizations/README.md#get_organization) - Get organization
* [get_organization_usage](docs/sdks/organizations/README.md#get_organization_usage) - Get billing usage summary for a particular organization
* [get_organizations](docs/sdks/organizations/README.md#get_organizations) - Get organizations for a user

Expand All @@ -138,6 +139,10 @@ end
* [get_valid_embed_access_tokens](docs/sdks/embeds/README.md#get_valid_embed_access_tokens) - Get all valid embed access tokens for the current workspace.
* [revoke_embed_access_token](docs/sdks/embeds/README.md#revoke_embed_access_token) - Revoke an embed access EmbedToken.

### [Workspaces](docs/sdks/workspaces/README.md)

* [get_workspace](docs/sdks/workspaces/README.md#get_workspace) - Get workspace

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

* [get_workspace_events_by_target](docs/sdks/events/README.md#get_workspace_events_by_target) - Load recent events for a particular workspace
Expand Down Expand Up @@ -173,7 +178,7 @@ The default server can also be overridden globally by passing a URL to the `serv

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.

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.
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`. But if you want to do so you may, which will locally override the global setting. See the example code below for a demonstration.


### Available Globals
Expand All @@ -199,13 +204,11 @@ s.config_security(
)


req = ::SpeakeasyClientSDK::Operations::GetWorkspaceEventsByTargetRequest.new(
target_id: "<value>",
)
req = ::SpeakeasyClientSDK::Operations::GetWorkspaceRequest.new()

res = s.events.get_workspace_events_by_target(req)
res = s.workspaces.get_workspace(req)

if ! res.cli_event_batch.nil?
if ! res.workspace.nil?
# handle response
end

Expand Down
12 changes: 11 additions & 1 deletion RELEASES.md
Original file line number Diff line number Diff line change
Expand Up @@ -1028,4 +1028,14 @@ Based on:
### Generated
- [ruby v4.2.15] .
### Releases
- [Ruby Gems v4.2.15] https://rubygems.org/gems/speakeasy_client_sdk_ruby/versions/4.2.15 - .
- [Ruby Gems v4.2.15] https://rubygems.org/gems/speakeasy_client_sdk_ruby/versions/4.2.15 - .

## 2024-07-27 00:03:04
### Changes
Based on:
- OpenAPI Doc 0.4.0 . https://docs.speakeasyapi.dev/openapi.yaml
- Speakeasy CLI 1.346.3 (2.379.6) https://github.com/speakeasy-api/speakeasy
### Generated
- [ruby v4.2.16] .
### Releases
- [Ruby Gems v4.2.16] https://rubygems.org/gems/speakeasy_client_sdk_ruby/versions/4.2.16 - .
8 changes: 8 additions & 0 deletions docs/models/operations/getorganizationrequest.md
Original file line number Diff line number Diff line change
@@ -0,0 +1,8 @@
# GetOrganizationRequest


## Fields

| Field | Type | Required | Description |
| -------------------------------------- | -------------------------------------- | -------------------------------------- | -------------------------------------- |
| `organization_id` | *::String* | :heavy_check_mark: | Unique identifier of the organization. |
12 changes: 12 additions & 0 deletions docs/models/operations/getorganizationresponse.md
Original file line number Diff line number Diff line change
@@ -0,0 +1,12 @@
# GetOrganizationResponse


## Fields

| Field | Type | Required | Description |
| -------------------------------------------------------------------------------------------- | -------------------------------------------------------------------------------------------- | -------------------------------------------------------------------------------------------- | -------------------------------------------------------------------------------------------- |
| `content_type` | *::String* | :heavy_check_mark: | HTTP response content type for this operation |
| `error` | [T.nilable(::SpeakeasyClientSDK::Shared::Error)](../../models/shared/error.md) | :heavy_minus_sign: | Default error response |
| `organization` | [T.nilable(::SpeakeasyClientSDK::Shared::Organization)](../../models/shared/organization.md) | :heavy_minus_sign: | OK |
| `status_code` | *::Integer* | :heavy_check_mark: | HTTP response status code for this operation |
| `raw_response` | [Faraday::Response](https://www.rubydoc.info/gems/faraday/Faraday/Response) | :heavy_check_mark: | Raw HTTP response; suitable for custom response parsing |
8 changes: 8 additions & 0 deletions docs/models/operations/getworkspacerequest.md
Original file line number Diff line number Diff line change
@@ -0,0 +1,8 @@
# GetWorkspaceRequest


## Fields

| Field | Type | Required | Description |
| ----------------------------------- | ----------------------------------- | ----------------------------------- | ----------------------------------- |
| `workspace_id` | *T.nilable(::String)* | :heavy_minus_sign: | Unique identifier of the workspace. |
12 changes: 12 additions & 0 deletions docs/models/operations/getworkspaceresponse.md
Original file line number Diff line number Diff line change
@@ -0,0 +1,12 @@
# GetWorkspaceResponse


## Fields

| Field | Type | Required | Description |
| -------------------------------------------------------------------------------------- | -------------------------------------------------------------------------------------- | -------------------------------------------------------------------------------------- | -------------------------------------------------------------------------------------- |
| `content_type` | *::String* | :heavy_check_mark: | HTTP response content type for this operation |
| `error` | [T.nilable(::SpeakeasyClientSDK::Shared::Error)](../../models/shared/error.md) | :heavy_minus_sign: | Default error response |
| `status_code` | *::Integer* | :heavy_check_mark: | HTTP response status code for this operation |
| `raw_response` | [Faraday::Response](https://www.rubydoc.info/gems/faraday/Faraday/Response) | :heavy_check_mark: | Raw HTTP response; suitable for custom response parsing |
| `workspace` | [T.nilable(::SpeakeasyClientSDK::Shared::Workspace)](../../models/shared/workspace.md) | :heavy_minus_sign: | OK |
1 change: 1 addition & 0 deletions docs/models/shared/organization.md
Original file line number Diff line number Diff line change
Expand Up @@ -9,6 +9,7 @@ A speakeasy organization
| ------------------------------------------------------------------------------------------------------- | ------------------------------------------------------------------------------------------------------- | ------------------------------------------------------------------------------------------------------- | ------------------------------------------------------------------------------------------------------- |
| `account_type` | [::SpeakeasyClientSDK::Shared::OrganizationAccountType](../../models/shared/organizationaccounttype.md) | :heavy_check_mark: | N/A |
| `created_at` | [Date](https://ruby-doc.org/stdlib-2.6.1/libdoc/date/rdoc/Date.html) | :heavy_minus_sign: | N/A |
| `free_trial_expiry` | [Date](https://ruby-doc.org/stdlib-2.6.1/libdoc/date/rdoc/Date.html) | :heavy_minus_sign: | N/A |
| `id` | *::String* | :heavy_check_mark: | N/A |
| `name` | *::String* | :heavy_check_mark: | N/A |
| `slug` | *T.nilable(::String)* | :heavy_minus_sign: | N/A |
Expand Down
Loading

0 comments on commit 56b083c

Please sign in to comment.