Skip to content

Commit

Permalink
Merge pull request #57 from dubinc/speakeasy-sdk-regen-1732148856
Browse files Browse the repository at this point in the history
chore: 🐝 Update SDK - Generate 0.2.2-alpha.38
  • Loading branch information
devkiran authored Nov 21, 2024
2 parents 3c51898 + 9fd1eb1 commit c881a6b
Show file tree
Hide file tree
Showing 9 changed files with 46 additions and 32 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: 50940bc805a726aadeb489d51cfdbb1d
docChecksum: 06fc65e3769b8cd8a007fecfef012439
docVersion: 0.0.1
speakeasyVersion: 1.441.0
generationVersion: 2.460.1
releaseVersion: 0.2.2-alpha.37
configChecksum: af0ff621e1be34aeaaebf50054e56a5b
speakeasyVersion: 1.441.1
generationVersion: 2.461.2
releaseVersion: 0.2.2-alpha.38
configChecksum: 4519b5fdc2d1a24ef2bd77f05a9582e5
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 @@ -13,7 +13,7 @@ generation:
oAuth2ClientCredentialsEnabled: true
oAuth2PasswordEnabled: false
ruby:
version: 0.2.2-alpha.37
version: 0.2.2-alpha.38
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,20 +1,20 @@
speakeasyVersion: 1.441.0
speakeasyVersion: 1.441.1
sources:
dub:
sourceNamespace: dub
sourceRevisionDigest: sha256:74b3af15b5d971ea3ac81bf0725c01f7456e4f50581844f990699af514cbc6eb
sourceBlobDigest: sha256:69468c1c50b82f6168a9d4d951b070a84d02f280d4524fabec26bcf2ab2d508f
sourceRevisionDigest: sha256:b5d82b5d85e3f710589f4dc334cc40e8a33c195986a3618a0769313611284957
sourceBlobDigest: sha256:fc224031565db7f73fb04e29b6a07dbcc4a4d0922e068e90083f640ddf3c149e
tags:
- latest
- speakeasy-sdk-regen-1732062447
- speakeasy-sdk-regen-1732148856
targets:
my-first-target:
source: dub
sourceNamespace: dub
sourceRevisionDigest: sha256:74b3af15b5d971ea3ac81bf0725c01f7456e4f50581844f990699af514cbc6eb
sourceBlobDigest: sha256:69468c1c50b82f6168a9d4d951b070a84d02f280d4524fabec26bcf2ab2d508f
sourceRevisionDigest: sha256:b5d82b5d85e3f710589f4dc334cc40e8a33c195986a3618a0769313611284957
sourceBlobDigest: sha256:fc224031565db7f73fb04e29b6a07dbcc4a4d0922e068e90083f640ddf3c149e
codeSamplesNamespace: code-samples-ruby-my-first-target
codeSamplesRevisionDigest: sha256:7b3bfd15c8a127442d49af515e74a3c41bf6a9d4e92743d1da61171495f26ec9
codeSamplesRevisionDigest: sha256:41252bf093d585a563484ac39ce8aca3b0aedf244d0ad6d8ef0e72a21ce5d780
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.37)
dub (0.2.2.pre.alpha.38)
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 @@ -518,4 +518,14 @@ Based on:
### Generated
- [ruby v0.2.2-alpha.37] .
### Releases
- [Ruby Gems v0.2.2-alpha.37] https://rubygems.org/gems/dub/versions/0.2.2-alpha.37 - .
- [Ruby Gems v0.2.2-alpha.37] https://rubygems.org/gems/dub/versions/0.2.2-alpha.37 - .

## 2024-11-21 00:27:32
### Changes
Based on:
- OpenAPI Doc
- Speakeasy CLI 1.441.1 (2.461.2) https://github.com/speakeasy-api/speakeasy
### Generated
- [ruby v0.2.2-alpha.38] .
### Releases
- [Ruby Gems v0.2.2-alpha.38] https://rubygems.org/gems/dub/versions/0.2.2-alpha.38 - .
21 changes: 11 additions & 10 deletions docs/models/operations/getqrcoderequest.md
Original file line number Diff line number Diff line change
Expand Up @@ -3,13 +3,14 @@

## Fields

