BasisTheoryClient 2.0.0__tar.gz → 2.1.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 (233) hide show
  1. {basistheoryclient-2.0.0 → basistheoryclient-2.1.0}/PKG-INFO +1 -1
  2. {basistheoryclient-2.0.0 → basistheoryclient-2.1.0}/pyproject.toml +1 -1
  3. {basistheoryclient-2.0.0 → basistheoryclient-2.1.0}/src/basis_theory/apple_pay/client.py +179 -0
  4. {basistheoryclient-2.0.0 → basistheoryclient-2.1.0}/src/basis_theory/tokens/client.py +8 -0
  5. {basistheoryclient-2.0.0 → basistheoryclient-2.1.0}/src/basis_theory/types/apple_pay_token.py +2 -0
  6. {basistheoryclient-2.0.0 → basistheoryclient-2.1.0}/src/basis_theory/types/network_token.py +3 -0
  7. {basistheoryclient-2.0.0 → basistheoryclient-2.1.0}/src/basis_theory/types/token_extras.py +1 -0
  8. {basistheoryclient-2.0.0 → basistheoryclient-2.1.0}/README.md +0 -0
  9. {basistheoryclient-2.0.0 → basistheoryclient-2.1.0}/src/basis_theory/__init__.py +0 -0
  10. {basistheoryclient-2.0.0 → basistheoryclient-2.1.0}/src/basis_theory/account_updater/__init__.py +0 -0
  11. {basistheoryclient-2.0.0 → basistheoryclient-2.1.0}/src/basis_theory/account_updater/client.py +0 -0
  12. {basistheoryclient-2.0.0 → basistheoryclient-2.1.0}/src/basis_theory/account_updater/jobs/__init__.py +0 -0
  13. {basistheoryclient-2.0.0 → basistheoryclient-2.1.0}/src/basis_theory/account_updater/jobs/client.py +0 -0
  14. {basistheoryclient-2.0.0 → basistheoryclient-2.1.0}/src/basis_theory/account_updater/real_time/__init__.py +0 -0
  15. {basistheoryclient-2.0.0 → basistheoryclient-2.1.0}/src/basis_theory/account_updater/real_time/client.py +0 -0
  16. {basistheoryclient-2.0.0 → basistheoryclient-2.1.0}/src/basis_theory/apple_pay/__init__.py +0 -0
  17. {basistheoryclient-2.0.0 → basistheoryclient-2.1.0}/src/basis_theory/apple_pay/domain/__init__.py +0 -0
  18. {basistheoryclient-2.0.0 → basistheoryclient-2.1.0}/src/basis_theory/apple_pay/domain/client.py +0 -0
  19. {basistheoryclient-2.0.0 → basistheoryclient-2.1.0}/src/basis_theory/apple_pay/session/__init__.py +0 -0
  20. {basistheoryclient-2.0.0 → basistheoryclient-2.1.0}/src/basis_theory/apple_pay/session/client.py +0 -0
  21. {basistheoryclient-2.0.0 → basistheoryclient-2.1.0}/src/basis_theory/application_keys/__init__.py +0 -0
  22. {basistheoryclient-2.0.0 → basistheoryclient-2.1.0}/src/basis_theory/application_keys/client.py +0 -0
  23. {basistheoryclient-2.0.0 → basistheoryclient-2.1.0}/src/basis_theory/application_templates/__init__.py +0 -0
  24. {basistheoryclient-2.0.0 → basistheoryclient-2.1.0}/src/basis_theory/application_templates/client.py +0 -0
  25. {basistheoryclient-2.0.0 → basistheoryclient-2.1.0}/src/basis_theory/applications/__init__.py +0 -0
  26. {basistheoryclient-2.0.0 → basistheoryclient-2.1.0}/src/basis_theory/applications/client.py +0 -0
  27. {basistheoryclient-2.0.0 → basistheoryclient-2.1.0}/src/basis_theory/client.py +0 -0
  28. {basistheoryclient-2.0.0 → basistheoryclient-2.1.0}/src/basis_theory/connection/__init__.py +0 -0
  29. {basistheoryclient-2.0.0 → basistheoryclient-2.1.0}/src/basis_theory/connection/apple_pay/__init__.py +0 -0
  30. {basistheoryclient-2.0.0 → basistheoryclient-2.1.0}/src/basis_theory/connection/apple_pay/client.py +0 -0
  31. {basistheoryclient-2.0.0 → basistheoryclient-2.1.0}/src/basis_theory/connection/apple_pay/domain/__init__.py +0 -0
  32. {basistheoryclient-2.0.0 → basistheoryclient-2.1.0}/src/basis_theory/connection/apple_pay/domain/client.py +0 -0
  33. {basistheoryclient-2.0.0 → basistheoryclient-2.1.0}/src/basis_theory/connection/apple_pay/session/__init__.py +0 -0
  34. {basistheoryclient-2.0.0 → basistheoryclient-2.1.0}/src/basis_theory/connection/apple_pay/session/client.py +0 -0
  35. {basistheoryclient-2.0.0 → basistheoryclient-2.1.0}/src/basis_theory/connection/client.py +0 -0
  36. {basistheoryclient-2.0.0 → basistheoryclient-2.1.0}/src/basis_theory/core/__init__.py +0 -0
  37. {basistheoryclient-2.0.0 → basistheoryclient-2.1.0}/src/basis_theory/core/api_error.py +0 -0
  38. {basistheoryclient-2.0.0 → basistheoryclient-2.1.0}/src/basis_theory/core/client_wrapper.py +0 -0
  39. {basistheoryclient-2.0.0 → basistheoryclient-2.1.0}/src/basis_theory/core/datetime_utils.py +0 -0
  40. {basistheoryclient-2.0.0 → basistheoryclient-2.1.0}/src/basis_theory/core/file.py +0 -0
  41. {basistheoryclient-2.0.0 → basistheoryclient-2.1.0}/src/basis_theory/core/http_client.py +0 -0
  42. {basistheoryclient-2.0.0 → basistheoryclient-2.1.0}/src/basis_theory/core/jsonable_encoder.py +0 -0
  43. {basistheoryclient-2.0.0 → basistheoryclient-2.1.0}/src/basis_theory/core/pagination.py +0 -0
  44. {basistheoryclient-2.0.0 → basistheoryclient-2.1.0}/src/basis_theory/core/pydantic_utilities.py +0 -0
  45. {basistheoryclient-2.0.0 → basistheoryclient-2.1.0}/src/basis_theory/core/query_encoder.py +0 -0
  46. {basistheoryclient-2.0.0 → basistheoryclient-2.1.0}/src/basis_theory/core/remove_none_from_dict.py +0 -0
  47. {basistheoryclient-2.0.0 → basistheoryclient-2.1.0}/src/basis_theory/core/request_options.py +0 -0
  48. {basistheoryclient-2.0.0 → basistheoryclient-2.1.0}/src/basis_theory/core/serialization.py +0 -0
  49. {basistheoryclient-2.0.0 → basistheoryclient-2.1.0}/src/basis_theory/enrichments/__init__.py +0 -0
  50. {basistheoryclient-2.0.0 → basistheoryclient-2.1.0}/src/basis_theory/enrichments/client.py +0 -0
  51. {basistheoryclient-2.0.0 → basistheoryclient-2.1.0}/src/basis_theory/environment.py +0 -0
  52. {basistheoryclient-2.0.0 → basistheoryclient-2.1.0}/src/basis_theory/errors/__init__.py +0 -0
  53. {basistheoryclient-2.0.0 → basistheoryclient-2.1.0}/src/basis_theory/errors/bad_request_error.py +0 -0
  54. {basistheoryclient-2.0.0 → basistheoryclient-2.1.0}/src/basis_theory/errors/conflict_error.py +0 -0
  55. {basistheoryclient-2.0.0 → basistheoryclient-2.1.0}/src/basis_theory/errors/forbidden_error.py +0 -0
  56. {basistheoryclient-2.0.0 → basistheoryclient-2.1.0}/src/basis_theory/errors/internal_server_error.py +0 -0
  57. {basistheoryclient-2.0.0 → basistheoryclient-2.1.0}/src/basis_theory/errors/not_found_error.py +0 -0
  58. {basistheoryclient-2.0.0 → basistheoryclient-2.1.0}/src/basis_theory/errors/service_unavailable_error.py +0 -0
  59. {basistheoryclient-2.0.0 → basistheoryclient-2.1.0}/src/basis_theory/errors/unauthorized_error.py +0 -0
  60. {basistheoryclient-2.0.0 → basistheoryclient-2.1.0}/src/basis_theory/errors/unprocessable_entity_error.py +0 -0
  61. {basistheoryclient-2.0.0 → basistheoryclient-2.1.0}/src/basis_theory/googlepay/__init__.py +0 -0
  62. {basistheoryclient-2.0.0 → basistheoryclient-2.1.0}/src/basis_theory/googlepay/client.py +0 -0
  63. {basistheoryclient-2.0.0 → basistheoryclient-2.1.0}/src/basis_theory/keys/__init__.py +0 -0
  64. {basistheoryclient-2.0.0 → basistheoryclient-2.1.0}/src/basis_theory/keys/client.py +0 -0
  65. {basistheoryclient-2.0.0 → basistheoryclient-2.1.0}/src/basis_theory/logs/__init__.py +0 -0
  66. {basistheoryclient-2.0.0 → basistheoryclient-2.1.0}/src/basis_theory/logs/client.py +0 -0
  67. {basistheoryclient-2.0.0 → basistheoryclient-2.1.0}/src/basis_theory/network_tokens/__init__.py +0 -0
  68. {basistheoryclient-2.0.0 → basistheoryclient-2.1.0}/src/basis_theory/network_tokens/client.py +0 -0
  69. {basistheoryclient-2.0.0 → basistheoryclient-2.1.0}/src/basis_theory/permissions/__init__.py +0 -0
  70. {basistheoryclient-2.0.0 → basistheoryclient-2.1.0}/src/basis_theory/permissions/client.py +0 -0
  71. {basistheoryclient-2.0.0 → basistheoryclient-2.1.0}/src/basis_theory/proxies/__init__.py +0 -0
  72. {basistheoryclient-2.0.0 → basistheoryclient-2.1.0}/src/basis_theory/proxies/client.py +0 -0
  73. {basistheoryclient-2.0.0 → basistheoryclient-2.1.0}/src/basis_theory/py.typed +0 -0
  74. {basistheoryclient-2.0.0 → basistheoryclient-2.1.0}/src/basis_theory/reactors/__init__.py +0 -0
  75. {basistheoryclient-2.0.0 → basistheoryclient-2.1.0}/src/basis_theory/reactors/client.py +0 -0
  76. {basistheoryclient-2.0.0 → basistheoryclient-2.1.0}/src/basis_theory/reactors/results/__init__.py +0 -0
  77. {basistheoryclient-2.0.0 → basistheoryclient-2.1.0}/src/basis_theory/reactors/results/client.py +0 -0
  78. {basistheoryclient-2.0.0 → basistheoryclient-2.1.0}/src/basis_theory/roles/__init__.py +0 -0
  79. {basistheoryclient-2.0.0 → basistheoryclient-2.1.0}/src/basis_theory/roles/client.py +0 -0
  80. {basistheoryclient-2.0.0 → basistheoryclient-2.1.0}/src/basis_theory/sessions/__init__.py +0 -0
  81. {basistheoryclient-2.0.0 → basistheoryclient-2.1.0}/src/basis_theory/sessions/client.py +0 -0
  82. {basistheoryclient-2.0.0 → basistheoryclient-2.1.0}/src/basis_theory/tenants/__init__.py +0 -0
  83. {basistheoryclient-2.0.0 → basistheoryclient-2.1.0}/src/basis_theory/tenants/client.py +0 -0
  84. {basistheoryclient-2.0.0 → basistheoryclient-2.1.0}/src/basis_theory/tenants/connections/__init__.py +0 -0
  85. {basistheoryclient-2.0.0 → basistheoryclient-2.1.0}/src/basis_theory/tenants/connections/client.py +0 -0
  86. {basistheoryclient-2.0.0 → basistheoryclient-2.1.0}/src/basis_theory/tenants/invitations/__init__.py +0 -0
  87. {basistheoryclient-2.0.0 → basistheoryclient-2.1.0}/src/basis_theory/tenants/invitations/client.py +0 -0
  88. {basistheoryclient-2.0.0 → basistheoryclient-2.1.0}/src/basis_theory/tenants/members/__init__.py +0 -0
  89. {basistheoryclient-2.0.0 → basistheoryclient-2.1.0}/src/basis_theory/tenants/members/client.py +0 -0
  90. {basistheoryclient-2.0.0 → basistheoryclient-2.1.0}/src/basis_theory/tenants/owner/__init__.py +0 -0
  91. {basistheoryclient-2.0.0 → basistheoryclient-2.1.0}/src/basis_theory/tenants/owner/client.py +0 -0
  92. {basistheoryclient-2.0.0 → basistheoryclient-2.1.0}/src/basis_theory/tenants/self_/__init__.py +0 -0
  93. {basistheoryclient-2.0.0 → basistheoryclient-2.1.0}/src/basis_theory/tenants/self_/client.py +0 -0
  94. {basistheoryclient-2.0.0 → basistheoryclient-2.1.0}/src/basis_theory/threeds/__init__.py +0 -0
  95. {basistheoryclient-2.0.0 → basistheoryclient-2.1.0}/src/basis_theory/threeds/client.py +0 -0
  96. {basistheoryclient-2.0.0 → basistheoryclient-2.1.0}/src/basis_theory/threeds/sessions/__init__.py +0 -0
  97. {basistheoryclient-2.0.0 → basistheoryclient-2.1.0}/src/basis_theory/threeds/sessions/client.py +0 -0
  98. {basistheoryclient-2.0.0 → basistheoryclient-2.1.0}/src/basis_theory/token_intents/__init__.py +0 -0
  99. {basistheoryclient-2.0.0 → basistheoryclient-2.1.0}/src/basis_theory/token_intents/client.py +0 -0
  100. {basistheoryclient-2.0.0 → basistheoryclient-2.1.0}/src/basis_theory/tokens/__init__.py +0 -0
  101. {basistheoryclient-2.0.0 → basistheoryclient-2.1.0}/src/basis_theory/types/__init__.py +0 -0
  102. {basistheoryclient-2.0.0 → basistheoryclient-2.1.0}/src/basis_theory/types/access_rule.py +0 -0
  103. {basistheoryclient-2.0.0 → basistheoryclient-2.1.0}/src/basis_theory/types/account_updater_job.py +0 -0
  104. {basistheoryclient-2.0.0 → basistheoryclient-2.1.0}/src/basis_theory/types/account_updater_job_list.py +0 -0
  105. {basistheoryclient-2.0.0 → basistheoryclient-2.1.0}/src/basis_theory/types/account_updater_job_list_pagination.py +0 -0
  106. {basistheoryclient-2.0.0 → basistheoryclient-2.1.0}/src/basis_theory/types/account_updater_job_status.py +0 -0
  107. {basistheoryclient-2.0.0 → basistheoryclient-2.1.0}/src/basis_theory/types/account_updater_real_time_response.py +0 -0
  108. {basistheoryclient-2.0.0 → basistheoryclient-2.1.0}/src/basis_theory/types/additional_card_details.py +0 -0
  109. {basistheoryclient-2.0.0 → basistheoryclient-2.1.0}/src/basis_theory/types/address.py +0 -0
  110. {basistheoryclient-2.0.0 → basistheoryclient-2.1.0}/src/basis_theory/types/apple_pay_create_response.py +0 -0
  111. {basistheoryclient-2.0.0 → basistheoryclient-2.1.0}/src/basis_theory/types/apple_pay_create_token_response.py +0 -0
  112. {basistheoryclient-2.0.0 → basistheoryclient-2.1.0}/src/basis_theory/types/apple_pay_domain_deregistration_request.py +0 -0
  113. {basistheoryclient-2.0.0 → basistheoryclient-2.1.0}/src/basis_theory/types/apple_pay_domain_registration_list_request.py +0 -0
  114. {basistheoryclient-2.0.0 → basistheoryclient-2.1.0}/src/basis_theory/types/apple_pay_domain_registration_request.py +0 -0
  115. {basistheoryclient-2.0.0 → basistheoryclient-2.1.0}/src/basis_theory/types/apple_pay_domain_registration_response.py +0 -0
  116. {basistheoryclient-2.0.0 → basistheoryclient-2.1.0}/src/basis_theory/types/apple_pay_method_token.py +0 -0
  117. {basistheoryclient-2.0.0 → basistheoryclient-2.1.0}/src/basis_theory/types/apple_pay_session_request.py +0 -0
  118. {basistheoryclient-2.0.0 → basistheoryclient-2.1.0}/src/basis_theory/types/apple_pay_tokenize_response.py +0 -0
  119. {basistheoryclient-2.0.0 → basistheoryclient-2.1.0}/src/basis_theory/types/application.py +0 -0
  120. {basistheoryclient-2.0.0 → basistheoryclient-2.1.0}/src/basis_theory/types/application_key.py +0 -0
  121. {basistheoryclient-2.0.0 → basistheoryclient-2.1.0}/src/basis_theory/types/application_paginated_list.py +0 -0
  122. {basistheoryclient-2.0.0 → basistheoryclient-2.1.0}/src/basis_theory/types/application_template.py +0 -0
  123. {basistheoryclient-2.0.0 → basistheoryclient-2.1.0}/src/basis_theory/types/assurance_details.py +0 -0
  124. {basistheoryclient-2.0.0 → basistheoryclient-2.1.0}/src/basis_theory/types/async_react_response.py +0 -0
  125. {basistheoryclient-2.0.0 → basistheoryclient-2.1.0}/src/basis_theory/types/authenticate_three_ds_session_request.py +0 -0
  126. {basistheoryclient-2.0.0 → basistheoryclient-2.1.0}/src/basis_theory/types/authentication.py +0 -0
  127. {basistheoryclient-2.0.0 → basistheoryclient-2.1.0}/src/basis_theory/types/authentication_response.py +0 -0
  128. {basistheoryclient-2.0.0 → basistheoryclient-2.1.0}/src/basis_theory/types/bank_details.py +0 -0
  129. {basistheoryclient-2.0.0 → basistheoryclient-2.1.0}/src/basis_theory/types/bank_verification_response.py +0 -0
  130. {basistheoryclient-2.0.0 → basistheoryclient-2.1.0}/src/basis_theory/types/bin_details.py +0 -0
  131. {basistheoryclient-2.0.0 → basistheoryclient-2.1.0}/src/basis_theory/types/bin_details_bank.py +0 -0
  132. {basistheoryclient-2.0.0 → basistheoryclient-2.1.0}/src/basis_theory/types/bin_details_country.py +0 -0
  133. {basistheoryclient-2.0.0 → basistheoryclient-2.1.0}/src/basis_theory/types/bin_details_product.py +0 -0
  134. {basistheoryclient-2.0.0 → basistheoryclient-2.1.0}/src/basis_theory/types/card.py +0 -0
  135. {basistheoryclient-2.0.0 → basistheoryclient-2.1.0}/src/basis_theory/types/card_details.py +0 -0
  136. {basistheoryclient-2.0.0 → basistheoryclient-2.1.0}/src/basis_theory/types/card_issuer.py +0 -0
  137. {basistheoryclient-2.0.0 → basistheoryclient-2.1.0}/src/basis_theory/types/card_issuer_country.py +0 -0
  138. {basistheoryclient-2.0.0 → basistheoryclient-2.1.0}/src/basis_theory/types/cardholder_info.py +0 -0
  139. {basistheoryclient-2.0.0 → basistheoryclient-2.1.0}/src/basis_theory/types/client_encryption_key_metadata_response.py +0 -0
  140. {basistheoryclient-2.0.0 → basistheoryclient-2.1.0}/src/basis_theory/types/client_encryption_key_response.py +0 -0
  141. {basistheoryclient-2.0.0 → basistheoryclient-2.1.0}/src/basis_theory/types/condition.py +0 -0
  142. {basistheoryclient-2.0.0 → basistheoryclient-2.1.0}/src/basis_theory/types/create_reactor_formula_request.py +0 -0
  143. {basistheoryclient-2.0.0 → basistheoryclient-2.1.0}/src/basis_theory/types/create_session_response.py +0 -0
  144. {basistheoryclient-2.0.0 → basistheoryclient-2.1.0}/src/basis_theory/types/create_tenant_connection_response.py +0 -0
  145. {basistheoryclient-2.0.0 → basistheoryclient-2.1.0}/src/basis_theory/types/create_three_ds_session_response.py +0 -0
  146. {basistheoryclient-2.0.0 → basistheoryclient-2.1.0}/src/basis_theory/types/create_token_intent_response.py +0 -0
  147. {basistheoryclient-2.0.0 → basistheoryclient-2.1.0}/src/basis_theory/types/cursor_pagination.py +0 -0
  148. {basistheoryclient-2.0.0 → basistheoryclient-2.1.0}/src/basis_theory/types/domain_registration_response.py +0 -0
  149. {basistheoryclient-2.0.0 → basistheoryclient-2.1.0}/src/basis_theory/types/event_types.py +0 -0
  150. {basistheoryclient-2.0.0 → basistheoryclient-2.1.0}/src/basis_theory/types/get_applications.py +0 -0
  151. {basistheoryclient-2.0.0 → basistheoryclient-2.1.0}/src/basis_theory/types/get_logs.py +0 -0
  152. {basistheoryclient-2.0.0 → basistheoryclient-2.1.0}/src/basis_theory/types/get_permissions.py +0 -0
  153. {basistheoryclient-2.0.0 → basistheoryclient-2.1.0}/src/basis_theory/types/get_proxies.py +0 -0
  154. {basistheoryclient-2.0.0 → basistheoryclient-2.1.0}/src/basis_theory/types/get_reactor_formulas.py +0 -0
  155. {basistheoryclient-2.0.0 → basistheoryclient-2.1.0}/src/basis_theory/types/get_reactors.py +0 -0
  156. {basistheoryclient-2.0.0 → basistheoryclient-2.1.0}/src/basis_theory/types/get_tenant_invitations.py +0 -0
  157. {basistheoryclient-2.0.0 → basistheoryclient-2.1.0}/src/basis_theory/types/get_tenant_members.py +0 -0
  158. {basistheoryclient-2.0.0 → basistheoryclient-2.1.0}/src/basis_theory/types/get_tokens.py +0 -0
  159. {basistheoryclient-2.0.0 → basistheoryclient-2.1.0}/src/basis_theory/types/get_tokens_v2.py +0 -0
  160. {basistheoryclient-2.0.0 → basistheoryclient-2.1.0}/src/basis_theory/types/google_pay_tokenize_response.py +0 -0
  161. {basistheoryclient-2.0.0 → basistheoryclient-2.1.0}/src/basis_theory/types/google_payment_method_token.py +0 -0
  162. {basistheoryclient-2.0.0 → basistheoryclient-2.1.0}/src/basis_theory/types/header.py +0 -0
  163. {basistheoryclient-2.0.0 → basistheoryclient-2.1.0}/src/basis_theory/types/intermediate_signing_key.py +0 -0
  164. {basistheoryclient-2.0.0 → basistheoryclient-2.1.0}/src/basis_theory/types/log.py +0 -0
  165. {basistheoryclient-2.0.0 → basistheoryclient-2.1.0}/src/basis_theory/types/log_entity_type.py +0 -0
  166. {basistheoryclient-2.0.0 → basistheoryclient-2.1.0}/src/basis_theory/types/log_paginated_list.py +0 -0
  167. {basistheoryclient-2.0.0 → basistheoryclient-2.1.0}/src/basis_theory/types/network_token_cryptogram.py +0 -0
  168. {basistheoryclient-2.0.0 → basistheoryclient-2.1.0}/src/basis_theory/types/pagination.py +0 -0
  169. {basistheoryclient-2.0.0 → basistheoryclient-2.1.0}/src/basis_theory/types/payment_data.py +0 -0
  170. {basistheoryclient-2.0.0 → basistheoryclient-2.1.0}/src/basis_theory/types/permission.py +0 -0
  171. {basistheoryclient-2.0.0 → basistheoryclient-2.1.0}/src/basis_theory/types/privacy.py +0 -0
  172. {basistheoryclient-2.0.0 → basistheoryclient-2.1.0}/src/basis_theory/types/problem_details.py +0 -0
  173. {basistheoryclient-2.0.0 → basistheoryclient-2.1.0}/src/basis_theory/types/proxy.py +0 -0
  174. {basistheoryclient-2.0.0 → basistheoryclient-2.1.0}/src/basis_theory/types/proxy_paginated_list.py +0 -0
  175. {basistheoryclient-2.0.0 → basistheoryclient-2.1.0}/src/basis_theory/types/proxy_transform.py +0 -0
  176. {basistheoryclient-2.0.0 → basistheoryclient-2.1.0}/src/basis_theory/types/public_key.py +0 -0
  177. {basistheoryclient-2.0.0 → basistheoryclient-2.1.0}/src/basis_theory/types/react_response.py +0 -0
  178. {basistheoryclient-2.0.0 → basistheoryclient-2.1.0}/src/basis_theory/types/reactor.py +0 -0
  179. {basistheoryclient-2.0.0 → basistheoryclient-2.1.0}/src/basis_theory/types/reactor_formula.py +0 -0
  180. {basistheoryclient-2.0.0 → basistheoryclient-2.1.0}/src/basis_theory/types/reactor_formula_configuration.py +0 -0
  181. {basistheoryclient-2.0.0 → basistheoryclient-2.1.0}/src/basis_theory/types/reactor_formula_paginated_list.py +0 -0
  182. {basistheoryclient-2.0.0 → basistheoryclient-2.1.0}/src/basis_theory/types/reactor_formula_request_parameter.py +0 -0
  183. {basistheoryclient-2.0.0 → basistheoryclient-2.1.0}/src/basis_theory/types/reactor_paginated_list.py +0 -0
  184. {basistheoryclient-2.0.0 → basistheoryclient-2.1.0}/src/basis_theory/types/role.py +0 -0
  185. {basistheoryclient-2.0.0 → basistheoryclient-2.1.0}/src/basis_theory/types/string_string_key_value_pair.py +0 -0
  186. {basistheoryclient-2.0.0 → basistheoryclient-2.1.0}/src/basis_theory/types/submerchant_authentication_response.py +0 -0
  187. {basistheoryclient-2.0.0 → basistheoryclient-2.1.0}/src/basis_theory/types/tenant.py +0 -0
  188. {basistheoryclient-2.0.0 → basistheoryclient-2.1.0}/src/basis_theory/types/tenant_connection_options.py +0 -0
  189. {basistheoryclient-2.0.0 → basistheoryclient-2.1.0}/src/basis_theory/types/tenant_invitation_response.py +0 -0
  190. {basistheoryclient-2.0.0 → basistheoryclient-2.1.0}/src/basis_theory/types/tenant_invitation_response_paginated_list.py +0 -0
  191. {basistheoryclient-2.0.0 → basistheoryclient-2.1.0}/src/basis_theory/types/tenant_invitation_status.py +0 -0
  192. {basistheoryclient-2.0.0 → basistheoryclient-2.1.0}/src/basis_theory/types/tenant_member_response.py +0 -0
  193. {basistheoryclient-2.0.0 → basistheoryclient-2.1.0}/src/basis_theory/types/tenant_member_response_paginated_list.py +0 -0
  194. {basistheoryclient-2.0.0 → basistheoryclient-2.1.0}/src/basis_theory/types/tenant_usage_report.py +0 -0
  195. {basistheoryclient-2.0.0 → basistheoryclient-2.1.0}/src/basis_theory/types/three_ds_acs_rendering_type.py +0 -0
  196. {basistheoryclient-2.0.0 → basistheoryclient-2.1.0}/src/basis_theory/types/three_ds_address.py +0 -0
  197. {basistheoryclient-2.0.0 → basistheoryclient-2.1.0}/src/basis_theory/types/three_ds_authentication.py +0 -0
  198. {basistheoryclient-2.0.0 → basistheoryclient-2.1.0}/src/basis_theory/types/three_ds_cardholder_account_info.py +0 -0
  199. {basistheoryclient-2.0.0 → basistheoryclient-2.1.0}/src/basis_theory/types/three_ds_cardholder_authentication_info.py +0 -0
  200. {basistheoryclient-2.0.0 → basistheoryclient-2.1.0}/src/basis_theory/types/three_ds_cardholder_info.py +0 -0
  201. {basistheoryclient-2.0.0 → basistheoryclient-2.1.0}/src/basis_theory/types/three_ds_cardholder_phone_number.py +0 -0
  202. {basistheoryclient-2.0.0 → basistheoryclient-2.1.0}/src/basis_theory/types/three_ds_device_info.py +0 -0
  203. {basistheoryclient-2.0.0 → basistheoryclient-2.1.0}/src/basis_theory/types/three_ds_merchant_info.py +0 -0
  204. {basistheoryclient-2.0.0 → basistheoryclient-2.1.0}/src/basis_theory/types/three_ds_merchant_risk_info.py +0 -0
  205. {basistheoryclient-2.0.0 → basistheoryclient-2.1.0}/src/basis_theory/types/three_ds_message_extension.py +0 -0
  206. {basistheoryclient-2.0.0 → basistheoryclient-2.1.0}/src/basis_theory/types/three_ds_method.py +0 -0
  207. {basistheoryclient-2.0.0 → basistheoryclient-2.1.0}/src/basis_theory/types/three_ds_mobile_sdk_render_options.py +0 -0
  208. {basistheoryclient-2.0.0 → basistheoryclient-2.1.0}/src/basis_theory/types/three_ds_prior_authentication_info.py +0 -0
  209. {basistheoryclient-2.0.0 → basistheoryclient-2.1.0}/src/basis_theory/types/three_ds_purchase_info.py +0 -0
  210. {basistheoryclient-2.0.0 → basistheoryclient-2.1.0}/src/basis_theory/types/three_ds_requestor_info.py +0 -0
  211. {basistheoryclient-2.0.0 → basistheoryclient-2.1.0}/src/basis_theory/types/three_ds_session.py +0 -0
  212. {basistheoryclient-2.0.0 → basistheoryclient-2.1.0}/src/basis_theory/types/three_ds_version.py +0 -0
  213. {basistheoryclient-2.0.0 → basistheoryclient-2.1.0}/src/basis_theory/types/token.py +0 -0
  214. {basistheoryclient-2.0.0 → basistheoryclient-2.1.0}/src/basis_theory/types/token_cursor_paginated_list.py +0 -0
  215. {basistheoryclient-2.0.0 → basistheoryclient-2.1.0}/src/basis_theory/types/token_enrichments.py +0 -0
  216. {basistheoryclient-2.0.0 → basistheoryclient-2.1.0}/src/basis_theory/types/token_enrichments_card_details.py +0 -0
  217. {basistheoryclient-2.0.0 → basistheoryclient-2.1.0}/src/basis_theory/types/token_intent.py +0 -0
  218. {basistheoryclient-2.0.0 → basistheoryclient-2.1.0}/src/basis_theory/types/token_intent_extras.py +0 -0
  219. {basistheoryclient-2.0.0 → basistheoryclient-2.1.0}/src/basis_theory/types/token_paginated_list.py +0 -0
  220. {basistheoryclient-2.0.0 → basistheoryclient-2.1.0}/src/basis_theory/types/token_service_provider_details.py +0 -0
  221. {basistheoryclient-2.0.0 → basistheoryclient-2.1.0}/src/basis_theory/types/update_privacy.py +0 -0
  222. {basistheoryclient-2.0.0 → basistheoryclient-2.1.0}/src/basis_theory/types/update_reactor_formula_request.py +0 -0
  223. {basistheoryclient-2.0.0 → basistheoryclient-2.1.0}/src/basis_theory/types/user.py +0 -0
  224. {basistheoryclient-2.0.0 → basistheoryclient-2.1.0}/src/basis_theory/types/validation_problem_details.py +0 -0
  225. {basistheoryclient-2.0.0 → basistheoryclient-2.1.0}/src/basis_theory/types/webhook.py +0 -0
  226. {basistheoryclient-2.0.0 → basistheoryclient-2.1.0}/src/basis_theory/types/webhook_list.py +0 -0
  227. {basistheoryclient-2.0.0 → basistheoryclient-2.1.0}/src/basis_theory/types/webhook_list_pagination.py +0 -0
  228. {basistheoryclient-2.0.0 → basistheoryclient-2.1.0}/src/basis_theory/types/webhook_status.py +0 -0
  229. {basistheoryclient-2.0.0 → basistheoryclient-2.1.0}/src/basis_theory/version.py +0 -0
  230. {basistheoryclient-2.0.0 → basistheoryclient-2.1.0}/src/basis_theory/webhooks/__init__.py +0 -0
  231. {basistheoryclient-2.0.0 → basistheoryclient-2.1.0}/src/basis_theory/webhooks/client.py +0 -0
  232. {basistheoryclient-2.0.0 → basistheoryclient-2.1.0}/src/basis_theory/webhooks/events/__init__.py +0 -0
  233. {basistheoryclient-2.0.0 → basistheoryclient-2.1.0}/src/basis_theory/webhooks/events/client.py +0 -0
