dodopayments 1.55.7__py3-none-any.whl → 1.56.0__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.

Potentially problematic release.


This version of dodopayments might be problematic. Click here for more details.

Files changed (54) hide show
  1. dodopayments/__init__.py +2 -0
  2. dodopayments/_client.py +22 -2
  3. dodopayments/_exceptions.py +4 -0
  4. dodopayments/_version.py +1 -1
  5. dodopayments/resources/webhooks/webhooks.py +76 -1
  6. dodopayments/types/__init__.py +25 -0
  7. dodopayments/types/dispute_accepted_webhook_event.py +29 -0
  8. dodopayments/types/dispute_accepted_webhook_event1.py +29 -0
  9. dodopayments/types/dispute_cancelled_webhook_event.py +29 -0
  10. dodopayments/types/dispute_cancelled_webhook_event1.py +29 -0
  11. dodopayments/types/dispute_challenged_webhook_event.py +29 -0
  12. dodopayments/types/dispute_challenged_webhook_event1.py +29 -0
  13. dodopayments/types/dispute_expired_webhook_event.py +29 -0
  14. dodopayments/types/dispute_expired_webhook_event1.py +29 -0
  15. dodopayments/types/dispute_lost_webhook_event.py +29 -0
  16. dodopayments/types/dispute_lost_webhook_event1.py +29 -0
  17. dodopayments/types/dispute_opened_webhook_event.py +29 -0
  18. dodopayments/types/dispute_opened_webhook_event1.py +29 -0
  19. dodopayments/types/dispute_won_webhook_event.py +29 -0
  20. dodopayments/types/dispute_won_webhook_event1.py +29 -0
  21. dodopayments/types/license_key_created_webhook_event.py +29 -0
  22. dodopayments/types/license_key_created_webhook_event1.py +29 -0
  23. dodopayments/types/payment_cancelled_webhook_event.py +29 -0
  24. dodopayments/types/payment_cancelled_webhook_event1.py +29 -0
  25. dodopayments/types/payment_failed_webhook_event.py +29 -0
  26. dodopayments/types/payment_failed_webhook_event1.py +29 -0
  27. dodopayments/types/payment_processing_webhook_event.py +29 -0
  28. dodopayments/types/payment_processing_webhook_event1.py +29 -0
  29. dodopayments/types/payment_succeeded_webhook_event.py +29 -0
  30. dodopayments/types/payment_succeeded_webhook_event1.py +29 -0
  31. dodopayments/types/refund_failed_webhook_event.py +29 -0
  32. dodopayments/types/refund_failed_webhook_event1.py +29 -0
  33. dodopayments/types/refund_succeeded_webhook_event.py +29 -0
  34. dodopayments/types/refund_succeeded_webhook_event1.py +29 -0
  35. dodopayments/types/subscription_active_webhook_event.py +29 -0
  36. dodopayments/types/subscription_active_webhook_event1.py +29 -0
  37. dodopayments/types/subscription_cancelled_webhook_event.py +29 -0
  38. dodopayments/types/subscription_cancelled_webhook_event1.py +29 -0
  39. dodopayments/types/subscription_expired_webhook_event.py +29 -0
  40. dodopayments/types/subscription_expired_webhook_event1.py +29 -0
  41. dodopayments/types/subscription_failed_webhook_event.py +29 -0
  42. dodopayments/types/subscription_failed_webhook_event1.py +29 -0
  43. dodopayments/types/subscription_on_hold_webhook_event.py +29 -0
  44. dodopayments/types/subscription_on_hold_webhook_event1.py +29 -0
  45. dodopayments/types/subscription_plan_changed_webhook_event.py +29 -0
  46. dodopayments/types/subscription_plan_changed_webhook_event1.py +29 -0
  47. dodopayments/types/subscription_renewed_webhook_event.py +29 -0
  48. dodopayments/types/subscription_renewed_webhook_event1.py +29 -0
  49. dodopayments/types/unsafe_unwrap_webhook_event.py +52 -0
  50. dodopayments/types/unwrap_webhook_event.py +52 -0
  51. {dodopayments-1.55.7.dist-info → dodopayments-1.56.0.dist-info}/METADATA +4 -2
  52. {dodopayments-1.55.7.dist-info → dodopayments-1.56.0.dist-info}/RECORD +54 -10
  53. {dodopayments-1.55.7.dist-info → dodopayments-1.56.0.dist-info}/WHEEL +0 -0
  54. {dodopayments-1.55.7.dist-info → dodopayments-1.56.0.dist-info}/licenses/LICENSE +0 -0
