Skip to content

Commit 567a9b3

Browse files
authored
Merge pull request #147 from dubinc/speakeasy-sdk-regen-1757550513
chore: 🐝 Update SDK - Generate 0.29.2
2 parents 2f518b8 + d411f6f commit 567a9b3

25 files changed

+254
-76
lines changed

.speakeasy/gen.lock

Lines changed: 10 additions & 9 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: 54c12f37004dd851733d9c6060b4addb
4+
docChecksum: ca039d761420ae6bf30481214b90948f
55
docVersion: 0.0.1
6-
speakeasyVersion: 1.615.0
7-
generationVersion: 2.698.0
8-
releaseVersion: 0.29.1
9-
configChecksum: 7bde62ae7fce2370d9fab35e30ace0b2
6+
speakeasyVersion: 1.615.2
7+
generationVersion: 2.698.4
8+
releaseVersion: 0.29.2
9+
configChecksum: 275db521206f5989f0ee72f5d3c26665
1010
repoURL: https://github.com/dubinc/dub-python.git
1111
installationURL: https://github.com/dubinc/dub-python.git
1212
published: true
@@ -19,10 +19,10 @@ features:
1919
deprecations: 3.0.2
2020
enumUnions: 0.1.0
2121
envVarSecurityUsage: 0.3.2
22-
errors: 3.3.2
22+
errors: 3.3.3
2323
examples: 3.0.2
2424
flattening: 3.1.1
25-
globalSecurity: 3.0.3
25+
globalSecurity: 3.0.4
2626
globalSecurityCallbacks: 1.0.0
2727
globalSecurityFlattening: 1.0.0
2828
globalServerURLs: 3.1.1
@@ -316,6 +316,7 @@ generatedFiles:
316316
- docs/models/operations/tagnames.md
317317
- docs/models/operations/testvariants.md
318318
- docs/models/operations/three.md
319+
- docs/models/operations/trackleadlink.md
319320
- docs/models/operations/trackleadrequestbody.md
320321
- docs/models/operations/trackleadresponsebody.md
321322
- docs/models/operations/tracksalecustomer.md
@@ -1182,7 +1183,7 @@ examples:
11821183
application/json: {"clickId": "<id>", "eventName": "Sign up", "customerExternalId": "<id>", "customerName": null, "customerEmail": null, "customerAvatar": null, "mode": "async"}
11831184
responses:
11841185
"200":
1185-
application/json: {"click": {"id": "<id>"}, "customer": {"name": "<value>", "email": "[email protected]", "avatar": "https://picsum.photos/seed/4p2vQu6/2339/955", "externalId": "<id>"}}
1186+
application/json: {"click": {"id": "<id>"}, "link": {"id": "<id>", "domain": "caring-editor.biz", "key": "<key>", "shortLink": "https://spotless-airbus.name/", "url": "https://quarrelsome-incandescence.com/", "partnerId": "<id>", "programId": null, "tenantId": "<id>", "externalId": "<id>"}, "customer": {"name": "<value>", "email": "[email protected]", "avatar": "https://picsum.photos/seed/4p2vQu6/2339/955", "externalId": "<id>"}}
11861187
"400":
11871188
application/json: {"error": {"code": "bad_request", "message": "The requested resource was not found.", "doc_url": "https://dub.co/docs/api-reference/errors#bad-request"}}
11881189
"401":
@@ -1766,4 +1767,4 @@ examplesVersion: 1.0.2
17661767
generatedTests: {}
17671768
releaseNotes: |
17681769
## Python SDK Changes Detected:
1769-
* `dub.track.sale()`: `request` **Changed**
1770+
* `dub.track.lead()`: `response.link` **Added**

