Skip to content

Commit 218515a

Browse files
authored
Merge pull request #139 from dubinc/speakeasy-sdk-regen-1752180429
chore: 🐝 Update SDK - Generate 0.27.1
2 parents e3d14f6 + a3978dc commit 218515a

28 files changed

Lines changed: 959 additions & 1688 deletions

.speakeasy/gen.lock

Lines changed: 10 additions & 10 deletions
Original file line numberDiff line numberDiff line change
@@ -1,12 +1,12 @@
11
lockVersion: 2.0.0
22
id: ab657d60-207e-43a4-8cc8-692a672950ed
33
management:
4-
docChecksum: 6e45f3521cae083a495cc5102bf01725
4+
docChecksum: aa92a2d401a7d3e37140aef2558f04b3
55
docVersion: 0.0.1
6-
speakeasyVersion: 1.576.1
7-
generationVersion: 2.651.2
8-
releaseVersion: 0.27.0
9-
configChecksum: 92441ba18ee67373019981a25171b2d0
6+
speakeasyVersion: 1.580.2
7+
generationVersion: 2.656.5
8+
releaseVersion: 0.27.1
9+
configChecksum: ab7c9f9992df74d0fe2b94d441526f06
1010
repoURL: https://github.com/dubinc/dub-python.git
1111
installationURL: https://github.com/dubinc/dub-python.git
1212
published: true
@@ -19,8 +19,8 @@ features:
1919
deprecations: 3.0.2
2020
enumUnions: 0.1.0
2121
envVarSecurityUsage: 0.3.2
22-
errors: 3.3.0
23-
examples: 3.0.1
22+
errors: 3.3.1
23+
examples: 3.0.2
2424
flattening: 3.1.1
2525
globalSecurity: 3.0.3
2626
globalSecurityCallbacks: 1.0.0
@@ -36,7 +36,6 @@ features:
3636
unions: 3.0.4
3737
generatedFiles:
3838
- .gitattributes
39-
- .python-version
4039
- .vscode/settings.json
4140
- USAGE.md
4241
- docs/models/components/accesslevel.md
@@ -507,6 +506,7 @@ generatedFiles:
507506
- src/dub/utils/retries.py
508507
- src/dub/utils/security.py
509508
- src/dub/utils/serializers.py
509+
- src/dub/utils/unmarshal_json_response.py
510510
- src/dub/utils/url.py
511511
- src/dub/utils/values.py
512512
- src/dub/workspaces.py
@@ -1165,7 +1165,7 @@ examples:
11651165
trackLead:
11661166
speakeasy-default-track-lead:
11671167
requestBody:
1168-
application/json: {"clickId": "<id>", "eventName": "Sign up", "externalId": "<id>", "customerName": null, "customerEmail": null, "customerAvatar": null, "mode": "async"}
1168+
application/json: {"clickId": "<id>", "eventName": "Sign up", "customerExternalId": "<id>", "customerName": null, "customerEmail": null, "customerAvatar": null, "mode": "async"}
11691169
responses:
11701170
"200":
11711171
application/json: {"click": {"id": "<id>"}, "customer": {"name": "<value>", "email": "Beaulah.Hamill78@gmail.com", "avatar": "https://picsum.photos/seed/4p2vQu6/2339/955", "externalId": "<id>"}}
@@ -1190,7 +1190,7 @@ examples:
11901190
trackSale:
11911191
speakeasy-default-track-sale:
11921192
requestBody:
1193-
application/json: {"externalId": "<id>", "amount": 594903, "currency": "usd", "eventName": "Invoice paid", "paymentProcessor": "polar", "invoiceId": null, "leadEventName": "Cloned template 1481267"}
1193+
application/json: {"customerExternalId": "<id>", "amount": 594903, "currency": "usd", "eventName": "Invoice paid", "paymentProcessor": "polar", "invoiceId": null, "leadEventName": "Cloned template 1481267"}
11941194
responses:
11951195
"200":
11961196
application/json: {"eventName": "<value>", "customer": {"id": "<id>", "name": "<value>", "email": "Jettie.Hirthe97@yahoo.com", "avatar": "https://loremflickr.com/2112/1585?lock=96959249386723", "externalId": "<id>"}, "sale": {"amount": 67.63, "currency": "Pula", "paymentProcessor": "<value>", "invoiceId": "<id>", "metadata": {"key": "<value>"}}}

.speakeasy/gen.yaml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -21,7 +21,7 @@ generation:
2121
generateNewTests: false
2222
skipResponseBodyAssertions: false
2323
python:
24-
version: 0.27.0
24+
version: 0.27.1
2525
additionalDependencies:
2626
dev: {}
2727
main: {}

.speakeasy/workflow.lock