| Field | Type | Required | Description |
| ----------------------------------------------------------------------------------------- | ----------------------------------------------------------------------------------------- | ----------------------------------------------------------------------------------------- | ----------------------------------------------------------------------------------------- |
| `url` | *::String* | :heavy_check_mark: | The URL to generate a QR code for. |
| `logo` | *T.nilable(::String)* | :heavy_minus_sign: | The logo to include in the QR code. Can only be used with a paid plan on Dub.co. |
| `size` | *T.nilable(::Float)* | :heavy_minus_sign: | The size of the QR code in pixels. Defaults to `600` if not provided. |
| `level` | [T.nilable(::OpenApiSDK::Operations::Level)](../../models/operations/level.md) | :heavy_minus_sign: | The level of error correction to use for the QR code. Defaults to `L` if not provided. |
| `fg_color` | *T.nilable(::String)* | :heavy_minus_sign: | The foreground color of the QR code in hex format. Defaults to `#000000` if not provided. |
| `bg_color` | *T.nilable(::String)* | :heavy_minus_sign: | The background color of the QR code in hex format. Defaults to `#ffffff` if not provided. |
| `hide_logo` | *T.nilable(T::Boolean)* | :heavy_minus_sign: | Whether to hide the logo in the QR code. Can only be used with a paid plan on Dub.co. |
| `include_margin` | *T.nilable(T::Boolean)* | :heavy_minus_sign: | Whether to include a margin around the QR code. Defaults to `false` if not provided. |
| Field | Type | Required | Description |
| ---------------------------------------------------------------------------------------------- | ---------------------------------------------------------------------------------------------- | ---------------------------------------------------------------------------------------------- | ---------------------------------------------------------------------------------------------- |
| `url` | *::String* | :heavy_check_mark: | The URL to generate a QR code for. |
| `logo` | *T.nilable(::String)* | :heavy_minus_sign: | The logo to include in the QR code. Can only be used with a paid plan on Dub.co. |
| `size` | *T.nilable(::Float)* | :heavy_minus_sign: | The size of the QR code in pixels. Defaults to `600` if not provided. |
| `level` | [T.nilable(::OpenApiSDK::Operations::Level)](../../models/operations/level.md) | :heavy_minus_sign: | The level of error correction to use for the QR code. Defaults to `L` if not provided. |
| `fg_color` | *T.nilable(::String)* | :heavy_minus_sign: | The foreground color of the QR code in hex format. Defaults to `#000000` if not provided. |
| `bg_color` | *T.nilable(::String)* | :heavy_minus_sign: | The background color of the QR code in hex format. Defaults to `#ffffff` if not provided. |
| `hide_logo` | *T.nilable(T::Boolean)* | :heavy_minus_sign: | Whether to hide the logo in the QR code. Can only be used with a paid plan on Dub.co. |
| `margin` | *T.nilable(::Float)* | :heavy_minus_sign: | The size of the margin around the QR code. Defaults to 2 if not provided. |
| `include_margin` | *T.nilable(T::Boolean)* | :heavy_minus_sign: | DEPRECATED: Margin is included by default. Use the `margin` prop to customize the margin size. |
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.37'
s.version = '0.2.2-alpha.38'
s.platform = Gem::Platform::RUBY
s.licenses = ['Apache-2.0']
s.summary = ''
Expand Down
9 changes: 6 additions & 3 deletions lib/open_api_sdk/models/operations/getqrcode_request.rb
Original file line number Diff line number Diff line change
Expand Up @@ -19,25 +19,28 @@ class GetQRCodeRequest < ::OpenApiSDK::Utils::FieldAugmented
field :fg_color, T.nilable(::String), { 'query_param': { 'field_name': 'fgColor', 'style': 'form', 'explode': true } }
# Whether to hide the logo in the QR code. Can only be used with a paid plan on Dub.co.
field :hide_logo, T.nilable(T::Boolean), { 'query_param': { 'field_name': 'hideLogo', 'style': 'form', 'explode': true } }
# Whether to include a margin around the QR code. Defaults to `false` if not provided.
# DEPRECATED: Margin is included by default. Use the `margin` prop to customize the margin size.
field :include_margin, T.nilable(T::Boolean), { 'query_param': { 'field_name': 'includeMargin', 'style': 'form', 'explode': true } }
# The level of error correction to use for the QR code. Defaults to `L` if not provided.
field :level, T.nilable(::OpenApiSDK::Operations::Level), { 'query_param': { 'field_name': 'level', 'style': 'form', 'explode': true } }
# The logo to include in the QR code. Can only be used with a paid plan on Dub.co.
field :logo, T.nilable(::String), { 'query_param': { 'field_name': 'logo', 'style': 'form', 'explode': true } }
# The size of the margin around the QR code. Defaults to 2 if not provided.
field :margin, T.nilable(::Float), { 'query_param': { 'field_name': 'margin', 'style': 'form', 'explode': true } }
# The size of the QR code in pixels. Defaults to `600` if not provided.
field :size, T.nilable(::Float), { 'query_param': { 'field_name': 'size', 'style': 'form', 'explode': true } }


sig { params(url: ::String, bg_color: T.nilable(::String), fg_color: T.nilable(::String), hide_logo: T.nilable(T::Boolean), include_margin: T.nilable(T::Boolean), level: T.nilable(::OpenApiSDK::Operations::Level), logo: T.nilable(::String), size: T.nilable(::Float)).void }
def initialize(url: nil, bg_color: nil, fg_color: nil, hide_logo: nil, include_margin: nil, level: nil, logo: nil, size: nil)
sig { params(url: ::String, bg_color: T.nilable(::String), fg_color: T.nilable(::String), hide_logo: T.nilable(T::Boolean), include_margin: T.nilable(T::Boolean), level: T.nilable(::OpenApiSDK::Operations::Level), logo: T.nilable(::String), margin: T.nilable(::Float), size: T.nilable(::Float)).void }
def initialize(url: nil, bg_color: nil, fg_color: nil, hide_logo: nil, include_margin: nil, level: nil, logo: nil, margin: nil, size: nil)
@url = url
@bg_color = bg_color
@fg_color = fg_color
@hide_logo = hide_logo
@include_margin = include_margin
@level = level
@logo = logo
@margin = margin
@size = size
end
end
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.37'
@gen_version = '2.460.1'
@user_agent = 'speakeasy-sdk/ruby 0.2.2-alpha.37 2.460.1 0.0.1 dub'
@sdk_version = '0.2.2-alpha.38'
@gen_version = '2.461.2'
@user_agent = 'speakeasy-sdk/ruby 0.2.2-alpha.38 2.461.2 0.0.1 dub'
end

sig { returns([String, T::Hash[Symbol, String]]) }
Expand Down

0 comments on commit c881a6b

Please sign in to comment.