@@ -0,0 +1,29 @@
1
+ # File generated from our OpenAPI spec by Stainless. See CONTRIBUTING.md for details.
2
+
3
+ from typing import Optional
4
+ from datetime import datetime
5
+ from typing_extensions import Literal
6
+
7
+ from .._models import BaseModel
8
+ from .subscription import Subscription
9
+
10
+ __all__ = ["SubscriptionExpiredWebhookEvent", "Data"]
11
+
12
+
13
+ class Data(Subscription):
14
+ payload_type: Optional[Literal["Subscription"]] = None
15
+ """The type of payload in the data field"""
16
+
17
+
18
+ class SubscriptionExpiredWebhookEvent(BaseModel):
19
+ business_id: str
20
+ """The business identifier"""
21
+
22
+ data: Data
23
+ """Event-specific data"""
24
+
25
+ timestamp: datetime
26
+ """The timestamp of when the event occurred"""
27
+
28
+ type: Literal["subscription.expired"]
29
+ """The event type"""
@@ -0,0 +1,29 @@
1
+ # File generated from our OpenAPI spec by Stainless. See CONTRIBUTING.md for details.
2
+
3
+ from typing import Optional
4
+ from datetime import datetime
5
+ from typing_extensions import Literal
6
+
7
+ from .._models import BaseModel
8
+ from .subscription import Subscription
9
+
10
+ __all__ = ["SubscriptionFailedWebhookEvent", "Data"]
11
+
12
+
13
+ class Data(Subscription):
14
+ payload_type: Optional[Literal["Subscription"]] = None
15
+ """The type of payload in the data field"""
16
+
17
+
18
+ class SubscriptionFailedWebhookEvent(BaseModel):
19
+ business_id: str
20
+ """The business identifier"""
21
+
22
+ data: Data
23
+ """Event-specific data"""
24
+
25
+ timestamp: datetime
26
+ """The timestamp of when the event occurred"""
27
+
28
+ type: Literal["subscription.failed"]
29
+ """The event type"""
@@ -0,0 +1,29 @@
1
+ # File generated from our OpenAPI spec by Stainless. See CONTRIBUTING.md for details.
2
+
3
+ from typing import Optional
4
+ from datetime import datetime
5
+ from typing_extensions import Literal
6
+
7
+ from .._models import BaseModel
8
+ from .subscription import Subscription
9
+
10
+ __all__ = ["SubscriptionFailedWebhookEvent", "Data"]
11
+
12
+
13
+ class Data(Subscription):
14
+ payload_type: Optional[Literal["Subscription"]] = None
15
+ """The type of payload in the data field"""
16
+
17
+
18
+ class SubscriptionFailedWebhookEvent(BaseModel):
19
+ business_id: str
20
+ """The business identifier"""
21
+
22
+ data: Data
23
+ """Event-specific data"""
24
+
25
+ timestamp: datetime
26
+ """The timestamp of when the event occurred"""
27
+
28
+ type: Literal["subscription.failed"]
29
+ """The event type"""
@@ -0,0 +1,29 @@
1
+ # File generated from our OpenAPI spec by Stainless. See CONTRIBUTING.md for details.
2
+
3
+ from typing import Optional
4
+ from datetime import datetime
5
+ from typing_extensions import Literal
6
+
7
+ from .._models import BaseModel
8
+ from .subscription import Subscription
9
+
10
+ __all__ = ["SubscriptionOnHoldWebhookEvent", "Data"]
11
+
12
+
13
+ class Data(Subscription):
14
+ payload_type: Optional[Literal["Subscription"]] = None
15
+ """The type of payload in the data field"""
16
+
17
+
18
+ class SubscriptionOnHoldWebhookEvent(BaseModel):
19
+ business_id: str
20
+ """The business identifier"""
21
+
22
+ data: Data
23
+ """Event-specific data"""
24
+
25
+ timestamp: datetime
26
+ """The timestamp of when the event occurred"""
27
+
28
+ type: Literal["subscription.on_hold"]
29
+ """The event type"""
@@ -0,0 +1,29 @@
1
+ # File generated from our OpenAPI spec by Stainless. See CONTRIBUTING.md for details.
2
+
3
+ from typing import Optional
4
+ from datetime import datetime
5
+ from typing_extensions import Literal
6
+
7
+ from .._models import BaseModel
8
+ from .subscription import Subscription
9
+
10
+ __all__ = ["SubscriptionOnHoldWebhookEvent", "Data"]
11
+
12
+
13
+ class Data(Subscription):
14
+ payload_type: Optional[Literal["Subscription"]] = None
15
+ """The type of payload in the data field"""
16
+
17
+
18
+ class SubscriptionOnHoldWebhookEvent(BaseModel):
19
+ business_id: str
20
+ """The business identifier"""
21
+
22
+ data: Data
23
+ """Event-specific data"""
24
+
25
+ timestamp: datetime
26
+ """The timestamp of when the event occurred"""
27
+
28
+ type: Literal["subscription.on_hold"]
29
+ """The event type"""
@@ -0,0 +1,29 @@
1
+ # File generated from our OpenAPI spec by Stainless. See CONTRIBUTING.md for details.
2
+
3
+ from typing import Optional
4
+ from datetime import datetime
5
+ from typing_extensions import Literal
6
+
7
+ from .._models import BaseModel
8
+ from .subscription import Subscription
9
+
10
+ __all__ = ["SubscriptionPlanChangedWebhookEvent", "Data"]
11
+
12
+
13
+ class Data(Subscription):
14
+ payload_type: Optional[Literal["Subscription"]] = None
15
+ """The type of payload in the data field"""
16
+
17
+
18
+ class SubscriptionPlanChangedWebhookEvent(BaseModel):
19
+ business_id: str
20
+ """The business identifier"""
21
+
22
+ data: Data
23
+ """Event-specific data"""
24
+
25
+ timestamp: datetime
26
+ """The timestamp of when the event occurred"""
27
+
28
+ type: Literal["subscription.plan_changed"]
29
+ """The event type"""
@@ -0,0 +1,29 @@
1
+ # File generated from our OpenAPI spec by Stainless. See CONTRIBUTING.md for details.
2
+
3
+ from typing import Optional
4
+ from datetime import datetime
5
+ from typing_extensions import Literal
6
+
7
+ from .._models import BaseModel
8
+ from .subscription import Subscription
9
+
10
+ __all__ = ["SubscriptionPlanChangedWebhookEvent", "Data"]
11
+
12
+
13
+ class Data(Subscription):
14
+ payload_type: Optional[Literal["Subscription"]] = None
15
+ """The type of payload in the data field"""
16
+
17
+
18
+ class SubscriptionPlanChangedWebhookEvent(BaseModel):
19
+ business_id: str
20
+ """The business identifier"""
21
+
22
+ data: Data
23
+ """Event-specific data"""
24
+
25
+ timestamp: datetime
26
+ """The timestamp of when the event occurred"""
27
+
28
+ type: Literal["subscription.plan_changed"]
29
+ """The event type"""
@@ -0,0 +1,29 @@
1
+ # File generated from our OpenAPI spec by Stainless. See CONTRIBUTING.md for details.
2
+
3
+ from typing import Optional
4
+ from datetime import datetime
5
+ from typing_extensions import Literal
6
+
7
+ from .._models import BaseModel
8
+ from .subscription import Subscription
9
+
10
+ __all__ = ["SubscriptionRenewedWebhookEvent", "Data"]
11
+
12
+
13
+ class Data(Subscription):
14
+ payload_type: Optional[Literal["Subscription"]] = None
15
+ """The type of payload in the data field"""
16
+
17
+
18
+ class SubscriptionRenewedWebhookEvent(BaseModel):
19
+ business_id: str
20
+ """The business identifier"""
21
+
22
+ data: Data
23
+ """Event-specific data"""
24
+
25
+ timestamp: datetime
26
+ """The timestamp of when the event occurred"""
27
+
28
+ type: Literal["subscription.renewed"]
29
+ """The event type"""
@@ -0,0 +1,29 @@
1
+ # File generated from our OpenAPI spec by Stainless. See CONTRIBUTING.md for details.
2
+
3
+ from typing import Optional
4
+ from datetime import datetime
5
+ from typing_extensions import Literal
6
+
7
+ from .._models import BaseModel
8
+ from .subscription import Subscription
9
+
10
+ __all__ = ["SubscriptionRenewedWebhookEvent", "Data"]
11
+
12
+
13
+ class Data(Subscription):
14
+ payload_type: Optional[Literal["Subscription"]] = None
15
+ """The type of payload in the data field"""
16
+
17
+
18
+ class SubscriptionRenewedWebhookEvent(BaseModel):
19
+ business_id: str
20
+ """The business identifier"""
21
+
22
+ data: Data
23
+ """Event-specific data"""
24
+
25
+ timestamp: datetime
26
+ """The timestamp of when the event occurred"""
27
+
28
+ type: Literal["subscription.renewed"]
29
+ """The event type"""
@@ -0,0 +1,52 @@
1
+ # File generated from our OpenAPI spec by Stainless. See CONTRIBUTING.md for details.
2
+
3
+ from typing import Union
4
+ from typing_extensions import TypeAlias
5
+
6
+ from .dispute_won_webhook_event import DisputeWonWebhookEvent
7
+ from .dispute_lost_webhook_event import DisputeLostWebhookEvent
8
+ from .refund_failed_webhook_event import RefundFailedWebhookEvent
9
+ from .dispute_opened_webhook_event import DisputeOpenedWebhookEvent
10
+ from .payment_failed_webhook_event import PaymentFailedWebhookEvent
11
+ from .dispute_expired_webhook_event import DisputeExpiredWebhookEvent
12
+ from .dispute_accepted_webhook_event import DisputeAcceptedWebhookEvent
13
+ from .refund_succeeded_webhook_event import RefundSucceededWebhookEvent
14
+ from .dispute_cancelled_webhook_event import DisputeCancelledWebhookEvent
15
+ from .payment_cancelled_webhook_event import PaymentCancelledWebhookEvent
16
+ from .payment_succeeded_webhook_event import PaymentSucceededWebhookEvent
17
+ from .dispute_challenged_webhook_event import DisputeChallengedWebhookEvent
18
+ from .payment_processing_webhook_event import PaymentProcessingWebhookEvent
19
+ from .license_key_created_webhook_event import LicenseKeyCreatedWebhookEvent
20
+ from .subscription_active_webhook_event import SubscriptionActiveWebhookEvent
21
+ from .subscription_failed_webhook_event import SubscriptionFailedWebhookEvent
22
+ from .subscription_expired_webhook_event import SubscriptionExpiredWebhookEvent
23
+ from .subscription_on_hold_webhook_event import SubscriptionOnHoldWebhookEvent
24
+ from .subscription_renewed_webhook_event import SubscriptionRenewedWebhookEvent
25
+ from .subscription_cancelled_webhook_event import SubscriptionCancelledWebhookEvent
26
+ from .subscription_plan_changed_webhook_event import SubscriptionPlanChangedWebhookEvent
27
+
28
+ __all__ = ["UnsafeUnwrapWebhookEvent"]
29
+
30
+ UnsafeUnwrapWebhookEvent: TypeAlias = Union[
31
+ DisputeAcceptedWebhookEvent,
32
+ DisputeCancelledWebhookEvent,
33
+ DisputeChallengedWebhookEvent,
34
+ DisputeExpiredWebhookEvent,
35
+ DisputeLostWebhookEvent,
36
+ DisputeOpenedWebhookEvent,
37
+ DisputeWonWebhookEvent,
38
+ LicenseKeyCreatedWebhookEvent,
39
+ PaymentCancelledWebhookEvent,
40
+ PaymentFailedWebhookEvent,
41
+ PaymentProcessingWebhookEvent,
42
+ PaymentSucceededWebhookEvent,
43
+ RefundFailedWebhookEvent,
44
+ RefundSucceededWebhookEvent,
45
+ SubscriptionActiveWebhookEvent,
46
+ SubscriptionCancelledWebhookEvent,
47
+ SubscriptionExpiredWebhookEvent,
48
+ SubscriptionFailedWebhookEvent,
49
+ SubscriptionOnHoldWebhookEvent,
50
+ SubscriptionPlanChangedWebhookEvent,
51
+ SubscriptionRenewedWebhookEvent,
52
+ ]
@@ -0,0 +1,52 @@
1
+ # File generated from our OpenAPI spec by Stainless. See CONTRIBUTING.md for details.
2
+
3
+ from typing import Union
4
+ from typing_extensions import TypeAlias
5
+
6
+ from .dispute_won_webhook_event import DisputeWonWebhookEvent
7
+ from .dispute_lost_webhook_event import DisputeLostWebhookEvent
8
+ from .refund_failed_webhook_event import RefundFailedWebhookEvent
9
+ from .dispute_opened_webhook_event import DisputeOpenedWebhookEvent
10
+ from .payment_failed_webhook_event import PaymentFailedWebhookEvent
11
+ from .dispute_expired_webhook_event import DisputeExpiredWebhookEvent
12
+ from .dispute_accepted_webhook_event import DisputeAcceptedWebhookEvent
13
+ from .refund_succeeded_webhook_event import RefundSucceededWebhookEvent
14
+ from .dispute_cancelled_webhook_event import DisputeCancelledWebhookEvent
15
+ from .payment_cancelled_webhook_event import PaymentCancelledWebhookEvent
16
+ from .payment_succeeded_webhook_event import PaymentSucceededWebhookEvent
17
+ from .dispute_challenged_webhook_event import DisputeChallengedWebhookEvent
18
+ from .payment_processing_webhook_event import PaymentProcessingWebhookEvent
19
+ from .license_key_created_webhook_event import LicenseKeyCreatedWebhookEvent
20
+ from .subscription_active_webhook_event import SubscriptionActiveWebhookEvent
21
+ from .subscription_failed_webhook_event import SubscriptionFailedWebhookEvent
22
+ from .subscription_expired_webhook_event import SubscriptionExpiredWebhookEvent
23
+ from .subscription_on_hold_webhook_event import SubscriptionOnHoldWebhookEvent
24
+ from .subscription_renewed_webhook_event import SubscriptionRenewedWebhookEvent
25
+ from .subscription_cancelled_webhook_event import SubscriptionCancelledWebhookEvent
26
+ from .subscription_plan_changed_webhook_event import SubscriptionPlanChangedWebhookEvent
27
+
28
+ __all__ = ["UnwrapWebhookEvent"]
29
+
30
+ UnwrapWebhookEvent: TypeAlias = Union[
31
+ DisputeAcceptedWebhookEvent,
32
+ DisputeCancelledWebhookEvent,
33
+ DisputeChallengedWebhookEvent,
34
+ DisputeExpiredWebhookEvent,
35
+ DisputeLostWebhookEvent,
36
+ DisputeOpenedWebhookEvent,
37
+ DisputeWonWebhookEvent,
38
+ LicenseKeyCreatedWebhookEvent,
39
+ PaymentCancelledWebhookEvent,
40
+ PaymentFailedWebhookEvent,
41
+ PaymentProcessingWebhookEvent,
42
+ PaymentSucceededWebhookEvent,
43
+ RefundFailedWebhookEvent,
44
+ RefundSucceededWebhookEvent,
45
+ SubscriptionActiveWebhookEvent,
46
+ SubscriptionCancelledWebhookEvent,
47
+ SubscriptionExpiredWebhookEvent,
48
+ SubscriptionFailedWebhookEvent,
49
+ SubscriptionOnHoldWebhookEvent,
50
+ SubscriptionPlanChangedWebhookEvent,
51
+ SubscriptionRenewedWebhookEvent,
52
+ ]
@@ -1,6 +1,6 @@
1
1
  Metadata-Version: 2.3
