From 860107acefeff38e4a242eac6da509a43b31fb41 Mon Sep 17 00:00:00 2001 From: speakeasybot Date: Thu, 20 Feb 2025 18:15:07 +0000 Subject: [PATCH 1/2] ci: regenerated with OpenAPI Doc , Speakeasy CLI 1.498.1 --- .speakeasy/gen.lock | 10 +++++----- .speakeasy/gen.yaml | 2 +- .speakeasy/workflow.lock | 14 +++++++------- Gemfile.lock | 2 +- RELEASES.md | 12 +++++++++++- docs/models/operations/trackleadrequestbody.md | 5 +++-- docs/models/operations/tracksalerequestbody.md | 2 +- dub.gemspec | 2 +- .../models/operations/tracklead_requestbody.rb | 11 +++++++---- .../models/operations/tracksale_requestbody.rb | 2 +- lib/open_api_sdk/sdkconfiguration.rb | 6 +++--- 11 files changed, 41 insertions(+), 27 deletions(-) diff --git a/.speakeasy/gen.lock b/.speakeasy/gen.lock index c313568..1689a5b 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: e3442b7d8a069ceffe7996dbc51acd18 + docChecksum: 5c0491cfcee25b41f205f3c48b5c0c8a docVersion: 0.0.1 - speakeasyVersion: 1.497.0 - generationVersion: 2.517.3 - releaseVersion: 0.2.2-alpha.67 - configChecksum: 88f6124c803acc07d0b9c85516119fee + speakeasyVersion: 1.498.1 + generationVersion: 2.518.1 + releaseVersion: 0.2.2-alpha.68 + configChecksum: 691ad62c2d6dab3c37c263839e0d2c7a 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 b7b3557..47bf0ff 100755 --- a/.speakeasy/gen.yaml +++ b/.speakeasy/gen.yaml @@ -15,7 +15,7 @@ generation: oAuth2ClientCredentialsEnabled: true oAuth2PasswordEnabled: false ruby: - version: 0.2.2-alpha.67 + version: 0.2.2-alpha.68 author: Dub description: Ruby Client SDK Generated by Speakeasy imports: diff --git a/.speakeasy/workflow.lock b/.speakeasy/workflow.lock index a79337d..3d42908 100644 --- a/.speakeasy/workflow.lock +++ b/.speakeasy/workflow.lock @@ -1,21 +1,21 @@ -speakeasyVersion: 1.497.0 +speakeasyVersion: 1.498.1 sources: dub: sourceNamespace: dub - sourceRevisionDigest: sha256:cdf2bd4e127b876f22e058ae945a0cbfaed35132a3eea80d19cb8d94f714341e - sourceBlobDigest: sha256:61e87736388f904908d95b70d0dc38fc3316c2072caa2962ae41aa2ac0512bb8 + sourceRevisionDigest: sha256:49eec33e9b2e613b141687f5d25b47fb8a8838d5cc2aff8b2ad75a468345f675 + sourceBlobDigest: sha256:51c3ce332fa70615804192d1e440c4314bcbfa44bacce9c2273674d262776032 tags: - latest - - speakeasy-sdk-regen-1739924816 + - speakeasy-sdk-regen-1740075249 - 0.0.1 targets: my-first-target: source: dub sourceNamespace: dub - sourceRevisionDigest: sha256:cdf2bd4e127b876f22e058ae945a0cbfaed35132a3eea80d19cb8d94f714341e - sourceBlobDigest: sha256:61e87736388f904908d95b70d0dc38fc3316c2072caa2962ae41aa2ac0512bb8 + sourceRevisionDigest: sha256:49eec33e9b2e613b141687f5d25b47fb8a8838d5cc2aff8b2ad75a468345f675 + sourceBlobDigest: sha256:51c3ce332fa70615804192d1e440c4314bcbfa44bacce9c2273674d262776032 codeSamplesNamespace: code-samples-ruby-my-first-target - codeSamplesRevisionDigest: sha256:4c9d4ba6145540c2ac56b427c81c601f7f4c724e890f62ab793391b45a96f40f + codeSamplesRevisionDigest: sha256:f7dd8494dc775b1fd85452573e751da5619e5761f3b7f7e2dcd81410c075de65 workflow: workflowVersion: 1.0.0 speakeasyVersion: latest diff --git a/Gemfile.lock b/Gemfile.lock index e0715fa..7c567eb 100644 --- a/Gemfile.lock +++ b/Gemfile.lock @@ -1,7 +1,7 @@ PATH remote: . specs: - dub (0.2.2.pre.alpha.67) + dub (0.2.2.pre.alpha.68) faraday faraday-multipart rack diff --git a/RELEASES.md b/RELEASES.md index d7115c4..6656f19 100644 --- a/RELEASES.md +++ b/RELEASES.md @@ -818,4 +818,14 @@ Based on: ### Generated - [ruby v0.2.2-alpha.67] . ### Releases -- [Ruby Gems v0.2.2-alpha.67] https://rubygems.org/gems/dub/versions/0.2.2-alpha.67 - . \ No newline at end of file +- [Ruby Gems v0.2.2-alpha.67] https://rubygems.org/gems/dub/versions/0.2.2-alpha.67 - . + +## 2025-02-20 18:13:54 +### Changes +Based on: +- OpenAPI Doc +- Speakeasy CLI 1.498.1 (2.518.1) https://github.com/speakeasy-api/speakeasy +### Generated +- [ruby v0.2.2-alpha.68] . +### Releases +- [Ruby Gems v0.2.2-alpha.68] https://rubygems.org/gems/dub/versions/0.2.2-alpha.68 - . \ No newline at end of file diff --git a/docs/models/operations/trackleadrequestbody.md b/docs/models/operations/trackleadrequestbody.md index 2f803f6..752766e 100644 --- a/docs/models/operations/trackleadrequestbody.md +++ b/docs/models/operations/trackleadrequestbody.md @@ -5,8 +5,9 @@ | Field | Type | Required | Description | Example | | ------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------ | ------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------ | ------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------ | ------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------ | ------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------ | -| `click_id` | *::String* | :heavy_check_mark: | The ID of the click in th Dub. You can read this value from `dub_id` cookie. | | -| `event_name` | *::String* | :heavy_check_mark: | The name of the event to track. | Sign up | +| `click_id` | *::String* | :heavy_check_mark: | The ID of the click in Dub. You can read this value from `dub_id` cookie. | | +| `event_name` | *::String* | :heavy_check_mark: | The name of the lead event to track. | Sign up | +| `event_quantity` | *T.nilable(::Float)* | :heavy_minus_sign: | The numerical value associated with this lead event (e.g., number of provisioned seats in a free trial). If defined as N, the lead event will be tracked N times. | | | `external_id` | *T.nilable(::String)* | :heavy_minus_sign: | This is the unique identifier for the customer in the client's app. This is used to track the customer's journey. | | | ~~`customer_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.

