dodopayments 1.38.2__tar.gz → 1.42.0__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.

Potentially problematic release.


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

Files changed (206) hide show
  1. dodopayments-1.42.0/.release-please-manifest.json +3 -0
  2. {dodopayments-1.38.2 → dodopayments-1.42.0}/CHANGELOG.md +17 -0
  3. {dodopayments-1.38.2 → dodopayments-1.42.0}/PKG-INFO +2 -5
  4. {dodopayments-1.38.2 → dodopayments-1.42.0}/README.md +1 -4
  5. {dodopayments-1.38.2 → dodopayments-1.42.0}/pyproject.toml +1 -1
  6. {dodopayments-1.38.2 → dodopayments-1.42.0}/src/dodopayments/_version.py +1 -1
  7. {dodopayments-1.38.2 → dodopayments-1.42.0}/src/dodopayments/resources/subscriptions.py +32 -0
  8. dodopayments-1.42.0/src/dodopayments/types/subscription_charge_params.py +44 -0
  9. {dodopayments-1.38.2 → dodopayments-1.42.0}/src/dodopayments/types/subscription_create_params.py +19 -0
  10. {dodopayments-1.38.2 → dodopayments-1.42.0}/tests/api_resources/test_subscriptions.py +12 -0
  11. dodopayments-1.38.2/.release-please-manifest.json +0 -3
  12. dodopayments-1.38.2/src/dodopayments/types/subscription_charge_params.py +0 -23
  13. {dodopayments-1.38.2 → dodopayments-1.42.0}/.gitignore +0 -0
  14. {dodopayments-1.38.2 → dodopayments-1.42.0}/CONTRIBUTING.md +0 -0
  15. {dodopayments-1.38.2 → dodopayments-1.42.0}/LICENSE +0 -0
  16. {dodopayments-1.38.2 → dodopayments-1.42.0}/SECURITY.md +0 -0
  17. {dodopayments-1.38.2 → dodopayments-1.42.0}/api.md +0 -0
  18. {dodopayments-1.38.2 → dodopayments-1.42.0}/bin/check-release-environment +0 -0
  19. {dodopayments-1.38.2 → dodopayments-1.42.0}/bin/publish-pypi +0 -0
  20. {dodopayments-1.38.2 → dodopayments-1.42.0}/examples/.keep +0 -0
  21. {dodopayments-1.38.2 → dodopayments-1.42.0}/mypy.ini +0 -0
  22. {dodopayments-1.38.2 → dodopayments-1.42.0}/noxfile.py +0 -0
  23. {dodopayments-1.38.2 → dodopayments-1.42.0}/release-please-config.json +0 -0
  24. {dodopayments-1.38.2 → dodopayments-1.42.0}/requirements-dev.lock +0 -0
  25. {dodopayments-1.38.2 → dodopayments-1.42.0}/requirements.lock +0 -0
  26. {dodopayments-1.38.2 → dodopayments-1.42.0}/src/dodo_payments/lib/.keep +0 -0
  27. {dodopayments-1.38.2 → dodopayments-1.42.0}/src/dodopayments/__init__.py +0 -0
  28. {dodopayments-1.38.2 → dodopayments-1.42.0}/src/dodopayments/_base_client.py +0 -0
  29. {dodopayments-1.38.2 → dodopayments-1.42.0}/src/dodopayments/_client.py +0 -0
  30. {dodopayments-1.38.2 → dodopayments-1.42.0}/src/dodopayments/_compat.py +0 -0
  31. {dodopayments-1.38.2 → dodopayments-1.42.0}/src/dodopayments/_constants.py +0 -0
  32. {dodopayments-1.38.2 → dodopayments-1.42.0}/src/dodopayments/_exceptions.py +0 -0
  33. {dodopayments-1.38.2 → dodopayments-1.42.0}/src/dodopayments/_files.py +0 -0
  34. {dodopayments-1.38.2 → dodopayments-1.42.0}/src/dodopayments/_models.py +0 -0
  35. {dodopayments-1.38.2 → dodopayments-1.42.0}/src/dodopayments/_qs.py +0 -0
  36. {dodopayments-1.38.2 → dodopayments-1.42.0}/src/dodopayments/_resource.py +0 -0
  37. {dodopayments-1.38.2 → dodopayments-1.42.0}/src/dodopayments/_response.py +0 -0
  38. {dodopayments-1.38.2 → dodopayments-1.42.0}/src/dodopayments/_streaming.py +0 -0
  39. {dodopayments-1.38.2 → dodopayments-1.42.0}/src/dodopayments/_types.py +0 -0
  40. {dodopayments-1.38.2 → dodopayments-1.42.0}/src/dodopayments/_utils/__init__.py +0 -0
  41. {dodopayments-1.38.2 → dodopayments-1.42.0}/src/dodopayments/_utils/_logs.py +0 -0
  42. {dodopayments-1.38.2 → dodopayments-1.42.0}/src/dodopayments/_utils/_proxy.py +0 -0
  43. {dodopayments-1.38.2 → dodopayments-1.42.0}/src/dodopayments/_utils/_reflection.py +0 -0
  44. {dodopayments-1.38.2 → dodopayments-1.42.0}/src/dodopayments/_utils/_resources_proxy.py +0 -0
  45. {dodopayments-1.38.2 → dodopayments-1.42.0}/src/dodopayments/_utils/_streams.py +0 -0
  46. {dodopayments-1.38.2 → dodopayments-1.42.0}/src/dodopayments/_utils/_sync.py +0 -0
  47. {dodopayments-1.38.2 → dodopayments-1.42.0}/src/dodopayments/_utils/_transform.py +0 -0
  48. {dodopayments-1.38.2 → dodopayments-1.42.0}/src/dodopayments/_utils/_typing.py +0 -0
  49. {dodopayments-1.38.2 → dodopayments-1.42.0}/src/dodopayments/_utils/_utils.py +0 -0
  50. {dodopayments-1.38.2 → dodopayments-1.42.0}/src/dodopayments/lib/.keep +0 -0
  51. {dodopayments-1.38.2 → dodopayments-1.42.0}/src/dodopayments/pagination.py +0 -0
  52. {dodopayments-1.38.2 → dodopayments-1.42.0}/src/dodopayments/py.typed +0 -0
  53. {dodopayments-1.38.2 → dodopayments-1.42.0}/src/dodopayments/resources/__init__.py +0 -0
  54. {dodopayments-1.38.2 → dodopayments-1.42.0}/src/dodopayments/resources/addons.py +0 -0
  55. {dodopayments-1.38.2 → dodopayments-1.42.0}/src/dodopayments/resources/brands.py +0 -0
  56. {dodopayments-1.38.2 → dodopayments-1.42.0}/src/dodopayments/resources/customers/__init__.py +0 -0
  57. {dodopayments-1.38.2 → dodopayments-1.42.0}/src/dodopayments/resources/customers/customer_portal.py +0 -0
  58. {dodopayments-1.38.2 → dodopayments-1.42.0}/src/dodopayments/resources/customers/customers.py +0 -0
  59. {dodopayments-1.38.2 → dodopayments-1.42.0}/src/dodopayments/resources/discounts.py +0 -0
  60. {dodopayments-1.38.2 → dodopayments-1.42.0}/src/dodopayments/resources/disputes.py +0 -0
  61. {dodopayments-1.38.2 → dodopayments-1.42.0}/src/dodopayments/resources/invoices/__init__.py +0 -0
  62. {dodopayments-1.38.2 → dodopayments-1.42.0}/src/dodopayments/resources/invoices/invoices.py +0 -0
  63. {dodopayments-1.38.2 → dodopayments-1.42.0}/src/dodopayments/resources/invoices/payments.py +0 -0
  64. {dodopayments-1.38.2 → dodopayments-1.42.0}/src/dodopayments/resources/license_key_instances.py +0 -0
  65. {dodopayments-1.38.2 → dodopayments-1.42.0}/src/dodopayments/resources/license_keys.py +0 -0
  66. {dodopayments-1.38.2 → dodopayments-1.42.0}/src/dodopayments/resources/licenses.py +0 -0
  67. {dodopayments-1.38.2 → dodopayments-1.42.0}/src/dodopayments/resources/misc.py +0 -0
  68. {dodopayments-1.38.2 → dodopayments-1.42.0}/src/dodopayments/resources/payments.py +0 -0
  69. {dodopayments-1.38.2 → dodopayments-1.42.0}/src/dodopayments/resources/payouts.py +0 -0
  70. {dodopayments-1.38.2 → dodopayments-1.42.0}/src/dodopayments/resources/products/__init__.py +0 -0
  71. {dodopayments-1.38.2 → dodopayments-1.42.0}/src/dodopayments/resources/products/images.py +0 -0
  72. {dodopayments-1.38.2 → dodopayments-1.42.0}/src/dodopayments/resources/products/products.py +0 -0
  73. {dodopayments-1.38.2 → dodopayments-1.42.0}/src/dodopayments/resources/refunds.py +0 -0
  74. {dodopayments-1.38.2 → dodopayments-1.42.0}/src/dodopayments/resources/webhook_events.py +0 -0
  75. {dodopayments-1.38.2 → dodopayments-1.42.0}/src/dodopayments/types/__init__.py +0 -0
  76. {dodopayments-1.38.2 → dodopayments-1.42.0}/src/dodopayments/types/addon_cart_response_item.py +0 -0
  77. {dodopayments-1.38.2 → dodopayments-1.42.0}/src/dodopayments/types/addon_create_params.py +0 -0
  78. {dodopayments-1.38.2 → dodopayments-1.42.0}/src/dodopayments/types/addon_list_params.py +0 -0
  79. {dodopayments-1.38.2 → dodopayments-1.42.0}/src/dodopayments/types/addon_response.py +0 -0
  80. {dodopayments-1.38.2 → dodopayments-1.42.0}/src/dodopayments/types/addon_update_images_response.py +0 -0
  81. {dodopayments-1.38.2 → dodopayments-1.42.0}/src/dodopayments/types/addon_update_params.py +0 -0
  82. {dodopayments-1.38.2 → dodopayments-1.42.0}/src/dodopayments/types/attach_existing_customer_param.py +0 -0
  83. {dodopayments-1.38.2 → dodopayments-1.42.0}/src/dodopayments/types/billing_address.py +0 -0
  84. {dodopayments-1.38.2 → dodopayments-1.42.0}/src/dodopayments/types/billing_address_param.py +0 -0
  85. {dodopayments-1.38.2 → dodopayments-1.42.0}/src/dodopayments/types/brand_create_params.py +0 -0
  86. {dodopayments-1.38.2 → dodopayments-1.42.0}/src/dodopayments/types/brand_create_response.py +0 -0
  87. {dodopayments-1.38.2 → dodopayments-1.42.0}/src/dodopayments/types/brand_list_response.py +0 -0
  88. {dodopayments-1.38.2 → dodopayments-1.42.0}/src/dodopayments/types/brand_retrieve_response.py +0 -0
  89. {dodopayments-1.38.2 → dodopayments-1.42.0}/src/dodopayments/types/brand_update_images_response.py +0 -0
  90. {dodopayments-1.38.2 → dodopayments-1.42.0}/src/dodopayments/types/brand_update_params.py +0 -0
  91. {dodopayments-1.38.2 → dodopayments-1.42.0}/src/dodopayments/types/brand_update_response.py +0 -0
  92. {dodopayments-1.38.2 → dodopayments-1.42.0}/src/dodopayments/types/country_code.py +0 -0
  93. {dodopayments-1.38.2 → dodopayments-1.42.0}/src/dodopayments/types/create_new_customer_param.py +0 -0
  94. {dodopayments-1.38.2 → dodopayments-1.42.0}/src/dodopayments/types/currency.py +0 -0
  95. {dodopayments-1.38.2 → dodopayments-1.42.0}/src/dodopayments/types/customer.py +0 -0
  96. {dodopayments-1.38.2 → dodopayments-1.42.0}/src/dodopayments/types/customer_create_params.py +0 -0
  97. {dodopayments-1.38.2 → dodopayments-1.42.0}/src/dodopayments/types/customer_limited_details.py +0 -0
  98. {dodopayments-1.38.2 → dodopayments-1.42.0}/src/dodopayments/types/customer_list_params.py +0 -0
  99. {dodopayments-1.38.2 → dodopayments-1.42.0}/src/dodopayments/types/customer_portal_session.py +0 -0
  100. {dodopayments-1.38.2 → dodopayments-1.42.0}/src/dodopayments/types/customer_request_param.py +0 -0
  101. {dodopayments-1.38.2 → dodopayments-1.42.0}/src/dodopayments/types/customer_update_params.py +0 -0
  102. {dodopayments-1.38.2 → dodopayments-1.42.0}/src/dodopayments/types/customers/__init__.py +0 -0
  103. {dodopayments-1.38.2 → dodopayments-1.42.0}/src/dodopayments/types/customers/customer_portal_create_params.py +0 -0
  104. {dodopayments-1.38.2 → dodopayments-1.42.0}/src/dodopayments/types/discount.py +0 -0
  105. {dodopayments-1.38.2 → dodopayments-1.42.0}/src/dodopayments/types/discount_create_params.py +0 -0
  106. {dodopayments-1.38.2 → dodopayments-1.42.0}/src/dodopayments/types/discount_list_params.py +0 -0
  107. {dodopayments-1.38.2 → dodopayments-1.42.0}/src/dodopayments/types/discount_type.py +0 -0
  108. {dodopayments-1.38.2 → dodopayments-1.42.0}/src/dodopayments/types/discount_update_params.py +0 -0
  109. {dodopayments-1.38.2 → dodopayments-1.42.0}/src/dodopayments/types/dispute.py +0 -0
  110. {dodopayments-1.38.2 → dodopayments-1.42.0}/src/dodopayments/types/dispute_list_params.py +0 -0
  111. {dodopayments-1.38.2 → dodopayments-1.42.0}/src/dodopayments/types/dispute_list_response.py +0 -0
  112. {dodopayments-1.38.2 → dodopayments-1.42.0}/src/dodopayments/types/dispute_retrieve_response.py +0 -0
  113. {dodopayments-1.38.2 → dodopayments-1.42.0}/src/dodopayments/types/dispute_stage.py +0 -0
  114. {dodopayments-1.38.2 → dodopayments-1.42.0}/src/dodopayments/types/dispute_status.py +0 -0
  115. {dodopayments-1.38.2 → dodopayments-1.42.0}/src/dodopayments/types/intent_status.py +0 -0
  116. {dodopayments-1.38.2 → dodopayments-1.42.0}/src/dodopayments/types/invoices/__init__.py +0 -0
  117. {dodopayments-1.38.2 → dodopayments-1.42.0}/src/dodopayments/types/license_activate_params.py +0 -0
  118. {dodopayments-1.38.2 → dodopayments-1.42.0}/src/dodopayments/types/license_deactivate_params.py +0 -0
  119. {dodopayments-1.38.2 → dodopayments-1.42.0}/src/dodopayments/types/license_key.py +0 -0
  120. {dodopayments-1.38.2 → dodopayments-1.42.0}/src/dodopayments/types/license_key_duration.py +0 -0
  121. {dodopayments-1.38.2 → dodopayments-1.42.0}/src/dodopayments/types/license_key_duration_param.py +0 -0
  122. {dodopayments-1.38.2 → dodopayments-1.42.0}/src/dodopayments/types/license_key_instance.py +0 -0
  123. {dodopayments-1.38.2 → dodopayments-1.42.0}/src/dodopayments/types/license_key_instance_list_params.py +0 -0
  124. {dodopayments-1.38.2 → dodopayments-1.42.0}/src/dodopayments/types/license_key_instance_update_params.py +0 -0
  125. {dodopayments-1.38.2 → dodopayments-1.42.0}/src/dodopayments/types/license_key_list_params.py +0 -0
  126. {dodopayments-1.38.2 → dodopayments-1.42.0}/src/dodopayments/types/license_key_status.py +0 -0
  127. {dodopayments-1.38.2 → dodopayments-1.42.0}/src/dodopayments/types/license_key_update_params.py +0 -0
  128. {dodopayments-1.38.2 → dodopayments-1.42.0}/src/dodopayments/types/license_validate_params.py +0 -0
  129. {dodopayments-1.38.2 → dodopayments-1.42.0}/src/dodopayments/types/license_validate_response.py +0 -0
  130. {dodopayments-1.38.2 → dodopayments-1.42.0}/src/dodopayments/types/misc_list_supported_countries_response.py +0 -0
  131. {dodopayments-1.38.2 → dodopayments-1.42.0}/src/dodopayments/types/one_time_product_cart_item.py +0 -0
  132. {dodopayments-1.38.2 → dodopayments-1.42.0}/src/dodopayments/types/one_time_product_cart_item_param.py +0 -0
  133. {dodopayments-1.38.2 → dodopayments-1.42.0}/src/dodopayments/types/payment.py +0 -0
  134. {dodopayments-1.38.2 → dodopayments-1.42.0}/src/dodopayments/types/payment_create_params.py +0 -0
  135. {dodopayments-1.38.2 → dodopayments-1.42.0}/src/dodopayments/types/payment_create_response.py +0 -0
  136. {dodopayments-1.38.2 → dodopayments-1.42.0}/src/dodopayments/types/payment_list_params.py +0 -0
  137. {dodopayments-1.38.2 → dodopayments-1.42.0}/src/dodopayments/types/payment_list_response.py +0 -0
  138. {dodopayments-1.38.2 → dodopayments-1.42.0}/src/dodopayments/types/payment_retrieve_line_items_response.py +0 -0
  139. {dodopayments-1.38.2 → dodopayments-1.42.0}/src/dodopayments/types/payout_list_params.py +0 -0
  140. {dodopayments-1.38.2 → dodopayments-1.42.0}/src/dodopayments/types/payout_list_response.py +0 -0
  141. {dodopayments-1.38.2 → dodopayments-1.42.0}/src/dodopayments/types/price.py +0 -0
  142. {dodopayments-1.38.2 → dodopayments-1.42.0}/src/dodopayments/types/price_param.py +0 -0
  143. {dodopayments-1.38.2 → dodopayments-1.42.0}/src/dodopayments/types/product.py +0 -0
  144. {dodopayments-1.38.2 → dodopayments-1.42.0}/src/dodopayments/types/product_create_params.py +0 -0
  145. {dodopayments-1.38.2 → dodopayments-1.42.0}/src/dodopayments/types/product_list_params.py +0 -0
  146. {dodopayments-1.38.2 → dodopayments-1.42.0}/src/dodopayments/types/product_list_response.py +0 -0
  147. {dodopayments-1.38.2 → dodopayments-1.42.0}/src/dodopayments/types/product_update_files_params.py +0 -0
  148. {dodopayments-1.38.2 → dodopayments-1.42.0}/src/dodopayments/types/product_update_files_response.py +0 -0
  149. {dodopayments-1.38.2 → dodopayments-1.42.0}/src/dodopayments/types/product_update_params.py +0 -0
  150. {dodopayments-1.38.2 → dodopayments-1.42.0}/src/dodopayments/types/products/__init__.py +0 -0
  151. {dodopayments-1.38.2 → dodopayments-1.42.0}/src/dodopayments/types/products/image_update_params.py +0 -0
  152. {dodopayments-1.38.2 → dodopayments-1.42.0}/src/dodopayments/types/products/image_update_response.py +0 -0
  153. {dodopayments-1.38.2 → dodopayments-1.42.0}/src/dodopayments/types/refund.py +0 -0
  154. {dodopayments-1.38.2 → dodopayments-1.42.0}/src/dodopayments/types/refund_create_params.py +0 -0
  155. {dodopayments-1.38.2 → dodopayments-1.42.0}/src/dodopayments/types/refund_list_params.py +0 -0
  156. {dodopayments-1.38.2 → dodopayments-1.42.0}/src/dodopayments/types/refund_status.py +0 -0
  157. {dodopayments-1.38.2 → dodopayments-1.42.0}/src/dodopayments/types/subscription.py +0 -0
  158. {dodopayments-1.38.2 → dodopayments-1.42.0}/src/dodopayments/types/subscription_change_plan_params.py +0 -0
  159. {dodopayments-1.38.2 → dodopayments-1.42.0}/src/dodopayments/types/subscription_charge_response.py +0 -0
  160. {dodopayments-1.38.2 → dodopayments-1.42.0}/src/dodopayments/types/subscription_create_response.py +0 -0
  161. {dodopayments-1.38.2 → dodopayments-1.42.0}/src/dodopayments/types/subscription_list_params.py +0 -0
  162. {dodopayments-1.38.2 → dodopayments-1.42.0}/src/dodopayments/types/subscription_list_response.py +0 -0
  163. {dodopayments-1.38.2 → dodopayments-1.42.0}/src/dodopayments/types/subscription_status.py +0 -0
  164. {dodopayments-1.38.2 → dodopayments-1.42.0}/src/dodopayments/types/subscription_update_params.py +0 -0
  165. {dodopayments-1.38.2 → dodopayments-1.42.0}/src/dodopayments/types/tax_category.py +0 -0
  166. {dodopayments-1.38.2 → dodopayments-1.42.0}/src/dodopayments/types/time_interval.py +0 -0
  167. {dodopayments-1.38.2 → dodopayments-1.42.0}/src/dodopayments/types/webhook_event.py +0 -0
  168. {dodopayments-1.38.2 → dodopayments-1.42.0}/src/dodopayments/types/webhook_event_list_params.py +0 -0
  169. {dodopayments-1.38.2 → dodopayments-1.42.0}/src/dodopayments/types/webhook_event_type.py +0 -0
  170. {dodopayments-1.38.2 → dodopayments-1.42.0}/tests/__init__.py +0 -0
  171. {dodopayments-1.38.2 → dodopayments-1.42.0}/tests/api_resources/__init__.py +0 -0
  172. {dodopayments-1.38.2 → dodopayments-1.42.0}/tests/api_resources/customers/__init__.py +0 -0
  173. {dodopayments-1.38.2 → dodopayments-1.42.0}/tests/api_resources/customers/test_customer_portal.py +0 -0
  174. {dodopayments-1.38.2 → dodopayments-1.42.0}/tests/api_resources/invoices/__init__.py +0 -0
  175. {dodopayments-1.38.2 → dodopayments-1.42.0}/tests/api_resources/invoices/test_payments.py +0 -0
  176. {dodopayments-1.38.2 → dodopayments-1.42.0}/tests/api_resources/products/__init__.py +0 -0
  177. {dodopayments-1.38.2 → dodopayments-1.42.0}/tests/api_resources/products/test_images.py +0 -0
  178. {dodopayments-1.38.2 → dodopayments-1.42.0}/tests/api_resources/test_addons.py +0 -0
  179. {dodopayments-1.38.2 → dodopayments-1.42.0}/tests/api_resources/test_brands.py +0 -0
  180. {dodopayments-1.38.2 → dodopayments-1.42.0}/tests/api_resources/test_customers.py +0 -0
  181. {dodopayments-1.38.2 → dodopayments-1.42.0}/tests/api_resources/test_discounts.py +0 -0
  182. {dodopayments-1.38.2 → dodopayments-1.42.0}/tests/api_resources/test_disputes.py +0 -0
  183. {dodopayments-1.38.2 → dodopayments-1.42.0}/tests/api_resources/test_license_key_instances.py +0 -0
  184. {dodopayments-1.38.2 → dodopayments-1.42.0}/tests/api_resources/test_license_keys.py +0 -0
  185. {dodopayments-1.38.2 → dodopayments-1.42.0}/tests/api_resources/test_licenses.py +0 -0
  186. {dodopayments-1.38.2 → dodopayments-1.42.0}/tests/api_resources/test_misc.py +0 -0
  187. {dodopayments-1.38.2 → dodopayments-1.42.0}/tests/api_resources/test_payments.py +0 -0
  188. {dodopayments-1.38.2 → dodopayments-1.42.0}/tests/api_resources/test_payouts.py +0 -0
  189. {dodopayments-1.38.2 → dodopayments-1.42.0}/tests/api_resources/test_products.py +0 -0
  190. {dodopayments-1.38.2 → dodopayments-1.42.0}/tests/api_resources/test_refunds.py +0 -0
  191. {dodopayments-1.38.2 → dodopayments-1.42.0}/tests/api_resources/test_webhook_events.py +0 -0
  192. {dodopayments-1.38.2 → dodopayments-1.42.0}/tests/conftest.py +0 -0
  193. {dodopayments-1.38.2 → dodopayments-1.42.0}/tests/sample_file.txt +0 -0
  194. {dodopayments-1.38.2 → dodopayments-1.42.0}/tests/test_client.py +0 -0
  195. {dodopayments-1.38.2 → dodopayments-1.42.0}/tests/test_deepcopy.py +0 -0
  196. {dodopayments-1.38.2 → dodopayments-1.42.0}/tests/test_extract_files.py +0 -0
  197. {dodopayments-1.38.2 → dodopayments-1.42.0}/tests/test_files.py +0 -0
  198. {dodopayments-1.38.2 → dodopayments-1.42.0}/tests/test_models.py +0 -0
  199. {dodopayments-1.38.2 → dodopayments-1.42.0}/tests/test_qs.py +0 -0
  200. {dodopayments-1.38.2 → dodopayments-1.42.0}/tests/test_required_args.py +0 -0
  201. {dodopayments-1.38.2 → dodopayments-1.42.0}/tests/test_response.py +0 -0
  202. {dodopayments-1.38.2 → dodopayments-1.42.0}/tests/test_streaming.py +0 -0
  203. {dodopayments-1.38.2 → dodopayments-1.42.0}/tests/test_transform.py +0 -0
  204. {dodopayments-1.38.2 → dodopayments-1.42.0}/tests/test_utils/test_proxy.py +0 -0
  205. {dodopayments-1.38.2 → dodopayments-1.42.0}/tests/test_utils/test_typing.py +0 -0
  206. {dodopayments-1.38.2 → dodopayments-1.42.0}/tests/utils.py +0 -0
