BasisTheoryClient 5.10.0__tar.gz → 6.0.1__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 (456) hide show
  1. {basistheoryclient-5.10.0 → basistheoryclient-6.0.1}/PKG-INFO +70 -43
  2. {basistheoryclient-5.10.0 → basistheoryclient-6.0.1}/README.md +60 -37
  3. {basistheoryclient-5.10.0 → basistheoryclient-6.0.1}/pyproject.toml +20 -8
  4. basistheoryclient-6.0.1/src/basis_theory/__init__.py +825 -0
  5. basistheoryclient-6.0.1/src/basis_theory/_default_clients.py +32 -0
  6. basistheoryclient-6.0.1/src/basis_theory/account_updater/__init__.py +39 -0
  7. basistheoryclient-6.0.1/src/basis_theory/account_updater/client.py +82 -0
  8. basistheoryclient-6.0.1/src/basis_theory/account_updater/jobs/__init__.py +34 -0
  9. {basistheoryclient-5.10.0 → basistheoryclient-6.0.1}/src/basis_theory/account_updater/jobs/client.py +8 -2
  10. {basistheoryclient-5.10.0 → basistheoryclient-6.0.1}/src/basis_theory/account_updater/jobs/raw_client.py +33 -7
  11. basistheoryclient-6.0.1/src/basis_theory/account_updater/jobs/types/__init__.py +36 -0
  12. {basistheoryclient-5.10.0 → basistheoryclient-6.0.1}/src/basis_theory/account_updater/real_time/raw_client.py +10 -0
  13. basistheoryclient-6.0.1/src/basis_theory/agentic/__init__.py +39 -0
  14. basistheoryclient-6.0.1/src/basis_theory/agentic/agents/__init__.py +38 -0
  15. {basistheoryclient-5.10.0 → basistheoryclient-6.0.1}/src/basis_theory/agentic/agents/client.py +24 -3
  16. basistheoryclient-6.0.1/src/basis_theory/agentic/agents/instructions/__init__.py +39 -0
  17. {basistheoryclient-5.10.0 → basistheoryclient-6.0.1}/src/basis_theory/agentic/agents/instructions/client.py +89 -16
  18. {basistheoryclient-5.10.0 → basistheoryclient-6.0.1}/src/basis_theory/agentic/agents/instructions/credentials/client.py +14 -20
  19. {basistheoryclient-5.10.0 → basistheoryclient-6.0.1}/src/basis_theory/agentic/agents/instructions/credentials/raw_client.py +27 -13
  20. {basistheoryclient-5.10.0 → basistheoryclient-6.0.1}/src/basis_theory/agentic/agents/instructions/raw_client.py +119 -46
  21. basistheoryclient-6.0.1/src/basis_theory/agentic/agents/instructions/types/__init__.py +34 -0
  22. basistheoryclient-6.0.1/src/basis_theory/agentic/agents/instructions/types/create_instruction_request_mpp.py +26 -0
  23. {basistheoryclient-5.10.0 → basistheoryclient-6.0.1}/src/basis_theory/agentic/agents/instructions/verify/client.py +4 -4
  24. {basistheoryclient-5.10.0 → basistheoryclient-6.0.1}/src/basis_theory/agentic/agents/instructions/verify/raw_client.py +35 -23
  25. {basistheoryclient-5.10.0 → basistheoryclient-6.0.1}/src/basis_theory/agentic/agents/raw_client.py +53 -19
  26. basistheoryclient-6.0.1/src/basis_theory/agentic/client.py +82 -0
  27. basistheoryclient-6.0.1/src/basis_theory/agentic/enrollments/__init__.py +35 -0
  28. {basistheoryclient-5.10.0 → basistheoryclient-6.0.1}/src/basis_theory/agentic/enrollments/client.py +51 -9
  29. {basistheoryclient-5.10.0 → basistheoryclient-6.0.1}/src/basis_theory/agentic/enrollments/raw_client.py +82 -30
  30. basistheoryclient-6.0.1/src/basis_theory/agentic/enrollments/types/__init__.py +34 -0
  31. {basistheoryclient-5.10.0 → basistheoryclient-6.0.1}/src/basis_theory/agentic/enrollments/types/create_enrollment_request_type.py +1 -1
  32. {basistheoryclient-5.10.0 → basistheoryclient-6.0.1}/src/basis_theory/agentic/enrollments/verify/client.py +4 -4
  33. {basistheoryclient-5.10.0 → basistheoryclient-6.0.1}/src/basis_theory/agentic/enrollments/verify/raw_client.py +63 -35
  34. basistheoryclient-6.0.1/src/basis_theory/apple_pay/__init__.py +34 -0
  35. {basistheoryclient-5.10.0 → basistheoryclient-6.0.1}/src/basis_theory/apple_pay/client.py +62 -13
  36. {basistheoryclient-5.10.0 → basistheoryclient-6.0.1}/src/basis_theory/apple_pay/domain/raw_client.py +34 -0
  37. basistheoryclient-6.0.1/src/basis_theory/apple_pay/merchant/__init__.py +34 -0
  38. {basistheoryclient-5.10.0 → basistheoryclient-6.0.1}/src/basis_theory/apple_pay/merchant/certificates/raw_client.py +45 -19
  39. {basistheoryclient-5.10.0 → basistheoryclient-6.0.1}/src/basis_theory/apple_pay/merchant/client.py +24 -3
  40. {basistheoryclient-5.10.0 → basistheoryclient-6.0.1}/src/basis_theory/apple_pay/merchant/raw_client.py +39 -13
  41. {basistheoryclient-5.10.0 → basistheoryclient-6.0.1}/src/basis_theory/apple_pay/raw_client.py +39 -13
  42. {basistheoryclient-5.10.0 → basistheoryclient-6.0.1}/src/basis_theory/apple_pay/session/raw_client.py +10 -0
  43. {basistheoryclient-5.10.0 → basistheoryclient-6.0.1}/src/basis_theory/application_keys/client.py +16 -12
  44. {basistheoryclient-5.10.0 → basistheoryclient-6.0.1}/src/basis_theory/application_keys/raw_client.py +65 -31
  45. {basistheoryclient-5.10.0 → basistheoryclient-6.0.1}/src/basis_theory/application_templates/raw_client.py +29 -11
  46. {basistheoryclient-5.10.0 → basistheoryclient-6.0.1}/src/basis_theory/applications/client.py +19 -6
  47. {basistheoryclient-5.10.0 → basistheoryclient-6.0.1}/src/basis_theory/applications/raw_client.py +84 -38
  48. basistheoryclient-6.0.1/src/basis_theory/client.py +625 -0
  49. basistheoryclient-6.0.1/src/basis_theory/core/__init__.py +132 -0
  50. {basistheoryclient-5.10.0 → basistheoryclient-6.0.1}/src/basis_theory/core/client_wrapper.py +44 -2
  51. basistheoryclient-6.0.1/src/basis_theory/core/datetime_utils.py +70 -0
  52. {basistheoryclient-5.10.0 → basistheoryclient-6.0.1}/src/basis_theory/core/force_multipart.py +4 -2
  53. basistheoryclient-6.0.1/src/basis_theory/core/http_client.py +839 -0
  54. {basistheoryclient-5.10.0 → basistheoryclient-6.0.1}/src/basis_theory/core/http_response.py +6 -2
  55. basistheoryclient-6.0.1/src/basis_theory/core/http_sse/__init__.py +42 -0
  56. basistheoryclient-6.0.1/src/basis_theory/core/http_sse/_api.py +148 -0
  57. basistheoryclient-6.0.1/src/basis_theory/core/http_sse/_decoders.py +61 -0
  58. basistheoryclient-5.10.0/src/basis_theory/documents/__init__.py → basistheoryclient-6.0.1/src/basis_theory/core/http_sse/_exceptions.py +3 -3
  59. basistheoryclient-6.0.1/src/basis_theory/core/http_sse/_models.py +17 -0
  60. {basistheoryclient-5.10.0 → basistheoryclient-6.0.1}/src/basis_theory/core/jsonable_encoder.py +20 -0
  61. basistheoryclient-6.0.1/src/basis_theory/core/logging.py +107 -0
  62. {basistheoryclient-5.10.0 → basistheoryclient-6.0.1}/src/basis_theory/core/pagination.py +15 -15
  63. basistheoryclient-6.0.1/src/basis_theory/core/parse_error.py +36 -0
  64. basistheoryclient-6.0.1/src/basis_theory/core/pydantic_utilities.py +634 -0
  65. basistheoryclient-6.0.1/src/basis_theory/documents/__init__.py +34 -0
  66. {basistheoryclient-5.10.0 → basistheoryclient-6.0.1}/src/basis_theory/documents/client.py +24 -3
  67. {basistheoryclient-5.10.0 → basistheoryclient-6.0.1}/src/basis_theory/documents/data/raw_client.py +23 -7
  68. {basistheoryclient-5.10.0 → basistheoryclient-6.0.1}/src/basis_theory/documents/raw_client.py +35 -9
  69. {basistheoryclient-5.10.0 → basistheoryclient-6.0.1}/src/basis_theory/enrichments/client.py +6 -8
  70. {basistheoryclient-5.10.0 → basistheoryclient-6.0.1}/src/basis_theory/enrichments/raw_client.py +20 -2
  71. basistheoryclient-6.0.1/src/basis_theory/errors/__init__.py +59 -0
  72. {basistheoryclient-5.10.0 → basistheoryclient-6.0.1}/src/basis_theory/errors/not_found_error.py +1 -1
  73. basistheoryclient-6.0.1/src/basis_theory/google_pay/__init__.py +34 -0
  74. {basistheoryclient-5.10.0 → basistheoryclient-6.0.1}/src/basis_theory/google_pay/client.py +24 -3
  75. basistheoryclient-6.0.1/src/basis_theory/google_pay/merchant/__init__.py +34 -0
  76. {basistheoryclient-5.10.0 → basistheoryclient-6.0.1}/src/basis_theory/google_pay/merchant/certificates/raw_client.py +45 -19
  77. {basistheoryclient-5.10.0 → basistheoryclient-6.0.1}/src/basis_theory/google_pay/merchant/client.py +24 -3
  78. {basistheoryclient-5.10.0 → basistheoryclient-6.0.1}/src/basis_theory/google_pay/merchant/raw_client.py +39 -13
  79. {basistheoryclient-5.10.0 → basistheoryclient-6.0.1}/src/basis_theory/google_pay/raw_client.py +39 -13
  80. {basistheoryclient-5.10.0 → basistheoryclient-6.0.1}/src/basis_theory/keys/raw_client.py +47 -13
  81. {basistheoryclient-5.10.0 → basistheoryclient-6.0.1}/src/basis_theory/logs/client.py +34 -6
  82. {basistheoryclient-5.10.0 → basistheoryclient-6.0.1}/src/basis_theory/logs/raw_client.py +25 -11
  83. basistheoryclient-6.0.1/src/basis_theory/network_tokens/__init__.py +34 -0
  84. {basistheoryclient-5.10.0 → basistheoryclient-6.0.1}/src/basis_theory/network_tokens/account/raw_client.py +17 -7
  85. {basistheoryclient-5.10.0 → basistheoryclient-6.0.1}/src/basis_theory/network_tokens/client.py +24 -3
  86. {basistheoryclient-5.10.0 → basistheoryclient-6.0.1}/src/basis_theory/network_tokens/raw_client.py +81 -31
  87. {basistheoryclient-5.10.0 → basistheoryclient-6.0.1}/src/basis_theory/permissions/client.py +6 -2
  88. {basistheoryclient-5.10.0 → basistheoryclient-6.0.1}/src/basis_theory/permissions/raw_client.py +10 -0
  89. {basistheoryclient-5.10.0 → basistheoryclient-6.0.1}/src/basis_theory/proxies/client.py +19 -6
  90. {basistheoryclient-5.10.0 → basistheoryclient-6.0.1}/src/basis_theory/proxies/raw_client.py +86 -40
  91. basistheoryclient-6.0.1/src/basis_theory/reactors/__init__.py +34 -0
  92. {basistheoryclient-5.10.0 → basistheoryclient-6.0.1}/src/basis_theory/reactors/client.py +64 -46
  93. {basistheoryclient-5.10.0 → basistheoryclient-6.0.1}/src/basis_theory/reactors/raw_client.py +141 -107
  94. {basistheoryclient-5.10.0 → basistheoryclient-6.0.1}/src/basis_theory/reactors/results/client.py +4 -6
  95. {basistheoryclient-5.10.0 → basistheoryclient-6.0.1}/src/basis_theory/reactors/results/raw_client.py +25 -15
  96. {basistheoryclient-5.10.0 → basistheoryclient-6.0.1}/src/basis_theory/roles/raw_client.py +10 -0
  97. {basistheoryclient-5.10.0 → basistheoryclient-6.0.1}/src/basis_theory/sessions/raw_client.py +22 -4
  98. basistheoryclient-6.0.1/src/basis_theory/tenants/__init__.py +42 -0
  99. basistheoryclient-6.0.1/src/basis_theory/tenants/client.py +177 -0
  100. {basistheoryclient-5.10.0 → basistheoryclient-6.0.1}/src/basis_theory/tenants/connections/client.py +4 -8
  101. {basistheoryclient-5.10.0 → basistheoryclient-6.0.1}/src/basis_theory/tenants/connections/raw_client.py +28 -30
  102. {basistheoryclient-5.10.0 → basistheoryclient-6.0.1}/src/basis_theory/tenants/invitations/client.py +17 -6
  103. {basistheoryclient-5.10.0 → basistheoryclient-6.0.1}/src/basis_theory/tenants/invitations/raw_client.py +64 -26
  104. {basistheoryclient-5.10.0 → basistheoryclient-6.0.1}/src/basis_theory/tenants/members/client.py +30 -10
  105. {basistheoryclient-5.10.0 → basistheoryclient-6.0.1}/src/basis_theory/tenants/members/raw_client.py +73 -21
  106. {basistheoryclient-5.10.0 → basistheoryclient-6.0.1}/src/basis_theory/tenants/merchants/client.py +11 -4
  107. {basistheoryclient-5.10.0 → basistheoryclient-6.0.1}/src/basis_theory/tenants/merchants/raw_client.py +94 -60
  108. {basistheoryclient-5.10.0 → basistheoryclient-6.0.1}/src/basis_theory/tenants/owner/client.py +89 -0
  109. basistheoryclient-6.0.1/src/basis_theory/tenants/owner/raw_client.py +367 -0
  110. basistheoryclient-6.0.1/src/basis_theory/tenants/raw_client.py +13 -0
  111. {basistheoryclient-5.10.0 → basistheoryclient-6.0.1}/src/basis_theory/tenants/security_contact/raw_client.py +22 -4
  112. {basistheoryclient-5.10.0 → basistheoryclient-6.0.1}/src/basis_theory/tenants/self_/raw_client.py +50 -16
  113. basistheoryclient-6.0.1/src/basis_theory/threeds/__init__.py +34 -0
  114. {basistheoryclient-5.10.0 → basistheoryclient-6.0.1}/src/basis_theory/threeds/client.py +27 -3
  115. {basistheoryclient-5.10.0 → basistheoryclient-6.0.1}/src/basis_theory/threeds/sessions/client.py +4 -4
  116. {basistheoryclient-5.10.0 → basistheoryclient-6.0.1}/src/basis_theory/threeds/sessions/raw_client.py +57 -25
  117. {basistheoryclient-5.10.0 → basistheoryclient-6.0.1}/src/basis_theory/token_intents/client.py +4 -4
  118. {basistheoryclient-5.10.0 → basistheoryclient-6.0.1}/src/basis_theory/token_intents/raw_client.py +43 -17
  119. {basistheoryclient-5.10.0 → basistheoryclient-6.0.1}/src/basis_theory/tokens/client.py +54 -43
  120. {basistheoryclient-5.10.0 → basistheoryclient-6.0.1}/src/basis_theory/tokens/raw_client.py +138 -90
  121. basistheoryclient-6.0.1/src/basis_theory/types/__init__.py +715 -0
  122. {basistheoryclient-5.10.0 → basistheoryclient-6.0.1}/src/basis_theory/types/account_updater_job.py +29 -29
  123. {basistheoryclient-5.10.0 → basistheoryclient-6.0.1}/src/basis_theory/types/additional_card_detail.py +1 -1
  124. {basistheoryclient-5.10.0 → basistheoryclient-6.0.1}/src/basis_theory/types/apple_pay_method_token.py +6 -2
  125. {basistheoryclient-5.10.0 → basistheoryclient-6.0.1}/src/basis_theory/types/apple_pay_token.py +1 -1
  126. {basistheoryclient-5.10.0 → basistheoryclient-6.0.1}/src/basis_theory/types/async_react_response.py +3 -1
  127. basistheoryclient-6.0.1/src/basis_theory/types/async_reactor_pending_result.py +19 -0
  128. {basistheoryclient-5.10.0 → basistheoryclient-6.0.1}/src/basis_theory/types/authenticate_three_ds_session_request.py +1 -1
  129. {basistheoryclient-5.10.0 → basistheoryclient-6.0.1}/src/basis_theory/types/bin_details.py +2 -2
  130. {basistheoryclient-5.10.0 → basistheoryclient-6.0.1}/src/basis_theory/types/card_bin_range.py +6 -2
  131. {basistheoryclient-5.10.0 → basistheoryclient-6.0.1}/src/basis_theory/types/card_details_response.py +1 -1
  132. {basistheoryclient-5.10.0 → basistheoryclient-6.0.1}/src/basis_theory/types/create_three_ds_session_response.py +3 -1
  133. {basistheoryclient-5.10.0 → basistheoryclient-6.0.1}/src/basis_theory/types/create_token_intent_response.py +4 -2
  134. {basistheoryclient-5.10.0 → basistheoryclient-6.0.1}/src/basis_theory/types/create_token_request.py +2 -2
  135. {basistheoryclient-5.10.0 → basistheoryclient-6.0.1}/src/basis_theory/types/credentials.py +18 -0
  136. basistheoryclient-6.0.1/src/basis_theory/types/credentials_mpp.py +26 -0
  137. basistheoryclient-6.0.1/src/basis_theory/types/credentials_spt.py +23 -0
  138. {basistheoryclient-5.10.0 → basistheoryclient-6.0.1}/src/basis_theory/types/enrollment.py +1 -1
  139. basistheoryclient-6.0.1/src/basis_theory/types/enrollment_provider.py +7 -0
  140. {basistheoryclient-5.10.0 → basistheoryclient-6.0.1}/src/basis_theory/types/enrollment_type.py +1 -1
  141. {basistheoryclient-5.10.0 → basistheoryclient-6.0.1}/src/basis_theory/types/google_pay_method_token.py +9 -3
  142. {basistheoryclient-5.10.0 → basistheoryclient-6.0.1}/src/basis_theory/types/google_pay_token.py +1 -1
  143. {basistheoryclient-5.10.0 → basistheoryclient-6.0.1}/src/basis_theory/types/header.py +10 -4
  144. {basistheoryclient-5.10.0 → basistheoryclient-6.0.1}/src/basis_theory/types/instruction.py +10 -1
  145. basistheoryclient-6.0.1/src/basis_theory/types/instruction_credential_type.py +5 -0
  146. {basistheoryclient-5.10.0 → basistheoryclient-6.0.1}/src/basis_theory/types/instruction_type.py +1 -1
  147. {basistheoryclient-5.10.0 → basistheoryclient-6.0.1}/src/basis_theory/types/intermediate_signing_key.py +3 -1
  148. {basistheoryclient-5.10.0 → basistheoryclient-6.0.1}/src/basis_theory/types/merchant_address.py +6 -2
  149. basistheoryclient-6.0.1/src/basis_theory/types/mpp_credentials_response.py +8 -0
  150. basistheoryclient-6.0.1/src/basis_theory/types/mpp_stripe_challenge.py +43 -0
  151. {basistheoryclient-5.10.0 → basistheoryclient-6.0.1}/src/basis_theory/types/network_token.py +3 -1
  152. {basistheoryclient-5.10.0 → basistheoryclient-6.0.1}/src/basis_theory/types/pending_reactor.py +2 -2
  153. basistheoryclient-6.0.1/src/basis_theory/types/public_key.py +8 -0
  154. basistheoryclient-6.0.1/src/basis_theory/types/react_response.py +22 -0
  155. {basistheoryclient-5.10.0 → basistheoryclient-6.0.1}/src/basis_theory/types/reactor.py +2 -2
  156. basistheoryclient-6.0.1/src/basis_theory/types/reactor_runtime.py +30 -0
  157. {basistheoryclient-5.10.0 → basistheoryclient-6.0.1}/src/basis_theory/types/requested_proxy.py +1 -1
  158. {basistheoryclient-5.10.0 → basistheoryclient-6.0.1}/src/basis_theory/types/requested_reactor.py +1 -1
  159. {basistheoryclient-5.10.0 → basistheoryclient-6.0.1}/src/basis_theory/types/three_ds_acs_rendering_type.py +6 -2
  160. {basistheoryclient-5.10.0 → basistheoryclient-6.0.1}/src/basis_theory/types/three_ds_message_extension.py +1 -1
  161. {basistheoryclient-5.10.0 → basistheoryclient-6.0.1}/src/basis_theory/types/token.py +6 -4
  162. {basistheoryclient-5.10.0 → basistheoryclient-6.0.1}/src/basis_theory/types/token_intent.py +4 -2
  163. {basistheoryclient-5.10.0 → basistheoryclient-6.0.1}/src/basis_theory/types/verification_response.py +1 -1
  164. basistheoryclient-6.0.1/src/basis_theory/webhooks/__init__.py +34 -0
  165. {basistheoryclient-5.10.0 → basistheoryclient-6.0.1}/src/basis_theory/webhooks/client.py +24 -3
  166. {basistheoryclient-5.10.0 → basistheoryclient-6.0.1}/src/basis_theory/webhooks/events/raw_client.py +10 -0
  167. {basistheoryclient-5.10.0 → basistheoryclient-6.0.1}/src/basis_theory/webhooks/raw_client.py +69 -19
  168. basistheoryclient-5.10.0/src/basis_theory/__init__.py +0 -528
  169. basistheoryclient-5.10.0/src/basis_theory/account_updater/__init__.py +0 -8
  170. basistheoryclient-5.10.0/src/basis_theory/account_updater/client.py +0 -44
  171. basistheoryclient-5.10.0/src/basis_theory/account_updater/jobs/__init__.py +0 -7
  172. basistheoryclient-5.10.0/src/basis_theory/account_updater/jobs/types/__init__.py +0 -7
  173. basistheoryclient-5.10.0/src/basis_theory/agentic/__init__.py +0 -8
  174. basistheoryclient-5.10.0/src/basis_theory/agentic/agents/__init__.py +0 -7
  175. basistheoryclient-5.10.0/src/basis_theory/agentic/agents/instructions/__init__.py +0 -7
  176. basistheoryclient-5.10.0/src/basis_theory/agentic/client.py +0 -44
  177. basistheoryclient-5.10.0/src/basis_theory/agentic/enrollments/__init__.py +0 -8
  178. basistheoryclient-5.10.0/src/basis_theory/agentic/enrollments/types/__init__.py +0 -7
  179. basistheoryclient-5.10.0/src/basis_theory/apple_pay/__init__.py +0 -7
  180. basistheoryclient-5.10.0/src/basis_theory/apple_pay/merchant/__init__.py +0 -7
  181. basistheoryclient-5.10.0/src/basis_theory/client.py +0 -230
  182. basistheoryclient-5.10.0/src/basis_theory/core/__init__.py +0 -55
  183. basistheoryclient-5.10.0/src/basis_theory/core/datetime_utils.py +0 -28
  184. basistheoryclient-5.10.0/src/basis_theory/core/http_client.py +0 -543
  185. basistheoryclient-5.10.0/src/basis_theory/core/pydantic_utilities.py +0 -255
  186. basistheoryclient-5.10.0/src/basis_theory/errors/__init__.py +0 -23
  187. basistheoryclient-5.10.0/src/basis_theory/google_pay/__init__.py +0 -7
  188. basistheoryclient-5.10.0/src/basis_theory/google_pay/merchant/__init__.py +0 -7
  189. basistheoryclient-5.10.0/src/basis_theory/network_tokens/__init__.py +0 -7
  190. basistheoryclient-5.10.0/src/basis_theory/reactors/__init__.py +0 -7
  191. basistheoryclient-5.10.0/src/basis_theory/tenants/__init__.py +0 -7
  192. basistheoryclient-5.10.0/src/basis_theory/tenants/client.py +0 -146
  193. basistheoryclient-5.10.0/src/basis_theory/tenants/owner/raw_client.py +0 -157
  194. basistheoryclient-5.10.0/src/basis_theory/tenants/raw_client.py +0 -203
  195. basistheoryclient-5.10.0/src/basis_theory/threeds/__init__.py +0 -7
  196. basistheoryclient-5.10.0/src/basis_theory/types/__init__.py +0 -455
  197. basistheoryclient-5.10.0/src/basis_theory/types/apple_pay_tokenize_request.py +0 -20
  198. basistheoryclient-5.10.0/src/basis_theory/types/apple_pay_tokenize_response.py +0 -20
  199. basistheoryclient-5.10.0/src/basis_theory/types/enrollment_provider.py +0 -5
  200. basistheoryclient-5.10.0/src/basis_theory/types/google_pay_tokenize_request.py +0 -20
  201. basistheoryclient-5.10.0/src/basis_theory/types/google_pay_tokenize_response.py +0 -20
  202. basistheoryclient-5.10.0/src/basis_theory/types/mpp_credentials_response.py +0 -5
  203. basistheoryclient-5.10.0/src/basis_theory/types/public_key.py +0 -3
  204. basistheoryclient-5.10.0/src/basis_theory/types/react_response.py +0 -22
  205. basistheoryclient-5.10.0/src/basis_theory/webhooks/__init__.py +0 -7
  206. {basistheoryclient-5.10.0 → basistheoryclient-6.0.1}/LICENSE +0 -0
  207. {basistheoryclient-5.10.0 → basistheoryclient-6.0.1}/src/basis_theory/account_updater/jobs/types/create_account_updater_job_request_result_version.py +0 -0
  208. {basistheoryclient-5.10.0 → basistheoryclient-6.0.1}/src/basis_theory/account_updater/raw_client.py +0 -0
  209. {basistheoryclient-5.10.0 → basistheoryclient-6.0.1}/src/basis_theory/account_updater/real_time/__init__.py +0 -0
  210. {basistheoryclient-5.10.0 → basistheoryclient-6.0.1}/src/basis_theory/account_updater/real_time/client.py +0 -0
  211. {basistheoryclient-5.10.0 → basistheoryclient-6.0.1}/src/basis_theory/agentic/agents/instructions/credentials/__init__.py +0 -0
  212. {basistheoryclient-5.10.0 → basistheoryclient-6.0.1}/src/basis_theory/agentic/agents/instructions/verify/__init__.py +0 -0
  213. {basistheoryclient-5.10.0 → basistheoryclient-6.0.1}/src/basis_theory/agentic/enrollments/verify/__init__.py +0 -0
  214. {basistheoryclient-5.10.0 → basistheoryclient-6.0.1}/src/basis_theory/agentic/raw_client.py +0 -0
  215. {basistheoryclient-5.10.0 → basistheoryclient-6.0.1}/src/basis_theory/apple_pay/domain/__init__.py +0 -0
  216. {basistheoryclient-5.10.0 → basistheoryclient-6.0.1}/src/basis_theory/apple_pay/domain/client.py +0 -0
  217. {basistheoryclient-5.10.0 → basistheoryclient-6.0.1}/src/basis_theory/apple_pay/merchant/certificates/__init__.py +0 -0
  218. {basistheoryclient-5.10.0 → basistheoryclient-6.0.1}/src/basis_theory/apple_pay/merchant/certificates/client.py +0 -0
  219. {basistheoryclient-5.10.0 → basistheoryclient-6.0.1}/src/basis_theory/apple_pay/session/__init__.py +0 -0
  220. {basistheoryclient-5.10.0 → basistheoryclient-6.0.1}/src/basis_theory/apple_pay/session/client.py +0 -0
  221. {basistheoryclient-5.10.0 → basistheoryclient-6.0.1}/src/basis_theory/application_keys/__init__.py +0 -0
  222. {basistheoryclient-5.10.0 → basistheoryclient-6.0.1}/src/basis_theory/application_templates/__init__.py +0 -0
  223. {basistheoryclient-5.10.0 → basistheoryclient-6.0.1}/src/basis_theory/application_templates/client.py +0 -0
  224. {basistheoryclient-5.10.0 → basistheoryclient-6.0.1}/src/basis_theory/applications/__init__.py +0 -0
  225. {basistheoryclient-5.10.0 → basistheoryclient-6.0.1}/src/basis_theory/core/api_error.py +0 -0
  226. {basistheoryclient-5.10.0 → basistheoryclient-6.0.1}/src/basis_theory/core/file.py +0 -0
  227. {basistheoryclient-5.10.0 → basistheoryclient-6.0.1}/src/basis_theory/core/query_encoder.py +0 -0
  228. {basistheoryclient-5.10.0 → basistheoryclient-6.0.1}/src/basis_theory/core/remove_none_from_dict.py +0 -0
  229. {basistheoryclient-5.10.0 → basistheoryclient-6.0.1}/src/basis_theory/core/request_options.py +0 -0
  230. {basistheoryclient-5.10.0 → basistheoryclient-6.0.1}/src/basis_theory/core/serialization.py +0 -0
  231. {basistheoryclient-5.10.0 → basistheoryclient-6.0.1}/src/basis_theory/documents/data/__init__.py +0 -0
  232. {basistheoryclient-5.10.0 → basistheoryclient-6.0.1}/src/basis_theory/documents/data/client.py +0 -0
  233. {basistheoryclient-5.10.0 → basistheoryclient-6.0.1}/src/basis_theory/enrichments/__init__.py +0 -0
  234. {basistheoryclient-5.10.0 → basistheoryclient-6.0.1}/src/basis_theory/environment.py +0 -0
  235. {basistheoryclient-5.10.0 → basistheoryclient-6.0.1}/src/basis_theory/errors/bad_request_error.py +0 -0
  236. {basistheoryclient-5.10.0 → basistheoryclient-6.0.1}/src/basis_theory/errors/conflict_error.py +0 -0
  237. {basistheoryclient-5.10.0 → basistheoryclient-6.0.1}/src/basis_theory/errors/forbidden_error.py +0 -0
  238. {basistheoryclient-5.10.0 → basistheoryclient-6.0.1}/src/basis_theory/errors/internal_server_error.py +0 -0
  239. {basistheoryclient-5.10.0 → basistheoryclient-6.0.1}/src/basis_theory/errors/service_unavailable_error.py +0 -0
  240. {basistheoryclient-5.10.0 → basistheoryclient-6.0.1}/src/basis_theory/errors/unauthorized_error.py +0 -0
  241. {basistheoryclient-5.10.0 → basistheoryclient-6.0.1}/src/basis_theory/errors/unprocessable_entity_error.py +0 -0
  242. {basistheoryclient-5.10.0 → basistheoryclient-6.0.1}/src/basis_theory/google_pay/merchant/certificates/__init__.py +0 -0
  243. {basistheoryclient-5.10.0 → basistheoryclient-6.0.1}/src/basis_theory/google_pay/merchant/certificates/client.py +0 -0
  244. {basistheoryclient-5.10.0 → basistheoryclient-6.0.1}/src/basis_theory/keys/__init__.py +0 -0
  245. {basistheoryclient-5.10.0 → basistheoryclient-6.0.1}/src/basis_theory/keys/client.py +0 -0
  246. {basistheoryclient-5.10.0 → basistheoryclient-6.0.1}/src/basis_theory/logs/__init__.py +0 -0
  247. {basistheoryclient-5.10.0 → basistheoryclient-6.0.1}/src/basis_theory/network_tokens/account/__init__.py +0 -0
  248. {basistheoryclient-5.10.0 → basistheoryclient-6.0.1}/src/basis_theory/network_tokens/account/client.py +0 -0
  249. {basistheoryclient-5.10.0 → basistheoryclient-6.0.1}/src/basis_theory/permissions/__init__.py +0 -0
  250. {basistheoryclient-5.10.0 → basistheoryclient-6.0.1}/src/basis_theory/proxies/__init__.py +0 -0
  251. {basistheoryclient-5.10.0 → basistheoryclient-6.0.1}/src/basis_theory/py.typed +0 -0
  252. {basistheoryclient-5.10.0 → basistheoryclient-6.0.1}/src/basis_theory/reactors/results/__init__.py +0 -0
  253. {basistheoryclient-5.10.0 → basistheoryclient-6.0.1}/src/basis_theory/roles/__init__.py +0 -0
  254. {basistheoryclient-5.10.0 → basistheoryclient-6.0.1}/src/basis_theory/roles/client.py +0 -0
  255. {basistheoryclient-5.10.0 → basistheoryclient-6.0.1}/src/basis_theory/sessions/__init__.py +0 -0
  256. {basistheoryclient-5.10.0 → basistheoryclient-6.0.1}/src/basis_theory/sessions/client.py +0 -0
  257. {basistheoryclient-5.10.0 → basistheoryclient-6.0.1}/src/basis_theory/tenants/connections/__init__.py +0 -0
  258. {basistheoryclient-5.10.0 → basistheoryclient-6.0.1}/src/basis_theory/tenants/invitations/__init__.py +0 -0
  259. {basistheoryclient-5.10.0 → basistheoryclient-6.0.1}/src/basis_theory/tenants/members/__init__.py +0 -0
  260. {basistheoryclient-5.10.0 → basistheoryclient-6.0.1}/src/basis_theory/tenants/merchants/__init__.py +0 -0
  261. {basistheoryclient-5.10.0 → basistheoryclient-6.0.1}/src/basis_theory/tenants/owner/__init__.py +0 -0
  262. {basistheoryclient-5.10.0 → basistheoryclient-6.0.1}/src/basis_theory/tenants/security_contact/__init__.py +0 -0
  263. {basistheoryclient-5.10.0 → basistheoryclient-6.0.1}/src/basis_theory/tenants/security_contact/client.py +0 -0
  264. {basistheoryclient-5.10.0 → basistheoryclient-6.0.1}/src/basis_theory/tenants/self_/__init__.py +0 -0
  265. {basistheoryclient-5.10.0 → basistheoryclient-6.0.1}/src/basis_theory/tenants/self_/client.py +0 -0
  266. {basistheoryclient-5.10.0 → basistheoryclient-6.0.1}/src/basis_theory/threeds/raw_client.py +0 -0
  267. {basistheoryclient-5.10.0 → basistheoryclient-6.0.1}/src/basis_theory/threeds/sessions/__init__.py +0 -0
  268. {basistheoryclient-5.10.0 → basistheoryclient-6.0.1}/src/basis_theory/token_intents/__init__.py +0 -0
  269. {basistheoryclient-5.10.0 → basistheoryclient-6.0.1}/src/basis_theory/tokens/__init__.py +0 -0
  270. {basistheoryclient-5.10.0 → basistheoryclient-6.0.1}/src/basis_theory/types/access_rule.py +0 -0
  271. {basistheoryclient-5.10.0 → basistheoryclient-6.0.1}/src/basis_theory/types/account_updater_job_list.py +0 -0
  272. {basistheoryclient-5.10.0 → basistheoryclient-6.0.1}/src/basis_theory/types/account_updater_job_list_pagination.py +0 -0
  273. {basistheoryclient-5.10.0 → basistheoryclient-6.0.1}/src/basis_theory/types/account_updater_job_status.py +0 -0
  274. {basistheoryclient-5.10.0 → basistheoryclient-6.0.1}/src/basis_theory/types/account_updater_real_time_response.py +0 -0
  275. {basistheoryclient-5.10.0 → basistheoryclient-6.0.1}/src/basis_theory/types/additional_card_details.py +0 -0
  276. {basistheoryclient-5.10.0 → basistheoryclient-6.0.1}/src/basis_theory/types/address.py +0 -0
  277. {basistheoryclient-5.10.0 → basistheoryclient-6.0.1}/src/basis_theory/types/agent.py +0 -0
  278. {basistheoryclient-5.10.0 → basistheoryclient-6.0.1}/src/basis_theory/types/agentic_card.py +0 -0
  279. {basistheoryclient-5.10.0 → basistheoryclient-6.0.1}/src/basis_theory/types/agentic_card_brand.py +0 -0
  280. {basistheoryclient-5.10.0 → basistheoryclient-6.0.1}/src/basis_theory/types/agentic_card_issuer.py +0 -0
  281. {basistheoryclient-5.10.0 → basistheoryclient-6.0.1}/src/basis_theory/types/agentic_card_issuer_country.py +0 -0
  282. {basistheoryclient-5.10.0 → basistheoryclient-6.0.1}/src/basis_theory/types/agentic_merchant.py +0 -0
  283. {basistheoryclient-5.10.0 → basistheoryclient-6.0.1}/src/basis_theory/types/amex_config.py +0 -0
  284. {basistheoryclient-5.10.0 → basistheoryclient-6.0.1}/src/basis_theory/types/amount.py +0 -0
  285. {basistheoryclient-5.10.0 → basistheoryclient-6.0.1}/src/basis_theory/types/apple_pay_create_response.py +0 -0
  286. {basistheoryclient-5.10.0 → basistheoryclient-6.0.1}/src/basis_theory/types/apple_pay_domain_registration_response.py +0 -0
  287. {basistheoryclient-5.10.0 → basistheoryclient-6.0.1}/src/basis_theory/types/apple_pay_merchant.py +0 -0
  288. {basistheoryclient-5.10.0 → basistheoryclient-6.0.1}/src/basis_theory/types/apple_pay_merchant_certificates.py +0 -0
  289. {basistheoryclient-5.10.0 → basistheoryclient-6.0.1}/src/basis_theory/types/application.py +0 -0
  290. {basistheoryclient-5.10.0 → basistheoryclient-6.0.1}/src/basis_theory/types/application_key.py +0 -0
  291. {basistheoryclient-5.10.0 → basistheoryclient-6.0.1}/src/basis_theory/types/application_paginated_list.py +0 -0
  292. {basistheoryclient-5.10.0 → basistheoryclient-6.0.1}/src/basis_theory/types/application_template.py +0 -0
  293. {basistheoryclient-5.10.0 → basistheoryclient-6.0.1}/src/basis_theory/types/assurance_details.py +0 -0
  294. {basistheoryclient-5.10.0 → basistheoryclient-6.0.1}/src/basis_theory/types/authentication.py +0 -0
  295. {basistheoryclient-5.10.0 → basistheoryclient-6.0.1}/src/basis_theory/types/authentication_response.py +0 -0
  296. {basistheoryclient-5.10.0 → basistheoryclient-6.0.1}/src/basis_theory/types/bank_details.py +0 -0
  297. {basistheoryclient-5.10.0 → basistheoryclient-6.0.1}/src/basis_theory/types/bank_verification_response.py +0 -0
  298. {basistheoryclient-5.10.0 → basistheoryclient-6.0.1}/src/basis_theory/types/bin_details_bank.py +0 -0
  299. {basistheoryclient-5.10.0 → basistheoryclient-6.0.1}/src/basis_theory/types/bin_details_country.py +0 -0
  300. {basistheoryclient-5.10.0 → basistheoryclient-6.0.1}/src/basis_theory/types/bin_details_product.py +0 -0
  301. {basistheoryclient-5.10.0 → basistheoryclient-6.0.1}/src/basis_theory/types/card.py +0 -0
  302. {basistheoryclient-5.10.0 → basistheoryclient-6.0.1}/src/basis_theory/types/card_art.py +0 -0
  303. {basistheoryclient-5.10.0 → basistheoryclient-6.0.1}/src/basis_theory/types/card_art_image.py +0 -0
  304. {basistheoryclient-5.10.0 → basistheoryclient-6.0.1}/src/basis_theory/types/card_details.py +0 -0
  305. {basistheoryclient-5.10.0 → basistheoryclient-6.0.1}/src/basis_theory/types/card_display.py +0 -0
  306. {basistheoryclient-5.10.0 → basistheoryclient-6.0.1}/src/basis_theory/types/card_issuer.py +0 -0
  307. {basistheoryclient-5.10.0 → basistheoryclient-6.0.1}/src/basis_theory/types/card_issuer_country.py +0 -0
  308. {basistheoryclient-5.10.0 → basistheoryclient-6.0.1}/src/basis_theory/types/card_issuer_details.py +0 -0
  309. {basistheoryclient-5.10.0 → basistheoryclient-6.0.1}/src/basis_theory/types/card_network_info.py +0 -0
  310. {basistheoryclient-5.10.0 → basistheoryclient-6.0.1}/src/basis_theory/types/card_network_status.py +0 -0
  311. {basistheoryclient-5.10.0 → basistheoryclient-6.0.1}/src/basis_theory/types/card_product.py +0 -0
  312. {basistheoryclient-5.10.0 → basistheoryclient-6.0.1}/src/basis_theory/types/cardholder_info.py +0 -0
  313. {basistheoryclient-5.10.0 → basistheoryclient-6.0.1}/src/basis_theory/types/client_encryption_key_metadata_response.py +0 -0
  314. {basistheoryclient-5.10.0 → basistheoryclient-6.0.1}/src/basis_theory/types/client_encryption_key_response.py +0 -0
  315. {basistheoryclient-5.10.0 → basistheoryclient-6.0.1}/src/basis_theory/types/condition.py +0 -0
  316. {basistheoryclient-5.10.0 → basistheoryclient-6.0.1}/src/basis_theory/types/confirmation_entry.py +0 -0
  317. {basistheoryclient-5.10.0 → basistheoryclient-6.0.1}/src/basis_theory/types/consumer.py +0 -0
  318. {basistheoryclient-5.10.0 → basistheoryclient-6.0.1}/src/basis_theory/types/create_document_request.py +0 -0
  319. {basistheoryclient-5.10.0 → basistheoryclient-6.0.1}/src/basis_theory/types/create_reactor_formula_request.py +0 -0
  320. {basistheoryclient-5.10.0 → basistheoryclient-6.0.1}/src/basis_theory/types/create_session_response.py +0 -0
  321. {basistheoryclient-5.10.0 → basistheoryclient-6.0.1}/src/basis_theory/types/create_tenant_connection_response.py +0 -0
  322. {basistheoryclient-5.10.0 → basistheoryclient-6.0.1}/src/basis_theory/types/credentials_card.py +0 -0
  323. {basistheoryclient-5.10.0 → basistheoryclient-6.0.1}/src/basis_theory/types/cursor_pagination.py +0 -0
  324. {basistheoryclient-5.10.0 → basistheoryclient-6.0.1}/src/basis_theory/types/delivery_method.py +0 -0
  325. {basistheoryclient-5.10.0 → basistheoryclient-6.0.1}/src/basis_theory/types/device_context.py +0 -0
  326. {basistheoryclient-5.10.0 → basistheoryclient-6.0.1}/src/basis_theory/types/device_context_platform_type.py +0 -0
  327. {basistheoryclient-5.10.0 → basistheoryclient-6.0.1}/src/basis_theory/types/device_context_session_context.py +0 -0
  328. {basistheoryclient-5.10.0 → basistheoryclient-6.0.1}/src/basis_theory/types/device_type.py +0 -0
  329. {basistheoryclient-5.10.0 → basistheoryclient-6.0.1}/src/basis_theory/types/discover_config.py +0 -0
  330. {basistheoryclient-5.10.0 → basistheoryclient-6.0.1}/src/basis_theory/types/document.py +0 -0
  331. {basistheoryclient-5.10.0 → basistheoryclient-6.0.1}/src/basis_theory/types/domain_registration_response.py +0 -0
  332. {basistheoryclient-5.10.0 → basistheoryclient-6.0.1}/src/basis_theory/types/encryption_jwk.py +0 -0
  333. {basistheoryclient-5.10.0 → basistheoryclient-6.0.1}/src/basis_theory/types/enrollment_list.py +0 -0
  334. {basistheoryclient-5.10.0 → basistheoryclient-6.0.1}/src/basis_theory/types/enrollment_list_pagination.py +0 -0
  335. {basistheoryclient-5.10.0 → basistheoryclient-6.0.1}/src/basis_theory/types/enrollment_status.py +0 -0
  336. {basistheoryclient-5.10.0 → basistheoryclient-6.0.1}/src/basis_theory/types/event_types.py +0 -0
  337. {basistheoryclient-5.10.0 → basistheoryclient-6.0.1}/src/basis_theory/types/get_applications.py +0 -0
  338. {basistheoryclient-5.10.0 → basistheoryclient-6.0.1}/src/basis_theory/types/get_logs.py +0 -0
  339. {basistheoryclient-5.10.0 → basistheoryclient-6.0.1}/src/basis_theory/types/get_permissions.py +0 -0
  340. {basistheoryclient-5.10.0 → basistheoryclient-6.0.1}/src/basis_theory/types/get_proxies.py +0 -0
  341. {basistheoryclient-5.10.0 → basistheoryclient-6.0.1}/src/basis_theory/types/get_reactor_formulas.py +0 -0
  342. {basistheoryclient-5.10.0 → basistheoryclient-6.0.1}/src/basis_theory/types/get_reactors.py +0 -0
  343. {basistheoryclient-5.10.0 → basistheoryclient-6.0.1}/src/basis_theory/types/get_tenant_invitations.py +0 -0
  344. {basistheoryclient-5.10.0 → basistheoryclient-6.0.1}/src/basis_theory/types/get_tenant_members.py +0 -0
  345. {basistheoryclient-5.10.0 → basistheoryclient-6.0.1}/src/basis_theory/types/get_tokens_v2.py +0 -0
  346. {basistheoryclient-5.10.0 → basistheoryclient-6.0.1}/src/basis_theory/types/google_pay_create_response.py +0 -0
  347. {basistheoryclient-5.10.0 → basistheoryclient-6.0.1}/src/basis_theory/types/google_pay_merchant.py +0 -0
  348. {basistheoryclient-5.10.0 → basistheoryclient-6.0.1}/src/basis_theory/types/google_pay_merchant_certificates.py +0 -0
  349. {basistheoryclient-5.10.0 → basistheoryclient-6.0.1}/src/basis_theory/types/instance_details.py +0 -0
  350. {basistheoryclient-5.10.0 → basistheoryclient-6.0.1}/src/basis_theory/types/instruction_list.py +0 -0
  351. {basistheoryclient-5.10.0 → basistheoryclient-6.0.1}/src/basis_theory/types/instruction_list_pagination.py +0 -0
  352. {basistheoryclient-5.10.0 → basistheoryclient-6.0.1}/src/basis_theory/types/instruction_status.py +0 -0
  353. {basistheoryclient-5.10.0 → basistheoryclient-6.0.1}/src/basis_theory/types/log.py +0 -0
  354. {basistheoryclient-5.10.0 → basistheoryclient-6.0.1}/src/basis_theory/types/log_entity_type.py +0 -0
  355. {basistheoryclient-5.10.0 → basistheoryclient-6.0.1}/src/basis_theory/types/log_paginated_list.py +0 -0
  356. {basistheoryclient-5.10.0 → basistheoryclient-6.0.1}/src/basis_theory/types/mastercard_config.py +0 -0
  357. {basistheoryclient-5.10.0 → basistheoryclient-6.0.1}/src/basis_theory/types/merchant_contact.py +0 -0
  358. {basistheoryclient-5.10.0 → basistheoryclient-6.0.1}/src/basis_theory/types/merchant_details.py +0 -0
  359. {basistheoryclient-5.10.0 → basistheoryclient-6.0.1}/src/basis_theory/types/merchant_info.py +0 -0
  360. {basistheoryclient-5.10.0 → basistheoryclient-6.0.1}/src/basis_theory/types/merchant_registration.py +0 -0
  361. {basistheoryclient-5.10.0 → basistheoryclient-6.0.1}/src/basis_theory/types/merchant_services.py +0 -0
  362. {basistheoryclient-5.10.0 → basistheoryclient-6.0.1}/src/basis_theory/types/mpp_challenge.py +0 -0
  363. {basistheoryclient-5.10.0 → basistheoryclient-6.0.1}/src/basis_theory/types/mpp_credentials_request.py +0 -0
  364. {basistheoryclient-5.10.0 → basistheoryclient-6.0.1}/src/basis_theory/types/mpp_source.py +0 -0
  365. {basistheoryclient-5.10.0 → basistheoryclient-6.0.1}/src/basis_theory/types/mpp_source_type.py +0 -0
  366. {basistheoryclient-5.10.0 → basistheoryclient-6.0.1}/src/basis_theory/types/network_status_detail.py +0 -0
  367. {basistheoryclient-5.10.0 → basistheoryclient-6.0.1}/src/basis_theory/types/network_token_account.py +0 -0
  368. {basistheoryclient-5.10.0 → basistheoryclient-6.0.1}/src/basis_theory/types/network_token_cryptogram.py +0 -0
  369. {basistheoryclient-5.10.0 → basistheoryclient-6.0.1}/src/basis_theory/types/network_token_extras.py +0 -0
  370. {basistheoryclient-5.10.0 → basistheoryclient-6.0.1}/src/basis_theory/types/pagination.py +0 -0
  371. {basistheoryclient-5.10.0 → basistheoryclient-6.0.1}/src/basis_theory/types/payment_data.py +0 -0
  372. {basistheoryclient-5.10.0 → basistheoryclient-6.0.1}/src/basis_theory/types/pending_proxy.py +0 -0
  373. {basistheoryclient-5.10.0 → basistheoryclient-6.0.1}/src/basis_theory/types/permission.py +0 -0
  374. {basistheoryclient-5.10.0 → basistheoryclient-6.0.1}/src/basis_theory/types/privacy.py +0 -0
  375. {basistheoryclient-5.10.0 → basistheoryclient-6.0.1}/src/basis_theory/types/problem_details.py +0 -0
  376. {basistheoryclient-5.10.0 → basistheoryclient-6.0.1}/src/basis_theory/types/product.py +0 -0
  377. {basistheoryclient-5.10.0 → basistheoryclient-6.0.1}/src/basis_theory/types/proxy.py +0 -0
  378. {basistheoryclient-5.10.0 → basistheoryclient-6.0.1}/src/basis_theory/types/proxy_paginated_list.py +0 -0
  379. {basistheoryclient-5.10.0 → basistheoryclient-6.0.1}/src/basis_theory/types/proxy_transform.py +0 -0
  380. {basistheoryclient-5.10.0 → basistheoryclient-6.0.1}/src/basis_theory/types/proxy_transform_options.py +0 -0
  381. {basistheoryclient-5.10.0 → basistheoryclient-6.0.1}/src/basis_theory/types/publish_confirmation_request.py +0 -0
  382. {basistheoryclient-5.10.0 → basistheoryclient-6.0.1}/src/basis_theory/types/reactor_formula.py +0 -0
  383. {basistheoryclient-5.10.0 → basistheoryclient-6.0.1}/src/basis_theory/types/reactor_formula_configuration.py +0 -0
  384. {basistheoryclient-5.10.0 → basistheoryclient-6.0.1}/src/basis_theory/types/reactor_formula_paginated_list.py +0 -0
  385. {basistheoryclient-5.10.0 → basistheoryclient-6.0.1}/src/basis_theory/types/reactor_formula_request_parameter.py +0 -0
  386. {basistheoryclient-5.10.0 → basistheoryclient-6.0.1}/src/basis_theory/types/reactor_paginated_list.py +0 -0
  387. {basistheoryclient-5.10.0 → basistheoryclient-6.0.1}/src/basis_theory/types/recurring.py +0 -0
  388. {basistheoryclient-5.10.0 → basistheoryclient-6.0.1}/src/basis_theory/types/recurring_frequency.py +0 -0
  389. {basistheoryclient-5.10.0 → basistheoryclient-6.0.1}/src/basis_theory/types/role.py +0 -0
  390. {basistheoryclient-5.10.0 → basistheoryclient-6.0.1}/src/basis_theory/types/runtime.py +0 -0
  391. {basistheoryclient-5.10.0 → basistheoryclient-6.0.1}/src/basis_theory/types/security_contact_email_response.py +0 -0
  392. {basistheoryclient-5.10.0 → basistheoryclient-6.0.1}/src/basis_theory/types/service_status.py +0 -0
  393. {basistheoryclient-5.10.0 → basistheoryclient-6.0.1}/src/basis_theory/types/shipping_address.py +0 -0
  394. {basistheoryclient-5.10.0 → basistheoryclient-6.0.1}/src/basis_theory/types/start_verification_request.py +0 -0
  395. {basistheoryclient-5.10.0 → basistheoryclient-6.0.1}/src/basis_theory/types/string_string_key_value_pair.py +0 -0
  396. {basistheoryclient-5.10.0 → basistheoryclient-6.0.1}/src/basis_theory/types/submerchant_authentication_response.py +0 -0
  397. {basistheoryclient-5.10.0 → basistheoryclient-6.0.1}/src/basis_theory/types/tenant.py +0 -0
  398. {basistheoryclient-5.10.0 → basistheoryclient-6.0.1}/src/basis_theory/types/tenant_connection_options.py +0 -0
  399. {basistheoryclient-5.10.0 → basistheoryclient-6.0.1}/src/basis_theory/types/tenant_invitation_response.py +0 -0
  400. {basistheoryclient-5.10.0 → basistheoryclient-6.0.1}/src/basis_theory/types/tenant_invitation_response_paginated_list.py +0 -0
  401. {basistheoryclient-5.10.0 → basistheoryclient-6.0.1}/src/basis_theory/types/tenant_invitation_status.py +0 -0
  402. {basistheoryclient-5.10.0 → basistheoryclient-6.0.1}/src/basis_theory/types/tenant_member_response.py +0 -0
  403. {basistheoryclient-5.10.0 → basistheoryclient-6.0.1}/src/basis_theory/types/tenant_member_response_paginated_list.py +0 -0
  404. {basistheoryclient-5.10.0 → basistheoryclient-6.0.1}/src/basis_theory/types/tenant_merchant.py +0 -0
  405. {basistheoryclient-5.10.0 → basistheoryclient-6.0.1}/src/basis_theory/types/tenant_merchant_paginated_list.py +0 -0
  406. {basistheoryclient-5.10.0 → basistheoryclient-6.0.1}/src/basis_theory/types/tenant_merchant_request.py +0 -0
  407. {basistheoryclient-5.10.0 → basistheoryclient-6.0.1}/src/basis_theory/types/tenant_usage_report.py +0 -0
  408. {basistheoryclient-5.10.0 → basistheoryclient-6.0.1}/src/basis_theory/types/three_ds_address.py +0 -0
  409. {basistheoryclient-5.10.0 → basistheoryclient-6.0.1}/src/basis_theory/types/three_ds_authentication.py +0 -0
  410. {basistheoryclient-5.10.0 → basistheoryclient-6.0.1}/src/basis_theory/types/three_ds_branding_options.py +0 -0
  411. {basistheoryclient-5.10.0 → basistheoryclient-6.0.1}/src/basis_theory/types/three_ds_callback_urls.py +0 -0
  412. {basistheoryclient-5.10.0 → basistheoryclient-6.0.1}/src/basis_theory/types/three_ds_cardholder_account_info.py +0 -0
  413. {basistheoryclient-5.10.0 → basistheoryclient-6.0.1}/src/basis_theory/types/three_ds_cardholder_authentication_info.py +0 -0
  414. {basistheoryclient-5.10.0 → basistheoryclient-6.0.1}/src/basis_theory/types/three_ds_cardholder_info.py +0 -0
  415. {basistheoryclient-5.10.0 → basistheoryclient-6.0.1}/src/basis_theory/types/three_ds_cardholder_phone_number.py +0 -0
  416. {basistheoryclient-5.10.0 → basistheoryclient-6.0.1}/src/basis_theory/types/three_ds_device_info.py +0 -0
  417. {basistheoryclient-5.10.0 → basistheoryclient-6.0.1}/src/basis_theory/types/three_ds_merchant_info.py +0 -0
  418. {basistheoryclient-5.10.0 → basistheoryclient-6.0.1}/src/basis_theory/types/three_ds_merchant_risk_info.py +0 -0
  419. {basistheoryclient-5.10.0 → basistheoryclient-6.0.1}/src/basis_theory/types/three_ds_method.py +0 -0
  420. {basistheoryclient-5.10.0 → basistheoryclient-6.0.1}/src/basis_theory/types/three_ds_mobile_sdk_render_options.py +0 -0
  421. {basistheoryclient-5.10.0 → basistheoryclient-6.0.1}/src/basis_theory/types/three_ds_prior_authentication_info.py +0 -0
  422. {basistheoryclient-5.10.0 → basistheoryclient-6.0.1}/src/basis_theory/types/three_ds_purchase_info.py +0 -0
  423. {basistheoryclient-5.10.0 → basistheoryclient-6.0.1}/src/basis_theory/types/three_ds_requestor_info.py +0 -0
  424. {basistheoryclient-5.10.0 → basistheoryclient-6.0.1}/src/basis_theory/types/three_ds_session.py +0 -0
  425. {basistheoryclient-5.10.0 → basistheoryclient-6.0.1}/src/basis_theory/types/three_ds_version.py +0 -0
  426. {basistheoryclient-5.10.0 → basistheoryclient-6.0.1}/src/basis_theory/types/token_authentication.py +0 -0
  427. {basistheoryclient-5.10.0 → basistheoryclient-6.0.1}/src/basis_theory/types/token_cursor_paginated_list.py +0 -0
  428. {basistheoryclient-5.10.0 → basistheoryclient-6.0.1}/src/basis_theory/types/token_enrichments.py +0 -0
  429. {basistheoryclient-5.10.0 → basistheoryclient-6.0.1}/src/basis_theory/types/token_enrichments_card_details.py +0 -0
  430. {basistheoryclient-5.10.0 → basistheoryclient-6.0.1}/src/basis_theory/types/token_extras.py +0 -0
  431. {basistheoryclient-5.10.0 → basistheoryclient-6.0.1}/src/basis_theory/types/token_intent_extras.py +0 -0
  432. {basistheoryclient-5.10.0 → basistheoryclient-6.0.1}/src/basis_theory/types/token_service_provider_details.py +0 -0
  433. {basistheoryclient-5.10.0 → basistheoryclient-6.0.1}/src/basis_theory/types/transaction_status.py +0 -0
  434. {basistheoryclient-5.10.0 → basistheoryclient-6.0.1}/src/basis_theory/types/transaction_type.py +0 -0
  435. {basistheoryclient-5.10.0 → basistheoryclient-6.0.1}/src/basis_theory/types/update_privacy.py +0 -0
  436. {basistheoryclient-5.10.0 → basistheoryclient-6.0.1}/src/basis_theory/types/update_reactor_formula_request.py +0 -0
  437. {basistheoryclient-5.10.0 → basistheoryclient-6.0.1}/src/basis_theory/types/user.py +0 -0
  438. {basistheoryclient-5.10.0 → basistheoryclient-6.0.1}/src/basis_theory/types/validation_problem_details.py +0 -0
  439. {basistheoryclient-5.10.0 → basistheoryclient-6.0.1}/src/basis_theory/types/verification_response_brand.py +0 -0
  440. {basistheoryclient-5.10.0 → basistheoryclient-6.0.1}/src/basis_theory/types/verification_response_methods_item.py +0 -0
  441. {basistheoryclient-5.10.0 → basistheoryclient-6.0.1}/src/basis_theory/types/verification_response_passkey_context.py +0 -0
  442. {basistheoryclient-5.10.0 → basistheoryclient-6.0.1}/src/basis_theory/types/verification_response_passkey_context_action.py +0 -0
  443. {basistheoryclient-5.10.0 → basistheoryclient-6.0.1}/src/basis_theory/types/verification_response_passkey_context_auth_preferences.py +0 -0
  444. {basistheoryclient-5.10.0 → basistheoryclient-6.0.1}/src/basis_theory/types/verification_response_passkey_context_display_context.py +0 -0
  445. {basistheoryclient-5.10.0 → basistheoryclient-6.0.1}/src/basis_theory/types/verification_response_passkey_context_platform_type.py +0 -0
  446. {basistheoryclient-5.10.0 → basistheoryclient-6.0.1}/src/basis_theory/types/verification_response_redirect.py +0 -0
  447. {basistheoryclient-5.10.0 → basistheoryclient-6.0.1}/src/basis_theory/types/verification_response_redirect_uri_type.py +0 -0
  448. {basistheoryclient-5.10.0 → basistheoryclient-6.0.1}/src/basis_theory/types/verification_response_status.py +0 -0
  449. {basistheoryclient-5.10.0 → basistheoryclient-6.0.1}/src/basis_theory/types/visa_config.py +0 -0
  450. {basistheoryclient-5.10.0 → basistheoryclient-6.0.1}/src/basis_theory/types/webhook.py +0 -0
  451. {basistheoryclient-5.10.0 → basistheoryclient-6.0.1}/src/basis_theory/types/webhook_list.py +0 -0
  452. {basistheoryclient-5.10.0 → basistheoryclient-6.0.1}/src/basis_theory/types/webhook_list_pagination.py +0 -0
  453. {basistheoryclient-5.10.0 → basistheoryclient-6.0.1}/src/basis_theory/types/webhook_status.py +0 -0
  454. {basistheoryclient-5.10.0 → basistheoryclient-6.0.1}/src/basis_theory/version.py +0 -0
  455. {basistheoryclient-5.10.0 → basistheoryclient-6.0.1}/src/basis_theory/webhooks/events/__init__.py +0 -0
  456. {basistheoryclient-5.10.0 → basistheoryclient-6.0.1}/src/basis_theory/webhooks/events/client.py +0 -0
