dub 0.27.3__tar.gz → 0.27.4__tar.gz
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- {dub-0.27.3 → dub-0.27.4}/PKG-INFO +1 -1
- {dub-0.27.3 → dub-0.27.4}/pyproject.toml +1 -1
- {dub-0.27.3 → dub-0.27.4}/src/dub/_version.py +3 -3
- {dub-0.27.3 → dub-0.27.4}/src/dub/models/components/domainschema.py +42 -0
- {dub-0.27.3 → dub-0.27.4}/LICENSE +0 -0
- {dub-0.27.3 → dub-0.27.4}/README-PYPI.md +0 -0
- {dub-0.27.3 → dub-0.27.4}/py.typed +0 -0
- {dub-0.27.3 → dub-0.27.4}/src/dub/__init__.py +0 -0
- {dub-0.27.3 → dub-0.27.4}/src/dub/_hooks/__init__.py +0 -0
- {dub-0.27.3 → dub-0.27.4}/src/dub/_hooks/registration.py +0 -0
- {dub-0.27.3 → dub-0.27.4}/src/dub/_hooks/sdkhooks.py +0 -0
- {dub-0.27.3 → dub-0.27.4}/src/dub/_hooks/types.py +0 -0
- {dub-0.27.3 → dub-0.27.4}/src/dub/analytics.py +0 -0
- {dub-0.27.3 → dub-0.27.4}/src/dub/basesdk.py +0 -0
- {dub-0.27.3 → dub-0.27.4}/src/dub/commissions.py +0 -0
- {dub-0.27.3 → dub-0.27.4}/src/dub/customers.py +0 -0
- {dub-0.27.3 → dub-0.27.4}/src/dub/domains.py +0 -0
- {dub-0.27.3 → dub-0.27.4}/src/dub/embed_tokens.py +0 -0
- {dub-0.27.3 → dub-0.27.4}/src/dub/events.py +0 -0
- {dub-0.27.3 → dub-0.27.4}/src/dub/folders.py +0 -0
- {dub-0.27.3 → dub-0.27.4}/src/dub/httpclient.py +0 -0
- {dub-0.27.3 → dub-0.27.4}/src/dub/links.py +0 -0
- {dub-0.27.3 → dub-0.27.4}/src/dub/models/__init__.py +0 -0
- {dub-0.27.3 → dub-0.27.4}/src/dub/models/components/__init__.py +0 -0
- {dub-0.27.3 → dub-0.27.4}/src/dub/models/components/analyticsbrowsers.py +0 -0
- {dub-0.27.3 → dub-0.27.4}/src/dub/models/components/analyticscities.py +0 -0
- {dub-0.27.3 → dub-0.27.4}/src/dub/models/components/analyticscontinents.py +0 -0
- {dub-0.27.3 → dub-0.27.4}/src/dub/models/components/analyticscount.py +0 -0
- {dub-0.27.3 → dub-0.27.4}/src/dub/models/components/analyticscountries.py +0 -0
- {dub-0.27.3 → dub-0.27.4}/src/dub/models/components/analyticsdevices.py +0 -0
- {dub-0.27.3 → dub-0.27.4}/src/dub/models/components/analyticsos.py +0 -0
- {dub-0.27.3 → dub-0.27.4}/src/dub/models/components/analyticsreferers.py +0 -0
- {dub-0.27.3 → dub-0.27.4}/src/dub/models/components/analyticsrefererurls.py +0 -0
- {dub-0.27.3 → dub-0.27.4}/src/dub/models/components/analyticsregions.py +0 -0
- {dub-0.27.3 → dub-0.27.4}/src/dub/models/components/analyticstimeseries.py +0 -0
- {dub-0.27.3 → dub-0.27.4}/src/dub/models/components/analyticstoplinks.py +0 -0
- {dub-0.27.3 → dub-0.27.4}/src/dub/models/components/analyticstopurls.py +0 -0
- {dub-0.27.3 → dub-0.27.4}/src/dub/models/components/analyticstriggers.py +0 -0
- {dub-0.27.3 → dub-0.27.4}/src/dub/models/components/clickevent.py +0 -0
- {dub-0.27.3 → dub-0.27.4}/src/dub/models/components/commissioncreatedevent.py +0 -0
- {dub-0.27.3 → dub-0.27.4}/src/dub/models/components/continentcode.py +0 -0
- {dub-0.27.3 → dub-0.27.4}/src/dub/models/components/countrycode.py +0 -0
- {dub-0.27.3 → dub-0.27.4}/src/dub/models/components/folderschema.py +0 -0
- {dub-0.27.3 → dub-0.27.4}/src/dub/models/components/leadcreatedevent.py +0 -0
- {dub-0.27.3 → dub-0.27.4}/src/dub/models/components/leadevent.py +0 -0
- {dub-0.27.3 → dub-0.27.4}/src/dub/models/components/linkclickedevent.py +0 -0
- {dub-0.27.3 → dub-0.27.4}/src/dub/models/components/linkerrorschema.py +0 -0
- {dub-0.27.3 → dub-0.27.4}/src/dub/models/components/linkgeotargeting.py +0 -0
- {dub-0.27.3 → dub-0.27.4}/src/dub/models/components/linkschema.py +0 -0
- {dub-0.27.3 → dub-0.27.4}/src/dub/models/components/linkwebhookevent.py +0 -0
- {dub-0.27.3 → dub-0.27.4}/src/dub/models/components/partneranalyticscount.py +0 -0
- {dub-0.27.3 → dub-0.27.4}/src/dub/models/components/partneranalyticstimeseries.py +0 -0
- {dub-0.27.3 → dub-0.27.4}/src/dub/models/components/partneranalyticstoplinks.py +0 -0
- {dub-0.27.3 → dub-0.27.4}/src/dub/models/components/partnerenrolledevent.py +0 -0
- {dub-0.27.3 → dub-0.27.4}/src/dub/models/components/salecreatedevent.py +0 -0
- {dub-0.27.3 → dub-0.27.4}/src/dub/models/components/saleevent.py +0 -0
- {dub-0.27.3 → dub-0.27.4}/src/dub/models/components/security.py +0 -0
- {dub-0.27.3 → dub-0.27.4}/src/dub/models/components/tagschema.py +0 -0
- {dub-0.27.3 → dub-0.27.4}/src/dub/models/components/webhookevent.py +0 -0
- {dub-0.27.3 → dub-0.27.4}/src/dub/models/components/workspaceschema.py +0 -0
- {dub-0.27.3 → dub-0.27.4}/src/dub/models/errors/__init__.py +0 -0
- {dub-0.27.3 → dub-0.27.4}/src/dub/models/errors/badrequest.py +0 -0
- {dub-0.27.3 → dub-0.27.4}/src/dub/models/errors/conflict.py +0 -0
- {dub-0.27.3 → dub-0.27.4}/src/dub/models/errors/duberror.py +0 -0
- {dub-0.27.3 → dub-0.27.4}/src/dub/models/errors/forbidden.py +0 -0
- {dub-0.27.3 → dub-0.27.4}/src/dub/models/errors/internalservererror.py +0 -0
- {dub-0.27.3 → dub-0.27.4}/src/dub/models/errors/inviteexpired.py +0 -0
- {dub-0.27.3 → dub-0.27.4}/src/dub/models/errors/no_response_error.py +0 -0
- {dub-0.27.3 → dub-0.27.4}/src/dub/models/errors/notfound.py +0 -0
- {dub-0.27.3 → dub-0.27.4}/src/dub/models/errors/ratelimitexceeded.py +0 -0
- {dub-0.27.3 → dub-0.27.4}/src/dub/models/errors/responsevalidationerror.py +0 -0
- {dub-0.27.3 → dub-0.27.4}/src/dub/models/errors/sdkerror.py +0 -0
- {dub-0.27.3 → dub-0.27.4}/src/dub/models/errors/unauthorized.py +0 -0
- {dub-0.27.3 → dub-0.27.4}/src/dub/models/errors/unprocessableentity.py +0 -0
- {dub-0.27.3 → dub-0.27.4}/src/dub/models/operations/__init__.py +0 -0
- {dub-0.27.3 → dub-0.27.4}/src/dub/models/operations/bulkcreatelinks.py +0 -0
- {dub-0.27.3 → dub-0.27.4}/src/dub/models/operations/bulkdeletelinks.py +0 -0
- {dub-0.27.3 → dub-0.27.4}/src/dub/models/operations/bulkupdatelinks.py +0 -0
- {dub-0.27.3 → dub-0.27.4}/src/dub/models/operations/checkdomainstatus.py +0 -0
- {dub-0.27.3 → dub-0.27.4}/src/dub/models/operations/createcustomer.py +0 -0
- {dub-0.27.3 → dub-0.27.4}/src/dub/models/operations/createdomain.py +0 -0
- {dub-0.27.3 → dub-0.27.4}/src/dub/models/operations/createfolder.py +0 -0
- {dub-0.27.3 → dub-0.27.4}/src/dub/models/operations/createlink.py +0 -0
- {dub-0.27.3 → dub-0.27.4}/src/dub/models/operations/createpartner.py +0 -0
- {dub-0.27.3 → dub-0.27.4}/src/dub/models/operations/createpartnerlink.py +0 -0
- {dub-0.27.3 → dub-0.27.4}/src/dub/models/operations/createreferralsembedtoken.py +0 -0
- {dub-0.27.3 → dub-0.27.4}/src/dub/models/operations/createtag.py +0 -0
- {dub-0.27.3 → dub-0.27.4}/src/dub/models/operations/deletecustomer.py +0 -0
- {dub-0.27.3 → dub-0.27.4}/src/dub/models/operations/deletedomain.py +0 -0
- {dub-0.27.3 → dub-0.27.4}/src/dub/models/operations/deletefolder.py +0 -0
- {dub-0.27.3 → dub-0.27.4}/src/dub/models/operations/deletelink.py +0 -0
- {dub-0.27.3 → dub-0.27.4}/src/dub/models/operations/deletetag.py +0 -0
- {dub-0.27.3 → dub-0.27.4}/src/dub/models/operations/getcustomer.py +0 -0
- {dub-0.27.3 → dub-0.27.4}/src/dub/models/operations/getcustomers.py +0 -0
- {dub-0.27.3 → dub-0.27.4}/src/dub/models/operations/getlinkinfo.py +0 -0
- {dub-0.27.3 → dub-0.27.4}/src/dub/models/operations/getlinks.py +0 -0
- {dub-0.27.3 → dub-0.27.4}/src/dub/models/operations/getlinkscount.py +0 -0
- {dub-0.27.3 → dub-0.27.4}/src/dub/models/operations/getqrcode.py +0 -0
- {dub-0.27.3 → dub-0.27.4}/src/dub/models/operations/gettags.py +0 -0
- {dub-0.27.3 → dub-0.27.4}/src/dub/models/operations/getworkspace.py +0 -0
- {dub-0.27.3 → dub-0.27.4}/src/dub/models/operations/listcommissions.py +0 -0
- {dub-0.27.3 → dub-0.27.4}/src/dub/models/operations/listdomains.py +0 -0
- {dub-0.27.3 → dub-0.27.4}/src/dub/models/operations/listevents.py +0 -0
- {dub-0.27.3 → dub-0.27.4}/src/dub/models/operations/listfolders.py +0 -0
- {dub-0.27.3 → dub-0.27.4}/src/dub/models/operations/listpartners.py +0 -0
- {dub-0.27.3 → dub-0.27.4}/src/dub/models/operations/registerdomain.py +0 -0
- {dub-0.27.3 → dub-0.27.4}/src/dub/models/operations/retrieveanalytics.py +0 -0
- {dub-0.27.3 → dub-0.27.4}/src/dub/models/operations/retrievelinks.py +0 -0
- {dub-0.27.3 → dub-0.27.4}/src/dub/models/operations/retrievepartneranalytics.py +0 -0
- {dub-0.27.3 → dub-0.27.4}/src/dub/models/operations/tracklead.py +0 -0
- {dub-0.27.3 → dub-0.27.4}/src/dub/models/operations/tracksale.py +0 -0
- {dub-0.27.3 → dub-0.27.4}/src/dub/models/operations/updatecommission.py +0 -0
- {dub-0.27.3 → dub-0.27.4}/src/dub/models/operations/updatecustomer.py +0 -0
- {dub-0.27.3 → dub-0.27.4}/src/dub/models/operations/updatedomain.py +0 -0
- {dub-0.27.3 → dub-0.27.4}/src/dub/models/operations/updatefolder.py +0 -0
- {dub-0.27.3 → dub-0.27.4}/src/dub/models/operations/updatelink.py +0 -0
- {dub-0.27.3 → dub-0.27.4}/src/dub/models/operations/updatetag.py +0 -0
- {dub-0.27.3 → dub-0.27.4}/src/dub/models/operations/updateworkspace.py +0 -0
- {dub-0.27.3 → dub-0.27.4}/src/dub/models/operations/upsertlink.py +0 -0
- {dub-0.27.3 → dub-0.27.4}/src/dub/models/operations/upsertpartnerlink.py +0 -0
- {dub-0.27.3 → dub-0.27.4}/src/dub/partners.py +0 -0
- {dub-0.27.3 → dub-0.27.4}/src/dub/py.typed +0 -0
- {dub-0.27.3 → dub-0.27.4}/src/dub/qr_codes.py +0 -0
- {dub-0.27.3 → dub-0.27.4}/src/dub/sdk.py +0 -0
- {dub-0.27.3 → dub-0.27.4}/src/dub/sdkconfiguration.py +0 -0
- {dub-0.27.3 → dub-0.27.4}/src/dub/tags.py +0 -0
- {dub-0.27.3 → dub-0.27.4}/src/dub/track.py +0 -0
- {dub-0.27.3 → dub-0.27.4}/src/dub/types/__init__.py +0 -0
- {dub-0.27.3 → dub-0.27.4}/src/dub/types/basemodel.py +0 -0
- {dub-0.27.3 → dub-0.27.4}/src/dub/utils/__init__.py +0 -0
- {dub-0.27.3 → dub-0.27.4}/src/dub/utils/annotations.py +0 -0
- {dub-0.27.3 → dub-0.27.4}/src/dub/utils/datetimes.py +0 -0
- {dub-0.27.3 → dub-0.27.4}/src/dub/utils/enums.py +0 -0
- {dub-0.27.3 → dub-0.27.4}/src/dub/utils/eventstreaming.py +0 -0
- {dub-0.27.3 → dub-0.27.4}/src/dub/utils/forms.py +0 -0
- {dub-0.27.3 → dub-0.27.4}/src/dub/utils/headers.py +0 -0
- {dub-0.27.3 → dub-0.27.4}/src/dub/utils/logger.py +0 -0
- {dub-0.27.3 → dub-0.27.4}/src/dub/utils/metadata.py +0 -0
- {dub-0.27.3 → dub-0.27.4}/src/dub/utils/queryparams.py +0 -0
- {dub-0.27.3 → dub-0.27.4}/src/dub/utils/requestbodies.py +0 -0
- {dub-0.27.3 → dub-0.27.4}/src/dub/utils/retries.py +0 -0
- {dub-0.27.3 → dub-0.27.4}/src/dub/utils/security.py +0 -0
- {dub-0.27.3 → dub-0.27.4}/src/dub/utils/serializers.py +0 -0
- {dub-0.27.3 → dub-0.27.4}/src/dub/utils/unmarshal_json_response.py +0 -0
- {dub-0.27.3 → dub-0.27.4}/src/dub/utils/url.py +0 -0
- {dub-0.27.3 → dub-0.27.4}/src/dub/utils/values.py +0 -0
- {dub-0.27.3 → dub-0.27.4}/src/dub/workspaces.py +0 -0
|
@@ -3,10 +3,10 @@
|
|
|
3
3
|
import importlib.metadata
|
|
4
4
|
|
|
5
5
|
__title__: str = "dub"
|
|
6
|
-
__version__: str = "0.27.
|
|
6
|
+
__version__: str = "0.27.4"
|
|
7
7
|
__openapi_doc_version__: str = "0.0.1"
|
|
8
|
-
__gen_version__: str = "2.
|
|
9
|
-
__user_agent__: str = "speakeasy-sdk/python 0.27.
|
|
8
|
+
__gen_version__: str = "2.674.3"
|
|
9
|
+
__user_agent__: str = "speakeasy-sdk/python 0.27.4 2.674.3 0.0.1 dub"
|
|
10
10
|
|
|
11
11
|
try:
|
|
12
12
|
if __package__ is not None:
|
|
@@ -13,10 +13,14 @@ class RegisteredDomainTypedDict(TypedDict):
|
|
|
13
13
|
|
|
14
14
|
id: str
|
|
15
15
|
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."""
|
|
16
18
|
created_at: str
|
|
17
19
|
r"""The date the domain was created."""
|
|
18
20
|
expires_at: str
|
|
19
21
|
r"""The date the domain expires."""
|
|
22
|
+
renewal_fee: float
|
|
23
|
+
r"""The fee to renew the domain."""
|
|
20
24
|
|
|
21
25
|
|
|
22
26
|
class RegisteredDomain(BaseModel):
|
|
@@ -25,12 +29,50 @@ class RegisteredDomain(BaseModel):
|
|
|
25
29
|
id: str
|
|
26
30
|
r"""The ID of the registered domain record."""
|
|
27
31
|
|
|
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
|
+
|
|
28
37
|
created_at: Annotated[str, pydantic.Field(alias="createdAt")]
|
|
29
38
|
r"""The date the domain was created."""
|
|
30
39
|
|
|
31
40
|
expires_at: Annotated[str, pydantic.Field(alias="expiresAt")]
|
|
32
41
|
r"""The date the domain expires."""
|
|
33
42
|
|
|
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
|
+
|
|
34
76
|
|
|
35
77
|
class DomainSchemaTypedDict(TypedDict):
|
|
36
78
|
id: str
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|