Skip to content

Commit df29621

Browse files
committed
ci: regenerated with OpenAPI Doc 0.4.0 ., Speakeasy CLI 1.291.0
1 parent 4a4dbce commit df29621

File tree

13 files changed

+91
-31
lines changed

13 files changed

+91
-31
lines changed

.speakeasy/gen.lock

Lines changed: 8 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -1,19 +1,20 @@
11
lockVersion: 2.0.0
22
id: f5719c92-1297-4aa0-bc5f-37116859d1e3
33
management:
4-
docChecksum: 7a88ff5ef4ad3289ab4aec22a110bb64
4+
docChecksum: f3ee86ef6f2ca4b47599522e63754f76
55
docVersion: 0.4.0 .
6-
speakeasyVersion: 1.286.3
7-
generationVersion: 2.329.0
8-
releaseVersion: 4.1.13
9-
configChecksum: 8a3856035501e541208fbf18c67b047d
6+
speakeasyVersion: 1.291.0
7+
generationVersion: 2.332.4
8+
releaseVersion: 4.2.0
9+
configChecksum: 7621cee92338068e6b3dd512646d23f2
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:
1616
core: 3.2.12
17+
deprecations: 2.81.1
1718
examples: 2.81.3
1819
globalSecurity: 2.81.6
1920
globalServerURLs: 2.82.3
@@ -212,6 +213,7 @@ generatedFiles:
212213
- lib/speakeasy_client_sdk/models/shared/accesstoken_account_type.rb
213214
- lib/speakeasy_client_sdk/models/shared/workspaces.rb
214215
- lib/speakeasy_client_sdk/models/shared/accesstoken.rb
216+
- lib/speakeasy_client_sdk/models/shared/featureflag.rb
215217
- lib/speakeasy_client_sdk/models/shared/user.rb
216218
- lib/speakeasy_client_sdk/models/shared/level.rb
217219
- lib/speakeasy_client_sdk/models/shared/accessdetails.rb
@@ -367,6 +369,7 @@ generatedFiles:
367369
- docs/models/shared/accesstokenaccounttype.md
368370
- docs/models/shared/workspaces.md
369371
- docs/models/shared/accesstoken.md
372+
- docs/models/shared/featureflag.md
370373
- docs/models/shared/user.md
371374
- docs/models/shared/level.md
372375
- docs/models/shared/accessdetails.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.13)
4+
speakeasy_client_sdk_ruby (4.2.0)
55
faraday
66
faraday-multipart
77
rack

RELEASES.md

Lines changed: 11 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -868,4 +868,14 @@ Based on:
868868
### Generated
869869
- [ruby v4.1.13] .
870870
### Releases
871-
- [Ruby Gems v4.1.13] https://rubygems.org/gems/speakeasy_client_sdk_ruby/versions/4.1.13 - .
871+
- [Ruby Gems v4.1.13] https://rubygems.org/gems/speakeasy_client_sdk_ruby/versions/4.1.13 - .
872+
873+
## 2024-05-16 00:02:58
874+
### Changes
875+
Based on:
876+
- OpenAPI Doc 0.4.0 . https://docs.speakeasyapi.dev/openapi.yaml
877+
- Speakeasy CLI 1.291.0 (2.332.4) https://github.com/speakeasy-api/speakeasy
878+
### Generated
879+
- [ruby v4.2.0] .
880+
### Releases
881+
- [Ruby Gems v4.2.0] https://rubygems.org/gems/speakeasy_client_sdk_ruby/versions/4.2.0 - .

docs/models/shared/accesstoken.md

Lines changed: 7 additions & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -5,9 +5,10 @@ An AccessToken is a token that can be used to authenticate with the Speakeasy AP
55

66
## Fields
77

