dub 0.26.1__py3-none-any.whl → 0.26.2__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 CHANGED
@@ -3,10 +3,10 @@
3
3
  import importlib.metadata
4
4
 
5
5
  __title__: str = "dub"
6
- __version__: str = "0.26.1"
6
+ __version__: str = "0.26.2"
7
7
  __openapi_doc_version__: str = "0.0.1"
8
8
  __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"
10
10
 
11
11
  try:
12
12
  if __package__ is not None:
@@ -124,7 +124,7 @@ class PartnerEnrolledEventDataTypedDict(TypedDict):
124
124
  sale_amount: NotRequired[float]
125
125
  r"""The total amount of sales (in cents) generated by the partner's links."""
126
126
  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."""
128
128
  application_id: NotRequired[Nullable[str]]
129
129
  r"""If the partner submitted an application to join the program, this is the ID of the application."""
130
130
 
@@ -204,8 +204,13 @@ class PartnerEnrolledEventData(BaseModel):
204
204
  sale_amount: Annotated[Optional[float], pydantic.Field(alias="saleAmount")] = 0
205
205
  r"""The total amount of sales (in cents) generated by the partner's links."""
206
206
 
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."""
209
214
 
210
215
  application_id: Annotated[
211
216
  OptionalNullable[str], pydantic.Field(alias="applicationId")
@@ -753,7 +753,7 @@ class CreatePartnerResponseBodyTypedDict(TypedDict):
753
753
  sale_amount: NotRequired[float]
754
754
  r"""The total amount of sales (in cents) generated by the partner's links."""
755
755
  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."""
757
757
  application_id: NotRequired[Nullable[str]]
758
758
  r"""If the partner submitted an application to join the program, this is the ID of the application."""
759
759
 
@@ -835,8 +835,13 @@ class CreatePartnerResponseBody(BaseModel):
835
835
  sale_amount: Annotated[Optional[float], pydantic.Field(alias="saleAmount")] = 0
836
836
  r"""The total amount of sales (in cents) generated by the partner's links."""
