Skip to content

Commit

Permalink
Merge pull request #21 from dubinc/speakeasy-sdk-regen-1721092987
Browse files Browse the repository at this point in the history
chore: 🐝 Update SDK - Generate
  • Loading branch information
devkiran authored Jul 16, 2024
2 parents a15ed9c + 568966a commit 744db29
Show file tree
Hide file tree
Showing 10 changed files with 115 additions and 105 deletions.
10 changes: 5 additions & 5 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: fe340caa479dc343bdc532bc03f01fa9
docChecksum: d0b5f8295789a6e5094c2a864663e7e5
docVersion: 0.0.1
speakeasyVersion: 1.335.0
generationVersion: 2.370.2
releaseVersion: 0.2.2-alpha.1
configChecksum: 468a7726e3af6169539e5f3b7da0872a
speakeasyVersion: 1.335.2
generationVersion: 2.372.3
releaseVersion: 0.2.2-alpha.2
configChecksum: b7aac4eda7e14a22bdc789f3ef8a11bb
repoURL: https://github.com/dubinc/dub-ruby.git
installationURL: https://github.com/dubinc/dub-ruby
published: true
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.1
version: 0.2.2-alpha.2
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.335.0
speakeasyVersion: 1.335.2
sources:
dub:
sourceNamespace: dub
sourceRevisionDigest: sha256:7177dac4f7b9270fc0265d84c6c157f8767f58ee70f97ad96331538591371e29
sourceBlobDigest: sha256:2cf5a2a09626860055cb6e2b3af1d6cf5b048c0cf2c562e188dd0c46d3a97208
sourceRevisionDigest: sha256:850c92cb3a5cea30f0cc1cc06ad1ac42c1b955d9f9fb8742b203af3405287724
sourceBlobDigest: sha256:af5f061459f92e262d6699e5f87782c6f5b8ec401a374274c92cea0d3215859f
tags:
- latest
- main
targets:
my-first-target:
source: dub
sourceNamespace: dub
sourceRevisionDigest: sha256:7177dac4f7b9270fc0265d84c6c157f8767f58ee70f97ad96331538591371e29
sourceBlobDigest: sha256:2cf5a2a09626860055cb6e2b3af1d6cf5b048c0cf2c562e188dd0c46d3a97208
sourceRevisionDigest: sha256:850c92cb3a5cea30f0cc1cc06ad1ac42c1b955d9f9fb8742b203af3405287724
sourceBlobDigest: sha256:af5f061459f92e262d6699e5f87782c6f5b8ec401a374274c92cea0d3215859f
codeSamplesNamespace: code-samples-ruby-my-first-target
codeSamplesRevisionDigest: sha256:42dde76acf083756fbf6534a6df6b6a79a2a9afef520461a40d25f3252052c48
codeSamplesRevisionDigest: sha256:352fea87a4a20edcd66c550f4a664e393f2abcf9e5e7631271b4eefcfe03377d
outLocation: /github/workspace/repo
workflow:
workflowVersion: 1.0.0
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.1)
dub (0.2.2.pre.alpha.2)
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 @@ -158,4 +158,14 @@ Based on:
### Generated
- [ruby v0.2.2-alpha.1] .
### Releases
- [Ruby Gems v0.2.2-alpha.1] https://rubygems.org/gems/dub/versions/0.2.2-alpha.1 - .
- [Ruby Gems v0.2.2-alpha.1] https://rubygems.org/gems/dub/versions/0.2.2-alpha.1 - .

## 2024-07-16 01:23:05
### Changes
Based on:
- OpenAPI Doc
- Speakeasy CLI 1.335.2 (2.372.3) https://github.com/speakeasy-api/speakeasy
### Generated
- [ruby v0.2.2-alpha.2] .
### Releases
- [Ruby Gems v0.2.2-alpha.2] https://rubygems.org/gems/dub/versions/0.2.2-alpha.2 - .
120 changes: 60 additions & 60 deletions codeSamples.yaml

Large diffs are not rendered by default.

44 changes: 22 additions & 22 deletions docs/models/shared/workspaceschema.md
Original file line number Diff line number Diff line change
Expand Up @@ -3,25 +3,25 @@

## Fields