8-
| Field | Type | Required | Description |
9-
| --------------------------------------------------------------------------------------- | --------------------------------------------------------------------------------------- | --------------------------------------------------------------------------------------- | --------------------------------------------------------------------------------------- |
10-
| `access_token` | *::String* | :heavy_check_mark: | N/A |
11-
| `claims` | [::SpeakeasyClientSDK::Shared::Claims](../../models/shared/claims.md) | :heavy_check_mark: | N/A |
12-
| `user` | [::SpeakeasyClientSDK::Shared::AccessTokenUser](../../models/shared/accesstokenuser.md) | :heavy_check_mark: | N/A |
13-
| `workspaces` | T::Array<[::SpeakeasyClientSDK::Shared::Workspaces](../../models/shared/workspaces.md)> | :heavy_minus_sign: | N/A |
8+
| Field | Type | Required | Description |
9+
| ----------------------------------------------------------------------------------------- | ----------------------------------------------------------------------------------------- | ----------------------------------------------------------------------------------------- | ----------------------------------------------------------------------------------------- |
10+
| `access_token` | *::String* | :heavy_check_mark: | N/A |
11+
| `claims` | [::SpeakeasyClientSDK::Shared::Claims](../../models/shared/claims.md) | :heavy_check_mark: | N/A |
12+
| `feature_flags` | T::Array<[::SpeakeasyClientSDK::Shared::FeatureFlag](../../models/shared/featureflag.md)> | :heavy_minus_sign: | N/A |
13+
| `user` | [::SpeakeasyClientSDK::Shared::AccessTokenUser](../../models/shared/accesstokenuser.md) | :heavy_check_mark: | N/A |
14+
| `workspaces` | T::Array<[::SpeakeasyClientSDK::Shared::Workspaces](../../models/shared/workspaces.md)> | :heavy_minus_sign: | N/A |

docs/models/shared/apikeydetails.md

Lines changed: 9 additions & 8 deletions
Original file line numberDiff line numberDiff line change
@@ -3,11 +3,12 @@
33

44
## Fields
55

6-
| Field | Type | Required | Description |
7-
| ------------------------------------------------------------------------------- | ------------------------------------------------------------------------------- | ------------------------------------------------------------------------------- | ------------------------------------------------------------------------------- |
8-
| `account_type` | [::SpeakeasyClientSDK::Shared::AccountType](../../models/shared/accounttype.md) | :heavy_check_mark: | N/A |
9-
| `enabled_features` | T::Array<*::String*> | :heavy_check_mark: | N/A |
10-
| `generation_access_unlimited` | *T.nilable(T::Boolean)* | :heavy_minus_sign: | N/A |
11-
| `org_slug` | *::String* | :heavy_check_mark: | N/A |
12-
| `workspace_id` | *::String* | :heavy_check_mark: | N/A |
13-
| `workspace_slug` | *::String* | :heavy_check_mark: | N/A |
6+
| Field | Type | Required | Description |
7+
| ----------------------------------------------------------------------------------------------------------------------- | ----------------------------------------------------------------------------------------------------------------------- | ----------------------------------------------------------------------------------------------------------------------- | ----------------------------------------------------------------------------------------------------------------------- |
8+
| `account_type` | [::SpeakeasyClientSDK::Shared::AccountType](../../models/shared/accounttype.md) | :heavy_check_mark: | N/A |
9+
| `enabled_features` | T::Array<[::SpeakeasyClientSDK::Shared::FeatureFlag](../../models/shared/featureflag.md)> | :heavy_check_mark: | N/A |
10+
| ~~`feature_flags`~~ | T::Array<*::String*> | :heavy_minus_sign: | : warning: ** DEPRECATED **: This will be removed in a future release, please migrate away from it as soon as possible. |
11+
| `generation_access_unlimited` | *T.nilable(T::Boolean)* | :heavy_minus_sign: | N/A |
12+
| `org_slug` | *::String* | :heavy_check_mark: | N/A |
13+
| `workspace_id` | *::String* | :heavy_check_mark: | N/A |
14+
| `workspace_slug` | *::String* | :heavy_check_mark: | N/A |

