Skip to content

Commit 5db02c3

Browse files
authored
Merge pull request #145 from dubinc/speakeasy-sdk-regen-1756254553
chore: 🐝 Update SDK - Generate 0.29.0
2 parents 7279519 + a24541b commit 5db02c3

File tree

21 files changed

+187
-62
lines changed

21 files changed

+187
-62
lines changed

.gitignore

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1,3 +1,5 @@
1+
.env
2+
.env.local
13
**/__pycache__/
24
**/.speakeasy/temp/
35
**/.speakeasy/logs/

.speakeasy/gen.lock

Lines changed: 9 additions & 10 deletions
Original file line numberDiff line numberDiff line change
@@ -1,20 +1,20 @@
11
lockVersion: 2.0.0
22
id: ab657d60-207e-43a4-8cc8-692a672950ed
33
management:
4-
docChecksum: b064e9938ff571586b1d703bf639a40f
4+
docChecksum: 8725bc68c6cdd28926345886029513f7
55
docVersion: 0.0.1
6-
speakeasyVersion: 1.606.3
7-
generationVersion: 2.687.1
8-
releaseVersion: 0.28.1
9-
configChecksum: 56f1b8ec4e58e6d41dec83e321b07d8d
6+
speakeasyVersion: 1.615.0
7+
generationVersion: 2.698.0
8+
releaseVersion: 0.29.0
9+
configChecksum: f5a68dc9f695d0fe1859add05c677020
1010
repoURL: https://github.com/dubinc/dub-python.git
1111
installationURL: https://github.com/dubinc/dub-python.git
1212
published: true
1313
features:
1414
python:
1515
additionalDependencies: 1.0.0
1616
constsAndDefaults: 1.0.5
17-
core: 5.19.9
17+
core: 5.20.4
1818
defaultEnabledRetries: 0.2.0
1919
deprecations: 3.0.2
2020
enumUnions: 0.1.0
@@ -1075,7 +1075,7 @@ examples:
10751075
application/json: {"slug": "acme.com", "expiredUrl": "https://acme.com/expired", "notFoundUrl": "https://acme.com/not-found", "archived": false, "placeholder": "https://dub.co/help/article/what-is-dub"}
10761076
responses:
10771077
"201":
1078-
application/json: {"id": "<id>", "slug": "acme.com", "verified": false, "primary": false, "archived": false, "placeholder": "https://dub.co/help/article/what-is-dub", "expiredUrl": "https://acme.com/expired", "notFoundUrl": "https://acme.com/not-found", "assetLinks": null, "appleAppSiteAssociation": null, "logo": "<value>", "createdAt": "1731942529334", "updatedAt": "1747534729476", "registeredDomain": {"id": "<id>", "autoRenewalDisabledAt": "<value>", "createdAt": "1718626122952", "expiresAt": "1770609824729", "renewalFee": 1289.07}}
1078+
application/json: {"id": "<id>", "slug": "acme.com", "verified": false, "primary": false, "archived": false, "placeholder": "https://dub.co/help/article/what-is-dub", "expiredUrl": "https://acme.com/expired", "notFoundUrl": "https://acme.com/not-found", "logo": "<value>", "assetLinks": null, "appleAppSiteAssociation": null, "createdAt": "1731942529334", "updatedAt": "1747534729476", "registeredDomain": {"id": "<id>", "autoRenewalDisabledAt": "<value>", "createdAt": "1718626122952", "expiresAt": "1770609824729", "renewalFee": 1289.07}}
10791079
"400":
10801080
application/json: {"error": {"code": "bad_request", "message": "The requested resource was not found.", "doc_url": "https://dub.co/docs/api-reference/errors#bad-request"}}
10811081
"401":
@@ -1103,7 +1103,7 @@ examples:
11031103
pageSize: 50
11041104
responses:
11051105
"200":
1106-
application/json: [{"id": "<id>", "slug": "acme.com", "verified": false, "primary": false, "archived": false, "placeholder": "https://dub.co/help/article/what-is-dub", "expiredUrl": "https://acme.com/expired", "notFoundUrl": "https://acme.com/not-found", "assetLinks": null, "appleAppSiteAssociation": null, "logo": "<value>", "createdAt": "1745215135076", "updatedAt": "1747576708435", "registeredDomain": {"id": "<id>", "autoRenewalDisabledAt": "<value>", "createdAt": "1723832358686", "expiresAt": "1749463577479", "renewalFee": 9240.6}}]
1106+
application/json: [{"id": "<id>", "slug": "acme.com", "verified": false, "primary": false, "archived": false, "placeholder": "https://dub.co/help/article/what-is-dub", "expiredUrl": "https://acme.com/expired", "notFoundUrl": "https://acme.com/not-found", "logo": "<value>", "assetLinks": null, "appleAppSiteAssociation": null, "createdAt": "1745215135076", "updatedAt": "1747576708435", "registeredDomain": {"id": "<id>", "autoRenewalDisabledAt": "<value>", "createdAt": "1723832358686", "expiresAt": "1749463577479", "renewalFee": 9240.6}}]
11071107
"400":
11081108
application/json: {"error": {"code": "bad_request", "message": "The requested resource was not found.", "doc_url": "https://dub.co/docs/api-reference/errors#bad-request"}}
11091109
"401":
@@ -1131,7 +1131,7 @@ examples:
11311131
application/json: {"slug": "acme.com", "expiredUrl": "https://acme.com/expired", "notFoundUrl": "https://acme.com/not-found", "archived": false, "placeholder": "https://dub.co/help/article/what-is-dub"}
11321132
responses:
11331133
"200":
1134-
application/json: {"id": "<id>", "slug": "acme.com", "verified": false, "primary": false, "archived": false, "placeholder": "https://dub.co/help/article/what-is-dub", "expiredUrl": "https://acme.com/expired", "notFoundUrl": "https://acme.com/not-found", "assetLinks": null, "appleAppSiteAssociation": null, "logo": "<value>", "createdAt": "1740765904911", "updatedAt": "1747566488432", "registeredDomain": {"id": "<id>", "autoRenewalDisabledAt": "<value>", "createdAt": "1732369443279", "expiresAt": "1760645398022", "renewalFee": 4964.92}}
1134+
application/json: {"id": "<id>", "slug": "acme.com", "verified": false, "primary": false, "archived": false, "placeholder": "https://dub.co/help/article/what-is-dub", "expiredUrl": "https://acme.com/expired", "notFoundUrl": "https://acme.com/not-found", "logo": "<value>", "assetLinks": null, "appleAppSiteAssociation": null, "createdAt": "1740765904911", "updatedAt": "1747566488432", "registeredDomain": {"id": "<id>", "autoRenewalDisabledAt": "<value>", "createdAt": "1732369443279", "expiresAt": "1760645398022", "renewalFee": 4964.92}}
11351135
"400":
11361136
application/json: {"error": {"code": "bad_request", "message": "The requested resource was not found.", "doc_url": "https://dub.co/docs/api-reference/errors#bad-request"}}
11371137
"401":
@@ -1764,4 +1764,3 @@ examples:
17641764
application/json: {"error": {"code": "internal_server_error", "message": "The requested resource was not found.", "doc_url": "https://dub.co/docs/api-reference/errors#internal-server_error"}}
17651765
examplesVersion: 1.0.2
17661766
generatedTests: {}
1767-
releaseNotes: "## SDK Changes Detected:\n* `dub.workspaces.update()`: \n * `request_body.allowed_hostnames` **Removed** **Breaking** :warning:\n* `dub.events.list()`: `response.[].[sale].sale.payment_processor` **Changed**\n* `dub.track.sale()`: \n * `request.payment_processor` **Changed**\n"

