Skip to content

Commit

Permalink
Merge pull request #90 from dubinc/speakeasy-sdk-regen-1740616053
Browse files Browse the repository at this point in the history
chore: 🐝 Update SDK - Generate 0.2.2-alpha.71
  • Loading branch information
devkiran authored Feb 27, 2025
2 parents 15565d4 + e9e3639 commit cdb21d8
Show file tree
Hide file tree
Showing 18 changed files with 78 additions and 28 deletions.
12 changes: 7 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: 4ed7bf1fc90b54224f530facc9c37231
docChecksum: db8c112e1f254ff516b8ce26ffe28dd4
docVersion: 0.0.1
speakeasyVersion: 1.504.1
generationVersion: 2.529.2
releaseVersion: 0.2.2-alpha.70
configChecksum: 6b800f61b5176ced188e6dd37c881fa5
speakeasyVersion: 1.505.1
generationVersion: 2.531.0
releaseVersion: 0.2.2-alpha.71
configChecksum: caaf8aa4367afb51da3efe908e408d56
repoURL: https://github.com/dubinc/dub-ruby.git
installationURL: https://github.com/dubinc/dub-ruby
published: true
Expand Down Expand Up @@ -121,6 +121,7 @@ generatedFiles:
- docs/models/operations/listeventsresponse.md
- docs/models/operations/listfoldersrequest.md
- docs/models/operations/listfoldersresponse.md
- docs/models/operations/mode.md
- docs/models/operations/order.md
- docs/models/operations/partner.md
- docs/models/operations/paymentprocessor.md
Expand Down Expand Up @@ -355,6 +356,7 @@ generatedFiles:
- lib/open_api_sdk/models/operations/listevents_response.rb
- lib/open_api_sdk/models/operations/listfolders_request.rb
- lib/open_api_sdk/models/operations/listfolders_response.rb
- lib/open_api_sdk/models/operations/mode.rb
- lib/open_api_sdk/models/operations/order.rb
- lib/open_api_sdk/models/operations/partner.rb
- lib/open_api_sdk/models/operations/paymentprocessor.rb
Expand Down
2 changes: 1 addition & 1 deletion .speakeasy/gen.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -15,7 +15,7 @@ generation:
oAuth2ClientCredentialsEnabled: true
oAuth2PasswordEnabled: false
ruby:
version: 0.2.2-alpha.70
version: 0.2.2-alpha.71
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.504.1
speakeasyVersion: 1.505.1
sources:
dub:
sourceNamespace: dub
sourceRevisionDigest: sha256:1d8c8d48f43af8908165789c021879e0eee8f1aabf37d4d5c9db0f7fd646c6dc
sourceBlobDigest: sha256:54ac15b838758d799f7d08a7cbae8394185a7c7fdfe697ff9bc4e15488b59782
sourceRevisionDigest: sha256:4048f9d0377dfdd025eb1546e58ab9a52ac34a91bb7cc919675be58b334c3482
sourceBlobDigest: sha256:85580cf3773dfd87c3d9151ace8544c7687d1298a05dfbd2c310d6e816fa61a0
tags:
- latest
- speakeasy-sdk-regen-1740270566
- speakeasy-sdk-regen-1740616053
- 0.0.1
targets:
my-first-target:
source: dub
sourceNamespace: dub
sourceRevisionDigest: sha256:1d8c8d48f43af8908165789c021879e0eee8f1aabf37d4d5c9db0f7fd646c6dc
sourceBlobDigest: sha256:54ac15b838758d799f7d08a7cbae8394185a7c7fdfe697ff9bc4e15488b59782
sourceRevisionDigest: sha256:4048f9d0377dfdd025eb1546e58ab9a52ac34a91bb7cc919675be58b334c3482
sourceBlobDigest: sha256:85580cf3773dfd87c3d9151ace8544c7687d1298a05dfbd2c310d6e816fa61a0
codeSamplesNamespace: code-samples-ruby-my-first-target
codeSamplesRevisionDigest: sha256:b9f46496635b31955b663bdd301648dcc5886b726ff5c49c9277c8279a414f24
codeSamplesRevisionDigest: sha256:825d5cbe91b96a123b4ab64fb6f2fb71773c47144cf8fa9a5c7078c4406f0066
workflow:
workflowVersion: 1.0.0
speakeasyVersion: latest
Expand Down
4 changes: 2 additions & 2 deletions 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.70)
dub (0.2.2.pre.alpha.71)
faraday
faraday-multipart
rack
Expand Down Expand Up @@ -84,7 +84,7 @@ GEM
yard-sorbet
thor (1.3.2)
unicode-display_width (2.6.0)
uri (1.0.2)
uri (1.0.3)
yard (0.9.37)
yard-sorbet (0.8.1)
sorbet-runtime (>= 0.5)
Expand Down
12 changes: 11 additions & 1 deletion RELEASES.md
Original file line number Diff line number Diff line change
Expand Up @@ -848,4 +848,14 @@ Based on:
### Generated
- [ruby v0.2.2-alpha.70] .
### Releases
- [Ruby Gems v0.2.2-alpha.70] https://rubygems.org/gems/dub/versions/0.2.2-alpha.70 - .
- [Ruby Gems v0.2.2-alpha.70] https://rubygems.org/gems/dub/versions/0.2.2-alpha.70 - .

