dub 0.27.4__py3-none-any.whl → 0.28.1__py3-none-any.whl
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/_version.py +3 -3
- dub/models/components/__init__.py +0 -56
- dub/models/components/clickevent.py +5 -764
- dub/models/components/leadcreatedevent.py +5 -764
- dub/models/components/leadevent.py +5 -764
- dub/models/components/linkclickedevent.py +5 -764
- dub/models/components/linkschema.py +5 -764
- dub/models/components/linkwebhookevent.py +5 -764
- dub/models/components/partnerenrolledevent.py +20 -7
- dub/models/components/salecreatedevent.py +5 -764
- dub/models/components/saleevent.py +13 -772
- dub/models/components/tagschema.py +1 -1
- dub/models/components/workspaceschema.py +5 -5
- dub/models/operations/__init__.py +0 -6
- dub/models/operations/bulkcreatelinks.py +5 -6
- dub/models/operations/bulkupdatelinks.py +5 -6
- dub/models/operations/createcustomer.py +0 -3
- dub/models/operations/createlink.py +5 -6
- dub/models/operations/createpartner.py +30 -266
- dub/models/operations/createreferralsembedtoken.py +10 -260
- dub/models/operations/createtag.py +4 -4
- dub/models/operations/getcustomer.py +0 -3
- dub/models/operations/getcustomers.py +0 -3
- dub/models/operations/listcommissions.py +9 -0
- dub/models/operations/listevents.py +4 -5
- dub/models/operations/listpartners.py +23 -9
- dub/models/operations/retrieveanalytics.py +4 -5
- dub/models/operations/retrievepartneranalytics.py +8 -0
- dub/models/operations/tracksale.py +8 -7
- dub/models/operations/updatecustomer.py +0 -3
- dub/models/operations/updatelink.py +5 -6
- dub/models/operations/updatetag.py +4 -4
- dub/models/operations/updateworkspace.py +2 -13
- dub/models/operations/upsertlink.py +5 -6
- {dub-0.27.4.dist-info → dub-0.28.1.dist-info}/METADATA +12 -4
- {dub-0.27.4.dist-info → dub-0.28.1.dist-info}/RECORD +38 -40
- dub/models/components/countrycode.py +0 -259
- dub/models/components/linkgeotargeting.py +0 -766
- {dub-0.27.4.dist-info → dub-0.28.1.dist-info}/LICENSE +0 -0
- {dub-0.27.4.dist-info → dub-0.28.1.dist-info}/WHEEL +0 -0
|
@@ -1,12 +1,11 @@
|
|
|
1
1
|
"""Code generated by Speakeasy (https://speakeasy.com). DO NOT EDIT."""
|
|
2
2
|
|
|
3
3
|
from __future__ import annotations
|
|
4
|
-
from dub.models.components import linkgeotargeting as components_linkgeotargeting
|
|
5
4
|
from dub.types import BaseModel, Nullable, OptionalNullable, UNSET, UNSET_SENTINEL
|
|
6
5
|
from dub.utils import FieldMetadata, PathParamMetadata, RequestMetadata
|
|
7
6
|
import pydantic
|
|
8
7
|
from pydantic import model_serializer
|
|
9
|
-
from typing import List, Optional, Union
|
|
8
|
+
from typing import Dict, List, Optional, Union
|
|
10
9
|
from typing_extensions import Annotated, NotRequired, TypeAliasType, TypedDict
|
|
11
10
|
|
|
12
11
|
|
|
@@ -89,8 +88,8 @@ class UpdateLinkRequestBodyTypedDict(TypedDict):
|
|
|
89
88
|
r"""The iOS destination URL for the short link for iOS device targeting."""
|
|
90
89
|
android: NotRequired[Nullable[str]]
|
|
91
90
|
r"""The Android destination URL for the short link for Android device targeting."""
|
|
92
|
-
geo: NotRequired[Nullable[
|
|
93
|
-
r"""Geo targeting information for the short link in JSON format `{[COUNTRY]: https://example.com }`."""
|
|
91
|
+
geo: NotRequired[Nullable[Dict[str, str]]]
|
|
92
|
+
r"""Geo targeting information for the short link in JSON format `{[COUNTRY]: https://example.com }`. See https://d.to/geo for more information."""
|
|
94
93
|
do_index: NotRequired[bool]
|
|
95
94
|
r"""Allow search engines to index your short link. Defaults to `false` if not provided. Learn more: https://d.to/noindex"""
|
|
96
95
|
utm_source: NotRequired[Nullable[str]]
|
|
@@ -211,8 +210,8 @@ class UpdateLinkRequestBody(BaseModel):
|
|
|
211
210
|
android: OptionalNullable[str] = UNSET
|
|
212
211
|
r"""The Android destination URL for the short link for Android device targeting."""
|
|
213
212
|
|
|
214
|
-
geo: OptionalNullable[
|
|
215
|
-
r"""Geo targeting information for the short link in JSON format `{[COUNTRY]: https://example.com }`."""
|
|
213
|
+
geo: OptionalNullable[Dict[str, str]] = UNSET
|
|
214
|
+
r"""Geo targeting information for the short link in JSON format `{[COUNTRY]: https://example.com }`. See https://d.to/geo for more information."""
|
|
216
215
|
|
|
217
216
|
do_index: Annotated[Optional[bool], pydantic.Field(alias="doIndex")] = None
|
|
218
217
|
r"""Allow search engines to index your short link. Defaults to `false` if not provided. Learn more: https://d.to/noindex"""
|
|
@@ -10,22 +10,22 @@ from typing_extensions import Annotated, NotRequired, TypedDict
|
|
|
10
10
|
|
|
11
11
|
|
|
12
12
|
class UpdateTagColor(str, Enum):
|
|
13
|
-
r"""The color of the tag. If not provided, a random color will be used from the list: red, yellow, green, blue, purple,
|
|
13
|
+
r"""The color of the tag. If not provided, a random color will be used from the list: red, yellow, green, blue, purple, brown."""
|
|
14
14
|
|
|
15
15
|
RED = "red"
|
|
16
16
|
YELLOW = "yellow"
|
|
17
17
|
GREEN = "green"
|
|
18
18
|
BLUE = "blue"
|
|
19
19
|
PURPLE = "purple"
|
|
20
|
-
PINK = "pink"
|
|
21
20
|
BROWN = "brown"
|
|
21
|
+
PINK = "pink"
|
|
22
22
|
|
|
23
23
|
|
|
24
24
|
class UpdateTagRequestBodyTypedDict(TypedDict):
|
|
25
25
|
name: NotRequired[str]
|
|
26
26
|
r"""The name of the tag to create."""
|
|
27
27
|
color: NotRequired[UpdateTagColor]
|
|
28
|
-
r"""The color of the tag. If not provided, a random color will be used from the list: red, yellow, green, blue, purple,
|
|
28
|
+
r"""The color of the tag. If not provided, a random color will be used from the list: red, yellow, green, blue, purple, brown."""
|
|
29
29
|
tag: NotRequired[str]
|
|
30
30
|
r"""The name of the tag to create."""
|
|
31
31
|
|
|
@@ -35,7 +35,7 @@ class UpdateTagRequestBody(BaseModel):
|
|
|
35
35
|
r"""The name of the tag to create."""
|
|
36
36
|
|
|
37
37
|
color: Optional[UpdateTagColor] = None
|
|
38
|
-
r"""The color of the tag. If not provided, a random color will be used from the list: red, yellow, green, blue, purple,
|
|
38
|
+
r"""The color of the tag. If not provided, a random color will be used from the list: red, yellow, green, blue, purple, brown."""
|
|
39
39
|
|
|
40
40
|
tag: Annotated[
|
|
41
41
|
Optional[str],
|
|
@@ -5,7 +5,7 @@ from dub.types import BaseModel, Nullable, OptionalNullable, UNSET, UNSET_SENTIN
|
|
|
5
5
|
from dub.utils import FieldMetadata, PathParamMetadata, RequestMetadata
|
|
6
6
|
import pydantic
|
|
7
7
|
from pydantic import model_serializer
|
|
8
|
-
from typing import
|
|
8
|
+
from typing import Optional
|
|
9
9
|
from typing_extensions import Annotated, NotRequired, TypedDict
|
|
10
10
|
|
|
11
11
|
|
|
@@ -14,7 +14,6 @@ class UpdateWorkspaceRequestBodyTypedDict(TypedDict):
|
|
|
14
14
|
slug: NotRequired[str]
|
|
15
15
|
logo: NotRequired[Nullable[str]]
|
|
16
16
|
conversion_enabled: NotRequired[bool]
|
|
17
|
-
allowed_hostnames: NotRequired[List[str]]
|
|
18
17
|
|
|
19
18
|
|
|
20
19
|
class UpdateWorkspaceRequestBody(BaseModel):
|
|
@@ -28,19 +27,9 @@ class UpdateWorkspaceRequestBody(BaseModel):
|
|
|
28
27
|
Optional[bool], pydantic.Field(alias="conversionEnabled")
|
|
29
28
|
] = None
|
|
30
29
|
|
|
31
|
-
allowed_hostnames: Annotated[
|
|
32
|
-
Optional[List[str]], pydantic.Field(alias="allowedHostnames")
|
|
33
|
-
] = None
|
|
34
|
-
|
|
35
30
|
@model_serializer(mode="wrap")
|
|
36
31
|
def serialize_model(self, handler):
|
|
37
|
-
optional_fields = [
|
|
38
|
-
"name",
|
|
39
|
-
"slug",
|
|
40
|
-
"logo",
|
|
41
|
-
"conversionEnabled",
|
|
42
|
-
"allowedHostnames",
|
|
43
|
-
]
|
|
32
|
+
optional_fields = ["name", "slug", "logo", "conversionEnabled"]
|
|
44
33
|
nullable_fields = ["logo"]
|
|
45
34
|
null_default_fields = []
|
|
46
35
|
|
|
@@ -1,11 +1,10 @@
|
|
|
1
1
|
"""Code generated by Speakeasy (https://speakeasy.com). DO NOT EDIT."""
|
|
2
2
|
|
|
3
3
|
from __future__ import annotations
|
|
4
|
-
from dub.models.components import linkgeotargeting as components_linkgeotargeting
|
|
5
4
|
from dub.types import BaseModel, Nullable, OptionalNullable, UNSET, UNSET_SENTINEL
|
|
6
5
|
import pydantic
|
|
7
6
|
from pydantic import model_serializer
|
|
8
|
-
from typing import List, Optional, Union
|
|
7
|
+
from typing import Dict, List, Optional, Union
|
|
9
8
|
from typing_extensions import Annotated, NotRequired, TypeAliasType, TypedDict
|
|
10
9
|
|
|
11
10
|
|
|
@@ -93,8 +92,8 @@ class UpsertLinkRequestBodyTypedDict(TypedDict):
|
|
|
93
92
|
r"""The iOS destination URL for the short link for iOS device targeting."""
|
|
94
93
|
android: NotRequired[Nullable[str]]
|
|
95
94
|
r"""The Android destination URL for the short link for Android device targeting."""
|
|
96
|
-
geo: NotRequired[Nullable[
|
|
97
|
-
r"""Geo targeting information for the short link in JSON format `{[COUNTRY]: https://example.com }`."""
|
|
95
|
+
geo: NotRequired[Nullable[Dict[str, str]]]
|
|
96
|
+
r"""Geo targeting information for the short link in JSON format `{[COUNTRY]: https://example.com }`. See https://d.to/geo for more information."""
|
|
98
97
|
do_index: NotRequired[bool]
|
|
99
98
|
r"""Allow search engines to index your short link. Defaults to `false` if not provided. Learn more: https://d.to/noindex"""
|
|
100
99
|
utm_source: NotRequired[Nullable[str]]
|
|
@@ -222,8 +221,8 @@ class UpsertLinkRequestBody(BaseModel):
|
|
|
222
221
|
android: OptionalNullable[str] = UNSET
|
|
223
222
|
r"""The Android destination URL for the short link for Android device targeting."""
|
|
224
223
|
|
|
225
|
-
geo: OptionalNullable[
|
|
226
|
-
r"""Geo targeting information for the short link in JSON format `{[COUNTRY]: https://example.com }`."""
|
|
224
|
+
geo: OptionalNullable[Dict[str, str]] = UNSET
|
|
225
|
+
r"""Geo targeting information for the short link in JSON format `{[COUNTRY]: https://example.com }`. See https://d.to/geo for more information."""
|
|
227
226
|
|
|
228
227
|
do_index: Annotated[Optional[bool], pydantic.Field(alias="doIndex")] = None
|
|
229
228
|
r"""Allow search engines to index your short link. Defaults to `false` if not provided. Learn more: https://d.to/noindex"""
|
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
Metadata-Version: 2.3
|
|
2
2
|
Name: dub
|
|
3
|
-
Version: 0.
|
|
3
|
+
Version: 0.28.1
|
|
4
4
|
Summary: Python Client SDK Generated by Speakeasy
|
|
5
5
|
Author: Speakeasy
|
|
6
6
|
Requires-Python: >=3.9.2
|
|
@@ -63,7 +63,15 @@ Dub API: Dub is the modern link attribution platform for short links, conversion
|
|
|
63
63
|
>
|
|
64
64
|
> Once a Python version reaches its [official end of life date](https://devguide.python.org/versions/), a 3-month grace period is provided for users to upgrade. Following this grace period, the minimum python version supported in the SDK will be updated.
|
|
65
65
|
|
|
66
|
-
The SDK can be installed with
|
|
66
|
+
The SDK can be installed with *uv*, *pip*, or *poetry* package managers.
|
|
67
|
+
|
|
68
|
+
### uv
|
|
69
|
+
|
|
70
|
+
*uv* is a fast Python package installer and resolver, designed as a drop-in replacement for pip and pip-tools. It's recommended for its speed and modern Python tooling capabilities.
|
|
71
|
+
|
|
72
|
+
```bash
|
|
73
|
+
uv add dub
|
|
74
|
+
```
|
|
67
75
|
|
|
68
76
|
### PIP
|
|
69
77
|
|
|
@@ -153,7 +161,7 @@ with Dub(
|
|
|
153
161
|
|
|
154
162
|
</br>
|
|
155
163
|
|
|
156
|
-
The same SDK client can also be used to make
|
|
164
|
+
The same SDK client can also be used to make asynchronous requests by importing asyncio.
|
|
157
165
|
```python
|
|
158
166
|
# Asynchronous Example
|
|
159
167
|
import asyncio
|
|
@@ -228,7 +236,7 @@ with Dub(
|
|
|
228
236
|
|
|
229
237
|
</br>
|
|
230
238
|
|
|
231
|
-
The same SDK client can also be used to make
|
|
239
|
+
The same SDK client can also be used to make asynchronous requests by importing asyncio.
|
|
232
240
|
```python
|
|
233
241
|
# Asynchronous Example
|
|
234
242
|
import asyncio
|
|
@@ -3,7 +3,7 @@ dub/_hooks/__init__.py,sha256=9_7W5jAYw8rcO8Kfc-Ty-lB82BHfksAJJpVFb_UeU1c,146
|
|
|
3
3
|
dub/_hooks/registration.py,sha256=tT-1Cjp5ax1DL-84HBNWPy4wAwgP-0aI4-asLfnkIlw,625
|
|
4
4
|
dub/_hooks/sdkhooks.py,sha256=2rLEjSz1xFGWabNs1voFn0lXSCqkS38bdKVFdnBJufE,2553
|
|
5
5
|
dub/_hooks/types.py,sha256=5vcNbFBNpCxqI7ZebiBtut7T_Gz2i36L5MjTqGvxV7Y,3035
|
|
6
|
-
dub/_version.py,sha256=
|
|
6
|
+
dub/_version.py,sha256=7WedW8NS5GYo-J2rpWoyUUHKfKN9v_AlNK5O7begZrk,450
|
|
7
7
|
dub/analytics.py,sha256=D4s6aPCiCVxwbG2bIvanBiaDtYZgN1xMwu5DOnuRrVg,12342
|
|
8
8
|
dub/basesdk.py,sha256=6hqUvjS1s4AdIw3STtyBxJwgjqRYCK3ieGqPJVpjBh8,11813
|
|
9
9
|
dub/commissions.py,sha256=OzDAs372f4VszeKJNkR4pR7q5SNI4JiCwz-bzny0YMc,24346
|
|
@@ -15,7 +15,7 @@ dub/folders.py,sha256=6hlJheqGnEu8noq3A-iahury-TxtLJ3e_YiIPr8NDl8,47602
|
|
|
15
15
|
dub/httpclient.py,sha256=Eu73urOAiZQtdUIyOUnPccxCiBbWEKrXG-JrRG3SLM4,3946
|
|
16
16
|
dub/links.py,sha256=vnP7Uu41PtsOr2mqzROSNxQB3InnOoxq4_zNw3_q5L8,121880
|
|
17
17
|
dub/models/__init__.py,sha256=wIW9sbvSKlrGyoPY4mXvHqw-_Inpl6zqpN6U6j-w6SU,83
|
|
18
|
-
dub/models/components/__init__.py,sha256=
|
|
18
|
+
dub/models/components/__init__.py,sha256=rnZCJbot75k-XZJgDcQ-EHP8XRWhVHyRdaoS8-JEX3E,20407
|
|
19
19
|
dub/models/components/analyticsbrowsers.py,sha256=f6qMrkPFf38u3_PIovvdIc0hsX1YpYEaPxNwbXzkoeY,1172
|
|
20
20
|
dub/models/components/analyticscities.py,sha256=zef22QucFtrOCkPDrpvpNlrbX465_0dFHyZ5va_LRRI,1666
|
|
21
21
|
dub/models/components/analyticscontinents.py,sha256=D_SQTm1Xp_pOt7qZTLJVo2B3RQUP8k3MQmsYRQYbjlI,1616
|
|
@@ -30,29 +30,27 @@ dub/models/components/analyticstimeseries.py,sha256=ZEZpE6oX0FPeiy5snz-kwYhXE9pw
|
|
|
30
30
|
dub/models/components/analyticstoplinks.py,sha256=RvhyKQcmDT47F-4sPojhhDgvFYRZCA5k257JrndHSp8,3649
|
|
31
31
|
dub/models/components/analyticstopurls.py,sha256=WN4oF32SSXUlFPpWvx7jKype0SfdBsX1BvrkaKjClRM,1122
|
|
32
32
|
dub/models/components/analyticstriggers.py,sha256=reWQ1cQDNgPc_cDhGrMv5EplFviiyWZ0nYTvU7bm3C0,1484
|
|
33
|
-
dub/models/components/clickevent.py,sha256=
|
|
33
|
+
dub/models/components/clickevent.py,sha256=0n1Cwbq9A12Dw8sUIYoHLtsMIFsAUXJ0PH8fPIjzrsQ,18709
|
|
34
34
|
dub/models/components/commissioncreatedevent.py,sha256=BOhnoO1CFd40suVoEsKlFsZUTRbmVTdEOy6Oq-jmqjo,8573
|
|
35
35
|
dub/models/components/continentcode.py,sha256=YFw3_x0w7CxCQijsbfiiOoS9FbNATeHyGLcw-LEsXYw,315
|
|
36
|
-
dub/models/components/countrycode.py,sha256=NcNDmnQ0TiXuO9JBZQ4tscUIVXld5dyuNcTCa2rtzUA,3796
|
|
37
36
|
dub/models/components/domainschema.py,sha256=UnUP_59baxMMZ8CR8BG_cYuo7VugG6gIrmIhWEkeZ40,6688
|
|
38
37
|
dub/models/components/folderschema.py,sha256=tfVy46SHPHMKl-_bOTr6_j5KHtx6aOJiFniYntBOVe4,2415
|
|
39
|
-
dub/models/components/leadcreatedevent.py,sha256=
|
|
40
|
-
dub/models/components/leadevent.py,sha256=
|
|
41
|
-
dub/models/components/linkclickedevent.py,sha256=
|
|
38
|
+
dub/models/components/leadcreatedevent.py,sha256=HzgsTjqEIDO-xSa0Y87xRCx_dn-koCUqSb5dvuFvbEU,18047
|
|
39
|
+
dub/models/components/leadevent.py,sha256=G21I9c3dEx0dhuU3hTqQ0OS1Y6Hp-tDdXEmj_xAuNcc,22953
|
|
40
|
+
dub/models/components/linkclickedevent.py,sha256=jNJO37xuefH8yJqFcIRd2VkduQ6HAEIz4HPXc9yWJVY,14850
|
|
42
41
|
dub/models/components/linkerrorschema.py,sha256=BHHLHZv1ojPYUO78d8kCKIjgq68uuMMhW7LbyLMbzqo,1114
|
|
43
|
-
dub/models/components/
|
|
44
|
-
dub/models/components/
|
|
45
|
-
dub/models/components/linkwebhookevent.py,sha256=d2IBQ56zIs8EFUpuyVQ88vaZ6v81S8QgcqEuHz3GDF0,37323
|
|
42
|
+
dub/models/components/linkschema.py,sha256=dBIsAtiBnt0Rve7f5BB52nm_8XdM9YWVSAWpRSnyUCE,15032
|
|
43
|
+
dub/models/components/linkwebhookevent.py,sha256=KluSsxIKkFSZYnb_TdNQIMOV_pP2Eg7W7L8pVqAoGW4,13468
|
|
46
44
|
dub/models/components/partneranalyticscount.py,sha256=hJOuFVUTFOuXWviLxExwXDZVgPLBcgmqt8VxeHv7JAw,1035
|
|
47
45
|
dub/models/components/partneranalyticstimeseries.py,sha256=Bh431YfEd8v6TD9o9DPCAwGCDo5Rrf1xR1pccm7q5aw,1268
|
|
48
46
|
dub/models/components/partneranalyticstoplinks.py,sha256=xy1F1vueaBX93Gj2AYqqa7jbEueJy-FAVD5GdnjPva8,3755
|
|
49
|
-
dub/models/components/partnerenrolledevent.py,sha256=
|
|
50
|
-
dub/models/components/salecreatedevent.py,sha256=
|
|
51
|
-
dub/models/components/saleevent.py,sha256=
|
|
47
|
+
dub/models/components/partnerenrolledevent.py,sha256=GoGLX2KX6aKbtyk0PgsI5cpDnWqV5_Zb1l7pUNjuWxw,16542
|
|
48
|
+
dub/models/components/salecreatedevent.py,sha256=B1rj2KvfX4bbReMicWefT_zx2PAbwZWVC84DJZYqLmE,19401
|
|
49
|
+
dub/models/components/saleevent.py,sha256=5PQKE60YPCS5wqNpi5DDxoWeZGHYGd-7RrrndrrTx_U,26568
|
|
52
50
|
dub/models/components/security.py,sha256=be_cng1n5ULto_xGGPBKH1ZE5LrtmBTg6kX2uPJqJOw,599
|
|
53
|
-
dub/models/components/tagschema.py,sha256=
|
|
51
|
+
dub/models/components/tagschema.py,sha256=jZ2MFrE9ctCqR18S0GV-czRTcViglbpl-9h7pUt81VQ,759
|
|
54
52
|
dub/models/components/webhookevent.py,sha256=12SgBns1nVcb0Efs8JR9JO8vmvK25bXMROCT-s0Ue5c,1268
|
|
55
|
-
dub/models/components/workspaceschema.py,sha256=
|
|
53
|
+
dub/models/components/workspaceschema.py,sha256=hS846LkmNv5ZdYZvT1eY7wCQ6-xs_5XMAc2VmdBjPtk,10898
|
|
56
54
|
dub/models/errors/__init__.py,sha256=w8JoPdvBrD8PeIN7mpvBSLG9FPgK4oAT6oWLfu1yK3Y,6080
|
|
57
55
|
dub/models/errors/badrequest.py,sha256=G5UFXCXOZy5raqCb_UpY409hSNT0V8lCiQxZs5iCri8,1646
|
|
58
56
|
dub/models/errors/conflict.py,sha256=tDqlH_1HgU17AgVE2RNH3vnFo1XY03ptSanRtvx3qK0,1562
|
|
@@ -67,51 +65,51 @@ dub/models/errors/responsevalidationerror.py,sha256=SRWiFq2Ip-M7luHULq3POe4JSWzO
|
|
|
67
65
|
dub/models/errors/sdkerror.py,sha256=iWxT-KvUgOlqID84qtbl7jG88f3xF9bxVCnMrtshtA0,1216
|
|
68
66
|
dub/models/errors/unauthorized.py,sha256=gTybq5vCh3nFKAnERxwMwETlQZ3T3SR01RKooIreVdo,1710
|
|
69
67
|
dub/models/errors/unprocessableentity.py,sha256=EkqNdp5lZQHA8hJgNdA3gviqMmyjcFx02cTxl3yhyrs,1693
|
|
70
|
-
dub/models/operations/__init__.py,sha256=
|
|
71
|
-
dub/models/operations/bulkcreatelinks.py,sha256=
|
|
68
|
+
dub/models/operations/__init__.py,sha256=Rbq4-kHKnEw-tHmvOW5vvbQExDmR5bTxJC-whzr7mjU,41840
|
|
69
|
+
dub/models/operations/bulkcreatelinks.py,sha256=OZNtpJ96LE_33GGD3XsaXN43w3GxA2Oqwmspu1wrGvI,17832
|
|
72
70
|
dub/models/operations/bulkdeletelinks.py,sha256=u_hEFC9TZ1UnGGgLhQ-Mf3HNDO98Ur49MtdBnNVIRsE,1151
|
|
73
|
-
dub/models/operations/bulkupdatelinks.py,sha256=
|
|
71
|
+
dub/models/operations/bulkupdatelinks.py,sha256=TCkPBC7wD-EZdJm0m9XSznY7sNF8pixyXPXokb3S4XY,15879
|
|
74
72
|
dub/models/operations/checkdomainstatus.py,sha256=W085WT-gUgU73qDi4LlXppdiPVC0Pm1CpPXTqTM56sI,2538
|
|
75
|
-
dub/models/operations/createcustomer.py,sha256=
|
|
73
|
+
dub/models/operations/createcustomer.py,sha256=gAwfJB7hXlbCKbfypCYxshq7LnWkTqAPdMIl1d5UOZQ,12006
|
|
76
74
|
dub/models/operations/createdomain.py,sha256=dHRvCzE6knsndN4FTFjfijHVmTi8NXKpURz8cM_C-bk,3900
|
|
77
75
|
dub/models/operations/createfolder.py,sha256=j9z0CIsc22VsWAwlCGNwxo6a3VsetD6t4T2LdCELYGE,1884
|
|
78
|
-
dub/models/operations/createlink.py,sha256=
|
|
79
|
-
dub/models/operations/createpartner.py,sha256=
|
|
76
|
+
dub/models/operations/createlink.py,sha256=aziKXHSXYXrANYB8bFK_BwmSW48kMGF3mOed5TsZUck,17170
|
|
77
|
+
dub/models/operations/createpartner.py,sha256=9-KuHL2AFbSYGi7iwuLi2G7g7BZXuFst1qhXsYQ6ztQ,34072
|
|
80
78
|
dub/models/operations/createpartnerlink.py,sha256=rOlnyEQdBk2jb5T3ryzvboWney3cRXIG9rCxuwQO58I,17091
|
|
81
|
-
dub/models/operations/createreferralsembedtoken.py,sha256=
|
|
82
|
-
dub/models/operations/createtag.py,sha256=
|
|
79
|
+
dub/models/operations/createreferralsembedtoken.py,sha256=wu1piQus6oCum3m8etYP6zKKy6pks3pj36x_04Hbfp8,19414
|
|
80
|
+
dub/models/operations/createtag.py,sha256=g0iRXZ4_w-608SLWjU4SvI4paKVpNehvJVYeoWm4NZc,1479
|
|
83
81
|
dub/models/operations/deletecustomer.py,sha256=sq1efo3bhCzQnVacAo9tg7JoHs68IbeheNp1uAlD8AU,1529
|
|
84
82
|
dub/models/operations/deletedomain.py,sha256=VtuDxUCmAcEmNn1vmrdlSKmASHSFwoho-CoJeGtyBBI,769
|
|
85
83
|
dub/models/operations/deletefolder.py,sha256=lpetbObqu9jd-XLl-unlvmSTuztW8Ecn-dhGNxN60Yc,815
|
|
86
84
|
dub/models/operations/deletelink.py,sha256=o3Uia06QBrKb--6OkShjKkcqaK0dpt_Jw3AClUqTQq4,1062
|
|
87
85
|
dub/models/operations/deletetag.py,sha256=UJz-O6oTuvOdzuUXUQktw699hEv0cs1eJW9C3wQBQBc,785
|
|
88
|
-
dub/models/operations/getcustomer.py,sha256=
|
|
89
|
-
dub/models/operations/getcustomers.py,sha256=
|
|
86
|
+
dub/models/operations/getcustomer.py,sha256=tiV2Ra9_AR7u6NRPJ1WUS-W-m0hRMKVpJANN_Ur0CQc,11197
|
|
87
|
+
dub/models/operations/getcustomers.py,sha256=2cy-M111P4Iok1plmB5UHQK-tKmJMXUUP83-9dqTW7w,14389
|
|
90
88
|
dub/models/operations/getlinkinfo.py,sha256=I4bhM6HeW7IFg1J-68Uou5-OHA7XdQcM8I_lRBtXAJI,1530
|
|
91
89
|
dub/models/operations/getlinks.py,sha256=zO_sZyl2REBpy9VlCkgDd9gfq8GiIyDfkcmS2JVnv3w,7472
|
|
92
90
|
dub/models/operations/getlinkscount.py,sha256=PR5EPwhjTTpnlPnWqZX42U7HIT7wtygtIFVQeDhtlWE,5851
|
|
93
91
|
dub/models/operations/getqrcode.py,sha256=ynCPJc8vy_QEt5FP8OU2s-u6UIt1BhmFSNZC-XPmO4I,3848
|
|
94
92
|
dub/models/operations/gettags.py,sha256=c9p_JrHFnTDJURyR5iiKFKpXFHlzJDt3R5X1U-anyYg,2664
|
|
95
93
|
dub/models/operations/getworkspace.py,sha256=V4-NfsEg3M1BTeoE13sDyazefb2_kI4yFxnzgvHPv4s,625
|
|
96
|
-
dub/models/operations/listcommissions.py,sha256=
|
|
94
|
+
dub/models/operations/listcommissions.py,sha256=zSHnd-WaLkCyKO7omfwKpCF9_U2cKlwj-ovZ2HmX2TE,13937
|
|
97
95
|
dub/models/operations/listdomains.py,sha256=gbQrJyBIvTGKSeqJo0Jb08iE44Xu39NS9zbfetx4p-s,1936
|
|
98
|
-
dub/models/operations/listevents.py,sha256=
|
|
96
|
+
dub/models/operations/listevents.py,sha256=YCLd_HZuBEdZUL3gTfWOJm3MHI06VFVXsnecen-lFAU,19183
|
|
99
97
|
dub/models/operations/listfolders.py,sha256=5FGf62ZTjquVXjq5axlzQgYGfEnrEwDn8QLlgGH_7jQ,1209
|
|
100
|
-
dub/models/operations/listpartners.py,sha256=
|
|
98
|
+
dub/models/operations/listpartners.py,sha256=nUb6urMlKR4ThYvZ_LDr_lJxIMa0H0zoZIGacALoUSM,20487
|
|
101
99
|
dub/models/operations/registerdomain.py,sha256=fjozn1tFU-cNarHdAqN_flQoGAE498ob-f4A2bIAiOc,2058
|
|
102
|
-
dub/models/operations/retrieveanalytics.py,sha256=
|
|
100
|
+
dub/models/operations/retrieveanalytics.py,sha256=4dRnXcathBqM34MPZV6pE_fMYe3P3CVIb53-i8TRemo,20421
|
|
103
101
|
dub/models/operations/retrievelinks.py,sha256=rMp0VPEdwLT5ekQ3g2eAHwlr8-4EaEw699yLzDqTXzk,2855
|
|
104
|
-
dub/models/operations/retrievepartneranalytics.py,sha256=
|
|
102
|
+
dub/models/operations/retrievepartneranalytics.py,sha256=up_lKTeJBLQBmVaPOU9r06t-TysfnePx9eM5h6sFci4,5328
|
|
105
103
|
dub/models/operations/tracklead.py,sha256=_c1iIlWtZCJjwg6Hbfiphj4rFVCThFE2UnRuXsDEYKE,6881
|
|
106
|
-
dub/models/operations/tracksale.py,sha256=
|
|
104
|
+
dub/models/operations/tracksale.py,sha256=BPem53rbyCjrq_qdoRddxN1LKyY6rNPt1Cl9fUNw3jM,9102
|
|
107
105
|
dub/models/operations/updatecommission.py,sha256=N_okp7jc6jqI4CnGRvTEKTw-QPb5DEwGVGfKmOSRQrY,11019
|
|
108
|
-
dub/models/operations/updatecustomer.py,sha256=
|
|
106
|
+
dub/models/operations/updatecustomer.py,sha256=xlW-W99WgdlAsKD4fNhIEw3f1Sipnb4ahPnZFOcisSY,13517
|
|
109
107
|
dub/models/operations/updatedomain.py,sha256=rexCga7uNxgBZLPiCMcaudc2cQGB0E_qX2HI0DgG_3M,4519
|
|
110
108
|
dub/models/operations/updatefolder.py,sha256=dNvSPY67g58SWynB8ic5rcgT-h7THRmyxuzuFdO42GQ,2581
|
|
111
|
-
dub/models/operations/updatelink.py,sha256=
|
|
112
|
-
dub/models/operations/updatetag.py,sha256=
|
|
113
|
-
dub/models/operations/updateworkspace.py,sha256=
|
|
114
|
-
dub/models/operations/upsertlink.py,sha256=
|
|
109
|
+
dub/models/operations/updatelink.py,sha256=yka9fDd7uixr4QbbWm5V0bFhB5hqaXCyTRtoatit6HI,16977
|
|
110
|
+
dub/models/operations/updatetag.py,sha256=_cQx77PnR9Jqz9xJ3q3ZwQwpntSibcnlkFFcRbxMqu4,2083
|
|
111
|
+
dub/models/operations/updateworkspace.py,sha256=CKxZZGfgJJeKgWIllyBGmQIPjgfxF0BQMRxNu-c91is,2429
|
|
112
|
+
dub/models/operations/upsertlink.py,sha256=qLnY-MD1KdYroYyV2hbegaZKWwnmbVrSy_FgrHycygg,17293
|
|
115
113
|
dub/models/operations/upsertpartnerlink.py,sha256=Z0xtZHGzePne4wM2XaouR8f_pJrHA6avCmczxEo-9p0,17091
|
|
116
114
|
dub/partners.py,sha256=y-lObDvW0e7UMFkmF2bjrikimU0zb1Lf2U-KSANCvnU,72639
|
|
117
115
|
dub/py.typed,sha256=zrp19r0G21lr2yRiMC0f8MFkQFGj9wMpSbboePMg8KM,59
|
|
@@ -140,7 +138,7 @@ dub/utils/unmarshal_json_response.py,sha256=FcgE-IWPMAHWDdw6QEZeLeD5G_rflScZbT10
|
|
|
140
138
|
dub/utils/url.py,sha256=BgGPgcTA6MRK4bF8fjP2dUopN3NzEzxWMXPBVg8NQUA,5254
|
|
141
139
|
dub/utils/values.py,sha256=CcaCXEa3xHhkUDROyXZocN8f0bdITftv9Y0P9lTf0YM,3517
|
|
142
140
|
dub/workspaces.py,sha256=qqg3JuPFsC14D9OqUeMxYvXHOoIJOJ9To1faAG7x8kM,24373
|
|
143
|
-
dub-0.
|
|
144
|
-
dub-0.
|
|
145
|
-
dub-0.
|
|
146
|
-
dub-0.
|
|
141
|
+
dub-0.28.1.dist-info/LICENSE,sha256=kc_aZ6YHHcdSsRy-mGsT0Ehji0ZgR_zevXiUt05V2KY,1079
|
|
142
|
+
dub-0.28.1.dist-info/METADATA,sha256=nQSxUAfe6D5q5RGz4xf4fLO2kYNb3X5TDGnKm2Xq_kg,30669
|
|
143
|
+
dub-0.28.1.dist-info/WHEEL,sha256=b4K_helf-jlQoXBBETfwnf4B04YC67LOev0jo4fX5m8,88
|
|
144
|
+
dub-0.28.1.dist-info/RECORD,,
|
|
@@ -1,259 +0,0 @@
|
|
|
1
|
-
"""Code generated by Speakeasy (https://speakeasy.com). DO NOT EDIT."""
|
|
2
|
-
|
|
3
|
-
from __future__ import annotations
|
|
4
|
-
from enum import Enum
|
|
5
|
-
|
|
6
|
-
|
|
7
|
-
class CountryCode(str, Enum):
|
|
8
|
-
r"""The country to retrieve analytics for. Must be passed as a 2-letter ISO 3166-1 country code. Learn more: https://d.to/geo"""
|
|
9
|
-
|
|
10
|
-
AF = "AF"
|
|
11
|
-
AL = "AL"
|
|
12
|
-
DZ = "DZ"
|
|
13
|
-
AS = "AS"
|
|
14
|
-
AD = "AD"
|
|
15
|
-
AO = "AO"
|
|
16
|
-
AI = "AI"
|
|
17
|
-
AQ = "AQ"
|
|
18
|
-
AG = "AG"
|
|
19
|
-
AR = "AR"
|
|
20
|
-
AM = "AM"
|
|
21
|
-
AW = "AW"
|
|
22
|
-
AU = "AU"
|
|
23
|
-
AT = "AT"
|
|
24
|
-
AZ = "AZ"
|
|
25
|
-
BS = "BS"
|
|
26
|
-
BH = "BH"
|
|
27
|
-
BD = "BD"
|
|
28
|
-
BB = "BB"
|
|
29
|
-
BY = "BY"
|
|
30
|
-
BE = "BE"
|
|
31
|
-
BZ = "BZ"
|
|
32
|
-
BJ = "BJ"
|
|
33
|
-
BM = "BM"
|
|
34
|
-
BT = "BT"
|
|
35
|
-
BO = "BO"
|
|
36
|
-
BA = "BA"
|
|
37
|
-
BW = "BW"
|
|
38
|
-
BV = "BV"
|
|
39
|
-
BR = "BR"
|
|
40
|
-
IO = "IO"
|
|
41
|
-
BN = "BN"
|
|
42
|
-
BG = "BG"
|
|
43
|
-
BF = "BF"
|
|
44
|
-
BI = "BI"
|
|
45
|
-
KH = "KH"
|
|
46
|
-
CM = "CM"
|
|
47
|
-
CA = "CA"
|
|
48
|
-
CV = "CV"
|
|
49
|
-
KY = "KY"
|
|
50
|
-
CF = "CF"
|
|
51
|
-
TD = "TD"
|
|
52
|
-
CL = "CL"
|
|
53
|
-
CN = "CN"
|
|
54
|
-
CX = "CX"
|
|
55
|
-
CC = "CC"
|
|
56
|
-
CO = "CO"
|
|
57
|
-
KM = "KM"
|
|
58
|
-
CG = "CG"
|
|
59
|
-
CD = "CD"
|
|
60
|
-
CK = "CK"
|
|
61
|
-
CR = "CR"
|
|
62
|
-
CI = "CI"
|
|
63
|
-
HR = "HR"
|
|
64
|
-
CU = "CU"
|
|
65
|
-
CY = "CY"
|
|
66
|
-
CZ = "CZ"
|
|
67
|
-
DK = "DK"
|
|
68
|
-
DJ = "DJ"
|
|
69
|
-
DM = "DM"
|
|
70
|
-
DO = "DO"
|
|
71
|
-
EC = "EC"
|
|
72
|
-
EG = "EG"
|
|
73
|
-
SV = "SV"
|
|
74
|
-
GQ = "GQ"
|
|
75
|
-
ER = "ER"
|
|
76
|
-
EE = "EE"
|
|
77
|
-
ET = "ET"
|
|
78
|
-
FK = "FK"
|
|
79
|
-
FO = "FO"
|
|
80
|
-
FJ = "FJ"
|
|
81
|
-
FI = "FI"
|
|
82
|
-
FR = "FR"
|
|
83
|
-
GF = "GF"
|
|
84
|
-
PF = "PF"
|
|
85
|
-
TF = "TF"
|
|
86
|
-
GA = "GA"
|
|
87
|
-
GM = "GM"
|
|
88
|
-
GE = "GE"
|
|
89
|
-
DE = "DE"
|
|
90
|
-
GH = "GH"
|
|
91
|
-
GI = "GI"
|
|
92
|
-
GR = "GR"
|
|
93
|
-
GL = "GL"
|
|
94
|
-
GD = "GD"
|
|
95
|
-
GP = "GP"
|
|
96
|
-
GU = "GU"
|
|
97
|
-
GT = "GT"
|
|
98
|
-
GN = "GN"
|
|
99
|
-
GW = "GW"
|
|
100
|
-
GY = "GY"
|
|
101
|
-
HT = "HT"
|
|
102
|
-
HM = "HM"
|
|
103
|
-
VA = "VA"
|
|
104
|
-
HN = "HN"
|
|
105
|
-
HK = "HK"
|
|
106
|
-
HU = "HU"
|
|
107
|
-
IS = "IS"
|
|
108
|
-
IN = "IN"
|
|
109
|
-
ID = "ID"
|
|
110
|
-
IR = "IR"
|
|
111
|
-
IQ = "IQ"
|
|
112
|
-
IE = "IE"
|
|
113
|
-
IL = "IL"
|
|
114
|
-
IT = "IT"
|
|
115
|
-
JM = "JM"
|
|
116
|
-
JP = "JP"
|
|
117
|
-
JO = "JO"
|
|
118
|
-
KZ = "KZ"
|
|
119
|
-
KE = "KE"
|
|
120
|
-
KI = "KI"
|
|
121
|
-
KP = "KP"
|
|
122
|
-
KR = "KR"
|
|
123
|
-
KW = "KW"
|
|
124
|
-
KG = "KG"
|
|
125
|
-
LA = "LA"
|
|
126
|
-
LV = "LV"
|
|
127
|
-
LB = "LB"
|
|
128
|
-
LS = "LS"
|
|
129
|
-
LR = "LR"
|
|
130
|
-
LY = "LY"
|
|
131
|
-
LI = "LI"
|
|
132
|
-
LT = "LT"
|
|
133
|
-
LU = "LU"
|
|
134
|
-
MO = "MO"
|
|
135
|
-
MG = "MG"
|
|
136
|
-
MW = "MW"
|
|
137
|
-
MY = "MY"
|
|
138
|
-
MV = "MV"
|
|
139
|
-
ML = "ML"
|
|
140
|
-
MT = "MT"
|
|
141
|
-
MH = "MH"
|
|
142
|
-
MQ = "MQ"
|
|
143
|
-
MR = "MR"
|
|
144
|
-
MU = "MU"
|
|
145
|
-
YT = "YT"
|
|
146
|
-
MX = "MX"
|
|
147
|
-
FM = "FM"
|
|
148
|
-
MD = "MD"
|
|
149
|
-
MC = "MC"
|
|
150
|
-
MN = "MN"
|
|
151
|
-
MS = "MS"
|
|
152
|
-
MA = "MA"
|
|
153
|
-
MZ = "MZ"
|
|
154
|
-
MM = "MM"
|
|
155
|
-
NA = "NA"
|
|
156
|
-
NR = "NR"
|
|
157
|
-
NP = "NP"
|
|
158
|
-
NL = "NL"
|
|
159
|
-
NC = "NC"
|
|
160
|
-
NZ = "NZ"
|
|
161
|
-
NI = "NI"
|
|
162
|
-
NE = "NE"
|
|
163
|
-
NG = "NG"
|
|
164
|
-
NU = "NU"
|
|
165
|
-
NF = "NF"
|
|
166
|
-
MK = "MK"
|
|
167
|
-
MP = "MP"
|
|
168
|
-
NO = "NO"
|
|
169
|
-
OM = "OM"
|
|
170
|
-
PK = "PK"
|
|
171
|
-
PW = "PW"
|
|
172
|
-
PS = "PS"
|
|
173
|
-
PA = "PA"
|
|
174
|
-
PG = "PG"
|
|
175
|
-
PY = "PY"
|
|
176
|
-
PE = "PE"
|
|
177
|
-
PH = "PH"
|
|
178
|
-
PN = "PN"
|
|
179
|
-
PL = "PL"
|
|
180
|
-
PT = "PT"
|
|
181
|
-
PR = "PR"
|
|
182
|
-
QA = "QA"
|
|
183
|
-
RE = "RE"
|
|
184
|
-
RO = "RO"
|
|
185
|
-
RU = "RU"
|
|
186
|
-
RW = "RW"
|
|
187
|
-
SH = "SH"
|
|
188
|
-
KN = "KN"
|
|
189
|
-
LC = "LC"
|
|
190
|
-
PM = "PM"
|
|
191
|
-
VC = "VC"
|
|
192
|
-
WS = "WS"
|
|
193
|
-
SM = "SM"
|
|
194
|
-
ST = "ST"
|
|
195
|
-
SA = "SA"
|
|
196
|
-
SN = "SN"
|
|
197
|
-
SC = "SC"
|
|
198
|
-
SL = "SL"
|
|
199
|
-
SG = "SG"
|
|
200
|
-
SK = "SK"
|
|
201
|
-
SI = "SI"
|
|
202
|
-
SB = "SB"
|
|
203
|
-
SO = "SO"
|
|
204
|
-
ZA = "ZA"
|
|
205
|
-
GS = "GS"
|
|
206
|
-
ES = "ES"
|
|
207
|
-
LK = "LK"
|
|
208
|
-
SD = "SD"
|
|
209
|
-
SR = "SR"
|
|
210
|
-
SJ = "SJ"
|
|
211
|
-
SZ = "SZ"
|
|
212
|
-
SE = "SE"
|
|
213
|
-
CH = "CH"
|
|
214
|
-
SY = "SY"
|
|
215
|
-
TW = "TW"
|
|
216
|
-
TJ = "TJ"
|
|
217
|
-
TZ = "TZ"
|
|
218
|
-
TH = "TH"
|
|
219
|
-
TL = "TL"
|
|
220
|
-
TG = "TG"
|
|
221
|
-
TK = "TK"
|
|
222
|
-
TO = "TO"
|
|
223
|
-
TT = "TT"
|
|
224
|
-
TN = "TN"
|
|
225
|
-
TR = "TR"
|
|
226
|
-
TM = "TM"
|
|
227
|
-
TC = "TC"
|
|
228
|
-
TV = "TV"
|
|
229
|
-
UG = "UG"
|
|
230
|
-
UA = "UA"
|
|
231
|
-
AE = "AE"
|
|
232
|
-
GB = "GB"
|
|
233
|
-
US = "US"
|
|
234
|
-
UM = "UM"
|
|
235
|
-
UY = "UY"
|
|
236
|
-
UZ = "UZ"
|
|
237
|
-
VU = "VU"
|
|
238
|
-
VE = "VE"
|
|
239
|
-
VN = "VN"
|
|
240
|
-
VG = "VG"
|
|
241
|
-
VI = "VI"
|
|
242
|
-
WF = "WF"
|
|
243
|
-
EH = "EH"
|
|
244
|
-
YE = "YE"
|
|
245
|
-
ZM = "ZM"
|
|
246
|
-
ZW = "ZW"
|
|
247
|
-
AX = "AX"
|
|
248
|
-
BQ = "BQ"
|
|
249
|
-
CW = "CW"
|
|
250
|
-
GG = "GG"
|
|
251
|
-
IM = "IM"
|
|
252
|
-
JE = "JE"
|
|
253
|
-
ME = "ME"
|
|
254
|
-
BL = "BL"
|
|
255
|
-
MF = "MF"
|
|
256
|
-
RS = "RS"
|
|
257
|
-
SX = "SX"
|
|
258
|
-
SS = "SS"
|
|
259
|
-
XK = "XK"
|