2
2
  Name: dodopayments
3
- Version: 1.55.7
3
+ Version: 1.56.0
4
4
  Summary: The official Python library for the Dodo Payments API
5
5
  Project-URL: Homepage, https://github.com/dodopayments/dodopayments-python
6
6
  Project-URL: Repository, https://github.com/dodopayments/dodopayments-python
@@ -30,7 +30,9 @@ Requires-Dist: sniffio
30
30
  Requires-Dist: typing-extensions<5,>=4.10
31
31
  Provides-Extra: aiohttp
32
32
  Requires-Dist: aiohttp; extra == 'aiohttp'
33
- Requires-Dist: httpx-aiohttp>=0.1.8; extra == 'aiohttp'
33
+ Requires-Dist: httpx-aiohttp>=0.1.9; extra == 'aiohttp'
34
+ Provides-Extra: webhooks
35
+ Requires-Dist: standardwebhooks; extra == 'webhooks'
34
36
  Description-Content-Type: text/markdown
35
37
 
36
38
  # Dodo Payments Python API library
@@ -1,9 +1,9 @@
1
- dodopayments/__init__.py,sha256=uGBF_KR_b0CCzj8ML5759mv2cc1DNnqq-cGt6YhL5Ig,2757
1
+ dodopayments/__init__.py,sha256=2xJKiprm_9ZM1vNCz4XbkawiAAH1CV_cWN1AOCQ_AJs,2821
2
2
  dodopayments/_base_client.py,sha256=nauw88iNFHTSli--Cvza0AJZ5pKmZ4-KhDsI--r7DtU,67053
