infisicalsdk 0.1.3__py3-none-any.whl

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.

Potentially problematic release.


This version of infisicalsdk might be problematic. Click here for more details.

Files changed (666) hide show
  1. infisical_sdk/__init__.py +1 -0
  2. infisical_sdk/aws_auth.py +121 -0
  3. infisical_sdk/client.py +251 -0
  4. infisical_sdk/universal_auth.py +0 -0
  5. infisicalapi_client/__init__.py +681 -0
  6. infisicalapi_client/api/__init__.py +5 -0
  7. infisicalapi_client/api/default_api.py +61732 -0
  8. infisicalapi_client/api_client.py +759 -0
  9. infisicalapi_client/api_response.py +25 -0
  10. infisicalapi_client/configuration.py +447 -0
  11. infisicalapi_client/exceptions.py +166 -0
  12. infisicalapi_client/models/__init__.py +664 -0
  13. infisicalapi_client/models/api_status_get200_response.py +90 -0
  14. infisicalapi_client/models/api_v1_access_approvals_policies_get200_response.py +79 -0
  15. infisicalapi_client/models/api_v1_access_approvals_policies_get200_response_approvals_inner.py +95 -0
  16. infisicalapi_client/models/api_v1_access_approvals_policies_policy_id_patch_request.py +89 -0
  17. infisicalapi_client/models/api_v1_access_approvals_policies_post_request.py +93 -0
  18. infisicalapi_client/models/api_v1_access_approvals_requests_count_get200_response.py +73 -0
  19. infisicalapi_client/models/api_v1_access_approvals_requests_get200_response.py +79 -0
  20. infisicalapi_client/models/api_v1_access_approvals_requests_get200_response_requests_inner.py +133 -0
  21. infisicalapi_client/models/api_v1_access_approvals_requests_get200_response_requests_inner_policy.py +88 -0
  22. infisicalapi_client/models/api_v1_access_approvals_requests_get200_response_requests_inner_privilege.py +108 -0
  23. infisicalapi_client/models/api_v1_access_approvals_requests_get200_response_requests_inner_reviewers_inner.py +73 -0
  24. infisicalapi_client/models/api_v1_access_approvals_requests_post200_response.py +75 -0
  25. infisicalapi_client/models/api_v1_access_approvals_requests_post200_response_approval.py +102 -0
  26. infisicalapi_client/models/api_v1_access_approvals_requests_post_request.py +75 -0
  27. infisicalapi_client/models/api_v1_access_approvals_requests_request_id_review_post200_response.py +75 -0
  28. infisicalapi_client/models/api_v1_access_approvals_requests_request_id_review_post200_response_review.py +81 -0
  29. infisicalapi_client/models/api_v1_additional_privilege_identity_delete_request.py +75 -0
  30. infisicalapi_client/models/api_v1_additional_privilege_identity_get200_response.py +79 -0
  31. infisicalapi_client/models/api_v1_additional_privilege_identity_patch_request.py +81 -0
  32. infisicalapi_client/models/api_v1_additional_privilege_identity_patch_request_privilege_details.py +105 -0
  33. infisicalapi_client/models/api_v1_additional_privilege_identity_permanent_post200_response.py +75 -0
  34. infisicalapi_client/models/api_v1_additional_privilege_identity_permanent_post200_response_privilege.py +119 -0
  35. infisicalapi_client/models/api_v1_additional_privilege_identity_permanent_post_request.py +91 -0
  36. infisicalapi_client/models/api_v1_additional_privilege_identity_permanent_post_request_privilege_permission.py +94 -0
  37. infisicalapi_client/models/api_v1_additional_privilege_identity_permanent_post_request_privilege_permission_conditions.py +77 -0
  38. infisicalapi_client/models/api_v1_additional_privilege_identity_temporary_post_request.py +104 -0
  39. infisicalapi_client/models/api_v1_additional_privilege_users_get200_response.py +79 -0
  40. infisicalapi_client/models/api_v1_additional_privilege_users_permanent_post200_response.py +75 -0
  41. infisicalapi_client/models/api_v1_additional_privilege_users_permanent_post200_response_privilege.py +116 -0
  42. infisicalapi_client/models/api_v1_additional_privilege_users_permanent_post_request.py +75 -0
  43. infisicalapi_client/models/api_v1_additional_privilege_users_privilege_id_patch_request.py +91 -0
  44. infisicalapi_client/models/api_v1_additional_privilege_users_temporary_post_request.py +88 -0
  45. infisicalapi_client/models/api_v1_admin_config_get200_response.py +75 -0
  46. infisicalapi_client/models/api_v1_admin_config_get200_response_config.py +140 -0
  47. infisicalapi_client/models/api_v1_admin_config_patch200_response.py +75 -0
  48. infisicalapi_client/models/api_v1_admin_config_patch200_response_config.py +140 -0
  49. infisicalapi_client/models/api_v1_admin_config_patch_request.py +104 -0
  50. infisicalapi_client/models/api_v1_admin_signup_post200_response.py +87 -0
  51. infisicalapi_client/models/api_v1_admin_signup_post_request.py +95 -0
  52. infisicalapi_client/models/api_v1_admin_user_management_users_get200_response.py +79 -0
  53. infisicalapi_client/models/api_v1_admin_user_management_users_get200_response_users_inner.py +94 -0
  54. infisicalapi_client/models/api_v1_admin_user_management_users_user_id_delete200_response.py +75 -0
  55. infisicalapi_client/models/api_v1_audit_log_streams_get200_response.py +79 -0
  56. infisicalapi_client/models/api_v1_audit_log_streams_get200_response_audit_log_streams_inner.py +77 -0
  57. infisicalapi_client/models/api_v1_audit_log_streams_id_get200_response.py +75 -0
  58. infisicalapi_client/models/api_v1_audit_log_streams_id_get200_response_audit_log_stream.py +87 -0
  59. infisicalapi_client/models/api_v1_audit_log_streams_id_get200_response_audit_log_stream_headers_inner.py +73 -0
  60. infisicalapi_client/models/api_v1_audit_log_streams_id_patch_request.py +81 -0
  61. infisicalapi_client/models/api_v1_audit_log_streams_post200_response.py +75 -0
  62. infisicalapi_client/models/api_v1_audit_log_streams_post_request.py +81 -0
  63. infisicalapi_client/models/api_v1_audit_log_streams_post_request_headers_inner.py +73 -0
  64. infisicalapi_client/models/api_v1_auth_aws_auth_identities_identity_id_get200_response.py +75 -0
  65. infisicalapi_client/models/api_v1_auth_aws_auth_identities_identity_id_get200_response_identity_aws_auth.py +98 -0
  66. infisicalapi_client/models/api_v1_auth_aws_auth_identities_identity_id_patch_request.py +91 -0
  67. infisicalapi_client/models/api_v1_auth_aws_auth_identities_identity_id_post_request.py +91 -0
  68. infisicalapi_client/models/api_v1_auth_aws_auth_login_post_request.py +77 -0
  69. infisicalapi_client/models/api_v1_auth_azure_auth_identities_identity_id_get200_response.py +75 -0
  70. infisicalapi_client/models/api_v1_auth_azure_auth_identities_identity_id_get200_response_identity_azure_auth.py +96 -0
  71. infisicalapi_client/models/api_v1_auth_azure_auth_identities_identity_id_patch_request.py +91 -0
  72. infisicalapi_client/models/api_v1_auth_azure_auth_identities_identity_id_post_request.py +91 -0
  73. infisicalapi_client/models/api_v1_auth_check_auth_post200_response.py +78 -0
  74. infisicalapi_client/models/api_v1_auth_gcp_auth_identities_identity_id_get200_response.py +75 -0
  75. infisicalapi_client/models/api_v1_auth_gcp_auth_identities_identity_id_get200_response_identity_gcp_auth.py +98 -0
  76. infisicalapi_client/models/api_v1_auth_gcp_auth_identities_identity_id_patch_request.py +103 -0
  77. infisicalapi_client/models/api_v1_auth_gcp_auth_identities_identity_id_post_request.py +100 -0
  78. infisicalapi_client/models/api_v1_auth_kubernetes_auth_identities_identity_id_delete200_response.py +75 -0
  79. infisicalapi_client/models/api_v1_auth_kubernetes_auth_identities_identity_id_delete200_response_identity_kubernetes_auth.py +98 -0
  80. infisicalapi_client/models/api_v1_auth_kubernetes_auth_identities_identity_id_get200_response.py +75 -0
  81. infisicalapi_client/models/api_v1_auth_kubernetes_auth_identities_identity_id_get200_response_identity_kubernetes_auth.py +102 -0
  82. infisicalapi_client/models/api_v1_auth_kubernetes_auth_identities_identity_id_patch_request.py +97 -0
  83. infisicalapi_client/models/api_v1_auth_kubernetes_auth_identities_identity_id_post_request.py +97 -0
  84. infisicalapi_client/models/api_v1_auth_kubernetes_auth_login_post_request.py +73 -0
  85. infisicalapi_client/models/api_v1_auth_oidc_auth_identities_identity_id_delete200_response.py +75 -0
  86. infisicalapi_client/models/api_v1_auth_oidc_auth_identities_identity_id_delete200_response_identity_oidc_auth.py +110 -0
  87. infisicalapi_client/models/api_v1_auth_oidc_auth_identities_identity_id_get200_response.py +75 -0
  88. infisicalapi_client/models/api_v1_auth_oidc_auth_identities_identity_id_get200_response_identity_oidc_auth.py +112 -0
  89. infisicalapi_client/models/api_v1_auth_oidc_auth_identities_identity_id_patch_request.py +97 -0
  90. infisicalapi_client/models/api_v1_auth_oidc_auth_identities_identity_id_post_request.py +97 -0
  91. infisicalapi_client/models/api_v1_auth_token_auth_identities_identity_id_get200_response.py +75 -0
  92. infisicalapi_client/models/api_v1_auth_token_auth_identities_identity_id_get200_response_identity_token_auth.py +90 -0
  93. infisicalapi_client/models/api_v1_auth_token_auth_identities_identity_id_patch_request.py +85 -0
  94. infisicalapi_client/models/api_v1_auth_token_auth_identities_identity_id_post_request.py +85 -0
  95. infisicalapi_client/models/api_v1_auth_token_auth_identities_identity_id_post_request_access_token_trusted_ips_inner.py +71 -0
  96. infisicalapi_client/models/api_v1_auth_token_auth_identities_identity_id_tokens_get200_response.py +79 -0
  97. infisicalapi_client/models/api_v1_auth_token_auth_identities_identity_id_tokens_get200_response_tokens_inner.py +115 -0
  98. infisicalapi_client/models/api_v1_auth_token_auth_identities_identity_id_tokens_post200_response.py +84 -0
  99. infisicalapi_client/models/api_v1_auth_token_auth_identities_identity_id_tokens_post_request.py +71 -0
  100. infisicalapi_client/models/api_v1_auth_token_auth_tokens_token_id_patch200_response.py +75 -0
  101. infisicalapi_client/models/api_v1_auth_token_auth_tokens_token_id_patch_request.py +71 -0
  102. infisicalapi_client/models/api_v1_auth_token_post200_response.py +71 -0
  103. infisicalapi_client/models/api_v1_auth_token_renew_post_request.py +71 -0
  104. infisicalapi_client/models/api_v1_auth_token_revoke_post_request.py +71 -0
  105. infisicalapi_client/models/api_v1_auth_universal_auth_identities_identity_id_client_secrets_client_secret_id_get200_response.py +75 -0
  106. infisicalapi_client/models/api_v1_auth_universal_auth_identities_identity_id_client_secrets_get200_response.py +79 -0
  107. infisicalapi_client/models/api_v1_auth_universal_auth_identities_identity_id_client_secrets_get200_response_client_secret_data_inner.py +89 -0
  108. infisicalapi_client/models/api_v1_auth_universal_auth_identities_identity_id_client_secrets_post200_response.py +77 -0
  109. infisicalapi_client/models/api_v1_auth_universal_auth_identities_identity_id_client_secrets_post_request.py +75 -0
  110. infisicalapi_client/models/api_v1_auth_universal_auth_identities_identity_id_get200_response.py +75 -0
  111. infisicalapi_client/models/api_v1_auth_universal_auth_identities_identity_id_get200_response_identity_universal_auth.py +99 -0
  112. infisicalapi_client/models/api_v1_auth_universal_auth_identities_identity_id_patch_request.py +94 -0
  113. infisicalapi_client/models/api_v1_auth_universal_auth_identities_identity_id_post_request.py +94 -0
  114. infisicalapi_client/models/api_v1_auth_universal_auth_login_post_request.py +73 -0
  115. infisicalapi_client/models/api_v1_bot_bot_id_active_patch_request.py +77 -0
  116. infisicalapi_client/models/api_v1_bot_bot_id_active_patch_request_bot_key.py +73 -0
  117. infisicalapi_client/models/api_v1_bot_project_id_get200_response.py +75 -0
  118. infisicalapi_client/models/api_v1_bot_project_id_get200_response_bot.py +104 -0
  119. infisicalapi_client/models/api_v1_dynamic_secrets_get200_response.py +79 -0
  120. infisicalapi_client/models/api_v1_dynamic_secrets_get200_response_dynamic_secrets_inner.py +106 -0
  121. infisicalapi_client/models/api_v1_dynamic_secrets_leases_lease_id_delete200_response.py +75 -0
  122. infisicalapi_client/models/api_v1_dynamic_secrets_leases_lease_id_delete_request.py +77 -0
  123. infisicalapi_client/models/api_v1_dynamic_secrets_leases_lease_id_get200_response.py +75 -0
  124. infisicalapi_client/models/api_v1_dynamic_secrets_leases_lease_id_get200_response_lease.py +103 -0
  125. infisicalapi_client/models/api_v1_dynamic_secrets_leases_lease_id_renew_post_request.py +77 -0
  126. infisicalapi_client/models/api_v1_dynamic_secrets_leases_post200_response.py +88 -0
  127. infisicalapi_client/models/api_v1_dynamic_secrets_leases_post_request.py +79 -0
  128. infisicalapi_client/models/api_v1_dynamic_secrets_name_delete_request.py +77 -0
  129. infisicalapi_client/models/api_v1_dynamic_secrets_name_get200_response.py +75 -0
  130. infisicalapi_client/models/api_v1_dynamic_secrets_name_get200_response_dynamic_secret.py +113 -0
  131. infisicalapi_client/models/api_v1_dynamic_secrets_name_leases_get200_response.py +79 -0
  132. infisicalapi_client/models/api_v1_dynamic_secrets_name_leases_get200_response_leases_inner.py +97 -0
  133. infisicalapi_client/models/api_v1_dynamic_secrets_name_patch_request.py +81 -0
  134. infisicalapi_client/models/api_v1_dynamic_secrets_name_patch_request_data.py +87 -0
  135. infisicalapi_client/models/api_v1_dynamic_secrets_post200_response.py +75 -0
  136. infisicalapi_client/models/api_v1_dynamic_secrets_post_request.py +92 -0
  137. infisicalapi_client/models/api_v1_dynamic_secrets_post_request_provider.py +149 -0
  138. infisicalapi_client/models/api_v1_dynamic_secrets_post_request_provider_any_of.py +84 -0
  139. infisicalapi_client/models/api_v1_dynamic_secrets_post_request_provider_any_of1.py +84 -0
  140. infisicalapi_client/models/api_v1_dynamic_secrets_post_request_provider_any_of1_inputs.py +89 -0
  141. infisicalapi_client/models/api_v1_dynamic_secrets_post_request_provider_any_of2.py +84 -0
  142. infisicalapi_client/models/api_v1_dynamic_secrets_post_request_provider_any_of2_inputs.py +85 -0
  143. infisicalapi_client/models/api_v1_dynamic_secrets_post_request_provider_any_of_inputs.py +96 -0
  144. infisicalapi_client/models/api_v1_external_kms_get200_response.py +79 -0
  145. infisicalapi_client/models/api_v1_external_kms_get200_response_external_kms_list_inner.py +97 -0
  146. infisicalapi_client/models/api_v1_external_kms_get200_response_external_kms_list_inner_external_kms.py +85 -0
  147. infisicalapi_client/models/api_v1_external_kms_id_get200_response.py +75 -0
  148. infisicalapi_client/models/api_v1_external_kms_id_get200_response_external_kms.py +106 -0
  149. infisicalapi_client/models/api_v1_external_kms_id_get200_response_external_kms_external.py +93 -0
  150. infisicalapi_client/models/api_v1_external_kms_id_patch_request.py +79 -0
  151. infisicalapi_client/models/api_v1_external_kms_id_patch_request_provider.py +84 -0
  152. infisicalapi_client/models/api_v1_external_kms_id_patch_request_provider_inputs.py +79 -0
  153. infisicalapi_client/models/api_v1_external_kms_post200_response.py +75 -0
  154. infisicalapi_client/models/api_v1_external_kms_post200_response_external_kms.py +106 -0
  155. infisicalapi_client/models/api_v1_external_kms_post200_response_external_kms_external.py +87 -0
  156. infisicalapi_client/models/api_v1_external_kms_post_request.py +79 -0
  157. infisicalapi_client/models/api_v1_external_kms_post_request_provider.py +84 -0
  158. infisicalapi_client/models/api_v1_external_kms_post_request_provider_inputs.py +79 -0
  159. infisicalapi_client/models/api_v1_external_kms_post_request_provider_inputs_credential.py +134 -0
  160. infisicalapi_client/models/api_v1_external_kms_post_request_provider_inputs_credential_any_of.py +84 -0
  161. infisicalapi_client/models/api_v1_external_kms_post_request_provider_inputs_credential_any_of1.py +84 -0
  162. infisicalapi_client/models/api_v1_external_kms_post_request_provider_inputs_credential_any_of1_data.py +73 -0
  163. infisicalapi_client/models/api_v1_external_kms_post_request_provider_inputs_credential_any_of_data.py +73 -0
  164. infisicalapi_client/models/api_v1_folders_batch_patch_request.py +81 -0
  165. infisicalapi_client/models/api_v1_folders_batch_patch_request_folders_inner.py +77 -0
  166. infisicalapi_client/models/api_v1_folders_folder_id_or_name_delete_request.py +77 -0
  167. infisicalapi_client/models/api_v1_folders_folder_id_patch_request.py +79 -0
  168. infisicalapi_client/models/api_v1_folders_get200_response.py +79 -0
  169. infisicalapi_client/models/api_v1_folders_get200_response_folders_inner.py +100 -0
  170. infisicalapi_client/models/api_v1_folders_post200_response.py +75 -0
  171. infisicalapi_client/models/api_v1_folders_post_request.py +79 -0
  172. infisicalapi_client/models/api_v1_groups_current_slug_patch_request.py +75 -0
  173. infisicalapi_client/models/api_v1_groups_post200_response.py +90 -0
  174. infisicalapi_client/models/api_v1_groups_post_request.py +75 -0
  175. infisicalapi_client/models/api_v1_groups_slug_users_get200_response.py +81 -0
  176. infisicalapi_client/models/api_v1_groups_slug_users_get200_response_users_inner.py +96 -0
  177. infisicalapi_client/models/api_v1_groups_slug_users_username_post200_response.py +94 -0
  178. infisicalapi_client/models/api_v1_identities_get200_response.py +79 -0
  179. infisicalapi_client/models/api_v1_identities_get200_response_identities_inner.py +100 -0
  180. infisicalapi_client/models/api_v1_identities_get200_response_identities_inner_identity.py +80 -0
  181. infisicalapi_client/models/api_v1_identities_identity_id_get200_response.py +75 -0
  182. infisicalapi_client/models/api_v1_identities_identity_id_identity_memberships_get200_response.py +79 -0
  183. infisicalapi_client/models/api_v1_identities_identity_id_identity_memberships_get200_response_identity_memberships_inner.py +99 -0
  184. infisicalapi_client/models/api_v1_identities_identity_id_patch_request.py +73 -0
  185. infisicalapi_client/models/api_v1_identities_post200_response.py +75 -0
  186. infisicalapi_client/models/api_v1_identities_post200_response_identity.py +84 -0
  187. infisicalapi_client/models/api_v1_identities_post_request.py +75 -0
  188. infisicalapi_client/models/api_v1_integration_auth_access_token_post_request.py +85 -0
  189. infisicalapi_client/models/api_v1_integration_auth_delete200_response.py +79 -0
  190. infisicalapi_client/models/api_v1_integration_auth_integration_auth_id_apps_get200_response.py +79 -0
  191. infisicalapi_client/models/api_v1_integration_auth_integration_auth_id_apps_get200_response_apps_inner.py +75 -0
  192. infisicalapi_client/models/api_v1_integration_auth_integration_auth_id_aws_secrets_manager_kms_keys_get200_response.py +79 -0
  193. infisicalapi_client/models/api_v1_integration_auth_integration_auth_id_aws_secrets_manager_kms_keys_get200_response_kms_keys_inner.py +73 -0
  194. infisicalapi_client/models/api_v1_integration_auth_integration_auth_id_bitbucket_workspaces_get200_response.py +79 -0
  195. infisicalapi_client/models/api_v1_integration_auth_integration_auth_id_bitbucket_workspaces_get200_response_workspaces_inner.py +83 -0
  196. infisicalapi_client/models/api_v1_integration_auth_integration_auth_id_checkly_groups_get200_response.py +79 -0
  197. infisicalapi_client/models/api_v1_integration_auth_integration_auth_id_checkly_groups_get200_response_groups_inner.py +73 -0
  198. infisicalapi_client/models/api_v1_integration_auth_integration_auth_id_get200_response.py +75 -0
  199. infisicalapi_client/models/api_v1_integration_auth_integration_auth_id_github_envs_get200_response.py +79 -0
  200. infisicalapi_client/models/api_v1_integration_auth_integration_auth_id_github_envs_get200_response_envs_inner.py +73 -0
  201. infisicalapi_client/models/api_v1_integration_auth_integration_auth_id_github_orgs_get200_response.py +79 -0
  202. infisicalapi_client/models/api_v1_integration_auth_integration_auth_id_github_orgs_get200_response_orgs_inner.py +73 -0
  203. infisicalapi_client/models/api_v1_integration_auth_integration_auth_id_heroku_pipelines_get200_response.py +79 -0
  204. infisicalapi_client/models/api_v1_integration_auth_integration_auth_id_heroku_pipelines_get200_response_pipelines_inner.py +83 -0
  205. infisicalapi_client/models/api_v1_integration_auth_integration_auth_id_heroku_pipelines_get200_response_pipelines_inner_app.py +71 -0
  206. infisicalapi_client/models/api_v1_integration_auth_integration_auth_id_heroku_pipelines_get200_response_pipelines_inner_pipeline.py +73 -0
  207. infisicalapi_client/models/api_v1_integration_auth_integration_auth_id_northflank_secret_groups_get200_response.py +79 -0
  208. infisicalapi_client/models/api_v1_integration_auth_integration_auth_id_northflank_secret_groups_get200_response_secret_groups_inner.py +73 -0
  209. infisicalapi_client/models/api_v1_integration_auth_integration_auth_id_qovery_apps_get200_response.py +79 -0
  210. infisicalapi_client/models/api_v1_integration_auth_integration_auth_id_qovery_apps_get200_response_apps_inner.py +73 -0
  211. infisicalapi_client/models/api_v1_integration_auth_integration_auth_id_qovery_containers_get200_response.py +79 -0
  212. infisicalapi_client/models/api_v1_integration_auth_integration_auth_id_qovery_environments_get200_response.py +79 -0
  213. infisicalapi_client/models/api_v1_integration_auth_integration_auth_id_qovery_environments_get200_response_environments_inner.py +73 -0
  214. infisicalapi_client/models/api_v1_integration_auth_integration_auth_id_qovery_jobs_get200_response.py +79 -0
  215. infisicalapi_client/models/api_v1_integration_auth_integration_auth_id_qovery_projects_get200_response.py +79 -0
  216. infisicalapi_client/models/api_v1_integration_auth_integration_auth_id_qovery_projects_get200_response_projects_inner.py +73 -0
  217. infisicalapi_client/models/api_v1_integration_auth_integration_auth_id_railway_services_get200_response.py +79 -0
  218. infisicalapi_client/models/api_v1_integration_auth_integration_auth_id_railway_services_get200_response_services_inner.py +73 -0
  219. infisicalapi_client/models/api_v1_integration_auth_integration_auth_id_teamcity_build_configs_get200_response.py +79 -0
  220. infisicalapi_client/models/api_v1_integration_auth_integration_auth_id_teamcity_build_configs_get200_response_build_configs_inner.py +73 -0
  221. infisicalapi_client/models/api_v1_integration_auth_integration_auth_id_teams_get200_response.py +79 -0
  222. infisicalapi_client/models/api_v1_integration_auth_integration_auth_id_vercel_branches_get200_response.py +71 -0
  223. infisicalapi_client/models/api_v1_integration_auth_integration_options_get200_response.py +79 -0
  224. infisicalapi_client/models/api_v1_integration_auth_integration_options_get200_response_integration_options_inner.py +85 -0
  225. infisicalapi_client/models/api_v1_integration_auth_oauth_token_post_request.py +77 -0
  226. infisicalapi_client/models/api_v1_integration_integration_id_patch_request.py +89 -0
  227. infisicalapi_client/models/api_v1_integration_integration_id_patch_request_metadata.py +115 -0
  228. infisicalapi_client/models/api_v1_integration_post200_response.py +75 -0
  229. infisicalapi_client/models/api_v1_integration_post200_response_integration.py +197 -0
  230. infisicalapi_client/models/api_v1_integration_post_request.py +105 -0
  231. infisicalapi_client/models/api_v1_integration_post_request_metadata.py +115 -0
  232. infisicalapi_client/models/api_v1_integration_post_request_metadata_secret_gcp_label.py +73 -0
  233. infisicalapi_client/models/api_v1_invite_org_signup_post200_response.py +73 -0
  234. infisicalapi_client/models/api_v1_invite_org_signup_post_request.py +73 -0
  235. infisicalapi_client/models/api_v1_invite_org_verify_post200_response.py +79 -0
  236. infisicalapi_client/models/api_v1_invite_org_verify_post_request.py +75 -0
  237. infisicalapi_client/models/api_v1_ldap_config_config_id_group_maps_get200_response_inner.py +81 -0
  238. infisicalapi_client/models/api_v1_ldap_config_config_id_group_maps_post200_response.py +77 -0
  239. infisicalapi_client/models/api_v1_ldap_config_config_id_group_maps_post_request.py +73 -0
  240. infisicalapi_client/models/api_v1_ldap_config_get200_response.py +93 -0
  241. infisicalapi_client/models/api_v1_ldap_config_patch_request.py +91 -0
  242. infisicalapi_client/models/api_v1_ldap_config_post200_response.py +109 -0
  243. infisicalapi_client/models/api_v1_ldap_config_post_request.py +91 -0
  244. infisicalapi_client/models/api_v1_ldap_login_post_request.py +71 -0
  245. infisicalapi_client/models/api_v1_organization_admin_projects_get200_response.py +81 -0
  246. infisicalapi_client/models/api_v1_organization_admin_projects_get200_response_projects_inner.py +113 -0
  247. infisicalapi_client/models/api_v1_organization_admin_projects_project_id_grant_admin_access_post200_response.py +75 -0
  248. infisicalapi_client/models/api_v1_organization_admin_projects_project_id_grant_admin_access_post200_response_membership.py +79 -0
  249. infisicalapi_client/models/api_v1_organization_get200_response.py +79 -0
  250. infisicalapi_client/models/api_v1_organization_get200_response_organizations_inner.py +114 -0
  251. infisicalapi_client/models/api_v1_organization_organization_id_get200_response.py +75 -0
  252. infisicalapi_client/models/api_v1_organization_organization_id_groups_get200_response.py +79 -0
  253. infisicalapi_client/models/api_v1_organization_organization_id_groups_get200_response_groups_inner.py +96 -0
  254. infisicalapi_client/models/api_v1_organization_organization_id_groups_get200_response_groups_inner_custom_role.py +89 -0
  255. infisicalapi_client/models/api_v1_organization_organization_id_incident_contact_org_get200_response.py +79 -0
  256. infisicalapi_client/models/api_v1_organization_organization_id_incident_contact_org_get200_response_incident_contacts_org_inner.py +79 -0
  257. infisicalapi_client/models/api_v1_organization_organization_id_incident_contact_org_post200_response.py +75 -0
  258. infisicalapi_client/models/api_v1_organization_organization_id_patch200_response.py +77 -0
  259. infisicalapi_client/models/api_v1_organization_organization_id_patch_request.py +87 -0
  260. infisicalapi_client/models/api_v1_organization_organization_id_permissions_get200_response.py +77 -0
  261. infisicalapi_client/models/api_v1_organization_organization_id_permissions_get200_response_membership.py +111 -0
  262. infisicalapi_client/models/api_v1_organization_organization_id_roles_get200_response.py +75 -0
  263. infisicalapi_client/models/api_v1_organization_organization_id_roles_get200_response_data.py +79 -0
  264. infisicalapi_client/models/api_v1_organization_organization_id_roles_get200_response_data_roles_inner.py +95 -0
  265. infisicalapi_client/models/api_v1_organization_organization_id_roles_post200_response.py +75 -0
  266. infisicalapi_client/models/api_v1_organization_organization_id_roles_post200_response_role.py +95 -0
  267. infisicalapi_client/models/api_v1_organization_organization_id_roles_post_request.py +77 -0
  268. infisicalapi_client/models/api_v1_organization_organization_id_roles_role_id_patch_request.py +77 -0
  269. infisicalapi_client/models/api_v1_organization_organization_id_users_get200_response.py +79 -0
  270. infisicalapi_client/models/api_v1_organization_organization_id_users_get200_response_users_inner.py +113 -0
  271. infisicalapi_client/models/api_v1_organization_organization_id_users_get200_response_users_inner_user.py +101 -0
  272. infisicalapi_client/models/api_v1_organizations_organization_id_billing_details_patch_request.py +73 -0
  273. infisicalapi_client/models/api_v1_organizations_organization_id_billing_details_payment_methods_post_request.py +73 -0
  274. infisicalapi_client/models/api_v1_organizations_organization_id_billing_details_tax_ids_post_request.py +73 -0
  275. infisicalapi_client/models/api_v1_organizations_organization_id_plan_get200_response.py +76 -0
  276. infisicalapi_client/models/api_v1_organizations_organization_id_session_trial_post_request.py +71 -0
  277. infisicalapi_client/models/api_v1_password_backup_private_key_get200_response.py +77 -0
  278. infisicalapi_client/models/api_v1_password_backup_private_key_get200_response_backup_private_key.py +89 -0
  279. infisicalapi_client/models/api_v1_password_backup_private_key_post_request.py +81 -0
  280. infisicalapi_client/models/api_v1_password_change_password_post_request.py +89 -0
  281. infisicalapi_client/models/api_v1_password_email_password_reset_post_request.py +71 -0
  282. infisicalapi_client/models/api_v1_password_email_password_reset_verify_post200_response.py +79 -0
  283. infisicalapi_client/models/api_v1_password_email_password_reset_verify_post200_response_user.py +177 -0
  284. infisicalapi_client/models/api_v1_password_email_password_reset_verify_post_request.py +73 -0
  285. infisicalapi_client/models/api_v1_password_password_reset_post_request.py +85 -0
  286. infisicalapi_client/models/api_v1_password_srp1_post200_response.py +73 -0
  287. infisicalapi_client/models/api_v1_password_srp1_post_request.py +71 -0
  288. infisicalapi_client/models/api_v1_pki_ca_ca_id_certificate_get200_response.py +75 -0
  289. infisicalapi_client/models/api_v1_pki_ca_ca_id_crl_get200_response.py +71 -0
  290. infisicalapi_client/models/api_v1_pki_ca_ca_id_csr_get200_response.py +71 -0
  291. infisicalapi_client/models/api_v1_pki_ca_ca_id_import_certificate_post200_response.py +73 -0
  292. infisicalapi_client/models/api_v1_pki_ca_ca_id_import_certificate_post_request.py +73 -0
  293. infisicalapi_client/models/api_v1_pki_ca_ca_id_issue_certificate_post200_response.py +79 -0
  294. infisicalapi_client/models/api_v1_pki_ca_ca_id_issue_certificate_post_request.py +81 -0
  295. infisicalapi_client/models/api_v1_pki_ca_ca_id_patch_request.py +81 -0
  296. infisicalapi_client/models/api_v1_pki_ca_ca_id_sign_certificate_post200_response.py +77 -0
  297. infisicalapi_client/models/api_v1_pki_ca_ca_id_sign_certificate_post_request.py +83 -0
  298. infisicalapi_client/models/api_v1_pki_ca_ca_id_sign_intermediate_post200_response.py +77 -0
  299. infisicalapi_client/models/api_v1_pki_ca_ca_id_sign_intermediate_post_request.py +77 -0
  300. infisicalapi_client/models/api_v1_pki_ca_post200_response.py +75 -0
  301. infisicalapi_client/models/api_v1_pki_ca_post200_response_ca.py +134 -0
  302. infisicalapi_client/models/api_v1_pki_ca_post_request.py +112 -0
  303. infisicalapi_client/models/api_v1_pki_certificates_serial_number_certificate_get200_response.py +75 -0
  304. infisicalapi_client/models/api_v1_pki_certificates_serial_number_get200_response.py +75 -0
  305. infisicalapi_client/models/api_v1_pki_certificates_serial_number_get200_response_certificate.py +110 -0
  306. infisicalapi_client/models/api_v1_pki_certificates_serial_number_revoke_post200_response.py +75 -0
  307. infisicalapi_client/models/api_v1_pki_certificates_serial_number_revoke_post_request.py +78 -0
  308. infisicalapi_client/models/api_v1_rate_limit_get200_response.py +75 -0
  309. infisicalapi_client/models/api_v1_rate_limit_get200_response_rate_limit.py +89 -0
  310. infisicalapi_client/models/api_v1_rate_limit_put_request.py +83 -0
  311. infisicalapi_client/models/api_v1_scim_groups_get200_response.py +87 -0
  312. infisicalapi_client/models/api_v1_scim_groups_get200_response_resources_inner.py +91 -0
  313. infisicalapi_client/models/api_v1_scim_groups_get200_response_resources_inner_meta.py +71 -0
  314. infisicalapi_client/models/api_v1_scim_groups_group_id_patch_request.py +81 -0
  315. infisicalapi_client/models/api_v1_scim_groups_group_id_patch_request_operations_inner.py +149 -0
  316. infisicalapi_client/models/api_v1_scim_groups_group_id_patch_request_operations_inner_any_of.py +84 -0
  317. infisicalapi_client/models/api_v1_scim_groups_group_id_patch_request_operations_inner_any_of1.py +80 -0
  318. infisicalapi_client/models/api_v1_scim_groups_group_id_patch_request_operations_inner_any_of2.py +90 -0
  319. infisicalapi_client/models/api_v1_scim_groups_group_id_patch_request_operations_inner_any_of2_value_inner.py +73 -0
  320. infisicalapi_client/models/api_v1_scim_groups_group_id_patch_request_operations_inner_any_of_value.py +73 -0
  321. infisicalapi_client/models/api_v1_scim_groups_group_id_put_request.py +85 -0
  322. infisicalapi_client/models/api_v1_scim_groups_post200_response.py +91 -0
  323. infisicalapi_client/models/api_v1_scim_groups_post_request.py +83 -0
  324. infisicalapi_client/models/api_v1_scim_scim_tokens_get200_response.py +79 -0
  325. infisicalapi_client/models/api_v1_scim_scim_tokens_get200_response_scim_tokens_inner.py +81 -0
  326. infisicalapi_client/models/api_v1_scim_scim_tokens_post200_response.py +71 -0
  327. infisicalapi_client/models/api_v1_scim_scim_tokens_post_request.py +75 -0
  328. infisicalapi_client/models/api_v1_scim_scim_tokens_scim_token_id_delete200_response.py +75 -0
  329. infisicalapi_client/models/api_v1_scim_users_get200_response.py +87 -0
  330. infisicalapi_client/models/api_v1_scim_users_get200_response_resources_inner.py +93 -0
  331. infisicalapi_client/models/api_v1_scim_users_get200_response_resources_inner_emails_inner.py +75 -0
  332. infisicalapi_client/models/api_v1_scim_users_get200_response_resources_inner_name.py +73 -0
  333. infisicalapi_client/models/api_v1_scim_users_org_membership_id_get201_response.py +105 -0
  334. infisicalapi_client/models/api_v1_scim_users_org_membership_id_get201_response_groups_inner.py +73 -0
  335. infisicalapi_client/models/api_v1_scim_users_org_membership_id_put200_response.py +105 -0
  336. infisicalapi_client/models/api_v1_scim_users_org_membership_id_put_request.py +85 -0
  337. infisicalapi_client/models/api_v1_scim_users_post200_response.py +95 -0
  338. infisicalapi_client/models/api_v1_scim_users_post_request.py +91 -0
  339. infisicalapi_client/models/api_v1_scim_users_post_request_emails_inner.py +75 -0
  340. infisicalapi_client/models/api_v1_secret_approval_requests_count_get200_response.py +75 -0
  341. infisicalapi_client/models/api_v1_secret_approval_requests_count_get200_response_approvals.py +73 -0
  342. infisicalapi_client/models/api_v1_secret_approval_requests_get200_response.py +79 -0
  343. infisicalapi_client/models/api_v1_secret_approval_requests_get200_response_approvals_inner.py +151 -0
  344. infisicalapi_client/models/api_v1_secret_approval_requests_get200_response_approvals_inner_commits_inner.py +78 -0
  345. infisicalapi_client/models/api_v1_secret_approval_requests_get200_response_approvals_inner_committer_user.py +94 -0
  346. infisicalapi_client/models/api_v1_secret_approval_requests_get200_response_approvals_inner_policy.py +86 -0
  347. infisicalapi_client/models/api_v1_secret_approval_requests_get200_response_approvals_inner_reviewers_inner.py +73 -0
  348. infisicalapi_client/models/api_v1_secret_approval_requests_id_get200_response.py +75 -0
  349. infisicalapi_client/models/api_v1_secret_approval_requests_id_get200_response_approval.py +156 -0
  350. infisicalapi_client/models/api_v1_secret_approval_requests_id_get200_response_approval_commits_inner.py +138 -0
  351. infisicalapi_client/models/api_v1_secret_approval_requests_id_get200_response_approval_commits_inner_secret.py +79 -0
  352. infisicalapi_client/models/api_v1_secret_approval_requests_id_get200_response_approval_commits_inner_secret_version.py +89 -0
  353. infisicalapi_client/models/api_v1_secret_approval_requests_id_get200_response_approval_policy.py +94 -0
  354. infisicalapi_client/models/api_v1_secret_approval_requests_id_get200_response_approval_reviewers_inner.py +96 -0
  355. infisicalapi_client/models/api_v1_secret_approval_requests_id_merge_post200_response.py +75 -0
  356. infisicalapi_client/models/api_v1_secret_approval_requests_id_merge_post200_response_approval.py +115 -0
  357. infisicalapi_client/models/api_v1_secret_approval_requests_id_merge_post_request.py +71 -0
  358. infisicalapi_client/models/api_v1_secret_approval_requests_id_review_post200_response.py +75 -0
  359. infisicalapi_client/models/api_v1_secret_approval_requests_id_review_post200_response_review.py +81 -0
  360. infisicalapi_client/models/api_v1_secret_approval_requests_id_review_post_request.py +78 -0
  361. infisicalapi_client/models/api_v1_secret_approval_requests_id_status_post_request.py +78 -0
  362. infisicalapi_client/models/api_v1_secret_approvals_board_get200_response.py +75 -0
  363. infisicalapi_client/models/api_v1_secret_approvals_get200_response.py +79 -0
  364. infisicalapi_client/models/api_v1_secret_approvals_get200_response_approvals_inner.py +108 -0
  365. infisicalapi_client/models/api_v1_secret_approvals_get200_response_approvals_inner_environment.py +75 -0
  366. infisicalapi_client/models/api_v1_secret_approvals_get200_response_approvals_inner_user_approvers_inner.py +71 -0
  367. infisicalapi_client/models/api_v1_secret_approvals_post200_response.py +75 -0
  368. infisicalapi_client/models/api_v1_secret_approvals_post200_response_approval.py +98 -0
  369. infisicalapi_client/models/api_v1_secret_approvals_post_request.py +98 -0
  370. infisicalapi_client/models/api_v1_secret_approvals_sap_id_patch_request.py +94 -0
  371. infisicalapi_client/models/api_v1_secret_imports_get200_response.py +81 -0
  372. infisicalapi_client/models/api_v1_secret_imports_get200_response_secret_imports_inner.py +129 -0
  373. infisicalapi_client/models/api_v1_secret_imports_get200_response_secret_imports_inner_import_env.py +75 -0
  374. infisicalapi_client/models/api_v1_secret_imports_post200_response.py +77 -0
  375. infisicalapi_client/models/api_v1_secret_imports_post_request.py +83 -0
  376. infisicalapi_client/models/api_v1_secret_imports_post_request_import.py +73 -0
  377. infisicalapi_client/models/api_v1_secret_imports_secret_import_id_delete_request.py +75 -0
  378. infisicalapi_client/models/api_v1_secret_imports_secret_import_id_patch_request.py +81 -0
  379. infisicalapi_client/models/api_v1_secret_imports_secret_import_id_patch_request_import.py +75 -0
  380. infisicalapi_client/models/api_v1_secret_imports_secret_import_id_replication_resync_post_request.py +75 -0
  381. infisicalapi_client/models/api_v1_secret_imports_secrets_get200_response.py +79 -0
  382. infisicalapi_client/models/api_v1_secret_imports_secrets_get200_response_secrets_inner.py +91 -0
  383. infisicalapi_client/models/api_v1_secret_imports_secrets_get200_response_secrets_inner_secrets_inner.py +153 -0
  384. infisicalapi_client/models/api_v1_secret_imports_secrets_raw_get200_response.py +79 -0
  385. infisicalapi_client/models/api_v1_secret_imports_secrets_raw_get200_response_secrets_inner.py +91 -0
  386. infisicalapi_client/models/api_v1_secret_rotation_providers_workspace_id_get200_response.py +79 -0
  387. infisicalapi_client/models/api_v1_secret_rotation_providers_workspace_id_get200_response_providers_inner.py +84 -0
  388. infisicalapi_client/models/api_v1_secret_rotations_get200_response.py +79 -0
  389. infisicalapi_client/models/api_v1_secret_rotations_get200_response_secret_rotations_inner.py +155 -0
  390. infisicalapi_client/models/api_v1_secret_rotations_get200_response_secret_rotations_inner_outputs_inner.py +77 -0
  391. infisicalapi_client/models/api_v1_secret_rotations_get200_response_secret_rotations_inner_outputs_inner_secret.py +75 -0
  392. infisicalapi_client/models/api_v1_secret_rotations_post200_response.py +75 -0
  393. infisicalapi_client/models/api_v1_secret_rotations_post200_response_secret_rotation.py +155 -0
  394. infisicalapi_client/models/api_v1_secret_rotations_post200_response_secret_rotation_outputs_inner.py +77 -0
  395. infisicalapi_client/models/api_v1_secret_rotations_post_request.py +85 -0
  396. infisicalapi_client/models/api_v1_secret_rotations_restart_post200_response.py +75 -0
  397. infisicalapi_client/models/api_v1_secret_rotations_restart_post200_response_secret_rotation.py +145 -0
  398. infisicalapi_client/models/api_v1_secret_rotations_restart_post_request.py +71 -0
  399. infisicalapi_client/models/api_v1_secret_scanning_create_installation_session_organization_post200_response.py +71 -0
  400. infisicalapi_client/models/api_v1_secret_scanning_create_installation_session_organization_post_request.py +71 -0
  401. infisicalapi_client/models/api_v1_secret_scanning_installation_status_organization_organization_id_get200_response.py +71 -0
  402. infisicalapi_client/models/api_v1_secret_scanning_link_installation_post200_response.py +81 -0
  403. infisicalapi_client/models/api_v1_secret_scanning_link_installation_post_request.py +73 -0
  404. infisicalapi_client/models/api_v1_secret_scanning_organization_organization_id_risks_get200_response.py +79 -0
  405. infisicalapi_client/models/api_v1_secret_scanning_organization_organization_id_risks_get200_response_risks_inner.py +261 -0
  406. infisicalapi_client/models/api_v1_secret_scanning_organization_organization_id_risks_risk_id_status_post_request.py +78 -0
  407. infisicalapi_client/models/api_v1_secret_secret_id_secret_versions_get200_response.py +79 -0
  408. infisicalapi_client/models/api_v1_secret_secret_id_secret_versions_get200_response_secret_versions_inner.py +119 -0
  409. infisicalapi_client/models/api_v1_secret_sharing_get200_response.py +81 -0
  410. infisicalapi_client/models/api_v1_secret_sharing_get200_response_secrets_inner.py +122 -0
  411. infisicalapi_client/models/api_v1_secret_sharing_post200_response.py +71 -0
  412. infisicalapi_client/models/api_v1_secret_sharing_post_request.py +95 -0
  413. infisicalapi_client/models/api_v1_secret_sharing_public_id_get200_response.py +88 -0
  414. infisicalapi_client/models/api_v1_secret_sharing_public_post_request.py +81 -0
  415. infisicalapi_client/models/api_v1_secret_snapshot_secret_snapshot_id_get200_response.py +75 -0
  416. infisicalapi_client/models/api_v1_secret_snapshot_secret_snapshot_id_get200_response_secret_snapshot.py +103 -0
  417. infisicalapi_client/models/api_v1_secret_snapshot_secret_snapshot_id_get200_response_secret_snapshot_environment.py +75 -0
  418. infisicalapi_client/models/api_v1_secret_snapshot_secret_snapshot_id_get200_response_secret_snapshot_folder_version_inner.py +73 -0
  419. infisicalapi_client/models/api_v1_secret_snapshot_secret_snapshot_id_get200_response_secret_snapshot_secret_versions_inner.py +123 -0
  420. infisicalapi_client/models/api_v1_secret_snapshot_secret_snapshot_id_get200_response_secret_snapshot_secret_versions_inner_tags_inner.py +80 -0
  421. infisicalapi_client/models/api_v1_secret_snapshot_secret_snapshot_id_rollback_post200_response.py +75 -0
  422. infisicalapi_client/models/api_v1_sso_config_get200_response.py +92 -0
  423. infisicalapi_client/models/api_v1_sso_config_patch_request.py +91 -0
  424. infisicalapi_client/models/api_v1_sso_config_post200_response.py +151 -0
  425. infisicalapi_client/models/api_v1_sso_config_post_request.py +88 -0
  426. infisicalapi_client/models/api_v1_sso_oidc_config_get200_response.py +130 -0
  427. infisicalapi_client/models/api_v1_sso_oidc_config_patch200_response.py +126 -0
  428. infisicalapi_client/models/api_v1_sso_oidc_config_patch_request.py +103 -0
  429. infisicalapi_client/models/api_v1_sso_oidc_config_post200_response.py +126 -0
  430. infisicalapi_client/models/api_v1_sso_oidc_config_post_request.py +100 -0
  431. infisicalapi_client/models/api_v1_sso_token_exchange_post_request.py +73 -0
  432. infisicalapi_client/models/api_v1_user_action_get200_response.py +80 -0
  433. infisicalapi_client/models/api_v1_user_action_get200_response_user_action.py +79 -0
  434. infisicalapi_client/models/api_v1_user_action_post200_response.py +77 -0
  435. infisicalapi_client/models/api_v1_user_action_post200_response_user_action.py +79 -0
  436. infisicalapi_client/models/api_v1_user_action_post_request.py +71 -0
  437. infisicalapi_client/models/api_v1_user_engagement_me_wish_post_request.py +71 -0
  438. infisicalapi_client/models/api_v1_user_get200_response.py +75 -0
  439. infisicalapi_client/models/api_v1_user_get200_response_user.py +233 -0
  440. infisicalapi_client/models/api_v1_user_me_project_favorites_get200_response.py +71 -0
  441. infisicalapi_client/models/api_v1_user_me_project_favorites_put_request.py +73 -0
  442. infisicalapi_client/models/api_v1_user_private_key_get200_response.py +71 -0
  443. infisicalapi_client/models/api_v1_webhooks_get200_response.py +81 -0
  444. infisicalapi_client/models/api_v1_webhooks_get200_response_webhooks_inner.py +112 -0
  445. infisicalapi_client/models/api_v1_webhooks_post200_response.py +77 -0
  446. infisicalapi_client/models/api_v1_webhooks_post200_response_webhook.py +110 -0
  447. infisicalapi_client/models/api_v1_webhooks_post_request.py +91 -0
  448. infisicalapi_client/models/api_v1_webhooks_webhook_id_patch_request.py +71 -0
  449. infisicalapi_client/models/api_v1_workspace_get200_response.py +79 -0
  450. infisicalapi_client/models/api_v1_workspace_get200_response_workspaces_inner.py +125 -0
  451. infisicalapi_client/models/api_v1_workspace_project_id_permissions_get200_response.py +75 -0
  452. infisicalapi_client/models/api_v1_workspace_project_id_permissions_get200_response_data.py +77 -0
  453. infisicalapi_client/models/api_v1_workspace_project_id_permissions_get200_response_data_membership.py +89 -0
  454. infisicalapi_client/models/api_v1_workspace_project_id_permissions_get200_response_data_membership_roles_inner.py +71 -0
  455. infisicalapi_client/models/api_v1_workspace_project_id_tags_get200_response.py +79 -0
  456. infisicalapi_client/models/api_v1_workspace_project_id_tags_get200_response_workspace_tags_inner.py +95 -0
  457. infisicalapi_client/models/api_v1_workspace_project_id_tags_post200_response.py +75 -0
  458. infisicalapi_client/models/api_v1_workspace_project_id_tags_post_request.py +73 -0
  459. infisicalapi_client/models/api_v1_workspace_project_id_tags_tag_id_get200_response.py +75 -0
  460. infisicalapi_client/models/api_v1_workspace_project_id_tags_tag_id_get200_response_workspace_tag.py +97 -0
  461. infisicalapi_client/models/api_v1_workspace_project_id_tags_tag_id_patch_request.py +73 -0
  462. infisicalapi_client/models/api_v1_workspace_project_slug_roles_get200_response.py +79 -0
  463. infisicalapi_client/models/api_v1_workspace_project_slug_roles_get200_response_roles_inner.py +88 -0
  464. infisicalapi_client/models/api_v1_workspace_project_slug_roles_post200_response.py +75 -0
  465. infisicalapi_client/models/api_v1_workspace_project_slug_roles_post200_response_role.py +98 -0
  466. infisicalapi_client/models/api_v1_workspace_project_slug_roles_post200_response_role_permissions_inner.py +86 -0
  467. infisicalapi_client/models/api_v1_workspace_project_slug_roles_post200_response_role_permissions_inner_conditions.py +77 -0
  468. infisicalapi_client/models/api_v1_workspace_project_slug_roles_post200_response_role_permissions_inner_conditions_secret_path.py +71 -0
  469. infisicalapi_client/models/api_v1_workspace_project_slug_roles_post200_response_role_permissions_inner_subject.py +138 -0
  470. infisicalapi_client/models/api_v1_workspace_project_slug_roles_post_request.py +85 -0
  471. infisicalapi_client/models/api_v1_workspace_project_slug_roles_post_request_permissions_inner.py +93 -0
  472. infisicalapi_client/models/api_v1_workspace_project_slug_roles_post_request_permissions_inner_conditions.py +77 -0
  473. infisicalapi_client/models/api_v1_workspace_project_slug_roles_post_request_permissions_inner_conditions_secret_path.py +71 -0
  474. infisicalapi_client/models/api_v1_workspace_project_slug_roles_role_id_patch_request.py +83 -0
  475. infisicalapi_client/models/api_v1_workspace_workspace_id_audit_logs_filters_actors_get200_response.py +71 -0
  476. infisicalapi_client/models/api_v1_workspace_workspace_id_audit_logs_get200_response.py +79 -0
  477. infisicalapi_client/models/api_v1_workspace_workspace_id_audit_logs_get200_response_audit_logs_inner.py +128 -0
  478. infisicalapi_client/models/api_v1_workspace_workspace_id_audit_logs_get200_response_audit_logs_inner_event.py +78 -0
  479. infisicalapi_client/models/api_v1_workspace_workspace_id_authorizations_get200_response.py +79 -0
  480. infisicalapi_client/models/api_v1_workspace_workspace_id_authorizations_get200_response_authorizations_inner.py +114 -0
  481. infisicalapi_client/models/api_v1_workspace_workspace_id_auto_capitalization_post_request.py +71 -0
  482. infisicalapi_client/models/api_v1_workspace_workspace_id_delete200_response.py +75 -0
  483. infisicalapi_client/models/api_v1_workspace_workspace_id_environments_env_id_get200_response.py +75 -0
  484. infisicalapi_client/models/api_v1_workspace_workspace_id_environments_env_id_get200_response_environment.py +83 -0
  485. infisicalapi_client/models/api_v1_workspace_workspace_id_environments_id_patch_request.py +75 -0
  486. infisicalapi_client/models/api_v1_workspace_workspace_id_environments_post200_response.py +79 -0
  487. infisicalapi_client/models/api_v1_workspace_workspace_id_environments_post_request.py +73 -0
  488. infisicalapi_client/models/api_v1_workspace_workspace_id_get200_response.py +75 -0
  489. infisicalapi_client/models/api_v1_workspace_workspace_id_integrations_get200_response.py +79 -0
  490. infisicalapi_client/models/api_v1_workspace_workspace_id_integrations_get200_response_integrations_inner.py +203 -0
  491. infisicalapi_client/models/api_v1_workspace_workspace_id_key_post_request.py +75 -0
  492. infisicalapi_client/models/api_v1_workspace_workspace_id_key_post_request_key.py +75 -0
  493. infisicalapi_client/models/api_v1_workspace_workspace_id_keys_get200_response.py +79 -0
  494. infisicalapi_client/models/api_v1_workspace_workspace_id_keys_get200_response_public_keys_inner.py +73 -0
  495. infisicalapi_client/models/api_v1_workspace_workspace_id_kms_backup_get200_response.py +71 -0
  496. infisicalapi_client/models/api_v1_workspace_workspace_id_kms_backup_post_request.py +71 -0
  497. infisicalapi_client/models/api_v1_workspace_workspace_id_kms_get200_response.py +75 -0
  498. infisicalapi_client/models/api_v1_workspace_workspace_id_kms_get200_response_secret_manager_kms_key.py +75 -0
  499. infisicalapi_client/models/api_v1_workspace_workspace_id_kms_patch_request.py +75 -0
  500. infisicalapi_client/models/api_v1_workspace_workspace_id_kms_patch_request_kms.py +134 -0
  501. infisicalapi_client/models/api_v1_workspace_workspace_id_kms_patch_request_kms_any_of.py +78 -0
  502. infisicalapi_client/models/api_v1_workspace_workspace_id_kms_patch_request_kms_any_of1.py +80 -0
  503. infisicalapi_client/models/api_v1_workspace_workspace_id_memberships_details_post200_response.py +75 -0
  504. infisicalapi_client/models/api_v1_workspace_workspace_id_memberships_details_post_request.py +71 -0
  505. infisicalapi_client/models/api_v1_workspace_workspace_id_memberships_get200_response.py +79 -0
  506. infisicalapi_client/models/api_v1_workspace_workspace_id_memberships_get200_response_memberships_inner.py +91 -0
  507. infisicalapi_client/models/api_v1_workspace_workspace_id_memberships_get200_response_memberships_inner_user.py +94 -0
  508. infisicalapi_client/models/api_v1_workspace_workspace_id_memberships_membership_id_patch200_response.py +79 -0
  509. infisicalapi_client/models/api_v1_workspace_workspace_id_memberships_membership_id_patch200_response_roles_inner.py +116 -0
  510. infisicalapi_client/models/api_v1_workspace_workspace_id_memberships_membership_id_patch_request.py +79 -0
  511. infisicalapi_client/models/api_v1_workspace_workspace_id_memberships_membership_id_patch_request_roles_inner.py +134 -0
  512. infisicalapi_client/models/api_v1_workspace_workspace_id_memberships_membership_id_patch_request_roles_inner_any_of.py +73 -0
  513. infisicalapi_client/models/api_v1_workspace_workspace_id_memberships_membership_id_patch_request_roles_inner_any_of1.py +86 -0
  514. infisicalapi_client/models/api_v1_workspace_workspace_id_memberships_post200_response.py +81 -0
  515. infisicalapi_client/models/api_v1_workspace_workspace_id_memberships_post_request.py +79 -0
  516. infisicalapi_client/models/api_v1_workspace_workspace_id_memberships_post_request_members_inner.py +75 -0
  517. infisicalapi_client/models/api_v1_workspace_workspace_id_migrate_v3_post200_response.py +71 -0
  518. infisicalapi_client/models/api_v1_workspace_workspace_id_name_post200_response.py +77 -0
  519. infisicalapi_client/models/api_v1_workspace_workspace_id_name_post_request.py +71 -0
  520. infisicalapi_client/models/api_v1_workspace_workspace_id_patch200_response.py +75 -0
  521. infisicalapi_client/models/api_v1_workspace_workspace_id_patch_request.py +73 -0
  522. infisicalapi_client/models/api_v1_workspace_workspace_id_secret_snapshots_count_get200_response.py +71 -0
  523. infisicalapi_client/models/api_v1_workspace_workspace_id_secret_snapshots_get200_response.py +79 -0
  524. infisicalapi_client/models/api_v1_workspace_workspace_id_secret_snapshots_get200_response_secret_snapshots_inner.py +86 -0
  525. infisicalapi_client/models/api_v1_workspace_workspace_id_service_token_data_get200_response.py +79 -0
  526. infisicalapi_client/models/api_v1_workspace_workspace_id_service_token_data_get200_response_service_token_data_inner.py +104 -0
  527. infisicalapi_client/models/api_v1_workspace_workspace_id_trusted_ips_get200_response.py +79 -0
  528. infisicalapi_client/models/api_v1_workspace_workspace_id_trusted_ips_get200_response_trusted_ips_inner.py +102 -0
  529. infisicalapi_client/models/api_v1_workspace_workspace_id_trusted_ips_post200_response.py +75 -0
  530. infisicalapi_client/models/api_v1_workspace_workspace_id_trusted_ips_post_request.py +75 -0
  531. infisicalapi_client/models/api_v1_workspace_workspace_id_trusted_ips_trusted_ip_id_patch_request.py +73 -0
  532. infisicalapi_client/models/api_v1_workspace_workspace_id_users_get200_response.py +79 -0
  533. infisicalapi_client/models/api_v1_workspace_workspace_id_users_get200_response_users_inner.py +97 -0
  534. infisicalapi_client/models/api_v1_workspace_workspace_id_users_get200_response_users_inner_project.py +73 -0
  535. infisicalapi_client/models/api_v1_workspace_workspace_id_users_get200_response_users_inner_roles_inner.py +124 -0
  536. infisicalapi_client/models/api_v1_workspace_workspace_id_users_get200_response_users_inner_user.py +96 -0
  537. infisicalapi_client/models/api_v1_workspace_workspace_slug_audit_logs_retention_put_request.py +71 -0
  538. infisicalapi_client/models/api_v1_workspace_workspace_slug_version_limit_put_request.py +71 -0
  539. infisicalapi_client/models/api_v2_auth_mfa_verify_post200_response.py +107 -0
  540. infisicalapi_client/models/api_v2_auth_mfa_verify_post_request.py +71 -0
  541. infisicalapi_client/models/api_v2_organizations_org_id_identity_memberships_get200_response.py +79 -0
  542. infisicalapi_client/models/api_v2_organizations_organization_id_memberships_get200_response.py +79 -0
  543. infisicalapi_client/models/api_v2_organizations_organization_id_memberships_get200_response_users_inner.py +113 -0
  544. infisicalapi_client/models/api_v2_organizations_organization_id_memberships_get200_response_users_inner_user.py +103 -0
  545. infisicalapi_client/models/api_v2_organizations_organization_id_memberships_membership_id_delete200_response.py +75 -0
  546. infisicalapi_client/models/api_v2_organizations_organization_id_memberships_membership_id_get200_response.py +75 -0
  547. infisicalapi_client/models/api_v2_organizations_organization_id_memberships_membership_id_get200_response_membership.py +113 -0
  548. infisicalapi_client/models/api_v2_organizations_organization_id_memberships_membership_id_get200_response_membership_user.py +108 -0
  549. infisicalapi_client/models/api_v2_organizations_organization_id_memberships_membership_id_patch_request.py +73 -0
  550. infisicalapi_client/models/api_v2_organizations_organization_id_memberships_membership_id_project_memberships_get200_response.py +79 -0
  551. infisicalapi_client/models/api_v2_organizations_organization_id_workspaces_get200_response.py +79 -0
  552. infisicalapi_client/models/api_v2_organizations_organization_id_workspaces_get200_response_workspaces_inner.py +87 -0
  553. infisicalapi_client/models/api_v2_organizations_organization_id_workspaces_get200_response_workspaces_inner_environments_inner.py +73 -0
  554. infisicalapi_client/models/api_v2_service_token_get200_response.py +139 -0
  555. infisicalapi_client/models/api_v2_service_token_get200_response_user.py +121 -0
  556. infisicalapi_client/models/api_v2_service_token_post200_response.py +77 -0
  557. infisicalapi_client/models/api_v2_service_token_post_request.py +106 -0
  558. infisicalapi_client/models/api_v2_service_token_post_request_scopes_inner.py +73 -0
  559. infisicalapi_client/models/api_v2_service_token_service_token_id_delete200_response.py +75 -0
  560. infisicalapi_client/models/api_v2_users_me_api_keys_api_key_data_id_delete200_response.py +75 -0
  561. infisicalapi_client/models/api_v2_users_me_api_keys_get200_response_inner.py +93 -0
  562. infisicalapi_client/models/api_v2_users_me_api_keys_post200_response.py +77 -0
  563. infisicalapi_client/models/api_v2_users_me_api_keys_post_request.py +73 -0
  564. infisicalapi_client/models/api_v2_users_me_auth_methods_put_request.py +79 -0
  565. infisicalapi_client/models/api_v2_users_me_emails_code_post_request.py +71 -0
  566. infisicalapi_client/models/api_v2_users_me_emails_verify_post_request.py +73 -0
  567. infisicalapi_client/models/api_v2_users_me_mfa_patch200_response.py +75 -0
  568. infisicalapi_client/models/api_v2_users_me_mfa_patch_request.py +71 -0
  569. infisicalapi_client/models/api_v2_users_me_name_patch_request.py +73 -0
  570. infisicalapi_client/models/api_v2_users_me_sessions_get200_response_inner.py +92 -0
  571. infisicalapi_client/models/api_v2_workspace_post200_response.py +75 -0
  572. infisicalapi_client/models/api_v2_workspace_post_request.py +75 -0
  573. infisicalapi_client/models/api_v2_workspace_project_id_identity_memberships_identity_id_get200_response.py +75 -0
  574. infisicalapi_client/models/api_v2_workspace_project_id_identity_memberships_identity_id_patch_request.py +79 -0
  575. infisicalapi_client/models/api_v2_workspace_project_id_identity_memberships_identity_id_patch_request_roles_inner.py +134 -0
  576. infisicalapi_client/models/api_v2_workspace_project_id_identity_memberships_identity_id_patch_request_roles_inner_any_of.py +73 -0
  577. infisicalapi_client/models/api_v2_workspace_project_id_identity_memberships_identity_id_patch_request_roles_inner_any_of1.py +86 -0
  578. infisicalapi_client/models/api_v2_workspace_project_id_identity_memberships_identity_id_post200_response.py +75 -0
  579. infisicalapi_client/models/api_v2_workspace_project_id_identity_memberships_identity_id_post200_response_identity_membership.py +79 -0
  580. infisicalapi_client/models/api_v2_workspace_project_id_identity_memberships_identity_id_post_request.py +81 -0
  581. infisicalapi_client/models/api_v2_workspace_project_id_identity_memberships_identity_id_post_request_roles_inner.py +134 -0
  582. infisicalapi_client/models/api_v2_workspace_project_id_identity_memberships_identity_id_post_request_roles_inner_any_of.py +73 -0
  583. infisicalapi_client/models/api_v2_workspace_project_id_identity_memberships_identity_id_post_request_roles_inner_any_of1.py +86 -0
  584. infisicalapi_client/models/api_v2_workspace_project_id_memberships_delete_request.py +73 -0
  585. infisicalapi_client/models/api_v2_workspace_project_id_memberships_post200_response.py +79 -0
  586. infisicalapi_client/models/api_v2_workspace_project_id_memberships_post_request.py +73 -0
  587. infisicalapi_client/models/api_v2_workspace_project_id_upgrade_post_request.py +71 -0
  588. infisicalapi_client/models/api_v2_workspace_project_id_upgrade_status_get200_response.py +76 -0
  589. infisicalapi_client/models/api_v2_workspace_project_slug_groups_get200_response.py +79 -0
  590. infisicalapi_client/models/api_v2_workspace_project_slug_groups_get200_response_group_memberships_inner.py +93 -0
  591. infisicalapi_client/models/api_v2_workspace_project_slug_groups_get200_response_group_memberships_inner_group.py +75 -0
  592. infisicalapi_client/models/api_v2_workspace_project_slug_groups_group_slug_patch_request.py +79 -0
  593. infisicalapi_client/models/api_v2_workspace_project_slug_groups_group_slug_post200_response.py +75 -0
  594. infisicalapi_client/models/api_v2_workspace_project_slug_groups_group_slug_post200_response_group_membership.py +79 -0
  595. infisicalapi_client/models/api_v2_workspace_project_slug_groups_group_slug_post_request.py +71 -0
  596. infisicalapi_client/models/api_v2_workspace_slug_cas_get200_response.py +79 -0
  597. infisicalapi_client/models/api_v2_workspace_slug_certificates_get200_response.py +81 -0
  598. infisicalapi_client/models/api_v2_workspace_slug_patch_request.py +73 -0
  599. infisicalapi_client/models/api_v2_workspace_workspace_id_encrypted_key_get200_response.py +96 -0
  600. infisicalapi_client/models/api_v2_workspace_workspace_id_encrypted_key_get200_response_sender.py +71 -0
  601. infisicalapi_client/models/api_v3_auth_login1_post_request.py +75 -0
  602. infisicalapi_client/models/api_v3_auth_login2_post200_response.py +134 -0
  603. infisicalapi_client/models/api_v3_auth_login2_post200_response_any_of.py +73 -0
  604. infisicalapi_client/models/api_v3_auth_login2_post200_response_any_of1.py +109 -0
  605. infisicalapi_client/models/api_v3_auth_login2_post_request.py +79 -0
  606. infisicalapi_client/models/api_v3_secrets_backfill_secret_references_post_request.py +71 -0
  607. infisicalapi_client/models/api_v3_secrets_batch_delete_request.py +85 -0
  608. infisicalapi_client/models/api_v3_secrets_batch_delete_request_secrets_inner.py +83 -0
  609. infisicalapi_client/models/api_v3_secrets_batch_patch_request.py +85 -0
  610. infisicalapi_client/models/api_v3_secrets_batch_patch_request_secrets_inner.py +105 -0
  611. infisicalapi_client/models/api_v3_secrets_batch_post200_response.py +134 -0
  612. infisicalapi_client/models/api_v3_secrets_batch_post200_response_any_of.py +79 -0
  613. infisicalapi_client/models/api_v3_secrets_batch_post_request.py +85 -0
  614. infisicalapi_client/models/api_v3_secrets_batch_post_request_secrets_inner.py +93 -0
  615. infisicalapi_client/models/api_v3_secrets_batch_raw_delete_request.py +87 -0
  616. infisicalapi_client/models/api_v3_secrets_batch_raw_delete_request_secrets_inner.py +83 -0
  617. infisicalapi_client/models/api_v3_secrets_batch_raw_patch_request.py +87 -0
  618. infisicalapi_client/models/api_v3_secrets_batch_raw_patch_request_secrets_inner.py +95 -0
  619. infisicalapi_client/models/api_v3_secrets_batch_raw_post200_response.py +134 -0
  620. infisicalapi_client/models/api_v3_secrets_batch_raw_post200_response_any_of.py +79 -0
  621. infisicalapi_client/models/api_v3_secrets_batch_raw_post_request.py +87 -0
  622. infisicalapi_client/models/api_v3_secrets_batch_raw_post_request_secrets_inner.py +81 -0
  623. infisicalapi_client/models/api_v3_secrets_get200_response.py +89 -0
  624. infisicalapi_client/models/api_v3_secrets_get200_response_imports_inner.py +85 -0
  625. infisicalapi_client/models/api_v3_secrets_get200_response_imports_inner_secrets_inner.py +159 -0
  626. infisicalapi_client/models/api_v3_secrets_get200_response_secrets_inner.py +171 -0
  627. infisicalapi_client/models/api_v3_secrets_move_post200_response.py +73 -0
  628. infisicalapi_client/models/api_v3_secrets_move_post_request.py +83 -0
  629. infisicalapi_client/models/api_v3_secrets_raw_get200_response.py +89 -0
  630. infisicalapi_client/models/api_v3_secrets_raw_get200_response_imports_inner.py +85 -0
  631. infisicalapi_client/models/api_v3_secrets_raw_get200_response_imports_inner_secrets_inner.py +115 -0
  632. infisicalapi_client/models/api_v3_secrets_raw_get200_response_secrets_inner.py +131 -0
  633. infisicalapi_client/models/api_v3_secrets_raw_secret_name_delete_request.py +87 -0
  634. infisicalapi_client/models/api_v3_secrets_raw_secret_name_get200_response.py +75 -0
  635. infisicalapi_client/models/api_v3_secrets_raw_secret_name_get200_response_secret.py +129 -0
  636. infisicalapi_client/models/api_v3_secrets_raw_secret_name_patch_request.py +113 -0
  637. infisicalapi_client/models/api_v3_secrets_raw_secret_name_post200_response.py +134 -0
  638. infisicalapi_client/models/api_v3_secrets_raw_secret_name_post200_response_any_of.py +75 -0
  639. infisicalapi_client/models/api_v3_secrets_raw_secret_name_post200_response_any_of1.py +75 -0
  640. infisicalapi_client/models/api_v3_secrets_raw_secret_name_post_request.py +109 -0
  641. infisicalapi_client/models/api_v3_secrets_secret_name_delete_request.py +89 -0
  642. infisicalapi_client/models/api_v3_secrets_secret_name_get200_response.py +75 -0
  643. infisicalapi_client/models/api_v3_secrets_secret_name_get200_response_secret.py +157 -0
  644. infisicalapi_client/models/api_v3_secrets_secret_name_patch_request.py +129 -0
  645. infisicalapi_client/models/api_v3_secrets_secret_name_post200_response.py +134 -0
  646. infisicalapi_client/models/api_v3_secrets_secret_name_post200_response_any_of.py +75 -0
  647. infisicalapi_client/models/api_v3_secrets_secret_name_post_request.py +109 -0
  648. infisicalapi_client/models/api_v3_secrets_tags_secret_name_delete_request.py +89 -0
  649. infisicalapi_client/models/api_v3_secrets_tags_secret_name_post200_response.py +75 -0
  650. infisicalapi_client/models/api_v3_secrets_tags_secret_name_post200_response_secret.py +163 -0
  651. infisicalapi_client/models/api_v3_secrets_tags_secret_name_post200_response_secret_tags_inner.py +82 -0
  652. infisicalapi_client/models/api_v3_secrets_tags_secret_name_post_request.py +89 -0
  653. infisicalapi_client/models/api_v3_signup_complete_account_signup_post200_response.py +86 -0
  654. infisicalapi_client/models/api_v3_signup_complete_account_signup_post_request.py +106 -0
  655. infisicalapi_client/models/api_v3_signup_email_verify_post200_response.py +79 -0
  656. infisicalapi_client/models/api_v3_users_me_api_keys_get200_response.py +79 -0
  657. infisicalapi_client/models/api_v3_workspaces_project_id_secrets_get200_response.py +79 -0
  658. infisicalapi_client/models/api_v3_workspaces_project_id_secrets_get200_response_secrets_inner.py +157 -0
  659. infisicalapi_client/models/api_v3_workspaces_project_id_secrets_names_post_request.py +79 -0
  660. infisicalapi_client/models/api_v3_workspaces_project_id_secrets_names_post_request_secrets_to_update_inner.py +73 -0
  661. infisicalapi_client/py.typed +0 -0
  662. infisicalapi_client/rest.py +327 -0
  663. infisicalsdk-0.1.3.dist-info/METADATA +19 -0
  664. infisicalsdk-0.1.3.dist-info/RECORD +666 -0
  665. infisicalsdk-0.1.3.dist-info/WHEEL +5 -0
  666. infisicalsdk-0.1.3.dist-info/top_level.txt +2 -0