## 2025-02-27 00:27:17
### Changes
Based on:
- OpenAPI Doc
- Speakeasy CLI 1.505.1 (2.531.0) https://github.com/speakeasy-api/speakeasy
### Generated
- [ruby v0.2.2-alpha.71] .
### Releases
- [Ruby Gems v0.2.2-alpha.71] https://rubygems.org/gems/dub/versions/0.2.2-alpha.71 - .
2 changes: 1 addition & 1 deletion codeSamples.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -224,7 +224,7 @@ actions:
"x-codeSamples":
- "lang": "ruby"
"label": "trackSale"
"source": "require 'dub'\n\n\ns = ::OpenApiSDK::Dub.new\ns.config_security(\n ::OpenApiSDK::Shared::Security.new(\n token: \"DUB_API_KEY\",\n )\n)\n\n\nreq = ::OpenApiSDK::Operations::TrackSaleRequestBody.new(\n amount: 996500,\n payment_processor: ::OpenApiSDK::Operations::PaymentProcessor::PADDLE,\n event_name: \"Purchase\",\n lead_event_name: \"Cloned template 1481267\",\n)\n \nres = s.track.sale(req)\n\nif ! res.object.nil?\n # handle response\nend"
"source": "require 'dub'\n\n\ns = ::OpenApiSDK::Dub.new\ns.config_security(\n ::OpenApiSDK::Shared::Security.new(\n token: \"DUB_API_KEY\",\n )\n)\n\n\nreq = ::OpenApiSDK::Operations::TrackSaleRequestBody.new(\n amount: 996500,\n payment_processor: ::OpenApiSDK::Operations::PaymentProcessor::CUSTOM,\n event_name: \"Purchase\",\n lead_event_name: \"Cloned template 1481267\",\n)\n \nres = s.track.sale(req)\n\nif ! res.object.nil?\n # handle response\nend"
- target: $["paths"]["/workspaces/{idOrSlug}"]["get"]
update:
"x-codeSamples":
Expand Down
11 changes: 11 additions & 0 deletions docs/models/operations/mode.md
Original file line number Diff line number Diff line change
@@ -0,0 +1,11 @@
# Mode

The mode to use for tracking the lead event. `async` will not block the request; `wait` will block the request until the lead event is fully recorded in Dub.


## Values

| Name | Value |
| ------- | ------- |
| `ASYNC` | async |
| `WAIT` | wait |
4 changes: 3 additions & 1 deletion docs/models/operations/paymentprocessor.md
Original file line number Diff line number Diff line change
Expand Up @@ -9,4 +9,6 @@ The payment processor via which the sale was made.
| --------- | --------- |
| `STRIPE` | stripe |
| `SHOPIFY` | shopify |
| `PADDLE` | paddle |
| `POLAR` | polar |
| `PADDLE` | paddle |
| `CUSTOM` | custom |
3 changes: 2 additions & 1 deletion docs/models/operations/trackleadrequestbody.md
Original file line number Diff line number Diff line change
Expand Up @@ -13,4 +13,5 @@
| `customer_name` | *T.nilable(::String)* | :heavy_minus_sign: | Name of the customer in the client's app. | |
| `customer_email` | *T.nilable(::String)* | :heavy_minus_sign: | Email of the customer in the client's app. | |
| `customer_avatar` | *T.nilable(::String)* | :heavy_minus_sign: | Avatar of the customer in the client's app. | |
| `metadata` | T::Hash[Symbol, *::Object*] | :heavy_minus_sign: | Additional metadata to be stored with the lead event | |
| `metadata` | T::Hash[Symbol, *::Object*] | :heavy_minus_sign: | Additional metadata to be stored with the lead event | |
| `mode` | [T.nilable(::OpenApiSDK::Operations::Mode)](../../models/operations/mode.md) | :heavy_minus_sign: | The mode to use for tracking the lead event. `async` will not block the request; `wait` will block the request until the lead event is fully recorded in Dub. | |
Loading

0 comments on commit cdb21d8

Please sign in to comment.