3
- dodopayments/_client.py,sha256=w55nyo3Cpm-4F4ZwzDcSTXSW6dEDwgZxgSZvjbs1nqk,29289
3
+ dodopayments/_client.py,sha256=fm4lZZ2CLJxXKvM1UEUovqI1_4NWQq7YLbGYDCAOKHo,30109
4
4
  dodopayments/_compat.py,sha256=DQBVORjFb33zch24jzkhM14msvnzY7mmSmgDLaVFUM8,6562
5
5
  dodopayments/_constants.py,sha256=S14PFzyN9-I31wiV7SmIlL5Ga0MLHxdvegInGdXH7tM,462
6
- dodopayments/_exceptions.py,sha256=NgI0bxilB8xXOfjBWCzr-Y7t1aIJGMqCQRXvSyy29cM,3232
6
+ dodopayments/_exceptions.py,sha256=z1Na53suP0aScGHS0XLqMAFTi8Zoibw9TpWGOMybCqA,3286
7
7
  dodopayments/_files.py,sha256=KnEzGi_O756MvKyJ4fOCW_u3JhOeWPQ4RsmDvqihDQU,3545
8
8
  dodopayments/_models.py,sha256=lKnskYPONAWDvWo8tmbbVk7HmG7UOsI0Nve0vSMmkRc,30452
