Skip to content

Commit

Permalink
Merge pull request #46 from dubinc/speakeasy-sdk-regen-1729211165
Browse files Browse the repository at this point in the history
chore: 🐝 Update SDK - Generate 0.2.2-alpha.27
  • Loading branch information
devkiran authored Oct 18, 2024
2 parents c853a21 + e0a41fa commit 5122229
Show file tree
Hide file tree
Showing 9 changed files with 35 additions and 21 deletions.
12 changes: 6 additions & 6 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: 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
Expand Down Expand Up @@ -713,7 +713,7 @@ examples:
idOrSlug: "<value>"
responses:
"200":
application/json: {"id": "<id>", "name": "<value>", "slug": "<value>", "logo": "<value>", "plan": "business extra", "stripeId": "<value>", "billingCycleStart": "900.65", "stripeConnectId": "<value>", "inviteCode": "<value>", "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": "<value>", "conversionEnabled": true, "dotLinkClaimed": true, "createdAt": "<value>", "users": [], "domains": [], "publishableKey": "<value>"}
application/json: {"id": "<id>", "name": "<value>", "slug": "<value>", "logo": "<value>", "inviteCode": "<value>", "plan": "business extra", "stripeId": "<value>", "billingCycleStart": "900.65", "paymentFailedAt": "<value>", "stripeConnectId": "<value>", "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": "<value>", "conversionEnabled": true, "dotLinkClaimed": true, "createdAt": "<value>", "users": [], "domains": [], "publishableKey": "<value>"}
"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 @@ -739,7 +739,7 @@ examples:
idOrSlug: "<value>"
responses:
"200":
application/json: {"id": "<id>", "name": "<value>", "slug": "<value>", "logo": "<value>", "plan": "enterprise", "stripeId": "<value>", "billingCycleStart": "245.55", "stripeConnectId": "<value>", "inviteCode": "<value>", "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": "<value>", "conversionEnabled": true, "dotLinkClaimed": false, "createdAt": "<value>", "users": [], "domains": [], "publishableKey": "<value>"}
application/json: {"id": "<id>", "name": "<value>", "slug": "<value>", "logo": "<value>", "inviteCode": "<value>", "plan": "enterprise", "stripeId": "<value>", "billingCycleStart": "245.55", "paymentFailedAt": "<value>", "stripeConnectId": "<value>", "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": "<value>", "conversionEnabled": true, "dotLinkClaimed": false, "createdAt": "<value>", "users": [], "domains": [], "publishableKey": "<value>"}
"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 @@ -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:
Expand Down
12 changes: 6 additions & 6 deletions .speakeasy/workflow.lock
Original file line number Diff line number Diff line change
@@ -1,20 +1,20 @@
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
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
Expand Down
2 changes: 1 addition & 1 deletion 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.26)
dub (0.2.2.pre.alpha.27)
faraday
faraday-multipart
rack
Expand Down
12 changes: 11 additions & 1 deletion RELEASES.md
Original file line number Diff line number Diff line change
Expand Up @@ -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 - .
- [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 - .
3 changes: 2 additions & 1 deletion docs/models/shared/workspaceschema.md
Original file line number Diff line number Diff line change
Expand Up @@ -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. |
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.26'
s.version = '0.2.2-alpha.27'
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 @@ -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.
Expand Down Expand Up @@ -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
Expand All @@ -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
Expand Down
4 changes: 2 additions & 2 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.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]]) }
Expand Down

0 comments on commit 5122229

Please sign in to comment.