Skip to content

Commit 4c64894

Browse files
committed
autogen: regenerate OpenAPI client for v1.22.54
Version: v1.22.54
1 parent e64550a commit 4c64894

788 files changed

Lines changed: 1519 additions & 785 deletions

File tree

Some content is hidden

Large Commits have some content hidden by default. Use the searchbox below for content that may be hidden.

‎.openapi-generator/FILES‎

Lines changed: 6 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -93,6 +93,8 @@ docs/DeviceAuthnIOSAttestation.md
9393
docs/DeviceAuthnKey.md
9494
docs/DeviceAuthorization.md
9595
docs/DeviceUserAuthRequest.md
96+
docs/ElementsApi.md
97+
docs/ElementsConfiguration.md
9698
docs/EmailTemplateData.md
9799
docs/EmailTemplateDataBody.md
98100
docs/ErrorAuthenticatorAssuranceLevelNotSatisfied.md
@@ -393,6 +395,7 @@ ory_client/__init__.py
393395
ory_client/api/__init__.py
394396
ory_client/api/api_keys_api.py
395397
ory_client/api/courier_api.py
398+
ory_client/api/elements_api.py
396399
ory_client/api/events_api.py
397400
ory_client/api/frontend_api.py
398401
ory_client/api/identity_api.py
@@ -497,6 +500,7 @@ ory_client/models/device_authn_ios_attestation.py
497500
ory_client/models/device_authn_key.py
498501
ory_client/models/device_authorization.py
499502
ory_client/models/device_user_auth_request.py
503+
ory_client/models/elements_configuration.py
500504
ory_client/models/email_template_data.py
501505
ory_client/models/email_template_data_body.py
502506
ory_client/models/error_authenticator_assurance_level_not_satisfied.py
@@ -877,6 +881,8 @@ test/test_device_authn_ios_attestation.py
877881
test/test_device_authn_key.py
878882
test/test_device_authorization.py
879883
test/test_device_user_auth_request.py
884+
test/test_elements_api.py
885+
test/test_elements_configuration.py
880886
test/test_email_template_data.py
881887
test/test_email_template_data_body.py
882888
test/test_error_authenticator_assurance_level_not_satisfied.py

‎docs/CreateProjectNormalizedPayload.md‎

Lines changed: 5 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -112,6 +112,10 @@ Name | Type | Description | Notes
112112
**kratos_courier_templates_registration_code_valid_email_body_plaintext** | **str** | Configures the Ory Kratos Valid Registration via Code Email Body Plaintext Template This governs the \"courier.templates.registration_code.valid.email.body.plaintext\" setting. | [optional]
113113
**kratos_courier_templates_registration_code_valid_email_subject** | **str** | Configures the Ory Kratos Valid Registration via Code Email Subject Template This governs the \"courier.templates.registration_code.valid.email.subject\" setting. | [optional]
114114
**kratos_courier_templates_registration_code_valid_sms_body_plaintext** | **str** | Configures the Ory Kratos Valid Registration via Code SMS Body Plaintext Template This governs the \"courier.templates.registration_code.valid.sms.body.plaintext\" setting. | [optional]
115+
**kratos_courier_templates_verifiable_address_changed_email_body_html** | **str** | Configures the Ory Kratos Verifiable Address Changed Email Body HTML Template This governs the \"courier.templates.verifiable_address_changed.email.body.html\" setting. | [optional]
116+
**kratos_courier_templates_verifiable_address_changed_email_body_plaintext** | **str** | Configures the Ory Kratos Verifiable Address Changed Email Body Plaintext Template This governs the \"courier.templates.verifiable_address_changed.email.body.plaintext\" setting. | [optional]
117+
**kratos_courier_templates_verifiable_address_changed_email_subject** | **str** | Configures the Ory Kratos Verifiable Address Changed Email Subject Template This governs the \"courier.templates.verifiable_address_changed.email.subject\" setting. | [optional]
118+
**kratos_courier_templates_verifiable_address_changed_sms_body_plaintext** | **str** | Configures the Ory Kratos Verifiable Address Changed SMS Body Plaintext Template This governs the \"courier.templates.verifiable_address_changed.sms.body.plaintext\" setting. | [optional]
115119
**kratos_courier_templates_verification_code_invalid_email_body_html** | **str** | Configures the Ory Kratos Invalid Verification via Code Email Body HTML Template This governs the \"courier.templates.verification_code.invalid.email.body.html\" setting. | [optional]
116120
**kratos_courier_templates_verification_code_invalid_email_body_plaintext** | **str** | Configures the Ory Kratos Invalid Verification via Code Email Body Plaintext Template This governs the \"courier.templates.verification_code.invalid.email.body.plaintext\" setting. | [optional]
117121
**kratos_courier_templates_verification_code_invalid_email_subject** | **str** | Configures the Ory Kratos Invalid Verification via Code Email Subject Template This governs the \"courier.templates.verification_code.invalid.email.subject\" setting. | [optional]
@@ -209,6 +213,7 @@ Name | Type | Description | Notes
209213
**kratos_selfservice_methods_code_mfa_enabled** | **bool** | Configures whether the code method can be used to fulfil MFA flows This governs the \"selfservice.methods.code.mfa_enabled\" setting. | [optional]
210214
**kratos_selfservice_methods_code_passwordless_enabled** | **bool** | Configures whether Ory Kratos Passwordless should use the Code Method This governs the \"selfservice.methods.code.passwordless_enabled\" setting. | [optional]
211215
**kratos_selfservice_methods_code_passwordless_login_fallback_enabled** | **bool** | 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. | [optional]
216+
**kratos_selfservice_methods_deviceauthn_config_insecure_allow_relaxed_attestation** | **bool** | Configures whether Ory Kratos Device authentication accepts relaxed attestations for testing Only allowed on development projects and forced off otherwise. Keys enrolled under relaxation are short-lived and refused once this is turned off. This governs the \"selfservice.methods.deviceauthn.config.insecure_allow_relaxed_attestation\" setting. | [optional]
212217
**kratos_selfservice_methods_deviceauthn_enabled** | **bool** | Configures whether Ory Kratos Device authentication is enabled This governs the \"selfservice.methods.deviceauthn.enabled\" setting. | [optional]
213218
**kratos_selfservice_methods_link_config_base_url** | **str** | 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. | [optional]
214219
**kratos_selfservice_methods_link_config_lifespan** | **str** | Configures the Ory Kratos Link Method's lifespan This governs the \"selfservice.methods.link.config.lifespan\" setting. | [optional]

