dodopayments 1.39.0__py3-none-any.whl → 1.42.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.

dodopayments/_version.py CHANGED
@@ -1,4 +1,4 @@
1
1
  # File generated from our OpenAPI spec by Stainless. See CONTRIBUTING.md for details.
2
2
 
3
3
  __title__ = "dodopayments"
4
- __version__ = "1.39.0" # x-release-please-version
4
+ __version__ = "1.42.0" # x-release-please-version
@@ -391,6 +391,7 @@ class SubscriptionsResource(SyncAPIResource):
391
391
  adaptive_currency_fees_inclusive: Optional[bool] | NotGiven = NOT_GIVEN,
392
392
  metadata: Optional[Dict[str, str]] | NotGiven = NOT_GIVEN,
393
393
  product_currency: Optional[Currency] | NotGiven = NOT_GIVEN,
394
+ product_description: Optional[str] | NotGiven = NOT_GIVEN,
394
395
  # Use the following arguments if you need to pass additional parameters to the API that aren't available via kwargs.
395
396
  # The extra values given here take precedence over values defined on the client or passed to this method.
396
397
  extra_headers: Headers | None = None,
@@ -414,6 +415,9 @@ class SubscriptionsResource(SyncAPIResource):
414
415
  product_currency: Optional currency of the product price. If not specified, defaults to the
415
416
  currency of the product.
416
417
 
418
+ product_description: Optional product description override for billing and line items. If not
419
+ specified, the stored description of the product will be used.
420
+
417
421
  extra_headers: Send extra headers
418
422
 
419
423
  extra_query: Add additional query parameters to the request
@@ -432,6 +436,7 @@ class SubscriptionsResource(SyncAPIResource):
432
436
  "adaptive_currency_fees_inclusive": adaptive_currency_fees_inclusive,
433
437
  "metadata": metadata,
434
438
  "product_currency": product_currency,
439
+ "product_description": product_description,
435
440
  },
436
441
  subscription_charge_params.SubscriptionChargeParams,
437
442
  ),
@@ -792,6 +797,7 @@ class AsyncSubscriptionsResource(AsyncAPIResource):
792
797
  adaptive_currency_fees_inclusive: Optional[bool] | NotGiven = NOT_GIVEN,
793
798
  metadata: Optional[Dict[str, str]] | NotGiven = NOT_GIVEN,
794
799
  product_currency: Optional[Currency] | NotGiven = NOT_GIVEN,
800
+ product_description: Optional[str] | NotGiven = NOT_GIVEN,
795
801
  # Use the following arguments if you need to pass additional parameters to the API that aren't available via kwargs.
796
802
  # The extra values given here take precedence over values defined on the client or passed to this method.
797
803
  extra_headers: Headers | None = None,
@@ -815,6 +821,9 @@ class AsyncSubscriptionsResource(AsyncAPIResource):
815
821
  product_currency: Optional currency of the product price. If not specified, defaults to the
816
822
  currency of the product.
817
823
 
824
+ product_description: Optional product description override for billing and line items. If not
825
+ specified, the stored description of the product will be used.
826
+
818
827
  extra_headers: Send extra headers
819
828
 
820
829
  extra_query: Add additional query parameters to the request
@@ -833,6 +842,7 @@ class AsyncSubscriptionsResource(AsyncAPIResource):
833
842
  "adaptive_currency_fees_inclusive": adaptive_currency_fees_inclusive,
834
843
  "metadata": metadata,
835
844
  "product_currency": product_currency,
845
+ "product_description": product_description,
836
846
  },
837
847
  subscription_charge_params.SubscriptionChargeParams,
838
848
  ),
@@ -36,3 +36,9 @@ class SubscriptionChargeParams(TypedDict, total=False):
36
36
 
37
37
  If not specified, defaults to the currency of the product.
38
38
  """
39
+
40
+ product_description: Optional[str]
41
+ """
42
+ Optional product description override for billing and line items. If not
43
+ specified, the stored description of the product will be used.
44
+ """
@@ -122,6 +122,12 @@ class OnDemand(TypedDict, total=False):
122
122
  If not specified, defaults to the currency of the product.
123
123
  """
124
124
 
125
+ product_description: Optional[str]
126
+ """
127
+ Optional product description override for billing and line items. If not
128
+ specified, the stored description of the product will be used.
129
+ """
130
+
125
131
  product_price: Optional[int]