@@ -0,0 +1,3 @@
1
+ {
2
+ ".": "1.42.0"
3
+ }
@@ -1,5 +1,22 @@
1
1
  # Changelog
2
2
 
3
+ ## 1.42.0 (2025-07-16)
4
+
5
+ Full Changelog: [v1.39.0...v1.42.0](https://github.com/dodopayments/dodopayments-python/compare/v1.39.0...v1.42.0)
6
+
7
+ ### Features
8
+
9
+ * **api:** updated open api spec to v1.42.0 ([ea2b952](https://github.com/dodopayments/dodopayments-python/commit/ea2b952352ee4470f4dbace6969f91511331a166))
10
+
11
+ ## 1.39.0 (2025-07-15)
12
+
13
+ Full Changelog: [v1.38.2...v1.39.0](https://github.com/dodopayments/dodopayments-python/compare/v1.38.2...v1.39.0)
14
+
15
+ ### Features
16
+
17
+ * **api:** updated openapi spec to v1.40.0 ([91da77a](https://github.com/dodopayments/dodopayments-python/commit/91da77acd02f39295613e55454005f0a90bca600))
18
+ * clean up environment call outs ([8bbe9b4](https://github.com/dodopayments/dodopayments-python/commit/8bbe9b4cccc55a6f08fd9760b45aa46b94bc6a2d))
19
+
3
20
  ## 1.38.2 (2025-07-12)
4
21
 
5
22
  Full Changelog: [v1.38.1...v1.38.2](https://github.com/dodopayments/dodopayments-python/compare/v1.38.1...v1.38.2)
@@ -1,6 +1,6 @@
1
1
  Metadata-Version: 2.3
2
2
  Name: dodopayments
3
- Version: 1.38.2
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
@@ -148,7 +148,6 @@ pip install dodopayments[aiohttp]
148
148
  Then you can enable it by instantiating the client with `http_client=DefaultAioHttpClient()`:
149
149
 
150
150
  ```python
151
- import os
152
151
  import asyncio
153
152
  from dodopayments import DefaultAioHttpClient
154
153
  from dodopayments import AsyncDodoPayments
@@ -156,9 +155,7 @@ from dodopayments import AsyncDodoPayments
156
155
 
157
156
  async def main() -> None:
158
157
  async with AsyncDodoPayments(
159
- bearer_token=os.environ.get(
160
- "DODO_PAYMENTS_API_KEY"
161
- ), # This is the default and can be omitted
158
+ bearer_token="My Bearer Token",
162
159
  http_client=DefaultAioHttpClient(),
163
160
  ) as client:
164
161
  payment = await client.payments.create(
@@ -113,7 +113,6 @@ pip install dodopayments[aiohttp]
113
113
  Then you can enable it by instantiating the client with `http_client=DefaultAioHttpClient()`:
114
114
 
115
115
  ```python
116
- import os
117
116
  import asyncio
118
117
  from dodopayments import DefaultAioHttpClient
119
118
  from dodopayments import AsyncDodoPayments
@@ -121,9 +120,7 @@ from dodopayments import AsyncDodoPayments
121
120
 
122
121
  async def main() -> None:
123
122
  async with AsyncDodoPayments(
124
- bearer_token=os.environ.get(
125
- "DODO_PAYMENTS_API_KEY"
126
- ), # This is the default and can be omitted
123
+ bearer_token="My Bearer Token",
127
124
  http_client=DefaultAioHttpClient(),
128
125
  ) as client:
129
126
  payment = await client.payments.create(
@@ -1,6 +1,6 @@
1
1
  [project]
2
2
  name = "dodopayments"
3
- version = "1.38.2"
3
+ version = "1.42.0"
4
4
  description = "The official Python library for the Dodo Payments API"
5
5
  dynamic = ["readme"]
6
6
  license = "Apache-2.0"
@@ -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.38.2" # x-release-please-version
4
+ __version__ = "1.42.0" # x-release-please-version
@@ -388,7 +388,10 @@ class SubscriptionsResource(SyncAPIResource):
388
388
  subscription_id: str,
389
389
  *,
390
390
  product_price: int,
391
+ adaptive_currency_fees_inclusive: Optional[bool] | NotGiven = NOT_GIVEN,
391
392
  metadata: Optional[Dict[str, str]] | NotGiven = NOT_GIVEN,
393
+ product_currency: Optional[Currency] | NotGiven = NOT_GIVEN,
394
+ product_description: Optional[str] | NotGiven = NOT_GIVEN,
392
395
  # Use the following arguments if you need to pass additional parameters to the API that aren't available via kwargs.
393
396
  # The extra values given here take precedence over values defined on the client or passed to this method.
394
397
  extra_headers: Headers | None = None,
@@ -402,9 +405,19 @@ class SubscriptionsResource(SyncAPIResource):
402
405
  Represented in the lowest denomination of the currency (e.g.,
403
406
  cents for USD). For example, to charge $1.00, pass `100`.
404
407
 
408
+ adaptive_currency_fees_inclusive: Whether adaptive currency fees should be included in the product_price (true) or
409
+ added on top (false). This field is ignored if adaptive pricing is not enabled
410
+ for the business.
411
+
405
412
  metadata: Metadata for the payment. If not passed, the metadata of the subscription will
406
413
  be taken
407
414
 
415
+ product_currency: Optional currency of the product price. If not specified, defaults to the
416
+ currency of the product.
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
+
408
421
  extra_headers: Send extra headers
409
422
 
410
423
  extra_query: Add additional query parameters to the request
@@ -420,7 +433,10 @@ class SubscriptionsResource(SyncAPIResource):
420
433
  body=maybe_transform(
421
434
  {
422
435
  "product_price": product_price,
436
+ "adaptive_currency_fees_inclusive": adaptive_currency_fees_inclusive,
423
437
  "metadata": metadata,
438
+ "product_currency": product_currency,
439
+ "product_description": product_description,
424
440
  },
425
441
  subscription_charge_params.SubscriptionChargeParams,
426
442
  ),
@@ -778,7 +794,10 @@ class AsyncSubscriptionsResource(AsyncAPIResource):
778
794
  subscription_id: str,
779
795
  *,
780
796
  product_price: int,
797
+ adaptive_currency_fees_inclusive: Optional[bool] | NotGiven = NOT_GIVEN,
781
798
  metadata: Optional[Dict[str, str]] | NotGiven = NOT_GIVEN,
799
+ product_currency: Optional[Currency] | NotGiven = NOT_GIVEN,
800
+ product_description: Optional[str] | NotGiven = NOT_GIVEN,
782
801
  # Use the following arguments if you need to pass additional parameters to the API that aren't available via kwargs.
783
802
  # The extra values given here take precedence over values defined on the client or passed to this method.
784
803
  extra_headers: Headers | None = None,
@@ -792,9 +811,19 @@ class AsyncSubscriptionsResource(AsyncAPIResource):
792
811
  Represented in the lowest denomination of the currency (e.g.,
793
812
  cents for USD). For example, to charge $1.00, pass `100`.
794
813
 
814
+ adaptive_currency_fees_inclusive: Whether adaptive currency fees should be included in the product_price (true) or
815
+ added on top (false). This field is ignored if adaptive pricing is not enabled
816
+ for the business.
817
+
795
818
  metadata: Metadata for the payment. If not passed, the metadata of the subscription will
796
819
  be taken
797
820
 
821
+ product_currency: Optional currency of the product price. If not specified, defaults to the
822
+ currency of the product.
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
+
798
827
  extra_headers: Send extra headers
799
828
 
800
829
  extra_query: Add additional query parameters to the request
@@ -810,7 +839,10 @@ class AsyncSubscriptionsResource(AsyncAPIResource):
810
839
  body=await async_maybe_transform(
811
840
  {
812
841
  "product_price": product_price,
842
+ "adaptive_currency_fees_inclusive": adaptive_currency_fees_inclusive,
813
843
  "metadata": metadata,
844
+ "product_currency": product_currency,
845
+ "product_description": product_description,
814
846
  },
815
847
  subscription_charge_params.SubscriptionChargeParams,
816
848
  ),
@@ -0,0 +1,44 @@
1
+ # File generated from our OpenAPI spec by Stainless. See CONTRIBUTING.md for details.
2
+
3
+ from __future__ import annotations
4
+
5
+ from typing import Dict, Optional
6
+ from typing_extensions import Required, TypedDict
7
+
8
+ from .currency import Currency
9
+
10
+ __all__ = ["SubscriptionChargeParams"]
11
+
12
+
13
+ class SubscriptionChargeParams(TypedDict, total=False):
14
+ product_price: Required[int]
15
+ """The product price.
16
+
17
+ Represented in the lowest denomination of the currency (e.g., cents for USD).
18
+ For example, to charge $1.00, pass `100`.
19
+ """
20
+
21
+ adaptive_currency_fees_inclusive: Optional[bool]
22
+ """
23
+ Whether adaptive currency fees should be included in the product_price (true) or
24
+ added on top (false). This field is ignored if adaptive pricing is not enabled
25
+ for the business.
26
+ """
27
+
28
+ metadata: Optional[Dict[str, str]]
29
+ """Metadata for the payment.
30
+
31
+ If not passed, the metadata of the subscription will be taken
32
+ """
33
+
34
+ product_currency: Optional[Currency]
35
+ """Optional currency of the product price.
36
+
37
+ If not specified, defaults to the currency of the product.
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
+ """
@@ -109,6 +109,25 @@ class OnDemand(TypedDict, total=False):
109
109
  details for future use.
110
110
  """
111
111
 
112
+ adaptive_currency_fees_inclusive: Optional[bool]
113
+ """
114
+ Whether adaptive currency fees should be included in the product_price (true) or
115
+ added on top (false). This field is ignored if adaptive pricing is not enabled
116
+ for the business.
117
+ """
118
+
119
+ product_currency: Optional[Currency]
120
+ """Optional currency of the product price.
121
+
122
+ If not specified, defaults to the currency of the product.
123
+ """
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
+
112
131
  product_price: Optional[int]
113
132
  """
114
133
  Product price for the initial charge to customer If not specified the stored
@@ -65,6 +65,9 @@ class TestSubscriptions:
65
65
  metadata={"foo": "string"},
66
66
  on_demand={
67
67
  "mandate_only": True,
68
+ "adaptive_currency_fees_inclusive": True,
69
+ "product_currency": "AED",
70
+ "product_description": "product_description",
68
71
  "product_price": 0,
69
72
  },
70
73
  payment_link=True,
@@ -331,7 +334,10 @@ class TestSubscriptions:
331
334
  subscription = client.subscriptions.charge(
332
335
  subscription_id="subscription_id",
333
336
  product_price=0,
337
+ adaptive_currency_fees_inclusive=True,
334
338
  metadata={"foo": "string"},
339
+ product_currency="AED",
340
+ product_description="product_description",
335
341
  )
336
342
  assert_matches_type(SubscriptionChargeResponse, subscription, path=["response"])
337
343
 
@@ -416,6 +422,9 @@ class TestAsyncSubscriptions:
416
422
  metadata={"foo": "string"},
417
423
  on_demand={
418
424
  "mandate_only": True,
425
+ "adaptive_currency_fees_inclusive": True,
426
+ "product_currency": "AED",
427
+ "product_description": "product_description",
419
428
  "product_price": 0,
420
429
  },
421
430
  payment_link=True,
@@ -682,7 +691,10 @@ class TestAsyncSubscriptions:
682
691
  subscription = await async_client.subscriptions.charge(
683
692
  subscription_id="subscription_id",
684
693
  product_price=0,
694
+ adaptive_currency_fees_inclusive=True,
685
695
  metadata={"foo": "string"},
696
+ product_currency="AED",
697
+ product_description="product_description",
686
698
  )
687
699
  assert_matches_type(SubscriptionChargeResponse, subscription, path=["response"])
688
700
 
@@ -1,3 +0,0 @@
1
- {
2
- ".": "1.38.2"
3
- }
@@ -1,23 +0,0 @@
1
- # File generated from our OpenAPI spec by Stainless. See CONTRIBUTING.md for details.
2
-
3
- from __future__ import annotations
4
-
5
- from typing import Dict, Optional
6
- from typing_extensions import Required, TypedDict
7
-
8
- __all__ = ["SubscriptionChargeParams"]
9
-
10
-
11
- class SubscriptionChargeParams(TypedDict, total=False):
12
- product_price: Required[int]
13
- """The product price.
14
-
15
- Represented in the lowest denomination of the currency (e.g., cents for USD).
16
- For example, to charge $1.00, pass `100`.
17
- """
18
-
19
- metadata: Optional[Dict[str, str]]
20
- """Metadata for the payment.
21
-
22
- If not passed, the metadata of the subscription will be taken
23
- """
File without changes
File without changes
File without changes
File without changes
File without changes
File without changes