diff --git a/.speakeasy/gen.lock b/.speakeasy/gen.lock index edecabf..75d1a9d 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: 8285f8b5a9df348e04240ef390eeebe4 + docChecksum: 84fdf907d3c202599cf0ffcfc39094f8 docVersion: 0.0.1 - speakeasyVersion: 1.420.0 + speakeasyVersion: 1.422.1 generationVersion: 2.438.15 - releaseVersion: 0.2.2-alpha.28 - configChecksum: b43c14fb51b80e2be5ff80a44c2a92f1 + releaseVersion: 0.2.2-alpha.29 + configChecksum: 8305dcfce142e65aeafcd90bac62e68b repoURL: https://github.com/dubinc/dub-ruby.git installationURL: https://github.com/dubinc/dub-ruby published: true diff --git a/.speakeasy/gen.yaml b/.speakeasy/gen.yaml index 4ef8dae..aa3178e 100755 --- a/.speakeasy/gen.yaml +++ b/.speakeasy/gen.yaml @@ -12,7 +12,7 @@ generation: auth: oAuth2ClientCredentialsEnabled: true ruby: - version: 0.2.2-alpha.28 + version: 0.2.2-alpha.29 author: Dub description: Ruby Client SDK Generated by Speakeasy imports: diff --git a/.speakeasy/workflow.lock b/.speakeasy/workflow.lock index 120fb90..010fa88 100644 --- a/.speakeasy/workflow.lock +++ b/.speakeasy/workflow.lock @@ -1,9 +1,9 @@ -speakeasyVersion: 1.420.0 +speakeasyVersion: 1.422.1 sources: dub: sourceNamespace: dub - sourceRevisionDigest: sha256:89d26713fa22afe044cc66347e6a2e8ef3cca8c6d87ac4127960bd9d8e1305b0 - sourceBlobDigest: sha256:e6effd423434bf455631c5ca2951375b38dbfc3fb35e27aa49a194cf24a0d38f + sourceRevisionDigest: sha256:f5201663276b7b09e3cf5d5ad0d21855b47bee2f4b43003b28664372cc002c12 + sourceBlobDigest: sha256:b846421ebda6555769bb585917410a7e0dab7e150e7b706cb4568677ee7db56a tags: - latest - main @@ -11,10 +11,10 @@ targets: my-first-target: source: dub sourceNamespace: dub - sourceRevisionDigest: sha256:89d26713fa22afe044cc66347e6a2e8ef3cca8c6d87ac4127960bd9d8e1305b0 - sourceBlobDigest: sha256:e6effd423434bf455631c5ca2951375b38dbfc3fb35e27aa49a194cf24a0d38f + sourceRevisionDigest: sha256:f5201663276b7b09e3cf5d5ad0d21855b47bee2f4b43003b28664372cc002c12 + sourceBlobDigest: sha256:b846421ebda6555769bb585917410a7e0dab7e150e7b706cb4568677ee7db56a codeSamplesNamespace: code-samples-ruby-my-first-target - codeSamplesRevisionDigest: sha256:93306380d2e7858a2a3be1a3f059d02ae8515250ffcf228d4acb7568741d6080 + codeSamplesRevisionDigest: sha256:b72fa8cd728cda3aed0cf461708a5a7d9deba5b62347665a484cf9bfdcd878c2 workflow: workflowVersion: 1.0.0 speakeasyVersion: latest diff --git a/Gemfile.lock b/Gemfile.lock index 96faa36..0509b4e 100644 --- a/Gemfile.lock +++ b/Gemfile.lock @@ -1,7 +1,7 @@ PATH remote: . specs: - dub (0.2.2.pre.alpha.28) + dub (0.2.2.pre.alpha.29) faraday faraday-multipart rack diff --git a/RELEASES.md b/RELEASES.md index 3645b78..d4852d5 100644 --- a/RELEASES.md +++ b/RELEASES.md @@ -428,4 +428,14 @@ Based on: ### Generated - [ruby v0.2.2-alpha.28] . ### Releases -- [Ruby Gems v0.2.2-alpha.28] https://rubygems.org/gems/dub/versions/0.2.2-alpha.28 - . \ No newline at end of file +- [Ruby Gems v0.2.2-alpha.28] https://rubygems.org/gems/dub/versions/0.2.2-alpha.28 - . + +## 2024-10-26 00:25:35 +### Changes +Based on: +- OpenAPI Doc +- Speakeasy CLI 1.422.1 (2.438.15) https://github.com/speakeasy-api/speakeasy +### Generated +- [ruby v0.2.2-alpha.29] . +### Releases +- [Ruby Gems v0.2.2-alpha.29] https://rubygems.org/gems/dub/versions/0.2.2-alpha.29 - . \ No newline at end of file diff --git a/docs/models/operations/createlinkrequestbody.md b/docs/models/operations/createlinkrequestbody.md index 4840dbf..9f8c31e 100644 --- a/docs/models/operations/createlinkrequestbody.md +++ b/docs/models/operations/createlinkrequestbody.md @@ -13,7 +13,7 @@ | `track_conversion` | *T.nilable(T::Boolean)* | :heavy_minus_sign: | Whether to track conversions for the short link. | | | `identifier` | *T.nilable(::String)* | :heavy_minus_sign: | The identifier of the short link that is unique across your workspace. If set, it can be used to identify your short link for client-side click tracking. | | | `archived` | *T.nilable(T::Boolean)* | :heavy_minus_sign: | Whether the short link is archived. | | -| `public_stats` | *T.nilable(T::Boolean)* | :heavy_minus_sign: | Whether the short link's stats are publicly accessible. | | +| ~~`public_stats`~~ | *T.nilable(T::Boolean)* | :heavy_minus_sign: | : warning: ** DEPRECATED **: This will be removed in a future release, please migrate away from it as soon as possible.

