Skip to content

Commit 7ae6322

Browse files
committed
autogen: regenerate OpenAPI client for v1.22.37
Version: v1.22.37
1 parent bba9f1c commit 7ae6322

673 files changed

Lines changed: 1212 additions & 701 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
@@ -65,7 +65,9 @@ docs/CreateWorkspaceOrganizationBody.md
6565
docs/CreateWorkspaceSubscriptionBody.md
6666
docs/CredentialSupportedDraft00.md
6767
docs/CustomDomain.md
68+
docs/CustomerPortalAvailability.md
6869
docs/DeleteMySessionsCount.md
70+
docs/DeviceAuthnKey.md
6971
docs/DeviceAuthorization.md
7072
docs/DeviceUserAuthRequest.md
7173
docs/EmailTemplateData.md
@@ -410,7 +412,9 @@ ory_client/models/create_workspace_organization_body.py
410412
ory_client/models/create_workspace_subscription_body.py
411413
ory_client/models/credential_supported_draft00.py
412414
ory_client/models/custom_domain.py
415+
ory_client/models/customer_portal_availability.py
413416
ory_client/models/delete_my_sessions_count.py
417+
ory_client/models/device_authn_key.py
414418
ory_client/models/device_authorization.py
415419
ory_client/models/device_user_auth_request.py
416420
ory_client/models/email_template_data.py
@@ -731,7 +735,9 @@ test/test_create_workspace_organization_body.py
731735
test/test_create_workspace_subscription_body.py
732736
test/test_credential_supported_draft00.py
733737
test/test_custom_domain.py
738+
test/test_customer_portal_availability.py
734739
test/test_delete_my_sessions_count.py
740+
test/test_device_authn_key.py
735741
test/test_device_authorization.py
736742
test/test_device_user_auth_request.py
737743
test/test_email_template_data.py

docs/CustomerPortalAvailability.md