docs/models/shared/featureflag.md

Lines changed: 11 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,11 @@
1+
# FeatureFlag
2+
3+
A feature flag is a key-value pair that can be used to enable or disable features.
4+
5+
6+
## Fields
7+
8+
| Field | Type | Required | Description |
9+
| -------------------------------------------------------------------- | -------------------------------------------------------------------- | -------------------------------------------------------------------- | -------------------------------------------------------------------- |
10+
| `feature_flag` | *::String* | :heavy_check_mark: | N/A |
11+
| `trial_ends_at` | [Date](https://ruby-doc.org/stdlib-2.6.1/libdoc/date/rdoc/Date.html) | :heavy_minus_sign: | N/A |

gen.yaml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -10,7 +10,7 @@ generation:
1010
auth:
1111
oAuth2ClientCredentialsEnabled: false
1212
ruby:
13-
version: 4.1.13
13+
version: 4.2.0
1414
author: Speakeasy
1515
description: Ruby Client SDK Generated by Speakeasy
1616
imports:

lib/speakeasy_client_sdk/models/shared.rb

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -33,6 +33,7 @@ module Shared
3333
autoload :AccessTokenAccountType, 'speakeasy_client_sdk/models/shared/accesstoken_account_type.rb'
3434
autoload :Workspaces, 'speakeasy_client_sdk/models/shared/workspaces.rb'
3535
autoload :AccessToken, 'speakeasy_client_sdk/models/shared/accesstoken.rb'
36+
autoload :FeatureFlag, 'speakeasy_client_sdk/models/shared/featureflag.rb'
3637
autoload :User, 'speakeasy_client_sdk/models/shared/user.rb'
3738
autoload :Level, 'speakeasy_client_sdk/models/shared/level.rb'
3839
autoload :AccessDetails, 'speakeasy_client_sdk/models/shared/accessdetails.rb'

lib/speakeasy_client_sdk/models/shared/accesstoken.rb

Lines changed: 5 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -18,14 +18,17 @@ class AccessToken < ::SpeakeasyClientSDK::Utils::FieldAugmented
1818

1919
field :user, ::SpeakeasyClientSDK::Shared::AccessTokenUser, { 'format_json': { 'letter_case': ::SpeakeasyClientSDK::Utils.field_name('user') } }
2020

21+
field :feature_flags, T.nilable(T::Array[::SpeakeasyClientSDK::Shared::FeatureFlag]), { 'format_json': { 'letter_case': ::SpeakeasyClientSDK::Utils.field_name('feature_flags') } }
22+
2123
field :workspaces, T.nilable(T::Array[::SpeakeasyClientSDK::Shared::Workspaces]), { 'format_json': { 'letter_case': ::SpeakeasyClientSDK::Utils.field_name('workspaces') } }
2224

2325

24-
sig { params(access_token: ::String, claims: ::SpeakeasyClientSDK::Shared::Claims, user: ::SpeakeasyClientSDK::Shared::AccessTokenUser, workspaces: T.nilable(T::Array[::SpeakeasyClientSDK::Shared::Workspaces])).void }
25-
def initialize(access_token: nil, claims: nil, user: nil, workspaces: nil)
26+
sig { params(access_token: ::String, claims: ::SpeakeasyClientSDK::Shared::Claims, user: ::SpeakeasyClientSDK::Shared::AccessTokenUser, feature_flags: T.nilable(T::Array[::SpeakeasyClientSDK::Shared::FeatureFlag]), workspaces: T.nilable(T::Array[::SpeakeasyClientSDK::Shared::Workspaces])).void }
27+
def initialize(access_token: nil, claims: nil, user: nil, feature_flags: nil, workspaces: nil)
2628
@access_token = access_token
2729
@claims = claims
2830
@user = user
31+
@feature_flags = feature_flags
2932
@workspaces = workspaces
3033
end
3134
end

0 commit comments

Comments
 (0)