Skip to content

Commit 890bec9

Browse files
authored
Merge pull request #142 from dubinc/speakeasy-sdk-regen-1754440422
chore: 🐝 Update SDK - Generate 0.27.4
2 parents 529a4b7 + c891c7f commit 890bec9

File tree

8 files changed

+81
-27
lines changed

8 files changed

+81
-27
lines changed

.speakeasy/gen.lock

Lines changed: 9 additions & 9 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: e1d54c2d1b48726f19fe6acc7db01d82
4+
docChecksum: 01948bfd32dd0f2f5519a7d0cb3d4913
55
docVersion: 0.0.1
6-
speakeasyVersion: 1.596.1
7-
generationVersion: 2.672.0
8-
releaseVersion: 0.27.3
9-
configChecksum: fc0bd55c00e03a5725dc68c361f07f9b
6+
speakeasyVersion: 1.598.3
7+
generationVersion: 2.674.3
8+
releaseVersion: 0.27.4
9+
configChecksum: 767526cc08ce09accf56fa4815b1e7ae
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.6
17+
core: 5.19.7
1818
defaultEnabledRetries: 0.2.0
1919
deprecations: 3.0.2
2020
enumUnions: 0.1.0
@@ -1088,7 +1088,7 @@ examples:
10881088
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"}
10891089
responses:
10901090
"201":
1091-
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>", "createdAt": "1718626122952", "expiresAt": "1770609824729"}}
1091+
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}}
10921092
"400":
10931093
application/json: {"error": {"code": "bad_request", "message": "The requested resource was not found.", "doc_url": "https://dub.co/docs/api-reference/errors#bad-request"}}
10941094
"401":
@@ -1116,7 +1116,7 @@ examples:
11161116
pageSize: 50
11171117
responses:
11181118
"200":
1119-
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>", "createdAt": "1723832358686", "expiresAt": "1749463577479"}}]
1119+
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}}]
11201120
"400":
11211121
application/json: {"error": {"code": "bad_request", "message": "The requested resource was not found.", "doc_url": "https://dub.co/docs/api-reference/errors#bad-request"}}
11221122
"401":
@@ -1144,7 +1144,7 @@ examples:
11441144
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"}
11451145
responses:
11461146
"200":
1147-
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>", "createdAt": "1732369443279", "expiresAt": "1760645398022"}}
1147+
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}}
11481148
"400":
11491149
application/json: {"error": {"code": "bad_request", "message": "The requested resource was not found.", "doc_url": "https://dub.co/docs/api-reference/errors#bad-request"}}
11501150
"401":

.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.3
24+
version: 0.27.4
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.596.1
1+
speakeasyVersion: 1.598.3
22
sources:
33
dub:
44
sourceNamespace: dub
5-
sourceRevisionDigest: sha256:321f7b6484b0007ef299b16981ca110c3e4ff00ed4023ec1c8795db14b902a70
6-
sourceBlobDigest: sha256:8d218afcaddfe05409e4bf5f49f72cd5a547702adfe38be5d607a4aaa6c8b225
5+
sourceRevisionDigest: sha256:e2355d3418fb17c5247197ff84d10267f92eac5216cc610bb462b6c0b42e6926
6+
sourceBlobDigest: sha256:564555dca2c90a05b2a2bd441ca992c5aeeee9beee222a534ba39ac1316c7ccd
77
tags:
88
- latest
9-
- speakeasy-sdk-regen-1753403559
9+
- speakeasy-sdk-regen-1754440422
1010
- 0.0.1
1111
targets:
1212
my-first-target:
1313
source: dub
1414
sourceNamespace: dub
15-
sourceRevisionDigest: sha256:321f7b6484b0007ef299b16981ca110c3e4ff00ed4023ec1c8795db14b902a70
16-
sourceBlobDigest: sha256:8d218afcaddfe05409e4bf5f49f72cd5a547702adfe38be5d607a4aaa6c8b225
15+
sourceRevisionDigest: sha256:e2355d3418fb17c5247197ff84d10267f92eac5216cc610bb462b6c0b42e6926
16+
sourceBlobDigest: sha256:564555dca2c90a05b2a2bd441ca992c5aeeee9beee222a534ba39ac1316c7ccd
1717
codeSamplesNamespace: code-samples-python-my-first-target
18-
codeSamplesRevisionDigest: sha256:6a53cc8005a344bad1f4ec5e8c15ed3d6cb5065f98e886ddb4f3011dd0b997e2
18+
codeSamplesRevisionDigest: sha256:31c1318d0b70e7cd47fa8fd085ed2b2713df7c7ebf66c0b91e1a1bb9f188b935
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
@@ -1326,4 +1326,14 @@ Based on:
13261326
### Generated
13271327
- [python v0.27.3] .
13281328
### Releases
1329-
- [PyPI v0.27.3] https://pypi.org/project/dub/0.27.3 - .
1329+
- [PyPI v0.27.3] https://pypi.org/project/dub/0.27.3 - .
1330+
1331+
## 2025-08-07 00:33:44
1332+
### Changes
1333+
Based on:
1334+
- OpenAPI Doc
1335+
- Speakeasy CLI 1.598.3 (2.674.3) https://github.com/speakeasy-api/speakeasy
1336+
### Generated
1337+
- [python v0.27.4] .
1338+
### Releases
1339+
- [PyPI v0.27.4] https://pypi.org/project/dub/0.27.4 - .

