diff --git a/.speakeasy/gen.lock b/.speakeasy/gen.lock index 5fbdc83..6bb15ba 100755 --- a/.speakeasy/gen.lock +++ b/.speakeasy/gen.lock @@ -1,12 +1,12 @@ lockVersion: 2.0.0 id: 5a2dd83e-da98-455b-8ef9-0100a914efdf management: - docChecksum: 8e16a6ad2773fc570daf1ee5754298d1 + docChecksum: c88acc42c7fc51806ffd58748f95557d docVersion: 0.0.1 - speakeasyVersion: 1.418.4 + speakeasyVersion: 1.419.0 generationVersion: 2.438.3 - releaseVersion: 0.2.2-alpha.26 - configChecksum: d8e4faa95734c7e09f1e7dee9e36f95f + releaseVersion: 0.2.2-alpha.27 + configChecksum: 51d12ff1b027a49569abf28aa2409820 repoURL: https://github.com/dubinc/dub-ruby.git installationURL: https://github.com/dubinc/dub-ruby published: true @@ -713,7 +713,7 @@ examples: idOrSlug: "" responses: "200": - application/json: {"id": "", "name": "", "slug": "", "logo": "", "plan": "business extra", "stripeId": "", "billingCycleStart": "900.65", "stripeConnectId": "", "inviteCode": "", "usage": "5588.34", "usageLimit": "8441.99", "linksUsage": "5442.21", "linksLimit": "8306.36", "salesUsage": "5212.35", "salesLimit": "785.92", "domainsLimit": "9699.61", "tagsLimit": "8661.61", "usersLimit": "4580.49", "aiUsage": "7352.87", "aiLimit": "4508.24", "referralLinkId": "", "conversionEnabled": true, "dotLinkClaimed": true, "createdAt": "", "users": [], "domains": [], "publishableKey": ""} + application/json: {"id": "", "name": "", "slug": "", "logo": "", "inviteCode": "", "plan": "business extra", "stripeId": "", "billingCycleStart": "900.65", "paymentFailedAt": "", "stripeConnectId": "", "usage": "5588.34", "usageLimit": "8441.99", "linksUsage": "5442.21", "linksLimit": "8306.36", "salesUsage": "5212.35", "salesLimit": "785.92", "domainsLimit": "9699.61", "tagsLimit": "8661.61", "usersLimit": "4580.49", "aiUsage": "7352.87", "aiLimit": "4508.24", "referralLinkId": "", "conversionEnabled": true, "dotLinkClaimed": true, "createdAt": "", "users": [], "domains": [], "publishableKey": ""} "400": application/json: {"error": {"code": "bad_request", "message": "The requested resource was not found.", "doc_url": "https://dub.co/docs/api-reference/errors#bad-request"}} "401": @@ -739,7 +739,7 @@ examples: idOrSlug: "" responses: "200": - application/json: {"id": "", "name": "", "slug": "", "logo": "", "plan": "enterprise", "stripeId": "", "billingCycleStart": "245.55", "stripeConnectId": "", "inviteCode": "", "usage": "5971.29", "usageLimit": "156.52", "linksUsage": "3446.2", "linksLimit": "7084.55", "salesUsage": "9914.64", "salesLimit": "2703.24", "domainsLimit": "6276.9", "tagsLimit": "6841.99", "usersLimit": "4888.52", "aiUsage": "4430.76", "aiLimit": "9840.08", "referralLinkId": "", "conversionEnabled": true, "dotLinkClaimed": false, "createdAt": "", "users": [], "domains": [], "publishableKey": ""} + application/json: {"id": "", "name": "", "slug": "", "logo": "", "inviteCode": "", "plan": "enterprise", "stripeId": "", "billingCycleStart": "245.55", "paymentFailedAt": "", "stripeConnectId": "", "usage": "5971.29", "usageLimit": "156.52", "linksUsage": "3446.2", "linksLimit": "7084.55", "salesUsage": "9914.64", "salesLimit": "2703.24", "domainsLimit": "6276.9", "tagsLimit": "6841.99", "usersLimit": "4888.52", "aiUsage": "4430.76", "aiLimit": "9840.08", "referralLinkId": "", "conversionEnabled": true, "dotLinkClaimed": false, "createdAt": "", "users": [], "domains": [], "publishableKey": ""} "400": application/json: {"error": {"code": "bad_request", "message": "The requested resource was not found.", "doc_url": "https://dub.co/docs/api-reference/errors#bad-request"}} "401": diff --git a/.speakeasy/gen.yaml b/.speakeasy/gen.yaml index 00e6234..aceb6d1 100755 --- a/.speakeasy/gen.yaml +++ b/.speakeasy/gen.yaml @@ -12,7 +12,7 @@ generation: auth: oAuth2ClientCredentialsEnabled: true ruby: - version: 0.2.2-alpha.26 + version: 0.2.2-alpha.27 author: Dub description: Ruby Client SDK Generated by Speakeasy imports: diff --git a/.speakeasy/workflow.lock b/.speakeasy/workflow.lock index 2e35253..d4a80fe 100644 --- a/.speakeasy/workflow.lock +++ b/.speakeasy/workflow.lock @@ -1,9 +1,9 @@ -speakeasyVersion: 1.418.4 +speakeasyVersion: 1.419.0 sources: dub: sourceNamespace: dub - sourceRevisionDigest: sha256:eb44ccbfb8a8890e247b42343bc6bc5d127b6d638bc13775349fdf6cd42e0947 - sourceBlobDigest: sha256:e5153c7b13bedd8a627c2a96b13ca03889e9c52266823bb782e4a8c6a28c51cf + sourceRevisionDigest: sha256:6841b15e6019b4911d1825353be0477a28d0ef319e0c8b99df3ac696ab328843 + sourceBlobDigest: sha256:71ec87615adb06a760c18cf004b163926b3750a6360974c248e2aa14850ebe36 tags: - latest - main @@ -11,10 +11,10 @@ targets: my-first-target: source: dub sourceNamespace: dub - sourceRevisionDigest: sha256:eb44ccbfb8a8890e247b42343bc6bc5d127b6d638bc13775349fdf6cd42e0947 - sourceBlobDigest: sha256:e5153c7b13bedd8a627c2a96b13ca03889e9c52266823bb782e4a8c6a28c51cf + sourceRevisionDigest: sha256:6841b15e6019b4911d1825353be0477a28d0ef319e0c8b99df3ac696ab328843 + sourceBlobDigest: sha256:71ec87615adb06a760c18cf004b163926b3750a6360974c248e2aa14850ebe36 codeSamplesNamespace: code-samples-ruby-my-first-target - codeSamplesRevisionDigest: sha256:276c4b39d6e8482a3163af4d0071facf3e7ce4e97cb7de7020ad0cb3a141eb71 + codeSamplesRevisionDigest: sha256:2282cf7103557409126067c072aacc396cb261c74a589676e3b3027e06beea16 workflow: workflowVersion: 1.0.0 speakeasyVersion: latest diff --git a/Gemfile.lock b/Gemfile.lock index 6925f92..a34ced2 100644 --- a/Gemfile.lock +++ b/Gemfile.lock @@ -1,7 +1,7 @@ PATH remote: . specs: - dub (0.2.2.pre.alpha.26) + dub (0.2.2.pre.alpha.27) faraday faraday-multipart rack diff --git a/RELEASES.md b/RELEASES.md index 9d804b2..7243081 100644 --- a/RELEASES.md +++ b/RELEASES.md @@ -408,4 +408,14 @@ Based on: ### Generated - [ruby v0.2.2-alpha.26] . ### Releases -- [Ruby Gems v0.2.2-alpha.26] https://rubygems.org/gems/dub/versions/0.2.2-alpha.26 - . \ No newline at end of file +- [Ruby Gems v0.2.2-alpha.26] https://rubygems.org/gems/dub/versions/0.2.2-alpha.26 - . + +## 2024-10-18 00:26:00 +### Changes +Based on: +- OpenAPI Doc +- Speakeasy CLI 1.419.0 (2.438.3) https://github.com/speakeasy-api/speakeasy +### Generated +- [ruby v0.2.2-alpha.27] . +### Releases +- [Ruby Gems v0.2.2-alpha.27] https://rubygems.org/gems/dub/versions/0.2.2-alpha.27 - . \ No newline at end of file diff --git a/docs/models/shared/workspaceschema.md b/docs/models/shared/workspaceschema.md index 9fb26c8..5297ff2 100644 --- a/docs/models/shared/workspaceschema.md +++ b/docs/models/shared/workspaceschema.md @@ -9,11 +9,12 @@ | `name` | *::String* | :heavy_check_mark: | The name of the workspace. | | `slug` | *::String* | :heavy_check_mark: | The slug of the workspace. | | `logo` | *::String* | :heavy_check_mark: | The logo of the workspace. | +| `invite_code` | *::String* | :heavy_check_mark: | The invite code of the workspace. | | `plan` | [::OpenApiSDK::Shared::Plan](../../models/shared/plan.md) | :heavy_check_mark: | The plan of the workspace. | | `stripe_id` | *::String* | :heavy_check_mark: | The Stripe ID of the workspace. | | `billing_cycle_start` | *::Float* | :heavy_check_mark: | The date and time when the billing cycle starts for the workspace. | +| `payment_failed_at` | *::String* | :heavy_check_mark: | The date and time when the payment failed for the workspace. | | `stripe_connect_id` | *::String* | :heavy_check_mark: | [BETA]: The Stripe Connect ID of the workspace. | -| `invite_code` | *::String* | :heavy_check_mark: | The invite code of the workspace. | | `usage` | *::Float* | :heavy_check_mark: | The usage of the workspace. | | `usage_limit` | *::Float* | :heavy_check_mark: | The usage limit of the workspace. | | `links_usage` | *::Float* | :heavy_check_mark: | The links usage of the workspace. | diff --git a/dub.gemspec b/dub.gemspec index 22e4b89..b86ca85 100644 --- a/dub.gemspec +++ b/dub.gemspec @@ -4,7 +4,7 @@ $LOAD_PATH.push File.expand_path('lib', __dir__) Gem::Specification.new do |s| s.name = 'dub' - s.version = '0.2.2-alpha.26' + s.version = '0.2.2-alpha.27' s.platform = Gem::Platform::RUBY s.licenses = ['Apache-2.0'] s.summary = '' diff --git a/lib/open_api_sdk/models/shared/workspaceschema.rb b/lib/open_api_sdk/models/shared/workspaceschema.rb index e0b4bb4..78a611e 100644 --- a/lib/open_api_sdk/models/shared/workspaceschema.rb +++ b/lib/open_api_sdk/models/shared/workspaceschema.rb @@ -39,6 +39,8 @@ class WorkspaceSchema < ::OpenApiSDK::Utils::FieldAugmented field :logo, ::String, { 'format_json': { 'letter_case': ::OpenApiSDK::Utils.field_name('logo') } } # The name of the workspace. field :name, ::String, { 'format_json': { 'letter_case': ::OpenApiSDK::Utils.field_name('name') } } + # The date and time when the payment failed for the workspace. + field :payment_failed_at, ::String, { 'format_json': { 'letter_case': ::OpenApiSDK::Utils.field_name('paymentFailedAt') } } # The plan of the workspace. field :plan, ::OpenApiSDK::Shared::Plan, { 'format_json': { 'letter_case': ::OpenApiSDK::Utils.field_name('plan'), 'decoder': Utils.enum_from_string(::OpenApiSDK::Shared::Plan, false) } } # The publishable key of the workspace. @@ -69,8 +71,8 @@ class WorkspaceSchema < ::OpenApiSDK::Utils::FieldAugmented field :flags, T.nilable(T::Hash[Symbol, T::Boolean]), { 'format_json': { 'letter_case': ::OpenApiSDK::Utils.field_name('flags') } } - sig { params(ai_limit: ::Float, ai_usage: ::Float, billing_cycle_start: ::Float, conversion_enabled: T::Boolean, created_at: ::String, domains: T::Array[::OpenApiSDK::Shared::Domains], domains_limit: ::Float, dot_link_claimed: T::Boolean, id: ::String, invite_code: ::String, links_limit: ::Float, links_usage: ::Float, logo: ::String, name: ::String, plan: ::OpenApiSDK::Shared::Plan, publishable_key: ::String, referral_link_id: ::String, sales_limit: ::Float, sales_usage: ::Float, slug: ::String, stripe_connect_id: ::String, stripe_id: ::String, tags_limit: ::Float, usage: ::Float, usage_limit: ::Float, users: T::Array[::OpenApiSDK::Shared::Users], users_limit: ::Float, flags: T.nilable(T::Hash[Symbol, T::Boolean])).void } - def initialize(ai_limit: nil, ai_usage: nil, billing_cycle_start: nil, conversion_enabled: nil, created_at: nil, domains: nil, domains_limit: nil, dot_link_claimed: nil, id: nil, invite_code: nil, links_limit: nil, links_usage: nil, logo: nil, name: nil, plan: nil, publishable_key: nil, referral_link_id: nil, sales_limit: nil, sales_usage: nil, slug: nil, stripe_connect_id: nil, stripe_id: nil, tags_limit: nil, usage: nil, usage_limit: nil, users: nil, users_limit: nil, flags: nil) + sig { params(ai_limit: ::Float, ai_usage: ::Float, billing_cycle_start: ::Float, conversion_enabled: T::Boolean, created_at: ::String, domains: T::Array[::OpenApiSDK::Shared::Domains], domains_limit: ::Float, dot_link_claimed: T::Boolean, id: ::String, invite_code: ::String, links_limit: ::Float, links_usage: ::Float, logo: ::String, name: ::String, payment_failed_at: ::String, plan: ::OpenApiSDK::Shared::Plan, publishable_key: ::String, referral_link_id: ::String, sales_limit: ::Float, sales_usage: ::Float, slug: ::String, stripe_connect_id: ::String, stripe_id: ::String, tags_limit: ::Float, usage: ::Float, usage_limit: ::Float, users: T::Array[::OpenApiSDK::Shared::Users], users_limit: ::Float, flags: T.nilable(T::Hash[Symbol, T::Boolean])).void } + def initialize(ai_limit: nil, ai_usage: nil, billing_cycle_start: nil, conversion_enabled: nil, created_at: nil, domains: nil, domains_limit: nil, dot_link_claimed: nil, id: nil, invite_code: nil, links_limit: nil, links_usage: nil, logo: nil, name: nil, payment_failed_at: nil, plan: nil, publishable_key: nil, referral_link_id: nil, sales_limit: nil, sales_usage: nil, slug: nil, stripe_connect_id: nil, stripe_id: nil, tags_limit: nil, usage: nil, usage_limit: nil, users: nil, users_limit: nil, flags: nil) @ai_limit = ai_limit @ai_usage = ai_usage @billing_cycle_start = billing_cycle_start @@ -85,6 +87,7 @@ def initialize(ai_limit: nil, ai_usage: nil, billing_cycle_start: nil, conversio @links_usage = links_usage @logo = logo @name = name + @payment_failed_at = payment_failed_at @plan = plan @publishable_key = publishable_key @referral_link_id = referral_link_id diff --git a/lib/open_api_sdk/sdkconfiguration.rb b/lib/open_api_sdk/sdkconfiguration.rb index c74bf79..92f13f9 100644 --- a/lib/open_api_sdk/sdkconfiguration.rb +++ b/lib/open_api_sdk/sdkconfiguration.rb @@ -38,9 +38,9 @@ def initialize(client, security, server_url, server_idx) @security = security @language = 'ruby' @openapi_doc_version = '0.0.1' - @sdk_version = '0.2.2-alpha.26' + @sdk_version = '0.2.2-alpha.27' @gen_version = '2.438.3' - @user_agent = 'speakeasy-sdk/ruby 0.2.2-alpha.26 2.438.3 0.0.1 dub' + @user_agent = 'speakeasy-sdk/ruby 0.2.2-alpha.27 2.438.3 0.0.1 dub' end sig { returns([String, T::Hash[Symbol, String]]) }