9
9
  dodopayments/_qs.py,sha256=craIKyvPktJ94cvf9zn8j8ekG9dWJzhWv0ob34lIOv4,4828
@@ -11,7 +11,7 @@ dodopayments/_resource.py,sha256=Jfh17Q3kKzAhO-dlfIwYlueN9t1edaaY_vmnC9vErpA,113
11
11
  dodopayments/_response.py,sha256=PDvrSN3E3IkXVw2GvyOCTNB8ch0Xn9yaWQz4w1nHZEQ,28854
12
12
  dodopayments/_streaming.py,sha256=U4D6MhotaUaGaHz32lBt0XM98IOPIpPbKHUfbb0HGCk,10124
13
13
  dodopayments/_types.py,sha256=CuN9iBczmyAIb_jqVBZ5gauyxAv6ya6d7w0Xj39EJcs,7242
14
- dodopayments/_version.py,sha256=xPLkPH2_IIw9sSqmSlwSsK6tWge8j1HEkepRB3z4Vdo,165
14
+ dodopayments/_version.py,sha256=-EroWfPa0jJIraRWZmAFFAqL6-53YhtUMNTLeLXifZo,165
15
15
  dodopayments/pagination.py,sha256=gaS62u_b_92OYnUHmstLAFL5AF2_cr3Z6VpzSHd0mMw,2796
16
16
  dodopayments/py.typed,sha256=47DEQpj8HBSa-_TImW-5JCeuQeRkm5NMpJWZG3hSuFU,0
17
17
  dodopayments/_utils/__init__.py,sha256=7fch0GT9zpNnErbciSpUNa-SjTxxjY6kxHxKMOM4AGs,2305
@@ -57,8 +57,8 @@ dodopayments/resources/products/images.py,sha256=thtwubdXQKgZDAOpl5KL8PSo987LbpW
57
57
  dodopayments/resources/products/products.py,sha256=PNKNt58mwjZ6-z4pgK1bURzfU1hEgjYlgvg5sBQzVE0,38594
58
58
  dodopayments/resources/webhooks/__init__.py,sha256=qhsQMSm4GpXfesAwbvPOYkhytB3Ab_uW4Nqur7h1R8w,1041
59
59
  dodopayments/resources/webhooks/headers.py,sha256=o0cF_pqZ8zr214n579qAAPMG3BxduPm5u4sGzNRqIrw,9581
60
- dodopayments/resources/webhooks/webhooks.py,sha256=rtJoIQmurfABP8fCKbd8YMjCr4gvwYCbhSvOO2ufNio,27776
61
- dodopayments/types/__init__.py,sha256=AVOtUgicvzpNHZ5sNneD9O-gVyjjTqm-WE7SYu5Z0sc,8836
60
+ dodopayments/resources/webhooks/webhooks.py,sha256=saIim2UtrT_lDYVYHyjfTca0WBww95dxAH_LCB4jLSo,30411
61
+ dodopayments/types/__init__.py,sha256=yg1562RlitKGigOE7zoQ8ZF3OzFS201n2F12PNJ7qKk,11249
62
62
  dodopayments/types/add_meter_to_price.py,sha256=kCxLBTWwLCOjc1NbJM8tQX0dY5X-Be36YL1G2oBU6Z8,827
63
63
  dodopayments/types/add_meter_to_price_param.py,sha256=aHH_YNEAexekadq44gkNEpIcv-t6v8akZMgZY_nECVE,895
64
64
  dodopayments/types/addon_cart_response_item.py,sha256=R-I8Zd2HJKn0DmXmv6Oyu4oo-oEC1-dud0Q6_yqDB7k,235
@@ -93,10 +93,24 @@ dodopayments/types/discount_list_params.py,sha256=xKbKRcv1Z8N_KhqKs3DqsJMnsoceMB
93
93
  dodopayments/types/discount_type.py,sha256=2GOiaq6ssxLTFIMh_jO9mvFfoPhZp1XtUs516f6hrIM,213
94
94
  dodopayments/types/discount_update_params.py,sha256=Lj0mI-eCxx5E5LwluTi9THOBg37xLQXLaeJMjdDCUFE,1481
95
95
  dodopayments/types/dispute.py,sha256=RR8uLulYlDRgC4IWlhEIwVweTVnn5Swk_3hLwx2F9t0,1115
96
+ dodopayments/types/dispute_accepted_webhook_event.py,sha256=inMZL3kzTW-aastrtucQyxJFX1Xi0HMcZYj-ca3hvsA,710
97
+ dodopayments/types/dispute_accepted_webhook_event1.py,sha256=inMZL3kzTW-aastrtucQyxJFX1Xi0HMcZYj-ca3hvsA,710
98
+ dodopayments/types/dispute_cancelled_webhook_event.py,sha256=JDNGsv-ecfw6XoNtFKME1jwRTt8nF2nWEdCHt3KXivw,713
99
+ dodopayments/types/dispute_cancelled_webhook_event1.py,sha256=JDNGsv-ecfw6XoNtFKME1jwRTt8nF2nWEdCHt3KXivw,713
100
+ dodopayments/types/dispute_challenged_webhook_event.py,sha256=aSJWOoloJJm0V1CjnaxKiinOSOEbSDV4S0YIQXcJm3c,716
101
+ dodopayments/types/dispute_challenged_webhook_event1.py,sha256=aSJWOoloJJm0V1CjnaxKiinOSOEbSDV4S0YIQXcJm3c,716
102
+ dodopayments/types/dispute_expired_webhook_event.py,sha256=QrauEOaer24ZZwjl6x6klw-eBr4hze0HDMkCnbmpnQg,707
103
+ dodopayments/types/dispute_expired_webhook_event1.py,sha256=QrauEOaer24ZZwjl6x6klw-eBr4hze0HDMkCnbmpnQg,707
96
104
  dodopayments/types/dispute_list_params.py,sha256=px9NuKB4ABAV4jGWs_4dPkpfEToQUQpcEiLzWf4HDHA,1158
