dub 0.22.0__tar.gz → 0.22.1__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.22.0 → dub-0.22.1}/PKG-INFO +2 -2
- {dub-0.22.0 → dub-0.22.1}/README-PYPI.md +1 -1
- {dub-0.22.0 → dub-0.22.1}/pyproject.toml +1 -1
- {dub-0.22.0 → dub-0.22.1}/src/dub/_version.py +2 -2
- {dub-0.22.0 → dub-0.22.1}/src/dub/models/operations/getqrcode.py +4 -4
- {dub-0.22.0 → dub-0.22.1}/src/dub/sdk.py +1 -1
- {dub-0.22.0 → dub-0.22.1}/LICENSE +0 -0
- {dub-0.22.0 → dub-0.22.1}/py.typed +0 -0
- {dub-0.22.0 → dub-0.22.1}/src/dub/__init__.py +0 -0
- {dub-0.22.0 → dub-0.22.1}/src/dub/_hooks/__init__.py +0 -0
- {dub-0.22.0 → dub-0.22.1}/src/dub/_hooks/registration.py +0 -0
- {dub-0.22.0 → dub-0.22.1}/src/dub/_hooks/sdkhooks.py +0 -0
- {dub-0.22.0 → dub-0.22.1}/src/dub/_hooks/types.py +0 -0
- {dub-0.22.0 → dub-0.22.1}/src/dub/analytics.py +0 -0
- {dub-0.22.0 → dub-0.22.1}/src/dub/basesdk.py +0 -0
- {dub-0.22.0 → dub-0.22.1}/src/dub/customers.py +0 -0
- {dub-0.22.0 → dub-0.22.1}/src/dub/domains.py +0 -0
- {dub-0.22.0 → dub-0.22.1}/src/dub/embed_tokens.py +0 -0
- {dub-0.22.0 → dub-0.22.1}/src/dub/events.py +0 -0
- {dub-0.22.0 → dub-0.22.1}/src/dub/folders.py +0 -0
- {dub-0.22.0 → dub-0.22.1}/src/dub/httpclient.py +0 -0
- {dub-0.22.0 → dub-0.22.1}/src/dub/links.py +0 -0
- {dub-0.22.0 → dub-0.22.1}/src/dub/models/__init__.py +0 -0
- {dub-0.22.0 → dub-0.22.1}/src/dub/models/components/__init__.py +0 -0
- {dub-0.22.0 → dub-0.22.1}/src/dub/models/components/analyticsbrowsers.py +0 -0
- {dub-0.22.0 → dub-0.22.1}/src/dub/models/components/analyticscities.py +0 -0
- {dub-0.22.0 → dub-0.22.1}/src/dub/models/components/analyticscontinents.py +0 -0
- {dub-0.22.0 → dub-0.22.1}/src/dub/models/components/analyticscount.py +0 -0
- {dub-0.22.0 → dub-0.22.1}/src/dub/models/components/analyticscountries.py +0 -0
- {dub-0.22.0 → dub-0.22.1}/src/dub/models/components/analyticsdevices.py +0 -0
- {dub-0.22.0 → dub-0.22.1}/src/dub/models/components/analyticsos.py +0 -0
- {dub-0.22.0 → dub-0.22.1}/src/dub/models/components/analyticsreferers.py +0 -0
- {dub-0.22.0 → dub-0.22.1}/src/dub/models/components/analyticsrefererurls.py +0 -0
- {dub-0.22.0 → dub-0.22.1}/src/dub/models/components/analyticsregions.py +0 -0
- {dub-0.22.0 → dub-0.22.1}/src/dub/models/components/analyticstimeseries.py +0 -0
- {dub-0.22.0 → dub-0.22.1}/src/dub/models/components/analyticstoplinks.py +0 -0
- {dub-0.22.0 → dub-0.22.1}/src/dub/models/components/analyticstopurls.py +0 -0
- {dub-0.22.0 → dub-0.22.1}/src/dub/models/components/analyticstriggers.py +0 -0
- {dub-0.22.0 → dub-0.22.1}/src/dub/models/components/clickevent.py +0 -0
- {dub-0.22.0 → dub-0.22.1}/src/dub/models/components/continentcode.py +0 -0
- {dub-0.22.0 → dub-0.22.1}/src/dub/models/components/countrycode.py +0 -0
- {dub-0.22.0 → dub-0.22.1}/src/dub/models/components/domainschema.py +0 -0
- {dub-0.22.0 → dub-0.22.1}/src/dub/models/components/folderschema.py +0 -0
- {dub-0.22.0 → dub-0.22.1}/src/dub/models/components/leadcreatedevent.py +0 -0
- {dub-0.22.0 → dub-0.22.1}/src/dub/models/components/leadevent.py +0 -0
- {dub-0.22.0 → dub-0.22.1}/src/dub/models/components/linkclickedevent.py +0 -0
- {dub-0.22.0 → dub-0.22.1}/src/dub/models/components/linkerrorschema.py +0 -0
- {dub-0.22.0 → dub-0.22.1}/src/dub/models/components/linkgeotargeting.py +0 -0
- {dub-0.22.0 → dub-0.22.1}/src/dub/models/components/linkschema.py +0 -0
- {dub-0.22.0 → dub-0.22.1}/src/dub/models/components/linkwebhookevent.py +0 -0
- {dub-0.22.0 → dub-0.22.1}/src/dub/models/components/partneranalyticscount.py +0 -0
- {dub-0.22.0 → dub-0.22.1}/src/dub/models/components/partneranalyticstimeseries.py +0 -0
- {dub-0.22.0 → dub-0.22.1}/src/dub/models/components/partneranalyticstoplinks.py +0 -0
- {dub-0.22.0 → dub-0.22.1}/src/dub/models/components/partnerenrolledevent.py +0 -0
- {dub-0.22.0 → dub-0.22.1}/src/dub/models/components/salecreatedevent.py +0 -0
- {dub-0.22.0 → dub-0.22.1}/src/dub/models/components/saleevent.py +0 -0
- {dub-0.22.0 → dub-0.22.1}/src/dub/models/components/security.py +0 -0
- {dub-0.22.0 → dub-0.22.1}/src/dub/models/components/tagschema.py +0 -0
- {dub-0.22.0 → dub-0.22.1}/src/dub/models/components/webhookevent.py +0 -0
- {dub-0.22.0 → dub-0.22.1}/src/dub/models/components/workspaceschema.py +0 -0
- {dub-0.22.0 → dub-0.22.1}/src/dub/models/errors/__init__.py +0 -0
- {dub-0.22.0 → dub-0.22.1}/src/dub/models/errors/badrequest.py +0 -0
- {dub-0.22.0 → dub-0.22.1}/src/dub/models/errors/conflict.py +0 -0
- {dub-0.22.0 → dub-0.22.1}/src/dub/models/errors/forbidden.py +0 -0
- {dub-0.22.0 → dub-0.22.1}/src/dub/models/errors/internalservererror.py +0 -0
- {dub-0.22.0 → dub-0.22.1}/src/dub/models/errors/inviteexpired.py +0 -0
- {dub-0.22.0 → dub-0.22.1}/src/dub/models/errors/notfound.py +0 -0
- {dub-0.22.0 → dub-0.22.1}/src/dub/models/errors/ratelimitexceeded.py +0 -0
- {dub-0.22.0 → dub-0.22.1}/src/dub/models/errors/sdkerror.py +0 -0
- {dub-0.22.0 → dub-0.22.1}/src/dub/models/errors/unauthorized.py +0 -0
- {dub-0.22.0 → dub-0.22.1}/src/dub/models/errors/unprocessableentity.py +0 -0
- {dub-0.22.0 → dub-0.22.1}/src/dub/models/operations/__init__.py +0 -0
- {dub-0.22.0 → dub-0.22.1}/src/dub/models/operations/bulkcreatelinks.py +0 -0
- {dub-0.22.0 → dub-0.22.1}/src/dub/models/operations/bulkdeletelinks.py +0 -0
- {dub-0.22.0 → dub-0.22.1}/src/dub/models/operations/bulkupdatelinks.py +0 -0
- {dub-0.22.0 → dub-0.22.1}/src/dub/models/operations/createcustomer.py +0 -0
- {dub-0.22.0 → dub-0.22.1}/src/dub/models/operations/createdomain.py +0 -0
- {dub-0.22.0 → dub-0.22.1}/src/dub/models/operations/createfolder.py +0 -0
- {dub-0.22.0 → dub-0.22.1}/src/dub/models/operations/createlink.py +0 -0
- {dub-0.22.0 → dub-0.22.1}/src/dub/models/operations/createpartner.py +0 -0
- {dub-0.22.0 → dub-0.22.1}/src/dub/models/operations/createpartnerlink.py +0 -0
- {dub-0.22.0 → dub-0.22.1}/src/dub/models/operations/createreferralsembedtoken.py +0 -0
- {dub-0.22.0 → dub-0.22.1}/src/dub/models/operations/createtag.py +0 -0
- {dub-0.22.0 → dub-0.22.1}/src/dub/models/operations/deletecustomer.py +0 -0
- {dub-0.22.0 → dub-0.22.1}/src/dub/models/operations/deletedomain.py +0 -0
- {dub-0.22.0 → dub-0.22.1}/src/dub/models/operations/deletefolder.py +0 -0
- {dub-0.22.0 → dub-0.22.1}/src/dub/models/operations/deletelink.py +0 -0
- {dub-0.22.0 → dub-0.22.1}/src/dub/models/operations/deletetag.py +0 -0
- {dub-0.22.0 → dub-0.22.1}/src/dub/models/operations/getcustomer.py +0 -0
- {dub-0.22.0 → dub-0.22.1}/src/dub/models/operations/getcustomers.py +0 -0
- {dub-0.22.0 → dub-0.22.1}/src/dub/models/operations/getlinkinfo.py +0 -0
- {dub-0.22.0 → dub-0.22.1}/src/dub/models/operations/getlinks.py +0 -0
- {dub-0.22.0 → dub-0.22.1}/src/dub/models/operations/getlinkscount.py +0 -0
- {dub-0.22.0 → dub-0.22.1}/src/dub/models/operations/gettags.py +0 -0
- {dub-0.22.0 → dub-0.22.1}/src/dub/models/operations/getworkspace.py +0 -0
- {dub-0.22.0 → dub-0.22.1}/src/dub/models/operations/listdomains.py +0 -0
- {dub-0.22.0 → dub-0.22.1}/src/dub/models/operations/listevents.py +0 -0
- {dub-0.22.0 → dub-0.22.1}/src/dub/models/operations/listfolders.py +0 -0
- {dub-0.22.0 → dub-0.22.1}/src/dub/models/operations/retrieveanalytics.py +0 -0
- {dub-0.22.0 → dub-0.22.1}/src/dub/models/operations/retrievelinks.py +0 -0
- {dub-0.22.0 → dub-0.22.1}/src/dub/models/operations/retrievepartneranalytics.py +0 -0
- {dub-0.22.0 → dub-0.22.1}/src/dub/models/operations/tracklead.py +0 -0
- {dub-0.22.0 → dub-0.22.1}/src/dub/models/operations/tracksale.py +0 -0
- {dub-0.22.0 → dub-0.22.1}/src/dub/models/operations/updatecustomer.py +0 -0
- {dub-0.22.0 → dub-0.22.1}/src/dub/models/operations/updatedomain.py +0 -0
- {dub-0.22.0 → dub-0.22.1}/src/dub/models/operations/updatefolder.py +0 -0
- {dub-0.22.0 → dub-0.22.1}/src/dub/models/operations/updatelink.py +0 -0
- {dub-0.22.0 → dub-0.22.1}/src/dub/models/operations/updatepartnersale.py +0 -0
- {dub-0.22.0 → dub-0.22.1}/src/dub/models/operations/updatetag.py +0 -0
- {dub-0.22.0 → dub-0.22.1}/src/dub/models/operations/updateworkspace.py +0 -0
- {dub-0.22.0 → dub-0.22.1}/src/dub/models/operations/upsertlink.py +0 -0
- {dub-0.22.0 → dub-0.22.1}/src/dub/models/operations/upsertpartnerlink.py +0 -0
- {dub-0.22.0 → dub-0.22.1}/src/dub/partners.py +0 -0
- {dub-0.22.0 → dub-0.22.1}/src/dub/py.typed +0 -0
- {dub-0.22.0 → dub-0.22.1}/src/dub/qr_codes.py +0 -0
- {dub-0.22.0 → dub-0.22.1}/src/dub/sdkconfiguration.py +0 -0
- {dub-0.22.0 → dub-0.22.1}/src/dub/tags.py +0 -0
- {dub-0.22.0 → dub-0.22.1}/src/dub/track.py +0 -0
- {dub-0.22.0 → dub-0.22.1}/src/dub/types/__init__.py +0 -0
- {dub-0.22.0 → dub-0.22.1}/src/dub/types/basemodel.py +0 -0
- {dub-0.22.0 → dub-0.22.1}/src/dub/utils/__init__.py +0 -0
- {dub-0.22.0 → dub-0.22.1}/src/dub/utils/annotations.py +0 -0
- {dub-0.22.0 → dub-0.22.1}/src/dub/utils/datetimes.py +0 -0
- {dub-0.22.0 → dub-0.22.1}/src/dub/utils/enums.py +0 -0
- {dub-0.22.0 → dub-0.22.1}/src/dub/utils/eventstreaming.py +0 -0
- {dub-0.22.0 → dub-0.22.1}/src/dub/utils/forms.py +0 -0
- {dub-0.22.0 → dub-0.22.1}/src/dub/utils/headers.py +0 -0
- {dub-0.22.0 → dub-0.22.1}/src/dub/utils/logger.py +0 -0
- {dub-0.22.0 → dub-0.22.1}/src/dub/utils/metadata.py +0 -0
- {dub-0.22.0 → dub-0.22.1}/src/dub/utils/queryparams.py +0 -0
- {dub-0.22.0 → dub-0.22.1}/src/dub/utils/requestbodies.py +0 -0
- {dub-0.22.0 → dub-0.22.1}/src/dub/utils/retries.py +0 -0
- {dub-0.22.0 → dub-0.22.1}/src/dub/utils/security.py +0 -0
- {dub-0.22.0 → dub-0.22.1}/src/dub/utils/serializers.py +0 -0
- {dub-0.22.0 → dub-0.22.1}/src/dub/utils/url.py +0 -0
- {dub-0.22.0 → dub-0.22.1}/src/dub/utils/values.py +0 -0
- {dub-0.22.0 → dub-0.22.1}/src/dub/workspaces.py +0 -0
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
Metadata-Version: 2.3
|
|
2
2
|
Name: dub
|
|
3
|
-
Version: 0.22.
|
|
3
|
+
Version: 0.22.1
|
|
4
4
|
Summary: Python Client SDK Generated by Speakeasy
|
|
5
5
|
Author: Speakeasy
|
|
6
6
|
Requires-Python: >=3.9
|
|
@@ -32,7 +32,7 @@ Learn more about the Dub.co Python SDK in the [official documentation](https://d
|
|
|
32
32
|
<!-- Start Summary [summary] -->
|
|
33
33
|
## Summary
|
|
34
34
|
|
|
35
|
-
Dub
|
|
35
|
+
Dub API: Dub is link management infrastructure for companies to create marketing campaigns, link sharing features, and referral programs.
|
|
36
36
|
<!-- End Summary [summary] -->
|
|
37
37
|
|
|
38
38
|
<!-- Start Table of Contents [toc] -->
|
|
@@ -14,7 +14,7 @@ Learn more about the Dub.co Python SDK in the [official documentation](https://d
|
|
|
14
14
|
<!-- Start Summary [summary] -->
|
|
15
15
|
## Summary
|
|
16
16
|
|
|
17
|
-
Dub
|
|
17
|
+
Dub API: Dub is link management infrastructure for companies to create marketing campaigns, link sharing features, and referral programs.
|
|
18
18
|
<!-- End Summary [summary] -->
|
|
19
19
|
|
|
20
20
|
<!-- Start Table of Contents [toc] -->
|
|
@@ -3,10 +3,10 @@
|
|
|
3
3
|
import importlib.metadata
|
|
4
4
|
|
|
5
5
|
__title__: str = "dub"
|
|
6
|
-
__version__: str = "0.22.
|
|
6
|
+
__version__: str = "0.22.1"
|
|
7
7
|
__openapi_doc_version__: str = "0.0.1"
|
|
8
8
|
__gen_version__: str = "2.593.4"
|
|
9
|
-
__user_agent__: str = "speakeasy-sdk/python 0.22.
|
|
9
|
+
__user_agent__: str = "speakeasy-sdk/python 0.22.1 2.593.4 0.0.1 dub"
|
|
10
10
|
|
|
11
11
|
try:
|
|
12
12
|
if __package__ is not None:
|
|
@@ -22,7 +22,7 @@ class GetQRCodeRequestTypedDict(TypedDict):
|
|
|
22
22
|
url: str
|
|
23
23
|
r"""The URL to generate a QR code for."""
|
|
24
24
|
logo: NotRequired[str]
|
|
25
|
-
r"""The logo to include in the QR code. Can only be used with a paid plan on Dub.
|
|
25
|
+
r"""The logo to include in the QR code. Can only be used with a paid plan on Dub."""
|
|
26
26
|
size: NotRequired[float]
|
|
27
27
|
r"""The size of the QR code in pixels. Defaults to `600` if not provided."""
|
|
28
28
|
level: NotRequired[Level]
|
|
@@ -32,7 +32,7 @@ class GetQRCodeRequestTypedDict(TypedDict):
|
|
|
32
32
|
bg_color: NotRequired[str]
|
|
33
33
|
r"""The background color of the QR code in hex format. Defaults to `#ffffff` if not provided."""
|
|
34
34
|
hide_logo: NotRequired[bool]
|
|
35
|
-
r"""Whether to hide the logo in the QR code. Can only be used with a paid plan on Dub.
|
|
35
|
+
r"""Whether to hide the logo in the QR code. Can only be used with a paid plan on Dub."""
|
|
36
36
|
margin: NotRequired[float]
|
|
37
37
|
r"""The size of the margin around the QR code. Defaults to 2 if not provided."""
|
|
38
38
|
include_margin: NotRequired[bool]
|
|
@@ -49,7 +49,7 @@ class GetQRCodeRequest(BaseModel):
|
|
|
49
49
|
Optional[str],
|
|
50
50
|
FieldMetadata(query=QueryParamMetadata(style="form", explode=True)),
|
|
51
51
|
] = None
|
|
52
|
-
r"""The logo to include in the QR code. Can only be used with a paid plan on Dub.
|
|
52
|
+
r"""The logo to include in the QR code. Can only be used with a paid plan on Dub."""
|
|
53
53
|
|
|
54
54
|
size: Annotated[
|
|
55
55
|
Optional[float],
|
|
@@ -82,7 +82,7 @@ class GetQRCodeRequest(BaseModel):
|
|
|
82
82
|
pydantic.Field(alias="hideLogo"),
|
|
83
83
|
FieldMetadata(query=QueryParamMetadata(style="form", explode=True)),
|
|
84
84
|
] = True
|
|
85
|
-
r"""Whether to hide the logo in the QR code. Can only be used with a paid plan on Dub.
|
|
85
|
+
r"""Whether to hide the logo in the QR code. Can only be used with a paid plan on Dub."""
|
|
86
86
|
|
|
87
87
|
margin: Annotated[
|
|
88
88
|
Optional[float],
|
|
@@ -27,7 +27,7 @@ import weakref
|
|
|
27
27
|
|
|
28
28
|
|
|
29
29
|
class Dub(BaseSDK):
|
|
30
|
-
r"""Dub
|
|
30
|
+
r"""Dub API: Dub is link management infrastructure for companies to create marketing campaigns, link sharing features, and referral programs."""
|
|
31
31
|
|
|
32
32
|
links: Links
|
|
33
33
|
analytics: Analytics
|
|
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
|