Deprecated: Use `dashboard` instead. Whether the short link's stats are publicly accessible. | | | ~~`tag_id`~~ | *T.nilable(::String)* | :heavy_minus_sign: | : warning: ** DEPRECATED **: This will be removed in a future release, please migrate away from it as soon as possible.

The unique ID of the tag assigned to the short link. This field is deprecated – use `tagIds` instead. | | | `tag_ids` | *T.nilable(::Object)* | :heavy_minus_sign: | The unique IDs of the tags assigned to the short link. | [
"clux0rgak00011..."
] | | `tag_names` | *T.nilable(::Object)* | :heavy_minus_sign: | The unique name of the tags assigned to the short link (case insensitive). | | diff --git a/docs/models/operations/data.md b/docs/models/operations/data.md index e5bc7dc..a03d496 100644 --- a/docs/models/operations/data.md +++ b/docs/models/operations/data.md @@ -8,7 +8,7 @@ | `url` | *T.nilable(::String)* | :heavy_minus_sign: | The destination URL of the short link. | https://google.com | | `track_conversion` | *T.nilable(T::Boolean)* | :heavy_minus_sign: | Whether to track conversions for the short link. | | | `archived` | *T.nilable(T::Boolean)* | :heavy_minus_sign: | Whether the short link is archived. | | -| `public_stats` | *T.nilable(T::Boolean)* | :heavy_minus_sign: | Whether the short link's stats are publicly accessible. | | +| ~~`public_stats`~~ | *T.nilable(T::Boolean)* | :heavy_minus_sign: | : warning: ** DEPRECATED **: This will be removed in a future release, please migrate away from it as soon as possible.

Deprecated: Use `dashboard` instead. Whether the short link's stats are publicly accessible. | | | ~~`tag_id`~~ | *T.nilable(::String)* | :heavy_minus_sign: | : warning: ** DEPRECATED **: This will be removed in a future release, please migrate away from it as soon as possible.

The unique ID of the tag assigned to the short link. This field is deprecated – use `tagIds` instead. | | | `tag_ids` | *T.nilable(::Object)* | :heavy_minus_sign: | The unique IDs of the tags assigned to the short link. | [
"clux0rgak00011..."
] | | `tag_names` | *T.nilable(::Object)* | :heavy_minus_sign: | The unique name of the tags assigned to the short link (case insensitive). | | diff --git a/docs/models/operations/requestbody.md b/docs/models/operations/requestbody.md index a0436cb..de652ab 100644 --- a/docs/models/operations/requestbody.md +++ b/docs/models/operations/requestbody.md @@ -13,7 +13,7 @@ | `track_conversion` | *T.nilable(T::Boolean)* | :heavy_minus_sign: | Whether to track conversions for the short link. | | | `identifier` | *T.nilable(::String)* | :heavy_minus_sign: | The identifier of the short link that is unique across your workspace. If set, it can be used to identify your short link for client-side click tracking. | | | `archived` | *T.nilable(T::Boolean)* | :heavy_minus_sign: | Whether the short link is archived. | | -| `public_stats` | *T.nilable(T::Boolean)* | :heavy_minus_sign: | Whether the short link's stats are publicly accessible. | | +| ~~`public_stats`~~ | *T.nilable(T::Boolean)* | :heavy_minus_sign: | : warning: ** DEPRECATED **: This will be removed in a future release, please migrate away from it as soon as possible.