97
105
  dodopayments/types/dispute_list_response.py,sha256=-2iimail29OzhGJFXev4_yDlLifMl3zpiNO2nSo5NT8,1058
106
+ dodopayments/types/dispute_lost_webhook_event.py,sha256=g4xaKWDU7Wnjw1hM25iwI2BcHmjfetEROfkoCytpkMo,698
107
+ dodopayments/types/dispute_lost_webhook_event1.py,sha256=g4xaKWDU7Wnjw1hM25iwI2BcHmjfetEROfkoCytpkMo,698
108
+ dodopayments/types/dispute_opened_webhook_event.py,sha256=pse6XAmzldlDBAlo5P1iNnYJbEPKPHIox0otmfc5z7E,704
109
+ dodopayments/types/dispute_opened_webhook_event1.py,sha256=pse6XAmzldlDBAlo5P1iNnYJbEPKPHIox0otmfc5z7E,704
98
110
  dodopayments/types/dispute_stage.py,sha256=OFaSeVXItONcrIoxGx37qccFVD_dvTeerPJ-d7pPwo8,244
99
111
  dodopayments/types/dispute_status.py,sha256=tBDzobNwCiCmlwT08Y8h3R-IuRPCn_M0IKEpQk-wPXA,363
112
+ dodopayments/types/dispute_won_webhook_event.py,sha256=7t9PnENNtlbjXV_S2cmltPAattUPIPKk92GZMBXka6Y,695
113
+ dodopayments/types/dispute_won_webhook_event1.py,sha256=7t9PnENNtlbjXV_S2cmltPAattUPIPKk92GZMBXka6Y,695
100
114
  dodopayments/types/event.py,sha256=F1H4ieex2-Xp_DbNfm1nlEcBoRyDaBmLNdLsFiNNWGU,514
101
115
  dodopayments/types/event_input_param.py,sha256=BcT-hu0u2NFZBQ99U0PHTKuZDfJCVqKnRvxTxTi7cPw,1120
102
116
  dodopayments/types/get_dispute.py,sha256=26tVlqDoddB27yrS4p1Ve5B1OOhdTCe8AYAcVeaOzUg,1332
@@ -105,6 +119,8 @@ dodopayments/types/license_activate_params.py,sha256=LM3_sHiPdco8kuYlKXmSzXu9OyU
105
119
  dodopayments/types/license_activate_response.py,sha256=M4iXx8skuEkbhMYrcMUf5zGjvJmdRAZRrrf-VhqVYLQ,967
106
120
  dodopayments/types/license_deactivate_params.py,sha256=F6A7vZfdkCsfQi4ibECL3SFzwjjOyr8ZR_RrNRVsCMo,344
107
121
  dodopayments/types/license_key.py,sha256=XdWk3moTPbM0b1wyMpcqeli_moTOZ1HF9v4QhmAe7Oc,1505
122
+ dodopayments/types/license_key_created_webhook_event.py,sha256=Qv73I9rRLJaNfki-7D14HIKgukPeLB_y-i8wkNTdp1k,730
123
+ dodopayments/types/license_key_created_webhook_event1.py,sha256=Qv73I9rRLJaNfki-7D14HIKgukPeLB_y-i8wkNTdp1k,730
108
124
  dodopayments/types/license_key_duration.py,sha256=iijVuKvY1Ie8c76576GmG4TbaZbSKmp8sUdf_p9OLnc,275
109
125
  dodopayments/types/license_key_duration_param.py,sha256=oSXyQMoeYHGFucVZG2Z_hoYRYg9zKCP6PS7x9u0eyUw,373
110
126
  dodopayments/types/license_key_instance.py,sha256=lrXpgEMNoEZM6xVXe-QV2Tu609uEOPerC-c6YwDw9Bc,323
@@ -128,12 +144,20 @@ dodopayments/types/on_demand_subscription_param.py,sha256=of3bmiTDMGljy6No4k-MMS
128
144
  dodopayments/types/one_time_product_cart_item.py,sha256=3l7J3KEE-SCXgArN25qKIXbIIu44Q2kxqd7jf73AGto,544
129
145
  dodopayments/types/one_time_product_cart_item_param.py,sha256=JydRYPBnLhON1pCQPRpQzKLaGJTSrDn1IRVCcMK8iAE,633
130
146
  dodopayments/types/payment.py,sha256=uzSTwdc_Dq9N_v1zuGzyAqh7MZTgCHBjPmN63-k0_CU,4772
147
+ dodopayments/types/payment_cancelled_webhook_event.py,sha256=t-0lra-577KDlCG2ZEEZbVliuOJQ1PoNkSMk2jTsTac,713
148
+ dodopayments/types/payment_cancelled_webhook_event1.py,sha256=t-0lra-577KDlCG2ZEEZbVliuOJQ1PoNkSMk2jTsTac,713
131
149
  dodopayments/types/payment_create_params.py,sha256=mE1OioAYCCaD3p_ZmPX8vSTh-I7l2L6pqoac6-7L46M,2361
132
150
  dodopayments/types/payment_create_response.py,sha256=Kx70m87jA_WlNtdkzGN8ArzjmfrPZC0gneeov5gXtrM,1276
151
+ dodopayments/types/payment_failed_webhook_event.py,sha256=HkcE-U4XiBg94syLmq7LiQmJbMRXgnfvXd5vkw9x7ME,704
152
+ dodopayments/types/payment_failed_webhook_event1.py,sha256=HkcE-U4XiBg94syLmq7LiQmJbMRXgnfvXd5vkw9x7ME,704
133
153
  dodopayments/types/payment_list_params.py,sha256=CH6z3MqKkQsoWzuSnsxxEj60HBrAsUKwQ_9iLm4uZJc,1283
134
154
  dodopayments/types/payment_list_response.py,sha256=I4X52FokitP_OzrR7qQSnIrswyIDOI8E1gu1h4vyDHA,784
