Skip to content

Commit d160bdd

Browse files
committed
ci: regenerated with OpenAPI Doc , Speakeasy CLI 1.554.1
1 parent fef6255 commit d160bdd

10 files changed

Lines changed: 96 additions & 76 deletions

File tree

.speakeasy/gen.lock

Lines changed: 3 additions & 3 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: 9d033093e42cd27429acd73656f8ede6
4+
docChecksum: 0a8f1269dd811d1db24f573a0bb6361e
55
docVersion: 0.0.1
66
speakeasyVersion: 1.554.1
77
generationVersion: 2.616.1
8-
releaseVersion: 0.26.1
9-
configChecksum: fa6e850d43e14481e271e8ec6e389b1a
8+
releaseVersion: 0.26.2
9+
configChecksum: 8457511216877030a3f48ef6f413040c
1010
repoURL: https://github.com/dubinc/dub-python.git
1111
installationURL: https://github.com/dubinc/dub-python.git
1212
published: true

.speakeasy/gen.yaml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -17,7 +17,7 @@ generation:
1717
oAuth2ClientCredentialsEnabled: true
1818
oAuth2PasswordEnabled: false
1919
python:
20-
version: 0.26.1
20+
version: 0.26.2
2121
additionalDependencies:
2222
dev: {}
2323
main: {}

.speakeasy/workflow.lock

Lines changed: 6 additions & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -2,20 +2,20 @@ speakeasyVersion: 1.554.1
22
sources:
33
dub:
44
sourceNamespace: dub
5-
sourceRevisionDigest: sha256:d8c70a409f05ae4be4604391ffab2159bab71cdfd1c9cdec6e4beed66781b1b7
6-
sourceBlobDigest: sha256:9fe020f38c729b18bd0e11690f5c738d880ff4fbafb3ac5a9c512cc02c7586d3
5+
sourceRevisionDigest: sha256:1cd2d64502edd90829f5ed0f06d271f7d3ed735d9b2f408f8f711de61c73215c
6+
sourceBlobDigest: sha256:387d2b08867f617c561addaeee0ec31c645bb7ba82e2fa1fa12969554ba69d03
77
tags:
88
- latest
9-
- speakeasy-sdk-regen-1748738253
9+
- speakeasy-sdk-regen-1748824322
1010
- 0.0.1
1111
targets:
1212
my-first-target:
1313
source: dub
1414
sourceNamespace: dub
15-
sourceRevisionDigest: sha256:d8c70a409f05ae4be4604391ffab2159bab71cdfd1c9cdec6e4beed66781b1b7
16-
sourceBlobDigest: sha256:9fe020f38c729b18bd0e11690f5c738d880ff4fbafb3ac5a9c512cc02c7586d3
15+
sourceRevisionDigest: sha256:1cd2d64502edd90829f5ed0f06d271f7d3ed735d9b2f408f8f711de61c73215c
16+
sourceBlobDigest: sha256:387d2b08867f617c561addaeee0ec31c645bb7ba82e2fa1fa12969554ba69d03
1717
codeSamplesNamespace: code-samples-python-my-first-target
18-
codeSamplesRevisionDigest: sha256:67cf66b460fdf0e3f363ccea9892691e656f992cde875aef19863df6b07a47e5
18+
codeSamplesRevisionDigest: sha256:896c60b575f6d92fb2e8691021a7007a3e6dcd9e4f9ea0f46e0af10ca0a41ec7
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
@@ -1176,4 +1176,14 @@ Based on:
11761176
### Generated
11771177
- [python v0.26.1] .
11781178
### Releases
1179-
- [PyPI v0.26.1] https://pypi.org/project/dub/0.26.1 - .
1179+
- [PyPI v0.26.1] https://pypi.org/project/dub/0.26.1 - .
1180+
1181+
## 2025-06-02 00:31:46
1182+
### Changes
1183+
Based on:
1184+
- OpenAPI Doc
1185+
- Speakeasy CLI 1.554.1 (2.616.1) https://github.com/speakeasy-api/speakeasy
1186+
### Generated
1187+
- [python v0.26.2] .
1188+
### Releases
1189+
- [PyPI v0.26.2] https://pypi.org/project/dub/0.26.2 - .