.speakeasy/gen.yaml

Lines changed: 5 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -21,10 +21,13 @@ generation:
2121
generateNewTests: false
2222
skipResponseBodyAssertions: false
2323
python:
24-
version: 0.28.1
24+
version: 0.29.0
2525
additionalDependencies:
2626
dev: {}
2727
main: {}
28+
allowedRedefinedBuiltins:
29+
- id
30+
- object
2831
author: Speakeasy
2932
authors:
3033
- Speakeasy
@@ -58,4 +61,5 @@ python:
5861
pytestFilterWarnings: []
5962
pytestTimeout: 0
6063
responseFormat: flat
64+
sseFlatResponse: false
6165
templateVersion: v2

.speakeasy/workflow.lock

Lines changed: 7 additions & 7 deletions
Original file line numberDiff line numberDiff line change
@@ -1,21 +1,21 @@
1-
speakeasyVersion: 1.606.3
1+
speakeasyVersion: 1.615.0
22
sources:
33
dub:
44
sourceNamespace: dub
5-
sourceRevisionDigest: sha256:986bec91ad2210adde5d048e45d1ab032c623084a68cc15eee392a2859f610ab
6-
sourceBlobDigest: sha256:ab7b376164a786217d57e1a196790287aeabb8532a0fb0dc1e2c1299f4304de6
5+
sourceRevisionDigest: sha256:8a5acf23c92e30f06c19e073648d152581b7781922ad493c83d779b040ee7e60
6+
sourceBlobDigest: sha256:07ac31c4df5793b66bb0c9d8b4856425445ca621ce143184ebf0c588eab5bb89
77
tags:
88
- latest
9-
- speakeasy-sdk-regen-1755908915
9+
- speakeasy-sdk-regen-1756254553
1010
- 0.0.1
1111
targets:
1212
my-first-target:
1313
source: dub
1414
sourceNamespace: dub
15-
sourceRevisionDigest: sha256:986bec91ad2210adde5d048e45d1ab032c623084a68cc15eee392a2859f610ab
16-
sourceBlobDigest: sha256:ab7b376164a786217d57e1a196790287aeabb8532a0fb0dc1e2c1299f4304de6
15+
sourceRevisionDigest: sha256:8a5acf23c92e30f06c19e073648d152581b7781922ad493c83d779b040ee7e60
16+
sourceBlobDigest: sha256:07ac31c4df5793b66bb0c9d8b4856425445ca621ce143184ebf0c588eab5bb89
1717
codeSamplesNamespace: code-samples-python-my-first-target
18-
codeSamplesRevisionDigest: sha256:ffaae5b66af78f31e2872efa7878a0b4d63b8a2adf2339fd27f937df27580601
18+
codeSamplesRevisionDigest: sha256:26a7397dab0cc3c1c8c45d5a8636c7946e50c3cddf06fe6f880cb5a238b2403b
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
@@ -1356,4 +1356,14 @@ Based on:
13561356
### Generated
13571357
- [python v0.28.1] .
13581358
### Releases
1359-
- [PyPI v0.28.1] https://pypi.org/project/dub/0.28.1 - .
1359+
- [PyPI v0.28.1] https://pypi.org/project/dub/0.28.1 - .
1360+
1361+
## 2025-09-09 21:01:00
1362+
### Changes
1363+
Based on:
1364+
- OpenAPI Doc
1365+
- Speakeasy CLI 1.615.0 (2.698.0) https://github.com/speakeasy-api/speakeasy
1366+
### Generated
1367+
- [python v0.29.0] .
1368+
### Releases
1369+
- [PyPI v0.29.0] https://pypi.org/project/dub/0.29.0 - .