126
132
  """
127
133
  Product price for the initial charge to customer If not specified the stored
@@ -1,6 +1,6 @@
1
1
  Metadata-Version: 2.3
2
2
  Name: dodopayments
3
- Version: 1.39.0
3
+ Version: 1.42.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
@@ -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=gP0yR7AIegimhmZ6rYIjSHFCr9YWzvh-jZabbVcgtio,6203
14
- dodopayments/_version.py,sha256=HUd-HpPpVlOZ71OaqZA-vSBvGh3k01m-Mx3NlyeGE6E,165
14
+ dodopayments/_version.py,sha256=owWFVIXgWnCM3cvzHxOfBwA2i_WY17ZLc_2fmLwLSBs,165
15
15
  dodopayments/pagination.py,sha256=WYDrAWHvGL58Fe6X2yYZyYTAFvzWOR63JAsKURk2ti4,1308
16
16
  dodopayments/py.typed,sha256=47DEQpj8HBSa-_TImW-5JCeuQeRkm5NMpJWZG3hSuFU,0
17
17
  dodopayments/_utils/__init__.py,sha256=PNZ_QJuzZEgyYXqkO1HVhGkj5IU9bglVUcw7H-Knjzw,2062
@@ -37,7 +37,7 @@ dodopayments/resources/misc.py,sha256=BRPUna3lLIrJ-gMGOOQL1-xYx_oMwVDzKL4d498C7p
37
37
  dodopayments/resources/payments.py,sha256=avEt18R5HifFiI-xaNzYKBBiMsfxC_Px9PeRpq2lehY,25767
38
38
  dodopayments/resources/payouts.py,sha256=llIbNwI3vQZYf2HsgYL5Irfl6BBoQc1g4aLPWwY09Uo,6926
39
39
  dodopayments/resources/refunds.py,sha256=BS9PcxZhEmBZveZTRo4__WmgVwKpqEEHQDp7tuMh7tQ,15045
40
- dodopayments/resources/subscriptions.py,sha256=DoOZK7asqgNqiuvbaX5Kc2sHwR7NnqIUub1BqSHl0Po,39036
40
+ dodopayments/resources/subscriptions.py,sha256=LG5Voo0_mq03WJ4bwqe_ViyxKMdzgk4FWqoglWz6HAA,39662
41
41
  dodopayments/resources/webhook_events.py,sha256=4pzAMk5TDzkMZv-9tGAevDpsh62XKqb5nOqwI27y6HQ,12803
42
42
  dodopayments/resources/customers/__init__.py,sha256=RIP1WYqO_PIq9b57tDaJWf9zIRxG_iFeFkOVhe3apAo,1146
43
43
  dodopayments/resources/customers/customer_portal.py,sha256=f74AYBYOb0yIffh4jLmIB3igrcfaHnCS0oAbACmGlyA,6961
@@ -126,9 +126,9 @@ dodopayments/types/refund_list_params.py,sha256=iz4MPgquP4K3AlYPV5_bbt5jHzGFT__R
126
126
  dodopayments/types/refund_status.py,sha256=ftnBnLvslfMYcUg8t7nEvb6-m5NWyVVnNcgyVu9eZto,243
127
127
  dodopayments/types/subscription.py,sha256=RvYAopmSsBmNAbTLpSFPHJitQGDQbrQQ6cfT0y4fzEk,2762
128
128
  dodopayments/types/subscription_change_plan_params.py,sha256=7gm16ttHM7URMjTWQIv0CHrk_wuEY3TfsRc16sTrgig,884
129
- dodopayments/types/subscription_charge_params.py,sha256=4waxdE1jsE2PFCcMrR6x07-CRfUFpUOs2Vt7LxSZc34,1102
129
+ dodopayments/types/subscription_charge_params.py,sha256=b7KPBp8Jv5U0srxqi4AgJbrL1PWkZ6VhDObigAuph0M,1302
130
130
  dodopayments/types/subscription_charge_response.py,sha256=aDFuOKqqQ-_v1szx9oUT89QaeM3nvwrlAExzZhF0O-Q,228
131
- dodopayments/types/subscription_create_params.py,sha256=AcXBbl_2jsNrf5sA7_SOh8PFYgkaiEKxYSlD7kEaKC4,4039
131
+ dodopayments/types/subscription_create_params.py,sha256=euxiPwbc8L29tZZLWpuqNS0mkRuOv0CVuVyTGObvmYA,4239
132
132
  dodopayments/types/subscription_create_response.py,sha256=Equ-ycrO3A3mOVElW6BjoBH8sqc5wwKS8ED9fHvTza0,1372
133
133
  dodopayments/types/subscription_list_params.py,sha256=nNOBUT4N2p6SpXODpuLw05_KU3dln8HkEMI6S6voy3k,975
134
134
  dodopayments/types/subscription_list_response.py,sha256=bL-2inf-DRW7lfrHXxkJFPTIJlkzZFjuCq0bSjj98zc,2628
@@ -145,7 +145,7 @@ dodopayments/types/invoices/__init__.py,sha256=OKfJYcKb4NObdiRObqJV_dOyDQ8feXekD
145
145
  dodopayments/types/products/__init__.py,sha256=-W2ETtkni8cZpsC4Eg1aRwuLg1plV1U429JFOR1U4Rw,273
146
146
  dodopayments/types/products/image_update_params.py,sha256=xyF5fRudD8wct8KKx6wc8F7bbMzVBQPOMKnX5bTiRDQ,270
147
147
  dodopayments/types/products/image_update_response.py,sha256=TcJyXjoJlONpwwR6yZdIuBTu2VNyLRZFELfstD9_V-o,273
148
- dodopayments-1.39.0.dist-info/METADATA,sha256=LnGQmcnYtLr1H_YElIecpfJHwMbN84sIvGfQhTbo7xE,18832
149
- dodopayments-1.39.0.dist-info/WHEEL,sha256=C2FUgwZgiLbznR-k0b_5k3Ai_1aASOXDss3lzCUsUug,87
150
- dodopayments-1.39.0.dist-info/licenses/LICENSE,sha256=3_sqrBb5J3AT3FsjMKEOBRZhweWVsl_s_RjFlclm1vQ,11343
151
- dodopayments-1.39.0.dist-info/RECORD,,
148
+ dodopayments-1.42.0.dist-info/METADATA,sha256=DNRYKVfj5ht0DG1h30kTLmac9Mcgkrpbtjg-g4mgbKM,18832
149
+ dodopayments-1.42.0.dist-info/WHEEL,sha256=C2FUgwZgiLbznR-k0b_5k3Ai_1aASOXDss3lzCUsUug,87
150
+ dodopayments-1.42.0.dist-info/licenses/LICENSE,sha256=3_sqrBb5J3AT3FsjMKEOBRZhweWVsl_s_RjFlclm1vQ,11343
151
+ dodopayments-1.42.0.dist-info/RECORD,,