BasisTheoryClient 5.2.0__tar.gz → 5.3.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 (301) hide show
  1. {basistheoryclient-5.2.0 → basistheoryclient-5.3.0}/PKG-INFO +1 -1
  2. {basistheoryclient-5.2.0 → basistheoryclient-5.3.0}/pyproject.toml +1 -1
  3. {basistheoryclient-5.2.0 → basistheoryclient-5.3.0}/src/basis_theory/__init__.py +2 -0
  4. {basistheoryclient-5.2.0 → basistheoryclient-5.3.0}/src/basis_theory/tenants/__init__.py +2 -2
  5. {basistheoryclient-5.2.0 → basistheoryclient-5.3.0}/src/basis_theory/tenants/client.py +5 -0
  6. basistheoryclient-5.3.0/src/basis_theory/tenants/security_contact/client.py +171 -0
  7. basistheoryclient-5.3.0/src/basis_theory/tenants/security_contact/raw_client.py +316 -0
  8. {basistheoryclient-5.2.0 → basistheoryclient-5.3.0}/src/basis_theory/types/__init__.py +2 -0
  9. {basistheoryclient-5.2.0 → basistheoryclient-5.3.0}/src/basis_theory/types/runtime.py +1 -0
  10. basistheoryclient-5.3.0/src/basis_theory/types/security_contact_email_response.py +19 -0
  11. basistheoryclient-5.3.0/src/basis_theory/webhooks/events/__init__.py +4 -0
  12. {basistheoryclient-5.2.0 → basistheoryclient-5.3.0}/LICENSE +0 -0
  13. {basistheoryclient-5.2.0 → basistheoryclient-5.3.0}/README.md +0 -0
  14. {basistheoryclient-5.2.0 → basistheoryclient-5.3.0}/src/basis_theory/account_updater/__init__.py +0 -0
  15. {basistheoryclient-5.2.0 → basistheoryclient-5.3.0}/src/basis_theory/account_updater/client.py +0 -0
  16. {basistheoryclient-5.2.0 → basistheoryclient-5.3.0}/src/basis_theory/account_updater/jobs/__init__.py +0 -0
  17. {basistheoryclient-5.2.0 → basistheoryclient-5.3.0}/src/basis_theory/account_updater/jobs/client.py +0 -0
  18. {basistheoryclient-5.2.0 → basistheoryclient-5.3.0}/src/basis_theory/account_updater/jobs/raw_client.py +0 -0
  19. {basistheoryclient-5.2.0 → basistheoryclient-5.3.0}/src/basis_theory/account_updater/raw_client.py +0 -0
  20. {basistheoryclient-5.2.0 → basistheoryclient-5.3.0}/src/basis_theory/account_updater/real_time/__init__.py +0 -0
  21. {basistheoryclient-5.2.0 → basistheoryclient-5.3.0}/src/basis_theory/account_updater/real_time/client.py +0 -0
  22. {basistheoryclient-5.2.0 → basistheoryclient-5.3.0}/src/basis_theory/account_updater/real_time/raw_client.py +0 -0
  23. {basistheoryclient-5.2.0 → basistheoryclient-5.3.0}/src/basis_theory/apple_pay/__init__.py +0 -0
  24. {basistheoryclient-5.2.0 → basistheoryclient-5.3.0}/src/basis_theory/apple_pay/client.py +0 -0
  25. {basistheoryclient-5.2.0 → basistheoryclient-5.3.0}/src/basis_theory/apple_pay/domain/__init__.py +0 -0
  26. {basistheoryclient-5.2.0 → basistheoryclient-5.3.0}/src/basis_theory/apple_pay/domain/client.py +0 -0
  27. {basistheoryclient-5.2.0 → basistheoryclient-5.3.0}/src/basis_theory/apple_pay/domain/raw_client.py +0 -0
  28. {basistheoryclient-5.2.0 → basistheoryclient-5.3.0}/src/basis_theory/apple_pay/merchant/__init__.py +0 -0
  29. {basistheoryclient-5.2.0 → basistheoryclient-5.3.0}/src/basis_theory/apple_pay/merchant/certificates/__init__.py +0 -0
  30. {basistheoryclient-5.2.0 → basistheoryclient-5.3.0}/src/basis_theory/apple_pay/merchant/certificates/client.py +0 -0
  31. {basistheoryclient-5.2.0 → basistheoryclient-5.3.0}/src/basis_theory/apple_pay/merchant/certificates/raw_client.py +0 -0
  32. {basistheoryclient-5.2.0 → basistheoryclient-5.3.0}/src/basis_theory/apple_pay/merchant/client.py +0 -0
  33. {basistheoryclient-5.2.0 → basistheoryclient-5.3.0}/src/basis_theory/apple_pay/merchant/raw_client.py +0 -0
  34. {basistheoryclient-5.2.0 → basistheoryclient-5.3.0}/src/basis_theory/apple_pay/raw_client.py +0 -0
  35. {basistheoryclient-5.2.0 → basistheoryclient-5.3.0}/src/basis_theory/apple_pay/session/__init__.py +0 -0
  36. {basistheoryclient-5.2.0 → basistheoryclient-5.3.0}/src/basis_theory/apple_pay/session/client.py +0 -0
  37. {basistheoryclient-5.2.0 → basistheoryclient-5.3.0}/src/basis_theory/apple_pay/session/raw_client.py +0 -0
  38. {basistheoryclient-5.2.0 → basistheoryclient-5.3.0}/src/basis_theory/application_keys/__init__.py +0 -0
  39. {basistheoryclient-5.2.0 → basistheoryclient-5.3.0}/src/basis_theory/application_keys/client.py +0 -0
  40. {basistheoryclient-5.2.0 → basistheoryclient-5.3.0}/src/basis_theory/application_keys/raw_client.py +0 -0
  41. {basistheoryclient-5.2.0 → basistheoryclient-5.3.0}/src/basis_theory/application_templates/__init__.py +0 -0
  42. {basistheoryclient-5.2.0 → basistheoryclient-5.3.0}/src/basis_theory/application_templates/client.py +0 -0
  43. {basistheoryclient-5.2.0 → basistheoryclient-5.3.0}/src/basis_theory/application_templates/raw_client.py +0 -0
  44. {basistheoryclient-5.2.0 → basistheoryclient-5.3.0}/src/basis_theory/applications/__init__.py +0 -0
  45. {basistheoryclient-5.2.0 → basistheoryclient-5.3.0}/src/basis_theory/applications/client.py +0 -0
  46. {basistheoryclient-5.2.0 → basistheoryclient-5.3.0}/src/basis_theory/applications/raw_client.py +0 -0
  47. {basistheoryclient-5.2.0 → basistheoryclient-5.3.0}/src/basis_theory/client.py +0 -0
  48. {basistheoryclient-5.2.0 → basistheoryclient-5.3.0}/src/basis_theory/core/__init__.py +0 -0
  49. {basistheoryclient-5.2.0 → basistheoryclient-5.3.0}/src/basis_theory/core/api_error.py +0 -0
  50. {basistheoryclient-5.2.0 → basistheoryclient-5.3.0}/src/basis_theory/core/client_wrapper.py +0 -0
  51. {basistheoryclient-5.2.0 → basistheoryclient-5.3.0}/src/basis_theory/core/datetime_utils.py +0 -0
  52. {basistheoryclient-5.2.0 → basistheoryclient-5.3.0}/src/basis_theory/core/file.py +0 -0
  53. {basistheoryclient-5.2.0 → basistheoryclient-5.3.0}/src/basis_theory/core/force_multipart.py +0 -0
  54. {basistheoryclient-5.2.0 → basistheoryclient-5.3.0}/src/basis_theory/core/http_client.py +0 -0
  55. {basistheoryclient-5.2.0 → basistheoryclient-5.3.0}/src/basis_theory/core/http_response.py +0 -0
  56. {basistheoryclient-5.2.0 → basistheoryclient-5.3.0}/src/basis_theory/core/jsonable_encoder.py +0 -0
  57. {basistheoryclient-5.2.0 → basistheoryclient-5.3.0}/src/basis_theory/core/pagination.py +0 -0
  58. {basistheoryclient-5.2.0 → basistheoryclient-5.3.0}/src/basis_theory/core/pydantic_utilities.py +0 -0
  59. {basistheoryclient-5.2.0 → basistheoryclient-5.3.0}/src/basis_theory/core/query_encoder.py +0 -0
  60. {basistheoryclient-5.2.0 → basistheoryclient-5.3.0}/src/basis_theory/core/remove_none_from_dict.py +0 -0
  61. {basistheoryclient-5.2.0 → basistheoryclient-5.3.0}/src/basis_theory/core/request_options.py +0 -0
  62. {basistheoryclient-5.2.0 → basistheoryclient-5.3.0}/src/basis_theory/core/serialization.py +0 -0
  63. {basistheoryclient-5.2.0 → basistheoryclient-5.3.0}/src/basis_theory/documents/__init__.py +0 -0
  64. {basistheoryclient-5.2.0 → basistheoryclient-5.3.0}/src/basis_theory/documents/client.py +0 -0
  65. {basistheoryclient-5.2.0 → basistheoryclient-5.3.0}/src/basis_theory/documents/data/__init__.py +0 -0
  66. {basistheoryclient-5.2.0 → basistheoryclient-5.3.0}/src/basis_theory/documents/data/client.py +0 -0
  67. {basistheoryclient-5.2.0 → basistheoryclient-5.3.0}/src/basis_theory/documents/data/raw_client.py +0 -0
  68. {basistheoryclient-5.2.0 → basistheoryclient-5.3.0}/src/basis_theory/documents/raw_client.py +0 -0
  69. {basistheoryclient-5.2.0 → basistheoryclient-5.3.0}/src/basis_theory/enrichments/__init__.py +0 -0
  70. {basistheoryclient-5.2.0 → basistheoryclient-5.3.0}/src/basis_theory/enrichments/client.py +0 -0
  71. {basistheoryclient-5.2.0 → basistheoryclient-5.3.0}/src/basis_theory/enrichments/raw_client.py +0 -0
  72. {basistheoryclient-5.2.0 → basistheoryclient-5.3.0}/src/basis_theory/environment.py +0 -0
  73. {basistheoryclient-5.2.0 → basistheoryclient-5.3.0}/src/basis_theory/errors/__init__.py +0 -0
  74. {basistheoryclient-5.2.0 → basistheoryclient-5.3.0}/src/basis_theory/errors/bad_request_error.py +0 -0
  75. {basistheoryclient-5.2.0 → basistheoryclient-5.3.0}/src/basis_theory/errors/conflict_error.py +0 -0
  76. {basistheoryclient-5.2.0 → basistheoryclient-5.3.0}/src/basis_theory/errors/forbidden_error.py +0 -0
  77. {basistheoryclient-5.2.0 → basistheoryclient-5.3.0}/src/basis_theory/errors/internal_server_error.py +0 -0
  78. {basistheoryclient-5.2.0 → basistheoryclient-5.3.0}/src/basis_theory/errors/not_found_error.py +0 -0
  79. {basistheoryclient-5.2.0 → basistheoryclient-5.3.0}/src/basis_theory/errors/service_unavailable_error.py +0 -0
  80. {basistheoryclient-5.2.0 → basistheoryclient-5.3.0}/src/basis_theory/errors/unauthorized_error.py +0 -0
  81. {basistheoryclient-5.2.0 → basistheoryclient-5.3.0}/src/basis_theory/errors/unprocessable_entity_error.py +0 -0
  82. {basistheoryclient-5.2.0 → basistheoryclient-5.3.0}/src/basis_theory/google_pay/__init__.py +0 -0
  83. {basistheoryclient-5.2.0 → basistheoryclient-5.3.0}/src/basis_theory/google_pay/client.py +0 -0
  84. {basistheoryclient-5.2.0 → basistheoryclient-5.3.0}/src/basis_theory/google_pay/merchant/__init__.py +0 -0
  85. {basistheoryclient-5.2.0 → basistheoryclient-5.3.0}/src/basis_theory/google_pay/merchant/certificates/__init__.py +0 -0
  86. {basistheoryclient-5.2.0 → basistheoryclient-5.3.0}/src/basis_theory/google_pay/merchant/certificates/client.py +0 -0
  87. {basistheoryclient-5.2.0 → basistheoryclient-5.3.0}/src/basis_theory/google_pay/merchant/certificates/raw_client.py +0 -0
  88. {basistheoryclient-5.2.0 → basistheoryclient-5.3.0}/src/basis_theory/google_pay/merchant/client.py +0 -0
  89. {basistheoryclient-5.2.0 → basistheoryclient-5.3.0}/src/basis_theory/google_pay/merchant/raw_client.py +0 -0
  90. {basistheoryclient-5.2.0 → basistheoryclient-5.3.0}/src/basis_theory/google_pay/raw_client.py +0 -0
  91. {basistheoryclient-5.2.0 → basistheoryclient-5.3.0}/src/basis_theory/keys/__init__.py +0 -0
  92. {basistheoryclient-5.2.0 → basistheoryclient-5.3.0}/src/basis_theory/keys/client.py +0 -0
  93. {basistheoryclient-5.2.0 → basistheoryclient-5.3.0}/src/basis_theory/keys/raw_client.py +0 -0
  94. {basistheoryclient-5.2.0 → basistheoryclient-5.3.0}/src/basis_theory/logs/__init__.py +0 -0
  95. {basistheoryclient-5.2.0 → basistheoryclient-5.3.0}/src/basis_theory/logs/client.py +0 -0
  96. {basistheoryclient-5.2.0 → basistheoryclient-5.3.0}/src/basis_theory/logs/raw_client.py +0 -0
  97. {basistheoryclient-5.2.0 → basistheoryclient-5.3.0}/src/basis_theory/network_tokens/__init__.py +0 -0
  98. {basistheoryclient-5.2.0 → basistheoryclient-5.3.0}/src/basis_theory/network_tokens/client.py +0 -0
  99. {basistheoryclient-5.2.0 → basistheoryclient-5.3.0}/src/basis_theory/network_tokens/raw_client.py +0 -0
  100. {basistheoryclient-5.2.0 → basistheoryclient-5.3.0}/src/basis_theory/permissions/__init__.py +0 -0
  101. {basistheoryclient-5.2.0 → basistheoryclient-5.3.0}/src/basis_theory/permissions/client.py +0 -0
  102. {basistheoryclient-5.2.0 → basistheoryclient-5.3.0}/src/basis_theory/permissions/raw_client.py +0 -0
  103. {basistheoryclient-5.2.0 → basistheoryclient-5.3.0}/src/basis_theory/proxies/__init__.py +0 -0
  104. {basistheoryclient-5.2.0 → basistheoryclient-5.3.0}/src/basis_theory/proxies/client.py +0 -0
  105. {basistheoryclient-5.2.0 → basistheoryclient-5.3.0}/src/basis_theory/proxies/raw_client.py +0 -0
  106. {basistheoryclient-5.2.0 → basistheoryclient-5.3.0}/src/basis_theory/py.typed +0 -0
  107. {basistheoryclient-5.2.0 → basistheoryclient-5.3.0}/src/basis_theory/reactors/__init__.py +0 -0
  108. {basistheoryclient-5.2.0 → basistheoryclient-5.3.0}/src/basis_theory/reactors/client.py +0 -0
  109. {basistheoryclient-5.2.0 → basistheoryclient-5.3.0}/src/basis_theory/reactors/raw_client.py +0 -0
  110. {basistheoryclient-5.2.0 → basistheoryclient-5.3.0}/src/basis_theory/reactors/results/__init__.py +0 -0
  111. {basistheoryclient-5.2.0 → basistheoryclient-5.3.0}/src/basis_theory/reactors/results/client.py +0 -0
  112. {basistheoryclient-5.2.0 → basistheoryclient-5.3.0}/src/basis_theory/reactors/results/raw_client.py +0 -0
  113. {basistheoryclient-5.2.0 → basistheoryclient-5.3.0}/src/basis_theory/roles/__init__.py +0 -0
  114. {basistheoryclient-5.2.0 → basistheoryclient-5.3.0}/src/basis_theory/roles/client.py +0 -0
  115. {basistheoryclient-5.2.0 → basistheoryclient-5.3.0}/src/basis_theory/roles/raw_client.py +0 -0
  116. {basistheoryclient-5.2.0 → basistheoryclient-5.3.0}/src/basis_theory/sessions/__init__.py +0 -0
  117. {basistheoryclient-5.2.0 → basistheoryclient-5.3.0}/src/basis_theory/sessions/client.py +0 -0
  118. {basistheoryclient-5.2.0 → basistheoryclient-5.3.0}/src/basis_theory/sessions/raw_client.py +0 -0
  119. {basistheoryclient-5.2.0 → basistheoryclient-5.3.0}/src/basis_theory/tenants/connections/__init__.py +0 -0
  120. {basistheoryclient-5.2.0 → basistheoryclient-5.3.0}/src/basis_theory/tenants/connections/client.py +0 -0
  121. {basistheoryclient-5.2.0 → basistheoryclient-5.3.0}/src/basis_theory/tenants/connections/raw_client.py +0 -0
  122. {basistheoryclient-5.2.0 → basistheoryclient-5.3.0}/src/basis_theory/tenants/invitations/__init__.py +0 -0
  123. {basistheoryclient-5.2.0 → basistheoryclient-5.3.0}/src/basis_theory/tenants/invitations/client.py +0 -0
  124. {basistheoryclient-5.2.0 → basistheoryclient-5.3.0}/src/basis_theory/tenants/invitations/raw_client.py +0 -0
  125. {basistheoryclient-5.2.0 → basistheoryclient-5.3.0}/src/basis_theory/tenants/members/__init__.py +0 -0
  126. {basistheoryclient-5.2.0 → basistheoryclient-5.3.0}/src/basis_theory/tenants/members/client.py +0 -0
  127. {basistheoryclient-5.2.0 → basistheoryclient-5.3.0}/src/basis_theory/tenants/members/raw_client.py +0 -0
  128. {basistheoryclient-5.2.0 → basistheoryclient-5.3.0}/src/basis_theory/tenants/owner/__init__.py +0 -0
  129. {basistheoryclient-5.2.0 → basistheoryclient-5.3.0}/src/basis_theory/tenants/owner/client.py +0 -0
  130. {basistheoryclient-5.2.0 → basistheoryclient-5.3.0}/src/basis_theory/tenants/owner/raw_client.py +0 -0
  131. {basistheoryclient-5.2.0 → basistheoryclient-5.3.0}/src/basis_theory/tenants/raw_client.py +0 -0
  132. {basistheoryclient-5.2.0/src/basis_theory/tenants/self_ → basistheoryclient-5.3.0/src/basis_theory/tenants/security_contact}/__init__.py +0 -0
  133. {basistheoryclient-5.2.0/src/basis_theory/threeds/sessions → basistheoryclient-5.3.0/src/basis_theory/tenants/self_}/__init__.py +0 -0
  134. {basistheoryclient-5.2.0 → basistheoryclient-5.3.0}/src/basis_theory/tenants/self_/client.py +0 -0
  135. {basistheoryclient-5.2.0 → basistheoryclient-5.3.0}/src/basis_theory/tenants/self_/raw_client.py +0 -0
  136. {basistheoryclient-5.2.0 → basistheoryclient-5.3.0}/src/basis_theory/threeds/__init__.py +0 -0
  137. {basistheoryclient-5.2.0 → basistheoryclient-5.3.0}/src/basis_theory/threeds/client.py +0 -0
  138. {basistheoryclient-5.2.0 → basistheoryclient-5.3.0}/src/basis_theory/threeds/raw_client.py +0 -0
  139. {basistheoryclient-5.2.0/src/basis_theory/token_intents → basistheoryclient-5.3.0/src/basis_theory/threeds/sessions}/__init__.py +0 -0
  140. {basistheoryclient-5.2.0 → basistheoryclient-5.3.0}/src/basis_theory/threeds/sessions/client.py +0 -0
  141. {basistheoryclient-5.2.0 → basistheoryclient-5.3.0}/src/basis_theory/threeds/sessions/raw_client.py +0 -0
  142. {basistheoryclient-5.2.0/src/basis_theory/tokens → basistheoryclient-5.3.0/src/basis_theory/token_intents}/__init__.py +0 -0
  143. {basistheoryclient-5.2.0 → basistheoryclient-5.3.0}/src/basis_theory/token_intents/client.py +0 -0
  144. {basistheoryclient-5.2.0 → basistheoryclient-5.3.0}/src/basis_theory/token_intents/raw_client.py +0 -0
  145. {basistheoryclient-5.2.0/src/basis_theory/webhooks/events → basistheoryclient-5.3.0/src/basis_theory/tokens}/__init__.py +0 -0
  146. {basistheoryclient-5.2.0 → basistheoryclient-5.3.0}/src/basis_theory/tokens/client.py +0 -0
  147. {basistheoryclient-5.2.0 → basistheoryclient-5.3.0}/src/basis_theory/tokens/raw_client.py +0 -0
  148. {basistheoryclient-5.2.0 → basistheoryclient-5.3.0}/src/basis_theory/types/access_rule.py +0 -0
  149. {basistheoryclient-5.2.0 → basistheoryclient-5.3.0}/src/basis_theory/types/account_updater_job.py +0 -0
  150. {basistheoryclient-5.2.0 → basistheoryclient-5.3.0}/src/basis_theory/types/account_updater_job_list.py +0 -0
  151. {basistheoryclient-5.2.0 → basistheoryclient-5.3.0}/src/basis_theory/types/account_updater_job_list_pagination.py +0 -0
  152. {basistheoryclient-5.2.0 → basistheoryclient-5.3.0}/src/basis_theory/types/account_updater_job_status.py +0 -0
  153. {basistheoryclient-5.2.0 → basistheoryclient-5.3.0}/src/basis_theory/types/account_updater_real_time_response.py +0 -0
  154. {basistheoryclient-5.2.0 → basistheoryclient-5.3.0}/src/basis_theory/types/additional_card_detail.py +0 -0
  155. {basistheoryclient-5.2.0 → basistheoryclient-5.3.0}/src/basis_theory/types/additional_card_details.py +0 -0
  156. {basistheoryclient-5.2.0 → basistheoryclient-5.3.0}/src/basis_theory/types/address.py +0 -0
  157. {basistheoryclient-5.2.0 → basistheoryclient-5.3.0}/src/basis_theory/types/apple_pay_create_response.py +0 -0
  158. {basistheoryclient-5.2.0 → basistheoryclient-5.3.0}/src/basis_theory/types/apple_pay_domain_registration_response.py +0 -0
  159. {basistheoryclient-5.2.0 → basistheoryclient-5.3.0}/src/basis_theory/types/apple_pay_merchant.py +0 -0
  160. {basistheoryclient-5.2.0 → basistheoryclient-5.3.0}/src/basis_theory/types/apple_pay_merchant_certificates.py +0 -0
  161. {basistheoryclient-5.2.0 → basistheoryclient-5.3.0}/src/basis_theory/types/apple_pay_method_token.py +0 -0
  162. {basistheoryclient-5.2.0 → basistheoryclient-5.3.0}/src/basis_theory/types/apple_pay_token.py +0 -0
  163. {basistheoryclient-5.2.0 → basistheoryclient-5.3.0}/src/basis_theory/types/apple_pay_tokenize_request.py +0 -0
  164. {basistheoryclient-5.2.0 → basistheoryclient-5.3.0}/src/basis_theory/types/apple_pay_tokenize_response.py +0 -0
  165. {basistheoryclient-5.2.0 → basistheoryclient-5.3.0}/src/basis_theory/types/application.py +0 -0
  166. {basistheoryclient-5.2.0 → basistheoryclient-5.3.0}/src/basis_theory/types/application_key.py +0 -0
  167. {basistheoryclient-5.2.0 → basistheoryclient-5.3.0}/src/basis_theory/types/application_paginated_list.py +0 -0
  168. {basistheoryclient-5.2.0 → basistheoryclient-5.3.0}/src/basis_theory/types/application_template.py +0 -0
  169. {basistheoryclient-5.2.0 → basistheoryclient-5.3.0}/src/basis_theory/types/assurance_details.py +0 -0
  170. {basistheoryclient-5.2.0 → basistheoryclient-5.3.0}/src/basis_theory/types/async_react_response.py +0 -0
  171. {basistheoryclient-5.2.0 → basistheoryclient-5.3.0}/src/basis_theory/types/authenticate_three_ds_session_request.py +0 -0
  172. {basistheoryclient-5.2.0 → basistheoryclient-5.3.0}/src/basis_theory/types/authentication.py +0 -0
  173. {basistheoryclient-5.2.0 → basistheoryclient-5.3.0}/src/basis_theory/types/authentication_response.py +0 -0
  174. {basistheoryclient-5.2.0 → basistheoryclient-5.3.0}/src/basis_theory/types/bank_details.py +0 -0
  175. {basistheoryclient-5.2.0 → basistheoryclient-5.3.0}/src/basis_theory/types/bank_verification_response.py +0 -0
  176. {basistheoryclient-5.2.0 → basistheoryclient-5.3.0}/src/basis_theory/types/bin_details.py +0 -0
  177. {basistheoryclient-5.2.0 → basistheoryclient-5.3.0}/src/basis_theory/types/bin_details_bank.py +0 -0
  178. {basistheoryclient-5.2.0 → basistheoryclient-5.3.0}/src/basis_theory/types/bin_details_country.py +0 -0
  179. {basistheoryclient-5.2.0 → basistheoryclient-5.3.0}/src/basis_theory/types/bin_details_product.py +0 -0
  180. {basistheoryclient-5.2.0 → basistheoryclient-5.3.0}/src/basis_theory/types/card.py +0 -0
  181. {basistheoryclient-5.2.0 → basistheoryclient-5.3.0}/src/basis_theory/types/card_bin_range.py +0 -0
  182. {basistheoryclient-5.2.0 → basistheoryclient-5.3.0}/src/basis_theory/types/card_details.py +0 -0
  183. {basistheoryclient-5.2.0 → basistheoryclient-5.3.0}/src/basis_theory/types/card_details_response.py +0 -0
  184. {basistheoryclient-5.2.0 → basistheoryclient-5.3.0}/src/basis_theory/types/card_issuer.py +0 -0
  185. {basistheoryclient-5.2.0 → basistheoryclient-5.3.0}/src/basis_theory/types/card_issuer_country.py +0 -0
  186. {basistheoryclient-5.2.0 → basistheoryclient-5.3.0}/src/basis_theory/types/card_issuer_details.py +0 -0
  187. {basistheoryclient-5.2.0 → basistheoryclient-5.3.0}/src/basis_theory/types/cardholder_info.py +0 -0
  188. {basistheoryclient-5.2.0 → basistheoryclient-5.3.0}/src/basis_theory/types/client_encryption_key_metadata_response.py +0 -0
  189. {basistheoryclient-5.2.0 → basistheoryclient-5.3.0}/src/basis_theory/types/client_encryption_key_response.py +0 -0
  190. {basistheoryclient-5.2.0 → basistheoryclient-5.3.0}/src/basis_theory/types/condition.py +0 -0
  191. {basistheoryclient-5.2.0 → basistheoryclient-5.3.0}/src/basis_theory/types/create_account_updater_job_request.py +0 -0
  192. {basistheoryclient-5.2.0 → basistheoryclient-5.3.0}/src/basis_theory/types/create_document_request.py +0 -0
  193. {basistheoryclient-5.2.0 → basistheoryclient-5.3.0}/src/basis_theory/types/create_reactor_formula_request.py +0 -0
  194. {basistheoryclient-5.2.0 → basistheoryclient-5.3.0}/src/basis_theory/types/create_session_response.py +0 -0
  195. {basistheoryclient-5.2.0 → basistheoryclient-5.3.0}/src/basis_theory/types/create_tenant_connection_response.py +0 -0
  196. {basistheoryclient-5.2.0 → basistheoryclient-5.3.0}/src/basis_theory/types/create_three_ds_session_response.py +0 -0
  197. {basistheoryclient-5.2.0 → basistheoryclient-5.3.0}/src/basis_theory/types/create_token_intent_response.py +0 -0
  198. {basistheoryclient-5.2.0 → basistheoryclient-5.3.0}/src/basis_theory/types/create_token_request.py +0 -0
  199. {basistheoryclient-5.2.0 → basistheoryclient-5.3.0}/src/basis_theory/types/cursor_pagination.py +0 -0
  200. {basistheoryclient-5.2.0 → basistheoryclient-5.3.0}/src/basis_theory/types/document.py +0 -0
  201. {basistheoryclient-5.2.0 → basistheoryclient-5.3.0}/src/basis_theory/types/domain_registration_response.py +0 -0
  202. {basistheoryclient-5.2.0 → basistheoryclient-5.3.0}/src/basis_theory/types/event_types.py +0 -0
  203. {basistheoryclient-5.2.0 → basistheoryclient-5.3.0}/src/basis_theory/types/get_applications.py +0 -0
  204. {basistheoryclient-5.2.0 → basistheoryclient-5.3.0}/src/basis_theory/types/get_logs.py +0 -0
  205. {basistheoryclient-5.2.0 → basistheoryclient-5.3.0}/src/basis_theory/types/get_permissions.py +0 -0
  206. {basistheoryclient-5.2.0 → basistheoryclient-5.3.0}/src/basis_theory/types/get_proxies.py +0 -0
  207. {basistheoryclient-5.2.0 → basistheoryclient-5.3.0}/src/basis_theory/types/get_reactor_formulas.py +0 -0
  208. {basistheoryclient-5.2.0 → basistheoryclient-5.3.0}/src/basis_theory/types/get_reactors.py +0 -0
  209. {basistheoryclient-5.2.0 → basistheoryclient-5.3.0}/src/basis_theory/types/get_tenant_invitations.py +0 -0
  210. {basistheoryclient-5.2.0 → basistheoryclient-5.3.0}/src/basis_theory/types/get_tenant_members.py +0 -0
  211. {basistheoryclient-5.2.0 → basistheoryclient-5.3.0}/src/basis_theory/types/get_tokens_v2.py +0 -0
  212. {basistheoryclient-5.2.0 → basistheoryclient-5.3.0}/src/basis_theory/types/google_pay_create_response.py +0 -0
  213. {basistheoryclient-5.2.0 → basistheoryclient-5.3.0}/src/basis_theory/types/google_pay_merchant.py +0 -0
  214. {basistheoryclient-5.2.0 → basistheoryclient-5.3.0}/src/basis_theory/types/google_pay_merchant_certificates.py +0 -0
  215. {basistheoryclient-5.2.0 → basistheoryclient-5.3.0}/src/basis_theory/types/google_pay_method_token.py +0 -0
  216. {basistheoryclient-5.2.0 → basistheoryclient-5.3.0}/src/basis_theory/types/google_pay_token.py +0 -0
  217. {basistheoryclient-5.2.0 → basistheoryclient-5.3.0}/src/basis_theory/types/google_pay_tokenize_request.py +0 -0
  218. {basistheoryclient-5.2.0 → basistheoryclient-5.3.0}/src/basis_theory/types/google_pay_tokenize_response.py +0 -0
  219. {basistheoryclient-5.2.0 → basistheoryclient-5.3.0}/src/basis_theory/types/header.py +0 -0
  220. {basistheoryclient-5.2.0 → basistheoryclient-5.3.0}/src/basis_theory/types/intermediate_signing_key.py +0 -0
  221. {basistheoryclient-5.2.0 → basistheoryclient-5.3.0}/src/basis_theory/types/log.py +0 -0
  222. {basistheoryclient-5.2.0 → basistheoryclient-5.3.0}/src/basis_theory/types/log_entity_type.py +0 -0
  223. {basistheoryclient-5.2.0 → basistheoryclient-5.3.0}/src/basis_theory/types/log_paginated_list.py +0 -0
  224. {basistheoryclient-5.2.0 → basistheoryclient-5.3.0}/src/basis_theory/types/network_token.py +0 -0
  225. {basistheoryclient-5.2.0 → basistheoryclient-5.3.0}/src/basis_theory/types/network_token_cryptogram.py +0 -0
  226. {basistheoryclient-5.2.0 → basistheoryclient-5.3.0}/src/basis_theory/types/network_token_extras.py +0 -0
  227. {basistheoryclient-5.2.0 → basistheoryclient-5.3.0}/src/basis_theory/types/pagination.py +0 -0
  228. {basistheoryclient-5.2.0 → basistheoryclient-5.3.0}/src/basis_theory/types/payment_data.py +0 -0
  229. {basistheoryclient-5.2.0 → basistheoryclient-5.3.0}/src/basis_theory/types/pending_proxy.py +0 -0
  230. {basistheoryclient-5.2.0 → basistheoryclient-5.3.0}/src/basis_theory/types/pending_reactor.py +0 -0
  231. {basistheoryclient-5.2.0 → basistheoryclient-5.3.0}/src/basis_theory/types/permission.py +0 -0
  232. {basistheoryclient-5.2.0 → basistheoryclient-5.3.0}/src/basis_theory/types/privacy.py +0 -0
  233. {basistheoryclient-5.2.0 → basistheoryclient-5.3.0}/src/basis_theory/types/problem_details.py +0 -0
  234. {basistheoryclient-5.2.0 → basistheoryclient-5.3.0}/src/basis_theory/types/proxy.py +0 -0
  235. {basistheoryclient-5.2.0 → basistheoryclient-5.3.0}/src/basis_theory/types/proxy_paginated_list.py +0 -0
  236. {basistheoryclient-5.2.0 → basistheoryclient-5.3.0}/src/basis_theory/types/proxy_transform.py +0 -0
  237. {basistheoryclient-5.2.0 → basistheoryclient-5.3.0}/src/basis_theory/types/proxy_transform_options.py +0 -0
  238. {basistheoryclient-5.2.0 → basistheoryclient-5.3.0}/src/basis_theory/types/public_key.py +0 -0
  239. {basistheoryclient-5.2.0 → basistheoryclient-5.3.0}/src/basis_theory/types/react_response.py +0 -0
  240. {basistheoryclient-5.2.0 → basistheoryclient-5.3.0}/src/basis_theory/types/reactor.py +0 -0
  241. {basistheoryclient-5.2.0 → basistheoryclient-5.3.0}/src/basis_theory/types/reactor_formula.py +0 -0
  242. {basistheoryclient-5.2.0 → basistheoryclient-5.3.0}/src/basis_theory/types/reactor_formula_configuration.py +0 -0
  243. {basistheoryclient-5.2.0 → basistheoryclient-5.3.0}/src/basis_theory/types/reactor_formula_paginated_list.py +0 -0
  244. {basistheoryclient-5.2.0 → basistheoryclient-5.3.0}/src/basis_theory/types/reactor_formula_request_parameter.py +0 -0
  245. {basistheoryclient-5.2.0 → basistheoryclient-5.3.0}/src/basis_theory/types/reactor_paginated_list.py +0 -0
  246. {basistheoryclient-5.2.0 → basistheoryclient-5.3.0}/src/basis_theory/types/requested_proxy.py +0 -0
  247. {basistheoryclient-5.2.0 → basistheoryclient-5.3.0}/src/basis_theory/types/requested_reactor.py +0 -0
  248. {basistheoryclient-5.2.0 → basistheoryclient-5.3.0}/src/basis_theory/types/role.py +0 -0
  249. {basistheoryclient-5.2.0 → basistheoryclient-5.3.0}/src/basis_theory/types/string_string_key_value_pair.py +0 -0
  250. {basistheoryclient-5.2.0 → basistheoryclient-5.3.0}/src/basis_theory/types/submerchant_authentication_response.py +0 -0
  251. {basistheoryclient-5.2.0 → basistheoryclient-5.3.0}/src/basis_theory/types/tenant.py +0 -0
  252. {basistheoryclient-5.2.0 → basistheoryclient-5.3.0}/src/basis_theory/types/tenant_connection_options.py +0 -0
  253. {basistheoryclient-5.2.0 → basistheoryclient-5.3.0}/src/basis_theory/types/tenant_invitation_response.py +0 -0
  254. {basistheoryclient-5.2.0 → basistheoryclient-5.3.0}/src/basis_theory/types/tenant_invitation_response_paginated_list.py +0 -0
  255. {basistheoryclient-5.2.0 → basistheoryclient-5.3.0}/src/basis_theory/types/tenant_invitation_status.py +0 -0
  256. {basistheoryclient-5.2.0 → basistheoryclient-5.3.0}/src/basis_theory/types/tenant_member_response.py +0 -0
  257. {basistheoryclient-5.2.0 → basistheoryclient-5.3.0}/src/basis_theory/types/tenant_member_response_paginated_list.py +0 -0
  258. {basistheoryclient-5.2.0 → basistheoryclient-5.3.0}/src/basis_theory/types/tenant_usage_report.py +0 -0
  259. {basistheoryclient-5.2.0 → basistheoryclient-5.3.0}/src/basis_theory/types/three_ds_acs_rendering_type.py +0 -0
  260. {basistheoryclient-5.2.0 → basistheoryclient-5.3.0}/src/basis_theory/types/three_ds_address.py +0 -0
  261. {basistheoryclient-5.2.0 → basistheoryclient-5.3.0}/src/basis_theory/types/three_ds_authentication.py +0 -0
  262. {basistheoryclient-5.2.0 → basistheoryclient-5.3.0}/src/basis_theory/types/three_ds_branding_options.py +0 -0
  263. {basistheoryclient-5.2.0 → basistheoryclient-5.3.0}/src/basis_theory/types/three_ds_callback_urls.py +0 -0
  264. {basistheoryclient-5.2.0 → basistheoryclient-5.3.0}/src/basis_theory/types/three_ds_cardholder_account_info.py +0 -0
  265. {basistheoryclient-5.2.0 → basistheoryclient-5.3.0}/src/basis_theory/types/three_ds_cardholder_authentication_info.py +0 -0
  266. {basistheoryclient-5.2.0 → basistheoryclient-5.3.0}/src/basis_theory/types/three_ds_cardholder_info.py +0 -0
  267. {basistheoryclient-5.2.0 → basistheoryclient-5.3.0}/src/basis_theory/types/three_ds_cardholder_phone_number.py +0 -0
  268. {basistheoryclient-5.2.0 → basistheoryclient-5.3.0}/src/basis_theory/types/three_ds_device_info.py +0 -0
  269. {basistheoryclient-5.2.0 → basistheoryclient-5.3.0}/src/basis_theory/types/three_ds_merchant_info.py +0 -0
  270. {basistheoryclient-5.2.0 → basistheoryclient-5.3.0}/src/basis_theory/types/three_ds_merchant_risk_info.py +0 -0
  271. {basistheoryclient-5.2.0 → basistheoryclient-5.3.0}/src/basis_theory/types/three_ds_message_extension.py +0 -0
  272. {basistheoryclient-5.2.0 → basistheoryclient-5.3.0}/src/basis_theory/types/three_ds_method.py +0 -0
  273. {basistheoryclient-5.2.0 → basistheoryclient-5.3.0}/src/basis_theory/types/three_ds_mobile_sdk_render_options.py +0 -0
  274. {basistheoryclient-5.2.0 → basistheoryclient-5.3.0}/src/basis_theory/types/three_ds_prior_authentication_info.py +0 -0
  275. {basistheoryclient-5.2.0 → basistheoryclient-5.3.0}/src/basis_theory/types/three_ds_purchase_info.py +0 -0
  276. {basistheoryclient-5.2.0 → basistheoryclient-5.3.0}/src/basis_theory/types/three_ds_requestor_info.py +0 -0
  277. {basistheoryclient-5.2.0 → basistheoryclient-5.3.0}/src/basis_theory/types/three_ds_session.py +0 -0
  278. {basistheoryclient-5.2.0 → basistheoryclient-5.3.0}/src/basis_theory/types/three_ds_version.py +0 -0
  279. {basistheoryclient-5.2.0 → basistheoryclient-5.3.0}/src/basis_theory/types/token.py +0 -0
  280. {basistheoryclient-5.2.0 → basistheoryclient-5.3.0}/src/basis_theory/types/token_authentication.py +0 -0
  281. {basistheoryclient-5.2.0 → basistheoryclient-5.3.0}/src/basis_theory/types/token_cursor_paginated_list.py +0 -0
  282. {basistheoryclient-5.2.0 → basistheoryclient-5.3.0}/src/basis_theory/types/token_enrichments.py +0 -0
  283. {basistheoryclient-5.2.0 → basistheoryclient-5.3.0}/src/basis_theory/types/token_enrichments_card_details.py +0 -0
  284. {basistheoryclient-5.2.0 → basistheoryclient-5.3.0}/src/basis_theory/types/token_extras.py +0 -0
  285. {basistheoryclient-5.2.0 → basistheoryclient-5.3.0}/src/basis_theory/types/token_intent.py +0 -0
  286. {basistheoryclient-5.2.0 → basistheoryclient-5.3.0}/src/basis_theory/types/token_intent_extras.py +0 -0
  287. {basistheoryclient-5.2.0 → basistheoryclient-5.3.0}/src/basis_theory/types/token_service_provider_details.py +0 -0
  288. {basistheoryclient-5.2.0 → basistheoryclient-5.3.0}/src/basis_theory/types/update_privacy.py +0 -0
  289. {basistheoryclient-5.2.0 → basistheoryclient-5.3.0}/src/basis_theory/types/update_reactor_formula_request.py +0 -0
  290. {basistheoryclient-5.2.0 → basistheoryclient-5.3.0}/src/basis_theory/types/user.py +0 -0
  291. {basistheoryclient-5.2.0 → basistheoryclient-5.3.0}/src/basis_theory/types/validation_problem_details.py +0 -0
  292. {basistheoryclient-5.2.0 → basistheoryclient-5.3.0}/src/basis_theory/types/webhook.py +0 -0
  293. {basistheoryclient-5.2.0 → basistheoryclient-5.3.0}/src/basis_theory/types/webhook_list.py +0 -0
  294. {basistheoryclient-5.2.0 → basistheoryclient-5.3.0}/src/basis_theory/types/webhook_list_pagination.py +0 -0
  295. {basistheoryclient-5.2.0 → basistheoryclient-5.3.0}/src/basis_theory/types/webhook_status.py +0 -0
  296. {basistheoryclient-5.2.0 → basistheoryclient-5.3.0}/src/basis_theory/version.py +0 -0
  297. {basistheoryclient-5.2.0 → basistheoryclient-5.3.0}/src/basis_theory/webhooks/__init__.py +0 -0
  298. {basistheoryclient-5.2.0 → basistheoryclient-5.3.0}/src/basis_theory/webhooks/client.py +0 -0
  299. {basistheoryclient-5.2.0 → basistheoryclient-5.3.0}/src/basis_theory/webhooks/events/client.py +0 -0
  300. {basistheoryclient-5.2.0 → basistheoryclient-5.3.0}/src/basis_theory/webhooks/events/raw_client.py +0 -0
  301. {basistheoryclient-5.2.0 → basistheoryclient-5.3.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: 5.2.0
3
+ Version: 5.3.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 = "5.2.0"
6
+ version = "5.3.0"
7
7
  description = ""
8
8
  readme = "README.md"
9
9
  authors = []
@@ -105,6 +105,7 @@ from .types import (
105
105
  RequestedReactor,
106
106
  Role,
107
107
  Runtime,
108
+ SecurityContactEmailResponse,
108
109
  StringStringKeyValuePair,
109
110
  SubmerchantAuthenticationResponse,
110
111
  Tenant,
@@ -301,6 +302,7 @@ __all__ = [
301
302
  "RequestedReactor",
302
303
  "Role",
303
304
  "Runtime",
305
+ "SecurityContactEmailResponse",
304
306
  "ServiceUnavailableError",
305
307
  "StringStringKeyValuePair",
306
308
  "SubmerchantAuthenticationResponse",
@@ -2,6 +2,6 @@
2
2
 
3
3
  # isort: skip_file
4
4
 
5
- from . import connections, invitations, members, owner, self_
5
+ from . import connections, invitations, members, owner, security_contact, self_
6
6
 
7
- __all__ = ["connections", "invitations", "members", "owner", "self_"]
7
+ __all__ = ["connections", "invitations", "members", "owner", "security_contact", "self_"]
@@ -6,12 +6,15 @@ from .invitations.client import AsyncInvitationsClient, InvitationsClient
6
6
  from .members.client import AsyncMembersClient, MembersClient
7
7
  from .owner.client import AsyncOwnerClient, OwnerClient
8
8
  from .raw_client import AsyncRawTenantsClient, RawTenantsClient
9
+ from .security_contact.client import AsyncSecurityContactClient, SecurityContactClient
9
10
  from .self_.client import AsyncSelfClient, SelfClient
10
11
 
11
12
 
12
13
  class TenantsClient:
13
14
  def __init__(self, *, client_wrapper: SyncClientWrapper):
14
15
  self._raw_client = RawTenantsClient(client_wrapper=client_wrapper)
16
+ self.security_contact = SecurityContactClient(client_wrapper=client_wrapper)
17
+
15
18
  self.connections = ConnectionsClient(client_wrapper=client_wrapper)
16
19
 
17
20
  self.invitations = InvitationsClient(client_wrapper=client_wrapper)
@@ -37,6 +40,8 @@ class TenantsClient:
37
40
  class AsyncTenantsClient:
38
41
  def __init__(self, *, client_wrapper: AsyncClientWrapper):
39
42
  self._raw_client = AsyncRawTenantsClient(client_wrapper=client_wrapper)
43
+ self.security_contact = AsyncSecurityContactClient(client_wrapper=client_wrapper)
44
+
40
45
  self.connections = AsyncConnectionsClient(client_wrapper=client_wrapper)
41
46
 
42
47
  self.invitations = AsyncInvitationsClient(client_wrapper=client_wrapper)
@@ -0,0 +1,171 @@
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.security_contact_email_response import SecurityContactEmailResponse
8
+ from .raw_client import AsyncRawSecurityContactClient, RawSecurityContactClient
9
+
10
+ # this is used as the default value for optional parameters
11
+ OMIT = typing.cast(typing.Any, ...)
12
+
13
+
14
+ class SecurityContactClient:
15
+ def __init__(self, *, client_wrapper: SyncClientWrapper):
16
+ self._raw_client = RawSecurityContactClient(client_wrapper=client_wrapper)
17
+
18
+ @property
19
+ def with_raw_response(self) -> RawSecurityContactClient:
20
+ """
21
+ Retrieves a raw implementation of this client that returns raw responses.
22
+
23
+ Returns
24
+ -------
25
+ RawSecurityContactClient
26
+ """
27
+ return self._raw_client
28
+
29
+ def get(self, *, request_options: typing.Optional[RequestOptions] = None) -> SecurityContactEmailResponse:
30
+ """
31
+ Parameters
32
+ ----------
33
+ request_options : typing.Optional[RequestOptions]
34
+ Request-specific configuration.
35
+
36
+ Returns
37
+ -------
38
+ SecurityContactEmailResponse
39
+ Success
40
+
41
+ Examples
42
+ --------
43
+ from basis_theory import BasisTheory
44
+
45
+ client = BasisTheory(
46
+ correlation_id="YOUR_CORRELATION_ID",
47
+ api_key="YOUR_API_KEY",
48
+ )
49
+ client.tenants.security_contact.get()
50
+ """
51
+ _response = self._raw_client.get(request_options=request_options)
52
+ return _response.data
53
+
54
+ def update(
55
+ self, *, email: str, request_options: typing.Optional[RequestOptions] = None
56
+ ) -> SecurityContactEmailResponse:
57
+ """
58
+ Parameters
59
+ ----------
60
+ email : str
61
+
62
+ request_options : typing.Optional[RequestOptions]
63
+ Request-specific configuration.
64
+
65
+ Returns
66
+ -------
67
+ SecurityContactEmailResponse
68
+ Success
69
+
70
+ Examples
71
+ --------
72
+ from basis_theory import BasisTheory
73
+
74
+ client = BasisTheory(
75
+ correlation_id="YOUR_CORRELATION_ID",
76
+ api_key="YOUR_API_KEY",
77
+ )
78
+ client.tenants.security_contact.update(
79
+ email="email",
80
+ )
81
+ """
82
+ _response = self._raw_client.update(email=email, request_options=request_options)
83
+ return _response.data
84
+
85
+
86
+ class AsyncSecurityContactClient:
87
+ def __init__(self, *, client_wrapper: AsyncClientWrapper):
88
+ self._raw_client = AsyncRawSecurityContactClient(client_wrapper=client_wrapper)
89
+
90
+ @property
91
+ def with_raw_response(self) -> AsyncRawSecurityContactClient:
92
+ """
93
+ Retrieves a raw implementation of this client that returns raw responses.
94
+
95
+ Returns
96
+ -------
97
+ AsyncRawSecurityContactClient
98
+ """
99
+ return self._raw_client
100
+
101
+ async def get(self, *, request_options: typing.Optional[RequestOptions] = None) -> SecurityContactEmailResponse:
102
+ """
103
+ Parameters
104
+ ----------
105
+ request_options : typing.Optional[RequestOptions]
106
+ Request-specific configuration.
107
+
108
+ Returns
109
+ -------
110
+ SecurityContactEmailResponse
111
+ Success
112
+
113
+ Examples
114
+ --------
115
+ import asyncio
116
+
117
+ from basis_theory import AsyncBasisTheory
118
+
119
+ client = AsyncBasisTheory(
120
+ correlation_id="YOUR_CORRELATION_ID",
121
+ api_key="YOUR_API_KEY",
122
+ )
123
+
124
+
125
+ async def main() -> None:
126
+ await client.tenants.security_contact.get()
127
+
128
+
129
+ asyncio.run(main())
130
+ """
131
+ _response = await self._raw_client.get(request_options=request_options)
132
+ return _response.data
133
+
134
+ async def update(
135
+ self, *, email: str, request_options: typing.Optional[RequestOptions] = None
136
+ ) -> SecurityContactEmailResponse:
137
+ """
138
+ Parameters
139
+ ----------
140
+ email : str
141
+
142
+ request_options : typing.Optional[RequestOptions]
143
+ Request-specific configuration.
144
+
145
+ Returns
146
+ -------
147
+ SecurityContactEmailResponse
148
+ Success
149
+
150
+ Examples
151
+ --------
152
+ import asyncio
153
+
154
+ from basis_theory import AsyncBasisTheory
155
+
156
+ client = AsyncBasisTheory(
157
+ correlation_id="YOUR_CORRELATION_ID",
158
+ api_key="YOUR_API_KEY",
159
+ )
160
+
161
+
162
+ async def main() -> None:
163
+ await client.tenants.security_contact.update(
164
+ email="email",
165
+ )
166
+
167
+
168
+ asyncio.run(main())
169
+ """
170
+ _response = await self._raw_client.update(email=email, request_options=request_options)
171
+ return _response.data
@@ -0,0 +1,316 @@
1
+ # This file was auto-generated by Fern from our API Definition.
2
+
3
+ import typing
4
+ from json.decoder import JSONDecodeError
5
+
6
+ from ...core.api_error import ApiError
7
+ from ...core.client_wrapper import AsyncClientWrapper, SyncClientWrapper
8
+ from ...core.http_response import AsyncHttpResponse, HttpResponse
9
+ from ...core.pydantic_utilities import parse_obj_as
10
+ from ...core.request_options import RequestOptions
11
+ from ...errors.bad_request_error import BadRequestError
12
+ from ...errors.forbidden_error import ForbiddenError
13
+ from ...errors.not_found_error import NotFoundError
14
+ from ...errors.unauthorized_error import UnauthorizedError
15
+ from ...types.problem_details import ProblemDetails
16
+ from ...types.security_contact_email_response import SecurityContactEmailResponse
17
+ from ...types.validation_problem_details import ValidationProblemDetails
18
+
19
+ # this is used as the default value for optional parameters
20
+ OMIT = typing.cast(typing.Any, ...)
21
+
22
+
23
+ class RawSecurityContactClient:
24
+ def __init__(self, *, client_wrapper: SyncClientWrapper):
25
+ self._client_wrapper = client_wrapper
26
+
27
+ def get(
28
+ self, *, request_options: typing.Optional[RequestOptions] = None
29
+ ) -> HttpResponse[SecurityContactEmailResponse]:
30
+ """
31
+ Parameters
32
+ ----------
33
+ request_options : typing.Optional[RequestOptions]
34
+ Request-specific configuration.
35
+
36
+ Returns
37
+ -------
38
+ HttpResponse[SecurityContactEmailResponse]
39
+ Success
40
+ """
41
+ _response = self._client_wrapper.httpx_client.request(
42
+ "tenants/self/security-contact",
43
+ method="GET",
44
+ request_options=request_options,
45
+ )
46
+ try:
47
+ if 200 <= _response.status_code < 300:
48
+ _data = typing.cast(
49
+ SecurityContactEmailResponse,
50
+ parse_obj_as(
51
+ type_=SecurityContactEmailResponse, # type: ignore
52
+ object_=_response.json(),
53
+ ),
54
+ )
55
+ return HttpResponse(response=_response, data=_data)
56
+ if _response.status_code == 401:
57
+ raise UnauthorizedError(
58
+ headers=dict(_response.headers),
59
+ body=typing.cast(
60
+ ProblemDetails,
61
+ parse_obj_as(
62
+ type_=ProblemDetails, # type: ignore
63
+ object_=_response.json(),
64
+ ),
65
+ ),
66
+ )
67
+ if _response.status_code == 403:
68
+ raise ForbiddenError(
69
+ headers=dict(_response.headers),
70
+ body=typing.cast(
71
+ ProblemDetails,
72
+ parse_obj_as(
73
+ type_=ProblemDetails, # type: ignore
74
+ object_=_response.json(),
75
+ ),
76
+ ),
77
+ )
78
+ _response_json = _response.json()
79
+ except JSONDecodeError:
80
+ raise ApiError(status_code=_response.status_code, headers=dict(_response.headers), body=_response.text)
81
+ raise ApiError(status_code=_response.status_code, headers=dict(_response.headers), body=_response_json)
82
+
83
+ def update(
84
+ self, *, email: str, request_options: typing.Optional[RequestOptions] = None
85
+ ) -> HttpResponse[SecurityContactEmailResponse]:
86
+ """
87
+ Parameters
88
+ ----------
89
+ email : str
90
+
91
+ request_options : typing.Optional[RequestOptions]
92
+ Request-specific configuration.
93
+
94
+ Returns
95
+ -------
96
+ HttpResponse[SecurityContactEmailResponse]
97
+ Success
98
+ """
99
+ _response = self._client_wrapper.httpx_client.request(
100
+ "tenants/self/security-contact",
101
+ method="PUT",
102
+ json={
103
+ "email": email,
104
+ },
105
+ headers={
106
+ "content-type": "application/json",
107
+ },
108
+ request_options=request_options,
109
+ omit=OMIT,
110
+ )
111
+ try:
112
+ if 200 <= _response.status_code < 300:
113
+ _data = typing.cast(
114
+ SecurityContactEmailResponse,
115
+ parse_obj_as(
116
+ type_=SecurityContactEmailResponse, # type: ignore
117
+ object_=_response.json(),
118
+ ),
119
+ )
120
+ return HttpResponse(response=_response, data=_data)
121
+ if _response.status_code == 400:
122
+ raise BadRequestError(
123
+ headers=dict(_response.headers),
124
+ body=typing.cast(
125
+ ValidationProblemDetails,
126
+ parse_obj_as(
127
+ type_=ValidationProblemDetails, # type: ignore
128
+ object_=_response.json(),
129
+ ),
130
+ ),
131
+ )
132
+ if _response.status_code == 401:
133
+ raise UnauthorizedError(
134
+ headers=dict(_response.headers),
135
+ body=typing.cast(
136
+ ProblemDetails,
137
+ parse_obj_as(
138
+ type_=ProblemDetails, # type: ignore
139
+ object_=_response.json(),
140
+ ),
141
+ ),
142
+ )
143
+ if _response.status_code == 403:
144
+ raise ForbiddenError(
145
+ headers=dict(_response.headers),
146
+ body=typing.cast(
147
+ ProblemDetails,
148
+ parse_obj_as(
149
+ type_=ProblemDetails, # type: ignore
150
+ object_=_response.json(),
151
+ ),
152
+ ),
153
+ )
154
+ if _response.status_code == 404:
155
+ raise NotFoundError(
156
+ headers=dict(_response.headers),
157
+ body=typing.cast(
158
+ typing.Optional[typing.Any],
159
+ parse_obj_as(
160
+ type_=typing.Optional[typing.Any], # type: ignore
161
+ object_=_response.json(),
162
+ ),
163
+ ),
164
+ )
165
+ _response_json = _response.json()
166
+ except JSONDecodeError:
167
+ raise ApiError(status_code=_response.status_code, headers=dict(_response.headers), body=_response.text)
168
+ raise ApiError(status_code=_response.status_code, headers=dict(_response.headers), body=_response_json)
169
+
170
+
171
+ class AsyncRawSecurityContactClient:
172
+ def __init__(self, *, client_wrapper: AsyncClientWrapper):
173
+ self._client_wrapper = client_wrapper
174
+
175
+ async def get(
176
+ self, *, request_options: typing.Optional[RequestOptions] = None
177
+ ) -> AsyncHttpResponse[SecurityContactEmailResponse]:
178
+ """
179
+ Parameters
180
+ ----------
181
+ request_options : typing.Optional[RequestOptions]
182
+ Request-specific configuration.
183
+
184
+ Returns
185
+ -------
186
+ AsyncHttpResponse[SecurityContactEmailResponse]
187
+ Success
188
+ """
189
+ _response = await self._client_wrapper.httpx_client.request(
190
+ "tenants/self/security-contact",
191
+ method="GET",
192
+ request_options=request_options,
193
+ )
194
+ try:
195
+ if 200 <= _response.status_code < 300:
196
+ _data = typing.cast(
197
+ SecurityContactEmailResponse,
198
+ parse_obj_as(
199
+ type_=SecurityContactEmailResponse, # type: ignore
200
+ object_=_response.json(),
201
+ ),
202
+ )
203
+ return AsyncHttpResponse(response=_response, data=_data)
204
+ if _response.status_code == 401:
205
+ raise UnauthorizedError(
206
+ headers=dict(_response.headers),
207
+ body=typing.cast(
208
+ ProblemDetails,
209
+ parse_obj_as(
210
+ type_=ProblemDetails, # type: ignore
211
+ object_=_response.json(),
212
+ ),
213
+ ),
214
+ )
215
+ if _response.status_code == 403:
216
+ raise ForbiddenError(
217
+ headers=dict(_response.headers),
218
+ body=typing.cast(
219
+ ProblemDetails,
220
+ parse_obj_as(
221
+ type_=ProblemDetails, # type: ignore
222
+ object_=_response.json(),
223
+ ),
224
+ ),
225
+ )
226
+ _response_json = _response.json()
227
+ except JSONDecodeError:
228
+ raise ApiError(status_code=_response.status_code, headers=dict(_response.headers), body=_response.text)
229
+ raise ApiError(status_code=_response.status_code, headers=dict(_response.headers), body=_response_json)
230
+
231
+ async def update(
232
+ self, *, email: str, request_options: typing.Optional[RequestOptions] = None
233
+ ) -> AsyncHttpResponse[SecurityContactEmailResponse]:
234
+ """
235
+ Parameters
236
+ ----------
237
+ email : str
238
+
239
+ request_options : typing.Optional[RequestOptions]
240
+ Request-specific configuration.
241
+
242
+ Returns
243
+ -------
244
+ AsyncHttpResponse[SecurityContactEmailResponse]
245
+ Success
246
+ """
247
+ _response = await self._client_wrapper.httpx_client.request(
248
+ "tenants/self/security-contact",
249
+ method="PUT",
250
+ json={
251
+ "email": email,
252
+ },
253
+ headers={
254
+ "content-type": "application/json",
255
+ },
256
+ request_options=request_options,
257
+ omit=OMIT,
258
+ )
259
+ try:
260
+ if 200 <= _response.status_code < 300:
261
+ _data = typing.cast(
262
+ SecurityContactEmailResponse,
263
+ parse_obj_as(
264
+ type_=SecurityContactEmailResponse, # type: ignore
265
+ object_=_response.json(),
266
+ ),
267
+ )
268
+ return AsyncHttpResponse(response=_response, data=_data)
269
+ if _response.status_code == 400:
270
+ raise BadRequestError(
271
+ headers=dict(_response.headers),
272
+ body=typing.cast(
273
+ ValidationProblemDetails,
274
+ parse_obj_as(
275
+ type_=ValidationProblemDetails, # type: ignore
276
+ object_=_response.json(),
277
+ ),
278
+ ),
279
+ )
280
+ if _response.status_code == 401:
281
+ raise UnauthorizedError(
282
+ headers=dict(_response.headers),
283
+ body=typing.cast(
284
+ ProblemDetails,
285
+ parse_obj_as(
286
+ type_=ProblemDetails, # type: ignore
287
+ object_=_response.json(),
288
+ ),
289
+ ),
290
+ )
291
+ if _response.status_code == 403:
292
+ raise ForbiddenError(
293
+ headers=dict(_response.headers),
294
+ body=typing.cast(
295
+ ProblemDetails,
296
+ parse_obj_as(
297
+ type_=ProblemDetails, # type: ignore
298
+ object_=_response.json(),
299
+ ),
300
+ ),
301
+ )
302
+ if _response.status_code == 404:
303
+ raise NotFoundError(
304
+ headers=dict(_response.headers),
305
+ body=typing.cast(
306
+ typing.Optional[typing.Any],
307
+ parse_obj_as(
308
+ type_=typing.Optional[typing.Any], # type: ignore
309
+ object_=_response.json(),
310
+ ),
311
+ ),
312
+ )
313
+ _response_json = _response.json()
314
+ except JSONDecodeError:
315
+ raise ApiError(status_code=_response.status_code, headers=dict(_response.headers), body=_response.text)
316
+ raise ApiError(status_code=_response.status_code, headers=dict(_response.headers), body=_response_json)
@@ -104,6 +104,7 @@ from .requested_proxy import RequestedProxy
104
104
  from .requested_reactor import RequestedReactor
105
105
  from .role import Role
106
106
  from .runtime import Runtime
107
+ from .security_contact_email_response import SecurityContactEmailResponse
107
108
  from .string_string_key_value_pair import StringStringKeyValuePair
108
109
  from .submerchant_authentication_response import SubmerchantAuthenticationResponse
109
110
  from .tenant import Tenant
@@ -255,6 +256,7 @@ __all__ = [
255
256
  "RequestedReactor",
256
257
  "Role",
257
258
  "Runtime",
259
+ "SecurityContactEmailResponse",
258
260
  "StringStringKeyValuePair",
259
261
  "SubmerchantAuthenticationResponse",
260
262
  "Tenant",
@@ -9,6 +9,7 @@ from ..core.pydantic_utilities import IS_PYDANTIC_V2, UniversalBaseModel
9
9
  class Runtime(UniversalBaseModel):
10
10
  image: typing.Optional[str] = None
11
11
  dependencies: typing.Optional[typing.Dict[str, typing.Optional[str]]] = None
12
+ resolutions: typing.Optional[typing.Dict[str, typing.Optional[str]]] = None
12
13
  warm_concurrency: typing.Optional[int] = None
13
14
  timeout: typing.Optional[int] = None
14
15
  resources: typing.Optional[str] = None
@@ -0,0 +1,19 @@
1
+ # This file was auto-generated by Fern from our API Definition.
2
+
3
+ import typing
4
+
5
+ import pydantic
6
+ from ..core.pydantic_utilities import IS_PYDANTIC_V2, UniversalBaseModel
7
+
8
+
9
+ class SecurityContactEmailResponse(UniversalBaseModel):
10
+ email: typing.Optional[str] = None
11
+
12
+ if IS_PYDANTIC_V2:
13
+ model_config: typing.ClassVar[pydantic.ConfigDict] = pydantic.ConfigDict(extra="allow", frozen=True) # type: ignore # Pydantic v2
14
+ else:
15
+
16
+ class Config:
17
+ frozen = True
18
+ smart_union = True
19
+ extra = pydantic.Extra.allow
@@ -0,0 +1,4 @@
1
+ # This file was auto-generated by Fern from our API Definition.
2
+
3
+ # isort: skip_file
4
+