| Field | Type | Required | Description |
| ------------------------------------------------------------------------- | ------------------------------------------------------------------------- | ------------------------------------------------------------------------- | ------------------------------------------------------------------------- |
| `id` | *::String* | :heavy_check_mark: | The unique ID of the workspace. |
| `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. |
| `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. |
| `links_limit` | *::Float* | :heavy_check_mark: | The links limit of the workspace. |
| `domains_limit` | *::Float* | :heavy_check_mark: | The domains limit of the workspace. |
| `tags_limit` | *::Float* | :heavy_check_mark: | The tags limit of the workspace. |
| `users_limit` | *::Float* | :heavy_check_mark: | The users limit 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. |
| `stripe_connect_id` | *::String* | :heavy_check_mark: | [BETA]: The Stripe Connect ID of the workspace. |
| `created_at` | *::String* | :heavy_check_mark: | The date and time when the workspace was created. |
| `users` | T::Array<[::OpenApiSDK::Shared::Users](../../models/shared/users.md)> | :heavy_check_mark: | The role of the authenticated user in the workspace. |
| `domains` | T::Array<[::OpenApiSDK::Shared::Domains](../../models/shared/domains.md)> | :heavy_check_mark: | The domains of the workspace. |
| `invite_code` | *::String* | :heavy_check_mark: | The invite code of the workspace. |
| `beta_tester` | *T.nilable(T::Boolean)* | :heavy_minus_sign: | Whether the workspace is enrolled in the beta testing program. |
| Field | Type | Required | Description |
| -------------------------------------------------------------------------- | -------------------------------------------------------------------------- | -------------------------------------------------------------------------- | -------------------------------------------------------------------------- |
| `id` | *::String* | :heavy_check_mark: | The unique ID of the workspace. |
| `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. |
| `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. |
| `links_limit` | *::Float* | :heavy_check_mark: | The links limit of the workspace. |
| `domains_limit` | *::Float* | :heavy_check_mark: | The domains limit of the workspace. |
| `tags_limit` | *::Float* | :heavy_check_mark: | The tags limit of the workspace. |
| `users_limit` | *::Float* | :heavy_check_mark: | The users limit 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. |
| `stripe_connect_id` | *::String* | :heavy_check_mark: | [BETA]: The Stripe Connect ID of the workspace. |
| `created_at` | *::String* | :heavy_check_mark: | The date and time when the workspace was created. |
| `users` | T::Array<[::OpenApiSDK::Shared::Users](../../models/shared/users.md)> | :heavy_check_mark: | The role of the authenticated user in the workspace. |
| `domains` | T::Array<[::OpenApiSDK::Shared::Domains](../../models/shared/domains.md)> | :heavy_check_mark: | The domains of the workspace. |
| `invite_code` | *::String* | :heavy_check_mark: | The invite code of the workspace. |
| `flags` | T::Hash[Symbol, *T::Boolean*] | :heavy_minus_sign: | The feature flags of the workspace, indicating which features are enabled. |
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.1'
s.version = '0.2.2-alpha.2'
s.platform = Gem::Platform::RUBY
s.licenses = ['Apache-2.0']
s.summary = ''
Expand Down
10 changes: 5 additions & 5 deletions lib/open_api_sdk/models/shared/workspaceschema.rb
Original file line number Diff line number Diff line change
Expand Up @@ -49,12 +49,12 @@ class WorkspaceSchema < ::OpenApiSDK::Utils::FieldAugmented
field :users, T::Array[::OpenApiSDK::Shared::Users], { 'format_json': { 'letter_case': ::OpenApiSDK::Utils.field_name('users') } }
# The users limit of the workspace.
field :users_limit, ::Float, { 'format_json': { 'letter_case': ::OpenApiSDK::Utils.field_name('usersLimit') } }
# Whether the workspace is enrolled in the beta testing program.
field :beta_tester, T.nilable(T::Boolean), { 'format_json': { 'letter_case': ::OpenApiSDK::Utils.field_name('betaTester') } }
# The feature flags of the workspace, indicating which features are enabled.
field :flags, T.nilable(T::Hash[Symbol, T::Boolean]), { 'format_json': { 'letter_case': ::OpenApiSDK::Utils.field_name('flags') } }


sig { params(billing_cycle_start: ::Float, created_at: ::String, domains: T::Array[::OpenApiSDK::Shared::Domains], domains_limit: ::Float, id: ::String, invite_code: ::String, links_limit: ::Float, links_usage: ::Float, logo: ::String, name: ::String, plan: ::OpenApiSDK::Shared::Plan, 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, beta_tester: T.nilable(T::Boolean)).void }
def initialize(billing_cycle_start: nil, created_at: nil, domains: nil, domains_limit: nil, id: nil, invite_code: nil, links_limit: nil, links_usage: nil, logo: nil, name: nil, plan: nil, slug: nil, stripe_connect_id: nil, stripe_id: nil, tags_limit: nil, usage: nil, usage_limit: nil, users: nil, users_limit: nil, beta_tester: nil)
sig { params(billing_cycle_start: ::Float, created_at: ::String, domains: T::Array[::OpenApiSDK::Shared::Domains], domains_limit: ::Float, id: ::String, invite_code: ::String, links_limit: ::Float, links_usage: ::Float, logo: ::String, name: ::String, plan: ::OpenApiSDK::Shared::Plan, 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(billing_cycle_start: nil, created_at: nil, domains: nil, domains_limit: nil, id: nil, invite_code: nil, links_limit: nil, links_usage: nil, logo: nil, name: nil, plan: 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)
@billing_cycle_start = billing_cycle_start
@created_at = created_at
@domains = domains
Expand All @@ -74,7 +74,7 @@ def initialize(billing_cycle_start: nil, created_at: nil, domains: nil, domains_
@usage_limit = usage_limit
@users = users
@users_limit = users_limit
@beta_tester = beta_tester
@flags = flags
end
end
end
Expand Down
Loading

0 comments on commit 744db29

Please sign in to comment.