.speakeasy/gen.yaml

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -16,12 +16,13 @@ generation:
1616
auth:
1717
oAuth2ClientCredentialsEnabled: true
1818
oAuth2PasswordEnabled: false
19+
hoistGlobalSecurity: true
1920
tests:
2021
generateTests: true
2122
generateNewTests: false
2223
skipResponseBodyAssertions: false
2324
python:
24-
version: 0.29.1
25+
version: 0.29.2
2526
additionalDependencies:
2627
dev: {}
2728
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.615.0
1+
speakeasyVersion: 1.615.2
22
sources:
33
dub:
44
sourceNamespace: dub
5-
sourceRevisionDigest: sha256:00ee002e6087285c07bc36211fc83ecf1f6be42ce61b98ffb7240b2df08e9f1e
6-
sourceBlobDigest: sha256:7106c23077851a89af817930bba690a7a90b6cb4eb156aed1b0229fed2e8af2c
5+
sourceRevisionDigest: sha256:940f5a4a120f7e0cec4cc0b336f168906f23ee34f87d87a8d9187f59249fdb08
6+
sourceBlobDigest: sha256:d8bf80778c8335912d797a21ad3aaafea0d264681dec1d88fdcdd79ead03fc7e
77
tags:
88
- latest
9-
- speakeasy-sdk-regen-1757460286
9+
- speakeasy-sdk-regen-1757550513
1010
- 0.0.1
1111
targets:
1212
my-first-target:
1313
source: dub
1414
sourceNamespace: dub
15-
sourceRevisionDigest: sha256:00ee002e6087285c07bc36211fc83ecf1f6be42ce61b98ffb7240b2df08e9f1e
16-
sourceBlobDigest: sha256:7106c23077851a89af817930bba690a7a90b6cb4eb156aed1b0229fed2e8af2c
15+
sourceRevisionDigest: sha256:940f5a4a120f7e0cec4cc0b336f168906f23ee34f87d87a8d9187f59249fdb08
16+
sourceBlobDigest: sha256:d8bf80778c8335912d797a21ad3aaafea0d264681dec1d88fdcdd79ead03fc7e
1717
codeSamplesNamespace: code-samples-python-my-first-target
18-
codeSamplesRevisionDigest: sha256:33c8940f6117b9da09c1077de65233c6d72c3385c5b4487555727f68ce2d04c5
18+
codeSamplesRevisionDigest: sha256:0da886042d4c2863d7696520c89d3b599a9a00f14dc2aa700bc814c04ba36eb0
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
@@ -1376,4 +1376,14 @@ Based on:
13761376
### Generated
13771377
- [python v0.29.1] .
13781378
### Releases
1379-
- [PyPI v0.29.1] https://pypi.org/project/dub/0.29.1 - .
1379+
- [PyPI v0.29.1] https://pypi.org/project/dub/0.29.1 - .
1380+
1381+
## 2025-09-11 18:22:10
1382+
### Changes
1383+
Based on:
1384+
- OpenAPI Doc
1385+
- Speakeasy CLI 1.615.2 (2.698.4) https://github.com/speakeasy-api/speakeasy
1386+
### Generated
1387+
- [python v0.29.2] .
1388+
### Releases
1389+
- [PyPI v0.29.2] https://pypi.org/project/dub/0.29.2 - .
Lines changed: 16 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,16 @@
1+
# TrackLeadLink
2+
3+
4+
## Fields
5+
6+
| Field | Type | Required | Description |
7+
| ------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------ | ------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------ | ------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------ | ------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------ |
8+
| `id` | *str* | :heavy_check_mark: | The unique ID of the short link. |
9+
| `domain` | *str* | :heavy_check_mark: | The domain of the short link. If not provided, the primary domain for the workspace will be used (or `dub.sh` if the workspace has no domains). |
10+
| `key` | *str* | :heavy_check_mark: | The short link slug. If not provided, a random 7-character slug will be generated. |
11+
| `short_link` | *str* | :heavy_check_mark: | The full URL of the short link, including the https protocol (e.g. `https://dub.sh/try`). |
12+
| `url` | *str* | :heavy_check_mark: | The destination URL of the short link. |
13+
| `partner_id` | *Nullable[str]* | :heavy_check_mark: | The ID of the partner the short link is associated with. |
14+
| `program_id` | *Nullable[str]* | :heavy_check_mark: | The ID of the program the short link is associated with. |
15+
| `tenant_id` | *Nullable[str]* | :heavy_check_mark: | The ID of the tenant that created the link inside your system. If set, it can be used to fetch all links for a tenant. |
16+
| `external_id` | *Nullable[str]* | :heavy_check_mark: | The ID of the link in your database. If set, it can be used to identify the link in future API requests (must be prefixed with 'ext_' when passed as a query parameter). This key is unique across your workspace. |

docs/models/operations/trackleadresponsebody.md

Lines changed: 5 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -5,7 +5,8 @@ A lead was tracked.
55

66
## Fields
77

8-
| Field | Type | Required | Description |
9-
| ---------------------------------------------------------- | ---------------------------------------------------------- | ---------------------------------------------------------- | ---------------------------------------------------------- |
10-
| `click` | [operations.Click](../../models/operations/click.md) | :heavy_check_mark: | N/A |
11-
| `customer` | [operations.Customer](../../models/operations/customer.md) | :heavy_check_mark: | N/A |
8+
| Field | Type | Required | Description |
9+
| ------------------------------------------------------------------------------ | ------------------------------------------------------------------------------ | ------------------------------------------------------------------------------ | ------------------------------------------------------------------------------ |
10+
| `click` | [operations.Click](../../models/operations/click.md) | :heavy_check_mark: | N/A |
11+
| `link` | [Nullable[operations.TrackLeadLink]](../../models/operations/trackleadlink.md) | :heavy_check_mark: | N/A |
12+
| `customer` | [operations.Customer](../../models/operations/customer.md) | :heavy_check_mark: | N/A |

0 commit comments

Comments
 (0)