@@ -0,0 +1,96 @@
1
+ # coding: utf-8
2
+
3
+ """
4
+ Infisical API
5
+
6
+ List of all available APIs that can be consumed
7
+
8
+ The version of the OpenAPI document: 0.0.1
9
+ Generated by OpenAPI Generator (https://openapi-generator.tech)
10
+
11
+ Do not edit the class manually.
12
+ """ # noqa: E501
13
+
14
+
15
+ from __future__ import annotations
16
+ import pprint
17
+ import re # noqa: F401
18
+ import json
19
+
20
+ from datetime import datetime
21
+ from typing import Any, Optional, Union
22
+ from pydantic import BaseModel, Field, StrictFloat, StrictInt, StrictStr
23
+
24
+ class ApiV1AuthAzureAuthIdentitiesIdentityIdGet200ResponseIdentityAzureAuth(BaseModel):
25
+ """
26
+ ApiV1AuthAzureAuthIdentitiesIdentityIdGet200ResponseIdentityAzureAuth
27
+ """
28
+ id: StrictStr = Field(...)
29
+ access_token_ttl: Optional[Union[StrictFloat, StrictInt]] = Field(default=7200, alias="accessTokenTTL")
30
+ access_token_max_ttl: Optional[Union[StrictFloat, StrictInt]] = Field(default=7200, alias="accessTokenMaxTTL")
31
+ access_token_num_uses_limit: Optional[Union[StrictFloat, StrictInt]] = Field(default=0, alias="accessTokenNumUsesLimit")
32
+ access_token_trusted_ips: Optional[Any] = Field(default=None, alias="accessTokenTrustedIps")
33
+ created_at: datetime = Field(default=..., alias="createdAt")
34
+ updated_at: datetime = Field(default=..., alias="updatedAt")
35
+ identity_id: StrictStr = Field(default=..., alias="identityId")
36
+ tenant_id: StrictStr = Field(default=..., alias="tenantId")
37
+ resource: StrictStr = Field(...)
38
+ allowed_service_principal_ids: StrictStr = Field(default=..., alias="allowedServicePrincipalIds")
39
+ __properties = ["id", "accessTokenTTL", "accessTokenMaxTTL", "accessTokenNumUsesLimit", "accessTokenTrustedIps", "createdAt", "updatedAt", "identityId", "tenantId", "resource", "allowedServicePrincipalIds"]
40
+
41
+ class Config:
42
+ """Pydantic configuration"""
43
+ allow_population_by_field_name = True
44
+ validate_assignment = True
45
+
46
+ def to_str(self) -> str:
47
+ """Returns the string representation of the model using alias"""
48
+ return pprint.pformat(self.dict(by_alias=True))
49
+
50
+ def to_json(self) -> str:
51
+ """Returns the JSON representation of the model using alias"""
52
+ return json.dumps(self.to_dict())
53
+
54
+ @classmethod
55
+ def from_json(cls, json_str: str) -> ApiV1AuthAzureAuthIdentitiesIdentityIdGet200ResponseIdentityAzureAuth:
56
+ """Create an instance of ApiV1AuthAzureAuthIdentitiesIdentityIdGet200ResponseIdentityAzureAuth from a JSON string"""
57
+ return cls.from_dict(json.loads(json_str))
58
+
59
+ def to_dict(self):
60
+ """Returns the dictionary representation of the model using alias"""
61
+ _dict = self.dict(by_alias=True,
62
+ exclude={
63
+ },
64
+ exclude_none=True)
65
+ # set to None if access_token_trusted_ips (nullable) is None
66
+ # and __fields_set__ contains the field
67
+ if self.access_token_trusted_ips is None and "access_token_trusted_ips" in self.__fields_set__:
68
+ _dict['accessTokenTrustedIps'] = None
69
+
70
+ return _dict
71
+
72
+ @classmethod
73
+ def from_dict(cls, obj: dict) -> ApiV1AuthAzureAuthIdentitiesIdentityIdGet200ResponseIdentityAzureAuth:
74
+ """Create an instance of ApiV1AuthAzureAuthIdentitiesIdentityIdGet200ResponseIdentityAzureAuth from a dict"""
75
+ if obj is None:
76
+ return None
77
+
78
+ if not isinstance(obj, dict):
79
+ return ApiV1AuthAzureAuthIdentitiesIdentityIdGet200ResponseIdentityAzureAuth.parse_obj(obj)
80
+
81
+ _obj = ApiV1AuthAzureAuthIdentitiesIdentityIdGet200ResponseIdentityAzureAuth.parse_obj({
82
+ "id": obj.get("id"),
83
+ "access_token_ttl": obj.get("accessTokenTTL") if obj.get("accessTokenTTL") is not None else 7200,
84
+ "access_token_max_ttl": obj.get("accessTokenMaxTTL") if obj.get("accessTokenMaxTTL") is not None else 7200,
85
+ "access_token_num_uses_limit": obj.get("accessTokenNumUsesLimit") if obj.get("accessTokenNumUsesLimit") is not None else 0,
86
+ "access_token_trusted_ips": obj.get("accessTokenTrustedIps"),
87
+ "created_at": obj.get("createdAt"),
88
+ "updated_at": obj.get("updatedAt"),
89
+ "identity_id": obj.get("identityId"),
90
+ "tenant_id": obj.get("tenantId"),
91
+ "resource": obj.get("resource"),
92
+ "allowed_service_principal_ids": obj.get("allowedServicePrincipalIds")
93
+ })
94
+ return _obj
95
+
96
+
@@ -0,0 +1,91 @@
1
+ # coding: utf-8
2
+
3
+ """
4
+ Infisical API
5
+
6
+ List of all available APIs that can be consumed
7
+
8
+ The version of the OpenAPI document: 0.0.1
9
+ Generated by OpenAPI Generator (https://openapi-generator.tech)
10
+
11
+ Do not edit the class manually.
12
+ """ # noqa: E501
13
+
14
+
15
+ from __future__ import annotations
16
+ import pprint
17
+ import re # noqa: F401
18
+ import json
19
+
20
+
21
+ from typing import List, Optional
22
+ from pydantic import BaseModel, Field, StrictStr, conint, conlist
23
+ from infisicalapi_client.models.api_v1_auth_token_auth_identities_identity_id_post_request_access_token_trusted_ips_inner import ApiV1AuthTokenAuthIdentitiesIdentityIdPostRequestAccessTokenTrustedIpsInner
24
+
25
+ class ApiV1AuthAzureAuthIdentitiesIdentityIdPatchRequest(BaseModel):
26
+ """
27
+ ApiV1AuthAzureAuthIdentitiesIdentityIdPatchRequest
28
+ """
29
+ tenant_id: Optional[StrictStr] = Field(default=None, alias="tenantId", description="The new tenant ID for the Azure AD organization.")
30
+ resource: Optional[StrictStr] = Field(default=None, description="The new resource URL for the application registered in Azure AD.")
31
+ allowed_service_principal_ids: Optional[StrictStr] = Field(default='', alias="allowedServicePrincipalIds", description="The new comma-separated list of Azure AD service principal IDs that are allowed to authenticate with Infisical.")
32
+ access_token_trusted_ips: Optional[conlist(ApiV1AuthTokenAuthIdentitiesIdentityIdPostRequestAccessTokenTrustedIpsInner, min_items=1)] = Field(default=None, alias="accessTokenTrustedIps", description="The new IPs or CIDR ranges that access tokens can be used from.")
33
+ access_token_ttl: Optional[conint(strict=True, le=315360000, ge=0)] = Field(default=None, alias="accessTokenTTL", description="The new lifetime for an acccess token in seconds.")
34
+ access_token_num_uses_limit: Optional[conint(strict=True, ge=0)] = Field(default=None, alias="accessTokenNumUsesLimit", description="The new maximum number of times that an access token can be used.")
35
+ access_token_max_ttl: Optional[conint(strict=True, le=315360000)] = Field(default=None, alias="accessTokenMaxTTL", description="The new maximum lifetime for an acccess token in seconds.")
36
+ __properties = ["tenantId", "resource", "allowedServicePrincipalIds", "accessTokenTrustedIps", "accessTokenTTL", "accessTokenNumUsesLimit", "accessTokenMaxTTL"]
37
+
38
+ class Config:
39
+ """Pydantic configuration"""
40
+ allow_population_by_field_name = True
41
+ validate_assignment = True
42
+
43
+ def to_str(self) -> str:
44
+ """Returns the string representation of the model using alias"""
45
+ return pprint.pformat(self.dict(by_alias=True))
46
+
47
+ def to_json(self) -> str:
48
+ """Returns the JSON representation of the model using alias"""
49
+ return json.dumps(self.to_dict())
50
+
51
+ @classmethod
52
+ def from_json(cls, json_str: str) -> ApiV1AuthAzureAuthIdentitiesIdentityIdPatchRequest:
53
+ """Create an instance of ApiV1AuthAzureAuthIdentitiesIdentityIdPatchRequest from a JSON string"""
54
+ return cls.from_dict(json.loads(json_str))
55
+
56
+ def to_dict(self):
57
+ """Returns the dictionary representation of the model using alias"""
58
+ _dict = self.dict(by_alias=True,
59
+ exclude={
60
+ },
61
+ exclude_none=True)
62
+ # override the default output from pydantic by calling `to_dict()` of each item in access_token_trusted_ips (list)
63
+ _items = []
64
+ if self.access_token_trusted_ips:
65
+ for _item in self.access_token_trusted_ips:
66
+ if _item:
67
+ _items.append(_item.to_dict())
68
+ _dict['accessTokenTrustedIps'] = _items
69
+ return _dict
70
+
71
+ @classmethod
72
+ def from_dict(cls, obj: dict) -> ApiV1AuthAzureAuthIdentitiesIdentityIdPatchRequest:
73
+ """Create an instance of ApiV1AuthAzureAuthIdentitiesIdentityIdPatchRequest from a dict"""
74
+ if obj is None:
75
+ return None
76
+
77
+ if not isinstance(obj, dict):
78
+ return ApiV1AuthAzureAuthIdentitiesIdentityIdPatchRequest.parse_obj(obj)
79
+
80
+ _obj = ApiV1AuthAzureAuthIdentitiesIdentityIdPatchRequest.parse_obj({
81
+ "tenant_id": obj.get("tenantId"),
82
+ "resource": obj.get("resource"),
83
+ "allowed_service_principal_ids": obj.get("allowedServicePrincipalIds") if obj.get("allowedServicePrincipalIds") is not None else '',
84
+ "access_token_trusted_ips": [ApiV1AuthTokenAuthIdentitiesIdentityIdPostRequestAccessTokenTrustedIpsInner.from_dict(_item) for _item in obj.get("accessTokenTrustedIps")] if obj.get("accessTokenTrustedIps") is not None else None,
85
+ "access_token_ttl": obj.get("accessTokenTTL"),
86
+ "access_token_num_uses_limit": obj.get("accessTokenNumUsesLimit"),
87
+ "access_token_max_ttl": obj.get("accessTokenMaxTTL")
88
+ })
89
+ return _obj
90
+
91
+
@@ -0,0 +1,91 @@
1
+ # coding: utf-8
2
+
3
+ """
4
+ Infisical API
5
+
6
+ List of all available APIs that can be consumed
7
+
8
+ The version of the OpenAPI document: 0.0.1
9
+ Generated by OpenAPI Generator (https://openapi-generator.tech)
10
+
11
+ Do not edit the class manually.
12
+ """ # noqa: E501
13
+
14
+
15
+ from __future__ import annotations
16
+ import pprint
17
+ import re # noqa: F401
18
+ import json
19
+
20
+
21
+ from typing import List, Optional
22
+ from pydantic import BaseModel, Field, StrictStr, conint, conlist
23
+ from infisicalapi_client.models.api_v1_auth_token_auth_identities_identity_id_post_request_access_token_trusted_ips_inner import ApiV1AuthTokenAuthIdentitiesIdentityIdPostRequestAccessTokenTrustedIpsInner
24
+
25
+ class ApiV1AuthAzureAuthIdentitiesIdentityIdPostRequest(BaseModel):
26
+ """
27
+ ApiV1AuthAzureAuthIdentitiesIdentityIdPostRequest
28
+ """
29
+ tenant_id: StrictStr = Field(default=..., alias="tenantId", description="The tenant ID for the Azure AD organization.")
30
+ resource: StrictStr = Field(default=..., description="The resource URL for the application registered in Azure AD.")
31
+ allowed_service_principal_ids: Optional[StrictStr] = Field(default='', alias="allowedServicePrincipalIds", description="The comma-separated list of Azure AD service principal IDs that are allowed to authenticate with Infisical.")
32
+ access_token_trusted_ips: Optional[conlist(ApiV1AuthTokenAuthIdentitiesIdentityIdPostRequestAccessTokenTrustedIpsInner, min_items=1)] = Field(default=None, alias="accessTokenTrustedIps", description="The IPs or CIDR ranges that access tokens can be used from.")
33
+ access_token_ttl: Optional[conint(strict=True, le=315360000, ge=1)] = Field(default=2592000, alias="accessTokenTTL", description="The lifetime for an acccess token in seconds.")
34
+ access_token_max_ttl: Optional[conint(strict=True, le=315360000)] = Field(default=2592000, alias="accessTokenMaxTTL", description="The maximum lifetime for an acccess token in seconds.")
35
+ access_token_num_uses_limit: Optional[conint(strict=True, ge=0)] = Field(default=0, alias="accessTokenNumUsesLimit", description="The maximum number of times that an access token can be used.")
36
+ __properties = ["tenantId", "resource", "allowedServicePrincipalIds", "accessTokenTrustedIps", "accessTokenTTL", "accessTokenMaxTTL", "accessTokenNumUsesLimit"]
37
+
38
+ class Config:
39
+ """Pydantic configuration"""
40
+ allow_population_by_field_name = True
41
+ validate_assignment = True
42
+
43
+ def to_str(self) -> str:
44
+ """Returns the string representation of the model using alias"""
45
+ return pprint.pformat(self.dict(by_alias=True))
46
+
47
+ def to_json(self) -> str:
48
+ """Returns the JSON representation of the model using alias"""
49
+ return json.dumps(self.to_dict())
50
+
51
+ @classmethod
52
+ def from_json(cls, json_str: str) -> ApiV1AuthAzureAuthIdentitiesIdentityIdPostRequest:
53
+ """Create an instance of ApiV1AuthAzureAuthIdentitiesIdentityIdPostRequest from a JSON string"""
54
+ return cls.from_dict(json.loads(json_str))
55
+
56
+ def to_dict(self):
57
+ """Returns the dictionary representation of the model using alias"""
58
+ _dict = self.dict(by_alias=True,
59
+ exclude={
60
+ },
61
+ exclude_none=True)
62
+ # override the default output from pydantic by calling `to_dict()` of each item in access_token_trusted_ips (list)
63
+ _items = []
64
+ if self.access_token_trusted_ips:
65
+ for _item in self.access_token_trusted_ips:
66
+ if _item:
67
+ _items.append(_item.to_dict())
68
+ _dict['accessTokenTrustedIps'] = _items
69
+ return _dict
70
+
71
+ @classmethod
72
+ def from_dict(cls, obj: dict) -> ApiV1AuthAzureAuthIdentitiesIdentityIdPostRequest:
73
+ """Create an instance of ApiV1AuthAzureAuthIdentitiesIdentityIdPostRequest from a dict"""
74
+ if obj is None:
75
+ return None
76
+
77
+ if not isinstance(obj, dict):
78
+ return ApiV1AuthAzureAuthIdentitiesIdentityIdPostRequest.parse_obj(obj)
79
+
80
+ _obj = ApiV1AuthAzureAuthIdentitiesIdentityIdPostRequest.parse_obj({
81
+ "tenant_id": obj.get("tenantId"),
82
+ "resource": obj.get("resource"),
83
+ "allowed_service_principal_ids": obj.get("allowedServicePrincipalIds") if obj.get("allowedServicePrincipalIds") is not None else '',
84
+ "access_token_trusted_ips": [ApiV1AuthTokenAuthIdentitiesIdentityIdPostRequestAccessTokenTrustedIpsInner.from_dict(_item) for _item in obj.get("accessTokenTrustedIps")] if obj.get("accessTokenTrustedIps") is not None else None,
85
+ "access_token_ttl": obj.get("accessTokenTTL") if obj.get("accessTokenTTL") is not None else 2592000,
86
+ "access_token_max_ttl": obj.get("accessTokenMaxTTL") if obj.get("accessTokenMaxTTL") is not None else 2592000,
87
+ "access_token_num_uses_limit": obj.get("accessTokenNumUsesLimit") if obj.get("accessTokenNumUsesLimit") is not None else 0
88
+ })
89
+ return _obj
90
+
91
+
@@ -0,0 +1,78 @@
1
+ # coding: utf-8
2
+
3
+ """
4
+ Infisical API
5
+
6
+ List of all available APIs that can be consumed
7
+
8
+ The version of the OpenAPI document: 0.0.1
9
+ Generated by OpenAPI Generator (https://openapi-generator.tech)
10
+
11
+ Do not edit the class manually.
12
+ """ # noqa: E501
13
+
14
+
15
+ from __future__ import annotations
16
+ import pprint
17
+ import re # noqa: F401
18
+ import json
19
+
20
+
21
+
22
+ from pydantic import BaseModel, Field, StrictStr, validator
23
+
24
+ class ApiV1AuthCheckAuthPost200Response(BaseModel):
25
+ """
26
+ ApiV1AuthCheckAuthPost200Response
27
+ """
28
+ message: StrictStr = Field(...)
29
+ __properties = ["message"]
30
+
31
+ @validator('message')
32
+ def message_validate_enum(cls, value):
33
+ """Validates the enum"""
34
+ if value not in ('Authenticated'):
35
+ raise ValueError("must be one of enum values ('Authenticated')")
36
+ return value
37
+
38
+ class Config:
39
+ """Pydantic configuration"""
40
+ allow_population_by_field_name = True
41
+ validate_assignment = True
42
+
43
+ def to_str(self) -> str:
44
+ """Returns the string representation of the model using alias"""
45
+ return pprint.pformat(self.dict(by_alias=True))
46
+
47
+ def to_json(self) -> str:
48
+ """Returns the JSON representation of the model using alias"""
49
+ return json.dumps(self.to_dict())
50
+
51
+ @classmethod
52
+ def from_json(cls, json_str: str) -> ApiV1AuthCheckAuthPost200Response:
53
+ """Create an instance of ApiV1AuthCheckAuthPost200Response from a JSON string"""
54
+ return cls.from_dict(json.loads(json_str))
55
+
56
+ def to_dict(self):
57
+ """Returns the dictionary representation of the model using alias"""
58
+ _dict = self.dict(by_alias=True,
59
+ exclude={
60
+ },
61
+ exclude_none=True)
62
+ return _dict
63
+
64
+ @classmethod
65
+ def from_dict(cls, obj: dict) -> ApiV1AuthCheckAuthPost200Response:
66
+ """Create an instance of ApiV1AuthCheckAuthPost200Response from a dict"""
67
+ if obj is None:
68
+ return None
69
+
70
+ if not isinstance(obj, dict):
71
+ return ApiV1AuthCheckAuthPost200Response.parse_obj(obj)
72
+
73
+ _obj = ApiV1AuthCheckAuthPost200Response.parse_obj({
74
+ "message": obj.get("message")
75
+ })
76
+ return _obj
77
+
78
+
@@ -0,0 +1,75 @@
1
+ # coding: utf-8
2
+
3
+ """
4
+ Infisical API
5
+
6
+ List of all available APIs that can be consumed
7
+
8
+ The version of the OpenAPI document: 0.0.1
9
+ Generated by OpenAPI Generator (https://openapi-generator.tech)
10
+
11
+ Do not edit the class manually.
12
+ """ # noqa: E501
13
+
14
+
15
+ from __future__ import annotations
16
+ import pprint
17
+ import re # noqa: F401
18
+ import json
19
+
20
+
21
+
22
+ from pydantic import BaseModel, Field
23
+ from infisicalapi_client.models.api_v1_auth_gcp_auth_identities_identity_id_get200_response_identity_gcp_auth import ApiV1AuthGcpAuthIdentitiesIdentityIdGet200ResponseIdentityGcpAuth
24
+
25
+ class ApiV1AuthGcpAuthIdentitiesIdentityIdGet200Response(BaseModel):
26
+ """
27
+ ApiV1AuthGcpAuthIdentitiesIdentityIdGet200Response
28
+ """
29
+ identity_gcp_auth: ApiV1AuthGcpAuthIdentitiesIdentityIdGet200ResponseIdentityGcpAuth = Field(default=..., alias="identityGcpAuth")
30
+ __properties = ["identityGcpAuth"]
31
+
32
+ class Config:
33
+ """Pydantic configuration"""
34
+ allow_population_by_field_name = True
35
+ validate_assignment = True
36
+
37
+ def to_str(self) -> str:
38
+ """Returns the string representation of the model using alias"""
39
+ return pprint.pformat(self.dict(by_alias=True))
40
+
41
+ def to_json(self) -> str:
42
+ """Returns the JSON representation of the model using alias"""
43
+ return json.dumps(self.to_dict())
44
+
45
+ @classmethod
46
+ def from_json(cls, json_str: str) -> ApiV1AuthGcpAuthIdentitiesIdentityIdGet200Response:
47
+ """Create an instance of ApiV1AuthGcpAuthIdentitiesIdentityIdGet200Response from a JSON string"""
48
+ return cls.from_dict(json.loads(json_str))
49
+
50
+ def to_dict(self):
51
+ """Returns the dictionary representation of the model using alias"""
52
+ _dict = self.dict(by_alias=True,
53
+ exclude={
54
+ },
55
+ exclude_none=True)
56
+ # override the default output from pydantic by calling `to_dict()` of identity_gcp_auth
57
+ if self.identity_gcp_auth:
58
+ _dict['identityGcpAuth'] = self.identity_gcp_auth.to_dict()
59
+ return _dict
60
+
61
+ @classmethod
62
+ def from_dict(cls, obj: dict) -> ApiV1AuthGcpAuthIdentitiesIdentityIdGet200Response:
63
+ """Create an instance of ApiV1AuthGcpAuthIdentitiesIdentityIdGet200Response from a dict"""
64
+ if obj is None:
65
+ return None
66
+
67
+ if not isinstance(obj, dict):
68
+ return ApiV1AuthGcpAuthIdentitiesIdentityIdGet200Response.parse_obj(obj)
69
+
70
+ _obj = ApiV1AuthGcpAuthIdentitiesIdentityIdGet200Response.parse_obj({
71
+ "identity_gcp_auth": ApiV1AuthGcpAuthIdentitiesIdentityIdGet200ResponseIdentityGcpAuth.from_dict(obj.get("identityGcpAuth")) if obj.get("identityGcpAuth") is not None else None
72
+ })
73
+ return _obj
74
+
75
+
@@ -0,0 +1,98 @@
1
+ # coding: utf-8
2
+
3
+ """
4
+ Infisical API
5
+
6
+ List of all available APIs that can be consumed
7
+
8
+ The version of the OpenAPI document: 0.0.1
9
+ Generated by OpenAPI Generator (https://openapi-generator.tech)
10
+
11
+ Do not edit the class manually.
12
+ """ # noqa: E501
13
+
14
+
15
+ from __future__ import annotations
16
+ import pprint
17
+ import re # noqa: F401
18
+ import json
19
+
20
+ from datetime import datetime
21
+ from typing import Any, Optional, Union
22
+ from pydantic import BaseModel, Field, StrictFloat, StrictInt, StrictStr
23
+
24
+ class ApiV1AuthGcpAuthIdentitiesIdentityIdGet200ResponseIdentityGcpAuth(BaseModel):
25
+ """
26
+ ApiV1AuthGcpAuthIdentitiesIdentityIdGet200ResponseIdentityGcpAuth
27
+ """
28
+ id: StrictStr = Field(...)
29
+ access_token_ttl: Optional[Union[StrictFloat, StrictInt]] = Field(default=7200, alias="accessTokenTTL")
30
+ access_token_max_ttl: Optional[Union[StrictFloat, StrictInt]] = Field(default=7200, alias="accessTokenMaxTTL")
31
+ access_token_num_uses_limit: Optional[Union[StrictFloat, StrictInt]] = Field(default=0, alias="accessTokenNumUsesLimit")
32
+ access_token_trusted_ips: Optional[Any] = Field(default=None, alias="accessTokenTrustedIps")
33
+ created_at: datetime = Field(default=..., alias="createdAt")
34
+ updated_at: datetime = Field(default=..., alias="updatedAt")
35
+ identity_id: StrictStr = Field(default=..., alias="identityId")
36
+ type: StrictStr = Field(...)
37
+ allowed_service_accounts: StrictStr = Field(default=..., alias="allowedServiceAccounts")
38
+ allowed_projects: StrictStr = Field(default=..., alias="allowedProjects")
39
+ allowed_zones: StrictStr = Field(default=..., alias="allowedZones")
40
+ __properties = ["id", "accessTokenTTL", "accessTokenMaxTTL", "accessTokenNumUsesLimit", "accessTokenTrustedIps", "createdAt", "updatedAt", "identityId", "type", "allowedServiceAccounts", "allowedProjects", "allowedZones"]
41
+
42
+ class Config:
43
+ """Pydantic configuration"""
44
+ allow_population_by_field_name = True
45
+ validate_assignment = True
46
+
47
+ def to_str(self) -> str:
48
+ """Returns the string representation of the model using alias"""
49
+ return pprint.pformat(self.dict(by_alias=True))
50
+
51
+ def to_json(self) -> str:
52
+ """Returns the JSON representation of the model using alias"""
53
+ return json.dumps(self.to_dict())
54
+
55
+ @classmethod
56
+ def from_json(cls, json_str: str) -> ApiV1AuthGcpAuthIdentitiesIdentityIdGet200ResponseIdentityGcpAuth:
57
+ """Create an instance of ApiV1AuthGcpAuthIdentitiesIdentityIdGet200ResponseIdentityGcpAuth from a JSON string"""
58
+ return cls.from_dict(json.loads(json_str))
59
+
60
+ def to_dict(self):
61
+ """Returns the dictionary representation of the model using alias"""
62
+ _dict = self.dict(by_alias=True,
63
+ exclude={
64
+ },
65
+ exclude_none=True)
66
+ # set to None if access_token_trusted_ips (nullable) is None
67
+ # and __fields_set__ contains the field
68
+ if self.access_token_trusted_ips is None and "access_token_trusted_ips" in self.__fields_set__:
69
+ _dict['accessTokenTrustedIps'] = None
70
+
71
+ return _dict
72
+
73
+ @classmethod
74
+ def from_dict(cls, obj: dict) -> ApiV1AuthGcpAuthIdentitiesIdentityIdGet200ResponseIdentityGcpAuth:
75
+ """Create an instance of ApiV1AuthGcpAuthIdentitiesIdentityIdGet200ResponseIdentityGcpAuth from a dict"""
76
+ if obj is None:
77
+ return None
78
+
79
+ if not isinstance(obj, dict):
80
+ return ApiV1AuthGcpAuthIdentitiesIdentityIdGet200ResponseIdentityGcpAuth.parse_obj(obj)
81
+
82
+ _obj = ApiV1AuthGcpAuthIdentitiesIdentityIdGet200ResponseIdentityGcpAuth.parse_obj({
83
+ "id": obj.get("id"),
84
+ "access_token_ttl": obj.get("accessTokenTTL") if obj.get("accessTokenTTL") is not None else 7200,
85
+ "access_token_max_ttl": obj.get("accessTokenMaxTTL") if obj.get("accessTokenMaxTTL") is not None else 7200,
86
+ "access_token_num_uses_limit": obj.get("accessTokenNumUsesLimit") if obj.get("accessTokenNumUsesLimit") is not None else 0,
87
+ "access_token_trusted_ips": obj.get("accessTokenTrustedIps"),
88
+ "created_at": obj.get("createdAt"),
89
+ "updated_at": obj.get("updatedAt"),
90
+ "identity_id": obj.get("identityId"),
91
+ "type": obj.get("type"),
92
+ "allowed_service_accounts": obj.get("allowedServiceAccounts"),
93
+ "allowed_projects": obj.get("allowedProjects"),
94
+ "allowed_zones": obj.get("allowedZones")
95
+ })
96
+ return _obj
97
+
98
+
@@ -0,0 +1,103 @@
1
+ # coding: utf-8
2
+
3
+ """
4
+ Infisical API
5
+
6
+ List of all available APIs that can be consumed
7
+
8
+ The version of the OpenAPI document: 0.0.1
9
+ Generated by OpenAPI Generator (https://openapi-generator.tech)
10
+
11
+ Do not edit the class manually.
12
+ """ # noqa: E501
13
+
14
+
15
+ from __future__ import annotations
16
+ import pprint
17
+ import re # noqa: F401
18
+ import json
19
+
20
+
21
+ from typing import List, Optional
22
+ from pydantic import BaseModel, Field, StrictStr, conint, conlist, validator
23
+ from infisicalapi_client.models.api_v1_auth_token_auth_identities_identity_id_post_request_access_token_trusted_ips_inner import ApiV1AuthTokenAuthIdentitiesIdentityIdPostRequestAccessTokenTrustedIpsInner
24
+
25
+ class ApiV1AuthGcpAuthIdentitiesIdentityIdPatchRequest(BaseModel):
26
+ """
27
+ ApiV1AuthGcpAuthIdentitiesIdentityIdPatchRequest
28
+ """
29
+ type: Optional[StrictStr] = None
30
+ allowed_service_accounts: Optional[StrictStr] = Field(default='', alias="allowedServiceAccounts", description="The new comma-separated list of trusted service account emails corresponding to the GCE resource(s) allowed to authenticate with Infisical.")
31
+ allowed_projects: Optional[StrictStr] = Field(default='', alias="allowedProjects", description="The new comma-separated list of trusted GCP projects that the GCE instance must belong to authenticate with Infisical.")
32
+ allowed_zones: Optional[StrictStr] = Field(default='', alias="allowedZones", description="The new comma-separated list of trusted zones that the GCE instances must belong to authenticate with Infisical.")
33
+ access_token_trusted_ips: Optional[conlist(ApiV1AuthTokenAuthIdentitiesIdentityIdPostRequestAccessTokenTrustedIpsInner, min_items=1)] = Field(default=None, alias="accessTokenTrustedIps", description="The new IPs or CIDR ranges that access tokens can be used from.")
34
+ access_token_ttl: Optional[conint(strict=True, le=315360000, ge=0)] = Field(default=None, alias="accessTokenTTL", description="The new lifetime for an acccess token in seconds.")
35
+ access_token_num_uses_limit: Optional[conint(strict=True, ge=0)] = Field(default=None, alias="accessTokenNumUsesLimit", description="The new maximum number of times that an access token can be used.")
36
+ access_token_max_ttl: Optional[conint(strict=True, le=315360000)] = Field(default=None, alias="accessTokenMaxTTL", description="The new maximum lifetime for an acccess token in seconds.")
37
+ __properties = ["type", "allowedServiceAccounts", "allowedProjects", "allowedZones", "accessTokenTrustedIps", "accessTokenTTL", "accessTokenNumUsesLimit", "accessTokenMaxTTL"]
38
+
39
+ @validator('type')
40
+ def type_validate_enum(cls, value):
41
+ """Validates the enum"""
42
+ if value is None:
43
+ return value
44
+
45
+ if value not in ('iam', 'gce'):
46
+ raise ValueError("must be one of enum values ('iam', 'gce')")
47
+ return value
48
+
49
+ class Config:
50
+ """Pydantic configuration"""
51
+ allow_population_by_field_name = True
52
+ validate_assignment = True
53
+
54
+ def to_str(self) -> str:
55
+ """Returns the string representation of the model using alias"""
56
+ return pprint.pformat(self.dict(by_alias=True))
57
+
58
+ def to_json(self) -> str:
59
+ """Returns the JSON representation of the model using alias"""
60
+ return json.dumps(self.to_dict())
61
+
62
+ @classmethod
63
+ def from_json(cls, json_str: str) -> ApiV1AuthGcpAuthIdentitiesIdentityIdPatchRequest:
64
+ """Create an instance of ApiV1AuthGcpAuthIdentitiesIdentityIdPatchRequest from a JSON string"""
65
+ return cls.from_dict(json.loads(json_str))
66
+
67
+ def to_dict(self):
68
+ """Returns the dictionary representation of the model using alias"""
69
+ _dict = self.dict(by_alias=True,
70
+ exclude={
71
+ },
72
+ exclude_none=True)
73
+ # override the default output from pydantic by calling `to_dict()` of each item in access_token_trusted_ips (list)
74
+ _items = []
75
+ if self.access_token_trusted_ips:
76
+ for _item in self.access_token_trusted_ips:
77
+ if _item:
78
+ _items.append(_item.to_dict())
79
+ _dict['accessTokenTrustedIps'] = _items
80
+ return _dict
81
+
82
+ @classmethod
83
+ def from_dict(cls, obj: dict) -> ApiV1AuthGcpAuthIdentitiesIdentityIdPatchRequest:
84
+ """Create an instance of ApiV1AuthGcpAuthIdentitiesIdentityIdPatchRequest from a dict"""
85
+ if obj is None:
86
+ return None
87
+
88
+ if not isinstance(obj, dict):
89
+ return ApiV1AuthGcpAuthIdentitiesIdentityIdPatchRequest.parse_obj(obj)
90
+
91
+ _obj = ApiV1AuthGcpAuthIdentitiesIdentityIdPatchRequest.parse_obj({
92
+ "type": obj.get("type"),
93
+ "allowed_service_accounts": obj.get("allowedServiceAccounts") if obj.get("allowedServiceAccounts") is not None else '',
94
+ "allowed_projects": obj.get("allowedProjects") if obj.get("allowedProjects") is not None else '',
95
+ "allowed_zones": obj.get("allowedZones") if obj.get("allowedZones") is not None else '',
96
+ "access_token_trusted_ips": [ApiV1AuthTokenAuthIdentitiesIdentityIdPostRequestAccessTokenTrustedIpsInner.from_dict(_item) for _item in obj.get("accessTokenTrustedIps")] if obj.get("accessTokenTrustedIps") is not None else None,
97
+ "access_token_ttl": obj.get("accessTokenTTL"),
98
+ "access_token_num_uses_limit": obj.get("accessTokenNumUsesLimit"),
99
+ "access_token_max_ttl": obj.get("accessTokenMaxTTL")
100
+ })
101
+ return _obj
102
+
103
+