ory-client 1.9.0__py3-none-any.whl → 1.11.6__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.
Files changed (565) hide show
  1. ory_client/__init__.py +279 -10
  2. ory_client/api/__init__.py +16 -3
  3. ory_client/api/courier_api.py +576 -287
  4. ory_client/api/events_api.py +1147 -576
  5. ory_client/api/frontend_api.py +8736 -4145
  6. ory_client/api/identity_api.py +5219 -2605
  7. ory_client/api/jwk_api.py +1881 -939
  8. ory_client/api/metadata_api.py +245 -376
  9. ory_client/api/o_auth2_api.py +7763 -3858
  10. ory_client/api/oidc_api.py +2071 -1034
  11. ory_client/api/permission_api.py +1675 -776
  12. ory_client/api/project_api.py +5314 -2638
  13. ory_client/api/relationship_api.py +1844 -860
  14. ory_client/api/wellknown_api.py +250 -131
  15. ory_client/api_client.py +520 -658
  16. ory_client/api_response.py +21 -0
  17. ory_client/configuration.py +65 -75
  18. ory_client/exceptions.py +73 -32
  19. ory_client/models/__init__.py +266 -291
  20. ory_client/models/accept_o_auth2_consent_request.py +118 -0
  21. ory_client/models/accept_o_auth2_consent_request_session.py +113 -0
  22. ory_client/models/accept_o_auth2_login_request.py +117 -0
  23. ory_client/models/active_project_in_console.py +101 -0
  24. ory_client/models/attribute.py +103 -0
  25. ory_client/models/attribute_filter.py +115 -0
  26. ory_client/models/attributes_count_datapoint.py +103 -0
  27. ory_client/models/authenticator_assurance_level.py +40 -0
  28. ory_client/models/batch_patch_identities_response.py +109 -0
  29. ory_client/models/check_opl_syntax_result.py +109 -0
  30. ory_client/models/check_permission_result.py +101 -0
  31. ory_client/models/cloud_account.py +105 -0
  32. ory_client/models/consistency_request_parameters.py +111 -0
  33. ory_client/models/continue_with.py +214 -0
  34. ory_client/models/continue_with_recovery_ui.py +114 -0
  35. ory_client/models/continue_with_recovery_ui_flow.py +103 -0
  36. ory_client/models/continue_with_set_ory_session_token.py +110 -0
  37. ory_client/models/continue_with_settings_ui.py +114 -0
  38. ory_client/models/continue_with_settings_ui_flow.py +101 -0
  39. ory_client/models/continue_with_verification_ui.py +114 -0
  40. ory_client/models/continue_with_verification_ui_flow.py +105 -0
  41. ory_client/models/courier_message_status.py +40 -0
  42. ory_client/models/courier_message_type.py +38 -0
  43. ory_client/models/create_custom_domain_body.py +109 -0
  44. ory_client/models/create_event_stream_body.py +112 -0
  45. ory_client/models/create_identity_body.py +155 -0
  46. ory_client/models/create_invite_response.py +114 -0
  47. ory_client/models/create_json_web_key_set.py +105 -0
  48. ory_client/models/create_project_api_key_request.py +101 -0
  49. ory_client/models/create_project_body.py +112 -0
  50. ory_client/models/create_project_branding.py +115 -0
  51. ory_client/models/create_project_member_invite_body.py +101 -0
  52. ory_client/models/create_project_normalized_payload.py +685 -0
  53. ory_client/models/create_recovery_code_for_identity_body.py +114 -0
  54. ory_client/models/create_recovery_link_for_identity_body.py +114 -0
  55. ory_client/models/create_relationship_body.py +113 -0
  56. ory_client/models/create_subscription_body.py +126 -0
  57. ory_client/models/create_subscription_common.py +124 -0
  58. ory_client/models/create_verifiable_credential_request_body.py +109 -0
  59. ory_client/models/create_workspace_member_invite_body.py +101 -0
  60. ory_client/models/create_workspace_payload.py +101 -0
  61. ory_client/models/create_workspace_subscription_body.py +124 -0
  62. ory_client/models/credential_supported_draft00.py +107 -0
  63. ory_client/models/custom_domain.py +132 -0
  64. ory_client/models/delete_my_sessions_count.py +101 -0
  65. ory_client/models/email_template_data.py +107 -0
  66. ory_client/models/email_template_data_body.py +103 -0
  67. ory_client/models/error_authenticator_assurance_level_not_satisfied.py +107 -0
  68. ory_client/models/error_browser_location_change_required.py +107 -0
  69. ory_client/models/error_flow_replaced.py +107 -0
  70. ory_client/models/error_generic.py +105 -0
  71. ory_client/models/error_o_auth2.py +109 -0
  72. ory_client/models/event_stream.py +112 -0
  73. ory_client/models/expanded_permission_tree.py +125 -0
  74. ory_client/models/flow_error.py +108 -0
  75. ory_client/models/generic_error.py +126 -0
  76. ory_client/models/generic_error_content.py +109 -0
  77. ory_client/models/generic_usage.py +103 -0
  78. ory_client/models/get_attributes_count_response.py +111 -0
  79. ory_client/models/get_managed_identity_schema_location.py +101 -0
  80. ory_client/models/get_metrics_event_attributes_response.py +103 -0
  81. ory_client/models/get_metrics_event_types_response.py +103 -0
  82. ory_client/models/get_organization_response.py +105 -0
  83. ory_client/models/get_project_events_body.py +120 -0
  84. ory_client/models/get_project_events_response.py +115 -0
  85. ory_client/models/get_project_metrics_response.py +111 -0
  86. ory_client/models/get_session_activity_response.py +111 -0
  87. ory_client/models/get_version200_response.py +101 -0
  88. ory_client/models/health_not_ready_status.py +101 -0
  89. ory_client/models/health_status.py +101 -0
  90. ory_client/models/identity.py +187 -0
  91. ory_client/models/identity_credentials.py +122 -0
  92. ory_client/models/identity_credentials_code.py +109 -0
  93. ory_client/models/identity_credentials_oidc.py +109 -0
  94. ory_client/models/identity_credentials_oidc_provider.py +111 -0
  95. ory_client/models/identity_credentials_password.py +101 -0
  96. ory_client/models/identity_patch.py +107 -0
  97. ory_client/models/identity_patch_response.py +115 -0
  98. ory_client/models/identity_schema_container.py +103 -0
  99. ory_client/models/identity_schema_preset.py +103 -0
  100. ory_client/models/identity_with_credentials.py +111 -0
  101. ory_client/models/identity_with_credentials_oidc.py +105 -0
  102. ory_client/models/identity_with_credentials_oidc_config.py +115 -0
  103. ory_client/models/identity_with_credentials_oidc_config_provider.py +103 -0
  104. ory_client/models/identity_with_credentials_password.py +105 -0
  105. ory_client/models/identity_with_credentials_password_config.py +103 -0
  106. ory_client/models/internal_get_project_branding_body.py +101 -0
  107. ory_client/models/internal_is_ax_welcome_screen_enabled_for_project_body.py +103 -0
  108. ory_client/models/internal_is_owner_for_project_by_slug_body.py +114 -0
  109. ory_client/models/internal_is_owner_for_project_by_slug_response.py +101 -0
  110. ory_client/models/introspected_o_auth2_token.py +127 -0
  111. ory_client/models/is_owner_for_project_by_slug.py +103 -0
  112. ory_client/models/json_patch.py +119 -0
  113. ory_client/models/json_web_key.py +133 -0
  114. ory_client/models/json_web_key_set.py +109 -0
  115. ory_client/models/keto_namespace.py +103 -0
  116. ory_client/models/list_event_streams.py +109 -0
  117. ory_client/models/list_my_workspaces_response.py +113 -0
  118. ory_client/models/list_organizations_response.py +109 -0
  119. ory_client/models/list_workspace_projects_response.py +113 -0
  120. ory_client/models/login_flow.py +165 -0
  121. ory_client/models/login_flow_state.py +39 -0
  122. ory_client/models/logout_flow.py +103 -0
  123. ory_client/models/managed_identity_schema.py +120 -0
  124. ory_client/models/managed_identity_schema_validation_result.py +103 -0
  125. ory_client/models/member_invite.py +148 -0
  126. ory_client/models/message.py +141 -0
  127. ory_client/models/message_dispatch.py +119 -0
  128. ory_client/models/metrics_datapoint.py +104 -0
  129. ory_client/models/migration_options.py +117 -0
  130. ory_client/models/namespace.py +101 -0
  131. ory_client/models/needs_privileged_session_error.py +107 -0
  132. ory_client/models/normalized_project.py +171 -0
  133. ory_client/models/normalized_project_revision.py +674 -0
  134. ory_client/models/normalized_project_revision_courier_channel.py +145 -0
  135. ory_client/models/normalized_project_revision_hook.py +140 -0
  136. ory_client/models/normalized_project_revision_identity_schema.py +133 -0
  137. ory_client/models/normalized_project_revision_third_party_provider.py +187 -0
  138. ory_client/models/normalized_project_revision_tokenizer_template.py +133 -0
  139. ory_client/models/o_auth2_client.py +352 -0
  140. ory_client/models/o_auth2_client_token_lifespans.py +270 -0
  141. ory_client/models/o_auth2_consent_request.py +133 -0
  142. ory_client/models/o_auth2_consent_request_open_id_connect_context.py +109 -0
  143. ory_client/models/o_auth2_consent_session.py +130 -0
  144. ory_client/models/o_auth2_consent_session_expires_at.py +110 -0
  145. ory_client/models/o_auth2_login_request.py +125 -0
  146. ory_client/models/o_auth2_logout_request.py +115 -0
  147. ory_client/models/o_auth2_redirect_to.py +101 -0
  148. ory_client/models/o_auth2_token_exchange.py +111 -0
  149. ory_client/models/oidc_configuration.py +169 -0
  150. ory_client/models/oidc_user_info.py +137 -0
  151. ory_client/models/organization.py +116 -0
  152. ory_client/models/organization_body.py +103 -0
  153. ory_client/models/pagination.py +104 -0
  154. ory_client/models/pagination_headers.py +103 -0
  155. ory_client/models/parse_error.py +112 -0
  156. ory_client/models/patch_identities_body.py +109 -0
  157. ory_client/models/perform_native_logout_body.py +101 -0
  158. ory_client/models/permissions_on_workpace_response.py +101 -0
  159. ory_client/models/plan.py +103 -0
  160. ory_client/models/plan_details.py +128 -0
  161. ory_client/models/post_check_permission_body.py +113 -0
  162. ory_client/models/post_check_permission_or_error_body.py +113 -0
  163. ory_client/models/project.py +148 -0
  164. ory_client/models/project_api_key.py +126 -0
  165. ory_client/models/project_branding.py +129 -0
  166. ory_client/models/project_branding_colors.py +157 -0
  167. ory_client/models/project_branding_theme.py +182 -0
  168. ory_client/models/project_cors.py +103 -0
  169. ory_client/models/project_events_datapoint.py +114 -0
  170. ory_client/models/project_host.py +107 -0
  171. ory_client/models/project_member.py +107 -0
  172. ory_client/models/project_metadata.py +161 -0
  173. ory_client/models/project_service_identity.py +101 -0
  174. ory_client/models/project_service_o_auth2.py +101 -0
  175. ory_client/models/project_service_permission.py +101 -0
  176. ory_client/models/project_services.py +117 -0
  177. ory_client/models/quota_usage.py +118 -0
  178. ory_client/models/recovery_code_for_identity.py +106 -0
  179. ory_client/models/recovery_flow.py +139 -0
  180. ory_client/models/recovery_flow_state.py +39 -0
  181. ory_client/models/recovery_identity_address.py +110 -0
  182. ory_client/models/recovery_link_for_identity.py +104 -0
  183. ory_client/models/registration_flow.py +156 -0
  184. ory_client/models/registration_flow_state.py +39 -0
  185. ory_client/models/reject_o_auth2_request.py +109 -0
  186. ory_client/models/relation_query.py +113 -0
  187. ory_client/models/relationship.py +113 -0
  188. ory_client/models/relationship_namespaces.py +109 -0
  189. ory_client/models/relationship_patch.py +117 -0
  190. ory_client/models/relationships.py +111 -0
  191. ory_client/models/rfc6749_error_json.py +109 -0
  192. ory_client/models/schema_patch.py +103 -0
  193. ory_client/models/self_service_flow_expired_error.py +112 -0
  194. ory_client/models/session.py +141 -0
  195. ory_client/models/session_activity_datapoint.py +105 -0
  196. ory_client/models/session_authentication_method.py +121 -0
  197. ory_client/models/session_device.py +107 -0
  198. ory_client/models/set_active_project_in_console_body.py +101 -0
  199. ory_client/models/set_custom_domain_body.py +109 -0
  200. ory_client/models/set_event_stream_body.py +112 -0
  201. ory_client/models/set_project.py +118 -0
  202. ory_client/models/set_project_branding_theme_body.py +115 -0
  203. ory_client/models/settings_flow.py +145 -0
  204. ory_client/models/settings_flow_state.py +38 -0
  205. ory_client/models/source_position.py +103 -0
  206. ory_client/models/subject_set.py +105 -0
  207. ory_client/models/subscription.py +179 -0
  208. ory_client/models/successful_code_exchange_response.py +107 -0
  209. ory_client/models/successful_native_login.py +117 -0
  210. ory_client/models/successful_native_registration.py +123 -0
  211. ory_client/models/successful_project_update.py +115 -0
  212. ory_client/models/token_pagination.py +104 -0
  213. ory_client/models/token_pagination_headers.py +103 -0
  214. ory_client/models/token_pagination_request_parameters.py +104 -0
  215. ory_client/models/token_pagination_response_headers.py +103 -0
  216. ory_client/models/trust_o_auth2_jwt_grant_issuer.py +116 -0
  217. ory_client/models/trusted_o_auth2_jwt_grant_issuer.py +120 -0
  218. ory_client/models/trusted_o_auth2_jwt_grant_json_web_key.py +103 -0
  219. ory_client/models/ui_container.py +123 -0
  220. ory_client/models/ui_node.py +139 -0
  221. ory_client/models/ui_node_anchor_attributes.py +118 -0
  222. ory_client/models/ui_node_attributes.py +238 -0
  223. ory_client/models/ui_node_image_attributes.py +116 -0
  224. ory_client/models/ui_node_input_attributes.py +154 -0
  225. ory_client/models/ui_node_meta.py +105 -0
  226. ory_client/models/ui_node_script_attributes.py +124 -0
  227. ory_client/models/ui_node_text_attributes.py +116 -0
  228. ory_client/models/ui_text.py +114 -0
  229. ory_client/models/update_identity_body.py +132 -0
  230. ory_client/models/update_login_flow_body.py +286 -0
  231. ory_client/models/update_login_flow_with_code_method.py +111 -0
  232. ory_client/models/update_login_flow_with_lookup_secret_method.py +105 -0
  233. ory_client/models/update_login_flow_with_oidc_method.py +115 -0
  234. ory_client/models/update_login_flow_with_passkey_method.py +105 -0
  235. ory_client/models/update_login_flow_with_password_method.py +111 -0
  236. ory_client/models/update_login_flow_with_totp_method.py +107 -0
  237. ory_client/models/update_login_flow_with_web_authn_method.py +109 -0
  238. ory_client/models/update_recovery_flow_body.py +166 -0
  239. ory_client/models/update_recovery_flow_with_code_method.py +116 -0
  240. ory_client/models/update_recovery_flow_with_link_method.py +114 -0
  241. ory_client/models/update_registration_flow_body.py +238 -0
  242. ory_client/models/update_registration_flow_with_code_method.py +111 -0
  243. ory_client/models/update_registration_flow_with_oidc_method.py +115 -0
  244. ory_client/models/update_registration_flow_with_passkey_method.py +109 -0
  245. ory_client/models/update_registration_flow_with_password_method.py +109 -0
  246. ory_client/models/update_registration_flow_with_profile_method.py +109 -0
  247. ory_client/models/update_registration_flow_with_web_authn_method.py +111 -0
  248. ory_client/models/update_settings_flow_body.py +286 -0
  249. ory_client/models/update_settings_flow_with_lookup_method.py +113 -0
  250. ory_client/models/update_settings_flow_with_oidc_method.py +113 -0
  251. ory_client/models/update_settings_flow_with_passkey_method.py +107 -0
  252. ory_client/models/update_settings_flow_with_password_method.py +107 -0
  253. ory_client/models/update_settings_flow_with_profile_method.py +107 -0
  254. ory_client/models/update_settings_flow_with_totp_method.py +109 -0
  255. ory_client/models/update_settings_flow_with_web_authn_method.py +111 -0
  256. ory_client/models/update_subscription_body.py +112 -0
  257. ory_client/models/update_verification_flow_body.py +166 -0
  258. ory_client/models/update_verification_flow_with_code_method.py +116 -0
  259. ory_client/models/update_verification_flow_with_link_method.py +114 -0
  260. ory_client/models/update_workspace_payload.py +101 -0
  261. ory_client/models/usage.py +105 -0
  262. ory_client/models/verifiable_credential_priming_response.py +115 -0
  263. ory_client/models/verifiable_credential_proof.py +103 -0
  264. ory_client/models/verifiable_credential_response.py +103 -0
  265. ory_client/models/verifiable_identity_address.py +123 -0
  266. ory_client/models/verification_flow.py +129 -0
  267. ory_client/models/verification_flow_state.py +39 -0
  268. ory_client/models/version.py +101 -0
  269. ory_client/models/warning.py +103 -0
  270. ory_client/models/workspace.py +115 -0
  271. ory_client/models/workspace_meta.py +122 -0
  272. ory_client/py.typed +0 -0
  273. ory_client/rest.py +139 -236
  274. {ory_client-1.9.0.dist-info → ory_client-1.11.6.dist-info}/METADATA +6 -4
  275. ory_client-1.11.6.dist-info/RECORD +278 -0
  276. ory_client/apis/__init__.py +0 -28
  277. ory_client/model/__init__.py +0 -5
  278. ory_client/model/accept_o_auth2_consent_request.py +0 -296
  279. ory_client/model/accept_o_auth2_consent_request_session.py +0 -268
  280. ory_client/model/accept_o_auth2_login_request.py +0 -308
  281. ory_client/model/active_project_in_console.py +0 -264
  282. ory_client/model/attribute.py +0 -268
  283. ory_client/model/attribute_filter.py +0 -282
  284. ory_client/model/attributes_count_datapoint.py +0 -276
  285. ory_client/model/authenticator_assurance_level.py +0 -293
  286. ory_client/model/batch_patch_identities_response.py +0 -270
  287. ory_client/model/check_opl_syntax_result.py +0 -270
  288. ory_client/model/check_permission_result.py +0 -270
  289. ory_client/model/cloud_account.py +0 -282
  290. ory_client/model/consistency_request_parameters.py +0 -269
  291. ory_client/model/continue_with.py +0 -356
  292. ory_client/model/continue_with_recovery_ui.py +0 -287
  293. ory_client/model/continue_with_recovery_ui_flow.py +0 -274
  294. ory_client/model/continue_with_set_ory_session_token.py +0 -281
  295. ory_client/model/continue_with_settings_ui.py +0 -287
  296. ory_client/model/continue_with_settings_ui_flow.py +0 -270
  297. ory_client/model/continue_with_verification_ui.py +0 -287
  298. ory_client/model/continue_with_verification_ui_flow.py +0 -280
  299. ory_client/model/courier_message_status.py +0 -293
  300. ory_client/model/courier_message_type.py +0 -291
  301. ory_client/model/create_custom_domain_body.py +0 -280
  302. ory_client/model/create_event_stream_body.py +0 -287
  303. ory_client/model/create_identity_body.py +0 -314
  304. ory_client/model/create_invite_response.py +0 -282
  305. ory_client/model/create_json_web_key_set.py +0 -282
  306. ory_client/model/create_member_invite_response.py +0 -287
  307. ory_client/model/create_project_api_key_request.py +0 -270
  308. ory_client/model/create_project_body.py +0 -284
  309. ory_client/model/create_project_branding.py +0 -290
  310. ory_client/model/create_project_member_invite_body.py +0 -264
  311. ory_client/model/create_project_normalized_payload.py +0 -1119
  312. ory_client/model/create_recovery_code_for_identity_body.py +0 -279
  313. ory_client/model/create_recovery_link_for_identity_body.py +0 -279
  314. ory_client/model/create_relationship_body.py +0 -286
  315. ory_client/model/create_subscription_body.py +0 -298
  316. ory_client/model/create_subscription_common.py +0 -292
  317. ory_client/model/create_verifiable_credential_request_body.py +0 -278
  318. ory_client/model/create_workspace_member_invite_body.py +0 -264
  319. ory_client/model/create_workspace_payload.py +0 -270
  320. ory_client/model/create_workspace_subscription_body.py +0 -292
  321. ory_client/model/credential_supported_draft00.py +0 -276
  322. ory_client/model/custom_domain.py +0 -334
  323. ory_client/model/delete_my_sessions_count.py +0 -264
  324. ory_client/model/email_template_data.py +0 -282
  325. ory_client/model/email_template_data_body.py +0 -276
  326. ory_client/model/error_authenticator_assurance_level_not_satisfied.py +0 -274
  327. ory_client/model/error_browser_location_change_required.py +0 -274
  328. ory_client/model/error_flow_replaced.py +0 -274
  329. ory_client/model/error_generic.py +0 -276
  330. ory_client/model/error_o_auth2.py +0 -280
  331. ory_client/model/event_stream.py +0 -284
  332. ory_client/model/expanded_permission_tree.py +0 -294
  333. ory_client/model/flow_error.py +0 -282
  334. ory_client/model/generic_error.py +0 -308
  335. ory_client/model/generic_error_content.py +0 -280
  336. ory_client/model/generic_usage.py +0 -276
  337. ory_client/model/get_attributes_count_response.py +0 -273
  338. ory_client/model/get_managed_identity_schema_location.py +0 -264
  339. ory_client/model/get_metrics_event_attributes_response.py +0 -267
  340. ory_client/model/get_metrics_event_types_response.py +0 -267
  341. ory_client/model/get_organization_response.py +0 -276
  342. ory_client/model/get_project_events_body.py +0 -298
  343. ory_client/model/get_project_events_response.py +0 -278
  344. ory_client/model/get_project_metrics_response.py +0 -273
  345. ory_client/model/get_session_activity_response.py +0 -273
  346. ory_client/model/get_version200_response.py +0 -270
  347. ory_client/model/health_not_ready_status.py +0 -264
  348. ory_client/model/health_status.py +0 -264
  349. ory_client/model/identity.py +0 -342
  350. ory_client/model/identity_credentials.py +0 -294
  351. ory_client/model/identity_credentials_code.py +0 -268
  352. ory_client/model/identity_credentials_oidc.py +0 -270
  353. ory_client/model/identity_credentials_oidc_provider.py +0 -284
  354. ory_client/model/identity_credentials_password.py +0 -264
  355. ory_client/model/identity_patch.py +0 -274
  356. ory_client/model/identity_patch_response.py +0 -275
  357. ory_client/model/identity_schema_container.py +0 -268
  358. ory_client/model/identity_schema_preset.py +0 -276
  359. ory_client/model/identity_schema_presets.py +0 -292
  360. ory_client/model/identity_schemas.py +0 -292
  361. ory_client/model/identity_with_credentials.py +0 -276
  362. ory_client/model/identity_with_credentials_oidc.py +0 -270
  363. ory_client/model/identity_with_credentials_oidc_config.py +0 -276
  364. ory_client/model/identity_with_credentials_oidc_config_provider.py +0 -276
  365. ory_client/model/identity_with_credentials_password.py +0 -270
  366. ory_client/model/identity_with_credentials_password_config.py +0 -268
  367. ory_client/model/internal_get_project_branding_body.py +0 -264
  368. ory_client/model/internal_is_ax_welcome_screen_enabled_for_project_body.py +0 -276
  369. ory_client/model/internal_is_owner_for_project_by_slug_body.py +0 -290
  370. ory_client/model/internal_is_owner_for_project_by_slug_response.py +0 -270
  371. ory_client/model/introspected_o_auth2_token.py +0 -322
  372. ory_client/model/is_owner_for_project_by_slug.py +0 -276
  373. ory_client/model/is_ready200_response.py +0 -270
  374. ory_client/model/is_ready503_response.py +0 -270
  375. ory_client/model/json_patch.py +0 -292
  376. ory_client/model/json_patch_document.py +0 -292
  377. ory_client/model/json_web_key.py +0 -340
  378. ory_client/model/json_web_key_set.py +0 -270
  379. ory_client/model/keto_namespace.py +0 -268
  380. ory_client/model/keto_namespaces.py +0 -292
  381. ory_client/model/list_custom_domains.py +0 -292
  382. ory_client/model/list_event_streams.py +0 -270
  383. ory_client/model/list_my_workspaces_response.py +0 -288
  384. ory_client/model/list_organizations_response.py +0 -276
  385. ory_client/model/list_workspace_projects_response.py +0 -288
  386. ory_client/model/login_flow.py +0 -370
  387. ory_client/model/login_flow_state.py +0 -292
  388. ory_client/model/logout_flow.py +0 -276
  389. ory_client/model/managed_identity_schema.py +0 -300
  390. ory_client/model/managed_identity_schema_validation_result.py +0 -268
  391. ory_client/model/managed_identity_schemas.py +0 -292
  392. ory_client/model/member_invite.py +0 -321
  393. ory_client/model/member_invites.py +0 -292
  394. ory_client/model/message.py +0 -355
  395. ory_client/model/message_dispatch.py +0 -302
  396. ory_client/model/metrics_datapoint.py +0 -276
  397. ory_client/model/migration_options.py +0 -284
  398. ory_client/model/namespace.py +0 -264
  399. ory_client/model/needs_privileged_session_error.py +0 -280
  400. ory_client/model/normalized_project.py +0 -337
  401. ory_client/model/normalized_project_revision.py +0 -1105
  402. ory_client/model/normalized_project_revision_courier_channel.py +0 -328
  403. ory_client/model/normalized_project_revision_hook.py +0 -342
  404. ory_client/model/normalized_project_revision_identity_schema.py +0 -308
  405. ory_client/model/normalized_project_revision_identity_schemas.py +0 -292
  406. ory_client/model/normalized_project_revision_third_party_provider.py +0 -368
  407. ory_client/model/normalized_project_revision_tokenizer_template.py +0 -300
  408. ory_client/model/normalized_project_revision_tokenizer_templates.py +0 -292
  409. ory_client/model/normalized_projects.py +0 -292
  410. ory_client/model/null_duration.py +0 -292
  411. ory_client/model/o_auth2_client.py +0 -460
  412. ory_client/model/o_auth2_client_token_lifespans.py +0 -306
  413. ory_client/model/o_auth2_consent_request.py +0 -328
  414. ory_client/model/o_auth2_consent_request_open_id_connect_context.py +0 -280
  415. ory_client/model/o_auth2_consent_session.py +0 -308
  416. ory_client/model/o_auth2_consent_session_expires_at.py +0 -280
  417. ory_client/model/o_auth2_consent_sessions.py +0 -292
  418. ory_client/model/o_auth2_login_request.py +0 -320
  419. ory_client/model/o_auth2_logout_request.py +0 -290
  420. ory_client/model/o_auth2_redirect_to.py +0 -270
  421. ory_client/model/o_auth2_token_exchange.py +0 -284
  422. ory_client/model/oidc_configuration.py +0 -412
  423. ory_client/model/oidc_user_info.py +0 -336
  424. ory_client/model/organization.py +0 -302
  425. ory_client/model/organization_body.py +0 -268
  426. ory_client/model/pagination.py +0 -274
  427. ory_client/model/pagination_headers.py +0 -268
  428. ory_client/model/parse_error.py +0 -278
  429. ory_client/model/patch_identities_body.py +0 -270
  430. ory_client/model/perform_native_logout_body.py +0 -270
  431. ory_client/model/permissions_on_project.py +0 -260
  432. ory_client/model/permissions_on_workpace_response.py +0 -264
  433. ory_client/model/plan.py +0 -276
  434. ory_client/model/plan_details.py +0 -316
  435. ory_client/model/plan_features.py +0 -266
  436. ory_client/model/plans.py +0 -287
  437. ory_client/model/post_check_permission_body.py +0 -286
  438. ory_client/model/post_check_permission_or_error_body.py +0 -286
  439. ory_client/model/pricing.py +0 -292
  440. ory_client/model/project.py +0 -319
  441. ory_client/model/project_api_key.py +0 -298
  442. ory_client/model/project_api_keys.py +0 -292
  443. ory_client/model/project_branding.py +0 -303
  444. ory_client/model/project_branding_colors.py +0 -376
  445. ory_client/model/project_branding_theme.py +0 -421
  446. ory_client/model/project_branding_themes.py +0 -292
  447. ory_client/model/project_cors.py +0 -268
  448. ory_client/model/project_events_datapoint.py +0 -288
  449. ory_client/model/project_host.py +0 -281
  450. ory_client/model/project_member.py +0 -288
  451. ory_client/model/project_members.py +0 -292
  452. ory_client/model/project_metadata.py +0 -337
  453. ory_client/model/project_metadata_list.py +0 -292
  454. ory_client/model/project_revision_hooks.py +0 -292
  455. ory_client/model/project_revision_identity_schemas.py +0 -292
  456. ory_client/model/project_revision_third_party_login_providers.py +0 -292
  457. ory_client/model/project_revisions.py +0 -292
  458. ory_client/model/project_service_identity.py +0 -270
  459. ory_client/model/project_service_o_auth2.py +0 -270
  460. ory_client/model/project_service_permission.py +0 -270
  461. ory_client/model/project_services.py +0 -282
  462. ory_client/model/projects.py +0 -292
  463. ory_client/model/quota_usage.py +0 -328
  464. ory_client/model/recovery_code_for_identity.py +0 -280
  465. ory_client/model/recovery_flow.py +0 -330
  466. ory_client/model/recovery_flow_state.py +0 -292
  467. ory_client/model/recovery_identity_address.py +0 -290
  468. ory_client/model/recovery_link_for_identity.py +0 -274
  469. ory_client/model/registration_flow.py +0 -352
  470. ory_client/model/registration_flow_state.py +0 -292
  471. ory_client/model/reject_o_auth2_request.py +0 -280
  472. ory_client/model/relation_query.py +0 -286
  473. ory_client/model/relationship.py +0 -296
  474. ory_client/model/relationship_namespaces.py +0 -270
  475. ory_client/model/relationship_patch.py +0 -278
  476. ory_client/model/relationships.py +0 -274
  477. ory_client/model/revision_courier_channels.py +0 -292
  478. ory_client/model/rfc6749_error_json.py +0 -280
  479. ory_client/model/schema_patch.py +0 -276
  480. ory_client/model/self_service_flow_expired_error.py +0 -282
  481. ory_client/model/session.py +0 -318
  482. ory_client/model/session_activity_datapoint.py +0 -282
  483. ory_client/model/session_authentication_method.py +0 -297
  484. ory_client/model/session_authentication_methods.py +0 -292
  485. ory_client/model/session_device.py +0 -282
  486. ory_client/model/set_active_project_in_console_body.py +0 -270
  487. ory_client/model/set_custom_domain_body.py +0 -280
  488. ory_client/model/set_event_stream_body.py +0 -287
  489. ory_client/model/set_project.py +0 -296
  490. ory_client/model/set_project_branding_theme_body.py +0 -290
  491. ory_client/model/settings_flow.py +0 -338
  492. ory_client/model/settings_flow_state.py +0 -291
  493. ory_client/model/source_position.py +0 -268
  494. ory_client/model/string_slice_json_format.py +0 -287
  495. ory_client/model/subject_set.py +0 -282
  496. ory_client/model/subscription.py +0 -350
  497. ory_client/model/successful_code_exchange_response.py +0 -280
  498. ory_client/model/successful_native_login.py +0 -280
  499. ory_client/model/successful_native_registration.py +0 -292
  500. ory_client/model/successful_project_update.py +0 -284
  501. ory_client/model/token_pagination.py +0 -274
  502. ory_client/model/token_pagination_headers.py +0 -268
  503. ory_client/model/token_pagination_request_parameters.py +0 -274
  504. ory_client/model/token_pagination_response_headers.py +0 -268
  505. ory_client/model/trust_o_auth2_jwt_grant_issuer.py +0 -302
  506. ory_client/model/trusted_o_auth2_jwt_grant_issuer.py +0 -298
  507. ory_client/model/trusted_o_auth2_jwt_grant_issuers.py +0 -292
  508. ory_client/model/trusted_o_auth2_jwt_grant_json_web_key.py +0 -268
  509. ory_client/model/ui_container.py +0 -294
  510. ory_client/model/ui_node.py +0 -322
  511. ory_client/model/ui_node_anchor_attributes.py +0 -294
  512. ory_client/model/ui_node_attributes.py +0 -440
  513. ory_client/model/ui_node_image_attributes.py +0 -294
  514. ory_client/model/ui_node_input_attributes.py +0 -340
  515. ory_client/model/ui_node_meta.py +0 -270
  516. ory_client/model/ui_node_script_attributes.py +0 -318
  517. ory_client/model/ui_node_text_attributes.py +0 -288
  518. ory_client/model/ui_nodes.py +0 -292
  519. ory_client/model/ui_text.py +0 -291
  520. ory_client/model/ui_texts.py +0 -292
  521. ory_client/model/update_identity_body.py +0 -304
  522. ory_client/model/update_login_flow_body.py +0 -411
  523. ory_client/model/update_login_flow_with_code_method.py +0 -292
  524. ory_client/model/update_login_flow_with_lookup_secret_method.py +0 -280
  525. ory_client/model/update_login_flow_with_oidc_method.py +0 -300
  526. ory_client/model/update_login_flow_with_password_method.py +0 -294
  527. ory_client/model/update_login_flow_with_totp_method.py +0 -284
  528. ory_client/model/update_login_flow_with_web_authn_method.py +0 -288
  529. ory_client/model/update_recovery_flow_body.py +0 -351
  530. ory_client/model/update_recovery_flow_with_code_method.py +0 -290
  531. ory_client/model/update_recovery_flow_with_link_method.py +0 -288
  532. ory_client/model/update_registration_flow_body.py +0 -389
  533. ory_client/model/update_registration_flow_with_code_method.py +0 -292
  534. ory_client/model/update_registration_flow_with_oidc_method.py +0 -300
  535. ory_client/model/update_registration_flow_with_password_method.py +0 -290
  536. ory_client/model/update_registration_flow_with_web_authn_method.py +0 -292
  537. ory_client/model/update_settings_flow_body.py +0 -419
  538. ory_client/model/update_settings_flow_with_lookup_method.py +0 -294
  539. ory_client/model/update_settings_flow_with_oidc_method.py +0 -294
  540. ory_client/model/update_settings_flow_with_password_method.py +0 -284
  541. ory_client/model/update_settings_flow_with_profile_method.py +0 -284
  542. ory_client/model/update_settings_flow_with_totp_method.py +0 -286
  543. ory_client/model/update_settings_flow_with_web_authn_method.py +0 -290
  544. ory_client/model/update_subscription_body.py +0 -284
  545. ory_client/model/update_verification_flow_body.py +0 -351
  546. ory_client/model/update_verification_flow_with_code_method.py +0 -290
  547. ory_client/model/update_verification_flow_with_link_method.py +0 -288
  548. ory_client/model/update_workspace_payload.py +0 -270
  549. ory_client/model/usage.py +0 -270
  550. ory_client/model/verifiable_credential_priming_response.py +0 -292
  551. ory_client/model/verifiable_credential_proof.py +0 -268
  552. ory_client/model/verifiable_credential_response.py +0 -268
  553. ory_client/model/verifiable_identity_address.py +0 -308
  554. ory_client/model/verification_flow.py +0 -318
  555. ory_client/model/verification_flow_state.py +0 -292
  556. ory_client/model/version.py +0 -264
  557. ory_client/model/warning.py +0 -268
  558. ory_client/model/workspace.py +0 -292
  559. ory_client/model/workspace_meta.py +0 -296
  560. ory_client/model/workspaces.py +0 -292
  561. ory_client/model_utils.py +0 -2059
  562. ory_client-1.9.0.dist-info/RECORD +0 -310
  563. {ory_client-1.9.0.dist-info → ory_client-1.11.6.dist-info}/LICENSE +0 -0
  564. {ory_client-1.9.0.dist-info → ory_client-1.11.6.dist-info}/WHEEL +0 -0
  565. {ory_client-1.9.0.dist-info → ory_client-1.11.6.dist-info}/top_level.txt +0 -0