docs/models/components/domainschema.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -13,9 +13,9 @@
1313
| `placeholder` | *Nullable[str]* | :heavy_check_mark: | Provide context to your teammates in the link creation modal by showing them an example of a link to be shortened. | https://dub.co/help/article/what-is-dub |
1414
| `expired_url` | *Nullable[str]* | :heavy_check_mark: | The URL to redirect to when a link under this domain has expired. | https://acme.com/expired |
1515
| `not_found_url` | *Nullable[str]* | :heavy_check_mark: | The URL to redirect to when a link under this domain doesn't exist. | https://acme.com/not-found |
16+
| `logo` | *Nullable[str]* | :heavy_check_mark: | The logo of the domain. | |
1617
| `asset_links` | *OptionalNullable[str]* | :heavy_minus_sign: | assetLinks.json configuration file (for deep link support on Android). | |
1718
| `apple_app_site_association` | *OptionalNullable[str]* | :heavy_minus_sign: | apple-app-site-association configuration file (for deep link support on iOS). | |
18-
| `logo` | *Nullable[str]* | :heavy_check_mark: | The logo of the domain. | |
1919
| `created_at` | *str* | :heavy_check_mark: | The date the domain was created. | |
2020
| `updated_at` | *str* | :heavy_check_mark: | The date the domain was last updated. | |
2121
| `registered_domain` | [Nullable[components.RegisteredDomain]](../../models/components/registereddomain.md) | :heavy_check_mark: | The registered domain record. | |

docs/models/components/partner.md

Lines changed: 7 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -10,4 +10,10 @@
1010
| `email` | *Nullable[str]* | :heavy_check_mark: | The partner's email address. Should be a unique value across Dub. |
1111
| `image` | *Nullable[str]* | :heavy_check_mark: | The partner's avatar image. |
1212
| `payouts_enabled_at` | *Nullable[str]* | :heavy_check_mark: | The date when the partner enabled payouts. |
13-
| `country` | *Nullable[str]* | :heavy_check_mark: | The partner's country (required for tax purposes). |
13+
| `country` | *Nullable[str]* | :heavy_check_mark: | The partner's country (required for tax purposes). |
14+
| `total_clicks` | *float* | :heavy_check_mark: | N/A |
15+
| `total_leads` | *float* | :heavy_check_mark: | N/A |
16+
| `total_conversions` | *float* | :heavy_check_mark: | N/A |
17+
| `total_sales` | *float* | :heavy_check_mark: | N/A |
18+
| `total_sale_amount` | *float* | :heavy_check_mark: | N/A |
19+
| `total_commissions` | *float* | :heavy_check_mark: | N/A |

docs/models/operations/mode.md

Lines changed: 6 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -1,11 +1,12 @@
11
# Mode
22

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.
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; `deferred` will defer the lead event creation to a subsequent request.
44

55

66
## Values
77

8-
| Name | Value |
9-
| ------- | ------- |
10-
| `ASYNC` | async |
11-
| `WAIT` | wait |
8+
| Name | Value |
9+
| ---------- | ---------- |
10+
| `ASYNC` | async |
11+
| `WAIT` | wait |
12+
| `DEFERRED` | deferred |

0 commit comments

Comments
 (0)