Lines changed: 31 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,31 @@
1+
# CustomerPortalAvailability
2+
3+
CustomerPortalAvailability describes whether the Stripe customer portal is available for the logged-in user (or a workspace they access).
4+
5+
## Properties
6+
7+
Name | Type | Description | Notes
8+
------------ | ------------- | ------------- | -------------
9+
**available** | **bool** | Whether the customer portal is available. |
10+
**reason** | **str** | Optional reason why the portal is unavailable. Populated only when `available` is false. For debugging and support purposes — frontend consumers should not parse or depend on specific values. no_stripe_customer CustomerPortalReasonNoStripeCustomer no_subscription CustomerPortalReasonNoSubscription | [optional]
11+
12+
## Example
13+
14+
```python
15+
from ory_client.models.customer_portal_availability import CustomerPortalAvailability
16+
17+
# TODO update the JSON string below
18+
json = "{}"
19+
# create an instance of CustomerPortalAvailability from a JSON string
20+
customer_portal_availability_instance = CustomerPortalAvailability.from_json(json)
21+
# print the JSON string representation of the object
22+
print(CustomerPortalAvailability.to_json())
23+
24+
# convert the object into a dict
25+
customer_portal_availability_dict = customer_portal_availability_instance.to_dict()
26+
# create an instance of CustomerPortalAvailability from a dict
27+
customer_portal_availability_from_dict = CustomerPortalAvailability.from_dict(customer_portal_availability_dict)
28+
```
29+
[[Back to Model list]](../README.md#documentation-for-models) [[Back to API list]](../README.md#documentation-for-api-endpoints) [[Back to README]](../README.md)
30+
31+

docs/DeviceAuthnKey.md

Lines changed: 35 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,35 @@
1+
# DeviceAuthnKey
2+
3+
4+
## Properties
5+
6+
Name | Type | Description | Notes
7+
------------ | ------------- | ------------- | -------------
8+
**client_key_id** | **str** | ClientKeyID is a client-chosen id for the key and is unique per identity. | [optional]
9+
**created_at** | **datetime** | CreatedAt is the timestamp of when the key was created. Only used for troubleshooting/UI. | [optional]
10+
**device_name** | **str** | DeviceName is a human readable name for the device, helping the user to distinguish it from others. | [optional]
11+
**device_type** | **str** | | [optional]
12+
**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]
13+
**state** | **str** | | [optional]
14+
**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]
15+
16+
## Example
17+
18+
```python
19+
from ory_client.models.device_authn_key import DeviceAuthnKey
20+
21+
# TODO update the JSON string below
22+
json = "{}"
23+
# create an instance of DeviceAuthnKey from a JSON string
24+
device_authn_key_instance = DeviceAuthnKey.from_json(json)
25+
# print the JSON string representation of the object
26+
print(DeviceAuthnKey.to_json())
27+
28+
# convert the object into a dict
29+
device_authn_key_dict = device_authn_key_instance.to_dict()
30+
# create an instance of DeviceAuthnKey from a dict
31+
device_authn_key_from_dict = DeviceAuthnKey.from_dict(device_authn_key_dict)
32+
```
33+
[[Back to Model list]](../README.md#documentation-for-models) [[Back to API list]](../README.md#documentation-for-api-endpoints) [[Back to README]](../README.md)
34+
35+

docs/IdentityApi.md

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -496,7 +496,7 @@ with ory_client.ApiClient(configuration) as api_client:
496496
# Create an instance of the API class
497497
api_instance = ory_client.IdentityApi(api_client)
498498
id = 'id_example' # str | ID is the identity's ID.
499-
type = 'type_example' # str | Type is the type of credentials to delete. password CredentialsTypePassword oidc CredentialsTypeOIDC totp CredentialsTypeTOTP lookup_secret CredentialsTypeLookup webauthn CredentialsTypeWebAuthn code CredentialsTypeCodeAuth passkey CredentialsTypePasskey profile CredentialsTypeProfile saml CredentialsTypeSAML link_recovery CredentialsTypeRecoveryLink CredentialsTypeRecoveryLink is a special credential type linked to the link strategy (recovery flow). It is not used within the credentials object itself. code_recovery CredentialsTypeRecoveryCode
499+
type = 'type_example' # str | Type is the type of credentials to delete. password CredentialsTypePassword oidc CredentialsTypeOIDC totp CredentialsTypeTOTP lookup_secret CredentialsTypeLookup webauthn CredentialsTypeWebAuthn code CredentialsTypeCodeAuth passkey CredentialsTypePasskey profile CredentialsTypeProfile saml CredentialsTypeSAML deviceauthn CredentialsTypeDeviceAuthn link_recovery CredentialsTypeRecoveryLink CredentialsTypeRecoveryLink is a special credential type linked to the link strategy (recovery flow). It is not used within the credentials object itself. code_recovery CredentialsTypeRecoveryCode
500500
identifier = 'identifier_example' # str | Identifier is the identifier of the OIDC/SAML credential to delete. Find the identifier by calling the `GET /admin/identities/{id}?include_credential={oidc,saml}` endpoint. (optional)
501501

502502
try:
@@ -514,7 +514,7 @@ with ory_client.ApiClient(configuration) as api_client:
514514
Name | Type | Description | Notes
515515
------------- | ------------- | ------------- | -------------
516516
**id** | **str**| ID is the identity's ID. |
517-
**type** | **str**| Type is the type of credentials to delete. password CredentialsTypePassword oidc CredentialsTypeOIDC totp CredentialsTypeTOTP lookup_secret CredentialsTypeLookup webauthn CredentialsTypeWebAuthn code CredentialsTypeCodeAuth passkey CredentialsTypePasskey profile CredentialsTypeProfile saml CredentialsTypeSAML link_recovery CredentialsTypeRecoveryLink CredentialsTypeRecoveryLink is a special credential type linked to the link strategy (recovery flow). It is not used within the credentials object itself. code_recovery CredentialsTypeRecoveryCode |
517+
**type** | **str**| Type is the type of credentials to delete. password CredentialsTypePassword oidc CredentialsTypeOIDC totp CredentialsTypeTOTP lookup_secret CredentialsTypeLookup webauthn CredentialsTypeWebAuthn code CredentialsTypeCodeAuth passkey CredentialsTypePasskey profile CredentialsTypeProfile saml CredentialsTypeSAML deviceauthn CredentialsTypeDeviceAuthn link_recovery CredentialsTypeRecoveryLink CredentialsTypeRecoveryLink is a special credential type linked to the link strategy (recovery flow). It is not used within the credentials object itself. code_recovery CredentialsTypeRecoveryCode |
518518
**identifier** | **str**| Identifier is the identifier of the OIDC/SAML credential to delete. Find the identifier by calling the `GET /admin/identities/{id}?include_credential={oidc,saml}` endpoint. | [optional]
519519

520520
### Return type

docs/IdentityCredentials.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -9,7 +9,7 @@ Name | Type | Description | Notes
99
**config** | **object** | | [optional]
1010
**created_at** | **datetime** | CreatedAt is a helper struct field for gobuffalo.pop. | [optional]
1111
**identifiers** | **List[str]** | Identifiers represent a list of unique identifiers this credential type matches. | [optional]
12-
**type** | **str** | Type discriminates between different types of credentials. password CredentialsTypePassword oidc CredentialsTypeOIDC totp CredentialsTypeTOTP lookup_secret CredentialsTypeLookup webauthn CredentialsTypeWebAuthn code CredentialsTypeCodeAuth passkey CredentialsTypePasskey profile CredentialsTypeProfile saml CredentialsTypeSAML link_recovery CredentialsTypeRecoveryLink CredentialsTypeRecoveryLink is a special credential type linked to the link strategy (recovery flow). It is not used within the credentials object itself. code_recovery CredentialsTypeRecoveryCode | [optional]
12+
**type** | **str** | Type discriminates between different types of credentials. password CredentialsTypePassword oidc CredentialsTypeOIDC totp CredentialsTypeTOTP lookup_secret CredentialsTypeLookup webauthn CredentialsTypeWebAuthn code CredentialsTypeCodeAuth passkey CredentialsTypePasskey profile CredentialsTypeProfile saml CredentialsTypeSAML deviceauthn CredentialsTypeDeviceAuthn link_recovery CredentialsTypeRecoveryLink CredentialsTypeRecoveryLink is a special credential type linked to the link strategy (recovery flow). It is not used within the credentials object itself. code_recovery CredentialsTypeRecoveryCode | [optional]
1313
**updated_at** | **datetime** | UpdatedAt is a helper struct field for gobuffalo.pop. | [optional]
1414
**version** | **int** | Version refers to the version of the credential. Useful when changing the config schema. | [optional]
1515

docs/LoginFlow.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -6,7 +6,7 @@ This object represents a login flow. A login flow is initiated at the \"Initiate
66

77
Name | Type | Description | Notes
88
------------ | ------------- | ------------- | -------------
9-
**active** | **str** | The active login method If set contains the login method used. If the flow is new, it is unset. password CredentialsTypePassword oidc CredentialsTypeOIDC totp CredentialsTypeTOTP lookup_secret CredentialsTypeLookup webauthn CredentialsTypeWebAuthn code CredentialsTypeCodeAuth passkey CredentialsTypePasskey profile CredentialsTypeProfile saml CredentialsTypeSAML link_recovery CredentialsTypeRecoveryLink CredentialsTypeRecoveryLink is a special credential type linked to the link strategy (recovery flow). It is not used within the credentials object itself. code_recovery CredentialsTypeRecoveryCode | [optional]
9+
**active** | **str** | The active login method If set contains the login method used. If the flow is new, it is unset. password CredentialsTypePassword oidc CredentialsTypeOIDC totp CredentialsTypeTOTP lookup_secret CredentialsTypeLookup webauthn CredentialsTypeWebAuthn code CredentialsTypeCodeAuth passkey CredentialsTypePasskey profile CredentialsTypeProfile saml CredentialsTypeSAML deviceauthn CredentialsTypeDeviceAuthn link_recovery CredentialsTypeRecoveryLink CredentialsTypeRecoveryLink is a special credential type linked to the link strategy (recovery flow). It is not used within the credentials object itself. code_recovery CredentialsTypeRecoveryCode | [optional]
1010
**created_at** | **datetime** | CreatedAt is a helper struct field for gobuffalo.pop. | [optional]
1111
**expires_at** | **datetime** | ExpiresAt is the time (UTC) when the flow expires. If the user still wishes to log in, a new flow has to be initiated. |
1212
**id** | **str** | ID represents the flow's unique ID. When performing the login flow, this represents the id in the login UI's query parameter: http://<selfservice.flows.login.ui_url>/?flow=<flow_id> |

docs/NormalizedProjectRevisionThirdPartyProvider.md

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -5,6 +5,8 @@
55

66
Name | Type | Description | Notes
77
------------ | ------------- | ------------- | -------------
8+
**aal2_acr_values** | **List[str]** | AAL2ACRValues lists upstream OIDC `acr` claim values that should elevate the resulting Kratos session to AAL2. Empty means the upstream `acr` claim is ignored when deciding session AAL. | [optional]
9+
**aal2_amr_values** | **List[str]** | AAL2AMRValues lists upstream OIDC `amr` claim values that should elevate the resulting Kratos session to AAL2 when any of them appears in the upstream `amr` array. Empty means the upstream `amr` claim is ignored when deciding session AAL. | [optional]
810
**account_linking_mode** | **str** | AccountLinkingMode controls how account conflicts are resolved for this provider. Possible values are `confirm_with_existing_credential` (default) and `automatic`. `automatic` silently links accounts when the provider verifies email ownership. Only supported for `apple` and `google` providers. automatic AccountLinkingModeAutomatic AccountLinkingModeAutomatic silently links accounts if the provider verifies email ownership. confirm_with_existing_credential AccountLinkingModeConfirmWithExistingCredential AccountLinkingModeConfirmWithExistingCredential requires the user to confirm the account linking by providing an existing credential. | [optional]
911
**additional_id_token_audiences** | **List[str]** | AdditionalIDTokenAudiences is a list of additional audiences allowed in the ID Token. This is only relevant in OIDC flows that submit an IDToken instead of using the callback from the OIDC provider. | [optional]
1012
**apple_private_key** | **str** | | [optional]

docs/ProjectApi.md

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -274,6 +274,7 @@ Name | Type | Description | Notes
274274
| Status code | Description | Response headers |
275275
|-------------|-------------|------------------|
276276
**201** | project | - |
277+
**400** | errorGeneric | - |
277278
**401** | errorGeneric | - |
278279
**403** | errorGeneric | - |
279280
**404** | errorGeneric | - |

docs/RegistrationFlow.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -5,7 +5,7 @@
55

66
Name | Type | Description | Notes
77
------------ | ------------- | ------------- | -------------
8-
**active** | **str** | Active, if set, contains the registration method that is being used. It is initially not set. password CredentialsTypePassword oidc CredentialsTypeOIDC totp CredentialsTypeTOTP lookup_secret CredentialsTypeLookup webauthn CredentialsTypeWebAuthn code CredentialsTypeCodeAuth passkey CredentialsTypePasskey profile CredentialsTypeProfile saml CredentialsTypeSAML link_recovery CredentialsTypeRecoveryLink CredentialsTypeRecoveryLink is a special credential type linked to the link strategy (recovery flow). It is not used within the credentials object itself. code_recovery CredentialsTypeRecoveryCode | [optional]
8+
**active** | **str** | Active, if set, contains the registration method that is being used. It is initially not set. password CredentialsTypePassword oidc CredentialsTypeOIDC totp CredentialsTypeTOTP lookup_secret CredentialsTypeLookup webauthn CredentialsTypeWebAuthn code CredentialsTypeCodeAuth passkey CredentialsTypePasskey profile CredentialsTypeProfile saml CredentialsTypeSAML deviceauthn CredentialsTypeDeviceAuthn link_recovery CredentialsTypeRecoveryLink CredentialsTypeRecoveryLink is a special credential type linked to the link strategy (recovery flow). It is not used within the credentials object itself. code_recovery CredentialsTypeRecoveryCode | [optional]
99
**expires_at** | **datetime** | ExpiresAt is the time (UTC) when the flow expires. If the user still wishes to log in, a new flow has to be initiated. |
1010
**id** | **str** | ID represents the flow's unique ID. When performing the registration flow, this represents the id in the registration ui's query parameter: http://<selfservice.flows.registration.ui_url>/?flow=<id> |
1111
**identity_schema** | **str** | IdentitySchema optionally holds the ID of the identity schema that is used for this flow. This value can be set by the user when creating the flow and should be retained when the flow is saved or converted to another flow. | [optional]

docs/SessionAuthenticationMethod.md

Lines changed: 3 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -8,9 +8,11 @@ Name | Type | Description | Notes
88
------------ | ------------- | ------------- | -------------
99
**aal** | [**AuthenticatorAssuranceLevel**](AuthenticatorAssuranceLevel.md) | | [optional]
1010
**completed_at** | **datetime** | When the authentication challenge was completed. | [optional]
11-
**method** | **str** | The method used in this authenticator. password CredentialsTypePassword oidc CredentialsTypeOIDC totp CredentialsTypeTOTP lookup_secret CredentialsTypeLookup webauthn CredentialsTypeWebAuthn code CredentialsTypeCodeAuth passkey CredentialsTypePasskey profile CredentialsTypeProfile saml CredentialsTypeSAML link_recovery CredentialsTypeRecoveryLink CredentialsTypeRecoveryLink is a special credential type linked to the link strategy (recovery flow). It is not used within the credentials object itself. code_recovery CredentialsTypeRecoveryCode | [optional]
11+
**method** | **str** | The method used in this authenticator. password CredentialsTypePassword oidc CredentialsTypeOIDC totp CredentialsTypeTOTP lookup_secret CredentialsTypeLookup webauthn CredentialsTypeWebAuthn code CredentialsTypeCodeAuth passkey CredentialsTypePasskey profile CredentialsTypeProfile saml CredentialsTypeSAML deviceauthn CredentialsTypeDeviceAuthn link_recovery CredentialsTypeRecoveryLink CredentialsTypeRecoveryLink is a special credential type linked to the link strategy (recovery flow). It is not used within the credentials object itself. code_recovery CredentialsTypeRecoveryCode | [optional]
1212
**organization** | **str** | The Organization id used for authentication | [optional]
1313
**provider** | **str** | OIDC or SAML provider id used for authentication | [optional]
14+
**upstream_acr** | **str** | UpstreamACR is the `acr` claim reported by the upstream OIDC provider, if any. Populated only for OIDC login methods when the upstream ID token contained an `acr` claim. | [optional]
15+
**upstream_amr** | **List[str]** | UpstreamAMR is the `amr` claim reported by the upstream OIDC provider, if any. Populated only for OIDC login methods when the upstream ID token contained an `amr` claim. | [optional]
1416

1517
## Example
1618

0 commit comments

Comments
 (0)