paid-python 1.8.0__tar.gz → 1.9.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.
Files changed (201) hide show
  1. {paid_python-1.8.0 → paid_python-1.9.0}/PKG-INFO +1 -1
  2. {paid_python-1.8.0 → paid_python-1.9.0}/pyproject.toml +1 -1
  3. {paid_python-1.8.0 → paid_python-1.9.0}/src/paid/__init__.py +11 -0
  4. {paid_python-1.8.0 → paid_python-1.9.0}/src/paid/core/client_wrapper.py +2 -2
  5. {paid_python-1.8.0 → paid_python-1.9.0}/src/paid/types/__init__.py +6 -0
  6. paid_python-1.9.0/src/paid/types/success_response.py +19 -0
  7. {paid_python-1.8.0 → paid_python-1.9.0}/src/paid/types/value_receipt_detail.py +6 -0
  8. {paid_python-1.8.0 → paid_python-1.9.0}/src/paid/types/value_receipt_summary.py +6 -0
  9. paid_python-1.9.0/src/paid/types/value_receipt_sync_response.py +26 -0
  10. paid_python-1.9.0/src/paid/value_receipts/__init__.py +37 -0
  11. paid_python-1.9.0/src/paid/value_receipts/client.py +848 -0
  12. paid_python-1.9.0/src/paid/value_receipts/raw_client.py +1397 -0
  13. paid_python-1.9.0/src/paid/value_receipts/types/__init__.py +38 -0
  14. paid_python-1.9.0/src/paid/value_receipts/types/list_value_receipts_request_archived.py +5 -0
  15. paid_python-1.9.0/src/paid/value_receipts/types/sync_value_receipt_request_product.py +26 -0
  16. paid_python-1.8.0/src/paid/value_receipts/__init__.py +0 -4
  17. paid_python-1.8.0/src/paid/value_receipts/client.py +0 -373
  18. paid_python-1.8.0/src/paid/value_receipts/raw_client.py +0 -560
  19. {paid_python-1.8.0 → paid_python-1.9.0}/LICENSE +0 -0
  20. {paid_python-1.8.0 → paid_python-1.9.0}/README.md +0 -0
  21. {paid_python-1.8.0 → paid_python-1.9.0}/src/paid/checkouts/__init__.py +0 -0
  22. {paid_python-1.8.0 → paid_python-1.9.0}/src/paid/checkouts/client.py +0 -0
  23. {paid_python-1.8.0 → paid_python-1.9.0}/src/paid/checkouts/raw_client.py +0 -0
  24. {paid_python-1.8.0 → paid_python-1.9.0}/src/paid/checkouts/types/__init__.py +0 -0
  25. {paid_python-1.8.0 → paid_python-1.9.0}/src/paid/checkouts/types/list_checkouts_request_status.py +0 -0
  26. {paid_python-1.8.0 → paid_python-1.9.0}/src/paid/client.py +0 -0
  27. {paid_python-1.8.0 → paid_python-1.9.0}/src/paid/contacts/__init__.py +0 -0
  28. {paid_python-1.8.0 → paid_python-1.9.0}/src/paid/contacts/client.py +0 -0
  29. {paid_python-1.8.0 → paid_python-1.9.0}/src/paid/contacts/raw_client.py +0 -0
  30. {paid_python-1.8.0 → paid_python-1.9.0}/src/paid/contacts/types/__init__.py +0 -0
  31. {paid_python-1.8.0 → paid_python-1.9.0}/src/paid/contacts/types/create_contact_request_roles_item.py +0 -0
  32. {paid_python-1.8.0 → paid_python-1.9.0}/src/paid/core/__init__.py +0 -0
  33. {paid_python-1.8.0 → paid_python-1.9.0}/src/paid/core/api_error.py +0 -0
  34. {paid_python-1.8.0 → paid_python-1.9.0}/src/paid/core/datetime_utils.py +0 -0
  35. {paid_python-1.8.0 → paid_python-1.9.0}/src/paid/core/file.py +0 -0
  36. {paid_python-1.8.0 → paid_python-1.9.0}/src/paid/core/force_multipart.py +0 -0
  37. {paid_python-1.8.0 → paid_python-1.9.0}/src/paid/core/http_client.py +0 -0
  38. {paid_python-1.8.0 → paid_python-1.9.0}/src/paid/core/http_response.py +0 -0
  39. {paid_python-1.8.0 → paid_python-1.9.0}/src/paid/core/http_sse/__init__.py +0 -0
  40. {paid_python-1.8.0 → paid_python-1.9.0}/src/paid/core/http_sse/_api.py +0 -0
  41. {paid_python-1.8.0 → paid_python-1.9.0}/src/paid/core/http_sse/_decoders.py +0 -0
  42. {paid_python-1.8.0 → paid_python-1.9.0}/src/paid/core/http_sse/_exceptions.py +0 -0
  43. {paid_python-1.8.0 → paid_python-1.9.0}/src/paid/core/http_sse/_models.py +0 -0
  44. {paid_python-1.8.0 → paid_python-1.9.0}/src/paid/core/jsonable_encoder.py +0 -0
  45. {paid_python-1.8.0 → paid_python-1.9.0}/src/paid/core/pydantic_utilities.py +0 -0
  46. {paid_python-1.8.0 → paid_python-1.9.0}/src/paid/core/query_encoder.py +0 -0
  47. {paid_python-1.8.0 → paid_python-1.9.0}/src/paid/core/remove_none_from_dict.py +0 -0
  48. {paid_python-1.8.0 → paid_python-1.9.0}/src/paid/core/request_options.py +0 -0
  49. {paid_python-1.8.0 → paid_python-1.9.0}/src/paid/core/serialization.py +0 -0
  50. {paid_python-1.8.0 → paid_python-1.9.0}/src/paid/credits/__init__.py +0 -0
  51. {paid_python-1.8.0 → paid_python-1.9.0}/src/paid/credits/client.py +0 -0
  52. {paid_python-1.8.0 → paid_python-1.9.0}/src/paid/credits/raw_client.py +0 -0
  53. {paid_python-1.8.0 → paid_python-1.9.0}/src/paid/customer_portals/__init__.py +0 -0
  54. {paid_python-1.8.0 → paid_python-1.9.0}/src/paid/customer_portals/client.py +0 -0
  55. {paid_python-1.8.0 → paid_python-1.9.0}/src/paid/customer_portals/raw_client.py +0 -0
  56. {paid_python-1.8.0 → paid_python-1.9.0}/src/paid/customers/__init__.py +0 -0
  57. {paid_python-1.8.0 → paid_python-1.9.0}/src/paid/customers/client.py +0 -0
  58. {paid_python-1.8.0 → paid_python-1.9.0}/src/paid/customers/raw_client.py +0 -0
  59. {paid_python-1.8.0 → paid_python-1.9.0}/src/paid/environment.py +0 -0
  60. {paid_python-1.8.0 → paid_python-1.9.0}/src/paid/errors/__init__.py +0 -0
  61. {paid_python-1.8.0 → paid_python-1.9.0}/src/paid/errors/bad_request_error.py +0 -0
  62. {paid_python-1.8.0 → paid_python-1.9.0}/src/paid/errors/conflict_error.py +0 -0
  63. {paid_python-1.8.0 → paid_python-1.9.0}/src/paid/errors/forbidden_error.py +0 -0
  64. {paid_python-1.8.0 → paid_python-1.9.0}/src/paid/errors/internal_server_error.py +0 -0
  65. {paid_python-1.8.0 → paid_python-1.9.0}/src/paid/errors/not_found_error.py +0 -0
  66. {paid_python-1.8.0 → paid_python-1.9.0}/src/paid/invoices/__init__.py +0 -0
  67. {paid_python-1.8.0 → paid_python-1.9.0}/src/paid/invoices/client.py +0 -0
  68. {paid_python-1.8.0 → paid_python-1.9.0}/src/paid/invoices/raw_client.py +0 -0
  69. {paid_python-1.8.0 → paid_python-1.9.0}/src/paid/logger.py +0 -0
  70. {paid_python-1.8.0 → paid_python-1.9.0}/src/paid/orders/__init__.py +0 -0
  71. {paid_python-1.8.0 → paid_python-1.9.0}/src/paid/orders/client.py +0 -0
  72. {paid_python-1.8.0 → paid_python-1.9.0}/src/paid/orders/raw_client.py +0 -0
  73. {paid_python-1.8.0 → paid_python-1.9.0}/src/paid/orders/types/__init__.py +0 -0
  74. {paid_python-1.8.0 → paid_python-1.9.0}/src/paid/orders/types/batch_seat_assignments_request_assignments_item.py +0 -0
  75. {paid_python-1.8.0 → paid_python-1.9.0}/src/paid/orders/types/list_order_seats_request_status.py +0 -0
  76. {paid_python-1.8.0 → paid_python-1.9.0}/src/paid/products/__init__.py +0 -0
  77. {paid_python-1.8.0 → paid_python-1.9.0}/src/paid/products/client.py +0 -0
  78. {paid_python-1.8.0 → paid_python-1.9.0}/src/paid/products/raw_client.py +0 -0
  79. {paid_python-1.8.0 → paid_python-1.9.0}/src/paid/py.typed +0 -0
  80. {paid_python-1.8.0 → paid_python-1.9.0}/src/paid/signals/__init__.py +0 -0
  81. {paid_python-1.8.0 → paid_python-1.9.0}/src/paid/signals/client.py +0 -0
  82. {paid_python-1.8.0 → paid_python-1.9.0}/src/paid/signals/raw_client.py +0 -0
  83. {paid_python-1.8.0 → paid_python-1.9.0}/src/paid/tracing/__init__.py +0 -0
  84. {paid_python-1.8.0 → paid_python-1.9.0}/src/paid/tracing/anthropic_patches/__init__.py +0 -0
  85. {paid_python-1.8.0 → paid_python-1.9.0}/src/paid/tracing/anthropic_patches/patches.py +0 -0
  86. {paid_python-1.8.0 → paid_python-1.9.0}/src/paid/tracing/autoinstrumentation.py +0 -0
  87. {paid_python-1.8.0 → paid_python-1.9.0}/src/paid/tracing/context_data.py +0 -0
  88. {paid_python-1.8.0 → paid_python-1.9.0}/src/paid/tracing/context_manager.py +0 -0
  89. {paid_python-1.8.0 → paid_python-1.9.0}/src/paid/tracing/distributed_tracing.py +0 -0
  90. {paid_python-1.8.0 → paid_python-1.9.0}/src/paid/tracing/gemini_patches/__init__.py +0 -0
  91. {paid_python-1.8.0 → paid_python-1.9.0}/src/paid/tracing/gemini_patches/patches.py +0 -0
  92. {paid_python-1.8.0 → paid_python-1.9.0}/src/paid/tracing/openai_agents_patches/__init__.py +0 -0
  93. {paid_python-1.8.0 → paid_python-1.9.0}/src/paid/tracing/openai_agents_patches/patches.py +0 -0
  94. {paid_python-1.8.0 → paid_python-1.9.0}/src/paid/tracing/openai_patches/__init__.py +0 -0
  95. {paid_python-1.8.0 → paid_python-1.9.0}/src/paid/tracing/openai_patches/patches.py +0 -0
  96. {paid_python-1.8.0 → paid_python-1.9.0}/src/paid/tracing/signal.py +0 -0
  97. {paid_python-1.8.0 → paid_python-1.9.0}/src/paid/tracing/tracing.py +0 -0
  98. {paid_python-1.8.0 → paid_python-1.9.0}/src/paid/tracing/wrappers/__init__.py +0 -0
  99. {paid_python-1.8.0 → paid_python-1.9.0}/src/paid/tracing/wrappers/anthropic/__init__.py +0 -0
  100. {paid_python-1.8.0 → paid_python-1.9.0}/src/paid/tracing/wrappers/anthropic/anthropicWrapper.py +0 -0
  101. {paid_python-1.8.0 → paid_python-1.9.0}/src/paid/tracing/wrappers/bedrock/__init__.py +0 -0
  102. {paid_python-1.8.0 → paid_python-1.9.0}/src/paid/tracing/wrappers/bedrock/bedrockWrapper.py +0 -0
  103. {paid_python-1.8.0 → paid_python-1.9.0}/src/paid/tracing/wrappers/gemini/__init__.py +0 -0
  104. {paid_python-1.8.0 → paid_python-1.9.0}/src/paid/tracing/wrappers/gemini/geminiWrapper.py +0 -0
  105. {paid_python-1.8.0 → paid_python-1.9.0}/src/paid/tracing/wrappers/langchain/__init__.py +0 -0
  106. {paid_python-1.8.0 → paid_python-1.9.0}/src/paid/tracing/wrappers/langchain/paidLangChainCallback.py +0 -0
  107. {paid_python-1.8.0 → paid_python-1.9.0}/src/paid/tracing/wrappers/mistral/__init__.py +0 -0
  108. {paid_python-1.8.0 → paid_python-1.9.0}/src/paid/tracing/wrappers/mistral/mistralWrapper.py +0 -0
  109. {paid_python-1.8.0 → paid_python-1.9.0}/src/paid/tracing/wrappers/openai/__init__.py +0 -0
  110. {paid_python-1.8.0 → paid_python-1.9.0}/src/paid/tracing/wrappers/openai/openAiWrapper.py +0 -0
  111. {paid_python-1.8.0 → paid_python-1.9.0}/src/paid/tracing/wrappers/openai_agents/__init__.py +0 -0
  112. {paid_python-1.8.0 → paid_python-1.9.0}/src/paid/tracing/wrappers/openai_agents/openaiAgentsHook.py +0 -0
  113. {paid_python-1.8.0 → paid_python-1.9.0}/src/paid/tracing/wrappers/utils.py +0 -0
  114. {paid_python-1.8.0 → paid_python-1.9.0}/src/paid/types/attribution.py +0 -0
  115. {paid_python-1.8.0 → paid_python-1.9.0}/src/paid/types/batch_seat_assignments_response.py +0 -0
  116. {paid_python-1.8.0 → paid_python-1.9.0}/src/paid/types/bulk_signals_response.py +0 -0
  117. {paid_python-1.8.0 → paid_python-1.9.0}/src/paid/types/checkout.py +0 -0
  118. {paid_python-1.8.0 → paid_python-1.9.0}/src/paid/types/checkout_details.py +0 -0
  119. {paid_python-1.8.0 → paid_python-1.9.0}/src/paid/types/checkout_list_response.py +0 -0
  120. {paid_python-1.8.0 → paid_python-1.9.0}/src/paid/types/checkout_product.py +0 -0
  121. {paid_python-1.8.0 → paid_python-1.9.0}/src/paid/types/checkout_product_input.py +0 -0
  122. {paid_python-1.8.0 → paid_python-1.9.0}/src/paid/types/checkout_status.py +0 -0
  123. {paid_python-1.8.0 → paid_python-1.9.0}/src/paid/types/contact.py +0 -0
  124. {paid_python-1.8.0 → paid_python-1.9.0}/src/paid/types/contact_billing_address.py +0 -0
  125. {paid_python-1.8.0 → paid_python-1.9.0}/src/paid/types/contact_list_response.py +0 -0
  126. {paid_python-1.8.0 → paid_python-1.9.0}/src/paid/types/contact_roles_item.py +0 -0
  127. {paid_python-1.8.0 → paid_python-1.9.0}/src/paid/types/create_order_line_attribute_request.py +0 -0
  128. {paid_python-1.8.0 → paid_python-1.9.0}/src/paid/types/create_order_line_attribute_request_pricing.py +0 -0
  129. {paid_python-1.8.0 → paid_python-1.9.0}/src/paid/types/create_order_line_attribute_request_pricing_billing_frequency.py +0 -0
  130. {paid_python-1.8.0 → paid_python-1.9.0}/src/paid/types/create_order_line_attribute_request_pricing_billing_type.py +0 -0
  131. {paid_python-1.8.0 → paid_python-1.9.0}/src/paid/types/create_order_line_attribute_request_pricing_charge_type.py +0 -0
  132. {paid_python-1.8.0 → paid_python-1.9.0}/src/paid/types/create_order_line_attribute_request_pricing_credit_benefits_item.py +0 -0
  133. {paid_python-1.8.0 → paid_python-1.9.0}/src/paid/types/create_order_line_attribute_request_pricing_credit_benefits_item_allocation_cadence.py +0 -0
  134. {paid_python-1.8.0 → paid_python-1.9.0}/src/paid/types/create_order_line_attribute_request_pricing_credit_benefits_item_credit_grant_timing.py +0 -0
  135. {paid_python-1.8.0 → paid_python-1.9.0}/src/paid/types/create_order_line_attribute_request_pricing_credit_benefits_item_recipient.py +0 -0
  136. {paid_python-1.8.0 → paid_python-1.9.0}/src/paid/types/create_order_line_attribute_request_pricing_credit_benefits_item_rollover_duration_unit.py +0 -0
  137. {paid_python-1.8.0 → paid_python-1.9.0}/src/paid/types/create_order_line_attribute_request_pricing_price_points.py +0 -0
  138. {paid_python-1.8.0 → paid_python-1.9.0}/src/paid/types/create_order_line_attribute_request_pricing_price_points_tiers_item.py +0 -0
  139. {paid_python-1.8.0 → paid_python-1.9.0}/src/paid/types/create_order_line_attribute_request_pricing_price_points_tiers_item_tier_billing_type.py +0 -0
  140. {paid_python-1.8.0 → paid_python-1.9.0}/src/paid/types/create_order_line_attribute_request_pricing_pricing_model.py +0 -0
  141. {paid_python-1.8.0 → paid_python-1.9.0}/src/paid/types/create_order_line_attribute_request_pricing_signal_type.py +0 -0
  142. {paid_python-1.8.0 → paid_python-1.9.0}/src/paid/types/create_order_line_request.py +0 -0
  143. {paid_python-1.8.0 → paid_python-1.9.0}/src/paid/types/credit_balance.py +0 -0
  144. {paid_python-1.8.0 → paid_python-1.9.0}/src/paid/types/credit_balance_list_response.py +0 -0
  145. {paid_python-1.8.0 → paid_python-1.9.0}/src/paid/types/credit_balance_recipient.py +0 -0
  146. {paid_python-1.8.0 → paid_python-1.9.0}/src/paid/types/credit_currency.py +0 -0
  147. {paid_python-1.8.0 → paid_python-1.9.0}/src/paid/types/credit_currency_list_response.py +0 -0
  148. {paid_python-1.8.0 → paid_python-1.9.0}/src/paid/types/customer.py +0 -0
  149. {paid_python-1.8.0 → paid_python-1.9.0}/src/paid/types/customer_attribution.py +0 -0
  150. {paid_python-1.8.0 → paid_python-1.9.0}/src/paid/types/customer_billing_address.py +0 -0
  151. {paid_python-1.8.0 → paid_python-1.9.0}/src/paid/types/customer_by_external_id.py +0 -0
  152. {paid_python-1.8.0 → paid_python-1.9.0}/src/paid/types/customer_by_id.py +0 -0
  153. {paid_python-1.8.0 → paid_python-1.9.0}/src/paid/types/customer_creation_state.py +0 -0
  154. {paid_python-1.8.0 → paid_python-1.9.0}/src/paid/types/customer_list_response.py +0 -0
  155. {paid_python-1.8.0 → paid_python-1.9.0}/src/paid/types/customer_portal.py +0 -0
  156. {paid_python-1.8.0 → paid_python-1.9.0}/src/paid/types/customer_portal_status.py +0 -0
  157. {paid_python-1.8.0 → paid_python-1.9.0}/src/paid/types/customer_user.py +0 -0
  158. {paid_python-1.8.0 → paid_python-1.9.0}/src/paid/types/customer_user_status.py +0 -0
  159. {paid_python-1.8.0 → paid_python-1.9.0}/src/paid/types/empty_response.py +0 -0
  160. {paid_python-1.8.0 → paid_python-1.9.0}/src/paid/types/error_response.py +0 -0
  161. {paid_python-1.8.0 → paid_python-1.9.0}/src/paid/types/invoice.py +0 -0
  162. {paid_python-1.8.0 → paid_python-1.9.0}/src/paid/types/invoice_line.py +0 -0
  163. {paid_python-1.8.0 → paid_python-1.9.0}/src/paid/types/invoice_line_payment_status.py +0 -0
  164. {paid_python-1.8.0 → paid_python-1.9.0}/src/paid/types/invoice_lines_response.py +0 -0
  165. {paid_python-1.8.0 → paid_python-1.9.0}/src/paid/types/invoice_list_response.py +0 -0
  166. {paid_python-1.8.0 → paid_python-1.9.0}/src/paid/types/invoice_payment_status.py +0 -0
  167. {paid_python-1.8.0 → paid_python-1.9.0}/src/paid/types/invoice_source.py +0 -0
  168. {paid_python-1.8.0 → paid_python-1.9.0}/src/paid/types/invoice_status.py +0 -0
  169. {paid_python-1.8.0 → paid_python-1.9.0}/src/paid/types/invoice_tax_status.py +0 -0
  170. {paid_python-1.8.0 → paid_python-1.9.0}/src/paid/types/order.py +0 -0
  171. {paid_python-1.8.0 → paid_python-1.9.0}/src/paid/types/order_creation_state.py +0 -0
  172. {paid_python-1.8.0 → paid_python-1.9.0}/src/paid/types/order_line.py +0 -0
  173. {paid_python-1.8.0 → paid_python-1.9.0}/src/paid/types/order_lines_response.py +0 -0
  174. {paid_python-1.8.0 → paid_python-1.9.0}/src/paid/types/order_list_response.py +0 -0
  175. {paid_python-1.8.0 → paid_python-1.9.0}/src/paid/types/order_seat.py +0 -0
  176. {paid_python-1.8.0 → paid_python-1.9.0}/src/paid/types/order_seat_list_response.py +0 -0
  177. {paid_python-1.8.0 → paid_python-1.9.0}/src/paid/types/pagination.py +0 -0
  178. {paid_python-1.8.0 → paid_python-1.9.0}/src/paid/types/product.py +0 -0
  179. {paid_python-1.8.0 → paid_python-1.9.0}/src/paid/types/product_by_external_id.py +0 -0
  180. {paid_python-1.8.0 → paid_python-1.9.0}/src/paid/types/product_by_id.py +0 -0
  181. {paid_python-1.8.0 → paid_python-1.9.0}/src/paid/types/product_list_response.py +0 -0
  182. {paid_python-1.8.0 → paid_python-1.9.0}/src/paid/types/seat_assignee.py +0 -0
  183. {paid_python-1.8.0 → paid_python-1.9.0}/src/paid/types/seat_assignment_status.py +0 -0
  184. {paid_python-1.8.0 → paid_python-1.9.0}/src/paid/types/signal.py +0 -0
  185. {paid_python-1.8.0 → paid_python-1.9.0}/src/paid/types/update_contact_request.py +0 -0
  186. {paid_python-1.8.0 → paid_python-1.9.0}/src/paid/types/update_contact_request_roles_item.py +0 -0
  187. {paid_python-1.8.0 → paid_python-1.9.0}/src/paid/types/update_customer_request.py +0 -0
  188. {paid_python-1.8.0 → paid_python-1.9.0}/src/paid/types/update_product_request.py +0 -0
  189. {paid_python-1.8.0 → paid_python-1.9.0}/src/paid/types/value_receipt_list_response.py +0 -0
  190. {paid_python-1.8.0 → paid_python-1.9.0}/src/paid/types/webhook.py +0 -0
  191. {paid_python-1.8.0 → paid_python-1.9.0}/src/paid/types/webhook_delivery_status.py +0 -0
  192. {paid_python-1.8.0 → paid_python-1.9.0}/src/paid/types/webhook_list_response.py +0 -0
  193. {paid_python-1.8.0 → paid_python-1.9.0}/src/paid/types/webhook_name.py +0 -0
  194. {paid_python-1.8.0 → paid_python-1.9.0}/src/paid/types/webhook_test_response.py +0 -0
  195. {paid_python-1.8.0 → paid_python-1.9.0}/src/paid/version.py +0 -0
  196. {paid_python-1.8.0 → paid_python-1.9.0}/src/paid/webhooks/__init__.py +0 -0
  197. {paid_python-1.8.0 → paid_python-1.9.0}/src/paid/webhooks/client.py +0 -0
  198. {paid_python-1.8.0 → paid_python-1.9.0}/src/paid/webhooks/raw_client.py +0 -0
  199. {paid_python-1.8.0 → paid_python-1.9.0}/src/paid/webhooks/types/__init__.py +0 -0
  200. {paid_python-1.8.0 → paid_python-1.9.0}/src/paid/webhooks/types/test_webhook_request_webhook_name.py +0 -0
  201. {paid_python-1.8.0 → paid_python-1.9.0}/src/paid/webhooks/types/update_webhook_request_webhook_name.py +0 -0