Deprecated: Use `dashboard` instead. Whether the short link's stats are publicly accessible. | | | ~~`tag_id`~~ | *T.nilable(::String)* | :heavy_minus_sign: | : warning: ** DEPRECATED **: This will be removed in a future release, please migrate away from it as soon as possible.

The unique ID of the tag assigned to the short link. This field is deprecated – use `tagIds` instead. | | | `tag_ids` | *T.nilable(::Object)* | :heavy_minus_sign: | The unique IDs of the tags assigned to the short link. | [
"clux0rgak00011..."
] | | `tag_names` | *T.nilable(::Object)* | :heavy_minus_sign: | The unique name of the tags assigned to the short link (case insensitive). | | diff --git a/docs/models/operations/updatelinkrequestbody.md b/docs/models/operations/updatelinkrequestbody.md index 8fb5fe4..5efb9b0 100644 --- a/docs/models/operations/updatelinkrequestbody.md +++ b/docs/models/operations/updatelinkrequestbody.md @@ -13,7 +13,7 @@ | `track_conversion` | *T.nilable(T::Boolean)* | :heavy_minus_sign: | Whether to track conversions for the short link. | | | `identifier` | *T.nilable(::String)* | :heavy_minus_sign: | The identifier of the short link that is unique across your workspace. If set, it can be used to identify your short link for client-side click tracking. | | | `archived` | *T.nilable(T::Boolean)* | :heavy_minus_sign: | Whether the short link is archived. | | -| `public_stats` | *T.nilable(T::Boolean)* | :heavy_minus_sign: | Whether the short link's stats are publicly accessible. | | +| ~~`public_stats`~~ | *T.nilable(T::Boolean)* | :heavy_minus_sign: | : warning: ** DEPRECATED **: This will be removed in a future release, please migrate away from it as soon as possible.

Deprecated: Use `dashboard` instead. Whether the short link's stats are publicly accessible. | | | ~~`tag_id`~~ | *T.nilable(::String)* | :heavy_minus_sign: | : warning: ** DEPRECATED **: This will be removed in a future release, please migrate away from it as soon as possible.

The unique ID of the tag assigned to the short link. This field is deprecated – use `tagIds` instead. | | | `tag_ids` | *T.nilable(::Object)* | :heavy_minus_sign: | The unique IDs of the tags assigned to the short link. | [
"clux0rgak00011..."
] | | `tag_names` | *T.nilable(::Object)* | :heavy_minus_sign: | The unique name of the tags assigned to the short link (case insensitive). | | diff --git a/docs/models/operations/upsertlinkrequestbody.md b/docs/models/operations/upsertlinkrequestbody.md index 8e3d8b1..0cbccca 100644 --- a/docs/models/operations/upsertlinkrequestbody.md +++ b/docs/models/operations/upsertlinkrequestbody.md @@ -13,7 +13,7 @@ | `track_conversion` | *T.nilable(T::Boolean)* | :heavy_minus_sign: | Whether to track conversions for the short link. | | | `identifier` | *T.nilable(::String)* | :heavy_minus_sign: | The identifier of the short link that is unique across your workspace. If set, it can be used to identify your short link for client-side click tracking. | | | `archived` | *T.nilable(T::Boolean)* | :heavy_minus_sign: | Whether the short link is archived. | | -| `public_stats` | *T.nilable(T::Boolean)* | :heavy_minus_sign: | Whether the short link's stats are publicly accessible. | | +| ~~`public_stats`~~ | *T.nilable(T::Boolean)* | :heavy_minus_sign: | : warning: ** DEPRECATED **: This will be removed in a future release, please migrate away from it as soon as possible.

