BasisTheoryClient 2.3.0__tar.gz → 3.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 (293) hide show
  1. {basistheoryclient-2.3.0 → basistheoryclient-3.1.0}/PKG-INFO +1 -1
  2. {basistheoryclient-2.3.0 → basistheoryclient-3.1.0}/pyproject.toml +1 -1
  3. {basistheoryclient-2.3.0 → basistheoryclient-3.1.0}/src/basis_theory/__init__.py +26 -14
  4. {basistheoryclient-2.3.0 → basistheoryclient-3.1.0}/src/basis_theory/apple_pay/client.py +6 -6
  5. {basistheoryclient-2.3.0 → basistheoryclient-3.1.0}/src/basis_theory/apple_pay/raw_client.py +14 -14
  6. {basistheoryclient-2.3.0 → basistheoryclient-3.1.0}/src/basis_theory/client.py +3 -6
  7. {basistheoryclient-2.3.0 → basistheoryclient-3.1.0}/src/basis_theory/enrichments/client.py +71 -0
  8. {basistheoryclient-2.3.0 → basistheoryclient-3.1.0}/src/basis_theory/enrichments/raw_client.py +123 -0
  9. basistheoryclient-3.1.0/src/basis_theory/google_pay/client.py +259 -0
  10. basistheoryclient-3.1.0/src/basis_theory/google_pay/raw_client.py +522 -0
  11. {basistheoryclient-2.3.0 → basistheoryclient-3.1.0}/src/basis_theory/proxies/client.py +48 -0
  12. {basistheoryclient-2.3.0 → basistheoryclient-3.1.0}/src/basis_theory/proxies/raw_client.py +72 -0
  13. {basistheoryclient-2.3.0 → basistheoryclient-3.1.0}/src/basis_theory/reactors/client.py +32 -0
  14. {basistheoryclient-2.3.0 → basistheoryclient-3.1.0}/src/basis_theory/reactors/raw_client.py +32 -0
  15. {basistheoryclient-2.3.0 → basistheoryclient-3.1.0}/src/basis_theory/types/__init__.py +24 -10
  16. basistheoryclient-3.1.0/src/basis_theory/types/additional_card_detail.py +23 -0
  17. basistheoryclient-2.3.0/src/basis_theory/types/apple_pay_domain_registration_request.py → basistheoryclient-3.1.0/src/basis_theory/types/apple_pay_tokenize_request.py +3 -2
  18. basistheoryclient-3.1.0/src/basis_theory/types/card_details_response.py +25 -0
  19. basistheoryclient-3.1.0/src/basis_theory/types/card_issuer_details.py +20 -0
  20. basistheoryclient-3.1.0/src/basis_theory/types/create_token_request.py +32 -0
  21. basistheoryclient-3.1.0/src/basis_theory/types/google_pay_create_response.py +22 -0
  22. basistheoryclient-3.1.0/src/basis_theory/types/google_pay_create_token_response.py +29 -0
  23. basistheoryclient-2.3.0/src/basis_theory/types/google_payment_method_token.py → basistheoryclient-3.1.0/src/basis_theory/types/google_pay_method_token.py +1 -1
  24. basistheoryclient-3.1.0/src/basis_theory/types/google_pay_token.py +34 -0
  25. basistheoryclient-2.3.0/src/basis_theory/types/apple_pay_domain_registration_list_request.py → basistheoryclient-3.1.0/src/basis_theory/types/google_pay_tokenize_request.py +3 -2
  26. {basistheoryclient-2.3.0 → basistheoryclient-3.1.0}/src/basis_theory/types/proxy.py +2 -0
  27. {basistheoryclient-2.3.0 → basistheoryclient-3.1.0}/src/basis_theory/types/proxy_transform.py +2 -0
  28. basistheoryclient-3.1.0/src/basis_theory/types/proxy_transform_options.py +23 -0
  29. {basistheoryclient-2.3.0 → basistheoryclient-3.1.0}/src/basis_theory/types/reactor.py +2 -0
  30. basistheoryclient-2.3.0/src/basis_theory/types/apple_pay_domain_deregistration_request.py → basistheoryclient-3.1.0/src/basis_theory/types/token_authentication.py +3 -2
  31. basistheoryclient-2.3.0/src/basis_theory/connection/__init__.py +0 -7
  32. basistheoryclient-2.3.0/src/basis_theory/connection/apple_pay/__init__.py +0 -7
  33. basistheoryclient-2.3.0/src/basis_theory/connection/apple_pay/client.py +0 -128
  34. basistheoryclient-2.3.0/src/basis_theory/connection/apple_pay/domain/client.py +0 -309
  35. basistheoryclient-2.3.0/src/basis_theory/connection/apple_pay/domain/raw_client.py +0 -631
  36. basistheoryclient-2.3.0/src/basis_theory/connection/apple_pay/raw_client.py +0 -216
  37. basistheoryclient-2.3.0/src/basis_theory/connection/apple_pay/session/client.py +0 -130
  38. basistheoryclient-2.3.0/src/basis_theory/connection/apple_pay/session/raw_client.py +0 -225
  39. basistheoryclient-2.3.0/src/basis_theory/connection/client.py +0 -39
  40. basistheoryclient-2.3.0/src/basis_theory/connection/raw_client.py +0 -13
  41. basistheoryclient-2.3.0/src/basis_theory/googlepay/client.py +0 -120
  42. basistheoryclient-2.3.0/src/basis_theory/googlepay/raw_client.py +0 -239
  43. basistheoryclient-2.3.0/src/basis_theory/tokens/__init__.py +0 -4
  44. basistheoryclient-2.3.0/src/basis_theory/types/apple_pay_session_request.py +0 -21
  45. basistheoryclient-2.3.0/src/basis_theory/webhooks/events/__init__.py +0 -4
  46. {basistheoryclient-2.3.0 → basistheoryclient-3.1.0}/LICENSE +0 -0
  47. {basistheoryclient-2.3.0 → basistheoryclient-3.1.0}/README.md +0 -0
  48. {basistheoryclient-2.3.0 → basistheoryclient-3.1.0}/src/basis_theory/account_updater/__init__.py +0 -0
  49. {basistheoryclient-2.3.0 → basistheoryclient-3.1.0}/src/basis_theory/account_updater/client.py +0 -0
  50. {basistheoryclient-2.3.0 → basistheoryclient-3.1.0}/src/basis_theory/account_updater/jobs/__init__.py +0 -0
  51. {basistheoryclient-2.3.0 → basistheoryclient-3.1.0}/src/basis_theory/account_updater/jobs/client.py +0 -0
  52. {basistheoryclient-2.3.0 → basistheoryclient-3.1.0}/src/basis_theory/account_updater/jobs/raw_client.py +0 -0
  53. {basistheoryclient-2.3.0 → basistheoryclient-3.1.0}/src/basis_theory/account_updater/raw_client.py +0 -0
  54. {basistheoryclient-2.3.0 → basistheoryclient-3.1.0}/src/basis_theory/account_updater/real_time/__init__.py +0 -0
  55. {basistheoryclient-2.3.0 → basistheoryclient-3.1.0}/src/basis_theory/account_updater/real_time/client.py +0 -0
  56. {basistheoryclient-2.3.0 → basistheoryclient-3.1.0}/src/basis_theory/account_updater/real_time/raw_client.py +0 -0
  57. {basistheoryclient-2.3.0 → basistheoryclient-3.1.0}/src/basis_theory/apple_pay/__init__.py +0 -0
  58. {basistheoryclient-2.3.0 → basistheoryclient-3.1.0}/src/basis_theory/apple_pay/domain/__init__.py +0 -0
  59. {basistheoryclient-2.3.0 → basistheoryclient-3.1.0}/src/basis_theory/apple_pay/domain/client.py +0 -0
  60. {basistheoryclient-2.3.0 → basistheoryclient-3.1.0}/src/basis_theory/apple_pay/domain/raw_client.py +0 -0
  61. {basistheoryclient-2.3.0 → basistheoryclient-3.1.0}/src/basis_theory/apple_pay/session/__init__.py +0 -0
  62. {basistheoryclient-2.3.0 → basistheoryclient-3.1.0}/src/basis_theory/apple_pay/session/client.py +0 -0
  63. {basistheoryclient-2.3.0 → basistheoryclient-3.1.0}/src/basis_theory/apple_pay/session/raw_client.py +0 -0
  64. {basistheoryclient-2.3.0 → basistheoryclient-3.1.0}/src/basis_theory/application_keys/__init__.py +0 -0
  65. {basistheoryclient-2.3.0 → basistheoryclient-3.1.0}/src/basis_theory/application_keys/client.py +0 -0
  66. {basistheoryclient-2.3.0 → basistheoryclient-3.1.0}/src/basis_theory/application_keys/raw_client.py +0 -0
  67. {basistheoryclient-2.3.0 → basistheoryclient-3.1.0}/src/basis_theory/application_templates/__init__.py +0 -0
  68. {basistheoryclient-2.3.0 → basistheoryclient-3.1.0}/src/basis_theory/application_templates/client.py +0 -0
  69. {basistheoryclient-2.3.0 → basistheoryclient-3.1.0}/src/basis_theory/application_templates/raw_client.py +0 -0
  70. {basistheoryclient-2.3.0 → basistheoryclient-3.1.0}/src/basis_theory/applications/__init__.py +0 -0
  71. {basistheoryclient-2.3.0 → basistheoryclient-3.1.0}/src/basis_theory/applications/client.py +0 -0
  72. {basistheoryclient-2.3.0 → basistheoryclient-3.1.0}/src/basis_theory/applications/raw_client.py +0 -0
  73. {basistheoryclient-2.3.0 → basistheoryclient-3.1.0}/src/basis_theory/core/__init__.py +0 -0
  74. {basistheoryclient-2.3.0 → basistheoryclient-3.1.0}/src/basis_theory/core/api_error.py +0 -0
  75. {basistheoryclient-2.3.0 → basistheoryclient-3.1.0}/src/basis_theory/core/client_wrapper.py +0 -0
  76. {basistheoryclient-2.3.0 → basistheoryclient-3.1.0}/src/basis_theory/core/datetime_utils.py +0 -0
  77. {basistheoryclient-2.3.0 → basistheoryclient-3.1.0}/src/basis_theory/core/file.py +0 -0
  78. {basistheoryclient-2.3.0 → basistheoryclient-3.1.0}/src/basis_theory/core/force_multipart.py +0 -0
  79. {basistheoryclient-2.3.0 → basistheoryclient-3.1.0}/src/basis_theory/core/http_client.py +0 -0
  80. {basistheoryclient-2.3.0 → basistheoryclient-3.1.0}/src/basis_theory/core/http_response.py +0 -0
  81. {basistheoryclient-2.3.0 → basistheoryclient-3.1.0}/src/basis_theory/core/jsonable_encoder.py +0 -0
  82. {basistheoryclient-2.3.0 → basistheoryclient-3.1.0}/src/basis_theory/core/pagination.py +0 -0
  83. {basistheoryclient-2.3.0 → basistheoryclient-3.1.0}/src/basis_theory/core/pydantic_utilities.py +0 -0
  84. {basistheoryclient-2.3.0 → basistheoryclient-3.1.0}/src/basis_theory/core/query_encoder.py +0 -0
  85. {basistheoryclient-2.3.0 → basistheoryclient-3.1.0}/src/basis_theory/core/remove_none_from_dict.py +0 -0
  86. {basistheoryclient-2.3.0 → basistheoryclient-3.1.0}/src/basis_theory/core/request_options.py +0 -0
  87. {basistheoryclient-2.3.0 → basistheoryclient-3.1.0}/src/basis_theory/core/serialization.py +0 -0
  88. {basistheoryclient-2.3.0 → basistheoryclient-3.1.0}/src/basis_theory/documents/__init__.py +0 -0
  89. {basistheoryclient-2.3.0 → basistheoryclient-3.1.0}/src/basis_theory/documents/client.py +0 -0
  90. {basistheoryclient-2.3.0/src/basis_theory/connection/apple_pay/domain → basistheoryclient-3.1.0/src/basis_theory/documents/data}/__init__.py +0 -0
  91. {basistheoryclient-2.3.0 → basistheoryclient-3.1.0}/src/basis_theory/documents/data/client.py +0 -0
  92. {basistheoryclient-2.3.0 → basistheoryclient-3.1.0}/src/basis_theory/documents/data/raw_client.py +0 -0
  93. {basistheoryclient-2.3.0 → basistheoryclient-3.1.0}/src/basis_theory/documents/raw_client.py +0 -0
  94. {basistheoryclient-2.3.0/src/basis_theory/connection/apple_pay/session → basistheoryclient-3.1.0/src/basis_theory/enrichments}/__init__.py +0 -0
  95. {basistheoryclient-2.3.0 → basistheoryclient-3.1.0}/src/basis_theory/environment.py +0 -0
  96. {basistheoryclient-2.3.0 → basistheoryclient-3.1.0}/src/basis_theory/errors/__init__.py +0 -0
  97. {basistheoryclient-2.3.0 → basistheoryclient-3.1.0}/src/basis_theory/errors/bad_request_error.py +0 -0
  98. {basistheoryclient-2.3.0 → basistheoryclient-3.1.0}/src/basis_theory/errors/conflict_error.py +0 -0
  99. {basistheoryclient-2.3.0 → basistheoryclient-3.1.0}/src/basis_theory/errors/forbidden_error.py +0 -0
  100. {basistheoryclient-2.3.0 → basistheoryclient-3.1.0}/src/basis_theory/errors/internal_server_error.py +0 -0
  101. {basistheoryclient-2.3.0 → basistheoryclient-3.1.0}/src/basis_theory/errors/not_found_error.py +0 -0
  102. {basistheoryclient-2.3.0 → basistheoryclient-3.1.0}/src/basis_theory/errors/service_unavailable_error.py +0 -0
  103. {basistheoryclient-2.3.0 → basistheoryclient-3.1.0}/src/basis_theory/errors/unauthorized_error.py +0 -0
  104. {basistheoryclient-2.3.0 → basistheoryclient-3.1.0}/src/basis_theory/errors/unprocessable_entity_error.py +0 -0
  105. {basistheoryclient-2.3.0/src/basis_theory/documents/data → basistheoryclient-3.1.0/src/basis_theory/google_pay}/__init__.py +0 -0
  106. {basistheoryclient-2.3.0/src/basis_theory/enrichments → basistheoryclient-3.1.0/src/basis_theory/keys}/__init__.py +0 -0
  107. {basistheoryclient-2.3.0 → basistheoryclient-3.1.0}/src/basis_theory/keys/client.py +0 -0
  108. {basistheoryclient-2.3.0 → basistheoryclient-3.1.0}/src/basis_theory/keys/raw_client.py +0 -0
  109. {basistheoryclient-2.3.0/src/basis_theory/googlepay → basistheoryclient-3.1.0/src/basis_theory/logs}/__init__.py +0 -0
  110. {basistheoryclient-2.3.0 → basistheoryclient-3.1.0}/src/basis_theory/logs/client.py +0 -0
  111. {basistheoryclient-2.3.0 → basistheoryclient-3.1.0}/src/basis_theory/logs/raw_client.py +0 -0
  112. {basistheoryclient-2.3.0/src/basis_theory/keys → basistheoryclient-3.1.0/src/basis_theory/network_tokens}/__init__.py +0 -0
  113. {basistheoryclient-2.3.0 → basistheoryclient-3.1.0}/src/basis_theory/network_tokens/client.py +0 -0
  114. {basistheoryclient-2.3.0 → basistheoryclient-3.1.0}/src/basis_theory/network_tokens/raw_client.py +0 -0
  115. {basistheoryclient-2.3.0/src/basis_theory/logs → basistheoryclient-3.1.0/src/basis_theory/permissions}/__init__.py +0 -0
  116. {basistheoryclient-2.3.0 → basistheoryclient-3.1.0}/src/basis_theory/permissions/client.py +0 -0
  117. {basistheoryclient-2.3.0 → basistheoryclient-3.1.0}/src/basis_theory/permissions/raw_client.py +0 -0
  118. {basistheoryclient-2.3.0/src/basis_theory/network_tokens → basistheoryclient-3.1.0/src/basis_theory/proxies}/__init__.py +0 -0
  119. {basistheoryclient-2.3.0 → basistheoryclient-3.1.0}/src/basis_theory/py.typed +0 -0
  120. {basistheoryclient-2.3.0 → basistheoryclient-3.1.0}/src/basis_theory/reactors/__init__.py +0 -0
  121. {basistheoryclient-2.3.0/src/basis_theory/permissions → basistheoryclient-3.1.0/src/basis_theory/reactors/results}/__init__.py +0 -0
  122. {basistheoryclient-2.3.0 → basistheoryclient-3.1.0}/src/basis_theory/reactors/results/client.py +0 -0
  123. {basistheoryclient-2.3.0 → basistheoryclient-3.1.0}/src/basis_theory/reactors/results/raw_client.py +0 -0
  124. {basistheoryclient-2.3.0/src/basis_theory/proxies → basistheoryclient-3.1.0/src/basis_theory/roles}/__init__.py +0 -0
  125. {basistheoryclient-2.3.0 → basistheoryclient-3.1.0}/src/basis_theory/roles/client.py +0 -0
  126. {basistheoryclient-2.3.0 → basistheoryclient-3.1.0}/src/basis_theory/roles/raw_client.py +0 -0
  127. {basistheoryclient-2.3.0/src/basis_theory/reactors/results → basistheoryclient-3.1.0/src/basis_theory/sessions}/__init__.py +0 -0
  128. {basistheoryclient-2.3.0 → basistheoryclient-3.1.0}/src/basis_theory/sessions/client.py +0 -0
  129. {basistheoryclient-2.3.0 → basistheoryclient-3.1.0}/src/basis_theory/sessions/raw_client.py +0 -0
  130. {basistheoryclient-2.3.0 → basistheoryclient-3.1.0}/src/basis_theory/tenants/__init__.py +0 -0
  131. {basistheoryclient-2.3.0 → basistheoryclient-3.1.0}/src/basis_theory/tenants/client.py +0 -0
  132. {basistheoryclient-2.3.0/src/basis_theory/roles → basistheoryclient-3.1.0/src/basis_theory/tenants/connections}/__init__.py +0 -0
  133. {basistheoryclient-2.3.0 → basistheoryclient-3.1.0}/src/basis_theory/tenants/connections/client.py +0 -0
  134. {basistheoryclient-2.3.0 → basistheoryclient-3.1.0}/src/basis_theory/tenants/connections/raw_client.py +0 -0
  135. {basistheoryclient-2.3.0/src/basis_theory/sessions → basistheoryclient-3.1.0/src/basis_theory/tenants/invitations}/__init__.py +0 -0
  136. {basistheoryclient-2.3.0 → basistheoryclient-3.1.0}/src/basis_theory/tenants/invitations/client.py +0 -0
  137. {basistheoryclient-2.3.0 → basistheoryclient-3.1.0}/src/basis_theory/tenants/invitations/raw_client.py +0 -0
  138. {basistheoryclient-2.3.0/src/basis_theory/tenants/connections → basistheoryclient-3.1.0/src/basis_theory/tenants/members}/__init__.py +0 -0
  139. {basistheoryclient-2.3.0 → basistheoryclient-3.1.0}/src/basis_theory/tenants/members/client.py +0 -0
  140. {basistheoryclient-2.3.0 → basistheoryclient-3.1.0}/src/basis_theory/tenants/members/raw_client.py +0 -0
  141. {basistheoryclient-2.3.0/src/basis_theory/tenants/invitations → basistheoryclient-3.1.0/src/basis_theory/tenants/owner}/__init__.py +0 -0
  142. {basistheoryclient-2.3.0 → basistheoryclient-3.1.0}/src/basis_theory/tenants/owner/client.py +0 -0
  143. {basistheoryclient-2.3.0 → basistheoryclient-3.1.0}/src/basis_theory/tenants/owner/raw_client.py +0 -0
  144. {basistheoryclient-2.3.0 → basistheoryclient-3.1.0}/src/basis_theory/tenants/raw_client.py +0 -0
  145. {basistheoryclient-2.3.0/src/basis_theory/tenants/members → basistheoryclient-3.1.0/src/basis_theory/tenants/self_}/__init__.py +0 -0
  146. {basistheoryclient-2.3.0 → basistheoryclient-3.1.0}/src/basis_theory/tenants/self_/client.py +0 -0
  147. {basistheoryclient-2.3.0 → basistheoryclient-3.1.0}/src/basis_theory/tenants/self_/raw_client.py +0 -0
  148. {basistheoryclient-2.3.0 → basistheoryclient-3.1.0}/src/basis_theory/threeds/__init__.py +0 -0
  149. {basistheoryclient-2.3.0 → basistheoryclient-3.1.0}/src/basis_theory/threeds/client.py +0 -0
  150. {basistheoryclient-2.3.0 → basistheoryclient-3.1.0}/src/basis_theory/threeds/raw_client.py +0 -0
  151. {basistheoryclient-2.3.0/src/basis_theory/tenants/owner → basistheoryclient-3.1.0/src/basis_theory/threeds/sessions}/__init__.py +0 -0
  152. {basistheoryclient-2.3.0 → basistheoryclient-3.1.0}/src/basis_theory/threeds/sessions/client.py +0 -0
  153. {basistheoryclient-2.3.0 → basistheoryclient-3.1.0}/src/basis_theory/threeds/sessions/raw_client.py +0 -0
  154. {basistheoryclient-2.3.0/src/basis_theory/tenants/self_ → basistheoryclient-3.1.0/src/basis_theory/token_intents}/__init__.py +0 -0
  155. {basistheoryclient-2.3.0 → basistheoryclient-3.1.0}/src/basis_theory/token_intents/client.py +0 -0
  156. {basistheoryclient-2.3.0 → basistheoryclient-3.1.0}/src/basis_theory/token_intents/raw_client.py +0 -0
  157. {basistheoryclient-2.3.0/src/basis_theory/threeds/sessions → basistheoryclient-3.1.0/src/basis_theory/tokens}/__init__.py +0 -0
  158. {basistheoryclient-2.3.0 → basistheoryclient-3.1.0}/src/basis_theory/tokens/client.py +0 -0
  159. {basistheoryclient-2.3.0 → basistheoryclient-3.1.0}/src/basis_theory/tokens/raw_client.py +0 -0
  160. {basistheoryclient-2.3.0 → basistheoryclient-3.1.0}/src/basis_theory/types/access_rule.py +0 -0
  161. {basistheoryclient-2.3.0 → basistheoryclient-3.1.0}/src/basis_theory/types/account_updater_job.py +0 -0
  162. {basistheoryclient-2.3.0 → basistheoryclient-3.1.0}/src/basis_theory/types/account_updater_job_list.py +0 -0
  163. {basistheoryclient-2.3.0 → basistheoryclient-3.1.0}/src/basis_theory/types/account_updater_job_list_pagination.py +0 -0
  164. {basistheoryclient-2.3.0 → basistheoryclient-3.1.0}/src/basis_theory/types/account_updater_job_status.py +0 -0
  165. {basistheoryclient-2.3.0 → basistheoryclient-3.1.0}/src/basis_theory/types/account_updater_real_time_response.py +0 -0
  166. {basistheoryclient-2.3.0 → basistheoryclient-3.1.0}/src/basis_theory/types/additional_card_details.py +0 -0
  167. {basistheoryclient-2.3.0 → basistheoryclient-3.1.0}/src/basis_theory/types/address.py +0 -0
  168. {basistheoryclient-2.3.0 → basistheoryclient-3.1.0}/src/basis_theory/types/apple_pay_create_response.py +0 -0
  169. {basistheoryclient-2.3.0 → basistheoryclient-3.1.0}/src/basis_theory/types/apple_pay_create_token_response.py +0 -0
  170. {basistheoryclient-2.3.0 → basistheoryclient-3.1.0}/src/basis_theory/types/apple_pay_domain_registration_response.py +0 -0
  171. {basistheoryclient-2.3.0 → basistheoryclient-3.1.0}/src/basis_theory/types/apple_pay_method_token.py +0 -0
  172. {basistheoryclient-2.3.0 → basistheoryclient-3.1.0}/src/basis_theory/types/apple_pay_token.py +0 -0
  173. {basistheoryclient-2.3.0 → basistheoryclient-3.1.0}/src/basis_theory/types/apple_pay_tokenize_response.py +0 -0
  174. {basistheoryclient-2.3.0 → basistheoryclient-3.1.0}/src/basis_theory/types/application.py +0 -0
  175. {basistheoryclient-2.3.0 → basistheoryclient-3.1.0}/src/basis_theory/types/application_key.py +0 -0
  176. {basistheoryclient-2.3.0 → basistheoryclient-3.1.0}/src/basis_theory/types/application_paginated_list.py +0 -0
  177. {basistheoryclient-2.3.0 → basistheoryclient-3.1.0}/src/basis_theory/types/application_template.py +0 -0
  178. {basistheoryclient-2.3.0 → basistheoryclient-3.1.0}/src/basis_theory/types/assurance_details.py +0 -0
  179. {basistheoryclient-2.3.0 → basistheoryclient-3.1.0}/src/basis_theory/types/async_react_response.py +0 -0
  180. {basistheoryclient-2.3.0 → basistheoryclient-3.1.0}/src/basis_theory/types/authenticate_three_ds_session_request.py +0 -0
  181. {basistheoryclient-2.3.0 → basistheoryclient-3.1.0}/src/basis_theory/types/authentication.py +0 -0
  182. {basistheoryclient-2.3.0 → basistheoryclient-3.1.0}/src/basis_theory/types/authentication_response.py +0 -0
  183. {basistheoryclient-2.3.0 → basistheoryclient-3.1.0}/src/basis_theory/types/bank_details.py +0 -0
  184. {basistheoryclient-2.3.0 → basistheoryclient-3.1.0}/src/basis_theory/types/bank_verification_response.py +0 -0
  185. {basistheoryclient-2.3.0 → basistheoryclient-3.1.0}/src/basis_theory/types/bin_details.py +0 -0
  186. {basistheoryclient-2.3.0 → basistheoryclient-3.1.0}/src/basis_theory/types/bin_details_bank.py +0 -0
  187. {basistheoryclient-2.3.0 → basistheoryclient-3.1.0}/src/basis_theory/types/bin_details_country.py +0 -0
  188. {basistheoryclient-2.3.0 → basistheoryclient-3.1.0}/src/basis_theory/types/bin_details_product.py +0 -0
  189. {basistheoryclient-2.3.0 → basistheoryclient-3.1.0}/src/basis_theory/types/card.py +0 -0
  190. {basistheoryclient-2.3.0 → basistheoryclient-3.1.0}/src/basis_theory/types/card_details.py +0 -0
  191. {basistheoryclient-2.3.0 → basistheoryclient-3.1.0}/src/basis_theory/types/card_issuer.py +0 -0
  192. {basistheoryclient-2.3.0 → basistheoryclient-3.1.0}/src/basis_theory/types/card_issuer_country.py +0 -0
  193. {basistheoryclient-2.3.0 → basistheoryclient-3.1.0}/src/basis_theory/types/cardholder_info.py +0 -0
  194. {basistheoryclient-2.3.0 → basistheoryclient-3.1.0}/src/basis_theory/types/client_encryption_key_metadata_response.py +0 -0
  195. {basistheoryclient-2.3.0 → basistheoryclient-3.1.0}/src/basis_theory/types/client_encryption_key_response.py +0 -0
  196. {basistheoryclient-2.3.0 → basistheoryclient-3.1.0}/src/basis_theory/types/condition.py +0 -0
  197. {basistheoryclient-2.3.0 → basistheoryclient-3.1.0}/src/basis_theory/types/create_account_updater_job_request.py +0 -0
  198. {basistheoryclient-2.3.0 → basistheoryclient-3.1.0}/src/basis_theory/types/create_document_request.py +0 -0
  199. {basistheoryclient-2.3.0 → basistheoryclient-3.1.0}/src/basis_theory/types/create_reactor_formula_request.py +0 -0
  200. {basistheoryclient-2.3.0 → basistheoryclient-3.1.0}/src/basis_theory/types/create_session_response.py +0 -0
  201. {basistheoryclient-2.3.0 → basistheoryclient-3.1.0}/src/basis_theory/types/create_tenant_connection_response.py +0 -0
  202. {basistheoryclient-2.3.0 → basistheoryclient-3.1.0}/src/basis_theory/types/create_three_ds_session_response.py +0 -0
  203. {basistheoryclient-2.3.0 → basistheoryclient-3.1.0}/src/basis_theory/types/create_token_intent_response.py +0 -0
  204. {basistheoryclient-2.3.0 → basistheoryclient-3.1.0}/src/basis_theory/types/cursor_pagination.py +0 -0
  205. {basistheoryclient-2.3.0 → basistheoryclient-3.1.0}/src/basis_theory/types/document.py +0 -0
  206. {basistheoryclient-2.3.0 → basistheoryclient-3.1.0}/src/basis_theory/types/domain_registration_response.py +0 -0
  207. {basistheoryclient-2.3.0 → basistheoryclient-3.1.0}/src/basis_theory/types/event_types.py +0 -0
  208. {basistheoryclient-2.3.0 → basistheoryclient-3.1.0}/src/basis_theory/types/get_applications.py +0 -0
  209. {basistheoryclient-2.3.0 → basistheoryclient-3.1.0}/src/basis_theory/types/get_logs.py +0 -0
  210. {basistheoryclient-2.3.0 → basistheoryclient-3.1.0}/src/basis_theory/types/get_permissions.py +0 -0
  211. {basistheoryclient-2.3.0 → basistheoryclient-3.1.0}/src/basis_theory/types/get_proxies.py +0 -0
  212. {basistheoryclient-2.3.0 → basistheoryclient-3.1.0}/src/basis_theory/types/get_reactor_formulas.py +0 -0
  213. {basistheoryclient-2.3.0 → basistheoryclient-3.1.0}/src/basis_theory/types/get_reactors.py +0 -0
  214. {basistheoryclient-2.3.0 → basistheoryclient-3.1.0}/src/basis_theory/types/get_tenant_invitations.py +0 -0
  215. {basistheoryclient-2.3.0 → basistheoryclient-3.1.0}/src/basis_theory/types/get_tenant_members.py +0 -0
  216. {basistheoryclient-2.3.0 → basistheoryclient-3.1.0}/src/basis_theory/types/get_tokens.py +0 -0
  217. {basistheoryclient-2.3.0 → basistheoryclient-3.1.0}/src/basis_theory/types/get_tokens_v2.py +0 -0
  218. {basistheoryclient-2.3.0 → basistheoryclient-3.1.0}/src/basis_theory/types/google_pay_tokenize_response.py +0 -0
  219. {basistheoryclient-2.3.0 → basistheoryclient-3.1.0}/src/basis_theory/types/header.py +0 -0
  220. {basistheoryclient-2.3.0 → basistheoryclient-3.1.0}/src/basis_theory/types/intermediate_signing_key.py +0 -0
  221. {basistheoryclient-2.3.0 → basistheoryclient-3.1.0}/src/basis_theory/types/log.py +0 -0
  222. {basistheoryclient-2.3.0 → basistheoryclient-3.1.0}/src/basis_theory/types/log_entity_type.py +0 -0
  223. {basistheoryclient-2.3.0 → basistheoryclient-3.1.0}/src/basis_theory/types/log_paginated_list.py +0 -0
  224. {basistheoryclient-2.3.0 → basistheoryclient-3.1.0}/src/basis_theory/types/network_token.py +0 -0
  225. {basistheoryclient-2.3.0 → basistheoryclient-3.1.0}/src/basis_theory/types/network_token_cryptogram.py +0 -0
  226. {basistheoryclient-2.3.0 → basistheoryclient-3.1.0}/src/basis_theory/types/network_token_extras.py +0 -0
  227. {basistheoryclient-2.3.0 → basistheoryclient-3.1.0}/src/basis_theory/types/pagination.py +0 -0
  228. {basistheoryclient-2.3.0 → basistheoryclient-3.1.0}/src/basis_theory/types/payment_data.py +0 -0
  229. {basistheoryclient-2.3.0 → basistheoryclient-3.1.0}/src/basis_theory/types/permission.py +0 -0
  230. {basistheoryclient-2.3.0 → basistheoryclient-3.1.0}/src/basis_theory/types/privacy.py +0 -0
  231. {basistheoryclient-2.3.0 → basistheoryclient-3.1.0}/src/basis_theory/types/problem_details.py +0 -0
  232. {basistheoryclient-2.3.0 → basistheoryclient-3.1.0}/src/basis_theory/types/proxy_paginated_list.py +0 -0
  233. {basistheoryclient-2.3.0 → basistheoryclient-3.1.0}/src/basis_theory/types/public_key.py +0 -0
  234. {basistheoryclient-2.3.0 → basistheoryclient-3.1.0}/src/basis_theory/types/react_response.py +0 -0
  235. {basistheoryclient-2.3.0 → basistheoryclient-3.1.0}/src/basis_theory/types/reactor_formula.py +0 -0
  236. {basistheoryclient-2.3.0 → basistheoryclient-3.1.0}/src/basis_theory/types/reactor_formula_configuration.py +0 -0
  237. {basistheoryclient-2.3.0 → basistheoryclient-3.1.0}/src/basis_theory/types/reactor_formula_paginated_list.py +0 -0
  238. {basistheoryclient-2.3.0 → basistheoryclient-3.1.0}/src/basis_theory/types/reactor_formula_request_parameter.py +0 -0
  239. {basistheoryclient-2.3.0 → basistheoryclient-3.1.0}/src/basis_theory/types/reactor_paginated_list.py +0 -0
  240. {basistheoryclient-2.3.0 → basistheoryclient-3.1.0}/src/basis_theory/types/role.py +0 -0
  241. {basistheoryclient-2.3.0 → basistheoryclient-3.1.0}/src/basis_theory/types/string_string_key_value_pair.py +0 -0
  242. {basistheoryclient-2.3.0 → basistheoryclient-3.1.0}/src/basis_theory/types/submerchant_authentication_response.py +0 -0
  243. {basistheoryclient-2.3.0 → basistheoryclient-3.1.0}/src/basis_theory/types/tenant.py +0 -0
  244. {basistheoryclient-2.3.0 → basistheoryclient-3.1.0}/src/basis_theory/types/tenant_connection_options.py +0 -0
  245. {basistheoryclient-2.3.0 → basistheoryclient-3.1.0}/src/basis_theory/types/tenant_invitation_response.py +0 -0
  246. {basistheoryclient-2.3.0 → basistheoryclient-3.1.0}/src/basis_theory/types/tenant_invitation_response_paginated_list.py +0 -0
  247. {basistheoryclient-2.3.0 → basistheoryclient-3.1.0}/src/basis_theory/types/tenant_invitation_status.py +0 -0
  248. {basistheoryclient-2.3.0 → basistheoryclient-3.1.0}/src/basis_theory/types/tenant_member_response.py +0 -0
  249. {basistheoryclient-2.3.0 → basistheoryclient-3.1.0}/src/basis_theory/types/tenant_member_response_paginated_list.py +0 -0
  250. {basistheoryclient-2.3.0 → basistheoryclient-3.1.0}/src/basis_theory/types/tenant_usage_report.py +0 -0
  251. {basistheoryclient-2.3.0 → basistheoryclient-3.1.0}/src/basis_theory/types/three_ds_acs_rendering_type.py +0 -0
  252. {basistheoryclient-2.3.0 → basistheoryclient-3.1.0}/src/basis_theory/types/three_ds_address.py +0 -0
  253. {basistheoryclient-2.3.0 → basistheoryclient-3.1.0}/src/basis_theory/types/three_ds_authentication.py +0 -0
  254. {basistheoryclient-2.3.0 → basistheoryclient-3.1.0}/src/basis_theory/types/three_ds_callback_urls.py +0 -0
  255. {basistheoryclient-2.3.0 → basistheoryclient-3.1.0}/src/basis_theory/types/three_ds_cardholder_account_info.py +0 -0
  256. {basistheoryclient-2.3.0 → basistheoryclient-3.1.0}/src/basis_theory/types/three_ds_cardholder_authentication_info.py +0 -0
  257. {basistheoryclient-2.3.0 → basistheoryclient-3.1.0}/src/basis_theory/types/three_ds_cardholder_info.py +0 -0
  258. {basistheoryclient-2.3.0 → basistheoryclient-3.1.0}/src/basis_theory/types/three_ds_cardholder_phone_number.py +0 -0
  259. {basistheoryclient-2.3.0 → basistheoryclient-3.1.0}/src/basis_theory/types/three_ds_device_info.py +0 -0
  260. {basistheoryclient-2.3.0 → basistheoryclient-3.1.0}/src/basis_theory/types/three_ds_merchant_info.py +0 -0
  261. {basistheoryclient-2.3.0 → basistheoryclient-3.1.0}/src/basis_theory/types/three_ds_merchant_risk_info.py +0 -0
  262. {basistheoryclient-2.3.0 → basistheoryclient-3.1.0}/src/basis_theory/types/three_ds_message_extension.py +0 -0
  263. {basistheoryclient-2.3.0 → basistheoryclient-3.1.0}/src/basis_theory/types/three_ds_method.py +0 -0
  264. {basistheoryclient-2.3.0 → basistheoryclient-3.1.0}/src/basis_theory/types/three_ds_mobile_sdk_render_options.py +0 -0
  265. {basistheoryclient-2.3.0 → basistheoryclient-3.1.0}/src/basis_theory/types/three_ds_prior_authentication_info.py +0 -0
  266. {basistheoryclient-2.3.0 → basistheoryclient-3.1.0}/src/basis_theory/types/three_ds_purchase_info.py +0 -0
  267. {basistheoryclient-2.3.0 → basistheoryclient-3.1.0}/src/basis_theory/types/three_ds_requestor_info.py +0 -0
  268. {basistheoryclient-2.3.0 → basistheoryclient-3.1.0}/src/basis_theory/types/three_ds_session.py +0 -0
  269. {basistheoryclient-2.3.0 → basistheoryclient-3.1.0}/src/basis_theory/types/three_ds_version.py +0 -0
  270. {basistheoryclient-2.3.0 → basistheoryclient-3.1.0}/src/basis_theory/types/token.py +0 -0
  271. {basistheoryclient-2.3.0 → basistheoryclient-3.1.0}/src/basis_theory/types/token_cursor_paginated_list.py +0 -0
  272. {basistheoryclient-2.3.0 → basistheoryclient-3.1.0}/src/basis_theory/types/token_enrichments.py +0 -0
  273. {basistheoryclient-2.3.0 → basistheoryclient-3.1.0}/src/basis_theory/types/token_enrichments_card_details.py +0 -0
  274. {basistheoryclient-2.3.0 → basistheoryclient-3.1.0}/src/basis_theory/types/token_extras.py +0 -0
  275. {basistheoryclient-2.3.0 → basistheoryclient-3.1.0}/src/basis_theory/types/token_intent.py +0 -0
  276. {basistheoryclient-2.3.0 → basistheoryclient-3.1.0}/src/basis_theory/types/token_intent_extras.py +0 -0
  277. {basistheoryclient-2.3.0 → basistheoryclient-3.1.0}/src/basis_theory/types/token_paginated_list.py +0 -0
  278. {basistheoryclient-2.3.0 → basistheoryclient-3.1.0}/src/basis_theory/types/token_service_provider_details.py +0 -0
  279. {basistheoryclient-2.3.0 → basistheoryclient-3.1.0}/src/basis_theory/types/update_privacy.py +0 -0
  280. {basistheoryclient-2.3.0 → basistheoryclient-3.1.0}/src/basis_theory/types/update_reactor_formula_request.py +0 -0
  281. {basistheoryclient-2.3.0 → basistheoryclient-3.1.0}/src/basis_theory/types/user.py +0 -0
  282. {basistheoryclient-2.3.0 → basistheoryclient-3.1.0}/src/basis_theory/types/validation_problem_details.py +0 -0
  283. {basistheoryclient-2.3.0 → basistheoryclient-3.1.0}/src/basis_theory/types/webhook.py +0 -0
  284. {basistheoryclient-2.3.0 → basistheoryclient-3.1.0}/src/basis_theory/types/webhook_list.py +0 -0
  285. {basistheoryclient-2.3.0 → basistheoryclient-3.1.0}/src/basis_theory/types/webhook_list_pagination.py +0 -0
  286. {basistheoryclient-2.3.0 → basistheoryclient-3.1.0}/src/basis_theory/types/webhook_status.py +0 -0
  287. {basistheoryclient-2.3.0 → basistheoryclient-3.1.0}/src/basis_theory/version.py +0 -0
  288. {basistheoryclient-2.3.0 → basistheoryclient-3.1.0}/src/basis_theory/webhooks/__init__.py +0 -0
  289. {basistheoryclient-2.3.0 → basistheoryclient-3.1.0}/src/basis_theory/webhooks/client.py +0 -0
  290. {basistheoryclient-2.3.0/src/basis_theory/token_intents → basistheoryclient-3.1.0/src/basis_theory/webhooks/events}/__init__.py +0 -0
  291. {basistheoryclient-2.3.0 → basistheoryclient-3.1.0}/src/basis_theory/webhooks/events/client.py +0 -0
  292. {basistheoryclient-2.3.0 → basistheoryclient-3.1.0}/src/basis_theory/webhooks/events/raw_client.py +0 -0
  293. {basistheoryclient-2.3.0 → basistheoryclient-3.1.0}/src/basis_theory/webhooks/raw_client.py +0 -0