@@ -1,6 +1,6 @@
1
1
  Metadata-Version: 2.1
2
2
  Name: paid-python
3
- Version: 1.8.0
3
+ Version: 1.9.0
4
4
  Summary:
5
5
  Requires-Python: >=3.10,<3.14
6
6
  Classifier: Intended Audience :: Developers
@@ -4,7 +4,7 @@ dynamic = ["version"]
4
4
 
5
5
  [tool.poetry]
6
6
  name = "paid-python"
7
- version = "1.8.0"
7
+ version = "1.9.0"
8
8
  description = ""
9
9
  readme = "README.md"
10
10
  authors = []
@@ -78,6 +78,7 @@ if typing.TYPE_CHECKING:
78
78
  SeatAssignee,
79
79
  SeatAssignmentStatus,
80
80
  Signal,
81
+ SuccessResponse,
81
82
  UpdateContactRequest,
82
83
  UpdateContactRequestRolesItem,
83
84
  UpdateCustomerRequest,
@@ -85,6 +86,7 @@ if typing.TYPE_CHECKING:
85
86
  ValueReceiptDetail,
86
87
  ValueReceiptListResponse,
87
88
  ValueReceiptSummary,
89
+ ValueReceiptSyncResponse,
88
90
  Webhook,
89
91
  WebhookDeliveryStatus,