@@ -1,6 +1,6 @@
1
1
  Metadata-Version: 2.1
2
2
  Name: BasisTheoryClient
3
- Version: 2.0.0
3
+ Version: 2.1.0
4
4
  Summary:
5
5
  Requires-Python: >=3.8,<4.0
6
6
  Classifier: Intended Audience :: Developers
@@ -1,6 +1,6 @@
1
1
  [tool.poetry]
2
2
  name = "BasisTheoryClient"
3
- version = "2.0.0"
3
+ version = "2.1.0"
4
4
  description = ""
5
5
  readme = "README.md"
6
6
  authors = []
@@ -19,6 +19,7 @@ from json.decoder import JSONDecodeError
19
19
  from ..core.api_error import ApiError
20
20
  from ..types.apple_pay_token import ApplePayToken
21
21
  from ..core.jsonable_encoder import jsonable_encoder
22
+ from ..errors.not_found_error import NotFoundError
22
23
  from ..core.client_wrapper import AsyncClientWrapper
23
24
  from .domain.client import AsyncDomainClient
24
25
  from .session.client import AsyncSessionClient
@@ -194,6 +195,91 @@ class ApplePayClient:
194
195
  ),
195
196
  )
196
197
  )
198
+ if _response.status_code == 404:
199
+ raise NotFoundError(
200
+ typing.cast(
201
+ typing.Optional[typing.Any],
202
+ parse_obj_as(
203
+ type_=typing.Optional[typing.Any], # type: ignore
204
+ object_=_response.json(),
205
+ ),
206
+ )
207
+ )
208
+ _response_json = _response.json()
209
+ except JSONDecodeError:
210
+ raise ApiError(status_code=_response.status_code, body=_response.text)
211
+ raise ApiError(status_code=_response.status_code, body=_response_json)
212
+
213
+ def unlink(self, id: str, *, request_options: typing.Optional[RequestOptions] = None) -> str:
214
+ """
215
+ Parameters
216
+ ----------
217
+ id : str
218
+
219
+ request_options : typing.Optional[RequestOptions]
220
+ Request-specific configuration.
221
+
222
+ Returns
223
+ -------
224
+ str
225
+ Success
226
+
227
+ Examples
228
+ --------
229
+ from basis_theory import BasisTheory
230
+
231
+ client = BasisTheory(
232
+ correlation_id="YOUR_CORRELATION_ID",
233
+ api_key="YOUR_API_KEY",
234
+ )
235
+ client.apple_pay.unlink(
236
+ id="id",
237
+ )
238
+ """
239
+ _response = self._client_wrapper.httpx_client.request(
240
+ f"apple-pay/{jsonable_encoder(id)}/unlink",
241
+ method="POST",
242
+ request_options=request_options,
243
+ )
244
+ try:
245
+ if 200 <= _response.status_code < 300:
246
+ return typing.cast(
247
+ str,
248
+ parse_obj_as(
249
+ type_=str, # type: ignore
250
+ object_=_response.json(),
251
+ ),
252
+ )
253
+ if _response.status_code == 401:
254
+ raise UnauthorizedError(
255
+ typing.cast(
256
+ ProblemDetails,
257
+ parse_obj_as(
258
+ type_=ProblemDetails, # type: ignore
259
+ object_=_response.json(),
260
+ ),
261
+ )
262
+ )
263
+ if _response.status_code == 403:
264
+ raise ForbiddenError(
265
+ typing.cast(
266
+ ProblemDetails,
267
+ parse_obj_as(
268
+ type_=ProblemDetails, # type: ignore
269
+ object_=_response.json(),
270
+ ),
271
+ )
272
+ )
273
+ if _response.status_code == 422:
274
+ raise UnprocessableEntityError(
275
+ typing.cast(
276
+ ProblemDetails,
277
+ parse_obj_as(
278
+ type_=ProblemDetails, # type: ignore
279
+ object_=_response.json(),
280
+ ),
281
+ )
282
+ )
197
283
  _response_json = _response.json()