@@ -1,9 +1,9 @@
1
1
  Metadata-Version: 2.1
2
- Name: BasisTheoryClient
3
- Version: 5.10.0
2
+ Name: basistheoryclient
3
+ Version: 6.0.1
4
4
  Summary:
5
5
  License: Apache-2.0
6
- Requires-Python: >=3.8,<4.0
6
+ Requires-Python: >=3.10,<4.0
7
7
  Classifier: Intended Audience :: Developers
8
8
  Classifier: License :: OSI Approved :: Apache Software License
9
9
  Classifier: Operating System :: MacOS
@@ -13,18 +13,22 @@ Classifier: Operating System :: POSIX
13
13
  Classifier: Operating System :: POSIX :: Linux
14
14
  Classifier: Programming Language :: Python
15
15
  Classifier: Programming Language :: Python :: 3
16
- Classifier: Programming Language :: Python :: 3.8
17
- Classifier: Programming Language :: Python :: 3.9
18
16
  Classifier: Programming Language :: Python :: 3.10
19
17
  Classifier: Programming Language :: Python :: 3.11
20
18
  Classifier: Programming Language :: Python :: 3.12
21
19
  Classifier: Programming Language :: Python :: 3.13
20
+ Classifier: Programming Language :: Python :: 3.14
21
+ Classifier: Programming Language :: Python :: 3.15
22
22
  Classifier: Topic :: Software Development :: Libraries :: Python Modules
