BasisTheoryClient 4.0.0__tar.gz → 4.2.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-4.0.0 → basistheoryclient-4.2.0}/PKG-INFO +17 -1
  2. {basistheoryclient-4.0.0 → basistheoryclient-4.2.0}/README.md +16 -0
  3. {basistheoryclient-4.0.0 → basistheoryclient-4.2.0}/pyproject.toml +1 -1
  4. {basistheoryclient-4.0.0 → basistheoryclient-4.2.0}/src/basis_theory/__init__.py +12 -2
  5. {basistheoryclient-4.0.0 → basistheoryclient-4.2.0}/src/basis_theory/apple_pay/client.py +14 -2
  6. basistheoryclient-4.2.0/src/basis_theory/apple_pay/merchant/__init__.py +7 -0
  7. basistheoryclient-4.2.0/src/basis_theory/apple_pay/merchant/certificates/client.py +313 -0
  8. basistheoryclient-4.2.0/src/basis_theory/apple_pay/merchant/certificates/raw_client.py +493 -0
  9. {basistheoryclient-4.0.0 → basistheoryclient-4.2.0}/src/basis_theory/apple_pay/merchant/client.py +7 -5
  10. {basistheoryclient-4.0.0 → basistheoryclient-4.2.0}/src/basis_theory/apple_pay/merchant/raw_client.py +10 -9
  11. {basistheoryclient-4.0.0 → basistheoryclient-4.2.0}/src/basis_theory/apple_pay/raw_client.py +8 -0
  12. {basistheoryclient-4.0.0 → basistheoryclient-4.2.0}/src/basis_theory/apple_pay/session/client.py +16 -2
  13. {basistheoryclient-4.0.0 → basistheoryclient-4.2.0}/src/basis_theory/apple_pay/session/raw_client.py +8 -0
  14. {basistheoryclient-4.0.0 → basistheoryclient-4.2.0}/src/basis_theory/environment.py +3 -0
  15. basistheoryclient-4.2.0/src/basis_theory/google_pay/__init__.py +7 -0
  16. {basistheoryclient-4.0.0 → basistheoryclient-4.2.0}/src/basis_theory/google_pay/client.py +17 -2
  17. basistheoryclient-4.2.0/src/basis_theory/google_pay/merchant/__init__.py +7 -0
  18. basistheoryclient-4.2.0/src/basis_theory/google_pay/merchant/certificates/client.py +289 -0
  19. basistheoryclient-4.2.0/src/basis_theory/google_pay/merchant/certificates/raw_client.py +469 -0
  20. basistheoryclient-4.2.0/src/basis_theory/google_pay/merchant/client.py +250 -0
  21. basistheoryclient-4.2.0/src/basis_theory/google_pay/merchant/raw_client.py +423 -0
  22. {basistheoryclient-4.0.0 → basistheoryclient-4.2.0}/src/basis_theory/google_pay/raw_client.py +8 -0
  23. {basistheoryclient-4.0.0 → basistheoryclient-4.2.0}/src/basis_theory/reactors/client.py +13 -37
  24. {basistheoryclient-4.0.0 → basistheoryclient-4.2.0}/src/basis_theory/reactors/raw_client.py +25 -49
  25. {basistheoryclient-4.0.0 → basistheoryclient-4.2.0}/src/basis_theory/types/__init__.py +12 -2
  26. {basistheoryclient-4.0.0 → basistheoryclient-4.2.0}/src/basis_theory/types/additional_card_detail.py +6 -0
  27. basistheoryclient-4.2.0/src/basis_theory/types/apple_pay_merchant_certificates.py +28 -0
  28. basistheoryclient-4.2.0/src/basis_theory/types/card_bin_range.py +22 -0
  29. {basistheoryclient-4.0.0 → basistheoryclient-4.2.0}/src/basis_theory/types/card_details_response.py +6 -0
  30. basistheoryclient-4.2.0/src/basis_theory/types/google_pay_merchant.py +24 -0
  31. basistheoryclient-4.2.0/src/basis_theory/types/google_pay_merchant_certificates.py +25 -0
  32. {basistheoryclient-4.0.0 → basistheoryclient-4.2.0}/src/basis_theory/types/proxy_transform_options.py +2 -2
  33. {basistheoryclient-4.0.0 → basistheoryclient-4.2.0}/src/basis_theory/types/reactor.py +2 -3
  34. basistheoryclient-4.0.0/src/basis_theory/types/runtime_options.py → basistheoryclient-4.2.0/src/basis_theory/types/runtime.py +6 -1
  35. basistheoryclient-4.2.0/src/basis_theory/types/three_ds_branding_options.py +19 -0
  36. {basistheoryclient-4.0.0 → basistheoryclient-4.2.0}/src/basis_theory/types/three_ds_callback_urls.py +2 -0
  37. {basistheoryclient-4.0.0 → basistheoryclient-4.2.0}/LICENSE +0 -0
  38. {basistheoryclient-4.0.0 → basistheoryclient-4.2.0}/src/basis_theory/account_updater/__init__.py +0 -0
  39. {basistheoryclient-4.0.0 → basistheoryclient-4.2.0}/src/basis_theory/account_updater/client.py +0 -0
  40. {basistheoryclient-4.0.0 → basistheoryclient-4.2.0}/src/basis_theory/account_updater/jobs/__init__.py +0 -0
  41. {basistheoryclient-4.0.0 → basistheoryclient-4.2.0}/src/basis_theory/account_updater/jobs/client.py +0 -0
  42. {basistheoryclient-4.0.0 → basistheoryclient-4.2.0}/src/basis_theory/account_updater/jobs/raw_client.py +0 -0
  43. {basistheoryclient-4.0.0 → basistheoryclient-4.2.0}/src/basis_theory/account_updater/raw_client.py +0 -0
  44. {basistheoryclient-4.0.0 → basistheoryclient-4.2.0}/src/basis_theory/account_updater/real_time/__init__.py +0 -0
  45. {basistheoryclient-4.0.0 → basistheoryclient-4.2.0}/src/basis_theory/account_updater/real_time/client.py +0 -0
  46. {basistheoryclient-4.0.0 → basistheoryclient-4.2.0}/src/basis_theory/account_updater/real_time/raw_client.py +0 -0
  47. {basistheoryclient-4.0.0 → basistheoryclient-4.2.0}/src/basis_theory/apple_pay/__init__.py +0 -0
  48. {basistheoryclient-4.0.0 → basistheoryclient-4.2.0}/src/basis_theory/apple_pay/domain/__init__.py +0 -0
  49. {basistheoryclient-4.0.0 → basistheoryclient-4.2.0}/src/basis_theory/apple_pay/domain/client.py +0 -0
  50. {basistheoryclient-4.0.0 → basistheoryclient-4.2.0}/src/basis_theory/apple_pay/domain/raw_client.py +0 -0
  51. {basistheoryclient-4.0.0/src/basis_theory/apple_pay/merchant → basistheoryclient-4.2.0/src/basis_theory/apple_pay/merchant/certificates}/__init__.py +0 -0
  52. {basistheoryclient-4.0.0 → basistheoryclient-4.2.0}/src/basis_theory/apple_pay/session/__init__.py +0 -0
  53. {basistheoryclient-4.0.0 → basistheoryclient-4.2.0}/src/basis_theory/application_keys/__init__.py +0 -0
  54. {basistheoryclient-4.0.0 → basistheoryclient-4.2.0}/src/basis_theory/application_keys/client.py +0 -0
  55. {basistheoryclient-4.0.0 → basistheoryclient-4.2.0}/src/basis_theory/application_keys/raw_client.py +0 -0
  56. {basistheoryclient-4.0.0 → basistheoryclient-4.2.0}/src/basis_theory/application_templates/__init__.py +0 -0
  57. {basistheoryclient-4.0.0 → basistheoryclient-4.2.0}/src/basis_theory/application_templates/client.py +0 -0
  58. {basistheoryclient-4.0.0 → basistheoryclient-4.2.0}/src/basis_theory/application_templates/raw_client.py +0 -0
  59. {basistheoryclient-4.0.0 → basistheoryclient-4.2.0}/src/basis_theory/applications/__init__.py +0 -0
  60. {basistheoryclient-4.0.0 → basistheoryclient-4.2.0}/src/basis_theory/applications/client.py +0 -0
  61. {basistheoryclient-4.0.0 → basistheoryclient-4.2.0}/src/basis_theory/applications/raw_client.py +0 -0
  62. {basistheoryclient-4.0.0 → basistheoryclient-4.2.0}/src/basis_theory/client.py +0 -0
  63. {basistheoryclient-4.0.0 → basistheoryclient-4.2.0}/src/basis_theory/core/__init__.py +0 -0
  64. {basistheoryclient-4.0.0 → basistheoryclient-4.2.0}/src/basis_theory/core/api_error.py +0 -0
  65. {basistheoryclient-4.0.0 → basistheoryclient-4.2.0}/src/basis_theory/core/client_wrapper.py +0 -0
  66. {basistheoryclient-4.0.0 → basistheoryclient-4.2.0}/src/basis_theory/core/datetime_utils.py +0 -0
  67. {basistheoryclient-4.0.0 → basistheoryclient-4.2.0}/src/basis_theory/core/file.py +0 -0
  68. {basistheoryclient-4.0.0 → basistheoryclient-4.2.0}/src/basis_theory/core/force_multipart.py +0 -0
  69. {basistheoryclient-4.0.0 → basistheoryclient-4.2.0}/src/basis_theory/core/http_client.py +0 -0
  70. {basistheoryclient-4.0.0 → basistheoryclient-4.2.0}/src/basis_theory/core/http_response.py +0 -0
  71. {basistheoryclient-4.0.0 → basistheoryclient-4.2.0}/src/basis_theory/core/jsonable_encoder.py +0 -0
  72. {basistheoryclient-4.0.0 → basistheoryclient-4.2.0}/src/basis_theory/core/pagination.py +0 -0
  73. {basistheoryclient-4.0.0 → basistheoryclient-4.2.0}/src/basis_theory/core/pydantic_utilities.py +0 -0
  74. {basistheoryclient-4.0.0 → basistheoryclient-4.2.0}/src/basis_theory/core/query_encoder.py +0 -0
  75. {basistheoryclient-4.0.0 → basistheoryclient-4.2.0}/src/basis_theory/core/remove_none_from_dict.py +0 -0
  76. {basistheoryclient-4.0.0 → basistheoryclient-4.2.0}/src/basis_theory/core/request_options.py +0 -0
  77. {basistheoryclient-4.0.0 → basistheoryclient-4.2.0}/src/basis_theory/core/serialization.py +0 -0
  78. {basistheoryclient-4.0.0 → basistheoryclient-4.2.0}/src/basis_theory/documents/__init__.py +0 -0
  79. {basistheoryclient-4.0.0 → basistheoryclient-4.2.0}/src/basis_theory/documents/client.py +0 -0
  80. {basistheoryclient-4.0.0 → basistheoryclient-4.2.0}/src/basis_theory/documents/data/__init__.py +0 -0
  81. {basistheoryclient-4.0.0 → basistheoryclient-4.2.0}/src/basis_theory/documents/data/client.py +0 -0
  82. {basistheoryclient-4.0.0 → basistheoryclient-4.2.0}/src/basis_theory/documents/data/raw_client.py +0 -0
  83. {basistheoryclient-4.0.0 → basistheoryclient-4.2.0}/src/basis_theory/documents/raw_client.py +0 -0
  84. {basistheoryclient-4.0.0 → basistheoryclient-4.2.0}/src/basis_theory/enrichments/__init__.py +0 -0
  85. {basistheoryclient-4.0.0 → basistheoryclient-4.2.0}/src/basis_theory/enrichments/client.py +0 -0
  86. {basistheoryclient-4.0.0 → basistheoryclient-4.2.0}/src/basis_theory/enrichments/raw_client.py +0 -0
  87. {basistheoryclient-4.0.0 → basistheoryclient-4.2.0}/src/basis_theory/errors/__init__.py +0 -0
  88. {basistheoryclient-4.0.0 → basistheoryclient-4.2.0}/src/basis_theory/errors/bad_request_error.py +0 -0
  89. {basistheoryclient-4.0.0 → basistheoryclient-4.2.0}/src/basis_theory/errors/conflict_error.py +0 -0
  90. {basistheoryclient-4.0.0 → basistheoryclient-4.2.0}/src/basis_theory/errors/forbidden_error.py +0 -0
  91. {basistheoryclient-4.0.0 → basistheoryclient-4.2.0}/src/basis_theory/errors/internal_server_error.py +0 -0
  92. {basistheoryclient-4.0.0 → basistheoryclient-4.2.0}/src/basis_theory/errors/not_found_error.py +0 -0
  93. {basistheoryclient-4.0.0 → basistheoryclient-4.2.0}/src/basis_theory/errors/service_unavailable_error.py +0 -0
  94. {basistheoryclient-4.0.0 → basistheoryclient-4.2.0}/src/basis_theory/errors/unauthorized_error.py +0 -0
  95. {basistheoryclient-4.0.0 → basistheoryclient-4.2.0}/src/basis_theory/errors/unprocessable_entity_error.py +0 -0
  96. {basistheoryclient-4.0.0/src/basis_theory/google_pay → basistheoryclient-4.2.0/src/basis_theory/google_pay/merchant/certificates}/__init__.py +0 -0
  97. {basistheoryclient-4.0.0 → basistheoryclient-4.2.0}/src/basis_theory/keys/__init__.py +0 -0
  98. {basistheoryclient-4.0.0 → basistheoryclient-4.2.0}/src/basis_theory/keys/client.py +0 -0
  99. {basistheoryclient-4.0.0 → basistheoryclient-4.2.0}/src/basis_theory/keys/raw_client.py +0 -0
  100. {basistheoryclient-4.0.0 → basistheoryclient-4.2.0}/src/basis_theory/logs/__init__.py +0 -0
  101. {basistheoryclient-4.0.0 → basistheoryclient-4.2.0}/src/basis_theory/logs/client.py +0 -0
  102. {basistheoryclient-4.0.0 → basistheoryclient-4.2.0}/src/basis_theory/logs/raw_client.py +0 -0
  103. {basistheoryclient-4.0.0 → basistheoryclient-4.2.0}/src/basis_theory/network_tokens/__init__.py +0 -0
  104. {basistheoryclient-4.0.0 → basistheoryclient-4.2.0}/src/basis_theory/network_tokens/client.py +0 -0
  105. {basistheoryclient-4.0.0 → basistheoryclient-4.2.0}/src/basis_theory/network_tokens/raw_client.py +0 -0
  106. {basistheoryclient-4.0.0 → basistheoryclient-4.2.0}/src/basis_theory/permissions/__init__.py +0 -0
  107. {basistheoryclient-4.0.0 → basistheoryclient-4.2.0}/src/basis_theory/permissions/client.py +0 -0
  108. {basistheoryclient-4.0.0 → basistheoryclient-4.2.0}/src/basis_theory/permissions/raw_client.py +0 -0
  109. {basistheoryclient-4.0.0 → basistheoryclient-4.2.0}/src/basis_theory/proxies/__init__.py +0 -0
  110. {basistheoryclient-4.0.0 → basistheoryclient-4.2.0}/src/basis_theory/proxies/client.py +0 -0
  111. {basistheoryclient-4.0.0 → basistheoryclient-4.2.0}/src/basis_theory/proxies/raw_client.py +0 -0
  112. {basistheoryclient-4.0.0 → basistheoryclient-4.2.0}/src/basis_theory/py.typed +0 -0
  113. {basistheoryclient-4.0.0 → basistheoryclient-4.2.0}/src/basis_theory/reactors/__init__.py +0 -0
  114. {basistheoryclient-4.0.0 → basistheoryclient-4.2.0}/src/basis_theory/reactors/results/__init__.py +0 -0
  115. {basistheoryclient-4.0.0 → basistheoryclient-4.2.0}/src/basis_theory/reactors/results/client.py +0 -0
  116. {basistheoryclient-4.0.0 → basistheoryclient-4.2.0}/src/basis_theory/reactors/results/raw_client.py +0 -0
  117. {basistheoryclient-4.0.0 → basistheoryclient-4.2.0}/src/basis_theory/roles/__init__.py +0 -0
  118. {basistheoryclient-4.0.0 → basistheoryclient-4.2.0}/src/basis_theory/roles/client.py +0 -0
  119. {basistheoryclient-4.0.0 → basistheoryclient-4.2.0}/src/basis_theory/roles/raw_client.py +0 -0
  120. {basistheoryclient-4.0.0 → basistheoryclient-4.2.0}/src/basis_theory/sessions/__init__.py +0 -0
  121. {basistheoryclient-4.0.0 → basistheoryclient-4.2.0}/src/basis_theory/sessions/client.py +0 -0
  122. {basistheoryclient-4.0.0 → basistheoryclient-4.2.0}/src/basis_theory/sessions/raw_client.py +0 -0
  123. {basistheoryclient-4.0.0 → basistheoryclient-4.2.0}/src/basis_theory/tenants/__init__.py +0 -0
  124. {basistheoryclient-4.0.0 → basistheoryclient-4.2.0}/src/basis_theory/tenants/client.py +0 -0
  125. {basistheoryclient-4.0.0 → basistheoryclient-4.2.0}/src/basis_theory/tenants/connections/__init__.py +0 -0
  126. {basistheoryclient-4.0.0 → basistheoryclient-4.2.0}/src/basis_theory/tenants/connections/client.py +0 -0
  127. {basistheoryclient-4.0.0 → basistheoryclient-4.2.0}/src/basis_theory/tenants/connections/raw_client.py +0 -0
  128. {basistheoryclient-4.0.0 → basistheoryclient-4.2.0}/src/basis_theory/tenants/invitations/__init__.py +0 -0
  129. {basistheoryclient-4.0.0 → basistheoryclient-4.2.0}/src/basis_theory/tenants/invitations/client.py +0 -0
  130. {basistheoryclient-4.0.0 → basistheoryclient-4.2.0}/src/basis_theory/tenants/invitations/raw_client.py +0 -0
  131. {basistheoryclient-4.0.0 → basistheoryclient-4.2.0}/src/basis_theory/tenants/members/__init__.py +0 -0
  132. {basistheoryclient-4.0.0 → basistheoryclient-4.2.0}/src/basis_theory/tenants/members/client.py +0 -0
  133. {basistheoryclient-4.0.0 → basistheoryclient-4.2.0}/src/basis_theory/tenants/members/raw_client.py +0 -0
  134. {basistheoryclient-4.0.0 → basistheoryclient-4.2.0}/src/basis_theory/tenants/owner/__init__.py +0 -0
  135. {basistheoryclient-4.0.0 → basistheoryclient-4.2.0}/src/basis_theory/tenants/owner/client.py +0 -0
  136. {basistheoryclient-4.0.0 → basistheoryclient-4.2.0}/src/basis_theory/tenants/owner/raw_client.py +0 -0
  137. {basistheoryclient-4.0.0 → basistheoryclient-4.2.0}/src/basis_theory/tenants/raw_client.py +0 -0
  138. {basistheoryclient-4.0.0 → basistheoryclient-4.2.0}/src/basis_theory/tenants/self_/__init__.py +0 -0
  139. {basistheoryclient-4.0.0 → basistheoryclient-4.2.0}/src/basis_theory/tenants/self_/client.py +0 -0
  140. {basistheoryclient-4.0.0 → basistheoryclient-4.2.0}/src/basis_theory/tenants/self_/raw_client.py +0 -0
  141. {basistheoryclient-4.0.0 → basistheoryclient-4.2.0}/src/basis_theory/threeds/__init__.py +0 -0
  142. {basistheoryclient-4.0.0 → basistheoryclient-4.2.0}/src/basis_theory/threeds/client.py +0 -0
  143. {basistheoryclient-4.0.0 → basistheoryclient-4.2.0}/src/basis_theory/threeds/raw_client.py +0 -0
  144. {basistheoryclient-4.0.0 → basistheoryclient-4.2.0}/src/basis_theory/threeds/sessions/__init__.py +0 -0
  145. {basistheoryclient-4.0.0 → basistheoryclient-4.2.0}/src/basis_theory/threeds/sessions/client.py +0 -0
  146. {basistheoryclient-4.0.0 → basistheoryclient-4.2.0}/src/basis_theory/threeds/sessions/raw_client.py +0 -0
  147. {basistheoryclient-4.0.0 → basistheoryclient-4.2.0}/src/basis_theory/token_intents/__init__.py +0 -0
  148. {basistheoryclient-4.0.0 → basistheoryclient-4.2.0}/src/basis_theory/token_intents/client.py +0 -0
  149. {basistheoryclient-4.0.0 → basistheoryclient-4.2.0}/src/basis_theory/token_intents/raw_client.py +0 -0
  150. {basistheoryclient-4.0.0 → basistheoryclient-4.2.0}/src/basis_theory/tokens/__init__.py +0 -0
  151. {basistheoryclient-4.0.0 → basistheoryclient-4.2.0}/src/basis_theory/tokens/client.py +0 -0
  152. {basistheoryclient-4.0.0 → basistheoryclient-4.2.0}/src/basis_theory/tokens/raw_client.py +0 -0
  153. {basistheoryclient-4.0.0 → basistheoryclient-4.2.0}/src/basis_theory/types/access_rule.py +0 -0
  154. {basistheoryclient-4.0.0 → basistheoryclient-4.2.0}/src/basis_theory/types/account_updater_job.py +0 -0
  155. {basistheoryclient-4.0.0 → basistheoryclient-4.2.0}/src/basis_theory/types/account_updater_job_list.py +0 -0
  156. {basistheoryclient-4.0.0 → basistheoryclient-4.2.0}/src/basis_theory/types/account_updater_job_list_pagination.py +0 -0
  157. {basistheoryclient-4.0.0 → basistheoryclient-4.2.0}/src/basis_theory/types/account_updater_job_status.py +0 -0
  158. {basistheoryclient-4.0.0 → basistheoryclient-4.2.0}/src/basis_theory/types/account_updater_real_time_response.py +0 -0
  159. {basistheoryclient-4.0.0 → basistheoryclient-4.2.0}/src/basis_theory/types/additional_card_details.py +0 -0
  160. {basistheoryclient-4.0.0 → basistheoryclient-4.2.0}/src/basis_theory/types/address.py +0 -0
  161. {basistheoryclient-4.0.0 → basistheoryclient-4.2.0}/src/basis_theory/types/apple_pay_create_response.py +0 -0
  162. {basistheoryclient-4.0.0 → basistheoryclient-4.2.0}/src/basis_theory/types/apple_pay_domain_registration_response.py +0 -0
  163. {basistheoryclient-4.0.0 → basistheoryclient-4.2.0}/src/basis_theory/types/apple_pay_merchant.py +0 -0
  164. {basistheoryclient-4.0.0 → basistheoryclient-4.2.0}/src/basis_theory/types/apple_pay_method_token.py +0 -0
  165. {basistheoryclient-4.0.0 → basistheoryclient-4.2.0}/src/basis_theory/types/apple_pay_token.py +0 -0
  166. {basistheoryclient-4.0.0 → basistheoryclient-4.2.0}/src/basis_theory/types/apple_pay_tokenize_request.py +0 -0
  167. {basistheoryclient-4.0.0 → basistheoryclient-4.2.0}/src/basis_theory/types/apple_pay_tokenize_response.py +0 -0
  168. {basistheoryclient-4.0.0 → basistheoryclient-4.2.0}/src/basis_theory/types/application.py +0 -0
  169. {basistheoryclient-4.0.0 → basistheoryclient-4.2.0}/src/basis_theory/types/application_key.py +0 -0
  170. {basistheoryclient-4.0.0 → basistheoryclient-4.2.0}/src/basis_theory/types/application_paginated_list.py +0 -0
  171. {basistheoryclient-4.0.0 → basistheoryclient-4.2.0}/src/basis_theory/types/application_template.py +0 -0
  172. {basistheoryclient-4.0.0 → basistheoryclient-4.2.0}/src/basis_theory/types/assurance_details.py +0 -0
  173. {basistheoryclient-4.0.0 → basistheoryclient-4.2.0}/src/basis_theory/types/async_react_response.py +0 -0
  174. {basistheoryclient-4.0.0 → basistheoryclient-4.2.0}/src/basis_theory/types/authenticate_three_ds_session_request.py +0 -0
  175. {basistheoryclient-4.0.0 → basistheoryclient-4.2.0}/src/basis_theory/types/authentication.py +0 -0
  176. {basistheoryclient-4.0.0 → basistheoryclient-4.2.0}/src/basis_theory/types/authentication_response.py +0 -0
  177. {basistheoryclient-4.0.0 → basistheoryclient-4.2.0}/src/basis_theory/types/bank_details.py +0 -0
  178. {basistheoryclient-4.0.0 → basistheoryclient-4.2.0}/src/basis_theory/types/bank_verification_response.py +0 -0
  179. {basistheoryclient-4.0.0 → basistheoryclient-4.2.0}/src/basis_theory/types/bin_details.py +0 -0
  180. {basistheoryclient-4.0.0 → basistheoryclient-4.2.0}/src/basis_theory/types/bin_details_bank.py +0 -0
  181. {basistheoryclient-4.0.0 → basistheoryclient-4.2.0}/src/basis_theory/types/bin_details_country.py +0 -0
  182. {basistheoryclient-4.0.0 → basistheoryclient-4.2.0}/src/basis_theory/types/bin_details_product.py +0 -0
  183. {basistheoryclient-4.0.0 → basistheoryclient-4.2.0}/src/basis_theory/types/card.py +0 -0
  184. {basistheoryclient-4.0.0 → basistheoryclient-4.2.0}/src/basis_theory/types/card_details.py +0 -0
  185. {basistheoryclient-4.0.0 → basistheoryclient-4.2.0}/src/basis_theory/types/card_issuer.py +0 -0
  186. {basistheoryclient-4.0.0 → basistheoryclient-4.2.0}/src/basis_theory/types/card_issuer_country.py +0 -0
  187. {basistheoryclient-4.0.0 → basistheoryclient-4.2.0}/src/basis_theory/types/card_issuer_details.py +0 -0
  188. {basistheoryclient-4.0.0 → basistheoryclient-4.2.0}/src/basis_theory/types/cardholder_info.py +0 -0
  189. {basistheoryclient-4.0.0 → basistheoryclient-4.2.0}/src/basis_theory/types/client_encryption_key_metadata_response.py +0 -0
  190. {basistheoryclient-4.0.0 → basistheoryclient-4.2.0}/src/basis_theory/types/client_encryption_key_response.py +0 -0
  191. {basistheoryclient-4.0.0 → basistheoryclient-4.2.0}/src/basis_theory/types/condition.py +0 -0
  192. {basistheoryclient-4.0.0 → basistheoryclient-4.2.0}/src/basis_theory/types/create_account_updater_job_request.py +0 -0
  193. {basistheoryclient-4.0.0 → basistheoryclient-4.2.0}/src/basis_theory/types/create_document_request.py +0 -0
  194. {basistheoryclient-4.0.0 → basistheoryclient-4.2.0}/src/basis_theory/types/create_reactor_formula_request.py +0 -0
  195. {basistheoryclient-4.0.0 → basistheoryclient-4.2.0}/src/basis_theory/types/create_session_response.py +0 -0
  196. {basistheoryclient-4.0.0 → basistheoryclient-4.2.0}/src/basis_theory/types/create_tenant_connection_response.py +0 -0
  197. {basistheoryclient-4.0.0 → basistheoryclient-4.2.0}/src/basis_theory/types/create_three_ds_session_response.py +0 -0
  198. {basistheoryclient-4.0.0 → basistheoryclient-4.2.0}/src/basis_theory/types/create_token_intent_response.py +0 -0
  199. {basistheoryclient-4.0.0 → basistheoryclient-4.2.0}/src/basis_theory/types/create_token_request.py +0 -0
  200. {basistheoryclient-4.0.0 → basistheoryclient-4.2.0}/src/basis_theory/types/cursor_pagination.py +0 -0
  201. {basistheoryclient-4.0.0 → basistheoryclient-4.2.0}/src/basis_theory/types/document.py +0 -0
  202. {basistheoryclient-4.0.0 → basistheoryclient-4.2.0}/src/basis_theory/types/domain_registration_response.py +0 -0
  203. {basistheoryclient-4.0.0 → basistheoryclient-4.2.0}/src/basis_theory/types/event_types.py +0 -0
  204. {basistheoryclient-4.0.0 → basistheoryclient-4.2.0}/src/basis_theory/types/get_applications.py +0 -0
  205. {basistheoryclient-4.0.0 → basistheoryclient-4.2.0}/src/basis_theory/types/get_logs.py +0 -0
  206. {basistheoryclient-4.0.0 → basistheoryclient-4.2.0}/src/basis_theory/types/get_permissions.py +0 -0
  207. {basistheoryclient-4.0.0 → basistheoryclient-4.2.0}/src/basis_theory/types/get_proxies.py +0 -0
  208. {basistheoryclient-4.0.0 → basistheoryclient-4.2.0}/src/basis_theory/types/get_reactor_formulas.py +0 -0
  209. {basistheoryclient-4.0.0 → basistheoryclient-4.2.0}/src/basis_theory/types/get_reactors.py +0 -0
  210. {basistheoryclient-4.0.0 → basistheoryclient-4.2.0}/src/basis_theory/types/get_tenant_invitations.py +0 -0
  211. {basistheoryclient-4.0.0 → basistheoryclient-4.2.0}/src/basis_theory/types/get_tenant_members.py +0 -0
  212. {basistheoryclient-4.0.0 → basistheoryclient-4.2.0}/src/basis_theory/types/get_tokens_v2.py +0 -0
  213. {basistheoryclient-4.0.0 → basistheoryclient-4.2.0}/src/basis_theory/types/google_pay_create_response.py +0 -0
  214. {basistheoryclient-4.0.0 → basistheoryclient-4.2.0}/src/basis_theory/types/google_pay_method_token.py +0 -0
  215. {basistheoryclient-4.0.0 → basistheoryclient-4.2.0}/src/basis_theory/types/google_pay_token.py +0 -0
  216. {basistheoryclient-4.0.0 → basistheoryclient-4.2.0}/src/basis_theory/types/google_pay_tokenize_request.py +0 -0
  217. {basistheoryclient-4.0.0 → basistheoryclient-4.2.0}/src/basis_theory/types/google_pay_tokenize_response.py +0 -0
  218. {basistheoryclient-4.0.0 → basistheoryclient-4.2.0}/src/basis_theory/types/header.py +0 -0
  219. {basistheoryclient-4.0.0 → basistheoryclient-4.2.0}/src/basis_theory/types/intermediate_signing_key.py +0 -0
  220. {basistheoryclient-4.0.0 → basistheoryclient-4.2.0}/src/basis_theory/types/log.py +0 -0
  221. {basistheoryclient-4.0.0 → basistheoryclient-4.2.0}/src/basis_theory/types/log_entity_type.py +0 -0
  222. {basistheoryclient-4.0.0 → basistheoryclient-4.2.0}/src/basis_theory/types/log_paginated_list.py +0 -0
  223. {basistheoryclient-4.0.0 → basistheoryclient-4.2.0}/src/basis_theory/types/network_token.py +0 -0
  224. {basistheoryclient-4.0.0 → basistheoryclient-4.2.0}/src/basis_theory/types/network_token_cryptogram.py +0 -0
  225. {basistheoryclient-4.0.0 → basistheoryclient-4.2.0}/src/basis_theory/types/network_token_extras.py +0 -0
  226. {basistheoryclient-4.0.0 → basistheoryclient-4.2.0}/src/basis_theory/types/pagination.py +0 -0
  227. {basistheoryclient-4.0.0 → basistheoryclient-4.2.0}/src/basis_theory/types/payment_data.py +0 -0
  228. {basistheoryclient-4.0.0 → basistheoryclient-4.2.0}/src/basis_theory/types/permission.py +0 -0
  229. {basistheoryclient-4.0.0 → basistheoryclient-4.2.0}/src/basis_theory/types/privacy.py +0 -0
  230. {basistheoryclient-4.0.0 → basistheoryclient-4.2.0}/src/basis_theory/types/problem_details.py +0 -0
  231. {basistheoryclient-4.0.0 → basistheoryclient-4.2.0}/src/basis_theory/types/proxy.py +0 -0
  232. {basistheoryclient-4.0.0 → basistheoryclient-4.2.0}/src/basis_theory/types/proxy_paginated_list.py +0 -0
  233. {basistheoryclient-4.0.0 → basistheoryclient-4.2.0}/src/basis_theory/types/proxy_transform.py +0 -0
  234. {basistheoryclient-4.0.0 → basistheoryclient-4.2.0}/src/basis_theory/types/public_key.py +0 -0
  235. {basistheoryclient-4.0.0 → basistheoryclient-4.2.0}/src/basis_theory/types/react_response.py +0 -0
  236. {basistheoryclient-4.0.0 → basistheoryclient-4.2.0}/src/basis_theory/types/reactor_formula.py +0 -0
  237. {basistheoryclient-4.0.0 → basistheoryclient-4.2.0}/src/basis_theory/types/reactor_formula_configuration.py +0 -0
  238. {basistheoryclient-4.0.0 → basistheoryclient-4.2.0}/src/basis_theory/types/reactor_formula_paginated_list.py +0 -0
  239. {basistheoryclient-4.0.0 → basistheoryclient-4.2.0}/src/basis_theory/types/reactor_formula_request_parameter.py +0 -0
  240. {basistheoryclient-4.0.0 → basistheoryclient-4.2.0}/src/basis_theory/types/reactor_paginated_list.py +0 -0
  241. {basistheoryclient-4.0.0 → basistheoryclient-4.2.0}/src/basis_theory/types/role.py +0 -0
  242. {basistheoryclient-4.0.0 → basistheoryclient-4.2.0}/src/basis_theory/types/string_string_key_value_pair.py +0 -0
  243. {basistheoryclient-4.0.0 → basistheoryclient-4.2.0}/src/basis_theory/types/submerchant_authentication_response.py +0 -0
  244. {basistheoryclient-4.0.0 → basistheoryclient-4.2.0}/src/basis_theory/types/tenant.py +0 -0
  245. {basistheoryclient-4.0.0 → basistheoryclient-4.2.0}/src/basis_theory/types/tenant_connection_options.py +0 -0
  246. {basistheoryclient-4.0.0 → basistheoryclient-4.2.0}/src/basis_theory/types/tenant_invitation_response.py +0 -0
  247. {basistheoryclient-4.0.0 → basistheoryclient-4.2.0}/src/basis_theory/types/tenant_invitation_response_paginated_list.py +0 -0
  248. {basistheoryclient-4.0.0 → basistheoryclient-4.2.0}/src/basis_theory/types/tenant_invitation_status.py +0 -0
  249. {basistheoryclient-4.0.0 → basistheoryclient-4.2.0}/src/basis_theory/types/tenant_member_response.py +0 -0
  250. {basistheoryclient-4.0.0 → basistheoryclient-4.2.0}/src/basis_theory/types/tenant_member_response_paginated_list.py +0 -0
  251. {basistheoryclient-4.0.0 → basistheoryclient-4.2.0}/src/basis_theory/types/tenant_usage_report.py +0 -0
  252. {basistheoryclient-4.0.0 → basistheoryclient-4.2.0}/src/basis_theory/types/three_ds_acs_rendering_type.py +0 -0
  253. {basistheoryclient-4.0.0 → basistheoryclient-4.2.0}/src/basis_theory/types/three_ds_address.py +0 -0
  254. {basistheoryclient-4.0.0 → basistheoryclient-4.2.0}/src/basis_theory/types/three_ds_authentication.py +0 -0
  255. {basistheoryclient-4.0.0 → basistheoryclient-4.2.0}/src/basis_theory/types/three_ds_cardholder_account_info.py +0 -0
  256. {basistheoryclient-4.0.0 → basistheoryclient-4.2.0}/src/basis_theory/types/three_ds_cardholder_authentication_info.py +0 -0
  257. {basistheoryclient-4.0.0 → basistheoryclient-4.2.0}/src/basis_theory/types/three_ds_cardholder_info.py +0 -0
  258. {basistheoryclient-4.0.0 → basistheoryclient-4.2.0}/src/basis_theory/types/three_ds_cardholder_phone_number.py +0 -0
  259. {basistheoryclient-4.0.0 → basistheoryclient-4.2.0}/src/basis_theory/types/three_ds_device_info.py +0 -0
  260. {basistheoryclient-4.0.0 → basistheoryclient-4.2.0}/src/basis_theory/types/three_ds_merchant_info.py +0 -0
  261. {basistheoryclient-4.0.0 → basistheoryclient-4.2.0}/src/basis_theory/types/three_ds_merchant_risk_info.py +0 -0
  262. {basistheoryclient-4.0.0 → basistheoryclient-4.2.0}/src/basis_theory/types/three_ds_message_extension.py +0 -0
  263. {basistheoryclient-4.0.0 → basistheoryclient-4.2.0}/src/basis_theory/types/three_ds_method.py +0 -0
  264. {basistheoryclient-4.0.0 → basistheoryclient-4.2.0}/src/basis_theory/types/three_ds_mobile_sdk_render_options.py +0 -0
  265. {basistheoryclient-4.0.0 → basistheoryclient-4.2.0}/src/basis_theory/types/three_ds_prior_authentication_info.py +0 -0
  266. {basistheoryclient-4.0.0 → basistheoryclient-4.2.0}/src/basis_theory/types/three_ds_purchase_info.py +0 -0
  267. {basistheoryclient-4.0.0 → basistheoryclient-4.2.0}/src/basis_theory/types/three_ds_requestor_info.py +0 -0
  268. {basistheoryclient-4.0.0 → basistheoryclient-4.2.0}/src/basis_theory/types/three_ds_session.py +0 -0
  269. {basistheoryclient-4.0.0 → basistheoryclient-4.2.0}/src/basis_theory/types/three_ds_version.py +0 -0
  270. {basistheoryclient-4.0.0 → basistheoryclient-4.2.0}/src/basis_theory/types/token.py +0 -0
  271. {basistheoryclient-4.0.0 → basistheoryclient-4.2.0}/src/basis_theory/types/token_authentication.py +0 -0
  272. {basistheoryclient-4.0.0 → basistheoryclient-4.2.0}/src/basis_theory/types/token_cursor_paginated_list.py +0 -0
  273. {basistheoryclient-4.0.0 → basistheoryclient-4.2.0}/src/basis_theory/types/token_enrichments.py +0 -0
  274. {basistheoryclient-4.0.0 → basistheoryclient-4.2.0}/src/basis_theory/types/token_enrichments_card_details.py +0 -0
  275. {basistheoryclient-4.0.0 → basistheoryclient-4.2.0}/src/basis_theory/types/token_extras.py +0 -0
  276. {basistheoryclient-4.0.0 → basistheoryclient-4.2.0}/src/basis_theory/types/token_intent.py +0 -0
  277. {basistheoryclient-4.0.0 → basistheoryclient-4.2.0}/src/basis_theory/types/token_intent_extras.py +0 -0
  278. {basistheoryclient-4.0.0 → basistheoryclient-4.2.0}/src/basis_theory/types/token_service_provider_details.py +0 -0
  279. {basistheoryclient-4.0.0 → basistheoryclient-4.2.0}/src/basis_theory/types/update_privacy.py +0 -0
  280. {basistheoryclient-4.0.0 → basistheoryclient-4.2.0}/src/basis_theory/types/update_reactor_formula_request.py +0 -0
  281. {basistheoryclient-4.0.0 → basistheoryclient-4.2.0}/src/basis_theory/types/user.py +0 -0
  282. {basistheoryclient-4.0.0 → basistheoryclient-4.2.0}/src/basis_theory/types/validation_problem_details.py +0 -0
  283. {basistheoryclient-4.0.0 → basistheoryclient-4.2.0}/src/basis_theory/types/webhook.py +0 -0
  284. {basistheoryclient-4.0.0 → basistheoryclient-4.2.0}/src/basis_theory/types/webhook_list.py +0 -0
  285. {basistheoryclient-4.0.0 → basistheoryclient-4.2.0}/src/basis_theory/types/webhook_list_pagination.py +0 -0
  286. {basistheoryclient-4.0.0 → basistheoryclient-4.2.0}/src/basis_theory/types/webhook_status.py +0 -0
  287. {basistheoryclient-4.0.0 → basistheoryclient-4.2.0}/src/basis_theory/version.py +0 -0
  288. {basistheoryclient-4.0.0 → basistheoryclient-4.2.0}/src/basis_theory/webhooks/__init__.py +0 -0
  289. {basistheoryclient-4.0.0 → basistheoryclient-4.2.0}/src/basis_theory/webhooks/client.py +0 -0
  290. {basistheoryclient-4.0.0 → basistheoryclient-4.2.0}/src/basis_theory/webhooks/events/__init__.py +0 -0
  291. {basistheoryclient-4.0.0 → basistheoryclient-4.2.0}/src/basis_theory/webhooks/events/client.py +0 -0
  292. {basistheoryclient-4.0.0 → basistheoryclient-4.2.0}/src/basis_theory/webhooks/events/raw_client.py +0 -0
  293. {basistheoryclient-4.0.0 → basistheoryclient-4.2.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: 4.0.0
3
+ Version: 4.2.0
4
4
  Summary:
5
5
  License: Apache-2.0
6
6
  Requires-Python: >=3.8,<4.0
@@ -34,6 +34,22 @@ Description-Content-Type: text/markdown
34
34
 
35
35
  The BasisTheory Python library provides convenient access to the BasisTheory APIs from Python.
36
36
 
37
+ ## Table of Contents
38
+
39
+ - [Documentation](#documentation)
40
+ - [Installation](#installation)
41
+ - [Usage](#usage)
42
+ - [Async Client](#async-client)
43
+ - [Exception Handling](#exception-handling)
44
+ - [Pagination](#pagination)
45
+ - [Advanced](#advanced)
46
+ - [Access Raw Response Data](#access-raw-response-data)
47
+ - [Retries](#retries)
48
+ - [Timeouts](#timeouts)
49
+ - [Custom Client](#custom-client)
50
+ - [Contributing](#contributing)
51
+ - [Reference](#reference)
52
+
37
53
  ## Documentation
38
54
 
39
55
  API reference documentation is available [here](https://api.basistheory.com).
@@ -5,6 +5,22 @@
5
5
 
6
6
  The BasisTheory Python library provides convenient access to the BasisTheory APIs from Python.
7
7
 
8
+ ## Table of Contents
9
+
10
+ - [Documentation](#documentation)
11
+ - [Installation](#installation)
12
+ - [Usage](#usage)
13
+ - [Async Client](#async-client)
14
+ - [Exception Handling](#exception-handling)
15
+ - [Pagination](#pagination)
16
+ - [Advanced](#advanced)
17
+ - [Access Raw Response Data](#access-raw-response-data)
18
+ - [Retries](#retries)
19
+ - [Timeouts](#timeouts)
20
+ - [Custom Client](#custom-client)
21
+ - [Contributing](#contributing)
22
+ - [Reference](#reference)
23
+
8
24
  ## Documentation
9
25
 
10
26
  API reference documentation is available [here](https://api.basistheory.com).
@@ -3,7 +3,7 @@ name = "BasisTheoryClient"
3
3
 
4
4
  [tool.poetry]
5
5
  name = "BasisTheoryClient"
6
- version = "4.0.0"
6
+ version = "4.2.0"
7
7
  description = ""
8
8
  readme = "README.md"
9
9
  authors = []
@@ -15,6 +15,7 @@ from .types import (
15
15
  ApplePayCreateResponse,
16
16
  ApplePayDomainRegistrationResponse,
17
17
  ApplePayMerchant,
18
+ ApplePayMerchantCertificates,
18
19
  ApplePayMethodToken,
19
20
  ApplePayToken,
20
21
  ApplePayTokenizeRequest,
@@ -35,6 +36,7 @@ from .types import (
35
36
  BinDetailsCountry,
36
37
  BinDetailsProduct,
37
38
  Card,
39
+ CardBinRange,
38
40
  CardDetails,
39
41
  CardDetailsResponse,
40
42
  CardIssuer,
@@ -66,6 +68,8 @@ from .types import (
66
68
  GetTenantMembers,
67
69
  GetTokensV2,
68
70
  GooglePayCreateResponse,
71
+ GooglePayMerchant,
72
+ GooglePayMerchantCertificates,
69
73
  GooglePayMethodToken,
70
74
  GooglePayToken,
71
75
  GooglePayTokenizeRequest,
@@ -96,7 +100,7 @@ from .types import (
96
100
  ReactorFormulaRequestParameter,
97
101
  ReactorPaginatedList,
98
102
  Role,
99
- RuntimeOptions,
103
+ Runtime,
100
104
  StringStringKeyValuePair,
101
105
  SubmerchantAuthenticationResponse,
102
106
  Tenant,
@@ -110,6 +114,7 @@ from .types import (
110
114
  ThreeDsAcsRenderingType,
111
115
  ThreeDsAddress,
112
116
  ThreeDsAuthentication,
117
+ ThreeDsBrandingOptions,
113
118
  ThreeDsCallbackUrls,
114
119
  ThreeDsCardholderAccountInfo,
115
120
  ThreeDsCardholderAuthenticationInfo,
@@ -194,6 +199,7 @@ __all__ = [
194
199
  "ApplePayCreateResponse",
195
200
  "ApplePayDomainRegistrationResponse",
196
201
  "ApplePayMerchant",
202
+ "ApplePayMerchantCertificates",
197
203
  "ApplePayMethodToken",
198
204
  "ApplePayToken",
199
205
  "ApplePayTokenizeRequest",
@@ -218,6 +224,7 @@ __all__ = [
218
224
  "BinDetailsCountry",
219
225
  "BinDetailsProduct",
220
226
  "Card",
227
+ "CardBinRange",
221
228
  "CardDetails",
222
229
  "CardDetailsResponse",
223
230
  "CardIssuer",
@@ -251,6 +258,8 @@ __all__ = [
251
258
  "GetTenantMembers",
252
259
  "GetTokensV2",
253
260
  "GooglePayCreateResponse",
261
+ "GooglePayMerchant",
262
+ "GooglePayMerchantCertificates",
254
263
  "GooglePayMethodToken",
255
264
  "GooglePayToken",
256
265
  "GooglePayTokenizeRequest",
@@ -283,7 +292,7 @@ __all__ = [
283
292
  "ReactorFormulaRequestParameter",
284
293
  "ReactorPaginatedList",
285
294
  "Role",
286
- "RuntimeOptions",
295
+ "Runtime",
287
296
  "ServiceUnavailableError",
288
297
  "StringStringKeyValuePair",
289
298
  "SubmerchantAuthenticationResponse",
@@ -298,6 +307,7 @@ __all__ = [
298
307
  "ThreeDsAcsRenderingType",
299
308
  "ThreeDsAddress",
300
309
  "ThreeDsAuthentication",
310
+ "ThreeDsBrandingOptions",
301
311
  "ThreeDsCallbackUrls",
302
312
  "ThreeDsCardholderAccountInfo",
303
313
  "ThreeDsCardholderAuthenticationInfo",
@@ -41,6 +41,7 @@ class ApplePayClient:
41
41
  *,
42
42
  expires_at: typing.Optional[str] = OMIT,
43
43
  apple_payment_data: typing.Optional[ApplePayMethodToken] = OMIT,
44
+ merchant_registration_id: typing.Optional[str] = OMIT,
44
45
  request_options: typing.Optional[RequestOptions] = None,
45
46
  ) -> ApplePayCreateResponse:
46
47
  """
@@ -50,6 +51,8 @@ class ApplePayClient:
50
51
 
51
52
  apple_payment_data : typing.Optional[ApplePayMethodToken]
52
53
 
54
+ merchant_registration_id : typing.Optional[str]
55
+
53
56
  request_options : typing.Optional[RequestOptions]
54
57
  Request-specific configuration.
55
58
 
@@ -69,7 +72,10 @@ class ApplePayClient:
69
72
  client.apple_pay.create()
70
73
  """
71
74
  _response = self._raw_client.create(
72
- expires_at=expires_at, apple_payment_data=apple_payment_data, request_options=request_options
75
+ expires_at=expires_at,
76
+ apple_payment_data=apple_payment_data,
77
+ merchant_registration_id=merchant_registration_id,
78
+ request_options=request_options,
73
79
  )
74
80
  return _response.data
75
81
 
@@ -157,6 +163,7 @@ class AsyncApplePayClient:
157
163
  *,
158
164
  expires_at: typing.Optional[str] = OMIT,
159
165
  apple_payment_data: typing.Optional[ApplePayMethodToken] = OMIT,
166
+ merchant_registration_id: typing.Optional[str] = OMIT,
160
167
  request_options: typing.Optional[RequestOptions] = None,
161
168
  ) -> ApplePayCreateResponse:
162
169
  """
@@ -166,6 +173,8 @@ class AsyncApplePayClient:
166
173
 
167
174
  apple_payment_data : typing.Optional[ApplePayMethodToken]
168
175
 
176
+ merchant_registration_id : typing.Optional[str]
177
+
169
178
  request_options : typing.Optional[RequestOptions]
170
179
  Request-specific configuration.
171
180
 
@@ -193,7 +202,10 @@ class AsyncApplePayClient:
193
202
  asyncio.run(main())
194
203
  """
195
204
  _response = await self._raw_client.create(
196
- expires_at=expires_at, apple_payment_data=apple_payment_data, request_options=request_options
205
+ expires_at=expires_at,
206
+ apple_payment_data=apple_payment_data,
207
+ merchant_registration_id=merchant_registration_id,
208
+ request_options=request_options,
197
209
  )
198
210
  return _response.data
199
211
 
@@ -0,0 +1,7 @@
1
+ # This file was auto-generated by Fern from our API Definition.
2
+
3
+ # isort: skip_file
4
+
5
+ from . import certificates
6
+
7
+ __all__ = ["certificates"]
@@ -0,0 +1,313 @@
1
+ # This file was auto-generated by Fern from our API Definition.
2
+
3
+ import typing
4
+
5
+ from ....core.client_wrapper import AsyncClientWrapper, SyncClientWrapper
6
+ from ....core.request_options import RequestOptions
7
+ from ....types.apple_pay_merchant_certificates import ApplePayMerchantCertificates
8
+ from .raw_client import AsyncRawCertificatesClient, RawCertificatesClient
9
+
10
+ # this is used as the default value for optional parameters
11
+ OMIT = typing.cast(typing.Any, ...)
12
+
13
+
14
+ class CertificatesClient:
15
+ def __init__(self, *, client_wrapper: SyncClientWrapper):
16
+ self._raw_client = RawCertificatesClient(client_wrapper=client_wrapper)
17
+
18
+ @property
19
+ def with_raw_response(self) -> RawCertificatesClient:
20
+ """
21
+ Retrieves a raw implementation of this client that returns raw responses.
22
+
23
+ Returns
24
+ -------
25
+ RawCertificatesClient
26
+ """
27
+ return self._raw_client
28
+
29
+ def get(
30
+ self, merchant_id: str, id: str, *, request_options: typing.Optional[RequestOptions] = None
31
+ ) -> ApplePayMerchantCertificates:
32
+ """
33
+ Parameters
34
+ ----------
35
+ merchant_id : str
36
+
37
+ id : str
38
+
39
+ request_options : typing.Optional[RequestOptions]
40
+ Request-specific configuration.
41
+
42
+ Returns
43
+ -------
44
+ ApplePayMerchantCertificates
45
+ Success
46
+
47
+ Examples
48
+ --------
49
+ from basis_theory import BasisTheory
50
+
51
+ client = BasisTheory(
52
+ correlation_id="YOUR_CORRELATION_ID",
53
+ api_key="YOUR_API_KEY",
54
+ )
55
+ client.apple_pay.merchant.certificates.get(
56
+ merchant_id="merchantId",
57
+ id="id",
58
+ )
59
+ """
60
+ _response = self._raw_client.get(merchant_id, id, request_options=request_options)
61
+ return _response.data
62
+
63
+ def delete(self, merchant_id: str, id: str, *, request_options: typing.Optional[RequestOptions] = None) -> None:
64
+ """
65
+ Parameters
66
+ ----------
67
+ merchant_id : str
68
+
69
+ id : str
70
+
71
+ request_options : typing.Optional[RequestOptions]
72
+ Request-specific configuration.
73
+
74
+ Returns
75
+ -------
76
+ None
77
+
78
+ Examples
79
+ --------
80
+ from basis_theory import BasisTheory
81
+
82
+ client = BasisTheory(
83
+ correlation_id="YOUR_CORRELATION_ID",
84
+ api_key="YOUR_API_KEY",
85
+ )
86
+ client.apple_pay.merchant.certificates.delete(
87
+ merchant_id="merchantId",
88
+ id="id",
89
+ )
90
+ """
91
+ _response = self._raw_client.delete(merchant_id, id, request_options=request_options)
92
+ return _response.data
93
+
94
+ def create(
95
+ self,
96
+ merchant_id: str,
97
+ *,
98
+ merchant_certificate_data: typing.Optional[str] = OMIT,
99
+ merchant_certificate_password: typing.Optional[str] = OMIT,
100
+ payment_processor_certificate_data: typing.Optional[str] = OMIT,
101
+ payment_processor_certificate_password: typing.Optional[str] = OMIT,
102
+ domain: typing.Optional[str] = OMIT,
103
+ request_options: typing.Optional[RequestOptions] = None,
104
+ ) -> ApplePayMerchantCertificates:
105
+ """
106
+ Parameters
107
+ ----------
108
+ merchant_id : str
109
+
110
+ merchant_certificate_data : typing.Optional[str]
111
+
112
+ merchant_certificate_password : typing.Optional[str]
113
+
114
+ payment_processor_certificate_data : typing.Optional[str]
115
+
116
+ payment_processor_certificate_password : typing.Optional[str]
117
+
118
+ domain : typing.Optional[str]
119
+
120
+ request_options : typing.Optional[RequestOptions]
121
+ Request-specific configuration.
122
+
123
+ Returns
124
+ -------
125
+ ApplePayMerchantCertificates
126
+ Success
127
+
128
+ Examples
129
+ --------
130
+ from basis_theory import BasisTheory
131
+
132
+ client = BasisTheory(
133
+ correlation_id="YOUR_CORRELATION_ID",
134
+ api_key="YOUR_API_KEY",
135
+ )
136
+ client.apple_pay.merchant.certificates.create(
137
+ merchant_id="merchantId",
138
+ )
139
+ """
140
+ _response = self._raw_client.create(
141
+ merchant_id,
142
+ merchant_certificate_data=merchant_certificate_data,
143
+ merchant_certificate_password=merchant_certificate_password,
144
+ payment_processor_certificate_data=payment_processor_certificate_data,
145
+ payment_processor_certificate_password=payment_processor_certificate_password,
146
+ domain=domain,
147
+ request_options=request_options,
148
+ )
149
+ return _response.data
150
+
151
+
152
+ class AsyncCertificatesClient:
153
+ def __init__(self, *, client_wrapper: AsyncClientWrapper):
154
+ self._raw_client = AsyncRawCertificatesClient(client_wrapper=client_wrapper)
155
+
156
+ @property
157
+ def with_raw_response(self) -> AsyncRawCertificatesClient:
158
+ """
159
+ Retrieves a raw implementation of this client that returns raw responses.
160
+
161
+ Returns
162
+ -------
163
+ AsyncRawCertificatesClient
164
+ """
165
+ return self._raw_client
166
+
167
+ async def get(
168
+ self, merchant_id: str, id: str, *, request_options: typing.Optional[RequestOptions] = None
169
+ ) -> ApplePayMerchantCertificates:
170
+ """
171
+ Parameters
172
+ ----------
173
+ merchant_id : str
174
+
175
+ id : str
176
+
177
+ request_options : typing.Optional[RequestOptions]
178
+ Request-specific configuration.
179
+
180
+ Returns
181
+ -------
182
+ ApplePayMerchantCertificates
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.apple_pay.merchant.certificates.get(
199
+ merchant_id="merchantId",
200
+ id="id",
201
+ )
202
+
203
+
204
+ asyncio.run(main())
205
+ """
206
+ _response = await self._raw_client.get(merchant_id, id, request_options=request_options)
207
+ return _response.data
208
+
209
+ async def delete(
210
+ self, merchant_id: str, id: str, *, request_options: typing.Optional[RequestOptions] = None
211
+ ) -> None:
212
+ """
213
+ Parameters
214
+ ----------
215
+ merchant_id : str
216
+
217
+ id : str
218
+
219
+ request_options : typing.Optional[RequestOptions]
220
+ Request-specific configuration.
221
+
222
+ Returns
223
+ -------
224
+ None
225
+
226
+ Examples
227
+ --------
228
+ import asyncio
229
+
230
+ from basis_theory import AsyncBasisTheory
231
+
232
+ client = AsyncBasisTheory(
233
+ correlation_id="YOUR_CORRELATION_ID",
234
+ api_key="YOUR_API_KEY",
235
+ )
236
+
237
+
238
+ async def main() -> None:
239
+ await client.apple_pay.merchant.certificates.delete(
240
+ merchant_id="merchantId",
241
+ id="id",
242
+ )
243
+
244
+
245
+ asyncio.run(main())
246
+ """
247
+ _response = await self._raw_client.delete(merchant_id, id, request_options=request_options)
248
+ return _response.data
249
+
250
+ async def create(
251
+ self,
252
+ merchant_id: str,
253
+ *,
254
+ merchant_certificate_data: typing.Optional[str] = OMIT,
255
+ merchant_certificate_password: typing.Optional[str] = OMIT,
256
+ payment_processor_certificate_data: typing.Optional[str] = OMIT,
257
+ payment_processor_certificate_password: typing.Optional[str] = OMIT,
258
+ domain: typing.Optional[str] = OMIT,
259
+ request_options: typing.Optional[RequestOptions] = None,
260
+ ) -> ApplePayMerchantCertificates:
261
+ """
262
+ Parameters
263
+ ----------
264
+ merchant_id : str
265
+
266
+ merchant_certificate_data : typing.Optional[str]
267
+
268
+ merchant_certificate_password : typing.Optional[str]
269
+
270
+ payment_processor_certificate_data : typing.Optional[str]
271
+
272
+ payment_processor_certificate_password : typing.Optional[str]
273
+
274
+ domain : typing.Optional[str]
275
+
276
+ request_options : typing.Optional[RequestOptions]
277
+ Request-specific configuration.
278
+
279
+ Returns
280
+ -------
281
+ ApplePayMerchantCertificates
282
+ Success
283
+
284
+ Examples
285
+ --------
286
+ import asyncio
287
+
288
+ from basis_theory import AsyncBasisTheory
289
+
290
+ client = AsyncBasisTheory(
291
+ correlation_id="YOUR_CORRELATION_ID",
292
+ api_key="YOUR_API_KEY",
293
+ )
294
+
295
+
296
+ async def main() -> None:
297
+ await client.apple_pay.merchant.certificates.create(
298
+ merchant_id="merchantId",
299
+ )
300
+
301
+
302
+ asyncio.run(main())
303
+ """
304
+ _response = await self._raw_client.create(
305
+ merchant_id,
306
+ merchant_certificate_data=merchant_certificate_data,
307
+ merchant_certificate_password=merchant_certificate_password,
308
+ payment_processor_certificate_data=payment_processor_certificate_data,
309
+ payment_processor_certificate_password=payment_processor_certificate_password,
310
+ domain=domain,
311
+ request_options=request_options,
312
+ )
313
+ return _response.data