Skip to content

Commit 3dce3dd

Browse files
committed
ci: regenerated with OpenAPI Doc 0.4.0, Speakeasy CLI 1.205.2
1 parent a3c5c40 commit 3dce3dd

23 files changed

+311
-17
lines changed

.speakeasy/gen.lock

Lines changed: 14 additions & 4 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: 64b423d1904e6c12d31973957d033247
4+
docChecksum: 3d1ffb0cc7307a0362c5389c0fa1fdb5
55
docVersion: 0.4.0
6-
speakeasyVersion: 1.204.1
6+
speakeasyVersion: 1.205.2
77
generationVersion: 2.279.1
8-
releaseVersion: 4.0.13
9-
configChecksum: 379831b5f1cce3daa97f61df381857ce
8+
releaseVersion: 4.0.14
9+
configChecksum: 1a46c09a395c4e31935c28ca19355923
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
@@ -28,6 +28,7 @@ generatedFiles:
2828
- lib/speakeasy_client_sdk/schemas.rb
2929
- lib/speakeasy_client_sdk/auth.rb
3030
- lib/speakeasy_client_sdk/requests.rb
31+
- lib/speakeasy_client_sdk/organizations.rb
3132
- lib/speakeasy_client_sdk/embeds.rb
3233
- lib/speakeasy_client_sdk/events.rb
3334
- lib/speakeasy_client_sdk/sdk.rb
@@ -144,6 +145,7 @@ generatedFiles:
144145
- lib/speakeasy_client_sdk/models/operations/getrequestfromeventlog_response.rb
145146
- lib/speakeasy_client_sdk/models/operations/queryeventlog_request.rb
146147
- lib/speakeasy_client_sdk/models/operations/queryeventlog_response.rb
148+
- lib/speakeasy_client_sdk/models/operations/getorganizations_response.rb
147149
- lib/speakeasy_client_sdk/models/operations/getembedaccesstoken_request.rb
148150
- lib/speakeasy_client_sdk/models/operations/getembedaccesstoken_response.rb
149151
- lib/speakeasy_client_sdk/models/operations/getvalidembedaccesstokens_response.rb
@@ -170,6 +172,7 @@ generatedFiles:
170172
- lib/speakeasy_client_sdk/models/shared/user.rb
171173
- lib/speakeasy_client_sdk/models/shared/workspaces.rb
172174
- lib/speakeasy_client_sdk/models/shared/accesstoken.rb
175+
- lib/speakeasy_client_sdk/models/shared/level.rb
173176
- lib/speakeasy_client_sdk/models/shared/accessdetails.rb
174177
- lib/speakeasy_client_sdk/models/shared/account_type.rb
175178
- lib/speakeasy_client_sdk/models/shared/apikeydetails.rb
@@ -178,6 +181,8 @@ generatedFiles:
178181
- lib/speakeasy_client_sdk/models/shared/requestmetadata.rb
179182
- lib/speakeasy_client_sdk/models/shared/filters.rb
180183
- lib/speakeasy_client_sdk/models/shared/filter.rb
184+
- lib/speakeasy_client_sdk/models/shared/organization_account_type.rb
185+
- lib/speakeasy_client_sdk/models/shared/organization.rb
181186
- lib/speakeasy_client_sdk/models/shared/embedaccesstokenresponse.rb
182187
- lib/speakeasy_client_sdk/models/shared/embedtoken.rb
183188
- lib/speakeasy_client_sdk/models/shared/generate_bump_type.rb
@@ -253,6 +258,7 @@ generatedFiles:
253258
- docs/models/operations/getrequestfromeventlogresponse.md
254259
- docs/models/operations/queryeventlogrequest.md
255260
- docs/models/operations/queryeventlogresponse.md
261+
- docs/models/operations/getorganizationsresponse.md
256262
- docs/models/operations/getembedaccesstokenrequest.md
257263
- docs/models/operations/getembedaccesstokenresponse.md
258264
- docs/models/operations/getvalidembedaccesstokensresponse.md
@@ -279,6 +285,7 @@ generatedFiles:
279285
- docs/models/shared/user.md
280286
- docs/models/shared/workspaces.md
281287
- docs/models/shared/accesstoken.md
288+
- docs/models/shared/level.md
282289
- docs/models/shared/accessdetails.md
283290
- docs/models/shared/accounttype.md
284291
- docs/models/shared/apikeydetails.md
@@ -287,6 +294,8 @@ generatedFiles:
287294
- docs/models/shared/requestmetadata.md
288295
- docs/models/shared/filters.md
289296
- docs/models/shared/filter.md
297+
- docs/models/shared/organizationaccounttype.md
298+
- docs/models/shared/organization.md
290299
- docs/models/shared/embedaccesstokenresponse.md
291300
- docs/models/shared/embedtoken.md
292301
- docs/models/shared/generatebumptype.md
@@ -301,6 +310,7 @@ generatedFiles:
301310
- docs/sdks/schemas/README.md
302311
- docs/sdks/auth/README.md
303312
- docs/sdks/requests/README.md
313+
- docs/sdks/organizations/README.md
304314
- docs/sdks/embeds/README.md
305315
- docs/sdks/events/README.md
306316
- USAGE.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.13)
4+
speakeasy_client_sdk_ruby (4.0.14)
55
faraday
66
faraday-multipart
77
rack

README.md

