ory-client 1.5.0__py3-none-any.whl → 1.5.1__py3-none-any.whl
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- ory_client/__init__.py +2 -2
- ory_client/api/courier_api.py +1 -1
- ory_client/api/events_api.py +614 -0
- ory_client/api/frontend_api.py +1 -1
- ory_client/api/identity_api.py +1 -1
- ory_client/api/jwk_api.py +1 -1
- ory_client/api/metadata_api.py +1 -1
- ory_client/api/o_auth2_api.py +1 -1
- ory_client/api/oidc_api.py +1 -1
- ory_client/api/permission_api.py +1 -1
- ory_client/api/project_api.py +1 -1
- ory_client/api/relationship_api.py +1 -1
- ory_client/api/wellknown_api.py +1 -1
- ory_client/api_client.py +2 -2
- ory_client/apis/__init__.py +1 -0
- ory_client/configuration.py +3 -3
- ory_client/exceptions.py +1 -1
- ory_client/model/accept_o_auth2_consent_request.py +1 -1
- ory_client/model/accept_o_auth2_consent_request_session.py +1 -1
- ory_client/model/accept_o_auth2_login_request.py +1 -1
- ory_client/model/active_project_in_console.py +1 -1
- ory_client/model/attribute.py +1 -1
- ory_client/model/attribute_filter.py +1 -1
- ory_client/model/attributes_count_datapoint.py +1 -1
- ory_client/model/authenticator_assurance_level.py +1 -1
- ory_client/model/batch_patch_identities_response.py +1 -1
- ory_client/model/check_opl_syntax_result.py +1 -1
- ory_client/model/check_permission_result.py +1 -1
- ory_client/model/cloud_account.py +1 -1
- ory_client/model/consistency_request_parameters.py +1 -1
- ory_client/model/continue_with.py +1 -1
- ory_client/model/continue_with_recovery_ui.py +1 -1
- ory_client/model/continue_with_recovery_ui_flow.py +1 -1
- ory_client/model/continue_with_set_ory_session_token.py +1 -1
- ory_client/model/continue_with_settings_ui.py +1 -1
- ory_client/model/continue_with_settings_ui_flow.py +1 -1
- ory_client/model/continue_with_verification_ui.py +1 -1
- ory_client/model/continue_with_verification_ui_flow.py +1 -1
- ory_client/model/courier_message_status.py +1 -1
- ory_client/model/courier_message_type.py +1 -1
- ory_client/model/create_custom_domain_body.py +1 -1
- ory_client/model/create_event_stream_body.py +1 -1
- ory_client/model/create_identity_body.py +1 -1
- ory_client/model/create_invite_response.py +1 -1
- ory_client/model/create_json_web_key_set.py +1 -1
- ory_client/model/create_member_invite_response.py +1 -1
- ory_client/model/create_project_api_key_request.py +1 -1
- ory_client/model/create_project_body.py +1 -1
- ory_client/model/create_project_branding.py +1 -1
- ory_client/model/create_project_member_invite_body.py +1 -1
- ory_client/model/create_project_normalized_payload.py +1 -1
- ory_client/model/create_recovery_code_for_identity_body.py +1 -1
- ory_client/model/create_recovery_link_for_identity_body.py +1 -1
- ory_client/model/create_relationship_body.py +1 -1
- ory_client/model/create_subscription_body.py +1 -1
- ory_client/model/create_verifiable_credential_request_body.py +1 -1
- ory_client/model/create_workspace_member_invite_body.py +1 -1
- ory_client/model/credential_supported_draft00.py +1 -1
- ory_client/model/custom_domain.py +1 -1
- ory_client/model/delete_my_sessions_count.py +1 -1
- ory_client/model/email_template_data.py +1 -1
- ory_client/model/email_template_data_body.py +1 -1
- ory_client/model/error_authenticator_assurance_level_not_satisfied.py +1 -1
- ory_client/model/error_browser_location_change_required.py +1 -1
- ory_client/model/error_flow_replaced.py +1 -1
- ory_client/model/error_generic.py +1 -1
- ory_client/model/error_o_auth2.py +1 -1
- ory_client/model/event_stream.py +1 -1
- ory_client/model/expanded_permission_tree.py +1 -1
- ory_client/model/flow_error.py +1 -1
- ory_client/model/generic_error.py +1 -1
- ory_client/model/generic_error_content.py +1 -1
- ory_client/model/generic_usage.py +1 -1
- ory_client/model/get_attributes_count_response.py +1 -1
- ory_client/model/get_managed_identity_schema_location.py +1 -1
- ory_client/model/get_metrics_event_attributes_response.py +1 -1
- ory_client/model/get_metrics_event_types_response.py +1 -1
- ory_client/model/get_organization_response.py +1 -1
- ory_client/model/get_project_events_body.py +1 -1
- ory_client/model/get_project_events_response.py +1 -1
- ory_client/model/get_project_metrics_response.py +1 -1
- ory_client/model/get_session_activity_response.py +1 -1
- ory_client/model/get_version200_response.py +1 -1
- ory_client/model/health_not_ready_status.py +1 -1
- ory_client/model/health_status.py +1 -1
- ory_client/model/identity.py +1 -1
- ory_client/model/identity_credentials.py +1 -1
- ory_client/model/identity_credentials_code.py +1 -1
- ory_client/model/identity_credentials_oidc.py +1 -1
- ory_client/model/identity_credentials_oidc_provider.py +1 -1
- ory_client/model/identity_credentials_password.py +1 -1
- ory_client/model/identity_credentials_type.py +1 -1
- ory_client/model/identity_patch.py +1 -1
- ory_client/model/identity_patch_response.py +1 -1
- ory_client/model/identity_schema_container.py +1 -1
- ory_client/model/identity_schema_preset.py +1 -1
- ory_client/model/identity_schema_presets.py +1 -1
- ory_client/model/identity_schemas.py +1 -1
- ory_client/model/identity_state.py +1 -1
- ory_client/model/identity_with_credentials.py +1 -1
- ory_client/model/identity_with_credentials_oidc.py +1 -1
- ory_client/model/identity_with_credentials_oidc_config.py +1 -1
- ory_client/model/identity_with_credentials_oidc_config_provider.py +1 -1
- ory_client/model/identity_with_credentials_password.py +1 -1
- ory_client/model/identity_with_credentials_password_config.py +1 -1
- ory_client/model/internal_get_project_branding_body.py +1 -1
- ory_client/model/internal_is_ax_welcome_screen_enabled_for_project_body.py +1 -1
- ory_client/model/internal_is_owner_for_project_by_slug_body.py +1 -1
- ory_client/model/internal_is_owner_for_project_by_slug_response.py +1 -1
- ory_client/model/internal_provision_mock_subscription.py +1 -1
- ory_client/model/introspected_o_auth2_token.py +1 -1
- ory_client/model/is_owner_for_project_by_slug.py +1 -1
- ory_client/model/is_ready200_response.py +1 -1
- ory_client/model/is_ready503_response.py +1 -1
- ory_client/model/json_patch.py +1 -1
- ory_client/model/json_patch_document.py +1 -1
- ory_client/model/json_web_key.py +1 -1
- ory_client/model/json_web_key_set.py +1 -1
- ory_client/model/keto_namespace.py +1 -1
- ory_client/model/keto_namespaces.py +1 -1
- ory_client/model/list_custom_domains.py +1 -1
- ory_client/model/list_event_streams.py +1 -1
- ory_client/model/list_my_workspaces_response.py +1 -1
- ory_client/model/list_organizations_response.py +1 -1
- ory_client/model/login_flow.py +1 -1
- ory_client/model/login_flow_state.py +1 -1
- ory_client/model/logout_flow.py +1 -1
- ory_client/model/managed_identity_schema.py +1 -1
- ory_client/model/managed_identity_schema_validation_result.py +1 -1
- ory_client/model/managed_identity_schemas.py +1 -1
- ory_client/model/member_invite.py +1 -1
- ory_client/model/member_invites.py +1 -1
- ory_client/model/message.py +1 -1
- ory_client/model/message_dispatch.py +1 -1
- ory_client/model/metrics_datapoint.py +1 -1
- ory_client/model/namespace.py +1 -1
- ory_client/model/needs_privileged_session_error.py +1 -1
- ory_client/model/normalized_project.py +1 -1
- ory_client/model/normalized_project_revision.py +1 -1
- ory_client/model/normalized_project_revision_courier_channel.py +1 -1
- ory_client/model/normalized_project_revision_hook.py +1 -1
- ory_client/model/normalized_project_revision_identity_schema.py +1 -1
- ory_client/model/normalized_project_revision_identity_schemas.py +1 -1
- ory_client/model/normalized_project_revision_third_party_provider.py +1 -1
- ory_client/model/normalized_project_revision_tokenizer_template.py +1 -1
- ory_client/model/normalized_project_revision_tokenizer_templates.py +1 -1
- ory_client/model/normalized_projects.py +1 -1
- ory_client/model/null_duration.py +1 -1
- ory_client/model/o_auth2_client.py +1 -1
- ory_client/model/o_auth2_client_token_lifespans.py +1 -1
- ory_client/model/o_auth2_consent_request.py +1 -1
- ory_client/model/o_auth2_consent_request_open_id_connect_context.py +1 -1
- ory_client/model/o_auth2_consent_session.py +1 -1
- ory_client/model/o_auth2_consent_session_expires_at.py +1 -1
- ory_client/model/o_auth2_consent_sessions.py +1 -1
- ory_client/model/o_auth2_login_request.py +1 -1
- ory_client/model/o_auth2_logout_request.py +1 -1
- ory_client/model/o_auth2_redirect_to.py +1 -1
- ory_client/model/o_auth2_token_exchange.py +1 -1
- ory_client/model/oidc_configuration.py +1 -1
- ory_client/model/oidc_user_info.py +1 -1
- ory_client/model/organization.py +1 -1
- ory_client/model/organization_body.py +1 -1
- ory_client/model/pagination.py +1 -1
- ory_client/model/pagination_headers.py +1 -1
- ory_client/model/parse_error.py +1 -1
- ory_client/model/patch_identities_body.py +1 -1
- ory_client/model/perform_native_logout_body.py +1 -1
- ory_client/model/permissions_on_project.py +1 -1
- ory_client/model/plan.py +1 -1
- ory_client/model/plan_details.py +1 -1
- ory_client/model/plans.py +1 -1
- ory_client/model/post_check_permission_body.py +1 -1
- ory_client/model/post_check_permission_or_error_body.py +1 -1
- ory_client/model/pricing.py +1 -1
- ory_client/model/project.py +1 -1
- ory_client/model/project_api_key.py +1 -1
- ory_client/model/project_api_keys.py +1 -1
- ory_client/model/project_branding.py +1 -1
- ory_client/model/project_branding_colors.py +1 -1
- ory_client/model/project_branding_theme.py +1 -1
- ory_client/model/project_branding_themes.py +1 -1
- ory_client/model/project_cors.py +1 -1
- ory_client/model/project_events_datapoint.py +1 -1
- ory_client/model/project_host.py +1 -1
- ory_client/model/project_member.py +1 -1
- ory_client/model/project_members.py +1 -1
- ory_client/model/project_metadata.py +1 -1
- ory_client/model/project_metadata_list.py +1 -1
- ory_client/model/project_revision_hooks.py +1 -1
- ory_client/model/project_revision_identity_schemas.py +1 -1
- ory_client/model/project_revision_third_party_login_providers.py +1 -1
- ory_client/model/project_revisions.py +1 -1
- ory_client/model/project_service_identity.py +1 -1
- ory_client/model/project_service_o_auth2.py +1 -1
- ory_client/model/project_service_permission.py +1 -1
- ory_client/model/project_services.py +1 -1
- ory_client/model/projects.py +1 -1
- ory_client/model/quota_usage.py +1 -1
- ory_client/model/recovery_code_for_identity.py +1 -1
- ory_client/model/recovery_flow.py +1 -1
- ory_client/model/recovery_flow_state.py +1 -1
- ory_client/model/recovery_identity_address.py +1 -1
- ory_client/model/recovery_link_for_identity.py +1 -1
- ory_client/model/registration_flow.py +1 -1
- ory_client/model/registration_flow_state.py +1 -1
- ory_client/model/reject_o_auth2_request.py +1 -1
- ory_client/model/relation_query.py +1 -1
- ory_client/model/relationship.py +1 -1
- ory_client/model/relationship_namespaces.py +1 -1
- ory_client/model/relationship_patch.py +1 -1
- ory_client/model/relationships.py +1 -1
- ory_client/model/revision_courier_channels.py +1 -1
- ory_client/model/rfc6749_error_json.py +1 -1
- ory_client/model/schema_patch.py +1 -1
- ory_client/model/self_service_flow_expired_error.py +1 -1
- ory_client/model/session.py +1 -1
- ory_client/model/session_activity_datapoint.py +1 -1
- ory_client/model/session_authentication_method.py +1 -1
- ory_client/model/session_authentication_methods.py +1 -1
- ory_client/model/session_device.py +1 -1
- ory_client/model/set_active_project_in_console_body.py +1 -1
- ory_client/model/set_custom_domain_body.py +1 -1
- ory_client/model/set_event_stream_body.py +1 -1
- ory_client/model/set_project.py +1 -1
- ory_client/model/set_project_branding_theme_body.py +1 -1
- ory_client/model/settings_flow.py +1 -1
- ory_client/model/settings_flow_state.py +1 -1
- ory_client/model/source_position.py +1 -1
- ory_client/model/string_slice_json_format.py +1 -1
- ory_client/model/stripe_customer.py +1 -1
- ory_client/model/subject_set.py +1 -1
- ory_client/model/subscription.py +1 -1
- ory_client/model/successful_code_exchange_response.py +1 -1
- ory_client/model/successful_native_login.py +1 -1
- ory_client/model/successful_native_registration.py +1 -1
- ory_client/model/successful_project_update.py +1 -1
- ory_client/model/token_pagination.py +1 -1
- ory_client/model/token_pagination_headers.py +1 -1
- ory_client/model/token_pagination_request_parameters.py +1 -1
- ory_client/model/token_pagination_response_headers.py +1 -1
- ory_client/model/trust_o_auth2_jwt_grant_issuer.py +1 -1
- ory_client/model/trusted_o_auth2_jwt_grant_issuer.py +1 -1
- ory_client/model/trusted_o_auth2_jwt_grant_issuers.py +1 -1
- ory_client/model/trusted_o_auth2_jwt_grant_json_web_key.py +1 -1
- ory_client/model/ui_container.py +1 -1
- ory_client/model/ui_node.py +1 -1
- ory_client/model/ui_node_anchor_attributes.py +1 -1
- ory_client/model/ui_node_attributes.py +1 -1
- ory_client/model/ui_node_image_attributes.py +1 -1
- ory_client/model/ui_node_input_attributes.py +1 -1
- ory_client/model/ui_node_meta.py +1 -1
- ory_client/model/ui_node_script_attributes.py +1 -1
- ory_client/model/ui_node_text_attributes.py +1 -1
- ory_client/model/ui_nodes.py +1 -1
- ory_client/model/ui_text.py +1 -1
- ory_client/model/ui_texts.py +1 -1
- ory_client/model/update_identity_body.py +1 -1
- ory_client/model/update_login_flow_body.py +1 -1
- ory_client/model/update_login_flow_with_code_method.py +1 -1
- ory_client/model/update_login_flow_with_lookup_secret_method.py +1 -1
- ory_client/model/update_login_flow_with_oidc_method.py +1 -1
- ory_client/model/update_login_flow_with_password_method.py +1 -1
- ory_client/model/update_login_flow_with_totp_method.py +1 -1
- ory_client/model/update_login_flow_with_web_authn_method.py +1 -1
- ory_client/model/update_recovery_flow_body.py +1 -1
- ory_client/model/update_recovery_flow_with_code_method.py +1 -1
- ory_client/model/update_recovery_flow_with_link_method.py +1 -1
- ory_client/model/update_registration_flow_body.py +1 -1
- ory_client/model/update_registration_flow_with_code_method.py +1 -1
- ory_client/model/update_registration_flow_with_oidc_method.py +1 -1
- ory_client/model/update_registration_flow_with_password_method.py +1 -1
- ory_client/model/update_registration_flow_with_web_authn_method.py +1 -1
- ory_client/model/update_settings_flow_body.py +1 -1
- ory_client/model/update_settings_flow_with_lookup_method.py +1 -1
- ory_client/model/update_settings_flow_with_oidc_method.py +1 -1
- ory_client/model/update_settings_flow_with_password_method.py +1 -1
- ory_client/model/update_settings_flow_with_profile_method.py +1 -1
- ory_client/model/update_settings_flow_with_totp_method.py +1 -1
- ory_client/model/update_settings_flow_with_web_authn_method.py +1 -1
- ory_client/model/update_subscription_body.py +1 -1
- ory_client/model/update_verification_flow_body.py +1 -1
- ory_client/model/update_verification_flow_with_code_method.py +1 -1
- ory_client/model/update_verification_flow_with_link_method.py +1 -1
- ory_client/model/usage.py +1 -1
- ory_client/model/verifiable_credential_priming_response.py +1 -1
- ory_client/model/verifiable_credential_proof.py +1 -1
- ory_client/model/verifiable_credential_response.py +1 -1
- ory_client/model/verifiable_identity_address.py +1 -1
- ory_client/model/verification_flow.py +1 -1
- ory_client/model/verification_flow_state.py +1 -1
- ory_client/model/version.py +1 -1
- ory_client/model/warning.py +1 -1
- ory_client/model/workspace.py +1 -1
- ory_client/model/workspaces.py +1 -1
- ory_client/model_utils.py +1 -1
- ory_client/rest.py +1 -1
- {ory_client-1.5.0.dist-info → ory_client-1.5.1.dist-info}/METADATA +1 -1
- ory_client-1.5.1.dist-info/RECORD +305 -0
- ory_client-1.5.0.dist-info/RECORD +0 -304
- {ory_client-1.5.0.dist-info → ory_client-1.5.1.dist-info}/LICENSE +0 -0
- {ory_client-1.5.0.dist-info → ory_client-1.5.1.dist-info}/WHEEL +0 -0
- {ory_client-1.5.0.dist-info → ory_client-1.5.1.dist-info}/top_level.txt +0 -0
ory_client/__init__.py
CHANGED
@@ -5,13 +5,13 @@
|
|
5
5
|
|
6
6
|
Documentation for all public and administrative Ory APIs. Administrative APIs can only be accessed with a valid Personal Access Token. Public APIs are mostly used in browsers. # noqa: E501
|
7
7
|
|
8
|
-
The version of the OpenAPI document: v1.5.
|
8
|
+
The version of the OpenAPI document: v1.5.1
|
9
9
|
Contact: support@ory.sh
|
10
10
|
Generated by: https://openapi-generator.tech
|
11
11
|
"""
|
12
12
|
|
13
13
|
|
14
|
-
__version__ = "v1.5.
|
14
|
+
__version__ = "v1.5.1"
|
15
15
|
|
16
16
|
# import ApiClient
|
17
17
|
from ory_client.api_client import ApiClient
|
ory_client/api/courier_api.py
CHANGED
@@ -3,7 +3,7 @@
|
|
3
3
|
|
4
4
|
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. # noqa: E501
|
5
5
|
|
6
|
-
The version of the OpenAPI document: v1.5.
|
6
|
+
The version of the OpenAPI document: v1.5.1
|
7
7
|
Contact: support@ory.sh
|
8
8
|
Generated by: https://openapi-generator.tech
|
9
9
|
"""
|
@@ -0,0 +1,614 @@
|
|
1
|
+
"""
|
2
|
+
Ory APIs
|
3
|
+
|
4
|
+
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. # noqa: E501
|
5
|
+
|
6
|
+
The version of the OpenAPI document: v1.5.1
|
7
|
+
Contact: support@ory.sh
|
8
|
+
Generated by: https://openapi-generator.tech
|
9
|
+
"""
|
10
|
+
|
11
|
+
|
12
|
+
import re # noqa: F401
|
13
|
+
import sys # noqa: F401
|
14
|
+
|
15
|
+
from ory_client.api_client import ApiClient, Endpoint as _Endpoint
|
16
|
+
from ory_client.model_utils import ( # noqa: F401
|
17
|
+
check_allowed_values,
|
18
|
+
check_validations,
|
19
|
+
date,
|
20
|
+
datetime,
|
21
|
+
file_type,
|
22
|
+
none_type,
|
23
|
+
validate_and_convert_types
|
24
|
+
)
|
25
|
+
from ory_client.model.create_event_stream_body import CreateEventStreamBody
|
26
|
+
from ory_client.model.error_generic import ErrorGeneric
|
27
|
+
from ory_client.model.event_stream import EventStream
|
28
|
+
from ory_client.model.list_event_streams import ListEventStreams
|
29
|
+
from ory_client.model.set_event_stream_body import SetEventStreamBody
|
30
|
+
|
31
|
+
|
32
|
+
class EventsApi(object):
|
33
|
+
"""NOTE: This class is auto generated by OpenAPI Generator
|
34
|
+
Ref: https://openapi-generator.tech
|
35
|
+
|
36
|
+
Do not edit the class manually.
|
37
|
+
"""
|
38
|
+
|
39
|
+
def __init__(self, api_client=None):
|
40
|
+
if api_client is None:
|
41
|
+
api_client = ApiClient()
|
42
|
+
self.api_client = api_client
|
43
|
+
self.create_event_stream_endpoint = _Endpoint(
|
44
|
+
settings={
|
45
|
+
'response_type': (EventStream,),
|
46
|
+
'auth': [
|
47
|
+
'oryAccessToken'
|
48
|
+
],
|
49
|
+
'endpoint_path': '/projects/{project_id}/eventstreams',
|
50
|
+
'operation_id': 'create_event_stream',
|
51
|
+
'http_method': 'POST',
|
52
|
+
'servers': None,
|
53
|
+
},
|
54
|
+
params_map={
|
55
|
+
'all': [
|
56
|
+
'project_id',
|
57
|
+
'create_event_stream_body',
|
58
|
+
],
|
59
|
+
'required': [
|
60
|
+
'project_id',
|
61
|
+
'create_event_stream_body',
|
62
|
+
],
|
63
|
+
'nullable': [
|
64
|
+
],
|
65
|
+
'enum': [
|
66
|
+
],
|
67
|
+
'validation': [
|
68
|
+
]
|
69
|
+
},
|
70
|
+
root_map={
|
71
|
+
'validations': {
|
72
|
+
},
|
73
|
+
'allowed_values': {
|
74
|
+
},
|
75
|
+
'openapi_types': {
|
76
|
+
'project_id':
|
77
|
+
(str,),
|
78
|
+
'create_event_stream_body':
|
79
|
+
(CreateEventStreamBody,),
|
80
|
+
},
|
81
|
+
'attribute_map': {
|
82
|
+
'project_id': 'project_id',
|
83
|
+
},
|
84
|
+
'location_map': {
|
85
|
+
'project_id': 'path',
|
86
|
+
'create_event_stream_body': 'body',
|
87
|
+
},
|
88
|
+
'collection_format_map': {
|
89
|
+
}
|
90
|
+
},
|
91
|
+
headers_map={
|
92
|
+
'accept': [
|
93
|
+
'application/json'
|
94
|
+
],
|
95
|
+
'content_type': [
|
96
|
+
'application/json'
|
97
|
+
]
|
98
|
+
},
|
99
|
+
api_client=api_client
|
100
|
+
)
|
101
|
+
self.delete_event_stream_endpoint = _Endpoint(
|
102
|
+
settings={
|
103
|
+
'response_type': None,
|
104
|
+
'auth': [
|
105
|
+
'oryAccessToken'
|
106
|
+
],
|
107
|
+
'endpoint_path': '/projects/{project_id}/eventstreams/{event_stream_id}',
|
108
|
+
'operation_id': 'delete_event_stream',
|
109
|
+
'http_method': 'DELETE',
|
110
|
+
'servers': None,
|
111
|
+
},
|
112
|
+
params_map={
|
113
|
+
'all': [
|
114
|
+
'project_id',
|
115
|
+
'event_stream_id',
|
116
|
+
],
|
117
|
+
'required': [
|
118
|
+
'project_id',
|
119
|
+
'event_stream_id',
|
120
|
+
],
|
121
|
+
'nullable': [
|
122
|
+
],
|
123
|
+
'enum': [
|
124
|
+
],
|
125
|
+
'validation': [
|
126
|
+
]
|
127
|
+
},
|
128
|
+
root_map={
|
129
|
+
'validations': {
|
130
|
+
},
|
131
|
+
'allowed_values': {
|
132
|
+
},
|
133
|
+
'openapi_types': {
|
134
|
+
'project_id':
|
135
|
+
(str,),
|
136
|
+
'event_stream_id':
|
137
|
+
(str,),
|
138
|
+
},
|
139
|
+
'attribute_map': {
|
140
|
+
'project_id': 'project_id',
|
141
|
+
'event_stream_id': 'event_stream_id',
|
142
|
+
},
|
143
|
+
'location_map': {
|
144
|
+
'project_id': 'path',
|
145
|
+
'event_stream_id': 'path',
|
146
|
+
},
|
147
|
+
'collection_format_map': {
|
148
|
+
}
|
149
|
+
},
|
150
|
+
headers_map={
|
151
|
+
'accept': [
|
152
|
+
'application/json'
|
153
|
+
],
|
154
|
+
'content_type': [],
|
155
|
+
},
|
156
|
+
api_client=api_client
|
157
|
+
)
|
158
|
+
self.list_event_streams_endpoint = _Endpoint(
|
159
|
+
settings={
|
160
|
+
'response_type': (ListEventStreams,),
|
161
|
+
'auth': [
|
162
|
+
'oryAccessToken'
|
163
|
+
],
|
164
|
+
'endpoint_path': '/projects/{project_id}/eventstreams',
|
165
|
+
'operation_id': 'list_event_streams',
|
166
|
+
'http_method': 'GET',
|
167
|
+
'servers': None,
|
168
|
+
},
|
169
|
+
params_map={
|
170
|
+
'all': [
|
171
|
+
'project_id',
|
172
|
+
],
|
173
|
+
'required': [
|
174
|
+
'project_id',
|
175
|
+
],
|
176
|
+
'nullable': [
|
177
|
+
],
|
178
|
+
'enum': [
|
179
|
+
],
|
180
|
+
'validation': [
|
181
|
+
]
|
182
|
+
},
|
183
|
+
root_map={
|
184
|
+
'validations': {
|
185
|
+
},
|
186
|
+
'allowed_values': {
|
187
|
+
},
|
188
|
+
'openapi_types': {
|
189
|
+
'project_id':
|
190
|
+
(str,),
|
191
|
+
},
|
192
|
+
'attribute_map': {
|
193
|
+
'project_id': 'project_id',
|
194
|
+
},
|
195
|
+
'location_map': {
|
196
|
+
'project_id': 'path',
|
197
|
+
},
|
198
|
+
'collection_format_map': {
|
199
|
+
}
|
200
|
+
},
|
201
|
+
headers_map={
|
202
|
+
'accept': [
|
203
|
+
'application/json'
|
204
|
+
],
|
205
|
+
'content_type': [],
|
206
|
+
},
|
207
|
+
api_client=api_client
|
208
|
+
)
|
209
|
+
self.set_event_stream_endpoint = _Endpoint(
|
210
|
+
settings={
|
211
|
+
'response_type': (EventStream,),
|
212
|
+
'auth': [
|
213
|
+
'oryAccessToken'
|
214
|
+
],
|
215
|
+
'endpoint_path': '/projects/{project_id}/eventstreams/{event_stream_id}',
|
216
|
+
'operation_id': 'set_event_stream',
|
217
|
+
'http_method': 'PUT',
|
218
|
+
'servers': None,
|
219
|
+
},
|
220
|
+
params_map={
|
221
|
+
'all': [
|
222
|
+
'project_id',
|
223
|
+
'event_stream_id',
|
224
|
+
'set_event_stream_body',
|
225
|
+
],
|
226
|
+
'required': [
|
227
|
+
'project_id',
|
228
|
+
'event_stream_id',
|
229
|
+
],
|
230
|
+
'nullable': [
|
231
|
+
],
|
232
|
+
'enum': [
|
233
|
+
],
|
234
|
+
'validation': [
|
235
|
+
]
|
236
|
+
},
|
237
|
+
root_map={
|
238
|
+
'validations': {
|
239
|
+
},
|
240
|
+
'allowed_values': {
|
241
|
+
},
|
242
|
+
'openapi_types': {
|
243
|
+
'project_id':
|
244
|
+
(str,),
|
245
|
+
'event_stream_id':
|
246
|
+
(str,),
|
247
|
+
'set_event_stream_body':
|
248
|
+
(SetEventStreamBody,),
|
249
|
+
},
|
250
|
+
'attribute_map': {
|
251
|
+
'project_id': 'project_id',
|
252
|
+
'event_stream_id': 'event_stream_id',
|
253
|
+
},
|
254
|
+
'location_map': {
|
255
|
+
'project_id': 'path',
|
256
|
+
'event_stream_id': 'path',
|
257
|
+
'set_event_stream_body': 'body',
|
258
|
+
},
|
259
|
+
'collection_format_map': {
|
260
|
+
}
|
261
|
+
},
|
262
|
+
headers_map={
|
263
|
+
'accept': [
|
264
|
+
'application/json'
|
265
|
+
],
|
266
|
+
'content_type': [
|
267
|
+
'application/json'
|
268
|
+
]
|
269
|
+
},
|
270
|
+
api_client=api_client
|
271
|
+
)
|
272
|
+
|
273
|
+
def create_event_stream(
|
274
|
+
self,
|
275
|
+
project_id,
|
276
|
+
create_event_stream_body,
|
277
|
+
**kwargs
|
278
|
+
):
|
279
|
+
"""Create an event stream for your project. # noqa: E501
|
280
|
+
|
281
|
+
This method makes a synchronous HTTP request by default. To make an
|
282
|
+
asynchronous HTTP request, please pass async_req=True
|
283
|
+
|
284
|
+
>>> thread = api.create_event_stream(project_id, create_event_stream_body, async_req=True)
|
285
|
+
>>> result = thread.get()
|
286
|
+
|
287
|
+
Args:
|
288
|
+
project_id (str): Project ID The project's ID.
|
289
|
+
create_event_stream_body (CreateEventStreamBody):
|
290
|
+
|
291
|
+
Keyword Args:
|
292
|
+
_return_http_data_only (bool): response data without head status
|
293
|
+
code and headers. Default is True.
|
294
|
+
_preload_content (bool): if False, the urllib3.HTTPResponse object
|
295
|
+
will be returned without reading/decoding response data.
|
296
|
+
Default is True.
|
297
|
+
_request_timeout (int/float/tuple): timeout setting for this request. If
|
298
|
+
one number provided, it will be total request timeout. It can also
|
299
|
+
be a pair (tuple) of (connection, read) timeouts.
|
300
|
+
Default is None.
|
301
|
+
_check_input_type (bool): specifies if type checking
|
302
|
+
should be done one the data sent to the server.
|
303
|
+
Default is True.
|
304
|
+
_check_return_type (bool): specifies if type checking
|
305
|
+
should be done one the data received from the server.
|
306
|
+
Default is True.
|
307
|
+
_spec_property_naming (bool): True if the variable names in the input data
|
308
|
+
are serialized names, as specified in the OpenAPI document.
|
309
|
+
False if the variable names in the input data
|
310
|
+
are pythonic names, e.g. snake case (default)
|
311
|
+
_content_type (str/None): force body content-type.
|
312
|
+
Default is None and content-type will be predicted by allowed
|
313
|
+
content-types and body.
|
314
|
+
_host_index (int/None): specifies the index of the server
|
315
|
+
that we want to use.
|
316
|
+
Default is read from the configuration.
|
317
|
+
_request_auths (list): set to override the auth_settings for an a single
|
318
|
+
request; this effectively ignores the authentication
|
319
|
+
in the spec for a single request.
|
320
|
+
Default is None
|
321
|
+
async_req (bool): execute request asynchronously
|
322
|
+
|
323
|
+
Returns:
|
324
|
+
EventStream
|
325
|
+
If the method is called asynchronously, returns the request
|
326
|
+
thread.
|
327
|
+
"""
|
328
|
+
kwargs['async_req'] = kwargs.get(
|
329
|
+
'async_req', False
|
330
|
+
)
|
331
|
+
kwargs['_return_http_data_only'] = kwargs.get(
|
332
|
+
'_return_http_data_only', True
|
333
|
+
)
|
334
|
+
kwargs['_preload_content'] = kwargs.get(
|
335
|
+
'_preload_content', True
|
336
|
+
)
|
337
|
+
kwargs['_request_timeout'] = kwargs.get(
|
338
|
+
'_request_timeout', None
|
339
|
+
)
|
340
|
+
kwargs['_check_input_type'] = kwargs.get(
|
341
|
+
'_check_input_type', True
|
342
|
+
)
|
343
|
+
kwargs['_check_return_type'] = kwargs.get(
|
344
|
+
'_check_return_type', True
|
345
|
+
)
|
346
|
+
kwargs['_spec_property_naming'] = kwargs.get(
|
347
|
+
'_spec_property_naming', False
|
348
|
+
)
|
349
|
+
kwargs['_content_type'] = kwargs.get(
|
350
|
+
'_content_type')
|
351
|
+
kwargs['_host_index'] = kwargs.get('_host_index')
|
352
|
+
kwargs['_request_auths'] = kwargs.get('_request_auths', None)
|
353
|
+
kwargs['project_id'] = \
|
354
|
+
project_id
|
355
|
+
kwargs['create_event_stream_body'] = \
|
356
|
+
create_event_stream_body
|
357
|
+
return self.create_event_stream_endpoint.call_with_http_info(**kwargs)
|
358
|
+
|
359
|
+
def delete_event_stream(
|
360
|
+
self,
|
361
|
+
project_id,
|
362
|
+
event_stream_id,
|
363
|
+
**kwargs
|
364
|
+
):
|
365
|
+
"""Remove an event stream from a project # noqa: E501
|
366
|
+
|
367
|
+
Remove an event stream from a project. # noqa: E501
|
368
|
+
This method makes a synchronous HTTP request by default. To make an
|
369
|
+
asynchronous HTTP request, please pass async_req=True
|
370
|
+
|
371
|
+
>>> thread = api.delete_event_stream(project_id, event_stream_id, async_req=True)
|
372
|
+
>>> result = thread.get()
|
373
|
+
|
374
|
+
Args:
|
375
|
+
project_id (str): Project ID The project's ID.
|
376
|
+
event_stream_id (str): Event Stream ID The ID of the event stream to be deleted, as returned when created.
|
377
|
+
|
378
|
+
Keyword Args:
|
379
|
+
_return_http_data_only (bool): response data without head status
|
380
|
+
code and headers. Default is True.
|
381
|
+
_preload_content (bool): if False, the urllib3.HTTPResponse object
|
382
|
+
will be returned without reading/decoding response data.
|
383
|
+
Default is True.
|
384
|
+
_request_timeout (int/float/tuple): timeout setting for this request. If
|
385
|
+
one number provided, it will be total request timeout. It can also
|
386
|
+
be a pair (tuple) of (connection, read) timeouts.
|
387
|
+
Default is None.
|
388
|
+
_check_input_type (bool): specifies if type checking
|
389
|
+
should be done one the data sent to the server.
|
390
|
+
Default is True.
|
391
|
+
_check_return_type (bool): specifies if type checking
|
392
|
+
should be done one the data received from the server.
|
393
|
+
Default is True.
|
394
|
+
_spec_property_naming (bool): True if the variable names in the input data
|
395
|
+
are serialized names, as specified in the OpenAPI document.
|
396
|
+
False if the variable names in the input data
|
397
|
+
are pythonic names, e.g. snake case (default)
|
398
|
+
_content_type (str/None): force body content-type.
|
399
|
+
Default is None and content-type will be predicted by allowed
|
400
|
+
content-types and body.
|
401
|
+
_host_index (int/None): specifies the index of the server
|
402
|
+
that we want to use.
|
403
|
+
Default is read from the configuration.
|
404
|
+
_request_auths (list): set to override the auth_settings for an a single
|
405
|
+
request; this effectively ignores the authentication
|
406
|
+
in the spec for a single request.
|
407
|
+
Default is None
|
408
|
+
async_req (bool): execute request asynchronously
|
409
|
+
|
410
|
+
Returns:
|
411
|
+
None
|
412
|
+
If the method is called asynchronously, returns the request
|
413
|
+
thread.
|
414
|
+
"""
|
415
|
+
kwargs['async_req'] = kwargs.get(
|
416
|
+
'async_req', False
|
417
|
+
)
|
418
|
+
kwargs['_return_http_data_only'] = kwargs.get(
|
419
|
+
'_return_http_data_only', True
|
420
|
+
)
|
421
|
+
kwargs['_preload_content'] = kwargs.get(
|
422
|
+
'_preload_content', True
|
423
|
+
)
|
424
|
+
kwargs['_request_timeout'] = kwargs.get(
|
425
|
+
'_request_timeout', None
|
426
|
+
)
|
427
|
+
kwargs['_check_input_type'] = kwargs.get(
|
428
|
+
'_check_input_type', True
|
429
|
+
)
|
430
|
+
kwargs['_check_return_type'] = kwargs.get(
|
431
|
+
'_check_return_type', True
|
432
|
+
)
|
433
|
+
kwargs['_spec_property_naming'] = kwargs.get(
|
434
|
+
'_spec_property_naming', False
|
435
|
+
)
|
436
|
+
kwargs['_content_type'] = kwargs.get(
|
437
|
+
'_content_type')
|
438
|
+
kwargs['_host_index'] = kwargs.get('_host_index')
|
439
|
+
kwargs['_request_auths'] = kwargs.get('_request_auths', None)
|
440
|
+
kwargs['project_id'] = \
|
441
|
+
project_id
|
442
|
+
kwargs['event_stream_id'] = \
|
443
|
+
event_stream_id
|
444
|
+
return self.delete_event_stream_endpoint.call_with_http_info(**kwargs)
|
445
|
+
|
446
|
+
def list_event_streams(
|
447
|
+
self,
|
448
|
+
project_id,
|
449
|
+
**kwargs
|
450
|
+
):
|
451
|
+
"""List all event streams for the project. This endpoint is not paginated. # noqa: E501
|
452
|
+
|
453
|
+
This method makes a synchronous HTTP request by default. To make an
|
454
|
+
asynchronous HTTP request, please pass async_req=True
|
455
|
+
|
456
|
+
>>> thread = api.list_event_streams(project_id, async_req=True)
|
457
|
+
>>> result = thread.get()
|
458
|
+
|
459
|
+
Args:
|
460
|
+
project_id (str): Project ID The project's ID.
|
461
|
+
|
462
|
+
Keyword Args:
|
463
|
+
_return_http_data_only (bool): response data without head status
|
464
|
+
code and headers. Default is True.
|
465
|
+
_preload_content (bool): if False, the urllib3.HTTPResponse object
|
466
|
+
will be returned without reading/decoding response data.
|
467
|
+
Default is True.
|
468
|
+
_request_timeout (int/float/tuple): timeout setting for this request. If
|
469
|
+
one number provided, it will be total request timeout. It can also
|
470
|
+
be a pair (tuple) of (connection, read) timeouts.
|
471
|
+
Default is None.
|
472
|
+
_check_input_type (bool): specifies if type checking
|
473
|
+
should be done one the data sent to the server.
|
474
|
+
Default is True.
|
475
|
+
_check_return_type (bool): specifies if type checking
|
476
|
+
should be done one the data received from the server.
|
477
|
+
Default is True.
|
478
|
+
_spec_property_naming (bool): True if the variable names in the input data
|
479
|
+
are serialized names, as specified in the OpenAPI document.
|
480
|
+
False if the variable names in the input data
|
481
|
+
are pythonic names, e.g. snake case (default)
|
482
|
+
_content_type (str/None): force body content-type.
|
483
|
+
Default is None and content-type will be predicted by allowed
|
484
|
+
content-types and body.
|
485
|
+
_host_index (int/None): specifies the index of the server
|
486
|
+
that we want to use.
|
487
|
+
Default is read from the configuration.
|
488
|
+
_request_auths (list): set to override the auth_settings for an a single
|
489
|
+
request; this effectively ignores the authentication
|
490
|
+
in the spec for a single request.
|
491
|
+
Default is None
|
492
|
+
async_req (bool): execute request asynchronously
|
493
|
+
|
494
|
+
Returns:
|
495
|
+
ListEventStreams
|
496
|
+
If the method is called asynchronously, returns the request
|
497
|
+
thread.
|
498
|
+
"""
|
499
|
+
kwargs['async_req'] = kwargs.get(
|
500
|
+
'async_req', False
|
501
|
+
)
|
502
|
+
kwargs['_return_http_data_only'] = kwargs.get(
|
503
|
+
'_return_http_data_only', True
|
504
|
+
)
|
505
|
+
kwargs['_preload_content'] = kwargs.get(
|
506
|
+
'_preload_content', True
|
507
|
+
)
|
508
|
+
kwargs['_request_timeout'] = kwargs.get(
|
509
|
+
'_request_timeout', None
|
510
|
+
)
|
511
|
+
kwargs['_check_input_type'] = kwargs.get(
|
512
|
+
'_check_input_type', True
|
513
|
+
)
|
514
|
+
kwargs['_check_return_type'] = kwargs.get(
|
515
|
+
'_check_return_type', True
|
516
|
+
)
|
517
|
+
kwargs['_spec_property_naming'] = kwargs.get(
|
518
|
+
'_spec_property_naming', False
|
519
|
+
)
|
520
|
+
kwargs['_content_type'] = kwargs.get(
|
521
|
+
'_content_type')
|
522
|
+
kwargs['_host_index'] = kwargs.get('_host_index')
|
523
|
+
kwargs['_request_auths'] = kwargs.get('_request_auths', None)
|
524
|
+
kwargs['project_id'] = \
|
525
|
+
project_id
|
526
|
+
return self.list_event_streams_endpoint.call_with_http_info(**kwargs)
|
527
|
+
|
528
|
+
def set_event_stream(
|
529
|
+
self,
|
530
|
+
project_id,
|
531
|
+
event_stream_id,
|
532
|
+
**kwargs
|
533
|
+
):
|
534
|
+
"""Update an event stream for a project. # noqa: E501
|
535
|
+
|
536
|
+
This method makes a synchronous HTTP request by default. To make an
|
537
|
+
asynchronous HTTP request, please pass async_req=True
|
538
|
+
|
539
|
+
>>> thread = api.set_event_stream(project_id, event_stream_id, async_req=True)
|
540
|
+
>>> result = thread.get()
|
541
|
+
|
542
|
+
Args:
|
543
|
+
project_id (str): Project ID The project's ID.
|
544
|
+
event_stream_id (str): Event Stream ID The event stream's ID.
|
545
|
+
|
546
|
+
Keyword Args:
|
547
|
+
set_event_stream_body (SetEventStreamBody): [optional]
|
548
|
+
_return_http_data_only (bool): response data without head status
|
549
|
+
code and headers. Default is True.
|
550
|
+
_preload_content (bool): if False, the urllib3.HTTPResponse object
|
551
|
+
will be returned without reading/decoding response data.
|
552
|
+
Default is True.
|
553
|
+
_request_timeout (int/float/tuple): timeout setting for this request. If
|
554
|
+
one number provided, it will be total request timeout. It can also
|
555
|
+
be a pair (tuple) of (connection, read) timeouts.
|
556
|
+
Default is None.
|
557
|
+
_check_input_type (bool): specifies if type checking
|
558
|
+
should be done one the data sent to the server.
|
559
|
+
Default is True.
|
560
|
+
_check_return_type (bool): specifies if type checking
|
561
|
+
should be done one the data received from the server.
|
562
|
+
Default is True.
|
563
|
+
_spec_property_naming (bool): True if the variable names in the input data
|
564
|
+
are serialized names, as specified in the OpenAPI document.
|
565
|
+
False if the variable names in the input data
|
566
|
+
are pythonic names, e.g. snake case (default)
|
567
|
+
_content_type (str/None): force body content-type.
|
568
|
+
Default is None and content-type will be predicted by allowed
|
569
|
+
content-types and body.
|
570
|
+
_host_index (int/None): specifies the index of the server
|
571
|
+
that we want to use.
|
572
|
+
Default is read from the configuration.
|
573
|
+
_request_auths (list): set to override the auth_settings for an a single
|
574
|
+
request; this effectively ignores the authentication
|
575
|
+
in the spec for a single request.
|
576
|
+
Default is None
|
577
|
+
async_req (bool): execute request asynchronously
|
578
|
+
|
579
|
+
Returns:
|
580
|
+
EventStream
|
581
|
+
If the method is called asynchronously, returns the request
|
582
|
+
thread.
|
583
|
+
"""
|
584
|
+
kwargs['async_req'] = kwargs.get(
|
585
|
+
'async_req', False
|
586
|
+
)
|
587
|
+
kwargs['_return_http_data_only'] = kwargs.get(
|
588
|
+
'_return_http_data_only', True
|
589
|
+
)
|
590
|
+
kwargs['_preload_content'] = kwargs.get(
|
591
|
+
'_preload_content', True
|
592
|
+
)
|
593
|
+
kwargs['_request_timeout'] = kwargs.get(
|
594
|
+
'_request_timeout', None
|
595
|
+
)
|
596
|
+
kwargs['_check_input_type'] = kwargs.get(
|
597
|
+
'_check_input_type', True
|
598
|
+
)
|
599
|
+
kwargs['_check_return_type'] = kwargs.get(
|
600
|
+
'_check_return_type', True
|
601
|
+
)
|
602
|
+
kwargs['_spec_property_naming'] = kwargs.get(
|
603
|
+
'_spec_property_naming', False
|
604
|
+
)
|
605
|
+
kwargs['_content_type'] = kwargs.get(
|
606
|
+
'_content_type')
|
607
|
+
kwargs['_host_index'] = kwargs.get('_host_index')
|
608
|
+
kwargs['_request_auths'] = kwargs.get('_request_auths', None)
|
609
|
+
kwargs['project_id'] = \
|
610
|
+
project_id
|
611
|
+
kwargs['event_stream_id'] = \
|
612
|
+
event_stream_id
|
613
|
+
return self.set_event_stream_endpoint.call_with_http_info(**kwargs)
|
614
|
+
|
ory_client/api/frontend_api.py
CHANGED
@@ -3,7 +3,7 @@
|
|
3
3
|
|
4
4
|
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. # noqa: E501
|
5
5
|
|
6
|
-
The version of the OpenAPI document: v1.5.
|
6
|
+
The version of the OpenAPI document: v1.5.1
|
7
7
|
Contact: support@ory.sh
|
8
8
|
Generated by: https://openapi-generator.tech
|
9
9
|
"""
|
ory_client/api/identity_api.py
CHANGED
@@ -3,7 +3,7 @@
|
|
3
3
|
|
4
4
|
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. # noqa: E501
|
5
5
|
|
6
|
-
The version of the OpenAPI document: v1.5.
|
6
|
+
The version of the OpenAPI document: v1.5.1
|
7
7
|
Contact: support@ory.sh
|
8
8
|
Generated by: https://openapi-generator.tech
|
9
9
|
"""
|
ory_client/api/jwk_api.py
CHANGED
@@ -3,7 +3,7 @@
|
|
3
3
|
|
4
4
|
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. # noqa: E501
|
5
5
|
|
6
|
-
The version of the OpenAPI document: v1.5.
|
6
|
+
The version of the OpenAPI document: v1.5.1
|
7
7
|
Contact: support@ory.sh
|
8
8
|
Generated by: https://openapi-generator.tech
|
9
9
|
"""
|
ory_client/api/metadata_api.py
CHANGED
@@ -3,7 +3,7 @@
|
|
3
3
|
|
4
4
|
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. # noqa: E501
|
5
5
|
|
6
|
-
The version of the OpenAPI document: v1.5.
|
6
|
+
The version of the OpenAPI document: v1.5.1
|
7
7
|
Contact: support@ory.sh
|
8
8
|
Generated by: https://openapi-generator.tech
|
9
9
|
"""
|
ory_client/api/o_auth2_api.py
CHANGED
@@ -3,7 +3,7 @@
|
|
3
3
|
|
4
4
|
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. # noqa: E501
|
5
5
|
|
6
|
-
The version of the OpenAPI document: v1.5.
|
6
|
+
The version of the OpenAPI document: v1.5.1
|
7
7
|
Contact: support@ory.sh
|
8
8
|
Generated by: https://openapi-generator.tech
|
9
9
|
"""
|