This is the unique identifier for the customer in the client's app. This is used to track the customer's journey. | | | `customer_name` | *T.nilable(::String)* | :heavy_minus_sign: | Name of the customer in the client's app. | | diff --git a/docs/models/operations/tracksalerequestbody.md b/docs/models/operations/tracksalerequestbody.md index 098e428..2f6de19 100644 --- a/docs/models/operations/tracksalerequestbody.md +++ b/docs/models/operations/tracksalerequestbody.md @@ -13,4 +13,4 @@ | `invoice_id` | *T.nilable(::String)* | :heavy_minus_sign: | The invoice ID of the sale. | | | `currency` | *T.nilable(::String)* | :heavy_minus_sign: | The currency of the sale. Accepts ISO 4217 currency codes. | | | `metadata` | T::Hash[Symbol, *::Object*] | :heavy_minus_sign: | Additional metadata to be stored with the sale event. | | -| `lead_event_name` | *T.nilable(::String)* | :heavy_minus_sign: | The name of the lead event that occurred before the sale (case-sensitive). | Cloned template 1481267 | \ No newline at end of file +| `lead_event_name` | *T.nilable(::String)* | :heavy_minus_sign: | The name of the lead event that occurred before the sale (case-sensitive). This is used to associate the sale event with a particular lead event (instead of the latest lead event, which is the default behavior). | Cloned template 1481267 | \ No newline at end of file diff --git a/dub.gemspec b/dub.gemspec index 4e47eac..bd64082 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.67' + s.version = '0.2.2-alpha.68' s.platform = Gem::Platform::RUBY s.licenses = ['Apache-2.0'] s.summary = '' diff --git a/lib/open_api_sdk/models/operations/tracklead_requestbody.rb b/lib/open_api_sdk/models/operations/tracklead_requestbody.rb index 0d9d0a2..8ad4914 100644 --- a/lib/open_api_sdk/models/operations/tracklead_requestbody.rb +++ b/lib/open_api_sdk/models/operations/tracklead_requestbody.rb @@ -11,9 +11,9 @@ module Operations class TrackLeadRequestBody < ::OpenApiSDK::Utils::FieldAugmented extend T::Sig - # The ID of the click in th Dub. You can read this value from `dub_id` cookie. + # The ID of the click in Dub. You can read this value from `dub_id` cookie. field :click_id, ::String, { 'format_json': { 'letter_case': ::OpenApiSDK::Utils.field_name('clickId') } } - # The name of the event to track. + # The name of the lead event to track. field :event_name, ::String, { 'format_json': { 'letter_case': ::OpenApiSDK::Utils.field_name('eventName') } } # Avatar of the customer in the client's app. field :customer_avatar, T.nilable(::String), { 'format_json': { 'letter_case': ::OpenApiSDK::Utils.field_name('customerAvatar') } } @@ -25,20 +25,23 @@ class TrackLeadRequestBody < ::OpenApiSDK::Utils::FieldAugmented field :customer_id, T.nilable(::String), { 'format_json': { 'letter_case': ::OpenApiSDK::Utils.field_name('customerId') } } # Name of the customer in the client's app. field :customer_name, T.nilable(::String), { 'format_json': { 'letter_case': ::OpenApiSDK::Utils.field_name('customerName') } } + # The numerical value associated with this lead event (e.g., number of provisioned seats in a free trial). If defined as N, the lead event will be tracked N times. + field :event_quantity, T.nilable(::Float), { 'format_json': { 'letter_case': ::OpenApiSDK::Utils.field_name('eventQuantity') } } # This is the unique identifier for the customer in the client's app. This is used to track the customer's journey. field :external_id, T.nilable(::String), { 'format_json': { 'letter_case': ::OpenApiSDK::Utils.field_name('externalId') } } # Additional metadata to be stored with the lead event field :metadata, T.nilable(T::Hash[Symbol, ::Object]), { 'format_json': { 'letter_case': ::OpenApiSDK::Utils.field_name('metadata') } } - sig { params(click_id: ::String, event_name: ::String, customer_avatar: T.nilable(::String), customer_email: T.nilable(::String), customer_id: T.nilable(::String), customer_name: T.nilable(::String), external_id: T.nilable(::String), metadata: T.nilable(T::Hash[Symbol, ::Object])).void } - def initialize(click_id: nil, event_name: nil, customer_avatar: nil, customer_email: nil, customer_id: nil, customer_name: nil, external_id: nil, metadata: nil) + sig { params(click_id: ::String, event_name: ::String, customer_avatar: T.nilable(::String), customer_email: T.nilable(::String), customer_id: T.nilable(::String), customer_name: T.nilable(::String), event_quantity: T.nilable(::Float), external_id: T.nilable(::String), metadata: T.nilable(T::Hash[Symbol, ::Object])).void } + def initialize(click_id: nil, event_name: nil, customer_avatar: nil, customer_email: nil, customer_id: nil, customer_name: nil, event_quantity: nil, external_id: nil, metadata: nil) @click_id = click_id @event_name = event_name @customer_avatar = customer_avatar @customer_email = customer_email @customer_id = customer_id @customer_name = customer_name + @event_quantity = event_quantity @external_id = external_id @metadata = metadata end diff --git a/lib/open_api_sdk/models/operations/tracksale_requestbody.rb b/lib/open_api_sdk/models/operations/tracksale_requestbody.rb index 49f786a..0e0bf1b 100644 --- a/lib/open_api_sdk/models/operations/tracksale_requestbody.rb +++ b/lib/open_api_sdk/models/operations/tracksale_requestbody.rb @@ -27,7 +27,7 @@ class TrackSaleRequestBody < ::OpenApiSDK::Utils::FieldAugmented field :external_id, T.nilable(::String), { 'format_json': { 'letter_case': ::OpenApiSDK::Utils.field_name('externalId') } } # The invoice ID of the sale. field :invoice_id, T.nilable(::String), { 'format_json': { 'letter_case': ::OpenApiSDK::Utils.field_name('invoiceId') } } - # The name of the lead event that occurred before the sale (case-sensitive). + # The name of the lead event that occurred before the sale (case-sensitive). This is used to associate the sale event with a particular lead event (instead of the latest lead event, which is the default behavior). field :lead_event_name, T.nilable(::String), { 'format_json': { 'letter_case': ::OpenApiSDK::Utils.field_name('leadEventName') } } # Additional metadata to be stored with the sale event. field :metadata, T.nilable(T::Hash[Symbol, ::Object]), { 'format_json': { 'letter_case': ::OpenApiSDK::Utils.field_name('metadata') } } diff --git a/lib/open_api_sdk/sdkconfiguration.rb b/lib/open_api_sdk/sdkconfiguration.rb index f6e1163..ab30ea3 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.67' - @gen_version = '2.517.3' - @user_agent = 'speakeasy-sdk/ruby 0.2.2-alpha.67 2.517.3 0.0.1 dub' + @sdk_version = '0.2.2-alpha.68' + @gen_version = '2.518.1' + @user_agent = 'speakeasy-sdk/ruby 0.2.2-alpha.68 2.518.1 0.0.1 dub' end sig { returns([String, T::Hash[Symbol, String]]) } From ff5e636dd256fdc11f507e9ee8656c88f4a0a41d Mon Sep 17 00:00:00 2001 From: "speakeasy-github[bot]" <128539517+speakeasy-github[bot]@users.noreply.github.com> Date: Thu, 20 Feb 2025 18:15:11 +0000 Subject: [PATCH 2/2] empty commit to trigger [run-tests] workflow