198
284
  except JSONDecodeError:
199
285
  raise ApiError(status_code=_response.status_code, body=_response.text)
@@ -383,6 +469,99 @@ class AsyncApplePayClient:
383
469
  ),
384
470
  )
385
471
  )
472
+ if _response.status_code == 404:
473
+ raise NotFoundError(
474
+ typing.cast(
475
+ typing.Optional[typing.Any],
476
+ parse_obj_as(
477
+ type_=typing.Optional[typing.Any], # type: ignore
478
+ object_=_response.json(),
479
+ ),
480
+ )
481
+ )
482
+ _response_json = _response.json()
483
+ except JSONDecodeError:
484
+ raise ApiError(status_code=_response.status_code, body=_response.text)
485
+ raise ApiError(status_code=_response.status_code, body=_response_json)
486
+
487
+ async def unlink(self, id: str, *, request_options: typing.Optional[RequestOptions] = None) -> str:
488
+ """
489
+ Parameters
490
+ ----------
491
+ id : str
492
+
493
+ request_options : typing.Optional[RequestOptions]
494
+ Request-specific configuration.
495
+
496
+ Returns
497
+ -------
498
+ str
499
+ Success
500
+
501
+ Examples
502
+ --------
503
+ import asyncio
504
+
505
+ from basis_theory import AsyncBasisTheory
506
+
507
+ client = AsyncBasisTheory(
508
+ correlation_id="YOUR_CORRELATION_ID",
509
+ api_key="YOUR_API_KEY",
510
+ )
511
+
512
+
513
+ async def main() -> None:
514
+ await client.apple_pay.unlink(
515
+ id="id",
516
+ )
517
+
518
+
519
+ asyncio.run(main())
520
+ """
521
+ _response = await self._client_wrapper.httpx_client.request(
522
+ f"apple-pay/{jsonable_encoder(id)}/unlink",
523
+ method="POST",
524
+ request_options=request_options,
525
+ )
526
+ try:
527
+ if 200 <= _response.status_code < 300:
528
+ return typing.cast(
529
+ str,
530
+ parse_obj_as(
531
+ type_=str, # type: ignore
532
+ object_=_response.json(),
533
+ ),
534
+ )
535
+ if _response.status_code == 401:
536
+ raise UnauthorizedError(
537
+ typing.cast(
538
+ ProblemDetails,
539
+ parse_obj_as(
540
+ type_=ProblemDetails, # type: ignore
541
+ object_=_response.json(),
542
+ ),
543
+ )
544
+ )
545
+ if _response.status_code == 403:
546
+ raise ForbiddenError(
547
+ typing.cast(
548
+ ProblemDetails,
549
+ parse_obj_as(
550
+ type_=ProblemDetails, # type: ignore
551
+ object_=_response.json(),
552
+ ),
553
+ )
554
+ )
555
+ if _response.status_code == 422:
556
+ raise UnprocessableEntityError(
557
+ typing.cast(
558
+ ProblemDetails,
559
+ parse_obj_as(
560
+ type_=ProblemDetails, # type: ignore
561
+ object_=_response.json(),
562
+ ),
563
+ )
564
+ )
386
565
  _response_json = _response.json()
