From f6e5b207ab1a9236247ebc7df449bc5d150593f3 Mon Sep 17 00:00:00 2001 From: speakeasybot Date: Mon, 17 Feb 2025 00:29:37 +0000 Subject: [PATCH 1/2] ci: regenerated with OpenAPI Doc , Speakeasy CLI 1.493.0 --- .speakeasy/gen.lock | 14 +++++++------- .speakeasy/gen.yaml | 2 +- .speakeasy/workflow.lock | 14 +++++++------- Gemfile.lock | 4 ++-- RELEASES.md | 12 +++++++++++- docs/models/shared/workspaceschema.md | 1 + dub.gemspec | 2 +- lib/open_api_sdk/models/shared/workspaceschema.rb | 7 +++++-- lib/open_api_sdk/sdkconfiguration.rb | 6 +++--- 9 files changed, 38 insertions(+), 24 deletions(-) diff --git a/.speakeasy/gen.lock b/.speakeasy/gen.lock index 2e8c4a3..3b1aacb 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: 800c2d1e9d6794eaf14a0b0c2f0ca711 + docChecksum: 239d3608d02952e8a09a4e5e9cb522b7 docVersion: 0.0.1 - speakeasyVersion: 1.490.0 - generationVersion: 2.512.0 - releaseVersion: 0.2.2-alpha.64 - configChecksum: e14ae35d3a1f00a4c5d0159cf36fbffe + speakeasyVersion: 1.493.0 + generationVersion: 2.512.4 + releaseVersion: 0.2.2-alpha.65 + configChecksum: b68262f45fde39ada6c8a9068903b424 repoURL: https://github.com/dubinc/dub-ruby.git installationURL: https://github.com/dubinc/dub-ruby published: true @@ -1224,7 +1224,7 @@ examples: idOrSlug: "" responses: "200": - application/json: {"id": "", "name": "", "slug": "", "logo": "", "inviteCode": "", "plan": "business extra", "stripeId": "", "billingCycleStart": 5588.34, "paymentFailedAt": "", "stripeConnectId": "", "usage": 5442.21, "usageLimit": 5212.35, "linksUsage": 9699.61, "linksLimit": 4580.49, "salesUsage": 4508.24, "salesLimit": 2627.95, "domainsLimit": 2134.57, "tagsLimit": 9371.46, "foldersLimit": 7003.47, "usersLimit": 4381.42, "aiUsage": 8013.73, "aiLimit": 788.88, "conversionEnabled": true, "dotLinkClaimed": true, "partnersEnabled": true, "createdAt": "1723223056781", "users": [{"role": "owner"}, {"role": "member"}, {"role": "member"}], "domains": [{"slug": "acme.com", "primary": true, "verified": true}, {"slug": "acme.com", "primary": true, "verified": true}], "store": {"key": "", "key1": "", "key2": ""}, "allowedHostnames": ["dub.sh"]} + application/json: {"id": "", "name": "", "slug": "", "logo": "", "inviteCode": "", "plan": "business extra", "stripeId": "", "billingCycleStart": 5588.34, "paymentFailedAt": "", "stripeConnectId": "", "usage": 5442.21, "usageLimit": 5212.35, "linksUsage": 9699.61, "linksLimit": 4580.49, "salesUsage": 4508.24, "salesLimit": 2627.95, "domainsLimit": 2134.57, "tagsLimit": 9371.46, "foldersUsage": 7003.47, "foldersLimit": 7003.47, "usersLimit": 4381.42, "aiUsage": 8013.73, "aiLimit": 788.88, "conversionEnabled": true, "dotLinkClaimed": true, "partnersEnabled": true, "createdAt": "1723223056781", "users": [{"role": "owner"}, {"role": "member"}, {"role": "member"}], "domains": [{"slug": "acme.com", "primary": true, "verified": true}, {"slug": "acme.com", "primary": true, "verified": true}], "store": {"key": "", "key1": "", "key2": ""}, "allowedHostnames": ["dub.sh"]} "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": @@ -1250,7 +1250,7 @@ examples: idOrSlug: "" responses: "200": - application/json: {"id": "", "name": "", "slug": "", "logo": "", "inviteCode": "", "plan": "enterprise", "stripeId": "", "billingCycleStart": 5971.29, "paymentFailedAt": "", "stripeConnectId": "", "usage": 3446.2, "usageLimit": 9914.64, "linksUsage": 6276.9, "linksLimit": 4888.52, "salesUsage": 9840.08, "salesLimit": 540.62, "domainsLimit": 8965.01, "tagsLimit": 4468.63, "foldersLimit": 8574.78, "usersLimit": 3115.07, "aiUsage": 2494.4, "aiLimit": 1395.79, "conversionEnabled": false, "dotLinkClaimed": false, "partnersEnabled": true, "createdAt": "1720441680204", "users": [{"role": "member"}, {"role": "owner"}, {"role": "owner"}], "domains": [{"slug": "acme.com", "primary": false, "verified": true}, {"slug": "acme.com", "primary": false, "verified": true}, {"slug": "acme.com", "primary": true, "verified": true}], "store": {"key": "", "key1": "", "key2": ""}, "allowedHostnames": ["dub.sh"]} + application/json: {"id": "", "name": "", "slug": "", "logo": "", "inviteCode": "", "plan": "enterprise", "stripeId": "", "billingCycleStart": 5971.29, "paymentFailedAt": "", "stripeConnectId": "", "usage": 3446.2, "usageLimit": 9914.64, "linksUsage": 6276.9, "linksLimit": 4888.52, "salesUsage": 9840.08, "salesLimit": 540.62, "domainsLimit": 8965.01, "tagsLimit": 4468.63, "foldersUsage": 8574.78, "foldersLimit": 8574.78, "usersLimit": 3115.07, "aiUsage": 2494.4, "aiLimit": 1395.79, "conversionEnabled": false, "dotLinkClaimed": false, "partnersEnabled": true, "createdAt": "1720441680204", "users": [{"role": "member"}, {"role": "owner"}, {"role": "owner"}], "domains": [{"slug": "acme.com", "primary": false, "verified": true}, {"slug": "acme.com", "primary": false, "verified": true}, {"slug": "acme.com", "primary": true, "verified": true}], "store": {"key": "", "key1": "", "key2": ""}, "allowedHostnames": ["dub.sh"]} "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 4444d86..05e3e4d 100755 --- a/.speakeasy/gen.yaml +++ b/.speakeasy/gen.yaml @@ -14,7 +14,7 @@ generation: oAuth2ClientCredentialsEnabled: true oAuth2PasswordEnabled: false ruby: - version: 0.2.2-alpha.64 + version: 0.2.2-alpha.65 author: Dub description: Ruby Client SDK Generated by Speakeasy imports: diff --git a/.speakeasy/workflow.lock b/.speakeasy/workflow.lock index 6d6206a..1dd5169 100644 --- a/.speakeasy/workflow.lock +++ b/.speakeasy/workflow.lock @@ -1,21 +1,21 @@ -speakeasyVersion: 1.490.0 +speakeasyVersion: 1.493.0 sources: dub: sourceNamespace: dub - sourceRevisionDigest: sha256:05120c38d247096a19f1a2c88c0bd4b6fe5bd8c67caa6eb3ce3f4bc59d31ef50 - sourceBlobDigest: sha256:71a6866fef88f7b683008f13d8e49115f35a419afa02c3bba42d5967bb65d268 + sourceRevisionDigest: sha256:f26166b5c5f0b61c092f0608d64d38f89e2a3067f3507e5671d40d03c6b3b71d + sourceBlobDigest: sha256:4925fe53bd9df5eed8d29f0eeaa8ef48336b0590aea35dc8a122ceaf93298213 tags: - latest - - speakeasy-sdk-regen-1739406409 + - speakeasy-sdk-regen-1739665764 - 0.0.1 targets: my-first-target: source: dub sourceNamespace: dub - sourceRevisionDigest: sha256:05120c38d247096a19f1a2c88c0bd4b6fe5bd8c67caa6eb3ce3f4bc59d31ef50 - sourceBlobDigest: sha256:71a6866fef88f7b683008f13d8e49115f35a419afa02c3bba42d5967bb65d268 + sourceRevisionDigest: sha256:f26166b5c5f0b61c092f0608d64d38f89e2a3067f3507e5671d40d03c6b3b71d + sourceBlobDigest: sha256:4925fe53bd9df5eed8d29f0eeaa8ef48336b0590aea35dc8a122ceaf93298213 codeSamplesNamespace: code-samples-ruby-my-first-target - codeSamplesRevisionDigest: sha256:d5f4401b39fc54b33532abf0456b3b91bfabb251176b439300a45cf50e12f67e + codeSamplesRevisionDigest: sha256:c4b639d8f79f08e689cd296be76f14f96655789626b6d795ffbd795f6ec9e3b1 workflow: workflowVersion: 1.0.0 speakeasyVersion: latest diff --git a/Gemfile.lock b/Gemfile.lock index 77dc92e..5287c9e 100644 --- a/Gemfile.lock +++ b/Gemfile.lock @@ -1,7 +1,7 @@ PATH remote: . specs: - dub (0.2.2.pre.alpha.64) + dub (0.2.2.pre.alpha.65) faraday faraday-multipart rack @@ -23,7 +23,7 @@ GEM net-http (>= 0.5.0) json (2.8.2) language_server-protocol (3.17.0.3) - logger (1.6.5) + logger (1.6.6) minitest (5.25.2) multipart-post (2.4.1) net-http (0.6.0) diff --git a/RELEASES.md b/RELEASES.md index 9154968..9deec37 100644 --- a/RELEASES.md +++ b/RELEASES.md @@ -788,4 +788,14 @@ Based on: ### Generated - [ruby v0.2.2-alpha.64] . ### Releases -- [Ruby Gems v0.2.2-alpha.64] https://rubygems.org/gems/dub/versions/0.2.2-alpha.64 - . \ No newline at end of file +- [Ruby Gems v0.2.2-alpha.64] https://rubygems.org/gems/dub/versions/0.2.2-alpha.64 - . + +## 2025-02-17 00:28:25 +### Changes +Based on: +- OpenAPI Doc +- Speakeasy CLI 1.493.0 (2.512.4) https://github.com/speakeasy-api/speakeasy +### Generated +- [ruby v0.2.2-alpha.65] . +### Releases +- [Ruby Gems v0.2.2-alpha.65] https://rubygems.org/gems/dub/versions/0.2.2-alpha.65 - . \ No newline at end of file diff --git a/docs/models/shared/workspaceschema.md b/docs/models/shared/workspaceschema.md index a395636..0b5f2b0 100644 --- a/docs/models/shared/workspaceschema.md +++ b/docs/models/shared/workspaceschema.md @@ -23,6 +23,7 @@ | `sales_limit` | *::Float* | :heavy_check_mark: | The limit of tracked revenue in the current billing cycle (in cents). | | | `domains_limit` | *::Float* | :heavy_check_mark: | The domains limit of the workspace. | | | `tags_limit` | *::Float* | :heavy_check_mark: | The tags limit of the workspace. | | +| `folders_usage` | *::Float* | :heavy_check_mark: | The folders usage of the workspace. | | | `folders_limit` | *::Float* | :heavy_check_mark: | The folders limit of the workspace. | | | `users_limit` | *::Float* | :heavy_check_mark: | The users limit of the workspace. | | | `ai_usage` | *::Float* | :heavy_check_mark: | The AI usage of the workspace. | | diff --git a/dub.gemspec b/dub.gemspec index 341a9c7..b745951 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.64' + s.version = '0.2.2-alpha.65' 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 dd3df24..1b009e2 100644 --- a/lib/open_api_sdk/models/shared/workspaceschema.rb +++ b/lib/open_api_sdk/models/shared/workspaceschema.rb @@ -31,6 +31,8 @@ class WorkspaceSchema < ::OpenApiSDK::Utils::FieldAugmented field :dot_link_claimed, T::Boolean, { 'format_json': { 'letter_case': ::OpenApiSDK::Utils.field_name('dotLinkClaimed') } } # The folders limit of the workspace. field :folders_limit, ::Float, { 'format_json': { 'letter_case': ::OpenApiSDK::Utils.field_name('foldersLimit') } } + # The folders usage of the workspace. + field :folders_usage, ::Float, { 'format_json': { 'letter_case': ::OpenApiSDK::Utils.field_name('foldersUsage') } } # The unique ID of the workspace. field :id, ::String, { 'format_json': { 'letter_case': ::OpenApiSDK::Utils.field_name('id') } } # The invite code of the workspace. @@ -75,8 +77,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, allowed_hostnames: T::Array[::String], 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, folders_limit: ::Float, id: ::String, invite_code: ::String, links_limit: ::Float, links_usage: ::Float, logo: ::String, name: ::String, partners_enabled: T::Boolean, payment_failed_at: ::String, plan: ::OpenApiSDK::Shared::Plan, sales_limit: ::Float, sales_usage: ::Float, slug: ::String, store: T::Hash[Symbol, ::Object], 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, allowed_hostnames: nil, billing_cycle_start: nil, conversion_enabled: nil, created_at: nil, domains: nil, domains_limit: nil, dot_link_claimed: nil, folders_limit: nil, id: nil, invite_code: nil, links_limit: nil, links_usage: nil, logo: nil, name: nil, partners_enabled: nil, payment_failed_at: nil, plan: nil, sales_limit: nil, sales_usage: nil, slug: nil, store: 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, allowed_hostnames: T::Array[::String], 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, folders_limit: ::Float, folders_usage: ::Float, id: ::String, invite_code: ::String, links_limit: ::Float, links_usage: ::Float, logo: ::String, name: ::String, partners_enabled: T::Boolean, payment_failed_at: ::String, plan: ::OpenApiSDK::Shared::Plan, sales_limit: ::Float, sales_usage: ::Float, slug: ::String, store: T::Hash[Symbol, ::Object], 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, allowed_hostnames: nil, billing_cycle_start: nil, conversion_enabled: nil, created_at: nil, domains: nil, domains_limit: nil, dot_link_claimed: nil, folders_limit: nil, folders_usage: nil, id: nil, invite_code: nil, links_limit: nil, links_usage: nil, logo: nil, name: nil, partners_enabled: nil, payment_failed_at: nil, plan: nil, sales_limit: nil, sales_usage: nil, slug: nil, store: 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 @allowed_hostnames = allowed_hostnames @@ -87,6 +89,7 @@ def initialize(ai_limit: nil, ai_usage: nil, allowed_hostnames: nil, billing_cyc @domains_limit = domains_limit @dot_link_claimed = dot_link_claimed @folders_limit = folders_limit + @folders_usage = folders_usage @id = id @invite_code = invite_code @links_limit = links_limit diff --git a/lib/open_api_sdk/sdkconfiguration.rb b/lib/open_api_sdk/sdkconfiguration.rb index dd40ee7..0309e5e 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.64' - @gen_version = '2.512.0' - @user_agent = 'speakeasy-sdk/ruby 0.2.2-alpha.64 2.512.0 0.0.1 dub' + @sdk_version = '0.2.2-alpha.65' + @gen_version = '2.512.4' + @user_agent = 'speakeasy-sdk/ruby 0.2.2-alpha.65 2.512.4 0.0.1 dub' end sig { returns([String, T::Hash[Symbol, String]]) } From 334ac46fb94c07736d242bc83243e123447e2b39 Mon Sep 17 00:00:00 2001 From: "speakeasy-github[bot]" <128539517+speakeasy-github[bot]@users.noreply.github.com> Date: Mon, 17 Feb 2025 00:29:39 +0000 Subject: [PATCH 2/2] empty commit to trigger [run-tests] workflow