Skip to content

Commit

Permalink
Merge pull request #85 from dubinc/speakeasy-sdk-regen-1739838394
Browse files Browse the repository at this point in the history
chore: 🐝 Update SDK - Generate 0.2.2-alpha.66
  • Loading branch information
devkiran authored Feb 18, 2025
2 parents 0f61a5a + 3d04389 commit e68223b
Show file tree
Hide file tree
Showing 9 changed files with 34 additions and 20 deletions.
8 changes: 4 additions & 4 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: 239d3608d02952e8a09a4e5e9cb522b7
docChecksum: 27a110fd093a3c1f50fb10b9b3565413
docVersion: 0.0.1
speakeasyVersion: 1.493.0
speakeasyVersion: 1.493.2
generationVersion: 2.512.4
releaseVersion: 0.2.2-alpha.65
configChecksum: b68262f45fde39ada6c8a9068903b424
releaseVersion: 0.2.2-alpha.66
configChecksum: 2df3872d4facbdc25659b5275beaaddb
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 @@ -14,7 +14,7 @@ generation:
oAuth2ClientCredentialsEnabled: true
oAuth2PasswordEnabled: false
ruby:
version: 0.2.2-alpha.65
version: 0.2.2-alpha.66
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,21 +1,21 @@
speakeasyVersion: 1.493.0
speakeasyVersion: 1.493.2
sources:
dub:
sourceNamespace: dub
sourceRevisionDigest: sha256:f26166b5c5f0b61c092f0608d64d38f89e2a3067f3507e5671d40d03c6b3b71d
sourceBlobDigest: sha256:4925fe53bd9df5eed8d29f0eeaa8ef48336b0590aea35dc8a122ceaf93298213
sourceRevisionDigest: sha256:965146cafd675cdb815fe850b27b7c95783ab5585d933766bd3c13a902f91509
sourceBlobDigest: sha256:a502a4b679d3c5b8c3643e9427ce1cc328fe7307b38d35e7135860a07dbe8d1c
tags:
- latest
- speakeasy-sdk-regen-1739665764
- speakeasy-sdk-regen-1739838394
- 0.0.1
targets:
my-first-target:
source: dub
sourceNamespace: dub
sourceRevisionDigest: sha256:f26166b5c5f0b61c092f0608d64d38f89e2a3067f3507e5671d40d03c6b3b71d
sourceBlobDigest: sha256:4925fe53bd9df5eed8d29f0eeaa8ef48336b0590aea35dc8a122ceaf93298213
sourceRevisionDigest: sha256:965146cafd675cdb815fe850b27b7c95783ab5585d933766bd3c13a902f91509
sourceBlobDigest: sha256:a502a4b679d3c5b8c3643e9427ce1cc328fe7307b38d35e7135860a07dbe8d1c
codeSamplesNamespace: code-samples-ruby-my-first-target
codeSamplesRevisionDigest: sha256:c4b639d8f79f08e689cd296be76f14f96655789626b6d795ffbd795f6ec9e3b1
codeSamplesRevisionDigest: sha256:616aca76affe849f0b98644e08c4c315cbe4b0d57552883cfa2f2892c14fb04c
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.65)
dub (0.2.2.pre.alpha.66)
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 @@ -798,4 +798,14 @@ Based on:
### Generated
- [ruby v0.2.2-alpha.65] .
### Releases
- [Ruby Gems v0.2.2-alpha.65] https://rubygems.org/gems/dub/versions/0.2.2-alpha.65 - .
- [Ruby Gems v0.2.2-alpha.65] https://rubygems.org/gems/dub/versions/0.2.2-alpha.65 - .

## 2025-02-18 00:26:17
### Changes
Based on:
- OpenAPI Doc
- Speakeasy CLI 1.493.2 (2.512.4) https://github.com/speakeasy-api/speakeasy
### Generated
- [ruby v0.2.2-alpha.66] .
### Releases
- [Ruby Gems v0.2.2-alpha.66] https://rubygems.org/gems/dub/versions/0.2.2-alpha.66 - .
3 changes: 2 additions & 1 deletion docs/models/operations/tracksalerequestbody.md
Original file line number Diff line number Diff line change
Expand Up @@ -12,4 +12,5 @@
| `event_name` | *T.nilable(::String)* | :heavy_minus_sign: | The name of the sale event. It can be used to track different types of event for example 'Purchase', 'Upgrade', 'Payment', etc. | Purchase |
| `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. | |
| `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. | |
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.65'
s.version = '0.2.2-alpha.66'
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/operations/tracksale_requestbody.rb
Original file line number Diff line number Diff line change
Expand Up @@ -27,19 +27,22 @@ 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.
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') } }


sig { params(amount: ::Integer, payment_processor: ::OpenApiSDK::Operations::PaymentProcessor, currency: T.nilable(::String), customer_id: T.nilable(::String), event_name: T.nilable(::String), external_id: T.nilable(::String), invoice_id: T.nilable(::String), metadata: T.nilable(T::Hash[Symbol, ::Object])).void }
def initialize(amount: nil, payment_processor: nil, currency: nil, customer_id: nil, event_name: nil, external_id: nil, invoice_id: nil, metadata: nil)
sig { params(amount: ::Integer, payment_processor: ::OpenApiSDK::Operations::PaymentProcessor, currency: T.nilable(::String), customer_id: T.nilable(::String), event_name: T.nilable(::String), external_id: T.nilable(::String), invoice_id: T.nilable(::String), lead_event_name: T.nilable(::String), metadata: T.nilable(T::Hash[Symbol, ::Object])).void }
def initialize(amount: nil, payment_processor: nil, currency: nil, customer_id: nil, event_name: nil, external_id: nil, invoice_id: nil, lead_event_name: nil, metadata: nil)
@amount = amount
@payment_processor = payment_processor
@currency = currency
@customer_id = customer_id
@event_name = event_name
@external_id = external_id
@invoice_id = invoice_id
@lead_event_name = lead_event_name
@metadata = metadata
end
end
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.65'
@sdk_version = '0.2.2-alpha.66'
@gen_version = '2.512.4'
@user_agent = 'speakeasy-sdk/ruby 0.2.2-alpha.65 2.512.4 0.0.1 dub'
@user_agent = 'speakeasy-sdk/ruby 0.2.2-alpha.66 2.512.4 0.0.1 dub'
end

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

0 comments on commit e68223b

Please sign in to comment.