387
566
  except JSONDecodeError:
388
567
  raise ApiError(status_code=_response.status_code, body=_response.text)
@@ -329,6 +329,7 @@ class TokensClient:
329
329
  id: typing.Optional[str] = OMIT,
330
330
  type: typing.Optional[str] = OMIT,
331
331
  data: typing.Optional[typing.Optional[typing.Any]] = OMIT,
332
+ encrypted: typing.Optional[str] = OMIT,
332
333
  privacy: typing.Optional[Privacy] = OMIT,
333
334
  metadata: typing.Optional[typing.Dict[str, typing.Optional[str]]] = OMIT,
334
335
  search_indexes: typing.Optional[typing.Sequence[str]] = OMIT,
@@ -350,6 +351,8 @@ class TokensClient:
350
351
 
351
352
  data : typing.Optional[typing.Optional[typing.Any]]
352
353
 
354
+ encrypted : typing.Optional[str]
355
+
353
356
  privacy : typing.Optional[Privacy]
354
357
 
355
358
  metadata : typing.Optional[typing.Dict[str, typing.Optional[str]]]
@@ -395,6 +398,7 @@ class TokensClient:
395
398
  "id": id,
396
399
  "type": type,
397
400
  "data": data,
401
+ "encrypted": encrypted,
398
402
  "privacy": convert_and_respect_annotation_metadata(
399
403
  object_=privacy, annotation=Privacy, direction="write"
400
404
  ),