Lines changed: 4 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -88,6 +88,10 @@ end
8888
* [get_request_from_event_log](docs/sdks/requests/README.md#get_request_from_event_log) - Get information about a particular request.
8989
* [query_event_log](docs/sdks/requests/README.md#query_event_log) - Query the event log to retrieve a list of requests.
9090

91+
### [Organizations](docs/sdks/organizations/README.md)
92+
93+
* [get_organizations](docs/sdks/organizations/README.md#get_organizations) - Get organizations for a user
94+
9195
### [Embeds](docs/sdks/embeds/README.md)
9296

9397
* [get_embed_access_token](docs/sdks/embeds/README.md#get_embed_access_token) - Get an embed access token for the current workspace.

RELEASES.md

Lines changed: 11 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -698,4 +698,14 @@ Based on:
698698
### Generated
699699
- [ruby v4.0.13] .
700700
### Releases
701-
- [Ruby Gems v4.0.13] https://rubygems.org/gems/speakeasy_client_sdk_ruby/versions/4.0.13 - .
701+
- [Ruby Gems v4.0.13] https://rubygems.org/gems/speakeasy_client_sdk_ruby/versions/4.0.13 - .
702+
703+
## 2024-03-12 00:02:38
704+
### Changes
705+
Based on:
706+
- OpenAPI Doc 0.4.0 https://docs.speakeasyapi.dev/openapi.yaml
707+
- Speakeasy CLI 1.205.2 (2.279.1) https://github.com/speakeasy-api/speakeasy
708+
### Generated
709+
- [ruby v4.0.14] .
710+
### Releases
711+
- [Ruby Gems v4.0.14] https://rubygems.org/gems/speakeasy_client_sdk_ruby/versions/4.0.14 - .
Lines changed: 12 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,12 @@
1+
# GetOrganizationsResponse
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: | Default error response |
10+
| `organizations` | T::Array<[::SpeakeasyClientSDK::Shared::Organization](../../models/shared/organization.md)> | :heavy_minus_sign: | OK |
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 |

docs/models/shared/accessdetails.md

Lines changed: 5 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -3,7 +3,8 @@
33

44
## Fields
55

6-
| Field | Type | Required | Description |
7-
| -------------------- | -------------------- | -------------------- | -------------------- |
8-
| `generation_allowed` | *T::Boolean* | :heavy_check_mark: | N/A |
9-
| `message` | *::String* | :heavy_check_mark: | N/A |
6+
| Field | Type | Required | Description |
7+
| ------------------------------------------------------------------------------ | ------------------------------------------------------------------------------ | ------------------------------------------------------------------------------ | ------------------------------------------------------------------------------ |
8+
| `generation_allowed` | *T::Boolean* | :heavy_check_mark: | N/A |
9+
| `level` | [T.nilable(::SpeakeasyClientSDK::Shared::Level)](../../models/shared/level.md) | :heavy_minus_sign: | N/A |
10+
| `message` | *::String* | :heavy_check_mark: | N/A |

docs/models/shared/level.md

Lines changed: 10 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,10 @@
1+
# Level
2+
3+
4+
## Values
5+
6+
| Name | Value |
7+
| --------- | --------- |
8+
| `ALLOWED` | allowed |
9+
| `WARNING` | warning |
10+
| `BLOCKED` | blocked |

docs/models/shared/organization.md

Lines changed: 15 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,15 @@
1+
# Organization
2+
3+
A speakeasy organization
4+
5+
6+
## Fields
7+
8+
| Field | Type | Required | Description |
9+
| ------------------------------------------------------------------------------------------------------- | ------------------------------------------------------------------------------------------------------- | ------------------------------------------------------------------------------------------------------- | ------------------------------------------------------------------------------------------------------- |
10+
| `account_type` | [::SpeakeasyClientSDK::Shared::OrganizationAccountType](../../models/shared/organizationaccounttype.md) | :heavy_check_mark: | N/A |
11+
| `created_at` | [Date](https://ruby-doc.org/stdlib-2.6.1/libdoc/date/rdoc/Date.html) | :heavy_minus_sign: | N/A |
12+
| `id` | *::String* | :heavy_check_mark: | N/A |
13+
| `name` | *::String* | :heavy_check_mark: | N/A |
14+
| `slug` | *T.nilable(::String)* | :heavy_minus_sign: | N/A |
15+
| `updated_at` | [Date](https://ruby-doc.org/stdlib-2.6.1/libdoc/date/rdoc/Date.html) | :heavy_minus_sign: | N/A |
Lines changed: 10 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,10 @@
1+
# OrganizationAccountType
2+
3+
4+
## Values
5+
6+
| Name | Value |
7+
| ------------ | ------------ |
8+
| `FREE` | free |
9+
| `SCALE_UP` | scale-up |
10+
| `ENTERPRISE` | enterprise |

docs/sdks/organizations/README.md

Lines changed: 40 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,40 @@
1+
# Organizations
2+
3+
4+
### Available Operations
5+
6+
* [get_organizations](#get_organizations) - Get organizations for a user
7+
8+
## get_organizations
9+
10+
Returns a list of organizations a user has access too
11+
12+
### Example Usage
13+
14+
```ruby
15+
require 'speakeasy_client_sdk_ruby'
16+
17+
18+
s = ::SpeakeasyClientSDK::SDK.new(
19+
workspace_id: "<value>",
20+
)
21+
s.config_security(
22+
::SpeakeasyClientSDK::Shared::Security.new(
23+
api_key: "<YOUR_API_KEY_HERE>",
24+
)
25+
)
26+
27+
28+
res = s.organizations.get_organizations()
29+
30+
if ! res.organizations.nil?
31+
# handle response
32+
end
33+
34+
```
35+
36+
37+
### Response
38+
39+
**[T.nilable(::SpeakeasyClientSDK::Operations::GetOrganizationsResponse)](../../models/operations/getorganizationsresponse.md)**
40+

0 commit comments

Comments
 (0)