Skip to content

Commit cdb21d8

Browse files
authored
Merge pull request #90 from dubinc/speakeasy-sdk-regen-1740616053
chore: 🐝 Update SDK - Generate 0.2.2-alpha.71
2 parents 15565d4 + e9e3639 commit cdb21d8

File tree

18 files changed

+78
-28
lines changed

18 files changed

+78
-28
lines changed

β€Ž.speakeasy/gen.lockβ€Ž

Lines changed: 7 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -1,12 +1,12 @@
11
lockVersion: 2.0.0
22
id: 5a2dd83e-da98-455b-8ef9-0100a914efdf
33
management:
4-
docChecksum: 4ed7bf1fc90b54224f530facc9c37231
4+
docChecksum: db8c112e1f254ff516b8ce26ffe28dd4
55
docVersion: 0.0.1
6-
speakeasyVersion: 1.504.1
7-
generationVersion: 2.529.2
8-
releaseVersion: 0.2.2-alpha.70
9-
configChecksum: 6b800f61b5176ced188e6dd37c881fa5
6+
speakeasyVersion: 1.505.1
7+
generationVersion: 2.531.0
8+
releaseVersion: 0.2.2-alpha.71
9+
configChecksum: caaf8aa4367afb51da3efe908e408d56
1010
repoURL: https://github.com/dubinc/dub-ruby.git
1111
installationURL: https://github.com/dubinc/dub-ruby
1212
published: true
@@ -121,6 +121,7 @@ generatedFiles:
121121
- docs/models/operations/listeventsresponse.md
122122
- docs/models/operations/listfoldersrequest.md
123123
- docs/models/operations/listfoldersresponse.md
124+
- docs/models/operations/mode.md
124125
- docs/models/operations/order.md
125126
- docs/models/operations/partner.md
126127
- docs/models/operations/paymentprocessor.md
@@ -355,6 +356,7 @@ generatedFiles:
355356
- lib/open_api_sdk/models/operations/listevents_response.rb
356357
- lib/open_api_sdk/models/operations/listfolders_request.rb
357358
- lib/open_api_sdk/models/operations/listfolders_response.rb
359+
- lib/open_api_sdk/models/operations/mode.rb
358360
- lib/open_api_sdk/models/operations/order.rb
359361
- lib/open_api_sdk/models/operations/partner.rb
360362
- lib/open_api_sdk/models/operations/paymentprocessor.rb

β€Ž.speakeasy/gen.yamlβ€Ž

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -15,7 +15,7 @@ generation:
1515
oAuth2ClientCredentialsEnabled: true
1616
oAuth2PasswordEnabled: false
1717
ruby:
18-
version: 0.2.2-alpha.70
18+
version: 0.2.2-alpha.71
1919
author: Dub
2020
description: Ruby Client SDK Generated by Speakeasy
2121
imports:

β€Ž.speakeasy/workflow.lockβ€Ž

Lines changed: 7 additions & 7 deletions
Original file line numberDiff line numberDiff line change
@@ -1,21 +1,21 @@
1-
speakeasyVersion: 1.504.1
1+
speakeasyVersion: 1.505.1
22
sources:
33
dub:
44
sourceNamespace: dub
5-
sourceRevisionDigest: sha256:1d8c8d48f43af8908165789c021879e0eee8f1aabf37d4d5c9db0f7fd646c6dc
6-
sourceBlobDigest: sha256:54ac15b838758d799f7d08a7cbae8394185a7c7fdfe697ff9bc4e15488b59782
5+
sourceRevisionDigest: sha256:4048f9d0377dfdd025eb1546e58ab9a52ac34a91bb7cc919675be58b334c3482
6+
sourceBlobDigest: sha256:85580cf3773dfd87c3d9151ace8544c7687d1298a05dfbd2c310d6e816fa61a0
77
tags:
88
- latest
9-
- speakeasy-sdk-regen-1740270566
9+
- speakeasy-sdk-regen-1740616053
1010
- 0.0.1
1111
targets:
1212
my-first-target:
1313
source: dub
1414
sourceNamespace: dub
15-
sourceRevisionDigest: sha256:1d8c8d48f43af8908165789c021879e0eee8f1aabf37d4d5c9db0f7fd646c6dc
16-
sourceBlobDigest: sha256:54ac15b838758d799f7d08a7cbae8394185a7c7fdfe697ff9bc4e15488b59782
15+
sourceRevisionDigest: sha256:4048f9d0377dfdd025eb1546e58ab9a52ac34a91bb7cc919675be58b334c3482
16+
sourceBlobDigest: sha256:85580cf3773dfd87c3d9151ace8544c7687d1298a05dfbd2c310d6e816fa61a0
1717
codeSamplesNamespace: code-samples-ruby-my-first-target
18-
codeSamplesRevisionDigest: sha256:b9f46496635b31955b663bdd301648dcc5886b726ff5c49c9277c8279a414f24
18+
codeSamplesRevisionDigest: sha256:825d5cbe91b96a123b4ab64fb6f2fb71773c47144cf8fa9a5c7078c4406f0066
1919
workflow:
2020
workflowVersion: 1.0.0
2121
speakeasyVersion: latest