@@ -1,6 +1,6 @@
1
1
  Metadata-Version: 2.1
2
2
  Name: BasisTheoryClient
3
- Version: 2.3.0
3
+ Version: 3.1.0
4
4
  Summary:
5
5
  License: Apache-2.0
6
6
  Requires-Python: >=3.8,<4.0
@@ -3,7 +3,7 @@ name = "BasisTheoryClient"
3
3
 
4
4
  [tool.poetry]
5
5
  name = "BasisTheoryClient"
6
- version = "2.3.0"
6
+ version = "3.1.0"
7
7
  description = ""
8
8
  readme = "README.md"
9
9
  authors = []
@@ -9,17 +9,15 @@ from .types import (
9
9
  AccountUpdaterJobListPagination,
10
10
  AccountUpdaterJobStatus,
11
11
  AccountUpdaterRealTimeResponse,
12
+ AdditionalCardDetail,
12
13
  AdditionalCardDetails,
13
14
  Address,
14
15
  ApplePayCreateResponse,
15
16
  ApplePayCreateTokenResponse,
16
- ApplePayDomainDeregistrationRequest,
17
- ApplePayDomainRegistrationListRequest,
18
- ApplePayDomainRegistrationRequest,
19
17
  ApplePayDomainRegistrationResponse,
20
18
  ApplePayMethodToken,
21
- ApplePaySessionRequest,
22
19
  ApplePayToken,
20
+ ApplePayTokenizeRequest,
23
21
  ApplePayTokenizeResponse,
24
22
  Application,
25
23
  ApplicationKey,
@@ -38,8 +36,10 @@ from .types import (
38
36
  BinDetailsProduct,
39
37
  Card,
40
38
  CardDetails,
39
+ CardDetailsResponse,
41
40
  CardIssuer,
42
41
  CardIssuerCountry,
42
+ CardIssuerDetails,
43
43
  CardholderInfo,
44
44
  ClientEncryptionKeyMetadataResponse,
45
45
  ClientEncryptionKeyResponse,
@@ -51,6 +51,7 @@ from .types import (
51
51
  CreateTenantConnectionResponse,
52
52
  CreateThreeDsSessionResponse,
53
53
  CreateTokenIntentResponse,
54
+ CreateTokenRequest,
54
55
  CursorPagination,
55
56
  Document,
56
57
  DomainRegistrationResponse,
@@ -65,8 +66,12 @@ from .types import (
65
66
  GetTenantMembers,
66
67
  GetTokens,
67
68
  GetTokensV2,
69
+ GooglePayCreateResponse,
70
+ GooglePayCreateTokenResponse,
71
+ GooglePayMethodToken,
72
+ GooglePayToken,
73
+ GooglePayTokenizeRequest,
68
74
  GooglePayTokenizeResponse,
69
- GooglePaymentMethodToken,
70
75
  Header,
71
76
  IntermediateSigningKey,
72
77
  Log,
@@ -83,6 +88,7 @@ from .types import (
83
88
  Proxy,
84
89
  ProxyPaginatedList,
85
90
  ProxyTransform,
91
+ ProxyTransformOptions,
86
92
  PublicKey,
87
93
  ReactResponse,
88
94
  Reactor,
@@ -122,6 +128,7 @@ from .types import (
122
128
  ThreeDsSession,
123
129
  ThreeDsVersion,
124
130
  Token,
131
+ TokenAuthentication,
125
132
  TokenCursorPaginatedList,
126
133
  TokenEnrichments,
127
134
  TokenEnrichmentsCardDetails,
@@ -155,10 +162,9 @@ from . import (
155
162
  application_keys,
156
163
  application_templates,
157
164
  applications,
158
- connection,
159
165
  documents,
160
166
  enrichments,
161
- googlepay,
167
+ google_pay,
162
168
  keys,
163
169
  logs,
164
170
  network_tokens,
@@ -184,17 +190,15 @@ __all__ = [
184
190
  "AccountUpdaterJobListPagination",
185
191
  "AccountUpdaterJobStatus",
186
192
  "AccountUpdaterRealTimeResponse",
193
+ "AdditionalCardDetail",
187
194
  "AdditionalCardDetails",
188
195
  "Address",
189
196
  "ApplePayCreateResponse",
190
197
  "ApplePayCreateTokenResponse",
191
- "ApplePayDomainDeregistrationRequest",
192
- "ApplePayDomainRegistrationListRequest",
193
- "ApplePayDomainRegistrationRequest",
194
198
  "ApplePayDomainRegistrationResponse",
195
199
  "ApplePayMethodToken",
196
- "ApplePaySessionRequest",
197
200
  "ApplePayToken",
201
+ "ApplePayTokenizeRequest",
198
202
  "ApplePayTokenizeResponse",
199
203
  "Application",
200
204
  "ApplicationKey",
@@ -217,8 +221,10 @@ __all__ = [
217
221
  "BinDetailsProduct",
218
222
  "Card",
219
223
  "CardDetails",
224
+ "CardDetailsResponse",
220
225
  "CardIssuer",
221
226
  "CardIssuerCountry",
227
+ "CardIssuerDetails",
222
228
  "CardholderInfo",
223
229
  "ClientEncryptionKeyMetadataResponse",
224
230
  "ClientEncryptionKeyResponse",
@@ -231,6 +237,7 @@ __all__ = [
231
237
  "CreateTenantConnectionResponse",
232
238
  "CreateThreeDsSessionResponse",
233
239
  "CreateTokenIntentResponse",
240
+ "CreateTokenRequest",
234
241
  "CursorPagination",
235
242
  "Document",
236
243
  "DomainRegistrationResponse",
@@ -246,8 +253,12 @@ __all__ = [
246
253
  "GetTenantMembers",
247
254
  "GetTokens",
248
255
  "GetTokensV2",
256
+ "GooglePayCreateResponse",
257
+ "GooglePayCreateTokenResponse",
258
+ "GooglePayMethodToken",
259
+ "GooglePayToken",
260
+ "GooglePayTokenizeRequest",
249
261
  "GooglePayTokenizeResponse",
250
- "GooglePaymentMethodToken",
251
262
  "Header",
252
263
  "IntermediateSigningKey",
253
264
  "InternalServerError",
@@ -266,6 +277,7 @@ __all__ = [
266
277
  "Proxy",
267
278
  "ProxyPaginatedList",
268
279
  "ProxyTransform",
280
+ "ProxyTransformOptions",
269
281
  "PublicKey",
270
282
  "ReactResponse",
271
283
  "Reactor",
@@ -306,6 +318,7 @@ __all__ = [
306
318
  "ThreeDsSession",
307
319
  "ThreeDsVersion",
308
320
  "Token",
321
+ "TokenAuthentication",
309
322
  "TokenCursorPaginatedList",
310
323
  "TokenEnrichments",
311
324
  "TokenEnrichmentsCardDetails",
@@ -330,10 +343,9 @@ __all__ = [
330
343
  "application_keys",
331
344
  "application_templates",
332
345
  "applications",
333
- "connection",
334
346
  "documents",
335
347
  "enrichments",
336
- "googlepay",
348
+ "google_pay",
337
349
  "keys",
338
350
  "logs",
339
351
  "network_tokens",
@@ -99,7 +99,7 @@ class ApplePayClient:
99
99
  _response = self._raw_client.get(id, request_options=request_options)
100
100
  return _response.data
101
101
 
102
- def unlink(self, id: str, *, request_options: typing.Optional[RequestOptions] = None) -> str:
102
+ def delete(self, id: str, *, request_options: typing.Optional[RequestOptions] = None) -> str:
103
103
  """
104
104
  Parameters
105
105
  ----------
@@ -121,11 +121,11 @@ class ApplePayClient:
121
121
  correlation_id="YOUR_CORRELATION_ID",
122
122
  api_key="YOUR_API_KEY",
123
123
  )
124
- client.apple_pay.unlink(
124
+ client.apple_pay.delete(
125
125
  id="id",
126
126
  )
127
127
  """
128
- _response = self._raw_client.unlink(id, request_options=request_options)
128
+ _response = self._raw_client.delete(id, request_options=request_options)
129
129
  return _response.data
130
130
 
131
131
 
@@ -229,7 +229,7 @@ class AsyncApplePayClient:
229
229
  _response = await self._raw_client.get(id, request_options=request_options)
230
230
  return _response.data
231
231
 
232
- async def unlink(self, id: str, *, request_options: typing.Optional[RequestOptions] = None) -> str:
232
+ async def delete(self, id: str, *, request_options: typing.Optional[RequestOptions] = None) -> str:
233
233
  """
234
234
  Parameters
235
235
  ----------
@@ -256,12 +256,12 @@ class AsyncApplePayClient:
256
256
 
257
257
 
258
258
  async def main() -> None:
259
- await client.apple_pay.unlink(
259
+ await client.apple_pay.delete(
260
260
  id="id",
261
261
  )
262
262
 
263
263
 
264
264
  asyncio.run(main())
265
265
  """
266
- _response = await self._raw_client.unlink(id, request_options=request_options)
266
+ _response = await self._raw_client.delete(id, request_options=request_options)
267
267
  return _response.data
@@ -192,7 +192,7 @@ class RawApplePayClient:
192
192
  raise ApiError(status_code=_response.status_code, headers=dict(_response.headers), body=_response.text)
193
193
  raise ApiError(status_code=_response.status_code, headers=dict(_response.headers), body=_response_json)
194
194
 
195
- def unlink(self, id: str, *, request_options: typing.Optional[RequestOptions] = None) -> HttpResponse[str]:
195
+ def delete(self, id: str, *, request_options: typing.Optional[RequestOptions] = None) -> HttpResponse[str]:
196
196
  """
197
197
  Parameters
198
198
  ----------
@@ -207,8 +207,8 @@ class RawApplePayClient:
207
207
  Success
208
208
  """
209
209
  _response = self._client_wrapper.httpx_client.request(
210
- f"apple-pay/{jsonable_encoder(id)}/unlink",
211
- method="POST",
210
+ f"apple-pay/{jsonable_encoder(id)}",
211
+ method="DELETE",
212
212
  request_options=request_options,
213
213
  )
214
214
  try:
@@ -243,13 +243,13 @@ class RawApplePayClient:
243
243
  ),
244
244
  ),
245
245
  )
246
- if _response.status_code == 422:
247
- raise UnprocessableEntityError(
246
+ if _response.status_code == 404:
247
+ raise NotFoundError(
248
248
  headers=dict(_response.headers),
249
249
  body=typing.cast(
250
- ProblemDetails,
250
+ typing.Optional[typing.Any],
251
251
  parse_obj_as(
252
- type_=ProblemDetails, # type: ignore
252
+ type_=typing.Optional[typing.Any], # type: ignore
253
253
  object_=_response.json(),
254
254
  ),
255
255
  ),
@@ -429,7 +429,7 @@ class AsyncRawApplePayClient:
429
429
  raise ApiError(status_code=_response.status_code, headers=dict(_response.headers), body=_response.text)
430
430
  raise ApiError(status_code=_response.status_code, headers=dict(_response.headers), body=_response_json)
431
431
 
432
- async def unlink(
432
+ async def delete(
433
433
  self, id: str, *, request_options: typing.Optional[RequestOptions] = None
434
434
  ) -> AsyncHttpResponse[str]:
435
435
  """
@@ -446,8 +446,8 @@ class AsyncRawApplePayClient:
446
446
  Success
447
447
  """
448
448
  _response = await self._client_wrapper.httpx_client.request(
449
- f"apple-pay/{jsonable_encoder(id)}/unlink",
450
- method="POST",
449
+ f"apple-pay/{jsonable_encoder(id)}",
450
+ method="DELETE",
451
451
  request_options=request_options,
452
452
  )
453
453
  try:
@@ -482,13 +482,13 @@ class AsyncRawApplePayClient:
482
482
  ),
483
483
  ),
484
484
  )
485
- if _response.status_code == 422:
486
- raise UnprocessableEntityError(
485
+ if _response.status_code == 404:
486
+ raise NotFoundError(
487
487
  headers=dict(_response.headers),
488
488
  body=typing.cast(
489
- ProblemDetails,
489
+ typing.Optional[typing.Any],
490
490
  parse_obj_as(
491
- type_=ProblemDetails, # type: ignore
491
+ type_=typing.Optional[typing.Any], # type: ignore
492
492
  object_=_response.json(),
493
493
  ),
494
494
  ),
@@ -9,13 +9,12 @@ from .apple_pay.client import ApplePayClient, AsyncApplePayClient
9
9
  from .application_keys.client import ApplicationKeysClient, AsyncApplicationKeysClient
10
10
  from .application_templates.client import ApplicationTemplatesClient, AsyncApplicationTemplatesClient
11
11
  from .applications.client import ApplicationsClient, AsyncApplicationsClient
12
- from .connection.client import AsyncConnectionClient, ConnectionClient
13
12
  from .core.api_error import ApiError
14
13
  from .core.client_wrapper import AsyncClientWrapper, SyncClientWrapper
15
14
  from .documents.client import AsyncDocumentsClient, DocumentsClient
16
15
  from .enrichments.client import AsyncEnrichmentsClient, EnrichmentsClient
17
16
  from .environment import BasisTheoryEnvironment
18
- from .googlepay.client import AsyncGooglepayClient, GooglepayClient
17
+ from .google_pay.client import AsyncGooglePayClient, GooglePayClient
19
18
  from .keys.client import AsyncKeysClient, KeysClient
20
19
  from .logs.client import AsyncLogsClient, LogsClient
21
20
  from .network_tokens.client import AsyncNetworkTokensClient, NetworkTokensClient
@@ -106,10 +105,10 @@ class BasisTheory:
106
105
  self.application_keys = ApplicationKeysClient(client_wrapper=self._client_wrapper)
107
106
  self.application_templates = ApplicationTemplatesClient(client_wrapper=self._client_wrapper)
108
107
  self.apple_pay = ApplePayClient(client_wrapper=self._client_wrapper)
108
+ self.google_pay = GooglePayClient(client_wrapper=self._client_wrapper)
109
109
  self.documents = DocumentsClient(client_wrapper=self._client_wrapper)
110
110
  self.tokens = TokensClient(client_wrapper=self._client_wrapper)
111
111
  self.enrichments = EnrichmentsClient(client_wrapper=self._client_wrapper)
112
- self.googlepay = GooglepayClient(client_wrapper=self._client_wrapper)
113
112
  self.keys = KeysClient(client_wrapper=self._client_wrapper)
114
113
  self.logs = LogsClient(client_wrapper=self._client_wrapper)
115
114
  self.network_tokens = NetworkTokensClient(client_wrapper=self._client_wrapper)
@@ -121,7 +120,6 @@ class BasisTheory:
121
120
  self.token_intents = TokenIntentsClient(client_wrapper=self._client_wrapper)
122
121
  self.webhooks = WebhooksClient(client_wrapper=self._client_wrapper)
123
122
  self.account_updater = AccountUpdaterClient(client_wrapper=self._client_wrapper)
124
- self.connection = ConnectionClient(client_wrapper=self._client_wrapper)
125
123
  self.tenants = TenantsClient(client_wrapper=self._client_wrapper)
126
124
  self.threeds = ThreedsClient(client_wrapper=self._client_wrapper)
127
125
 
@@ -201,10 +199,10 @@ class AsyncBasisTheory:
201
199
  self.application_keys = AsyncApplicationKeysClient(client_wrapper=self._client_wrapper)
202
200
  self.application_templates = AsyncApplicationTemplatesClient(client_wrapper=self._client_wrapper)
203
201
  self.apple_pay = AsyncApplePayClient(client_wrapper=self._client_wrapper)
202
+ self.google_pay = AsyncGooglePayClient(client_wrapper=self._client_wrapper)
204
203
  self.documents = AsyncDocumentsClient(client_wrapper=self._client_wrapper)
205
204
  self.tokens = AsyncTokensClient(client_wrapper=self._client_wrapper)
206
205
  self.enrichments = AsyncEnrichmentsClient(client_wrapper=self._client_wrapper)
207
- self.googlepay = AsyncGooglepayClient(client_wrapper=self._client_wrapper)
208
206
  self.keys = AsyncKeysClient(client_wrapper=self._client_wrapper)
209
207
  self.logs = AsyncLogsClient(client_wrapper=self._client_wrapper)
210
208
  self.network_tokens = AsyncNetworkTokensClient(client_wrapper=self._client_wrapper)
@@ -216,7 +214,6 @@ class AsyncBasisTheory:
216
214
  self.token_intents = AsyncTokenIntentsClient(client_wrapper=self._client_wrapper)
217
215
  self.webhooks = AsyncWebhooksClient(client_wrapper=self._client_wrapper)
218
216
  self.account_updater = AsyncAccountUpdaterClient(client_wrapper=self._client_wrapper)
219
- self.connection = AsyncConnectionClient(client_wrapper=self._client_wrapper)
220
217
  self.tenants = AsyncTenantsClient(client_wrapper=self._client_wrapper)
221
218
  self.threeds = AsyncThreedsClient(client_wrapper=self._client_wrapper)
222
219
 
@@ -5,6 +5,7 @@ import typing
5
5
  from ..core.client_wrapper import AsyncClientWrapper, SyncClientWrapper
6
6
  from ..core.request_options import RequestOptions
7
7
  from ..types.bank_verification_response import BankVerificationResponse
8
+ from ..types.card_details_response import CardDetailsResponse
8
9
  from .raw_client import AsyncRawEnrichmentsClient, RawEnrichmentsClient
9
10
 
10
11
  # this is used as the default value for optional parameters
@@ -68,6 +69,37 @@ class EnrichmentsClient:
68
69
  )
69
70
  return _response.data
70
71
 
72
+ def getcarddetails(
73
+ self, *, bin: str, request_options: typing.Optional[RequestOptions] = None
74
+ ) -> CardDetailsResponse:
75
+ """
76
+ Parameters
77
+ ----------
78
+ bin : str
79
+
80
+ request_options : typing.Optional[RequestOptions]
81
+ Request-specific configuration.
82
+
83
+ Returns
84
+ -------
85
+ CardDetailsResponse
86
+ Success
87
+
88
+ Examples
89
+ --------
90
+ from basis_theory import BasisTheory
91
+
92
+ client = BasisTheory(
93
+ correlation_id="YOUR_CORRELATION_ID",
94
+ api_key="YOUR_API_KEY",
95
+ )
96
+ client.enrichments.getcarddetails(
97
+ bin="bin",
98
+ )
99
+ """
100
+ _response = self._raw_client.getcarddetails(bin=bin, request_options=request_options)
101
+ return _response.data
102
+
71
103
 
72
104
  class AsyncEnrichmentsClient:
73
105
  def __init__(self, *, client_wrapper: AsyncClientWrapper):
@@ -133,3 +165,42 @@ class AsyncEnrichmentsClient:
133
165
  token_id=token_id, country_code=country_code, routing_number=routing_number, request_options=request_options
134
166
  )
135
167
  return _response.data
168
+
169
+ async def getcarddetails(
170
+ self, *, bin: str, request_options: typing.Optional[RequestOptions] = None
171
+ ) -> CardDetailsResponse:
172
+ """
173
+ Parameters
174
+ ----------
175
+ bin : str
176
+
177
+ request_options : typing.Optional[RequestOptions]
178
+ Request-specific configuration.
179
+
180
+ Returns
181
+ -------
182
+ CardDetailsResponse
183
+ Success
184
+
185
+ Examples
186
+ --------
187
+ import asyncio
188
+
189
+ from basis_theory import AsyncBasisTheory
190
+
191
+ client = AsyncBasisTheory(
192
+ correlation_id="YOUR_CORRELATION_ID",
193
+ api_key="YOUR_API_KEY",
194
+ )
195
+
196
+
197
+ async def main() -> None:
198
+ await client.enrichments.getcarddetails(
199
+ bin="bin",
200
+ )
201
+
202
+
203
+ asyncio.run(main())
204
+ """
205
+ _response = await self._raw_client.getcarddetails(bin=bin, request_options=request_options)
206
+ return _response.data
@@ -12,6 +12,7 @@ from ..errors.bad_request_error import BadRequestError
12
12
  from ..errors.forbidden_error import ForbiddenError
13
13
  from ..errors.unauthorized_error import UnauthorizedError
14
14
  from ..types.bank_verification_response import BankVerificationResponse
15
+ from ..types.card_details_response import CardDetailsResponse
15
16
  from ..types.problem_details import ProblemDetails
16
17
  from ..types.validation_problem_details import ValidationProblemDetails
17
18
 
@@ -110,6 +111,67 @@ class RawEnrichmentsClient:
110
111
  raise ApiError(status_code=_response.status_code, headers=dict(_response.headers), body=_response.text)
111
112
  raise ApiError(status_code=_response.status_code, headers=dict(_response.headers), body=_response_json)
112
113
 
114
+ def getcarddetails(
115
+ self, *, bin: str, request_options: typing.Optional[RequestOptions] = None
116
+ ) -> HttpResponse[CardDetailsResponse]:
117
+ """
118
+ Parameters
119
+ ----------
120
+ bin : str
121
+
122
+ request_options : typing.Optional[RequestOptions]
123
+ Request-specific configuration.
124
+
125
+ Returns
126
+ -------
127
+ HttpResponse[CardDetailsResponse]
128
+ Success
129
+ """
130
+ _response = self._client_wrapper.httpx_client.request(
131
+ "enrichments/card-details",
132
+ method="GET",
133
+ params={
134
+ "bin": bin,
135
+ },
136
+ request_options=request_options,
137
+ )
138
+ try:
139
+ if 200 <= _response.status_code < 300:
140
+ _data = typing.cast(
141
+ CardDetailsResponse,
142
+ parse_obj_as(
143
+ type_=CardDetailsResponse, # type: ignore
144
+ object_=_response.json(),
145
+ ),
146
+ )
147
+ return HttpResponse(response=_response, data=_data)
148
+ if _response.status_code == 401:
149
+ raise UnauthorizedError(
150
+ headers=dict(_response.headers),
151
+ body=typing.cast(
152
+ ProblemDetails,
153
+ parse_obj_as(
154
+ type_=ProblemDetails, # type: ignore
155
+ object_=_response.json(),
156
+ ),
157
+ ),
158
+ )
159
+ if _response.status_code == 403:
160
+ raise ForbiddenError(
161
+ headers=dict(_response.headers),
162
+ body=typing.cast(
163
+ ProblemDetails,
164
+ parse_obj_as(
165
+ type_=ProblemDetails, # type: ignore
166
+ object_=_response.json(),
167
+ ),
168
+ ),
169
+ )
170
+ _response_json = _response.json()
171
+ except JSONDecodeError:
172
+ raise ApiError(status_code=_response.status_code, headers=dict(_response.headers), body=_response.text)
173
+ raise ApiError(status_code=_response.status_code, headers=dict(_response.headers), body=_response_json)
174
+
113
175
 
114
176
  class AsyncRawEnrichmentsClient:
115
177
  def __init__(self, *, client_wrapper: AsyncClientWrapper):
@@ -201,3 +263,64 @@ class AsyncRawEnrichmentsClient:
201
263
  except JSONDecodeError:
202
264
  raise ApiError(status_code=_response.status_code, headers=dict(_response.headers), body=_response.text)
203
265
  raise ApiError(status_code=_response.status_code, headers=dict(_response.headers), body=_response_json)
266
+
267
+ async def getcarddetails(
268
+ self, *, bin: str, request_options: typing.Optional[RequestOptions] = None
269
+ ) -> AsyncHttpResponse[CardDetailsResponse]:
270
+ """
271
+ Parameters
272
+ ----------
273
+ bin : str
274
+
275
+ request_options : typing.Optional[RequestOptions]
276
+ Request-specific configuration.
277
+
278
+ Returns
279
+ -------
280
+ AsyncHttpResponse[CardDetailsResponse]
281
+ Success
282
+ """
283
+ _response = await self._client_wrapper.httpx_client.request(
284
+ "enrichments/card-details",
285
+ method="GET",
286
+ params={
287
+ "bin": bin,
288
+ },
289
+ request_options=request_options,
290
+ )
291
+ try:
292
+ if 200 <= _response.status_code < 300:
293
+ _data = typing.cast(
294
+ CardDetailsResponse,
295
+ parse_obj_as(
296
+ type_=CardDetailsResponse, # type: ignore
297
+ object_=_response.json(),
298
+ ),
299
+ )
300
+ return AsyncHttpResponse(response=_response, data=_data)
301
+ if _response.status_code == 401:
302
+ raise UnauthorizedError(
303
+ headers=dict(_response.headers),
304
+ body=typing.cast(
305
+ ProblemDetails,
306
+ parse_obj_as(
307
+ type_=ProblemDetails, # type: ignore
308
+ object_=_response.json(),
309
+ ),
310
+ ),
311
+ )
312
+ if _response.status_code == 403:
313
+ raise ForbiddenError(
314
+ headers=dict(_response.headers),
315
+ body=typing.cast(
316
+ ProblemDetails,
317
+ parse_obj_as(
318
+ type_=ProblemDetails, # type: ignore
319
+ object_=_response.json(),
320
+ ),
321
+ ),
322
+ )
323
+ _response_json = _response.json()
324
+ except JSONDecodeError:
325
+ raise ApiError(status_code=_response.status_code, headers=dict(_response.headers), body=_response.text)
326
+ raise ApiError(status_code=_response.status_code, headers=dict(_response.headers), body=_response_json)