23
23
  Classifier: Typing :: Typed
24
+ Provides-Extra: aiohttp
25
+ Requires-Dist: aiohttp (>=3.13.4,<4) ; (python_version >= "3.9") and (extra == "aiohttp")
24
26
  Requires-Dist: httpx (>=0.21.2)
27
+ Requires-Dist: httpx-aiohttp (==0.1.8) ; (python_version >= "3.9") and (extra == "aiohttp")
25
28
  Requires-Dist: pydantic (>=1.9.2)
26
- Requires-Dist: pydantic-core (>=2.18.2)
29
+ Requires-Dist: pydantic-core (>=2.18.2,<3.0.0)
27
30
  Requires-Dist: typing_extensions (>=4.0.0)
31
+ Project-URL: Repository, https://github.com/Basis-Theory/python-sdk
28
32
  Description-Content-Type: text/markdown
29
33
 
30
34
  # BasisTheory Python Library
@@ -39,6 +43,7 @@ The BasisTheory Python library provides convenient access to the BasisTheory API
39
43
  - [Documentation](#documentation)
40
44
  - [Installation](#installation)
41
45
  - [Usage](#usage)
46
+ - [Environments](#environments)
42
47
  - [Async Client](#async-client)
43
48
  - [Exception Handling](#exception-handling)
44
49
  - [Pagination](#pagination)
@@ -68,15 +73,28 @@ Instantiate and use the client with the following:
68
73
  from basis_theory import BasisTheory
69
74
 
70
75
  client = BasisTheory(
71
- correlation_id="YOUR_CORRELATION_ID",
72
- api_key="YOUR_API_KEY",
76
+ api_key="<value>",
73
77
  )
78
+
74
79
  client.tenants.self_.get()
75
80
  ```
76
81
 
82
+ ## Environments
83
+
84
+ This SDK allows you to configure different environments for API requests.
85
+
86
+ ```python
87
+ from basis_theory import BasisTheory
88
+ from basis_theory.environment import BasisTheoryEnvironment
89
+
90
+ client = BasisTheory(
91
+ environment=BasisTheoryEnvironment.DEFAULT,
92
+ )
93
+ ```
94
+
77
95
  ## Async Client
78
96
 
79
- The SDK also exports an `async` client so that you can make non-blocking calls to our API.
97
+ The SDK also exports an `async` client so that you can make non-blocking calls to our API. Note that if you are constructing an Async httpx client class to pass into this client, use `httpx.AsyncClient()` instead of `httpx.Client()` (e.g. for the `httpx_client` parameter of this client).
80
98
 
81
99
  ```python
82
100
  import asyncio
@@ -84,8 +102,7 @@ import asyncio
84
102
  from basis_theory import AsyncBasisTheory
85
103
 
86
104
  client = AsyncBasisTheory(
87
- correlation_id="YOUR_CORRELATION_ID",
88
- api_key="YOUR_API_KEY",
105
+ api_key="<value>",
89
106
  )
90
107
 
91
108
 
@@ -105,7 +122,7 @@ will be thrown.
105
122
  from basis_theory.core.api_error import ApiError
106
123
 
107
124
  try:
108
- client.tenants.self_.get(...)
125
+ client.tenants.self_.get()
109
126
  except ApiError as e:
110
127
  print(e.status_code)
111
128
  print(e.body)
@@ -119,15 +136,29 @@ Paginated requests will return a `SyncPager` or `AsyncPager`, which can be used
119
136
  from basis_theory import BasisTheory
120
137
 
121
138
  client = BasisTheory(
122
- correlation_id="YOUR_CORRELATION_ID",
123
- api_key="YOUR_API_KEY",
139
+ api_key="<value>",
140
+ )
141
+
142
+ client.applications.list(
143
+ id=[
144
+ "id"
145
+ ],
146
+ type=[
147
+ "type"
148
+ ],
149
+ page=1,
150
+ start="start",
151
+ size=1,
124
152
  )
125
- response = client.applications.list()
126
- for item in response:
127
- yield item
128
- # alternatively, you can paginate page-by-page
129
- for page in response.iter_pages():
130
- yield page
153
+ ```
154
+
155
+ ```python
156
+ # You can also iterate through pages and access the typed response per page
157
+ pager = client.applications.list(...)
158
+ for page in pager.iter_pages():
159
+ print(page.response) # access the typed response for each page
160
+ for item in page:
161
+ print(item)
131
162
  ```
132
163
 
133
164
  ## Advanced
@@ -140,20 +171,11 @@ The `.with_raw_response` property returns a "raw" client that can be used to acc
140
171
  ```python
141
172
  from basis_theory import BasisTheory
142
173
 
143
- client = BasisTheory(
144
- ...,
145
- )
146
- response = client.tenants.self_.with_raw_response.get(...)
174
+ client = BasisTheory(...)
175
+ response = client.tenants.self_.with_raw_response.get()
147
176
  print(response.headers) # access the response headers
177
+ print(response.status_code) # access the response status code
148
178
  print(response.data) # access the underlying object
149
- pager = client.applications.list(...)
150
- print(pager.response.headers) # access the response headers for the first page
151
- for item in pager:
152
- print(item) # access the underlying object(s)
153
- for page in pager.iter_pages():
154
- print(page.response.headers) # access the response headers for each page
155
- for item in page:
156
- print(item) # access the underlying object(s)
157
179
  ```
158
180
 
159
181
  ### Retries
@@ -162,16 +184,26 @@ The SDK is instrumented with automatic retries with exponential backoff. A reque
162
184
  as the request is deemed retryable and the number of retry attempts has not grown larger than the configured
163
185
  retry limit (default: 2).
164
186
 
165
- A request is deemed retryable when any of the following HTTP status codes is returned:
187
+ Which status codes are retried depends on the `retryStatusCodes` generator configuration:
166
188
 
189
+ **`legacy`** (current default): retries on
167
190
  - [408](https://developer.mozilla.org/en-US/docs/Web/HTTP/Status/408) (Timeout)
191
+ - [409](https://developer.mozilla.org/en-US/docs/Web/HTTP/Status/409) (Conflict)
168
192
  - [429](https://developer.mozilla.org/en-US/docs/Web/HTTP/Status/429) (Too Many Requests)
169
- - [5XX](https://developer.mozilla.org/en-US/docs/Web/HTTP/Status/500) (Internal Server Errors)
193
+ - [5XX](https://developer.mozilla.org/en-US/docs/Web/HTTP/Status#server_error_responses) (All server errors, including 500)
194
+
195
+ **`recommended`**: retries on
196
+ - [408](https://developer.mozilla.org/en-US/docs/Web/HTTP/Status/408) (Timeout)
197
+ - [409](https://developer.mozilla.org/en-US/docs/Web/HTTP/Status/409) (Conflict)
198
+ - [429](https://developer.mozilla.org/en-US/docs/Web/HTTP/Status/429) (Too Many Requests)
199
+ - [502](https://developer.mozilla.org/en-US/docs/Web/HTTP/Status/502) (Bad Gateway)
200
+ - [503](https://developer.mozilla.org/en-US/docs/Web/HTTP/Status/503) (Service Unavailable)
201
+ - [504](https://developer.mozilla.org/en-US/docs/Web/HTTP/Status/504) (Gateway Timeout)
170
202
 
171
203
  Use the `max_retries` request option to configure this behavior.
172
204
 
173
205
  ```python
174
- client.tenants.self_.get(..., request_options={
206
+ client.tenants.self_.get(request_options={
175
207
  "max_retries": 1
176
208
  })
177
209
  ```
@@ -181,17 +213,12 @@ client.tenants.self_.get(..., request_options={
181
213
  The SDK defaults to a 60 second timeout. You can configure this with a timeout option at the client or request level.
182
214
 
183
215
  ```python
184
-
185
216
  from basis_theory import BasisTheory
186
217
 
187
- client = BasisTheory(
188
- ...,
189
- timeout=20.0,
190
- )
191
-
218
+ client = BasisTheory(..., timeout=20.0)
192
219
 
193
220
  # Override timeout for a specific method
194
- client.tenants.self_.get(..., request_options={
221
+ client.tenants.self_.get(request_options={
195
222
  "timeout_in_seconds": 1
196
223
  })
197
224
  ```
@@ -208,7 +235,7 @@ from basis_theory import BasisTheory
208
235
  client = BasisTheory(
209
236
  ...,
210
237
  httpx_client=httpx.Client(
211
- proxies="http://my.test.proxy.example.com",
238
+ proxy="http://my.test.proxy.example.com",
212
239
  transport=httpx.HTTPTransport(local_address="0.0.0.0"),
213
240
  ),
214
241
  )
@@ -10,6 +10,7 @@ The BasisTheory Python library provides convenient access to the BasisTheory API
10
10
  - [Documentation](#documentation)
11
11
  - [Installation](#installation)
12
12
  - [Usage](#usage)
13
+ - [Environments](#environments)
13
14
  - [Async Client](#async-client)
14
15
  - [Exception Handling](#exception-handling)
15
16
  - [Pagination](#pagination)
@@ -39,15 +40,28 @@ Instantiate and use the client with the following:
39
40
  from basis_theory import BasisTheory
40
41
 
41
42
  client = BasisTheory(
42
- correlation_id="YOUR_CORRELATION_ID",
43
- api_key="YOUR_API_KEY",
43
+ api_key="<value>",
44
44
  )
45
+
45
46
  client.tenants.self_.get()
46
47
  ```
47
48
 
49
+ ## Environments
50
+
51
+ This SDK allows you to configure different environments for API requests.
52
+
53
+ ```python
54
+ from basis_theory import BasisTheory
55
+ from basis_theory.environment import BasisTheoryEnvironment
56
+
57
+ client = BasisTheory(
58
+ environment=BasisTheoryEnvironment.DEFAULT,
59
+ )
60
+ ```
61
+
48
62
  ## Async Client
49
63
 
50
- The SDK also exports an `async` client so that you can make non-blocking calls to our API.
64
+ The SDK also exports an `async` client so that you can make non-blocking calls to our API. Note that if you are constructing an Async httpx client class to pass into this client, use `httpx.AsyncClient()` instead of `httpx.Client()` (e.g. for the `httpx_client` parameter of this client).
51
65
 
52
66
  ```python
53
67
  import asyncio
@@ -55,8 +69,7 @@ import asyncio
55
69
  from basis_theory import AsyncBasisTheory
56
70
 
57
71
  client = AsyncBasisTheory(
58
- correlation_id="YOUR_CORRELATION_ID",
59
- api_key="YOUR_API_KEY",
72
+ api_key="<value>",
60
73
  )
61
74
 
62
75
 
@@ -76,7 +89,7 @@ will be thrown.
76
89
  from basis_theory.core.api_error import ApiError
77
90
 
78
91
  try:
79
- client.tenants.self_.get(...)
92
+ client.tenants.self_.get()
80
93
  except ApiError as e:
81
94
  print(e.status_code)
82
95
  print(e.body)
@@ -90,15 +103,29 @@ Paginated requests will return a `SyncPager` or `AsyncPager`, which can be used
90
103
  from basis_theory import BasisTheory
91
104
 
92
105
  client = BasisTheory(
93
- correlation_id="YOUR_CORRELATION_ID",
94
- api_key="YOUR_API_KEY",
106
+ api_key="<value>",
107
+ )
108
+
109
+ client.applications.list(
110
+ id=[
111
+ "id"
112
+ ],
113
+ type=[
114
+ "type"
115
+ ],
116
+ page=1,
117
+ start="start",
118
+ size=1,
95
119
  )
96
- response = client.applications.list()
97
- for item in response:
98
- yield item
99
- # alternatively, you can paginate page-by-page
100
- for page in response.iter_pages():
101
- yield page
120
+ ```
121
+
122
+ ```python
123
+ # You can also iterate through pages and access the typed response per page
124
+ pager = client.applications.list(...)
125
+ for page in pager.iter_pages():
126
+ print(page.response) # access the typed response for each page
127
+ for item in page:
128
+ print(item)
102
129
  ```
103
130
 
104
131
  ## Advanced
@@ -111,20 +138,11 @@ The `.with_raw_response` property returns a "raw" client that can be used to acc
111
138
  ```python
112
139
  from basis_theory import BasisTheory
113
140
 
114
- client = BasisTheory(
115
- ...,
116
- )
117
- response = client.tenants.self_.with_raw_response.get(...)
141
+ client = BasisTheory(...)
142
+ response = client.tenants.self_.with_raw_response.get()
118
143
  print(response.headers) # access the response headers
144
+ print(response.status_code) # access the response status code
119
145
  print(response.data) # access the underlying object
120
- pager = client.applications.list(...)
121
- print(pager.response.headers) # access the response headers for the first page
122
- for item in pager:
123
- print(item) # access the underlying object(s)
124
- for page in pager.iter_pages():
125
- print(page.response.headers) # access the response headers for each page
126
- for item in page:
127
- print(item) # access the underlying object(s)
128
146
  ```
129
147
 
130
148
  ### Retries
@@ -133,16 +151,26 @@ The SDK is instrumented with automatic retries with exponential backoff. A reque
133
151
  as the request is deemed retryable and the number of retry attempts has not grown larger than the configured
134
152
  retry limit (default: 2).
135
153
 
136
- A request is deemed retryable when any of the following HTTP status codes is returned:
154
+ Which status codes are retried depends on the `retryStatusCodes` generator configuration:
137
155
 
156
+ **`legacy`** (current default): retries on
138
157
  - [408](https://developer.mozilla.org/en-US/docs/Web/HTTP/Status/408) (Timeout)
158
+ - [409](https://developer.mozilla.org/en-US/docs/Web/HTTP/Status/409) (Conflict)
139
159
  - [429](https://developer.mozilla.org/en-US/docs/Web/HTTP/Status/429) (Too Many Requests)
140
- - [5XX](https://developer.mozilla.org/en-US/docs/Web/HTTP/Status/500) (Internal Server Errors)
160
+ - [5XX](https://developer.mozilla.org/en-US/docs/Web/HTTP/Status#server_error_responses) (All server errors, including 500)
161
+
162
+ **`recommended`**: retries on
163
+ - [408](https://developer.mozilla.org/en-US/docs/Web/HTTP/Status/408) (Timeout)
164
+ - [409](https://developer.mozilla.org/en-US/docs/Web/HTTP/Status/409) (Conflict)
165
+ - [429](https://developer.mozilla.org/en-US/docs/Web/HTTP/Status/429) (Too Many Requests)
166
+ - [502](https://developer.mozilla.org/en-US/docs/Web/HTTP/Status/502) (Bad Gateway)
167
+ - [503](https://developer.mozilla.org/en-US/docs/Web/HTTP/Status/503) (Service Unavailable)
168
+ - [504](https://developer.mozilla.org/en-US/docs/Web/HTTP/Status/504) (Gateway Timeout)
141
169
 
142
170
  Use the `max_retries` request option to configure this behavior.
143
171
 
144
172
  ```python
145
- client.tenants.self_.get(..., request_options={
173
+ client.tenants.self_.get(request_options={
146
174
  "max_retries": 1
147
175
  })
148
176
  ```
@@ -152,17 +180,12 @@ client.tenants.self_.get(..., request_options={
152
180
  The SDK defaults to a 60 second timeout. You can configure this with a timeout option at the client or request level.
153
181
 
154
182
  ```python
155
-
156
183
  from basis_theory import BasisTheory
157
184
 
158
- client = BasisTheory(
159
- ...,
160
- timeout=20.0,
161
- )
162
-
185
+ client = BasisTheory(..., timeout=20.0)
163
186
 
164
187
  # Override timeout for a specific method
165
- client.tenants.self_.get(..., request_options={
188
+ client.tenants.self_.get(request_options={
166
189
  "timeout_in_seconds": 1
167
190
  })
168
191
  ```
@@ -179,7 +202,7 @@ from basis_theory import BasisTheory
179
202
  client = BasisTheory(
180
203
  ...,
181
204
  httpx_client=httpx.Client(
182
- proxies="http://my.test.proxy.example.com",
205
+ proxy="http://my.test.proxy.example.com",
183
206
  transport=httpx.HTTPTransport(local_address="0.0.0.0"),
184
207
  ),
185
208
  )
@@ -1,9 +1,10 @@
1
1
  [project]
2
2
  name = "BasisTheoryClient"
3
+ dynamic = ["version"]
3
4
 
4
5
  [tool.poetry]
5
6
  name = "BasisTheoryClient"
6
- version = "5.10.0"
7
+ version = "6.0.1"
7
8
  description = ""
8
9
  readme = "README.md"
9
10
  authors = []
@@ -13,11 +14,12 @@ classifiers = [
13
14
  "Intended Audience :: Developers",
14
15
  "Programming Language :: Python",
15
16
  "Programming Language :: Python :: 3",
16
- "Programming Language :: Python :: 3.8",
17
- "Programming Language :: Python :: 3.9",
18
17
  "Programming Language :: Python :: 3.10",
19
18
  "Programming Language :: Python :: 3.11",
20
19
  "Programming Language :: Python :: 3.12",
20
+ "Programming Language :: Python :: 3.13",
21
+ "Programming Language :: Python :: 3.14",
22
+ "Programming Language :: Python :: 3.15",
21
23
  "Operating System :: OS Independent",
22
24
  "Operating System :: POSIX",
23
25
  "Operating System :: MacOS",
@@ -31,27 +33,34 @@ packages = [
31
33
  { include = "basis_theory", from = "src"}
32
34
  ]
33
35
 
34
- [project.urls]
36
+ [tool.poetry.urls]
35
37
  Repository = 'https://github.com/Basis-Theory/python-sdk'
36
38
 
37
39
  [tool.poetry.dependencies]
38
- python = "^3.8"
40
+ python = "^3.10"
41
+ aiohttp = { version = ">=3.13.4,<4", optional = true, python = ">=3.9"}
39
42
  httpx = ">=0.21.2"
43
+ httpx-aiohttp = { version = "0.1.8", optional = true, python = ">=3.9"}
40
44
  pydantic = ">= 1.9.2"
41
- pydantic-core = ">=2.18.2"
45
+ pydantic-core = ">=2.18.2,<3.0.0"
42
46
  typing_extensions = ">= 4.0.0"
43
47
 
44
48
  [tool.poetry.group.dev.dependencies]
45
49
  mypy = "==1.13.0"
46
- pytest = "^7.4.0"
47
- pytest-asyncio = "^0.23.5"
50
+ pytest = "^9.0.3"
51
+ pytest-asyncio = "^1.0.0"
52
+ pytest-xdist = "^3.6.1"
48
53
  python-dateutil = "^2.9.0"
49
54
  types-python-dateutil = "^2.9.0.20240316"
55
+ urllib3 = ">=2.6.3,<3.0.0"
50
56
  ruff = "==0.11.5"
51
57
 
52
58
  [tool.pytest.ini_options]
53
59
  testpaths = [ "tests" ]
54
60
  asyncio_mode = "auto"
61
+ markers = [
62
+ "aiohttp: tests that require httpx_aiohttp to be installed",
63
+ ]
55
64
 
56
65
  [tool.mypy]
57
66
  plugins = ["pydantic.mypy"]
@@ -83,3 +92,6 @@ section-order = ["future", "standard-library", "third-party", "first-party"]
83
92
  [build-system]
84
93
  requires = ["poetry-core"]
85
94
  build-backend = "poetry.core.masonry.api"
95
+
96
+ [tool.poetry.extras]
97
+ aiohttp=["aiohttp", "httpx-aiohttp"]