@@ -1441,6 +1445,7 @@ class AsyncTokensClient:
1441
1445
  id: typing.Optional[str] = OMIT,
1442
1446
  type: typing.Optional[str] = OMIT,
1443
1447
  data: typing.Optional[typing.Optional[typing.Any]] = OMIT,
1448
+ encrypted: typing.Optional[str] = OMIT,
1444
1449
  privacy: typing.Optional[Privacy] = OMIT,
1445
1450
  metadata: typing.Optional[typing.Dict[str, typing.Optional[str]]] = OMIT,
1446
1451
  search_indexes: typing.Optional[typing.Sequence[str]] = OMIT,
@@ -1462,6 +1467,8 @@ class AsyncTokensClient:
1462
1467
 
1463
1468
  data : typing.Optional[typing.Optional[typing.Any]]
1464
1469
 
1470
+ encrypted : typing.Optional[str]
1471
+
1465
1472
  privacy : typing.Optional[Privacy]
1466
1473
 
1467
1474
  metadata : typing.Optional[typing.Dict[str, typing.Optional[str]]]
@@ -1515,6 +1522,7 @@ class AsyncTokensClient:
1515
1522
  "id": id,
1516
1523
  "type": type,
1517
1524
  "data": data,
1525
+ "encrypted": encrypted,
1518
1526
  "privacy": convert_and_respect_annotation_metadata(
1519
1527
  object_=privacy, annotation=Privacy, direction="write"
1520
1528
  ),