β€ŽGemfile.lockβ€Ž

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1,7 +1,7 @@
11
PATH
22
remote: .
33
specs:
4-
dub (0.2.2.pre.alpha.70)
4+
dub (0.2.2.pre.alpha.71)
55
faraday
66
faraday-multipart
77
rack
@@ -84,7 +84,7 @@ GEM
8484
yard-sorbet
8585
thor (1.3.2)
8686
unicode-display_width (2.6.0)
87-
uri (1.0.2)
87+
uri (1.0.3)
8888
yard (0.9.37)
8989
yard-sorbet (0.8.1)
9090
sorbet-runtime (>= 0.5)

β€ŽRELEASES.mdβ€Ž

Lines changed: 11 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -848,4 +848,14 @@ Based on:
848848
### Generated
849849
- [ruby v0.2.2-alpha.70] .
850850
### Releases
851-
- [Ruby Gems v0.2.2-alpha.70] https://rubygems.org/gems/dub/versions/0.2.2-alpha.70 - .
851+
- [Ruby Gems v0.2.2-alpha.70] https://rubygems.org/gems/dub/versions/0.2.2-alpha.70 - .
852+
853+
## 2025-02-27 00:27:17
854+
### Changes
855+
Based on:
856+
- OpenAPI Doc
857+
- Speakeasy CLI 1.505.1 (2.531.0) https://github.com/speakeasy-api/speakeasy
858+
### Generated
859+
- [ruby v0.2.2-alpha.71] .
860+
### Releases
861+
- [Ruby Gems v0.2.2-alpha.71] https://rubygems.org/gems/dub/versions/0.2.2-alpha.71 - .

β€ŽcodeSamples.yamlβ€Ž

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -224,7 +224,7 @@ actions:
224224
"x-codeSamples":
225225
- "lang": "ruby"
226226
"label": "trackSale"
227-
"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"
227+
"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"
228228
- target: $["paths"]["/workspaces/{idOrSlug}"]["get"]
229229
update:
230230
"x-codeSamples":
Lines changed: 11 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,11 @@
1+
# Mode
2+
3+
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.
4+
5+
6+
## Values
7+
8+
| Name | Value |
9+
| ------- | ------- |
10+
| `ASYNC` | async |
11+
| `WAIT` | wait |

β€Ždocs/models/operations/paymentprocessor.mdβ€Ž

Lines changed: 3 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -9,4 +9,6 @@ The payment processor via which the sale was made.
99
| --------- | --------- |
1010
| `STRIPE` | stripe |
1111
| `SHOPIFY` | shopify |
12-
| `PADDLE` | paddle |
12+
| `POLAR` | polar |
13+
| `PADDLE` | paddle |
14+
| `CUSTOM` | custom |

β€Ždocs/models/operations/trackleadrequestbody.mdβ€Ž

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -13,4 +13,5 @@
1313
| `customer_name` | *T.nilable(::String)* | :heavy_minus_sign: | Name of the customer in the client's app. | |
1414
| `customer_email` | *T.nilable(::String)* | :heavy_minus_sign: | Email of the customer in the client's app. | |
1515
| `customer_avatar` | *T.nilable(::String)* | :heavy_minus_sign: | Avatar of the customer in the client's app. | |
16-
| `metadata` | T::Hash[Symbol, *::Object*] | :heavy_minus_sign: | Additional metadata to be stored with the lead event | |
16+
| `metadata` | T::Hash[Symbol, *::Object*] | :heavy_minus_sign: | Additional metadata to be stored with the lead event | |
17+
| `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. | |

0 commit comments

Comments
Β (0)