Skip to main content

ory_client/models/
create_project_normalized_payload.rs

1/*
2 * Ory APIs
3 *
4 * # Introduction 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.  ## SDKs This document describes the APIs available in the Ory Network. The APIs are available as SDKs for the following languages:  | Language       | Download SDK                                                     | Documentation                                                                        | | -------------- | ---------------------------------------------------------------- | ------------------------------------------------------------------------------------ | | Dart           | [pub.dev](https://pub.dev/packages/ory_client)                   | [README](https://github.com/ory/sdk/blob/master/clients/client/dart/README.md)       | | .NET           | [nuget.org](https://www.nuget.org/packages/Ory.Client/)          | [README](https://github.com/ory/sdk/blob/master/clients/client/dotnet/README.md)     | | Elixir         | [hex.pm](https://hex.pm/packages/ory_client)                     | [README](https://github.com/ory/sdk/blob/master/clients/client/elixir/README.md)     | | Go             | [github.com](https://github.com/ory/client-go)                   | [README](https://github.com/ory/sdk/blob/master/clients/client/go/README.md)         | | Java           | [maven.org](https://search.maven.org/artifact/sh.ory/ory-client) | [README](https://github.com/ory/sdk/blob/master/clients/client/java/README.md)       | | JavaScript     | [npmjs.com](https://www.npmjs.com/package/@ory/client)           | [README](https://github.com/ory/sdk/blob/master/clients/client/typescript/README.md) | | JavaScript (With fetch) | [npmjs.com](https://www.npmjs.com/package/@ory/client-fetch)           | [README](https://github.com/ory/sdk/blob/master/clients/client/typescript-fetch/README.md) |  | PHP            | [packagist.org](https://packagist.org/packages/ory/client)       | [README](https://github.com/ory/sdk/blob/master/clients/client/php/README.md)        | | Python         | [pypi.org](https://pypi.org/project/ory-client/)                 | [README](https://github.com/ory/sdk/blob/master/clients/client/python/README.md)     | | Ruby           | [rubygems.org](https://rubygems.org/gems/ory-client)             | [README](https://github.com/ory/sdk/blob/master/clients/client/ruby/README.md)       | | Rust           | [crates.io](https://crates.io/crates/ory-client)                 | [README](https://github.com/ory/sdk/blob/master/clients/client/rust/README.md)       | 
5 *
6 * The version of the OpenAPI document: v1.22.41
7 * Contact: support@ory.sh
8 * Generated by: https://openapi-generator.tech
9 */
10
11use crate::models;
12use serde::{Deserialize, Serialize};
13
14/// CreateProjectNormalizedPayload : Create project (normalized) request payload
15#[derive(Clone, Default, Debug, PartialEq, Serialize, Deserialize)]
16pub struct CreateProjectNormalizedPayload {
17    /// The Account Experience's Custom Translations  Contains all Custom Translations for this project.
18    #[serde(rename = "account_experience_custom_translations", skip_serializing_if = "Option::is_none")]
19    pub account_experience_custom_translations: Option<Vec<models::RevisionAccountExperienceCustomTranslation>>,
20    /// Holds the default locale for the account experience. This governs the \"default_locale\" setting.
21    #[serde(rename = "account_experience_default_locale", skip_serializing_if = "Option::is_none")]
22    pub account_experience_default_locale: Option<String>,
23    /// The Account Experience's Enabled Locales  This governs the locales that are available in the account experience. This governs the \"enabled_locales\" setting.
24    #[serde(rename = "account_experience_enabled_locales", skip_serializing_if = "Option::is_none")]
25    pub account_experience_enabled_locales: Option<Vec<String>>,
26    /// Holds the URL to the account experience's dark theme favicon (currently unused). This governs the \"favicon_dark\" setting.
27    #[serde(rename = "account_experience_favicon_dark", skip_serializing_if = "Option::is_none")]
28    pub account_experience_favicon_dark: Option<String>,
29    /// Holds the URL to the account experience's favicon. This governs the \"favicon_light\" setting.
30    #[serde(rename = "account_experience_favicon_light", skip_serializing_if = "Option::is_none")]
31    pub account_experience_favicon_light: Option<String>,
32    /// Whether to hide the Ory branding badge on the account experience. This governs the \"hide_ory_branding\" setting.
33    #[serde(rename = "account_experience_hide_ory_branding", skip_serializing_if = "Option::is_none")]
34    pub account_experience_hide_ory_branding: Option<bool>,
35    /// Whether to hide the registration link on the account experience login card. This governs the \"hide_registration_link\" setting.
36    #[serde(rename = "account_experience_hide_registration_link", skip_serializing_if = "Option::is_none")]
37    pub account_experience_hide_registration_link: Option<bool>,
38    /// Holds the URL to the account experience's language behavior.  Can be one of: `respect_accept_language`: Respect the `Accept-Language` header. `force_default`: Force the default language. This governs the \"locale_behavior\" setting.
39    #[serde(rename = "account_experience_locale_behavior", skip_serializing_if = "Option::is_none")]
40    pub account_experience_locale_behavior: Option<String>,
41    /// Holds the URL to the account experience's dark theme logo (currently unused). This governs the \"logo_dark\" setting.
42    #[serde(rename = "account_experience_logo_dark", skip_serializing_if = "Option::is_none")]
43    pub account_experience_logo_dark: Option<String>,
44    /// Holds the URL to the account experience's logo. This governs the \"logo_light\" setting.
45    #[serde(rename = "account_experience_logo_light", skip_serializing_if = "Option::is_none")]
46    pub account_experience_logo_light: Option<String>,
47    /// Holds the URL to the account experience's dark theme variables. This governs the \"theme_variables_dark\" setting.
48    #[serde(rename = "account_experience_theme_variables_dark", skip_serializing_if = "Option::is_none")]
49    pub account_experience_theme_variables_dark: Option<String>,
50    /// Holds the URL to the account experience's light theme variables. This governs the \"theme_variables_light\" setting.
51    #[serde(rename = "account_experience_theme_variables_light", skip_serializing_if = "Option::is_none")]
52    pub account_experience_theme_variables_light: Option<String>,
53    /// The Project's Revision Creation Date
54    #[serde(rename = "created_at", skip_serializing_if = "Option::is_none")]
55    pub created_at: Option<String>,
56    /// Whether to disable the account experience welcome screen, which is hosted under `/ui/welcome`. This governs the \"disable_welcome_screen\" setting.
57    #[serde(rename = "disable_account_experience_welcome_screen", skip_serializing_if = "Option::is_none")]
58    pub disable_account_experience_welcome_screen: Option<bool>,
59    /// Whether the new account experience is enabled and reachable. This governs the \"enable_ax_v2\" setting.
60    #[serde(rename = "enable_ax_v2", skip_serializing_if = "Option::is_none")]
61    pub enable_ax_v2: Option<bool>,
62    ///  prod Production stage Staging dev Development
63    #[serde(rename = "environment")]
64    pub environment: EnvironmentEnum,
65    ///  eu-central EUCentral asia-northeast AsiaNorthEast us-east USEast us-west USWest eu EU asia Asia us US global Global
66    #[serde(rename = "home_region", skip_serializing_if = "Option::is_none")]
67    pub home_region: Option<HomeRegionEnum>,
68    /// A list of custom claims which are allowed to be added top level to the Access Token. They cannot override reserved claims.  This governs the \"oauth2.allowed_top_level_claims\" setting.
69    #[serde(rename = "hydra_oauth2_allowed_top_level_claims", skip_serializing_if = "Option::is_none")]
70    pub hydra_oauth2_allowed_top_level_claims: Option<Vec<String>>,
71    /// 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.
72    #[serde(rename = "hydra_oauth2_client_credentials_default_grant_allowed_scope", skip_serializing_if = "Option::is_none")]
73    pub hydra_oauth2_client_credentials_default_grant_allowed_scope: Option<bool>,
74    /// 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.
75    #[serde(rename = "hydra_oauth2_exclude_not_before_claim", skip_serializing_if = "Option::is_none")]
76    pub hydra_oauth2_exclude_not_before_claim: Option<bool>,
77    /// 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.
78    #[serde(rename = "hydra_oauth2_grant_jwt_iat_optional", skip_serializing_if = "Option::is_none")]
79    pub hydra_oauth2_grant_jwt_iat_optional: Option<bool>,
80    /// 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.
81    #[serde(rename = "hydra_oauth2_grant_jwt_jti_optional", skip_serializing_if = "Option::is_none")]
82    pub hydra_oauth2_grant_jwt_jti_optional: Option<bool>,
83    /// 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.
84    #[serde(rename = "hydra_oauth2_grant_jwt_max_ttl", skip_serializing_if = "Option::is_none")]
85    pub hydra_oauth2_grant_jwt_max_ttl: Option<String>,
86    /// Configures the OAuth2 Grant Refresh Token Rotation Grace Period  If set to `null` or `\"0s\"`, the graceful refresh token rotation is disabled.  This governs the \"oauth2.grant.refresh_token_rotation_grace_period\" setting.
87    #[serde(rename = "hydra_oauth2_grant_refresh_token_rotation_grace_period", skip_serializing_if = "Option::is_none")]
88    pub hydra_oauth2_grant_refresh_token_rotation_grace_period: Option<String>,
89    /// Set to false if you don't want to mirror custom claims under 'ext'.  This governs the \"oauth2.mirror_top_level_claims\" setting.
90    #[serde(rename = "hydra_oauth2_mirror_top_level_claims", skip_serializing_if = "Option::is_none")]
91    pub hydra_oauth2_mirror_top_level_claims: Option<bool>,
92    /// Configures whether PKCE should be enforced for all OAuth2 Clients.  This governs the \"oauth2.pkce.enforced\" setting.
93    #[serde(rename = "hydra_oauth2_pkce_enforced", skip_serializing_if = "Option::is_none")]
94    pub hydra_oauth2_pkce_enforced: Option<bool>,
95    /// 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.
96    #[serde(rename = "hydra_oauth2_pkce_enforced_for_public_clients", skip_serializing_if = "Option::is_none")]
97    pub hydra_oauth2_pkce_enforced_for_public_clients: Option<bool>,
98    /// Set to true to keep custom claims that are not promoted to the top level in the 'ext' claim. Only applies when mirror_top_level_claims is false.  This governs the \"oauth2.preserve_ext_claims\" setting.
99    #[serde(rename = "hydra_oauth2_preserve_ext_claims", skip_serializing_if = "Option::is_none")]
100    pub hydra_oauth2_preserve_ext_claims: Option<bool>,
101    /// 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.
102    #[serde(rename = "hydra_oauth2_refresh_token_hook", skip_serializing_if = "Option::is_none")]
103    pub hydra_oauth2_refresh_token_hook: Option<String>,
104    /// 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.
105    #[serde(rename = "hydra_oauth2_token_hook", skip_serializing_if = "Option::is_none")]
106    pub hydra_oauth2_token_hook: Option<String>,
107    /// The OpenID Connect Dynamic Client Registration specification has no concept of whitelisting OAuth 2.0 Scope. If you want to expose Dynamic Client Registration, you should set the default scope enabled for newly registered clients. Keep in mind that users can overwrite this default by setting the \"scope\" key in the registration payload, effectively disabling the concept of whitelisted scopes.  This governs the \"oidc.dynamic_client_registration.default_scope\" setting.
108    #[serde(rename = "hydra_oidc_dynamic_client_registration_default_scope", skip_serializing_if = "Option::is_none")]
109    pub hydra_oidc_dynamic_client_registration_default_scope: Option<Vec<String>>,
110    /// Configures OpenID Connect Dynamic Client Registration.  This governs the \"oidc.dynamic_client_registration.enabled\" setting.
111    #[serde(rename = "hydra_oidc_dynamic_client_registration_enabled", skip_serializing_if = "Option::is_none")]
112    pub hydra_oidc_dynamic_client_registration_enabled: Option<bool>,
113    /// Configures OpenID Connect Discovery and overwrites the pairwise algorithm  This governs the \"oidc.subject_identifiers.pairwise_salt\" setting.
114    #[serde(rename = "hydra_oidc_subject_identifiers_pairwise_salt", skip_serializing_if = "Option::is_none")]
115    pub hydra_oidc_subject_identifiers_pairwise_salt: Option<String>,
116    /// Configures OpenID Connect Discovery and overwrites the list of Subject Identifier Algorithms to enable.  This governs the \"oidc.subject_identifiers.supported_types\" setting.
117    #[serde(rename = "hydra_oidc_subject_identifiers_supported_types", skip_serializing_if = "Option::is_none")]
118    pub hydra_oidc_subject_identifiers_supported_types: Option<Vec<String>>,
119    /// Configures the Ory Hydra Cookie Secret  This governs the \"secrets.cookie\" setting.
120    #[serde(rename = "hydra_secrets_cookie", skip_serializing_if = "Option::is_none")]
121    pub hydra_secrets_cookie: Option<Vec<String>>,
122    /// Configures the Ory Hydra Pagination Secret  This governs the \"secrets.pagination\" setting.
123    #[serde(rename = "hydra_secrets_pagination", skip_serializing_if = "Option::is_none")]
124    pub hydra_secrets_pagination: Option<Vec<String>>,
125    /// Configures the Ory Hydra System Secret  This governs the \"secrets.system\" setting.
126    #[serde(rename = "hydra_secrets_system", skip_serializing_if = "Option::is_none")]
127    pub hydra_secrets_system: Option<Vec<String>>,
128    /// Configures the Ory Hydra Cookie Same Site Legacy Workaround  This governs the \"serve.cookies.same_site_legacy_workaround\" setting.
129    #[serde(rename = "hydra_serve_cookies_same_site_legacy_workaround", skip_serializing_if = "Option::is_none")]
130    pub hydra_serve_cookies_same_site_legacy_workaround: Option<bool>,
131    /// Configures the Ory Hydra Cookie Same Site Mode  This governs the \"serve.cookies.same_site_mode\" setting.
132    #[serde(rename = "hydra_serve_cookies_same_site_mode", skip_serializing_if = "Option::is_none")]
133    pub hydra_serve_cookies_same_site_mode: Option<String>,
134    /// Defines access token type  This governs the \"strategies.access_token\" setting. opaque Oauth2AccessTokenStrategyOpaque jwt Oauth2AccessTokenStrategyJwt
135    #[serde(rename = "hydra_strategies_access_token", skip_serializing_if = "Option::is_none")]
136    pub hydra_strategies_access_token: Option<HydraStrategiesAccessTokenEnum>,
137    /// Define the claim to use as the scope in the access token.  This governs the \"strategies.jwt.scope_claim\" setting.  list: The scope claim is an array of strings named `scope`: `{ \"scope\": [\"read\", \"write\"] }` string: The scope claim is a space delimited list of strings named `scp`: `{ \"scp\": \"read write\" }` both: The scope claim is both a space delimited list and an array of strings named `scope` and `scp`: `{ \"scope\": [\"read\", \"write\"], \"scp\": \"read write\" }` list OAuth2JWTScopeClaimList string OAuth2JWTScopeClaimString both OAuth2JWTScopeClaimBoth
138    #[serde(rename = "hydra_strategies_jwt_scope_claim", skip_serializing_if = "Option::is_none")]
139    pub hydra_strategies_jwt_scope_claim: Option<HydraStrategiesJwtScopeClaimEnum>,
140    /// 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
141    #[serde(rename = "hydra_strategies_scope", skip_serializing_if = "Option::is_none")]
142    pub hydra_strategies_scope: Option<HydraStrategiesScopeEnum>,
143    /// This governs the \"ttl.access_token\" setting.
144    #[serde(rename = "hydra_ttl_access_token", skip_serializing_if = "Option::is_none")]
145    pub hydra_ttl_access_token: Option<String>,
146    /// 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.
147    #[serde(rename = "hydra_ttl_auth_code", skip_serializing_if = "Option::is_none")]
148    pub hydra_ttl_auth_code: Option<String>,
149    /// This governs the \"ttl.id_token\" setting.
150    #[serde(rename = "hydra_ttl_id_token", skip_serializing_if = "Option::is_none")]
151    pub hydra_ttl_id_token: Option<String>,
152    /// Configures how long a user login and consent flow may take.  This governs the \"ttl.login_consent_request\" setting.
153    #[serde(rename = "hydra_ttl_login_consent_request", skip_serializing_if = "Option::is_none")]
154    pub hydra_ttl_login_consent_request: Option<String>,
155    /// 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.
156    #[serde(rename = "hydra_ttl_refresh_token", skip_serializing_if = "Option::is_none")]
157    pub hydra_ttl_refresh_token: Option<String>,
158    /// 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.
159    #[serde(rename = "hydra_urls_consent", skip_serializing_if = "Option::is_none")]
160    pub hydra_urls_consent: Option<String>,
161    /// 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.
162    #[serde(rename = "hydra_urls_error", skip_serializing_if = "Option::is_none")]
163    pub hydra_urls_error: Option<String>,
164    /// 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.
165    #[serde(rename = "hydra_urls_login", skip_serializing_if = "Option::is_none")]
166    pub hydra_urls_login: Option<String>,
167    /// Sets the logout endpoint.  Defaults to the Ory Account Experience if left empty.  This governs the \"urls.logout\" setting.
168    #[serde(rename = "hydra_urls_logout", skip_serializing_if = "Option::is_none")]
169    pub hydra_urls_logout: Option<String>,
170    /// 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.
171    #[serde(rename = "hydra_urls_post_logout_redirect", skip_serializing_if = "Option::is_none")]
172    pub hydra_urls_post_logout_redirect: Option<String>,
173    /// 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.
174    #[serde(rename = "hydra_urls_registration", skip_serializing_if = "Option::is_none")]
175    pub hydra_urls_registration: Option<String>,
176    /// 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.
177    #[serde(rename = "hydra_urls_self_issuer", skip_serializing_if = "Option::is_none")]
178    pub hydra_urls_self_issuer: Option<String>,
179    /// A list of JSON Web Keys that should be exposed at that endpoint. This is usually the public key for verifying OpenID Connect ID Tokens. However, you might want to add additional keys here as well.  This governs the \"webfinger.jwks.broadcast_keys\" setting.
180    #[serde(rename = "hydra_webfinger_jwks_broadcast_keys", skip_serializing_if = "Option::is_none")]
181    pub hydra_webfinger_jwks_broadcast_keys: Option<Vec<String>>,
182    /// Configures OpenID Connect Discovery and overwrites the OAuth2 Authorization URL.  This governs the \"webfinger.oidc_discovery.auth_url\" setting.
183    #[serde(rename = "hydra_webfinger_oidc_discovery_auth_url", skip_serializing_if = "Option::is_none")]
184    pub hydra_webfinger_oidc_discovery_auth_url: Option<String>,
185    /// Configures OpenID Connect Discovery and overwrites the OpenID Connect Dynamic Client Registration Endpoint.  This governs the \"webfinger.oidc_discovery.client_registration_url\" setting.
186    #[serde(rename = "hydra_webfinger_oidc_discovery_client_registration_url", skip_serializing_if = "Option::is_none")]
187    pub hydra_webfinger_oidc_discovery_client_registration_url: Option<String>,
188    /// Configures OpenID Connect Discovery and overwrites the JWKS URL.  This governs the \"webfinger.oidc_discovery.jwks_url\" setting.
189    #[serde(rename = "hydra_webfinger_oidc_discovery_jwks_url", skip_serializing_if = "Option::is_none")]
190    pub hydra_webfinger_oidc_discovery_jwks_url: Option<String>,
191    /// Configures OpenID Connect Discovery and overwrites a list of supported claims to be broadcasted. Claim \"sub\" is always included.  This governs the \"webfinger.oidc_discovery.supported_claims\" setting.
192    #[serde(rename = "hydra_webfinger_oidc_discovery_supported_claims", skip_serializing_if = "Option::is_none")]
193    pub hydra_webfinger_oidc_discovery_supported_claims: Option<Vec<String>>,
194    /// Configures OpenID Connect Discovery and overwrites the scope OAuth 2.0 Clients may request. Scope `offline`, `offline_access`, and `openid` are always included.  This governs the \"webfinger.oidc_discovery.supported_scope\" setting.
195    #[serde(rename = "hydra_webfinger_oidc_discovery_supported_scope", skip_serializing_if = "Option::is_none")]
196    pub hydra_webfinger_oidc_discovery_supported_scope: Option<Vec<String>>,
197    /// Configures OpenID Connect Discovery and overwrites the OAuth2 Token URL.  This governs the \"webfinger.oidc_discovery.token_url\" setting.
198    #[serde(rename = "hydra_webfinger_oidc_discovery_token_url", skip_serializing_if = "Option::is_none")]
199    pub hydra_webfinger_oidc_discovery_token_url: Option<String>,
200    /// 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.
201    #[serde(rename = "hydra_webfinger_oidc_discovery_userinfo_url", skip_serializing_if = "Option::is_none")]
202    pub hydra_webfinger_oidc_discovery_userinfo_url: Option<String>,
203    /// The revision ID.
204    #[serde(rename = "id", skip_serializing_if = "Option::is_none")]
205    pub id: Option<String>,
206    /// The Revisions' Keto Namespace Configuration  The string is a URL pointing to an OPL file with the configuration.  This governs the \"namespaces.location\" setting.
207    #[serde(rename = "keto_namespace_configuration", skip_serializing_if = "Option::is_none")]
208    pub keto_namespace_configuration: Option<String>,
209    #[serde(rename = "keto_namespaces", skip_serializing_if = "Option::is_none")]
210    pub keto_namespaces: Option<Vec<models::KetoNamespace>>,
211    /// Configures Keto's pagination secrets.  This governs the \"secrets.pagination\" setting.
212    #[serde(rename = "keto_secrets_pagination", skip_serializing_if = "Option::is_none")]
213    pub keto_secrets_pagination: Option<Vec<String>>,
214    /// Configures the Ory Kratos Cookie SameSite Attribute  This governs the \"cookies.same_site\" setting.
215    #[serde(rename = "kratos_cookies_same_site", skip_serializing_if = "Option::is_none")]
216    pub kratos_cookies_same_site: Option<String>,
217    #[serde(rename = "kratos_courier_channels", skip_serializing_if = "Option::is_none")]
218    pub kratos_courier_channels: Option<Vec<models::NormalizedProjectRevisionCourierChannel>>,
219    /// The delivery strategy to use when sending emails  This governs the \"courier.delivery_strategy\" setting.  `smtp`: Use SMTP server `http`: Use the built in HTTP client to send the email to some remote service
220    #[serde(rename = "kratos_courier_delivery_strategy", skip_serializing_if = "Option::is_none")]
221    pub kratos_courier_delivery_strategy: Option<String>,
222    /// 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.request_config.auth.config.in\" setting.
223    #[serde(rename = "kratos_courier_http_request_config_auth_api_key_in", skip_serializing_if = "Option::is_none")]
224    pub kratos_courier_http_request_config_auth_api_key_in: Option<String>,
225    /// The name of the API key to use in the HTTP email sending service's authentication  This governs the \"courier.http.request_config.auth.config.name\" setting.
226    #[serde(rename = "kratos_courier_http_request_config_auth_api_key_name", skip_serializing_if = "Option::is_none")]
227    pub kratos_courier_http_request_config_auth_api_key_name: Option<String>,
228    /// The value of the API key to use in the HTTP email sending service's authentication  This governs the \"courier.http.request_config.auth.config.value\" setting.
229    #[serde(rename = "kratos_courier_http_request_config_auth_api_key_value", skip_serializing_if = "Option::is_none")]
230    pub kratos_courier_http_request_config_auth_api_key_value: Option<String>,
231    /// The password to use for basic auth in the HTTP email sending service's authentication  This governs the \"courier.http.request_config.auth.config.password\" setting.
232    #[serde(rename = "kratos_courier_http_request_config_auth_basic_auth_password", skip_serializing_if = "Option::is_none")]
233    pub kratos_courier_http_request_config_auth_basic_auth_password: Option<String>,
234    /// The user to use for basic auth in the HTTP email sending service's authentication  This governs the \"courier.http.request_config.auth.config.user\" setting.
235    #[serde(rename = "kratos_courier_http_request_config_auth_basic_auth_user", skip_serializing_if = "Option::is_none")]
236    pub kratos_courier_http_request_config_auth_basic_auth_user: Option<String>,
237    /// The authentication type to use while contacting the remote HTTP email sending service  This governs the \"courier.http.request_config.auth.type\" setting.  `basic_auth`: Use Basic Authentication `api_key`: Use API Key Authentication in a header or cookie
238    #[serde(rename = "kratos_courier_http_request_config_auth_type", skip_serializing_if = "Option::is_none")]
239    pub kratos_courier_http_request_config_auth_type: Option<String>,
240    /// 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.request_config.body\" setting.
241    #[serde(rename = "kratos_courier_http_request_config_body", skip_serializing_if = "Option::is_none")]
242    pub kratos_courier_http_request_config_body: Option<String>,
243    /// Any additional headers to send to the remote HTTP email sending service  This governs the \"courier.http.request_config.headers\" setting.
244    #[serde(rename = "kratos_courier_http_request_config_headers", skip_serializing_if = "Option::is_none")]
245    pub kratos_courier_http_request_config_headers: Option<serde_json::Value>,
246    /// The http METHOD to use when calling the remote HTTP email sending service  This governs the \"courier.http.request_config.method\" setting.
247    #[serde(rename = "kratos_courier_http_request_config_method", skip_serializing_if = "Option::is_none")]
248    pub kratos_courier_http_request_config_method: Option<String>,
249    /// The URL of the remote HTTP email sending service  This governs the \"courier.http.request_config.url\" setting.
250    #[serde(rename = "kratos_courier_http_request_config_url", skip_serializing_if = "Option::is_none")]
251    pub kratos_courier_http_request_config_url: Option<String>,
252    /// Configures the Ory Kratos SMTP Connection URI  This governs the \"courier.smtp.connection_uri\" setting.
253    #[serde(rename = "kratos_courier_smtp_connection_uri", skip_serializing_if = "Option::is_none")]
254    pub kratos_courier_smtp_connection_uri: Option<String>,
255    /// Configures the Ory Kratos SMTP From Address  This governs the \"courier.smtp.from_address\" setting.
256    #[serde(rename = "kratos_courier_smtp_from_address", skip_serializing_if = "Option::is_none")]
257    pub kratos_courier_smtp_from_address: Option<String>,
258    /// Configures the Ory Kratos SMTP From Name  This governs the \"courier.smtp.from_name\" setting.
259    #[serde(rename = "kratos_courier_smtp_from_name", skip_serializing_if = "Option::is_none")]
260    pub kratos_courier_smtp_from_name: Option<String>,
261    /// Configures the Ory Kratos SMTP Connection Headers  This governs the \"courier.smtp.headers\" setting.
262    #[serde(rename = "kratos_courier_smtp_headers", skip_serializing_if = "Option::is_none")]
263    pub kratos_courier_smtp_headers: Option<serde_json::Value>,
264    /// Configures the local_name to use in SMTP connections  This governs the \"courier.smtp.local_name\" setting.
265    #[serde(rename = "kratos_courier_smtp_local_name", skip_serializing_if = "Option::is_none")]
266    pub kratos_courier_smtp_local_name: Option<String>,
267    /// Configures the Ory Kratos Valid Login via Code Email Body HTML Template  This governs the \"courier.templates.login_code.valid.email.body.html\" setting.
268    #[serde(rename = "kratos_courier_templates_login_code_valid_email_body_html", skip_serializing_if = "Option::is_none")]
269    pub kratos_courier_templates_login_code_valid_email_body_html: Option<String>,
270    /// Configures the Ory Kratos Valid Login via Code Email Body Plaintext Template  This governs the \"courier.templates.login_code.valid.email.body.plaintext\" setting.
271    #[serde(rename = "kratos_courier_templates_login_code_valid_email_body_plaintext", skip_serializing_if = "Option::is_none")]
272    pub kratos_courier_templates_login_code_valid_email_body_plaintext: Option<String>,
273    /// Configures the Ory Kratos Valid Login via Code Email Subject Template  This governs the \"courier.templates.login_code.valid.email.subject\" setting.
274    #[serde(rename = "kratos_courier_templates_login_code_valid_email_subject", skip_serializing_if = "Option::is_none")]
275    pub kratos_courier_templates_login_code_valid_email_subject: Option<String>,
276    /// Configures the Ory Kratos Valid Login via Code SMS plain text body  This governs the \"courier.templates.login_code.valid.sms.body.plaintext\" setting.
277    #[serde(rename = "kratos_courier_templates_login_code_valid_sms_body_plaintext", skip_serializing_if = "Option::is_none")]
278    pub kratos_courier_templates_login_code_valid_sms_body_plaintext: Option<String>,
279    /// Configures the Ory Kratos Invalid Recovery via Code Email Body HTML Template  This governs the \"courier.templates.recovery_code.invalid.email.body.html\" setting.
280    #[serde(rename = "kratos_courier_templates_recovery_code_invalid_email_body_html", skip_serializing_if = "Option::is_none")]
281    pub kratos_courier_templates_recovery_code_invalid_email_body_html: Option<String>,
282    /// Configures the Ory Kratos Invalid Recovery via Code Email Body Plaintext Template  This governs the \"courier.templates.recovery_code.invalid.email.body.plaintext\" setting.
283    #[serde(rename = "kratos_courier_templates_recovery_code_invalid_email_body_plaintext", skip_serializing_if = "Option::is_none")]
284    pub kratos_courier_templates_recovery_code_invalid_email_body_plaintext: Option<String>,
285    /// Configures the Ory Kratos Invalid Recovery via Code Email Subject Template  This governs the \"courier.templates.recovery_code.invalid.email.subject\" setting.
286    #[serde(rename = "kratos_courier_templates_recovery_code_invalid_email_subject", skip_serializing_if = "Option::is_none")]
287    pub kratos_courier_templates_recovery_code_invalid_email_subject: Option<String>,
288    /// Configures the Ory Kratos Valid Recovery via Code Email Body HTML Template  This governs the \"courier.templates.recovery_code.valid.email.body.html\" setting.
289    #[serde(rename = "kratos_courier_templates_recovery_code_valid_email_body_html", skip_serializing_if = "Option::is_none")]
290    pub kratos_courier_templates_recovery_code_valid_email_body_html: Option<String>,
291    /// Configures the Ory Kratos Valid Recovery via Code Email Body Plaintext Template  This governs the \"courier.templates.recovery_code.valid.email.body.plaintext\" setting.
292    #[serde(rename = "kratos_courier_templates_recovery_code_valid_email_body_plaintext", skip_serializing_if = "Option::is_none")]
293    pub kratos_courier_templates_recovery_code_valid_email_body_plaintext: Option<String>,
294    /// Configures the Ory Kratos Valid Recovery via Code Email Subject Template  This governs the \"courier.templates.recovery_code.valid.email.subject\" setting.
295    #[serde(rename = "kratos_courier_templates_recovery_code_valid_email_subject", skip_serializing_if = "Option::is_none")]
296    pub kratos_courier_templates_recovery_code_valid_email_subject: Option<String>,
297    /// Configures the Ory Kratos Invalid Recovery Email Body HTML Template  This governs the \"courier.templates.recovery.invalid.email.body.html\" setting.
298    #[serde(rename = "kratos_courier_templates_recovery_invalid_email_body_html", skip_serializing_if = "Option::is_none")]
299    pub kratos_courier_templates_recovery_invalid_email_body_html: Option<String>,
300    /// Configures the Ory Kratos Invalid Recovery Email Body Plaintext Template  This governs the \"courier.templates.recovery.invalid.email.body.plaintext\" setting.
301    #[serde(rename = "kratos_courier_templates_recovery_invalid_email_body_plaintext", skip_serializing_if = "Option::is_none")]
302    pub kratos_courier_templates_recovery_invalid_email_body_plaintext: Option<String>,
303    /// Configures the Ory Kratos Invalid Recovery Email Subject Template  This governs the \"courier.templates.recovery.invalid.email.subject\" setting.
304    #[serde(rename = "kratos_courier_templates_recovery_invalid_email_subject", skip_serializing_if = "Option::is_none")]
305    pub kratos_courier_templates_recovery_invalid_email_subject: Option<String>,
306    /// Configures the Ory Kratos Valid Recovery Email Body HTML Template  This governs the \"courier.templates.recovery.valid.email.body.html\" setting.
307    #[serde(rename = "kratos_courier_templates_recovery_valid_email_body_html", skip_serializing_if = "Option::is_none")]
308    pub kratos_courier_templates_recovery_valid_email_body_html: Option<String>,
309    /// Configures the Ory Kratos Valid Recovery Email Body Plaintext Template  This governs the \"courier.templates.recovery.valid.email.body.plaintext\" setting.
310    #[serde(rename = "kratos_courier_templates_recovery_valid_email_body_plaintext", skip_serializing_if = "Option::is_none")]
311    pub kratos_courier_templates_recovery_valid_email_body_plaintext: Option<String>,
312    /// Configures the Ory Kratos Valid Recovery Email Subject Template  This governs the \"courier.templates.recovery.valid.email.subject\" setting.
313    #[serde(rename = "kratos_courier_templates_recovery_valid_email_subject", skip_serializing_if = "Option::is_none")]
314    pub kratos_courier_templates_recovery_valid_email_subject: Option<String>,
315    /// Configures the Ory Kratos Valid Registration via Code Email Body HTML Template  This governs the \"courier.templates.registration_code.valid.email.body.html\" setting.
316    #[serde(rename = "kratos_courier_templates_registration_code_valid_email_body_html", skip_serializing_if = "Option::is_none")]
317    pub kratos_courier_templates_registration_code_valid_email_body_html: Option<String>,
318    /// Configures the Ory Kratos Valid Registration via Code Email Body Plaintext Template  This governs the \"courier.templates.registration_code.valid.email.body.plaintext\" setting.
319    #[serde(rename = "kratos_courier_templates_registration_code_valid_email_body_plaintext", skip_serializing_if = "Option::is_none")]
320    pub kratos_courier_templates_registration_code_valid_email_body_plaintext: Option<String>,
321    /// Configures the Ory Kratos Valid Registration via Code Email Subject Template  This governs the \"courier.templates.registration_code.valid.email.subject\" setting.
322    #[serde(rename = "kratos_courier_templates_registration_code_valid_email_subject", skip_serializing_if = "Option::is_none")]
323    pub kratos_courier_templates_registration_code_valid_email_subject: Option<String>,
324    /// Configures the Ory Kratos Valid Registration via Code SMS Body Plaintext Template  This governs the \"courier.templates.registration_code.valid.sms.body.plaintext\" setting.
325    #[serde(rename = "kratos_courier_templates_registration_code_valid_sms_body_plaintext", skip_serializing_if = "Option::is_none")]
326    pub kratos_courier_templates_registration_code_valid_sms_body_plaintext: Option<String>,
327    /// Configures the Ory Kratos Invalid Verification via Code Email Body HTML Template  This governs the \"courier.templates.verification_code.invalid.email.body.html\" setting.
328    #[serde(rename = "kratos_courier_templates_verification_code_invalid_email_body_html", skip_serializing_if = "Option::is_none")]
329    pub kratos_courier_templates_verification_code_invalid_email_body_html: Option<String>,
330    /// Configures the Ory Kratos Invalid Verification via Code Email Body Plaintext Template  This governs the \"courier.templates.verification_code.invalid.email.body.plaintext\" setting.
331    #[serde(rename = "kratos_courier_templates_verification_code_invalid_email_body_plaintext", skip_serializing_if = "Option::is_none")]
332    pub kratos_courier_templates_verification_code_invalid_email_body_plaintext: Option<String>,
333    /// Configures the Ory Kratos Invalid Verification via Code Email Subject Template  This governs the \"courier.templates.verification_code.invalid.email.subject\" setting.
334    #[serde(rename = "kratos_courier_templates_verification_code_invalid_email_subject", skip_serializing_if = "Option::is_none")]
335    pub kratos_courier_templates_verification_code_invalid_email_subject: Option<String>,
336    /// Configures the Ory Kratos Valid Verification via Code Email Body HTML Template  This governs the \"courier.templates.verification_code.valid.email.body.html\" setting.
337    #[serde(rename = "kratos_courier_templates_verification_code_valid_email_body_html", skip_serializing_if = "Option::is_none")]
338    pub kratos_courier_templates_verification_code_valid_email_body_html: Option<String>,
339    /// Configures the Ory Kratos Valid Verification via Code Email Body Plaintext Template  This governs the \"courier.templates.verification_code.valid.email.body.plaintext\" setting.
340    #[serde(rename = "kratos_courier_templates_verification_code_valid_email_body_plaintext", skip_serializing_if = "Option::is_none")]
341    pub kratos_courier_templates_verification_code_valid_email_body_plaintext: Option<String>,
342    /// Configures the Ory Kratos Valid Verification via Code Email Subject Template  This governs the \"courier.templates.verification_code.valid.email.subject\" setting.
343    #[serde(rename = "kratos_courier_templates_verification_code_valid_email_subject", skip_serializing_if = "Option::is_none")]
344    pub kratos_courier_templates_verification_code_valid_email_subject: Option<String>,
345    /// Configures the Ory Kratos Valid Verification via Code SMS Body Plaintext  This governs the \"courier.templates.verification_code.valid.sms.body.plaintext\" setting.
346    #[serde(rename = "kratos_courier_templates_verification_code_valid_sms_body_plaintext", skip_serializing_if = "Option::is_none")]
347    pub kratos_courier_templates_verification_code_valid_sms_body_plaintext: Option<String>,
348    /// Configures the Ory Kratos Invalid Verification Email Body HTML Template  This governs the \"courier.templates.verification.invalid.email.body.html\" setting.
349    #[serde(rename = "kratos_courier_templates_verification_invalid_email_body_html", skip_serializing_if = "Option::is_none")]
350    pub kratos_courier_templates_verification_invalid_email_body_html: Option<String>,
351    /// Configures the Ory Kratos Invalid Verification Email Body Plaintext Template  This governs the \"courier.templates.verification.invalid.email.body.plaintext\" setting.
352    #[serde(rename = "kratos_courier_templates_verification_invalid_email_body_plaintext", skip_serializing_if = "Option::is_none")]
353    pub kratos_courier_templates_verification_invalid_email_body_plaintext: Option<String>,
354    /// Configures the Ory Kratos Invalid Verification Email Subject Template  This governs the \"courier.templates.verification.invalid.email.subject\" setting.
355    #[serde(rename = "kratos_courier_templates_verification_invalid_email_subject", skip_serializing_if = "Option::is_none")]
356    pub kratos_courier_templates_verification_invalid_email_subject: Option<String>,
357    /// Configures the Ory Kratos Valid Verification Email Body HTML Template  This governs the \"courier.templates.verification.valid.email.body.html\" setting.
358    #[serde(rename = "kratos_courier_templates_verification_valid_email_body_html", skip_serializing_if = "Option::is_none")]
359    pub kratos_courier_templates_verification_valid_email_body_html: Option<String>,
360    /// Configures the Ory Kratos Valid Verification Email Body Plaintext Template  This governs the \"courier.templates.verification.valid.email.body.plaintext\" setting.
361    #[serde(rename = "kratos_courier_templates_verification_valid_email_body_plaintext", skip_serializing_if = "Option::is_none")]
362    pub kratos_courier_templates_verification_valid_email_body_plaintext: Option<String>,
363    /// Configures the Ory Kratos Valid Verification Email Subject Template  This governs the \"courier.templates.verification.valid.email.subject\" setting.
364    #[serde(rename = "kratos_courier_templates_verification_valid_email_subject", skip_serializing_if = "Option::is_none")]
365    pub kratos_courier_templates_verification_valid_email_subject: Option<String>,
366    /// Configures the Ory Kratos Session caching feature flag  This governs the \"feature_flags.cacheable_sessions\" setting.
367    #[serde(rename = "kratos_feature_flags_cacheable_sessions", skip_serializing_if = "Option::is_none")]
368    pub kratos_feature_flags_cacheable_sessions: Option<bool>,
369    /// Configures the Ory Kratos Session caching max-age feature flag  This governs the \"feature_flags.cacheable_sessions_max_age\" setting.
370    #[serde(rename = "kratos_feature_flags_cacheable_sessions_max_age", skip_serializing_if = "Option::is_none")]
371    pub kratos_feature_flags_cacheable_sessions_max_age: Option<String>,
372    /// This governs the \"feature_flags.choose_recovery_address\" setting.
373    #[serde(rename = "kratos_feature_flags_choose_recovery_address", skip_serializing_if = "Option::is_none")]
374    pub kratos_feature_flags_choose_recovery_address: Option<bool>,
375    /// Configures the Ory Kratos Faster Session Extend setting  If enabled allows faster session extension by skipping the session lookup and returning 201 instead of 200. Disabling this feature will be deprecated in the future.  This governs the \"feature_flags.faster_session_extend\" setting.
376    #[serde(rename = "kratos_feature_flags_faster_session_extend", skip_serializing_if = "Option::is_none")]
377    pub kratos_feature_flags_faster_session_extend: Option<bool>,
378    /// Always include show_verification_ui in continue_with  If true, restores the legacy behavior of always including `show_verification_ui` in the registration flow's `continue_with` when verification is enabled. If set to false, `show_verification_ui` is only set in `continue_with` if the `show_verification_ui` hook is used. This flag will be removed in the future.  This governs the \"feature_flags.legacy_continue_with_verification_ui\" setting.
379    #[serde(rename = "kratos_feature_flags_legacy_continue_with_verification_ui", skip_serializing_if = "Option::is_none")]
380    pub kratos_feature_flags_legacy_continue_with_verification_ui: Option<bool>,
381    /// Controls whether the UI nodes in an OIDC registration flow have group \"oidc\" in case required fields are not returned by the OIDC provider.  If set to true, the UI nodes will have group \"oidc\" and the flow will be considered successful if the user completes the flow. This is the legacy behavior.  This governs the \"feature_flags.legacy_oidc_registration_node_group\" setting.
382    #[serde(rename = "kratos_feature_flags_legacy_oidc_registration_node_group", skip_serializing_if = "Option::is_none")]
383    pub kratos_feature_flags_legacy_oidc_registration_node_group: Option<bool>,
384    /// Return a form error if the login identifier is not verified  If true, the login flow will return a form error if the login identifier is not verified, which restores legacy behavior. If this value is false, the `continue_with` array will contain a `show_verification_ui` hook instead.  This flag is deprecated and will be removed in the future.  This governs the \"feature_flags.legacy_require_verified_login_error\" setting.
385    #[serde(rename = "kratos_feature_flags_legacy_require_verified_login_error", skip_serializing_if = "Option::is_none")]
386    pub kratos_feature_flags_legacy_require_verified_login_error: Option<bool>,
387    /// Configures the group for the password method in the registration flow.  If true, it sets the password method group value to \"password\" if it is the only method available. This is the legacy behavior. If false is, it sets the password method group value to \"default\".  This governs the \"feature_flags.password_profile_registration_node_group\" setting.
388    #[serde(rename = "kratos_feature_flags_password_profile_registration_node_group", skip_serializing_if = "Option::is_none")]
389    pub kratos_feature_flags_password_profile_registration_node_group: Option<bool>,
390    /// Configures the Ory Kratos Session use_continue_with_transitions flag  This governs the \"feature_flags.use_continue_with_transitions\" setting.
391    #[serde(rename = "kratos_feature_flags_use_continue_with_transitions", skip_serializing_if = "Option::is_none")]
392    pub kratos_feature_flags_use_continue_with_transitions: Option<bool>,
393    #[serde(rename = "kratos_identity_schemas", skip_serializing_if = "Option::is_none")]
394    pub kratos_identity_schemas: Option<Vec<models::NormalizedProjectRevisionIdentitySchema>>,
395    /// Configures the OAuth2 Provider Integration HTTP Headers  This governs the \"oauth2_provider.headers\" setting.
396    #[serde(rename = "kratos_oauth2_provider_headers", skip_serializing_if = "Option::is_none")]
397    pub kratos_oauth2_provider_headers: Option<serde_json::Value>,
398    /// 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.  This governs the \"oauth2_provider.override_return_to\" setting.
399    #[serde(rename = "kratos_oauth2_provider_override_return_to", skip_serializing_if = "Option::is_none")]
400    pub kratos_oauth2_provider_override_return_to: Option<bool>,
401    /// The Revisions' OAuth2 Provider Integration URL  This governs the \"oauth2_provider.url\" setting.
402    #[serde(rename = "kratos_oauth2_provider_url", skip_serializing_if = "Option::is_none")]
403    pub kratos_oauth2_provider_url: Option<String>,
404    /// Configures the default read consistency level for identity APIs  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. This governs the \"preview.default_read_consistency_level\" setting.
405    #[serde(rename = "kratos_preview_default_read_consistency_level", skip_serializing_if = "Option::is_none")]
406    pub kratos_preview_default_read_consistency_level: Option<String>,
407    /// Configures the Ory Kratos Cipher Secret  This governs the \"secrets.cipher\" setting.
408    #[serde(rename = "kratos_secrets_cipher", skip_serializing_if = "Option::is_none")]
409    pub kratos_secrets_cipher: Option<Vec<String>>,
410    /// Configures the Ory Kratos Cookie Secret  This governs the \"secrets.cookie\" setting.
411    #[serde(rename = "kratos_secrets_cookie", skip_serializing_if = "Option::is_none")]
412    pub kratos_secrets_cookie: Option<Vec<String>>,
413    /// Configures the Ory Kratos Default Secret  This governs the \"secrets.default\" setting.
414    #[serde(rename = "kratos_secrets_default", skip_serializing_if = "Option::is_none")]
415    pub kratos_secrets_default: Option<Vec<String>>,
416    /// Configures the Ory Kratos Pagination Secret  This governs the \"secrets.pagination\" setting.
417    #[serde(rename = "kratos_secrets_pagination", skip_serializing_if = "Option::is_none")]
418    pub kratos_secrets_pagination: Option<Vec<String>>,
419    /// Configures if account enumeration should be mitigated when using identifier first login.  This governs the \"security.account_enumeration.mitigate\" setting.
420    #[serde(rename = "kratos_security_account_enumeration_mitigate", skip_serializing_if = "Option::is_none")]
421    pub kratos_security_account_enumeration_mitigate: Option<bool>,
422    /// Configures the Ory Kratos Allowed Return URLs  This governs the \"selfservice.allowed_return_urls\" setting.
423    #[serde(rename = "kratos_selfservice_allowed_return_urls", skip_serializing_if = "Option::is_none")]
424    pub kratos_selfservice_allowed_return_urls: Option<Vec<String>>,
425    /// Configures the Ory Kratos Default Return URL  This governs the \"selfservice.default_browser_return_url\" setting.
426    #[serde(rename = "kratos_selfservice_default_browser_return_url", skip_serializing_if = "Option::is_none")]
427    pub kratos_selfservice_default_browser_return_url: Option<String>,
428    /// Configures the Ory Kratos Error UI URL  This governs the \"selfservice.flows.error.ui_url\" setting.
429    #[serde(rename = "kratos_selfservice_flows_error_ui_url", skip_serializing_if = "Option::is_none")]
430    pub kratos_selfservice_flows_error_ui_url: Option<String>,
431    /// Configures the Ory Kratos Login After Code Default Return URL  This governs the \"selfservice.flows.login.after.code.default_browser_return_url\" setting.
432    #[serde(rename = "kratos_selfservice_flows_login_after_code_default_browser_return_url", skip_serializing_if = "Option::is_none")]
433    pub kratos_selfservice_flows_login_after_code_default_browser_return_url: Option<String>,
434    /// Configures the Ory Kratos Login Default Return URL  This governs the \"selfservice.flows.login.after.default_browser_return_url\" setting.
435    #[serde(rename = "kratos_selfservice_flows_login_after_default_browser_return_url", skip_serializing_if = "Option::is_none")]
436    pub kratos_selfservice_flows_login_after_default_browser_return_url: Option<String>,
437    /// Configures the Ory Kratos Login After Lookup Secret Default Return URL  This governs the \"selfservice.flows.login.after.lookup_secret.default_browser_return_url\" setting.
438    #[serde(rename = "kratos_selfservice_flows_login_after_lookup_secret_default_browser_return_url", skip_serializing_if = "Option::is_none")]
439    pub kratos_selfservice_flows_login_after_lookup_secret_default_browser_return_url: Option<String>,
440    /// Configures the Ory Kratos Login After OIDC Default Return URL  This governs the \"selfservice.flows.login.after.oidc.default_browser_return_url\" setting.
441    #[serde(rename = "kratos_selfservice_flows_login_after_oidc_default_browser_return_url", skip_serializing_if = "Option::is_none")]
442    pub kratos_selfservice_flows_login_after_oidc_default_browser_return_url: Option<String>,
443    /// Configures the Ory Kratos Login After Passkey Default Return URL  This governs the \"selfservice.flows.login.after.passkey.default_browser_return_url\" setting.
444    #[serde(rename = "kratos_selfservice_flows_login_after_passkey_default_browser_return_url", skip_serializing_if = "Option::is_none")]
445    pub kratos_selfservice_flows_login_after_passkey_default_browser_return_url: Option<String>,
446    /// Configures the Ory Kratos Login After Password Default Return URL  This governs the \"selfservice.flows.login.after.password.default_browser_return_url\" setting.
447    #[serde(rename = "kratos_selfservice_flows_login_after_password_default_browser_return_url", skip_serializing_if = "Option::is_none")]
448    pub kratos_selfservice_flows_login_after_password_default_browser_return_url: Option<String>,
449    /// Configures the Ory Kratos Login After TOTP Default Return URL  This governs the \"selfservice.flows.login.after.totp.default_browser_return_url\" setting.
450    #[serde(rename = "kratos_selfservice_flows_login_after_totp_default_browser_return_url", skip_serializing_if = "Option::is_none")]
451    pub kratos_selfservice_flows_login_after_totp_default_browser_return_url: Option<String>,
452    /// Configures the Ory Kratos Login After WebAuthn Default Return URL  This governs the \"selfservice.flows.login.after.webauthn.default_browser_return_url\" setting.
453    #[serde(rename = "kratos_selfservice_flows_login_after_webauthn_default_browser_return_url", skip_serializing_if = "Option::is_none")]
454    pub kratos_selfservice_flows_login_after_webauthn_default_browser_return_url: Option<String>,
455    /// Configures the Ory Kratos Login Lifespan  This governs the \"selfservice.flows.login.lifespan\" setting.
456    #[serde(rename = "kratos_selfservice_flows_login_lifespan", skip_serializing_if = "Option::is_none")]
457    pub kratos_selfservice_flows_login_lifespan: Option<String>,
458    /// Configures the Ory Kratos Login Flow Style  This governs the \"selfservice.flows.login.style\" setting. Possible values are \"unified\" and \"identifier_first\".
459    #[serde(rename = "kratos_selfservice_flows_login_style", skip_serializing_if = "Option::is_none")]
460    pub kratos_selfservice_flows_login_style: Option<String>,
461    /// Configures the Ory Kratos Login UI URL  This governs the \"selfservice.flows.login.ui_url\" setting.
462    #[serde(rename = "kratos_selfservice_flows_login_ui_url", skip_serializing_if = "Option::is_none")]
463    pub kratos_selfservice_flows_login_ui_url: Option<String>,
464    /// Configures the Ory Kratos Logout Default Return URL  This governs the \"selfservice.flows.logout.after.default_browser_return_url\" setting.
465    #[serde(rename = "kratos_selfservice_flows_logout_after_default_browser_return_url", skip_serializing_if = "Option::is_none")]
466    pub kratos_selfservice_flows_logout_after_default_browser_return_url: Option<String>,
467    /// Configures the Ory Kratos Recovery Default Return URL  This governs the \"selfservice.flows.recovery.after.default_browser_return_url\" setting.
468    #[serde(rename = "kratos_selfservice_flows_recovery_after_default_browser_return_url", skip_serializing_if = "Option::is_none")]
469    pub kratos_selfservice_flows_recovery_after_default_browser_return_url: Option<String>,
470    /// Configures the Ory Kratos Recovery Enabled Setting  This governs the \"selfservice.flows.recovery.enabled\" setting.
471    #[serde(rename = "kratos_selfservice_flows_recovery_enabled", skip_serializing_if = "Option::is_none")]
472    pub kratos_selfservice_flows_recovery_enabled: Option<bool>,
473    /// Configures the Ory Kratos Recovery Lifespan  This governs the \"selfservice.flows.recovery.lifespan\" setting.
474    #[serde(rename = "kratos_selfservice_flows_recovery_lifespan", skip_serializing_if = "Option::is_none")]
475    pub kratos_selfservice_flows_recovery_lifespan: Option<String>,
476    /// Configures whether to notify unknown recipients of a Ory Kratos recovery flow  This governs the \"selfservice.flows.recovery.notify_unknown_recipients\" setting.
477    #[serde(rename = "kratos_selfservice_flows_recovery_notify_unknown_recipients", skip_serializing_if = "Option::is_none")]
478    pub kratos_selfservice_flows_recovery_notify_unknown_recipients: Option<bool>,
479    /// Configures the Ory Kratos Recovery UI URL  This governs the \"selfservice.flows.recovery.ui_url\" setting.
480    #[serde(rename = "kratos_selfservice_flows_recovery_ui_url", skip_serializing_if = "Option::is_none")]
481    pub kratos_selfservice_flows_recovery_ui_url: Option<String>,
482    /// Configures the Ory Kratos Recovery strategy to use (\"link\" or \"code\")  This governs the \"selfservice.flows.recovery.use\" setting. link SelfServiceMessageVerificationStrategyLink code SelfServiceMessageVerificationStrategyCode
483    #[serde(rename = "kratos_selfservice_flows_recovery_use", skip_serializing_if = "Option::is_none")]
484    pub kratos_selfservice_flows_recovery_use: Option<KratosSelfserviceFlowsRecoveryUseEnum>,
485    /// Configures the Ory Kratos Registration After Code Default Return URL  This governs the \"selfservice.flows.registration.after.code.default_browser_return_url\" setting.
486    #[serde(rename = "kratos_selfservice_flows_registration_after_code_default_browser_return_url", skip_serializing_if = "Option::is_none")]
487    pub kratos_selfservice_flows_registration_after_code_default_browser_return_url: Option<String>,
488    /// Configures the Ory Kratos Registration Default Return URL  This governs the \"selfservice.flows.registration.after.default_browser_return_url\" setting.
489    #[serde(rename = "kratos_selfservice_flows_registration_after_default_browser_return_url", skip_serializing_if = "Option::is_none")]
490    pub kratos_selfservice_flows_registration_after_default_browser_return_url: Option<String>,
491    /// Configures the Ory Kratos Registration After OIDC Default Return URL  This governs the \"selfservice.flows.registration.after.oidc.default_browser_return_url\" setting.
492    #[serde(rename = "kratos_selfservice_flows_registration_after_oidc_default_browser_return_url", skip_serializing_if = "Option::is_none")]
493    pub kratos_selfservice_flows_registration_after_oidc_default_browser_return_url: Option<String>,
494    /// Configures the Ory Kratos Registration After Passkey Default Return URL  This governs the \"selfservice.flows.registration.after.passkey.default_browser_return_url\" setting.
495    #[serde(rename = "kratos_selfservice_flows_registration_after_passkey_default_browser_return_url", skip_serializing_if = "Option::is_none")]
496    pub kratos_selfservice_flows_registration_after_passkey_default_browser_return_url: Option<String>,
497    /// Configures the Ory Kratos Registration After Password Default Return URL  This governs the \"selfservice.flows.registration.after.password.default_browser_return_url\" setting.
498    #[serde(rename = "kratos_selfservice_flows_registration_after_password_default_browser_return_url", skip_serializing_if = "Option::is_none")]
499    pub kratos_selfservice_flows_registration_after_password_default_browser_return_url: Option<String>,
500    /// Configures the Ory Kratos Registration After Webauthn Default Return URL  This governs the \"selfservice.flows.registration.after.webauthn.default_browser_return_url\" setting.
501    #[serde(rename = "kratos_selfservice_flows_registration_after_webauthn_default_browser_return_url", skip_serializing_if = "Option::is_none")]
502    pub kratos_selfservice_flows_registration_after_webauthn_default_browser_return_url: Option<String>,
503    /// 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.
504    #[serde(rename = "kratos_selfservice_flows_registration_enable_legacy_one_step", skip_serializing_if = "Option::is_none")]
505    pub kratos_selfservice_flows_registration_enable_legacy_one_step: Option<bool>,
506    /// Configures the Whether Ory Kratos Registration is Enabled  This governs the \"selfservice.flows.registration.enabled\" setting.0
507    #[serde(rename = "kratos_selfservice_flows_registration_enabled", skip_serializing_if = "Option::is_none")]
508    pub kratos_selfservice_flows_registration_enabled: Option<bool>,
509    /// Configures the Ory Kratos Registration Lifespan  This governs the \"selfservice.flows.registration.lifespan\" setting.
510    #[serde(rename = "kratos_selfservice_flows_registration_lifespan", skip_serializing_if = "Option::is_none")]
511    pub kratos_selfservice_flows_registration_lifespan: Option<String>,
512    /// 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.
513    #[serde(rename = "kratos_selfservice_flows_registration_login_hints", skip_serializing_if = "Option::is_none")]
514    pub kratos_selfservice_flows_registration_login_hints: Option<bool>,
515    /// Configures the Ory Kratos Registration UI URL  This governs the \"selfservice.flows.registration.ui_url\" setting.
516    #[serde(rename = "kratos_selfservice_flows_registration_ui_url", skip_serializing_if = "Option::is_none")]
517    pub kratos_selfservice_flows_registration_ui_url: Option<String>,
518    /// Configures the Ory Kratos Settings Default Return URL  This governs the \"selfservice.flows.settings.after.default_browser_return_url\" setting.
519    #[serde(rename = "kratos_selfservice_flows_settings_after_default_browser_return_url", skip_serializing_if = "Option::is_none")]
520    pub kratos_selfservice_flows_settings_after_default_browser_return_url: Option<String>,
521    /// 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.
522    #[serde(rename = "kratos_selfservice_flows_settings_after_lookup_secret_default_browser_return_url", skip_serializing_if = "Option::is_none")]
523    pub kratos_selfservice_flows_settings_after_lookup_secret_default_browser_return_url: Option<String>,
524    /// 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.
525    #[serde(rename = "kratos_selfservice_flows_settings_after_oidc_default_browser_return_url", skip_serializing_if = "Option::is_none")]
526    pub kratos_selfservice_flows_settings_after_oidc_default_browser_return_url: Option<String>,
527    /// Configures the Ory Kratos Settings Default Return URL After Updating Passkey  This governs the \"selfservice.flows.settings.after.passkey.default_browser_return_url\" setting.
528    #[serde(rename = "kratos_selfservice_flows_settings_after_passkey_default_browser_return_url", skip_serializing_if = "Option::is_none")]
529    pub kratos_selfservice_flows_settings_after_passkey_default_browser_return_url: Option<String>,
530    /// Configures the Ory Kratos Settings Default Return URL After Updating Passwords  This governs the \"selfservice.flows.settings.after.password.default_browser_return_url\" setting.
531    #[serde(rename = "kratos_selfservice_flows_settings_after_password_default_browser_return_url", skip_serializing_if = "Option::is_none")]
532    pub kratos_selfservice_flows_settings_after_password_default_browser_return_url: Option<String>,
533    /// Configures the Ory Kratos Settings Default Return URL After Updating Profiles  This governs the \"selfservice.flows.settings.after.profile.default_browser_return_url\" setting.
534    #[serde(rename = "kratos_selfservice_flows_settings_after_profile_default_browser_return_url", skip_serializing_if = "Option::is_none")]
535    pub kratos_selfservice_flows_settings_after_profile_default_browser_return_url: Option<String>,
536    /// Configures the Ory Kratos Settings Default Return URL After Updating TOTP  This governs the \"selfservice.flows.settings.after.totp.default_browser_return_url\" setting.
537    #[serde(rename = "kratos_selfservice_flows_settings_after_totp_default_browser_return_url", skip_serializing_if = "Option::is_none")]
538    pub kratos_selfservice_flows_settings_after_totp_default_browser_return_url: Option<String>,
539    /// Configures the Ory Kratos Settings Default Return URL After Updating WebAuthn  This governs the \"selfservice.flows.settings.after.webauthn.default_browser_return_url\" setting.
540    #[serde(rename = "kratos_selfservice_flows_settings_after_webauthn_default_browser_return_url", skip_serializing_if = "Option::is_none")]
541    pub kratos_selfservice_flows_settings_after_webauthn_default_browser_return_url: Option<String>,
542    /// Configures the Ory Kratos Settings Lifespan  This governs the \"selfservice.flows.settings.lifespan\" setting.
543    #[serde(rename = "kratos_selfservice_flows_settings_lifespan", skip_serializing_if = "Option::is_none")]
544    pub kratos_selfservice_flows_settings_lifespan: Option<String>,
545    /// Configures the Ory Kratos Settings Privileged Session Max Age  This governs the \"selfservice.flows.settings.privileged_session_max_age\" setting.
546    #[serde(rename = "kratos_selfservice_flows_settings_privileged_session_max_age", skip_serializing_if = "Option::is_none")]
547    pub kratos_selfservice_flows_settings_privileged_session_max_age: Option<String>,
548    /// Configures the Ory Kratos Settings Required AAL  This governs the \"selfservice.flows.settings.required_aal\" setting.
549    #[serde(rename = "kratos_selfservice_flows_settings_required_aal", skip_serializing_if = "Option::is_none")]
550    pub kratos_selfservice_flows_settings_required_aal: Option<String>,
551    /// Configures the Ory Kratos Settings UI URL  This governs the \"selfservice.flows.settings.ui_url\" setting.
552    #[serde(rename = "kratos_selfservice_flows_settings_ui_url", skip_serializing_if = "Option::is_none")]
553    pub kratos_selfservice_flows_settings_ui_url: Option<String>,
554    /// Configures the Ory Kratos Verification Default Return URL  This governs the \"selfservice.flows.verification.after.default_browser_return_url\" setting.
555    #[serde(rename = "kratos_selfservice_flows_verification_after_default_browser_return_url", skip_serializing_if = "Option::is_none")]
556    pub kratos_selfservice_flows_verification_after_default_browser_return_url: Option<String>,
557    /// Configures the Ory Kratos Verification Enabled Setting  This governs the \"selfservice.flows.verification.enabled\" setting.
558    #[serde(rename = "kratos_selfservice_flows_verification_enabled", skip_serializing_if = "Option::is_none")]
559    pub kratos_selfservice_flows_verification_enabled: Option<bool>,
560    /// Configures the Ory Kratos Verification Lifespan  This governs the \"selfservice.flows.verification.lifespan\" setting.
561    #[serde(rename = "kratos_selfservice_flows_verification_lifespan", skip_serializing_if = "Option::is_none")]
562    pub kratos_selfservice_flows_verification_lifespan: Option<String>,
563    /// Configures whether to notify unknown recipients of a Ory Kratos verification flow  This governs the \"selfservice.flows.verification.notify_unknown_recipients\" setting.
564    #[serde(rename = "kratos_selfservice_flows_verification_notify_unknown_recipients", skip_serializing_if = "Option::is_none")]
565    pub kratos_selfservice_flows_verification_notify_unknown_recipients: Option<bool>,
566    /// Configures the Ory Kratos Verification UI URL  This governs the \"selfservice.flows.verification.ui_url\" setting.
567    #[serde(rename = "kratos_selfservice_flows_verification_ui_url", skip_serializing_if = "Option::is_none")]
568    pub kratos_selfservice_flows_verification_ui_url: Option<String>,
569    /// Configures the Ory Kratos Strategy to use for Verification  This governs the \"selfservice.flows.verification.use\" setting. link SelfServiceMessageVerificationStrategyLink code SelfServiceMessageVerificationStrategyCode
570    #[serde(rename = "kratos_selfservice_flows_verification_use", skip_serializing_if = "Option::is_none")]
571    pub kratos_selfservice_flows_verification_use: Option<KratosSelfserviceFlowsVerificationUseEnum>,
572    /// Configures the CAPTCHA allowed domains list  This governs the \"selfservice.methods.captcha.config.allowed_domains\" setting.
573    #[serde(rename = "kratos_selfservice_methods_captcha_config_allowed_domains", skip_serializing_if = "Option::is_none")]
574    pub kratos_selfservice_methods_captcha_config_allowed_domains: Option<Vec<String>>,
575    /// Configures whether to use BYO or managed widget  Reach out to your account manager to enable this feature.  This governs the \"selfservice.methods.captcha.config.byo\" setting.
576    #[serde(rename = "kratos_selfservice_methods_captcha_config_byo", skip_serializing_if = "Option::is_none")]
577    pub kratos_selfservice_methods_captcha_config_byo: Option<bool>,
578    /// Configures the Cloudflare Turnstile site secret for Ory BYO CAPTCHA protection  The site secret is private and will be never be shared with the client. This key is write only and the value will not be returned in response to a read request.  Reach out to your account manager to enable this feature.  This governs the \"selfservice.methods.captcha.config.cf_turnstile.secret\" setting.
579    #[serde(rename = "kratos_selfservice_methods_captcha_config_cf_turnstile_byo_secret", skip_serializing_if = "Option::is_none")]
580    pub kratos_selfservice_methods_captcha_config_cf_turnstile_byo_secret: Option<String>,
581    /// Configures the Cloudflare Turnstile site key for Ory BYO CAPTCHA protection  The site key is public and will be shared with the client.  Reach out to your account manager to enable this feature.  This governs the \"selfservice.methods.captcha.config.cf_turnstile.sitekey\" setting.
582    #[serde(rename = "kratos_selfservice_methods_captcha_config_cf_turnstile_byo_sitekey", skip_serializing_if = "Option::is_none")]
583    pub kratos_selfservice_methods_captcha_config_cf_turnstile_byo_sitekey: Option<String>,
584    /// Configures the Cloudflare Turnstile site secret for managed CAPTCHA protection  The site secret is private and will be never be shared with the client. This key is write only and the value will not be returned in response to a read request.  Reach out to your account manager to enable this feature.  This governs the \"selfservice.methods.captcha.config.cf_turnstile.secret\" setting.
585    #[serde(rename = "kratos_selfservice_methods_captcha_config_cf_turnstile_secret", skip_serializing_if = "Option::is_none")]
586    pub kratos_selfservice_methods_captcha_config_cf_turnstile_secret: Option<String>,
587    /// Configures the Cloudflare Turnstile site key for managed CAPTCHA protection  The site key is public and will be shared with the client.  Reach out to your account manager to enable this feature.  This governs the \"selfservice.methods.captcha.config.cf_turnstile.sitekey\" setting.
588    #[serde(rename = "kratos_selfservice_methods_captcha_config_cf_turnstile_sitekey", skip_serializing_if = "Option::is_none")]
589    pub kratos_selfservice_methods_captcha_config_cf_turnstile_sitekey: Option<String>,
590    /// Configures legacy CAPTCHA node injection behavior  Reach out to your account manager to enable this feature.  This governs the \"selfservice.methods.captcha.config.legacy_inject_node\" setting.
591    #[serde(rename = "kratos_selfservice_methods_captcha_config_legacy_inject_node", skip_serializing_if = "Option::is_none")]
592    pub kratos_selfservice_methods_captcha_config_legacy_inject_node: Option<bool>,
593    /// Configures the Ory Kratos Self-Service Methods' Captcha Enabled Setting  Reach out to your account manager to enable this feature.  This governs the \"selfservice.methods.captcha.enabled\" setting.
594    #[serde(rename = "kratos_selfservice_methods_captcha_enabled", skip_serializing_if = "Option::is_none")]
595    pub kratos_selfservice_methods_captcha_enabled: Option<bool>,
596    /// Configures the Ory Kratos Code Method's lifespan  This governs the \"selfservice.methods.code.config.lifespan\" setting.
597    #[serde(rename = "kratos_selfservice_methods_code_config_lifespan", skip_serializing_if = "Option::is_none")]
598    pub kratos_selfservice_methods_code_config_lifespan: Option<String>,
599    /// Configures the maximum number of attempts to submit a one-time code in kratos.  This governs the \"selfservice.methods.code.max_submissions\" setting.
600    #[serde(rename = "kratos_selfservice_methods_code_config_max_submissions", skip_serializing_if = "Option::is_none")]
601    pub kratos_selfservice_methods_code_config_max_submissions: Option<i64>,
602    /// Enables a fallback method required in certain legacy use cases.  This governs the \"selfservice.methods.code.config.missing_credential_fallback_enabled\" setting.
603    #[serde(rename = "kratos_selfservice_methods_code_config_missing_credential_fallback_enabled", skip_serializing_if = "Option::is_none")]
604    pub kratos_selfservice_methods_code_config_missing_credential_fallback_enabled: Option<bool>,
605    /// Configures whether Ory Kratos Code Method is enabled  This governs the \"selfservice.methods.code.enabled\" setting.
606    #[serde(rename = "kratos_selfservice_methods_code_enabled", skip_serializing_if = "Option::is_none")]
607    pub kratos_selfservice_methods_code_enabled: Option<bool>,
608    /// Configures whether the code method can be used to fulfil MFA flows  This governs the \"selfservice.methods.code.mfa_enabled\" setting.
609    #[serde(rename = "kratos_selfservice_methods_code_mfa_enabled", skip_serializing_if = "Option::is_none")]
610    pub kratos_selfservice_methods_code_mfa_enabled: Option<bool>,
611    /// Configures whether Ory Kratos Passwordless should use the Code Method  This governs the \"selfservice.methods.code.passwordless_enabled\" setting.
612    #[serde(rename = "kratos_selfservice_methods_code_passwordless_enabled", skip_serializing_if = "Option::is_none")]
613    pub kratos_selfservice_methods_code_passwordless_enabled: Option<bool>,
614    /// 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.
615    #[serde(rename = "kratos_selfservice_methods_code_passwordless_login_fallback_enabled", skip_serializing_if = "Option::is_none")]
616    pub kratos_selfservice_methods_code_passwordless_login_fallback_enabled: Option<bool>,
617    /// 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.
618    #[serde(rename = "kratos_selfservice_methods_link_config_base_url", skip_serializing_if = "Option::is_none")]
619    pub kratos_selfservice_methods_link_config_base_url: Option<String>,
620    /// Configures the Ory Kratos Link Method's lifespan  This governs the \"selfservice.methods.link.config.lifespan\" setting.
621    #[serde(rename = "kratos_selfservice_methods_link_config_lifespan", skip_serializing_if = "Option::is_none")]
622    pub kratos_selfservice_methods_link_config_lifespan: Option<String>,
623    /// Configures whether Ory Kratos Link Method is enabled  This governs the \"selfservice.methods.link.enabled\" setting.
624    #[serde(rename = "kratos_selfservice_methods_link_enabled", skip_serializing_if = "Option::is_none")]
625    pub kratos_selfservice_methods_link_enabled: Option<bool>,
626    /// Configures whether Ory Kratos TOTP Lookup Secret is enabled  This governs the \"selfservice.methods.lookup_secret.enabled\" setting.
627    #[serde(rename = "kratos_selfservice_methods_lookup_secret_enabled", skip_serializing_if = "Option::is_none")]
628    pub kratos_selfservice_methods_lookup_secret_enabled: Option<bool>,
629    /// Configures the Ory Kratos Third Party / OpenID Connect base redirect URI  This governs the \"selfservice.methods.oidc.config.base_redirect_uri\" setting.
630    #[serde(rename = "kratos_selfservice_methods_oidc_config_base_redirect_uri", skip_serializing_if = "Option::is_none")]
631    pub kratos_selfservice_methods_oidc_config_base_redirect_uri: Option<String>,
632    #[serde(rename = "kratos_selfservice_methods_oidc_config_providers", skip_serializing_if = "Option::is_none")]
633    pub kratos_selfservice_methods_oidc_config_providers: Option<Vec<models::NormalizedProjectRevisionThirdPartyProvider>>,
634    /// Configures whether Ory Kratos allows auto-linking of OIDC credentials without a subject  This governs the \"selfservice.methods.oidc.enable_auto_link_policy\" setting.
635    #[serde(rename = "kratos_selfservice_methods_oidc_enable_auto_link_policy", skip_serializing_if = "Option::is_none")]
636    pub kratos_selfservice_methods_oidc_enable_auto_link_policy: Option<bool>,
637    /// Configures whether Ory Kratos Third Party / OpenID Connect Login is enabled  This governs the \"selfservice.methods.oidc.enabled\" setting.
638    #[serde(rename = "kratos_selfservice_methods_oidc_enabled", skip_serializing_if = "Option::is_none")]
639    pub kratos_selfservice_methods_oidc_enabled: Option<bool>,
640    /// Configures the Ory Kratos Passkey RP Display Name  This governs the \"selfservice.methods.passkey.config.rp.display_name\" setting.
641    #[serde(rename = "kratos_selfservice_methods_passkey_config_rp_display_name", skip_serializing_if = "Option::is_none")]
642    pub kratos_selfservice_methods_passkey_config_rp_display_name: Option<String>,
643    /// Configures the Ory Kratos Passkey RP ID  This governs the \"selfservice.methods.passkey.config.rp.id\" setting.
644    #[serde(rename = "kratos_selfservice_methods_passkey_config_rp_id", skip_serializing_if = "Option::is_none")]
645    pub kratos_selfservice_methods_passkey_config_rp_id: Option<String>,
646    /// Configures the Ory Kratos Passkey RP Origins  This governs the \"selfservice.methods.passkey.config.rp.origins\" setting.
647    #[serde(rename = "kratos_selfservice_methods_passkey_config_rp_origins", skip_serializing_if = "Option::is_none")]
648    pub kratos_selfservice_methods_passkey_config_rp_origins: Option<Vec<String>>,
649    /// Configures whether Ory Kratos Passkey authentication is enabled  This governs the \"selfservice.methods.passkey.enabled\" setting.
650    #[serde(rename = "kratos_selfservice_methods_passkey_enabled", skip_serializing_if = "Option::is_none")]
651    pub kratos_selfservice_methods_passkey_enabled: Option<bool>,
652    /// Configures whether Ory Kratos Password HIBP Checks is enabled  This governs the \"selfservice.methods.password.config.haveibeenpwned_enabled\" setting.
653    #[serde(rename = "kratos_selfservice_methods_password_config_haveibeenpwned_enabled", skip_serializing_if = "Option::is_none")]
654    pub kratos_selfservice_methods_password_config_haveibeenpwned_enabled: Option<bool>,
655    /// Configures whether Ory Kratos Password should disable the similarity policy.  This governs the \"selfservice.methods.password.config.identifier_similarity_check_enabled\" setting.
656    #[serde(rename = "kratos_selfservice_methods_password_config_identifier_similarity_check_enabled", skip_serializing_if = "Option::is_none")]
657    pub kratos_selfservice_methods_password_config_identifier_similarity_check_enabled: Option<bool>,
658    /// Configures whether Ory Kratos Password Should ignore HIBPWND Network Errors  This governs the \"selfservice.methods.password.config.ignore_network_errors\" setting.
659    #[serde(rename = "kratos_selfservice_methods_password_config_ignore_network_errors", skip_serializing_if = "Option::is_none")]
660    pub kratos_selfservice_methods_password_config_ignore_network_errors: Option<bool>,
661    /// Configures Ory Kratos Password Max Breaches Detection  This governs the \"selfservice.methods.password.config.max_breaches\" setting.
662    #[serde(rename = "kratos_selfservice_methods_password_config_max_breaches", skip_serializing_if = "Option::is_none")]
663    pub kratos_selfservice_methods_password_config_max_breaches: Option<i64>,
664    /// Configures the minimum length of passwords.  This governs the \"selfservice.methods.password.config.min_password_length\" setting.
665    #[serde(rename = "kratos_selfservice_methods_password_config_min_password_length", skip_serializing_if = "Option::is_none")]
666    pub kratos_selfservice_methods_password_config_min_password_length: Option<i64>,
667    /// Configures whether Ory Kratos Password Method is enabled  This governs the \"selfservice.methods.password.enabled\" setting.
668    #[serde(rename = "kratos_selfservice_methods_password_enabled", skip_serializing_if = "Option::is_none")]
669    pub kratos_selfservice_methods_password_enabled: Option<bool>,
670    /// Configures whether Ory Kratos Profile Method is enabled  This governs the \"selfservice.methods.profile.enabled\" setting.
671    #[serde(rename = "kratos_selfservice_methods_profile_enabled", skip_serializing_if = "Option::is_none")]
672    pub kratos_selfservice_methods_profile_enabled: Option<bool>,
673    #[serde(rename = "kratos_selfservice_methods_saml_config_providers", skip_serializing_if = "Option::is_none")]
674    pub kratos_selfservice_methods_saml_config_providers: Option<Vec<models::NormalizedProjectRevisionSamlProvider>>,
675    /// Configures whether Ory Kratos SAML Login is enabled  This governs the \"selfservice.methods.saml.enabled\" setting.
676    #[serde(rename = "kratos_selfservice_methods_saml_enabled", skip_serializing_if = "Option::is_none")]
677    pub kratos_selfservice_methods_saml_enabled: Option<bool>,
678    /// Configures Ory Kratos TOTP Issuer  This governs the \"selfservice.methods.totp.config.issuer\" setting.
679    #[serde(rename = "kratos_selfservice_methods_totp_config_issuer", skip_serializing_if = "Option::is_none")]
680    pub kratos_selfservice_methods_totp_config_issuer: Option<String>,
681    /// Configures whether Ory Kratos TOTP Method is enabled  This governs the \"selfservice.methods.totp.enabled\" setting.
682    #[serde(rename = "kratos_selfservice_methods_totp_enabled", skip_serializing_if = "Option::is_none")]
683    pub kratos_selfservice_methods_totp_enabled: Option<bool>,
684    /// Configures whether Ory Kratos Webauthn is used for passwordless flows  This governs the \"selfservice.methods.webauthn.config.passwordless\" setting.
685    #[serde(rename = "kratos_selfservice_methods_webauthn_config_passwordless", skip_serializing_if = "Option::is_none")]
686    pub kratos_selfservice_methods_webauthn_config_passwordless: Option<bool>,
687    /// Configures the Ory Kratos Webauthn RP Display Name  This governs the \"selfservice.methods.webauthn.config.rp.display_name\" setting.
688    #[serde(rename = "kratos_selfservice_methods_webauthn_config_rp_display_name", skip_serializing_if = "Option::is_none")]
689    pub kratos_selfservice_methods_webauthn_config_rp_display_name: Option<String>,
690    /// 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.
691    #[serde(rename = "kratos_selfservice_methods_webauthn_config_rp_icon", skip_serializing_if = "Option::is_none")]
692    pub kratos_selfservice_methods_webauthn_config_rp_icon: Option<String>,
693    /// Configures the Ory Kratos Webauthn RP ID  This governs the \"selfservice.methods.webauthn.config.rp.id\" setting.
694    #[serde(rename = "kratos_selfservice_methods_webauthn_config_rp_id", skip_serializing_if = "Option::is_none")]
695    pub kratos_selfservice_methods_webauthn_config_rp_id: Option<String>,
696    /// Configures the Ory Kratos Webauthn RP Origins  This governs the \"selfservice.methods.webauthn.config.rp.origins\" setting.
697    #[serde(rename = "kratos_selfservice_methods_webauthn_config_rp_origins", skip_serializing_if = "Option::is_none")]
698    pub kratos_selfservice_methods_webauthn_config_rp_origins: Option<Vec<String>>,
699    /// Configures whether Ory Kratos Webauthn is enabled  This governs the \"selfservice.methods.webauthn.enabled\" setting.
700    #[serde(rename = "kratos_selfservice_methods_webauthn_enabled", skip_serializing_if = "Option::is_none")]
701    pub kratos_selfservice_methods_webauthn_enabled: Option<bool>,
702    /// Configures the Ory Kratos Session Cookie Persistent Attribute  This governs the \"session.cookie.persistent\" setting.
703    #[serde(rename = "kratos_session_cookie_persistent", skip_serializing_if = "Option::is_none")]
704    pub kratos_session_cookie_persistent: Option<bool>,
705    /// Configures the Ory Kratos Session Cookie SameSite Attribute  This governs the \"session.cookie.same_site\" setting.
706    #[serde(rename = "kratos_session_cookie_same_site", skip_serializing_if = "Option::is_none")]
707    pub kratos_session_cookie_same_site: Option<String>,
708    /// Configures the Ory Kratos Session Lifespan  This governs the \"session.lifespan\" setting.
709    #[serde(rename = "kratos_session_lifespan", skip_serializing_if = "Option::is_none")]
710    pub kratos_session_lifespan: Option<String>,
711    /// Configures the Ory Kratos Session Whoami AAL requirement  This governs the \"session.whoami.required_aal\" setting.
712    #[serde(rename = "kratos_session_whoami_required_aal", skip_serializing_if = "Option::is_none")]
713    pub kratos_session_whoami_required_aal: Option<String>,
714    #[serde(rename = "kratos_session_whoami_tokenizer_templates", skip_serializing_if = "Option::is_none")]
715    pub kratos_session_whoami_tokenizer_templates: Option<Vec<models::NormalizedProjectRevisionTokenizerTemplate>>,
716    /// The project's name.
717    #[serde(rename = "name")]
718    pub name: String,
719    #[serde(rename = "organizations", skip_serializing_if = "Option::is_none")]
720    pub organizations: Option<Vec<models::Organization>>,
721    /// The Revision's Project ID
722    #[serde(rename = "project_id", skip_serializing_if = "Option::is_none")]
723    pub project_id: Option<String>,
724    #[serde(rename = "project_revision_hooks", skip_serializing_if = "Option::is_none")]
725    pub project_revision_hooks: Option<Vec<models::NormalizedProjectRevisionHook>>,
726    #[serde(rename = "scim_clients", skip_serializing_if = "Option::is_none")]
727    pub scim_clients: Option<Vec<models::NormalizedProjectRevisionScimClient>>,
728    /// Configures the CORS Allowed Origins on admin APIs  This governs the \"serve.admin.cors.allowed_origins\" setting.
729    #[serde(rename = "serve_admin_cors_allowed_origins", skip_serializing_if = "Option::is_none")]
730    pub serve_admin_cors_allowed_origins: Option<Vec<String>>,
731    /// Enable CORS headers on all admin APIs  This governs the \"serve.admin.cors.enabled\" setting.
732    #[serde(rename = "serve_admin_cors_enabled", skip_serializing_if = "Option::is_none")]
733    pub serve_admin_cors_enabled: Option<bool>,
734    /// Configures the CORS Allowed Origins on public APIs  This governs the \"serve.public.cors.allowed_origins\" setting.
735    #[serde(rename = "serve_public_cors_allowed_origins", skip_serializing_if = "Option::is_none")]
736    pub serve_public_cors_allowed_origins: Option<Vec<String>>,
737    /// Enable CORS headers on all public APIs  This governs the \"serve.public.cors.enabled\" setting.
738    #[serde(rename = "serve_public_cors_enabled", skip_serializing_if = "Option::is_none")]
739    pub serve_public_cors_enabled: Option<bool>,
740    /// Whether the project should employ strict security measures. Setting this to true is recommended for going into production.
741    #[serde(rename = "strict_security", skip_serializing_if = "Option::is_none")]
742    pub strict_security: Option<bool>,
743    /// Last Time Project's Revision was Updated
744    #[serde(rename = "updated_at", skip_serializing_if = "Option::is_none")]
745    pub updated_at: Option<String>,
746    #[serde(rename = "workspace_id", skip_serializing_if = "Option::is_none")]
747    pub workspace_id: Option<String>,
748}
749
750impl CreateProjectNormalizedPayload {
751    /// Create project (normalized) request payload
752    pub fn new(environment: EnvironmentEnum, name: String) -> CreateProjectNormalizedPayload {
753        CreateProjectNormalizedPayload {
754            account_experience_custom_translations: None,
755            account_experience_default_locale: None,
756            account_experience_enabled_locales: None,
757            account_experience_favicon_dark: None,
758            account_experience_favicon_light: None,
759            account_experience_hide_ory_branding: None,
760            account_experience_hide_registration_link: None,
761            account_experience_locale_behavior: None,
762            account_experience_logo_dark: None,
763            account_experience_logo_light: None,
764            account_experience_theme_variables_dark: None,
765            account_experience_theme_variables_light: None,
766            created_at: None,
767            disable_account_experience_welcome_screen: None,
768            enable_ax_v2: None,
769            environment,
770            home_region: None,
771            hydra_oauth2_allowed_top_level_claims: None,
772            hydra_oauth2_client_credentials_default_grant_allowed_scope: None,
773            hydra_oauth2_exclude_not_before_claim: None,
774            hydra_oauth2_grant_jwt_iat_optional: None,
775            hydra_oauth2_grant_jwt_jti_optional: None,
776            hydra_oauth2_grant_jwt_max_ttl: None,
777            hydra_oauth2_grant_refresh_token_rotation_grace_period: None,
778            hydra_oauth2_mirror_top_level_claims: None,
779            hydra_oauth2_pkce_enforced: None,
780            hydra_oauth2_pkce_enforced_for_public_clients: None,
781            hydra_oauth2_preserve_ext_claims: None,
782            hydra_oauth2_refresh_token_hook: None,
783            hydra_oauth2_token_hook: None,
784            hydra_oidc_dynamic_client_registration_default_scope: None,
785            hydra_oidc_dynamic_client_registration_enabled: None,
786            hydra_oidc_subject_identifiers_pairwise_salt: None,
787            hydra_oidc_subject_identifiers_supported_types: None,
788            hydra_secrets_cookie: None,
789            hydra_secrets_pagination: None,
790            hydra_secrets_system: None,
791            hydra_serve_cookies_same_site_legacy_workaround: None,
792            hydra_serve_cookies_same_site_mode: None,
793            hydra_strategies_access_token: None,
794            hydra_strategies_jwt_scope_claim: None,
795            hydra_strategies_scope: None,
796            hydra_ttl_access_token: None,
797            hydra_ttl_auth_code: None,
798            hydra_ttl_id_token: None,
799            hydra_ttl_login_consent_request: None,
800            hydra_ttl_refresh_token: None,
801            hydra_urls_consent: None,
802            hydra_urls_error: None,
803            hydra_urls_login: None,
804            hydra_urls_logout: None,
805            hydra_urls_post_logout_redirect: None,
806            hydra_urls_registration: None,
807            hydra_urls_self_issuer: None,
808            hydra_webfinger_jwks_broadcast_keys: None,
809            hydra_webfinger_oidc_discovery_auth_url: None,
810            hydra_webfinger_oidc_discovery_client_registration_url: None,
811            hydra_webfinger_oidc_discovery_jwks_url: None,
812            hydra_webfinger_oidc_discovery_supported_claims: None,
813            hydra_webfinger_oidc_discovery_supported_scope: None,
814            hydra_webfinger_oidc_discovery_token_url: None,
815            hydra_webfinger_oidc_discovery_userinfo_url: None,
816            id: None,
817            keto_namespace_configuration: None,
818            keto_namespaces: None,
819            keto_secrets_pagination: None,
820            kratos_cookies_same_site: None,
821            kratos_courier_channels: None,
822            kratos_courier_delivery_strategy: None,
823            kratos_courier_http_request_config_auth_api_key_in: None,
824            kratos_courier_http_request_config_auth_api_key_name: None,
825            kratos_courier_http_request_config_auth_api_key_value: None,
826            kratos_courier_http_request_config_auth_basic_auth_password: None,
827            kratos_courier_http_request_config_auth_basic_auth_user: None,
828            kratos_courier_http_request_config_auth_type: None,
829            kratos_courier_http_request_config_body: None,
830            kratos_courier_http_request_config_headers: None,
831            kratos_courier_http_request_config_method: None,
832            kratos_courier_http_request_config_url: None,
833            kratos_courier_smtp_connection_uri: None,
834            kratos_courier_smtp_from_address: None,
835            kratos_courier_smtp_from_name: None,
836            kratos_courier_smtp_headers: None,
837            kratos_courier_smtp_local_name: None,
838            kratos_courier_templates_login_code_valid_email_body_html: None,
839            kratos_courier_templates_login_code_valid_email_body_plaintext: None,
840            kratos_courier_templates_login_code_valid_email_subject: None,
841            kratos_courier_templates_login_code_valid_sms_body_plaintext: None,
842            kratos_courier_templates_recovery_code_invalid_email_body_html: None,
843            kratos_courier_templates_recovery_code_invalid_email_body_plaintext: None,
844            kratos_courier_templates_recovery_code_invalid_email_subject: None,
845            kratos_courier_templates_recovery_code_valid_email_body_html: None,
846            kratos_courier_templates_recovery_code_valid_email_body_plaintext: None,
847            kratos_courier_templates_recovery_code_valid_email_subject: None,
848            kratos_courier_templates_recovery_invalid_email_body_html: None,
849            kratos_courier_templates_recovery_invalid_email_body_plaintext: None,
850            kratos_courier_templates_recovery_invalid_email_subject: None,
851            kratos_courier_templates_recovery_valid_email_body_html: None,
852            kratos_courier_templates_recovery_valid_email_body_plaintext: None,
853            kratos_courier_templates_recovery_valid_email_subject: None,
854            kratos_courier_templates_registration_code_valid_email_body_html: None,
855            kratos_courier_templates_registration_code_valid_email_body_plaintext: None,
856            kratos_courier_templates_registration_code_valid_email_subject: None,
857            kratos_courier_templates_registration_code_valid_sms_body_plaintext: None,
858            kratos_courier_templates_verification_code_invalid_email_body_html: None,
859            kratos_courier_templates_verification_code_invalid_email_body_plaintext: None,
860            kratos_courier_templates_verification_code_invalid_email_subject: None,
861            kratos_courier_templates_verification_code_valid_email_body_html: None,
862            kratos_courier_templates_verification_code_valid_email_body_plaintext: None,
863            kratos_courier_templates_verification_code_valid_email_subject: None,
864            kratos_courier_templates_verification_code_valid_sms_body_plaintext: None,
865            kratos_courier_templates_verification_invalid_email_body_html: None,
866            kratos_courier_templates_verification_invalid_email_body_plaintext: None,
867            kratos_courier_templates_verification_invalid_email_subject: None,
868            kratos_courier_templates_verification_valid_email_body_html: None,
869            kratos_courier_templates_verification_valid_email_body_plaintext: None,
870            kratos_courier_templates_verification_valid_email_subject: None,
871            kratos_feature_flags_cacheable_sessions: None,
872            kratos_feature_flags_cacheable_sessions_max_age: None,
873            kratos_feature_flags_choose_recovery_address: None,
874            kratos_feature_flags_faster_session_extend: None,
875            kratos_feature_flags_legacy_continue_with_verification_ui: None,
876            kratos_feature_flags_legacy_oidc_registration_node_group: None,
877            kratos_feature_flags_legacy_require_verified_login_error: None,
878            kratos_feature_flags_password_profile_registration_node_group: None,
879            kratos_feature_flags_use_continue_with_transitions: None,
880            kratos_identity_schemas: None,
881            kratos_oauth2_provider_headers: None,
882            kratos_oauth2_provider_override_return_to: None,
883            kratos_oauth2_provider_url: None,
884            kratos_preview_default_read_consistency_level: None,
885            kratos_secrets_cipher: None,
886            kratos_secrets_cookie: None,
887            kratos_secrets_default: None,
888            kratos_secrets_pagination: None,
889            kratos_security_account_enumeration_mitigate: None,
890            kratos_selfservice_allowed_return_urls: None,
891            kratos_selfservice_default_browser_return_url: None,
892            kratos_selfservice_flows_error_ui_url: None,
893            kratos_selfservice_flows_login_after_code_default_browser_return_url: None,
894            kratos_selfservice_flows_login_after_default_browser_return_url: None,
895            kratos_selfservice_flows_login_after_lookup_secret_default_browser_return_url: None,
896            kratos_selfservice_flows_login_after_oidc_default_browser_return_url: None,
897            kratos_selfservice_flows_login_after_passkey_default_browser_return_url: None,
898            kratos_selfservice_flows_login_after_password_default_browser_return_url: None,
899            kratos_selfservice_flows_login_after_totp_default_browser_return_url: None,
900            kratos_selfservice_flows_login_after_webauthn_default_browser_return_url: None,
901            kratos_selfservice_flows_login_lifespan: None,
902            kratos_selfservice_flows_login_style: None,
903            kratos_selfservice_flows_login_ui_url: None,
904            kratos_selfservice_flows_logout_after_default_browser_return_url: None,
905            kratos_selfservice_flows_recovery_after_default_browser_return_url: None,
906            kratos_selfservice_flows_recovery_enabled: None,
907            kratos_selfservice_flows_recovery_lifespan: None,
908            kratos_selfservice_flows_recovery_notify_unknown_recipients: None,
909            kratos_selfservice_flows_recovery_ui_url: None,
910            kratos_selfservice_flows_recovery_use: None,
911            kratos_selfservice_flows_registration_after_code_default_browser_return_url: None,
912            kratos_selfservice_flows_registration_after_default_browser_return_url: None,
913            kratos_selfservice_flows_registration_after_oidc_default_browser_return_url: None,
914            kratos_selfservice_flows_registration_after_passkey_default_browser_return_url: None,
915            kratos_selfservice_flows_registration_after_password_default_browser_return_url: None,
916            kratos_selfservice_flows_registration_after_webauthn_default_browser_return_url: None,
917            kratos_selfservice_flows_registration_enable_legacy_one_step: None,
918            kratos_selfservice_flows_registration_enabled: None,
919            kratos_selfservice_flows_registration_lifespan: None,
920            kratos_selfservice_flows_registration_login_hints: None,
921            kratos_selfservice_flows_registration_ui_url: None,
922            kratos_selfservice_flows_settings_after_default_browser_return_url: None,
923            kratos_selfservice_flows_settings_after_lookup_secret_default_browser_return_url: None,
924            kratos_selfservice_flows_settings_after_oidc_default_browser_return_url: None,
925            kratos_selfservice_flows_settings_after_passkey_default_browser_return_url: None,
926            kratos_selfservice_flows_settings_after_password_default_browser_return_url: None,
927            kratos_selfservice_flows_settings_after_profile_default_browser_return_url: None,
928            kratos_selfservice_flows_settings_after_totp_default_browser_return_url: None,
929            kratos_selfservice_flows_settings_after_webauthn_default_browser_return_url: None,
930            kratos_selfservice_flows_settings_lifespan: None,
931            kratos_selfservice_flows_settings_privileged_session_max_age: None,
932            kratos_selfservice_flows_settings_required_aal: None,
933            kratos_selfservice_flows_settings_ui_url: None,
934            kratos_selfservice_flows_verification_after_default_browser_return_url: None,
935            kratos_selfservice_flows_verification_enabled: None,
936            kratos_selfservice_flows_verification_lifespan: None,
937            kratos_selfservice_flows_verification_notify_unknown_recipients: None,
938            kratos_selfservice_flows_verification_ui_url: None,
939            kratos_selfservice_flows_verification_use: None,
940            kratos_selfservice_methods_captcha_config_allowed_domains: None,
941            kratos_selfservice_methods_captcha_config_byo: None,
942            kratos_selfservice_methods_captcha_config_cf_turnstile_byo_secret: None,
943            kratos_selfservice_methods_captcha_config_cf_turnstile_byo_sitekey: None,
944            kratos_selfservice_methods_captcha_config_cf_turnstile_secret: None,
945            kratos_selfservice_methods_captcha_config_cf_turnstile_sitekey: None,
946            kratos_selfservice_methods_captcha_config_legacy_inject_node: None,
947            kratos_selfservice_methods_captcha_enabled: None,
948            kratos_selfservice_methods_code_config_lifespan: None,
949            kratos_selfservice_methods_code_config_max_submissions: None,
950            kratos_selfservice_methods_code_config_missing_credential_fallback_enabled: None,
951            kratos_selfservice_methods_code_enabled: None,
952            kratos_selfservice_methods_code_mfa_enabled: None,
953            kratos_selfservice_methods_code_passwordless_enabled: None,
954            kratos_selfservice_methods_code_passwordless_login_fallback_enabled: None,
955            kratos_selfservice_methods_link_config_base_url: None,
956            kratos_selfservice_methods_link_config_lifespan: None,
957            kratos_selfservice_methods_link_enabled: None,
958            kratos_selfservice_methods_lookup_secret_enabled: None,
959            kratos_selfservice_methods_oidc_config_base_redirect_uri: None,
960            kratos_selfservice_methods_oidc_config_providers: None,
961            kratos_selfservice_methods_oidc_enable_auto_link_policy: None,
962            kratos_selfservice_methods_oidc_enabled: None,
963            kratos_selfservice_methods_passkey_config_rp_display_name: None,
964            kratos_selfservice_methods_passkey_config_rp_id: None,
965            kratos_selfservice_methods_passkey_config_rp_origins: None,
966            kratos_selfservice_methods_passkey_enabled: None,
967            kratos_selfservice_methods_password_config_haveibeenpwned_enabled: None,
968            kratos_selfservice_methods_password_config_identifier_similarity_check_enabled: None,
969            kratos_selfservice_methods_password_config_ignore_network_errors: None,
970            kratos_selfservice_methods_password_config_max_breaches: None,
971            kratos_selfservice_methods_password_config_min_password_length: None,
972            kratos_selfservice_methods_password_enabled: None,
973            kratos_selfservice_methods_profile_enabled: None,
974            kratos_selfservice_methods_saml_config_providers: None,
975            kratos_selfservice_methods_saml_enabled: None,
976            kratos_selfservice_methods_totp_config_issuer: None,
977            kratos_selfservice_methods_totp_enabled: None,
978            kratos_selfservice_methods_webauthn_config_passwordless: None,
979            kratos_selfservice_methods_webauthn_config_rp_display_name: None,
980            kratos_selfservice_methods_webauthn_config_rp_icon: None,
981            kratos_selfservice_methods_webauthn_config_rp_id: None,
982            kratos_selfservice_methods_webauthn_config_rp_origins: None,
983            kratos_selfservice_methods_webauthn_enabled: None,
984            kratos_session_cookie_persistent: None,
985            kratos_session_cookie_same_site: None,
986            kratos_session_lifespan: None,
987            kratos_session_whoami_required_aal: None,
988            kratos_session_whoami_tokenizer_templates: None,
989            name,
990            organizations: None,
991            project_id: None,
992            project_revision_hooks: None,
993            scim_clients: None,
994            serve_admin_cors_allowed_origins: None,
995            serve_admin_cors_enabled: None,
996            serve_public_cors_allowed_origins: None,
997            serve_public_cors_enabled: None,
998            strict_security: None,
999            updated_at: None,
1000            workspace_id: None,
1001        }
1002    }
1003}
1004///  prod Production stage Staging dev Development
1005#[derive(Clone, Copy, Debug, Eq, PartialEq, Ord, PartialOrd, Hash, Serialize, Deserialize)]
1006pub enum EnvironmentEnum {
1007    #[serde(rename = "prod")]
1008    Prod,
1009    #[serde(rename = "stage")]
1010    Stage,
1011    #[serde(rename = "dev")]
1012    Dev,
1013}
1014
1015impl Default for EnvironmentEnum {
1016    fn default() -> EnvironmentEnum {
1017        Self::Prod
1018    }
1019}
1020///  eu-central EUCentral asia-northeast AsiaNorthEast us-east USEast us-west USWest eu EU asia Asia us US global Global
1021#[derive(Clone, Copy, Debug, Eq, PartialEq, Ord, PartialOrd, Hash, Serialize, Deserialize)]
1022pub enum HomeRegionEnum {
1023    #[serde(rename = "eu-central")]
1024    EuCentral,
1025    #[serde(rename = "asia-northeast")]
1026    AsiaNortheast,
1027    #[serde(rename = "us-east")]
1028    UsEast,
1029    #[serde(rename = "us-west")]
1030    UsWest,
1031    #[serde(rename = "eu")]
1032    Eu,
1033    #[serde(rename = "asia")]
1034    Asia,
1035    #[serde(rename = "us")]
1036    Us,
1037    #[serde(rename = "global")]
1038    Global,
1039}
1040
1041impl Default for HomeRegionEnum {
1042    fn default() -> HomeRegionEnum {
1043        Self::EuCentral
1044    }
1045}
1046/// Defines access token type  This governs the \"strategies.access_token\" setting. opaque Oauth2AccessTokenStrategyOpaque jwt Oauth2AccessTokenStrategyJwt
1047#[derive(Clone, Copy, Debug, Eq, PartialEq, Ord, PartialOrd, Hash, Serialize, Deserialize)]
1048pub enum HydraStrategiesAccessTokenEnum {
1049    #[serde(rename = "opaque")]
1050    Opaque,
1051    #[serde(rename = "jwt")]
1052    Jwt,
1053}
1054
1055impl Default for HydraStrategiesAccessTokenEnum {
1056    fn default() -> HydraStrategiesAccessTokenEnum {
1057        Self::Opaque
1058    }
1059}
1060/// Define the claim to use as the scope in the access token.  This governs the \"strategies.jwt.scope_claim\" setting.  list: The scope claim is an array of strings named `scope`: `{ \"scope\": [\"read\", \"write\"] }` string: The scope claim is a space delimited list of strings named `scp`: `{ \"scp\": \"read write\" }` both: The scope claim is both a space delimited list and an array of strings named `scope` and `scp`: `{ \"scope\": [\"read\", \"write\"], \"scp\": \"read write\" }` list OAuth2JWTScopeClaimList string OAuth2JWTScopeClaimString both OAuth2JWTScopeClaimBoth
1061#[derive(Clone, Copy, Debug, Eq, PartialEq, Ord, PartialOrd, Hash, Serialize, Deserialize)]
1062pub enum HydraStrategiesJwtScopeClaimEnum {
1063    #[serde(rename = "list")]
1064    List,
1065    #[serde(rename = "string")]
1066    String,
1067    #[serde(rename = "both")]
1068    Both,
1069}
1070
1071impl Default for HydraStrategiesJwtScopeClaimEnum {
1072    fn default() -> HydraStrategiesJwtScopeClaimEnum {
1073        Self::List
1074    }
1075}
1076/// 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
1077#[derive(Clone, Copy, Debug, Eq, PartialEq, Ord, PartialOrd, Hash, Serialize, Deserialize)]
1078pub enum HydraStrategiesScopeEnum {
1079    #[serde(rename = "exact")]
1080    Exact,
1081    #[serde(rename = "wildcard")]
1082    Wildcard,
1083}
1084
1085impl Default for HydraStrategiesScopeEnum {
1086    fn default() -> HydraStrategiesScopeEnum {
1087        Self::Exact
1088    }
1089}
1090/// Configures the Ory Kratos Recovery strategy to use (\"link\" or \"code\")  This governs the \"selfservice.flows.recovery.use\" setting. link SelfServiceMessageVerificationStrategyLink code SelfServiceMessageVerificationStrategyCode
1091#[derive(Clone, Copy, Debug, Eq, PartialEq, Ord, PartialOrd, Hash, Serialize, Deserialize)]
1092pub enum KratosSelfserviceFlowsRecoveryUseEnum {
1093    #[serde(rename = "link")]
1094    Link,
1095    #[serde(rename = "code")]
1096    Code,
1097}
1098
1099impl Default for KratosSelfserviceFlowsRecoveryUseEnum {
1100    fn default() -> KratosSelfserviceFlowsRecoveryUseEnum {
1101        Self::Link
1102    }
1103}
1104/// Configures the Ory Kratos Strategy to use for Verification  This governs the \"selfservice.flows.verification.use\" setting. link SelfServiceMessageVerificationStrategyLink code SelfServiceMessageVerificationStrategyCode
1105#[derive(Clone, Copy, Debug, Eq, PartialEq, Ord, PartialOrd, Hash, Serialize, Deserialize)]
1106pub enum KratosSelfserviceFlowsVerificationUseEnum {
1107    #[serde(rename = "link")]
1108    Link,
1109    #[serde(rename = "code")]
1110    Code,
1111}
1112
1113impl Default for KratosSelfserviceFlowsVerificationUseEnum {
1114    fn default() -> KratosSelfserviceFlowsVerificationUseEnum {
1115        Self::Link
1116    }
1117}
1118