@@ -17,6 +17,8 @@ class ApplePayToken(UniversalBaseModel):
17
17
  expires_at: typing.Optional[dt.datetime] = None
18
18
  created_by: typing.Optional[str] = None
19
19
  created_at: typing.Optional[dt.datetime] = None
20
+ modified_by: typing.Optional[str] = None
21
+ modified_at: typing.Optional[dt.datetime] = None
20
22
  card: typing.Optional[CardDetails] = None
21
23
  data: typing.Optional[typing.Optional[typing.Any]] = None
22
24
  authentication: typing.Optional[Authentication] = None
@@ -13,10 +13,13 @@ class NetworkToken(UniversalBaseModel):
13
13
  id: typing.Optional[str] = None
14
14
  tenant_id: typing.Optional[str] = None
15
15
  data: typing.Optional[Card] = None
16
+ card: typing.Optional[CardDetails] = None
16
17
  network_token: typing.Optional[CardDetails] = None
17
18
  status: typing.Optional[str] = None
18
19
  created_by: typing.Optional[str] = None
19
20
  created_at: typing.Optional[dt.datetime] = None
21
+ modified_by: typing.Optional[str] = None
22
+ modified_at: typing.Optional[dt.datetime] = None
20
23
  token_id: typing.Optional[str] = None
21
24
  token_intent_id: typing.Optional[str] = None
22
25
 
@@ -12,6 +12,7 @@ class TokenExtras(UniversalBaseModel):
12
12
  tsp_details: typing.Optional[TokenServiceProviderDetails] = None
13
13
  deduplication_behavior: typing.Optional[str] = None
14
14
  network_token_ids: typing.Optional[typing.List[str]] = None
15
+ decrypted_payload: typing.Optional[bool] = None
15
16
 
16
17
  if IS_PYDANTIC_V2:
17
18
  model_config: typing.ClassVar[pydantic.ConfigDict] = pydantic.ConfigDict(extra="allow", frozen=True) # type: ignore # Pydantic v2