135
155
  dodopayments/types/payment_method_types.py,sha256=_Kp6SGsquALvZ7WRboxDsTdFhJxtgQtlpOmBtp-bMfM,505
156
+ dodopayments/types/payment_processing_webhook_event.py,sha256=PZs1cabaMK-S7DfRP-FQl4khG8F_kiwbBYf-WmJGQVE,716
157
+ dodopayments/types/payment_processing_webhook_event1.py,sha256=PZs1cabaMK-S7DfRP-FQl4khG8F_kiwbBYf-WmJGQVE,716
136
158
  dodopayments/types/payment_retrieve_line_items_response.py,sha256=Cxfq-BNHw0AyoLzZ6-5JAcQLkHsKWHg0e0a3yBfzRXU,513
159
+ dodopayments/types/payment_succeeded_webhook_event.py,sha256=8YS-fMt9l8VWixQuqNHS8ssRuD6hPcwrCv3p1TSJl_A,713
160
+ dodopayments/types/payment_succeeded_webhook_event1.py,sha256=8YS-fMt9l8VWixQuqNHS8ssRuD6hPcwrCv3p1TSJl_A,713
137
161
  dodopayments/types/payout_list_params.py,sha256=UxYHju95ukKUPfrQumdSjDG87gY73F6YXabykDg2rqw,754
138
162
  dodopayments/types/payout_list_response.py,sha256=6SDDeP3J2OemGMujl-nsrvpt50evfP2FwX5nM32nAIg,1661
139
163
  dodopayments/types/price.py,sha256=qUSoF8QCMEUXI5WJ68fty-hoXGRu0RdPYayOYSyYWkA,4744
@@ -147,23 +171,43 @@ dodopayments/types/product_update_files_response.py,sha256=a6sNHOCHQxxA7l55M3zS8
147
171
  dodopayments/types/product_update_params.py,sha256=WuvH5Dd_cZgJ2n_lXOh1XzCBuQdq9N1Kl45U_IT6Lq8,2576
148
172
  dodopayments/types/refund.py,sha256=dp50pvFEU89ETZsQLA9ntDGsi-0jc5M-qbb_t9cFOEs,1246
149
173
  dodopayments/types/refund_create_params.py,sha256=hua-rUlW_5ZfKaPsh8O06yPgsj0gH7ru9Rw0Rb-3moQ,912
174
+ dodopayments/types/refund_failed_webhook_event.py,sha256=Qnq8RlvyOWDkLQWs08gREQWFOTYvIioIY7H04nRHLfE,697
175
+ dodopayments/types/refund_failed_webhook_event1.py,sha256=Qnq8RlvyOWDkLQWs08gREQWFOTYvIioIY7H04nRHLfE,697
150
176
  dodopayments/types/refund_list_params.py,sha256=iz4MPgquP4K3AlYPV5_bbt5jHzGFT__RTpGjT4QXnPs,883
151
177
  dodopayments/types/refund_list_response.py,sha256=ac-PiXylKt2woZXop2hOBNx-UOV1JBq879EBICs-oJs,1088
152
178
  dodopayments/types/refund_status.py,sha256=ftnBnLvslfMYcUg8t7nEvb6-m5NWyVVnNcgyVu9eZto,243
179
+ dodopayments/types/refund_succeeded_webhook_event.py,sha256=qKx18jlgkG_k9feE8HCKj1ilW6lsYYzlQPp6ITziz78,706
180
+ dodopayments/types/refund_succeeded_webhook_event1.py,sha256=qKx18jlgkG_k9feE8HCKj1ilW6lsYYzlQPp6ITziz78,706
153
181
  dodopayments/types/subscription.py,sha256=Ft0fxY9OFqfSSI9CCALVx6qvGnpj_8sc3ZswD1RKOk8,3397
182
+ dodopayments/types/subscription_active_webhook_event.py,sha256=ZjmhSqDT6k-1-IEkTcfymfEr3WUfVfb4ir7kOOkrBjk,739
183
+ dodopayments/types/subscription_active_webhook_event1.py,sha256=ZjmhSqDT6k-1-IEkTcfymfEr3WUfVfb4ir7kOOkrBjk,739
184
+ dodopayments/types/subscription_cancelled_webhook_event.py,sha256=Cvyc13QVA3lblFA3590whqoRl-94--kIPrH6iFnogvQ,748
185
+ dodopayments/types/subscription_cancelled_webhook_event1.py,sha256=Cvyc13QVA3lblFA3590whqoRl-94--kIPrH6iFnogvQ,748
154
186
  dodopayments/types/subscription_change_plan_params.py,sha256=u04uGX3XYTPZSldZzc7fvhKeq_HFyQ3kkOkCugZo7TQ,866
155
187
  dodopayments/types/subscription_charge_params.py,sha256=ZFj-vOPuOoS86D--fD6p3Ntxq7TBj3Eeq1PwMJeJ6wI,1748
156
188
  dodopayments/types/subscription_charge_response.py,sha256=aDFuOKqqQ-_v1szx9oUT89QaeM3nvwrlAExzZhF0O-Q,228
157
189
  dodopayments/types/subscription_create_params.py,sha256=EUMnCYULwC-lrJCFJYdXu1eibg2mMJkT-Je9thNTh34,2751
158
190
  dodopayments/types/subscription_create_response.py,sha256=Equ-ycrO3A3mOVElW6BjoBH8sqc5wwKS8ED9fHvTza0,1372