@@ -0,0 +1,685 @@
1
+ # coding: utf-8
2
+
3
+ """
4
+ Ory APIs
5
+
6
+ Documentation for all public and administrative Ory APIs. Administrative APIs can only be accessed with a valid Personal Access Token. Public APIs are mostly used in browsers.
7
+
8
+ The version of the OpenAPI document: v1.11.6
9
+ Contact: support@ory.sh
10
+ Generated by OpenAPI Generator (https://openapi-generator.tech)
11
+
12
+ Do not edit the class manually.
13
+ """ # noqa: E501
14
+
15
+
16
+ from __future__ import annotations
17
+ import pprint
18
+ import re # noqa: F401
19
+ import json
20
+
21
+ from datetime import datetime
22
+ from pydantic import BaseModel, ConfigDict, Field, StrictBool, StrictInt, StrictStr, field_validator
23
+ from typing import Any, ClassVar, Dict, List, Optional
24
+ from typing_extensions import Annotated
25
+ from ory_client.models.keto_namespace import KetoNamespace
26
+ from ory_client.models.normalized_project_revision_courier_channel import NormalizedProjectRevisionCourierChannel
27
+ from ory_client.models.normalized_project_revision_hook import NormalizedProjectRevisionHook
28
+ from ory_client.models.normalized_project_revision_identity_schema import NormalizedProjectRevisionIdentitySchema
29
+ from ory_client.models.normalized_project_revision_third_party_provider import NormalizedProjectRevisionThirdPartyProvider
30
+ from ory_client.models.normalized_project_revision_tokenizer_template import NormalizedProjectRevisionTokenizerTemplate
31
+ from typing import Optional, Set
32
+ from typing_extensions import Self
33
+
34
+ class CreateProjectNormalizedPayload(BaseModel):
35
+ """
36
+ Create project (normalized) request payload
37
+ """ # noqa: E501
38
+ created_at: Optional[datetime] = Field(default=None, description="The Project's Revision Creation Date")
39
+ disable_account_experience_welcome_screen: Optional[StrictBool] = Field(default=None, description="Whether to disable the account experience welcome screen, which is hosted under `/ui/welcome`.")
40
+ enable_ax_v2: Optional[StrictBool] = Field(default=None, description="Whether the new account experience is enabled and reachable.")
41
+ environment: StrictStr = Field(description=" prod Production stage Staging dev Development")
42
+ hydra_oauth2_allowed_top_level_claims: Optional[List[StrictStr]] = None
43
+ hydra_oauth2_client_credentials_default_grant_allowed_scope: Optional[StrictBool] = Field(default=None, description="Automatically grant authorized OAuth2 Scope in OAuth2 Client Credentials Flow. Each OAuth2 Client is allowed to request a predefined OAuth2 Scope (for example `read write`). If this option is enabled, the full scope is automatically granted when performing the OAuth2 Client Credentials flow. If disabled, the OAuth2 Client has to request the scope in the OAuth2 request by providing the `scope` query parameter. Setting this option to true is common if you need compatibility with MITREid. This governs the \"oauth2.client_credentials.default_grant_allowed_scope\" setting.")
44
+ hydra_oauth2_exclude_not_before_claim: Optional[StrictBool] = Field(default=None, description="Set to true if you want to exclude claim `nbf (not before)` part of access token. This governs the \"oauth2.exclude_not_before_claim\" setting.")
45
+ hydra_oauth2_grant_jwt_iat_optional: Optional[StrictBool] = Field(default=None, description="Configures if the issued at (`iat`) claim is required in the JSON Web Token (JWT) Profile for OAuth 2.0 Client Authentication and Authorization Grants (RFC7523). If set to `false`, the `iat` claim is required. Set this value to `true` only after careful consideration. This governs the \"oauth2.grant.jwt.iat_optional\" setting.")
46
+ hydra_oauth2_grant_jwt_jti_optional: Optional[StrictBool] = Field(default=None, description="Configures if the JSON Web Token ID (`jti`) claim is required in the JSON Web Token (JWT) Profile for OAuth 2.0 Client Authentication and Authorization Grants (RFC7523). If set to `false`, the `jti` claim is required. Set this value to `true` only after careful consideration. This governs the \"oauth2.grant.jwt.jti_optional\" setting.")
47
+ hydra_oauth2_grant_jwt_max_ttl: Optional[Annotated[str, Field(strict=True)]] = Field(default='720h', description="Configures what the maximum age of a JWT assertion used in the JSON Web Token (JWT) Profile for OAuth 2.0 Client Authentication and Authorization Grants (RFC7523) can be. This feature uses the `exp` claim and `iat` claim to calculate assertion age. Assertions exceeding the max age will be denied. Useful as a safety measure and recommended to keep below 720h. This governs the \"oauth2.grant.jwt.max_ttl\" setting.")
48
+ hydra_oauth2_mirror_top_level_claims: Optional[StrictBool] = Field(default=None, description="Set to false if you don't want to mirror custom claims under 'ext'. This governs the \"oauth2.mirror_top_level_claims\" setting.")
49
+ hydra_oauth2_pkce_enforced: Optional[StrictBool] = Field(default=None, description="Configures whether PKCE should be enforced for all OAuth2 Clients. This governs the \"oauth2.pkce.enforced\" setting.")
50
+ hydra_oauth2_pkce_enforced_for_public_clients: Optional[StrictBool] = Field(default=None, description="Configures whether PKCE should be enforced for OAuth2 Clients without a client secret (public clients). This governs the \"oauth2.pkce.enforced_for_public_clients\" setting.")
51
+ hydra_oauth2_refresh_token_hook: Optional[StrictStr] = Field(default=None, description="Sets the Refresh Token Hook Endpoint. If set this endpoint will be called during the OAuth2 Token Refresh grant update the OAuth2 Access Token claims. This governs the \"oauth2.refresh_token_hook\" setting.")
52
+ hydra_oauth2_token_hook: Optional[StrictStr] = Field(default=None, description="Sets the token hook endpoint for all grant types. If set it will be called while providing token to customize claims. This governs the \"oauth2.token_hook.url\" setting.")
53
+ hydra_oidc_dynamic_client_registration_default_scope: Optional[List[StrictStr]] = None
54
+ hydra_oidc_dynamic_client_registration_enabled: Optional[StrictBool] = Field(default=None, description="Configures OpenID Connect Dynamic Client Registration. This governs the \"oidc.dynamic_client_registration.enabled\" setting.")
55
+ hydra_oidc_subject_identifiers_pairwise_salt: Optional[StrictStr] = Field(default=None, description="Configures OpenID Connect Discovery and overwrites the pairwise algorithm This governs the \"oidc.subject_identifiers.pairwise_salt\" setting.")
56
+ hydra_oidc_subject_identifiers_supported_types: Optional[List[StrictStr]] = None
57
+ hydra_secrets_cookie: Optional[List[StrictStr]] = None
58
+ hydra_secrets_system: Optional[List[StrictStr]] = None
59
+ hydra_serve_cookies_same_site_legacy_workaround: Optional[StrictBool] = Field(default=None, description="Configures the Ory Hydra Cookie Same Site Legacy Workaround This governs the \"serve.cookies.same_site_legacy_workaround\" setting.")
60
+ hydra_serve_cookies_same_site_mode: Optional[StrictStr] = Field(default=None, description="Configures the Ory Hydra Cookie Same Site Mode This governs the \"serve.cookies.same_site_mode\" setting.")
61
+ hydra_strategies_access_token: Optional[StrictStr] = Field(default='opaque', description="Defines access token type. jwt is a bad idea, see https://www.ory.sh/docs/hydra/advanced#json-web-tokens This governs the \"strategies.access_token\" setting. opaque Oauth2AccessTokenStrategyOpaque jwt Oauth2AccessTokenStrategyJwt")
62
+ hydra_strategies_scope: Optional[StrictStr] = Field(default='wildcard', description="Defines how scopes are matched. For more details have a look at https://github.com/ory/fosite#scopes This governs the \"strategies.scope\" setting. exact Oauth2ScopeStrategyExact wildcard Oauth2ScopeStrategyWildcard")
63
+ hydra_ttl_access_token: Optional[Annotated[str, Field(strict=True)]] = Field(default='30m', description="This governs the \"ttl.access_token\" setting.")
64
+ hydra_ttl_auth_code: Optional[Annotated[str, Field(strict=True)]] = Field(default='720h', description="Configures how long refresh tokens are valid. Set to -1 for refresh tokens to never expire. This is not recommended! This governs the \"ttl.auth_code\" setting.")
65
+ hydra_ttl_id_token: Optional[Annotated[str, Field(strict=True)]] = Field(default='30m', description="This governs the \"ttl.id_token\" setting.")
66
+ hydra_ttl_login_consent_request: Optional[Annotated[str, Field(strict=True)]] = Field(default='30m', description="Configures how long a user login and consent flow may take. This governs the \"ttl.login_consent_request\" setting.")
67
+ hydra_ttl_refresh_token: Optional[Annotated[str, Field(strict=True)]] = Field(default='720h', description="Configures how long refresh tokens are valid. Set to -1 for refresh tokens to never expire. This is not recommended! This governs the \"ttl.refresh_token\" setting.")
68
+ hydra_urls_consent: Optional[StrictStr] = Field(default=None, description="Sets the OAuth2 Consent Endpoint URL of the OAuth2 User Login & Consent flow. Defaults to the Ory Account Experience if left empty. This governs the \"urls.consent\" setting.")
69
+ hydra_urls_error: Optional[StrictStr] = Field(default=None, description="Sets the OAuth2 Error URL of the OAuth2 User Login & Consent flow. Defaults to the Ory Account Experience if left empty. This governs the \"urls.error\" setting.")
70
+ hydra_urls_login: Optional[StrictStr] = Field(default=None, description="Sets the OAuth2 Login Endpoint URL of the OAuth2 User Login & Consent flow. Defaults to the Ory Account Experience if left empty. This governs the \"urls.login\" setting.")
71
+ hydra_urls_logout: Optional[StrictStr] = Field(default=None, description="Sets the logout endpoint. Defaults to the Ory Account Experience if left empty. This governs the \"urls.logout\" setting.")
72
+ hydra_urls_post_logout_redirect: Optional[StrictStr] = Field(default=None, description="When an OAuth2-related user agent requests to log out, they will be redirected to this url afterwards per default. Defaults to the Ory Account Experience in development and your application in production mode when a custom domain is connected. This governs the \"urls.post_logout_redirect\" setting.")
73
+ hydra_urls_registration: Optional[StrictStr] = Field(default=None, description="Sets the OAuth2 Registration Endpoint URL of the OAuth2 User Login & Consent flow. Defaults to the Ory Account Experience if left empty. This governs the \"urls.registration\" setting.")
74
+ hydra_urls_self_issuer: Optional[StrictStr] = Field(default=None, description="This value will be used as the issuer in access and ID tokens. It must be specified and using HTTPS protocol, unless the development mode is enabled. On the Ory Network it will be very rare that you want to modify this value. If left empty, it will default to the correct value for the Ory Network. This governs the \"urls.self.issuer\" setting.")
75
+ hydra_webfinger_jwks_broadcast_keys: Optional[List[StrictStr]] = None
76
+ hydra_webfinger_oidc_discovery_auth_url: Optional[StrictStr] = Field(default=None, description="Configures OpenID Connect Discovery and overwrites the OAuth2 Authorization URL. This governs the \"webfinger.oidc.discovery.auth_url\" setting.")
77
+ hydra_webfinger_oidc_discovery_client_registration_url: Optional[StrictStr] = Field(default=None, description="Configures OpenID Connect Discovery and overwrites the OpenID Connect Dynamic Client Registration Endpoint. This governs the \"webfinger.oidc.discovery.client_registration_url\" setting.")
78
+ hydra_webfinger_oidc_discovery_jwks_url: Optional[StrictStr] = Field(default=None, description="Configures OpenID Connect Discovery and overwrites the JWKS URL. This governs the \"webfinger.oidc.discovery.jwks_url\" setting.")
79
+ hydra_webfinger_oidc_discovery_supported_claims: Optional[List[StrictStr]] = None
80
+ hydra_webfinger_oidc_discovery_supported_scope: Optional[List[StrictStr]] = None
81
+ hydra_webfinger_oidc_discovery_token_url: Optional[StrictStr] = Field(default=None, description="Configures OpenID Connect Discovery and overwrites the OAuth2 Token URL. This governs the \"webfinger.oidc.discovery.token_url\" setting.")
82
+ hydra_webfinger_oidc_discovery_userinfo_url: Optional[StrictStr] = Field(default=None, description="Configures OpenID Connect Discovery and overwrites userinfo endpoint to be advertised at the OpenID Connect Discovery endpoint /.well-known/openid-configuration. Defaults to Ory Hydra's userinfo endpoint at /userinfo. Set this value if you want to handle this endpoint yourself. This governs the \"webfinger.oidc.discovery.userinfo_url\" setting.")
83
+ id: Optional[StrictStr] = Field(default=None, description="The revision ID.")
84
+ keto_namespace_configuration: Optional[StrictStr] = Field(default=None, description="The Revisions' Keto Namespace Configuration The string is a URL pointing to an OPL file with the configuration.")
85
+ keto_namespaces: Optional[List[KetoNamespace]] = None
86
+ kratos_cookies_same_site: Optional[StrictStr] = Field(default=None, description="Configures the Ory Kratos Cookie SameSite Attribute This governs the \"cookies.same_site\" setting.")
87
+ kratos_courier_channels: Optional[List[NormalizedProjectRevisionCourierChannel]] = None
88
+ kratos_courier_delivery_strategy: Optional[StrictStr] = Field(default='smtp', description="The delivery strategy to use when sending emails `smtp`: Use SMTP server `http`: Use the built in HTTP client to send the email to some remote service")
89
+ kratos_courier_http_request_config_auth_api_key_in: Optional[StrictStr] = Field(default=None, description="The location of the API key to use in the HTTP email sending service's authentication `header`: Send the key value pair as a header `cookie`: Send the key value pair as a cookie This governs the \"courier.http.auth.config.in\" setting")
90
+ kratos_courier_http_request_config_auth_api_key_name: Optional[StrictStr] = Field(default=None, description="The name of the API key to use in the HTTP email sending service's authentication This governs the \"courier.http.auth.config.name\" setting")
91
+ kratos_courier_http_request_config_auth_api_key_value: Optional[StrictStr] = Field(default=None, description="The value of the API key to use in the HTTP email sending service's authentication This governs the \"courier.http.auth.config.value\" setting")
92
+ kratos_courier_http_request_config_auth_basic_auth_password: Optional[StrictStr] = Field(default=None, description="The password to use for basic auth in the HTTP email sending service's authentication This governs the \"courier.http.auth.config.password\" setting")
93
+ kratos_courier_http_request_config_auth_basic_auth_user: Optional[StrictStr] = Field(default=None, description="The user to use for basic auth in the HTTP email sending service's authentication This governs the \"courier.http.auth.config.user\" setting")
94
+ kratos_courier_http_request_config_auth_type: Optional[StrictStr] = Field(default='empty (no authentication)', description="The authentication type to use while contacting the remote HTTP email sending service `basic_auth`: Use Basic Authentication `api_key`: Use API Key Authentication in a header or cookie")
95
+ kratos_courier_http_request_config_body: Optional[StrictStr] = Field(default=None, description="The Jsonnet template to generate the body to send to the remote HTTP email sending service Should be valid Jsonnet and base64 encoded This governs the \"courier.http.body\" setting")
96
+ kratos_courier_http_request_config_headers: Optional[Dict[str, Any]] = Field(default=None, description="NullJSONRawMessage represents a json.RawMessage that works well with JSON, SQL, and Swagger and is NULLable-")
97
+ kratos_courier_http_request_config_method: Optional[StrictStr] = Field(default='POST', description="The http METHOD to use when calling the remote HTTP email sending service")
98
+ kratos_courier_http_request_config_url: Optional[StrictStr] = Field(default=None, description="The URL of the remote HTTP email sending service This governs the \"courier.http.url\" setting")
99
+ kratos_courier_smtp_connection_uri: Optional[StrictStr] = Field(default=None, description="Configures the Ory Kratos SMTP Connection URI This governs the \"courier.smtp.connection_uri\" setting.")
100
+ kratos_courier_smtp_from_address: Optional[StrictStr] = Field(default=None, description="Configures the Ory Kratos SMTP From Address This governs the \"courier.smtp.from_address\" setting.")
101
+ kratos_courier_smtp_from_name: Optional[StrictStr] = Field(default=None, description="Configures the Ory Kratos SMTP From Name This governs the \"courier.smtp.from_name\" setting.")
102
+ kratos_courier_smtp_headers: Optional[Dict[str, Any]] = Field(default=None, description="NullJSONRawMessage represents a json.RawMessage that works well with JSON, SQL, and Swagger and is NULLable-")
103
+ kratos_courier_smtp_local_name: Optional[StrictStr] = Field(default=None, description="Configures the local_name to use in SMTP connections This governs the \"courier.smtp.local_name\" setting.")
104
+ kratos_courier_templates_login_code_valid_email_body_html: Optional[StrictStr] = Field(default=None, description="Configures the Ory Kratos Valid Login via Code Email Body HTML Template This governs the \"courier.smtp.templates.login_code.valid.email.body.html\" setting.")
105
+ kratos_courier_templates_login_code_valid_email_body_plaintext: Optional[StrictStr] = Field(default=None, description="Configures the Ory Kratos Valid Login via Code Email Body Plaintext Template This governs the \"courier.smtp.templates.login_code.valid.email.body.plaintext\" setting.")
106
+ kratos_courier_templates_login_code_valid_email_subject: Optional[StrictStr] = Field(default=None, description="Configures the Ory Kratos Valid Login via Code Email Subject Template This governs the \"courier.smtp.templates.login_code.valid.email.subject\" setting.")
107
+ kratos_courier_templates_login_code_valid_sms_body_plaintext: Optional[StrictStr] = Field(default=None, description="Configures the Ory Kratos Valid Login via Code SMS plain text body This governs the \"courier.smtp.templates.login_code.valid.sms.plaintext\" setting.")
108
+ kratos_courier_templates_recovery_code_invalid_email_body_html: Optional[StrictStr] = Field(default=None, description="Configures the Ory Kratos Invalid Recovery via Code Email Body HTML Template This governs the \"courier.smtp.templates.recovery_code.invalid.email.body.html\" setting.")
109
+ kratos_courier_templates_recovery_code_invalid_email_body_plaintext: Optional[StrictStr] = Field(default=None, description="Configures the Ory Kratos Invalid Recovery via Code Email Body Plaintext Template This governs the \"courier.smtp.templates.recovery_code.invalid.email.body.plaintext\" setting.")
110
+ kratos_courier_templates_recovery_code_invalid_email_subject: Optional[StrictStr] = Field(default=None, description="Configures the Ory Kratos Invalid Recovery via Code Email Subject Template This governs the \"courier.smtp.templates.recovery_code.invalid.email.body.html\" setting.")
111
+ kratos_courier_templates_recovery_code_valid_email_body_html: Optional[StrictStr] = Field(default=None, description="Configures the Ory Kratos Valid Recovery via Code Email Body HTML Template This governs the \"courier.smtp.templates.recovery_code.valid.email.body.html\" setting.")
112
+ kratos_courier_templates_recovery_code_valid_email_body_plaintext: Optional[StrictStr] = Field(default=None, description="Configures the Ory Kratos Valid Recovery via Code Email Body Plaintext Template This governs the \"courier.smtp.templates.recovery_code.valid.email.body.plaintext\" setting.")
113
+ kratos_courier_templates_recovery_code_valid_email_subject: Optional[StrictStr] = Field(default=None, description="Configures the Ory Kratos Valid Recovery via Code Email Subject Template This governs the \"courier.smtp.templates.recovery_code.valid.email.subject\" setting.")
114
+ kratos_courier_templates_recovery_invalid_email_body_html: Optional[StrictStr] = Field(default=None, description="Configures the Ory Kratos Invalid Recovery Email Body HTML Template This governs the \"courier.smtp.templates.recovery.invalid.email.body.html\" setting.")
115
+ kratos_courier_templates_recovery_invalid_email_body_plaintext: Optional[StrictStr] = Field(default=None, description="Configures the Ory Kratos Invalid Recovery Email Body Plaintext Template This governs the \"courier.smtp.templates.recovery.invalid.email.body.plaintext\" setting.")
116
+ kratos_courier_templates_recovery_invalid_email_subject: Optional[StrictStr] = Field(default=None, description="Configures the Ory Kratos Invalid Recovery Email Subject Template This governs the \"courier.smtp.templates.recovery.invalid.email.body.html\" setting.")
117
+ kratos_courier_templates_recovery_valid_email_body_html: Optional[StrictStr] = Field(default=None, description="Configures the Ory Kratos Valid Recovery Email Body HTML Template This governs the \"courier.smtp.templates.recovery.valid.email.body.html\" setting.")
118
+ kratos_courier_templates_recovery_valid_email_body_plaintext: Optional[StrictStr] = Field(default=None, description="Configures the Ory Kratos Valid Recovery Email Body Plaintext Template This governs the \"courier.smtp.templates.recovery.valid.email.body.plaintext\" setting.")
119
+ kratos_courier_templates_recovery_valid_email_subject: Optional[StrictStr] = Field(default=None, description="Configures the Ory Kratos Valid Recovery Email Subject Template This governs the \"courier.smtp.templates.recovery.valid.email.subject\" setting.")
120
+ kratos_courier_templates_registration_code_valid_email_body_html: Optional[StrictStr] = Field(default=None, description="Configures the Ory Kratos Valid Registration via Code Email Body HTML Template This governs the \"courier.smtp.templates.registration_code.valid.email.body.html\" setting.")
121
+ kratos_courier_templates_registration_code_valid_email_body_plaintext: Optional[StrictStr] = Field(default=None, description="Configures the Ory Kratos Valid Registration via Code Email Body Plaintext Template This governs the \"courier.smtp.templates.registration_code.valid.email.body.plaintext\" setting.")
122
+ kratos_courier_templates_registration_code_valid_email_subject: Optional[StrictStr] = Field(default=None, description="Configures the Ory Kratos Valid Registration via Code Email Subject Template This governs the \"courier.smtp.templates.registration_code.valid.email.subject\" setting.")
123
+ kratos_courier_templates_verification_code_invalid_email_body_html: Optional[StrictStr] = Field(default=None, description="Configures the Ory Kratos Invalid Verification via Code Email Body HTML Template This governs the \"courier.smtp.templates.verification_code.invalid.email.body.html\" setting.")
124
+ kratos_courier_templates_verification_code_invalid_email_body_plaintext: Optional[StrictStr] = Field(default=None, description="Configures the Ory Kratos Invalid Verification via Code Email Body Plaintext Template This governs the \"courier.smtp.templates.verification_code.invalid.email.body.plaintext\" setting.")
125
+ kratos_courier_templates_verification_code_invalid_email_subject: Optional[StrictStr] = Field(default=None, description="Configures the Ory Kratos Invalid Verification via Code Email Subject Template This governs the \"courier.smtp.templates.verification_code.invalid.email.subject\" setting.")
126
+ kratos_courier_templates_verification_code_valid_email_body_html: Optional[StrictStr] = Field(default=None, description="Configures the Ory Kratos Valid Verification via Code Email Body HTML Template This governs the \"courier.smtp.templates.verification_code.valid.email.body.html\" setting.")
127
+ kratos_courier_templates_verification_code_valid_email_body_plaintext: Optional[StrictStr] = Field(default=None, description="Configures the Ory Kratos Valid Verification via Code Email Body Plaintext Template This governs the \"courier.smtp.templates.verification_code.valid.email.body.plaintext\" setting.")
128
+ kratos_courier_templates_verification_code_valid_email_subject: Optional[StrictStr] = Field(default=None, description="Configures the Ory Kratos Valid Verification via Code Email Subject Template This governs the \"courier.smtp.templates.verification_code.valid.email.subject\" setting.")
129
+ kratos_courier_templates_verification_code_valid_sms_body_plaintext: Optional[StrictStr] = Field(default=None, description="Configures the Ory Kratos Valid Verification via Code SMS Body Plaintext This governs the \"courier.smtp.templates.verification_code.valid.sms.body.plaintext\" setting.")
130
+ kratos_courier_templates_verification_invalid_email_body_html: Optional[StrictStr] = Field(default=None, description="Configures the Ory Kratos Invalid Verification Email Body HTML Template This governs the \"courier.smtp.templates.verification.invalid.email.body.html\" setting.")
131
+ kratos_courier_templates_verification_invalid_email_body_plaintext: Optional[StrictStr] = Field(default=None, description="Configures the Ory Kratos Invalid Verification Email Body Plaintext Template This governs the \"courier.smtp.templates.verification.invalid.email.body.plaintext\" setting.")
132
+ kratos_courier_templates_verification_invalid_email_subject: Optional[StrictStr] = Field(default=None, description="Configures the Ory Kratos Invalid Verification Email Subject Template This governs the \"courier.smtp.templates.verification.invalid.email.subject\" setting.")
133
+ kratos_courier_templates_verification_valid_email_body_html: Optional[StrictStr] = Field(default=None, description="Configures the Ory Kratos Valid Verification Email Body HTML Template This governs the \"courier.smtp.templates.verification.valid.email.body.html\" setting.")
134
+ kratos_courier_templates_verification_valid_email_body_plaintext: Optional[StrictStr] = Field(default=None, description="Configures the Ory Kratos Valid Verification Email Body Plaintext Template This governs the \"courier.smtp.templates.verification.valid.email.body.plaintext\" setting.")
135
+ kratos_courier_templates_verification_valid_email_subject: Optional[StrictStr] = Field(default=None, description="Configures the Ory Kratos Valid Verification Email Subject Template This governs the \"courier.smtp.templates.verification.valid.email.subject\" setting.")
136
+ kratos_feature_flags_cacheable_sessions: Optional[StrictBool] = Field(default=None, description="Configures the Ory Kratos Session caching feature flag This governs the \"feature_flags.cacheable_sessions\" setting.")
137
+ kratos_feature_flags_cacheable_sessions_max_age: Optional[StrictStr] = Field(default=None, description="Configures the Ory Kratos Session caching max-age feature flag This governs the \"feature_flags.cacheable_sessions_max_age\" setting.")
138
+ kratos_feature_flags_use_continue_with_transitions: Optional[StrictBool] = Field(default=None, description="Configures the Ory Kratos Session use_continue_with_transitions flag This governs the \"feature_flags.use_continue_with_transitions\" setting.")
139
+ kratos_identity_schemas: Optional[List[NormalizedProjectRevisionIdentitySchema]] = None
140
+ kratos_oauth2_provider_headers: Optional[Dict[str, Any]] = Field(default=None, description="NullJSONRawMessage represents a json.RawMessage that works well with JSON, SQL, and Swagger and is NULLable-")
141
+ kratos_oauth2_provider_override_return_to: Optional[StrictBool] = Field(default=None, description="Kratos OAuth2 Provider Override Return To Enabling this allows Kratos to set the return_to parameter automatically to the OAuth2 request URL on the login flow, allowing complex flows such as recovery to continue to the initial OAuth2 flow.")
142
+ kratos_oauth2_provider_url: Optional[StrictStr] = Field(default=None, description="The Revisions' OAuth2 Provider Integration URL This governs the \"oauth2_provider.url\" setting.")
143
+ kratos_preview_default_read_consistency_level: Optional[StrictStr] = Field(default=None, description="Configures the default read consistency level for identity APIs This governs the `preview.default_read_consistency_level` setting. The read consistency level determines the consistency guarantee for reads: strong (slow): The read is guaranteed to return the most recent data committed at the start of the read. eventual (very fast): The result will return data that is about 4.8 seconds old. Setting the default consistency level to `eventual` may cause regressions in the future as we add consistency controls to more APIs. Currently, the following APIs will be affected by this setting: `GET /admin/identities` Defaults to \"strong\" for new and existing projects. This feature is in preview. Use with caution.")
144
+ kratos_secrets_cipher: Optional[List[StrictStr]] = None
145
+ kratos_secrets_cookie: Optional[List[StrictStr]] = None
146
+ kratos_secrets_default: Optional[List[StrictStr]] = None
147
+ kratos_selfservice_allowed_return_urls: Optional[List[StrictStr]] = None
148
+ kratos_selfservice_default_browser_return_url: Optional[StrictStr] = Field(default=None, description="Configures the Ory Kratos Default Return URL This governs the \"selfservice.allowed_return_urls\" setting.")
149
+ kratos_selfservice_flows_error_ui_url: Optional[StrictStr] = Field(default=None, description="Configures the Ory Kratos Error UI URL This governs the \"selfservice.flows.error.ui_url\" setting.")
150
+ kratos_selfservice_flows_login_after_code_default_browser_return_url: Optional[StrictStr] = Field(default=None, description="Configures the Ory Kratos Login After Password Default Return URL This governs the \"selfservice.flows.code.after.password.default_browser_return_url\" setting.")
151
+ kratos_selfservice_flows_login_after_default_browser_return_url: Optional[StrictStr] = Field(default=None, description="Configures the Ory Kratos Login Default Return URL This governs the \"selfservice.flows.login.after.default_browser_return_url\" setting.")
152
+ kratos_selfservice_flows_login_after_lookup_secret_default_browser_return_url: Optional[StrictStr] = Field(default=None, description="Configures the Ory Kratos Login After Password Default Return URL This governs the \"selfservice.flows.lookup_secret.after.password.default_browser_return_url\" setting.")
153
+ kratos_selfservice_flows_login_after_oidc_default_browser_return_url: Optional[StrictStr] = Field(default=None, description="Configures the Ory Kratos Login After OIDC Default Return URL This governs the \"selfservice.flows.login.after.oidc.default_browser_return_url\" setting.")
154
+ kratos_selfservice_flows_login_after_passkey_default_browser_return_url: Optional[StrictStr] = Field(default=None, description="Configures the Ory Kratos Login After Passkey Default Return URL This governs the \"selfservice.flows.login.after.passkey.default_browser_return_url\" setting.")
155
+ kratos_selfservice_flows_login_after_password_default_browser_return_url: Optional[StrictStr] = Field(default=None, description="Configures the Ory Kratos Login After Password Default Return URL This governs the \"selfservice.flows.login.after.password.default_browser_return_url\" setting.")
156
+ kratos_selfservice_flows_login_after_totp_default_browser_return_url: Optional[StrictStr] = Field(default=None, description="Configures the Ory Kratos Login After Password Default Return URL This governs the \"selfservice.flows.totp.after.password.default_browser_return_url\" setting.")
157
+ kratos_selfservice_flows_login_after_webauthn_default_browser_return_url: Optional[StrictStr] = Field(default=None, description="Configures the Ory Kratos Login After WebAuthn Default Return URL This governs the \"selfservice.flows.login.after.webauthn.default_browser_return_url\" setting.")
158
+ kratos_selfservice_flows_login_lifespan: Optional[StrictStr] = Field(default=None, description="Configures the Ory Kratos Login Lifespan This governs the \"selfservice.flows.login.lifespan\" setting.")
159
+ kratos_selfservice_flows_login_ui_url: Optional[StrictStr] = Field(default=None, description="Configures the Ory Kratos Login UI URL This governs the \"selfservice.flows.login.ui_url\" setting.")
160
+ kratos_selfservice_flows_logout_after_default_browser_return_url: Optional[StrictStr] = Field(default=None, description="Configures the Ory Kratos Logout Default Return URL This governs the \"selfservice.flows.logout.after.default_browser_return_url\" setting.")
161
+ kratos_selfservice_flows_recovery_after_default_browser_return_url: Optional[StrictStr] = Field(default=None, description="Configures the Ory Kratos Recovery Default Return URL This governs the \"selfservice.flows.recovery.after.default_browser_return_url\" setting.")
162
+ kratos_selfservice_flows_recovery_enabled: Optional[StrictBool] = Field(default=None, description="Configures the Ory Kratos Recovery Enabled Setting This governs the \"selfservice.flows.recovery.enabled\" setting.")
163
+ kratos_selfservice_flows_recovery_lifespan: Optional[StrictStr] = Field(default=None, description="Configures the Ory Kratos Recovery Lifespan This governs the \"selfservice.flows.recovery.lifespan\" setting.")
164
+ kratos_selfservice_flows_recovery_notify_unknown_recipients: Optional[StrictBool] = Field(default=None, description="Configures whether to notify unknown recipients of a Ory Kratos recovery flow This governs the \"selfservice.flows.recovery.notify_unknown_recipients\" setting.")
165
+ kratos_selfservice_flows_recovery_ui_url: Optional[StrictStr] = Field(default=None, description="Configures the Ory Kratos Recovery UI URL This governs the \"selfservice.flows.recovery.ui_url\" setting.")
166
+ kratos_selfservice_flows_recovery_use: Optional[StrictStr] = Field(default=None, description="Configures the Ory Kratos Recovery strategy to use (\"link\" or \"code\") This governs the \"selfservice.flows.recovery.use\" setting. link SelfServiceMessageVerificationStrategyLink code SelfServiceMessageVerificationStrategyCode")
167
+ kratos_selfservice_flows_registration_after_code_default_browser_return_url: Optional[StrictStr] = Field(default=None, description="Configures the Ory Kratos Registration After Code Default Return URL This governs the \"selfservice.flows.registration.after.code.default_browser_return_url\" setting.")
168
+ kratos_selfservice_flows_registration_after_default_browser_return_url: Optional[StrictStr] = Field(default=None, description="Configures the Ory Kratos Registration Default Return URL This governs the \"selfservice.flows.registration.after.default_browser_return_url\" setting.")
169
+ kratos_selfservice_flows_registration_after_oidc_default_browser_return_url: Optional[StrictStr] = Field(default=None, description="Configures the Ory Kratos Registration After OIDC Default Return URL This governs the \"selfservice.flows.registration.after.oidc.default_browser_return_url\" setting.")
170
+ kratos_selfservice_flows_registration_after_passkey_default_browser_return_url: Optional[StrictStr] = Field(default=None, description="Configures the Ory Kratos Registration After Passkey Default Return URL This governs the \"selfservice.flows.registration.after.password.default_browser_return_url\" setting.")
171
+ kratos_selfservice_flows_registration_after_password_default_browser_return_url: Optional[StrictStr] = Field(default=None, description="Configures the Ory Kratos Registration After Password Default Return URL This governs the \"selfservice.flows.registration.after.password.default_browser_return_url\" setting.")
172
+ kratos_selfservice_flows_registration_after_webauthn_default_browser_return_url: Optional[StrictStr] = Field(default=None, description="Configures the Ory Kratos Registration After Webauthn Default Return URL This governs the \"selfservice.flows.registration.after.webauthn.default_browser_return_url\" setting.")
173
+ kratos_selfservice_flows_registration_enable_legacy_one_step: Optional[StrictBool] = Field(default=None, description="Disable two-step registration Two-step registration is a significantly improved sign up flow and recommended when using more than one sign up methods. To revert to one-step registration, set this to `true`. This governs the \"selfservice.flows.registration.enable_legacy_one_step\" setting.")
174
+ kratos_selfservice_flows_registration_enabled: Optional[StrictBool] = Field(default=None, description="Configures the Whether Ory Kratos Registration is Enabled This governs the \"selfservice.flows.registration.enabled\" setting.0")
175
+ kratos_selfservice_flows_registration_lifespan: Optional[StrictStr] = Field(default=None, description="Configures the Ory Kratos Registration Lifespan This governs the \"selfservice.flows.registration.lifespan\" setting.")
176
+ kratos_selfservice_flows_registration_login_hints: Optional[StrictBool] = Field(default=None, description="Configures the Ory Kratos Registration Login Hints Shows helpful information when a user tries to sign up with a duplicate account. This governs the \"selfservice.flows.registration.login_hints\" setting.")
177
+ kratos_selfservice_flows_registration_ui_url: Optional[StrictStr] = Field(default=None, description="Configures the Ory Kratos Registration UI URL This governs the \"selfservice.flows.registration.ui_url\" setting.")
178
+ kratos_selfservice_flows_settings_after_default_browser_return_url: Optional[StrictStr] = Field(default=None, description="Configures the Ory Kratos Settings Default Return URL This governs the \"selfservice.flows.settings.after.default_browser_return_url\" setting.")
179
+ kratos_selfservice_flows_settings_after_lookup_secret_default_browser_return_url: Optional[StrictStr] = Field(default=None, description="Configures the Ory Kratos Settings Default Return URL After Updating Lookup Secrets This governs the \"selfservice.flows.settings.after.lookup_secret.default_browser_return_url\" setting.")
180
+ kratos_selfservice_flows_settings_after_oidc_default_browser_return_url: Optional[StrictStr] = Field(default=None, description="Configures the Ory Kratos Settings Default Return URL After Updating Social Sign In This governs the \"selfservice.flows.settings.after.oidc.default_browser_return_url\" setting.")
181
+ kratos_selfservice_flows_settings_after_passkey_default_browser_return_url: Optional[StrictStr] = Field(default=None, description="Configures the Ory Kratos Settings Default Return URL After Updating Passkey This governs the \"selfservice.flows.settings.after.passkey.default_browser_return_url\" setting.")
182
+ kratos_selfservice_flows_settings_after_password_default_browser_return_url: Optional[StrictStr] = Field(default=None, description="Configures the Ory Kratos Settings Default Return URL After Updating Passwords This governs the \"selfservice.flows.settings.after.password.default_browser_return_url\" setting.")
183
+ kratos_selfservice_flows_settings_after_profile_default_browser_return_url: Optional[StrictStr] = Field(default=None, description="Configures the Ory Kratos Settings Default Return URL After Updating Profiles This governs the \"selfservice.flows.settings.after.profile.default_browser_return_url\" setting.")
184
+ kratos_selfservice_flows_settings_after_totp_default_browser_return_url: Optional[StrictStr] = Field(default=None, description="Configures the Ory Kratos Settings Default Return URL After Updating TOTP This governs the \"selfservice.flows.settings.after.totp.default_browser_return_url\" setting.")
185
+ kratos_selfservice_flows_settings_after_webauthn_default_browser_return_url: Optional[StrictStr] = Field(default=None, description="Configures the Ory Kratos Settings Default Return URL After Updating WebAuthn This governs the \"selfservice.flows.settings.after.webauthn.default_browser_return_url\" setting.")
186
+ kratos_selfservice_flows_settings_lifespan: Optional[StrictStr] = Field(default=None, description="Configures the Ory Kratos Settings Lifespan This governs the \"selfservice.flows.settings.lifespan\" setting.")
187
+ kratos_selfservice_flows_settings_privileged_session_max_age: Optional[StrictStr] = Field(default=None, description="Configures the Ory Kratos Settings Privileged Session Max Age This governs the \"selfservice.flows.settings.privileged_session_max_age\" setting.")
188
+ kratos_selfservice_flows_settings_required_aal: Optional[StrictStr] = Field(default=None, description="Configures the Ory Kratos Settings Required AAL This governs the \"selfservice.flows.settings.required_aal\" setting.")
189
+ kratos_selfservice_flows_settings_ui_url: Optional[StrictStr] = Field(default=None, description="Configures the Ory Kratos Settings UI URL This governs the \"selfservice.flows.settings.ui_url\" setting.")
190
+ kratos_selfservice_flows_verification_after_default_browser_return_url: Optional[StrictStr] = Field(default=None, description="Configures the Ory Kratos Verification Default Return URL This governs the \"selfservice.flows.verification.after.default_browser_return_url\" setting.")
191
+ kratos_selfservice_flows_verification_enabled: Optional[StrictBool] = Field(default=None, description="Configures the Ory Kratos Verification Enabled Setting This governs the \"selfservice.flows.verification.enabled\" setting.")
192
+ kratos_selfservice_flows_verification_lifespan: Optional[StrictStr] = Field(default=None, description="Configures the Ory Kratos Verification Lifespan This governs the \"selfservice.flows.verification.lifespan\" setting.")
193
+ kratos_selfservice_flows_verification_notify_unknown_recipients: Optional[StrictBool] = Field(default=None, description="Configures whether to notify unknown recipients of a Ory Kratos verification flow This governs the \"selfservice.flows.verification.notify_unknown_recipients\" setting.")
194
+ kratos_selfservice_flows_verification_ui_url: Optional[StrictStr] = Field(default=None, description="Configures the Ory Kratos Verification UI URL This governs the \"selfservice.flows.verification.ui_url\" setting.")
195
+ kratos_selfservice_flows_verification_use: Optional[StrictStr] = Field(default=None, description="Configures the Ory Kratos Strategy to use for Verification This governs the \"selfservice.flows.verification.use\" setting. link SelfServiceMessageVerificationStrategyLink code SelfServiceMessageVerificationStrategyCode")
196
+ kratos_selfservice_methods_code_config_lifespan: Optional[StrictStr] = Field(default=None, description="Configures the Ory Kratos Code Method's lifespan This governs the \"selfservice.methods.code.config.lifespan\" setting.")
197
+ kratos_selfservice_methods_code_enabled: Optional[StrictBool] = Field(default=None, description="Configures whether Ory Kratos Code Method is enabled This governs the \"selfservice.methods.code.enabled\" setting.")
198
+ kratos_selfservice_methods_code_mfa_enabled: Optional[StrictBool] = Field(default=None, description="Configures whether the code method can be used to fulfil MFA flows This governs the \"selfservice.methods.code.mfa_enabled\" setting.")
199
+ kratos_selfservice_methods_code_passwordless_enabled: Optional[StrictBool] = Field(default=None, description="Configures whether Ory Kratos Passwordless should use the Code Method This governs the \"selfservice.methods.code.passwordless_enabled\" setting.")
200
+ kratos_selfservice_methods_code_passwordless_login_fallback_enabled: Optional[StrictBool] = Field(default=None, description="This setting allows the code method to always login a user with code if they have registered with another authentication method such as password or social sign in. This governs the \"selfservice.methods.code.passwordless_login_fallback_enabled\" setting.")
201
+ kratos_selfservice_methods_link_config_base_url: Optional[StrictStr] = Field(default=None, description="Configures the Base URL which Recovery, Verification, and Login Links Point to It is recommended to leave this value empty. It will be appropriately configured to the best matching domain (e.g. when using custom domains) automatically. This governs the \"selfservice.methods.link.config.base_url\" setting.")
202
+ kratos_selfservice_methods_link_config_lifespan: Optional[StrictStr] = Field(default=None, description="Configures the Ory Kratos Link Method's lifespan This governs the \"selfservice.methods.link.config.lifespan\" setting.")
203
+ kratos_selfservice_methods_link_enabled: Optional[StrictBool] = Field(default=None, description="Configures whether Ory Kratos Link Method is enabled This governs the \"selfservice.methods.link.enabled\" setting.")
204
+ kratos_selfservice_methods_lookup_secret_enabled: Optional[StrictBool] = Field(default=None, description="Configures whether Ory Kratos TOTP Lookup Secret is enabled This governs the \"selfservice.methods.lookup_secret.enabled\" setting.")
205
+ kratos_selfservice_methods_oidc_config_base_redirect_uri: Optional[StrictStr] = Field(default=None, description="Configures the Ory Kratos Third Party / OpenID Connect base redirect URI This governs the \"selfservice.methods.oidc.config.base_redirect_uri\" setting.")
206
+ kratos_selfservice_methods_oidc_config_providers: Optional[List[NormalizedProjectRevisionThirdPartyProvider]] = None
207
+ kratos_selfservice_methods_oidc_enabled: Optional[StrictBool] = Field(default=None, description="Configures whether Ory Kratos Third Party / OpenID Connect Login is enabled This governs the \"selfservice.methods.oidc.enabled\" setting.")
208
+ kratos_selfservice_methods_passkey_config_rp_display_name: Optional[StrictStr] = Field(default=None, description="Configures the Ory Kratos Passkey RP Display Name This governs the \"selfservice.methods.passkey.config.rp.display_name\" setting.")
209
+ kratos_selfservice_methods_passkey_config_rp_id: Optional[StrictStr] = Field(default=None, description="Configures the Ory Kratos Passkey RP ID This governs the \"selfservice.methods.passkey.config.rp.id\" setting.")
210
+ kratos_selfservice_methods_passkey_config_rp_origins: Optional[List[StrictStr]] = None
211
+ kratos_selfservice_methods_passkey_enabled: Optional[StrictBool] = Field(default=None, description="Configures whether Ory Kratos Passkey authentication is enabled This governs the \"selfservice.methods.passkey.enabled\" setting.")
212
+ kratos_selfservice_methods_password_config_haveibeenpwned_enabled: Optional[StrictBool] = Field(default=None, description="Configures whether Ory Kratos Password HIBP Checks is enabled This governs the \"selfservice.methods.password.config.haveibeenpwned_enabled\" setting.")
213
+ kratos_selfservice_methods_password_config_identifier_similarity_check_enabled: Optional[StrictBool] = Field(default=None, description="Configures whether Ory Kratos Password should disable the similarity policy. This governs the \"selfservice.methods.password.config.identifier_similarity_check_enabled\" setting.")
214
+ kratos_selfservice_methods_password_config_ignore_network_errors: Optional[StrictBool] = Field(default=None, description="Configures whether Ory Kratos Password Should ignore HIBPWND Network Errors This governs the \"selfservice.methods.password.config.ignore_network_errors\" setting.")
215
+ kratos_selfservice_methods_password_config_max_breaches: Optional[StrictInt] = Field(default=None, description="Configures Ory Kratos Password Max Breaches Detection This governs the \"selfservice.methods.password.config.max_breaches\" setting.")
216
+ kratos_selfservice_methods_password_config_min_password_length: Optional[StrictInt] = Field(default=None, description="Configures the minimum length of passwords. This governs the \"selfservice.methods.password.config.min_password_length\" setting.")
217
+ kratos_selfservice_methods_password_enabled: Optional[StrictBool] = Field(default=None, description="Configures whether Ory Kratos Password Method is enabled This governs the \"selfservice.methods.password.enabled\" setting.")
218
+ kratos_selfservice_methods_profile_enabled: Optional[StrictBool] = Field(default=None, description="Configures whether Ory Kratos Profile Method is enabled This governs the \"selfservice.methods.profile.enabled\" setting.")
219
+ kratos_selfservice_methods_totp_config_issuer: Optional[StrictStr] = Field(default=None, description="Configures Ory Kratos TOTP Issuer This governs the \"selfservice.methods.totp.config.issuer\" setting.")
220
+ kratos_selfservice_methods_totp_enabled: Optional[StrictBool] = Field(default=None, description="Configures whether Ory Kratos TOTP Method is enabled This governs the \"selfservice.methods.totp.enabled\" setting.")
221
+ kratos_selfservice_methods_webauthn_config_passwordless: Optional[StrictBool] = Field(default=None, description="Configures whether Ory Kratos Webauthn is used for passwordless flows This governs the \"selfservice.methods.webauthn.config.passwordless\" setting.")
222
+ kratos_selfservice_methods_webauthn_config_rp_display_name: Optional[StrictStr] = Field(default=None, description="Configures the Ory Kratos Webauthn RP Display Name This governs the \"selfservice.methods.webauthn.config.rp.display_name\" setting.")
223
+ kratos_selfservice_methods_webauthn_config_rp_icon: Optional[StrictStr] = Field(default=None, description="Configures the Ory Kratos Webauthn RP Icon This governs the \"selfservice.methods.webauthn.config.rp.icon\" setting. Deprecated: This value will be ignored due to security considerations.")
224
+ kratos_selfservice_methods_webauthn_config_rp_id: Optional[StrictStr] = Field(default=None, description="Configures the Ory Kratos Webauthn RP ID This governs the \"selfservice.methods.webauthn.config.rp.id\" setting.")
225
+ kratos_selfservice_methods_webauthn_config_rp_origins: Optional[List[StrictStr]] = None
226
+ kratos_selfservice_methods_webauthn_enabled: Optional[StrictBool] = Field(default=None, description="Configures whether Ory Kratos Webauthn is enabled This governs the \"selfservice.methods.webauthn.enabled\" setting.")
227
+ kratos_session_cookie_persistent: Optional[StrictBool] = Field(default=None, description="Configures the Ory Kratos Session Cookie Persistent Attribute This governs the \"session.cookie.persistent\" setting.")
228
+ kratos_session_cookie_same_site: Optional[StrictStr] = Field(default=None, description="Configures the Ory Kratos Session Cookie SameSite Attribute This governs the \"session.cookie.same_site\" setting.")
229
+ kratos_session_lifespan: Optional[StrictStr] = Field(default=None, description="Configures the Ory Kratos Session Lifespan This governs the \"session.lifespan\" setting.")
230
+ kratos_session_whoami_required_aal: Optional[StrictStr] = Field(default=None, description="Configures the Ory Kratos Session Whoami AAL requirement This governs the \"session.whoami.required_aal\" setting.")
231
+ kratos_session_whoami_tokenizer_templates: Optional[List[NormalizedProjectRevisionTokenizerTemplate]] = None
232
+ name: StrictStr = Field(description="The project's name.")
233
+ project_id: Optional[StrictStr] = Field(default=None, description="The Revision's Project ID")
234
+ project_revision_hooks: Optional[List[NormalizedProjectRevisionHook]] = None
235
+ serve_admin_cors_allowed_origins: Optional[List[StrictStr]] = None
236
+ serve_admin_cors_enabled: Optional[StrictBool] = Field(default=None, description="Enable CORS headers on all admin APIs This governs the \"serve.admin.cors.enabled\" setting.")
237
+ serve_public_cors_allowed_origins: Optional[List[StrictStr]] = None
238
+ serve_public_cors_enabled: Optional[StrictBool] = Field(default=None, description="Enable CORS headers on all public APIs This governs the \"serve.public.cors.enabled\" setting.")
239
+ strict_security: Optional[StrictBool] = Field(default=None, description="Whether the project should employ strict security measures. Setting this to true is recommended for going into production.")
240
+ updated_at: Optional[datetime] = Field(default=None, description="Last Time Project's Revision was Updated")
241
+ workspace_id: Optional[StrictStr] = None
242
+ additional_properties: Dict[str, Any] = {}
243
+ __properties: ClassVar[List[str]] = ["created_at", "disable_account_experience_welcome_screen", "enable_ax_v2", "environment", "hydra_oauth2_allowed_top_level_claims", "hydra_oauth2_client_credentials_default_grant_allowed_scope", "hydra_oauth2_exclude_not_before_claim", "hydra_oauth2_grant_jwt_iat_optional", "hydra_oauth2_grant_jwt_jti_optional", "hydra_oauth2_grant_jwt_max_ttl", "hydra_oauth2_mirror_top_level_claims", "hydra_oauth2_pkce_enforced", "hydra_oauth2_pkce_enforced_for_public_clients", "hydra_oauth2_refresh_token_hook", "hydra_oauth2_token_hook", "hydra_oidc_dynamic_client_registration_default_scope", "hydra_oidc_dynamic_client_registration_enabled", "hydra_oidc_subject_identifiers_pairwise_salt", "hydra_oidc_subject_identifiers_supported_types", "hydra_secrets_cookie", "hydra_secrets_system", "hydra_serve_cookies_same_site_legacy_workaround", "hydra_serve_cookies_same_site_mode", "hydra_strategies_access_token", "hydra_strategies_scope", "hydra_ttl_access_token", "hydra_ttl_auth_code", "hydra_ttl_id_token", "hydra_ttl_login_consent_request", "hydra_ttl_refresh_token", "hydra_urls_consent", "hydra_urls_error", "hydra_urls_login", "hydra_urls_logout", "hydra_urls_post_logout_redirect", "hydra_urls_registration", "hydra_urls_self_issuer", "hydra_webfinger_jwks_broadcast_keys", "hydra_webfinger_oidc_discovery_auth_url", "hydra_webfinger_oidc_discovery_client_registration_url", "hydra_webfinger_oidc_discovery_jwks_url", "hydra_webfinger_oidc_discovery_supported_claims", "hydra_webfinger_oidc_discovery_supported_scope", "hydra_webfinger_oidc_discovery_token_url", "hydra_webfinger_oidc_discovery_userinfo_url", "id", "keto_namespace_configuration", "keto_namespaces", "kratos_cookies_same_site", "kratos_courier_channels", "kratos_courier_delivery_strategy", "kratos_courier_http_request_config_auth_api_key_in", "kratos_courier_http_request_config_auth_api_key_name", "kratos_courier_http_request_config_auth_api_key_value", "kratos_courier_http_request_config_auth_basic_auth_password", "kratos_courier_http_request_config_auth_basic_auth_user", "kratos_courier_http_request_config_auth_type", "kratos_courier_http_request_config_body", "kratos_courier_http_request_config_headers", "kratos_courier_http_request_config_method", "kratos_courier_http_request_config_url", "kratos_courier_smtp_connection_uri", "kratos_courier_smtp_from_address", "kratos_courier_smtp_from_name", "kratos_courier_smtp_headers", "kratos_courier_smtp_local_name", "kratos_courier_templates_login_code_valid_email_body_html", "kratos_courier_templates_login_code_valid_email_body_plaintext", "kratos_courier_templates_login_code_valid_email_subject", "kratos_courier_templates_login_code_valid_sms_body_plaintext", "kratos_courier_templates_recovery_code_invalid_email_body_html", "kratos_courier_templates_recovery_code_invalid_email_body_plaintext", "kratos_courier_templates_recovery_code_invalid_email_subject", "kratos_courier_templates_recovery_code_valid_email_body_html", "kratos_courier_templates_recovery_code_valid_email_body_plaintext", "kratos_courier_templates_recovery_code_valid_email_subject", "kratos_courier_templates_recovery_invalid_email_body_html", "kratos_courier_templates_recovery_invalid_email_body_plaintext", "kratos_courier_templates_recovery_invalid_email_subject", "kratos_courier_templates_recovery_valid_email_body_html", "kratos_courier_templates_recovery_valid_email_body_plaintext", "kratos_courier_templates_recovery_valid_email_subject", "kratos_courier_templates_registration_code_valid_email_body_html", "kratos_courier_templates_registration_code_valid_email_body_plaintext", "kratos_courier_templates_registration_code_valid_email_subject", "kratos_courier_templates_verification_code_invalid_email_body_html", "kratos_courier_templates_verification_code_invalid_email_body_plaintext", "kratos_courier_templates_verification_code_invalid_email_subject", "kratos_courier_templates_verification_code_valid_email_body_html", "kratos_courier_templates_verification_code_valid_email_body_plaintext", "kratos_courier_templates_verification_code_valid_email_subject", "kratos_courier_templates_verification_code_valid_sms_body_plaintext", "kratos_courier_templates_verification_invalid_email_body_html", "kratos_courier_templates_verification_invalid_email_body_plaintext", "kratos_courier_templates_verification_invalid_email_subject", "kratos_courier_templates_verification_valid_email_body_html", "kratos_courier_templates_verification_valid_email_body_plaintext", "kratos_courier_templates_verification_valid_email_subject", "kratos_feature_flags_cacheable_sessions", "kratos_feature_flags_cacheable_sessions_max_age", "kratos_feature_flags_use_continue_with_transitions", "kratos_identity_schemas", "kratos_oauth2_provider_headers", "kratos_oauth2_provider_override_return_to", "kratos_oauth2_provider_url", "kratos_preview_default_read_consistency_level", "kratos_secrets_cipher", "kratos_secrets_cookie", "kratos_secrets_default", "kratos_selfservice_allowed_return_urls", "kratos_selfservice_default_browser_return_url", "kratos_selfservice_flows_error_ui_url", "kratos_selfservice_flows_login_after_code_default_browser_return_url", "kratos_selfservice_flows_login_after_default_browser_return_url", "kratos_selfservice_flows_login_after_lookup_secret_default_browser_return_url", "kratos_selfservice_flows_login_after_oidc_default_browser_return_url", "kratos_selfservice_flows_login_after_passkey_default_browser_return_url", "kratos_selfservice_flows_login_after_password_default_browser_return_url", "kratos_selfservice_flows_login_after_totp_default_browser_return_url", "kratos_selfservice_flows_login_after_webauthn_default_browser_return_url", "kratos_selfservice_flows_login_lifespan", "kratos_selfservice_flows_login_ui_url", "kratos_selfservice_flows_logout_after_default_browser_return_url", "kratos_selfservice_flows_recovery_after_default_browser_return_url", "kratos_selfservice_flows_recovery_enabled", "kratos_selfservice_flows_recovery_lifespan", "kratos_selfservice_flows_recovery_notify_unknown_recipients", "kratos_selfservice_flows_recovery_ui_url", "kratos_selfservice_flows_recovery_use", "kratos_selfservice_flows_registration_after_code_default_browser_return_url", "kratos_selfservice_flows_registration_after_default_browser_return_url", "kratos_selfservice_flows_registration_after_oidc_default_browser_return_url", "kratos_selfservice_flows_registration_after_passkey_default_browser_return_url", "kratos_selfservice_flows_registration_after_password_default_browser_return_url", "kratos_selfservice_flows_registration_after_webauthn_default_browser_return_url", "kratos_selfservice_flows_registration_enable_legacy_one_step", "kratos_selfservice_flows_registration_enabled", "kratos_selfservice_flows_registration_lifespan", "kratos_selfservice_flows_registration_login_hints", "kratos_selfservice_flows_registration_ui_url", "kratos_selfservice_flows_settings_after_default_browser_return_url", "kratos_selfservice_flows_settings_after_lookup_secret_default_browser_return_url", "kratos_selfservice_flows_settings_after_oidc_default_browser_return_url", "kratos_selfservice_flows_settings_after_passkey_default_browser_return_url", "kratos_selfservice_flows_settings_after_password_default_browser_return_url", "kratos_selfservice_flows_settings_after_profile_default_browser_return_url", "kratos_selfservice_flows_settings_after_totp_default_browser_return_url", "kratos_selfservice_flows_settings_after_webauthn_default_browser_return_url", "kratos_selfservice_flows_settings_lifespan", "kratos_selfservice_flows_settings_privileged_session_max_age", "kratos_selfservice_flows_settings_required_aal", "kratos_selfservice_flows_settings_ui_url", "kratos_selfservice_flows_verification_after_default_browser_return_url", "kratos_selfservice_flows_verification_enabled", "kratos_selfservice_flows_verification_lifespan", "kratos_selfservice_flows_verification_notify_unknown_recipients", "kratos_selfservice_flows_verification_ui_url", "kratos_selfservice_flows_verification_use", "kratos_selfservice_methods_code_config_lifespan", "kratos_selfservice_methods_code_enabled", "kratos_selfservice_methods_code_mfa_enabled", "kratos_selfservice_methods_code_passwordless_enabled", "kratos_selfservice_methods_code_passwordless_login_fallback_enabled", "kratos_selfservice_methods_link_config_base_url", "kratos_selfservice_methods_link_config_lifespan", "kratos_selfservice_methods_link_enabled", "kratos_selfservice_methods_lookup_secret_enabled", "kratos_selfservice_methods_oidc_config_base_redirect_uri", "kratos_selfservice_methods_oidc_config_providers", "kratos_selfservice_methods_oidc_enabled", "kratos_selfservice_methods_passkey_config_rp_display_name", "kratos_selfservice_methods_passkey_config_rp_id", "kratos_selfservice_methods_passkey_config_rp_origins", "kratos_selfservice_methods_passkey_enabled", "kratos_selfservice_methods_password_config_haveibeenpwned_enabled", "kratos_selfservice_methods_password_config_identifier_similarity_check_enabled", "kratos_selfservice_methods_password_config_ignore_network_errors", "kratos_selfservice_methods_password_config_max_breaches", "kratos_selfservice_methods_password_config_min_password_length", "kratos_selfservice_methods_password_enabled", "kratos_selfservice_methods_profile_enabled", "kratos_selfservice_methods_totp_config_issuer", "kratos_selfservice_methods_totp_enabled", "kratos_selfservice_methods_webauthn_config_passwordless", "kratos_selfservice_methods_webauthn_config_rp_display_name", "kratos_selfservice_methods_webauthn_config_rp_icon", "kratos_selfservice_methods_webauthn_config_rp_id", "kratos_selfservice_methods_webauthn_config_rp_origins", "kratos_selfservice_methods_webauthn_enabled", "kratos_session_cookie_persistent", "kratos_session_cookie_same_site", "kratos_session_lifespan", "kratos_session_whoami_required_aal", "kratos_session_whoami_tokenizer_templates", "name", "project_id", "project_revision_hooks", "serve_admin_cors_allowed_origins", "serve_admin_cors_enabled", "serve_public_cors_allowed_origins", "serve_public_cors_enabled", "strict_security", "updated_at", "workspace_id"]
244
+
245
+ @field_validator('environment')
246
+ def environment_validate_enum(cls, value):
247
+ """Validates the enum"""
248
+ if value not in set(['prod', 'stage', 'dev']):
249
+ raise ValueError("must be one of enum values ('prod', 'stage', 'dev')")
250
+ return value
251
+
252
+ @field_validator('hydra_oauth2_grant_jwt_max_ttl')
253
+ def hydra_oauth2_grant_jwt_max_ttl_validate_regular_expression(cls, value):
254
+ """Validates the regular expression"""
255
+ if value is None:
256
+ return value
257
+
258
+ if not re.match(r"^[0-9]+(ns|us|ms|s|m|h)$", value):
259
+ raise ValueError(r"must validate the regular expression /^[0-9]+(ns|us|ms|s|m|h)$/")
260
+ return value
261
+
262
+ @field_validator('hydra_strategies_access_token')
263
+ def hydra_strategies_access_token_validate_enum(cls, value):
264
+ """Validates the enum"""
265
+ if value is None:
266
+ return value
267
+
268
+ if value not in set(['opaque', 'jwt']):
269
+ raise ValueError("must be one of enum values ('opaque', 'jwt')")
270
+ return value
271
+
272
+ @field_validator('hydra_strategies_scope')
273
+ def hydra_strategies_scope_validate_enum(cls, value):
274
+ """Validates the enum"""
275
+ if value is None:
276
+ return value
277
+
278
+ if value not in set(['exact', 'wildcard']):
279
+ raise ValueError("must be one of enum values ('exact', 'wildcard')")
280
+ return value
281
+
282
+ @field_validator('hydra_ttl_access_token')
283
+ def hydra_ttl_access_token_validate_regular_expression(cls, value):
284
+ """Validates the regular expression"""
285
+ if value is None:
286
+ return value
287
+
288
+ if not re.match(r"^[0-9]+(ns|us|ms|s|m|h)$", value):
289
+ raise ValueError(r"must validate the regular expression /^[0-9]+(ns|us|ms|s|m|h)$/")
290
+ return value
291
+
292
+ @field_validator('hydra_ttl_auth_code')
293
+ def hydra_ttl_auth_code_validate_regular_expression(cls, value):
294
+ """Validates the regular expression"""
295
+ if value is None:
296
+ return value
297
+
298
+ if not re.match(r"^[0-9]+(ns|us|ms|s|m|h)$", value):
299
+ raise ValueError(r"must validate the regular expression /^[0-9]+(ns|us|ms|s|m|h)$/")
300
+ return value
301
+
302
+ @field_validator('hydra_ttl_id_token')
303
+ def hydra_ttl_id_token_validate_regular_expression(cls, value):
304
+ """Validates the regular expression"""
305
+ if value is None:
306
+ return value
307
+
308
+ if not re.match(r"^[0-9]+(ns|us|ms|s|m|h)$", value):
309
+ raise ValueError(r"must validate the regular expression /^[0-9]+(ns|us|ms|s|m|h)$/")
310
+ return value
311
+
312
+ @field_validator('hydra_ttl_login_consent_request')
313
+ def hydra_ttl_login_consent_request_validate_regular_expression(cls, value):
314
+ """Validates the regular expression"""
315
+ if value is None:
316
+ return value
317
+
318
+ if not re.match(r"^[0-9]+(ns|us|ms|s|m|h)$", value):
319
+ raise ValueError(r"must validate the regular expression /^[0-9]+(ns|us|ms|s|m|h)$/")
320
+ return value
321
+
322
+ @field_validator('hydra_ttl_refresh_token')
323
+ def hydra_ttl_refresh_token_validate_regular_expression(cls, value):
324
+ """Validates the regular expression"""
325
+ if value is None:
326
+ return value
327
+
328
+ if not re.match(r"^([0-9]+(ns|us|ms|s|m|h)|-1)$", value):
329
+ raise ValueError(r"must validate the regular expression /^([0-9]+(ns|us|ms|s|m|h)|-1)$/")
330
+ return value
331
+
332
+ @field_validator('kratos_selfservice_flows_recovery_use')
333
+ def kratos_selfservice_flows_recovery_use_validate_enum(cls, value):
334
+ """Validates the enum"""
335
+ if value is None:
336
+ return value
337
+
338
+ if value not in set(['link', 'code']):
339
+ raise ValueError("must be one of enum values ('link', 'code')")
340
+ return value
341
+
342
+ @field_validator('kratos_selfservice_flows_verification_use')
343
+ def kratos_selfservice_flows_verification_use_validate_enum(cls, value):
344
+ """Validates the enum"""
345
+ if value is None:
346
+ return value
347
+
348
+ if value not in set(['link', 'code']):
349
+ raise ValueError("must be one of enum values ('link', 'code')")
350
+ return value
351
+
352
+ model_config = ConfigDict(
353
+ populate_by_name=True,
354
+ validate_assignment=True,
355
+ protected_namespaces=(),
356
+ )
357
+
358
+
359
+ def to_str(self) -> str:
360
+ """Returns the string representation of the model using alias"""
361
+ return pprint.pformat(self.model_dump(by_alias=True))
362
+
363
+ def to_json(self) -> str:
364
+ """Returns the JSON representation of the model using alias"""
365
+ # TODO: pydantic v2: use .model_dump_json(by_alias=True, exclude_unset=True) instead
366
+ return json.dumps(self.to_dict())
367
+
368
+ @classmethod
369
+ def from_json(cls, json_str: str) -> Optional[Self]:
370
+ """Create an instance of CreateProjectNormalizedPayload from a JSON string"""
371
+ return cls.from_dict(json.loads(json_str))
372
+
373
+ def to_dict(self) -> Dict[str, Any]:
374
+ """Return the dictionary representation of the model using alias.
375
+
376
+ This has the following differences from calling pydantic's
377
+ `self.model_dump(by_alias=True)`:
378
+
379
+ * `None` is only added to the output dict for nullable fields that
380
+ were set at model initialization. Other fields with value `None`
381
+ are ignored.
382
+ * OpenAPI `readOnly` fields are excluded.
383
+ * OpenAPI `readOnly` fields are excluded.
384
+ * OpenAPI `readOnly` fields are excluded.
385
+ * Fields in `self.additional_properties` are added to the output dict.
386
+ """
387
+ excluded_fields: Set[str] = set([
388
+ "created_at",
389
+ "id",
390
+ "updated_at",
391
+ "additional_properties",
392
+ ])
393
+
394
+ _dict = self.model_dump(
395
+ by_alias=True,
396
+ exclude=excluded_fields,
397
+ exclude_none=True,
398
+ )
399
+ # override the default output from pydantic by calling `to_dict()` of each item in keto_namespaces (list)
400
+ _items = []
401
+ if self.keto_namespaces:
402
+ for _item in self.keto_namespaces:
403
+ if _item:
404
+ _items.append(_item.to_dict())
405
+ _dict['keto_namespaces'] = _items
406
+ # override the default output from pydantic by calling `to_dict()` of each item in kratos_courier_channels (list)
407
+ _items = []
408
+ if self.kratos_courier_channels:
409
+ for _item in self.kratos_courier_channels:
410
+ if _item:
411
+ _items.append(_item.to_dict())
412
+ _dict['kratos_courier_channels'] = _items
413
+ # override the default output from pydantic by calling `to_dict()` of each item in kratos_identity_schemas (list)
414
+ _items = []
415
+ if self.kratos_identity_schemas:
416
+ for _item in self.kratos_identity_schemas:
417
+ if _item:
418
+ _items.append(_item.to_dict())
419
+ _dict['kratos_identity_schemas'] = _items
420
+ # override the default output from pydantic by calling `to_dict()` of each item in kratos_selfservice_methods_oidc_config_providers (list)
421
+ _items = []
422
+ if self.kratos_selfservice_methods_oidc_config_providers:
423
+ for _item in self.kratos_selfservice_methods_oidc_config_providers:
424
+ if _item:
425
+ _items.append(_item.to_dict())
426
+ _dict['kratos_selfservice_methods_oidc_config_providers'] = _items
427
+ # override the default output from pydantic by calling `to_dict()` of each item in kratos_session_whoami_tokenizer_templates (list)
428
+ _items = []
429
+ if self.kratos_session_whoami_tokenizer_templates:
430
+ for _item in self.kratos_session_whoami_tokenizer_templates:
431
+ if _item:
432
+ _items.append(_item.to_dict())
433
+ _dict['kratos_session_whoami_tokenizer_templates'] = _items
434
+ # override the default output from pydantic by calling `to_dict()` of each item in project_revision_hooks (list)
435
+ _items = []
436
+ if self.project_revision_hooks:
437
+ for _item in self.project_revision_hooks:
438
+ if _item:
439
+ _items.append(_item.to_dict())
440
+ _dict['project_revision_hooks'] = _items
441
+ # puts key-value pairs in additional_properties in the top level
442
+ if self.additional_properties is not None:
443
+ for _key, _value in self.additional_properties.items():
444
+ _dict[_key] = _value
445
+
446
+ # set to None if kratos_courier_http_request_config_headers (nullable) is None
447
+ # and model_fields_set contains the field
448
+ if self.kratos_courier_http_request_config_headers is None and "kratos_courier_http_request_config_headers" in self.model_fields_set:
449
+ _dict['kratos_courier_http_request_config_headers'] = None
450
+
451
+ # set to None if kratos_courier_smtp_headers (nullable) is None
452
+ # and model_fields_set contains the field
453
+ if self.kratos_courier_smtp_headers is None and "kratos_courier_smtp_headers" in self.model_fields_set:
454
+ _dict['kratos_courier_smtp_headers'] = None
455
+
456
+ # set to None if kratos_oauth2_provider_headers (nullable) is None
457
+ # and model_fields_set contains the field
458
+ if self.kratos_oauth2_provider_headers is None and "kratos_oauth2_provider_headers" in self.model_fields_set:
459
+ _dict['kratos_oauth2_provider_headers'] = None
460
+
461
+ return _dict
462
+
463
+ @classmethod
464
+ def from_dict(cls, obj: Optional[Dict[str, Any]]) -> Optional[Self]:
465
+ """Create an instance of CreateProjectNormalizedPayload from a dict"""
466
+ if obj is None:
467
+ return None
468
+
469
+ if not isinstance(obj, dict):
470
+ return cls.model_validate(obj)
471
+
472
+ _obj = cls.model_validate({
473
+ "created_at": obj.get("created_at"),
474
+ "disable_account_experience_welcome_screen": obj.get("disable_account_experience_welcome_screen"),
475
+ "enable_ax_v2": obj.get("enable_ax_v2"),
476
+ "environment": obj.get("environment"),
477
+ "hydra_oauth2_allowed_top_level_claims": obj.get("hydra_oauth2_allowed_top_level_claims"),
478
+ "hydra_oauth2_client_credentials_default_grant_allowed_scope": obj.get("hydra_oauth2_client_credentials_default_grant_allowed_scope"),
479
+ "hydra_oauth2_exclude_not_before_claim": obj.get("hydra_oauth2_exclude_not_before_claim"),
480
+ "hydra_oauth2_grant_jwt_iat_optional": obj.get("hydra_oauth2_grant_jwt_iat_optional"),
481
+ "hydra_oauth2_grant_jwt_jti_optional": obj.get("hydra_oauth2_grant_jwt_jti_optional"),
482
+ "hydra_oauth2_grant_jwt_max_ttl": obj.get("hydra_oauth2_grant_jwt_max_ttl") if obj.get("hydra_oauth2_grant_jwt_max_ttl") is not None else '720h',
483
+ "hydra_oauth2_mirror_top_level_claims": obj.get("hydra_oauth2_mirror_top_level_claims"),
484
+ "hydra_oauth2_pkce_enforced": obj.get("hydra_oauth2_pkce_enforced"),
485
+ "hydra_oauth2_pkce_enforced_for_public_clients": obj.get("hydra_oauth2_pkce_enforced_for_public_clients"),
486
+ "hydra_oauth2_refresh_token_hook": obj.get("hydra_oauth2_refresh_token_hook"),
487
+ "hydra_oauth2_token_hook": obj.get("hydra_oauth2_token_hook"),
488
+ "hydra_oidc_dynamic_client_registration_default_scope": obj.get("hydra_oidc_dynamic_client_registration_default_scope"),
489
+ "hydra_oidc_dynamic_client_registration_enabled": obj.get("hydra_oidc_dynamic_client_registration_enabled"),
490
+ "hydra_oidc_subject_identifiers_pairwise_salt": obj.get("hydra_oidc_subject_identifiers_pairwise_salt"),
491
+ "hydra_oidc_subject_identifiers_supported_types": obj.get("hydra_oidc_subject_identifiers_supported_types"),
492
+ "hydra_secrets_cookie": obj.get("hydra_secrets_cookie"),
493
+ "hydra_secrets_system": obj.get("hydra_secrets_system"),
494
+ "hydra_serve_cookies_same_site_legacy_workaround": obj.get("hydra_serve_cookies_same_site_legacy_workaround"),
495
+ "hydra_serve_cookies_same_site_mode": obj.get("hydra_serve_cookies_same_site_mode"),
496
+ "hydra_strategies_access_token": obj.get("hydra_strategies_access_token") if obj.get("hydra_strategies_access_token") is not None else 'opaque',
497
+ "hydra_strategies_scope": obj.get("hydra_strategies_scope") if obj.get("hydra_strategies_scope") is not None else 'wildcard',
498
+ "hydra_ttl_access_token": obj.get("hydra_ttl_access_token") if obj.get("hydra_ttl_access_token") is not None else '30m',
499
+ "hydra_ttl_auth_code": obj.get("hydra_ttl_auth_code") if obj.get("hydra_ttl_auth_code") is not None else '720h',
500
+ "hydra_ttl_id_token": obj.get("hydra_ttl_id_token") if obj.get("hydra_ttl_id_token") is not None else '30m',
501
+ "hydra_ttl_login_consent_request": obj.get("hydra_ttl_login_consent_request") if obj.get("hydra_ttl_login_consent_request") is not None else '30m',
502
+ "hydra_ttl_refresh_token": obj.get("hydra_ttl_refresh_token") if obj.get("hydra_ttl_refresh_token") is not None else '720h',
503
+ "hydra_urls_consent": obj.get("hydra_urls_consent"),
504
+ "hydra_urls_error": obj.get("hydra_urls_error"),
505
+ "hydra_urls_login": obj.get("hydra_urls_login"),
506
+ "hydra_urls_logout": obj.get("hydra_urls_logout"),
507
+ "hydra_urls_post_logout_redirect": obj.get("hydra_urls_post_logout_redirect"),
508
+ "hydra_urls_registration": obj.get("hydra_urls_registration"),
509
+ "hydra_urls_self_issuer": obj.get("hydra_urls_self_issuer"),
510
+ "hydra_webfinger_jwks_broadcast_keys": obj.get("hydra_webfinger_jwks_broadcast_keys"),
511
+ "hydra_webfinger_oidc_discovery_auth_url": obj.get("hydra_webfinger_oidc_discovery_auth_url"),
512
+ "hydra_webfinger_oidc_discovery_client_registration_url": obj.get("hydra_webfinger_oidc_discovery_client_registration_url"),
513
+ "hydra_webfinger_oidc_discovery_jwks_url": obj.get("hydra_webfinger_oidc_discovery_jwks_url"),
514
+ "hydra_webfinger_oidc_discovery_supported_claims": obj.get("hydra_webfinger_oidc_discovery_supported_claims"),
515
+ "hydra_webfinger_oidc_discovery_supported_scope": obj.get("hydra_webfinger_oidc_discovery_supported_scope"),
516
+ "hydra_webfinger_oidc_discovery_token_url": obj.get("hydra_webfinger_oidc_discovery_token_url"),
517
+ "hydra_webfinger_oidc_discovery_userinfo_url": obj.get("hydra_webfinger_oidc_discovery_userinfo_url"),
518
+ "id": obj.get("id"),
519
+ "keto_namespace_configuration": obj.get("keto_namespace_configuration"),
520
+ "keto_namespaces": [KetoNamespace.from_dict(_item) for _item in obj["keto_namespaces"]] if obj.get("keto_namespaces") is not None else None,
521
+ "kratos_cookies_same_site": obj.get("kratos_cookies_same_site"),
522
+ "kratos_courier_channels": [NormalizedProjectRevisionCourierChannel.from_dict(_item) for _item in obj["kratos_courier_channels"]] if obj.get("kratos_courier_channels") is not None else None,
523
+ "kratos_courier_delivery_strategy": obj.get("kratos_courier_delivery_strategy") if obj.get("kratos_courier_delivery_strategy") is not None else 'smtp',
524
+ "kratos_courier_http_request_config_auth_api_key_in": obj.get("kratos_courier_http_request_config_auth_api_key_in"),
525
+ "kratos_courier_http_request_config_auth_api_key_name": obj.get("kratos_courier_http_request_config_auth_api_key_name"),
526
+ "kratos_courier_http_request_config_auth_api_key_value": obj.get("kratos_courier_http_request_config_auth_api_key_value"),
527
+ "kratos_courier_http_request_config_auth_basic_auth_password": obj.get("kratos_courier_http_request_config_auth_basic_auth_password"),
528
+ "kratos_courier_http_request_config_auth_basic_auth_user": obj.get("kratos_courier_http_request_config_auth_basic_auth_user"),
529
+ "kratos_courier_http_request_config_auth_type": obj.get("kratos_courier_http_request_config_auth_type") if obj.get("kratos_courier_http_request_config_auth_type") is not None else 'empty (no authentication)',
530
+ "kratos_courier_http_request_config_body": obj.get("kratos_courier_http_request_config_body"),
531
+ "kratos_courier_http_request_config_headers": obj.get("kratos_courier_http_request_config_headers"),
532
+ "kratos_courier_http_request_config_method": obj.get("kratos_courier_http_request_config_method") if obj.get("kratos_courier_http_request_config_method") is not None else 'POST',
533
+ "kratos_courier_http_request_config_url": obj.get("kratos_courier_http_request_config_url"),
534
+ "kratos_courier_smtp_connection_uri": obj.get("kratos_courier_smtp_connection_uri"),
535
+ "kratos_courier_smtp_from_address": obj.get("kratos_courier_smtp_from_address"),
536
+ "kratos_courier_smtp_from_name": obj.get("kratos_courier_smtp_from_name"),
537
+ "kratos_courier_smtp_headers": obj.get("kratos_courier_smtp_headers"),
538
+ "kratos_courier_smtp_local_name": obj.get("kratos_courier_smtp_local_name"),
539
+ "kratos_courier_templates_login_code_valid_email_body_html": obj.get("kratos_courier_templates_login_code_valid_email_body_html"),
540
+ "kratos_courier_templates_login_code_valid_email_body_plaintext": obj.get("kratos_courier_templates_login_code_valid_email_body_plaintext"),
541
+ "kratos_courier_templates_login_code_valid_email_subject": obj.get("kratos_courier_templates_login_code_valid_email_subject"),
542
+ "kratos_courier_templates_login_code_valid_sms_body_plaintext": obj.get("kratos_courier_templates_login_code_valid_sms_body_plaintext"),
543
+ "kratos_courier_templates_recovery_code_invalid_email_body_html": obj.get("kratos_courier_templates_recovery_code_invalid_email_body_html"),
544
+ "kratos_courier_templates_recovery_code_invalid_email_body_plaintext": obj.get("kratos_courier_templates_recovery_code_invalid_email_body_plaintext"),
545
+ "kratos_courier_templates_recovery_code_invalid_email_subject": obj.get("kratos_courier_templates_recovery_code_invalid_email_subject"),
546
+ "kratos_courier_templates_recovery_code_valid_email_body_html": obj.get("kratos_courier_templates_recovery_code_valid_email_body_html"),
547
+ "kratos_courier_templates_recovery_code_valid_email_body_plaintext": obj.get("kratos_courier_templates_recovery_code_valid_email_body_plaintext"),
548
+ "kratos_courier_templates_recovery_code_valid_email_subject": obj.get("kratos_courier_templates_recovery_code_valid_email_subject"),
549
+ "kratos_courier_templates_recovery_invalid_email_body_html": obj.get("kratos_courier_templates_recovery_invalid_email_body_html"),
550
+ "kratos_courier_templates_recovery_invalid_email_body_plaintext": obj.get("kratos_courier_templates_recovery_invalid_email_body_plaintext"),
551
+ "kratos_courier_templates_recovery_invalid_email_subject": obj.get("kratos_courier_templates_recovery_invalid_email_subject"),
552
+ "kratos_courier_templates_recovery_valid_email_body_html": obj.get("kratos_courier_templates_recovery_valid_email_body_html"),
553
+ "kratos_courier_templates_recovery_valid_email_body_plaintext": obj.get("kratos_courier_templates_recovery_valid_email_body_plaintext"),
554
+ "kratos_courier_templates_recovery_valid_email_subject": obj.get("kratos_courier_templates_recovery_valid_email_subject"),
555
+ "kratos_courier_templates_registration_code_valid_email_body_html": obj.get("kratos_courier_templates_registration_code_valid_email_body_html"),
556
+ "kratos_courier_templates_registration_code_valid_email_body_plaintext": obj.get("kratos_courier_templates_registration_code_valid_email_body_plaintext"),
557
+ "kratos_courier_templates_registration_code_valid_email_subject": obj.get("kratos_courier_templates_registration_code_valid_email_subject"),
558
+ "kratos_courier_templates_verification_code_invalid_email_body_html": obj.get("kratos_courier_templates_verification_code_invalid_email_body_html"),
559
+ "kratos_courier_templates_verification_code_invalid_email_body_plaintext": obj.get("kratos_courier_templates_verification_code_invalid_email_body_plaintext"),
560
+ "kratos_courier_templates_verification_code_invalid_email_subject": obj.get("kratos_courier_templates_verification_code_invalid_email_subject"),
561
+ "kratos_courier_templates_verification_code_valid_email_body_html": obj.get("kratos_courier_templates_verification_code_valid_email_body_html"),
562
+ "kratos_courier_templates_verification_code_valid_email_body_plaintext": obj.get("kratos_courier_templates_verification_code_valid_email_body_plaintext"),
563
+ "kratos_courier_templates_verification_code_valid_email_subject": obj.get("kratos_courier_templates_verification_code_valid_email_subject"),
564
+ "kratos_courier_templates_verification_code_valid_sms_body_plaintext": obj.get("kratos_courier_templates_verification_code_valid_sms_body_plaintext"),
565
+ "kratos_courier_templates_verification_invalid_email_body_html": obj.get("kratos_courier_templates_verification_invalid_email_body_html"),
566
+ "kratos_courier_templates_verification_invalid_email_body_plaintext": obj.get("kratos_courier_templates_verification_invalid_email_body_plaintext"),
567
+ "kratos_courier_templates_verification_invalid_email_subject": obj.get("kratos_courier_templates_verification_invalid_email_subject"),
568
+ "kratos_courier_templates_verification_valid_email_body_html": obj.get("kratos_courier_templates_verification_valid_email_body_html"),
569
+ "kratos_courier_templates_verification_valid_email_body_plaintext": obj.get("kratos_courier_templates_verification_valid_email_body_plaintext"),
570
+ "kratos_courier_templates_verification_valid_email_subject": obj.get("kratos_courier_templates_verification_valid_email_subject"),
571
+ "kratos_feature_flags_cacheable_sessions": obj.get("kratos_feature_flags_cacheable_sessions"),
572
+ "kratos_feature_flags_cacheable_sessions_max_age": obj.get("kratos_feature_flags_cacheable_sessions_max_age"),
573
+ "kratos_feature_flags_use_continue_with_transitions": obj.get("kratos_feature_flags_use_continue_with_transitions"),
574
+ "kratos_identity_schemas": [NormalizedProjectRevisionIdentitySchema.from_dict(_item) for _item in obj["kratos_identity_schemas"]] if obj.get("kratos_identity_schemas") is not None else None,
575
+ "kratos_oauth2_provider_headers": obj.get("kratos_oauth2_provider_headers"),
576
+ "kratos_oauth2_provider_override_return_to": obj.get("kratos_oauth2_provider_override_return_to"),
577
+ "kratos_oauth2_provider_url": obj.get("kratos_oauth2_provider_url"),
578
+ "kratos_preview_default_read_consistency_level": obj.get("kratos_preview_default_read_consistency_level"),
579
+ "kratos_secrets_cipher": obj.get("kratos_secrets_cipher"),
580
+ "kratos_secrets_cookie": obj.get("kratos_secrets_cookie"),
581
+ "kratos_secrets_default": obj.get("kratos_secrets_default"),
582
+ "kratos_selfservice_allowed_return_urls": obj.get("kratos_selfservice_allowed_return_urls"),
583
+ "kratos_selfservice_default_browser_return_url": obj.get("kratos_selfservice_default_browser_return_url"),
584
+ "kratos_selfservice_flows_error_ui_url": obj.get("kratos_selfservice_flows_error_ui_url"),
585
+ "kratos_selfservice_flows_login_after_code_default_browser_return_url": obj.get("kratos_selfservice_flows_login_after_code_default_browser_return_url"),
586
+ "kratos_selfservice_flows_login_after_default_browser_return_url": obj.get("kratos_selfservice_flows_login_after_default_browser_return_url"),
587
+ "kratos_selfservice_flows_login_after_lookup_secret_default_browser_return_url": obj.get("kratos_selfservice_flows_login_after_lookup_secret_default_browser_return_url"),
588
+ "kratos_selfservice_flows_login_after_oidc_default_browser_return_url": obj.get("kratos_selfservice_flows_login_after_oidc_default_browser_return_url"),
589
+ "kratos_selfservice_flows_login_after_passkey_default_browser_return_url": obj.get("kratos_selfservice_flows_login_after_passkey_default_browser_return_url"),
590
+ "kratos_selfservice_flows_login_after_password_default_browser_return_url": obj.get("kratos_selfservice_flows_login_after_password_default_browser_return_url"),
591
+ "kratos_selfservice_flows_login_after_totp_default_browser_return_url": obj.get("kratos_selfservice_flows_login_after_totp_default_browser_return_url"),
592
+ "kratos_selfservice_flows_login_after_webauthn_default_browser_return_url": obj.get("kratos_selfservice_flows_login_after_webauthn_default_browser_return_url"),
593
+ "kratos_selfservice_flows_login_lifespan": obj.get("kratos_selfservice_flows_login_lifespan"),
594
+ "kratos_selfservice_flows_login_ui_url": obj.get("kratos_selfservice_flows_login_ui_url"),
595
+ "kratos_selfservice_flows_logout_after_default_browser_return_url": obj.get("kratos_selfservice_flows_logout_after_default_browser_return_url"),
596
+ "kratos_selfservice_flows_recovery_after_default_browser_return_url": obj.get("kratos_selfservice_flows_recovery_after_default_browser_return_url"),
597
+ "kratos_selfservice_flows_recovery_enabled": obj.get("kratos_selfservice_flows_recovery_enabled"),
598
+ "kratos_selfservice_flows_recovery_lifespan": obj.get("kratos_selfservice_flows_recovery_lifespan"),
599
+ "kratos_selfservice_flows_recovery_notify_unknown_recipients": obj.get("kratos_selfservice_flows_recovery_notify_unknown_recipients"),
600
+ "kratos_selfservice_flows_recovery_ui_url": obj.get("kratos_selfservice_flows_recovery_ui_url"),
601
+ "kratos_selfservice_flows_recovery_use": obj.get("kratos_selfservice_flows_recovery_use"),
602
+ "kratos_selfservice_flows_registration_after_code_default_browser_return_url": obj.get("kratos_selfservice_flows_registration_after_code_default_browser_return_url"),
603
+ "kratos_selfservice_flows_registration_after_default_browser_return_url": obj.get("kratos_selfservice_flows_registration_after_default_browser_return_url"),
604
+ "kratos_selfservice_flows_registration_after_oidc_default_browser_return_url": obj.get("kratos_selfservice_flows_registration_after_oidc_default_browser_return_url"),
605
+ "kratos_selfservice_flows_registration_after_passkey_default_browser_return_url": obj.get("kratos_selfservice_flows_registration_after_passkey_default_browser_return_url"),
606
+ "kratos_selfservice_flows_registration_after_password_default_browser_return_url": obj.get("kratos_selfservice_flows_registration_after_password_default_browser_return_url"),
607
+ "kratos_selfservice_flows_registration_after_webauthn_default_browser_return_url": obj.get("kratos_selfservice_flows_registration_after_webauthn_default_browser_return_url"),
608
+ "kratos_selfservice_flows_registration_enable_legacy_one_step": obj.get("kratos_selfservice_flows_registration_enable_legacy_one_step"),
609
+ "kratos_selfservice_flows_registration_enabled": obj.get("kratos_selfservice_flows_registration_enabled"),
610
+ "kratos_selfservice_flows_registration_lifespan": obj.get("kratos_selfservice_flows_registration_lifespan"),
611
+ "kratos_selfservice_flows_registration_login_hints": obj.get("kratos_selfservice_flows_registration_login_hints"),
612
+ "kratos_selfservice_flows_registration_ui_url": obj.get("kratos_selfservice_flows_registration_ui_url"),
613
+ "kratos_selfservice_flows_settings_after_default_browser_return_url": obj.get("kratos_selfservice_flows_settings_after_default_browser_return_url"),
614
+ "kratos_selfservice_flows_settings_after_lookup_secret_default_browser_return_url": obj.get("kratos_selfservice_flows_settings_after_lookup_secret_default_browser_return_url"),
615
+ "kratos_selfservice_flows_settings_after_oidc_default_browser_return_url": obj.get("kratos_selfservice_flows_settings_after_oidc_default_browser_return_url"),
616
+ "kratos_selfservice_flows_settings_after_passkey_default_browser_return_url": obj.get("kratos_selfservice_flows_settings_after_passkey_default_browser_return_url"),
617
+ "kratos_selfservice_flows_settings_after_password_default_browser_return_url": obj.get("kratos_selfservice_flows_settings_after_password_default_browser_return_url"),
618
+ "kratos_selfservice_flows_settings_after_profile_default_browser_return_url": obj.get("kratos_selfservice_flows_settings_after_profile_default_browser_return_url"),
619
+ "kratos_selfservice_flows_settings_after_totp_default_browser_return_url": obj.get("kratos_selfservice_flows_settings_after_totp_default_browser_return_url"),
620
+ "kratos_selfservice_flows_settings_after_webauthn_default_browser_return_url": obj.get("kratos_selfservice_flows_settings_after_webauthn_default_browser_return_url"),
621
+ "kratos_selfservice_flows_settings_lifespan": obj.get("kratos_selfservice_flows_settings_lifespan"),
622
+ "kratos_selfservice_flows_settings_privileged_session_max_age": obj.get("kratos_selfservice_flows_settings_privileged_session_max_age"),
623
+ "kratos_selfservice_flows_settings_required_aal": obj.get("kratos_selfservice_flows_settings_required_aal"),
624
+ "kratos_selfservice_flows_settings_ui_url": obj.get("kratos_selfservice_flows_settings_ui_url"),
625
+ "kratos_selfservice_flows_verification_after_default_browser_return_url": obj.get("kratos_selfservice_flows_verification_after_default_browser_return_url"),
626
+ "kratos_selfservice_flows_verification_enabled": obj.get("kratos_selfservice_flows_verification_enabled"),
627
+ "kratos_selfservice_flows_verification_lifespan": obj.get("kratos_selfservice_flows_verification_lifespan"),
628
+ "kratos_selfservice_flows_verification_notify_unknown_recipients": obj.get("kratos_selfservice_flows_verification_notify_unknown_recipients"),
629
+ "kratos_selfservice_flows_verification_ui_url": obj.get("kratos_selfservice_flows_verification_ui_url"),
630
+ "kratos_selfservice_flows_verification_use": obj.get("kratos_selfservice_flows_verification_use"),
631
+ "kratos_selfservice_methods_code_config_lifespan": obj.get("kratos_selfservice_methods_code_config_lifespan"),
632
+ "kratos_selfservice_methods_code_enabled": obj.get("kratos_selfservice_methods_code_enabled"),
633
+ "kratos_selfservice_methods_code_mfa_enabled": obj.get("kratos_selfservice_methods_code_mfa_enabled"),
634
+ "kratos_selfservice_methods_code_passwordless_enabled": obj.get("kratos_selfservice_methods_code_passwordless_enabled"),
635
+ "kratos_selfservice_methods_code_passwordless_login_fallback_enabled": obj.get("kratos_selfservice_methods_code_passwordless_login_fallback_enabled"),
636
+ "kratos_selfservice_methods_link_config_base_url": obj.get("kratos_selfservice_methods_link_config_base_url"),
637
+ "kratos_selfservice_methods_link_config_lifespan": obj.get("kratos_selfservice_methods_link_config_lifespan"),
638
+ "kratos_selfservice_methods_link_enabled": obj.get("kratos_selfservice_methods_link_enabled"),
639
+ "kratos_selfservice_methods_lookup_secret_enabled": obj.get("kratos_selfservice_methods_lookup_secret_enabled"),
640
+ "kratos_selfservice_methods_oidc_config_base_redirect_uri": obj.get("kratos_selfservice_methods_oidc_config_base_redirect_uri"),
641
+ "kratos_selfservice_methods_oidc_config_providers": [NormalizedProjectRevisionThirdPartyProvider.from_dict(_item) for _item in obj["kratos_selfservice_methods_oidc_config_providers"]] if obj.get("kratos_selfservice_methods_oidc_config_providers") is not None else None,
642
+ "kratos_selfservice_methods_oidc_enabled": obj.get("kratos_selfservice_methods_oidc_enabled"),
643
+ "kratos_selfservice_methods_passkey_config_rp_display_name": obj.get("kratos_selfservice_methods_passkey_config_rp_display_name"),
644
+ "kratos_selfservice_methods_passkey_config_rp_id": obj.get("kratos_selfservice_methods_passkey_config_rp_id"),
645
+ "kratos_selfservice_methods_passkey_config_rp_origins": obj.get("kratos_selfservice_methods_passkey_config_rp_origins"),
646
+ "kratos_selfservice_methods_passkey_enabled": obj.get("kratos_selfservice_methods_passkey_enabled"),
647
+ "kratos_selfservice_methods_password_config_haveibeenpwned_enabled": obj.get("kratos_selfservice_methods_password_config_haveibeenpwned_enabled"),
648
+ "kratos_selfservice_methods_password_config_identifier_similarity_check_enabled": obj.get("kratos_selfservice_methods_password_config_identifier_similarity_check_enabled"),
649
+ "kratos_selfservice_methods_password_config_ignore_network_errors": obj.get("kratos_selfservice_methods_password_config_ignore_network_errors"),
650
+ "kratos_selfservice_methods_password_config_max_breaches": obj.get("kratos_selfservice_methods_password_config_max_breaches"),
651
+ "kratos_selfservice_methods_password_config_min_password_length": obj.get("kratos_selfservice_methods_password_config_min_password_length"),
652
+ "kratos_selfservice_methods_password_enabled": obj.get("kratos_selfservice_methods_password_enabled"),
653
+ "kratos_selfservice_methods_profile_enabled": obj.get("kratos_selfservice_methods_profile_enabled"),
654
+ "kratos_selfservice_methods_totp_config_issuer": obj.get("kratos_selfservice_methods_totp_config_issuer"),
655
+ "kratos_selfservice_methods_totp_enabled": obj.get("kratos_selfservice_methods_totp_enabled"),
656
+ "kratos_selfservice_methods_webauthn_config_passwordless": obj.get("kratos_selfservice_methods_webauthn_config_passwordless"),
657
+ "kratos_selfservice_methods_webauthn_config_rp_display_name": obj.get("kratos_selfservice_methods_webauthn_config_rp_display_name"),
658
+ "kratos_selfservice_methods_webauthn_config_rp_icon": obj.get("kratos_selfservice_methods_webauthn_config_rp_icon"),
659
+ "kratos_selfservice_methods_webauthn_config_rp_id": obj.get("kratos_selfservice_methods_webauthn_config_rp_id"),
660
+ "kratos_selfservice_methods_webauthn_config_rp_origins": obj.get("kratos_selfservice_methods_webauthn_config_rp_origins"),
661
+ "kratos_selfservice_methods_webauthn_enabled": obj.get("kratos_selfservice_methods_webauthn_enabled"),
662
+ "kratos_session_cookie_persistent": obj.get("kratos_session_cookie_persistent"),
663
+ "kratos_session_cookie_same_site": obj.get("kratos_session_cookie_same_site"),
664
+ "kratos_session_lifespan": obj.get("kratos_session_lifespan"),
665
+ "kratos_session_whoami_required_aal": obj.get("kratos_session_whoami_required_aal"),
666
+ "kratos_session_whoami_tokenizer_templates": [NormalizedProjectRevisionTokenizerTemplate.from_dict(_item) for _item in obj["kratos_session_whoami_tokenizer_templates"]] if obj.get("kratos_session_whoami_tokenizer_templates") is not None else None,
667
+ "name": obj.get("name"),
668
+ "project_id": obj.get("project_id"),
669
+ "project_revision_hooks": [NormalizedProjectRevisionHook.from_dict(_item) for _item in obj["project_revision_hooks"]] if obj.get("project_revision_hooks") is not None else None,
670
+ "serve_admin_cors_allowed_origins": obj.get("serve_admin_cors_allowed_origins"),
671
+ "serve_admin_cors_enabled": obj.get("serve_admin_cors_enabled"),
672
+ "serve_public_cors_allowed_origins": obj.get("serve_public_cors_allowed_origins"),
673
+ "serve_public_cors_enabled": obj.get("serve_public_cors_enabled"),
674
+ "strict_security": obj.get("strict_security"),
675
+ "updated_at": obj.get("updated_at"),
676
+ "workspace_id": obj.get("workspace_id")
677
+ })
678
+ # store additional fields in additional_properties
679
+ for _key in obj.keys():
680
+ if _key not in cls.__properties:
681
+ _obj.additional_properties[_key] = obj.get(_key)
682
+
683
+ return _obj
684
+
685
+