Skip to content

Commit

Permalink
Merge pull request #84 from dubinc/speakeasy-sdk-regen-1739665764
Browse files Browse the repository at this point in the history
chore: 🐝 Update SDK - Generate 0.2.2-alpha.65
  • Loading branch information
devkiran authored Feb 17, 2025
2 parents c1ee65c + 334ac46 commit 0f61a5a
Show file tree
Hide file tree
Showing 9 changed files with 38 additions and 24 deletions.
14 changes: 7 additions & 7 deletions .speakeasy/gen.lock
Original file line number Diff line number Diff line change
@@ -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
Expand Down Expand Up @@ -1224,7 +1224,7 @@ examples:
idOrSlug: "<value>"
responses:
"200":
application/json: {"id": "<id>", "name": "<value>", "slug": "<value>", "logo": "<value>", "inviteCode": "<value>", "plan": "business extra", "stripeId": "<id>", "billingCycleStart": 5588.34, "paymentFailedAt": "<value>", "stripeConnectId": "<id>", "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": "<value>", "key1": "<value>", "key2": "<value>"}, "allowedHostnames": ["dub.sh"]}
application/json: {"id": "<id>", "name": "<value>", "slug": "<value>", "logo": "<value>", "inviteCode": "<value>", "plan": "business extra", "stripeId": "<id>", "billingCycleStart": 5588.34, "paymentFailedAt": "<value>", "stripeConnectId": "<id>", "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": "<value>", "key1": "<value>", "key2": "<value>"}, "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":
Expand All @@ -1250,7 +1250,7 @@ examples:
idOrSlug: "<value>"
responses:
"200":
application/json: {"id": "<id>", "name": "<value>", "slug": "<value>", "logo": "<value>", "inviteCode": "<value>", "plan": "enterprise", "stripeId": "<id>", "billingCycleStart": 5971.29, "paymentFailedAt": "<value>", "stripeConnectId": "<id>", "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": "<value>", "key1": "<value>", "key2": "<value>"}, "allowedHostnames": ["dub.sh"]}
application/json: {"id": "<id>", "name": "<value>", "slug": "<value>", "logo": "<value>", "inviteCode": "<value>", "plan": "enterprise", "stripeId": "<id>", "billingCycleStart": 5971.29, "paymentFailedAt": "<value>", "stripeConnectId": "<id>", "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": "<value>", "key1": "<value>", "key2": "<value>"}, "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":
Expand Down
2 changes: 1 addition & 1 deletion .speakeasy/gen.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -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:
Expand Down
14 changes: 7 additions & 7 deletions .speakeasy/workflow.lock
Original file line number Diff line number Diff line change
@@ -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
Expand Down
4 changes: 2 additions & 2 deletions Gemfile.lock
Original file line number Diff line number Diff line change
@@ -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
Expand All @@ -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)
Expand Down
12 changes: 11 additions & 1 deletion RELEASES.md
Original file line number Diff line number Diff line change
Expand Up @@ -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 - .
- [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 - .
1 change: 1 addition & 0 deletions docs/models/shared/workspaceschema.md
Original file line number Diff line number Diff line change
Expand Up @@ -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. | |
Expand Down
2 changes: 1 addition & 1 deletion dub.gemspec
Original file line number Diff line number Diff line change
Expand Up @@ -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 = ''
Expand Down
7 changes: 5 additions & 2 deletions lib/open_api_sdk/models/shared/workspaceschema.rb
Original file line number Diff line number Diff line change
Expand Up @@ -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.
Expand Down Expand Up @@ -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
Expand All @@ -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
Expand Down
6 changes: 3 additions & 3 deletions lib/open_api_sdk/sdkconfiguration.rb
Original file line number Diff line number Diff line change
Expand Up @@ -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]]) }
Expand Down

0 comments on commit 0f61a5a

Please sign in to comment.