docs/models/components/registereddomain.md

Lines changed: 7 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -5,8 +5,10 @@ The registered domain record.
55

66
## Fields
77

8-
| Field | Type | Required | Description |
9-
| --------------------------------------- | --------------------------------------- | --------------------------------------- | --------------------------------------- |
10-
| `id` | *str* | :heavy_check_mark: | The ID of the registered domain record. |
11-
| `created_at` | *str* | :heavy_check_mark: | The date the domain was created. |
12-
| `expires_at` | *str* | :heavy_check_mark: | The date the domain expires. |
8+
| Field | Type | Required | Description |
9+
| ------------------------------------------- | ------------------------------------------- | ------------------------------------------- | ------------------------------------------- |
10+
| `id` | *str* | :heavy_check_mark: | The ID of the registered domain record. |
11+
| `auto_renewal_disabled_at` | *Nullable[str]* | :heavy_check_mark: | The date the domain auto-renew is disabled. |
12+
| `created_at` | *str* | :heavy_check_mark: | The date the domain was created. |
13+
| `expires_at` | *str* | :heavy_check_mark: | The date the domain expires. |
14+
| `renewal_fee` | *float* | :heavy_check_mark: | The fee to renew the domain. |

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.27.3"
3+
version = "0.27.4"
44
description = "Python Client SDK Generated by Speakeasy"
55
authors = [{ name = "Speakeasy" },]
66
readme = "README-PYPI.md"

src/dub/_version.py

Lines changed: 3 additions & 3 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.27.3"
6+
__version__: str = "0.27.4"
77
__openapi_doc_version__: str = "0.0.1"
8-
__gen_version__: str = "2.672.0"
9-
__user_agent__: str = "speakeasy-sdk/python 0.27.3 2.672.0 0.0.1 dub"
8+
__gen_version__: str = "2.674.3"
9+
__user_agent__: str = "speakeasy-sdk/python 0.27.4 2.674.3 0.0.1 dub"
1010

1111
try:
1212
if __package__ is not None:

src/dub/models/components/domainschema.py

Lines changed: 42 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -13,10 +13,14 @@ class RegisteredDomainTypedDict(TypedDict):
1313

1414
id: str
1515
r"""The ID of the registered domain record."""
16+
auto_renewal_disabled_at: Nullable[str]
17+
r"""The date the domain auto-renew is disabled."""
1618
created_at: str
1719
r"""The date the domain was created."""
1820
expires_at: str
1921
r"""The date the domain expires."""
22+
renewal_fee: float
23+
r"""The fee to renew the domain."""
2024

2125

2226
class RegisteredDomain(BaseModel):
@@ -25,12 +29,50 @@ class RegisteredDomain(BaseModel):
2529
id: str
2630
r"""The ID of the registered domain record."""
2731

32+
auto_renewal_disabled_at: Annotated[
33+
Nullable[str], pydantic.Field(alias="autoRenewalDisabledAt")
34+
]
35+
r"""The date the domain auto-renew is disabled."""
36+
2837
created_at: Annotated[str, pydantic.Field(alias="createdAt")]
2938
r"""The date the domain was created."""
3039

3140
expires_at: Annotated[str, pydantic.Field(alias="expiresAt")]
3241
r"""The date the domain expires."""
3342

43+
renewal_fee: Annotated[float, pydantic.Field(alias="renewalFee")]
44+
r"""The fee to renew the domain."""
45+
46+
@model_serializer(mode="wrap")
47+
def serialize_model(self, handler):
48+
optional_fields = []
49+
nullable_fields = ["autoRenewalDisabledAt"]
50+
null_default_fields = []
51+
52+
serialized = handler(self)
53+
54+
m = {}
55+
56+
for n, f in type(self).model_fields.items():
57+
k = f.alias or n
58+
val = serialized.get(k)
59+
serialized.pop(k, None)
60+
61+
optional_nullable = k in optional_fields and k in nullable_fields
62+
is_set = (
63+
self.__pydantic_fields_set__.intersection({n})
64+
or k in null_default_fields
65+
) # pylint: disable=no-member
66+
67+
if val is not None and val != UNSET_SENTINEL:
68+
m[k] = val
69+
elif val != UNSET_SENTINEL and (
70+
not k in optional_fields or (optional_nullable and is_set)
71+
):
72+
m[k] = val
73+
74+
return m
75+
3476

3577
class DomainSchemaTypedDict(TypedDict):
3678
id: str

0 commit comments

Comments
 (0)