‎docs/DeviceAuthnKey.md‎

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -11,6 +11,7 @@ Name | Type | Description | Notes
1111
**device_name** | **str** | DeviceName is a human readable name for the device, helping the user to distinguish it from others. | [optional]
1212
**device_type** | **str** | | [optional]
1313
**public_key** | **List[int]** | PublicKey is an EC (in v1) public key, used to verify signatures, stored as uncompressed bytes. The private key resides inside the device and does not exist on the server. | [optional]
14+
**relaxed_attestation_expires_at** | **datetime** | RelaxedAttestationExpiresAt is set only when the key's attestation chain validated because relaxed attestation was allowed (software roots, expired certs, software security level) rather than under strict rules. Such keys are second-class: they are refused at login after this time, or immediately if relaxed attestation is turned off. It is nil for hardware-attested keys that pass strict validation. | [optional]
1415
**state** | **str** | | [optional]
1516
**version** | **int** | v1 uses SHA256 + EC256. v2 (in the future) may use ML-DSA which is post-quantum resistant. This requires Android/iOS support so we have to wait. We intentionally avoid storing the cryptographic algorithm here a la JWT/TLS to avoid security issues and algorithm negotiation. | [optional]
1617

‎docs/ElementsApi.md‎

Lines changed: 78 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,78 @@
1+
# ory_client.ElementsApi
2+
3+
All URIs are relative to *https://playground.projects.oryapis.com*
4+
5+
Method | HTTP request | Description
6+
------------- | ------------- | -------------
7+
[**get_configuration**](ElementsApi.md#get_configuration) | **GET** /elements/configuration | Get Ory Elements configuration
8+
9+
10+
# **get_configuration**
11+
> ElementsConfiguration get_configuration()
12+
13+
Get Ory Elements configuration
14+
15+
Returns a subset of the project's configuration for the given host.
16+
The response only contains non-sensitive data that is used to customize the behavior of Ory Elements.
17+
18+
### Example
19+
20+
21+
```python
22+
import ory_client
23+
from ory_client.models.elements_configuration import ElementsConfiguration
24+
from ory_client.rest import ApiException
25+
from pprint import pprint
26+
27+
# Defining the host is optional and defaults to https://playground.projects.oryapis.com
28+
# See configuration.py for a list of all supported configuration parameters.
29+
configuration = ory_client.Configuration(
30+
host = "https://playground.projects.oryapis.com"
31+
)
32+
33+
34+
# Enter a context with an instance of the API client
35+
with ory_client.ApiClient(configuration) as api_client:
36+
# Create an instance of the API class
37+
api_instance = ory_client.ElementsApi(api_client)
38+
39+
try:
40+
# Get Ory Elements configuration
41+
api_response = api_instance.get_configuration()
42+
print("The response of ElementsApi->get_configuration:\n")
43+
pprint(api_response)
44+
except Exception as e:
45+
print("Exception when calling ElementsApi->get_configuration: %s\n" % e)
46+
```
47+
48+
49+
50+
### Parameters
51+
52+
This endpoint does not need any parameter.
53+
54+
### Return type
55+
56+
[**ElementsConfiguration**](ElementsConfiguration.md)
57+
58+
### Authorization
59+
60+
No authorization required
61+
62+
### HTTP request headers
63+
64+
- **Content-Type**: Not defined
65+
- **Accept**: application/json
66+
67+
### HTTP response details
68+
69+
| Status code | Description | Response headers |
70+
|-------------|-------------|------------------|
71+
**200** | elementsConfiguration | - |
72+
**400** | genericError | - |
73+
**401** | genericError | - |
74+
**403** | genericError | - |
75+
**0** | genericError | - |
76+
77+
[[Back to top]](#) [[Back to API list]](../README.md#documentation-for-api-endpoints) [[Back to Model list]](../README.md#documentation-for-models) [[Back to README]](../README.md)
78+

‎docs/ElementsConfiguration.md‎

Lines changed: 44 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,44 @@
1+
# ElementsConfiguration
2+
3+
ElementsConfiguration is the subset of a project's configuration that Ory Elements consumes to customize its behavior and appearance. It mirrors the `ProjectConfiguration` type in `@ory/elements-react` and intentionally omits account-experience-only fields (stylesheet, locales, translations, favicons).
4+
5+
## Properties
6+
7+
Name | Type | Description | Notes
8+
------------ | ------------- | ------------- | -------------
9+
**default_redirect_url** | **str** | The default redirect URL. |
10+
**error_ui_url** | **str** | The URL for the error UI. |
11+
**hide_ory_branding** | **bool** | Whether to hide the Ory branding badge. |
12+
**hide_registration_link** | **bool** | Whether to hide the \"Sign up\" link on the login card footer. |
13+
**login_ui_url** | **str** | The URL for the login UI. |
14+
**logo_dark_url** | **str** | The URL for the dark logo. | [optional]
15+
**logo_light_url** | **str** | The URL for the light logo on the auth card. | [optional]
16+
**name** | **str** | The name of the project displayed on the auth card. |
17+
**recovery_enabled** | **bool** | Whether recovery is enabled. |
18+
**recovery_ui_url** | **str** | The URL for the recovery UI. |
19+
**registration_enabled** | **bool** | Whether registration is enabled. |
20+
**registration_ui_url** | **str** | The URL for the registration UI. |
21+
**settings_ui_url** | **str** | The URL for the settings UI. |
22+
**verification_enabled** | **bool** | Whether verification is enabled. |
23+
**verification_ui_url** | **str** | The URL for the verification UI. |
24+
25+
## Example
26+
27+
```python
28+
from ory_client.models.elements_configuration import ElementsConfiguration
29+
30+
# TODO update the JSON string below
31+
json = "{}"
32+
# create an instance of ElementsConfiguration from a JSON string
33+
elements_configuration_instance = ElementsConfiguration.from_json(json)
34+
# print the JSON string representation of the object
35+
print(ElementsConfiguration.to_json())
36+
37+
# convert the object into a dict
38+
elements_configuration_dict = elements_configuration_instance.to_dict()
39+
# create an instance of ElementsConfiguration from a dict
40+
elements_configuration_from_dict = ElementsConfiguration.from_dict(elements_configuration_dict)
41+
```
42+
[[Back to Model list]](../README.md#documentation-for-models) [[Back to API list]](../README.md#documentation-for-api-endpoints) [[Back to README]](../README.md)
43+
44+

‎docs/NormalizedProjectRevision.md‎

Lines changed: 5 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -109,6 +109,10 @@ Name | Type | Description | Notes
109109
**kratos_courier_templates_registration_code_valid_email_body_plaintext** | **str** | Configures the Ory Kratos Valid Registration via Code Email Body Plaintext Template This governs the \"courier.templates.registration_code.valid.email.body.plaintext\" setting. | [optional]
110110
**kratos_courier_templates_registration_code_valid_email_subject** | **str** | Configures the Ory Kratos Valid Registration via Code Email Subject Template This governs the \"courier.templates.registration_code.valid.email.subject\" setting. | [optional]
111111
**kratos_courier_templates_registration_code_valid_sms_body_plaintext** | **str** | Configures the Ory Kratos Valid Registration via Code SMS Body Plaintext Template This governs the \"courier.templates.registration_code.valid.sms.body.plaintext\" setting. | [optional]
112+
**kratos_courier_templates_verifiable_address_changed_email_body_html** | **str** | Configures the Ory Kratos Verifiable Address Changed Email Body HTML Template This governs the \"courier.templates.verifiable_address_changed.email.body.html\" setting. | [optional]
113+
**kratos_courier_templates_verifiable_address_changed_email_body_plaintext** | **str** | Configures the Ory Kratos Verifiable Address Changed Email Body Plaintext Template This governs the \"courier.templates.verifiable_address_changed.email.body.plaintext\" setting. | [optional]
114+
**kratos_courier_templates_verifiable_address_changed_email_subject** | **str** | Configures the Ory Kratos Verifiable Address Changed Email Subject Template This governs the \"courier.templates.verifiable_address_changed.email.subject\" setting. | [optional]
115+
**kratos_courier_templates_verifiable_address_changed_sms_body_plaintext** | **str** | Configures the Ory Kratos Verifiable Address Changed SMS Body Plaintext Template This governs the \"courier.templates.verifiable_address_changed.sms.body.plaintext\" setting. | [optional]
112116
**kratos_courier_templates_verification_code_invalid_email_body_html** | **str** | Configures the Ory Kratos Invalid Verification via Code Email Body HTML Template This governs the \"courier.templates.verification_code.invalid.email.body.html\" setting. | [optional]
113117
**kratos_courier_templates_verification_code_invalid_email_body_plaintext** | **str** | Configures the Ory Kratos Invalid Verification via Code Email Body Plaintext Template This governs the \"courier.templates.verification_code.invalid.email.body.plaintext\" setting. | [optional]
114118
**kratos_courier_templates_verification_code_invalid_email_subject** | **str** | Configures the Ory Kratos Invalid Verification via Code Email Subject Template This governs the \"courier.templates.verification_code.invalid.email.subject\" setting. | [optional]
@@ -206,6 +210,7 @@ Name | Type | Description | Notes
206210
**kratos_selfservice_methods_code_mfa_enabled** | **bool** | Configures whether the code method can be used to fulfil MFA flows This governs the \"selfservice.methods.code.mfa_enabled\" setting. | [optional]
207211
**kratos_selfservice_methods_code_passwordless_enabled** | **bool** | Configures whether Ory Kratos Passwordless should use the Code Method This governs the \"selfservice.methods.code.passwordless_enabled\" setting. | [optional]
208212
**kratos_selfservice_methods_code_passwordless_login_fallback_enabled** | **bool** | 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. | [optional]
213+
**kratos_selfservice_methods_deviceauthn_config_insecure_allow_relaxed_attestation** | **bool** | Configures whether Ory Kratos Device authentication accepts relaxed attestations for testing Only allowed on development projects and forced off otherwise. Keys enrolled under relaxation are short-lived and refused once this is turned off. This governs the \"selfservice.methods.deviceauthn.config.insecure_allow_relaxed_attestation\" setting. | [optional]
209214
**kratos_selfservice_methods_deviceauthn_enabled** | **bool** | Configures whether Ory Kratos Device authentication is enabled This governs the \"selfservice.methods.deviceauthn.enabled\" setting. | [optional]
210215
**kratos_selfservice_methods_link_config_base_url** | **str** | 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. | [optional]
211216
**kratos_selfservice_methods_link_config_lifespan** | **str** | Configures the Ory Kratos Link Method's lifespan This governs the \"selfservice.methods.link.config.lifespan\" setting. | [optional]

‎docs/NormalizedProjectRevisionHook.md‎

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -9,6 +9,7 @@ Name | Type | Description | Notes
99
**created_at** | **datetime** | The Project's Revision Creation Date | [optional] [readonly]
1010
**hook** | **str** | The Hook Type |
1111
**id** | **str** | ID of the entry | [optional]
12+
**notify_previous_addresses_config_recipients** | **str** | The recipients to be notified in case of a change of the users verified email addresses. Possible values are: \"all\", \"all_verified\", \"removed\" (only notify about removed email addresses) | [optional]
1213
**project_revision_id** | **str** | The Revision's ID this schema belongs to | [optional]
1314
**updated_at** | **datetime** | Last Time Project's Revision was Updated | [optional] [readonly]
1415
**web_hook_config_auth_api_key_in** | **str** | Whether to send the API Key in the HTTP Header or as a HTTP Cookie | [optional]

0 commit comments

Comments
 (0)