90
92
  WebhookListResponse,
@@ -110,6 +112,7 @@ if typing.TYPE_CHECKING:
110
112
  from .contacts import CreateContactRequestRolesItem
111
113
  from .environment import PaidEnvironment
112
114
  from .orders import BatchSeatAssignmentsRequestAssignmentsItem, ListOrderSeatsRequestStatus
115
+ from .value_receipts import ListValueReceiptsRequestArchived, SyncValueReceiptRequestProduct
113
116
  from .version import __version__
114
117
  from .webhooks import TestWebhookRequestWebhookName, UpdateWebhookRequestWebhookName
115
118
  _dynamic_imports: typing.Dict[str, str] = {
@@ -178,6 +181,7 @@ _dynamic_imports: typing.Dict[str, str] = {
178
181
  "InvoiceTaxStatus": ".types",
179
182
  "ListCheckoutsRequestStatus": ".checkouts",
180
183
  "ListOrderSeatsRequestStatus": ".orders",
184
+ "ListValueReceiptsRequestArchived": ".value_receipts",
181
185
  "NotFoundError": ".errors",
182
186
  "Order": ".types",
183
187
  "OrderCreationState": ".types",
@@ -196,6 +200,8 @@ _dynamic_imports: typing.Dict[str, str] = {
196
200
  "SeatAssignee": ".types",
197
201
  "SeatAssignmentStatus": ".types",
198
202
  "Signal": ".types",
203
+ "SuccessResponse": ".types",
204
+ "SyncValueReceiptRequestProduct": ".value_receipts",
199
205
  "TestWebhookRequestWebhookName": ".webhooks",
200
206
  "UpdateContactRequest": ".types",
201
207
  "UpdateContactRequestRolesItem": ".types",
@@ -205,6 +211,7 @@ _dynamic_imports: typing.Dict[str, str] = {
205
211
  "ValueReceiptDetail": ".types",
206
212
  "ValueReceiptListResponse": ".types",
207
213
  "ValueReceiptSummary": ".types",
214
+ "ValueReceiptSyncResponse": ".types",
208
215
  "Webhook": ".types",
209
216
  "WebhookDeliveryStatus": ".types",
210
217
  "WebhookListResponse": ".types",
@@ -312,6 +319,7 @@ __all__ = [
312
319
  "InvoiceTaxStatus",
313
320
  "ListCheckoutsRequestStatus",
314
321
  "ListOrderSeatsRequestStatus",
322
+ "ListValueReceiptsRequestArchived",
315
323
  "NotFoundError",
316
324
  "Order",
317
325
  "OrderCreationState",
@@ -330,6 +338,8 @@ __all__ = [
330
338
  "SeatAssignee",
331
339
  "SeatAssignmentStatus",
332
340
  "Signal",
341
+ "SuccessResponse",
342
+ "SyncValueReceiptRequestProduct",
333
343
  "TestWebhookRequestWebhookName",
334
344
  "UpdateContactRequest",
335
345
  "UpdateContactRequestRolesItem",
@@ -339,6 +349,7 @@ __all__ = [
339
349
  "ValueReceiptDetail",
340
350
  "ValueReceiptListResponse",
341
351
  "ValueReceiptSummary",
352
+ "ValueReceiptSyncResponse",
342
353
  "Webhook",
343
354
  "WebhookDeliveryStatus",
344
355
  "WebhookListResponse",
@@ -24,12 +24,12 @@ class BaseClientWrapper:
24
24
  import platform
25
25
 
26
26
  headers: typing.Dict[str, str] = {
27
- "User-Agent": "paid-python/1.8.0",
27
+ "User-Agent": "paid-python/1.9.0",
28
28
  "X-Fern-Language": "Python",
29
29
  "X-Fern-Runtime": f"python/{platform.python_version()}",
30
30
  "X-Fern-Platform": f"{platform.system().lower()}/{platform.release()}",
31
31
  "X-Fern-SDK-Name": "paid-python",
32
- "X-Fern-SDK-Version": "1.8.0",
32
+ "X-Fern-SDK-Version": "1.9.0",
33
33
  **(self.get_custom_headers() or {}),
34
34
  }
35
35
  headers["Authorization"] = f"Bearer {self._get_token()}"
@@ -103,6 +103,7 @@ if typing.TYPE_CHECKING:
103
103
  from .seat_assignee import SeatAssignee
104
104
  from .seat_assignment_status import SeatAssignmentStatus
105
105
  from .signal import Signal
106
+ from .success_response import SuccessResponse
106
107
  from .update_contact_request import UpdateContactRequest
107
108
  from .update_contact_request_roles_item import UpdateContactRequestRolesItem
108
109
  from .update_customer_request import UpdateCustomerRequest
@@ -110,6 +111,7 @@ if typing.TYPE_CHECKING:
110
111
  from .value_receipt_detail import ValueReceiptDetail
111
112
  from .value_receipt_list_response import ValueReceiptListResponse
112
113
  from .value_receipt_summary import ValueReceiptSummary
114
+ from .value_receipt_sync_response import ValueReceiptSyncResponse
113
115
  from .webhook import Webhook
114
116
  from .webhook_delivery_status import WebhookDeliveryStatus
115
117
  from .webhook_list_response import WebhookListResponse
@@ -187,6 +189,7 @@ _dynamic_imports: typing.Dict[str, str] = {
187
189
  "SeatAssignee": ".seat_assignee",
188
190
  "SeatAssignmentStatus": ".seat_assignment_status",
189
191
  "Signal": ".signal",
192
+ "SuccessResponse": ".success_response",
190
193
  "UpdateContactRequest": ".update_contact_request",
191
194
  "UpdateContactRequestRolesItem": ".update_contact_request_roles_item",
192
195
  "UpdateCustomerRequest": ".update_customer_request",
@@ -194,6 +197,7 @@ _dynamic_imports: typing.Dict[str, str] = {
194
197
  "ValueReceiptDetail": ".value_receipt_detail",
195
198
  "ValueReceiptListResponse": ".value_receipt_list_response",
196
199
  "ValueReceiptSummary": ".value_receipt_summary",
200
+ "ValueReceiptSyncResponse": ".value_receipt_sync_response",
197
201
  "Webhook": ".webhook",
198
202
  "WebhookDeliveryStatus": ".webhook_delivery_status",
199
203
  "WebhookListResponse": ".webhook_list_response",
@@ -295,6 +299,7 @@ __all__ = [
295
299
  "SeatAssignee",
296
300
  "SeatAssignmentStatus",
297
301
  "Signal",
302
+ "SuccessResponse",
298
303
  "UpdateContactRequest",
299
304
  "UpdateContactRequestRolesItem",
300
305
  "UpdateCustomerRequest",
@@ -302,6 +307,7 @@ __all__ = [
302
307
  "ValueReceiptDetail",
303
308
  "ValueReceiptListResponse",
304
309
  "ValueReceiptSummary",
310
+ "ValueReceiptSyncResponse",
305
311
  "Webhook",
306
312
  "WebhookDeliveryStatus",
307
313
  "WebhookListResponse",
@@ -0,0 +1,19 @@
1
+ # This file was auto-generated by Fern from our API Definition.
2
+
3
+ import typing
4
+
5
+ import pydantic
6
+ from ..core.pydantic_utilities import IS_PYDANTIC_V2, UniversalBaseModel
7
+
8
+
9
+ class SuccessResponse(UniversalBaseModel):
10
+ success: bool
11
+
12
+ if IS_PYDANTIC_V2:
13
+ model_config: typing.ClassVar[pydantic.ConfigDict] = pydantic.ConfigDict(extra="allow", frozen=True) # type: ignore # Pydantic v2
14
+ else:
15
+
16
+ class Config:
17
+ frozen = True
18
+ smart_union = True
19
+ extra = pydantic.Extra.allow
@@ -31,6 +31,9 @@ class ValueReceiptDetail(UniversalBaseModel):
31
31
  order_id: typing_extensions.Annotated[
32
32
  typing.Optional[str], FieldMetadata(alias="orderId"), pydantic.Field(alias="orderId")
33
33
  ] = None
34
+ product_id: typing_extensions.Annotated[
35
+ typing.Optional[str], FieldMetadata(alias="productId"), pydantic.Field(alias="productId")
36
+ ] = None
34
37
  currency: str
35
38
  start_date: typing_extensions.Annotated[
36
39
  typing.Optional[dt.datetime], FieldMetadata(alias="startDate"), pydantic.Field(alias="startDate")
@@ -41,6 +44,9 @@ class ValueReceiptDetail(UniversalBaseModel):
41
44
  total_delivered_value: typing_extensions.Annotated[
42
45
  typing.Optional[float], FieldMetadata(alias="totalDeliveredValue"), pydantic.Field(alias="totalDeliveredValue")
43
46
  ] = None
47
+ archived_at: typing_extensions.Annotated[
48
+ typing.Optional[dt.datetime], FieldMetadata(alias="archivedAt"), pydantic.Field(alias="archivedAt")
49
+ ] = None
44
50
  created_at: typing_extensions.Annotated[
45
51
  dt.datetime, FieldMetadata(alias="createdAt"), pydantic.Field(alias="createdAt")
46
52
  ]
@@ -31,6 +31,9 @@ class ValueReceiptSummary(UniversalBaseModel):
31
31
  order_id: typing_extensions.Annotated[
32
32
  typing.Optional[str], FieldMetadata(alias="orderId"), pydantic.Field(alias="orderId")
33
33
  ] = None
34
+ product_id: typing_extensions.Annotated[
35
+ typing.Optional[str], FieldMetadata(alias="productId"), pydantic.Field(alias="productId")
36
+ ] = None
34
37
  currency: str
35
38
  start_date: typing_extensions.Annotated[
36
39
  typing.Optional[dt.datetime], FieldMetadata(alias="startDate"), pydantic.Field(alias="startDate")
@@ -41,6 +44,9 @@ class ValueReceiptSummary(UniversalBaseModel):
41
44
  total_delivered_value: typing_extensions.Annotated[
42
45
  typing.Optional[float], FieldMetadata(alias="totalDeliveredValue"), pydantic.Field(alias="totalDeliveredValue")
43
46
  ] = None
47
+ archived_at: typing_extensions.Annotated[
48
+ typing.Optional[dt.datetime], FieldMetadata(alias="archivedAt"), pydantic.Field(alias="archivedAt")
49
+ ] = None
44
50
  created_at: typing_extensions.Annotated[
45
51
  dt.datetime, FieldMetadata(alias="createdAt"), pydantic.Field(alias="createdAt")
46
52
  ]
@@ -0,0 +1,26 @@
1
+ # This file was auto-generated by Fern from our API Definition.
2
+
3
+ import typing
4
+
5
+ import pydantic
6
+ import typing_extensions
7
+ from ..core.pydantic_utilities import IS_PYDANTIC_V2, UniversalBaseModel
8
+ from ..core.serialization import FieldMetadata
9
+
10
+
11
+ class ValueReceiptSyncResponse(UniversalBaseModel):
12
+ id: str
13
+ status: str
14
+ public_url_token: typing_extensions.Annotated[
15
+ str, FieldMetadata(alias="publicUrlToken"), pydantic.Field(alias="publicUrlToken")
16
+ ]
17
+ public_url: typing_extensions.Annotated[str, FieldMetadata(alias="publicUrl"), pydantic.Field(alias="publicUrl")]
18
+
19
+ if IS_PYDANTIC_V2:
20
+ model_config: typing.ClassVar[pydantic.ConfigDict] = pydantic.ConfigDict(extra="allow", frozen=True) # type: ignore # Pydantic v2
21
+ else:
22
+
23
+ class Config:
24
+ frozen = True
25
+ smart_union = True
26
+ extra = pydantic.Extra.allow
@@ -0,0 +1,37 @@
1
+ # This file was auto-generated by Fern from our API Definition.
2
+
3
+ # isort: skip_file
4
+
5
+ import typing
6
+ from importlib import import_module
7
+
8
+ if typing.TYPE_CHECKING:
9
+ from .types import ListValueReceiptsRequestArchived, SyncValueReceiptRequestProduct
10
+ _dynamic_imports: typing.Dict[str, str] = {
11
+ "ListValueReceiptsRequestArchived": ".types",
12
+ "SyncValueReceiptRequestProduct": ".types",
13
+ }
14
+
15
+
16
+ def __getattr__(attr_name: str) -> typing.Any:
17
+ module_name = _dynamic_imports.get(attr_name)
18
+ if module_name is None:
19
+ raise AttributeError(f"No {attr_name} found in _dynamic_imports for module name -> {__name__}")
20
+ try:
21
+ module = import_module(module_name, __package__)
22
+ if module_name == f".{attr_name}":
23
+ return module
24
+ else:
25
+ return getattr(module, attr_name)
26
+ except ImportError as e:
27
+ raise ImportError(f"Failed to import {attr_name} from {module_name}: {e}") from e
28
+ except AttributeError as e:
29
+ raise AttributeError(f"Failed to get {attr_name} from {module_name}: {e}") from e
30
+
31
+
32
+ def __dir__():
33
+ lazy_attrs = list(_dynamic_imports.keys())
34
+ return sorted(lazy_attrs)
35
+
36
+
37
+ __all__ = ["ListValueReceiptsRequestArchived", "SyncValueReceiptRequestProduct"]