From 506065cec434e163be02a0e1056fb80d2afded9b Mon Sep 17 00:00:00 2001 From: speakeasybot Date: Tue, 6 Aug 2024 00:03:32 +0000 Subject: [PATCH] ci: regenerated with OpenAPI Doc 0.4.0 ., Speakeasy CLI 1.352.2 --- .speakeasy/gen.lock | 20 ++++++++----------- Gemfile.lock | 2 +- RELEASES.md | 12 ++++++++++- docs/models/shared/accesstokenaccounttype.md | 10 ---------- docs/models/shared/accounttype.md | 1 + docs/models/shared/apikeydetails.md | 2 +- docs/models/shared/organization.md | 20 +++++++++---------- docs/models/shared/organizationaccounttype.md | 10 ---------- docs/models/shared/workspaces.md | 12 +++++------ gen.yaml | 2 +- lib/speakeasy_client_sdk/models/shared.rb | 4 +--- .../models/shared/accesstoken_account_type.rb | 20 ------------------- .../{account_type.rb => accounttype.rb} | 1 + .../models/shared/apikeydetails.rb | 8 ++++---- .../models/shared/organization.rb | 4 ++-- .../shared/organization_account_type.rb | 20 ------------------- .../models/shared/workspaces.rb | 4 ++-- lib/speakeasy_client_sdk/sdkconfiguration.rb | 6 +++--- speakeasy_client_sdk_ruby.gemspec | 2 +- 19 files changed, 53 insertions(+), 107 deletions(-) delete mode 100644 docs/models/shared/accesstokenaccounttype.md delete mode 100644 docs/models/shared/organizationaccounttype.md delete mode 100644 lib/speakeasy_client_sdk/models/shared/accesstoken_account_type.rb rename lib/speakeasy_client_sdk/models/shared/{account_type.rb => accounttype.rb} (90%) delete mode 100644 lib/speakeasy_client_sdk/models/shared/organization_account_type.rb diff --git a/.speakeasy/gen.lock b/.speakeasy/gen.lock index 17e5019..8a70764 100755 --- a/.speakeasy/gen.lock +++ b/.speakeasy/gen.lock @@ -1,12 +1,12 @@ lockVersion: 2.0.0 id: f5719c92-1297-4aa0-bc5f-37116859d1e3 management: - docChecksum: 312822a7ccdbf7c77dbbfeef49fb2053 + docChecksum: 7e5374ccd8317cf07089c151d486221b docVersion: 0.4.0 . - speakeasyVersion: 1.346.3 - generationVersion: 2.379.6 - releaseVersion: 4.2.16 - configChecksum: 9e20c01aa0deb8be642f00d24d4575b1 + speakeasyVersion: 1.352.2 + generationVersion: 2.385.2 + releaseVersion: 4.2.17 + configChecksum: 956311d9891ffbb72ded69051d3f600a repoURL: https://github.com/speakeasy-api/speakeasy-client-sdk-ruby.git repoSubDirectory: . installationURL: https://github.com/speakeasy-api/speakeasy-client-sdk-ruby @@ -16,7 +16,7 @@ features: core: 3.2.18 deprecations: 2.81.1 examples: 2.81.3 - globalSecurity: 2.81.6 + globalSecurity: 2.81.7 globalServerURLs: 2.82.3 globals: 2.82.1 inputOutputModels: 2.83.0 @@ -250,14 +250,13 @@ generatedFiles: - lib/speakeasy_client_sdk/models/shared/preflightrequest.rb - lib/speakeasy_client_sdk/models/shared/claims.rb - lib/speakeasy_client_sdk/models/shared/accesstoken_user.rb - - lib/speakeasy_client_sdk/models/shared/accesstoken_account_type.rb - lib/speakeasy_client_sdk/models/shared/workspaces.rb - lib/speakeasy_client_sdk/models/shared/accesstoken.rb + - lib/speakeasy_client_sdk/models/shared/accounttype.rb - lib/speakeasy_client_sdk/models/shared/featureflag.rb - lib/speakeasy_client_sdk/models/shared/user.rb - lib/speakeasy_client_sdk/models/shared/level.rb - lib/speakeasy_client_sdk/models/shared/accessdetails.rb - - lib/speakeasy_client_sdk/models/shared/account_type.rb - lib/speakeasy_client_sdk/models/shared/apikeydetails.rb - lib/speakeasy_client_sdk/models/shared/unboundedrequest.rb - lib/speakeasy_client_sdk/models/shared/boundedrequest.rb @@ -275,7 +274,6 @@ 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/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 @@ -461,14 +459,13 @@ generatedFiles: - docs/models/shared/preflightrequest.md - docs/models/shared/claims.md - docs/models/shared/accesstokenuser.md - - docs/models/shared/accesstokenaccounttype.md - docs/models/shared/workspaces.md - docs/models/shared/accesstoken.md + - docs/models/shared/accounttype.md - docs/models/shared/featureflag.md - docs/models/shared/user.md - docs/models/shared/level.md - docs/models/shared/accessdetails.md - - docs/models/shared/accounttype.md - docs/models/shared/apikeydetails.md - docs/models/shared/unboundedrequest.md - docs/models/shared/boundedrequest.md @@ -486,7 +483,6 @@ generatedFiles: - docs/models/shared/githubmissingpublishingsecretsresponse.md - docs/models/shared/githubstorepublishingsecretsrequest.md - docs/models/shared/githubtriggeractionrequest.md - - docs/models/shared/organizationaccounttype.md - docs/models/shared/organization.md - docs/models/shared/organizationusageresponse.md - docs/models/shared/organizationusage.md diff --git a/Gemfile.lock b/Gemfile.lock index bcb6fed..a84d131 100644 --- a/Gemfile.lock +++ b/Gemfile.lock @@ -1,7 +1,7 @@ PATH remote: . specs: - speakeasy_client_sdk_ruby (4.2.16) + speakeasy_client_sdk_ruby (4.2.17) faraday faraday-multipart rack diff --git a/RELEASES.md b/RELEASES.md index 79e3ae7..6c87da5 100644 --- a/RELEASES.md +++ b/RELEASES.md @@ -1038,4 +1038,14 @@ Based on: ### Generated - [ruby v4.2.16] . ### Releases -- [Ruby Gems v4.2.16] https://rubygems.org/gems/speakeasy_client_sdk_ruby/versions/4.2.16 - . \ No newline at end of file +- [Ruby Gems v4.2.16] https://rubygems.org/gems/speakeasy_client_sdk_ruby/versions/4.2.16 - . + +## 2024-08-06 00:03:22 +### Changes +Based on: +- OpenAPI Doc 0.4.0 . https://docs.speakeasyapi.dev/openapi.yaml +- Speakeasy CLI 1.352.2 (2.385.2) https://github.com/speakeasy-api/speakeasy +### Generated +- [ruby v4.2.17] . +### Releases +- [Ruby Gems v4.2.17] https://rubygems.org/gems/speakeasy_client_sdk_ruby/versions/4.2.17 - . \ No newline at end of file diff --git a/docs/models/shared/accesstokenaccounttype.md b/docs/models/shared/accesstokenaccounttype.md deleted file mode 100644 index 5c9d985..0000000 --- a/docs/models/shared/accesstokenaccounttype.md +++ /dev/null @@ -1,10 +0,0 @@ -# AccessTokenAccountType - - -## Values - -| Name | Value | -| ------------ | ------------ | -| `FREE` | free | -| `SCALE_UP` | scale-up | -| `ENTERPRISE` | enterprise | \ No newline at end of file diff --git a/docs/models/shared/accounttype.md b/docs/models/shared/accounttype.md index b4d1a3e..10a19e4 100644 --- a/docs/models/shared/accounttype.md +++ b/docs/models/shared/accounttype.md @@ -7,4 +7,5 @@ | ------------ | ------------ | | `FREE` | free | | `SCALE_UP` | scale-up | +| `BUSINESS` | business | | `ENTERPRISE` | enterprise | \ No newline at end of file diff --git a/docs/models/shared/apikeydetails.md b/docs/models/shared/apikeydetails.md index db62caf..53d10df 100644 --- a/docs/models/shared/apikeydetails.md +++ b/docs/models/shared/apikeydetails.md @@ -5,7 +5,7 @@ | Field | Type | Required | Description | | ----------------------------------------------------------------------------------------------------------------------- | ----------------------------------------------------------------------------------------------------------------------- | ----------------------------------------------------------------------------------------------------------------------- | ----------------------------------------------------------------------------------------------------------------------- | -| `account_type` | [::SpeakeasyClientSDK::Shared::AccountType](../../models/shared/accounttype.md) | :heavy_check_mark: | N/A | +| `account_type_v2` | [::SpeakeasyClientSDK::Shared::AccountType](../../models/shared/accounttype.md) | :heavy_check_mark: | N/A | | `enabled_features` | T::Array<*::String*> | :heavy_check_mark: | N/A | | ~~`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. | | `generation_access_unlimited` | *T.nilable(T::Boolean)* | :heavy_minus_sign: | N/A | diff --git a/docs/models/shared/organization.md b/docs/models/shared/organization.md index bf1d307..556d64d 100644 --- a/docs/models/shared/organization.md +++ b/docs/models/shared/organization.md @@ -5,13 +5,13 @@ A speakeasy organization ## Fields -| Field | Type | Required | Description | -| ------------------------------------------------------------------------------------------------------- | ------------------------------------------------------------------------------------------------------- | ------------------------------------------------------------------------------------------------------- | ------------------------------------------------------------------------------------------------------- | -| `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 | -| `telemetry_disabled` | *T::Boolean* | :heavy_check_mark: | N/A | -| `updated_at` | [Date](https://ruby-doc.org/stdlib-2.6.1/libdoc/date/rdoc/Date.html) | :heavy_minus_sign: | N/A | \ No newline at end of file +| Field | Type | Required | Description | +| ------------------------------------------------------------------------------- | ------------------------------------------------------------------------------- | ------------------------------------------------------------------------------- | ------------------------------------------------------------------------------- | +| `account_type` | [::SpeakeasyClientSDK::Shared::AccountType](../../models/shared/accounttype.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 | +| `telemetry_disabled` | *T::Boolean* | :heavy_check_mark: | N/A | +| `updated_at` | [Date](https://ruby-doc.org/stdlib-2.6.1/libdoc/date/rdoc/Date.html) | :heavy_minus_sign: | N/A | \ No newline at end of file diff --git a/docs/models/shared/organizationaccounttype.md b/docs/models/shared/organizationaccounttype.md deleted file mode 100644 index 0c84552..0000000 --- a/docs/models/shared/organizationaccounttype.md +++ /dev/null @@ -1,10 +0,0 @@ -# OrganizationAccountType - - -## Values - -| Name | Value | -| ------------ | ------------ | -| `FREE` | free | -| `SCALE_UP` | scale-up | -| `ENTERPRISE` | enterprise | \ No newline at end of file diff --git a/docs/models/shared/workspaces.md b/docs/models/shared/workspaces.md index c62cbfa..148f7c2 100644 --- a/docs/models/shared/workspaces.md +++ b/docs/models/shared/workspaces.md @@ -3,9 +3,9 @@ ## Fields -| Field | Type | Required | Description | -| ---------------------------------------------------------------------------------------------------------------- | ---------------------------------------------------------------------------------------------------------------- | ---------------------------------------------------------------------------------------------------------------- | ---------------------------------------------------------------------------------------------------------------- | -| `account_type` | [T.nilable(::SpeakeasyClientSDK::Shared::AccessTokenAccountType)](../../models/shared/accesstokenaccounttype.md) | :heavy_minus_sign: | N/A | -| `id` | *T.nilable(::String)* | :heavy_minus_sign: | N/A | -| `name` | *T.nilable(::String)* | :heavy_minus_sign: | N/A | -| `updated_at` | [Date](https://ruby-doc.org/stdlib-2.6.1/libdoc/date/rdoc/Date.html) | :heavy_minus_sign: | N/A | \ No newline at end of file +| Field | Type | Required | Description | +| ------------------------------------------------------------------------------------------ | ------------------------------------------------------------------------------------------ | ------------------------------------------------------------------------------------------ | ------------------------------------------------------------------------------------------ | +| `account_type` | [T.nilable(::SpeakeasyClientSDK::Shared::AccountType)](../../models/shared/accounttype.md) | :heavy_minus_sign: | N/A | +| `id` | *T.nilable(::String)* | :heavy_minus_sign: | N/A | +| `name` | *T.nilable(::String)* | :heavy_minus_sign: | N/A | +| `updated_at` | [Date](https://ruby-doc.org/stdlib-2.6.1/libdoc/date/rdoc/Date.html) | :heavy_minus_sign: | N/A | \ No newline at end of file diff --git a/gen.yaml b/gen.yaml index 76391b0..435e707 100755 --- a/gen.yaml +++ b/gen.yaml @@ -10,7 +10,7 @@ generation: auth: oAuth2ClientCredentialsEnabled: false ruby: - version: 4.2.16 + version: 4.2.17 author: Speakeasy description: Ruby Client SDK Generated by Speakeasy imports: diff --git a/lib/speakeasy_client_sdk/models/shared.rb b/lib/speakeasy_client_sdk/models/shared.rb index e205c0b..293f1ae 100644 --- a/lib/speakeasy_client_sdk/models/shared.rb +++ b/lib/speakeasy_client_sdk/models/shared.rb @@ -34,14 +34,13 @@ module Shared autoload :PreflightRequest, 'speakeasy_client_sdk/models/shared/preflightrequest.rb' autoload :Claims, 'speakeasy_client_sdk/models/shared/claims.rb' autoload :AccessTokenUser, 'speakeasy_client_sdk/models/shared/accesstoken_user.rb' - autoload :AccessTokenAccountType, 'speakeasy_client_sdk/models/shared/accesstoken_account_type.rb' autoload :Workspaces, 'speakeasy_client_sdk/models/shared/workspaces.rb' autoload :AccessToken, 'speakeasy_client_sdk/models/shared/accesstoken.rb' + autoload :AccountType, 'speakeasy_client_sdk/models/shared/accounttype.rb' autoload :FeatureFlag, 'speakeasy_client_sdk/models/shared/featureflag.rb' autoload :User, 'speakeasy_client_sdk/models/shared/user.rb' autoload :Level, 'speakeasy_client_sdk/models/shared/level.rb' autoload :AccessDetails, 'speakeasy_client_sdk/models/shared/accessdetails.rb' - autoload :AccountType, 'speakeasy_client_sdk/models/shared/account_type.rb' autoload :ApiKeyDetails, 'speakeasy_client_sdk/models/shared/apikeydetails.rb' autoload :UnboundedRequest, 'speakeasy_client_sdk/models/shared/unboundedrequest.rb' autoload :BoundedRequest, 'speakeasy_client_sdk/models/shared/boundedrequest.rb' @@ -59,7 +58,6 @@ module Shared autoload :GithubMissingPublishingSecretsResponse, 'speakeasy_client_sdk/models/shared/githubmissingpublishingsecretsresponse.rb' autoload :GithubStorePublishingSecretsRequest, 'speakeasy_client_sdk/models/shared/githubstorepublishingsecretsrequest.rb' autoload :GithubTriggerActionRequest, 'speakeasy_client_sdk/models/shared/githubtriggeractionrequest.rb' - autoload :OrganizationAccountType, 'speakeasy_client_sdk/models/shared/organization_account_type.rb' autoload :Organization, 'speakeasy_client_sdk/models/shared/organization.rb' autoload :OrganizationUsageResponse, 'speakeasy_client_sdk/models/shared/organizationusageresponse.rb' autoload :OrganizationUsage, 'speakeasy_client_sdk/models/shared/organizationusage.rb' diff --git a/lib/speakeasy_client_sdk/models/shared/accesstoken_account_type.rb b/lib/speakeasy_client_sdk/models/shared/accesstoken_account_type.rb deleted file mode 100644 index 7468066..0000000 --- a/lib/speakeasy_client_sdk/models/shared/accesstoken_account_type.rb +++ /dev/null @@ -1,20 +0,0 @@ -# Code generated by Speakeasy (https://speakeasy.com). DO NOT EDIT. - -# typed: true -# frozen_string_literal: true - - -module SpeakeasyClientSDK - module Shared - - - class AccessTokenAccountType < T::Enum - enums do - FREE = new('free') - SCALE_UP = new('scale-up') - ENTERPRISE = new('enterprise') - end - end - - end -end diff --git a/lib/speakeasy_client_sdk/models/shared/account_type.rb b/lib/speakeasy_client_sdk/models/shared/accounttype.rb similarity index 90% rename from lib/speakeasy_client_sdk/models/shared/account_type.rb rename to lib/speakeasy_client_sdk/models/shared/accounttype.rb index b27150c..6e17cda 100644 --- a/lib/speakeasy_client_sdk/models/shared/account_type.rb +++ b/lib/speakeasy_client_sdk/models/shared/accounttype.rb @@ -12,6 +12,7 @@ class AccountType < T::Enum enums do FREE = new('free') SCALE_UP = new('scale-up') + BUSINESS = new('business') ENTERPRISE = new('enterprise') end end diff --git a/lib/speakeasy_client_sdk/models/shared/apikeydetails.rb b/lib/speakeasy_client_sdk/models/shared/apikeydetails.rb index 8a41c3f..ba864a9 100644 --- a/lib/speakeasy_client_sdk/models/shared/apikeydetails.rb +++ b/lib/speakeasy_client_sdk/models/shared/apikeydetails.rb @@ -12,7 +12,7 @@ class ApiKeyDetails < ::SpeakeasyClientSDK::Utils::FieldAugmented extend T::Sig - field :account_type, ::SpeakeasyClientSDK::Shared::AccountType, { 'format_json': { 'letter_case': ::SpeakeasyClientSDK::Utils.field_name('account_type'), 'decoder': Utils.enum_from_string(::SpeakeasyClientSDK::Shared::AccountType, false) } } + field :account_type_v2, ::SpeakeasyClientSDK::Shared::AccountType, { 'format_json': { 'letter_case': ::SpeakeasyClientSDK::Utils.field_name('account_type_v2'), 'decoder': Utils.enum_from_string(::SpeakeasyClientSDK::Shared::AccountType, false) } } field :enabled_features, T::Array[::String], { 'format_json': { 'letter_case': ::SpeakeasyClientSDK::Utils.field_name('enabled_features') } } @@ -29,9 +29,9 @@ class ApiKeyDetails < ::SpeakeasyClientSDK::Utils::FieldAugmented field :generation_access_unlimited, T.nilable(T::Boolean), { 'format_json': { 'letter_case': ::SpeakeasyClientSDK::Utils.field_name('generation_access_unlimited') } } - sig { params(account_type: ::SpeakeasyClientSDK::Shared::AccountType, enabled_features: T::Array[::String], org_slug: ::String, telemetry_disabled: T::Boolean, workspace_id: ::String, workspace_slug: ::String, feature_flags: T.nilable(T::Array[::String]), generation_access_unlimited: T.nilable(T::Boolean)).void } - def initialize(account_type: nil, enabled_features: nil, org_slug: nil, telemetry_disabled: nil, workspace_id: nil, workspace_slug: nil, feature_flags: nil, generation_access_unlimited: nil) - @account_type = account_type + sig { params(account_type_v2: ::SpeakeasyClientSDK::Shared::AccountType, enabled_features: T::Array[::String], org_slug: ::String, telemetry_disabled: T::Boolean, workspace_id: ::String, workspace_slug: ::String, feature_flags: T.nilable(T::Array[::String]), generation_access_unlimited: T.nilable(T::Boolean)).void } + def initialize(account_type_v2: nil, enabled_features: nil, org_slug: nil, telemetry_disabled: nil, workspace_id: nil, workspace_slug: nil, feature_flags: nil, generation_access_unlimited: nil) + @account_type_v2 = account_type_v2 @enabled_features = enabled_features @org_slug = org_slug @telemetry_disabled = telemetry_disabled diff --git a/lib/speakeasy_client_sdk/models/shared/organization.rb b/lib/speakeasy_client_sdk/models/shared/organization.rb index f2d0bd6..9f79836 100644 --- a/lib/speakeasy_client_sdk/models/shared/organization.rb +++ b/lib/speakeasy_client_sdk/models/shared/organization.rb @@ -12,7 +12,7 @@ class Organization < ::SpeakeasyClientSDK::Utils::FieldAugmented extend T::Sig - field :account_type, ::SpeakeasyClientSDK::Shared::OrganizationAccountType, { 'format_json': { 'letter_case': ::SpeakeasyClientSDK::Utils.field_name('account_type'), 'decoder': Utils.enum_from_string(::SpeakeasyClientSDK::Shared::OrganizationAccountType, false) } } + field :account_type, ::SpeakeasyClientSDK::Shared::AccountType, { 'format_json': { 'letter_case': ::SpeakeasyClientSDK::Utils.field_name('account_type'), 'decoder': Utils.enum_from_string(::SpeakeasyClientSDK::Shared::AccountType, false) } } field :id, ::String, { 'format_json': { 'letter_case': ::SpeakeasyClientSDK::Utils.field_name('id') } } @@ -29,7 +29,7 @@ class Organization < ::SpeakeasyClientSDK::Utils::FieldAugmented field :updated_at, T.nilable(::DateTime), { 'format_json': { 'letter_case': ::SpeakeasyClientSDK::Utils.field_name('updated_at'), 'decoder': Utils.datetime_from_iso_format(true) } } - sig { params(account_type: ::SpeakeasyClientSDK::Shared::OrganizationAccountType, id: ::String, name: ::String, telemetry_disabled: T::Boolean, created_at: T.nilable(::DateTime), free_trial_expiry: T.nilable(::DateTime), slug: T.nilable(::String), updated_at: T.nilable(::DateTime)).void } + sig { params(account_type: ::SpeakeasyClientSDK::Shared::AccountType, id: ::String, name: ::String, telemetry_disabled: T::Boolean, created_at: T.nilable(::DateTime), free_trial_expiry: T.nilable(::DateTime), slug: T.nilable(::String), updated_at: T.nilable(::DateTime)).void } def initialize(account_type: nil, id: nil, name: nil, telemetry_disabled: nil, created_at: nil, free_trial_expiry: nil, slug: nil, updated_at: nil) @account_type = account_type @id = id diff --git a/lib/speakeasy_client_sdk/models/shared/organization_account_type.rb b/lib/speakeasy_client_sdk/models/shared/organization_account_type.rb deleted file mode 100644 index ecf233a..0000000 --- a/lib/speakeasy_client_sdk/models/shared/organization_account_type.rb +++ /dev/null @@ -1,20 +0,0 @@ -# Code generated by Speakeasy (https://speakeasy.com). DO NOT EDIT. - -# typed: true -# frozen_string_literal: true - - -module SpeakeasyClientSDK - module Shared - - - class OrganizationAccountType < T::Enum - enums do - FREE = new('free') - SCALE_UP = new('scale-up') - ENTERPRISE = new('enterprise') - end - end - - end -end diff --git a/lib/speakeasy_client_sdk/models/shared/workspaces.rb b/lib/speakeasy_client_sdk/models/shared/workspaces.rb index d51625c..28ff84c 100644 --- a/lib/speakeasy_client_sdk/models/shared/workspaces.rb +++ b/lib/speakeasy_client_sdk/models/shared/workspaces.rb @@ -12,7 +12,7 @@ class Workspaces < ::SpeakeasyClientSDK::Utils::FieldAugmented extend T::Sig - field :account_type, T.nilable(::SpeakeasyClientSDK::Shared::AccessTokenAccountType), { 'format_json': { 'letter_case': ::SpeakeasyClientSDK::Utils.field_name('account_type'), 'decoder': Utils.enum_from_string(::SpeakeasyClientSDK::Shared::AccessTokenAccountType, true) } } + field :account_type, T.nilable(::SpeakeasyClientSDK::Shared::AccountType), { 'format_json': { 'letter_case': ::SpeakeasyClientSDK::Utils.field_name('account_type'), 'decoder': Utils.enum_from_string(::SpeakeasyClientSDK::Shared::AccountType, true) } } field :id, T.nilable(::String), { 'format_json': { 'letter_case': ::SpeakeasyClientSDK::Utils.field_name('id') } } @@ -21,7 +21,7 @@ class Workspaces < ::SpeakeasyClientSDK::Utils::FieldAugmented field :updated_at, T.nilable(::DateTime), { 'format_json': { 'letter_case': ::SpeakeasyClientSDK::Utils.field_name('updated_at'), 'decoder': Utils.datetime_from_iso_format(true) } } - sig { params(account_type: T.nilable(::SpeakeasyClientSDK::Shared::AccessTokenAccountType), id: T.nilable(::String), name: T.nilable(::String), updated_at: T.nilable(::DateTime)).void } + sig { params(account_type: T.nilable(::SpeakeasyClientSDK::Shared::AccountType), id: T.nilable(::String), name: T.nilable(::String), updated_at: T.nilable(::DateTime)).void } def initialize(account_type: nil, id: nil, name: nil, updated_at: nil) @account_type = account_type @id = id diff --git a/lib/speakeasy_client_sdk/sdkconfiguration.rb b/lib/speakeasy_client_sdk/sdkconfiguration.rb index 1979fd8..b0f1b03 100644 --- a/lib/speakeasy_client_sdk/sdkconfiguration.rb +++ b/lib/speakeasy_client_sdk/sdkconfiguration.rb @@ -41,9 +41,9 @@ def initialize(client, security, server_url, server, globals) @globals = globals.nil? ? {} : globals @language = 'ruby' @openapi_doc_version = '0.4.0 .' - @sdk_version = '4.2.16' - @gen_version = '2.379.6' - @user_agent = 'speakeasy-sdk/ruby 4.2.16 2.379.6 0.4.0 . speakeasy_client_sdk_ruby' + @sdk_version = '4.2.17' + @gen_version = '2.385.2' + @user_agent = 'speakeasy-sdk/ruby 4.2.17 2.385.2 0.4.0 . speakeasy_client_sdk_ruby' end sig { returns([String, T::Hash[Symbol, String]]) } diff --git a/speakeasy_client_sdk_ruby.gemspec b/speakeasy_client_sdk_ruby.gemspec index 03e48db..a7823f5 100644 --- a/speakeasy_client_sdk_ruby.gemspec +++ b/speakeasy_client_sdk_ruby.gemspec @@ -4,7 +4,7 @@ $LOAD_PATH.push File.expand_path('lib', __dir__) Gem::Specification.new do |s| s.name = 'speakeasy_client_sdk_ruby' - s.version = '4.2.16' + s.version = '4.2.17' s.platform = Gem::Platform::RUBY s.licenses = ['Apache-2.0'] s.summary = ''