Lines changed: 7 additions & 7 deletions
Original file line numberDiff line numberDiff line change
@@ -1,21 +1,21 @@
1-
speakeasyVersion: 1.576.1
1+
speakeasyVersion: 1.580.2
22
sources:
33
dub:
44
sourceNamespace: dub
5-
sourceRevisionDigest: sha256:e9e0d1760d0eb0cd1abb719951767ff56aae15d12fed72809614a0cc80f18a03
6-
sourceBlobDigest: sha256:2ec795073bdfba6e77310200e44ac26ab5352ab03a9ecc192b619d8949212d91
5+
sourceRevisionDigest: sha256:e7f4e17907e0eaaa383aef6bcb71af6a69e09bf2a20fdd41fe35a1932cd1bf43
6+
sourceBlobDigest: sha256:80d4d3dbbe11c2c0bf1df3c12bd9a9b8199992151de041d30bc6a81aca7b32f6
77
tags:
88
- latest
9-
- speakeasy-sdk-regen-1751762072
9+
- speakeasy-sdk-regen-1752180429
1010
- 0.0.1
1111
targets:
1212
my-first-target:
1313
source: dub
1414
sourceNamespace: dub
15-
sourceRevisionDigest: sha256:e9e0d1760d0eb0cd1abb719951767ff56aae15d12fed72809614a0cc80f18a03
16-
sourceBlobDigest: sha256:2ec795073bdfba6e77310200e44ac26ab5352ab03a9ecc192b619d8949212d91
15+
sourceRevisionDigest: sha256:e7f4e17907e0eaaa383aef6bcb71af6a69e09bf2a20fdd41fe35a1932cd1bf43
16+
sourceBlobDigest: sha256:80d4d3dbbe11c2c0bf1df3c12bd9a9b8199992151de041d30bc6a81aca7b32f6
1717
codeSamplesNamespace: code-samples-python-my-first-target
18-
codeSamplesRevisionDigest: sha256:a0ecc149387f36809c3181c0aa8dde14dbfee9a8a0c62c657378b196029463e5
18+
codeSamplesRevisionDigest: sha256:f9c0791e77723b05d8b12a6f6ce1936a43fdfa2b22a917cf61be3cf3684b8bf7
1919
workflow:
2020
workflowVersion: 1.0.0
2121
speakeasyVersion: latest

RELEASES.md

Lines changed: 11 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1296,4 +1296,14 @@ Based on:
12961296
### Generated
12971297
- [python v0.27.0] .
12981298
### Releases
1299-
- [PyPI v0.27.0] https://pypi.org/project/dub/0.27.0 - .
1299+
- [PyPI v0.27.0] https://pypi.org/project/dub/0.27.0 - .
1300+
1301+
## 2025-07-10 20:46:53
1302+
### Changes
1303+
Based on:
1304+
- OpenAPI Doc
1305+
- Speakeasy CLI 1.580.2 (2.656.5) https://github.com/speakeasy-api/speakeasy
1306+
### Generated
1307+
- [python v0.27.1] .
1308+
### Releases
1309+
- [PyPI v0.27.1] https://pypi.org/project/dub/0.27.1 - .

codeSamples.yaml

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -980,7 +980,7 @@ actions:
980980
res = d_client.track.lead(request={
981981
"click_id": "<id>",
982982
"event_name": "Sign up",
983-
"external_id": "<id>",
983+
"customer_external_id": "<id>",
984984
})
985985
986986
assert res is not None
@@ -1002,7 +1002,7 @@ actions:
10021002
) as d_client:
10031003
10041004
res = d_client.track.sale(request={
1005-
"external_id": "<id>",
1005+
"customer_external_id": "<id>",
10061006
"amount": 594903,
10071007
"event_name": "Invoice paid",
10081008
"payment_processor": operations.PaymentProcessor.POLAR,

docs/models/operations/trackleadrequestbody.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -7,7 +7,7 @@
77
| -------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------- | -------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------- | -------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------- | -------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------- | -------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------- |
88
| `click_id` | *str* | :heavy_check_mark: | The unique ID of the click that the lead conversion event is attributed to. You can read this value from `dub_id` cookie. | |
99
| `event_name` | *str* | :heavy_check_mark: | The name of the lead event to track. Can also be used as a unique identifier to associate a given lead event for a customer for a subsequent sale event (via the `leadEventName` prop in `/track/sale`). | Sign up |
10-
| `external_id` | *str* | :heavy_check_mark: | The unique ID of the customer in your system. Will be used to identify and attribute all future events to this customer. | |
10+
| `customer_external_id` | *str* | :heavy_check_mark: | The unique ID of the customer in your system. Will be used to identify and attribute all future events to this customer. | |
1111
| `customer_name` | *OptionalNullable[str]* | :heavy_minus_sign: | The name of the customer. If not passed, a random name will be generated (e.g. “Big Red Caribou”). | |
1212
| `customer_email` | *OptionalNullable[str]* | :heavy_minus_sign: | The email address of the customer. | |
1313
| `customer_avatar` | *OptionalNullable[str]* | :heavy_minus_sign: | The avatar URL of the customer. | |

0 commit comments

Comments
 (0)