837
837
 
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."""
840
845
 
841
846
  application_id: Annotated[
842
847
  OptionalNullable[str], pydantic.Field(alias="applicationId")
@@ -1,6 +1,6 @@
1
1
  Metadata-Version: 2.3
2
2
  Name: dub
3
- Version: 0.26.1
3
+ Version: 0.26.2
4
4
  Summary: Python Client SDK Generated by Speakeasy
5
5
  Author: Speakeasy
6
6
  Requires-Python: >=3.9.2
@@ -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=a7UPFFv219UspGGLsdf6bXGMfAIu5aP8ikLB65vX-oA,450
6
+ dub/_version.py,sha256=tDoP9fq7ePw_EHUmATynqbql5sqcvCLk59DEhgRxggw,450
7
7
  dub/analytics.py,sha256=acVdNv1hS7JDmBS1ena0kG-RNNq64lRZwOV6_2FZn60,13032
8
8
  dub/basesdk.py,sha256=nY5yee9uE5SQHkG_9Di9MUoQR0KcPr-WrtTCDHUdRnY,11779
9
9
  dub/commissions.py,sha256=H56AkD5M03FuXaIdsd5jY6rWZ7qa8c0gssXQhLkF634,25796
@@ -45,7 +45,7 @@ dub/models/components/linkwebhookevent.py,sha256=r4Y8ba4iIDiA920YFzlmdf-8-z1Rdn4
45
45
  dub/models/components/partneranalyticscount.py,sha256=hJOuFVUTFOuXWviLxExwXDZVgPLBcgmqt8VxeHv7JAw,1035
46
46
  dub/models/components/partneranalyticstimeseries.py,sha256=Bh431YfEd8v6TD9o9DPCAwGCDo5Rrf1xR1pccm7q5aw,1268
47
47
  dub/models/components/partneranalyticstoplinks.py,sha256=xy1F1vueaBX93Gj2AYqqa7jbEueJy-FAVD5GdnjPva8,3755
48
- dub/models/components/partnerenrolledevent.py,sha256=YqXDkzDJa3QYkjxugVbny9n5s6gIk9jO8CC_qHDCJzo,10299
48
+ dub/models/components/partnerenrolledevent.py,sha256=cwlG4rsmYfsG3pl4yyDOmaXPLlXzMin9lpmBl5EpZhc,10528
49
49
  dub/models/components/salecreatedevent.py,sha256=0iC7LapQdrWFUPCuyr3vlsoqzYGnjVeUX1wwyXeToCs,42010
50
50
  dub/models/components/saleevent.py,sha256=YT3fOa4J-glEqlepgo-22Dhu9rfD7VrbGLpGG8ntuFY,47528
51
51
  dub/models/components/security.py,sha256=be_cng1n5ULto_xGGPBKH1ZE5LrtmBTg6kX2uPJqJOw,599
@@ -71,7 +71,7 @@ dub/models/operations/createcustomer.py,sha256=gAwfJB7hXlbCKbfypCYxshq7LnWkTqAPd
71
71
  dub/models/operations/createdomain.py,sha256=dHRvCzE6knsndN4FTFjfijHVmTi8NXKpURz8cM_C-bk,3900
72
72
  dub/models/operations/createfolder.py,sha256=j9z0CIsc22VsWAwlCGNwxo6a3VsetD6t4T2LdCELYGE,1884
73
73
  dub/models/operations/createlink.py,sha256=ThSHn-TNxF70sRWHXt723nBofdMjQ1_hkSZExnwIvVw,16833
74
- dub/models/operations/createpartner.py,sha256=65Fw1IrC4r78yMbaZcMbNeoW78Y2reWBS3v0z8fHYvo,30101
74
+ dub/models/operations/createpartner.py,sha256=Q_ZUVN7_C5HRsOaEztRPL9R8c1wce_rVj9jlk0AD7OU,30330
75
75
  dub/models/operations/createpartnerlink.py,sha256=RfQ2uiU6ZDOw8pR3eksEY6rKviSsf0oUKGMDkp5s2NQ,16880
76
76
  dub/models/operations/createreferralsembedtoken.py,sha256=q7Q1aAdhEbMDlRqh2M7VFAeAqpYEhFO1P9Cz3TGJhsU,21667
77
77
  dub/models/operations/createtag.py,sha256=XUKuFcLoenYk1oxdeou-gI_s3A4YxtIJKgRiXtLfOpQ,1497
@@ -132,7 +132,7 @@ dub/utils/serializers.py,sha256=hiHBXM1AY8_N2Z_rvFfNSYwvLBkSQlPGFp8poasdU4s,5986
132
132
  dub/utils/url.py,sha256=BgGPgcTA6MRK4bF8fjP2dUopN3NzEzxWMXPBVg8NQUA,5254
133
133
  dub/utils/values.py,sha256=CcaCXEa3xHhkUDROyXZocN8f0bdITftv9Y0P9lTf0YM,3517
134
134
  dub/workspaces.py,sha256=_4KOZwwL0KADDqSrHZWfO7LpEwLi59uvaKm-X7JzAv0,25823
135
- dub-0.26.1.dist-info/LICENSE,sha256=kc_aZ6YHHcdSsRy-mGsT0Ehji0ZgR_zevXiUt05V2KY,1079
136
- dub-0.26.1.dist-info/METADATA,sha256=Oc8fpa1cneUxmkHANfVpyhfFZsXffGzNeJHrWKu6O6I,27769
137
- dub-0.26.1.dist-info/WHEEL,sha256=b4K_helf-jlQoXBBETfwnf4B04YC67LOev0jo4fX5m8,88
138
- dub-0.26.1.dist-info/RECORD,,
135
+ dub-0.26.2.dist-info/LICENSE,sha256=kc_aZ6YHHcdSsRy-mGsT0Ehji0ZgR_zevXiUt05V2KY,1079
136
+ dub-0.26.2.dist-info/METADATA,sha256=LjZBo2cE1QgkqMpdeYwj8AZYeKz2AlsvZlnr0-jqv8o,27769
137
+ dub-0.26.2.dist-info/WHEEL,sha256=b4K_helf-jlQoXBBETfwnf4B04YC67LOev0jo4fX5m8,88
138
+ dub-0.26.2.dist-info/RECORD,,
File without changes
File without changes