191
+ dodopayments/types/subscription_expired_webhook_event.py,sha256=c6r5nEDyURgXnyzwPJg5z-uJEPd0MFnLw6oxm-P6oYQ,742
192
+ dodopayments/types/subscription_expired_webhook_event1.py,sha256=c6r5nEDyURgXnyzwPJg5z-uJEPd0MFnLw6oxm-P6oYQ,742
193
+ dodopayments/types/subscription_failed_webhook_event.py,sha256=ydZqRBSVRicSxH2hsSdg4W14L1X8K7cMUrJlGZnXpdw,739
194
+ dodopayments/types/subscription_failed_webhook_event1.py,sha256=ydZqRBSVRicSxH2hsSdg4W14L1X8K7cMUrJlGZnXpdw,739
159
195
  dodopayments/types/subscription_list_params.py,sha256=rh6yKzc_2T2R2P4ASk3L6wll-wC9bWa-wTLwFaz67WE,965
160
196
  dodopayments/types/subscription_list_response.py,sha256=CRpwfqOSPc2hLWuMcx1LBRdX7Ztr9eEls1Pza0p_4tc,2856
197
+ dodopayments/types/subscription_on_hold_webhook_event.py,sha256=YheYCTkKtlXj9hjnb-rnYE-HOglaRJbgLiUkKHKcnwA,740
198
+ dodopayments/types/subscription_on_hold_webhook_event1.py,sha256=YheYCTkKtlXj9hjnb-rnYE-HOglaRJbgLiUkKHKcnwA,740
199
+ dodopayments/types/subscription_plan_changed_webhook_event.py,sha256=IjRbabf3Fqps35R_jLATB2DF93JrfcOdEWzfMSTldcU,755
200
+ dodopayments/types/subscription_plan_changed_webhook_event1.py,sha256=IjRbabf3Fqps35R_jLATB2DF93JrfcOdEWzfMSTldcU,755
201
+ dodopayments/types/subscription_renewed_webhook_event.py,sha256=dXxKuSr8MpTFy5czsp28dER7LMsRPKKBmCWMhMo3G3k,742
202
+ dodopayments/types/subscription_renewed_webhook_event1.py,sha256=dXxKuSr8MpTFy5czsp28dER7LMsRPKKBmCWMhMo3G3k,742
161
203
  dodopayments/types/subscription_retrieve_usage_history_params.py,sha256=6zy-1464rEJEeYQDBOpYnsaO7UQMj6pK1-ritd3eAAk,863
162
204
  dodopayments/types/subscription_retrieve_usage_history_response.py,sha256=m6ypsxNUMZ6QYPlgmXBI_AzGTLs2GLeM6Ib6GciTSqI,1155
163
205
  dodopayments/types/subscription_status.py,sha256=3UxvrPY4QVcppbeIV86qe6p2YUQK8sPVcxbqUJn4V8Y,277
164
206
  dodopayments/types/subscription_update_params.py,sha256=vjrcj7uv1XK8GWth1lZqgG809EsqKgYeS4llb-PHRY0,1093
165
207
  dodopayments/types/tax_category.py,sha256=Fwgm25IMhHaSziDOfqePSBKE4PczW_KFJq1yE1uSfpA,245
166
208
  dodopayments/types/time_interval.py,sha256=ZTA79GvVo5RjERLfRrY7ad6e0OqfeeoZuMnE1NShcio,231
209
+ dodopayments/types/unsafe_unwrap_webhook_event.py,sha256=dC5Jh3xYD5CdVvODQWuFkeJ5QKpn4jCkJv-PBt0BWsU,2518
210
+ dodopayments/types/unwrap_webhook_event.py,sha256=ZFWL4Y4TciFwdgOZkodNGIKWhgouamClNQjnothDoGU,2506
167
211
  dodopayments/types/usage_event_ingest_params.py,sha256=4qlJeoYmw-cBEvw29GIQUwqCKrmemAb1vtdCJ39Brds,429
168
212
  dodopayments/types/usage_event_ingest_response.py,sha256=9vqpDOdLHTIEbyKc_Xy2ima4ma2jJQBuQmXgucR-Uj0,228
169
213
  dodopayments/types/usage_event_list_params.py,sha256=4igrzFkmjDNokKkIy5XV3DriurmVXZG590gosc1RZN8,1155
@@ -188,7 +232,7 @@ dodopayments/types/products/image_update_response.py,sha256=TcJyXjoJlONpwwR6yZdI
188
232
  dodopayments/types/webhooks/__init__.py,sha256=F_ZpQalnBiuXt_C2pUepZjgJZwiAGKNwaEB03ZB6sUM,285
189
233
  dodopayments/types/webhooks/header_retrieve_response.py,sha256=IKNaI2xO9qU7UXbffENYrRo2vUr0mqb8TIkAQdtLtXI,369
190
234
  dodopayments/types/webhooks/header_update_params.py,sha256=USiXP4oFllTJgOBcBZQrcLlEzEOB6RHH9Ugdxatyy3g,376
191
- dodopayments-1.55.7.dist-info/METADATA,sha256=WqdGndZl-KiBehXyva_c8F7GMHaJEizUtsWMCRwJRWc,17224
192
- dodopayments-1.55.7.dist-info/WHEEL,sha256=C2FUgwZgiLbznR-k0b_5k3Ai_1aASOXDss3lzCUsUug,87
193
- dodopayments-1.55.7.dist-info/licenses/LICENSE,sha256=3_sqrBb5J3AT3FsjMKEOBRZhweWVsl_s_RjFlclm1vQ,11343
194
- dodopayments-1.55.7.dist-info/RECORD,,
235
+ dodopayments-1.56.0.dist-info/METADATA,sha256=WEVVLcKA2ir7gqhIJfIDjaIKyB_sMoPLQ0u1gKHBnuo,17302
236
+ dodopayments-1.56.0.dist-info/WHEEL,sha256=C2FUgwZgiLbznR-k0b_5k3Ai_1aASOXDss3lzCUsUug,87
237
+ dodopayments-1.56.0.dist-info/licenses/LICENSE,sha256=3_sqrBb5J3AT3FsjMKEOBRZhweWVsl_s_RjFlclm1vQ,11343
238
+ dodopayments-1.56.0.dist-info/RECORD,,