docs/models/components/partnerenrolledeventdata.md

Lines changed: 28 additions & 28 deletions
Large diffs are not rendered by default.

docs/models/operations/createpartnerresponsebody.md

Lines changed: 28 additions & 28 deletions
Large diffs are not rendered by default.

pyproject.toml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
[project]
22
name = "dub"
3-
version = "0.26.1"
3+
version = "0.26.2"
44
description = "Python Client SDK Generated by Speakeasy"
55
authors = [{ name = "Speakeasy" },]
66
readme = "README-PYPI.md"

src/dub/_version.py

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -3,10 +3,10 @@
33
import importlib.metadata
44

55
__title__: str = "dub"
6-
__version__: str = "0.26.1"
6+
__version__: str = "0.26.2"
77
__openapi_doc_version__: str = "0.0.1"
88
__gen_version__: str = "2.616.1"
9-
__user_agent__: str = "speakeasy-sdk/python 0.26.1 2.616.1 0.0.1 dub"
9+
__user_agent__: str = "speakeasy-sdk/python 0.26.2 2.616.1 0.0.1 dub"
1010

1111
try:
1212
if __package__ is not None:

src/dub/models/components/partnerenrolledevent.py

Lines changed: 8 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -124,7 +124,7 @@ class PartnerEnrolledEventDataTypedDict(TypedDict):
124124
sale_amount: NotRequired[float]
125125
r"""The total amount of sales (in cents) generated by the partner's links."""
126126
earnings: NotRequired[float]
127-
r"""The total earnings/commissions accrued by the partner's links."""
127+
r"""DEPRECATED: The total earnings/commissions accrued by the partner's links."""
128128
application_id: NotRequired[Nullable[str]]
129129
r"""If the partner submitted an application to join the program, this is the ID of the application."""
130130

@@ -204,8 +204,13 @@ class PartnerEnrolledEventData(BaseModel):
204204
sale_amount: Annotated[Optional[float], pydantic.Field(alias="saleAmount")] = 0
205205
r"""The total amount of sales (in cents) generated by the partner's links."""
206206

207-
earnings: Optional[float] = 0
208-
r"""The total earnings/commissions accrued by the partner's links."""
207+
earnings: Annotated[
208+
Optional[float],
209+
pydantic.Field(
210+
deprecated="warning: ** DEPRECATED ** - This will be removed in a future release, please migrate away from it as soon as possible."
211+
),
212+
] = 0
213+
r"""DEPRECATED: The total earnings/commissions accrued by the partner's links."""
209214

210215
application_id: Annotated[
211216
OptionalNullable[str], pydantic.Field(alias="applicationId")

src/dub/models/operations/createpartner.py

Lines changed: 8 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -753,7 +753,7 @@ class CreatePartnerResponseBodyTypedDict(TypedDict):
753753
sale_amount: NotRequired[float]
754754
r"""The total amount of sales (in cents) generated by the partner's links."""
755755
earnings: NotRequired[float]
756-
r"""The total earnings/commissions accrued by the partner's links."""
756+
r"""DEPRECATED: The total earnings/commissions accrued by the partner's links."""
757757
application_id: NotRequired[Nullable[str]]
758758
r"""If the partner submitted an application to join the program, this is the ID of the application."""
759759

@@ -835,8 +835,13 @@ class CreatePartnerResponseBody(BaseModel):
835835
sale_amount: Annotated[Optional[float], pydantic.Field(alias="saleAmount")] = 0
836836
r"""The total amount of sales (in cents) generated by the partner's links."""
837837

838-
earnings: Optional[float] = 0
839-
r"""The total earnings/commissions accrued by the partner's links."""
838+
earnings: Annotated[
839+
Optional[float],
840+
pydantic.Field(
841+
deprecated="warning: ** DEPRECATED ** - This will be removed in a future release, please migrate away from it as soon as possible."
842+
),
843+
] = 0
844+
r"""DEPRECATED: The total earnings/commissions accrued by the partner's links."""
840845

841846
application_id: Annotated[
842847
OptionalNullable[str], pydantic.Field(alias="applicationId")

0 commit comments

Comments
 (0)