Deprecated: Use `dashboard` instead. Whether the short link's stats are publicly accessible. | | | ~~`tag_id`~~ | *T.nilable(::String)* | :heavy_minus_sign: | : warning: ** DEPRECATED **: This will be removed in a future release, please migrate away from it as soon as possible.

The unique ID of the tag assigned to the short link. This field is deprecated – use `tagIds` instead. | | | `tag_ids` | *T.nilable(::Object)* | :heavy_minus_sign: | The unique IDs of the tags assigned to the short link. | [
"clux0rgak00011..."
] | | `tag_names` | *T.nilable(::Object)* | :heavy_minus_sign: | The unique name of the tags assigned to the short link (case insensitive). | | diff --git a/dub.gemspec b/dub.gemspec index ef7f9c9..5d49bf6 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.28' + s.version = '0.2.2-alpha.29' s.platform = Gem::Platform::RUBY s.licenses = ['Apache-2.0'] s.summary = '' diff --git a/lib/open_api_sdk/models/operations/createlink_requestbody.rb b/lib/open_api_sdk/models/operations/createlink_requestbody.rb index e576f7d..ede3212 100644 --- a/lib/open_api_sdk/models/operations/createlink_requestbody.rb +++ b/lib/open_api_sdk/models/operations/createlink_requestbody.rb @@ -47,7 +47,9 @@ class CreateLinkRequestBody < ::OpenApiSDK::Utils::FieldAugmented field :prefix, T.nilable(::String), { 'format_json': { 'letter_case': ::OpenApiSDK::Utils.field_name('prefix') } } # Whether the short link uses Custom Social Media Cards feature. field :proxy, T.nilable(T::Boolean), { 'format_json': { 'letter_case': ::OpenApiSDK::Utils.field_name('proxy') } } - # Whether the short link's stats are publicly accessible. + # Deprecated: Use `dashboard` instead. Whether the short link's stats are publicly accessible. + # + # @deprecated true: This will be removed in a future release, please migrate away from it as soon as possible. field :public_stats, T.nilable(T::Boolean), { 'format_json': { 'letter_case': ::OpenApiSDK::Utils.field_name('publicStats') } } # The referral tag of the short link. If set, this will populate or override the `ref` query parameter in the destination URL. field :ref, T.nilable(::String), { 'format_json': { 'letter_case': ::OpenApiSDK::Utils.field_name('ref') } } diff --git a/lib/open_api_sdk/models/operations/data.rb b/lib/open_api_sdk/models/operations/data.rb index 9125f0d..5bb83ba 100644 --- a/lib/open_api_sdk/models/operations/data.rb +++ b/lib/open_api_sdk/models/operations/data.rb @@ -35,7 +35,9 @@ class Data < ::OpenApiSDK::Utils::FieldAugmented field :password, T.nilable(::String), { 'format_json': { 'letter_case': ::OpenApiSDK::Utils.field_name('password') } } # Whether the short link uses Custom Social Media Cards feature. field :proxy, T.nilable(T::Boolean), { 'format_json': { 'letter_case': ::OpenApiSDK::Utils.field_name('proxy') } } - # Whether the short link's stats are publicly accessible. + # Deprecated: Use `dashboard` instead. Whether the short link's stats are publicly accessible. + # + # @deprecated true: This will be removed in a future release, please migrate away from it as soon as possible. field :public_stats, T.nilable(T::Boolean), { 'format_json': { 'letter_case': ::OpenApiSDK::Utils.field_name('publicStats') } } # The referral tag of the short link. If set, this will populate or override the `ref` query parameter in the destination URL. field :ref, T.nilable(::String), { 'format_json': { 'letter_case': ::OpenApiSDK::Utils.field_name('ref') } } diff --git a/lib/open_api_sdk/models/operations/requestbody.rb b/lib/open_api_sdk/models/operations/requestbody.rb index d106d6e..0cb4c5b 100644 --- a/lib/open_api_sdk/models/operations/requestbody.rb +++ b/lib/open_api_sdk/models/operations/requestbody.rb @@ -47,7 +47,9 @@ class RequestBody < ::OpenApiSDK::Utils::FieldAugmented field :prefix, T.nilable(::String), { 'format_json': { 'letter_case': ::OpenApiSDK::Utils.field_name('prefix') } } # Whether the short link uses Custom Social Media Cards feature. field :proxy, T.nilable(T::Boolean), { 'format_json': { 'letter_case': ::OpenApiSDK::Utils.field_name('proxy') } } - # Whether the short link's stats are publicly accessible. + # Deprecated: Use `dashboard` instead. Whether the short link's stats are publicly accessible. + # + # @deprecated true: This will be removed in a future release, please migrate away from it as soon as possible. field :public_stats, T.nilable(T::Boolean), { 'format_json': { 'letter_case': ::OpenApiSDK::Utils.field_name('publicStats') } } # The referral tag of the short link. If set, this will populate or override the `ref` query parameter in the destination URL. field :ref, T.nilable(::String), { 'format_json': { 'letter_case': ::OpenApiSDK::Utils.field_name('ref') } } diff --git a/lib/open_api_sdk/models/operations/updatelink_requestbody.rb b/lib/open_api_sdk/models/operations/updatelink_requestbody.rb index 1e414a1..da26e2a 100644 --- a/lib/open_api_sdk/models/operations/updatelink_requestbody.rb +++ b/lib/open_api_sdk/models/operations/updatelink_requestbody.rb @@ -45,7 +45,9 @@ class UpdateLinkRequestBody < ::OpenApiSDK::Utils::FieldAugmented field :prefix, T.nilable(::String), { 'format_json': { 'letter_case': ::OpenApiSDK::Utils.field_name('prefix') } } # Whether the short link uses Custom Social Media Cards feature. field :proxy, T.nilable(T::Boolean), { 'format_json': { 'letter_case': ::OpenApiSDK::Utils.field_name('proxy') } } - # Whether the short link's stats are publicly accessible. + # Deprecated: Use `dashboard` instead. Whether the short link's stats are publicly accessible. + # + # @deprecated true: This will be removed in a future release, please migrate away from it as soon as possible. field :public_stats, T.nilable(T::Boolean), { 'format_json': { 'letter_case': ::OpenApiSDK::Utils.field_name('publicStats') } } # The referral tag of the short link. If set, this will populate or override the `ref` query parameter in the destination URL. field :ref, T.nilable(::String), { 'format_json': { 'letter_case': ::OpenApiSDK::Utils.field_name('ref') } } diff --git a/lib/open_api_sdk/models/operations/upsertlink_requestbody.rb b/lib/open_api_sdk/models/operations/upsertlink_requestbody.rb index 0bd2ebf..58f9f71 100644 --- a/lib/open_api_sdk/models/operations/upsertlink_requestbody.rb +++ b/lib/open_api_sdk/models/operations/upsertlink_requestbody.rb @@ -47,7 +47,9 @@ class UpsertLinkRequestBody < ::OpenApiSDK::Utils::FieldAugmented field :prefix, T.nilable(::String), { 'format_json': { 'letter_case': ::OpenApiSDK::Utils.field_name('prefix') } } # Whether the short link uses Custom Social Media Cards feature. field :proxy, T.nilable(T::Boolean), { 'format_json': { 'letter_case': ::OpenApiSDK::Utils.field_name('proxy') } } - # Whether the short link's stats are publicly accessible. + # Deprecated: Use `dashboard` instead. Whether the short link's stats are publicly accessible. + # + # @deprecated true: This will be removed in a future release, please migrate away from it as soon as possible. field :public_stats, T.nilable(T::Boolean), { 'format_json': { 'letter_case': ::OpenApiSDK::Utils.field_name('publicStats') } } # The referral tag of the short link. If set, this will populate or override the `ref` query parameter in the destination URL. field :ref, T.nilable(::String), { 'format_json': { 'letter_case': ::OpenApiSDK::Utils.field_name('ref') } } diff --git a/lib/open_api_sdk/sdkconfiguration.rb b/lib/open_api_sdk/sdkconfiguration.rb index fc95f15..bbb8414 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.28' + @sdk_version = '0.2.2-alpha.29' @gen_version = '2.438.15' - @user_agent = 'speakeasy-sdk/ruby 0.2.2-alpha.28 2.438.15 0.0.1 dub' + @user_agent = 'speakeasy-sdk/ruby 0.2.2-alpha.29 2.438.15 0.0.1 dub' end sig { returns([String, T::Hash[Symbol, String]]) }