From ac6451b781e8f5ab53d5fe0b55dc44b3033af76f Mon Sep 17 00:00:00 2001 From: "fern-api[bot]" <115122769+fern-api[bot]@users.noreply.github.com> Date: Tue, 7 Jul 2026 09:49:32 +0000 Subject: [PATCH] SDK regeneration --- lib/auth0.rb | 390 +++++++++++++++++- lib/auth0/organizations/client.rb | 5 + lib/auth0/organizations/roles/client.rb | 21 + .../organizations/roles/members/client.rb | 72 ++++ ...ization_role_members_request_parameters.rb | 25 ++ .../create_organization_request_content.rb | 2 + .../update_organization_request_content.rb | 2 + ...lt_privileged_access_with_credential_id.rb | 2 + ...vault_privileged_access_with_public_key.rb | 2 + .../types/connection_properties_options.rb | 4 + lib/auth0/types/connections_discovery_url.rb | 23 ++ lib/auth0/types/connections_oidc_metadata.rb | 82 ++++ .../create_organization_response_content.rb | 2 + ...ult_method_phone_number_identifier_enum.rb | 12 + lib/auth0/types/email_attribute.rb | 2 +- ...ifier.rb => email_attribute_identifier.rb} | 2 +- ...t_stream_cloud_event_connection_created.rb | 12 + ...ud_event_connection_created_cloud_event.rb | 26 ++ ...onnection_created_cloud_event_type_enum.rb | 11 + ...eam_cloud_event_connection_created_data.rb | 12 + ...m_cloud_event_connection_created_object.rb | 26 ++ ..._cloud_event_connection_created_object0.rb | 31 ++ ...onnection_created_object0authentication.rb | 10 + ...ction_created_object0connected_accounts.rb | 12 + ...vent_connection_created_object0metadata.rb | 9 + ...event_connection_created_object0options.rb | 62 +++ ...on_created_object0options_attribute_map.rb | 15 + ...object0options_attribute_map_attributes.rb | 23 ++ ...options_attribute_map_mapping_mode_enum.rb | 12 + ...ated_object0options_connection_settings.rb | 11 + ...t0options_connection_settings_pkce_enum.rb | 14 + ...ed_object0options_dpop_signing_alg_enum.rb | 14 + ...ons_federated_connections_access_tokens.rb | 12 + ...id_token_signed_response_algs_item_enum.rb | 17 + ...on_created_object0options_oidc_metadata.rb | 83 ++++ ...ated_object0options_schema_version_enum.rb | 12 + ...t0options_set_user_root_attributes_enum.rb | 13 + ...options_token_endpoint_auth_method_enum.rb | 12 + ...ns_token_endpoint_auth_signing_alg_enum.rb | 17 + ...ns_token_endpoint_jwtca_aud_format_enum.rb | 12 + ...ection_created_object0options_type_enum.rb | 12 + ..._created_object0options_upstream_params.rb | 23 ++ ...connection_created_object0strategy_enum.rb | 11 + ..._cloud_event_connection_created_object1.rb | 31 ++ ...onnection_created_object1authentication.rb | 10 + ...ction_created_object1connected_accounts.rb | 10 + ...vent_connection_created_object1metadata.rb | 9 + ...event_connection_created_object1options.rb | 62 +++ ...on_created_object1options_attribute_map.rb | 14 + ...object1options_attribute_map_attributes.rb | 23 ++ ...options_attribute_map_mapping_mode_enum.rb | 12 + ...ated_object1options_connection_settings.rb | 11 + ...t1options_connection_settings_pkce_enum.rb | 14 + ...ed_object1options_dpop_signing_alg_enum.rb | 14 + ...ons_federated_connections_access_tokens.rb | 12 + ...id_token_signed_response_algs_item_enum.rb | 17 + ...on_created_object1options_oidc_metadata.rb | 83 ++++ ...ated_object1options_schema_version_enum.rb | 12 + ...t1options_set_user_root_attributes_enum.rb | 13 + ...options_token_endpoint_auth_method_enum.rb | 12 + ...ns_token_endpoint_auth_signing_alg_enum.rb | 17 + ...ns_token_endpoint_jwtca_aud_format_enum.rb | 12 + ...ection_created_object1options_type_enum.rb | 11 + ..._created_object1options_upstream_params.rb | 23 ++ ...connection_created_object1strategy_enum.rb | 11 + ..._cloud_event_connection_created_object2.rb | 31 ++ ...onnection_created_object2authentication.rb | 10 + ...ction_created_object2connected_accounts.rb | 10 + ...vent_connection_created_object2metadata.rb | 9 + ...event_connection_created_object2options.rb | 72 ++++ ...t2options_assertion_decryption_settings.rb | 12 + ...ryption_settings_algorithm_profile_enum.rb | 11 + ...ed_object2options_digest_algorithm_enum.rb | 12 + ...ction_created_object2options_fields_map.rb | 23 ++ ...ion_created_object2options_idpinitiated.rb | 18 + ...tions_idpinitiated_client_protocol_enum.rb | 13 + ...ed_object2options_protocol_binding_enum.rb | 12 + ...t2options_set_user_root_attributes_enum.rb | 13 + ...object2options_signature_algorithm_enum.rb | 12 + ...nnection_created_object2options_subject.rb | 8 + ..._created_object2options_upstream_params.rb | 23 ++ ...connection_created_object2strategy_enum.rb | 11 + ..._cloud_event_connection_created_object3.rb | 31 ++ ...onnection_created_object3authentication.rb | 10 + ...ction_created_object3connected_accounts.rb | 10 + ...vent_connection_created_object3metadata.rb | 9 + ...event_connection_created_object3options.rb | 50 +++ ...t3options_assertion_decryption_settings.rb | 12 + ...ryption_settings_algorithm_profile_enum.rb | 11 + ...ed_object3options_digest_algorithm_enum.rb | 12 + ...ion_created_object3options_idpinitiated.rb | 18 + ...tions_idpinitiated_client_protocol_enum.rb | 13 + ...ed_object3options_protocol_binding_enum.rb | 12 + ...t3options_set_user_root_attributes_enum.rb | 13 + ...object3options_signature_algorithm_enum.rb | 12 + ...nnection_created_object3options_subject.rb | 8 + ..._created_object3options_upstream_params.rb | 23 ++ ...connection_created_object3strategy_enum.rb | 11 + ..._cloud_event_connection_created_object4.rb | 31 ++ ...onnection_created_object4authentication.rb | 10 + ...ction_created_object4connected_accounts.rb | 10 + ...vent_connection_created_object4metadata.rb | 9 + ...event_connection_created_object4options.rb | 38 ++ ...t4options_set_user_root_attributes_enum.rb | 13 + ...ld_trust_email_verified_connection_enum.rb | 12 + ..._created_object4options_upstream_params.rb | 23 ++ ...connection_created_object4strategy_enum.rb | 11 + ..._cloud_event_connection_created_object5.rb | 29 ++ ...onnection_created_object5authentication.rb | 10 + ...ction_created_object5connected_accounts.rb | 10 + ...vent_connection_created_object5metadata.rb | 9 + ...event_connection_created_object5options.rb | 44 ++ ...t5options_set_user_root_attributes_enum.rb | 13 + ..._created_object5options_upstream_params.rb | 23 ++ ...connection_created_object5strategy_enum.rb | 11 + ..._cloud_event_connection_created_object6.rb | 31 ++ ...onnection_created_object6authentication.rb | 10 + ...ction_created_object6connected_accounts.rb | 10 + ...vent_connection_created_object6metadata.rb | 9 + ...event_connection_created_object6options.rb | 54 +++ ...ons_federated_connections_access_tokens.rb | 12 + ...t6options_set_user_root_attributes_enum.rb | 13 + ..._created_object6options_upstream_params.rb | 23 ++ ...connection_created_object6strategy_enum.rb | 11 + ..._cloud_event_connection_created_object7.rb | 31 ++ ...onnection_created_object7authentication.rb | 10 + ...ction_created_object7connected_accounts.rb | 10 + ...vent_connection_created_object7metadata.rb | 9 + ...event_connection_created_object7options.rb | 64 +++ ...ons_federated_connections_access_tokens.rb | 12 + ...reated_object7options_identity_api_enum.rb | 12 + ...t7options_set_user_root_attributes_enum.rb | 13 + ...ld_trust_email_verified_connection_enum.rb | 12 + ...reated_object7options_tenant_domain_one.rb | 23 ++ ..._created_object7options_upstream_params.rb | 23 ++ ...ed_object7options_userid_attribute_enum.rb | 12 + ...eated_object7options_waad_protocol_enum.rb | 12 + ...connection_created_object7strategy_enum.rb | 11 + ...loud_event_connection_created_type_enum.rb | 11 + ...t_stream_cloud_event_connection_deleted.rb | 12 + ...ud_event_connection_deleted_cloud_event.rb | 26 ++ ...onnection_deleted_cloud_event_type_enum.rb | 11 + ...eam_cloud_event_connection_deleted_data.rb | 12 + ...m_cloud_event_connection_deleted_object.rb | 26 ++ ..._cloud_event_connection_deleted_object0.rb | 31 ++ ...onnection_deleted_object0authentication.rb | 10 + ...ction_deleted_object0connected_accounts.rb | 12 + ...vent_connection_deleted_object0metadata.rb | 9 + ...event_connection_deleted_object0options.rb | 62 +++ ...on_deleted_object0options_attribute_map.rb | 15 + ...object0options_attribute_map_attributes.rb | 23 ++ ...options_attribute_map_mapping_mode_enum.rb | 12 + ...eted_object0options_connection_settings.rb | 11 + ...t0options_connection_settings_pkce_enum.rb | 14 + ...ed_object0options_dpop_signing_alg_enum.rb | 14 + ...ons_federated_connections_access_tokens.rb | 12 + ...id_token_signed_response_algs_item_enum.rb | 17 + ...on_deleted_object0options_oidc_metadata.rb | 83 ++++ ...eted_object0options_schema_version_enum.rb | 12 + ...t0options_set_user_root_attributes_enum.rb | 13 + ...options_token_endpoint_auth_method_enum.rb | 12 + ...ns_token_endpoint_auth_signing_alg_enum.rb | 17 + ...ns_token_endpoint_jwtca_aud_format_enum.rb | 12 + ...ection_deleted_object0options_type_enum.rb | 12 + ..._deleted_object0options_upstream_params.rb | 23 ++ ...connection_deleted_object0strategy_enum.rb | 11 + ..._cloud_event_connection_deleted_object1.rb | 31 ++ ...onnection_deleted_object1authentication.rb | 10 + ...ction_deleted_object1connected_accounts.rb | 10 + ...vent_connection_deleted_object1metadata.rb | 9 + ...event_connection_deleted_object1options.rb | 62 +++ ...on_deleted_object1options_attribute_map.rb | 14 + ...object1options_attribute_map_attributes.rb | 23 ++ ...options_attribute_map_mapping_mode_enum.rb | 12 + ...eted_object1options_connection_settings.rb | 11 + ...t1options_connection_settings_pkce_enum.rb | 14 + ...ed_object1options_dpop_signing_alg_enum.rb | 14 + ...ons_federated_connections_access_tokens.rb | 12 + ...id_token_signed_response_algs_item_enum.rb | 17 + ...on_deleted_object1options_oidc_metadata.rb | 83 ++++ ...eted_object1options_schema_version_enum.rb | 12 + ...t1options_set_user_root_attributes_enum.rb | 13 + ...options_token_endpoint_auth_method_enum.rb | 12 + ...ns_token_endpoint_auth_signing_alg_enum.rb | 17 + ...ns_token_endpoint_jwtca_aud_format_enum.rb | 12 + ...ection_deleted_object1options_type_enum.rb | 11 + ..._deleted_object1options_upstream_params.rb | 23 ++ ...connection_deleted_object1strategy_enum.rb | 11 + ..._cloud_event_connection_deleted_object2.rb | 31 ++ ...onnection_deleted_object2authentication.rb | 10 + ...ction_deleted_object2connected_accounts.rb | 10 + ...vent_connection_deleted_object2metadata.rb | 9 + ...event_connection_deleted_object2options.rb | 72 ++++ ...t2options_assertion_decryption_settings.rb | 12 + ...ryption_settings_algorithm_profile_enum.rb | 11 + ...ed_object2options_digest_algorithm_enum.rb | 12 + ...ction_deleted_object2options_fields_map.rb | 23 ++ ...ion_deleted_object2options_idpinitiated.rb | 18 + ...tions_idpinitiated_client_protocol_enum.rb | 13 + ...ed_object2options_protocol_binding_enum.rb | 12 + ...t2options_set_user_root_attributes_enum.rb | 13 + ...object2options_signature_algorithm_enum.rb | 12 + ...nnection_deleted_object2options_subject.rb | 8 + ..._deleted_object2options_upstream_params.rb | 23 ++ ...connection_deleted_object2strategy_enum.rb | 11 + ..._cloud_event_connection_deleted_object3.rb | 31 ++ ...onnection_deleted_object3authentication.rb | 10 + ...ction_deleted_object3connected_accounts.rb | 10 + ...vent_connection_deleted_object3metadata.rb | 9 + ...event_connection_deleted_object3options.rb | 50 +++ ...t3options_assertion_decryption_settings.rb | 12 + ...ryption_settings_algorithm_profile_enum.rb | 11 + ...ed_object3options_digest_algorithm_enum.rb | 12 + ...ion_deleted_object3options_idpinitiated.rb | 18 + ...tions_idpinitiated_client_protocol_enum.rb | 13 + ...ed_object3options_protocol_binding_enum.rb | 12 + ...t3options_set_user_root_attributes_enum.rb | 13 + ...object3options_signature_algorithm_enum.rb | 12 + ...nnection_deleted_object3options_subject.rb | 8 + ..._deleted_object3options_upstream_params.rb | 23 ++ ...connection_deleted_object3strategy_enum.rb | 11 + ..._cloud_event_connection_deleted_object4.rb | 31 ++ ...onnection_deleted_object4authentication.rb | 10 + ...ction_deleted_object4connected_accounts.rb | 10 + ...vent_connection_deleted_object4metadata.rb | 9 + ...event_connection_deleted_object4options.rb | 38 ++ ...t4options_set_user_root_attributes_enum.rb | 13 + ...ld_trust_email_verified_connection_enum.rb | 12 + ..._deleted_object4options_upstream_params.rb | 23 ++ ...connection_deleted_object4strategy_enum.rb | 11 + ..._cloud_event_connection_deleted_object5.rb | 29 ++ ...onnection_deleted_object5authentication.rb | 10 + ...ction_deleted_object5connected_accounts.rb | 10 + ...vent_connection_deleted_object5metadata.rb | 9 + ...event_connection_deleted_object5options.rb | 44 ++ ...t5options_set_user_root_attributes_enum.rb | 13 + ..._deleted_object5options_upstream_params.rb | 23 ++ ...connection_deleted_object5strategy_enum.rb | 11 + ..._cloud_event_connection_deleted_object6.rb | 31 ++ ...onnection_deleted_object6authentication.rb | 10 + ...ction_deleted_object6connected_accounts.rb | 10 + ...vent_connection_deleted_object6metadata.rb | 9 + ...event_connection_deleted_object6options.rb | 54 +++ ...ons_federated_connections_access_tokens.rb | 12 + ...t6options_set_user_root_attributes_enum.rb | 13 + ..._deleted_object6options_upstream_params.rb | 23 ++ ...connection_deleted_object6strategy_enum.rb | 11 + ..._cloud_event_connection_deleted_object7.rb | 31 ++ ...onnection_deleted_object7authentication.rb | 10 + ...ction_deleted_object7connected_accounts.rb | 10 + ...vent_connection_deleted_object7metadata.rb | 9 + ...event_connection_deleted_object7options.rb | 64 +++ ...ons_federated_connections_access_tokens.rb | 12 + ...eleted_object7options_identity_api_enum.rb | 12 + ...t7options_set_user_root_attributes_enum.rb | 13 + ...ld_trust_email_verified_connection_enum.rb | 12 + ...eleted_object7options_tenant_domain_one.rb | 23 ++ ..._deleted_object7options_upstream_params.rb | 23 ++ ...ed_object7options_userid_attribute_enum.rb | 12 + ...leted_object7options_waad_protocol_enum.rb | 12 + ...connection_deleted_object7strategy_enum.rb | 11 + ...loud_event_connection_deleted_type_enum.rb | 11 + ...t_stream_cloud_event_connection_updated.rb | 12 + ...ud_event_connection_updated_cloud_event.rb | 26 ++ ...onnection_updated_cloud_event_type_enum.rb | 11 + ...eam_cloud_event_connection_updated_data.rb | 12 + ...m_cloud_event_connection_updated_object.rb | 26 ++ ..._cloud_event_connection_updated_object0.rb | 31 ++ ...onnection_updated_object0authentication.rb | 10 + ...ction_updated_object0connected_accounts.rb | 12 + ...vent_connection_updated_object0metadata.rb | 9 + ...event_connection_updated_object0options.rb | 62 +++ ...on_updated_object0options_attribute_map.rb | 15 + ...object0options_attribute_map_attributes.rb | 23 ++ ...options_attribute_map_mapping_mode_enum.rb | 12 + ...ated_object0options_connection_settings.rb | 11 + ...t0options_connection_settings_pkce_enum.rb | 14 + ...ed_object0options_dpop_signing_alg_enum.rb | 14 + ...ons_federated_connections_access_tokens.rb | 12 + ...id_token_signed_response_algs_item_enum.rb | 17 + ...on_updated_object0options_oidc_metadata.rb | 83 ++++ ...ated_object0options_schema_version_enum.rb | 12 + ...t0options_set_user_root_attributes_enum.rb | 13 + ...options_token_endpoint_auth_method_enum.rb | 12 + ...ns_token_endpoint_auth_signing_alg_enum.rb | 17 + ...ns_token_endpoint_jwtca_aud_format_enum.rb | 12 + ...ection_updated_object0options_type_enum.rb | 12 + ..._updated_object0options_upstream_params.rb | 23 ++ ...connection_updated_object0strategy_enum.rb | 11 + ..._cloud_event_connection_updated_object1.rb | 31 ++ ...onnection_updated_object1authentication.rb | 10 + ...ction_updated_object1connected_accounts.rb | 10 + ...vent_connection_updated_object1metadata.rb | 9 + ...event_connection_updated_object1options.rb | 62 +++ ...on_updated_object1options_attribute_map.rb | 14 + ...object1options_attribute_map_attributes.rb | 23 ++ ...options_attribute_map_mapping_mode_enum.rb | 12 + ...ated_object1options_connection_settings.rb | 11 + ...t1options_connection_settings_pkce_enum.rb | 14 + ...ed_object1options_dpop_signing_alg_enum.rb | 14 + ...ons_federated_connections_access_tokens.rb | 12 + ...id_token_signed_response_algs_item_enum.rb | 17 + ...on_updated_object1options_oidc_metadata.rb | 83 ++++ ...ated_object1options_schema_version_enum.rb | 12 + ...t1options_set_user_root_attributes_enum.rb | 13 + ...options_token_endpoint_auth_method_enum.rb | 12 + ...ns_token_endpoint_auth_signing_alg_enum.rb | 17 + ...ns_token_endpoint_jwtca_aud_format_enum.rb | 12 + ...ection_updated_object1options_type_enum.rb | 11 + ..._updated_object1options_upstream_params.rb | 23 ++ ...connection_updated_object1strategy_enum.rb | 11 + ..._cloud_event_connection_updated_object2.rb | 31 ++ ...onnection_updated_object2authentication.rb | 10 + ...ction_updated_object2connected_accounts.rb | 10 + ...vent_connection_updated_object2metadata.rb | 9 + ...event_connection_updated_object2options.rb | 72 ++++ ...t2options_assertion_decryption_settings.rb | 12 + ...ryption_settings_algorithm_profile_enum.rb | 11 + ...ed_object2options_digest_algorithm_enum.rb | 12 + ...ction_updated_object2options_fields_map.rb | 23 ++ ...ion_updated_object2options_idpinitiated.rb | 18 + ...tions_idpinitiated_client_protocol_enum.rb | 13 + ...ed_object2options_protocol_binding_enum.rb | 12 + ...t2options_set_user_root_attributes_enum.rb | 13 + ...object2options_signature_algorithm_enum.rb | 12 + ...nnection_updated_object2options_subject.rb | 8 + ..._updated_object2options_upstream_params.rb | 23 ++ ...connection_updated_object2strategy_enum.rb | 11 + ..._cloud_event_connection_updated_object3.rb | 31 ++ ...onnection_updated_object3authentication.rb | 10 + ...ction_updated_object3connected_accounts.rb | 10 + ...vent_connection_updated_object3metadata.rb | 9 + ...event_connection_updated_object3options.rb | 50 +++ ...t3options_assertion_decryption_settings.rb | 12 + ...ryption_settings_algorithm_profile_enum.rb | 11 + ...ed_object3options_digest_algorithm_enum.rb | 12 + ...ion_updated_object3options_idpinitiated.rb | 18 + ...tions_idpinitiated_client_protocol_enum.rb | 13 + ...ed_object3options_protocol_binding_enum.rb | 12 + ...t3options_set_user_root_attributes_enum.rb | 13 + ...object3options_signature_algorithm_enum.rb | 12 + ...nnection_updated_object3options_subject.rb | 8 + ..._updated_object3options_upstream_params.rb | 23 ++ ...connection_updated_object3strategy_enum.rb | 11 + ..._cloud_event_connection_updated_object4.rb | 31 ++ ...onnection_updated_object4authentication.rb | 10 + ...ction_updated_object4connected_accounts.rb | 10 + ...vent_connection_updated_object4metadata.rb | 9 + ...event_connection_updated_object4options.rb | 38 ++ ...t4options_set_user_root_attributes_enum.rb | 13 + ...ld_trust_email_verified_connection_enum.rb | 12 + ..._updated_object4options_upstream_params.rb | 23 ++ ...connection_updated_object4strategy_enum.rb | 11 + ..._cloud_event_connection_updated_object5.rb | 29 ++ ...onnection_updated_object5authentication.rb | 10 + ...ction_updated_object5connected_accounts.rb | 10 + ...vent_connection_updated_object5metadata.rb | 9 + ...event_connection_updated_object5options.rb | 44 ++ ...t5options_set_user_root_attributes_enum.rb | 13 + ..._updated_object5options_upstream_params.rb | 23 ++ ...connection_updated_object5strategy_enum.rb | 11 + ..._cloud_event_connection_updated_object6.rb | 31 ++ ...onnection_updated_object6authentication.rb | 10 + ...ction_updated_object6connected_accounts.rb | 10 + ...vent_connection_updated_object6metadata.rb | 9 + ...event_connection_updated_object6options.rb | 54 +++ ...ons_federated_connections_access_tokens.rb | 12 + ...t6options_set_user_root_attributes_enum.rb | 13 + ..._updated_object6options_upstream_params.rb | 23 ++ ...connection_updated_object6strategy_enum.rb | 11 + ..._cloud_event_connection_updated_object7.rb | 31 ++ ...onnection_updated_object7authentication.rb | 10 + ...ction_updated_object7connected_accounts.rb | 10 + ...vent_connection_updated_object7metadata.rb | 9 + ...event_connection_updated_object7options.rb | 64 +++ ...ons_federated_connections_access_tokens.rb | 12 + ...pdated_object7options_identity_api_enum.rb | 12 + ...t7options_set_user_root_attributes_enum.rb | 13 + ...ld_trust_email_verified_connection_enum.rb | 12 + ...pdated_object7options_tenant_domain_one.rb | 23 ++ ..._updated_object7options_upstream_params.rb | 23 ++ ...ed_object7options_userid_attribute_enum.rb | 12 + ...dated_object7options_waad_protocol_enum.rb | 12 + ...connection_updated_object7strategy_enum.rb | 11 + ...loud_event_connection_updated_type_enum.rb | 11 + ...m_cloud_event_group_created_cloud_event.rb | 2 +- ...m_cloud_event_group_deleted_cloud_event.rb | 2 +- ...ud_event_group_member_added_cloud_event.rb | 2 +- ..._event_group_member_deleted_cloud_event.rb | 2 +- ...d_event_group_role_assigned_cloud_event.rb | 2 +- ...ud_event_group_role_deleted_cloud_event.rb | 2 +- ...m_cloud_event_group_updated_cloud_event.rb | 2 +- ..._event_org_connection_added_cloud_event.rb | 2 +- ...vent_org_connection_removed_cloud_event.rb | 2 +- ...vent_org_connection_updated_cloud_event.rb | 2 +- ...eam_cloud_event_org_created_cloud_event.rb | 2 +- ...eam_cloud_event_org_deleted_cloud_event.rb | 2 +- ...ent_org_group_role_assigned_cloud_event.rb | 2 +- ...vent_org_group_role_deleted_cloud_event.rb | 2 +- ...loud_event_org_member_added_cloud_event.rb | 2 +- ...ud_event_org_member_deleted_cloud_event.rb | 2 +- ...nt_org_member_role_assigned_cloud_event.rb | 2 +- ...ent_org_member_role_deleted_cloud_event.rb | 2 +- ...eam_cloud_event_org_updated_cloud_event.rb | 2 +- ...nt_stream_cloud_event_spec_version_enum.rb | 11 + ...am_cloud_event_user_created_cloud_event.rb | 2 +- ...am_cloud_event_user_deleted_cloud_event.rb | 2 +- ...am_cloud_event_user_updated_cloud_event.rb | 2 +- .../event_stream_delivery_event_type_enum.rb | 3 + .../types/event_stream_event_type_enum.rb | 3 + ...stream_subscribe_events_event_type_enum.rb | 3 + ...tream_subscribe_events_response_content.rb | 6 + .../event_stream_test_event_type_enum.rb | 3 + ...t_organization_by_name_response_content.rb | 2 + .../get_organization_response_content.rb | 2 + ...anization_role_members_response_content.rb | 11 + ...roles_offset_paginated_response_content.rb | 6 +- lib/auth0/types/not_found_error_body.rb | 13 + lib/auth0/types/not_found_error_body_error.rb | 11 + lib/auth0/types/organization.rb | 2 + ...nization_third_party_client_access_enum.rb | 12 + lib/auth0/types/phone_attribute.rb | 2 +- lib/auth0/types/phone_attribute_identifier.rb | 11 + ...ovider_protection_backoff_strategy_enum.rb | 2 +- lib/auth0/types/role_member.rb | 15 + .../token_vault_privileged_access_grant.rb | 11 + .../types/too_many_requests_error_body.rb | 13 + .../too_many_requests_error_body_error.rb | 11 + lib/auth0/types/update_connection_options.rb | 4 + .../update_organization_response_content.rb | 2 + lib/auth0/types/user_grant.rb | 2 + lib/auth0/types/username_attribute.rb | 2 +- .../types/username_attribute_identifier.rb | 9 + 433 files changed, 7600 insertions(+), 32 deletions(-) create mode 100644 lib/auth0/organizations/roles/client.rb create mode 100644 lib/auth0/organizations/roles/members/client.rb create mode 100644 lib/auth0/organizations/roles/members/types/list_organization_role_members_request_parameters.rb create mode 100644 lib/auth0/types/connections_discovery_url.rb create mode 100644 lib/auth0/types/connections_oidc_metadata.rb create mode 100644 lib/auth0/types/default_method_phone_number_identifier_enum.rb rename lib/auth0/types/{connection_attribute_identifier.rb => email_attribute_identifier.rb} (81%) create mode 100644 lib/auth0/types/event_stream_cloud_event_connection_created.rb create mode 100644 lib/auth0/types/event_stream_cloud_event_connection_created_cloud_event.rb create mode 100644 lib/auth0/types/event_stream_cloud_event_connection_created_cloud_event_type_enum.rb create mode 100644 lib/auth0/types/event_stream_cloud_event_connection_created_data.rb create mode 100644 lib/auth0/types/event_stream_cloud_event_connection_created_object.rb create mode 100644 lib/auth0/types/event_stream_cloud_event_connection_created_object0.rb create mode 100644 lib/auth0/types/event_stream_cloud_event_connection_created_object0authentication.rb create mode 100644 lib/auth0/types/event_stream_cloud_event_connection_created_object0connected_accounts.rb create mode 100644 lib/auth0/types/event_stream_cloud_event_connection_created_object0metadata.rb create mode 100644 lib/auth0/types/event_stream_cloud_event_connection_created_object0options.rb create mode 100644 lib/auth0/types/event_stream_cloud_event_connection_created_object0options_attribute_map.rb create mode 100644 lib/auth0/types/event_stream_cloud_event_connection_created_object0options_attribute_map_attributes.rb create mode 100644 lib/auth0/types/event_stream_cloud_event_connection_created_object0options_attribute_map_mapping_mode_enum.rb create mode 100644 lib/auth0/types/event_stream_cloud_event_connection_created_object0options_connection_settings.rb create mode 100644 lib/auth0/types/event_stream_cloud_event_connection_created_object0options_connection_settings_pkce_enum.rb create mode 100644 lib/auth0/types/event_stream_cloud_event_connection_created_object0options_dpop_signing_alg_enum.rb create mode 100644 lib/auth0/types/event_stream_cloud_event_connection_created_object0options_federated_connections_access_tokens.rb create mode 100644 lib/auth0/types/event_stream_cloud_event_connection_created_object0options_id_token_signed_response_algs_item_enum.rb create mode 100644 lib/auth0/types/event_stream_cloud_event_connection_created_object0options_oidc_metadata.rb create mode 100644 lib/auth0/types/event_stream_cloud_event_connection_created_object0options_schema_version_enum.rb create mode 100644 lib/auth0/types/event_stream_cloud_event_connection_created_object0options_set_user_root_attributes_enum.rb create mode 100644 lib/auth0/types/event_stream_cloud_event_connection_created_object0options_token_endpoint_auth_method_enum.rb create mode 100644 lib/auth0/types/event_stream_cloud_event_connection_created_object0options_token_endpoint_auth_signing_alg_enum.rb create mode 100644 lib/auth0/types/event_stream_cloud_event_connection_created_object0options_token_endpoint_jwtca_aud_format_enum.rb create mode 100644 lib/auth0/types/event_stream_cloud_event_connection_created_object0options_type_enum.rb create mode 100644 lib/auth0/types/event_stream_cloud_event_connection_created_object0options_upstream_params.rb create mode 100644 lib/auth0/types/event_stream_cloud_event_connection_created_object0strategy_enum.rb create mode 100644 lib/auth0/types/event_stream_cloud_event_connection_created_object1.rb create mode 100644 lib/auth0/types/event_stream_cloud_event_connection_created_object1authentication.rb create mode 100644 lib/auth0/types/event_stream_cloud_event_connection_created_object1connected_accounts.rb create mode 100644 lib/auth0/types/event_stream_cloud_event_connection_created_object1metadata.rb create mode 100644 lib/auth0/types/event_stream_cloud_event_connection_created_object1options.rb create mode 100644 lib/auth0/types/event_stream_cloud_event_connection_created_object1options_attribute_map.rb create mode 100644 lib/auth0/types/event_stream_cloud_event_connection_created_object1options_attribute_map_attributes.rb create mode 100644 lib/auth0/types/event_stream_cloud_event_connection_created_object1options_attribute_map_mapping_mode_enum.rb create mode 100644 lib/auth0/types/event_stream_cloud_event_connection_created_object1options_connection_settings.rb create mode 100644 lib/auth0/types/event_stream_cloud_event_connection_created_object1options_connection_settings_pkce_enum.rb create mode 100644 lib/auth0/types/event_stream_cloud_event_connection_created_object1options_dpop_signing_alg_enum.rb create mode 100644 lib/auth0/types/event_stream_cloud_event_connection_created_object1options_federated_connections_access_tokens.rb create mode 100644 lib/auth0/types/event_stream_cloud_event_connection_created_object1options_id_token_signed_response_algs_item_enum.rb create mode 100644 lib/auth0/types/event_stream_cloud_event_connection_created_object1options_oidc_metadata.rb create mode 100644 lib/auth0/types/event_stream_cloud_event_connection_created_object1options_schema_version_enum.rb create mode 100644 lib/auth0/types/event_stream_cloud_event_connection_created_object1options_set_user_root_attributes_enum.rb create mode 100644 lib/auth0/types/event_stream_cloud_event_connection_created_object1options_token_endpoint_auth_method_enum.rb create mode 100644 lib/auth0/types/event_stream_cloud_event_connection_created_object1options_token_endpoint_auth_signing_alg_enum.rb create mode 100644 lib/auth0/types/event_stream_cloud_event_connection_created_object1options_token_endpoint_jwtca_aud_format_enum.rb create mode 100644 lib/auth0/types/event_stream_cloud_event_connection_created_object1options_type_enum.rb create mode 100644 lib/auth0/types/event_stream_cloud_event_connection_created_object1options_upstream_params.rb create mode 100644 lib/auth0/types/event_stream_cloud_event_connection_created_object1strategy_enum.rb create mode 100644 lib/auth0/types/event_stream_cloud_event_connection_created_object2.rb create mode 100644 lib/auth0/types/event_stream_cloud_event_connection_created_object2authentication.rb create mode 100644 lib/auth0/types/event_stream_cloud_event_connection_created_object2connected_accounts.rb create mode 100644 lib/auth0/types/event_stream_cloud_event_connection_created_object2metadata.rb create mode 100644 lib/auth0/types/event_stream_cloud_event_connection_created_object2options.rb create mode 100644 lib/auth0/types/event_stream_cloud_event_connection_created_object2options_assertion_decryption_settings.rb create mode 100644 lib/auth0/types/event_stream_cloud_event_connection_created_object2options_assertion_decryption_settings_algorithm_profile_enum.rb create mode 100644 lib/auth0/types/event_stream_cloud_event_connection_created_object2options_digest_algorithm_enum.rb create mode 100644 lib/auth0/types/event_stream_cloud_event_connection_created_object2options_fields_map.rb create mode 100644 lib/auth0/types/event_stream_cloud_event_connection_created_object2options_idpinitiated.rb create mode 100644 lib/auth0/types/event_stream_cloud_event_connection_created_object2options_idpinitiated_client_protocol_enum.rb create mode 100644 lib/auth0/types/event_stream_cloud_event_connection_created_object2options_protocol_binding_enum.rb create mode 100644 lib/auth0/types/event_stream_cloud_event_connection_created_object2options_set_user_root_attributes_enum.rb create mode 100644 lib/auth0/types/event_stream_cloud_event_connection_created_object2options_signature_algorithm_enum.rb create mode 100644 lib/auth0/types/event_stream_cloud_event_connection_created_object2options_subject.rb create mode 100644 lib/auth0/types/event_stream_cloud_event_connection_created_object2options_upstream_params.rb create mode 100644 lib/auth0/types/event_stream_cloud_event_connection_created_object2strategy_enum.rb create mode 100644 lib/auth0/types/event_stream_cloud_event_connection_created_object3.rb create mode 100644 lib/auth0/types/event_stream_cloud_event_connection_created_object3authentication.rb create mode 100644 lib/auth0/types/event_stream_cloud_event_connection_created_object3connected_accounts.rb create mode 100644 lib/auth0/types/event_stream_cloud_event_connection_created_object3metadata.rb create mode 100644 lib/auth0/types/event_stream_cloud_event_connection_created_object3options.rb create mode 100644 lib/auth0/types/event_stream_cloud_event_connection_created_object3options_assertion_decryption_settings.rb create mode 100644 lib/auth0/types/event_stream_cloud_event_connection_created_object3options_assertion_decryption_settings_algorithm_profile_enum.rb create mode 100644 lib/auth0/types/event_stream_cloud_event_connection_created_object3options_digest_algorithm_enum.rb create mode 100644 lib/auth0/types/event_stream_cloud_event_connection_created_object3options_idpinitiated.rb create mode 100644 lib/auth0/types/event_stream_cloud_event_connection_created_object3options_idpinitiated_client_protocol_enum.rb create mode 100644 lib/auth0/types/event_stream_cloud_event_connection_created_object3options_protocol_binding_enum.rb create mode 100644 lib/auth0/types/event_stream_cloud_event_connection_created_object3options_set_user_root_attributes_enum.rb create mode 100644 lib/auth0/types/event_stream_cloud_event_connection_created_object3options_signature_algorithm_enum.rb create mode 100644 lib/auth0/types/event_stream_cloud_event_connection_created_object3options_subject.rb create mode 100644 lib/auth0/types/event_stream_cloud_event_connection_created_object3options_upstream_params.rb create mode 100644 lib/auth0/types/event_stream_cloud_event_connection_created_object3strategy_enum.rb create mode 100644 lib/auth0/types/event_stream_cloud_event_connection_created_object4.rb create mode 100644 lib/auth0/types/event_stream_cloud_event_connection_created_object4authentication.rb create mode 100644 lib/auth0/types/event_stream_cloud_event_connection_created_object4connected_accounts.rb create mode 100644 lib/auth0/types/event_stream_cloud_event_connection_created_object4metadata.rb create mode 100644 lib/auth0/types/event_stream_cloud_event_connection_created_object4options.rb create mode 100644 lib/auth0/types/event_stream_cloud_event_connection_created_object4options_set_user_root_attributes_enum.rb create mode 100644 lib/auth0/types/event_stream_cloud_event_connection_created_object4options_should_trust_email_verified_connection_enum.rb create mode 100644 lib/auth0/types/event_stream_cloud_event_connection_created_object4options_upstream_params.rb create mode 100644 lib/auth0/types/event_stream_cloud_event_connection_created_object4strategy_enum.rb create mode 100644 lib/auth0/types/event_stream_cloud_event_connection_created_object5.rb create mode 100644 lib/auth0/types/event_stream_cloud_event_connection_created_object5authentication.rb create mode 100644 lib/auth0/types/event_stream_cloud_event_connection_created_object5connected_accounts.rb create mode 100644 lib/auth0/types/event_stream_cloud_event_connection_created_object5metadata.rb create mode 100644 lib/auth0/types/event_stream_cloud_event_connection_created_object5options.rb create mode 100644 lib/auth0/types/event_stream_cloud_event_connection_created_object5options_set_user_root_attributes_enum.rb create mode 100644 lib/auth0/types/event_stream_cloud_event_connection_created_object5options_upstream_params.rb create mode 100644 lib/auth0/types/event_stream_cloud_event_connection_created_object5strategy_enum.rb create mode 100644 lib/auth0/types/event_stream_cloud_event_connection_created_object6.rb create mode 100644 lib/auth0/types/event_stream_cloud_event_connection_created_object6authentication.rb create mode 100644 lib/auth0/types/event_stream_cloud_event_connection_created_object6connected_accounts.rb create mode 100644 lib/auth0/types/event_stream_cloud_event_connection_created_object6metadata.rb create mode 100644 lib/auth0/types/event_stream_cloud_event_connection_created_object6options.rb create mode 100644 lib/auth0/types/event_stream_cloud_event_connection_created_object6options_federated_connections_access_tokens.rb create mode 100644 lib/auth0/types/event_stream_cloud_event_connection_created_object6options_set_user_root_attributes_enum.rb create mode 100644 lib/auth0/types/event_stream_cloud_event_connection_created_object6options_upstream_params.rb create mode 100644 lib/auth0/types/event_stream_cloud_event_connection_created_object6strategy_enum.rb create mode 100644 lib/auth0/types/event_stream_cloud_event_connection_created_object7.rb create mode 100644 lib/auth0/types/event_stream_cloud_event_connection_created_object7authentication.rb create mode 100644 lib/auth0/types/event_stream_cloud_event_connection_created_object7connected_accounts.rb create mode 100644 lib/auth0/types/event_stream_cloud_event_connection_created_object7metadata.rb create mode 100644 lib/auth0/types/event_stream_cloud_event_connection_created_object7options.rb create mode 100644 lib/auth0/types/event_stream_cloud_event_connection_created_object7options_federated_connections_access_tokens.rb create mode 100644 lib/auth0/types/event_stream_cloud_event_connection_created_object7options_identity_api_enum.rb create mode 100644 lib/auth0/types/event_stream_cloud_event_connection_created_object7options_set_user_root_attributes_enum.rb create mode 100644 lib/auth0/types/event_stream_cloud_event_connection_created_object7options_should_trust_email_verified_connection_enum.rb create mode 100644 lib/auth0/types/event_stream_cloud_event_connection_created_object7options_tenant_domain_one.rb create mode 100644 lib/auth0/types/event_stream_cloud_event_connection_created_object7options_upstream_params.rb create mode 100644 lib/auth0/types/event_stream_cloud_event_connection_created_object7options_userid_attribute_enum.rb create mode 100644 lib/auth0/types/event_stream_cloud_event_connection_created_object7options_waad_protocol_enum.rb create mode 100644 lib/auth0/types/event_stream_cloud_event_connection_created_object7strategy_enum.rb create mode 100644 lib/auth0/types/event_stream_cloud_event_connection_created_type_enum.rb create mode 100644 lib/auth0/types/event_stream_cloud_event_connection_deleted.rb create mode 100644 lib/auth0/types/event_stream_cloud_event_connection_deleted_cloud_event.rb create mode 100644 lib/auth0/types/event_stream_cloud_event_connection_deleted_cloud_event_type_enum.rb create mode 100644 lib/auth0/types/event_stream_cloud_event_connection_deleted_data.rb create mode 100644 lib/auth0/types/event_stream_cloud_event_connection_deleted_object.rb create mode 100644 lib/auth0/types/event_stream_cloud_event_connection_deleted_object0.rb create mode 100644 lib/auth0/types/event_stream_cloud_event_connection_deleted_object0authentication.rb create mode 100644 lib/auth0/types/event_stream_cloud_event_connection_deleted_object0connected_accounts.rb create mode 100644 lib/auth0/types/event_stream_cloud_event_connection_deleted_object0metadata.rb create mode 100644 lib/auth0/types/event_stream_cloud_event_connection_deleted_object0options.rb create mode 100644 lib/auth0/types/event_stream_cloud_event_connection_deleted_object0options_attribute_map.rb create mode 100644 lib/auth0/types/event_stream_cloud_event_connection_deleted_object0options_attribute_map_attributes.rb create mode 100644 lib/auth0/types/event_stream_cloud_event_connection_deleted_object0options_attribute_map_mapping_mode_enum.rb create mode 100644 lib/auth0/types/event_stream_cloud_event_connection_deleted_object0options_connection_settings.rb create mode 100644 lib/auth0/types/event_stream_cloud_event_connection_deleted_object0options_connection_settings_pkce_enum.rb create mode 100644 lib/auth0/types/event_stream_cloud_event_connection_deleted_object0options_dpop_signing_alg_enum.rb create mode 100644 lib/auth0/types/event_stream_cloud_event_connection_deleted_object0options_federated_connections_access_tokens.rb create mode 100644 lib/auth0/types/event_stream_cloud_event_connection_deleted_object0options_id_token_signed_response_algs_item_enum.rb create mode 100644 lib/auth0/types/event_stream_cloud_event_connection_deleted_object0options_oidc_metadata.rb create mode 100644 lib/auth0/types/event_stream_cloud_event_connection_deleted_object0options_schema_version_enum.rb create mode 100644 lib/auth0/types/event_stream_cloud_event_connection_deleted_object0options_set_user_root_attributes_enum.rb create mode 100644 lib/auth0/types/event_stream_cloud_event_connection_deleted_object0options_token_endpoint_auth_method_enum.rb create mode 100644 lib/auth0/types/event_stream_cloud_event_connection_deleted_object0options_token_endpoint_auth_signing_alg_enum.rb create mode 100644 lib/auth0/types/event_stream_cloud_event_connection_deleted_object0options_token_endpoint_jwtca_aud_format_enum.rb create mode 100644 lib/auth0/types/event_stream_cloud_event_connection_deleted_object0options_type_enum.rb create mode 100644 lib/auth0/types/event_stream_cloud_event_connection_deleted_object0options_upstream_params.rb create mode 100644 lib/auth0/types/event_stream_cloud_event_connection_deleted_object0strategy_enum.rb create mode 100644 lib/auth0/types/event_stream_cloud_event_connection_deleted_object1.rb create mode 100644 lib/auth0/types/event_stream_cloud_event_connection_deleted_object1authentication.rb create mode 100644 lib/auth0/types/event_stream_cloud_event_connection_deleted_object1connected_accounts.rb create mode 100644 lib/auth0/types/event_stream_cloud_event_connection_deleted_object1metadata.rb create mode 100644 lib/auth0/types/event_stream_cloud_event_connection_deleted_object1options.rb create mode 100644 lib/auth0/types/event_stream_cloud_event_connection_deleted_object1options_attribute_map.rb create mode 100644 lib/auth0/types/event_stream_cloud_event_connection_deleted_object1options_attribute_map_attributes.rb create mode 100644 lib/auth0/types/event_stream_cloud_event_connection_deleted_object1options_attribute_map_mapping_mode_enum.rb create mode 100644 lib/auth0/types/event_stream_cloud_event_connection_deleted_object1options_connection_settings.rb create mode 100644 lib/auth0/types/event_stream_cloud_event_connection_deleted_object1options_connection_settings_pkce_enum.rb create mode 100644 lib/auth0/types/event_stream_cloud_event_connection_deleted_object1options_dpop_signing_alg_enum.rb create mode 100644 lib/auth0/types/event_stream_cloud_event_connection_deleted_object1options_federated_connections_access_tokens.rb create mode 100644 lib/auth0/types/event_stream_cloud_event_connection_deleted_object1options_id_token_signed_response_algs_item_enum.rb create mode 100644 lib/auth0/types/event_stream_cloud_event_connection_deleted_object1options_oidc_metadata.rb create mode 100644 lib/auth0/types/event_stream_cloud_event_connection_deleted_object1options_schema_version_enum.rb create mode 100644 lib/auth0/types/event_stream_cloud_event_connection_deleted_object1options_set_user_root_attributes_enum.rb create mode 100644 lib/auth0/types/event_stream_cloud_event_connection_deleted_object1options_token_endpoint_auth_method_enum.rb create mode 100644 lib/auth0/types/event_stream_cloud_event_connection_deleted_object1options_token_endpoint_auth_signing_alg_enum.rb create mode 100644 lib/auth0/types/event_stream_cloud_event_connection_deleted_object1options_token_endpoint_jwtca_aud_format_enum.rb create mode 100644 lib/auth0/types/event_stream_cloud_event_connection_deleted_object1options_type_enum.rb create mode 100644 lib/auth0/types/event_stream_cloud_event_connection_deleted_object1options_upstream_params.rb create mode 100644 lib/auth0/types/event_stream_cloud_event_connection_deleted_object1strategy_enum.rb create mode 100644 lib/auth0/types/event_stream_cloud_event_connection_deleted_object2.rb create mode 100644 lib/auth0/types/event_stream_cloud_event_connection_deleted_object2authentication.rb create mode 100644 lib/auth0/types/event_stream_cloud_event_connection_deleted_object2connected_accounts.rb create mode 100644 lib/auth0/types/event_stream_cloud_event_connection_deleted_object2metadata.rb create mode 100644 lib/auth0/types/event_stream_cloud_event_connection_deleted_object2options.rb create mode 100644 lib/auth0/types/event_stream_cloud_event_connection_deleted_object2options_assertion_decryption_settings.rb create mode 100644 lib/auth0/types/event_stream_cloud_event_connection_deleted_object2options_assertion_decryption_settings_algorithm_profile_enum.rb create mode 100644 lib/auth0/types/event_stream_cloud_event_connection_deleted_object2options_digest_algorithm_enum.rb create mode 100644 lib/auth0/types/event_stream_cloud_event_connection_deleted_object2options_fields_map.rb create mode 100644 lib/auth0/types/event_stream_cloud_event_connection_deleted_object2options_idpinitiated.rb create mode 100644 lib/auth0/types/event_stream_cloud_event_connection_deleted_object2options_idpinitiated_client_protocol_enum.rb create mode 100644 lib/auth0/types/event_stream_cloud_event_connection_deleted_object2options_protocol_binding_enum.rb create mode 100644 lib/auth0/types/event_stream_cloud_event_connection_deleted_object2options_set_user_root_attributes_enum.rb create mode 100644 lib/auth0/types/event_stream_cloud_event_connection_deleted_object2options_signature_algorithm_enum.rb create mode 100644 lib/auth0/types/event_stream_cloud_event_connection_deleted_object2options_subject.rb create mode 100644 lib/auth0/types/event_stream_cloud_event_connection_deleted_object2options_upstream_params.rb create mode 100644 lib/auth0/types/event_stream_cloud_event_connection_deleted_object2strategy_enum.rb create mode 100644 lib/auth0/types/event_stream_cloud_event_connection_deleted_object3.rb create mode 100644 lib/auth0/types/event_stream_cloud_event_connection_deleted_object3authentication.rb create mode 100644 lib/auth0/types/event_stream_cloud_event_connection_deleted_object3connected_accounts.rb create mode 100644 lib/auth0/types/event_stream_cloud_event_connection_deleted_object3metadata.rb create mode 100644 lib/auth0/types/event_stream_cloud_event_connection_deleted_object3options.rb create mode 100644 lib/auth0/types/event_stream_cloud_event_connection_deleted_object3options_assertion_decryption_settings.rb create mode 100644 lib/auth0/types/event_stream_cloud_event_connection_deleted_object3options_assertion_decryption_settings_algorithm_profile_enum.rb create mode 100644 lib/auth0/types/event_stream_cloud_event_connection_deleted_object3options_digest_algorithm_enum.rb create mode 100644 lib/auth0/types/event_stream_cloud_event_connection_deleted_object3options_idpinitiated.rb create mode 100644 lib/auth0/types/event_stream_cloud_event_connection_deleted_object3options_idpinitiated_client_protocol_enum.rb create mode 100644 lib/auth0/types/event_stream_cloud_event_connection_deleted_object3options_protocol_binding_enum.rb create mode 100644 lib/auth0/types/event_stream_cloud_event_connection_deleted_object3options_set_user_root_attributes_enum.rb create mode 100644 lib/auth0/types/event_stream_cloud_event_connection_deleted_object3options_signature_algorithm_enum.rb create mode 100644 lib/auth0/types/event_stream_cloud_event_connection_deleted_object3options_subject.rb create mode 100644 lib/auth0/types/event_stream_cloud_event_connection_deleted_object3options_upstream_params.rb create mode 100644 lib/auth0/types/event_stream_cloud_event_connection_deleted_object3strategy_enum.rb create mode 100644 lib/auth0/types/event_stream_cloud_event_connection_deleted_object4.rb create mode 100644 lib/auth0/types/event_stream_cloud_event_connection_deleted_object4authentication.rb create mode 100644 lib/auth0/types/event_stream_cloud_event_connection_deleted_object4connected_accounts.rb create mode 100644 lib/auth0/types/event_stream_cloud_event_connection_deleted_object4metadata.rb create mode 100644 lib/auth0/types/event_stream_cloud_event_connection_deleted_object4options.rb create mode 100644 lib/auth0/types/event_stream_cloud_event_connection_deleted_object4options_set_user_root_attributes_enum.rb create mode 100644 lib/auth0/types/event_stream_cloud_event_connection_deleted_object4options_should_trust_email_verified_connection_enum.rb create mode 100644 lib/auth0/types/event_stream_cloud_event_connection_deleted_object4options_upstream_params.rb create mode 100644 lib/auth0/types/event_stream_cloud_event_connection_deleted_object4strategy_enum.rb create mode 100644 lib/auth0/types/event_stream_cloud_event_connection_deleted_object5.rb create mode 100644 lib/auth0/types/event_stream_cloud_event_connection_deleted_object5authentication.rb create mode 100644 lib/auth0/types/event_stream_cloud_event_connection_deleted_object5connected_accounts.rb create mode 100644 lib/auth0/types/event_stream_cloud_event_connection_deleted_object5metadata.rb create mode 100644 lib/auth0/types/event_stream_cloud_event_connection_deleted_object5options.rb create mode 100644 lib/auth0/types/event_stream_cloud_event_connection_deleted_object5options_set_user_root_attributes_enum.rb create mode 100644 lib/auth0/types/event_stream_cloud_event_connection_deleted_object5options_upstream_params.rb create mode 100644 lib/auth0/types/event_stream_cloud_event_connection_deleted_object5strategy_enum.rb create mode 100644 lib/auth0/types/event_stream_cloud_event_connection_deleted_object6.rb create mode 100644 lib/auth0/types/event_stream_cloud_event_connection_deleted_object6authentication.rb create mode 100644 lib/auth0/types/event_stream_cloud_event_connection_deleted_object6connected_accounts.rb create mode 100644 lib/auth0/types/event_stream_cloud_event_connection_deleted_object6metadata.rb create mode 100644 lib/auth0/types/event_stream_cloud_event_connection_deleted_object6options.rb create mode 100644 lib/auth0/types/event_stream_cloud_event_connection_deleted_object6options_federated_connections_access_tokens.rb create mode 100644 lib/auth0/types/event_stream_cloud_event_connection_deleted_object6options_set_user_root_attributes_enum.rb create mode 100644 lib/auth0/types/event_stream_cloud_event_connection_deleted_object6options_upstream_params.rb create mode 100644 lib/auth0/types/event_stream_cloud_event_connection_deleted_object6strategy_enum.rb create mode 100644 lib/auth0/types/event_stream_cloud_event_connection_deleted_object7.rb create mode 100644 lib/auth0/types/event_stream_cloud_event_connection_deleted_object7authentication.rb create mode 100644 lib/auth0/types/event_stream_cloud_event_connection_deleted_object7connected_accounts.rb create mode 100644 lib/auth0/types/event_stream_cloud_event_connection_deleted_object7metadata.rb create mode 100644 lib/auth0/types/event_stream_cloud_event_connection_deleted_object7options.rb create mode 100644 lib/auth0/types/event_stream_cloud_event_connection_deleted_object7options_federated_connections_access_tokens.rb create mode 100644 lib/auth0/types/event_stream_cloud_event_connection_deleted_object7options_identity_api_enum.rb create mode 100644 lib/auth0/types/event_stream_cloud_event_connection_deleted_object7options_set_user_root_attributes_enum.rb create mode 100644 lib/auth0/types/event_stream_cloud_event_connection_deleted_object7options_should_trust_email_verified_connection_enum.rb create mode 100644 lib/auth0/types/event_stream_cloud_event_connection_deleted_object7options_tenant_domain_one.rb create mode 100644 lib/auth0/types/event_stream_cloud_event_connection_deleted_object7options_upstream_params.rb create mode 100644 lib/auth0/types/event_stream_cloud_event_connection_deleted_object7options_userid_attribute_enum.rb create mode 100644 lib/auth0/types/event_stream_cloud_event_connection_deleted_object7options_waad_protocol_enum.rb create mode 100644 lib/auth0/types/event_stream_cloud_event_connection_deleted_object7strategy_enum.rb create mode 100644 lib/auth0/types/event_stream_cloud_event_connection_deleted_type_enum.rb create mode 100644 lib/auth0/types/event_stream_cloud_event_connection_updated.rb create mode 100644 lib/auth0/types/event_stream_cloud_event_connection_updated_cloud_event.rb create mode 100644 lib/auth0/types/event_stream_cloud_event_connection_updated_cloud_event_type_enum.rb create mode 100644 lib/auth0/types/event_stream_cloud_event_connection_updated_data.rb create mode 100644 lib/auth0/types/event_stream_cloud_event_connection_updated_object.rb create mode 100644 lib/auth0/types/event_stream_cloud_event_connection_updated_object0.rb create mode 100644 lib/auth0/types/event_stream_cloud_event_connection_updated_object0authentication.rb create mode 100644 lib/auth0/types/event_stream_cloud_event_connection_updated_object0connected_accounts.rb create mode 100644 lib/auth0/types/event_stream_cloud_event_connection_updated_object0metadata.rb create mode 100644 lib/auth0/types/event_stream_cloud_event_connection_updated_object0options.rb create mode 100644 lib/auth0/types/event_stream_cloud_event_connection_updated_object0options_attribute_map.rb create mode 100644 lib/auth0/types/event_stream_cloud_event_connection_updated_object0options_attribute_map_attributes.rb create mode 100644 lib/auth0/types/event_stream_cloud_event_connection_updated_object0options_attribute_map_mapping_mode_enum.rb create mode 100644 lib/auth0/types/event_stream_cloud_event_connection_updated_object0options_connection_settings.rb create mode 100644 lib/auth0/types/event_stream_cloud_event_connection_updated_object0options_connection_settings_pkce_enum.rb create mode 100644 lib/auth0/types/event_stream_cloud_event_connection_updated_object0options_dpop_signing_alg_enum.rb create mode 100644 lib/auth0/types/event_stream_cloud_event_connection_updated_object0options_federated_connections_access_tokens.rb create mode 100644 lib/auth0/types/event_stream_cloud_event_connection_updated_object0options_id_token_signed_response_algs_item_enum.rb create mode 100644 lib/auth0/types/event_stream_cloud_event_connection_updated_object0options_oidc_metadata.rb create mode 100644 lib/auth0/types/event_stream_cloud_event_connection_updated_object0options_schema_version_enum.rb create mode 100644 lib/auth0/types/event_stream_cloud_event_connection_updated_object0options_set_user_root_attributes_enum.rb create mode 100644 lib/auth0/types/event_stream_cloud_event_connection_updated_object0options_token_endpoint_auth_method_enum.rb create mode 100644 lib/auth0/types/event_stream_cloud_event_connection_updated_object0options_token_endpoint_auth_signing_alg_enum.rb create mode 100644 lib/auth0/types/event_stream_cloud_event_connection_updated_object0options_token_endpoint_jwtca_aud_format_enum.rb create mode 100644 lib/auth0/types/event_stream_cloud_event_connection_updated_object0options_type_enum.rb create mode 100644 lib/auth0/types/event_stream_cloud_event_connection_updated_object0options_upstream_params.rb create mode 100644 lib/auth0/types/event_stream_cloud_event_connection_updated_object0strategy_enum.rb create mode 100644 lib/auth0/types/event_stream_cloud_event_connection_updated_object1.rb create mode 100644 lib/auth0/types/event_stream_cloud_event_connection_updated_object1authentication.rb create mode 100644 lib/auth0/types/event_stream_cloud_event_connection_updated_object1connected_accounts.rb create mode 100644 lib/auth0/types/event_stream_cloud_event_connection_updated_object1metadata.rb create mode 100644 lib/auth0/types/event_stream_cloud_event_connection_updated_object1options.rb create mode 100644 lib/auth0/types/event_stream_cloud_event_connection_updated_object1options_attribute_map.rb create mode 100644 lib/auth0/types/event_stream_cloud_event_connection_updated_object1options_attribute_map_attributes.rb create mode 100644 lib/auth0/types/event_stream_cloud_event_connection_updated_object1options_attribute_map_mapping_mode_enum.rb create mode 100644 lib/auth0/types/event_stream_cloud_event_connection_updated_object1options_connection_settings.rb create mode 100644 lib/auth0/types/event_stream_cloud_event_connection_updated_object1options_connection_settings_pkce_enum.rb create mode 100644 lib/auth0/types/event_stream_cloud_event_connection_updated_object1options_dpop_signing_alg_enum.rb create mode 100644 lib/auth0/types/event_stream_cloud_event_connection_updated_object1options_federated_connections_access_tokens.rb create mode 100644 lib/auth0/types/event_stream_cloud_event_connection_updated_object1options_id_token_signed_response_algs_item_enum.rb create mode 100644 lib/auth0/types/event_stream_cloud_event_connection_updated_object1options_oidc_metadata.rb create mode 100644 lib/auth0/types/event_stream_cloud_event_connection_updated_object1options_schema_version_enum.rb create mode 100644 lib/auth0/types/event_stream_cloud_event_connection_updated_object1options_set_user_root_attributes_enum.rb create mode 100644 lib/auth0/types/event_stream_cloud_event_connection_updated_object1options_token_endpoint_auth_method_enum.rb create mode 100644 lib/auth0/types/event_stream_cloud_event_connection_updated_object1options_token_endpoint_auth_signing_alg_enum.rb create mode 100644 lib/auth0/types/event_stream_cloud_event_connection_updated_object1options_token_endpoint_jwtca_aud_format_enum.rb create mode 100644 lib/auth0/types/event_stream_cloud_event_connection_updated_object1options_type_enum.rb create mode 100644 lib/auth0/types/event_stream_cloud_event_connection_updated_object1options_upstream_params.rb create mode 100644 lib/auth0/types/event_stream_cloud_event_connection_updated_object1strategy_enum.rb create mode 100644 lib/auth0/types/event_stream_cloud_event_connection_updated_object2.rb create mode 100644 lib/auth0/types/event_stream_cloud_event_connection_updated_object2authentication.rb create mode 100644 lib/auth0/types/event_stream_cloud_event_connection_updated_object2connected_accounts.rb create mode 100644 lib/auth0/types/event_stream_cloud_event_connection_updated_object2metadata.rb create mode 100644 lib/auth0/types/event_stream_cloud_event_connection_updated_object2options.rb create mode 100644 lib/auth0/types/event_stream_cloud_event_connection_updated_object2options_assertion_decryption_settings.rb create mode 100644 lib/auth0/types/event_stream_cloud_event_connection_updated_object2options_assertion_decryption_settings_algorithm_profile_enum.rb create mode 100644 lib/auth0/types/event_stream_cloud_event_connection_updated_object2options_digest_algorithm_enum.rb create mode 100644 lib/auth0/types/event_stream_cloud_event_connection_updated_object2options_fields_map.rb create mode 100644 lib/auth0/types/event_stream_cloud_event_connection_updated_object2options_idpinitiated.rb create mode 100644 lib/auth0/types/event_stream_cloud_event_connection_updated_object2options_idpinitiated_client_protocol_enum.rb create mode 100644 lib/auth0/types/event_stream_cloud_event_connection_updated_object2options_protocol_binding_enum.rb create mode 100644 lib/auth0/types/event_stream_cloud_event_connection_updated_object2options_set_user_root_attributes_enum.rb create mode 100644 lib/auth0/types/event_stream_cloud_event_connection_updated_object2options_signature_algorithm_enum.rb create mode 100644 lib/auth0/types/event_stream_cloud_event_connection_updated_object2options_subject.rb create mode 100644 lib/auth0/types/event_stream_cloud_event_connection_updated_object2options_upstream_params.rb create mode 100644 lib/auth0/types/event_stream_cloud_event_connection_updated_object2strategy_enum.rb create mode 100644 lib/auth0/types/event_stream_cloud_event_connection_updated_object3.rb create mode 100644 lib/auth0/types/event_stream_cloud_event_connection_updated_object3authentication.rb create mode 100644 lib/auth0/types/event_stream_cloud_event_connection_updated_object3connected_accounts.rb create mode 100644 lib/auth0/types/event_stream_cloud_event_connection_updated_object3metadata.rb create mode 100644 lib/auth0/types/event_stream_cloud_event_connection_updated_object3options.rb create mode 100644 lib/auth0/types/event_stream_cloud_event_connection_updated_object3options_assertion_decryption_settings.rb create mode 100644 lib/auth0/types/event_stream_cloud_event_connection_updated_object3options_assertion_decryption_settings_algorithm_profile_enum.rb create mode 100644 lib/auth0/types/event_stream_cloud_event_connection_updated_object3options_digest_algorithm_enum.rb create mode 100644 lib/auth0/types/event_stream_cloud_event_connection_updated_object3options_idpinitiated.rb create mode 100644 lib/auth0/types/event_stream_cloud_event_connection_updated_object3options_idpinitiated_client_protocol_enum.rb create mode 100644 lib/auth0/types/event_stream_cloud_event_connection_updated_object3options_protocol_binding_enum.rb create mode 100644 lib/auth0/types/event_stream_cloud_event_connection_updated_object3options_set_user_root_attributes_enum.rb create mode 100644 lib/auth0/types/event_stream_cloud_event_connection_updated_object3options_signature_algorithm_enum.rb create mode 100644 lib/auth0/types/event_stream_cloud_event_connection_updated_object3options_subject.rb create mode 100644 lib/auth0/types/event_stream_cloud_event_connection_updated_object3options_upstream_params.rb create mode 100644 lib/auth0/types/event_stream_cloud_event_connection_updated_object3strategy_enum.rb create mode 100644 lib/auth0/types/event_stream_cloud_event_connection_updated_object4.rb create mode 100644 lib/auth0/types/event_stream_cloud_event_connection_updated_object4authentication.rb create mode 100644 lib/auth0/types/event_stream_cloud_event_connection_updated_object4connected_accounts.rb create mode 100644 lib/auth0/types/event_stream_cloud_event_connection_updated_object4metadata.rb create mode 100644 lib/auth0/types/event_stream_cloud_event_connection_updated_object4options.rb create mode 100644 lib/auth0/types/event_stream_cloud_event_connection_updated_object4options_set_user_root_attributes_enum.rb create mode 100644 lib/auth0/types/event_stream_cloud_event_connection_updated_object4options_should_trust_email_verified_connection_enum.rb create mode 100644 lib/auth0/types/event_stream_cloud_event_connection_updated_object4options_upstream_params.rb create mode 100644 lib/auth0/types/event_stream_cloud_event_connection_updated_object4strategy_enum.rb create mode 100644 lib/auth0/types/event_stream_cloud_event_connection_updated_object5.rb create mode 100644 lib/auth0/types/event_stream_cloud_event_connection_updated_object5authentication.rb create mode 100644 lib/auth0/types/event_stream_cloud_event_connection_updated_object5connected_accounts.rb create mode 100644 lib/auth0/types/event_stream_cloud_event_connection_updated_object5metadata.rb create mode 100644 lib/auth0/types/event_stream_cloud_event_connection_updated_object5options.rb create mode 100644 lib/auth0/types/event_stream_cloud_event_connection_updated_object5options_set_user_root_attributes_enum.rb create mode 100644 lib/auth0/types/event_stream_cloud_event_connection_updated_object5options_upstream_params.rb create mode 100644 lib/auth0/types/event_stream_cloud_event_connection_updated_object5strategy_enum.rb create mode 100644 lib/auth0/types/event_stream_cloud_event_connection_updated_object6.rb create mode 100644 lib/auth0/types/event_stream_cloud_event_connection_updated_object6authentication.rb create mode 100644 lib/auth0/types/event_stream_cloud_event_connection_updated_object6connected_accounts.rb create mode 100644 lib/auth0/types/event_stream_cloud_event_connection_updated_object6metadata.rb create mode 100644 lib/auth0/types/event_stream_cloud_event_connection_updated_object6options.rb create mode 100644 lib/auth0/types/event_stream_cloud_event_connection_updated_object6options_federated_connections_access_tokens.rb create mode 100644 lib/auth0/types/event_stream_cloud_event_connection_updated_object6options_set_user_root_attributes_enum.rb create mode 100644 lib/auth0/types/event_stream_cloud_event_connection_updated_object6options_upstream_params.rb create mode 100644 lib/auth0/types/event_stream_cloud_event_connection_updated_object6strategy_enum.rb create mode 100644 lib/auth0/types/event_stream_cloud_event_connection_updated_object7.rb create mode 100644 lib/auth0/types/event_stream_cloud_event_connection_updated_object7authentication.rb create mode 100644 lib/auth0/types/event_stream_cloud_event_connection_updated_object7connected_accounts.rb create mode 100644 lib/auth0/types/event_stream_cloud_event_connection_updated_object7metadata.rb create mode 100644 lib/auth0/types/event_stream_cloud_event_connection_updated_object7options.rb create mode 100644 lib/auth0/types/event_stream_cloud_event_connection_updated_object7options_federated_connections_access_tokens.rb create mode 100644 lib/auth0/types/event_stream_cloud_event_connection_updated_object7options_identity_api_enum.rb create mode 100644 lib/auth0/types/event_stream_cloud_event_connection_updated_object7options_set_user_root_attributes_enum.rb create mode 100644 lib/auth0/types/event_stream_cloud_event_connection_updated_object7options_should_trust_email_verified_connection_enum.rb create mode 100644 lib/auth0/types/event_stream_cloud_event_connection_updated_object7options_tenant_domain_one.rb create mode 100644 lib/auth0/types/event_stream_cloud_event_connection_updated_object7options_upstream_params.rb create mode 100644 lib/auth0/types/event_stream_cloud_event_connection_updated_object7options_userid_attribute_enum.rb create mode 100644 lib/auth0/types/event_stream_cloud_event_connection_updated_object7options_waad_protocol_enum.rb create mode 100644 lib/auth0/types/event_stream_cloud_event_connection_updated_object7strategy_enum.rb create mode 100644 lib/auth0/types/event_stream_cloud_event_connection_updated_type_enum.rb create mode 100644 lib/auth0/types/event_stream_cloud_event_spec_version_enum.rb create mode 100644 lib/auth0/types/list_organization_role_members_response_content.rb create mode 100644 lib/auth0/types/not_found_error_body.rb create mode 100644 lib/auth0/types/not_found_error_body_error.rb create mode 100644 lib/auth0/types/organization_third_party_client_access_enum.rb create mode 100644 lib/auth0/types/phone_attribute_identifier.rb create mode 100644 lib/auth0/types/role_member.rb create mode 100644 lib/auth0/types/token_vault_privileged_access_grant.rb create mode 100644 lib/auth0/types/too_many_requests_error_body.rb create mode 100644 lib/auth0/types/too_many_requests_error_body_error.rb create mode 100644 lib/auth0/types/username_attribute_identifier.rb diff --git a/lib/auth0.rb b/lib/auth0.rb index 01141c7a..34ec9b7f 100644 --- a/lib/auth0.rb +++ b/lib/auth0.rb @@ -64,6 +64,10 @@ require_relative "auth0/types/get_job_generic_error_response_content" require_relative "auth0/jobs/errors/types/errors_get_response" require_relative "auth0/types/oauth_scope" +require_relative "auth0/types/not_found_error_body_error" +require_relative "auth0/types/not_found_error_body" +require_relative "auth0/types/too_many_requests_error_body_error" +require_relative "auth0/types/too_many_requests_error_body" require_relative "auth0/types/action_binding_type_enum" require_relative "auth0/types/action_trigger_type_enum" require_relative "auth0/types/action_trigger_compatible_trigger" @@ -289,6 +293,7 @@ require_relative "auth0/types/client_token_endpoint_auth_method_enum" require_relative "auth0/types/client_token_exchange_type_enum" require_relative "auth0/types/client_token_exchange_configuration" +require_relative "auth0/types/token_vault_privileged_access_grant" require_relative "auth0/types/token_vault_privileged_access_ip_allowlist_entry" require_relative "auth0/types/client_token_vault_privileged_access_with_credential_id" require_relative "auth0/types/linked_client_configuration" @@ -352,22 +357,25 @@ require_relative "auth0/types/connection_app_domain_azure_ad" require_relative "auth0/types/connection_assertion_decryption_algorithm_profile_enum" require_relative "auth0/types/connection_assertion_decryption_settings" -require_relative "auth0/types/default_method_email_identifier_enum" -require_relative "auth0/types/connection_attribute_identifier" require_relative "auth0/types/connection_attribute_map_attributes" require_relative "auth0/types/connection_attribute_map_userinfo_scope" require_relative "auth0/types/connection_mapping_mode_enum_oidc" require_relative "auth0/types/connection_attribute_map_oidc" require_relative "auth0/types/connection_mapping_mode_enum_okta" require_relative "auth0/types/connection_attribute_map_okta" +require_relative "auth0/types/default_method_email_identifier_enum" +require_relative "auth0/types/default_method_phone_number_identifier_enum" +require_relative "auth0/types/email_attribute_identifier" require_relative "auth0/types/signup_status_enum" require_relative "auth0/types/signup_verification" require_relative "auth0/types/signup_verified" require_relative "auth0/types/verification_method_enum" require_relative "auth0/types/email_attribute" +require_relative "auth0/types/phone_attribute_identifier" require_relative "auth0/types/phone_attribute" require_relative "auth0/types/signup_schema" require_relative "auth0/types/username_allowed_types" +require_relative "auth0/types/username_attribute_identifier" require_relative "auth0/types/username_validation" require_relative "auth0/types/username_attribute" require_relative "auth0/types/connection_attributes" @@ -753,6 +761,8 @@ require_relative "auth0/types/connection_profile" require_relative "auth0/types/connection_profile_template" require_relative "auth0/types/connection_profile_template_item" +require_relative "auth0/types/connections_discovery_url" +require_relative "auth0/types/connections_oidc_metadata" require_relative "auth0/types/connection_properties_options" require_relative "auth0/types/connection_provisioning_ticket_url" require_relative "auth0/types/connection_purposes" @@ -1734,6 +1744,7 @@ require_relative "auth0/types/organization_branding" require_relative "auth0/types/organization_enabled_connection" require_relative "auth0/types/organization_metadata" +require_relative "auth0/types/organization_third_party_client_access_enum" require_relative "auth0/types/create_organization_response_content" require_relative "auth0/types/create_phone_provider_send_test_response_content" require_relative "auth0/types/phone_template_body" @@ -1860,6 +1871,125 @@ require_relative "auth0/types/email_specific_provider_settings_with_additional_properties" require_relative "auth0/types/encryption_key" require_relative "auth0/types/event_stream_cloud_event_a0purpose_enum" +require_relative "auth0/types/event_stream_cloud_event_connection_created_cloud_event_type_enum" +require_relative "auth0/types/event_stream_cloud_event_connection_created_object0authentication" +require_relative "auth0/types/event_stream_cloud_event_connection_created_object0connected_accounts" +require_relative "auth0/types/event_stream_cloud_event_connection_created_object0metadata" +require_relative "auth0/types/event_stream_cloud_event_connection_created_object0options_attribute_map_attributes" +require_relative "auth0/types/event_stream_cloud_event_connection_created_object0options_attribute_map_mapping_mode_enum" +require_relative "auth0/types/event_stream_cloud_event_connection_created_object0options_attribute_map" +require_relative "auth0/types/event_stream_cloud_event_connection_created_object0options_connection_settings_pkce_enum" +require_relative "auth0/types/event_stream_cloud_event_connection_created_object0options_connection_settings" +require_relative "auth0/types/event_stream_cloud_event_connection_created_object0options_dpop_signing_alg_enum" +require_relative "auth0/types/event_stream_cloud_event_connection_created_object0options_federated_connections_access_tokens" +require_relative "auth0/types/event_stream_cloud_event_connection_created_object0options_id_token_signed_response_algs_item_enum" +require_relative "auth0/types/event_stream_cloud_event_connection_created_object0options_oidc_metadata" +require_relative "auth0/types/event_stream_cloud_event_connection_created_object0options_schema_version_enum" +require_relative "auth0/types/event_stream_cloud_event_connection_created_object0options_set_user_root_attributes_enum" +require_relative "auth0/types/event_stream_cloud_event_connection_created_object0options_token_endpoint_auth_method_enum" +require_relative "auth0/types/event_stream_cloud_event_connection_created_object0options_token_endpoint_auth_signing_alg_enum" +require_relative "auth0/types/event_stream_cloud_event_connection_created_object0options_token_endpoint_jwtca_aud_format_enum" +require_relative "auth0/types/event_stream_cloud_event_connection_created_object0options_type_enum" +require_relative "auth0/types/event_stream_cloud_event_connection_created_object0options_upstream_params" +require_relative "auth0/types/event_stream_cloud_event_connection_created_object0options" +require_relative "auth0/types/event_stream_cloud_event_connection_created_object0strategy_enum" +require_relative "auth0/types/event_stream_cloud_event_connection_created_object0" +require_relative "auth0/types/event_stream_cloud_event_connection_created_object1authentication" +require_relative "auth0/types/event_stream_cloud_event_connection_created_object1connected_accounts" +require_relative "auth0/types/event_stream_cloud_event_connection_created_object1metadata" +require_relative "auth0/types/event_stream_cloud_event_connection_created_object1options_attribute_map_attributes" +require_relative "auth0/types/event_stream_cloud_event_connection_created_object1options_attribute_map_mapping_mode_enum" +require_relative "auth0/types/event_stream_cloud_event_connection_created_object1options_attribute_map" +require_relative "auth0/types/event_stream_cloud_event_connection_created_object1options_connection_settings_pkce_enum" +require_relative "auth0/types/event_stream_cloud_event_connection_created_object1options_connection_settings" +require_relative "auth0/types/event_stream_cloud_event_connection_created_object1options_dpop_signing_alg_enum" +require_relative "auth0/types/event_stream_cloud_event_connection_created_object1options_federated_connections_access_tokens" +require_relative "auth0/types/event_stream_cloud_event_connection_created_object1options_id_token_signed_response_algs_item_enum" +require_relative "auth0/types/event_stream_cloud_event_connection_created_object1options_oidc_metadata" +require_relative "auth0/types/event_stream_cloud_event_connection_created_object1options_schema_version_enum" +require_relative "auth0/types/event_stream_cloud_event_connection_created_object1options_set_user_root_attributes_enum" +require_relative "auth0/types/event_stream_cloud_event_connection_created_object1options_token_endpoint_auth_method_enum" +require_relative "auth0/types/event_stream_cloud_event_connection_created_object1options_token_endpoint_auth_signing_alg_enum" +require_relative "auth0/types/event_stream_cloud_event_connection_created_object1options_token_endpoint_jwtca_aud_format_enum" +require_relative "auth0/types/event_stream_cloud_event_connection_created_object1options_type_enum" +require_relative "auth0/types/event_stream_cloud_event_connection_created_object1options_upstream_params" +require_relative "auth0/types/event_stream_cloud_event_connection_created_object1options" +require_relative "auth0/types/event_stream_cloud_event_connection_created_object1strategy_enum" +require_relative "auth0/types/event_stream_cloud_event_connection_created_object1" +require_relative "auth0/types/event_stream_cloud_event_connection_created_object2authentication" +require_relative "auth0/types/event_stream_cloud_event_connection_created_object2connected_accounts" +require_relative "auth0/types/event_stream_cloud_event_connection_created_object2metadata" +require_relative "auth0/types/event_stream_cloud_event_connection_created_object2options_assertion_decryption_settings_algorithm_profile_enum" +require_relative "auth0/types/event_stream_cloud_event_connection_created_object2options_assertion_decryption_settings" +require_relative "auth0/types/event_stream_cloud_event_connection_created_object2options_digest_algorithm_enum" +require_relative "auth0/types/event_stream_cloud_event_connection_created_object2options_fields_map" +require_relative "auth0/types/event_stream_cloud_event_connection_created_object2options_idpinitiated_client_protocol_enum" +require_relative "auth0/types/event_stream_cloud_event_connection_created_object2options_idpinitiated" +require_relative "auth0/types/event_stream_cloud_event_connection_created_object2options_protocol_binding_enum" +require_relative "auth0/types/event_stream_cloud_event_connection_created_object2options_set_user_root_attributes_enum" +require_relative "auth0/types/event_stream_cloud_event_connection_created_object2options_signature_algorithm_enum" +require_relative "auth0/types/event_stream_cloud_event_connection_created_object2options_subject" +require_relative "auth0/types/event_stream_cloud_event_connection_created_object2options_upstream_params" +require_relative "auth0/types/event_stream_cloud_event_connection_created_object2options" +require_relative "auth0/types/event_stream_cloud_event_connection_created_object2strategy_enum" +require_relative "auth0/types/event_stream_cloud_event_connection_created_object2" +require_relative "auth0/types/event_stream_cloud_event_connection_created_object3authentication" +require_relative "auth0/types/event_stream_cloud_event_connection_created_object3connected_accounts" +require_relative "auth0/types/event_stream_cloud_event_connection_created_object3metadata" +require_relative "auth0/types/event_stream_cloud_event_connection_created_object3options_assertion_decryption_settings_algorithm_profile_enum" +require_relative "auth0/types/event_stream_cloud_event_connection_created_object3options_assertion_decryption_settings" +require_relative "auth0/types/event_stream_cloud_event_connection_created_object3options_digest_algorithm_enum" +require_relative "auth0/types/event_stream_cloud_event_connection_created_object3options_idpinitiated_client_protocol_enum" +require_relative "auth0/types/event_stream_cloud_event_connection_created_object3options_idpinitiated" +require_relative "auth0/types/event_stream_cloud_event_connection_created_object3options_protocol_binding_enum" +require_relative "auth0/types/event_stream_cloud_event_connection_created_object3options_set_user_root_attributes_enum" +require_relative "auth0/types/event_stream_cloud_event_connection_created_object3options_signature_algorithm_enum" +require_relative "auth0/types/event_stream_cloud_event_connection_created_object3options_subject" +require_relative "auth0/types/event_stream_cloud_event_connection_created_object3options_upstream_params" +require_relative "auth0/types/event_stream_cloud_event_connection_created_object3options" +require_relative "auth0/types/event_stream_cloud_event_connection_created_object3strategy_enum" +require_relative "auth0/types/event_stream_cloud_event_connection_created_object3" +require_relative "auth0/types/event_stream_cloud_event_connection_created_object4authentication" +require_relative "auth0/types/event_stream_cloud_event_connection_created_object4connected_accounts" +require_relative "auth0/types/event_stream_cloud_event_connection_created_object4metadata" +require_relative "auth0/types/event_stream_cloud_event_connection_created_object4options_set_user_root_attributes_enum" +require_relative "auth0/types/event_stream_cloud_event_connection_created_object4options_should_trust_email_verified_connection_enum" +require_relative "auth0/types/event_stream_cloud_event_connection_created_object4options_upstream_params" +require_relative "auth0/types/event_stream_cloud_event_connection_created_object4options" +require_relative "auth0/types/event_stream_cloud_event_connection_created_object4strategy_enum" +require_relative "auth0/types/event_stream_cloud_event_connection_created_object4" +require_relative "auth0/types/event_stream_cloud_event_connection_created_object5authentication" +require_relative "auth0/types/event_stream_cloud_event_connection_created_object5connected_accounts" +require_relative "auth0/types/event_stream_cloud_event_connection_created_object5metadata" +require_relative "auth0/types/event_stream_cloud_event_connection_created_object5options_set_user_root_attributes_enum" +require_relative "auth0/types/event_stream_cloud_event_connection_created_object5options_upstream_params" +require_relative "auth0/types/event_stream_cloud_event_connection_created_object5options" +require_relative "auth0/types/event_stream_cloud_event_connection_created_object5strategy_enum" +require_relative "auth0/types/event_stream_cloud_event_connection_created_object5" +require_relative "auth0/types/event_stream_cloud_event_connection_created_object6authentication" +require_relative "auth0/types/event_stream_cloud_event_connection_created_object6connected_accounts" +require_relative "auth0/types/event_stream_cloud_event_connection_created_object6metadata" +require_relative "auth0/types/event_stream_cloud_event_connection_created_object6options_federated_connections_access_tokens" +require_relative "auth0/types/event_stream_cloud_event_connection_created_object6options_set_user_root_attributes_enum" +require_relative "auth0/types/event_stream_cloud_event_connection_created_object6options_upstream_params" +require_relative "auth0/types/event_stream_cloud_event_connection_created_object6options" +require_relative "auth0/types/event_stream_cloud_event_connection_created_object6strategy_enum" +require_relative "auth0/types/event_stream_cloud_event_connection_created_object6" +require_relative "auth0/types/event_stream_cloud_event_connection_created_object7authentication" +require_relative "auth0/types/event_stream_cloud_event_connection_created_object7connected_accounts" +require_relative "auth0/types/event_stream_cloud_event_connection_created_object7metadata" +require_relative "auth0/types/event_stream_cloud_event_connection_created_object7options_federated_connections_access_tokens" +require_relative "auth0/types/event_stream_cloud_event_connection_created_object7options_identity_api_enum" +require_relative "auth0/types/event_stream_cloud_event_connection_created_object7options_set_user_root_attributes_enum" +require_relative "auth0/types/event_stream_cloud_event_connection_created_object7options_should_trust_email_verified_connection_enum" +require_relative "auth0/types/event_stream_cloud_event_connection_created_object7options_tenant_domain_one" +require_relative "auth0/types/event_stream_cloud_event_connection_created_object7options_upstream_params" +require_relative "auth0/types/event_stream_cloud_event_connection_created_object7options_userid_attribute_enum" +require_relative "auth0/types/event_stream_cloud_event_connection_created_object7options_waad_protocol_enum" +require_relative "auth0/types/event_stream_cloud_event_connection_created_object7options" +require_relative "auth0/types/event_stream_cloud_event_connection_created_object7strategy_enum" +require_relative "auth0/types/event_stream_cloud_event_connection_created_object7" +require_relative "auth0/types/event_stream_cloud_event_connection_created_object" require_relative "auth0/types/event_stream_cloud_event_context_client_metadata" require_relative "auth0/types/event_stream_cloud_event_context_client" require_relative "auth0/types/event_stream_cloud_event_context_connection" @@ -1867,6 +1997,257 @@ require_relative "auth0/types/event_stream_cloud_event_context_request" require_relative "auth0/types/event_stream_cloud_event_context_tenant" require_relative "auth0/types/event_stream_cloud_event_context" +require_relative "auth0/types/event_stream_cloud_event_connection_created_data" +require_relative "auth0/types/event_stream_cloud_event_spec_version_enum" +require_relative "auth0/types/event_stream_cloud_event_connection_created_cloud_event" +require_relative "auth0/types/event_stream_cloud_event_connection_created" +require_relative "auth0/types/event_stream_cloud_event_connection_created_type_enum" +require_relative "auth0/types/event_stream_cloud_event_connection_deleted_cloud_event_type_enum" +require_relative "auth0/types/event_stream_cloud_event_connection_deleted_object0authentication" +require_relative "auth0/types/event_stream_cloud_event_connection_deleted_object0connected_accounts" +require_relative "auth0/types/event_stream_cloud_event_connection_deleted_object0metadata" +require_relative "auth0/types/event_stream_cloud_event_connection_deleted_object0options_attribute_map_attributes" +require_relative "auth0/types/event_stream_cloud_event_connection_deleted_object0options_attribute_map_mapping_mode_enum" +require_relative "auth0/types/event_stream_cloud_event_connection_deleted_object0options_attribute_map" +require_relative "auth0/types/event_stream_cloud_event_connection_deleted_object0options_connection_settings_pkce_enum" +require_relative "auth0/types/event_stream_cloud_event_connection_deleted_object0options_connection_settings" +require_relative "auth0/types/event_stream_cloud_event_connection_deleted_object0options_dpop_signing_alg_enum" +require_relative "auth0/types/event_stream_cloud_event_connection_deleted_object0options_federated_connections_access_tokens" +require_relative "auth0/types/event_stream_cloud_event_connection_deleted_object0options_id_token_signed_response_algs_item_enum" +require_relative "auth0/types/event_stream_cloud_event_connection_deleted_object0options_oidc_metadata" +require_relative "auth0/types/event_stream_cloud_event_connection_deleted_object0options_schema_version_enum" +require_relative "auth0/types/event_stream_cloud_event_connection_deleted_object0options_set_user_root_attributes_enum" +require_relative "auth0/types/event_stream_cloud_event_connection_deleted_object0options_token_endpoint_auth_method_enum" +require_relative "auth0/types/event_stream_cloud_event_connection_deleted_object0options_token_endpoint_auth_signing_alg_enum" +require_relative "auth0/types/event_stream_cloud_event_connection_deleted_object0options_token_endpoint_jwtca_aud_format_enum" +require_relative "auth0/types/event_stream_cloud_event_connection_deleted_object0options_type_enum" +require_relative "auth0/types/event_stream_cloud_event_connection_deleted_object0options_upstream_params" +require_relative "auth0/types/event_stream_cloud_event_connection_deleted_object0options" +require_relative "auth0/types/event_stream_cloud_event_connection_deleted_object0strategy_enum" +require_relative "auth0/types/event_stream_cloud_event_connection_deleted_object0" +require_relative "auth0/types/event_stream_cloud_event_connection_deleted_object1authentication" +require_relative "auth0/types/event_stream_cloud_event_connection_deleted_object1connected_accounts" +require_relative "auth0/types/event_stream_cloud_event_connection_deleted_object1metadata" +require_relative "auth0/types/event_stream_cloud_event_connection_deleted_object1options_attribute_map_attributes" +require_relative "auth0/types/event_stream_cloud_event_connection_deleted_object1options_attribute_map_mapping_mode_enum" +require_relative "auth0/types/event_stream_cloud_event_connection_deleted_object1options_attribute_map" +require_relative "auth0/types/event_stream_cloud_event_connection_deleted_object1options_connection_settings_pkce_enum" +require_relative "auth0/types/event_stream_cloud_event_connection_deleted_object1options_connection_settings" +require_relative "auth0/types/event_stream_cloud_event_connection_deleted_object1options_dpop_signing_alg_enum" +require_relative "auth0/types/event_stream_cloud_event_connection_deleted_object1options_federated_connections_access_tokens" +require_relative "auth0/types/event_stream_cloud_event_connection_deleted_object1options_id_token_signed_response_algs_item_enum" +require_relative "auth0/types/event_stream_cloud_event_connection_deleted_object1options_oidc_metadata" +require_relative "auth0/types/event_stream_cloud_event_connection_deleted_object1options_schema_version_enum" +require_relative "auth0/types/event_stream_cloud_event_connection_deleted_object1options_set_user_root_attributes_enum" +require_relative "auth0/types/event_stream_cloud_event_connection_deleted_object1options_token_endpoint_auth_method_enum" +require_relative "auth0/types/event_stream_cloud_event_connection_deleted_object1options_token_endpoint_auth_signing_alg_enum" +require_relative "auth0/types/event_stream_cloud_event_connection_deleted_object1options_token_endpoint_jwtca_aud_format_enum" +require_relative "auth0/types/event_stream_cloud_event_connection_deleted_object1options_type_enum" +require_relative "auth0/types/event_stream_cloud_event_connection_deleted_object1options_upstream_params" +require_relative "auth0/types/event_stream_cloud_event_connection_deleted_object1options" +require_relative "auth0/types/event_stream_cloud_event_connection_deleted_object1strategy_enum" +require_relative "auth0/types/event_stream_cloud_event_connection_deleted_object1" +require_relative "auth0/types/event_stream_cloud_event_connection_deleted_object2authentication" +require_relative "auth0/types/event_stream_cloud_event_connection_deleted_object2connected_accounts" +require_relative "auth0/types/event_stream_cloud_event_connection_deleted_object2metadata" +require_relative "auth0/types/event_stream_cloud_event_connection_deleted_object2options_assertion_decryption_settings_algorithm_profile_enum" +require_relative "auth0/types/event_stream_cloud_event_connection_deleted_object2options_assertion_decryption_settings" +require_relative "auth0/types/event_stream_cloud_event_connection_deleted_object2options_digest_algorithm_enum" +require_relative "auth0/types/event_stream_cloud_event_connection_deleted_object2options_fields_map" +require_relative "auth0/types/event_stream_cloud_event_connection_deleted_object2options_idpinitiated_client_protocol_enum" +require_relative "auth0/types/event_stream_cloud_event_connection_deleted_object2options_idpinitiated" +require_relative "auth0/types/event_stream_cloud_event_connection_deleted_object2options_protocol_binding_enum" +require_relative "auth0/types/event_stream_cloud_event_connection_deleted_object2options_set_user_root_attributes_enum" +require_relative "auth0/types/event_stream_cloud_event_connection_deleted_object2options_signature_algorithm_enum" +require_relative "auth0/types/event_stream_cloud_event_connection_deleted_object2options_subject" +require_relative "auth0/types/event_stream_cloud_event_connection_deleted_object2options_upstream_params" +require_relative "auth0/types/event_stream_cloud_event_connection_deleted_object2options" +require_relative "auth0/types/event_stream_cloud_event_connection_deleted_object2strategy_enum" +require_relative "auth0/types/event_stream_cloud_event_connection_deleted_object2" +require_relative "auth0/types/event_stream_cloud_event_connection_deleted_object3authentication" +require_relative "auth0/types/event_stream_cloud_event_connection_deleted_object3connected_accounts" +require_relative "auth0/types/event_stream_cloud_event_connection_deleted_object3metadata" +require_relative "auth0/types/event_stream_cloud_event_connection_deleted_object3options_assertion_decryption_settings_algorithm_profile_enum" +require_relative "auth0/types/event_stream_cloud_event_connection_deleted_object3options_assertion_decryption_settings" +require_relative "auth0/types/event_stream_cloud_event_connection_deleted_object3options_digest_algorithm_enum" +require_relative "auth0/types/event_stream_cloud_event_connection_deleted_object3options_idpinitiated_client_protocol_enum" +require_relative "auth0/types/event_stream_cloud_event_connection_deleted_object3options_idpinitiated" +require_relative "auth0/types/event_stream_cloud_event_connection_deleted_object3options_protocol_binding_enum" +require_relative "auth0/types/event_stream_cloud_event_connection_deleted_object3options_set_user_root_attributes_enum" +require_relative "auth0/types/event_stream_cloud_event_connection_deleted_object3options_signature_algorithm_enum" +require_relative "auth0/types/event_stream_cloud_event_connection_deleted_object3options_subject" +require_relative "auth0/types/event_stream_cloud_event_connection_deleted_object3options_upstream_params" +require_relative "auth0/types/event_stream_cloud_event_connection_deleted_object3options" +require_relative "auth0/types/event_stream_cloud_event_connection_deleted_object3strategy_enum" +require_relative "auth0/types/event_stream_cloud_event_connection_deleted_object3" +require_relative "auth0/types/event_stream_cloud_event_connection_deleted_object4authentication" +require_relative "auth0/types/event_stream_cloud_event_connection_deleted_object4connected_accounts" +require_relative "auth0/types/event_stream_cloud_event_connection_deleted_object4metadata" +require_relative "auth0/types/event_stream_cloud_event_connection_deleted_object4options_set_user_root_attributes_enum" +require_relative "auth0/types/event_stream_cloud_event_connection_deleted_object4options_should_trust_email_verified_connection_enum" +require_relative "auth0/types/event_stream_cloud_event_connection_deleted_object4options_upstream_params" +require_relative "auth0/types/event_stream_cloud_event_connection_deleted_object4options" +require_relative "auth0/types/event_stream_cloud_event_connection_deleted_object4strategy_enum" +require_relative "auth0/types/event_stream_cloud_event_connection_deleted_object4" +require_relative "auth0/types/event_stream_cloud_event_connection_deleted_object5authentication" +require_relative "auth0/types/event_stream_cloud_event_connection_deleted_object5connected_accounts" +require_relative "auth0/types/event_stream_cloud_event_connection_deleted_object5metadata" +require_relative "auth0/types/event_stream_cloud_event_connection_deleted_object5options_set_user_root_attributes_enum" +require_relative "auth0/types/event_stream_cloud_event_connection_deleted_object5options_upstream_params" +require_relative "auth0/types/event_stream_cloud_event_connection_deleted_object5options" +require_relative "auth0/types/event_stream_cloud_event_connection_deleted_object5strategy_enum" +require_relative "auth0/types/event_stream_cloud_event_connection_deleted_object5" +require_relative "auth0/types/event_stream_cloud_event_connection_deleted_object6authentication" +require_relative "auth0/types/event_stream_cloud_event_connection_deleted_object6connected_accounts" +require_relative "auth0/types/event_stream_cloud_event_connection_deleted_object6metadata" +require_relative "auth0/types/event_stream_cloud_event_connection_deleted_object6options_federated_connections_access_tokens" +require_relative "auth0/types/event_stream_cloud_event_connection_deleted_object6options_set_user_root_attributes_enum" +require_relative "auth0/types/event_stream_cloud_event_connection_deleted_object6options_upstream_params" +require_relative "auth0/types/event_stream_cloud_event_connection_deleted_object6options" +require_relative "auth0/types/event_stream_cloud_event_connection_deleted_object6strategy_enum" +require_relative "auth0/types/event_stream_cloud_event_connection_deleted_object6" +require_relative "auth0/types/event_stream_cloud_event_connection_deleted_object7authentication" +require_relative "auth0/types/event_stream_cloud_event_connection_deleted_object7connected_accounts" +require_relative "auth0/types/event_stream_cloud_event_connection_deleted_object7metadata" +require_relative "auth0/types/event_stream_cloud_event_connection_deleted_object7options_federated_connections_access_tokens" +require_relative "auth0/types/event_stream_cloud_event_connection_deleted_object7options_identity_api_enum" +require_relative "auth0/types/event_stream_cloud_event_connection_deleted_object7options_set_user_root_attributes_enum" +require_relative "auth0/types/event_stream_cloud_event_connection_deleted_object7options_should_trust_email_verified_connection_enum" +require_relative "auth0/types/event_stream_cloud_event_connection_deleted_object7options_tenant_domain_one" +require_relative "auth0/types/event_stream_cloud_event_connection_deleted_object7options_upstream_params" +require_relative "auth0/types/event_stream_cloud_event_connection_deleted_object7options_userid_attribute_enum" +require_relative "auth0/types/event_stream_cloud_event_connection_deleted_object7options_waad_protocol_enum" +require_relative "auth0/types/event_stream_cloud_event_connection_deleted_object7options" +require_relative "auth0/types/event_stream_cloud_event_connection_deleted_object7strategy_enum" +require_relative "auth0/types/event_stream_cloud_event_connection_deleted_object7" +require_relative "auth0/types/event_stream_cloud_event_connection_deleted_object" +require_relative "auth0/types/event_stream_cloud_event_connection_deleted_data" +require_relative "auth0/types/event_stream_cloud_event_connection_deleted_cloud_event" +require_relative "auth0/types/event_stream_cloud_event_connection_deleted" +require_relative "auth0/types/event_stream_cloud_event_connection_deleted_type_enum" +require_relative "auth0/types/event_stream_cloud_event_connection_updated_cloud_event_type_enum" +require_relative "auth0/types/event_stream_cloud_event_connection_updated_object0authentication" +require_relative "auth0/types/event_stream_cloud_event_connection_updated_object0connected_accounts" +require_relative "auth0/types/event_stream_cloud_event_connection_updated_object0metadata" +require_relative "auth0/types/event_stream_cloud_event_connection_updated_object0options_attribute_map_attributes" +require_relative "auth0/types/event_stream_cloud_event_connection_updated_object0options_attribute_map_mapping_mode_enum" +require_relative "auth0/types/event_stream_cloud_event_connection_updated_object0options_attribute_map" +require_relative "auth0/types/event_stream_cloud_event_connection_updated_object0options_connection_settings_pkce_enum" +require_relative "auth0/types/event_stream_cloud_event_connection_updated_object0options_connection_settings" +require_relative "auth0/types/event_stream_cloud_event_connection_updated_object0options_dpop_signing_alg_enum" +require_relative "auth0/types/event_stream_cloud_event_connection_updated_object0options_federated_connections_access_tokens" +require_relative "auth0/types/event_stream_cloud_event_connection_updated_object0options_id_token_signed_response_algs_item_enum" +require_relative "auth0/types/event_stream_cloud_event_connection_updated_object0options_oidc_metadata" +require_relative "auth0/types/event_stream_cloud_event_connection_updated_object0options_schema_version_enum" +require_relative "auth0/types/event_stream_cloud_event_connection_updated_object0options_set_user_root_attributes_enum" +require_relative "auth0/types/event_stream_cloud_event_connection_updated_object0options_token_endpoint_auth_method_enum" +require_relative "auth0/types/event_stream_cloud_event_connection_updated_object0options_token_endpoint_auth_signing_alg_enum" +require_relative "auth0/types/event_stream_cloud_event_connection_updated_object0options_token_endpoint_jwtca_aud_format_enum" +require_relative "auth0/types/event_stream_cloud_event_connection_updated_object0options_type_enum" +require_relative "auth0/types/event_stream_cloud_event_connection_updated_object0options_upstream_params" +require_relative "auth0/types/event_stream_cloud_event_connection_updated_object0options" +require_relative "auth0/types/event_stream_cloud_event_connection_updated_object0strategy_enum" +require_relative "auth0/types/event_stream_cloud_event_connection_updated_object0" +require_relative "auth0/types/event_stream_cloud_event_connection_updated_object1authentication" +require_relative "auth0/types/event_stream_cloud_event_connection_updated_object1connected_accounts" +require_relative "auth0/types/event_stream_cloud_event_connection_updated_object1metadata" +require_relative "auth0/types/event_stream_cloud_event_connection_updated_object1options_attribute_map_attributes" +require_relative "auth0/types/event_stream_cloud_event_connection_updated_object1options_attribute_map_mapping_mode_enum" +require_relative "auth0/types/event_stream_cloud_event_connection_updated_object1options_attribute_map" +require_relative "auth0/types/event_stream_cloud_event_connection_updated_object1options_connection_settings_pkce_enum" +require_relative "auth0/types/event_stream_cloud_event_connection_updated_object1options_connection_settings" +require_relative "auth0/types/event_stream_cloud_event_connection_updated_object1options_dpop_signing_alg_enum" +require_relative "auth0/types/event_stream_cloud_event_connection_updated_object1options_federated_connections_access_tokens" +require_relative "auth0/types/event_stream_cloud_event_connection_updated_object1options_id_token_signed_response_algs_item_enum" +require_relative "auth0/types/event_stream_cloud_event_connection_updated_object1options_oidc_metadata" +require_relative "auth0/types/event_stream_cloud_event_connection_updated_object1options_schema_version_enum" +require_relative "auth0/types/event_stream_cloud_event_connection_updated_object1options_set_user_root_attributes_enum" +require_relative "auth0/types/event_stream_cloud_event_connection_updated_object1options_token_endpoint_auth_method_enum" +require_relative "auth0/types/event_stream_cloud_event_connection_updated_object1options_token_endpoint_auth_signing_alg_enum" +require_relative "auth0/types/event_stream_cloud_event_connection_updated_object1options_token_endpoint_jwtca_aud_format_enum" +require_relative "auth0/types/event_stream_cloud_event_connection_updated_object1options_type_enum" +require_relative "auth0/types/event_stream_cloud_event_connection_updated_object1options_upstream_params" +require_relative "auth0/types/event_stream_cloud_event_connection_updated_object1options" +require_relative "auth0/types/event_stream_cloud_event_connection_updated_object1strategy_enum" +require_relative "auth0/types/event_stream_cloud_event_connection_updated_object1" +require_relative "auth0/types/event_stream_cloud_event_connection_updated_object2authentication" +require_relative "auth0/types/event_stream_cloud_event_connection_updated_object2connected_accounts" +require_relative "auth0/types/event_stream_cloud_event_connection_updated_object2metadata" +require_relative "auth0/types/event_stream_cloud_event_connection_updated_object2options_assertion_decryption_settings_algorithm_profile_enum" +require_relative "auth0/types/event_stream_cloud_event_connection_updated_object2options_assertion_decryption_settings" +require_relative "auth0/types/event_stream_cloud_event_connection_updated_object2options_digest_algorithm_enum" +require_relative "auth0/types/event_stream_cloud_event_connection_updated_object2options_fields_map" +require_relative "auth0/types/event_stream_cloud_event_connection_updated_object2options_idpinitiated_client_protocol_enum" +require_relative "auth0/types/event_stream_cloud_event_connection_updated_object2options_idpinitiated" +require_relative "auth0/types/event_stream_cloud_event_connection_updated_object2options_protocol_binding_enum" +require_relative "auth0/types/event_stream_cloud_event_connection_updated_object2options_set_user_root_attributes_enum" +require_relative "auth0/types/event_stream_cloud_event_connection_updated_object2options_signature_algorithm_enum" +require_relative "auth0/types/event_stream_cloud_event_connection_updated_object2options_subject" +require_relative "auth0/types/event_stream_cloud_event_connection_updated_object2options_upstream_params" +require_relative "auth0/types/event_stream_cloud_event_connection_updated_object2options" +require_relative "auth0/types/event_stream_cloud_event_connection_updated_object2strategy_enum" +require_relative "auth0/types/event_stream_cloud_event_connection_updated_object2" +require_relative "auth0/types/event_stream_cloud_event_connection_updated_object3authentication" +require_relative "auth0/types/event_stream_cloud_event_connection_updated_object3connected_accounts" +require_relative "auth0/types/event_stream_cloud_event_connection_updated_object3metadata" +require_relative "auth0/types/event_stream_cloud_event_connection_updated_object3options_assertion_decryption_settings_algorithm_profile_enum" +require_relative "auth0/types/event_stream_cloud_event_connection_updated_object3options_assertion_decryption_settings" +require_relative "auth0/types/event_stream_cloud_event_connection_updated_object3options_digest_algorithm_enum" +require_relative "auth0/types/event_stream_cloud_event_connection_updated_object3options_idpinitiated_client_protocol_enum" +require_relative "auth0/types/event_stream_cloud_event_connection_updated_object3options_idpinitiated" +require_relative "auth0/types/event_stream_cloud_event_connection_updated_object3options_protocol_binding_enum" +require_relative "auth0/types/event_stream_cloud_event_connection_updated_object3options_set_user_root_attributes_enum" +require_relative "auth0/types/event_stream_cloud_event_connection_updated_object3options_signature_algorithm_enum" +require_relative "auth0/types/event_stream_cloud_event_connection_updated_object3options_subject" +require_relative "auth0/types/event_stream_cloud_event_connection_updated_object3options_upstream_params" +require_relative "auth0/types/event_stream_cloud_event_connection_updated_object3options" +require_relative "auth0/types/event_stream_cloud_event_connection_updated_object3strategy_enum" +require_relative "auth0/types/event_stream_cloud_event_connection_updated_object3" +require_relative "auth0/types/event_stream_cloud_event_connection_updated_object4authentication" +require_relative "auth0/types/event_stream_cloud_event_connection_updated_object4connected_accounts" +require_relative "auth0/types/event_stream_cloud_event_connection_updated_object4metadata" +require_relative "auth0/types/event_stream_cloud_event_connection_updated_object4options_set_user_root_attributes_enum" +require_relative "auth0/types/event_stream_cloud_event_connection_updated_object4options_should_trust_email_verified_connection_enum" +require_relative "auth0/types/event_stream_cloud_event_connection_updated_object4options_upstream_params" +require_relative "auth0/types/event_stream_cloud_event_connection_updated_object4options" +require_relative "auth0/types/event_stream_cloud_event_connection_updated_object4strategy_enum" +require_relative "auth0/types/event_stream_cloud_event_connection_updated_object4" +require_relative "auth0/types/event_stream_cloud_event_connection_updated_object5authentication" +require_relative "auth0/types/event_stream_cloud_event_connection_updated_object5connected_accounts" +require_relative "auth0/types/event_stream_cloud_event_connection_updated_object5metadata" +require_relative "auth0/types/event_stream_cloud_event_connection_updated_object5options_set_user_root_attributes_enum" +require_relative "auth0/types/event_stream_cloud_event_connection_updated_object5options_upstream_params" +require_relative "auth0/types/event_stream_cloud_event_connection_updated_object5options" +require_relative "auth0/types/event_stream_cloud_event_connection_updated_object5strategy_enum" +require_relative "auth0/types/event_stream_cloud_event_connection_updated_object5" +require_relative "auth0/types/event_stream_cloud_event_connection_updated_object6authentication" +require_relative "auth0/types/event_stream_cloud_event_connection_updated_object6connected_accounts" +require_relative "auth0/types/event_stream_cloud_event_connection_updated_object6metadata" +require_relative "auth0/types/event_stream_cloud_event_connection_updated_object6options_federated_connections_access_tokens" +require_relative "auth0/types/event_stream_cloud_event_connection_updated_object6options_set_user_root_attributes_enum" +require_relative "auth0/types/event_stream_cloud_event_connection_updated_object6options_upstream_params" +require_relative "auth0/types/event_stream_cloud_event_connection_updated_object6options" +require_relative "auth0/types/event_stream_cloud_event_connection_updated_object6strategy_enum" +require_relative "auth0/types/event_stream_cloud_event_connection_updated_object6" +require_relative "auth0/types/event_stream_cloud_event_connection_updated_object7authentication" +require_relative "auth0/types/event_stream_cloud_event_connection_updated_object7connected_accounts" +require_relative "auth0/types/event_stream_cloud_event_connection_updated_object7metadata" +require_relative "auth0/types/event_stream_cloud_event_connection_updated_object7options_federated_connections_access_tokens" +require_relative "auth0/types/event_stream_cloud_event_connection_updated_object7options_identity_api_enum" +require_relative "auth0/types/event_stream_cloud_event_connection_updated_object7options_set_user_root_attributes_enum" +require_relative "auth0/types/event_stream_cloud_event_connection_updated_object7options_should_trust_email_verified_connection_enum" +require_relative "auth0/types/event_stream_cloud_event_connection_updated_object7options_tenant_domain_one" +require_relative "auth0/types/event_stream_cloud_event_connection_updated_object7options_upstream_params" +require_relative "auth0/types/event_stream_cloud_event_connection_updated_object7options_userid_attribute_enum" +require_relative "auth0/types/event_stream_cloud_event_connection_updated_object7options_waad_protocol_enum" +require_relative "auth0/types/event_stream_cloud_event_connection_updated_object7options" +require_relative "auth0/types/event_stream_cloud_event_connection_updated_object7strategy_enum" +require_relative "auth0/types/event_stream_cloud_event_connection_updated_object7" +require_relative "auth0/types/event_stream_cloud_event_connection_updated_object" +require_relative "auth0/types/event_stream_cloud_event_connection_updated_data" +require_relative "auth0/types/event_stream_cloud_event_connection_updated_cloud_event" +require_relative "auth0/types/event_stream_cloud_event_connection_updated" +require_relative "auth0/types/event_stream_cloud_event_connection_updated_type_enum" require_relative "auth0/types/event_stream_cloud_event_error_code_enum" require_relative "auth0/types/event_stream_cloud_event_error_detail" require_relative "auth0/types/event_stream_cloud_event_error_message" @@ -2453,6 +2834,8 @@ require_relative "auth0/types/organization_member_role" require_relative "auth0/types/organization_member" require_relative "auth0/types/list_organization_members_paginated_response_content" +require_relative "auth0/types/role_member" +require_relative "auth0/types/list_organization_role_members_response_content" require_relative "auth0/types/list_organizations_paginated_response_content" require_relative "auth0/types/phone_template" require_relative "auth0/types/list_phone_templates_response_content" @@ -3056,6 +3439,9 @@ require_relative "auth0/organizations/members/effective_roles/sources/client" require_relative "auth0/organizations/members/effective_roles/sources/groups/client" require_relative "auth0/organizations/members/effective_roles/sources/groups/types/list_organization_member_role_source_groups_request_parameters" +require_relative "auth0/organizations/roles/client" +require_relative "auth0/organizations/roles/members/client" +require_relative "auth0/organizations/roles/members/types/list_organization_role_members_request_parameters" require_relative "auth0/prompts/rendering/client" require_relative "auth0/prompts/rendering/types/list_aculs_request_parameters" require_relative "auth0/prompts/rendering/types/bulk_update_acul_request_content" diff --git a/lib/auth0/organizations/client.rb b/lib/auth0/organizations/client.rb index 5f409422..e7ebbb7f 100644 --- a/lib/auth0/organizations/client.rb +++ b/lib/auth0/organizations/client.rb @@ -293,6 +293,11 @@ def members def groups @groups ||= Auth0::Organizations::Groups::Client.new(client: @client) end + + # @return [Auth0::Roles::Client] + def roles + @roles ||= Auth0::Organizations::Roles::Client.new(client: @client) + end end end end diff --git a/lib/auth0/organizations/roles/client.rb b/lib/auth0/organizations/roles/client.rb new file mode 100644 index 00000000..cab4e581 --- /dev/null +++ b/lib/auth0/organizations/roles/client.rb @@ -0,0 +1,21 @@ +# frozen_string_literal: true + +module Auth0 + module Organizations + module Roles + class Client + # @param client [Auth0::Internal::Http::RawClient] + # + # @return [void] + def initialize(client:) + @client = client + end + + # @return [Auth0::Members::Client] + def members + @members ||= Auth0::Organizations::Roles::Members::Client.new(client: @client) + end + end + end + end +end diff --git a/lib/auth0/organizations/roles/members/client.rb b/lib/auth0/organizations/roles/members/client.rb new file mode 100644 index 00000000..dbde918e --- /dev/null +++ b/lib/auth0/organizations/roles/members/client.rb @@ -0,0 +1,72 @@ +# frozen_string_literal: true + +module Auth0 + module Organizations + module Roles + module Members + class Client + # @param client [Auth0::Internal::Http::RawClient] + # + # @return [void] + def initialize(client:) + @client = client + end + + # List the organization members assigned a specific role within the context of an organization. + # + # @param request_options [Hash] + # @param params [Hash] + # @option request_options [String] :base_url + # @option request_options [Hash{String => Object}] :additional_headers + # @option request_options [Hash{String => Object}] :additional_query_parameters + # @option request_options [Hash{String => Object}] :additional_body_parameters + # @option request_options [Integer] :timeout_in_seconds + # @option params [String] :id + # @option params [String] :role_id + # @option params [String, nil] :from + # @option params [Integer, nil] :take + # @option params [String, nil] :fields + # @option params [Boolean, nil] :include_fields + # + # @return [Auth0::Types::ListOrganizationRoleMembersResponseContent] + def list(request_options: {}, **params) + params = Auth0::Internal::Types::Utils.normalize_keys(params) + query_params = {} + query_params["from"] = params[:from] if params.key?(:from) + query_params["take"] = params.fetch(:take, 50) + query_params["fields"] = params[:fields] if params.key?(:fields) + query_params["include_fields"] = params.fetch(:include_fields, true) + + Auth0::Internal::CursorItemIterator.new( + cursor_field: :next_, + item_field: :members, + initial_cursor: query_params["from"] + ) do |next_cursor| + query_params["from"] = next_cursor + request = Auth0::Internal::JSON::Request.new( + base_url: request_options[:base_url], + method: "GET", + path: "organizations/#{URI.encode_uri_component(params[:id].to_s)}/roles/#{URI.encode_uri_component(params[:role_id].to_s)}/members", + query: query_params, + request_options: request_options + ) + begin + response = @client.send(request) + rescue Net::HTTPRequestTimeout + raise Auth0::Errors::TimeoutError + end + code = response.code.to_i + if code.between?(200, 299) + parsed_response = Auth0::Types::ListOrganizationRoleMembersResponseContent.load(response.body) + [parsed_response, response] + else + error_class = Auth0::Errors::ResponseError.subclass_for_code(code) + raise error_class.new(response.body, code: code) + end + end + end + end + end + end + end +end diff --git a/lib/auth0/organizations/roles/members/types/list_organization_role_members_request_parameters.rb b/lib/auth0/organizations/roles/members/types/list_organization_role_members_request_parameters.rb new file mode 100644 index 00000000..e73ce01a --- /dev/null +++ b/lib/auth0/organizations/roles/members/types/list_organization_role_members_request_parameters.rb @@ -0,0 +1,25 @@ +# frozen_string_literal: true + +module Auth0 + module Organizations + module Roles + module Members + module Types + class ListOrganizationRoleMembersRequestParameters < Internal::Types::Model + field :id, -> { String }, optional: false, nullable: false + + field :role_id, -> { String }, optional: false, nullable: false + + field :from, -> { String }, optional: true, nullable: false + + field :take, -> { Integer }, optional: true, nullable: false + + field :fields, -> { String }, optional: true, nullable: false + + field :include_fields, -> { Internal::Types::Boolean }, optional: true, nullable: false + end + end + end + end + end +end diff --git a/lib/auth0/organizations/types/create_organization_request_content.rb b/lib/auth0/organizations/types/create_organization_request_content.rb index e1bf105d..4c8b0b9d 100644 --- a/lib/auth0/organizations/types/create_organization_request_content.rb +++ b/lib/auth0/organizations/types/create_organization_request_content.rb @@ -15,6 +15,8 @@ class CreateOrganizationRequestContent < Internal::Types::Model field :enabled_connections, -> { Internal::Types::Array[Auth0::Types::ConnectionForOrganization] }, optional: true, nullable: false field :token_quota, -> { Auth0::Types::CreateTokenQuota }, optional: true, nullable: false + + field :third_party_client_access, -> { Auth0::Types::OrganizationThirdPartyClientAccessEnum }, optional: true, nullable: false end end end diff --git a/lib/auth0/organizations/types/update_organization_request_content.rb b/lib/auth0/organizations/types/update_organization_request_content.rb index 5535eadf..ff839b05 100644 --- a/lib/auth0/organizations/types/update_organization_request_content.rb +++ b/lib/auth0/organizations/types/update_organization_request_content.rb @@ -15,6 +15,8 @@ class UpdateOrganizationRequestContent < Internal::Types::Model field :metadata, -> { Internal::Types::Hash[String, String] }, optional: true, nullable: false field :token_quota, -> { Auth0::Types::UpdateTokenQuota }, optional: true, nullable: false + + field :third_party_client_access, -> { Auth0::Types::OrganizationThirdPartyClientAccessEnum }, optional: true, nullable: false end end end diff --git a/lib/auth0/types/client_token_vault_privileged_access_with_credential_id.rb b/lib/auth0/types/client_token_vault_privileged_access_with_credential_id.rb index f4d80da3..52f01949 100644 --- a/lib/auth0/types/client_token_vault_privileged_access_with_credential_id.rb +++ b/lib/auth0/types/client_token_vault_privileged_access_with_credential_id.rb @@ -7,6 +7,8 @@ class ClientTokenVaultPrivilegedAccessWithCredentialID < Internal::Types::Model field :credentials, -> { Internal::Types::Array[Auth0::Types::CredentialID] }, optional: false, nullable: false field :ip_allowlist, -> { Internal::Types::Array[String] }, optional: true, nullable: false + + field :grants, -> { Internal::Types::Array[Auth0::Types::TokenVaultPrivilegedAccessGrant] }, optional: true, nullable: false end end end diff --git a/lib/auth0/types/client_token_vault_privileged_access_with_public_key.rb b/lib/auth0/types/client_token_vault_privileged_access_with_public_key.rb index c39cb03c..a06ecd6a 100644 --- a/lib/auth0/types/client_token_vault_privileged_access_with_public_key.rb +++ b/lib/auth0/types/client_token_vault_privileged_access_with_public_key.rb @@ -7,6 +7,8 @@ class ClientTokenVaultPrivilegedAccessWithPublicKey < Internal::Types::Model field :credentials, -> { Internal::Types::Array[Auth0::Types::PublicKeyCredential] }, optional: false, nullable: false field :ip_allowlist, -> { Internal::Types::Array[String] }, optional: true, nullable: false + + field :grants, -> { Internal::Types::Array[Auth0::Types::TokenVaultPrivilegedAccessGrant] }, optional: true, nullable: false end end end diff --git a/lib/auth0/types/connection_properties_options.rb b/lib/auth0/types/connection_properties_options.rb index bde1e5c6..957fa114 100644 --- a/lib/auth0/types/connection_properties_options.rb +++ b/lib/auth0/types/connection_properties_options.rb @@ -79,6 +79,10 @@ class ConnectionPropertiesOptions < Internal::Types::Model field :token_endpoint_jwtca_aud_format, -> { Auth0::Types::ConnectionTokenEndpointJwtcaAudFormatEnumOidc }, optional: true, nullable: false field :id_token_session_expiry_supported, -> { Internal::Types::Boolean }, optional: true, nullable: false + + field :discovery_url, -> { String }, optional: true, nullable: false + + field :oidc_metadata, -> { Auth0::Types::ConnectionsOidcMetadata }, optional: true, nullable: false end end end diff --git a/lib/auth0/types/connections_discovery_url.rb b/lib/auth0/types/connections_discovery_url.rb new file mode 100644 index 00000000..c842a150 --- /dev/null +++ b/lib/auth0/types/connections_discovery_url.rb @@ -0,0 +1,23 @@ +# frozen_string_literal: true + +module Auth0 + module Types + module ConnectionsDiscoveryURL + # ConnectionsDiscoveryURL is an alias for Object + + # @option str [String] + # + # @return [untyped] + def self.load(str) + ::JSON.parse(str) + end + + # @option value [untyped] + # + # @return [String] + def self.dump(value) + ::JSON.generate(value) + end + end + end +end diff --git a/lib/auth0/types/connections_oidc_metadata.rb b/lib/auth0/types/connections_oidc_metadata.rb new file mode 100644 index 00000000..a973dc55 --- /dev/null +++ b/lib/auth0/types/connections_oidc_metadata.rb @@ -0,0 +1,82 @@ +# frozen_string_literal: true + +module Auth0 + module Types + # Additional OIDC metadata to include in the discovery document. Only applicable when strategy=oidc, okta, or samlp. + class ConnectionsOidcMetadata < Internal::Types::Model + field :issuer, -> { String }, optional: true, nullable: false + + field :authorization_endpoint, -> { String }, optional: true, nullable: false + + field :token_endpoint, -> { String }, optional: true, nullable: false + + field :userinfo_endpoint, -> { String }, optional: true, nullable: false + + field :jwks_uri, -> { String }, optional: true, nullable: false + + field :registration_endpoint, -> { String }, optional: true, nullable: false + + field :scopes_supported, -> { Internal::Types::Array[String] }, optional: true, nullable: false + + field :response_modes_supported, -> { Internal::Types::Array[String] }, optional: true, nullable: false + + field :response_types_supported, -> { Internal::Types::Array[String] }, optional: true, nullable: false + + field :grant_types_supported, -> { Internal::Types::Array[String] }, optional: true, nullable: false + + field :acr_values_supported, -> { Internal::Types::Array[String] }, optional: true, nullable: false + + field :subject_types_supported, -> { Internal::Types::Array[String] }, optional: true, nullable: false + + field :id_token_signing_alg_values_supported, -> { Internal::Types::Array[String] }, optional: true, nullable: false + + field :id_token_encryption_alg_values_supported, -> { Internal::Types::Array[String] }, optional: true, nullable: false + + field :id_token_encryption_enc_values_supported, -> { Internal::Types::Array[String] }, optional: true, nullable: false + + field :userinfo_signing_alg_values_supported, -> { Internal::Types::Array[String] }, optional: true, nullable: false + + field :userinfo_encryption_alg_values_supported, -> { Internal::Types::Array[String] }, optional: true, nullable: false + + field :userinfo_encryption_enc_values_supported, -> { Internal::Types::Array[String] }, optional: true, nullable: false + + field :request_object_signing_alg_values_supported, -> { Internal::Types::Array[String] }, optional: true, nullable: false + + field :request_object_encryption_alg_values_supported, -> { Internal::Types::Array[String] }, optional: true, nullable: false + + field :request_object_encryption_enc_values_supported, -> { Internal::Types::Array[String] }, optional: true, nullable: false + + field :token_endpoint_auth_methods_supported, -> { Internal::Types::Array[String] }, optional: true, nullable: false + + field :token_endpoint_auth_signing_alg_values_supported, -> { Internal::Types::Array[String] }, optional: true, nullable: false + + field :display_values_supported, -> { Internal::Types::Array[String] }, optional: true, nullable: false + + field :claim_types_supported, -> { Internal::Types::Array[String] }, optional: true, nullable: false + + field :claims_supported, -> { Internal::Types::Array[String] }, optional: true, nullable: false + + field :service_documentation, -> { String }, optional: true, nullable: false + + field :claims_locales_supported, -> { Internal::Types::Array[String] }, optional: true, nullable: false + + field :ui_locales_supported, -> { Internal::Types::Array[String] }, optional: true, nullable: false + + field :claims_parameter_supported, -> { Internal::Types::Boolean }, optional: true, nullable: false + + field :request_parameter_supported, -> { Internal::Types::Boolean }, optional: true, nullable: false + + field :request_uri_parameter_supported, -> { Internal::Types::Boolean }, optional: true, nullable: false + + field :require_request_uri_registration, -> { Internal::Types::Boolean }, optional: true, nullable: false + + field :op_policy_uri, -> { String }, optional: true, nullable: false + + field :op_tos_uri, -> { String }, optional: true, nullable: false + + field :end_session_endpoint, -> { String }, optional: true, nullable: false + + field :dpop_signing_alg_values_supported, -> { Internal::Types::Array[String] }, optional: true, nullable: false + end + end +end diff --git a/lib/auth0/types/create_organization_response_content.rb b/lib/auth0/types/create_organization_response_content.rb index 56b42b8d..a9b187a5 100644 --- a/lib/auth0/types/create_organization_response_content.rb +++ b/lib/auth0/types/create_organization_response_content.rb @@ -15,6 +15,8 @@ class CreateOrganizationResponseContent < Internal::Types::Model field :token_quota, -> { Auth0::Types::TokenQuota }, optional: true, nullable: false + field :third_party_client_access, -> { Auth0::Types::OrganizationThirdPartyClientAccessEnum }, optional: true, nullable: false + field :enabled_connections, -> { Internal::Types::Array[Auth0::Types::OrganizationEnabledConnection] }, optional: true, nullable: false end end diff --git a/lib/auth0/types/default_method_phone_number_identifier_enum.rb b/lib/auth0/types/default_method_phone_number_identifier_enum.rb new file mode 100644 index 00000000..2acbf3d7 --- /dev/null +++ b/lib/auth0/types/default_method_phone_number_identifier_enum.rb @@ -0,0 +1,12 @@ +# frozen_string_literal: true + +module Auth0 + module Types + module DefaultMethodPhoneNumberIdentifierEnum + extend Auth0::Internal::Types::Enum + + PASSWORD = "password" + PHONE_OTP = "phone_otp" + end + end +end diff --git a/lib/auth0/types/email_attribute.rb b/lib/auth0/types/email_attribute.rb index cfcc2b8f..c8f81f90 100644 --- a/lib/auth0/types/email_attribute.rb +++ b/lib/auth0/types/email_attribute.rb @@ -4,7 +4,7 @@ module Auth0 module Types # Configuration for the email attribute for users. class EmailAttribute < Internal::Types::Model - field :identifier, -> { Auth0::Types::ConnectionAttributeIdentifier }, optional: true, nullable: false + field :identifier, -> { Auth0::Types::EmailAttributeIdentifier }, optional: true, nullable: false field :unique, -> { Internal::Types::Boolean }, optional: true, nullable: false diff --git a/lib/auth0/types/connection_attribute_identifier.rb b/lib/auth0/types/email_attribute_identifier.rb similarity index 81% rename from lib/auth0/types/connection_attribute_identifier.rb rename to lib/auth0/types/email_attribute_identifier.rb index f49003aa..dba8997d 100644 --- a/lib/auth0/types/connection_attribute_identifier.rb +++ b/lib/auth0/types/email_attribute_identifier.rb @@ -2,7 +2,7 @@ module Auth0 module Types - class ConnectionAttributeIdentifier < Internal::Types::Model + class EmailAttributeIdentifier < Internal::Types::Model field :active, -> { Internal::Types::Boolean }, optional: true, nullable: false field :default_method, -> { Auth0::Types::DefaultMethodEmailIdentifierEnum }, optional: true, nullable: false diff --git a/lib/auth0/types/event_stream_cloud_event_connection_created.rb b/lib/auth0/types/event_stream_cloud_event_connection_created.rb new file mode 100644 index 00000000..0794629b --- /dev/null +++ b/lib/auth0/types/event_stream_cloud_event_connection_created.rb @@ -0,0 +1,12 @@ +# frozen_string_literal: true + +module Auth0 + module Types + # SSE message for connection.created. + class EventStreamCloudEventConnectionCreated < Internal::Types::Model + field :offset, -> { String }, optional: false, nullable: false + + field :event, -> { Auth0::Types::EventStreamCloudEventConnectionCreatedCloudEvent }, optional: false, nullable: false + end + end +end diff --git a/lib/auth0/types/event_stream_cloud_event_connection_created_cloud_event.rb b/lib/auth0/types/event_stream_cloud_event_connection_created_cloud_event.rb new file mode 100644 index 00000000..26e54c75 --- /dev/null +++ b/lib/auth0/types/event_stream_cloud_event_connection_created_cloud_event.rb @@ -0,0 +1,26 @@ +# frozen_string_literal: true + +module Auth0 + module Types + # Represents an event that occurs when a connection is created. + class EventStreamCloudEventConnectionCreatedCloudEvent < Internal::Types::Model + field :specversion, -> { Auth0::Types::EventStreamCloudEventSpecVersionEnum }, optional: false, nullable: false + + field :type, -> { Auth0::Types::EventStreamCloudEventConnectionCreatedCloudEventTypeEnum }, optional: false, nullable: false + + field :source, -> { String }, optional: false, nullable: false + + field :id, -> { String }, optional: false, nullable: false + + field :time, -> { String }, optional: false, nullable: false + + field :data, -> { Auth0::Types::EventStreamCloudEventConnectionCreatedData }, optional: false, nullable: false + + field :a0tenant, -> { String }, optional: false, nullable: false + + field :a0stream, -> { String }, optional: false, nullable: false + + field :a0purpose, -> { Auth0::Types::EventStreamCloudEventA0PurposeEnum }, optional: true, nullable: false + end + end +end diff --git a/lib/auth0/types/event_stream_cloud_event_connection_created_cloud_event_type_enum.rb b/lib/auth0/types/event_stream_cloud_event_connection_created_cloud_event_type_enum.rb new file mode 100644 index 00000000..e73a278b --- /dev/null +++ b/lib/auth0/types/event_stream_cloud_event_connection_created_cloud_event_type_enum.rb @@ -0,0 +1,11 @@ +# frozen_string_literal: true + +module Auth0 + module Types + module EventStreamCloudEventConnectionCreatedCloudEventTypeEnum + extend Auth0::Internal::Types::Enum + + CONNECTION_CREATED = "connection.created" + end + end +end diff --git a/lib/auth0/types/event_stream_cloud_event_connection_created_data.rb b/lib/auth0/types/event_stream_cloud_event_connection_created_data.rb new file mode 100644 index 00000000..f999f41e --- /dev/null +++ b/lib/auth0/types/event_stream_cloud_event_connection_created_data.rb @@ -0,0 +1,12 @@ +# frozen_string_literal: true + +module Auth0 + module Types + # The event payload. + class EventStreamCloudEventConnectionCreatedData < Internal::Types::Model + field :object, -> { Auth0::Types::EventStreamCloudEventConnectionCreatedObject }, optional: false, nullable: false + + field :context, -> { Auth0::Types::EventStreamCloudEventContext }, optional: true, nullable: false + end + end +end diff --git a/lib/auth0/types/event_stream_cloud_event_connection_created_object.rb b/lib/auth0/types/event_stream_cloud_event_connection_created_object.rb new file mode 100644 index 00000000..1396c61b --- /dev/null +++ b/lib/auth0/types/event_stream_cloud_event_connection_created_object.rb @@ -0,0 +1,26 @@ +# frozen_string_literal: true + +module Auth0 + module Types + # The event content. + class EventStreamCloudEventConnectionCreatedObject < Internal::Types::Model + extend Auth0::Internal::Types::Union + + member -> { Auth0::Types::EventStreamCloudEventConnectionCreatedObject0 } + + member -> { Auth0::Types::EventStreamCloudEventConnectionCreatedObject1 } + + member -> { Auth0::Types::EventStreamCloudEventConnectionCreatedObject2 } + + member -> { Auth0::Types::EventStreamCloudEventConnectionCreatedObject3 } + + member -> { Auth0::Types::EventStreamCloudEventConnectionCreatedObject4 } + + member -> { Auth0::Types::EventStreamCloudEventConnectionCreatedObject5 } + + member -> { Auth0::Types::EventStreamCloudEventConnectionCreatedObject6 } + + member -> { Auth0::Types::EventStreamCloudEventConnectionCreatedObject7 } + end + end +end diff --git a/lib/auth0/types/event_stream_cloud_event_connection_created_object0.rb b/lib/auth0/types/event_stream_cloud_event_connection_created_object0.rb new file mode 100644 index 00000000..db9d6a4c --- /dev/null +++ b/lib/auth0/types/event_stream_cloud_event_connection_created_object0.rb @@ -0,0 +1,31 @@ +# frozen_string_literal: true + +module Auth0 + module Types + class EventStreamCloudEventConnectionCreatedObject0 < Internal::Types::Model + field :authentication, -> { Auth0::Types::EventStreamCloudEventConnectionCreatedObject0Authentication }, optional: true, nullable: false + + field :display_name, -> { String }, optional: true, nullable: false + + field :enabled_clients, -> { Internal::Types::Array[String] }, optional: true, nullable: false + + field :id, -> { String }, optional: false, nullable: false + + field :is_domain_connection, -> { Internal::Types::Boolean }, optional: true, nullable: false + + field :metadata, -> { Auth0::Types::EventStreamCloudEventConnectionCreatedObject0Metadata }, optional: true, nullable: false + + field :name, -> { String }, optional: false, nullable: false + + field :realms, -> { Internal::Types::Array[String] }, optional: true, nullable: false + + field :connected_accounts, -> { Auth0::Types::EventStreamCloudEventConnectionCreatedObject0ConnectedAccounts }, optional: true, nullable: false + + field :options, -> { Auth0::Types::EventStreamCloudEventConnectionCreatedObject0Options }, optional: true, nullable: false + + field :show_as_button, -> { Internal::Types::Boolean }, optional: true, nullable: false + + field :strategy, -> { Auth0::Types::EventStreamCloudEventConnectionCreatedObject0StrategyEnum }, optional: false, nullable: false + end + end +end diff --git a/lib/auth0/types/event_stream_cloud_event_connection_created_object0authentication.rb b/lib/auth0/types/event_stream_cloud_event_connection_created_object0authentication.rb new file mode 100644 index 00000000..7cd73a24 --- /dev/null +++ b/lib/auth0/types/event_stream_cloud_event_connection_created_object0authentication.rb @@ -0,0 +1,10 @@ +# frozen_string_literal: true + +module Auth0 + module Types + # Configure the purpose of a connection to be used for authentication during login. + class EventStreamCloudEventConnectionCreatedObject0Authentication < Internal::Types::Model + field :active, -> { Internal::Types::Boolean }, optional: false, nullable: false + end + end +end diff --git a/lib/auth0/types/event_stream_cloud_event_connection_created_object0connected_accounts.rb b/lib/auth0/types/event_stream_cloud_event_connection_created_object0connected_accounts.rb new file mode 100644 index 00000000..6a80bead --- /dev/null +++ b/lib/auth0/types/event_stream_cloud_event_connection_created_object0connected_accounts.rb @@ -0,0 +1,12 @@ +# frozen_string_literal: true + +module Auth0 + module Types + # Configure the purpose of a connection to be used for connected accounts and Token Vault. + class EventStreamCloudEventConnectionCreatedObject0ConnectedAccounts < Internal::Types::Model + field :active, -> { Internal::Types::Boolean }, optional: false, nullable: false + + field :cross_app_access, -> { Internal::Types::Boolean }, optional: true, nullable: false + end + end +end diff --git a/lib/auth0/types/event_stream_cloud_event_connection_created_object0metadata.rb b/lib/auth0/types/event_stream_cloud_event_connection_created_object0metadata.rb new file mode 100644 index 00000000..d3043147 --- /dev/null +++ b/lib/auth0/types/event_stream_cloud_event_connection_created_object0metadata.rb @@ -0,0 +1,9 @@ +# frozen_string_literal: true + +module Auth0 + module Types + # Metadata associated with the connection in the form of an object with string values (max 255 chars). Maximum of + # 10 metadata properties allowed. + class EventStreamCloudEventConnectionCreatedObject0Metadata < Internal::Types::Model; end + end +end diff --git a/lib/auth0/types/event_stream_cloud_event_connection_created_object0options.rb b/lib/auth0/types/event_stream_cloud_event_connection_created_object0options.rb new file mode 100644 index 00000000..9d42b737 --- /dev/null +++ b/lib/auth0/types/event_stream_cloud_event_connection_created_object0options.rb @@ -0,0 +1,62 @@ +# frozen_string_literal: true + +module Auth0 + module Types + # Options for the 'oidc' connection + class EventStreamCloudEventConnectionCreatedObject0Options < Internal::Types::Model + field :authorization_endpoint, -> { String }, optional: true, nullable: false + + field :client_id, -> { String }, optional: false, nullable: false + + field :connection_settings, -> { Auth0::Types::EventStreamCloudEventConnectionCreatedObject0OptionsConnectionSettings }, optional: true, nullable: false + + field :domain_aliases, -> { Internal::Types::Array[String] }, optional: true, nullable: false + + field :dpop_signing_alg, -> { Auth0::Types::EventStreamCloudEventConnectionCreatedObject0OptionsDpopSigningAlgEnum }, optional: true, nullable: false + + field :federated_connections_access_tokens, -> { Auth0::Types::EventStreamCloudEventConnectionCreatedObject0OptionsFederatedConnectionsAccessTokens }, optional: true, nullable: false + + field :icon_url, -> { String }, optional: true, nullable: false + + field :id_token_session_expiry_supported, -> { Internal::Types::Boolean }, optional: true, nullable: false + + field :id_token_signed_response_algs, -> { Internal::Types::Array[Auth0::Types::EventStreamCloudEventConnectionCreatedObject0OptionsIDTokenSignedResponseAlgsItemEnum] }, optional: true, nullable: false + + field :issuer, -> { String }, optional: true, nullable: false + + field :jwks_uri, -> { String }, optional: true, nullable: false + + field :non_persistent_attrs, -> { Internal::Types::Array[String] }, optional: true, nullable: false + + field :oidc_metadata, -> { Auth0::Types::EventStreamCloudEventConnectionCreatedObject0OptionsOidcMetadata }, optional: true, nullable: false + + field :schema_version, -> { Auth0::Types::EventStreamCloudEventConnectionCreatedObject0OptionsSchemaVersionEnum }, optional: true, nullable: false + + field :scope, -> { String }, optional: true, nullable: false + + field :send_back_channel_nonce, -> { Internal::Types::Boolean }, optional: true, nullable: false + + field :set_user_root_attributes, -> { Auth0::Types::EventStreamCloudEventConnectionCreatedObject0OptionsSetUserRootAttributesEnum }, optional: true, nullable: false + + field :tenant_domain, -> { String }, optional: true, nullable: false + + field :token_endpoint, -> { String }, optional: true, nullable: false + + field :token_endpoint_auth_method, -> { Auth0::Types::EventStreamCloudEventConnectionCreatedObject0OptionsTokenEndpointAuthMethodEnum }, optional: true, nullable: false + + field :token_endpoint_auth_signing_alg, -> { Auth0::Types::EventStreamCloudEventConnectionCreatedObject0OptionsTokenEndpointAuthSigningAlgEnum }, optional: true, nullable: false + + field :token_endpoint_jwtca_aud_format, -> { Auth0::Types::EventStreamCloudEventConnectionCreatedObject0OptionsTokenEndpointJwtcaAudFormatEnum }, optional: true, nullable: false + + field :upstream_params, -> { Internal::Types::Hash[String, Object] }, optional: true, nullable: false + + field :userinfo_endpoint, -> { String }, optional: true, nullable: false + + field :attribute_map, -> { Auth0::Types::EventStreamCloudEventConnectionCreatedObject0OptionsAttributeMap }, optional: true, nullable: false + + field :discovery_url, -> { String }, optional: true, nullable: false + + field :type, -> { Auth0::Types::EventStreamCloudEventConnectionCreatedObject0OptionsTypeEnum }, optional: true, nullable: false + end + end +end diff --git a/lib/auth0/types/event_stream_cloud_event_connection_created_object0options_attribute_map.rb b/lib/auth0/types/event_stream_cloud_event_connection_created_object0options_attribute_map.rb new file mode 100644 index 00000000..059baacf --- /dev/null +++ b/lib/auth0/types/event_stream_cloud_event_connection_created_object0options_attribute_map.rb @@ -0,0 +1,15 @@ +# frozen_string_literal: true + +module Auth0 + module Types + # Configuration for mapping claims from the identity provider to Auth0 user profile attributes. Allows customizing + # which IdP claims populate user fields and how they are transformed. + class EventStreamCloudEventConnectionCreatedObject0OptionsAttributeMap < Internal::Types::Model + field :attributes, -> { Internal::Types::Hash[String, Object] }, optional: true, nullable: false + + field :userinfo_scope, -> { String }, optional: true, nullable: false + + field :mapping_mode, -> { Auth0::Types::EventStreamCloudEventConnectionCreatedObject0OptionsAttributeMapMappingModeEnum }, optional: true, nullable: false + end + end +end diff --git a/lib/auth0/types/event_stream_cloud_event_connection_created_object0options_attribute_map_attributes.rb b/lib/auth0/types/event_stream_cloud_event_connection_created_object0options_attribute_map_attributes.rb new file mode 100644 index 00000000..256de34a --- /dev/null +++ b/lib/auth0/types/event_stream_cloud_event_connection_created_object0options_attribute_map_attributes.rb @@ -0,0 +1,23 @@ +# frozen_string_literal: true + +module Auth0 + module Types + module EventStreamCloudEventConnectionCreatedObject0OptionsAttributeMapAttributes + # EventStreamCloudEventConnectionCreatedObject0OptionsAttributeMapAttributes is an alias for Hash + + # @option str [String] + # + # @return [untyped] + def self.load(str) + ::JSON.parse(str) + end + + # @option value [untyped] + # + # @return [String] + def self.dump(value) + ::JSON.generate(value) + end + end + end +end diff --git a/lib/auth0/types/event_stream_cloud_event_connection_created_object0options_attribute_map_mapping_mode_enum.rb b/lib/auth0/types/event_stream_cloud_event_connection_created_object0options_attribute_map_mapping_mode_enum.rb new file mode 100644 index 00000000..20a0b57c --- /dev/null +++ b/lib/auth0/types/event_stream_cloud_event_connection_created_object0options_attribute_map_mapping_mode_enum.rb @@ -0,0 +1,12 @@ +# frozen_string_literal: true + +module Auth0 + module Types + module EventStreamCloudEventConnectionCreatedObject0OptionsAttributeMapMappingModeEnum + extend Auth0::Internal::Types::Enum + + BIND_ALL = "bind_all" + USE_MAP = "use_map" + end + end +end diff --git a/lib/auth0/types/event_stream_cloud_event_connection_created_object0options_connection_settings.rb b/lib/auth0/types/event_stream_cloud_event_connection_created_object0options_connection_settings.rb new file mode 100644 index 00000000..5b12c818 --- /dev/null +++ b/lib/auth0/types/event_stream_cloud_event_connection_created_object0options_connection_settings.rb @@ -0,0 +1,11 @@ +# frozen_string_literal: true + +module Auth0 + module Types + # OAuth 2.0 PKCE (Proof Key for Code Exchange) settings. PKCE enhances security for public clients by preventing + # authorization code interception attacks. 'auto' (recommended) uses the strongest method supported by the IdP. + class EventStreamCloudEventConnectionCreatedObject0OptionsConnectionSettings < Internal::Types::Model + field :pkce, -> { Auth0::Types::EventStreamCloudEventConnectionCreatedObject0OptionsConnectionSettingsPkceEnum }, optional: true, nullable: false + end + end +end diff --git a/lib/auth0/types/event_stream_cloud_event_connection_created_object0options_connection_settings_pkce_enum.rb b/lib/auth0/types/event_stream_cloud_event_connection_created_object0options_connection_settings_pkce_enum.rb new file mode 100644 index 00000000..fbe3efc3 --- /dev/null +++ b/lib/auth0/types/event_stream_cloud_event_connection_created_object0options_connection_settings_pkce_enum.rb @@ -0,0 +1,14 @@ +# frozen_string_literal: true + +module Auth0 + module Types + module EventStreamCloudEventConnectionCreatedObject0OptionsConnectionSettingsPkceEnum + extend Auth0::Internal::Types::Enum + + AUTO = "auto" + S256 = "S256" + PLAIN = "plain" + DISABLED = "disabled" + end + end +end diff --git a/lib/auth0/types/event_stream_cloud_event_connection_created_object0options_dpop_signing_alg_enum.rb b/lib/auth0/types/event_stream_cloud_event_connection_created_object0options_dpop_signing_alg_enum.rb new file mode 100644 index 00000000..e7accb6d --- /dev/null +++ b/lib/auth0/types/event_stream_cloud_event_connection_created_object0options_dpop_signing_alg_enum.rb @@ -0,0 +1,14 @@ +# frozen_string_literal: true + +module Auth0 + module Types + module EventStreamCloudEventConnectionCreatedObject0OptionsDpopSigningAlgEnum + extend Auth0::Internal::Types::Enum + + ES256 = "ES256" + ES384 = "ES384" + ES512 = "ES512" + ED25519 = "Ed25519" + end + end +end diff --git a/lib/auth0/types/event_stream_cloud_event_connection_created_object0options_federated_connections_access_tokens.rb b/lib/auth0/types/event_stream_cloud_event_connection_created_object0options_federated_connections_access_tokens.rb new file mode 100644 index 00000000..7821147e --- /dev/null +++ b/lib/auth0/types/event_stream_cloud_event_connection_created_object0options_federated_connections_access_tokens.rb @@ -0,0 +1,12 @@ +# frozen_string_literal: true + +module Auth0 + module Types + # Configuration for storing identity provider tokens in Auth0's Token Vault. When active, Auth0 securely stores + # access and refresh tokens from federated logins, enabling your application to make authenticated API calls on + # behalf of users. + class EventStreamCloudEventConnectionCreatedObject0OptionsFederatedConnectionsAccessTokens < Internal::Types::Model + field :active, -> { Internal::Types::Boolean }, optional: false, nullable: false + end + end +end diff --git a/lib/auth0/types/event_stream_cloud_event_connection_created_object0options_id_token_signed_response_algs_item_enum.rb b/lib/auth0/types/event_stream_cloud_event_connection_created_object0options_id_token_signed_response_algs_item_enum.rb new file mode 100644 index 00000000..c1754cfa --- /dev/null +++ b/lib/auth0/types/event_stream_cloud_event_connection_created_object0options_id_token_signed_response_algs_item_enum.rb @@ -0,0 +1,17 @@ +# frozen_string_literal: true + +module Auth0 + module Types + module EventStreamCloudEventConnectionCreatedObject0OptionsIDTokenSignedResponseAlgsItemEnum + extend Auth0::Internal::Types::Enum + + ES256 = "ES256" + ES384 = "ES384" + PS256 = "PS256" + PS384 = "PS384" + RS256 = "RS256" + RS384 = "RS384" + RS512 = "RS512" + end + end +end diff --git a/lib/auth0/types/event_stream_cloud_event_connection_created_object0options_oidc_metadata.rb b/lib/auth0/types/event_stream_cloud_event_connection_created_object0options_oidc_metadata.rb new file mode 100644 index 00000000..88a4e100 --- /dev/null +++ b/lib/auth0/types/event_stream_cloud_event_connection_created_object0options_oidc_metadata.rb @@ -0,0 +1,83 @@ +# frozen_string_literal: true + +module Auth0 + module Types + # OpenID Connect Provider Metadata as per + # https://openid.net/specs/openid-connect-discovery-1_0.html#ProviderMetadata + class EventStreamCloudEventConnectionCreatedObject0OptionsOidcMetadata < Internal::Types::Model + field :acr_values_supported, -> { Internal::Types::Array[String] }, optional: true, nullable: false + + field :authorization_endpoint, -> { String }, optional: false, nullable: false + + field :claim_types_supported, -> { Internal::Types::Array[String] }, optional: true, nullable: false + + field :claims_locales_supported, -> { Internal::Types::Array[String] }, optional: true, nullable: false + + field :claims_parameter_supported, -> { Internal::Types::Boolean }, optional: true, nullable: false + + field :claims_supported, -> { Internal::Types::Array[String] }, optional: true, nullable: false + + field :display_values_supported, -> { Internal::Types::Array[String] }, optional: true, nullable: false + + field :dpop_signing_alg_values_supported, -> { Internal::Types::Array[String] }, optional: true, nullable: false + + field :end_session_endpoint, -> { String }, optional: true, nullable: false + + field :grant_types_supported, -> { Internal::Types::Array[String] }, optional: true, nullable: false + + field :id_token_encryption_alg_values_supported, -> { Internal::Types::Array[String] }, optional: true, nullable: false + + field :id_token_encryption_enc_values_supported, -> { Internal::Types::Array[String] }, optional: true, nullable: false + + field :id_token_signing_alg_values_supported, -> { Internal::Types::Array[String] }, optional: false, nullable: false + + field :issuer, -> { String }, optional: false, nullable: false + + field :jwks_uri, -> { String }, optional: false, nullable: false + + field :op_policy_uri, -> { String }, optional: true, nullable: false + + field :op_tos_uri, -> { String }, optional: true, nullable: false + + field :registration_endpoint, -> { String }, optional: true, nullable: false + + field :request_object_encryption_alg_values_supported, -> { Internal::Types::Array[String] }, optional: true, nullable: false + + field :request_object_encryption_enc_values_supported, -> { Internal::Types::Array[String] }, optional: true, nullable: false + + field :request_object_signing_alg_values_supported, -> { Internal::Types::Array[String] }, optional: true, nullable: false + + field :request_parameter_supported, -> { Internal::Types::Boolean }, optional: true, nullable: false + + field :request_uri_parameter_supported, -> { Internal::Types::Boolean }, optional: true, nullable: false + + field :require_request_uri_registration, -> { Internal::Types::Boolean }, optional: true, nullable: false + + field :response_modes_supported, -> { Internal::Types::Array[String] }, optional: true, nullable: false + + field :response_types_supported, -> { Internal::Types::Array[String] }, optional: true, nullable: false + + field :scopes_supported, -> { Internal::Types::Array[String] }, optional: true, nullable: false + + field :service_documentation, -> { String }, optional: true, nullable: false + + field :subject_types_supported, -> { Internal::Types::Array[String] }, optional: true, nullable: false + + field :token_endpoint, -> { String }, optional: true, nullable: false + + field :token_endpoint_auth_methods_supported, -> { Internal::Types::Array[String] }, optional: true, nullable: false + + field :token_endpoint_auth_signing_alg_values_supported, -> { Internal::Types::Array[String] }, optional: true, nullable: false + + field :ui_locales_supported, -> { Internal::Types::Array[String] }, optional: true, nullable: false + + field :userinfo_encryption_alg_values_supported, -> { Internal::Types::Array[String] }, optional: true, nullable: false + + field :userinfo_encryption_enc_values_supported, -> { Internal::Types::Array[String] }, optional: true, nullable: false + + field :userinfo_endpoint, -> { String }, optional: true, nullable: false + + field :userinfo_signing_alg_values_supported, -> { Internal::Types::Array[String] }, optional: true, nullable: false + end + end +end diff --git a/lib/auth0/types/event_stream_cloud_event_connection_created_object0options_schema_version_enum.rb b/lib/auth0/types/event_stream_cloud_event_connection_created_object0options_schema_version_enum.rb new file mode 100644 index 00000000..a76a3832 --- /dev/null +++ b/lib/auth0/types/event_stream_cloud_event_connection_created_object0options_schema_version_enum.rb @@ -0,0 +1,12 @@ +# frozen_string_literal: true + +module Auth0 + module Types + module EventStreamCloudEventConnectionCreatedObject0OptionsSchemaVersionEnum + extend Auth0::Internal::Types::Enum + + OPENID100 = "openid-1.0.0" + OIDC_V4 = "oidc-v4" + end + end +end diff --git a/lib/auth0/types/event_stream_cloud_event_connection_created_object0options_set_user_root_attributes_enum.rb b/lib/auth0/types/event_stream_cloud_event_connection_created_object0options_set_user_root_attributes_enum.rb new file mode 100644 index 00000000..1018560c --- /dev/null +++ b/lib/auth0/types/event_stream_cloud_event_connection_created_object0options_set_user_root_attributes_enum.rb @@ -0,0 +1,13 @@ +# frozen_string_literal: true + +module Auth0 + module Types + module EventStreamCloudEventConnectionCreatedObject0OptionsSetUserRootAttributesEnum + extend Auth0::Internal::Types::Enum + + ON_EACH_LOGIN = "on_each_login" + ON_FIRST_LOGIN = "on_first_login" + NEVER_ON_LOGIN = "never_on_login" + end + end +end diff --git a/lib/auth0/types/event_stream_cloud_event_connection_created_object0options_token_endpoint_auth_method_enum.rb b/lib/auth0/types/event_stream_cloud_event_connection_created_object0options_token_endpoint_auth_method_enum.rb new file mode 100644 index 00000000..62b19962 --- /dev/null +++ b/lib/auth0/types/event_stream_cloud_event_connection_created_object0options_token_endpoint_auth_method_enum.rb @@ -0,0 +1,12 @@ +# frozen_string_literal: true + +module Auth0 + module Types + module EventStreamCloudEventConnectionCreatedObject0OptionsTokenEndpointAuthMethodEnum + extend Auth0::Internal::Types::Enum + + CLIENT_SECRET_POST = "client_secret_post" + PRIVATE_KEY_JWT = "private_key_jwt" + end + end +end diff --git a/lib/auth0/types/event_stream_cloud_event_connection_created_object0options_token_endpoint_auth_signing_alg_enum.rb b/lib/auth0/types/event_stream_cloud_event_connection_created_object0options_token_endpoint_auth_signing_alg_enum.rb new file mode 100644 index 00000000..b57c43f6 --- /dev/null +++ b/lib/auth0/types/event_stream_cloud_event_connection_created_object0options_token_endpoint_auth_signing_alg_enum.rb @@ -0,0 +1,17 @@ +# frozen_string_literal: true + +module Auth0 + module Types + module EventStreamCloudEventConnectionCreatedObject0OptionsTokenEndpointAuthSigningAlgEnum + extend Auth0::Internal::Types::Enum + + ES256 = "ES256" + ES384 = "ES384" + PS256 = "PS256" + PS384 = "PS384" + RS256 = "RS256" + RS384 = "RS384" + RS512 = "RS512" + end + end +end diff --git a/lib/auth0/types/event_stream_cloud_event_connection_created_object0options_token_endpoint_jwtca_aud_format_enum.rb b/lib/auth0/types/event_stream_cloud_event_connection_created_object0options_token_endpoint_jwtca_aud_format_enum.rb new file mode 100644 index 00000000..d0bc7b97 --- /dev/null +++ b/lib/auth0/types/event_stream_cloud_event_connection_created_object0options_token_endpoint_jwtca_aud_format_enum.rb @@ -0,0 +1,12 @@ +# frozen_string_literal: true + +module Auth0 + module Types + module EventStreamCloudEventConnectionCreatedObject0OptionsTokenEndpointJwtcaAudFormatEnum + extend Auth0::Internal::Types::Enum + + ISSUER = "issuer" + TOKEN_ENDPOINT = "token_endpoint" + end + end +end diff --git a/lib/auth0/types/event_stream_cloud_event_connection_created_object0options_type_enum.rb b/lib/auth0/types/event_stream_cloud_event_connection_created_object0options_type_enum.rb new file mode 100644 index 00000000..0a424350 --- /dev/null +++ b/lib/auth0/types/event_stream_cloud_event_connection_created_object0options_type_enum.rb @@ -0,0 +1,12 @@ +# frozen_string_literal: true + +module Auth0 + module Types + module EventStreamCloudEventConnectionCreatedObject0OptionsTypeEnum + extend Auth0::Internal::Types::Enum + + BACK_CHANNEL = "back_channel" + FRONT_CHANNEL = "front_channel" + end + end +end diff --git a/lib/auth0/types/event_stream_cloud_event_connection_created_object0options_upstream_params.rb b/lib/auth0/types/event_stream_cloud_event_connection_created_object0options_upstream_params.rb new file mode 100644 index 00000000..f1cbc72b --- /dev/null +++ b/lib/auth0/types/event_stream_cloud_event_connection_created_object0options_upstream_params.rb @@ -0,0 +1,23 @@ +# frozen_string_literal: true + +module Auth0 + module Types + module EventStreamCloudEventConnectionCreatedObject0OptionsUpstreamParams + # EventStreamCloudEventConnectionCreatedObject0OptionsUpstreamParams is an alias for Hash + + # @option str [String] + # + # @return [untyped] + def self.load(str) + ::JSON.parse(str) + end + + # @option value [untyped] + # + # @return [String] + def self.dump(value) + ::JSON.generate(value) + end + end + end +end diff --git a/lib/auth0/types/event_stream_cloud_event_connection_created_object0strategy_enum.rb b/lib/auth0/types/event_stream_cloud_event_connection_created_object0strategy_enum.rb new file mode 100644 index 00000000..77a76f5e --- /dev/null +++ b/lib/auth0/types/event_stream_cloud_event_connection_created_object0strategy_enum.rb @@ -0,0 +1,11 @@ +# frozen_string_literal: true + +module Auth0 + module Types + module EventStreamCloudEventConnectionCreatedObject0StrategyEnum + extend Auth0::Internal::Types::Enum + + OIDC = "oidc" + end + end +end diff --git a/lib/auth0/types/event_stream_cloud_event_connection_created_object1.rb b/lib/auth0/types/event_stream_cloud_event_connection_created_object1.rb new file mode 100644 index 00000000..63417773 --- /dev/null +++ b/lib/auth0/types/event_stream_cloud_event_connection_created_object1.rb @@ -0,0 +1,31 @@ +# frozen_string_literal: true + +module Auth0 + module Types + class EventStreamCloudEventConnectionCreatedObject1 < Internal::Types::Model + field :authentication, -> { Auth0::Types::EventStreamCloudEventConnectionCreatedObject1Authentication }, optional: true, nullable: false + + field :connected_accounts, -> { Auth0::Types::EventStreamCloudEventConnectionCreatedObject1ConnectedAccounts }, optional: true, nullable: false + + field :display_name, -> { String }, optional: true, nullable: false + + field :enabled_clients, -> { Internal::Types::Array[String] }, optional: true, nullable: false + + field :id, -> { String }, optional: false, nullable: false + + field :is_domain_connection, -> { Internal::Types::Boolean }, optional: true, nullable: false + + field :metadata, -> { Auth0::Types::EventStreamCloudEventConnectionCreatedObject1Metadata }, optional: true, nullable: false + + field :name, -> { String }, optional: false, nullable: false + + field :realms, -> { Internal::Types::Array[String] }, optional: true, nullable: false + + field :options, -> { Auth0::Types::EventStreamCloudEventConnectionCreatedObject1Options }, optional: true, nullable: false + + field :show_as_button, -> { Internal::Types::Boolean }, optional: true, nullable: false + + field :strategy, -> { Auth0::Types::EventStreamCloudEventConnectionCreatedObject1StrategyEnum }, optional: false, nullable: false + end + end +end diff --git a/lib/auth0/types/event_stream_cloud_event_connection_created_object1authentication.rb b/lib/auth0/types/event_stream_cloud_event_connection_created_object1authentication.rb new file mode 100644 index 00000000..7baf697f --- /dev/null +++ b/lib/auth0/types/event_stream_cloud_event_connection_created_object1authentication.rb @@ -0,0 +1,10 @@ +# frozen_string_literal: true + +module Auth0 + module Types + # Configure the purpose of a connection to be used for authentication during login. + class EventStreamCloudEventConnectionCreatedObject1Authentication < Internal::Types::Model + field :active, -> { Internal::Types::Boolean }, optional: false, nullable: false + end + end +end diff --git a/lib/auth0/types/event_stream_cloud_event_connection_created_object1connected_accounts.rb b/lib/auth0/types/event_stream_cloud_event_connection_created_object1connected_accounts.rb new file mode 100644 index 00000000..5da9bd37 --- /dev/null +++ b/lib/auth0/types/event_stream_cloud_event_connection_created_object1connected_accounts.rb @@ -0,0 +1,10 @@ +# frozen_string_literal: true + +module Auth0 + module Types + # Configure the purpose of a connection to be used for connected accounts and Token Vault. + class EventStreamCloudEventConnectionCreatedObject1ConnectedAccounts < Internal::Types::Model + field :active, -> { Internal::Types::Boolean }, optional: false, nullable: false + end + end +end diff --git a/lib/auth0/types/event_stream_cloud_event_connection_created_object1metadata.rb b/lib/auth0/types/event_stream_cloud_event_connection_created_object1metadata.rb new file mode 100644 index 00000000..dc95fc19 --- /dev/null +++ b/lib/auth0/types/event_stream_cloud_event_connection_created_object1metadata.rb @@ -0,0 +1,9 @@ +# frozen_string_literal: true + +module Auth0 + module Types + # Metadata associated with the connection in the form of an object with string values (max 255 chars). Maximum of + # 10 metadata properties allowed. + class EventStreamCloudEventConnectionCreatedObject1Metadata < Internal::Types::Model; end + end +end diff --git a/lib/auth0/types/event_stream_cloud_event_connection_created_object1options.rb b/lib/auth0/types/event_stream_cloud_event_connection_created_object1options.rb new file mode 100644 index 00000000..c79a88ce --- /dev/null +++ b/lib/auth0/types/event_stream_cloud_event_connection_created_object1options.rb @@ -0,0 +1,62 @@ +# frozen_string_literal: true + +module Auth0 + module Types + # Options for the 'okta' connection + class EventStreamCloudEventConnectionCreatedObject1Options < Internal::Types::Model + field :authorization_endpoint, -> { String }, optional: true, nullable: false + + field :client_id, -> { String }, optional: false, nullable: false + + field :connection_settings, -> { Auth0::Types::EventStreamCloudEventConnectionCreatedObject1OptionsConnectionSettings }, optional: true, nullable: false + + field :domain_aliases, -> { Internal::Types::Array[String] }, optional: true, nullable: false + + field :dpop_signing_alg, -> { Auth0::Types::EventStreamCloudEventConnectionCreatedObject1OptionsDpopSigningAlgEnum }, optional: true, nullable: false + + field :federated_connections_access_tokens, -> { Auth0::Types::EventStreamCloudEventConnectionCreatedObject1OptionsFederatedConnectionsAccessTokens }, optional: true, nullable: false + + field :icon_url, -> { String }, optional: true, nullable: false + + field :id_token_session_expiry_supported, -> { Internal::Types::Boolean }, optional: true, nullable: false + + field :id_token_signed_response_algs, -> { Internal::Types::Array[Auth0::Types::EventStreamCloudEventConnectionCreatedObject1OptionsIDTokenSignedResponseAlgsItemEnum] }, optional: true, nullable: false + + field :issuer, -> { String }, optional: true, nullable: false + + field :jwks_uri, -> { String }, optional: true, nullable: false + + field :non_persistent_attrs, -> { Internal::Types::Array[String] }, optional: true, nullable: false + + field :oidc_metadata, -> { Auth0::Types::EventStreamCloudEventConnectionCreatedObject1OptionsOidcMetadata }, optional: true, nullable: false + + field :schema_version, -> { Auth0::Types::EventStreamCloudEventConnectionCreatedObject1OptionsSchemaVersionEnum }, optional: true, nullable: false + + field :scope, -> { String }, optional: true, nullable: false + + field :send_back_channel_nonce, -> { Internal::Types::Boolean }, optional: true, nullable: false + + field :set_user_root_attributes, -> { Auth0::Types::EventStreamCloudEventConnectionCreatedObject1OptionsSetUserRootAttributesEnum }, optional: true, nullable: false + + field :tenant_domain, -> { String }, optional: true, nullable: false + + field :token_endpoint, -> { String }, optional: true, nullable: false + + field :token_endpoint_auth_method, -> { Auth0::Types::EventStreamCloudEventConnectionCreatedObject1OptionsTokenEndpointAuthMethodEnum }, optional: true, nullable: false + + field :token_endpoint_auth_signing_alg, -> { Auth0::Types::EventStreamCloudEventConnectionCreatedObject1OptionsTokenEndpointAuthSigningAlgEnum }, optional: true, nullable: false + + field :token_endpoint_jwtca_aud_format, -> { Auth0::Types::EventStreamCloudEventConnectionCreatedObject1OptionsTokenEndpointJwtcaAudFormatEnum }, optional: true, nullable: false + + field :upstream_params, -> { Internal::Types::Hash[String, Object] }, optional: true, nullable: false + + field :userinfo_endpoint, -> { String }, optional: true, nullable: false + + field :attribute_map, -> { Auth0::Types::EventStreamCloudEventConnectionCreatedObject1OptionsAttributeMap }, optional: true, nullable: false + + field :domain, -> { String }, optional: true, nullable: false + + field :type, -> { Auth0::Types::EventStreamCloudEventConnectionCreatedObject1OptionsTypeEnum }, optional: true, nullable: false + end + end +end diff --git a/lib/auth0/types/event_stream_cloud_event_connection_created_object1options_attribute_map.rb b/lib/auth0/types/event_stream_cloud_event_connection_created_object1options_attribute_map.rb new file mode 100644 index 00000000..8ec94264 --- /dev/null +++ b/lib/auth0/types/event_stream_cloud_event_connection_created_object1options_attribute_map.rb @@ -0,0 +1,14 @@ +# frozen_string_literal: true + +module Auth0 + module Types + # Mapping of claims received from the identity provider (IdP) + class EventStreamCloudEventConnectionCreatedObject1OptionsAttributeMap < Internal::Types::Model + field :attributes, -> { Internal::Types::Hash[String, Object] }, optional: true, nullable: false + + field :userinfo_scope, -> { String }, optional: true, nullable: false + + field :mapping_mode, -> { Auth0::Types::EventStreamCloudEventConnectionCreatedObject1OptionsAttributeMapMappingModeEnum }, optional: true, nullable: false + end + end +end diff --git a/lib/auth0/types/event_stream_cloud_event_connection_created_object1options_attribute_map_attributes.rb b/lib/auth0/types/event_stream_cloud_event_connection_created_object1options_attribute_map_attributes.rb new file mode 100644 index 00000000..caa2ce5b --- /dev/null +++ b/lib/auth0/types/event_stream_cloud_event_connection_created_object1options_attribute_map_attributes.rb @@ -0,0 +1,23 @@ +# frozen_string_literal: true + +module Auth0 + module Types + module EventStreamCloudEventConnectionCreatedObject1OptionsAttributeMapAttributes + # EventStreamCloudEventConnectionCreatedObject1OptionsAttributeMapAttributes is an alias for Hash + + # @option str [String] + # + # @return [untyped] + def self.load(str) + ::JSON.parse(str) + end + + # @option value [untyped] + # + # @return [String] + def self.dump(value) + ::JSON.generate(value) + end + end + end +end diff --git a/lib/auth0/types/event_stream_cloud_event_connection_created_object1options_attribute_map_mapping_mode_enum.rb b/lib/auth0/types/event_stream_cloud_event_connection_created_object1options_attribute_map_mapping_mode_enum.rb new file mode 100644 index 00000000..68b95c84 --- /dev/null +++ b/lib/auth0/types/event_stream_cloud_event_connection_created_object1options_attribute_map_mapping_mode_enum.rb @@ -0,0 +1,12 @@ +# frozen_string_literal: true + +module Auth0 + module Types + module EventStreamCloudEventConnectionCreatedObject1OptionsAttributeMapMappingModeEnum + extend Auth0::Internal::Types::Enum + + BASIC_PROFILE = "basic_profile" + USE_MAP = "use_map" + end + end +end diff --git a/lib/auth0/types/event_stream_cloud_event_connection_created_object1options_connection_settings.rb b/lib/auth0/types/event_stream_cloud_event_connection_created_object1options_connection_settings.rb new file mode 100644 index 00000000..0371f0db --- /dev/null +++ b/lib/auth0/types/event_stream_cloud_event_connection_created_object1options_connection_settings.rb @@ -0,0 +1,11 @@ +# frozen_string_literal: true + +module Auth0 + module Types + # OAuth 2.0 PKCE (Proof Key for Code Exchange) settings. PKCE enhances security for public clients by preventing + # authorization code interception attacks. 'auto' (recommended) uses the strongest method supported by the IdP. + class EventStreamCloudEventConnectionCreatedObject1OptionsConnectionSettings < Internal::Types::Model + field :pkce, -> { Auth0::Types::EventStreamCloudEventConnectionCreatedObject1OptionsConnectionSettingsPkceEnum }, optional: true, nullable: false + end + end +end diff --git a/lib/auth0/types/event_stream_cloud_event_connection_created_object1options_connection_settings_pkce_enum.rb b/lib/auth0/types/event_stream_cloud_event_connection_created_object1options_connection_settings_pkce_enum.rb new file mode 100644 index 00000000..adc5aee6 --- /dev/null +++ b/lib/auth0/types/event_stream_cloud_event_connection_created_object1options_connection_settings_pkce_enum.rb @@ -0,0 +1,14 @@ +# frozen_string_literal: true + +module Auth0 + module Types + module EventStreamCloudEventConnectionCreatedObject1OptionsConnectionSettingsPkceEnum + extend Auth0::Internal::Types::Enum + + AUTO = "auto" + S256 = "S256" + PLAIN = "plain" + DISABLED = "disabled" + end + end +end diff --git a/lib/auth0/types/event_stream_cloud_event_connection_created_object1options_dpop_signing_alg_enum.rb b/lib/auth0/types/event_stream_cloud_event_connection_created_object1options_dpop_signing_alg_enum.rb new file mode 100644 index 00000000..7975c2dc --- /dev/null +++ b/lib/auth0/types/event_stream_cloud_event_connection_created_object1options_dpop_signing_alg_enum.rb @@ -0,0 +1,14 @@ +# frozen_string_literal: true + +module Auth0 + module Types + module EventStreamCloudEventConnectionCreatedObject1OptionsDpopSigningAlgEnum + extend Auth0::Internal::Types::Enum + + ES256 = "ES256" + ES384 = "ES384" + ES512 = "ES512" + ED25519 = "Ed25519" + end + end +end diff --git a/lib/auth0/types/event_stream_cloud_event_connection_created_object1options_federated_connections_access_tokens.rb b/lib/auth0/types/event_stream_cloud_event_connection_created_object1options_federated_connections_access_tokens.rb new file mode 100644 index 00000000..d0076ff2 --- /dev/null +++ b/lib/auth0/types/event_stream_cloud_event_connection_created_object1options_federated_connections_access_tokens.rb @@ -0,0 +1,12 @@ +# frozen_string_literal: true + +module Auth0 + module Types + # Configuration for storing identity provider tokens in Auth0's Token Vault. When active, Auth0 securely stores + # access and refresh tokens from federated logins, enabling your application to make authenticated API calls on + # behalf of users. + class EventStreamCloudEventConnectionCreatedObject1OptionsFederatedConnectionsAccessTokens < Internal::Types::Model + field :active, -> { Internal::Types::Boolean }, optional: false, nullable: false + end + end +end diff --git a/lib/auth0/types/event_stream_cloud_event_connection_created_object1options_id_token_signed_response_algs_item_enum.rb b/lib/auth0/types/event_stream_cloud_event_connection_created_object1options_id_token_signed_response_algs_item_enum.rb new file mode 100644 index 00000000..9eff2885 --- /dev/null +++ b/lib/auth0/types/event_stream_cloud_event_connection_created_object1options_id_token_signed_response_algs_item_enum.rb @@ -0,0 +1,17 @@ +# frozen_string_literal: true + +module Auth0 + module Types + module EventStreamCloudEventConnectionCreatedObject1OptionsIDTokenSignedResponseAlgsItemEnum + extend Auth0::Internal::Types::Enum + + ES256 = "ES256" + ES384 = "ES384" + PS256 = "PS256" + PS384 = "PS384" + RS256 = "RS256" + RS384 = "RS384" + RS512 = "RS512" + end + end +end diff --git a/lib/auth0/types/event_stream_cloud_event_connection_created_object1options_oidc_metadata.rb b/lib/auth0/types/event_stream_cloud_event_connection_created_object1options_oidc_metadata.rb new file mode 100644 index 00000000..e362db4d --- /dev/null +++ b/lib/auth0/types/event_stream_cloud_event_connection_created_object1options_oidc_metadata.rb @@ -0,0 +1,83 @@ +# frozen_string_literal: true + +module Auth0 + module Types + # OpenID Connect Provider Metadata as per + # https://openid.net/specs/openid-connect-discovery-1_0.html#ProviderMetadata + class EventStreamCloudEventConnectionCreatedObject1OptionsOidcMetadata < Internal::Types::Model + field :acr_values_supported, -> { Internal::Types::Array[String] }, optional: true, nullable: false + + field :authorization_endpoint, -> { String }, optional: false, nullable: false + + field :claim_types_supported, -> { Internal::Types::Array[String] }, optional: true, nullable: false + + field :claims_locales_supported, -> { Internal::Types::Array[String] }, optional: true, nullable: false + + field :claims_parameter_supported, -> { Internal::Types::Boolean }, optional: true, nullable: false + + field :claims_supported, -> { Internal::Types::Array[String] }, optional: true, nullable: false + + field :display_values_supported, -> { Internal::Types::Array[String] }, optional: true, nullable: false + + field :dpop_signing_alg_values_supported, -> { Internal::Types::Array[String] }, optional: true, nullable: false + + field :end_session_endpoint, -> { String }, optional: true, nullable: false + + field :grant_types_supported, -> { Internal::Types::Array[String] }, optional: true, nullable: false + + field :id_token_encryption_alg_values_supported, -> { Internal::Types::Array[String] }, optional: true, nullable: false + + field :id_token_encryption_enc_values_supported, -> { Internal::Types::Array[String] }, optional: true, nullable: false + + field :id_token_signing_alg_values_supported, -> { Internal::Types::Array[String] }, optional: false, nullable: false + + field :issuer, -> { String }, optional: false, nullable: false + + field :jwks_uri, -> { String }, optional: false, nullable: false + + field :op_policy_uri, -> { String }, optional: true, nullable: false + + field :op_tos_uri, -> { String }, optional: true, nullable: false + + field :registration_endpoint, -> { String }, optional: true, nullable: false + + field :request_object_encryption_alg_values_supported, -> { Internal::Types::Array[String] }, optional: true, nullable: false + + field :request_object_encryption_enc_values_supported, -> { Internal::Types::Array[String] }, optional: true, nullable: false + + field :request_object_signing_alg_values_supported, -> { Internal::Types::Array[String] }, optional: true, nullable: false + + field :request_parameter_supported, -> { Internal::Types::Boolean }, optional: true, nullable: false + + field :request_uri_parameter_supported, -> { Internal::Types::Boolean }, optional: true, nullable: false + + field :require_request_uri_registration, -> { Internal::Types::Boolean }, optional: true, nullable: false + + field :response_modes_supported, -> { Internal::Types::Array[String] }, optional: true, nullable: false + + field :response_types_supported, -> { Internal::Types::Array[String] }, optional: true, nullable: false + + field :scopes_supported, -> { Internal::Types::Array[String] }, optional: true, nullable: false + + field :service_documentation, -> { String }, optional: true, nullable: false + + field :subject_types_supported, -> { Internal::Types::Array[String] }, optional: true, nullable: false + + field :token_endpoint, -> { String }, optional: true, nullable: false + + field :token_endpoint_auth_methods_supported, -> { Internal::Types::Array[String] }, optional: true, nullable: false + + field :token_endpoint_auth_signing_alg_values_supported, -> { Internal::Types::Array[String] }, optional: true, nullable: false + + field :ui_locales_supported, -> { Internal::Types::Array[String] }, optional: true, nullable: false + + field :userinfo_encryption_alg_values_supported, -> { Internal::Types::Array[String] }, optional: true, nullable: false + + field :userinfo_encryption_enc_values_supported, -> { Internal::Types::Array[String] }, optional: true, nullable: false + + field :userinfo_endpoint, -> { String }, optional: true, nullable: false + + field :userinfo_signing_alg_values_supported, -> { Internal::Types::Array[String] }, optional: true, nullable: false + end + end +end diff --git a/lib/auth0/types/event_stream_cloud_event_connection_created_object1options_schema_version_enum.rb b/lib/auth0/types/event_stream_cloud_event_connection_created_object1options_schema_version_enum.rb new file mode 100644 index 00000000..a367ce27 --- /dev/null +++ b/lib/auth0/types/event_stream_cloud_event_connection_created_object1options_schema_version_enum.rb @@ -0,0 +1,12 @@ +# frozen_string_literal: true + +module Auth0 + module Types + module EventStreamCloudEventConnectionCreatedObject1OptionsSchemaVersionEnum + extend Auth0::Internal::Types::Enum + + OPENID100 = "openid-1.0.0" + OIDC_V4 = "oidc-v4" + end + end +end diff --git a/lib/auth0/types/event_stream_cloud_event_connection_created_object1options_set_user_root_attributes_enum.rb b/lib/auth0/types/event_stream_cloud_event_connection_created_object1options_set_user_root_attributes_enum.rb new file mode 100644 index 00000000..8e5f3568 --- /dev/null +++ b/lib/auth0/types/event_stream_cloud_event_connection_created_object1options_set_user_root_attributes_enum.rb @@ -0,0 +1,13 @@ +# frozen_string_literal: true + +module Auth0 + module Types + module EventStreamCloudEventConnectionCreatedObject1OptionsSetUserRootAttributesEnum + extend Auth0::Internal::Types::Enum + + ON_EACH_LOGIN = "on_each_login" + ON_FIRST_LOGIN = "on_first_login" + NEVER_ON_LOGIN = "never_on_login" + end + end +end diff --git a/lib/auth0/types/event_stream_cloud_event_connection_created_object1options_token_endpoint_auth_method_enum.rb b/lib/auth0/types/event_stream_cloud_event_connection_created_object1options_token_endpoint_auth_method_enum.rb new file mode 100644 index 00000000..d35dc822 --- /dev/null +++ b/lib/auth0/types/event_stream_cloud_event_connection_created_object1options_token_endpoint_auth_method_enum.rb @@ -0,0 +1,12 @@ +# frozen_string_literal: true + +module Auth0 + module Types + module EventStreamCloudEventConnectionCreatedObject1OptionsTokenEndpointAuthMethodEnum + extend Auth0::Internal::Types::Enum + + CLIENT_SECRET_POST = "client_secret_post" + PRIVATE_KEY_JWT = "private_key_jwt" + end + end +end diff --git a/lib/auth0/types/event_stream_cloud_event_connection_created_object1options_token_endpoint_auth_signing_alg_enum.rb b/lib/auth0/types/event_stream_cloud_event_connection_created_object1options_token_endpoint_auth_signing_alg_enum.rb new file mode 100644 index 00000000..d17103b5 --- /dev/null +++ b/lib/auth0/types/event_stream_cloud_event_connection_created_object1options_token_endpoint_auth_signing_alg_enum.rb @@ -0,0 +1,17 @@ +# frozen_string_literal: true + +module Auth0 + module Types + module EventStreamCloudEventConnectionCreatedObject1OptionsTokenEndpointAuthSigningAlgEnum + extend Auth0::Internal::Types::Enum + + ES256 = "ES256" + ES384 = "ES384" + PS256 = "PS256" + PS384 = "PS384" + RS256 = "RS256" + RS384 = "RS384" + RS512 = "RS512" + end + end +end diff --git a/lib/auth0/types/event_stream_cloud_event_connection_created_object1options_token_endpoint_jwtca_aud_format_enum.rb b/lib/auth0/types/event_stream_cloud_event_connection_created_object1options_token_endpoint_jwtca_aud_format_enum.rb new file mode 100644 index 00000000..9545f08f --- /dev/null +++ b/lib/auth0/types/event_stream_cloud_event_connection_created_object1options_token_endpoint_jwtca_aud_format_enum.rb @@ -0,0 +1,12 @@ +# frozen_string_literal: true + +module Auth0 + module Types + module EventStreamCloudEventConnectionCreatedObject1OptionsTokenEndpointJwtcaAudFormatEnum + extend Auth0::Internal::Types::Enum + + ISSUER = "issuer" + TOKEN_ENDPOINT = "token_endpoint" + end + end +end diff --git a/lib/auth0/types/event_stream_cloud_event_connection_created_object1options_type_enum.rb b/lib/auth0/types/event_stream_cloud_event_connection_created_object1options_type_enum.rb new file mode 100644 index 00000000..c6f360e6 --- /dev/null +++ b/lib/auth0/types/event_stream_cloud_event_connection_created_object1options_type_enum.rb @@ -0,0 +1,11 @@ +# frozen_string_literal: true + +module Auth0 + module Types + module EventStreamCloudEventConnectionCreatedObject1OptionsTypeEnum + extend Auth0::Internal::Types::Enum + + BACK_CHANNEL = "back_channel" + end + end +end diff --git a/lib/auth0/types/event_stream_cloud_event_connection_created_object1options_upstream_params.rb b/lib/auth0/types/event_stream_cloud_event_connection_created_object1options_upstream_params.rb new file mode 100644 index 00000000..94eb17f9 --- /dev/null +++ b/lib/auth0/types/event_stream_cloud_event_connection_created_object1options_upstream_params.rb @@ -0,0 +1,23 @@ +# frozen_string_literal: true + +module Auth0 + module Types + module EventStreamCloudEventConnectionCreatedObject1OptionsUpstreamParams + # EventStreamCloudEventConnectionCreatedObject1OptionsUpstreamParams is an alias for Hash + + # @option str [String] + # + # @return [untyped] + def self.load(str) + ::JSON.parse(str) + end + + # @option value [untyped] + # + # @return [String] + def self.dump(value) + ::JSON.generate(value) + end + end + end +end diff --git a/lib/auth0/types/event_stream_cloud_event_connection_created_object1strategy_enum.rb b/lib/auth0/types/event_stream_cloud_event_connection_created_object1strategy_enum.rb new file mode 100644 index 00000000..77513d7f --- /dev/null +++ b/lib/auth0/types/event_stream_cloud_event_connection_created_object1strategy_enum.rb @@ -0,0 +1,11 @@ +# frozen_string_literal: true + +module Auth0 + module Types + module EventStreamCloudEventConnectionCreatedObject1StrategyEnum + extend Auth0::Internal::Types::Enum + + OKTA = "okta" + end + end +end diff --git a/lib/auth0/types/event_stream_cloud_event_connection_created_object2.rb b/lib/auth0/types/event_stream_cloud_event_connection_created_object2.rb new file mode 100644 index 00000000..151a5561 --- /dev/null +++ b/lib/auth0/types/event_stream_cloud_event_connection_created_object2.rb @@ -0,0 +1,31 @@ +# frozen_string_literal: true + +module Auth0 + module Types + class EventStreamCloudEventConnectionCreatedObject2 < Internal::Types::Model + field :authentication, -> { Auth0::Types::EventStreamCloudEventConnectionCreatedObject2Authentication }, optional: true, nullable: false + + field :connected_accounts, -> { Auth0::Types::EventStreamCloudEventConnectionCreatedObject2ConnectedAccounts }, optional: true, nullable: false + + field :display_name, -> { String }, optional: true, nullable: false + + field :enabled_clients, -> { Internal::Types::Array[String] }, optional: true, nullable: false + + field :id, -> { String }, optional: false, nullable: false + + field :is_domain_connection, -> { Internal::Types::Boolean }, optional: true, nullable: false + + field :metadata, -> { Auth0::Types::EventStreamCloudEventConnectionCreatedObject2Metadata }, optional: true, nullable: false + + field :name, -> { String }, optional: false, nullable: false + + field :realms, -> { Internal::Types::Array[String] }, optional: true, nullable: false + + field :options, -> { Auth0::Types::EventStreamCloudEventConnectionCreatedObject2Options }, optional: true, nullable: false + + field :show_as_button, -> { Internal::Types::Boolean }, optional: true, nullable: false + + field :strategy, -> { Auth0::Types::EventStreamCloudEventConnectionCreatedObject2StrategyEnum }, optional: false, nullable: false + end + end +end diff --git a/lib/auth0/types/event_stream_cloud_event_connection_created_object2authentication.rb b/lib/auth0/types/event_stream_cloud_event_connection_created_object2authentication.rb new file mode 100644 index 00000000..c50cd8c4 --- /dev/null +++ b/lib/auth0/types/event_stream_cloud_event_connection_created_object2authentication.rb @@ -0,0 +1,10 @@ +# frozen_string_literal: true + +module Auth0 + module Types + # Configure the purpose of a connection to be used for authentication during login. + class EventStreamCloudEventConnectionCreatedObject2Authentication < Internal::Types::Model + field :active, -> { Internal::Types::Boolean }, optional: false, nullable: false + end + end +end diff --git a/lib/auth0/types/event_stream_cloud_event_connection_created_object2connected_accounts.rb b/lib/auth0/types/event_stream_cloud_event_connection_created_object2connected_accounts.rb new file mode 100644 index 00000000..71e54789 --- /dev/null +++ b/lib/auth0/types/event_stream_cloud_event_connection_created_object2connected_accounts.rb @@ -0,0 +1,10 @@ +# frozen_string_literal: true + +module Auth0 + module Types + # Configure the purpose of a connection to be used for connected accounts and Token Vault. + class EventStreamCloudEventConnectionCreatedObject2ConnectedAccounts < Internal::Types::Model + field :active, -> { Internal::Types::Boolean }, optional: false, nullable: false + end + end +end diff --git a/lib/auth0/types/event_stream_cloud_event_connection_created_object2metadata.rb b/lib/auth0/types/event_stream_cloud_event_connection_created_object2metadata.rb new file mode 100644 index 00000000..fd420348 --- /dev/null +++ b/lib/auth0/types/event_stream_cloud_event_connection_created_object2metadata.rb @@ -0,0 +1,9 @@ +# frozen_string_literal: true + +module Auth0 + module Types + # Metadata associated with the connection in the form of an object with string values (max 255 chars). Maximum of + # 10 metadata properties allowed. + class EventStreamCloudEventConnectionCreatedObject2Metadata < Internal::Types::Model; end + end +end diff --git a/lib/auth0/types/event_stream_cloud_event_connection_created_object2options.rb b/lib/auth0/types/event_stream_cloud_event_connection_created_object2options.rb new file mode 100644 index 00000000..0042a52a --- /dev/null +++ b/lib/auth0/types/event_stream_cloud_event_connection_created_object2options.rb @@ -0,0 +1,72 @@ +# frozen_string_literal: true + +module Auth0 + module Types + # Options for the 'samlp' connection + class EventStreamCloudEventConnectionCreatedObject2Options < Internal::Types::Model + field :assertion_decryption_settings, -> { Auth0::Types::EventStreamCloudEventConnectionCreatedObject2OptionsAssertionDecryptionSettings }, optional: true, nullable: false + + field :cert, -> { String }, optional: true, nullable: false + + field :cert_rollover_notification, -> { String }, optional: true, nullable: false + + field :digest_algorithm, -> { Auth0::Types::EventStreamCloudEventConnectionCreatedObject2OptionsDigestAlgorithmEnum }, optional: true, nullable: false, api_name: "digestAlgorithm" + + field :domain_aliases, -> { Internal::Types::Array[String] }, optional: true, nullable: false + + field :entity_id, -> { String }, optional: true, nullable: false, api_name: "entityId" + + field :expires, -> { String }, optional: true, nullable: false + + field :icon_url, -> { String }, optional: true, nullable: false + + field :idpinitiated, -> { Auth0::Types::EventStreamCloudEventConnectionCreatedObject2OptionsIdpinitiated }, optional: true, nullable: false + + field :non_persistent_attrs, -> { Internal::Types::Array[String] }, optional: true, nullable: false + + field :protocol_binding, -> { Auth0::Types::EventStreamCloudEventConnectionCreatedObject2OptionsProtocolBindingEnum }, optional: true, nullable: false, api_name: "protocolBinding" + + field :set_user_root_attributes, -> { Auth0::Types::EventStreamCloudEventConnectionCreatedObject2OptionsSetUserRootAttributesEnum }, optional: true, nullable: false + + field :signature_algorithm, -> { Auth0::Types::EventStreamCloudEventConnectionCreatedObject2OptionsSignatureAlgorithmEnum }, optional: true, nullable: false, api_name: "signatureAlgorithm" + + field :sign_in_endpoint, -> { String }, optional: true, nullable: false, api_name: "signInEndpoint" + + field :signing_cert, -> { String }, optional: true, nullable: false, api_name: "signingCert" + + field :sign_saml_request, -> { Internal::Types::Boolean }, optional: true, nullable: false, api_name: "signSAMLRequest" + + field :subject, -> { Auth0::Types::EventStreamCloudEventConnectionCreatedObject2OptionsSubject }, optional: true, nullable: false + + field :tenant_domain, -> { String }, optional: true, nullable: false + + field :thumbprints, -> { Internal::Types::Array[String] }, optional: true, nullable: false + + field :upstream_params, -> { Internal::Types::Hash[String, Object] }, optional: true, nullable: false + + field :debug, -> { Internal::Types::Boolean }, optional: true, nullable: false + + field :deflate, -> { Internal::Types::Boolean }, optional: true, nullable: false + + field :destination_url, -> { String }, optional: true, nullable: false, api_name: "destinationUrl" + + field :disable_signout, -> { Internal::Types::Boolean }, optional: true, nullable: false, api_name: "disableSignout" + + field :fields_map, -> { Internal::Types::Hash[String, Object] }, optional: true, nullable: false, api_name: "fieldsMap" + + field :global_token_revocation_jwt_iss, -> { String }, optional: true, nullable: false + + field :global_token_revocation_jwt_sub, -> { String }, optional: true, nullable: false + + field :metadata_url, -> { String }, optional: true, nullable: false, api_name: "metadataUrl" + + field :recipient_url, -> { String }, optional: true, nullable: false, api_name: "recipientUrl" + + field :request_template, -> { String }, optional: true, nullable: false, api_name: "requestTemplate" + + field :sign_out_endpoint, -> { String }, optional: true, nullable: false, api_name: "signOutEndpoint" + + field :user_id_attribute, -> { String }, optional: true, nullable: false + end + end +end diff --git a/lib/auth0/types/event_stream_cloud_event_connection_created_object2options_assertion_decryption_settings.rb b/lib/auth0/types/event_stream_cloud_event_connection_created_object2options_assertion_decryption_settings.rb new file mode 100644 index 00000000..80c81b8b --- /dev/null +++ b/lib/auth0/types/event_stream_cloud_event_connection_created_object2options_assertion_decryption_settings.rb @@ -0,0 +1,12 @@ +# frozen_string_literal: true + +module Auth0 + module Types + # Settings for SAML assertion decryption. + class EventStreamCloudEventConnectionCreatedObject2OptionsAssertionDecryptionSettings < Internal::Types::Model + field :algorithm_exceptions, -> { Internal::Types::Array[String] }, optional: true, nullable: false + + field :algorithm_profile, -> { Auth0::Types::EventStreamCloudEventConnectionCreatedObject2OptionsAssertionDecryptionSettingsAlgorithmProfileEnum }, optional: false, nullable: false + end + end +end diff --git a/lib/auth0/types/event_stream_cloud_event_connection_created_object2options_assertion_decryption_settings_algorithm_profile_enum.rb b/lib/auth0/types/event_stream_cloud_event_connection_created_object2options_assertion_decryption_settings_algorithm_profile_enum.rb new file mode 100644 index 00000000..41f25bcf --- /dev/null +++ b/lib/auth0/types/event_stream_cloud_event_connection_created_object2options_assertion_decryption_settings_algorithm_profile_enum.rb @@ -0,0 +1,11 @@ +# frozen_string_literal: true + +module Auth0 + module Types + module EventStreamCloudEventConnectionCreatedObject2OptionsAssertionDecryptionSettingsAlgorithmProfileEnum + extend Auth0::Internal::Types::Enum + + V20261 = "v2026-1" + end + end +end diff --git a/lib/auth0/types/event_stream_cloud_event_connection_created_object2options_digest_algorithm_enum.rb b/lib/auth0/types/event_stream_cloud_event_connection_created_object2options_digest_algorithm_enum.rb new file mode 100644 index 00000000..5de36a64 --- /dev/null +++ b/lib/auth0/types/event_stream_cloud_event_connection_created_object2options_digest_algorithm_enum.rb @@ -0,0 +1,12 @@ +# frozen_string_literal: true + +module Auth0 + module Types + module EventStreamCloudEventConnectionCreatedObject2OptionsDigestAlgorithmEnum + extend Auth0::Internal::Types::Enum + + SHA1 = "sha1" + SHA256 = "sha256" + end + end +end diff --git a/lib/auth0/types/event_stream_cloud_event_connection_created_object2options_fields_map.rb b/lib/auth0/types/event_stream_cloud_event_connection_created_object2options_fields_map.rb new file mode 100644 index 00000000..256ccd23 --- /dev/null +++ b/lib/auth0/types/event_stream_cloud_event_connection_created_object2options_fields_map.rb @@ -0,0 +1,23 @@ +# frozen_string_literal: true + +module Auth0 + module Types + module EventStreamCloudEventConnectionCreatedObject2OptionsFieldsMap + # EventStreamCloudEventConnectionCreatedObject2OptionsFieldsMap is an alias for Hash + + # @option str [String] + # + # @return [untyped] + def self.load(str) + ::JSON.parse(str) + end + + # @option value [untyped] + # + # @return [String] + def self.dump(value) + ::JSON.generate(value) + end + end + end +end diff --git a/lib/auth0/types/event_stream_cloud_event_connection_created_object2options_idpinitiated.rb b/lib/auth0/types/event_stream_cloud_event_connection_created_object2options_idpinitiated.rb new file mode 100644 index 00000000..9fca45e9 --- /dev/null +++ b/lib/auth0/types/event_stream_cloud_event_connection_created_object2options_idpinitiated.rb @@ -0,0 +1,18 @@ +# frozen_string_literal: true + +module Auth0 + module Types + # Configuration for IdP-Initiated SAML Single Sign-On. When enabled, allows users to initiate login directly from + # their SAML identity provider without first visiting Auth0. The IdP must include the connection parameter in the + # post-back URL (Assertion Consumer Service URL). + class EventStreamCloudEventConnectionCreatedObject2OptionsIdpinitiated < Internal::Types::Model + field :client_authorizequery, -> { String }, optional: true, nullable: false + + field :client_id, -> { String }, optional: true, nullable: false + + field :client_protocol, -> { Auth0::Types::EventStreamCloudEventConnectionCreatedObject2OptionsIdpinitiatedClientProtocolEnum }, optional: true, nullable: false + + field :enabled, -> { Internal::Types::Boolean }, optional: true, nullable: false + end + end +end diff --git a/lib/auth0/types/event_stream_cloud_event_connection_created_object2options_idpinitiated_client_protocol_enum.rb b/lib/auth0/types/event_stream_cloud_event_connection_created_object2options_idpinitiated_client_protocol_enum.rb new file mode 100644 index 00000000..96f8a018 --- /dev/null +++ b/lib/auth0/types/event_stream_cloud_event_connection_created_object2options_idpinitiated_client_protocol_enum.rb @@ -0,0 +1,13 @@ +# frozen_string_literal: true + +module Auth0 + module Types + module EventStreamCloudEventConnectionCreatedObject2OptionsIdpinitiatedClientProtocolEnum + extend Auth0::Internal::Types::Enum + + OIDC = "oidc" + SAMLP = "samlp" + WSFED = "wsfed" + end + end +end diff --git a/lib/auth0/types/event_stream_cloud_event_connection_created_object2options_protocol_binding_enum.rb b/lib/auth0/types/event_stream_cloud_event_connection_created_object2options_protocol_binding_enum.rb new file mode 100644 index 00000000..46164550 --- /dev/null +++ b/lib/auth0/types/event_stream_cloud_event_connection_created_object2options_protocol_binding_enum.rb @@ -0,0 +1,12 @@ +# frozen_string_literal: true + +module Auth0 + module Types + module EventStreamCloudEventConnectionCreatedObject2OptionsProtocolBindingEnum + extend Auth0::Internal::Types::Enum + + URN_OASIS_NAMES_TC_SAML20BINDINGS_HTTP_POST = "urn:oasis:names:tc:SAML:2.0:bindings:HTTP-POST" + URN_OASIS_NAMES_TC_SAML20BINDINGS_HTTP_REDIRECT = "urn:oasis:names:tc:SAML:2.0:bindings:HTTP-Redirect" + end + end +end diff --git a/lib/auth0/types/event_stream_cloud_event_connection_created_object2options_set_user_root_attributes_enum.rb b/lib/auth0/types/event_stream_cloud_event_connection_created_object2options_set_user_root_attributes_enum.rb new file mode 100644 index 00000000..1644895a --- /dev/null +++ b/lib/auth0/types/event_stream_cloud_event_connection_created_object2options_set_user_root_attributes_enum.rb @@ -0,0 +1,13 @@ +# frozen_string_literal: true + +module Auth0 + module Types + module EventStreamCloudEventConnectionCreatedObject2OptionsSetUserRootAttributesEnum + extend Auth0::Internal::Types::Enum + + ON_EACH_LOGIN = "on_each_login" + ON_FIRST_LOGIN = "on_first_login" + NEVER_ON_LOGIN = "never_on_login" + end + end +end diff --git a/lib/auth0/types/event_stream_cloud_event_connection_created_object2options_signature_algorithm_enum.rb b/lib/auth0/types/event_stream_cloud_event_connection_created_object2options_signature_algorithm_enum.rb new file mode 100644 index 00000000..c6e015e1 --- /dev/null +++ b/lib/auth0/types/event_stream_cloud_event_connection_created_object2options_signature_algorithm_enum.rb @@ -0,0 +1,12 @@ +# frozen_string_literal: true + +module Auth0 + module Types + module EventStreamCloudEventConnectionCreatedObject2OptionsSignatureAlgorithmEnum + extend Auth0::Internal::Types::Enum + + RSA_SHA1 = "rsa-sha1" + RSA_SHA256 = "rsa-sha256" + end + end +end diff --git a/lib/auth0/types/event_stream_cloud_event_connection_created_object2options_subject.rb b/lib/auth0/types/event_stream_cloud_event_connection_created_object2options_subject.rb new file mode 100644 index 00000000..f443699e --- /dev/null +++ b/lib/auth0/types/event_stream_cloud_event_connection_created_object2options_subject.rb @@ -0,0 +1,8 @@ +# frozen_string_literal: true + +module Auth0 + module Types + # Certificate Subject Distinguished Name (DN) extracted from the identity provider's signing certificate. + class EventStreamCloudEventConnectionCreatedObject2OptionsSubject < Internal::Types::Model; end + end +end diff --git a/lib/auth0/types/event_stream_cloud_event_connection_created_object2options_upstream_params.rb b/lib/auth0/types/event_stream_cloud_event_connection_created_object2options_upstream_params.rb new file mode 100644 index 00000000..d1a514b6 --- /dev/null +++ b/lib/auth0/types/event_stream_cloud_event_connection_created_object2options_upstream_params.rb @@ -0,0 +1,23 @@ +# frozen_string_literal: true + +module Auth0 + module Types + module EventStreamCloudEventConnectionCreatedObject2OptionsUpstreamParams + # EventStreamCloudEventConnectionCreatedObject2OptionsUpstreamParams is an alias for Hash + + # @option str [String] + # + # @return [untyped] + def self.load(str) + ::JSON.parse(str) + end + + # @option value [untyped] + # + # @return [String] + def self.dump(value) + ::JSON.generate(value) + end + end + end +end diff --git a/lib/auth0/types/event_stream_cloud_event_connection_created_object2strategy_enum.rb b/lib/auth0/types/event_stream_cloud_event_connection_created_object2strategy_enum.rb new file mode 100644 index 00000000..4fb517b8 --- /dev/null +++ b/lib/auth0/types/event_stream_cloud_event_connection_created_object2strategy_enum.rb @@ -0,0 +1,11 @@ +# frozen_string_literal: true + +module Auth0 + module Types + module EventStreamCloudEventConnectionCreatedObject2StrategyEnum + extend Auth0::Internal::Types::Enum + + SAMLP = "samlp" + end + end +end diff --git a/lib/auth0/types/event_stream_cloud_event_connection_created_object3.rb b/lib/auth0/types/event_stream_cloud_event_connection_created_object3.rb new file mode 100644 index 00000000..366e601b --- /dev/null +++ b/lib/auth0/types/event_stream_cloud_event_connection_created_object3.rb @@ -0,0 +1,31 @@ +# frozen_string_literal: true + +module Auth0 + module Types + class EventStreamCloudEventConnectionCreatedObject3 < Internal::Types::Model + field :authentication, -> { Auth0::Types::EventStreamCloudEventConnectionCreatedObject3Authentication }, optional: true, nullable: false + + field :connected_accounts, -> { Auth0::Types::EventStreamCloudEventConnectionCreatedObject3ConnectedAccounts }, optional: true, nullable: false + + field :display_name, -> { String }, optional: true, nullable: false + + field :enabled_clients, -> { Internal::Types::Array[String] }, optional: true, nullable: false + + field :id, -> { String }, optional: false, nullable: false + + field :is_domain_connection, -> { Internal::Types::Boolean }, optional: true, nullable: false + + field :metadata, -> { Auth0::Types::EventStreamCloudEventConnectionCreatedObject3Metadata }, optional: true, nullable: false + + field :name, -> { String }, optional: false, nullable: false + + field :realms, -> { Internal::Types::Array[String] }, optional: true, nullable: false + + field :options, -> { Auth0::Types::EventStreamCloudEventConnectionCreatedObject3Options }, optional: true, nullable: false + + field :show_as_button, -> { Internal::Types::Boolean }, optional: true, nullable: false + + field :strategy, -> { Auth0::Types::EventStreamCloudEventConnectionCreatedObject3StrategyEnum }, optional: false, nullable: false + end + end +end diff --git a/lib/auth0/types/event_stream_cloud_event_connection_created_object3authentication.rb b/lib/auth0/types/event_stream_cloud_event_connection_created_object3authentication.rb new file mode 100644 index 00000000..7f80377c --- /dev/null +++ b/lib/auth0/types/event_stream_cloud_event_connection_created_object3authentication.rb @@ -0,0 +1,10 @@ +# frozen_string_literal: true + +module Auth0 + module Types + # Configure the purpose of a connection to be used for authentication during login. + class EventStreamCloudEventConnectionCreatedObject3Authentication < Internal::Types::Model + field :active, -> { Internal::Types::Boolean }, optional: false, nullable: false + end + end +end diff --git a/lib/auth0/types/event_stream_cloud_event_connection_created_object3connected_accounts.rb b/lib/auth0/types/event_stream_cloud_event_connection_created_object3connected_accounts.rb new file mode 100644 index 00000000..51ab88b0 --- /dev/null +++ b/lib/auth0/types/event_stream_cloud_event_connection_created_object3connected_accounts.rb @@ -0,0 +1,10 @@ +# frozen_string_literal: true + +module Auth0 + module Types + # Configure the purpose of a connection to be used for connected accounts and Token Vault. + class EventStreamCloudEventConnectionCreatedObject3ConnectedAccounts < Internal::Types::Model + field :active, -> { Internal::Types::Boolean }, optional: false, nullable: false + end + end +end diff --git a/lib/auth0/types/event_stream_cloud_event_connection_created_object3metadata.rb b/lib/auth0/types/event_stream_cloud_event_connection_created_object3metadata.rb new file mode 100644 index 00000000..aa307d0c --- /dev/null +++ b/lib/auth0/types/event_stream_cloud_event_connection_created_object3metadata.rb @@ -0,0 +1,9 @@ +# frozen_string_literal: true + +module Auth0 + module Types + # Metadata associated with the connection in the form of an object with string values (max 255 chars). Maximum of + # 10 metadata properties allowed. + class EventStreamCloudEventConnectionCreatedObject3Metadata < Internal::Types::Model; end + end +end diff --git a/lib/auth0/types/event_stream_cloud_event_connection_created_object3options.rb b/lib/auth0/types/event_stream_cloud_event_connection_created_object3options.rb new file mode 100644 index 00000000..9721f7aa --- /dev/null +++ b/lib/auth0/types/event_stream_cloud_event_connection_created_object3options.rb @@ -0,0 +1,50 @@ +# frozen_string_literal: true + +module Auth0 + module Types + # Options for the 'pingfederate' connection + class EventStreamCloudEventConnectionCreatedObject3Options < Internal::Types::Model + field :assertion_decryption_settings, -> { Auth0::Types::EventStreamCloudEventConnectionCreatedObject3OptionsAssertionDecryptionSettings }, optional: true, nullable: false + + field :cert, -> { String }, optional: true, nullable: false + + field :cert_rollover_notification, -> { String }, optional: true, nullable: false + + field :digest_algorithm, -> { Auth0::Types::EventStreamCloudEventConnectionCreatedObject3OptionsDigestAlgorithmEnum }, optional: true, nullable: false, api_name: "digestAlgorithm" + + field :domain_aliases, -> { Internal::Types::Array[String] }, optional: true, nullable: false + + field :entity_id, -> { String }, optional: true, nullable: false, api_name: "entityId" + + field :expires, -> { String }, optional: true, nullable: false + + field :icon_url, -> { String }, optional: true, nullable: false + + field :idpinitiated, -> { Auth0::Types::EventStreamCloudEventConnectionCreatedObject3OptionsIdpinitiated }, optional: true, nullable: false + + field :non_persistent_attrs, -> { Internal::Types::Array[String] }, optional: true, nullable: false + + field :protocol_binding, -> { Auth0::Types::EventStreamCloudEventConnectionCreatedObject3OptionsProtocolBindingEnum }, optional: true, nullable: false, api_name: "protocolBinding" + + field :set_user_root_attributes, -> { Auth0::Types::EventStreamCloudEventConnectionCreatedObject3OptionsSetUserRootAttributesEnum }, optional: true, nullable: false + + field :signature_algorithm, -> { Auth0::Types::EventStreamCloudEventConnectionCreatedObject3OptionsSignatureAlgorithmEnum }, optional: true, nullable: false, api_name: "signatureAlgorithm" + + field :sign_in_endpoint, -> { String }, optional: true, nullable: false, api_name: "signInEndpoint" + + field :signing_cert, -> { String }, optional: true, nullable: false, api_name: "signingCert" + + field :sign_saml_request, -> { Internal::Types::Boolean }, optional: true, nullable: false, api_name: "signSAMLRequest" + + field :subject, -> { Auth0::Types::EventStreamCloudEventConnectionCreatedObject3OptionsSubject }, optional: true, nullable: false + + field :tenant_domain, -> { String }, optional: true, nullable: false + + field :thumbprints, -> { Internal::Types::Array[String] }, optional: true, nullable: false + + field :upstream_params, -> { Internal::Types::Hash[String, Object] }, optional: true, nullable: false + + field :ping_federate_base_url, -> { String }, optional: false, nullable: false, api_name: "pingFederateBaseUrl" + end + end +end diff --git a/lib/auth0/types/event_stream_cloud_event_connection_created_object3options_assertion_decryption_settings.rb b/lib/auth0/types/event_stream_cloud_event_connection_created_object3options_assertion_decryption_settings.rb new file mode 100644 index 00000000..89f38d80 --- /dev/null +++ b/lib/auth0/types/event_stream_cloud_event_connection_created_object3options_assertion_decryption_settings.rb @@ -0,0 +1,12 @@ +# frozen_string_literal: true + +module Auth0 + module Types + # Settings for SAML assertion decryption. + class EventStreamCloudEventConnectionCreatedObject3OptionsAssertionDecryptionSettings < Internal::Types::Model + field :algorithm_exceptions, -> { Internal::Types::Array[String] }, optional: true, nullable: false + + field :algorithm_profile, -> { Auth0::Types::EventStreamCloudEventConnectionCreatedObject3OptionsAssertionDecryptionSettingsAlgorithmProfileEnum }, optional: false, nullable: false + end + end +end diff --git a/lib/auth0/types/event_stream_cloud_event_connection_created_object3options_assertion_decryption_settings_algorithm_profile_enum.rb b/lib/auth0/types/event_stream_cloud_event_connection_created_object3options_assertion_decryption_settings_algorithm_profile_enum.rb new file mode 100644 index 00000000..50e234ad --- /dev/null +++ b/lib/auth0/types/event_stream_cloud_event_connection_created_object3options_assertion_decryption_settings_algorithm_profile_enum.rb @@ -0,0 +1,11 @@ +# frozen_string_literal: true + +module Auth0 + module Types + module EventStreamCloudEventConnectionCreatedObject3OptionsAssertionDecryptionSettingsAlgorithmProfileEnum + extend Auth0::Internal::Types::Enum + + V20261 = "v2026-1" + end + end +end diff --git a/lib/auth0/types/event_stream_cloud_event_connection_created_object3options_digest_algorithm_enum.rb b/lib/auth0/types/event_stream_cloud_event_connection_created_object3options_digest_algorithm_enum.rb new file mode 100644 index 00000000..c10c2553 --- /dev/null +++ b/lib/auth0/types/event_stream_cloud_event_connection_created_object3options_digest_algorithm_enum.rb @@ -0,0 +1,12 @@ +# frozen_string_literal: true + +module Auth0 + module Types + module EventStreamCloudEventConnectionCreatedObject3OptionsDigestAlgorithmEnum + extend Auth0::Internal::Types::Enum + + SHA1 = "sha1" + SHA256 = "sha256" + end + end +end diff --git a/lib/auth0/types/event_stream_cloud_event_connection_created_object3options_idpinitiated.rb b/lib/auth0/types/event_stream_cloud_event_connection_created_object3options_idpinitiated.rb new file mode 100644 index 00000000..72d94490 --- /dev/null +++ b/lib/auth0/types/event_stream_cloud_event_connection_created_object3options_idpinitiated.rb @@ -0,0 +1,18 @@ +# frozen_string_literal: true + +module Auth0 + module Types + # Configuration for IdP-Initiated SAML Single Sign-On. When enabled, allows users to initiate login directly from + # their SAML identity provider without first visiting Auth0. The IdP must include the connection parameter in the + # post-back URL (Assertion Consumer Service URL). + class EventStreamCloudEventConnectionCreatedObject3OptionsIdpinitiated < Internal::Types::Model + field :client_authorizequery, -> { String }, optional: true, nullable: false + + field :client_id, -> { String }, optional: true, nullable: false + + field :client_protocol, -> { Auth0::Types::EventStreamCloudEventConnectionCreatedObject3OptionsIdpinitiatedClientProtocolEnum }, optional: true, nullable: false + + field :enabled, -> { Internal::Types::Boolean }, optional: true, nullable: false + end + end +end diff --git a/lib/auth0/types/event_stream_cloud_event_connection_created_object3options_idpinitiated_client_protocol_enum.rb b/lib/auth0/types/event_stream_cloud_event_connection_created_object3options_idpinitiated_client_protocol_enum.rb new file mode 100644 index 00000000..70482cd0 --- /dev/null +++ b/lib/auth0/types/event_stream_cloud_event_connection_created_object3options_idpinitiated_client_protocol_enum.rb @@ -0,0 +1,13 @@ +# frozen_string_literal: true + +module Auth0 + module Types + module EventStreamCloudEventConnectionCreatedObject3OptionsIdpinitiatedClientProtocolEnum + extend Auth0::Internal::Types::Enum + + OIDC = "oidc" + SAMLP = "samlp" + WSFED = "wsfed" + end + end +end diff --git a/lib/auth0/types/event_stream_cloud_event_connection_created_object3options_protocol_binding_enum.rb b/lib/auth0/types/event_stream_cloud_event_connection_created_object3options_protocol_binding_enum.rb new file mode 100644 index 00000000..ee88e42f --- /dev/null +++ b/lib/auth0/types/event_stream_cloud_event_connection_created_object3options_protocol_binding_enum.rb @@ -0,0 +1,12 @@ +# frozen_string_literal: true + +module Auth0 + module Types + module EventStreamCloudEventConnectionCreatedObject3OptionsProtocolBindingEnum + extend Auth0::Internal::Types::Enum + + URN_OASIS_NAMES_TC_SAML20BINDINGS_HTTP_POST = "urn:oasis:names:tc:SAML:2.0:bindings:HTTP-POST" + URN_OASIS_NAMES_TC_SAML20BINDINGS_HTTP_REDIRECT = "urn:oasis:names:tc:SAML:2.0:bindings:HTTP-Redirect" + end + end +end diff --git a/lib/auth0/types/event_stream_cloud_event_connection_created_object3options_set_user_root_attributes_enum.rb b/lib/auth0/types/event_stream_cloud_event_connection_created_object3options_set_user_root_attributes_enum.rb new file mode 100644 index 00000000..34d7fb0d --- /dev/null +++ b/lib/auth0/types/event_stream_cloud_event_connection_created_object3options_set_user_root_attributes_enum.rb @@ -0,0 +1,13 @@ +# frozen_string_literal: true + +module Auth0 + module Types + module EventStreamCloudEventConnectionCreatedObject3OptionsSetUserRootAttributesEnum + extend Auth0::Internal::Types::Enum + + ON_EACH_LOGIN = "on_each_login" + ON_FIRST_LOGIN = "on_first_login" + NEVER_ON_LOGIN = "never_on_login" + end + end +end diff --git a/lib/auth0/types/event_stream_cloud_event_connection_created_object3options_signature_algorithm_enum.rb b/lib/auth0/types/event_stream_cloud_event_connection_created_object3options_signature_algorithm_enum.rb new file mode 100644 index 00000000..bbea3107 --- /dev/null +++ b/lib/auth0/types/event_stream_cloud_event_connection_created_object3options_signature_algorithm_enum.rb @@ -0,0 +1,12 @@ +# frozen_string_literal: true + +module Auth0 + module Types + module EventStreamCloudEventConnectionCreatedObject3OptionsSignatureAlgorithmEnum + extend Auth0::Internal::Types::Enum + + RSA_SHA1 = "rsa-sha1" + RSA_SHA256 = "rsa-sha256" + end + end +end diff --git a/lib/auth0/types/event_stream_cloud_event_connection_created_object3options_subject.rb b/lib/auth0/types/event_stream_cloud_event_connection_created_object3options_subject.rb new file mode 100644 index 00000000..a24da198 --- /dev/null +++ b/lib/auth0/types/event_stream_cloud_event_connection_created_object3options_subject.rb @@ -0,0 +1,8 @@ +# frozen_string_literal: true + +module Auth0 + module Types + # Certificate Subject Distinguished Name (DN) extracted from the identity provider's signing certificate. + class EventStreamCloudEventConnectionCreatedObject3OptionsSubject < Internal::Types::Model; end + end +end diff --git a/lib/auth0/types/event_stream_cloud_event_connection_created_object3options_upstream_params.rb b/lib/auth0/types/event_stream_cloud_event_connection_created_object3options_upstream_params.rb new file mode 100644 index 00000000..a328698a --- /dev/null +++ b/lib/auth0/types/event_stream_cloud_event_connection_created_object3options_upstream_params.rb @@ -0,0 +1,23 @@ +# frozen_string_literal: true + +module Auth0 + module Types + module EventStreamCloudEventConnectionCreatedObject3OptionsUpstreamParams + # EventStreamCloudEventConnectionCreatedObject3OptionsUpstreamParams is an alias for Hash + + # @option str [String] + # + # @return [untyped] + def self.load(str) + ::JSON.parse(str) + end + + # @option value [untyped] + # + # @return [String] + def self.dump(value) + ::JSON.generate(value) + end + end + end +end diff --git a/lib/auth0/types/event_stream_cloud_event_connection_created_object3strategy_enum.rb b/lib/auth0/types/event_stream_cloud_event_connection_created_object3strategy_enum.rb new file mode 100644 index 00000000..081bd5b8 --- /dev/null +++ b/lib/auth0/types/event_stream_cloud_event_connection_created_object3strategy_enum.rb @@ -0,0 +1,11 @@ +# frozen_string_literal: true + +module Auth0 + module Types + module EventStreamCloudEventConnectionCreatedObject3StrategyEnum + extend Auth0::Internal::Types::Enum + + PINGFEDERATE = "pingfederate" + end + end +end diff --git a/lib/auth0/types/event_stream_cloud_event_connection_created_object4.rb b/lib/auth0/types/event_stream_cloud_event_connection_created_object4.rb new file mode 100644 index 00000000..4cd8caed --- /dev/null +++ b/lib/auth0/types/event_stream_cloud_event_connection_created_object4.rb @@ -0,0 +1,31 @@ +# frozen_string_literal: true + +module Auth0 + module Types + class EventStreamCloudEventConnectionCreatedObject4 < Internal::Types::Model + field :authentication, -> { Auth0::Types::EventStreamCloudEventConnectionCreatedObject4Authentication }, optional: true, nullable: false + + field :connected_accounts, -> { Auth0::Types::EventStreamCloudEventConnectionCreatedObject4ConnectedAccounts }, optional: true, nullable: false + + field :display_name, -> { String }, optional: true, nullable: false + + field :enabled_clients, -> { Internal::Types::Array[String] }, optional: true, nullable: false + + field :id, -> { String }, optional: false, nullable: false + + field :is_domain_connection, -> { Internal::Types::Boolean }, optional: true, nullable: false + + field :metadata, -> { Auth0::Types::EventStreamCloudEventConnectionCreatedObject4Metadata }, optional: true, nullable: false + + field :name, -> { String }, optional: false, nullable: false + + field :realms, -> { Internal::Types::Array[String] }, optional: true, nullable: false + + field :options, -> { Auth0::Types::EventStreamCloudEventConnectionCreatedObject4Options }, optional: true, nullable: false + + field :show_as_button, -> { Internal::Types::Boolean }, optional: true, nullable: false + + field :strategy, -> { Auth0::Types::EventStreamCloudEventConnectionCreatedObject4StrategyEnum }, optional: false, nullable: false + end + end +end diff --git a/lib/auth0/types/event_stream_cloud_event_connection_created_object4authentication.rb b/lib/auth0/types/event_stream_cloud_event_connection_created_object4authentication.rb new file mode 100644 index 00000000..b58afaf2 --- /dev/null +++ b/lib/auth0/types/event_stream_cloud_event_connection_created_object4authentication.rb @@ -0,0 +1,10 @@ +# frozen_string_literal: true + +module Auth0 + module Types + # Configure the purpose of a connection to be used for authentication during login. + class EventStreamCloudEventConnectionCreatedObject4Authentication < Internal::Types::Model + field :active, -> { Internal::Types::Boolean }, optional: false, nullable: false + end + end +end diff --git a/lib/auth0/types/event_stream_cloud_event_connection_created_object4connected_accounts.rb b/lib/auth0/types/event_stream_cloud_event_connection_created_object4connected_accounts.rb new file mode 100644 index 00000000..f3eadf7c --- /dev/null +++ b/lib/auth0/types/event_stream_cloud_event_connection_created_object4connected_accounts.rb @@ -0,0 +1,10 @@ +# frozen_string_literal: true + +module Auth0 + module Types + # Configure the purpose of a connection to be used for connected accounts and Token Vault. + class EventStreamCloudEventConnectionCreatedObject4ConnectedAccounts < Internal::Types::Model + field :active, -> { Internal::Types::Boolean }, optional: false, nullable: false + end + end +end diff --git a/lib/auth0/types/event_stream_cloud_event_connection_created_object4metadata.rb b/lib/auth0/types/event_stream_cloud_event_connection_created_object4metadata.rb new file mode 100644 index 00000000..a7f87a53 --- /dev/null +++ b/lib/auth0/types/event_stream_cloud_event_connection_created_object4metadata.rb @@ -0,0 +1,9 @@ +# frozen_string_literal: true + +module Auth0 + module Types + # Metadata associated with the connection in the form of an object with string values (max 255 chars). Maximum of + # 10 metadata properties allowed. + class EventStreamCloudEventConnectionCreatedObject4Metadata < Internal::Types::Model; end + end +end diff --git a/lib/auth0/types/event_stream_cloud_event_connection_created_object4options.rb b/lib/auth0/types/event_stream_cloud_event_connection_created_object4options.rb new file mode 100644 index 00000000..d6c10066 --- /dev/null +++ b/lib/auth0/types/event_stream_cloud_event_connection_created_object4options.rb @@ -0,0 +1,38 @@ +# frozen_string_literal: true + +module Auth0 + module Types + # Options for the 'adfs' connection + class EventStreamCloudEventConnectionCreatedObject4Options < Internal::Types::Model + field :adfs_server, -> { String }, optional: true, nullable: false + + field :cert_rollover_notification, -> { String }, optional: true, nullable: false + + field :domain_aliases, -> { Internal::Types::Array[String] }, optional: true, nullable: false + + field :entity_id, -> { String }, optional: true, nullable: false, api_name: "entityId" + + field :fed_metadata_xml, -> { String }, optional: true, nullable: false, api_name: "fedMetadataXml" + + field :icon_url, -> { String }, optional: true, nullable: false + + field :non_persistent_attrs, -> { Internal::Types::Array[String] }, optional: true, nullable: false + + field :prev_thumbprints, -> { Internal::Types::Array[String] }, optional: true, nullable: false + + field :set_user_root_attributes, -> { Auth0::Types::EventStreamCloudEventConnectionCreatedObject4OptionsSetUserRootAttributesEnum }, optional: true, nullable: false + + field :should_trust_email_verified_connection, -> { Auth0::Types::EventStreamCloudEventConnectionCreatedObject4OptionsShouldTrustEmailVerifiedConnectionEnum }, optional: true, nullable: false + + field :sign_in_endpoint, -> { String }, optional: true, nullable: false, api_name: "signInEndpoint" + + field :tenant_domain, -> { String }, optional: true, nullable: false + + field :thumbprints, -> { Internal::Types::Array[String] }, optional: true, nullable: false + + field :upstream_params, -> { Internal::Types::Hash[String, Object] }, optional: true, nullable: false + + field :user_id_attribute, -> { String }, optional: true, nullable: false + end + end +end diff --git a/lib/auth0/types/event_stream_cloud_event_connection_created_object4options_set_user_root_attributes_enum.rb b/lib/auth0/types/event_stream_cloud_event_connection_created_object4options_set_user_root_attributes_enum.rb new file mode 100644 index 00000000..e67beaa1 --- /dev/null +++ b/lib/auth0/types/event_stream_cloud_event_connection_created_object4options_set_user_root_attributes_enum.rb @@ -0,0 +1,13 @@ +# frozen_string_literal: true + +module Auth0 + module Types + module EventStreamCloudEventConnectionCreatedObject4OptionsSetUserRootAttributesEnum + extend Auth0::Internal::Types::Enum + + ON_EACH_LOGIN = "on_each_login" + ON_FIRST_LOGIN = "on_first_login" + NEVER_ON_LOGIN = "never_on_login" + end + end +end diff --git a/lib/auth0/types/event_stream_cloud_event_connection_created_object4options_should_trust_email_verified_connection_enum.rb b/lib/auth0/types/event_stream_cloud_event_connection_created_object4options_should_trust_email_verified_connection_enum.rb new file mode 100644 index 00000000..ce990447 --- /dev/null +++ b/lib/auth0/types/event_stream_cloud_event_connection_created_object4options_should_trust_email_verified_connection_enum.rb @@ -0,0 +1,12 @@ +# frozen_string_literal: true + +module Auth0 + module Types + module EventStreamCloudEventConnectionCreatedObject4OptionsShouldTrustEmailVerifiedConnectionEnum + extend Auth0::Internal::Types::Enum + + NEVER_SET_EMAILS_AS_VERIFIED = "never_set_emails_as_verified" + ALWAYS_SET_EMAILS_AS_VERIFIED = "always_set_emails_as_verified" + end + end +end diff --git a/lib/auth0/types/event_stream_cloud_event_connection_created_object4options_upstream_params.rb b/lib/auth0/types/event_stream_cloud_event_connection_created_object4options_upstream_params.rb new file mode 100644 index 00000000..a12b1818 --- /dev/null +++ b/lib/auth0/types/event_stream_cloud_event_connection_created_object4options_upstream_params.rb @@ -0,0 +1,23 @@ +# frozen_string_literal: true + +module Auth0 + module Types + module EventStreamCloudEventConnectionCreatedObject4OptionsUpstreamParams + # EventStreamCloudEventConnectionCreatedObject4OptionsUpstreamParams is an alias for Hash + + # @option str [String] + # + # @return [untyped] + def self.load(str) + ::JSON.parse(str) + end + + # @option value [untyped] + # + # @return [String] + def self.dump(value) + ::JSON.generate(value) + end + end + end +end diff --git a/lib/auth0/types/event_stream_cloud_event_connection_created_object4strategy_enum.rb b/lib/auth0/types/event_stream_cloud_event_connection_created_object4strategy_enum.rb new file mode 100644 index 00000000..36993af1 --- /dev/null +++ b/lib/auth0/types/event_stream_cloud_event_connection_created_object4strategy_enum.rb @@ -0,0 +1,11 @@ +# frozen_string_literal: true + +module Auth0 + module Types + module EventStreamCloudEventConnectionCreatedObject4StrategyEnum + extend Auth0::Internal::Types::Enum + + ADFS = "adfs" + end + end +end diff --git a/lib/auth0/types/event_stream_cloud_event_connection_created_object5.rb b/lib/auth0/types/event_stream_cloud_event_connection_created_object5.rb new file mode 100644 index 00000000..b7537e24 --- /dev/null +++ b/lib/auth0/types/event_stream_cloud_event_connection_created_object5.rb @@ -0,0 +1,29 @@ +# frozen_string_literal: true + +module Auth0 + module Types + class EventStreamCloudEventConnectionCreatedObject5 < Internal::Types::Model + field :authentication, -> { Auth0::Types::EventStreamCloudEventConnectionCreatedObject5Authentication }, optional: true, nullable: false + + field :connected_accounts, -> { Auth0::Types::EventStreamCloudEventConnectionCreatedObject5ConnectedAccounts }, optional: true, nullable: false + + field :display_name, -> { String }, optional: true, nullable: false + + field :enabled_clients, -> { Internal::Types::Array[String] }, optional: true, nullable: false + + field :id, -> { String }, optional: false, nullable: false + + field :is_domain_connection, -> { Internal::Types::Boolean }, optional: true, nullable: false + + field :metadata, -> { Auth0::Types::EventStreamCloudEventConnectionCreatedObject5Metadata }, optional: true, nullable: false + + field :name, -> { String }, optional: false, nullable: false + + field :realms, -> { Internal::Types::Array[String] }, optional: true, nullable: false + + field :options, -> { Auth0::Types::EventStreamCloudEventConnectionCreatedObject5Options }, optional: true, nullable: false + + field :strategy, -> { Auth0::Types::EventStreamCloudEventConnectionCreatedObject5StrategyEnum }, optional: false, nullable: false + end + end +end diff --git a/lib/auth0/types/event_stream_cloud_event_connection_created_object5authentication.rb b/lib/auth0/types/event_stream_cloud_event_connection_created_object5authentication.rb new file mode 100644 index 00000000..77c0d958 --- /dev/null +++ b/lib/auth0/types/event_stream_cloud_event_connection_created_object5authentication.rb @@ -0,0 +1,10 @@ +# frozen_string_literal: true + +module Auth0 + module Types + # Configure the purpose of a connection to be used for authentication during login. + class EventStreamCloudEventConnectionCreatedObject5Authentication < Internal::Types::Model + field :active, -> { Internal::Types::Boolean }, optional: false, nullable: false + end + end +end diff --git a/lib/auth0/types/event_stream_cloud_event_connection_created_object5connected_accounts.rb b/lib/auth0/types/event_stream_cloud_event_connection_created_object5connected_accounts.rb new file mode 100644 index 00000000..1d4ddedc --- /dev/null +++ b/lib/auth0/types/event_stream_cloud_event_connection_created_object5connected_accounts.rb @@ -0,0 +1,10 @@ +# frozen_string_literal: true + +module Auth0 + module Types + # Configure the purpose of a connection to be used for connected accounts and Token Vault. + class EventStreamCloudEventConnectionCreatedObject5ConnectedAccounts < Internal::Types::Model + field :active, -> { Internal::Types::Boolean }, optional: false, nullable: false + end + end +end diff --git a/lib/auth0/types/event_stream_cloud_event_connection_created_object5metadata.rb b/lib/auth0/types/event_stream_cloud_event_connection_created_object5metadata.rb new file mode 100644 index 00000000..a6815bcb --- /dev/null +++ b/lib/auth0/types/event_stream_cloud_event_connection_created_object5metadata.rb @@ -0,0 +1,9 @@ +# frozen_string_literal: true + +module Auth0 + module Types + # Metadata associated with the connection in the form of an object with string values (max 255 chars). Maximum of + # 10 metadata properties allowed. + class EventStreamCloudEventConnectionCreatedObject5Metadata < Internal::Types::Model; end + end +end diff --git a/lib/auth0/types/event_stream_cloud_event_connection_created_object5options.rb b/lib/auth0/types/event_stream_cloud_event_connection_created_object5options.rb new file mode 100644 index 00000000..ef48bb8e --- /dev/null +++ b/lib/auth0/types/event_stream_cloud_event_connection_created_object5options.rb @@ -0,0 +1,44 @@ +# frozen_string_literal: true + +module Auth0 + module Types + # Options for the 'ad' connection + class EventStreamCloudEventConnectionCreatedObject5Options < Internal::Types::Model + field :agent_ip, -> { String }, optional: true, nullable: false, api_name: "agentIP" + + field :agent_mode, -> { Internal::Types::Boolean }, optional: true, nullable: false, api_name: "agentMode" + + field :agent_version, -> { String }, optional: true, nullable: false, api_name: "agentVersion" + + field :brute_force_protection, -> { Internal::Types::Boolean }, optional: true, nullable: false + + field :cert_auth, -> { Internal::Types::Boolean }, optional: true, nullable: false, api_name: "certAuth" + + field :certs, -> { Internal::Types::Array[String] }, optional: true, nullable: false + + field :disable_cache, -> { Internal::Types::Boolean }, optional: true, nullable: false + + field :disable_self_service_change_password, -> { Internal::Types::Boolean }, optional: true, nullable: false + + field :domain_aliases, -> { Internal::Types::Array[String] }, optional: true, nullable: false + + field :icon_url, -> { String }, optional: true, nullable: false + + field :ips, -> { Internal::Types::Array[String] }, optional: true, nullable: false + + field :kerberos, -> { Internal::Types::Boolean }, optional: true, nullable: false + + field :non_persistent_attrs, -> { Internal::Types::Array[String] }, optional: true, nullable: false + + field :set_user_root_attributes, -> { Auth0::Types::EventStreamCloudEventConnectionCreatedObject5OptionsSetUserRootAttributesEnum }, optional: true, nullable: false + + field :sign_in_endpoint, -> { String }, optional: true, nullable: false, api_name: "signInEndpoint" + + field :tenant_domain, -> { String }, optional: true, nullable: false + + field :thumbprints, -> { Internal::Types::Array[String] }, optional: true, nullable: false + + field :upstream_params, -> { Internal::Types::Hash[String, Object] }, optional: true, nullable: false + end + end +end diff --git a/lib/auth0/types/event_stream_cloud_event_connection_created_object5options_set_user_root_attributes_enum.rb b/lib/auth0/types/event_stream_cloud_event_connection_created_object5options_set_user_root_attributes_enum.rb new file mode 100644 index 00000000..421aeb1c --- /dev/null +++ b/lib/auth0/types/event_stream_cloud_event_connection_created_object5options_set_user_root_attributes_enum.rb @@ -0,0 +1,13 @@ +# frozen_string_literal: true + +module Auth0 + module Types + module EventStreamCloudEventConnectionCreatedObject5OptionsSetUserRootAttributesEnum + extend Auth0::Internal::Types::Enum + + ON_EACH_LOGIN = "on_each_login" + ON_FIRST_LOGIN = "on_first_login" + NEVER_ON_LOGIN = "never_on_login" + end + end +end diff --git a/lib/auth0/types/event_stream_cloud_event_connection_created_object5options_upstream_params.rb b/lib/auth0/types/event_stream_cloud_event_connection_created_object5options_upstream_params.rb new file mode 100644 index 00000000..73d628e6 --- /dev/null +++ b/lib/auth0/types/event_stream_cloud_event_connection_created_object5options_upstream_params.rb @@ -0,0 +1,23 @@ +# frozen_string_literal: true + +module Auth0 + module Types + module EventStreamCloudEventConnectionCreatedObject5OptionsUpstreamParams + # EventStreamCloudEventConnectionCreatedObject5OptionsUpstreamParams is an alias for Hash + + # @option str [String] + # + # @return [untyped] + def self.load(str) + ::JSON.parse(str) + end + + # @option value [untyped] + # + # @return [String] + def self.dump(value) + ::JSON.generate(value) + end + end + end +end diff --git a/lib/auth0/types/event_stream_cloud_event_connection_created_object5strategy_enum.rb b/lib/auth0/types/event_stream_cloud_event_connection_created_object5strategy_enum.rb new file mode 100644 index 00000000..b6fcc340 --- /dev/null +++ b/lib/auth0/types/event_stream_cloud_event_connection_created_object5strategy_enum.rb @@ -0,0 +1,11 @@ +# frozen_string_literal: true + +module Auth0 + module Types + module EventStreamCloudEventConnectionCreatedObject5StrategyEnum + extend Auth0::Internal::Types::Enum + + AD = "ad" + end + end +end diff --git a/lib/auth0/types/event_stream_cloud_event_connection_created_object6.rb b/lib/auth0/types/event_stream_cloud_event_connection_created_object6.rb new file mode 100644 index 00000000..3d4579a6 --- /dev/null +++ b/lib/auth0/types/event_stream_cloud_event_connection_created_object6.rb @@ -0,0 +1,31 @@ +# frozen_string_literal: true + +module Auth0 + module Types + class EventStreamCloudEventConnectionCreatedObject6 < Internal::Types::Model + field :authentication, -> { Auth0::Types::EventStreamCloudEventConnectionCreatedObject6Authentication }, optional: true, nullable: false + + field :connected_accounts, -> { Auth0::Types::EventStreamCloudEventConnectionCreatedObject6ConnectedAccounts }, optional: true, nullable: false + + field :display_name, -> { String }, optional: true, nullable: false + + field :enabled_clients, -> { Internal::Types::Array[String] }, optional: true, nullable: false + + field :id, -> { String }, optional: false, nullable: false + + field :is_domain_connection, -> { Internal::Types::Boolean }, optional: true, nullable: false + + field :metadata, -> { Auth0::Types::EventStreamCloudEventConnectionCreatedObject6Metadata }, optional: true, nullable: false + + field :name, -> { String }, optional: false, nullable: false + + field :realms, -> { Internal::Types::Array[String] }, optional: true, nullable: false + + field :options, -> { Auth0::Types::EventStreamCloudEventConnectionCreatedObject6Options }, optional: true, nullable: false + + field :show_as_button, -> { Internal::Types::Boolean }, optional: true, nullable: false + + field :strategy, -> { Auth0::Types::EventStreamCloudEventConnectionCreatedObject6StrategyEnum }, optional: false, nullable: false + end + end +end diff --git a/lib/auth0/types/event_stream_cloud_event_connection_created_object6authentication.rb b/lib/auth0/types/event_stream_cloud_event_connection_created_object6authentication.rb new file mode 100644 index 00000000..2c096182 --- /dev/null +++ b/lib/auth0/types/event_stream_cloud_event_connection_created_object6authentication.rb @@ -0,0 +1,10 @@ +# frozen_string_literal: true + +module Auth0 + module Types + # Configure the purpose of a connection to be used for authentication during login. + class EventStreamCloudEventConnectionCreatedObject6Authentication < Internal::Types::Model + field :active, -> { Internal::Types::Boolean }, optional: false, nullable: false + end + end +end diff --git a/lib/auth0/types/event_stream_cloud_event_connection_created_object6connected_accounts.rb b/lib/auth0/types/event_stream_cloud_event_connection_created_object6connected_accounts.rb new file mode 100644 index 00000000..caa2ed15 --- /dev/null +++ b/lib/auth0/types/event_stream_cloud_event_connection_created_object6connected_accounts.rb @@ -0,0 +1,10 @@ +# frozen_string_literal: true + +module Auth0 + module Types + # Configure the purpose of a connection to be used for connected accounts and Token Vault. + class EventStreamCloudEventConnectionCreatedObject6ConnectedAccounts < Internal::Types::Model + field :active, -> { Internal::Types::Boolean }, optional: false, nullable: false + end + end +end diff --git a/lib/auth0/types/event_stream_cloud_event_connection_created_object6metadata.rb b/lib/auth0/types/event_stream_cloud_event_connection_created_object6metadata.rb new file mode 100644 index 00000000..e30398d2 --- /dev/null +++ b/lib/auth0/types/event_stream_cloud_event_connection_created_object6metadata.rb @@ -0,0 +1,9 @@ +# frozen_string_literal: true + +module Auth0 + module Types + # Metadata associated with the connection in the form of an object with string values (max 255 chars). Maximum of + # 10 metadata properties allowed. + class EventStreamCloudEventConnectionCreatedObject6Metadata < Internal::Types::Model; end + end +end diff --git a/lib/auth0/types/event_stream_cloud_event_connection_created_object6options.rb b/lib/auth0/types/event_stream_cloud_event_connection_created_object6options.rb new file mode 100644 index 00000000..b5db68c7 --- /dev/null +++ b/lib/auth0/types/event_stream_cloud_event_connection_created_object6options.rb @@ -0,0 +1,54 @@ +# frozen_string_literal: true + +module Auth0 + module Types + # Options for the 'google-apps' connection + class EventStreamCloudEventConnectionCreatedObject6Options < Internal::Types::Model + field :admin_access_token_expiresin, -> { String }, optional: true, nullable: false + + field :allow_setting_login_scopes, -> { Internal::Types::Boolean }, optional: true, nullable: false + + field :api_enable_groups, -> { Internal::Types::Boolean }, optional: true, nullable: false + + field :api_enable_users, -> { Internal::Types::Boolean }, optional: true, nullable: false + + field :client_id, -> { String }, optional: false, nullable: false + + field :domain, -> { String }, optional: true, nullable: false + + field :domain_aliases, -> { Internal::Types::Array[String] }, optional: true, nullable: false + + field :email, -> { Internal::Types::Boolean }, optional: true, nullable: false + + field :ext_agreed_terms, -> { Internal::Types::Boolean }, optional: true, nullable: false + + field :ext_groups, -> { Internal::Types::Boolean }, optional: true, nullable: false + + field :ext_groups_extended, -> { Internal::Types::Boolean }, optional: true, nullable: false + + field :ext_is_admin, -> { Internal::Types::Boolean }, optional: true, nullable: false + + field :ext_is_suspended, -> { Internal::Types::Boolean }, optional: true, nullable: false + + field :federated_connections_access_tokens, -> { Auth0::Types::EventStreamCloudEventConnectionCreatedObject6OptionsFederatedConnectionsAccessTokens }, optional: true, nullable: false + + field :handle_login_from_social, -> { Internal::Types::Boolean }, optional: true, nullable: false + + field :icon_url, -> { String }, optional: true, nullable: false + + field :map_user_id_to_id, -> { Internal::Types::Boolean }, optional: true, nullable: false + + field :non_persistent_attrs, -> { Internal::Types::Array[String] }, optional: true, nullable: false + + field :profile, -> { Internal::Types::Boolean }, optional: true, nullable: false + + field :scope, -> { Internal::Types::Array[String] }, optional: true, nullable: false + + field :set_user_root_attributes, -> { Auth0::Types::EventStreamCloudEventConnectionCreatedObject6OptionsSetUserRootAttributesEnum }, optional: true, nullable: false + + field :tenant_domain, -> { String }, optional: true, nullable: false + + field :upstream_params, -> { Internal::Types::Hash[String, Object] }, optional: true, nullable: false + end + end +end diff --git a/lib/auth0/types/event_stream_cloud_event_connection_created_object6options_federated_connections_access_tokens.rb b/lib/auth0/types/event_stream_cloud_event_connection_created_object6options_federated_connections_access_tokens.rb new file mode 100644 index 00000000..628a2554 --- /dev/null +++ b/lib/auth0/types/event_stream_cloud_event_connection_created_object6options_federated_connections_access_tokens.rb @@ -0,0 +1,12 @@ +# frozen_string_literal: true + +module Auth0 + module Types + # Configuration for storing identity provider tokens in Auth0's Token Vault. When active, Auth0 securely stores + # access and refresh tokens from federated logins, enabling your application to make authenticated API calls on + # behalf of users. + class EventStreamCloudEventConnectionCreatedObject6OptionsFederatedConnectionsAccessTokens < Internal::Types::Model + field :active, -> { Internal::Types::Boolean }, optional: false, nullable: false + end + end +end diff --git a/lib/auth0/types/event_stream_cloud_event_connection_created_object6options_set_user_root_attributes_enum.rb b/lib/auth0/types/event_stream_cloud_event_connection_created_object6options_set_user_root_attributes_enum.rb new file mode 100644 index 00000000..ae9f12e3 --- /dev/null +++ b/lib/auth0/types/event_stream_cloud_event_connection_created_object6options_set_user_root_attributes_enum.rb @@ -0,0 +1,13 @@ +# frozen_string_literal: true + +module Auth0 + module Types + module EventStreamCloudEventConnectionCreatedObject6OptionsSetUserRootAttributesEnum + extend Auth0::Internal::Types::Enum + + ON_EACH_LOGIN = "on_each_login" + ON_FIRST_LOGIN = "on_first_login" + NEVER_ON_LOGIN = "never_on_login" + end + end +end diff --git a/lib/auth0/types/event_stream_cloud_event_connection_created_object6options_upstream_params.rb b/lib/auth0/types/event_stream_cloud_event_connection_created_object6options_upstream_params.rb new file mode 100644 index 00000000..46420020 --- /dev/null +++ b/lib/auth0/types/event_stream_cloud_event_connection_created_object6options_upstream_params.rb @@ -0,0 +1,23 @@ +# frozen_string_literal: true + +module Auth0 + module Types + module EventStreamCloudEventConnectionCreatedObject6OptionsUpstreamParams + # EventStreamCloudEventConnectionCreatedObject6OptionsUpstreamParams is an alias for Hash + + # @option str [String] + # + # @return [untyped] + def self.load(str) + ::JSON.parse(str) + end + + # @option value [untyped] + # + # @return [String] + def self.dump(value) + ::JSON.generate(value) + end + end + end +end diff --git a/lib/auth0/types/event_stream_cloud_event_connection_created_object6strategy_enum.rb b/lib/auth0/types/event_stream_cloud_event_connection_created_object6strategy_enum.rb new file mode 100644 index 00000000..0daed111 --- /dev/null +++ b/lib/auth0/types/event_stream_cloud_event_connection_created_object6strategy_enum.rb @@ -0,0 +1,11 @@ +# frozen_string_literal: true + +module Auth0 + module Types + module EventStreamCloudEventConnectionCreatedObject6StrategyEnum + extend Auth0::Internal::Types::Enum + + GOOGLE_APPS = "google-apps" + end + end +end diff --git a/lib/auth0/types/event_stream_cloud_event_connection_created_object7.rb b/lib/auth0/types/event_stream_cloud_event_connection_created_object7.rb new file mode 100644 index 00000000..9e7dfce0 --- /dev/null +++ b/lib/auth0/types/event_stream_cloud_event_connection_created_object7.rb @@ -0,0 +1,31 @@ +# frozen_string_literal: true + +module Auth0 + module Types + class EventStreamCloudEventConnectionCreatedObject7 < Internal::Types::Model + field :authentication, -> { Auth0::Types::EventStreamCloudEventConnectionCreatedObject7Authentication }, optional: true, nullable: false + + field :connected_accounts, -> { Auth0::Types::EventStreamCloudEventConnectionCreatedObject7ConnectedAccounts }, optional: true, nullable: false + + field :display_name, -> { String }, optional: true, nullable: false + + field :enabled_clients, -> { Internal::Types::Array[String] }, optional: true, nullable: false + + field :id, -> { String }, optional: false, nullable: false + + field :is_domain_connection, -> { Internal::Types::Boolean }, optional: true, nullable: false + + field :metadata, -> { Auth0::Types::EventStreamCloudEventConnectionCreatedObject7Metadata }, optional: true, nullable: false + + field :name, -> { String }, optional: false, nullable: false + + field :realms, -> { Internal::Types::Array[String] }, optional: true, nullable: false + + field :options, -> { Auth0::Types::EventStreamCloudEventConnectionCreatedObject7Options }, optional: true, nullable: false + + field :show_as_button, -> { Internal::Types::Boolean }, optional: true, nullable: false + + field :strategy, -> { Auth0::Types::EventStreamCloudEventConnectionCreatedObject7StrategyEnum }, optional: false, nullable: false + end + end +end diff --git a/lib/auth0/types/event_stream_cloud_event_connection_created_object7authentication.rb b/lib/auth0/types/event_stream_cloud_event_connection_created_object7authentication.rb new file mode 100644 index 00000000..4544af22 --- /dev/null +++ b/lib/auth0/types/event_stream_cloud_event_connection_created_object7authentication.rb @@ -0,0 +1,10 @@ +# frozen_string_literal: true + +module Auth0 + module Types + # Configure the purpose of a connection to be used for authentication during login. + class EventStreamCloudEventConnectionCreatedObject7Authentication < Internal::Types::Model + field :active, -> { Internal::Types::Boolean }, optional: false, nullable: false + end + end +end diff --git a/lib/auth0/types/event_stream_cloud_event_connection_created_object7connected_accounts.rb b/lib/auth0/types/event_stream_cloud_event_connection_created_object7connected_accounts.rb new file mode 100644 index 00000000..ee544026 --- /dev/null +++ b/lib/auth0/types/event_stream_cloud_event_connection_created_object7connected_accounts.rb @@ -0,0 +1,10 @@ +# frozen_string_literal: true + +module Auth0 + module Types + # Configure the purpose of a connection to be used for connected accounts and Token Vault. + class EventStreamCloudEventConnectionCreatedObject7ConnectedAccounts < Internal::Types::Model + field :active, -> { Internal::Types::Boolean }, optional: false, nullable: false + end + end +end diff --git a/lib/auth0/types/event_stream_cloud_event_connection_created_object7metadata.rb b/lib/auth0/types/event_stream_cloud_event_connection_created_object7metadata.rb new file mode 100644 index 00000000..3b27e2b9 --- /dev/null +++ b/lib/auth0/types/event_stream_cloud_event_connection_created_object7metadata.rb @@ -0,0 +1,9 @@ +# frozen_string_literal: true + +module Auth0 + module Types + # Metadata associated with the connection in the form of an object with string values (max 255 chars). Maximum of + # 10 metadata properties allowed. + class EventStreamCloudEventConnectionCreatedObject7Metadata < Internal::Types::Model; end + end +end diff --git a/lib/auth0/types/event_stream_cloud_event_connection_created_object7options.rb b/lib/auth0/types/event_stream_cloud_event_connection_created_object7options.rb new file mode 100644 index 00000000..cb90d2ec --- /dev/null +++ b/lib/auth0/types/event_stream_cloud_event_connection_created_object7options.rb @@ -0,0 +1,64 @@ +# frozen_string_literal: true + +module Auth0 + module Types + # Options for the 'waad' connection + class EventStreamCloudEventConnectionCreatedObject7Options < Internal::Types::Model + field :api_enable_users, -> { Internal::Types::Boolean }, optional: true, nullable: false + + field :app_domain, -> { String }, optional: true, nullable: false + + field :app_id, -> { String }, optional: true, nullable: false + + field :basic_profile, -> { Internal::Types::Boolean }, optional: true, nullable: false + + field :cert_rollover_notification, -> { String }, optional: true, nullable: false + + field :client_id, -> { String }, optional: false, nullable: false + + field :domain, -> { String }, optional: true, nullable: false + + field :domain_aliases, -> { Internal::Types::Array[String] }, optional: true, nullable: false + + field :ext_groups, -> { Internal::Types::Boolean }, optional: true, nullable: false + + field :ext_nested_groups, -> { Internal::Types::Boolean }, optional: true, nullable: false + + field :ext_profile, -> { Internal::Types::Boolean }, optional: true, nullable: false + + field :federated_connections_access_tokens, -> { Auth0::Types::EventStreamCloudEventConnectionCreatedObject7OptionsFederatedConnectionsAccessTokens }, optional: true, nullable: false + + field :granted, -> { Internal::Types::Boolean }, optional: true, nullable: false + + field :icon_url, -> { String }, optional: true, nullable: false + + field :identity_api, -> { Auth0::Types::EventStreamCloudEventConnectionCreatedObject7OptionsIdentityAPIEnum }, optional: true, nullable: false + + field :max_groups_to_retrieve, -> { String }, optional: true, nullable: false + + field :non_persistent_attrs, -> { Internal::Types::Array[String] }, optional: true, nullable: false + + field :scope, -> { Internal::Types::Array[String] }, optional: true, nullable: false + + field :set_user_root_attributes, -> { Auth0::Types::EventStreamCloudEventConnectionCreatedObject7OptionsSetUserRootAttributesEnum }, optional: true, nullable: false + + field :should_trust_email_verified_connection, -> { Auth0::Types::EventStreamCloudEventConnectionCreatedObject7OptionsShouldTrustEmailVerifiedConnectionEnum }, optional: true, nullable: false + + field :tenant_domain, -> { String }, optional: true, nullable: false + + field :tenant_id, -> { String }, optional: true, nullable: false, api_name: "tenantId" + + field :thumbprints, -> { Internal::Types::Array[String] }, optional: true, nullable: false + + field :upstream_params, -> { Internal::Types::Hash[String, Object] }, optional: true, nullable: false + + field :use_wsfed, -> { Internal::Types::Boolean }, optional: true, nullable: false + + field :use_common_endpoint, -> { Internal::Types::Boolean }, optional: true, nullable: false, api_name: "useCommonEndpoint" + + field :userid_attribute, -> { Auth0::Types::EventStreamCloudEventConnectionCreatedObject7OptionsUseridAttributeEnum }, optional: true, nullable: false + + field :waad_protocol, -> { Auth0::Types::EventStreamCloudEventConnectionCreatedObject7OptionsWaadProtocolEnum }, optional: true, nullable: false + end + end +end diff --git a/lib/auth0/types/event_stream_cloud_event_connection_created_object7options_federated_connections_access_tokens.rb b/lib/auth0/types/event_stream_cloud_event_connection_created_object7options_federated_connections_access_tokens.rb new file mode 100644 index 00000000..6e0f2440 --- /dev/null +++ b/lib/auth0/types/event_stream_cloud_event_connection_created_object7options_federated_connections_access_tokens.rb @@ -0,0 +1,12 @@ +# frozen_string_literal: true + +module Auth0 + module Types + # Configuration for storing identity provider tokens in Auth0's Token Vault. When active, Auth0 securely stores + # access and refresh tokens from federated logins, enabling your application to make authenticated API calls on + # behalf of users. + class EventStreamCloudEventConnectionCreatedObject7OptionsFederatedConnectionsAccessTokens < Internal::Types::Model + field :active, -> { Internal::Types::Boolean }, optional: false, nullable: false + end + end +end diff --git a/lib/auth0/types/event_stream_cloud_event_connection_created_object7options_identity_api_enum.rb b/lib/auth0/types/event_stream_cloud_event_connection_created_object7options_identity_api_enum.rb new file mode 100644 index 00000000..5ecefc53 --- /dev/null +++ b/lib/auth0/types/event_stream_cloud_event_connection_created_object7options_identity_api_enum.rb @@ -0,0 +1,12 @@ +# frozen_string_literal: true + +module Auth0 + module Types + module EventStreamCloudEventConnectionCreatedObject7OptionsIdentityAPIEnum + extend Auth0::Internal::Types::Enum + + MICROSOFT_IDENTITY_PLATFORM_V20 = "microsoft-identity-platform-v2.0" + AZURE_ACTIVE_DIRECTORY_V10 = "azure-active-directory-v1.0" + end + end +end diff --git a/lib/auth0/types/event_stream_cloud_event_connection_created_object7options_set_user_root_attributes_enum.rb b/lib/auth0/types/event_stream_cloud_event_connection_created_object7options_set_user_root_attributes_enum.rb new file mode 100644 index 00000000..407cc11e --- /dev/null +++ b/lib/auth0/types/event_stream_cloud_event_connection_created_object7options_set_user_root_attributes_enum.rb @@ -0,0 +1,13 @@ +# frozen_string_literal: true + +module Auth0 + module Types + module EventStreamCloudEventConnectionCreatedObject7OptionsSetUserRootAttributesEnum + extend Auth0::Internal::Types::Enum + + ON_EACH_LOGIN = "on_each_login" + ON_FIRST_LOGIN = "on_first_login" + NEVER_ON_LOGIN = "never_on_login" + end + end +end diff --git a/lib/auth0/types/event_stream_cloud_event_connection_created_object7options_should_trust_email_verified_connection_enum.rb b/lib/auth0/types/event_stream_cloud_event_connection_created_object7options_should_trust_email_verified_connection_enum.rb new file mode 100644 index 00000000..02cb0602 --- /dev/null +++ b/lib/auth0/types/event_stream_cloud_event_connection_created_object7options_should_trust_email_verified_connection_enum.rb @@ -0,0 +1,12 @@ +# frozen_string_literal: true + +module Auth0 + module Types + module EventStreamCloudEventConnectionCreatedObject7OptionsShouldTrustEmailVerifiedConnectionEnum + extend Auth0::Internal::Types::Enum + + NEVER_SET_EMAILS_AS_VERIFIED = "never_set_emails_as_verified" + ALWAYS_SET_EMAILS_AS_VERIFIED = "always_set_emails_as_verified" + end + end +end diff --git a/lib/auth0/types/event_stream_cloud_event_connection_created_object7options_tenant_domain_one.rb b/lib/auth0/types/event_stream_cloud_event_connection_created_object7options_tenant_domain_one.rb new file mode 100644 index 00000000..ff4ac9ed --- /dev/null +++ b/lib/auth0/types/event_stream_cloud_event_connection_created_object7options_tenant_domain_one.rb @@ -0,0 +1,23 @@ +# frozen_string_literal: true + +module Auth0 + module Types + module EventStreamCloudEventConnectionCreatedObject7OptionsTenantDomainOne + # EventStreamCloudEventConnectionCreatedObject7OptionsTenantDomainOne is an alias for String + + # @option str [String] + # + # @return [untyped] + def self.load(str) + ::JSON.parse(str) + end + + # @option value [untyped] + # + # @return [String] + def self.dump(value) + ::JSON.generate(value) + end + end + end +end diff --git a/lib/auth0/types/event_stream_cloud_event_connection_created_object7options_upstream_params.rb b/lib/auth0/types/event_stream_cloud_event_connection_created_object7options_upstream_params.rb new file mode 100644 index 00000000..b5326392 --- /dev/null +++ b/lib/auth0/types/event_stream_cloud_event_connection_created_object7options_upstream_params.rb @@ -0,0 +1,23 @@ +# frozen_string_literal: true + +module Auth0 + module Types + module EventStreamCloudEventConnectionCreatedObject7OptionsUpstreamParams + # EventStreamCloudEventConnectionCreatedObject7OptionsUpstreamParams is an alias for Hash + + # @option str [String] + # + # @return [untyped] + def self.load(str) + ::JSON.parse(str) + end + + # @option value [untyped] + # + # @return [String] + def self.dump(value) + ::JSON.generate(value) + end + end + end +end diff --git a/lib/auth0/types/event_stream_cloud_event_connection_created_object7options_userid_attribute_enum.rb b/lib/auth0/types/event_stream_cloud_event_connection_created_object7options_userid_attribute_enum.rb new file mode 100644 index 00000000..c45c40ac --- /dev/null +++ b/lib/auth0/types/event_stream_cloud_event_connection_created_object7options_userid_attribute_enum.rb @@ -0,0 +1,12 @@ +# frozen_string_literal: true + +module Auth0 + module Types + module EventStreamCloudEventConnectionCreatedObject7OptionsUseridAttributeEnum + extend Auth0::Internal::Types::Enum + + OID = "oid" + SUB = "sub" + end + end +end diff --git a/lib/auth0/types/event_stream_cloud_event_connection_created_object7options_waad_protocol_enum.rb b/lib/auth0/types/event_stream_cloud_event_connection_created_object7options_waad_protocol_enum.rb new file mode 100644 index 00000000..e7bd811e --- /dev/null +++ b/lib/auth0/types/event_stream_cloud_event_connection_created_object7options_waad_protocol_enum.rb @@ -0,0 +1,12 @@ +# frozen_string_literal: true + +module Auth0 + module Types + module EventStreamCloudEventConnectionCreatedObject7OptionsWaadProtocolEnum + extend Auth0::Internal::Types::Enum + + WS_FEDERATION = "ws-federation" + OPENID_CONNECT = "openid-connect" + end + end +end diff --git a/lib/auth0/types/event_stream_cloud_event_connection_created_object7strategy_enum.rb b/lib/auth0/types/event_stream_cloud_event_connection_created_object7strategy_enum.rb new file mode 100644 index 00000000..8824ddb5 --- /dev/null +++ b/lib/auth0/types/event_stream_cloud_event_connection_created_object7strategy_enum.rb @@ -0,0 +1,11 @@ +# frozen_string_literal: true + +module Auth0 + module Types + module EventStreamCloudEventConnectionCreatedObject7StrategyEnum + extend Auth0::Internal::Types::Enum + + WAAD = "waad" + end + end +end diff --git a/lib/auth0/types/event_stream_cloud_event_connection_created_type_enum.rb b/lib/auth0/types/event_stream_cloud_event_connection_created_type_enum.rb new file mode 100644 index 00000000..d9f5e4ff --- /dev/null +++ b/lib/auth0/types/event_stream_cloud_event_connection_created_type_enum.rb @@ -0,0 +1,11 @@ +# frozen_string_literal: true + +module Auth0 + module Types + module EventStreamCloudEventConnectionCreatedTypeEnum + extend Auth0::Internal::Types::Enum + + CONNECTION_CREATED = "connection.created" + end + end +end diff --git a/lib/auth0/types/event_stream_cloud_event_connection_deleted.rb b/lib/auth0/types/event_stream_cloud_event_connection_deleted.rb new file mode 100644 index 00000000..48e74636 --- /dev/null +++ b/lib/auth0/types/event_stream_cloud_event_connection_deleted.rb @@ -0,0 +1,12 @@ +# frozen_string_literal: true + +module Auth0 + module Types + # SSE message for connection.deleted. + class EventStreamCloudEventConnectionDeleted < Internal::Types::Model + field :offset, -> { String }, optional: false, nullable: false + + field :event, -> { Auth0::Types::EventStreamCloudEventConnectionDeletedCloudEvent }, optional: false, nullable: false + end + end +end diff --git a/lib/auth0/types/event_stream_cloud_event_connection_deleted_cloud_event.rb b/lib/auth0/types/event_stream_cloud_event_connection_deleted_cloud_event.rb new file mode 100644 index 00000000..7312f9c5 --- /dev/null +++ b/lib/auth0/types/event_stream_cloud_event_connection_deleted_cloud_event.rb @@ -0,0 +1,26 @@ +# frozen_string_literal: true + +module Auth0 + module Types + # Represents an event that occurs when a connection is deleted. + class EventStreamCloudEventConnectionDeletedCloudEvent < Internal::Types::Model + field :specversion, -> { Auth0::Types::EventStreamCloudEventSpecVersionEnum }, optional: false, nullable: false + + field :type, -> { Auth0::Types::EventStreamCloudEventConnectionDeletedCloudEventTypeEnum }, optional: false, nullable: false + + field :source, -> { String }, optional: false, nullable: false + + field :id, -> { String }, optional: false, nullable: false + + field :time, -> { String }, optional: false, nullable: false + + field :data, -> { Auth0::Types::EventStreamCloudEventConnectionDeletedData }, optional: false, nullable: false + + field :a0tenant, -> { String }, optional: false, nullable: false + + field :a0stream, -> { String }, optional: false, nullable: false + + field :a0purpose, -> { Auth0::Types::EventStreamCloudEventA0PurposeEnum }, optional: true, nullable: false + end + end +end diff --git a/lib/auth0/types/event_stream_cloud_event_connection_deleted_cloud_event_type_enum.rb b/lib/auth0/types/event_stream_cloud_event_connection_deleted_cloud_event_type_enum.rb new file mode 100644 index 00000000..688c4072 --- /dev/null +++ b/lib/auth0/types/event_stream_cloud_event_connection_deleted_cloud_event_type_enum.rb @@ -0,0 +1,11 @@ +# frozen_string_literal: true + +module Auth0 + module Types + module EventStreamCloudEventConnectionDeletedCloudEventTypeEnum + extend Auth0::Internal::Types::Enum + + CONNECTION_DELETED = "connection.deleted" + end + end +end diff --git a/lib/auth0/types/event_stream_cloud_event_connection_deleted_data.rb b/lib/auth0/types/event_stream_cloud_event_connection_deleted_data.rb new file mode 100644 index 00000000..0057af31 --- /dev/null +++ b/lib/auth0/types/event_stream_cloud_event_connection_deleted_data.rb @@ -0,0 +1,12 @@ +# frozen_string_literal: true + +module Auth0 + module Types + # The event payload. + class EventStreamCloudEventConnectionDeletedData < Internal::Types::Model + field :object, -> { Auth0::Types::EventStreamCloudEventConnectionDeletedObject }, optional: false, nullable: false + + field :context, -> { Auth0::Types::EventStreamCloudEventContext }, optional: true, nullable: false + end + end +end diff --git a/lib/auth0/types/event_stream_cloud_event_connection_deleted_object.rb b/lib/auth0/types/event_stream_cloud_event_connection_deleted_object.rb new file mode 100644 index 00000000..81ec2e55 --- /dev/null +++ b/lib/auth0/types/event_stream_cloud_event_connection_deleted_object.rb @@ -0,0 +1,26 @@ +# frozen_string_literal: true + +module Auth0 + module Types + # The event content. + class EventStreamCloudEventConnectionDeletedObject < Internal::Types::Model + extend Auth0::Internal::Types::Union + + member -> { Auth0::Types::EventStreamCloudEventConnectionDeletedObject0 } + + member -> { Auth0::Types::EventStreamCloudEventConnectionDeletedObject1 } + + member -> { Auth0::Types::EventStreamCloudEventConnectionDeletedObject2 } + + member -> { Auth0::Types::EventStreamCloudEventConnectionDeletedObject3 } + + member -> { Auth0::Types::EventStreamCloudEventConnectionDeletedObject4 } + + member -> { Auth0::Types::EventStreamCloudEventConnectionDeletedObject5 } + + member -> { Auth0::Types::EventStreamCloudEventConnectionDeletedObject6 } + + member -> { Auth0::Types::EventStreamCloudEventConnectionDeletedObject7 } + end + end +end diff --git a/lib/auth0/types/event_stream_cloud_event_connection_deleted_object0.rb b/lib/auth0/types/event_stream_cloud_event_connection_deleted_object0.rb new file mode 100644 index 00000000..e6da436c --- /dev/null +++ b/lib/auth0/types/event_stream_cloud_event_connection_deleted_object0.rb @@ -0,0 +1,31 @@ +# frozen_string_literal: true + +module Auth0 + module Types + class EventStreamCloudEventConnectionDeletedObject0 < Internal::Types::Model + field :authentication, -> { Auth0::Types::EventStreamCloudEventConnectionDeletedObject0Authentication }, optional: true, nullable: false + + field :display_name, -> { String }, optional: true, nullable: false + + field :enabled_clients, -> { Internal::Types::Array[String] }, optional: true, nullable: false + + field :id, -> { String }, optional: false, nullable: false + + field :is_domain_connection, -> { Internal::Types::Boolean }, optional: true, nullable: false + + field :metadata, -> { Auth0::Types::EventStreamCloudEventConnectionDeletedObject0Metadata }, optional: true, nullable: false + + field :name, -> { String }, optional: false, nullable: false + + field :realms, -> { Internal::Types::Array[String] }, optional: true, nullable: false + + field :connected_accounts, -> { Auth0::Types::EventStreamCloudEventConnectionDeletedObject0ConnectedAccounts }, optional: true, nullable: false + + field :options, -> { Auth0::Types::EventStreamCloudEventConnectionDeletedObject0Options }, optional: true, nullable: false + + field :show_as_button, -> { Internal::Types::Boolean }, optional: true, nullable: false + + field :strategy, -> { Auth0::Types::EventStreamCloudEventConnectionDeletedObject0StrategyEnum }, optional: false, nullable: false + end + end +end diff --git a/lib/auth0/types/event_stream_cloud_event_connection_deleted_object0authentication.rb b/lib/auth0/types/event_stream_cloud_event_connection_deleted_object0authentication.rb new file mode 100644 index 00000000..53d9aae5 --- /dev/null +++ b/lib/auth0/types/event_stream_cloud_event_connection_deleted_object0authentication.rb @@ -0,0 +1,10 @@ +# frozen_string_literal: true + +module Auth0 + module Types + # Configure the purpose of a connection to be used for authentication during login. + class EventStreamCloudEventConnectionDeletedObject0Authentication < Internal::Types::Model + field :active, -> { Internal::Types::Boolean }, optional: false, nullable: false + end + end +end diff --git a/lib/auth0/types/event_stream_cloud_event_connection_deleted_object0connected_accounts.rb b/lib/auth0/types/event_stream_cloud_event_connection_deleted_object0connected_accounts.rb new file mode 100644 index 00000000..ed2ff821 --- /dev/null +++ b/lib/auth0/types/event_stream_cloud_event_connection_deleted_object0connected_accounts.rb @@ -0,0 +1,12 @@ +# frozen_string_literal: true + +module Auth0 + module Types + # Configure the purpose of a connection to be used for connected accounts and Token Vault. + class EventStreamCloudEventConnectionDeletedObject0ConnectedAccounts < Internal::Types::Model + field :active, -> { Internal::Types::Boolean }, optional: false, nullable: false + + field :cross_app_access, -> { Internal::Types::Boolean }, optional: true, nullable: false + end + end +end diff --git a/lib/auth0/types/event_stream_cloud_event_connection_deleted_object0metadata.rb b/lib/auth0/types/event_stream_cloud_event_connection_deleted_object0metadata.rb new file mode 100644 index 00000000..178fbd6e --- /dev/null +++ b/lib/auth0/types/event_stream_cloud_event_connection_deleted_object0metadata.rb @@ -0,0 +1,9 @@ +# frozen_string_literal: true + +module Auth0 + module Types + # Metadata associated with the connection in the form of an object with string values (max 255 chars). Maximum of + # 10 metadata properties allowed. + class EventStreamCloudEventConnectionDeletedObject0Metadata < Internal::Types::Model; end + end +end diff --git a/lib/auth0/types/event_stream_cloud_event_connection_deleted_object0options.rb b/lib/auth0/types/event_stream_cloud_event_connection_deleted_object0options.rb new file mode 100644 index 00000000..66f3630b --- /dev/null +++ b/lib/auth0/types/event_stream_cloud_event_connection_deleted_object0options.rb @@ -0,0 +1,62 @@ +# frozen_string_literal: true + +module Auth0 + module Types + # Options for the 'oidc' connection + class EventStreamCloudEventConnectionDeletedObject0Options < Internal::Types::Model + field :authorization_endpoint, -> { String }, optional: true, nullable: false + + field :client_id, -> { String }, optional: false, nullable: false + + field :connection_settings, -> { Auth0::Types::EventStreamCloudEventConnectionDeletedObject0OptionsConnectionSettings }, optional: true, nullable: false + + field :domain_aliases, -> { Internal::Types::Array[String] }, optional: true, nullable: false + + field :dpop_signing_alg, -> { Auth0::Types::EventStreamCloudEventConnectionDeletedObject0OptionsDpopSigningAlgEnum }, optional: true, nullable: false + + field :federated_connections_access_tokens, -> { Auth0::Types::EventStreamCloudEventConnectionDeletedObject0OptionsFederatedConnectionsAccessTokens }, optional: true, nullable: false + + field :icon_url, -> { String }, optional: true, nullable: false + + field :id_token_session_expiry_supported, -> { Internal::Types::Boolean }, optional: true, nullable: false + + field :id_token_signed_response_algs, -> { Internal::Types::Array[Auth0::Types::EventStreamCloudEventConnectionDeletedObject0OptionsIDTokenSignedResponseAlgsItemEnum] }, optional: true, nullable: false + + field :issuer, -> { String }, optional: true, nullable: false + + field :jwks_uri, -> { String }, optional: true, nullable: false + + field :non_persistent_attrs, -> { Internal::Types::Array[String] }, optional: true, nullable: false + + field :oidc_metadata, -> { Auth0::Types::EventStreamCloudEventConnectionDeletedObject0OptionsOidcMetadata }, optional: true, nullable: false + + field :schema_version, -> { Auth0::Types::EventStreamCloudEventConnectionDeletedObject0OptionsSchemaVersionEnum }, optional: true, nullable: false + + field :scope, -> { String }, optional: true, nullable: false + + field :send_back_channel_nonce, -> { Internal::Types::Boolean }, optional: true, nullable: false + + field :set_user_root_attributes, -> { Auth0::Types::EventStreamCloudEventConnectionDeletedObject0OptionsSetUserRootAttributesEnum }, optional: true, nullable: false + + field :tenant_domain, -> { String }, optional: true, nullable: false + + field :token_endpoint, -> { String }, optional: true, nullable: false + + field :token_endpoint_auth_method, -> { Auth0::Types::EventStreamCloudEventConnectionDeletedObject0OptionsTokenEndpointAuthMethodEnum }, optional: true, nullable: false + + field :token_endpoint_auth_signing_alg, -> { Auth0::Types::EventStreamCloudEventConnectionDeletedObject0OptionsTokenEndpointAuthSigningAlgEnum }, optional: true, nullable: false + + field :token_endpoint_jwtca_aud_format, -> { Auth0::Types::EventStreamCloudEventConnectionDeletedObject0OptionsTokenEndpointJwtcaAudFormatEnum }, optional: true, nullable: false + + field :upstream_params, -> { Internal::Types::Hash[String, Object] }, optional: true, nullable: false + + field :userinfo_endpoint, -> { String }, optional: true, nullable: false + + field :attribute_map, -> { Auth0::Types::EventStreamCloudEventConnectionDeletedObject0OptionsAttributeMap }, optional: true, nullable: false + + field :discovery_url, -> { String }, optional: true, nullable: false + + field :type, -> { Auth0::Types::EventStreamCloudEventConnectionDeletedObject0OptionsTypeEnum }, optional: true, nullable: false + end + end +end diff --git a/lib/auth0/types/event_stream_cloud_event_connection_deleted_object0options_attribute_map.rb b/lib/auth0/types/event_stream_cloud_event_connection_deleted_object0options_attribute_map.rb new file mode 100644 index 00000000..621d9d5a --- /dev/null +++ b/lib/auth0/types/event_stream_cloud_event_connection_deleted_object0options_attribute_map.rb @@ -0,0 +1,15 @@ +# frozen_string_literal: true + +module Auth0 + module Types + # Configuration for mapping claims from the identity provider to Auth0 user profile attributes. Allows customizing + # which IdP claims populate user fields and how they are transformed. + class EventStreamCloudEventConnectionDeletedObject0OptionsAttributeMap < Internal::Types::Model + field :attributes, -> { Internal::Types::Hash[String, Object] }, optional: true, nullable: false + + field :userinfo_scope, -> { String }, optional: true, nullable: false + + field :mapping_mode, -> { Auth0::Types::EventStreamCloudEventConnectionDeletedObject0OptionsAttributeMapMappingModeEnum }, optional: true, nullable: false + end + end +end diff --git a/lib/auth0/types/event_stream_cloud_event_connection_deleted_object0options_attribute_map_attributes.rb b/lib/auth0/types/event_stream_cloud_event_connection_deleted_object0options_attribute_map_attributes.rb new file mode 100644 index 00000000..3ffd7089 --- /dev/null +++ b/lib/auth0/types/event_stream_cloud_event_connection_deleted_object0options_attribute_map_attributes.rb @@ -0,0 +1,23 @@ +# frozen_string_literal: true + +module Auth0 + module Types + module EventStreamCloudEventConnectionDeletedObject0OptionsAttributeMapAttributes + # EventStreamCloudEventConnectionDeletedObject0OptionsAttributeMapAttributes is an alias for Hash + + # @option str [String] + # + # @return [untyped] + def self.load(str) + ::JSON.parse(str) + end + + # @option value [untyped] + # + # @return [String] + def self.dump(value) + ::JSON.generate(value) + end + end + end +end diff --git a/lib/auth0/types/event_stream_cloud_event_connection_deleted_object0options_attribute_map_mapping_mode_enum.rb b/lib/auth0/types/event_stream_cloud_event_connection_deleted_object0options_attribute_map_mapping_mode_enum.rb new file mode 100644 index 00000000..d8fc9cb3 --- /dev/null +++ b/lib/auth0/types/event_stream_cloud_event_connection_deleted_object0options_attribute_map_mapping_mode_enum.rb @@ -0,0 +1,12 @@ +# frozen_string_literal: true + +module Auth0 + module Types + module EventStreamCloudEventConnectionDeletedObject0OptionsAttributeMapMappingModeEnum + extend Auth0::Internal::Types::Enum + + BIND_ALL = "bind_all" + USE_MAP = "use_map" + end + end +end diff --git a/lib/auth0/types/event_stream_cloud_event_connection_deleted_object0options_connection_settings.rb b/lib/auth0/types/event_stream_cloud_event_connection_deleted_object0options_connection_settings.rb new file mode 100644 index 00000000..26860ff2 --- /dev/null +++ b/lib/auth0/types/event_stream_cloud_event_connection_deleted_object0options_connection_settings.rb @@ -0,0 +1,11 @@ +# frozen_string_literal: true + +module Auth0 + module Types + # OAuth 2.0 PKCE (Proof Key for Code Exchange) settings. PKCE enhances security for public clients by preventing + # authorization code interception attacks. 'auto' (recommended) uses the strongest method supported by the IdP. + class EventStreamCloudEventConnectionDeletedObject0OptionsConnectionSettings < Internal::Types::Model + field :pkce, -> { Auth0::Types::EventStreamCloudEventConnectionDeletedObject0OptionsConnectionSettingsPkceEnum }, optional: true, nullable: false + end + end +end diff --git a/lib/auth0/types/event_stream_cloud_event_connection_deleted_object0options_connection_settings_pkce_enum.rb b/lib/auth0/types/event_stream_cloud_event_connection_deleted_object0options_connection_settings_pkce_enum.rb new file mode 100644 index 00000000..78ef7316 --- /dev/null +++ b/lib/auth0/types/event_stream_cloud_event_connection_deleted_object0options_connection_settings_pkce_enum.rb @@ -0,0 +1,14 @@ +# frozen_string_literal: true + +module Auth0 + module Types + module EventStreamCloudEventConnectionDeletedObject0OptionsConnectionSettingsPkceEnum + extend Auth0::Internal::Types::Enum + + AUTO = "auto" + S256 = "S256" + PLAIN = "plain" + DISABLED = "disabled" + end + end +end diff --git a/lib/auth0/types/event_stream_cloud_event_connection_deleted_object0options_dpop_signing_alg_enum.rb b/lib/auth0/types/event_stream_cloud_event_connection_deleted_object0options_dpop_signing_alg_enum.rb new file mode 100644 index 00000000..85b74e87 --- /dev/null +++ b/lib/auth0/types/event_stream_cloud_event_connection_deleted_object0options_dpop_signing_alg_enum.rb @@ -0,0 +1,14 @@ +# frozen_string_literal: true + +module Auth0 + module Types + module EventStreamCloudEventConnectionDeletedObject0OptionsDpopSigningAlgEnum + extend Auth0::Internal::Types::Enum + + ES256 = "ES256" + ES384 = "ES384" + ES512 = "ES512" + ED25519 = "Ed25519" + end + end +end diff --git a/lib/auth0/types/event_stream_cloud_event_connection_deleted_object0options_federated_connections_access_tokens.rb b/lib/auth0/types/event_stream_cloud_event_connection_deleted_object0options_federated_connections_access_tokens.rb new file mode 100644 index 00000000..fb1c89f4 --- /dev/null +++ b/lib/auth0/types/event_stream_cloud_event_connection_deleted_object0options_federated_connections_access_tokens.rb @@ -0,0 +1,12 @@ +# frozen_string_literal: true + +module Auth0 + module Types + # Configuration for storing identity provider tokens in Auth0's Token Vault. When active, Auth0 securely stores + # access and refresh tokens from federated logins, enabling your application to make authenticated API calls on + # behalf of users. + class EventStreamCloudEventConnectionDeletedObject0OptionsFederatedConnectionsAccessTokens < Internal::Types::Model + field :active, -> { Internal::Types::Boolean }, optional: false, nullable: false + end + end +end diff --git a/lib/auth0/types/event_stream_cloud_event_connection_deleted_object0options_id_token_signed_response_algs_item_enum.rb b/lib/auth0/types/event_stream_cloud_event_connection_deleted_object0options_id_token_signed_response_algs_item_enum.rb new file mode 100644 index 00000000..2e47510a --- /dev/null +++ b/lib/auth0/types/event_stream_cloud_event_connection_deleted_object0options_id_token_signed_response_algs_item_enum.rb @@ -0,0 +1,17 @@ +# frozen_string_literal: true + +module Auth0 + module Types + module EventStreamCloudEventConnectionDeletedObject0OptionsIDTokenSignedResponseAlgsItemEnum + extend Auth0::Internal::Types::Enum + + ES256 = "ES256" + ES384 = "ES384" + PS256 = "PS256" + PS384 = "PS384" + RS256 = "RS256" + RS384 = "RS384" + RS512 = "RS512" + end + end +end diff --git a/lib/auth0/types/event_stream_cloud_event_connection_deleted_object0options_oidc_metadata.rb b/lib/auth0/types/event_stream_cloud_event_connection_deleted_object0options_oidc_metadata.rb new file mode 100644 index 00000000..7c391cde --- /dev/null +++ b/lib/auth0/types/event_stream_cloud_event_connection_deleted_object0options_oidc_metadata.rb @@ -0,0 +1,83 @@ +# frozen_string_literal: true + +module Auth0 + module Types + # OpenID Connect Provider Metadata as per + # https://openid.net/specs/openid-connect-discovery-1_0.html#ProviderMetadata + class EventStreamCloudEventConnectionDeletedObject0OptionsOidcMetadata < Internal::Types::Model + field :acr_values_supported, -> { Internal::Types::Array[String] }, optional: true, nullable: false + + field :authorization_endpoint, -> { String }, optional: false, nullable: false + + field :claim_types_supported, -> { Internal::Types::Array[String] }, optional: true, nullable: false + + field :claims_locales_supported, -> { Internal::Types::Array[String] }, optional: true, nullable: false + + field :claims_parameter_supported, -> { Internal::Types::Boolean }, optional: true, nullable: false + + field :claims_supported, -> { Internal::Types::Array[String] }, optional: true, nullable: false + + field :display_values_supported, -> { Internal::Types::Array[String] }, optional: true, nullable: false + + field :dpop_signing_alg_values_supported, -> { Internal::Types::Array[String] }, optional: true, nullable: false + + field :end_session_endpoint, -> { String }, optional: true, nullable: false + + field :grant_types_supported, -> { Internal::Types::Array[String] }, optional: true, nullable: false + + field :id_token_encryption_alg_values_supported, -> { Internal::Types::Array[String] }, optional: true, nullable: false + + field :id_token_encryption_enc_values_supported, -> { Internal::Types::Array[String] }, optional: true, nullable: false + + field :id_token_signing_alg_values_supported, -> { Internal::Types::Array[String] }, optional: false, nullable: false + + field :issuer, -> { String }, optional: false, nullable: false + + field :jwks_uri, -> { String }, optional: false, nullable: false + + field :op_policy_uri, -> { String }, optional: true, nullable: false + + field :op_tos_uri, -> { String }, optional: true, nullable: false + + field :registration_endpoint, -> { String }, optional: true, nullable: false + + field :request_object_encryption_alg_values_supported, -> { Internal::Types::Array[String] }, optional: true, nullable: false + + field :request_object_encryption_enc_values_supported, -> { Internal::Types::Array[String] }, optional: true, nullable: false + + field :request_object_signing_alg_values_supported, -> { Internal::Types::Array[String] }, optional: true, nullable: false + + field :request_parameter_supported, -> { Internal::Types::Boolean }, optional: true, nullable: false + + field :request_uri_parameter_supported, -> { Internal::Types::Boolean }, optional: true, nullable: false + + field :require_request_uri_registration, -> { Internal::Types::Boolean }, optional: true, nullable: false + + field :response_modes_supported, -> { Internal::Types::Array[String] }, optional: true, nullable: false + + field :response_types_supported, -> { Internal::Types::Array[String] }, optional: true, nullable: false + + field :scopes_supported, -> { Internal::Types::Array[String] }, optional: true, nullable: false + + field :service_documentation, -> { String }, optional: true, nullable: false + + field :subject_types_supported, -> { Internal::Types::Array[String] }, optional: true, nullable: false + + field :token_endpoint, -> { String }, optional: true, nullable: false + + field :token_endpoint_auth_methods_supported, -> { Internal::Types::Array[String] }, optional: true, nullable: false + + field :token_endpoint_auth_signing_alg_values_supported, -> { Internal::Types::Array[String] }, optional: true, nullable: false + + field :ui_locales_supported, -> { Internal::Types::Array[String] }, optional: true, nullable: false + + field :userinfo_encryption_alg_values_supported, -> { Internal::Types::Array[String] }, optional: true, nullable: false + + field :userinfo_encryption_enc_values_supported, -> { Internal::Types::Array[String] }, optional: true, nullable: false + + field :userinfo_endpoint, -> { String }, optional: true, nullable: false + + field :userinfo_signing_alg_values_supported, -> { Internal::Types::Array[String] }, optional: true, nullable: false + end + end +end diff --git a/lib/auth0/types/event_stream_cloud_event_connection_deleted_object0options_schema_version_enum.rb b/lib/auth0/types/event_stream_cloud_event_connection_deleted_object0options_schema_version_enum.rb new file mode 100644 index 00000000..5f9bdf87 --- /dev/null +++ b/lib/auth0/types/event_stream_cloud_event_connection_deleted_object0options_schema_version_enum.rb @@ -0,0 +1,12 @@ +# frozen_string_literal: true + +module Auth0 + module Types + module EventStreamCloudEventConnectionDeletedObject0OptionsSchemaVersionEnum + extend Auth0::Internal::Types::Enum + + OPENID100 = "openid-1.0.0" + OIDC_V4 = "oidc-v4" + end + end +end diff --git a/lib/auth0/types/event_stream_cloud_event_connection_deleted_object0options_set_user_root_attributes_enum.rb b/lib/auth0/types/event_stream_cloud_event_connection_deleted_object0options_set_user_root_attributes_enum.rb new file mode 100644 index 00000000..bb1583a4 --- /dev/null +++ b/lib/auth0/types/event_stream_cloud_event_connection_deleted_object0options_set_user_root_attributes_enum.rb @@ -0,0 +1,13 @@ +# frozen_string_literal: true + +module Auth0 + module Types + module EventStreamCloudEventConnectionDeletedObject0OptionsSetUserRootAttributesEnum + extend Auth0::Internal::Types::Enum + + ON_EACH_LOGIN = "on_each_login" + ON_FIRST_LOGIN = "on_first_login" + NEVER_ON_LOGIN = "never_on_login" + end + end +end diff --git a/lib/auth0/types/event_stream_cloud_event_connection_deleted_object0options_token_endpoint_auth_method_enum.rb b/lib/auth0/types/event_stream_cloud_event_connection_deleted_object0options_token_endpoint_auth_method_enum.rb new file mode 100644 index 00000000..eac5f143 --- /dev/null +++ b/lib/auth0/types/event_stream_cloud_event_connection_deleted_object0options_token_endpoint_auth_method_enum.rb @@ -0,0 +1,12 @@ +# frozen_string_literal: true + +module Auth0 + module Types + module EventStreamCloudEventConnectionDeletedObject0OptionsTokenEndpointAuthMethodEnum + extend Auth0::Internal::Types::Enum + + CLIENT_SECRET_POST = "client_secret_post" + PRIVATE_KEY_JWT = "private_key_jwt" + end + end +end diff --git a/lib/auth0/types/event_stream_cloud_event_connection_deleted_object0options_token_endpoint_auth_signing_alg_enum.rb b/lib/auth0/types/event_stream_cloud_event_connection_deleted_object0options_token_endpoint_auth_signing_alg_enum.rb new file mode 100644 index 00000000..19bc5a62 --- /dev/null +++ b/lib/auth0/types/event_stream_cloud_event_connection_deleted_object0options_token_endpoint_auth_signing_alg_enum.rb @@ -0,0 +1,17 @@ +# frozen_string_literal: true + +module Auth0 + module Types + module EventStreamCloudEventConnectionDeletedObject0OptionsTokenEndpointAuthSigningAlgEnum + extend Auth0::Internal::Types::Enum + + ES256 = "ES256" + ES384 = "ES384" + PS256 = "PS256" + PS384 = "PS384" + RS256 = "RS256" + RS384 = "RS384" + RS512 = "RS512" + end + end +end diff --git a/lib/auth0/types/event_stream_cloud_event_connection_deleted_object0options_token_endpoint_jwtca_aud_format_enum.rb b/lib/auth0/types/event_stream_cloud_event_connection_deleted_object0options_token_endpoint_jwtca_aud_format_enum.rb new file mode 100644 index 00000000..5283b547 --- /dev/null +++ b/lib/auth0/types/event_stream_cloud_event_connection_deleted_object0options_token_endpoint_jwtca_aud_format_enum.rb @@ -0,0 +1,12 @@ +# frozen_string_literal: true + +module Auth0 + module Types + module EventStreamCloudEventConnectionDeletedObject0OptionsTokenEndpointJwtcaAudFormatEnum + extend Auth0::Internal::Types::Enum + + ISSUER = "issuer" + TOKEN_ENDPOINT = "token_endpoint" + end + end +end diff --git a/lib/auth0/types/event_stream_cloud_event_connection_deleted_object0options_type_enum.rb b/lib/auth0/types/event_stream_cloud_event_connection_deleted_object0options_type_enum.rb new file mode 100644 index 00000000..130fa701 --- /dev/null +++ b/lib/auth0/types/event_stream_cloud_event_connection_deleted_object0options_type_enum.rb @@ -0,0 +1,12 @@ +# frozen_string_literal: true + +module Auth0 + module Types + module EventStreamCloudEventConnectionDeletedObject0OptionsTypeEnum + extend Auth0::Internal::Types::Enum + + BACK_CHANNEL = "back_channel" + FRONT_CHANNEL = "front_channel" + end + end +end diff --git a/lib/auth0/types/event_stream_cloud_event_connection_deleted_object0options_upstream_params.rb b/lib/auth0/types/event_stream_cloud_event_connection_deleted_object0options_upstream_params.rb new file mode 100644 index 00000000..1f6404d3 --- /dev/null +++ b/lib/auth0/types/event_stream_cloud_event_connection_deleted_object0options_upstream_params.rb @@ -0,0 +1,23 @@ +# frozen_string_literal: true + +module Auth0 + module Types + module EventStreamCloudEventConnectionDeletedObject0OptionsUpstreamParams + # EventStreamCloudEventConnectionDeletedObject0OptionsUpstreamParams is an alias for Hash + + # @option str [String] + # + # @return [untyped] + def self.load(str) + ::JSON.parse(str) + end + + # @option value [untyped] + # + # @return [String] + def self.dump(value) + ::JSON.generate(value) + end + end + end +end diff --git a/lib/auth0/types/event_stream_cloud_event_connection_deleted_object0strategy_enum.rb b/lib/auth0/types/event_stream_cloud_event_connection_deleted_object0strategy_enum.rb new file mode 100644 index 00000000..53de323c --- /dev/null +++ b/lib/auth0/types/event_stream_cloud_event_connection_deleted_object0strategy_enum.rb @@ -0,0 +1,11 @@ +# frozen_string_literal: true + +module Auth0 + module Types + module EventStreamCloudEventConnectionDeletedObject0StrategyEnum + extend Auth0::Internal::Types::Enum + + OIDC = "oidc" + end + end +end diff --git a/lib/auth0/types/event_stream_cloud_event_connection_deleted_object1.rb b/lib/auth0/types/event_stream_cloud_event_connection_deleted_object1.rb new file mode 100644 index 00000000..1a34fe6a --- /dev/null +++ b/lib/auth0/types/event_stream_cloud_event_connection_deleted_object1.rb @@ -0,0 +1,31 @@ +# frozen_string_literal: true + +module Auth0 + module Types + class EventStreamCloudEventConnectionDeletedObject1 < Internal::Types::Model + field :authentication, -> { Auth0::Types::EventStreamCloudEventConnectionDeletedObject1Authentication }, optional: true, nullable: false + + field :connected_accounts, -> { Auth0::Types::EventStreamCloudEventConnectionDeletedObject1ConnectedAccounts }, optional: true, nullable: false + + field :display_name, -> { String }, optional: true, nullable: false + + field :enabled_clients, -> { Internal::Types::Array[String] }, optional: true, nullable: false + + field :id, -> { String }, optional: false, nullable: false + + field :is_domain_connection, -> { Internal::Types::Boolean }, optional: true, nullable: false + + field :metadata, -> { Auth0::Types::EventStreamCloudEventConnectionDeletedObject1Metadata }, optional: true, nullable: false + + field :name, -> { String }, optional: false, nullable: false + + field :realms, -> { Internal::Types::Array[String] }, optional: true, nullable: false + + field :options, -> { Auth0::Types::EventStreamCloudEventConnectionDeletedObject1Options }, optional: true, nullable: false + + field :show_as_button, -> { Internal::Types::Boolean }, optional: true, nullable: false + + field :strategy, -> { Auth0::Types::EventStreamCloudEventConnectionDeletedObject1StrategyEnum }, optional: false, nullable: false + end + end +end diff --git a/lib/auth0/types/event_stream_cloud_event_connection_deleted_object1authentication.rb b/lib/auth0/types/event_stream_cloud_event_connection_deleted_object1authentication.rb new file mode 100644 index 00000000..5c8e9b90 --- /dev/null +++ b/lib/auth0/types/event_stream_cloud_event_connection_deleted_object1authentication.rb @@ -0,0 +1,10 @@ +# frozen_string_literal: true + +module Auth0 + module Types + # Configure the purpose of a connection to be used for authentication during login. + class EventStreamCloudEventConnectionDeletedObject1Authentication < Internal::Types::Model + field :active, -> { Internal::Types::Boolean }, optional: false, nullable: false + end + end +end diff --git a/lib/auth0/types/event_stream_cloud_event_connection_deleted_object1connected_accounts.rb b/lib/auth0/types/event_stream_cloud_event_connection_deleted_object1connected_accounts.rb new file mode 100644 index 00000000..9bf6e12a --- /dev/null +++ b/lib/auth0/types/event_stream_cloud_event_connection_deleted_object1connected_accounts.rb @@ -0,0 +1,10 @@ +# frozen_string_literal: true + +module Auth0 + module Types + # Configure the purpose of a connection to be used for connected accounts and Token Vault. + class EventStreamCloudEventConnectionDeletedObject1ConnectedAccounts < Internal::Types::Model + field :active, -> { Internal::Types::Boolean }, optional: false, nullable: false + end + end +end diff --git a/lib/auth0/types/event_stream_cloud_event_connection_deleted_object1metadata.rb b/lib/auth0/types/event_stream_cloud_event_connection_deleted_object1metadata.rb new file mode 100644 index 00000000..919dac0f --- /dev/null +++ b/lib/auth0/types/event_stream_cloud_event_connection_deleted_object1metadata.rb @@ -0,0 +1,9 @@ +# frozen_string_literal: true + +module Auth0 + module Types + # Metadata associated with the connection in the form of an object with string values (max 255 chars). Maximum of + # 10 metadata properties allowed. + class EventStreamCloudEventConnectionDeletedObject1Metadata < Internal::Types::Model; end + end +end diff --git a/lib/auth0/types/event_stream_cloud_event_connection_deleted_object1options.rb b/lib/auth0/types/event_stream_cloud_event_connection_deleted_object1options.rb new file mode 100644 index 00000000..1668f8cd --- /dev/null +++ b/lib/auth0/types/event_stream_cloud_event_connection_deleted_object1options.rb @@ -0,0 +1,62 @@ +# frozen_string_literal: true + +module Auth0 + module Types + # Options for the 'okta' connection + class EventStreamCloudEventConnectionDeletedObject1Options < Internal::Types::Model + field :authorization_endpoint, -> { String }, optional: true, nullable: false + + field :client_id, -> { String }, optional: false, nullable: false + + field :connection_settings, -> { Auth0::Types::EventStreamCloudEventConnectionDeletedObject1OptionsConnectionSettings }, optional: true, nullable: false + + field :domain_aliases, -> { Internal::Types::Array[String] }, optional: true, nullable: false + + field :dpop_signing_alg, -> { Auth0::Types::EventStreamCloudEventConnectionDeletedObject1OptionsDpopSigningAlgEnum }, optional: true, nullable: false + + field :federated_connections_access_tokens, -> { Auth0::Types::EventStreamCloudEventConnectionDeletedObject1OptionsFederatedConnectionsAccessTokens }, optional: true, nullable: false + + field :icon_url, -> { String }, optional: true, nullable: false + + field :id_token_session_expiry_supported, -> { Internal::Types::Boolean }, optional: true, nullable: false + + field :id_token_signed_response_algs, -> { Internal::Types::Array[Auth0::Types::EventStreamCloudEventConnectionDeletedObject1OptionsIDTokenSignedResponseAlgsItemEnum] }, optional: true, nullable: false + + field :issuer, -> { String }, optional: true, nullable: false + + field :jwks_uri, -> { String }, optional: true, nullable: false + + field :non_persistent_attrs, -> { Internal::Types::Array[String] }, optional: true, nullable: false + + field :oidc_metadata, -> { Auth0::Types::EventStreamCloudEventConnectionDeletedObject1OptionsOidcMetadata }, optional: true, nullable: false + + field :schema_version, -> { Auth0::Types::EventStreamCloudEventConnectionDeletedObject1OptionsSchemaVersionEnum }, optional: true, nullable: false + + field :scope, -> { String }, optional: true, nullable: false + + field :send_back_channel_nonce, -> { Internal::Types::Boolean }, optional: true, nullable: false + + field :set_user_root_attributes, -> { Auth0::Types::EventStreamCloudEventConnectionDeletedObject1OptionsSetUserRootAttributesEnum }, optional: true, nullable: false + + field :tenant_domain, -> { String }, optional: true, nullable: false + + field :token_endpoint, -> { String }, optional: true, nullable: false + + field :token_endpoint_auth_method, -> { Auth0::Types::EventStreamCloudEventConnectionDeletedObject1OptionsTokenEndpointAuthMethodEnum }, optional: true, nullable: false + + field :token_endpoint_auth_signing_alg, -> { Auth0::Types::EventStreamCloudEventConnectionDeletedObject1OptionsTokenEndpointAuthSigningAlgEnum }, optional: true, nullable: false + + field :token_endpoint_jwtca_aud_format, -> { Auth0::Types::EventStreamCloudEventConnectionDeletedObject1OptionsTokenEndpointJwtcaAudFormatEnum }, optional: true, nullable: false + + field :upstream_params, -> { Internal::Types::Hash[String, Object] }, optional: true, nullable: false + + field :userinfo_endpoint, -> { String }, optional: true, nullable: false + + field :attribute_map, -> { Auth0::Types::EventStreamCloudEventConnectionDeletedObject1OptionsAttributeMap }, optional: true, nullable: false + + field :domain, -> { String }, optional: true, nullable: false + + field :type, -> { Auth0::Types::EventStreamCloudEventConnectionDeletedObject1OptionsTypeEnum }, optional: true, nullable: false + end + end +end diff --git a/lib/auth0/types/event_stream_cloud_event_connection_deleted_object1options_attribute_map.rb b/lib/auth0/types/event_stream_cloud_event_connection_deleted_object1options_attribute_map.rb new file mode 100644 index 00000000..23bb5123 --- /dev/null +++ b/lib/auth0/types/event_stream_cloud_event_connection_deleted_object1options_attribute_map.rb @@ -0,0 +1,14 @@ +# frozen_string_literal: true + +module Auth0 + module Types + # Mapping of claims received from the identity provider (IdP) + class EventStreamCloudEventConnectionDeletedObject1OptionsAttributeMap < Internal::Types::Model + field :attributes, -> { Internal::Types::Hash[String, Object] }, optional: true, nullable: false + + field :userinfo_scope, -> { String }, optional: true, nullable: false + + field :mapping_mode, -> { Auth0::Types::EventStreamCloudEventConnectionDeletedObject1OptionsAttributeMapMappingModeEnum }, optional: true, nullable: false + end + end +end diff --git a/lib/auth0/types/event_stream_cloud_event_connection_deleted_object1options_attribute_map_attributes.rb b/lib/auth0/types/event_stream_cloud_event_connection_deleted_object1options_attribute_map_attributes.rb new file mode 100644 index 00000000..eb2fe579 --- /dev/null +++ b/lib/auth0/types/event_stream_cloud_event_connection_deleted_object1options_attribute_map_attributes.rb @@ -0,0 +1,23 @@ +# frozen_string_literal: true + +module Auth0 + module Types + module EventStreamCloudEventConnectionDeletedObject1OptionsAttributeMapAttributes + # EventStreamCloudEventConnectionDeletedObject1OptionsAttributeMapAttributes is an alias for Hash + + # @option str [String] + # + # @return [untyped] + def self.load(str) + ::JSON.parse(str) + end + + # @option value [untyped] + # + # @return [String] + def self.dump(value) + ::JSON.generate(value) + end + end + end +end diff --git a/lib/auth0/types/event_stream_cloud_event_connection_deleted_object1options_attribute_map_mapping_mode_enum.rb b/lib/auth0/types/event_stream_cloud_event_connection_deleted_object1options_attribute_map_mapping_mode_enum.rb new file mode 100644 index 00000000..882414ba --- /dev/null +++ b/lib/auth0/types/event_stream_cloud_event_connection_deleted_object1options_attribute_map_mapping_mode_enum.rb @@ -0,0 +1,12 @@ +# frozen_string_literal: true + +module Auth0 + module Types + module EventStreamCloudEventConnectionDeletedObject1OptionsAttributeMapMappingModeEnum + extend Auth0::Internal::Types::Enum + + BASIC_PROFILE = "basic_profile" + USE_MAP = "use_map" + end + end +end diff --git a/lib/auth0/types/event_stream_cloud_event_connection_deleted_object1options_connection_settings.rb b/lib/auth0/types/event_stream_cloud_event_connection_deleted_object1options_connection_settings.rb new file mode 100644 index 00000000..9f2c87ce --- /dev/null +++ b/lib/auth0/types/event_stream_cloud_event_connection_deleted_object1options_connection_settings.rb @@ -0,0 +1,11 @@ +# frozen_string_literal: true + +module Auth0 + module Types + # OAuth 2.0 PKCE (Proof Key for Code Exchange) settings. PKCE enhances security for public clients by preventing + # authorization code interception attacks. 'auto' (recommended) uses the strongest method supported by the IdP. + class EventStreamCloudEventConnectionDeletedObject1OptionsConnectionSettings < Internal::Types::Model + field :pkce, -> { Auth0::Types::EventStreamCloudEventConnectionDeletedObject1OptionsConnectionSettingsPkceEnum }, optional: true, nullable: false + end + end +end diff --git a/lib/auth0/types/event_stream_cloud_event_connection_deleted_object1options_connection_settings_pkce_enum.rb b/lib/auth0/types/event_stream_cloud_event_connection_deleted_object1options_connection_settings_pkce_enum.rb new file mode 100644 index 00000000..f6bbbc32 --- /dev/null +++ b/lib/auth0/types/event_stream_cloud_event_connection_deleted_object1options_connection_settings_pkce_enum.rb @@ -0,0 +1,14 @@ +# frozen_string_literal: true + +module Auth0 + module Types + module EventStreamCloudEventConnectionDeletedObject1OptionsConnectionSettingsPkceEnum + extend Auth0::Internal::Types::Enum + + AUTO = "auto" + S256 = "S256" + PLAIN = "plain" + DISABLED = "disabled" + end + end +end diff --git a/lib/auth0/types/event_stream_cloud_event_connection_deleted_object1options_dpop_signing_alg_enum.rb b/lib/auth0/types/event_stream_cloud_event_connection_deleted_object1options_dpop_signing_alg_enum.rb new file mode 100644 index 00000000..5c769082 --- /dev/null +++ b/lib/auth0/types/event_stream_cloud_event_connection_deleted_object1options_dpop_signing_alg_enum.rb @@ -0,0 +1,14 @@ +# frozen_string_literal: true + +module Auth0 + module Types + module EventStreamCloudEventConnectionDeletedObject1OptionsDpopSigningAlgEnum + extend Auth0::Internal::Types::Enum + + ES256 = "ES256" + ES384 = "ES384" + ES512 = "ES512" + ED25519 = "Ed25519" + end + end +end diff --git a/lib/auth0/types/event_stream_cloud_event_connection_deleted_object1options_federated_connections_access_tokens.rb b/lib/auth0/types/event_stream_cloud_event_connection_deleted_object1options_federated_connections_access_tokens.rb new file mode 100644 index 00000000..97d2e22f --- /dev/null +++ b/lib/auth0/types/event_stream_cloud_event_connection_deleted_object1options_federated_connections_access_tokens.rb @@ -0,0 +1,12 @@ +# frozen_string_literal: true + +module Auth0 + module Types + # Configuration for storing identity provider tokens in Auth0's Token Vault. When active, Auth0 securely stores + # access and refresh tokens from federated logins, enabling your application to make authenticated API calls on + # behalf of users. + class EventStreamCloudEventConnectionDeletedObject1OptionsFederatedConnectionsAccessTokens < Internal::Types::Model + field :active, -> { Internal::Types::Boolean }, optional: false, nullable: false + end + end +end diff --git a/lib/auth0/types/event_stream_cloud_event_connection_deleted_object1options_id_token_signed_response_algs_item_enum.rb b/lib/auth0/types/event_stream_cloud_event_connection_deleted_object1options_id_token_signed_response_algs_item_enum.rb new file mode 100644 index 00000000..63bfefd6 --- /dev/null +++ b/lib/auth0/types/event_stream_cloud_event_connection_deleted_object1options_id_token_signed_response_algs_item_enum.rb @@ -0,0 +1,17 @@ +# frozen_string_literal: true + +module Auth0 + module Types + module EventStreamCloudEventConnectionDeletedObject1OptionsIDTokenSignedResponseAlgsItemEnum + extend Auth0::Internal::Types::Enum + + ES256 = "ES256" + ES384 = "ES384" + PS256 = "PS256" + PS384 = "PS384" + RS256 = "RS256" + RS384 = "RS384" + RS512 = "RS512" + end + end +end diff --git a/lib/auth0/types/event_stream_cloud_event_connection_deleted_object1options_oidc_metadata.rb b/lib/auth0/types/event_stream_cloud_event_connection_deleted_object1options_oidc_metadata.rb new file mode 100644 index 00000000..b7f07084 --- /dev/null +++ b/lib/auth0/types/event_stream_cloud_event_connection_deleted_object1options_oidc_metadata.rb @@ -0,0 +1,83 @@ +# frozen_string_literal: true + +module Auth0 + module Types + # OpenID Connect Provider Metadata as per + # https://openid.net/specs/openid-connect-discovery-1_0.html#ProviderMetadata + class EventStreamCloudEventConnectionDeletedObject1OptionsOidcMetadata < Internal::Types::Model + field :acr_values_supported, -> { Internal::Types::Array[String] }, optional: true, nullable: false + + field :authorization_endpoint, -> { String }, optional: false, nullable: false + + field :claim_types_supported, -> { Internal::Types::Array[String] }, optional: true, nullable: false + + field :claims_locales_supported, -> { Internal::Types::Array[String] }, optional: true, nullable: false + + field :claims_parameter_supported, -> { Internal::Types::Boolean }, optional: true, nullable: false + + field :claims_supported, -> { Internal::Types::Array[String] }, optional: true, nullable: false + + field :display_values_supported, -> { Internal::Types::Array[String] }, optional: true, nullable: false + + field :dpop_signing_alg_values_supported, -> { Internal::Types::Array[String] }, optional: true, nullable: false + + field :end_session_endpoint, -> { String }, optional: true, nullable: false + + field :grant_types_supported, -> { Internal::Types::Array[String] }, optional: true, nullable: false + + field :id_token_encryption_alg_values_supported, -> { Internal::Types::Array[String] }, optional: true, nullable: false + + field :id_token_encryption_enc_values_supported, -> { Internal::Types::Array[String] }, optional: true, nullable: false + + field :id_token_signing_alg_values_supported, -> { Internal::Types::Array[String] }, optional: false, nullable: false + + field :issuer, -> { String }, optional: false, nullable: false + + field :jwks_uri, -> { String }, optional: false, nullable: false + + field :op_policy_uri, -> { String }, optional: true, nullable: false + + field :op_tos_uri, -> { String }, optional: true, nullable: false + + field :registration_endpoint, -> { String }, optional: true, nullable: false + + field :request_object_encryption_alg_values_supported, -> { Internal::Types::Array[String] }, optional: true, nullable: false + + field :request_object_encryption_enc_values_supported, -> { Internal::Types::Array[String] }, optional: true, nullable: false + + field :request_object_signing_alg_values_supported, -> { Internal::Types::Array[String] }, optional: true, nullable: false + + field :request_parameter_supported, -> { Internal::Types::Boolean }, optional: true, nullable: false + + field :request_uri_parameter_supported, -> { Internal::Types::Boolean }, optional: true, nullable: false + + field :require_request_uri_registration, -> { Internal::Types::Boolean }, optional: true, nullable: false + + field :response_modes_supported, -> { Internal::Types::Array[String] }, optional: true, nullable: false + + field :response_types_supported, -> { Internal::Types::Array[String] }, optional: true, nullable: false + + field :scopes_supported, -> { Internal::Types::Array[String] }, optional: true, nullable: false + + field :service_documentation, -> { String }, optional: true, nullable: false + + field :subject_types_supported, -> { Internal::Types::Array[String] }, optional: true, nullable: false + + field :token_endpoint, -> { String }, optional: true, nullable: false + + field :token_endpoint_auth_methods_supported, -> { Internal::Types::Array[String] }, optional: true, nullable: false + + field :token_endpoint_auth_signing_alg_values_supported, -> { Internal::Types::Array[String] }, optional: true, nullable: false + + field :ui_locales_supported, -> { Internal::Types::Array[String] }, optional: true, nullable: false + + field :userinfo_encryption_alg_values_supported, -> { Internal::Types::Array[String] }, optional: true, nullable: false + + field :userinfo_encryption_enc_values_supported, -> { Internal::Types::Array[String] }, optional: true, nullable: false + + field :userinfo_endpoint, -> { String }, optional: true, nullable: false + + field :userinfo_signing_alg_values_supported, -> { Internal::Types::Array[String] }, optional: true, nullable: false + end + end +end diff --git a/lib/auth0/types/event_stream_cloud_event_connection_deleted_object1options_schema_version_enum.rb b/lib/auth0/types/event_stream_cloud_event_connection_deleted_object1options_schema_version_enum.rb new file mode 100644 index 00000000..1eee0551 --- /dev/null +++ b/lib/auth0/types/event_stream_cloud_event_connection_deleted_object1options_schema_version_enum.rb @@ -0,0 +1,12 @@ +# frozen_string_literal: true + +module Auth0 + module Types + module EventStreamCloudEventConnectionDeletedObject1OptionsSchemaVersionEnum + extend Auth0::Internal::Types::Enum + + OPENID100 = "openid-1.0.0" + OIDC_V4 = "oidc-v4" + end + end +end diff --git a/lib/auth0/types/event_stream_cloud_event_connection_deleted_object1options_set_user_root_attributes_enum.rb b/lib/auth0/types/event_stream_cloud_event_connection_deleted_object1options_set_user_root_attributes_enum.rb new file mode 100644 index 00000000..514741c4 --- /dev/null +++ b/lib/auth0/types/event_stream_cloud_event_connection_deleted_object1options_set_user_root_attributes_enum.rb @@ -0,0 +1,13 @@ +# frozen_string_literal: true + +module Auth0 + module Types + module EventStreamCloudEventConnectionDeletedObject1OptionsSetUserRootAttributesEnum + extend Auth0::Internal::Types::Enum + + ON_EACH_LOGIN = "on_each_login" + ON_FIRST_LOGIN = "on_first_login" + NEVER_ON_LOGIN = "never_on_login" + end + end +end diff --git a/lib/auth0/types/event_stream_cloud_event_connection_deleted_object1options_token_endpoint_auth_method_enum.rb b/lib/auth0/types/event_stream_cloud_event_connection_deleted_object1options_token_endpoint_auth_method_enum.rb new file mode 100644 index 00000000..8090e8d8 --- /dev/null +++ b/lib/auth0/types/event_stream_cloud_event_connection_deleted_object1options_token_endpoint_auth_method_enum.rb @@ -0,0 +1,12 @@ +# frozen_string_literal: true + +module Auth0 + module Types + module EventStreamCloudEventConnectionDeletedObject1OptionsTokenEndpointAuthMethodEnum + extend Auth0::Internal::Types::Enum + + CLIENT_SECRET_POST = "client_secret_post" + PRIVATE_KEY_JWT = "private_key_jwt" + end + end +end diff --git a/lib/auth0/types/event_stream_cloud_event_connection_deleted_object1options_token_endpoint_auth_signing_alg_enum.rb b/lib/auth0/types/event_stream_cloud_event_connection_deleted_object1options_token_endpoint_auth_signing_alg_enum.rb new file mode 100644 index 00000000..55e42e9e --- /dev/null +++ b/lib/auth0/types/event_stream_cloud_event_connection_deleted_object1options_token_endpoint_auth_signing_alg_enum.rb @@ -0,0 +1,17 @@ +# frozen_string_literal: true + +module Auth0 + module Types + module EventStreamCloudEventConnectionDeletedObject1OptionsTokenEndpointAuthSigningAlgEnum + extend Auth0::Internal::Types::Enum + + ES256 = "ES256" + ES384 = "ES384" + PS256 = "PS256" + PS384 = "PS384" + RS256 = "RS256" + RS384 = "RS384" + RS512 = "RS512" + end + end +end diff --git a/lib/auth0/types/event_stream_cloud_event_connection_deleted_object1options_token_endpoint_jwtca_aud_format_enum.rb b/lib/auth0/types/event_stream_cloud_event_connection_deleted_object1options_token_endpoint_jwtca_aud_format_enum.rb new file mode 100644 index 00000000..377c0b22 --- /dev/null +++ b/lib/auth0/types/event_stream_cloud_event_connection_deleted_object1options_token_endpoint_jwtca_aud_format_enum.rb @@ -0,0 +1,12 @@ +# frozen_string_literal: true + +module Auth0 + module Types + module EventStreamCloudEventConnectionDeletedObject1OptionsTokenEndpointJwtcaAudFormatEnum + extend Auth0::Internal::Types::Enum + + ISSUER = "issuer" + TOKEN_ENDPOINT = "token_endpoint" + end + end +end diff --git a/lib/auth0/types/event_stream_cloud_event_connection_deleted_object1options_type_enum.rb b/lib/auth0/types/event_stream_cloud_event_connection_deleted_object1options_type_enum.rb new file mode 100644 index 00000000..35df53eb --- /dev/null +++ b/lib/auth0/types/event_stream_cloud_event_connection_deleted_object1options_type_enum.rb @@ -0,0 +1,11 @@ +# frozen_string_literal: true + +module Auth0 + module Types + module EventStreamCloudEventConnectionDeletedObject1OptionsTypeEnum + extend Auth0::Internal::Types::Enum + + BACK_CHANNEL = "back_channel" + end + end +end diff --git a/lib/auth0/types/event_stream_cloud_event_connection_deleted_object1options_upstream_params.rb b/lib/auth0/types/event_stream_cloud_event_connection_deleted_object1options_upstream_params.rb new file mode 100644 index 00000000..e9285800 --- /dev/null +++ b/lib/auth0/types/event_stream_cloud_event_connection_deleted_object1options_upstream_params.rb @@ -0,0 +1,23 @@ +# frozen_string_literal: true + +module Auth0 + module Types + module EventStreamCloudEventConnectionDeletedObject1OptionsUpstreamParams + # EventStreamCloudEventConnectionDeletedObject1OptionsUpstreamParams is an alias for Hash + + # @option str [String] + # + # @return [untyped] + def self.load(str) + ::JSON.parse(str) + end + + # @option value [untyped] + # + # @return [String] + def self.dump(value) + ::JSON.generate(value) + end + end + end +end diff --git a/lib/auth0/types/event_stream_cloud_event_connection_deleted_object1strategy_enum.rb b/lib/auth0/types/event_stream_cloud_event_connection_deleted_object1strategy_enum.rb new file mode 100644 index 00000000..597f990e --- /dev/null +++ b/lib/auth0/types/event_stream_cloud_event_connection_deleted_object1strategy_enum.rb @@ -0,0 +1,11 @@ +# frozen_string_literal: true + +module Auth0 + module Types + module EventStreamCloudEventConnectionDeletedObject1StrategyEnum + extend Auth0::Internal::Types::Enum + + OKTA = "okta" + end + end +end diff --git a/lib/auth0/types/event_stream_cloud_event_connection_deleted_object2.rb b/lib/auth0/types/event_stream_cloud_event_connection_deleted_object2.rb new file mode 100644 index 00000000..ba5acfb5 --- /dev/null +++ b/lib/auth0/types/event_stream_cloud_event_connection_deleted_object2.rb @@ -0,0 +1,31 @@ +# frozen_string_literal: true + +module Auth0 + module Types + class EventStreamCloudEventConnectionDeletedObject2 < Internal::Types::Model + field :authentication, -> { Auth0::Types::EventStreamCloudEventConnectionDeletedObject2Authentication }, optional: true, nullable: false + + field :connected_accounts, -> { Auth0::Types::EventStreamCloudEventConnectionDeletedObject2ConnectedAccounts }, optional: true, nullable: false + + field :display_name, -> { String }, optional: true, nullable: false + + field :enabled_clients, -> { Internal::Types::Array[String] }, optional: true, nullable: false + + field :id, -> { String }, optional: false, nullable: false + + field :is_domain_connection, -> { Internal::Types::Boolean }, optional: true, nullable: false + + field :metadata, -> { Auth0::Types::EventStreamCloudEventConnectionDeletedObject2Metadata }, optional: true, nullable: false + + field :name, -> { String }, optional: false, nullable: false + + field :realms, -> { Internal::Types::Array[String] }, optional: true, nullable: false + + field :options, -> { Auth0::Types::EventStreamCloudEventConnectionDeletedObject2Options }, optional: true, nullable: false + + field :show_as_button, -> { Internal::Types::Boolean }, optional: true, nullable: false + + field :strategy, -> { Auth0::Types::EventStreamCloudEventConnectionDeletedObject2StrategyEnum }, optional: false, nullable: false + end + end +end diff --git a/lib/auth0/types/event_stream_cloud_event_connection_deleted_object2authentication.rb b/lib/auth0/types/event_stream_cloud_event_connection_deleted_object2authentication.rb new file mode 100644 index 00000000..cfacdff6 --- /dev/null +++ b/lib/auth0/types/event_stream_cloud_event_connection_deleted_object2authentication.rb @@ -0,0 +1,10 @@ +# frozen_string_literal: true + +module Auth0 + module Types + # Configure the purpose of a connection to be used for authentication during login. + class EventStreamCloudEventConnectionDeletedObject2Authentication < Internal::Types::Model + field :active, -> { Internal::Types::Boolean }, optional: false, nullable: false + end + end +end diff --git a/lib/auth0/types/event_stream_cloud_event_connection_deleted_object2connected_accounts.rb b/lib/auth0/types/event_stream_cloud_event_connection_deleted_object2connected_accounts.rb new file mode 100644 index 00000000..e09930d5 --- /dev/null +++ b/lib/auth0/types/event_stream_cloud_event_connection_deleted_object2connected_accounts.rb @@ -0,0 +1,10 @@ +# frozen_string_literal: true + +module Auth0 + module Types + # Configure the purpose of a connection to be used for connected accounts and Token Vault. + class EventStreamCloudEventConnectionDeletedObject2ConnectedAccounts < Internal::Types::Model + field :active, -> { Internal::Types::Boolean }, optional: false, nullable: false + end + end +end diff --git a/lib/auth0/types/event_stream_cloud_event_connection_deleted_object2metadata.rb b/lib/auth0/types/event_stream_cloud_event_connection_deleted_object2metadata.rb new file mode 100644 index 00000000..e96dfd82 --- /dev/null +++ b/lib/auth0/types/event_stream_cloud_event_connection_deleted_object2metadata.rb @@ -0,0 +1,9 @@ +# frozen_string_literal: true + +module Auth0 + module Types + # Metadata associated with the connection in the form of an object with string values (max 255 chars). Maximum of + # 10 metadata properties allowed. + class EventStreamCloudEventConnectionDeletedObject2Metadata < Internal::Types::Model; end + end +end diff --git a/lib/auth0/types/event_stream_cloud_event_connection_deleted_object2options.rb b/lib/auth0/types/event_stream_cloud_event_connection_deleted_object2options.rb new file mode 100644 index 00000000..72eec5c4 --- /dev/null +++ b/lib/auth0/types/event_stream_cloud_event_connection_deleted_object2options.rb @@ -0,0 +1,72 @@ +# frozen_string_literal: true + +module Auth0 + module Types + # Options for the 'samlp' connection + class EventStreamCloudEventConnectionDeletedObject2Options < Internal::Types::Model + field :assertion_decryption_settings, -> { Auth0::Types::EventStreamCloudEventConnectionDeletedObject2OptionsAssertionDecryptionSettings }, optional: true, nullable: false + + field :cert, -> { String }, optional: true, nullable: false + + field :cert_rollover_notification, -> { String }, optional: true, nullable: false + + field :digest_algorithm, -> { Auth0::Types::EventStreamCloudEventConnectionDeletedObject2OptionsDigestAlgorithmEnum }, optional: true, nullable: false, api_name: "digestAlgorithm" + + field :domain_aliases, -> { Internal::Types::Array[String] }, optional: true, nullable: false + + field :entity_id, -> { String }, optional: true, nullable: false, api_name: "entityId" + + field :expires, -> { String }, optional: true, nullable: false + + field :icon_url, -> { String }, optional: true, nullable: false + + field :idpinitiated, -> { Auth0::Types::EventStreamCloudEventConnectionDeletedObject2OptionsIdpinitiated }, optional: true, nullable: false + + field :non_persistent_attrs, -> { Internal::Types::Array[String] }, optional: true, nullable: false + + field :protocol_binding, -> { Auth0::Types::EventStreamCloudEventConnectionDeletedObject2OptionsProtocolBindingEnum }, optional: true, nullable: false, api_name: "protocolBinding" + + field :set_user_root_attributes, -> { Auth0::Types::EventStreamCloudEventConnectionDeletedObject2OptionsSetUserRootAttributesEnum }, optional: true, nullable: false + + field :signature_algorithm, -> { Auth0::Types::EventStreamCloudEventConnectionDeletedObject2OptionsSignatureAlgorithmEnum }, optional: true, nullable: false, api_name: "signatureAlgorithm" + + field :sign_in_endpoint, -> { String }, optional: true, nullable: false, api_name: "signInEndpoint" + + field :signing_cert, -> { String }, optional: true, nullable: false, api_name: "signingCert" + + field :sign_saml_request, -> { Internal::Types::Boolean }, optional: true, nullable: false, api_name: "signSAMLRequest" + + field :subject, -> { Auth0::Types::EventStreamCloudEventConnectionDeletedObject2OptionsSubject }, optional: true, nullable: false + + field :tenant_domain, -> { String }, optional: true, nullable: false + + field :thumbprints, -> { Internal::Types::Array[String] }, optional: true, nullable: false + + field :upstream_params, -> { Internal::Types::Hash[String, Object] }, optional: true, nullable: false + + field :debug, -> { Internal::Types::Boolean }, optional: true, nullable: false + + field :deflate, -> { Internal::Types::Boolean }, optional: true, nullable: false + + field :destination_url, -> { String }, optional: true, nullable: false, api_name: "destinationUrl" + + field :disable_signout, -> { Internal::Types::Boolean }, optional: true, nullable: false, api_name: "disableSignout" + + field :fields_map, -> { Internal::Types::Hash[String, Object] }, optional: true, nullable: false, api_name: "fieldsMap" + + field :global_token_revocation_jwt_iss, -> { String }, optional: true, nullable: false + + field :global_token_revocation_jwt_sub, -> { String }, optional: true, nullable: false + + field :metadata_url, -> { String }, optional: true, nullable: false, api_name: "metadataUrl" + + field :recipient_url, -> { String }, optional: true, nullable: false, api_name: "recipientUrl" + + field :request_template, -> { String }, optional: true, nullable: false, api_name: "requestTemplate" + + field :sign_out_endpoint, -> { String }, optional: true, nullable: false, api_name: "signOutEndpoint" + + field :user_id_attribute, -> { String }, optional: true, nullable: false + end + end +end diff --git a/lib/auth0/types/event_stream_cloud_event_connection_deleted_object2options_assertion_decryption_settings.rb b/lib/auth0/types/event_stream_cloud_event_connection_deleted_object2options_assertion_decryption_settings.rb new file mode 100644 index 00000000..614f34aa --- /dev/null +++ b/lib/auth0/types/event_stream_cloud_event_connection_deleted_object2options_assertion_decryption_settings.rb @@ -0,0 +1,12 @@ +# frozen_string_literal: true + +module Auth0 + module Types + # Settings for SAML assertion decryption. + class EventStreamCloudEventConnectionDeletedObject2OptionsAssertionDecryptionSettings < Internal::Types::Model + field :algorithm_exceptions, -> { Internal::Types::Array[String] }, optional: true, nullable: false + + field :algorithm_profile, -> { Auth0::Types::EventStreamCloudEventConnectionDeletedObject2OptionsAssertionDecryptionSettingsAlgorithmProfileEnum }, optional: false, nullable: false + end + end +end diff --git a/lib/auth0/types/event_stream_cloud_event_connection_deleted_object2options_assertion_decryption_settings_algorithm_profile_enum.rb b/lib/auth0/types/event_stream_cloud_event_connection_deleted_object2options_assertion_decryption_settings_algorithm_profile_enum.rb new file mode 100644 index 00000000..4fad79d9 --- /dev/null +++ b/lib/auth0/types/event_stream_cloud_event_connection_deleted_object2options_assertion_decryption_settings_algorithm_profile_enum.rb @@ -0,0 +1,11 @@ +# frozen_string_literal: true + +module Auth0 + module Types + module EventStreamCloudEventConnectionDeletedObject2OptionsAssertionDecryptionSettingsAlgorithmProfileEnum + extend Auth0::Internal::Types::Enum + + V20261 = "v2026-1" + end + end +end diff --git a/lib/auth0/types/event_stream_cloud_event_connection_deleted_object2options_digest_algorithm_enum.rb b/lib/auth0/types/event_stream_cloud_event_connection_deleted_object2options_digest_algorithm_enum.rb new file mode 100644 index 00000000..ba059e6e --- /dev/null +++ b/lib/auth0/types/event_stream_cloud_event_connection_deleted_object2options_digest_algorithm_enum.rb @@ -0,0 +1,12 @@ +# frozen_string_literal: true + +module Auth0 + module Types + module EventStreamCloudEventConnectionDeletedObject2OptionsDigestAlgorithmEnum + extend Auth0::Internal::Types::Enum + + SHA1 = "sha1" + SHA256 = "sha256" + end + end +end diff --git a/lib/auth0/types/event_stream_cloud_event_connection_deleted_object2options_fields_map.rb b/lib/auth0/types/event_stream_cloud_event_connection_deleted_object2options_fields_map.rb new file mode 100644 index 00000000..090d3fbe --- /dev/null +++ b/lib/auth0/types/event_stream_cloud_event_connection_deleted_object2options_fields_map.rb @@ -0,0 +1,23 @@ +# frozen_string_literal: true + +module Auth0 + module Types + module EventStreamCloudEventConnectionDeletedObject2OptionsFieldsMap + # EventStreamCloudEventConnectionDeletedObject2OptionsFieldsMap is an alias for Hash + + # @option str [String] + # + # @return [untyped] + def self.load(str) + ::JSON.parse(str) + end + + # @option value [untyped] + # + # @return [String] + def self.dump(value) + ::JSON.generate(value) + end + end + end +end diff --git a/lib/auth0/types/event_stream_cloud_event_connection_deleted_object2options_idpinitiated.rb b/lib/auth0/types/event_stream_cloud_event_connection_deleted_object2options_idpinitiated.rb new file mode 100644 index 00000000..2e9d5179 --- /dev/null +++ b/lib/auth0/types/event_stream_cloud_event_connection_deleted_object2options_idpinitiated.rb @@ -0,0 +1,18 @@ +# frozen_string_literal: true + +module Auth0 + module Types + # Configuration for IdP-Initiated SAML Single Sign-On. When enabled, allows users to initiate login directly from + # their SAML identity provider without first visiting Auth0. The IdP must include the connection parameter in the + # post-back URL (Assertion Consumer Service URL). + class EventStreamCloudEventConnectionDeletedObject2OptionsIdpinitiated < Internal::Types::Model + field :client_authorizequery, -> { String }, optional: true, nullable: false + + field :client_id, -> { String }, optional: true, nullable: false + + field :client_protocol, -> { Auth0::Types::EventStreamCloudEventConnectionDeletedObject2OptionsIdpinitiatedClientProtocolEnum }, optional: true, nullable: false + + field :enabled, -> { Internal::Types::Boolean }, optional: true, nullable: false + end + end +end diff --git a/lib/auth0/types/event_stream_cloud_event_connection_deleted_object2options_idpinitiated_client_protocol_enum.rb b/lib/auth0/types/event_stream_cloud_event_connection_deleted_object2options_idpinitiated_client_protocol_enum.rb new file mode 100644 index 00000000..e4f7a36b --- /dev/null +++ b/lib/auth0/types/event_stream_cloud_event_connection_deleted_object2options_idpinitiated_client_protocol_enum.rb @@ -0,0 +1,13 @@ +# frozen_string_literal: true + +module Auth0 + module Types + module EventStreamCloudEventConnectionDeletedObject2OptionsIdpinitiatedClientProtocolEnum + extend Auth0::Internal::Types::Enum + + OIDC = "oidc" + SAMLP = "samlp" + WSFED = "wsfed" + end + end +end diff --git a/lib/auth0/types/event_stream_cloud_event_connection_deleted_object2options_protocol_binding_enum.rb b/lib/auth0/types/event_stream_cloud_event_connection_deleted_object2options_protocol_binding_enum.rb new file mode 100644 index 00000000..319e35c4 --- /dev/null +++ b/lib/auth0/types/event_stream_cloud_event_connection_deleted_object2options_protocol_binding_enum.rb @@ -0,0 +1,12 @@ +# frozen_string_literal: true + +module Auth0 + module Types + module EventStreamCloudEventConnectionDeletedObject2OptionsProtocolBindingEnum + extend Auth0::Internal::Types::Enum + + URN_OASIS_NAMES_TC_SAML20BINDINGS_HTTP_POST = "urn:oasis:names:tc:SAML:2.0:bindings:HTTP-POST" + URN_OASIS_NAMES_TC_SAML20BINDINGS_HTTP_REDIRECT = "urn:oasis:names:tc:SAML:2.0:bindings:HTTP-Redirect" + end + end +end diff --git a/lib/auth0/types/event_stream_cloud_event_connection_deleted_object2options_set_user_root_attributes_enum.rb b/lib/auth0/types/event_stream_cloud_event_connection_deleted_object2options_set_user_root_attributes_enum.rb new file mode 100644 index 00000000..0814c8d4 --- /dev/null +++ b/lib/auth0/types/event_stream_cloud_event_connection_deleted_object2options_set_user_root_attributes_enum.rb @@ -0,0 +1,13 @@ +# frozen_string_literal: true + +module Auth0 + module Types + module EventStreamCloudEventConnectionDeletedObject2OptionsSetUserRootAttributesEnum + extend Auth0::Internal::Types::Enum + + ON_EACH_LOGIN = "on_each_login" + ON_FIRST_LOGIN = "on_first_login" + NEVER_ON_LOGIN = "never_on_login" + end + end +end diff --git a/lib/auth0/types/event_stream_cloud_event_connection_deleted_object2options_signature_algorithm_enum.rb b/lib/auth0/types/event_stream_cloud_event_connection_deleted_object2options_signature_algorithm_enum.rb new file mode 100644 index 00000000..b1990185 --- /dev/null +++ b/lib/auth0/types/event_stream_cloud_event_connection_deleted_object2options_signature_algorithm_enum.rb @@ -0,0 +1,12 @@ +# frozen_string_literal: true + +module Auth0 + module Types + module EventStreamCloudEventConnectionDeletedObject2OptionsSignatureAlgorithmEnum + extend Auth0::Internal::Types::Enum + + RSA_SHA1 = "rsa-sha1" + RSA_SHA256 = "rsa-sha256" + end + end +end diff --git a/lib/auth0/types/event_stream_cloud_event_connection_deleted_object2options_subject.rb b/lib/auth0/types/event_stream_cloud_event_connection_deleted_object2options_subject.rb new file mode 100644 index 00000000..7497c6ee --- /dev/null +++ b/lib/auth0/types/event_stream_cloud_event_connection_deleted_object2options_subject.rb @@ -0,0 +1,8 @@ +# frozen_string_literal: true + +module Auth0 + module Types + # Certificate Subject Distinguished Name (DN) extracted from the identity provider's signing certificate. + class EventStreamCloudEventConnectionDeletedObject2OptionsSubject < Internal::Types::Model; end + end +end diff --git a/lib/auth0/types/event_stream_cloud_event_connection_deleted_object2options_upstream_params.rb b/lib/auth0/types/event_stream_cloud_event_connection_deleted_object2options_upstream_params.rb new file mode 100644 index 00000000..b5a1b8aa --- /dev/null +++ b/lib/auth0/types/event_stream_cloud_event_connection_deleted_object2options_upstream_params.rb @@ -0,0 +1,23 @@ +# frozen_string_literal: true + +module Auth0 + module Types + module EventStreamCloudEventConnectionDeletedObject2OptionsUpstreamParams + # EventStreamCloudEventConnectionDeletedObject2OptionsUpstreamParams is an alias for Hash + + # @option str [String] + # + # @return [untyped] + def self.load(str) + ::JSON.parse(str) + end + + # @option value [untyped] + # + # @return [String] + def self.dump(value) + ::JSON.generate(value) + end + end + end +end diff --git a/lib/auth0/types/event_stream_cloud_event_connection_deleted_object2strategy_enum.rb b/lib/auth0/types/event_stream_cloud_event_connection_deleted_object2strategy_enum.rb new file mode 100644 index 00000000..977f4101 --- /dev/null +++ b/lib/auth0/types/event_stream_cloud_event_connection_deleted_object2strategy_enum.rb @@ -0,0 +1,11 @@ +# frozen_string_literal: true + +module Auth0 + module Types + module EventStreamCloudEventConnectionDeletedObject2StrategyEnum + extend Auth0::Internal::Types::Enum + + SAMLP = "samlp" + end + end +end diff --git a/lib/auth0/types/event_stream_cloud_event_connection_deleted_object3.rb b/lib/auth0/types/event_stream_cloud_event_connection_deleted_object3.rb new file mode 100644 index 00000000..6fa77039 --- /dev/null +++ b/lib/auth0/types/event_stream_cloud_event_connection_deleted_object3.rb @@ -0,0 +1,31 @@ +# frozen_string_literal: true + +module Auth0 + module Types + class EventStreamCloudEventConnectionDeletedObject3 < Internal::Types::Model + field :authentication, -> { Auth0::Types::EventStreamCloudEventConnectionDeletedObject3Authentication }, optional: true, nullable: false + + field :connected_accounts, -> { Auth0::Types::EventStreamCloudEventConnectionDeletedObject3ConnectedAccounts }, optional: true, nullable: false + + field :display_name, -> { String }, optional: true, nullable: false + + field :enabled_clients, -> { Internal::Types::Array[String] }, optional: true, nullable: false + + field :id, -> { String }, optional: false, nullable: false + + field :is_domain_connection, -> { Internal::Types::Boolean }, optional: true, nullable: false + + field :metadata, -> { Auth0::Types::EventStreamCloudEventConnectionDeletedObject3Metadata }, optional: true, nullable: false + + field :name, -> { String }, optional: false, nullable: false + + field :realms, -> { Internal::Types::Array[String] }, optional: true, nullable: false + + field :options, -> { Auth0::Types::EventStreamCloudEventConnectionDeletedObject3Options }, optional: true, nullable: false + + field :show_as_button, -> { Internal::Types::Boolean }, optional: true, nullable: false + + field :strategy, -> { Auth0::Types::EventStreamCloudEventConnectionDeletedObject3StrategyEnum }, optional: false, nullable: false + end + end +end diff --git a/lib/auth0/types/event_stream_cloud_event_connection_deleted_object3authentication.rb b/lib/auth0/types/event_stream_cloud_event_connection_deleted_object3authentication.rb new file mode 100644 index 00000000..e262c54b --- /dev/null +++ b/lib/auth0/types/event_stream_cloud_event_connection_deleted_object3authentication.rb @@ -0,0 +1,10 @@ +# frozen_string_literal: true + +module Auth0 + module Types + # Configure the purpose of a connection to be used for authentication during login. + class EventStreamCloudEventConnectionDeletedObject3Authentication < Internal::Types::Model + field :active, -> { Internal::Types::Boolean }, optional: false, nullable: false + end + end +end diff --git a/lib/auth0/types/event_stream_cloud_event_connection_deleted_object3connected_accounts.rb b/lib/auth0/types/event_stream_cloud_event_connection_deleted_object3connected_accounts.rb new file mode 100644 index 00000000..30cf524f --- /dev/null +++ b/lib/auth0/types/event_stream_cloud_event_connection_deleted_object3connected_accounts.rb @@ -0,0 +1,10 @@ +# frozen_string_literal: true + +module Auth0 + module Types + # Configure the purpose of a connection to be used for connected accounts and Token Vault. + class EventStreamCloudEventConnectionDeletedObject3ConnectedAccounts < Internal::Types::Model + field :active, -> { Internal::Types::Boolean }, optional: false, nullable: false + end + end +end diff --git a/lib/auth0/types/event_stream_cloud_event_connection_deleted_object3metadata.rb b/lib/auth0/types/event_stream_cloud_event_connection_deleted_object3metadata.rb new file mode 100644 index 00000000..a74765d0 --- /dev/null +++ b/lib/auth0/types/event_stream_cloud_event_connection_deleted_object3metadata.rb @@ -0,0 +1,9 @@ +# frozen_string_literal: true + +module Auth0 + module Types + # Metadata associated with the connection in the form of an object with string values (max 255 chars). Maximum of + # 10 metadata properties allowed. + class EventStreamCloudEventConnectionDeletedObject3Metadata < Internal::Types::Model; end + end +end diff --git a/lib/auth0/types/event_stream_cloud_event_connection_deleted_object3options.rb b/lib/auth0/types/event_stream_cloud_event_connection_deleted_object3options.rb new file mode 100644 index 00000000..2fdeb92f --- /dev/null +++ b/lib/auth0/types/event_stream_cloud_event_connection_deleted_object3options.rb @@ -0,0 +1,50 @@ +# frozen_string_literal: true + +module Auth0 + module Types + # Options for the 'pingfederate' connection + class EventStreamCloudEventConnectionDeletedObject3Options < Internal::Types::Model + field :assertion_decryption_settings, -> { Auth0::Types::EventStreamCloudEventConnectionDeletedObject3OptionsAssertionDecryptionSettings }, optional: true, nullable: false + + field :cert, -> { String }, optional: true, nullable: false + + field :cert_rollover_notification, -> { String }, optional: true, nullable: false + + field :digest_algorithm, -> { Auth0::Types::EventStreamCloudEventConnectionDeletedObject3OptionsDigestAlgorithmEnum }, optional: true, nullable: false, api_name: "digestAlgorithm" + + field :domain_aliases, -> { Internal::Types::Array[String] }, optional: true, nullable: false + + field :entity_id, -> { String }, optional: true, nullable: false, api_name: "entityId" + + field :expires, -> { String }, optional: true, nullable: false + + field :icon_url, -> { String }, optional: true, nullable: false + + field :idpinitiated, -> { Auth0::Types::EventStreamCloudEventConnectionDeletedObject3OptionsIdpinitiated }, optional: true, nullable: false + + field :non_persistent_attrs, -> { Internal::Types::Array[String] }, optional: true, nullable: false + + field :protocol_binding, -> { Auth0::Types::EventStreamCloudEventConnectionDeletedObject3OptionsProtocolBindingEnum }, optional: true, nullable: false, api_name: "protocolBinding" + + field :set_user_root_attributes, -> { Auth0::Types::EventStreamCloudEventConnectionDeletedObject3OptionsSetUserRootAttributesEnum }, optional: true, nullable: false + + field :signature_algorithm, -> { Auth0::Types::EventStreamCloudEventConnectionDeletedObject3OptionsSignatureAlgorithmEnum }, optional: true, nullable: false, api_name: "signatureAlgorithm" + + field :sign_in_endpoint, -> { String }, optional: true, nullable: false, api_name: "signInEndpoint" + + field :signing_cert, -> { String }, optional: true, nullable: false, api_name: "signingCert" + + field :sign_saml_request, -> { Internal::Types::Boolean }, optional: true, nullable: false, api_name: "signSAMLRequest" + + field :subject, -> { Auth0::Types::EventStreamCloudEventConnectionDeletedObject3OptionsSubject }, optional: true, nullable: false + + field :tenant_domain, -> { String }, optional: true, nullable: false + + field :thumbprints, -> { Internal::Types::Array[String] }, optional: true, nullable: false + + field :upstream_params, -> { Internal::Types::Hash[String, Object] }, optional: true, nullable: false + + field :ping_federate_base_url, -> { String }, optional: false, nullable: false, api_name: "pingFederateBaseUrl" + end + end +end diff --git a/lib/auth0/types/event_stream_cloud_event_connection_deleted_object3options_assertion_decryption_settings.rb b/lib/auth0/types/event_stream_cloud_event_connection_deleted_object3options_assertion_decryption_settings.rb new file mode 100644 index 00000000..24b2d30d --- /dev/null +++ b/lib/auth0/types/event_stream_cloud_event_connection_deleted_object3options_assertion_decryption_settings.rb @@ -0,0 +1,12 @@ +# frozen_string_literal: true + +module Auth0 + module Types + # Settings for SAML assertion decryption. + class EventStreamCloudEventConnectionDeletedObject3OptionsAssertionDecryptionSettings < Internal::Types::Model + field :algorithm_exceptions, -> { Internal::Types::Array[String] }, optional: true, nullable: false + + field :algorithm_profile, -> { Auth0::Types::EventStreamCloudEventConnectionDeletedObject3OptionsAssertionDecryptionSettingsAlgorithmProfileEnum }, optional: false, nullable: false + end + end +end diff --git a/lib/auth0/types/event_stream_cloud_event_connection_deleted_object3options_assertion_decryption_settings_algorithm_profile_enum.rb b/lib/auth0/types/event_stream_cloud_event_connection_deleted_object3options_assertion_decryption_settings_algorithm_profile_enum.rb new file mode 100644 index 00000000..14dc3bc7 --- /dev/null +++ b/lib/auth0/types/event_stream_cloud_event_connection_deleted_object3options_assertion_decryption_settings_algorithm_profile_enum.rb @@ -0,0 +1,11 @@ +# frozen_string_literal: true + +module Auth0 + module Types + module EventStreamCloudEventConnectionDeletedObject3OptionsAssertionDecryptionSettingsAlgorithmProfileEnum + extend Auth0::Internal::Types::Enum + + V20261 = "v2026-1" + end + end +end diff --git a/lib/auth0/types/event_stream_cloud_event_connection_deleted_object3options_digest_algorithm_enum.rb b/lib/auth0/types/event_stream_cloud_event_connection_deleted_object3options_digest_algorithm_enum.rb new file mode 100644 index 00000000..ed7516bb --- /dev/null +++ b/lib/auth0/types/event_stream_cloud_event_connection_deleted_object3options_digest_algorithm_enum.rb @@ -0,0 +1,12 @@ +# frozen_string_literal: true + +module Auth0 + module Types + module EventStreamCloudEventConnectionDeletedObject3OptionsDigestAlgorithmEnum + extend Auth0::Internal::Types::Enum + + SHA1 = "sha1" + SHA256 = "sha256" + end + end +end diff --git a/lib/auth0/types/event_stream_cloud_event_connection_deleted_object3options_idpinitiated.rb b/lib/auth0/types/event_stream_cloud_event_connection_deleted_object3options_idpinitiated.rb new file mode 100644 index 00000000..56dfc816 --- /dev/null +++ b/lib/auth0/types/event_stream_cloud_event_connection_deleted_object3options_idpinitiated.rb @@ -0,0 +1,18 @@ +# frozen_string_literal: true + +module Auth0 + module Types + # Configuration for IdP-Initiated SAML Single Sign-On. When enabled, allows users to initiate login directly from + # their SAML identity provider without first visiting Auth0. The IdP must include the connection parameter in the + # post-back URL (Assertion Consumer Service URL). + class EventStreamCloudEventConnectionDeletedObject3OptionsIdpinitiated < Internal::Types::Model + field :client_authorizequery, -> { String }, optional: true, nullable: false + + field :client_id, -> { String }, optional: true, nullable: false + + field :client_protocol, -> { Auth0::Types::EventStreamCloudEventConnectionDeletedObject3OptionsIdpinitiatedClientProtocolEnum }, optional: true, nullable: false + + field :enabled, -> { Internal::Types::Boolean }, optional: true, nullable: false + end + end +end diff --git a/lib/auth0/types/event_stream_cloud_event_connection_deleted_object3options_idpinitiated_client_protocol_enum.rb b/lib/auth0/types/event_stream_cloud_event_connection_deleted_object3options_idpinitiated_client_protocol_enum.rb new file mode 100644 index 00000000..44ed53f9 --- /dev/null +++ b/lib/auth0/types/event_stream_cloud_event_connection_deleted_object3options_idpinitiated_client_protocol_enum.rb @@ -0,0 +1,13 @@ +# frozen_string_literal: true + +module Auth0 + module Types + module EventStreamCloudEventConnectionDeletedObject3OptionsIdpinitiatedClientProtocolEnum + extend Auth0::Internal::Types::Enum + + OIDC = "oidc" + SAMLP = "samlp" + WSFED = "wsfed" + end + end +end diff --git a/lib/auth0/types/event_stream_cloud_event_connection_deleted_object3options_protocol_binding_enum.rb b/lib/auth0/types/event_stream_cloud_event_connection_deleted_object3options_protocol_binding_enum.rb new file mode 100644 index 00000000..ca1a6a6d --- /dev/null +++ b/lib/auth0/types/event_stream_cloud_event_connection_deleted_object3options_protocol_binding_enum.rb @@ -0,0 +1,12 @@ +# frozen_string_literal: true + +module Auth0 + module Types + module EventStreamCloudEventConnectionDeletedObject3OptionsProtocolBindingEnum + extend Auth0::Internal::Types::Enum + + URN_OASIS_NAMES_TC_SAML20BINDINGS_HTTP_POST = "urn:oasis:names:tc:SAML:2.0:bindings:HTTP-POST" + URN_OASIS_NAMES_TC_SAML20BINDINGS_HTTP_REDIRECT = "urn:oasis:names:tc:SAML:2.0:bindings:HTTP-Redirect" + end + end +end diff --git a/lib/auth0/types/event_stream_cloud_event_connection_deleted_object3options_set_user_root_attributes_enum.rb b/lib/auth0/types/event_stream_cloud_event_connection_deleted_object3options_set_user_root_attributes_enum.rb new file mode 100644 index 00000000..66dd3d9f --- /dev/null +++ b/lib/auth0/types/event_stream_cloud_event_connection_deleted_object3options_set_user_root_attributes_enum.rb @@ -0,0 +1,13 @@ +# frozen_string_literal: true + +module Auth0 + module Types + module EventStreamCloudEventConnectionDeletedObject3OptionsSetUserRootAttributesEnum + extend Auth0::Internal::Types::Enum + + ON_EACH_LOGIN = "on_each_login" + ON_FIRST_LOGIN = "on_first_login" + NEVER_ON_LOGIN = "never_on_login" + end + end +end diff --git a/lib/auth0/types/event_stream_cloud_event_connection_deleted_object3options_signature_algorithm_enum.rb b/lib/auth0/types/event_stream_cloud_event_connection_deleted_object3options_signature_algorithm_enum.rb new file mode 100644 index 00000000..7b26efa6 --- /dev/null +++ b/lib/auth0/types/event_stream_cloud_event_connection_deleted_object3options_signature_algorithm_enum.rb @@ -0,0 +1,12 @@ +# frozen_string_literal: true + +module Auth0 + module Types + module EventStreamCloudEventConnectionDeletedObject3OptionsSignatureAlgorithmEnum + extend Auth0::Internal::Types::Enum + + RSA_SHA1 = "rsa-sha1" + RSA_SHA256 = "rsa-sha256" + end + end +end diff --git a/lib/auth0/types/event_stream_cloud_event_connection_deleted_object3options_subject.rb b/lib/auth0/types/event_stream_cloud_event_connection_deleted_object3options_subject.rb new file mode 100644 index 00000000..92fd7094 --- /dev/null +++ b/lib/auth0/types/event_stream_cloud_event_connection_deleted_object3options_subject.rb @@ -0,0 +1,8 @@ +# frozen_string_literal: true + +module Auth0 + module Types + # Certificate Subject Distinguished Name (DN) extracted from the identity provider's signing certificate. + class EventStreamCloudEventConnectionDeletedObject3OptionsSubject < Internal::Types::Model; end + end +end diff --git a/lib/auth0/types/event_stream_cloud_event_connection_deleted_object3options_upstream_params.rb b/lib/auth0/types/event_stream_cloud_event_connection_deleted_object3options_upstream_params.rb new file mode 100644 index 00000000..5fa5feab --- /dev/null +++ b/lib/auth0/types/event_stream_cloud_event_connection_deleted_object3options_upstream_params.rb @@ -0,0 +1,23 @@ +# frozen_string_literal: true + +module Auth0 + module Types + module EventStreamCloudEventConnectionDeletedObject3OptionsUpstreamParams + # EventStreamCloudEventConnectionDeletedObject3OptionsUpstreamParams is an alias for Hash + + # @option str [String] + # + # @return [untyped] + def self.load(str) + ::JSON.parse(str) + end + + # @option value [untyped] + # + # @return [String] + def self.dump(value) + ::JSON.generate(value) + end + end + end +end diff --git a/lib/auth0/types/event_stream_cloud_event_connection_deleted_object3strategy_enum.rb b/lib/auth0/types/event_stream_cloud_event_connection_deleted_object3strategy_enum.rb new file mode 100644 index 00000000..2479c1ad --- /dev/null +++ b/lib/auth0/types/event_stream_cloud_event_connection_deleted_object3strategy_enum.rb @@ -0,0 +1,11 @@ +# frozen_string_literal: true + +module Auth0 + module Types + module EventStreamCloudEventConnectionDeletedObject3StrategyEnum + extend Auth0::Internal::Types::Enum + + PINGFEDERATE = "pingfederate" + end + end +end diff --git a/lib/auth0/types/event_stream_cloud_event_connection_deleted_object4.rb b/lib/auth0/types/event_stream_cloud_event_connection_deleted_object4.rb new file mode 100644 index 00000000..45d6efbf --- /dev/null +++ b/lib/auth0/types/event_stream_cloud_event_connection_deleted_object4.rb @@ -0,0 +1,31 @@ +# frozen_string_literal: true + +module Auth0 + module Types + class EventStreamCloudEventConnectionDeletedObject4 < Internal::Types::Model + field :authentication, -> { Auth0::Types::EventStreamCloudEventConnectionDeletedObject4Authentication }, optional: true, nullable: false + + field :connected_accounts, -> { Auth0::Types::EventStreamCloudEventConnectionDeletedObject4ConnectedAccounts }, optional: true, nullable: false + + field :display_name, -> { String }, optional: true, nullable: false + + field :enabled_clients, -> { Internal::Types::Array[String] }, optional: true, nullable: false + + field :id, -> { String }, optional: false, nullable: false + + field :is_domain_connection, -> { Internal::Types::Boolean }, optional: true, nullable: false + + field :metadata, -> { Auth0::Types::EventStreamCloudEventConnectionDeletedObject4Metadata }, optional: true, nullable: false + + field :name, -> { String }, optional: false, nullable: false + + field :realms, -> { Internal::Types::Array[String] }, optional: true, nullable: false + + field :options, -> { Auth0::Types::EventStreamCloudEventConnectionDeletedObject4Options }, optional: true, nullable: false + + field :show_as_button, -> { Internal::Types::Boolean }, optional: true, nullable: false + + field :strategy, -> { Auth0::Types::EventStreamCloudEventConnectionDeletedObject4StrategyEnum }, optional: false, nullable: false + end + end +end diff --git a/lib/auth0/types/event_stream_cloud_event_connection_deleted_object4authentication.rb b/lib/auth0/types/event_stream_cloud_event_connection_deleted_object4authentication.rb new file mode 100644 index 00000000..45b122f5 --- /dev/null +++ b/lib/auth0/types/event_stream_cloud_event_connection_deleted_object4authentication.rb @@ -0,0 +1,10 @@ +# frozen_string_literal: true + +module Auth0 + module Types + # Configure the purpose of a connection to be used for authentication during login. + class EventStreamCloudEventConnectionDeletedObject4Authentication < Internal::Types::Model + field :active, -> { Internal::Types::Boolean }, optional: false, nullable: false + end + end +end diff --git a/lib/auth0/types/event_stream_cloud_event_connection_deleted_object4connected_accounts.rb b/lib/auth0/types/event_stream_cloud_event_connection_deleted_object4connected_accounts.rb new file mode 100644 index 00000000..655dc91f --- /dev/null +++ b/lib/auth0/types/event_stream_cloud_event_connection_deleted_object4connected_accounts.rb @@ -0,0 +1,10 @@ +# frozen_string_literal: true + +module Auth0 + module Types + # Configure the purpose of a connection to be used for connected accounts and Token Vault. + class EventStreamCloudEventConnectionDeletedObject4ConnectedAccounts < Internal::Types::Model + field :active, -> { Internal::Types::Boolean }, optional: false, nullable: false + end + end +end diff --git a/lib/auth0/types/event_stream_cloud_event_connection_deleted_object4metadata.rb b/lib/auth0/types/event_stream_cloud_event_connection_deleted_object4metadata.rb new file mode 100644 index 00000000..d40699e7 --- /dev/null +++ b/lib/auth0/types/event_stream_cloud_event_connection_deleted_object4metadata.rb @@ -0,0 +1,9 @@ +# frozen_string_literal: true + +module Auth0 + module Types + # Metadata associated with the connection in the form of an object with string values (max 255 chars). Maximum of + # 10 metadata properties allowed. + class EventStreamCloudEventConnectionDeletedObject4Metadata < Internal::Types::Model; end + end +end diff --git a/lib/auth0/types/event_stream_cloud_event_connection_deleted_object4options.rb b/lib/auth0/types/event_stream_cloud_event_connection_deleted_object4options.rb new file mode 100644 index 00000000..70b481d6 --- /dev/null +++ b/lib/auth0/types/event_stream_cloud_event_connection_deleted_object4options.rb @@ -0,0 +1,38 @@ +# frozen_string_literal: true + +module Auth0 + module Types + # Options for the 'adfs' connection + class EventStreamCloudEventConnectionDeletedObject4Options < Internal::Types::Model + field :adfs_server, -> { String }, optional: true, nullable: false + + field :cert_rollover_notification, -> { String }, optional: true, nullable: false + + field :domain_aliases, -> { Internal::Types::Array[String] }, optional: true, nullable: false + + field :entity_id, -> { String }, optional: true, nullable: false, api_name: "entityId" + + field :fed_metadata_xml, -> { String }, optional: true, nullable: false, api_name: "fedMetadataXml" + + field :icon_url, -> { String }, optional: true, nullable: false + + field :non_persistent_attrs, -> { Internal::Types::Array[String] }, optional: true, nullable: false + + field :prev_thumbprints, -> { Internal::Types::Array[String] }, optional: true, nullable: false + + field :set_user_root_attributes, -> { Auth0::Types::EventStreamCloudEventConnectionDeletedObject4OptionsSetUserRootAttributesEnum }, optional: true, nullable: false + + field :should_trust_email_verified_connection, -> { Auth0::Types::EventStreamCloudEventConnectionDeletedObject4OptionsShouldTrustEmailVerifiedConnectionEnum }, optional: true, nullable: false + + field :sign_in_endpoint, -> { String }, optional: true, nullable: false, api_name: "signInEndpoint" + + field :tenant_domain, -> { String }, optional: true, nullable: false + + field :thumbprints, -> { Internal::Types::Array[String] }, optional: true, nullable: false + + field :upstream_params, -> { Internal::Types::Hash[String, Object] }, optional: true, nullable: false + + field :user_id_attribute, -> { String }, optional: true, nullable: false + end + end +end diff --git a/lib/auth0/types/event_stream_cloud_event_connection_deleted_object4options_set_user_root_attributes_enum.rb b/lib/auth0/types/event_stream_cloud_event_connection_deleted_object4options_set_user_root_attributes_enum.rb new file mode 100644 index 00000000..92708dd7 --- /dev/null +++ b/lib/auth0/types/event_stream_cloud_event_connection_deleted_object4options_set_user_root_attributes_enum.rb @@ -0,0 +1,13 @@ +# frozen_string_literal: true + +module Auth0 + module Types + module EventStreamCloudEventConnectionDeletedObject4OptionsSetUserRootAttributesEnum + extend Auth0::Internal::Types::Enum + + ON_EACH_LOGIN = "on_each_login" + ON_FIRST_LOGIN = "on_first_login" + NEVER_ON_LOGIN = "never_on_login" + end + end +end diff --git a/lib/auth0/types/event_stream_cloud_event_connection_deleted_object4options_should_trust_email_verified_connection_enum.rb b/lib/auth0/types/event_stream_cloud_event_connection_deleted_object4options_should_trust_email_verified_connection_enum.rb new file mode 100644 index 00000000..e4ee6f07 --- /dev/null +++ b/lib/auth0/types/event_stream_cloud_event_connection_deleted_object4options_should_trust_email_verified_connection_enum.rb @@ -0,0 +1,12 @@ +# frozen_string_literal: true + +module Auth0 + module Types + module EventStreamCloudEventConnectionDeletedObject4OptionsShouldTrustEmailVerifiedConnectionEnum + extend Auth0::Internal::Types::Enum + + NEVER_SET_EMAILS_AS_VERIFIED = "never_set_emails_as_verified" + ALWAYS_SET_EMAILS_AS_VERIFIED = "always_set_emails_as_verified" + end + end +end diff --git a/lib/auth0/types/event_stream_cloud_event_connection_deleted_object4options_upstream_params.rb b/lib/auth0/types/event_stream_cloud_event_connection_deleted_object4options_upstream_params.rb new file mode 100644 index 00000000..2f38374a --- /dev/null +++ b/lib/auth0/types/event_stream_cloud_event_connection_deleted_object4options_upstream_params.rb @@ -0,0 +1,23 @@ +# frozen_string_literal: true + +module Auth0 + module Types + module EventStreamCloudEventConnectionDeletedObject4OptionsUpstreamParams + # EventStreamCloudEventConnectionDeletedObject4OptionsUpstreamParams is an alias for Hash + + # @option str [String] + # + # @return [untyped] + def self.load(str) + ::JSON.parse(str) + end + + # @option value [untyped] + # + # @return [String] + def self.dump(value) + ::JSON.generate(value) + end + end + end +end diff --git a/lib/auth0/types/event_stream_cloud_event_connection_deleted_object4strategy_enum.rb b/lib/auth0/types/event_stream_cloud_event_connection_deleted_object4strategy_enum.rb new file mode 100644 index 00000000..6b832abe --- /dev/null +++ b/lib/auth0/types/event_stream_cloud_event_connection_deleted_object4strategy_enum.rb @@ -0,0 +1,11 @@ +# frozen_string_literal: true + +module Auth0 + module Types + module EventStreamCloudEventConnectionDeletedObject4StrategyEnum + extend Auth0::Internal::Types::Enum + + ADFS = "adfs" + end + end +end diff --git a/lib/auth0/types/event_stream_cloud_event_connection_deleted_object5.rb b/lib/auth0/types/event_stream_cloud_event_connection_deleted_object5.rb new file mode 100644 index 00000000..7cf055df --- /dev/null +++ b/lib/auth0/types/event_stream_cloud_event_connection_deleted_object5.rb @@ -0,0 +1,29 @@ +# frozen_string_literal: true + +module Auth0 + module Types + class EventStreamCloudEventConnectionDeletedObject5 < Internal::Types::Model + field :authentication, -> { Auth0::Types::EventStreamCloudEventConnectionDeletedObject5Authentication }, optional: true, nullable: false + + field :connected_accounts, -> { Auth0::Types::EventStreamCloudEventConnectionDeletedObject5ConnectedAccounts }, optional: true, nullable: false + + field :display_name, -> { String }, optional: true, nullable: false + + field :enabled_clients, -> { Internal::Types::Array[String] }, optional: true, nullable: false + + field :id, -> { String }, optional: false, nullable: false + + field :is_domain_connection, -> { Internal::Types::Boolean }, optional: true, nullable: false + + field :metadata, -> { Auth0::Types::EventStreamCloudEventConnectionDeletedObject5Metadata }, optional: true, nullable: false + + field :name, -> { String }, optional: false, nullable: false + + field :realms, -> { Internal::Types::Array[String] }, optional: true, nullable: false + + field :options, -> { Auth0::Types::EventStreamCloudEventConnectionDeletedObject5Options }, optional: true, nullable: false + + field :strategy, -> { Auth0::Types::EventStreamCloudEventConnectionDeletedObject5StrategyEnum }, optional: false, nullable: false + end + end +end diff --git a/lib/auth0/types/event_stream_cloud_event_connection_deleted_object5authentication.rb b/lib/auth0/types/event_stream_cloud_event_connection_deleted_object5authentication.rb new file mode 100644 index 00000000..884ea022 --- /dev/null +++ b/lib/auth0/types/event_stream_cloud_event_connection_deleted_object5authentication.rb @@ -0,0 +1,10 @@ +# frozen_string_literal: true + +module Auth0 + module Types + # Configure the purpose of a connection to be used for authentication during login. + class EventStreamCloudEventConnectionDeletedObject5Authentication < Internal::Types::Model + field :active, -> { Internal::Types::Boolean }, optional: false, nullable: false + end + end +end diff --git a/lib/auth0/types/event_stream_cloud_event_connection_deleted_object5connected_accounts.rb b/lib/auth0/types/event_stream_cloud_event_connection_deleted_object5connected_accounts.rb new file mode 100644 index 00000000..ef3a99ba --- /dev/null +++ b/lib/auth0/types/event_stream_cloud_event_connection_deleted_object5connected_accounts.rb @@ -0,0 +1,10 @@ +# frozen_string_literal: true + +module Auth0 + module Types + # Configure the purpose of a connection to be used for connected accounts and Token Vault. + class EventStreamCloudEventConnectionDeletedObject5ConnectedAccounts < Internal::Types::Model + field :active, -> { Internal::Types::Boolean }, optional: false, nullable: false + end + end +end diff --git a/lib/auth0/types/event_stream_cloud_event_connection_deleted_object5metadata.rb b/lib/auth0/types/event_stream_cloud_event_connection_deleted_object5metadata.rb new file mode 100644 index 00000000..7a83198c --- /dev/null +++ b/lib/auth0/types/event_stream_cloud_event_connection_deleted_object5metadata.rb @@ -0,0 +1,9 @@ +# frozen_string_literal: true + +module Auth0 + module Types + # Metadata associated with the connection in the form of an object with string values (max 255 chars). Maximum of + # 10 metadata properties allowed. + class EventStreamCloudEventConnectionDeletedObject5Metadata < Internal::Types::Model; end + end +end diff --git a/lib/auth0/types/event_stream_cloud_event_connection_deleted_object5options.rb b/lib/auth0/types/event_stream_cloud_event_connection_deleted_object5options.rb new file mode 100644 index 00000000..3a8652ac --- /dev/null +++ b/lib/auth0/types/event_stream_cloud_event_connection_deleted_object5options.rb @@ -0,0 +1,44 @@ +# frozen_string_literal: true + +module Auth0 + module Types + # Options for the 'ad' connection + class EventStreamCloudEventConnectionDeletedObject5Options < Internal::Types::Model + field :agent_ip, -> { String }, optional: true, nullable: false, api_name: "agentIP" + + field :agent_mode, -> { Internal::Types::Boolean }, optional: true, nullable: false, api_name: "agentMode" + + field :agent_version, -> { String }, optional: true, nullable: false, api_name: "agentVersion" + + field :brute_force_protection, -> { Internal::Types::Boolean }, optional: true, nullable: false + + field :cert_auth, -> { Internal::Types::Boolean }, optional: true, nullable: false, api_name: "certAuth" + + field :certs, -> { Internal::Types::Array[String] }, optional: true, nullable: false + + field :disable_cache, -> { Internal::Types::Boolean }, optional: true, nullable: false + + field :disable_self_service_change_password, -> { Internal::Types::Boolean }, optional: true, nullable: false + + field :domain_aliases, -> { Internal::Types::Array[String] }, optional: true, nullable: false + + field :icon_url, -> { String }, optional: true, nullable: false + + field :ips, -> { Internal::Types::Array[String] }, optional: true, nullable: false + + field :kerberos, -> { Internal::Types::Boolean }, optional: true, nullable: false + + field :non_persistent_attrs, -> { Internal::Types::Array[String] }, optional: true, nullable: false + + field :set_user_root_attributes, -> { Auth0::Types::EventStreamCloudEventConnectionDeletedObject5OptionsSetUserRootAttributesEnum }, optional: true, nullable: false + + field :sign_in_endpoint, -> { String }, optional: true, nullable: false, api_name: "signInEndpoint" + + field :tenant_domain, -> { String }, optional: true, nullable: false + + field :thumbprints, -> { Internal::Types::Array[String] }, optional: true, nullable: false + + field :upstream_params, -> { Internal::Types::Hash[String, Object] }, optional: true, nullable: false + end + end +end diff --git a/lib/auth0/types/event_stream_cloud_event_connection_deleted_object5options_set_user_root_attributes_enum.rb b/lib/auth0/types/event_stream_cloud_event_connection_deleted_object5options_set_user_root_attributes_enum.rb new file mode 100644 index 00000000..8719a96d --- /dev/null +++ b/lib/auth0/types/event_stream_cloud_event_connection_deleted_object5options_set_user_root_attributes_enum.rb @@ -0,0 +1,13 @@ +# frozen_string_literal: true + +module Auth0 + module Types + module EventStreamCloudEventConnectionDeletedObject5OptionsSetUserRootAttributesEnum + extend Auth0::Internal::Types::Enum + + ON_EACH_LOGIN = "on_each_login" + ON_FIRST_LOGIN = "on_first_login" + NEVER_ON_LOGIN = "never_on_login" + end + end +end diff --git a/lib/auth0/types/event_stream_cloud_event_connection_deleted_object5options_upstream_params.rb b/lib/auth0/types/event_stream_cloud_event_connection_deleted_object5options_upstream_params.rb new file mode 100644 index 00000000..08c7c77a --- /dev/null +++ b/lib/auth0/types/event_stream_cloud_event_connection_deleted_object5options_upstream_params.rb @@ -0,0 +1,23 @@ +# frozen_string_literal: true + +module Auth0 + module Types + module EventStreamCloudEventConnectionDeletedObject5OptionsUpstreamParams + # EventStreamCloudEventConnectionDeletedObject5OptionsUpstreamParams is an alias for Hash + + # @option str [String] + # + # @return [untyped] + def self.load(str) + ::JSON.parse(str) + end + + # @option value [untyped] + # + # @return [String] + def self.dump(value) + ::JSON.generate(value) + end + end + end +end diff --git a/lib/auth0/types/event_stream_cloud_event_connection_deleted_object5strategy_enum.rb b/lib/auth0/types/event_stream_cloud_event_connection_deleted_object5strategy_enum.rb new file mode 100644 index 00000000..c6086865 --- /dev/null +++ b/lib/auth0/types/event_stream_cloud_event_connection_deleted_object5strategy_enum.rb @@ -0,0 +1,11 @@ +# frozen_string_literal: true + +module Auth0 + module Types + module EventStreamCloudEventConnectionDeletedObject5StrategyEnum + extend Auth0::Internal::Types::Enum + + AD = "ad" + end + end +end diff --git a/lib/auth0/types/event_stream_cloud_event_connection_deleted_object6.rb b/lib/auth0/types/event_stream_cloud_event_connection_deleted_object6.rb new file mode 100644 index 00000000..0a73c83e --- /dev/null +++ b/lib/auth0/types/event_stream_cloud_event_connection_deleted_object6.rb @@ -0,0 +1,31 @@ +# frozen_string_literal: true + +module Auth0 + module Types + class EventStreamCloudEventConnectionDeletedObject6 < Internal::Types::Model + field :authentication, -> { Auth0::Types::EventStreamCloudEventConnectionDeletedObject6Authentication }, optional: true, nullable: false + + field :connected_accounts, -> { Auth0::Types::EventStreamCloudEventConnectionDeletedObject6ConnectedAccounts }, optional: true, nullable: false + + field :display_name, -> { String }, optional: true, nullable: false + + field :enabled_clients, -> { Internal::Types::Array[String] }, optional: true, nullable: false + + field :id, -> { String }, optional: false, nullable: false + + field :is_domain_connection, -> { Internal::Types::Boolean }, optional: true, nullable: false + + field :metadata, -> { Auth0::Types::EventStreamCloudEventConnectionDeletedObject6Metadata }, optional: true, nullable: false + + field :name, -> { String }, optional: false, nullable: false + + field :realms, -> { Internal::Types::Array[String] }, optional: true, nullable: false + + field :options, -> { Auth0::Types::EventStreamCloudEventConnectionDeletedObject6Options }, optional: true, nullable: false + + field :show_as_button, -> { Internal::Types::Boolean }, optional: true, nullable: false + + field :strategy, -> { Auth0::Types::EventStreamCloudEventConnectionDeletedObject6StrategyEnum }, optional: false, nullable: false + end + end +end diff --git a/lib/auth0/types/event_stream_cloud_event_connection_deleted_object6authentication.rb b/lib/auth0/types/event_stream_cloud_event_connection_deleted_object6authentication.rb new file mode 100644 index 00000000..da9efd6d --- /dev/null +++ b/lib/auth0/types/event_stream_cloud_event_connection_deleted_object6authentication.rb @@ -0,0 +1,10 @@ +# frozen_string_literal: true + +module Auth0 + module Types + # Configure the purpose of a connection to be used for authentication during login. + class EventStreamCloudEventConnectionDeletedObject6Authentication < Internal::Types::Model + field :active, -> { Internal::Types::Boolean }, optional: false, nullable: false + end + end +end diff --git a/lib/auth0/types/event_stream_cloud_event_connection_deleted_object6connected_accounts.rb b/lib/auth0/types/event_stream_cloud_event_connection_deleted_object6connected_accounts.rb new file mode 100644 index 00000000..6f7d7771 --- /dev/null +++ b/lib/auth0/types/event_stream_cloud_event_connection_deleted_object6connected_accounts.rb @@ -0,0 +1,10 @@ +# frozen_string_literal: true + +module Auth0 + module Types + # Configure the purpose of a connection to be used for connected accounts and Token Vault. + class EventStreamCloudEventConnectionDeletedObject6ConnectedAccounts < Internal::Types::Model + field :active, -> { Internal::Types::Boolean }, optional: false, nullable: false + end + end +end diff --git a/lib/auth0/types/event_stream_cloud_event_connection_deleted_object6metadata.rb b/lib/auth0/types/event_stream_cloud_event_connection_deleted_object6metadata.rb new file mode 100644 index 00000000..092d91a9 --- /dev/null +++ b/lib/auth0/types/event_stream_cloud_event_connection_deleted_object6metadata.rb @@ -0,0 +1,9 @@ +# frozen_string_literal: true + +module Auth0 + module Types + # Metadata associated with the connection in the form of an object with string values (max 255 chars). Maximum of + # 10 metadata properties allowed. + class EventStreamCloudEventConnectionDeletedObject6Metadata < Internal::Types::Model; end + end +end diff --git a/lib/auth0/types/event_stream_cloud_event_connection_deleted_object6options.rb b/lib/auth0/types/event_stream_cloud_event_connection_deleted_object6options.rb new file mode 100644 index 00000000..aa8fc933 --- /dev/null +++ b/lib/auth0/types/event_stream_cloud_event_connection_deleted_object6options.rb @@ -0,0 +1,54 @@ +# frozen_string_literal: true + +module Auth0 + module Types + # Options for the 'google-apps' connection + class EventStreamCloudEventConnectionDeletedObject6Options < Internal::Types::Model + field :admin_access_token_expiresin, -> { String }, optional: true, nullable: false + + field :allow_setting_login_scopes, -> { Internal::Types::Boolean }, optional: true, nullable: false + + field :api_enable_groups, -> { Internal::Types::Boolean }, optional: true, nullable: false + + field :api_enable_users, -> { Internal::Types::Boolean }, optional: true, nullable: false + + field :client_id, -> { String }, optional: false, nullable: false + + field :domain, -> { String }, optional: true, nullable: false + + field :domain_aliases, -> { Internal::Types::Array[String] }, optional: true, nullable: false + + field :email, -> { Internal::Types::Boolean }, optional: true, nullable: false + + field :ext_agreed_terms, -> { Internal::Types::Boolean }, optional: true, nullable: false + + field :ext_groups, -> { Internal::Types::Boolean }, optional: true, nullable: false + + field :ext_groups_extended, -> { Internal::Types::Boolean }, optional: true, nullable: false + + field :ext_is_admin, -> { Internal::Types::Boolean }, optional: true, nullable: false + + field :ext_is_suspended, -> { Internal::Types::Boolean }, optional: true, nullable: false + + field :federated_connections_access_tokens, -> { Auth0::Types::EventStreamCloudEventConnectionDeletedObject6OptionsFederatedConnectionsAccessTokens }, optional: true, nullable: false + + field :handle_login_from_social, -> { Internal::Types::Boolean }, optional: true, nullable: false + + field :icon_url, -> { String }, optional: true, nullable: false + + field :map_user_id_to_id, -> { Internal::Types::Boolean }, optional: true, nullable: false + + field :non_persistent_attrs, -> { Internal::Types::Array[String] }, optional: true, nullable: false + + field :profile, -> { Internal::Types::Boolean }, optional: true, nullable: false + + field :scope, -> { Internal::Types::Array[String] }, optional: true, nullable: false + + field :set_user_root_attributes, -> { Auth0::Types::EventStreamCloudEventConnectionDeletedObject6OptionsSetUserRootAttributesEnum }, optional: true, nullable: false + + field :tenant_domain, -> { String }, optional: true, nullable: false + + field :upstream_params, -> { Internal::Types::Hash[String, Object] }, optional: true, nullable: false + end + end +end diff --git a/lib/auth0/types/event_stream_cloud_event_connection_deleted_object6options_federated_connections_access_tokens.rb b/lib/auth0/types/event_stream_cloud_event_connection_deleted_object6options_federated_connections_access_tokens.rb new file mode 100644 index 00000000..ae9e4acd --- /dev/null +++ b/lib/auth0/types/event_stream_cloud_event_connection_deleted_object6options_federated_connections_access_tokens.rb @@ -0,0 +1,12 @@ +# frozen_string_literal: true + +module Auth0 + module Types + # Configuration for storing identity provider tokens in Auth0's Token Vault. When active, Auth0 securely stores + # access and refresh tokens from federated logins, enabling your application to make authenticated API calls on + # behalf of users. + class EventStreamCloudEventConnectionDeletedObject6OptionsFederatedConnectionsAccessTokens < Internal::Types::Model + field :active, -> { Internal::Types::Boolean }, optional: false, nullable: false + end + end +end diff --git a/lib/auth0/types/event_stream_cloud_event_connection_deleted_object6options_set_user_root_attributes_enum.rb b/lib/auth0/types/event_stream_cloud_event_connection_deleted_object6options_set_user_root_attributes_enum.rb new file mode 100644 index 00000000..482a3e63 --- /dev/null +++ b/lib/auth0/types/event_stream_cloud_event_connection_deleted_object6options_set_user_root_attributes_enum.rb @@ -0,0 +1,13 @@ +# frozen_string_literal: true + +module Auth0 + module Types + module EventStreamCloudEventConnectionDeletedObject6OptionsSetUserRootAttributesEnum + extend Auth0::Internal::Types::Enum + + ON_EACH_LOGIN = "on_each_login" + ON_FIRST_LOGIN = "on_first_login" + NEVER_ON_LOGIN = "never_on_login" + end + end +end diff --git a/lib/auth0/types/event_stream_cloud_event_connection_deleted_object6options_upstream_params.rb b/lib/auth0/types/event_stream_cloud_event_connection_deleted_object6options_upstream_params.rb new file mode 100644 index 00000000..69c0fd00 --- /dev/null +++ b/lib/auth0/types/event_stream_cloud_event_connection_deleted_object6options_upstream_params.rb @@ -0,0 +1,23 @@ +# frozen_string_literal: true + +module Auth0 + module Types + module EventStreamCloudEventConnectionDeletedObject6OptionsUpstreamParams + # EventStreamCloudEventConnectionDeletedObject6OptionsUpstreamParams is an alias for Hash + + # @option str [String] + # + # @return [untyped] + def self.load(str) + ::JSON.parse(str) + end + + # @option value [untyped] + # + # @return [String] + def self.dump(value) + ::JSON.generate(value) + end + end + end +end diff --git a/lib/auth0/types/event_stream_cloud_event_connection_deleted_object6strategy_enum.rb b/lib/auth0/types/event_stream_cloud_event_connection_deleted_object6strategy_enum.rb new file mode 100644 index 00000000..001eb074 --- /dev/null +++ b/lib/auth0/types/event_stream_cloud_event_connection_deleted_object6strategy_enum.rb @@ -0,0 +1,11 @@ +# frozen_string_literal: true + +module Auth0 + module Types + module EventStreamCloudEventConnectionDeletedObject6StrategyEnum + extend Auth0::Internal::Types::Enum + + GOOGLE_APPS = "google-apps" + end + end +end diff --git a/lib/auth0/types/event_stream_cloud_event_connection_deleted_object7.rb b/lib/auth0/types/event_stream_cloud_event_connection_deleted_object7.rb new file mode 100644 index 00000000..9e47e252 --- /dev/null +++ b/lib/auth0/types/event_stream_cloud_event_connection_deleted_object7.rb @@ -0,0 +1,31 @@ +# frozen_string_literal: true + +module Auth0 + module Types + class EventStreamCloudEventConnectionDeletedObject7 < Internal::Types::Model + field :authentication, -> { Auth0::Types::EventStreamCloudEventConnectionDeletedObject7Authentication }, optional: true, nullable: false + + field :connected_accounts, -> { Auth0::Types::EventStreamCloudEventConnectionDeletedObject7ConnectedAccounts }, optional: true, nullable: false + + field :display_name, -> { String }, optional: true, nullable: false + + field :enabled_clients, -> { Internal::Types::Array[String] }, optional: true, nullable: false + + field :id, -> { String }, optional: false, nullable: false + + field :is_domain_connection, -> { Internal::Types::Boolean }, optional: true, nullable: false + + field :metadata, -> { Auth0::Types::EventStreamCloudEventConnectionDeletedObject7Metadata }, optional: true, nullable: false + + field :name, -> { String }, optional: false, nullable: false + + field :realms, -> { Internal::Types::Array[String] }, optional: true, nullable: false + + field :options, -> { Auth0::Types::EventStreamCloudEventConnectionDeletedObject7Options }, optional: true, nullable: false + + field :show_as_button, -> { Internal::Types::Boolean }, optional: true, nullable: false + + field :strategy, -> { Auth0::Types::EventStreamCloudEventConnectionDeletedObject7StrategyEnum }, optional: false, nullable: false + end + end +end diff --git a/lib/auth0/types/event_stream_cloud_event_connection_deleted_object7authentication.rb b/lib/auth0/types/event_stream_cloud_event_connection_deleted_object7authentication.rb new file mode 100644 index 00000000..d1b7589c --- /dev/null +++ b/lib/auth0/types/event_stream_cloud_event_connection_deleted_object7authentication.rb @@ -0,0 +1,10 @@ +# frozen_string_literal: true + +module Auth0 + module Types + # Configure the purpose of a connection to be used for authentication during login. + class EventStreamCloudEventConnectionDeletedObject7Authentication < Internal::Types::Model + field :active, -> { Internal::Types::Boolean }, optional: false, nullable: false + end + end +end diff --git a/lib/auth0/types/event_stream_cloud_event_connection_deleted_object7connected_accounts.rb b/lib/auth0/types/event_stream_cloud_event_connection_deleted_object7connected_accounts.rb new file mode 100644 index 00000000..78b07608 --- /dev/null +++ b/lib/auth0/types/event_stream_cloud_event_connection_deleted_object7connected_accounts.rb @@ -0,0 +1,10 @@ +# frozen_string_literal: true + +module Auth0 + module Types + # Configure the purpose of a connection to be used for connected accounts and Token Vault. + class EventStreamCloudEventConnectionDeletedObject7ConnectedAccounts < Internal::Types::Model + field :active, -> { Internal::Types::Boolean }, optional: false, nullable: false + end + end +end diff --git a/lib/auth0/types/event_stream_cloud_event_connection_deleted_object7metadata.rb b/lib/auth0/types/event_stream_cloud_event_connection_deleted_object7metadata.rb new file mode 100644 index 00000000..f9410a01 --- /dev/null +++ b/lib/auth0/types/event_stream_cloud_event_connection_deleted_object7metadata.rb @@ -0,0 +1,9 @@ +# frozen_string_literal: true + +module Auth0 + module Types + # Metadata associated with the connection in the form of an object with string values (max 255 chars). Maximum of + # 10 metadata properties allowed. + class EventStreamCloudEventConnectionDeletedObject7Metadata < Internal::Types::Model; end + end +end diff --git a/lib/auth0/types/event_stream_cloud_event_connection_deleted_object7options.rb b/lib/auth0/types/event_stream_cloud_event_connection_deleted_object7options.rb new file mode 100644 index 00000000..10e7140f --- /dev/null +++ b/lib/auth0/types/event_stream_cloud_event_connection_deleted_object7options.rb @@ -0,0 +1,64 @@ +# frozen_string_literal: true + +module Auth0 + module Types + # Options for the 'waad' connection + class EventStreamCloudEventConnectionDeletedObject7Options < Internal::Types::Model + field :api_enable_users, -> { Internal::Types::Boolean }, optional: true, nullable: false + + field :app_domain, -> { String }, optional: true, nullable: false + + field :app_id, -> { String }, optional: true, nullable: false + + field :basic_profile, -> { Internal::Types::Boolean }, optional: true, nullable: false + + field :cert_rollover_notification, -> { String }, optional: true, nullable: false + + field :client_id, -> { String }, optional: false, nullable: false + + field :domain, -> { String }, optional: true, nullable: false + + field :domain_aliases, -> { Internal::Types::Array[String] }, optional: true, nullable: false + + field :ext_groups, -> { Internal::Types::Boolean }, optional: true, nullable: false + + field :ext_nested_groups, -> { Internal::Types::Boolean }, optional: true, nullable: false + + field :ext_profile, -> { Internal::Types::Boolean }, optional: true, nullable: false + + field :federated_connections_access_tokens, -> { Auth0::Types::EventStreamCloudEventConnectionDeletedObject7OptionsFederatedConnectionsAccessTokens }, optional: true, nullable: false + + field :granted, -> { Internal::Types::Boolean }, optional: true, nullable: false + + field :icon_url, -> { String }, optional: true, nullable: false + + field :identity_api, -> { Auth0::Types::EventStreamCloudEventConnectionDeletedObject7OptionsIdentityAPIEnum }, optional: true, nullable: false + + field :max_groups_to_retrieve, -> { String }, optional: true, nullable: false + + field :non_persistent_attrs, -> { Internal::Types::Array[String] }, optional: true, nullable: false + + field :scope, -> { Internal::Types::Array[String] }, optional: true, nullable: false + + field :set_user_root_attributes, -> { Auth0::Types::EventStreamCloudEventConnectionDeletedObject7OptionsSetUserRootAttributesEnum }, optional: true, nullable: false + + field :should_trust_email_verified_connection, -> { Auth0::Types::EventStreamCloudEventConnectionDeletedObject7OptionsShouldTrustEmailVerifiedConnectionEnum }, optional: true, nullable: false + + field :tenant_domain, -> { String }, optional: true, nullable: false + + field :tenant_id, -> { String }, optional: true, nullable: false, api_name: "tenantId" + + field :thumbprints, -> { Internal::Types::Array[String] }, optional: true, nullable: false + + field :upstream_params, -> { Internal::Types::Hash[String, Object] }, optional: true, nullable: false + + field :use_wsfed, -> { Internal::Types::Boolean }, optional: true, nullable: false + + field :use_common_endpoint, -> { Internal::Types::Boolean }, optional: true, nullable: false, api_name: "useCommonEndpoint" + + field :userid_attribute, -> { Auth0::Types::EventStreamCloudEventConnectionDeletedObject7OptionsUseridAttributeEnum }, optional: true, nullable: false + + field :waad_protocol, -> { Auth0::Types::EventStreamCloudEventConnectionDeletedObject7OptionsWaadProtocolEnum }, optional: true, nullable: false + end + end +end diff --git a/lib/auth0/types/event_stream_cloud_event_connection_deleted_object7options_federated_connections_access_tokens.rb b/lib/auth0/types/event_stream_cloud_event_connection_deleted_object7options_federated_connections_access_tokens.rb new file mode 100644 index 00000000..71afb5d3 --- /dev/null +++ b/lib/auth0/types/event_stream_cloud_event_connection_deleted_object7options_federated_connections_access_tokens.rb @@ -0,0 +1,12 @@ +# frozen_string_literal: true + +module Auth0 + module Types + # Configuration for storing identity provider tokens in Auth0's Token Vault. When active, Auth0 securely stores + # access and refresh tokens from federated logins, enabling your application to make authenticated API calls on + # behalf of users. + class EventStreamCloudEventConnectionDeletedObject7OptionsFederatedConnectionsAccessTokens < Internal::Types::Model + field :active, -> { Internal::Types::Boolean }, optional: false, nullable: false + end + end +end diff --git a/lib/auth0/types/event_stream_cloud_event_connection_deleted_object7options_identity_api_enum.rb b/lib/auth0/types/event_stream_cloud_event_connection_deleted_object7options_identity_api_enum.rb new file mode 100644 index 00000000..8089adbb --- /dev/null +++ b/lib/auth0/types/event_stream_cloud_event_connection_deleted_object7options_identity_api_enum.rb @@ -0,0 +1,12 @@ +# frozen_string_literal: true + +module Auth0 + module Types + module EventStreamCloudEventConnectionDeletedObject7OptionsIdentityAPIEnum + extend Auth0::Internal::Types::Enum + + MICROSOFT_IDENTITY_PLATFORM_V20 = "microsoft-identity-platform-v2.0" + AZURE_ACTIVE_DIRECTORY_V10 = "azure-active-directory-v1.0" + end + end +end diff --git a/lib/auth0/types/event_stream_cloud_event_connection_deleted_object7options_set_user_root_attributes_enum.rb b/lib/auth0/types/event_stream_cloud_event_connection_deleted_object7options_set_user_root_attributes_enum.rb new file mode 100644 index 00000000..80e9a9a9 --- /dev/null +++ b/lib/auth0/types/event_stream_cloud_event_connection_deleted_object7options_set_user_root_attributes_enum.rb @@ -0,0 +1,13 @@ +# frozen_string_literal: true + +module Auth0 + module Types + module EventStreamCloudEventConnectionDeletedObject7OptionsSetUserRootAttributesEnum + extend Auth0::Internal::Types::Enum + + ON_EACH_LOGIN = "on_each_login" + ON_FIRST_LOGIN = "on_first_login" + NEVER_ON_LOGIN = "never_on_login" + end + end +end diff --git a/lib/auth0/types/event_stream_cloud_event_connection_deleted_object7options_should_trust_email_verified_connection_enum.rb b/lib/auth0/types/event_stream_cloud_event_connection_deleted_object7options_should_trust_email_verified_connection_enum.rb new file mode 100644 index 00000000..cb2eb230 --- /dev/null +++ b/lib/auth0/types/event_stream_cloud_event_connection_deleted_object7options_should_trust_email_verified_connection_enum.rb @@ -0,0 +1,12 @@ +# frozen_string_literal: true + +module Auth0 + module Types + module EventStreamCloudEventConnectionDeletedObject7OptionsShouldTrustEmailVerifiedConnectionEnum + extend Auth0::Internal::Types::Enum + + NEVER_SET_EMAILS_AS_VERIFIED = "never_set_emails_as_verified" + ALWAYS_SET_EMAILS_AS_VERIFIED = "always_set_emails_as_verified" + end + end +end diff --git a/lib/auth0/types/event_stream_cloud_event_connection_deleted_object7options_tenant_domain_one.rb b/lib/auth0/types/event_stream_cloud_event_connection_deleted_object7options_tenant_domain_one.rb new file mode 100644 index 00000000..f31f00df --- /dev/null +++ b/lib/auth0/types/event_stream_cloud_event_connection_deleted_object7options_tenant_domain_one.rb @@ -0,0 +1,23 @@ +# frozen_string_literal: true + +module Auth0 + module Types + module EventStreamCloudEventConnectionDeletedObject7OptionsTenantDomainOne + # EventStreamCloudEventConnectionDeletedObject7OptionsTenantDomainOne is an alias for String + + # @option str [String] + # + # @return [untyped] + def self.load(str) + ::JSON.parse(str) + end + + # @option value [untyped] + # + # @return [String] + def self.dump(value) + ::JSON.generate(value) + end + end + end +end diff --git a/lib/auth0/types/event_stream_cloud_event_connection_deleted_object7options_upstream_params.rb b/lib/auth0/types/event_stream_cloud_event_connection_deleted_object7options_upstream_params.rb new file mode 100644 index 00000000..ff31f69a --- /dev/null +++ b/lib/auth0/types/event_stream_cloud_event_connection_deleted_object7options_upstream_params.rb @@ -0,0 +1,23 @@ +# frozen_string_literal: true + +module Auth0 + module Types + module EventStreamCloudEventConnectionDeletedObject7OptionsUpstreamParams + # EventStreamCloudEventConnectionDeletedObject7OptionsUpstreamParams is an alias for Hash + + # @option str [String] + # + # @return [untyped] + def self.load(str) + ::JSON.parse(str) + end + + # @option value [untyped] + # + # @return [String] + def self.dump(value) + ::JSON.generate(value) + end + end + end +end diff --git a/lib/auth0/types/event_stream_cloud_event_connection_deleted_object7options_userid_attribute_enum.rb b/lib/auth0/types/event_stream_cloud_event_connection_deleted_object7options_userid_attribute_enum.rb new file mode 100644 index 00000000..5c329d49 --- /dev/null +++ b/lib/auth0/types/event_stream_cloud_event_connection_deleted_object7options_userid_attribute_enum.rb @@ -0,0 +1,12 @@ +# frozen_string_literal: true + +module Auth0 + module Types + module EventStreamCloudEventConnectionDeletedObject7OptionsUseridAttributeEnum + extend Auth0::Internal::Types::Enum + + OID = "oid" + SUB = "sub" + end + end +end diff --git a/lib/auth0/types/event_stream_cloud_event_connection_deleted_object7options_waad_protocol_enum.rb b/lib/auth0/types/event_stream_cloud_event_connection_deleted_object7options_waad_protocol_enum.rb new file mode 100644 index 00000000..3776605b --- /dev/null +++ b/lib/auth0/types/event_stream_cloud_event_connection_deleted_object7options_waad_protocol_enum.rb @@ -0,0 +1,12 @@ +# frozen_string_literal: true + +module Auth0 + module Types + module EventStreamCloudEventConnectionDeletedObject7OptionsWaadProtocolEnum + extend Auth0::Internal::Types::Enum + + WS_FEDERATION = "ws-federation" + OPENID_CONNECT = "openid-connect" + end + end +end diff --git a/lib/auth0/types/event_stream_cloud_event_connection_deleted_object7strategy_enum.rb b/lib/auth0/types/event_stream_cloud_event_connection_deleted_object7strategy_enum.rb new file mode 100644 index 00000000..d0e88372 --- /dev/null +++ b/lib/auth0/types/event_stream_cloud_event_connection_deleted_object7strategy_enum.rb @@ -0,0 +1,11 @@ +# frozen_string_literal: true + +module Auth0 + module Types + module EventStreamCloudEventConnectionDeletedObject7StrategyEnum + extend Auth0::Internal::Types::Enum + + WAAD = "waad" + end + end +end diff --git a/lib/auth0/types/event_stream_cloud_event_connection_deleted_type_enum.rb b/lib/auth0/types/event_stream_cloud_event_connection_deleted_type_enum.rb new file mode 100644 index 00000000..16833133 --- /dev/null +++ b/lib/auth0/types/event_stream_cloud_event_connection_deleted_type_enum.rb @@ -0,0 +1,11 @@ +# frozen_string_literal: true + +module Auth0 + module Types + module EventStreamCloudEventConnectionDeletedTypeEnum + extend Auth0::Internal::Types::Enum + + CONNECTION_DELETED = "connection.deleted" + end + end +end diff --git a/lib/auth0/types/event_stream_cloud_event_connection_updated.rb b/lib/auth0/types/event_stream_cloud_event_connection_updated.rb new file mode 100644 index 00000000..d1ee1cac --- /dev/null +++ b/lib/auth0/types/event_stream_cloud_event_connection_updated.rb @@ -0,0 +1,12 @@ +# frozen_string_literal: true + +module Auth0 + module Types + # SSE message for connection.updated. + class EventStreamCloudEventConnectionUpdated < Internal::Types::Model + field :offset, -> { String }, optional: false, nullable: false + + field :event, -> { Auth0::Types::EventStreamCloudEventConnectionUpdatedCloudEvent }, optional: false, nullable: false + end + end +end diff --git a/lib/auth0/types/event_stream_cloud_event_connection_updated_cloud_event.rb b/lib/auth0/types/event_stream_cloud_event_connection_updated_cloud_event.rb new file mode 100644 index 00000000..113897a2 --- /dev/null +++ b/lib/auth0/types/event_stream_cloud_event_connection_updated_cloud_event.rb @@ -0,0 +1,26 @@ +# frozen_string_literal: true + +module Auth0 + module Types + # Represents an event that occurs when a connection is updated. + class EventStreamCloudEventConnectionUpdatedCloudEvent < Internal::Types::Model + field :specversion, -> { Auth0::Types::EventStreamCloudEventSpecVersionEnum }, optional: false, nullable: false + + field :type, -> { Auth0::Types::EventStreamCloudEventConnectionUpdatedCloudEventTypeEnum }, optional: false, nullable: false + + field :source, -> { String }, optional: false, nullable: false + + field :id, -> { String }, optional: false, nullable: false + + field :time, -> { String }, optional: false, nullable: false + + field :data, -> { Auth0::Types::EventStreamCloudEventConnectionUpdatedData }, optional: false, nullable: false + + field :a0tenant, -> { String }, optional: false, nullable: false + + field :a0stream, -> { String }, optional: false, nullable: false + + field :a0purpose, -> { Auth0::Types::EventStreamCloudEventA0PurposeEnum }, optional: true, nullable: false + end + end +end diff --git a/lib/auth0/types/event_stream_cloud_event_connection_updated_cloud_event_type_enum.rb b/lib/auth0/types/event_stream_cloud_event_connection_updated_cloud_event_type_enum.rb new file mode 100644 index 00000000..d71b9d75 --- /dev/null +++ b/lib/auth0/types/event_stream_cloud_event_connection_updated_cloud_event_type_enum.rb @@ -0,0 +1,11 @@ +# frozen_string_literal: true + +module Auth0 + module Types + module EventStreamCloudEventConnectionUpdatedCloudEventTypeEnum + extend Auth0::Internal::Types::Enum + + CONNECTION_UPDATED = "connection.updated" + end + end +end diff --git a/lib/auth0/types/event_stream_cloud_event_connection_updated_data.rb b/lib/auth0/types/event_stream_cloud_event_connection_updated_data.rb new file mode 100644 index 00000000..1f08d8ea --- /dev/null +++ b/lib/auth0/types/event_stream_cloud_event_connection_updated_data.rb @@ -0,0 +1,12 @@ +# frozen_string_literal: true + +module Auth0 + module Types + # The event payload. + class EventStreamCloudEventConnectionUpdatedData < Internal::Types::Model + field :object, -> { Auth0::Types::EventStreamCloudEventConnectionUpdatedObject }, optional: false, nullable: false + + field :context, -> { Auth0::Types::EventStreamCloudEventContext }, optional: true, nullable: false + end + end +end diff --git a/lib/auth0/types/event_stream_cloud_event_connection_updated_object.rb b/lib/auth0/types/event_stream_cloud_event_connection_updated_object.rb new file mode 100644 index 00000000..60844c91 --- /dev/null +++ b/lib/auth0/types/event_stream_cloud_event_connection_updated_object.rb @@ -0,0 +1,26 @@ +# frozen_string_literal: true + +module Auth0 + module Types + # The event content. + class EventStreamCloudEventConnectionUpdatedObject < Internal::Types::Model + extend Auth0::Internal::Types::Union + + member -> { Auth0::Types::EventStreamCloudEventConnectionUpdatedObject0 } + + member -> { Auth0::Types::EventStreamCloudEventConnectionUpdatedObject1 } + + member -> { Auth0::Types::EventStreamCloudEventConnectionUpdatedObject2 } + + member -> { Auth0::Types::EventStreamCloudEventConnectionUpdatedObject3 } + + member -> { Auth0::Types::EventStreamCloudEventConnectionUpdatedObject4 } + + member -> { Auth0::Types::EventStreamCloudEventConnectionUpdatedObject5 } + + member -> { Auth0::Types::EventStreamCloudEventConnectionUpdatedObject6 } + + member -> { Auth0::Types::EventStreamCloudEventConnectionUpdatedObject7 } + end + end +end diff --git a/lib/auth0/types/event_stream_cloud_event_connection_updated_object0.rb b/lib/auth0/types/event_stream_cloud_event_connection_updated_object0.rb new file mode 100644 index 00000000..f7bb1d7c --- /dev/null +++ b/lib/auth0/types/event_stream_cloud_event_connection_updated_object0.rb @@ -0,0 +1,31 @@ +# frozen_string_literal: true + +module Auth0 + module Types + class EventStreamCloudEventConnectionUpdatedObject0 < Internal::Types::Model + field :authentication, -> { Auth0::Types::EventStreamCloudEventConnectionUpdatedObject0Authentication }, optional: true, nullable: false + + field :display_name, -> { String }, optional: true, nullable: false + + field :enabled_clients, -> { Internal::Types::Array[String] }, optional: true, nullable: false + + field :id, -> { String }, optional: false, nullable: false + + field :is_domain_connection, -> { Internal::Types::Boolean }, optional: true, nullable: false + + field :metadata, -> { Auth0::Types::EventStreamCloudEventConnectionUpdatedObject0Metadata }, optional: true, nullable: false + + field :name, -> { String }, optional: false, nullable: false + + field :realms, -> { Internal::Types::Array[String] }, optional: true, nullable: false + + field :connected_accounts, -> { Auth0::Types::EventStreamCloudEventConnectionUpdatedObject0ConnectedAccounts }, optional: true, nullable: false + + field :options, -> { Auth0::Types::EventStreamCloudEventConnectionUpdatedObject0Options }, optional: true, nullable: false + + field :show_as_button, -> { Internal::Types::Boolean }, optional: true, nullable: false + + field :strategy, -> { Auth0::Types::EventStreamCloudEventConnectionUpdatedObject0StrategyEnum }, optional: false, nullable: false + end + end +end diff --git a/lib/auth0/types/event_stream_cloud_event_connection_updated_object0authentication.rb b/lib/auth0/types/event_stream_cloud_event_connection_updated_object0authentication.rb new file mode 100644 index 00000000..f721755a --- /dev/null +++ b/lib/auth0/types/event_stream_cloud_event_connection_updated_object0authentication.rb @@ -0,0 +1,10 @@ +# frozen_string_literal: true + +module Auth0 + module Types + # Configure the purpose of a connection to be used for authentication during login. + class EventStreamCloudEventConnectionUpdatedObject0Authentication < Internal::Types::Model + field :active, -> { Internal::Types::Boolean }, optional: false, nullable: false + end + end +end diff --git a/lib/auth0/types/event_stream_cloud_event_connection_updated_object0connected_accounts.rb b/lib/auth0/types/event_stream_cloud_event_connection_updated_object0connected_accounts.rb new file mode 100644 index 00000000..fc04bf9c --- /dev/null +++ b/lib/auth0/types/event_stream_cloud_event_connection_updated_object0connected_accounts.rb @@ -0,0 +1,12 @@ +# frozen_string_literal: true + +module Auth0 + module Types + # Configure the purpose of a connection to be used for connected accounts and Token Vault. + class EventStreamCloudEventConnectionUpdatedObject0ConnectedAccounts < Internal::Types::Model + field :active, -> { Internal::Types::Boolean }, optional: false, nullable: false + + field :cross_app_access, -> { Internal::Types::Boolean }, optional: true, nullable: false + end + end +end diff --git a/lib/auth0/types/event_stream_cloud_event_connection_updated_object0metadata.rb b/lib/auth0/types/event_stream_cloud_event_connection_updated_object0metadata.rb new file mode 100644 index 00000000..f36fd2b3 --- /dev/null +++ b/lib/auth0/types/event_stream_cloud_event_connection_updated_object0metadata.rb @@ -0,0 +1,9 @@ +# frozen_string_literal: true + +module Auth0 + module Types + # Metadata associated with the connection in the form of an object with string values (max 255 chars). Maximum of + # 10 metadata properties allowed. + class EventStreamCloudEventConnectionUpdatedObject0Metadata < Internal::Types::Model; end + end +end diff --git a/lib/auth0/types/event_stream_cloud_event_connection_updated_object0options.rb b/lib/auth0/types/event_stream_cloud_event_connection_updated_object0options.rb new file mode 100644 index 00000000..6668e2a7 --- /dev/null +++ b/lib/auth0/types/event_stream_cloud_event_connection_updated_object0options.rb @@ -0,0 +1,62 @@ +# frozen_string_literal: true + +module Auth0 + module Types + # Options for the 'oidc' connection + class EventStreamCloudEventConnectionUpdatedObject0Options < Internal::Types::Model + field :authorization_endpoint, -> { String }, optional: true, nullable: false + + field :client_id, -> { String }, optional: false, nullable: false + + field :connection_settings, -> { Auth0::Types::EventStreamCloudEventConnectionUpdatedObject0OptionsConnectionSettings }, optional: true, nullable: false + + field :domain_aliases, -> { Internal::Types::Array[String] }, optional: true, nullable: false + + field :dpop_signing_alg, -> { Auth0::Types::EventStreamCloudEventConnectionUpdatedObject0OptionsDpopSigningAlgEnum }, optional: true, nullable: false + + field :federated_connections_access_tokens, -> { Auth0::Types::EventStreamCloudEventConnectionUpdatedObject0OptionsFederatedConnectionsAccessTokens }, optional: true, nullable: false + + field :icon_url, -> { String }, optional: true, nullable: false + + field :id_token_session_expiry_supported, -> { Internal::Types::Boolean }, optional: true, nullable: false + + field :id_token_signed_response_algs, -> { Internal::Types::Array[Auth0::Types::EventStreamCloudEventConnectionUpdatedObject0OptionsIDTokenSignedResponseAlgsItemEnum] }, optional: true, nullable: false + + field :issuer, -> { String }, optional: true, nullable: false + + field :jwks_uri, -> { String }, optional: true, nullable: false + + field :non_persistent_attrs, -> { Internal::Types::Array[String] }, optional: true, nullable: false + + field :oidc_metadata, -> { Auth0::Types::EventStreamCloudEventConnectionUpdatedObject0OptionsOidcMetadata }, optional: true, nullable: false + + field :schema_version, -> { Auth0::Types::EventStreamCloudEventConnectionUpdatedObject0OptionsSchemaVersionEnum }, optional: true, nullable: false + + field :scope, -> { String }, optional: true, nullable: false + + field :send_back_channel_nonce, -> { Internal::Types::Boolean }, optional: true, nullable: false + + field :set_user_root_attributes, -> { Auth0::Types::EventStreamCloudEventConnectionUpdatedObject0OptionsSetUserRootAttributesEnum }, optional: true, nullable: false + + field :tenant_domain, -> { String }, optional: true, nullable: false + + field :token_endpoint, -> { String }, optional: true, nullable: false + + field :token_endpoint_auth_method, -> { Auth0::Types::EventStreamCloudEventConnectionUpdatedObject0OptionsTokenEndpointAuthMethodEnum }, optional: true, nullable: false + + field :token_endpoint_auth_signing_alg, -> { Auth0::Types::EventStreamCloudEventConnectionUpdatedObject0OptionsTokenEndpointAuthSigningAlgEnum }, optional: true, nullable: false + + field :token_endpoint_jwtca_aud_format, -> { Auth0::Types::EventStreamCloudEventConnectionUpdatedObject0OptionsTokenEndpointJwtcaAudFormatEnum }, optional: true, nullable: false + + field :upstream_params, -> { Internal::Types::Hash[String, Object] }, optional: true, nullable: false + + field :userinfo_endpoint, -> { String }, optional: true, nullable: false + + field :attribute_map, -> { Auth0::Types::EventStreamCloudEventConnectionUpdatedObject0OptionsAttributeMap }, optional: true, nullable: false + + field :discovery_url, -> { String }, optional: true, nullable: false + + field :type, -> { Auth0::Types::EventStreamCloudEventConnectionUpdatedObject0OptionsTypeEnum }, optional: true, nullable: false + end + end +end diff --git a/lib/auth0/types/event_stream_cloud_event_connection_updated_object0options_attribute_map.rb b/lib/auth0/types/event_stream_cloud_event_connection_updated_object0options_attribute_map.rb new file mode 100644 index 00000000..72e22625 --- /dev/null +++ b/lib/auth0/types/event_stream_cloud_event_connection_updated_object0options_attribute_map.rb @@ -0,0 +1,15 @@ +# frozen_string_literal: true + +module Auth0 + module Types + # Configuration for mapping claims from the identity provider to Auth0 user profile attributes. Allows customizing + # which IdP claims populate user fields and how they are transformed. + class EventStreamCloudEventConnectionUpdatedObject0OptionsAttributeMap < Internal::Types::Model + field :attributes, -> { Internal::Types::Hash[String, Object] }, optional: true, nullable: false + + field :userinfo_scope, -> { String }, optional: true, nullable: false + + field :mapping_mode, -> { Auth0::Types::EventStreamCloudEventConnectionUpdatedObject0OptionsAttributeMapMappingModeEnum }, optional: true, nullable: false + end + end +end diff --git a/lib/auth0/types/event_stream_cloud_event_connection_updated_object0options_attribute_map_attributes.rb b/lib/auth0/types/event_stream_cloud_event_connection_updated_object0options_attribute_map_attributes.rb new file mode 100644 index 00000000..b3a17420 --- /dev/null +++ b/lib/auth0/types/event_stream_cloud_event_connection_updated_object0options_attribute_map_attributes.rb @@ -0,0 +1,23 @@ +# frozen_string_literal: true + +module Auth0 + module Types + module EventStreamCloudEventConnectionUpdatedObject0OptionsAttributeMapAttributes + # EventStreamCloudEventConnectionUpdatedObject0OptionsAttributeMapAttributes is an alias for Hash + + # @option str [String] + # + # @return [untyped] + def self.load(str) + ::JSON.parse(str) + end + + # @option value [untyped] + # + # @return [String] + def self.dump(value) + ::JSON.generate(value) + end + end + end +end diff --git a/lib/auth0/types/event_stream_cloud_event_connection_updated_object0options_attribute_map_mapping_mode_enum.rb b/lib/auth0/types/event_stream_cloud_event_connection_updated_object0options_attribute_map_mapping_mode_enum.rb new file mode 100644 index 00000000..1e0e22ff --- /dev/null +++ b/lib/auth0/types/event_stream_cloud_event_connection_updated_object0options_attribute_map_mapping_mode_enum.rb @@ -0,0 +1,12 @@ +# frozen_string_literal: true + +module Auth0 + module Types + module EventStreamCloudEventConnectionUpdatedObject0OptionsAttributeMapMappingModeEnum + extend Auth0::Internal::Types::Enum + + BIND_ALL = "bind_all" + USE_MAP = "use_map" + end + end +end diff --git a/lib/auth0/types/event_stream_cloud_event_connection_updated_object0options_connection_settings.rb b/lib/auth0/types/event_stream_cloud_event_connection_updated_object0options_connection_settings.rb new file mode 100644 index 00000000..1a2d1564 --- /dev/null +++ b/lib/auth0/types/event_stream_cloud_event_connection_updated_object0options_connection_settings.rb @@ -0,0 +1,11 @@ +# frozen_string_literal: true + +module Auth0 + module Types + # OAuth 2.0 PKCE (Proof Key for Code Exchange) settings. PKCE enhances security for public clients by preventing + # authorization code interception attacks. 'auto' (recommended) uses the strongest method supported by the IdP. + class EventStreamCloudEventConnectionUpdatedObject0OptionsConnectionSettings < Internal::Types::Model + field :pkce, -> { Auth0::Types::EventStreamCloudEventConnectionUpdatedObject0OptionsConnectionSettingsPkceEnum }, optional: true, nullable: false + end + end +end diff --git a/lib/auth0/types/event_stream_cloud_event_connection_updated_object0options_connection_settings_pkce_enum.rb b/lib/auth0/types/event_stream_cloud_event_connection_updated_object0options_connection_settings_pkce_enum.rb new file mode 100644 index 00000000..6f4ec8b5 --- /dev/null +++ b/lib/auth0/types/event_stream_cloud_event_connection_updated_object0options_connection_settings_pkce_enum.rb @@ -0,0 +1,14 @@ +# frozen_string_literal: true + +module Auth0 + module Types + module EventStreamCloudEventConnectionUpdatedObject0OptionsConnectionSettingsPkceEnum + extend Auth0::Internal::Types::Enum + + AUTO = "auto" + S256 = "S256" + PLAIN = "plain" + DISABLED = "disabled" + end + end +end diff --git a/lib/auth0/types/event_stream_cloud_event_connection_updated_object0options_dpop_signing_alg_enum.rb b/lib/auth0/types/event_stream_cloud_event_connection_updated_object0options_dpop_signing_alg_enum.rb new file mode 100644 index 00000000..c5233b35 --- /dev/null +++ b/lib/auth0/types/event_stream_cloud_event_connection_updated_object0options_dpop_signing_alg_enum.rb @@ -0,0 +1,14 @@ +# frozen_string_literal: true + +module Auth0 + module Types + module EventStreamCloudEventConnectionUpdatedObject0OptionsDpopSigningAlgEnum + extend Auth0::Internal::Types::Enum + + ES256 = "ES256" + ES384 = "ES384" + ES512 = "ES512" + ED25519 = "Ed25519" + end + end +end diff --git a/lib/auth0/types/event_stream_cloud_event_connection_updated_object0options_federated_connections_access_tokens.rb b/lib/auth0/types/event_stream_cloud_event_connection_updated_object0options_federated_connections_access_tokens.rb new file mode 100644 index 00000000..2204fc7a --- /dev/null +++ b/lib/auth0/types/event_stream_cloud_event_connection_updated_object0options_federated_connections_access_tokens.rb @@ -0,0 +1,12 @@ +# frozen_string_literal: true + +module Auth0 + module Types + # Configuration for storing identity provider tokens in Auth0's Token Vault. When active, Auth0 securely stores + # access and refresh tokens from federated logins, enabling your application to make authenticated API calls on + # behalf of users. + class EventStreamCloudEventConnectionUpdatedObject0OptionsFederatedConnectionsAccessTokens < Internal::Types::Model + field :active, -> { Internal::Types::Boolean }, optional: false, nullable: false + end + end +end diff --git a/lib/auth0/types/event_stream_cloud_event_connection_updated_object0options_id_token_signed_response_algs_item_enum.rb b/lib/auth0/types/event_stream_cloud_event_connection_updated_object0options_id_token_signed_response_algs_item_enum.rb new file mode 100644 index 00000000..ebbee725 --- /dev/null +++ b/lib/auth0/types/event_stream_cloud_event_connection_updated_object0options_id_token_signed_response_algs_item_enum.rb @@ -0,0 +1,17 @@ +# frozen_string_literal: true + +module Auth0 + module Types + module EventStreamCloudEventConnectionUpdatedObject0OptionsIDTokenSignedResponseAlgsItemEnum + extend Auth0::Internal::Types::Enum + + ES256 = "ES256" + ES384 = "ES384" + PS256 = "PS256" + PS384 = "PS384" + RS256 = "RS256" + RS384 = "RS384" + RS512 = "RS512" + end + end +end diff --git a/lib/auth0/types/event_stream_cloud_event_connection_updated_object0options_oidc_metadata.rb b/lib/auth0/types/event_stream_cloud_event_connection_updated_object0options_oidc_metadata.rb new file mode 100644 index 00000000..ee2f5a6a --- /dev/null +++ b/lib/auth0/types/event_stream_cloud_event_connection_updated_object0options_oidc_metadata.rb @@ -0,0 +1,83 @@ +# frozen_string_literal: true + +module Auth0 + module Types + # OpenID Connect Provider Metadata as per + # https://openid.net/specs/openid-connect-discovery-1_0.html#ProviderMetadata + class EventStreamCloudEventConnectionUpdatedObject0OptionsOidcMetadata < Internal::Types::Model + field :acr_values_supported, -> { Internal::Types::Array[String] }, optional: true, nullable: false + + field :authorization_endpoint, -> { String }, optional: false, nullable: false + + field :claim_types_supported, -> { Internal::Types::Array[String] }, optional: true, nullable: false + + field :claims_locales_supported, -> { Internal::Types::Array[String] }, optional: true, nullable: false + + field :claims_parameter_supported, -> { Internal::Types::Boolean }, optional: true, nullable: false + + field :claims_supported, -> { Internal::Types::Array[String] }, optional: true, nullable: false + + field :display_values_supported, -> { Internal::Types::Array[String] }, optional: true, nullable: false + + field :dpop_signing_alg_values_supported, -> { Internal::Types::Array[String] }, optional: true, nullable: false + + field :end_session_endpoint, -> { String }, optional: true, nullable: false + + field :grant_types_supported, -> { Internal::Types::Array[String] }, optional: true, nullable: false + + field :id_token_encryption_alg_values_supported, -> { Internal::Types::Array[String] }, optional: true, nullable: false + + field :id_token_encryption_enc_values_supported, -> { Internal::Types::Array[String] }, optional: true, nullable: false + + field :id_token_signing_alg_values_supported, -> { Internal::Types::Array[String] }, optional: false, nullable: false + + field :issuer, -> { String }, optional: false, nullable: false + + field :jwks_uri, -> { String }, optional: false, nullable: false + + field :op_policy_uri, -> { String }, optional: true, nullable: false + + field :op_tos_uri, -> { String }, optional: true, nullable: false + + field :registration_endpoint, -> { String }, optional: true, nullable: false + + field :request_object_encryption_alg_values_supported, -> { Internal::Types::Array[String] }, optional: true, nullable: false + + field :request_object_encryption_enc_values_supported, -> { Internal::Types::Array[String] }, optional: true, nullable: false + + field :request_object_signing_alg_values_supported, -> { Internal::Types::Array[String] }, optional: true, nullable: false + + field :request_parameter_supported, -> { Internal::Types::Boolean }, optional: true, nullable: false + + field :request_uri_parameter_supported, -> { Internal::Types::Boolean }, optional: true, nullable: false + + field :require_request_uri_registration, -> { Internal::Types::Boolean }, optional: true, nullable: false + + field :response_modes_supported, -> { Internal::Types::Array[String] }, optional: true, nullable: false + + field :response_types_supported, -> { Internal::Types::Array[String] }, optional: true, nullable: false + + field :scopes_supported, -> { Internal::Types::Array[String] }, optional: true, nullable: false + + field :service_documentation, -> { String }, optional: true, nullable: false + + field :subject_types_supported, -> { Internal::Types::Array[String] }, optional: true, nullable: false + + field :token_endpoint, -> { String }, optional: true, nullable: false + + field :token_endpoint_auth_methods_supported, -> { Internal::Types::Array[String] }, optional: true, nullable: false + + field :token_endpoint_auth_signing_alg_values_supported, -> { Internal::Types::Array[String] }, optional: true, nullable: false + + field :ui_locales_supported, -> { Internal::Types::Array[String] }, optional: true, nullable: false + + field :userinfo_encryption_alg_values_supported, -> { Internal::Types::Array[String] }, optional: true, nullable: false + + field :userinfo_encryption_enc_values_supported, -> { Internal::Types::Array[String] }, optional: true, nullable: false + + field :userinfo_endpoint, -> { String }, optional: true, nullable: false + + field :userinfo_signing_alg_values_supported, -> { Internal::Types::Array[String] }, optional: true, nullable: false + end + end +end diff --git a/lib/auth0/types/event_stream_cloud_event_connection_updated_object0options_schema_version_enum.rb b/lib/auth0/types/event_stream_cloud_event_connection_updated_object0options_schema_version_enum.rb new file mode 100644 index 00000000..f4c13401 --- /dev/null +++ b/lib/auth0/types/event_stream_cloud_event_connection_updated_object0options_schema_version_enum.rb @@ -0,0 +1,12 @@ +# frozen_string_literal: true + +module Auth0 + module Types + module EventStreamCloudEventConnectionUpdatedObject0OptionsSchemaVersionEnum + extend Auth0::Internal::Types::Enum + + OPENID100 = "openid-1.0.0" + OIDC_V4 = "oidc-v4" + end + end +end diff --git a/lib/auth0/types/event_stream_cloud_event_connection_updated_object0options_set_user_root_attributes_enum.rb b/lib/auth0/types/event_stream_cloud_event_connection_updated_object0options_set_user_root_attributes_enum.rb new file mode 100644 index 00000000..b4e2eaeb --- /dev/null +++ b/lib/auth0/types/event_stream_cloud_event_connection_updated_object0options_set_user_root_attributes_enum.rb @@ -0,0 +1,13 @@ +# frozen_string_literal: true + +module Auth0 + module Types + module EventStreamCloudEventConnectionUpdatedObject0OptionsSetUserRootAttributesEnum + extend Auth0::Internal::Types::Enum + + ON_EACH_LOGIN = "on_each_login" + ON_FIRST_LOGIN = "on_first_login" + NEVER_ON_LOGIN = "never_on_login" + end + end +end diff --git a/lib/auth0/types/event_stream_cloud_event_connection_updated_object0options_token_endpoint_auth_method_enum.rb b/lib/auth0/types/event_stream_cloud_event_connection_updated_object0options_token_endpoint_auth_method_enum.rb new file mode 100644 index 00000000..b1973819 --- /dev/null +++ b/lib/auth0/types/event_stream_cloud_event_connection_updated_object0options_token_endpoint_auth_method_enum.rb @@ -0,0 +1,12 @@ +# frozen_string_literal: true + +module Auth0 + module Types + module EventStreamCloudEventConnectionUpdatedObject0OptionsTokenEndpointAuthMethodEnum + extend Auth0::Internal::Types::Enum + + CLIENT_SECRET_POST = "client_secret_post" + PRIVATE_KEY_JWT = "private_key_jwt" + end + end +end diff --git a/lib/auth0/types/event_stream_cloud_event_connection_updated_object0options_token_endpoint_auth_signing_alg_enum.rb b/lib/auth0/types/event_stream_cloud_event_connection_updated_object0options_token_endpoint_auth_signing_alg_enum.rb new file mode 100644 index 00000000..9ea54ecb --- /dev/null +++ b/lib/auth0/types/event_stream_cloud_event_connection_updated_object0options_token_endpoint_auth_signing_alg_enum.rb @@ -0,0 +1,17 @@ +# frozen_string_literal: true + +module Auth0 + module Types + module EventStreamCloudEventConnectionUpdatedObject0OptionsTokenEndpointAuthSigningAlgEnum + extend Auth0::Internal::Types::Enum + + ES256 = "ES256" + ES384 = "ES384" + PS256 = "PS256" + PS384 = "PS384" + RS256 = "RS256" + RS384 = "RS384" + RS512 = "RS512" + end + end +end diff --git a/lib/auth0/types/event_stream_cloud_event_connection_updated_object0options_token_endpoint_jwtca_aud_format_enum.rb b/lib/auth0/types/event_stream_cloud_event_connection_updated_object0options_token_endpoint_jwtca_aud_format_enum.rb new file mode 100644 index 00000000..43b930e8 --- /dev/null +++ b/lib/auth0/types/event_stream_cloud_event_connection_updated_object0options_token_endpoint_jwtca_aud_format_enum.rb @@ -0,0 +1,12 @@ +# frozen_string_literal: true + +module Auth0 + module Types + module EventStreamCloudEventConnectionUpdatedObject0OptionsTokenEndpointJwtcaAudFormatEnum + extend Auth0::Internal::Types::Enum + + ISSUER = "issuer" + TOKEN_ENDPOINT = "token_endpoint" + end + end +end diff --git a/lib/auth0/types/event_stream_cloud_event_connection_updated_object0options_type_enum.rb b/lib/auth0/types/event_stream_cloud_event_connection_updated_object0options_type_enum.rb new file mode 100644 index 00000000..d7061bd2 --- /dev/null +++ b/lib/auth0/types/event_stream_cloud_event_connection_updated_object0options_type_enum.rb @@ -0,0 +1,12 @@ +# frozen_string_literal: true + +module Auth0 + module Types + module EventStreamCloudEventConnectionUpdatedObject0OptionsTypeEnum + extend Auth0::Internal::Types::Enum + + BACK_CHANNEL = "back_channel" + FRONT_CHANNEL = "front_channel" + end + end +end diff --git a/lib/auth0/types/event_stream_cloud_event_connection_updated_object0options_upstream_params.rb b/lib/auth0/types/event_stream_cloud_event_connection_updated_object0options_upstream_params.rb new file mode 100644 index 00000000..a4bb96e6 --- /dev/null +++ b/lib/auth0/types/event_stream_cloud_event_connection_updated_object0options_upstream_params.rb @@ -0,0 +1,23 @@ +# frozen_string_literal: true + +module Auth0 + module Types + module EventStreamCloudEventConnectionUpdatedObject0OptionsUpstreamParams + # EventStreamCloudEventConnectionUpdatedObject0OptionsUpstreamParams is an alias for Hash + + # @option str [String] + # + # @return [untyped] + def self.load(str) + ::JSON.parse(str) + end + + # @option value [untyped] + # + # @return [String] + def self.dump(value) + ::JSON.generate(value) + end + end + end +end diff --git a/lib/auth0/types/event_stream_cloud_event_connection_updated_object0strategy_enum.rb b/lib/auth0/types/event_stream_cloud_event_connection_updated_object0strategy_enum.rb new file mode 100644 index 00000000..1e806c3c --- /dev/null +++ b/lib/auth0/types/event_stream_cloud_event_connection_updated_object0strategy_enum.rb @@ -0,0 +1,11 @@ +# frozen_string_literal: true + +module Auth0 + module Types + module EventStreamCloudEventConnectionUpdatedObject0StrategyEnum + extend Auth0::Internal::Types::Enum + + OIDC = "oidc" + end + end +end diff --git a/lib/auth0/types/event_stream_cloud_event_connection_updated_object1.rb b/lib/auth0/types/event_stream_cloud_event_connection_updated_object1.rb new file mode 100644 index 00000000..c5a74c60 --- /dev/null +++ b/lib/auth0/types/event_stream_cloud_event_connection_updated_object1.rb @@ -0,0 +1,31 @@ +# frozen_string_literal: true + +module Auth0 + module Types + class EventStreamCloudEventConnectionUpdatedObject1 < Internal::Types::Model + field :authentication, -> { Auth0::Types::EventStreamCloudEventConnectionUpdatedObject1Authentication }, optional: true, nullable: false + + field :connected_accounts, -> { Auth0::Types::EventStreamCloudEventConnectionUpdatedObject1ConnectedAccounts }, optional: true, nullable: false + + field :display_name, -> { String }, optional: true, nullable: false + + field :enabled_clients, -> { Internal::Types::Array[String] }, optional: true, nullable: false + + field :id, -> { String }, optional: false, nullable: false + + field :is_domain_connection, -> { Internal::Types::Boolean }, optional: true, nullable: false + + field :metadata, -> { Auth0::Types::EventStreamCloudEventConnectionUpdatedObject1Metadata }, optional: true, nullable: false + + field :name, -> { String }, optional: false, nullable: false + + field :realms, -> { Internal::Types::Array[String] }, optional: true, nullable: false + + field :options, -> { Auth0::Types::EventStreamCloudEventConnectionUpdatedObject1Options }, optional: true, nullable: false + + field :show_as_button, -> { Internal::Types::Boolean }, optional: true, nullable: false + + field :strategy, -> { Auth0::Types::EventStreamCloudEventConnectionUpdatedObject1StrategyEnum }, optional: false, nullable: false + end + end +end diff --git a/lib/auth0/types/event_stream_cloud_event_connection_updated_object1authentication.rb b/lib/auth0/types/event_stream_cloud_event_connection_updated_object1authentication.rb new file mode 100644 index 00000000..2111d4fa --- /dev/null +++ b/lib/auth0/types/event_stream_cloud_event_connection_updated_object1authentication.rb @@ -0,0 +1,10 @@ +# frozen_string_literal: true + +module Auth0 + module Types + # Configure the purpose of a connection to be used for authentication during login. + class EventStreamCloudEventConnectionUpdatedObject1Authentication < Internal::Types::Model + field :active, -> { Internal::Types::Boolean }, optional: false, nullable: false + end + end +end diff --git a/lib/auth0/types/event_stream_cloud_event_connection_updated_object1connected_accounts.rb b/lib/auth0/types/event_stream_cloud_event_connection_updated_object1connected_accounts.rb new file mode 100644 index 00000000..27b81f0c --- /dev/null +++ b/lib/auth0/types/event_stream_cloud_event_connection_updated_object1connected_accounts.rb @@ -0,0 +1,10 @@ +# frozen_string_literal: true + +module Auth0 + module Types + # Configure the purpose of a connection to be used for connected accounts and Token Vault. + class EventStreamCloudEventConnectionUpdatedObject1ConnectedAccounts < Internal::Types::Model + field :active, -> { Internal::Types::Boolean }, optional: false, nullable: false + end + end +end diff --git a/lib/auth0/types/event_stream_cloud_event_connection_updated_object1metadata.rb b/lib/auth0/types/event_stream_cloud_event_connection_updated_object1metadata.rb new file mode 100644 index 00000000..c03396df --- /dev/null +++ b/lib/auth0/types/event_stream_cloud_event_connection_updated_object1metadata.rb @@ -0,0 +1,9 @@ +# frozen_string_literal: true + +module Auth0 + module Types + # Metadata associated with the connection in the form of an object with string values (max 255 chars). Maximum of + # 10 metadata properties allowed. + class EventStreamCloudEventConnectionUpdatedObject1Metadata < Internal::Types::Model; end + end +end diff --git a/lib/auth0/types/event_stream_cloud_event_connection_updated_object1options.rb b/lib/auth0/types/event_stream_cloud_event_connection_updated_object1options.rb new file mode 100644 index 00000000..8b7c514a --- /dev/null +++ b/lib/auth0/types/event_stream_cloud_event_connection_updated_object1options.rb @@ -0,0 +1,62 @@ +# frozen_string_literal: true + +module Auth0 + module Types + # Options for the 'okta' connection + class EventStreamCloudEventConnectionUpdatedObject1Options < Internal::Types::Model + field :authorization_endpoint, -> { String }, optional: true, nullable: false + + field :client_id, -> { String }, optional: false, nullable: false + + field :connection_settings, -> { Auth0::Types::EventStreamCloudEventConnectionUpdatedObject1OptionsConnectionSettings }, optional: true, nullable: false + + field :domain_aliases, -> { Internal::Types::Array[String] }, optional: true, nullable: false + + field :dpop_signing_alg, -> { Auth0::Types::EventStreamCloudEventConnectionUpdatedObject1OptionsDpopSigningAlgEnum }, optional: true, nullable: false + + field :federated_connections_access_tokens, -> { Auth0::Types::EventStreamCloudEventConnectionUpdatedObject1OptionsFederatedConnectionsAccessTokens }, optional: true, nullable: false + + field :icon_url, -> { String }, optional: true, nullable: false + + field :id_token_session_expiry_supported, -> { Internal::Types::Boolean }, optional: true, nullable: false + + field :id_token_signed_response_algs, -> { Internal::Types::Array[Auth0::Types::EventStreamCloudEventConnectionUpdatedObject1OptionsIDTokenSignedResponseAlgsItemEnum] }, optional: true, nullable: false + + field :issuer, -> { String }, optional: true, nullable: false + + field :jwks_uri, -> { String }, optional: true, nullable: false + + field :non_persistent_attrs, -> { Internal::Types::Array[String] }, optional: true, nullable: false + + field :oidc_metadata, -> { Auth0::Types::EventStreamCloudEventConnectionUpdatedObject1OptionsOidcMetadata }, optional: true, nullable: false + + field :schema_version, -> { Auth0::Types::EventStreamCloudEventConnectionUpdatedObject1OptionsSchemaVersionEnum }, optional: true, nullable: false + + field :scope, -> { String }, optional: true, nullable: false + + field :send_back_channel_nonce, -> { Internal::Types::Boolean }, optional: true, nullable: false + + field :set_user_root_attributes, -> { Auth0::Types::EventStreamCloudEventConnectionUpdatedObject1OptionsSetUserRootAttributesEnum }, optional: true, nullable: false + + field :tenant_domain, -> { String }, optional: true, nullable: false + + field :token_endpoint, -> { String }, optional: true, nullable: false + + field :token_endpoint_auth_method, -> { Auth0::Types::EventStreamCloudEventConnectionUpdatedObject1OptionsTokenEndpointAuthMethodEnum }, optional: true, nullable: false + + field :token_endpoint_auth_signing_alg, -> { Auth0::Types::EventStreamCloudEventConnectionUpdatedObject1OptionsTokenEndpointAuthSigningAlgEnum }, optional: true, nullable: false + + field :token_endpoint_jwtca_aud_format, -> { Auth0::Types::EventStreamCloudEventConnectionUpdatedObject1OptionsTokenEndpointJwtcaAudFormatEnum }, optional: true, nullable: false + + field :upstream_params, -> { Internal::Types::Hash[String, Object] }, optional: true, nullable: false + + field :userinfo_endpoint, -> { String }, optional: true, nullable: false + + field :attribute_map, -> { Auth0::Types::EventStreamCloudEventConnectionUpdatedObject1OptionsAttributeMap }, optional: true, nullable: false + + field :domain, -> { String }, optional: true, nullable: false + + field :type, -> { Auth0::Types::EventStreamCloudEventConnectionUpdatedObject1OptionsTypeEnum }, optional: true, nullable: false + end + end +end diff --git a/lib/auth0/types/event_stream_cloud_event_connection_updated_object1options_attribute_map.rb b/lib/auth0/types/event_stream_cloud_event_connection_updated_object1options_attribute_map.rb new file mode 100644 index 00000000..06eec930 --- /dev/null +++ b/lib/auth0/types/event_stream_cloud_event_connection_updated_object1options_attribute_map.rb @@ -0,0 +1,14 @@ +# frozen_string_literal: true + +module Auth0 + module Types + # Mapping of claims received from the identity provider (IdP) + class EventStreamCloudEventConnectionUpdatedObject1OptionsAttributeMap < Internal::Types::Model + field :attributes, -> { Internal::Types::Hash[String, Object] }, optional: true, nullable: false + + field :userinfo_scope, -> { String }, optional: true, nullable: false + + field :mapping_mode, -> { Auth0::Types::EventStreamCloudEventConnectionUpdatedObject1OptionsAttributeMapMappingModeEnum }, optional: true, nullable: false + end + end +end diff --git a/lib/auth0/types/event_stream_cloud_event_connection_updated_object1options_attribute_map_attributes.rb b/lib/auth0/types/event_stream_cloud_event_connection_updated_object1options_attribute_map_attributes.rb new file mode 100644 index 00000000..666e77ea --- /dev/null +++ b/lib/auth0/types/event_stream_cloud_event_connection_updated_object1options_attribute_map_attributes.rb @@ -0,0 +1,23 @@ +# frozen_string_literal: true + +module Auth0 + module Types + module EventStreamCloudEventConnectionUpdatedObject1OptionsAttributeMapAttributes + # EventStreamCloudEventConnectionUpdatedObject1OptionsAttributeMapAttributes is an alias for Hash + + # @option str [String] + # + # @return [untyped] + def self.load(str) + ::JSON.parse(str) + end + + # @option value [untyped] + # + # @return [String] + def self.dump(value) + ::JSON.generate(value) + end + end + end +end diff --git a/lib/auth0/types/event_stream_cloud_event_connection_updated_object1options_attribute_map_mapping_mode_enum.rb b/lib/auth0/types/event_stream_cloud_event_connection_updated_object1options_attribute_map_mapping_mode_enum.rb new file mode 100644 index 00000000..4ff327fc --- /dev/null +++ b/lib/auth0/types/event_stream_cloud_event_connection_updated_object1options_attribute_map_mapping_mode_enum.rb @@ -0,0 +1,12 @@ +# frozen_string_literal: true + +module Auth0 + module Types + module EventStreamCloudEventConnectionUpdatedObject1OptionsAttributeMapMappingModeEnum + extend Auth0::Internal::Types::Enum + + BASIC_PROFILE = "basic_profile" + USE_MAP = "use_map" + end + end +end diff --git a/lib/auth0/types/event_stream_cloud_event_connection_updated_object1options_connection_settings.rb b/lib/auth0/types/event_stream_cloud_event_connection_updated_object1options_connection_settings.rb new file mode 100644 index 00000000..3a4aa4e1 --- /dev/null +++ b/lib/auth0/types/event_stream_cloud_event_connection_updated_object1options_connection_settings.rb @@ -0,0 +1,11 @@ +# frozen_string_literal: true + +module Auth0 + module Types + # OAuth 2.0 PKCE (Proof Key for Code Exchange) settings. PKCE enhances security for public clients by preventing + # authorization code interception attacks. 'auto' (recommended) uses the strongest method supported by the IdP. + class EventStreamCloudEventConnectionUpdatedObject1OptionsConnectionSettings < Internal::Types::Model + field :pkce, -> { Auth0::Types::EventStreamCloudEventConnectionUpdatedObject1OptionsConnectionSettingsPkceEnum }, optional: true, nullable: false + end + end +end diff --git a/lib/auth0/types/event_stream_cloud_event_connection_updated_object1options_connection_settings_pkce_enum.rb b/lib/auth0/types/event_stream_cloud_event_connection_updated_object1options_connection_settings_pkce_enum.rb new file mode 100644 index 00000000..509d129b --- /dev/null +++ b/lib/auth0/types/event_stream_cloud_event_connection_updated_object1options_connection_settings_pkce_enum.rb @@ -0,0 +1,14 @@ +# frozen_string_literal: true + +module Auth0 + module Types + module EventStreamCloudEventConnectionUpdatedObject1OptionsConnectionSettingsPkceEnum + extend Auth0::Internal::Types::Enum + + AUTO = "auto" + S256 = "S256" + PLAIN = "plain" + DISABLED = "disabled" + end + end +end diff --git a/lib/auth0/types/event_stream_cloud_event_connection_updated_object1options_dpop_signing_alg_enum.rb b/lib/auth0/types/event_stream_cloud_event_connection_updated_object1options_dpop_signing_alg_enum.rb new file mode 100644 index 00000000..25f614ce --- /dev/null +++ b/lib/auth0/types/event_stream_cloud_event_connection_updated_object1options_dpop_signing_alg_enum.rb @@ -0,0 +1,14 @@ +# frozen_string_literal: true + +module Auth0 + module Types + module EventStreamCloudEventConnectionUpdatedObject1OptionsDpopSigningAlgEnum + extend Auth0::Internal::Types::Enum + + ES256 = "ES256" + ES384 = "ES384" + ES512 = "ES512" + ED25519 = "Ed25519" + end + end +end diff --git a/lib/auth0/types/event_stream_cloud_event_connection_updated_object1options_federated_connections_access_tokens.rb b/lib/auth0/types/event_stream_cloud_event_connection_updated_object1options_federated_connections_access_tokens.rb new file mode 100644 index 00000000..9f64a819 --- /dev/null +++ b/lib/auth0/types/event_stream_cloud_event_connection_updated_object1options_federated_connections_access_tokens.rb @@ -0,0 +1,12 @@ +# frozen_string_literal: true + +module Auth0 + module Types + # Configuration for storing identity provider tokens in Auth0's Token Vault. When active, Auth0 securely stores + # access and refresh tokens from federated logins, enabling your application to make authenticated API calls on + # behalf of users. + class EventStreamCloudEventConnectionUpdatedObject1OptionsFederatedConnectionsAccessTokens < Internal::Types::Model + field :active, -> { Internal::Types::Boolean }, optional: false, nullable: false + end + end +end diff --git a/lib/auth0/types/event_stream_cloud_event_connection_updated_object1options_id_token_signed_response_algs_item_enum.rb b/lib/auth0/types/event_stream_cloud_event_connection_updated_object1options_id_token_signed_response_algs_item_enum.rb new file mode 100644 index 00000000..dfb57274 --- /dev/null +++ b/lib/auth0/types/event_stream_cloud_event_connection_updated_object1options_id_token_signed_response_algs_item_enum.rb @@ -0,0 +1,17 @@ +# frozen_string_literal: true + +module Auth0 + module Types + module EventStreamCloudEventConnectionUpdatedObject1OptionsIDTokenSignedResponseAlgsItemEnum + extend Auth0::Internal::Types::Enum + + ES256 = "ES256" + ES384 = "ES384" + PS256 = "PS256" + PS384 = "PS384" + RS256 = "RS256" + RS384 = "RS384" + RS512 = "RS512" + end + end +end diff --git a/lib/auth0/types/event_stream_cloud_event_connection_updated_object1options_oidc_metadata.rb b/lib/auth0/types/event_stream_cloud_event_connection_updated_object1options_oidc_metadata.rb new file mode 100644 index 00000000..f844e3cc --- /dev/null +++ b/lib/auth0/types/event_stream_cloud_event_connection_updated_object1options_oidc_metadata.rb @@ -0,0 +1,83 @@ +# frozen_string_literal: true + +module Auth0 + module Types + # OpenID Connect Provider Metadata as per + # https://openid.net/specs/openid-connect-discovery-1_0.html#ProviderMetadata + class EventStreamCloudEventConnectionUpdatedObject1OptionsOidcMetadata < Internal::Types::Model + field :acr_values_supported, -> { Internal::Types::Array[String] }, optional: true, nullable: false + + field :authorization_endpoint, -> { String }, optional: false, nullable: false + + field :claim_types_supported, -> { Internal::Types::Array[String] }, optional: true, nullable: false + + field :claims_locales_supported, -> { Internal::Types::Array[String] }, optional: true, nullable: false + + field :claims_parameter_supported, -> { Internal::Types::Boolean }, optional: true, nullable: false + + field :claims_supported, -> { Internal::Types::Array[String] }, optional: true, nullable: false + + field :display_values_supported, -> { Internal::Types::Array[String] }, optional: true, nullable: false + + field :dpop_signing_alg_values_supported, -> { Internal::Types::Array[String] }, optional: true, nullable: false + + field :end_session_endpoint, -> { String }, optional: true, nullable: false + + field :grant_types_supported, -> { Internal::Types::Array[String] }, optional: true, nullable: false + + field :id_token_encryption_alg_values_supported, -> { Internal::Types::Array[String] }, optional: true, nullable: false + + field :id_token_encryption_enc_values_supported, -> { Internal::Types::Array[String] }, optional: true, nullable: false + + field :id_token_signing_alg_values_supported, -> { Internal::Types::Array[String] }, optional: false, nullable: false + + field :issuer, -> { String }, optional: false, nullable: false + + field :jwks_uri, -> { String }, optional: false, nullable: false + + field :op_policy_uri, -> { String }, optional: true, nullable: false + + field :op_tos_uri, -> { String }, optional: true, nullable: false + + field :registration_endpoint, -> { String }, optional: true, nullable: false + + field :request_object_encryption_alg_values_supported, -> { Internal::Types::Array[String] }, optional: true, nullable: false + + field :request_object_encryption_enc_values_supported, -> { Internal::Types::Array[String] }, optional: true, nullable: false + + field :request_object_signing_alg_values_supported, -> { Internal::Types::Array[String] }, optional: true, nullable: false + + field :request_parameter_supported, -> { Internal::Types::Boolean }, optional: true, nullable: false + + field :request_uri_parameter_supported, -> { Internal::Types::Boolean }, optional: true, nullable: false + + field :require_request_uri_registration, -> { Internal::Types::Boolean }, optional: true, nullable: false + + field :response_modes_supported, -> { Internal::Types::Array[String] }, optional: true, nullable: false + + field :response_types_supported, -> { Internal::Types::Array[String] }, optional: true, nullable: false + + field :scopes_supported, -> { Internal::Types::Array[String] }, optional: true, nullable: false + + field :service_documentation, -> { String }, optional: true, nullable: false + + field :subject_types_supported, -> { Internal::Types::Array[String] }, optional: true, nullable: false + + field :token_endpoint, -> { String }, optional: true, nullable: false + + field :token_endpoint_auth_methods_supported, -> { Internal::Types::Array[String] }, optional: true, nullable: false + + field :token_endpoint_auth_signing_alg_values_supported, -> { Internal::Types::Array[String] }, optional: true, nullable: false + + field :ui_locales_supported, -> { Internal::Types::Array[String] }, optional: true, nullable: false + + field :userinfo_encryption_alg_values_supported, -> { Internal::Types::Array[String] }, optional: true, nullable: false + + field :userinfo_encryption_enc_values_supported, -> { Internal::Types::Array[String] }, optional: true, nullable: false + + field :userinfo_endpoint, -> { String }, optional: true, nullable: false + + field :userinfo_signing_alg_values_supported, -> { Internal::Types::Array[String] }, optional: true, nullable: false + end + end +end diff --git a/lib/auth0/types/event_stream_cloud_event_connection_updated_object1options_schema_version_enum.rb b/lib/auth0/types/event_stream_cloud_event_connection_updated_object1options_schema_version_enum.rb new file mode 100644 index 00000000..33c4d411 --- /dev/null +++ b/lib/auth0/types/event_stream_cloud_event_connection_updated_object1options_schema_version_enum.rb @@ -0,0 +1,12 @@ +# frozen_string_literal: true + +module Auth0 + module Types + module EventStreamCloudEventConnectionUpdatedObject1OptionsSchemaVersionEnum + extend Auth0::Internal::Types::Enum + + OPENID100 = "openid-1.0.0" + OIDC_V4 = "oidc-v4" + end + end +end diff --git a/lib/auth0/types/event_stream_cloud_event_connection_updated_object1options_set_user_root_attributes_enum.rb b/lib/auth0/types/event_stream_cloud_event_connection_updated_object1options_set_user_root_attributes_enum.rb new file mode 100644 index 00000000..667eddfd --- /dev/null +++ b/lib/auth0/types/event_stream_cloud_event_connection_updated_object1options_set_user_root_attributes_enum.rb @@ -0,0 +1,13 @@ +# frozen_string_literal: true + +module Auth0 + module Types + module EventStreamCloudEventConnectionUpdatedObject1OptionsSetUserRootAttributesEnum + extend Auth0::Internal::Types::Enum + + ON_EACH_LOGIN = "on_each_login" + ON_FIRST_LOGIN = "on_first_login" + NEVER_ON_LOGIN = "never_on_login" + end + end +end diff --git a/lib/auth0/types/event_stream_cloud_event_connection_updated_object1options_token_endpoint_auth_method_enum.rb b/lib/auth0/types/event_stream_cloud_event_connection_updated_object1options_token_endpoint_auth_method_enum.rb new file mode 100644 index 00000000..6cfaa98e --- /dev/null +++ b/lib/auth0/types/event_stream_cloud_event_connection_updated_object1options_token_endpoint_auth_method_enum.rb @@ -0,0 +1,12 @@ +# frozen_string_literal: true + +module Auth0 + module Types + module EventStreamCloudEventConnectionUpdatedObject1OptionsTokenEndpointAuthMethodEnum + extend Auth0::Internal::Types::Enum + + CLIENT_SECRET_POST = "client_secret_post" + PRIVATE_KEY_JWT = "private_key_jwt" + end + end +end diff --git a/lib/auth0/types/event_stream_cloud_event_connection_updated_object1options_token_endpoint_auth_signing_alg_enum.rb b/lib/auth0/types/event_stream_cloud_event_connection_updated_object1options_token_endpoint_auth_signing_alg_enum.rb new file mode 100644 index 00000000..fcd9a828 --- /dev/null +++ b/lib/auth0/types/event_stream_cloud_event_connection_updated_object1options_token_endpoint_auth_signing_alg_enum.rb @@ -0,0 +1,17 @@ +# frozen_string_literal: true + +module Auth0 + module Types + module EventStreamCloudEventConnectionUpdatedObject1OptionsTokenEndpointAuthSigningAlgEnum + extend Auth0::Internal::Types::Enum + + ES256 = "ES256" + ES384 = "ES384" + PS256 = "PS256" + PS384 = "PS384" + RS256 = "RS256" + RS384 = "RS384" + RS512 = "RS512" + end + end +end diff --git a/lib/auth0/types/event_stream_cloud_event_connection_updated_object1options_token_endpoint_jwtca_aud_format_enum.rb b/lib/auth0/types/event_stream_cloud_event_connection_updated_object1options_token_endpoint_jwtca_aud_format_enum.rb new file mode 100644 index 00000000..389ad5b8 --- /dev/null +++ b/lib/auth0/types/event_stream_cloud_event_connection_updated_object1options_token_endpoint_jwtca_aud_format_enum.rb @@ -0,0 +1,12 @@ +# frozen_string_literal: true + +module Auth0 + module Types + module EventStreamCloudEventConnectionUpdatedObject1OptionsTokenEndpointJwtcaAudFormatEnum + extend Auth0::Internal::Types::Enum + + ISSUER = "issuer" + TOKEN_ENDPOINT = "token_endpoint" + end + end +end diff --git a/lib/auth0/types/event_stream_cloud_event_connection_updated_object1options_type_enum.rb b/lib/auth0/types/event_stream_cloud_event_connection_updated_object1options_type_enum.rb new file mode 100644 index 00000000..b19a24f7 --- /dev/null +++ b/lib/auth0/types/event_stream_cloud_event_connection_updated_object1options_type_enum.rb @@ -0,0 +1,11 @@ +# frozen_string_literal: true + +module Auth0 + module Types + module EventStreamCloudEventConnectionUpdatedObject1OptionsTypeEnum + extend Auth0::Internal::Types::Enum + + BACK_CHANNEL = "back_channel" + end + end +end diff --git a/lib/auth0/types/event_stream_cloud_event_connection_updated_object1options_upstream_params.rb b/lib/auth0/types/event_stream_cloud_event_connection_updated_object1options_upstream_params.rb new file mode 100644 index 00000000..0a6f1048 --- /dev/null +++ b/lib/auth0/types/event_stream_cloud_event_connection_updated_object1options_upstream_params.rb @@ -0,0 +1,23 @@ +# frozen_string_literal: true + +module Auth0 + module Types + module EventStreamCloudEventConnectionUpdatedObject1OptionsUpstreamParams + # EventStreamCloudEventConnectionUpdatedObject1OptionsUpstreamParams is an alias for Hash + + # @option str [String] + # + # @return [untyped] + def self.load(str) + ::JSON.parse(str) + end + + # @option value [untyped] + # + # @return [String] + def self.dump(value) + ::JSON.generate(value) + end + end + end +end diff --git a/lib/auth0/types/event_stream_cloud_event_connection_updated_object1strategy_enum.rb b/lib/auth0/types/event_stream_cloud_event_connection_updated_object1strategy_enum.rb new file mode 100644 index 00000000..ec078b3b --- /dev/null +++ b/lib/auth0/types/event_stream_cloud_event_connection_updated_object1strategy_enum.rb @@ -0,0 +1,11 @@ +# frozen_string_literal: true + +module Auth0 + module Types + module EventStreamCloudEventConnectionUpdatedObject1StrategyEnum + extend Auth0::Internal::Types::Enum + + OKTA = "okta" + end + end +end diff --git a/lib/auth0/types/event_stream_cloud_event_connection_updated_object2.rb b/lib/auth0/types/event_stream_cloud_event_connection_updated_object2.rb new file mode 100644 index 00000000..8324ef48 --- /dev/null +++ b/lib/auth0/types/event_stream_cloud_event_connection_updated_object2.rb @@ -0,0 +1,31 @@ +# frozen_string_literal: true + +module Auth0 + module Types + class EventStreamCloudEventConnectionUpdatedObject2 < Internal::Types::Model + field :authentication, -> { Auth0::Types::EventStreamCloudEventConnectionUpdatedObject2Authentication }, optional: true, nullable: false + + field :connected_accounts, -> { Auth0::Types::EventStreamCloudEventConnectionUpdatedObject2ConnectedAccounts }, optional: true, nullable: false + + field :display_name, -> { String }, optional: true, nullable: false + + field :enabled_clients, -> { Internal::Types::Array[String] }, optional: true, nullable: false + + field :id, -> { String }, optional: false, nullable: false + + field :is_domain_connection, -> { Internal::Types::Boolean }, optional: true, nullable: false + + field :metadata, -> { Auth0::Types::EventStreamCloudEventConnectionUpdatedObject2Metadata }, optional: true, nullable: false + + field :name, -> { String }, optional: false, nullable: false + + field :realms, -> { Internal::Types::Array[String] }, optional: true, nullable: false + + field :options, -> { Auth0::Types::EventStreamCloudEventConnectionUpdatedObject2Options }, optional: true, nullable: false + + field :show_as_button, -> { Internal::Types::Boolean }, optional: true, nullable: false + + field :strategy, -> { Auth0::Types::EventStreamCloudEventConnectionUpdatedObject2StrategyEnum }, optional: false, nullable: false + end + end +end diff --git a/lib/auth0/types/event_stream_cloud_event_connection_updated_object2authentication.rb b/lib/auth0/types/event_stream_cloud_event_connection_updated_object2authentication.rb new file mode 100644 index 00000000..eca7bad2 --- /dev/null +++ b/lib/auth0/types/event_stream_cloud_event_connection_updated_object2authentication.rb @@ -0,0 +1,10 @@ +# frozen_string_literal: true + +module Auth0 + module Types + # Configure the purpose of a connection to be used for authentication during login. + class EventStreamCloudEventConnectionUpdatedObject2Authentication < Internal::Types::Model + field :active, -> { Internal::Types::Boolean }, optional: false, nullable: false + end + end +end diff --git a/lib/auth0/types/event_stream_cloud_event_connection_updated_object2connected_accounts.rb b/lib/auth0/types/event_stream_cloud_event_connection_updated_object2connected_accounts.rb new file mode 100644 index 00000000..1660c572 --- /dev/null +++ b/lib/auth0/types/event_stream_cloud_event_connection_updated_object2connected_accounts.rb @@ -0,0 +1,10 @@ +# frozen_string_literal: true + +module Auth0 + module Types + # Configure the purpose of a connection to be used for connected accounts and Token Vault. + class EventStreamCloudEventConnectionUpdatedObject2ConnectedAccounts < Internal::Types::Model + field :active, -> { Internal::Types::Boolean }, optional: false, nullable: false + end + end +end diff --git a/lib/auth0/types/event_stream_cloud_event_connection_updated_object2metadata.rb b/lib/auth0/types/event_stream_cloud_event_connection_updated_object2metadata.rb new file mode 100644 index 00000000..cfec9b13 --- /dev/null +++ b/lib/auth0/types/event_stream_cloud_event_connection_updated_object2metadata.rb @@ -0,0 +1,9 @@ +# frozen_string_literal: true + +module Auth0 + module Types + # Metadata associated with the connection in the form of an object with string values (max 255 chars). Maximum of + # 10 metadata properties allowed. + class EventStreamCloudEventConnectionUpdatedObject2Metadata < Internal::Types::Model; end + end +end diff --git a/lib/auth0/types/event_stream_cloud_event_connection_updated_object2options.rb b/lib/auth0/types/event_stream_cloud_event_connection_updated_object2options.rb new file mode 100644 index 00000000..7461ac2d --- /dev/null +++ b/lib/auth0/types/event_stream_cloud_event_connection_updated_object2options.rb @@ -0,0 +1,72 @@ +# frozen_string_literal: true + +module Auth0 + module Types + # Options for the 'samlp' connection + class EventStreamCloudEventConnectionUpdatedObject2Options < Internal::Types::Model + field :assertion_decryption_settings, -> { Auth0::Types::EventStreamCloudEventConnectionUpdatedObject2OptionsAssertionDecryptionSettings }, optional: true, nullable: false + + field :cert, -> { String }, optional: true, nullable: false + + field :cert_rollover_notification, -> { String }, optional: true, nullable: false + + field :digest_algorithm, -> { Auth0::Types::EventStreamCloudEventConnectionUpdatedObject2OptionsDigestAlgorithmEnum }, optional: true, nullable: false, api_name: "digestAlgorithm" + + field :domain_aliases, -> { Internal::Types::Array[String] }, optional: true, nullable: false + + field :entity_id, -> { String }, optional: true, nullable: false, api_name: "entityId" + + field :expires, -> { String }, optional: true, nullable: false + + field :icon_url, -> { String }, optional: true, nullable: false + + field :idpinitiated, -> { Auth0::Types::EventStreamCloudEventConnectionUpdatedObject2OptionsIdpinitiated }, optional: true, nullable: false + + field :non_persistent_attrs, -> { Internal::Types::Array[String] }, optional: true, nullable: false + + field :protocol_binding, -> { Auth0::Types::EventStreamCloudEventConnectionUpdatedObject2OptionsProtocolBindingEnum }, optional: true, nullable: false, api_name: "protocolBinding" + + field :set_user_root_attributes, -> { Auth0::Types::EventStreamCloudEventConnectionUpdatedObject2OptionsSetUserRootAttributesEnum }, optional: true, nullable: false + + field :signature_algorithm, -> { Auth0::Types::EventStreamCloudEventConnectionUpdatedObject2OptionsSignatureAlgorithmEnum }, optional: true, nullable: false, api_name: "signatureAlgorithm" + + field :sign_in_endpoint, -> { String }, optional: true, nullable: false, api_name: "signInEndpoint" + + field :signing_cert, -> { String }, optional: true, nullable: false, api_name: "signingCert" + + field :sign_saml_request, -> { Internal::Types::Boolean }, optional: true, nullable: false, api_name: "signSAMLRequest" + + field :subject, -> { Auth0::Types::EventStreamCloudEventConnectionUpdatedObject2OptionsSubject }, optional: true, nullable: false + + field :tenant_domain, -> { String }, optional: true, nullable: false + + field :thumbprints, -> { Internal::Types::Array[String] }, optional: true, nullable: false + + field :upstream_params, -> { Internal::Types::Hash[String, Object] }, optional: true, nullable: false + + field :debug, -> { Internal::Types::Boolean }, optional: true, nullable: false + + field :deflate, -> { Internal::Types::Boolean }, optional: true, nullable: false + + field :destination_url, -> { String }, optional: true, nullable: false, api_name: "destinationUrl" + + field :disable_signout, -> { Internal::Types::Boolean }, optional: true, nullable: false, api_name: "disableSignout" + + field :fields_map, -> { Internal::Types::Hash[String, Object] }, optional: true, nullable: false, api_name: "fieldsMap" + + field :global_token_revocation_jwt_iss, -> { String }, optional: true, nullable: false + + field :global_token_revocation_jwt_sub, -> { String }, optional: true, nullable: false + + field :metadata_url, -> { String }, optional: true, nullable: false, api_name: "metadataUrl" + + field :recipient_url, -> { String }, optional: true, nullable: false, api_name: "recipientUrl" + + field :request_template, -> { String }, optional: true, nullable: false, api_name: "requestTemplate" + + field :sign_out_endpoint, -> { String }, optional: true, nullable: false, api_name: "signOutEndpoint" + + field :user_id_attribute, -> { String }, optional: true, nullable: false + end + end +end diff --git a/lib/auth0/types/event_stream_cloud_event_connection_updated_object2options_assertion_decryption_settings.rb b/lib/auth0/types/event_stream_cloud_event_connection_updated_object2options_assertion_decryption_settings.rb new file mode 100644 index 00000000..59711f02 --- /dev/null +++ b/lib/auth0/types/event_stream_cloud_event_connection_updated_object2options_assertion_decryption_settings.rb @@ -0,0 +1,12 @@ +# frozen_string_literal: true + +module Auth0 + module Types + # Settings for SAML assertion decryption. + class EventStreamCloudEventConnectionUpdatedObject2OptionsAssertionDecryptionSettings < Internal::Types::Model + field :algorithm_exceptions, -> { Internal::Types::Array[String] }, optional: true, nullable: false + + field :algorithm_profile, -> { Auth0::Types::EventStreamCloudEventConnectionUpdatedObject2OptionsAssertionDecryptionSettingsAlgorithmProfileEnum }, optional: false, nullable: false + end + end +end diff --git a/lib/auth0/types/event_stream_cloud_event_connection_updated_object2options_assertion_decryption_settings_algorithm_profile_enum.rb b/lib/auth0/types/event_stream_cloud_event_connection_updated_object2options_assertion_decryption_settings_algorithm_profile_enum.rb new file mode 100644 index 00000000..f913ffb2 --- /dev/null +++ b/lib/auth0/types/event_stream_cloud_event_connection_updated_object2options_assertion_decryption_settings_algorithm_profile_enum.rb @@ -0,0 +1,11 @@ +# frozen_string_literal: true + +module Auth0 + module Types + module EventStreamCloudEventConnectionUpdatedObject2OptionsAssertionDecryptionSettingsAlgorithmProfileEnum + extend Auth0::Internal::Types::Enum + + V20261 = "v2026-1" + end + end +end diff --git a/lib/auth0/types/event_stream_cloud_event_connection_updated_object2options_digest_algorithm_enum.rb b/lib/auth0/types/event_stream_cloud_event_connection_updated_object2options_digest_algorithm_enum.rb new file mode 100644 index 00000000..9753f545 --- /dev/null +++ b/lib/auth0/types/event_stream_cloud_event_connection_updated_object2options_digest_algorithm_enum.rb @@ -0,0 +1,12 @@ +# frozen_string_literal: true + +module Auth0 + module Types + module EventStreamCloudEventConnectionUpdatedObject2OptionsDigestAlgorithmEnum + extend Auth0::Internal::Types::Enum + + SHA1 = "sha1" + SHA256 = "sha256" + end + end +end diff --git a/lib/auth0/types/event_stream_cloud_event_connection_updated_object2options_fields_map.rb b/lib/auth0/types/event_stream_cloud_event_connection_updated_object2options_fields_map.rb new file mode 100644 index 00000000..fc4bfcac --- /dev/null +++ b/lib/auth0/types/event_stream_cloud_event_connection_updated_object2options_fields_map.rb @@ -0,0 +1,23 @@ +# frozen_string_literal: true + +module Auth0 + module Types + module EventStreamCloudEventConnectionUpdatedObject2OptionsFieldsMap + # EventStreamCloudEventConnectionUpdatedObject2OptionsFieldsMap is an alias for Hash + + # @option str [String] + # + # @return [untyped] + def self.load(str) + ::JSON.parse(str) + end + + # @option value [untyped] + # + # @return [String] + def self.dump(value) + ::JSON.generate(value) + end + end + end +end diff --git a/lib/auth0/types/event_stream_cloud_event_connection_updated_object2options_idpinitiated.rb b/lib/auth0/types/event_stream_cloud_event_connection_updated_object2options_idpinitiated.rb new file mode 100644 index 00000000..dfafc75f --- /dev/null +++ b/lib/auth0/types/event_stream_cloud_event_connection_updated_object2options_idpinitiated.rb @@ -0,0 +1,18 @@ +# frozen_string_literal: true + +module Auth0 + module Types + # Configuration for IdP-Initiated SAML Single Sign-On. When enabled, allows users to initiate login directly from + # their SAML identity provider without first visiting Auth0. The IdP must include the connection parameter in the + # post-back URL (Assertion Consumer Service URL). + class EventStreamCloudEventConnectionUpdatedObject2OptionsIdpinitiated < Internal::Types::Model + field :client_authorizequery, -> { String }, optional: true, nullable: false + + field :client_id, -> { String }, optional: true, nullable: false + + field :client_protocol, -> { Auth0::Types::EventStreamCloudEventConnectionUpdatedObject2OptionsIdpinitiatedClientProtocolEnum }, optional: true, nullable: false + + field :enabled, -> { Internal::Types::Boolean }, optional: true, nullable: false + end + end +end diff --git a/lib/auth0/types/event_stream_cloud_event_connection_updated_object2options_idpinitiated_client_protocol_enum.rb b/lib/auth0/types/event_stream_cloud_event_connection_updated_object2options_idpinitiated_client_protocol_enum.rb new file mode 100644 index 00000000..370c820a --- /dev/null +++ b/lib/auth0/types/event_stream_cloud_event_connection_updated_object2options_idpinitiated_client_protocol_enum.rb @@ -0,0 +1,13 @@ +# frozen_string_literal: true + +module Auth0 + module Types + module EventStreamCloudEventConnectionUpdatedObject2OptionsIdpinitiatedClientProtocolEnum + extend Auth0::Internal::Types::Enum + + OIDC = "oidc" + SAMLP = "samlp" + WSFED = "wsfed" + end + end +end diff --git a/lib/auth0/types/event_stream_cloud_event_connection_updated_object2options_protocol_binding_enum.rb b/lib/auth0/types/event_stream_cloud_event_connection_updated_object2options_protocol_binding_enum.rb new file mode 100644 index 00000000..c6f3ac88 --- /dev/null +++ b/lib/auth0/types/event_stream_cloud_event_connection_updated_object2options_protocol_binding_enum.rb @@ -0,0 +1,12 @@ +# frozen_string_literal: true + +module Auth0 + module Types + module EventStreamCloudEventConnectionUpdatedObject2OptionsProtocolBindingEnum + extend Auth0::Internal::Types::Enum + + URN_OASIS_NAMES_TC_SAML20BINDINGS_HTTP_POST = "urn:oasis:names:tc:SAML:2.0:bindings:HTTP-POST" + URN_OASIS_NAMES_TC_SAML20BINDINGS_HTTP_REDIRECT = "urn:oasis:names:tc:SAML:2.0:bindings:HTTP-Redirect" + end + end +end diff --git a/lib/auth0/types/event_stream_cloud_event_connection_updated_object2options_set_user_root_attributes_enum.rb b/lib/auth0/types/event_stream_cloud_event_connection_updated_object2options_set_user_root_attributes_enum.rb new file mode 100644 index 00000000..72af42e9 --- /dev/null +++ b/lib/auth0/types/event_stream_cloud_event_connection_updated_object2options_set_user_root_attributes_enum.rb @@ -0,0 +1,13 @@ +# frozen_string_literal: true + +module Auth0 + module Types + module EventStreamCloudEventConnectionUpdatedObject2OptionsSetUserRootAttributesEnum + extend Auth0::Internal::Types::Enum + + ON_EACH_LOGIN = "on_each_login" + ON_FIRST_LOGIN = "on_first_login" + NEVER_ON_LOGIN = "never_on_login" + end + end +end diff --git a/lib/auth0/types/event_stream_cloud_event_connection_updated_object2options_signature_algorithm_enum.rb b/lib/auth0/types/event_stream_cloud_event_connection_updated_object2options_signature_algorithm_enum.rb new file mode 100644 index 00000000..8e3da82c --- /dev/null +++ b/lib/auth0/types/event_stream_cloud_event_connection_updated_object2options_signature_algorithm_enum.rb @@ -0,0 +1,12 @@ +# frozen_string_literal: true + +module Auth0 + module Types + module EventStreamCloudEventConnectionUpdatedObject2OptionsSignatureAlgorithmEnum + extend Auth0::Internal::Types::Enum + + RSA_SHA1 = "rsa-sha1" + RSA_SHA256 = "rsa-sha256" + end + end +end diff --git a/lib/auth0/types/event_stream_cloud_event_connection_updated_object2options_subject.rb b/lib/auth0/types/event_stream_cloud_event_connection_updated_object2options_subject.rb new file mode 100644 index 00000000..99233296 --- /dev/null +++ b/lib/auth0/types/event_stream_cloud_event_connection_updated_object2options_subject.rb @@ -0,0 +1,8 @@ +# frozen_string_literal: true + +module Auth0 + module Types + # Certificate Subject Distinguished Name (DN) extracted from the identity provider's signing certificate. + class EventStreamCloudEventConnectionUpdatedObject2OptionsSubject < Internal::Types::Model; end + end +end diff --git a/lib/auth0/types/event_stream_cloud_event_connection_updated_object2options_upstream_params.rb b/lib/auth0/types/event_stream_cloud_event_connection_updated_object2options_upstream_params.rb new file mode 100644 index 00000000..0945d681 --- /dev/null +++ b/lib/auth0/types/event_stream_cloud_event_connection_updated_object2options_upstream_params.rb @@ -0,0 +1,23 @@ +# frozen_string_literal: true + +module Auth0 + module Types + module EventStreamCloudEventConnectionUpdatedObject2OptionsUpstreamParams + # EventStreamCloudEventConnectionUpdatedObject2OptionsUpstreamParams is an alias for Hash + + # @option str [String] + # + # @return [untyped] + def self.load(str) + ::JSON.parse(str) + end + + # @option value [untyped] + # + # @return [String] + def self.dump(value) + ::JSON.generate(value) + end + end + end +end diff --git a/lib/auth0/types/event_stream_cloud_event_connection_updated_object2strategy_enum.rb b/lib/auth0/types/event_stream_cloud_event_connection_updated_object2strategy_enum.rb new file mode 100644 index 00000000..44b99b10 --- /dev/null +++ b/lib/auth0/types/event_stream_cloud_event_connection_updated_object2strategy_enum.rb @@ -0,0 +1,11 @@ +# frozen_string_literal: true + +module Auth0 + module Types + module EventStreamCloudEventConnectionUpdatedObject2StrategyEnum + extend Auth0::Internal::Types::Enum + + SAMLP = "samlp" + end + end +end diff --git a/lib/auth0/types/event_stream_cloud_event_connection_updated_object3.rb b/lib/auth0/types/event_stream_cloud_event_connection_updated_object3.rb new file mode 100644 index 00000000..3566dd70 --- /dev/null +++ b/lib/auth0/types/event_stream_cloud_event_connection_updated_object3.rb @@ -0,0 +1,31 @@ +# frozen_string_literal: true + +module Auth0 + module Types + class EventStreamCloudEventConnectionUpdatedObject3 < Internal::Types::Model + field :authentication, -> { Auth0::Types::EventStreamCloudEventConnectionUpdatedObject3Authentication }, optional: true, nullable: false + + field :connected_accounts, -> { Auth0::Types::EventStreamCloudEventConnectionUpdatedObject3ConnectedAccounts }, optional: true, nullable: false + + field :display_name, -> { String }, optional: true, nullable: false + + field :enabled_clients, -> { Internal::Types::Array[String] }, optional: true, nullable: false + + field :id, -> { String }, optional: false, nullable: false + + field :is_domain_connection, -> { Internal::Types::Boolean }, optional: true, nullable: false + + field :metadata, -> { Auth0::Types::EventStreamCloudEventConnectionUpdatedObject3Metadata }, optional: true, nullable: false + + field :name, -> { String }, optional: false, nullable: false + + field :realms, -> { Internal::Types::Array[String] }, optional: true, nullable: false + + field :options, -> { Auth0::Types::EventStreamCloudEventConnectionUpdatedObject3Options }, optional: true, nullable: false + + field :show_as_button, -> { Internal::Types::Boolean }, optional: true, nullable: false + + field :strategy, -> { Auth0::Types::EventStreamCloudEventConnectionUpdatedObject3StrategyEnum }, optional: false, nullable: false + end + end +end diff --git a/lib/auth0/types/event_stream_cloud_event_connection_updated_object3authentication.rb b/lib/auth0/types/event_stream_cloud_event_connection_updated_object3authentication.rb new file mode 100644 index 00000000..2a2d1801 --- /dev/null +++ b/lib/auth0/types/event_stream_cloud_event_connection_updated_object3authentication.rb @@ -0,0 +1,10 @@ +# frozen_string_literal: true + +module Auth0 + module Types + # Configure the purpose of a connection to be used for authentication during login. + class EventStreamCloudEventConnectionUpdatedObject3Authentication < Internal::Types::Model + field :active, -> { Internal::Types::Boolean }, optional: false, nullable: false + end + end +end diff --git a/lib/auth0/types/event_stream_cloud_event_connection_updated_object3connected_accounts.rb b/lib/auth0/types/event_stream_cloud_event_connection_updated_object3connected_accounts.rb new file mode 100644 index 00000000..330ce4c5 --- /dev/null +++ b/lib/auth0/types/event_stream_cloud_event_connection_updated_object3connected_accounts.rb @@ -0,0 +1,10 @@ +# frozen_string_literal: true + +module Auth0 + module Types + # Configure the purpose of a connection to be used for connected accounts and Token Vault. + class EventStreamCloudEventConnectionUpdatedObject3ConnectedAccounts < Internal::Types::Model + field :active, -> { Internal::Types::Boolean }, optional: false, nullable: false + end + end +end diff --git a/lib/auth0/types/event_stream_cloud_event_connection_updated_object3metadata.rb b/lib/auth0/types/event_stream_cloud_event_connection_updated_object3metadata.rb new file mode 100644 index 00000000..db6b7238 --- /dev/null +++ b/lib/auth0/types/event_stream_cloud_event_connection_updated_object3metadata.rb @@ -0,0 +1,9 @@ +# frozen_string_literal: true + +module Auth0 + module Types + # Metadata associated with the connection in the form of an object with string values (max 255 chars). Maximum of + # 10 metadata properties allowed. + class EventStreamCloudEventConnectionUpdatedObject3Metadata < Internal::Types::Model; end + end +end diff --git a/lib/auth0/types/event_stream_cloud_event_connection_updated_object3options.rb b/lib/auth0/types/event_stream_cloud_event_connection_updated_object3options.rb new file mode 100644 index 00000000..da162e90 --- /dev/null +++ b/lib/auth0/types/event_stream_cloud_event_connection_updated_object3options.rb @@ -0,0 +1,50 @@ +# frozen_string_literal: true + +module Auth0 + module Types + # Options for the 'pingfederate' connection + class EventStreamCloudEventConnectionUpdatedObject3Options < Internal::Types::Model + field :assertion_decryption_settings, -> { Auth0::Types::EventStreamCloudEventConnectionUpdatedObject3OptionsAssertionDecryptionSettings }, optional: true, nullable: false + + field :cert, -> { String }, optional: true, nullable: false + + field :cert_rollover_notification, -> { String }, optional: true, nullable: false + + field :digest_algorithm, -> { Auth0::Types::EventStreamCloudEventConnectionUpdatedObject3OptionsDigestAlgorithmEnum }, optional: true, nullable: false, api_name: "digestAlgorithm" + + field :domain_aliases, -> { Internal::Types::Array[String] }, optional: true, nullable: false + + field :entity_id, -> { String }, optional: true, nullable: false, api_name: "entityId" + + field :expires, -> { String }, optional: true, nullable: false + + field :icon_url, -> { String }, optional: true, nullable: false + + field :idpinitiated, -> { Auth0::Types::EventStreamCloudEventConnectionUpdatedObject3OptionsIdpinitiated }, optional: true, nullable: false + + field :non_persistent_attrs, -> { Internal::Types::Array[String] }, optional: true, nullable: false + + field :protocol_binding, -> { Auth0::Types::EventStreamCloudEventConnectionUpdatedObject3OptionsProtocolBindingEnum }, optional: true, nullable: false, api_name: "protocolBinding" + + field :set_user_root_attributes, -> { Auth0::Types::EventStreamCloudEventConnectionUpdatedObject3OptionsSetUserRootAttributesEnum }, optional: true, nullable: false + + field :signature_algorithm, -> { Auth0::Types::EventStreamCloudEventConnectionUpdatedObject3OptionsSignatureAlgorithmEnum }, optional: true, nullable: false, api_name: "signatureAlgorithm" + + field :sign_in_endpoint, -> { String }, optional: true, nullable: false, api_name: "signInEndpoint" + + field :signing_cert, -> { String }, optional: true, nullable: false, api_name: "signingCert" + + field :sign_saml_request, -> { Internal::Types::Boolean }, optional: true, nullable: false, api_name: "signSAMLRequest" + + field :subject, -> { Auth0::Types::EventStreamCloudEventConnectionUpdatedObject3OptionsSubject }, optional: true, nullable: false + + field :tenant_domain, -> { String }, optional: true, nullable: false + + field :thumbprints, -> { Internal::Types::Array[String] }, optional: true, nullable: false + + field :upstream_params, -> { Internal::Types::Hash[String, Object] }, optional: true, nullable: false + + field :ping_federate_base_url, -> { String }, optional: false, nullable: false, api_name: "pingFederateBaseUrl" + end + end +end diff --git a/lib/auth0/types/event_stream_cloud_event_connection_updated_object3options_assertion_decryption_settings.rb b/lib/auth0/types/event_stream_cloud_event_connection_updated_object3options_assertion_decryption_settings.rb new file mode 100644 index 00000000..569aaadf --- /dev/null +++ b/lib/auth0/types/event_stream_cloud_event_connection_updated_object3options_assertion_decryption_settings.rb @@ -0,0 +1,12 @@ +# frozen_string_literal: true + +module Auth0 + module Types + # Settings for SAML assertion decryption. + class EventStreamCloudEventConnectionUpdatedObject3OptionsAssertionDecryptionSettings < Internal::Types::Model + field :algorithm_exceptions, -> { Internal::Types::Array[String] }, optional: true, nullable: false + + field :algorithm_profile, -> { Auth0::Types::EventStreamCloudEventConnectionUpdatedObject3OptionsAssertionDecryptionSettingsAlgorithmProfileEnum }, optional: false, nullable: false + end + end +end diff --git a/lib/auth0/types/event_stream_cloud_event_connection_updated_object3options_assertion_decryption_settings_algorithm_profile_enum.rb b/lib/auth0/types/event_stream_cloud_event_connection_updated_object3options_assertion_decryption_settings_algorithm_profile_enum.rb new file mode 100644 index 00000000..b33dd157 --- /dev/null +++ b/lib/auth0/types/event_stream_cloud_event_connection_updated_object3options_assertion_decryption_settings_algorithm_profile_enum.rb @@ -0,0 +1,11 @@ +# frozen_string_literal: true + +module Auth0 + module Types + module EventStreamCloudEventConnectionUpdatedObject3OptionsAssertionDecryptionSettingsAlgorithmProfileEnum + extend Auth0::Internal::Types::Enum + + V20261 = "v2026-1" + end + end +end diff --git a/lib/auth0/types/event_stream_cloud_event_connection_updated_object3options_digest_algorithm_enum.rb b/lib/auth0/types/event_stream_cloud_event_connection_updated_object3options_digest_algorithm_enum.rb new file mode 100644 index 00000000..132b5d05 --- /dev/null +++ b/lib/auth0/types/event_stream_cloud_event_connection_updated_object3options_digest_algorithm_enum.rb @@ -0,0 +1,12 @@ +# frozen_string_literal: true + +module Auth0 + module Types + module EventStreamCloudEventConnectionUpdatedObject3OptionsDigestAlgorithmEnum + extend Auth0::Internal::Types::Enum + + SHA1 = "sha1" + SHA256 = "sha256" + end + end +end diff --git a/lib/auth0/types/event_stream_cloud_event_connection_updated_object3options_idpinitiated.rb b/lib/auth0/types/event_stream_cloud_event_connection_updated_object3options_idpinitiated.rb new file mode 100644 index 00000000..84adc2fc --- /dev/null +++ b/lib/auth0/types/event_stream_cloud_event_connection_updated_object3options_idpinitiated.rb @@ -0,0 +1,18 @@ +# frozen_string_literal: true + +module Auth0 + module Types + # Configuration for IdP-Initiated SAML Single Sign-On. When enabled, allows users to initiate login directly from + # their SAML identity provider without first visiting Auth0. The IdP must include the connection parameter in the + # post-back URL (Assertion Consumer Service URL). + class EventStreamCloudEventConnectionUpdatedObject3OptionsIdpinitiated < Internal::Types::Model + field :client_authorizequery, -> { String }, optional: true, nullable: false + + field :client_id, -> { String }, optional: true, nullable: false + + field :client_protocol, -> { Auth0::Types::EventStreamCloudEventConnectionUpdatedObject3OptionsIdpinitiatedClientProtocolEnum }, optional: true, nullable: false + + field :enabled, -> { Internal::Types::Boolean }, optional: true, nullable: false + end + end +end diff --git a/lib/auth0/types/event_stream_cloud_event_connection_updated_object3options_idpinitiated_client_protocol_enum.rb b/lib/auth0/types/event_stream_cloud_event_connection_updated_object3options_idpinitiated_client_protocol_enum.rb new file mode 100644 index 00000000..02746ee5 --- /dev/null +++ b/lib/auth0/types/event_stream_cloud_event_connection_updated_object3options_idpinitiated_client_protocol_enum.rb @@ -0,0 +1,13 @@ +# frozen_string_literal: true + +module Auth0 + module Types + module EventStreamCloudEventConnectionUpdatedObject3OptionsIdpinitiatedClientProtocolEnum + extend Auth0::Internal::Types::Enum + + OIDC = "oidc" + SAMLP = "samlp" + WSFED = "wsfed" + end + end +end diff --git a/lib/auth0/types/event_stream_cloud_event_connection_updated_object3options_protocol_binding_enum.rb b/lib/auth0/types/event_stream_cloud_event_connection_updated_object3options_protocol_binding_enum.rb new file mode 100644 index 00000000..abd1db50 --- /dev/null +++ b/lib/auth0/types/event_stream_cloud_event_connection_updated_object3options_protocol_binding_enum.rb @@ -0,0 +1,12 @@ +# frozen_string_literal: true + +module Auth0 + module Types + module EventStreamCloudEventConnectionUpdatedObject3OptionsProtocolBindingEnum + extend Auth0::Internal::Types::Enum + + URN_OASIS_NAMES_TC_SAML20BINDINGS_HTTP_POST = "urn:oasis:names:tc:SAML:2.0:bindings:HTTP-POST" + URN_OASIS_NAMES_TC_SAML20BINDINGS_HTTP_REDIRECT = "urn:oasis:names:tc:SAML:2.0:bindings:HTTP-Redirect" + end + end +end diff --git a/lib/auth0/types/event_stream_cloud_event_connection_updated_object3options_set_user_root_attributes_enum.rb b/lib/auth0/types/event_stream_cloud_event_connection_updated_object3options_set_user_root_attributes_enum.rb new file mode 100644 index 00000000..db5eb32b --- /dev/null +++ b/lib/auth0/types/event_stream_cloud_event_connection_updated_object3options_set_user_root_attributes_enum.rb @@ -0,0 +1,13 @@ +# frozen_string_literal: true + +module Auth0 + module Types + module EventStreamCloudEventConnectionUpdatedObject3OptionsSetUserRootAttributesEnum + extend Auth0::Internal::Types::Enum + + ON_EACH_LOGIN = "on_each_login" + ON_FIRST_LOGIN = "on_first_login" + NEVER_ON_LOGIN = "never_on_login" + end + end +end diff --git a/lib/auth0/types/event_stream_cloud_event_connection_updated_object3options_signature_algorithm_enum.rb b/lib/auth0/types/event_stream_cloud_event_connection_updated_object3options_signature_algorithm_enum.rb new file mode 100644 index 00000000..02388371 --- /dev/null +++ b/lib/auth0/types/event_stream_cloud_event_connection_updated_object3options_signature_algorithm_enum.rb @@ -0,0 +1,12 @@ +# frozen_string_literal: true + +module Auth0 + module Types + module EventStreamCloudEventConnectionUpdatedObject3OptionsSignatureAlgorithmEnum + extend Auth0::Internal::Types::Enum + + RSA_SHA1 = "rsa-sha1" + RSA_SHA256 = "rsa-sha256" + end + end +end diff --git a/lib/auth0/types/event_stream_cloud_event_connection_updated_object3options_subject.rb b/lib/auth0/types/event_stream_cloud_event_connection_updated_object3options_subject.rb new file mode 100644 index 00000000..02090828 --- /dev/null +++ b/lib/auth0/types/event_stream_cloud_event_connection_updated_object3options_subject.rb @@ -0,0 +1,8 @@ +# frozen_string_literal: true + +module Auth0 + module Types + # Certificate Subject Distinguished Name (DN) extracted from the identity provider's signing certificate. + class EventStreamCloudEventConnectionUpdatedObject3OptionsSubject < Internal::Types::Model; end + end +end diff --git a/lib/auth0/types/event_stream_cloud_event_connection_updated_object3options_upstream_params.rb b/lib/auth0/types/event_stream_cloud_event_connection_updated_object3options_upstream_params.rb new file mode 100644 index 00000000..7acd7465 --- /dev/null +++ b/lib/auth0/types/event_stream_cloud_event_connection_updated_object3options_upstream_params.rb @@ -0,0 +1,23 @@ +# frozen_string_literal: true + +module Auth0 + module Types + module EventStreamCloudEventConnectionUpdatedObject3OptionsUpstreamParams + # EventStreamCloudEventConnectionUpdatedObject3OptionsUpstreamParams is an alias for Hash + + # @option str [String] + # + # @return [untyped] + def self.load(str) + ::JSON.parse(str) + end + + # @option value [untyped] + # + # @return [String] + def self.dump(value) + ::JSON.generate(value) + end + end + end +end diff --git a/lib/auth0/types/event_stream_cloud_event_connection_updated_object3strategy_enum.rb b/lib/auth0/types/event_stream_cloud_event_connection_updated_object3strategy_enum.rb new file mode 100644 index 00000000..d47e6d90 --- /dev/null +++ b/lib/auth0/types/event_stream_cloud_event_connection_updated_object3strategy_enum.rb @@ -0,0 +1,11 @@ +# frozen_string_literal: true + +module Auth0 + module Types + module EventStreamCloudEventConnectionUpdatedObject3StrategyEnum + extend Auth0::Internal::Types::Enum + + PINGFEDERATE = "pingfederate" + end + end +end diff --git a/lib/auth0/types/event_stream_cloud_event_connection_updated_object4.rb b/lib/auth0/types/event_stream_cloud_event_connection_updated_object4.rb new file mode 100644 index 00000000..8ae9b93d --- /dev/null +++ b/lib/auth0/types/event_stream_cloud_event_connection_updated_object4.rb @@ -0,0 +1,31 @@ +# frozen_string_literal: true + +module Auth0 + module Types + class EventStreamCloudEventConnectionUpdatedObject4 < Internal::Types::Model + field :authentication, -> { Auth0::Types::EventStreamCloudEventConnectionUpdatedObject4Authentication }, optional: true, nullable: false + + field :connected_accounts, -> { Auth0::Types::EventStreamCloudEventConnectionUpdatedObject4ConnectedAccounts }, optional: true, nullable: false + + field :display_name, -> { String }, optional: true, nullable: false + + field :enabled_clients, -> { Internal::Types::Array[String] }, optional: true, nullable: false + + field :id, -> { String }, optional: false, nullable: false + + field :is_domain_connection, -> { Internal::Types::Boolean }, optional: true, nullable: false + + field :metadata, -> { Auth0::Types::EventStreamCloudEventConnectionUpdatedObject4Metadata }, optional: true, nullable: false + + field :name, -> { String }, optional: false, nullable: false + + field :realms, -> { Internal::Types::Array[String] }, optional: true, nullable: false + + field :options, -> { Auth0::Types::EventStreamCloudEventConnectionUpdatedObject4Options }, optional: true, nullable: false + + field :show_as_button, -> { Internal::Types::Boolean }, optional: true, nullable: false + + field :strategy, -> { Auth0::Types::EventStreamCloudEventConnectionUpdatedObject4StrategyEnum }, optional: false, nullable: false + end + end +end diff --git a/lib/auth0/types/event_stream_cloud_event_connection_updated_object4authentication.rb b/lib/auth0/types/event_stream_cloud_event_connection_updated_object4authentication.rb new file mode 100644 index 00000000..ac4f4e5f --- /dev/null +++ b/lib/auth0/types/event_stream_cloud_event_connection_updated_object4authentication.rb @@ -0,0 +1,10 @@ +# frozen_string_literal: true + +module Auth0 + module Types + # Configure the purpose of a connection to be used for authentication during login. + class EventStreamCloudEventConnectionUpdatedObject4Authentication < Internal::Types::Model + field :active, -> { Internal::Types::Boolean }, optional: false, nullable: false + end + end +end diff --git a/lib/auth0/types/event_stream_cloud_event_connection_updated_object4connected_accounts.rb b/lib/auth0/types/event_stream_cloud_event_connection_updated_object4connected_accounts.rb new file mode 100644 index 00000000..ebcad061 --- /dev/null +++ b/lib/auth0/types/event_stream_cloud_event_connection_updated_object4connected_accounts.rb @@ -0,0 +1,10 @@ +# frozen_string_literal: true + +module Auth0 + module Types + # Configure the purpose of a connection to be used for connected accounts and Token Vault. + class EventStreamCloudEventConnectionUpdatedObject4ConnectedAccounts < Internal::Types::Model + field :active, -> { Internal::Types::Boolean }, optional: false, nullable: false + end + end +end diff --git a/lib/auth0/types/event_stream_cloud_event_connection_updated_object4metadata.rb b/lib/auth0/types/event_stream_cloud_event_connection_updated_object4metadata.rb new file mode 100644 index 00000000..50c006fe --- /dev/null +++ b/lib/auth0/types/event_stream_cloud_event_connection_updated_object4metadata.rb @@ -0,0 +1,9 @@ +# frozen_string_literal: true + +module Auth0 + module Types + # Metadata associated with the connection in the form of an object with string values (max 255 chars). Maximum of + # 10 metadata properties allowed. + class EventStreamCloudEventConnectionUpdatedObject4Metadata < Internal::Types::Model; end + end +end diff --git a/lib/auth0/types/event_stream_cloud_event_connection_updated_object4options.rb b/lib/auth0/types/event_stream_cloud_event_connection_updated_object4options.rb new file mode 100644 index 00000000..a09ac8e3 --- /dev/null +++ b/lib/auth0/types/event_stream_cloud_event_connection_updated_object4options.rb @@ -0,0 +1,38 @@ +# frozen_string_literal: true + +module Auth0 + module Types + # Options for the 'adfs' connection + class EventStreamCloudEventConnectionUpdatedObject4Options < Internal::Types::Model + field :adfs_server, -> { String }, optional: true, nullable: false + + field :cert_rollover_notification, -> { String }, optional: true, nullable: false + + field :domain_aliases, -> { Internal::Types::Array[String] }, optional: true, nullable: false + + field :entity_id, -> { String }, optional: true, nullable: false, api_name: "entityId" + + field :fed_metadata_xml, -> { String }, optional: true, nullable: false, api_name: "fedMetadataXml" + + field :icon_url, -> { String }, optional: true, nullable: false + + field :non_persistent_attrs, -> { Internal::Types::Array[String] }, optional: true, nullable: false + + field :prev_thumbprints, -> { Internal::Types::Array[String] }, optional: true, nullable: false + + field :set_user_root_attributes, -> { Auth0::Types::EventStreamCloudEventConnectionUpdatedObject4OptionsSetUserRootAttributesEnum }, optional: true, nullable: false + + field :should_trust_email_verified_connection, -> { Auth0::Types::EventStreamCloudEventConnectionUpdatedObject4OptionsShouldTrustEmailVerifiedConnectionEnum }, optional: true, nullable: false + + field :sign_in_endpoint, -> { String }, optional: true, nullable: false, api_name: "signInEndpoint" + + field :tenant_domain, -> { String }, optional: true, nullable: false + + field :thumbprints, -> { Internal::Types::Array[String] }, optional: true, nullable: false + + field :upstream_params, -> { Internal::Types::Hash[String, Object] }, optional: true, nullable: false + + field :user_id_attribute, -> { String }, optional: true, nullable: false + end + end +end diff --git a/lib/auth0/types/event_stream_cloud_event_connection_updated_object4options_set_user_root_attributes_enum.rb b/lib/auth0/types/event_stream_cloud_event_connection_updated_object4options_set_user_root_attributes_enum.rb new file mode 100644 index 00000000..8935aa81 --- /dev/null +++ b/lib/auth0/types/event_stream_cloud_event_connection_updated_object4options_set_user_root_attributes_enum.rb @@ -0,0 +1,13 @@ +# frozen_string_literal: true + +module Auth0 + module Types + module EventStreamCloudEventConnectionUpdatedObject4OptionsSetUserRootAttributesEnum + extend Auth0::Internal::Types::Enum + + ON_EACH_LOGIN = "on_each_login" + ON_FIRST_LOGIN = "on_first_login" + NEVER_ON_LOGIN = "never_on_login" + end + end +end diff --git a/lib/auth0/types/event_stream_cloud_event_connection_updated_object4options_should_trust_email_verified_connection_enum.rb b/lib/auth0/types/event_stream_cloud_event_connection_updated_object4options_should_trust_email_verified_connection_enum.rb new file mode 100644 index 00000000..9ecb35c0 --- /dev/null +++ b/lib/auth0/types/event_stream_cloud_event_connection_updated_object4options_should_trust_email_verified_connection_enum.rb @@ -0,0 +1,12 @@ +# frozen_string_literal: true + +module Auth0 + module Types + module EventStreamCloudEventConnectionUpdatedObject4OptionsShouldTrustEmailVerifiedConnectionEnum + extend Auth0::Internal::Types::Enum + + NEVER_SET_EMAILS_AS_VERIFIED = "never_set_emails_as_verified" + ALWAYS_SET_EMAILS_AS_VERIFIED = "always_set_emails_as_verified" + end + end +end diff --git a/lib/auth0/types/event_stream_cloud_event_connection_updated_object4options_upstream_params.rb b/lib/auth0/types/event_stream_cloud_event_connection_updated_object4options_upstream_params.rb new file mode 100644 index 00000000..b62aaef4 --- /dev/null +++ b/lib/auth0/types/event_stream_cloud_event_connection_updated_object4options_upstream_params.rb @@ -0,0 +1,23 @@ +# frozen_string_literal: true + +module Auth0 + module Types + module EventStreamCloudEventConnectionUpdatedObject4OptionsUpstreamParams + # EventStreamCloudEventConnectionUpdatedObject4OptionsUpstreamParams is an alias for Hash + + # @option str [String] + # + # @return [untyped] + def self.load(str) + ::JSON.parse(str) + end + + # @option value [untyped] + # + # @return [String] + def self.dump(value) + ::JSON.generate(value) + end + end + end +end diff --git a/lib/auth0/types/event_stream_cloud_event_connection_updated_object4strategy_enum.rb b/lib/auth0/types/event_stream_cloud_event_connection_updated_object4strategy_enum.rb new file mode 100644 index 00000000..42e8b78a --- /dev/null +++ b/lib/auth0/types/event_stream_cloud_event_connection_updated_object4strategy_enum.rb @@ -0,0 +1,11 @@ +# frozen_string_literal: true + +module Auth0 + module Types + module EventStreamCloudEventConnectionUpdatedObject4StrategyEnum + extend Auth0::Internal::Types::Enum + + ADFS = "adfs" + end + end +end diff --git a/lib/auth0/types/event_stream_cloud_event_connection_updated_object5.rb b/lib/auth0/types/event_stream_cloud_event_connection_updated_object5.rb new file mode 100644 index 00000000..fb95948a --- /dev/null +++ b/lib/auth0/types/event_stream_cloud_event_connection_updated_object5.rb @@ -0,0 +1,29 @@ +# frozen_string_literal: true + +module Auth0 + module Types + class EventStreamCloudEventConnectionUpdatedObject5 < Internal::Types::Model + field :authentication, -> { Auth0::Types::EventStreamCloudEventConnectionUpdatedObject5Authentication }, optional: true, nullable: false + + field :connected_accounts, -> { Auth0::Types::EventStreamCloudEventConnectionUpdatedObject5ConnectedAccounts }, optional: true, nullable: false + + field :display_name, -> { String }, optional: true, nullable: false + + field :enabled_clients, -> { Internal::Types::Array[String] }, optional: true, nullable: false + + field :id, -> { String }, optional: false, nullable: false + + field :is_domain_connection, -> { Internal::Types::Boolean }, optional: true, nullable: false + + field :metadata, -> { Auth0::Types::EventStreamCloudEventConnectionUpdatedObject5Metadata }, optional: true, nullable: false + + field :name, -> { String }, optional: false, nullable: false + + field :realms, -> { Internal::Types::Array[String] }, optional: true, nullable: false + + field :options, -> { Auth0::Types::EventStreamCloudEventConnectionUpdatedObject5Options }, optional: true, nullable: false + + field :strategy, -> { Auth0::Types::EventStreamCloudEventConnectionUpdatedObject5StrategyEnum }, optional: false, nullable: false + end + end +end diff --git a/lib/auth0/types/event_stream_cloud_event_connection_updated_object5authentication.rb b/lib/auth0/types/event_stream_cloud_event_connection_updated_object5authentication.rb new file mode 100644 index 00000000..0c13536b --- /dev/null +++ b/lib/auth0/types/event_stream_cloud_event_connection_updated_object5authentication.rb @@ -0,0 +1,10 @@ +# frozen_string_literal: true + +module Auth0 + module Types + # Configure the purpose of a connection to be used for authentication during login. + class EventStreamCloudEventConnectionUpdatedObject5Authentication < Internal::Types::Model + field :active, -> { Internal::Types::Boolean }, optional: false, nullable: false + end + end +end diff --git a/lib/auth0/types/event_stream_cloud_event_connection_updated_object5connected_accounts.rb b/lib/auth0/types/event_stream_cloud_event_connection_updated_object5connected_accounts.rb new file mode 100644 index 00000000..984811e7 --- /dev/null +++ b/lib/auth0/types/event_stream_cloud_event_connection_updated_object5connected_accounts.rb @@ -0,0 +1,10 @@ +# frozen_string_literal: true + +module Auth0 + module Types + # Configure the purpose of a connection to be used for connected accounts and Token Vault. + class EventStreamCloudEventConnectionUpdatedObject5ConnectedAccounts < Internal::Types::Model + field :active, -> { Internal::Types::Boolean }, optional: false, nullable: false + end + end +end diff --git a/lib/auth0/types/event_stream_cloud_event_connection_updated_object5metadata.rb b/lib/auth0/types/event_stream_cloud_event_connection_updated_object5metadata.rb new file mode 100644 index 00000000..196f8f6a --- /dev/null +++ b/lib/auth0/types/event_stream_cloud_event_connection_updated_object5metadata.rb @@ -0,0 +1,9 @@ +# frozen_string_literal: true + +module Auth0 + module Types + # Metadata associated with the connection in the form of an object with string values (max 255 chars). Maximum of + # 10 metadata properties allowed. + class EventStreamCloudEventConnectionUpdatedObject5Metadata < Internal::Types::Model; end + end +end diff --git a/lib/auth0/types/event_stream_cloud_event_connection_updated_object5options.rb b/lib/auth0/types/event_stream_cloud_event_connection_updated_object5options.rb new file mode 100644 index 00000000..986a1ab9 --- /dev/null +++ b/lib/auth0/types/event_stream_cloud_event_connection_updated_object5options.rb @@ -0,0 +1,44 @@ +# frozen_string_literal: true + +module Auth0 + module Types + # Options for the 'ad' connection + class EventStreamCloudEventConnectionUpdatedObject5Options < Internal::Types::Model + field :agent_ip, -> { String }, optional: true, nullable: false, api_name: "agentIP" + + field :agent_mode, -> { Internal::Types::Boolean }, optional: true, nullable: false, api_name: "agentMode" + + field :agent_version, -> { String }, optional: true, nullable: false, api_name: "agentVersion" + + field :brute_force_protection, -> { Internal::Types::Boolean }, optional: true, nullable: false + + field :cert_auth, -> { Internal::Types::Boolean }, optional: true, nullable: false, api_name: "certAuth" + + field :certs, -> { Internal::Types::Array[String] }, optional: true, nullable: false + + field :disable_cache, -> { Internal::Types::Boolean }, optional: true, nullable: false + + field :disable_self_service_change_password, -> { Internal::Types::Boolean }, optional: true, nullable: false + + field :domain_aliases, -> { Internal::Types::Array[String] }, optional: true, nullable: false + + field :icon_url, -> { String }, optional: true, nullable: false + + field :ips, -> { Internal::Types::Array[String] }, optional: true, nullable: false + + field :kerberos, -> { Internal::Types::Boolean }, optional: true, nullable: false + + field :non_persistent_attrs, -> { Internal::Types::Array[String] }, optional: true, nullable: false + + field :set_user_root_attributes, -> { Auth0::Types::EventStreamCloudEventConnectionUpdatedObject5OptionsSetUserRootAttributesEnum }, optional: true, nullable: false + + field :sign_in_endpoint, -> { String }, optional: true, nullable: false, api_name: "signInEndpoint" + + field :tenant_domain, -> { String }, optional: true, nullable: false + + field :thumbprints, -> { Internal::Types::Array[String] }, optional: true, nullable: false + + field :upstream_params, -> { Internal::Types::Hash[String, Object] }, optional: true, nullable: false + end + end +end diff --git a/lib/auth0/types/event_stream_cloud_event_connection_updated_object5options_set_user_root_attributes_enum.rb b/lib/auth0/types/event_stream_cloud_event_connection_updated_object5options_set_user_root_attributes_enum.rb new file mode 100644 index 00000000..201597c6 --- /dev/null +++ b/lib/auth0/types/event_stream_cloud_event_connection_updated_object5options_set_user_root_attributes_enum.rb @@ -0,0 +1,13 @@ +# frozen_string_literal: true + +module Auth0 + module Types + module EventStreamCloudEventConnectionUpdatedObject5OptionsSetUserRootAttributesEnum + extend Auth0::Internal::Types::Enum + + ON_EACH_LOGIN = "on_each_login" + ON_FIRST_LOGIN = "on_first_login" + NEVER_ON_LOGIN = "never_on_login" + end + end +end diff --git a/lib/auth0/types/event_stream_cloud_event_connection_updated_object5options_upstream_params.rb b/lib/auth0/types/event_stream_cloud_event_connection_updated_object5options_upstream_params.rb new file mode 100644 index 00000000..e46ac0f9 --- /dev/null +++ b/lib/auth0/types/event_stream_cloud_event_connection_updated_object5options_upstream_params.rb @@ -0,0 +1,23 @@ +# frozen_string_literal: true + +module Auth0 + module Types + module EventStreamCloudEventConnectionUpdatedObject5OptionsUpstreamParams + # EventStreamCloudEventConnectionUpdatedObject5OptionsUpstreamParams is an alias for Hash + + # @option str [String] + # + # @return [untyped] + def self.load(str) + ::JSON.parse(str) + end + + # @option value [untyped] + # + # @return [String] + def self.dump(value) + ::JSON.generate(value) + end + end + end +end diff --git a/lib/auth0/types/event_stream_cloud_event_connection_updated_object5strategy_enum.rb b/lib/auth0/types/event_stream_cloud_event_connection_updated_object5strategy_enum.rb new file mode 100644 index 00000000..bfda32dd --- /dev/null +++ b/lib/auth0/types/event_stream_cloud_event_connection_updated_object5strategy_enum.rb @@ -0,0 +1,11 @@ +# frozen_string_literal: true + +module Auth0 + module Types + module EventStreamCloudEventConnectionUpdatedObject5StrategyEnum + extend Auth0::Internal::Types::Enum + + AD = "ad" + end + end +end diff --git a/lib/auth0/types/event_stream_cloud_event_connection_updated_object6.rb b/lib/auth0/types/event_stream_cloud_event_connection_updated_object6.rb new file mode 100644 index 00000000..58bad29d --- /dev/null +++ b/lib/auth0/types/event_stream_cloud_event_connection_updated_object6.rb @@ -0,0 +1,31 @@ +# frozen_string_literal: true + +module Auth0 + module Types + class EventStreamCloudEventConnectionUpdatedObject6 < Internal::Types::Model + field :authentication, -> { Auth0::Types::EventStreamCloudEventConnectionUpdatedObject6Authentication }, optional: true, nullable: false + + field :connected_accounts, -> { Auth0::Types::EventStreamCloudEventConnectionUpdatedObject6ConnectedAccounts }, optional: true, nullable: false + + field :display_name, -> { String }, optional: true, nullable: false + + field :enabled_clients, -> { Internal::Types::Array[String] }, optional: true, nullable: false + + field :id, -> { String }, optional: false, nullable: false + + field :is_domain_connection, -> { Internal::Types::Boolean }, optional: true, nullable: false + + field :metadata, -> { Auth0::Types::EventStreamCloudEventConnectionUpdatedObject6Metadata }, optional: true, nullable: false + + field :name, -> { String }, optional: false, nullable: false + + field :realms, -> { Internal::Types::Array[String] }, optional: true, nullable: false + + field :options, -> { Auth0::Types::EventStreamCloudEventConnectionUpdatedObject6Options }, optional: true, nullable: false + + field :show_as_button, -> { Internal::Types::Boolean }, optional: true, nullable: false + + field :strategy, -> { Auth0::Types::EventStreamCloudEventConnectionUpdatedObject6StrategyEnum }, optional: false, nullable: false + end + end +end diff --git a/lib/auth0/types/event_stream_cloud_event_connection_updated_object6authentication.rb b/lib/auth0/types/event_stream_cloud_event_connection_updated_object6authentication.rb new file mode 100644 index 00000000..df484dbf --- /dev/null +++ b/lib/auth0/types/event_stream_cloud_event_connection_updated_object6authentication.rb @@ -0,0 +1,10 @@ +# frozen_string_literal: true + +module Auth0 + module Types + # Configure the purpose of a connection to be used for authentication during login. + class EventStreamCloudEventConnectionUpdatedObject6Authentication < Internal::Types::Model + field :active, -> { Internal::Types::Boolean }, optional: false, nullable: false + end + end +end diff --git a/lib/auth0/types/event_stream_cloud_event_connection_updated_object6connected_accounts.rb b/lib/auth0/types/event_stream_cloud_event_connection_updated_object6connected_accounts.rb new file mode 100644 index 00000000..2a363dff --- /dev/null +++ b/lib/auth0/types/event_stream_cloud_event_connection_updated_object6connected_accounts.rb @@ -0,0 +1,10 @@ +# frozen_string_literal: true + +module Auth0 + module Types + # Configure the purpose of a connection to be used for connected accounts and Token Vault. + class EventStreamCloudEventConnectionUpdatedObject6ConnectedAccounts < Internal::Types::Model + field :active, -> { Internal::Types::Boolean }, optional: false, nullable: false + end + end +end diff --git a/lib/auth0/types/event_stream_cloud_event_connection_updated_object6metadata.rb b/lib/auth0/types/event_stream_cloud_event_connection_updated_object6metadata.rb new file mode 100644 index 00000000..7cd53714 --- /dev/null +++ b/lib/auth0/types/event_stream_cloud_event_connection_updated_object6metadata.rb @@ -0,0 +1,9 @@ +# frozen_string_literal: true + +module Auth0 + module Types + # Metadata associated with the connection in the form of an object with string values (max 255 chars). Maximum of + # 10 metadata properties allowed. + class EventStreamCloudEventConnectionUpdatedObject6Metadata < Internal::Types::Model; end + end +end diff --git a/lib/auth0/types/event_stream_cloud_event_connection_updated_object6options.rb b/lib/auth0/types/event_stream_cloud_event_connection_updated_object6options.rb new file mode 100644 index 00000000..cbd3ab2c --- /dev/null +++ b/lib/auth0/types/event_stream_cloud_event_connection_updated_object6options.rb @@ -0,0 +1,54 @@ +# frozen_string_literal: true + +module Auth0 + module Types + # Options for the 'google-apps' connection + class EventStreamCloudEventConnectionUpdatedObject6Options < Internal::Types::Model + field :admin_access_token_expiresin, -> { String }, optional: true, nullable: false + + field :allow_setting_login_scopes, -> { Internal::Types::Boolean }, optional: true, nullable: false + + field :api_enable_groups, -> { Internal::Types::Boolean }, optional: true, nullable: false + + field :api_enable_users, -> { Internal::Types::Boolean }, optional: true, nullable: false + + field :client_id, -> { String }, optional: false, nullable: false + + field :domain, -> { String }, optional: true, nullable: false + + field :domain_aliases, -> { Internal::Types::Array[String] }, optional: true, nullable: false + + field :email, -> { Internal::Types::Boolean }, optional: true, nullable: false + + field :ext_agreed_terms, -> { Internal::Types::Boolean }, optional: true, nullable: false + + field :ext_groups, -> { Internal::Types::Boolean }, optional: true, nullable: false + + field :ext_groups_extended, -> { Internal::Types::Boolean }, optional: true, nullable: false + + field :ext_is_admin, -> { Internal::Types::Boolean }, optional: true, nullable: false + + field :ext_is_suspended, -> { Internal::Types::Boolean }, optional: true, nullable: false + + field :federated_connections_access_tokens, -> { Auth0::Types::EventStreamCloudEventConnectionUpdatedObject6OptionsFederatedConnectionsAccessTokens }, optional: true, nullable: false + + field :handle_login_from_social, -> { Internal::Types::Boolean }, optional: true, nullable: false + + field :icon_url, -> { String }, optional: true, nullable: false + + field :map_user_id_to_id, -> { Internal::Types::Boolean }, optional: true, nullable: false + + field :non_persistent_attrs, -> { Internal::Types::Array[String] }, optional: true, nullable: false + + field :profile, -> { Internal::Types::Boolean }, optional: true, nullable: false + + field :scope, -> { Internal::Types::Array[String] }, optional: true, nullable: false + + field :set_user_root_attributes, -> { Auth0::Types::EventStreamCloudEventConnectionUpdatedObject6OptionsSetUserRootAttributesEnum }, optional: true, nullable: false + + field :tenant_domain, -> { String }, optional: true, nullable: false + + field :upstream_params, -> { Internal::Types::Hash[String, Object] }, optional: true, nullable: false + end + end +end diff --git a/lib/auth0/types/event_stream_cloud_event_connection_updated_object6options_federated_connections_access_tokens.rb b/lib/auth0/types/event_stream_cloud_event_connection_updated_object6options_federated_connections_access_tokens.rb new file mode 100644 index 00000000..2077fab8 --- /dev/null +++ b/lib/auth0/types/event_stream_cloud_event_connection_updated_object6options_federated_connections_access_tokens.rb @@ -0,0 +1,12 @@ +# frozen_string_literal: true + +module Auth0 + module Types + # Configuration for storing identity provider tokens in Auth0's Token Vault. When active, Auth0 securely stores + # access and refresh tokens from federated logins, enabling your application to make authenticated API calls on + # behalf of users. + class EventStreamCloudEventConnectionUpdatedObject6OptionsFederatedConnectionsAccessTokens < Internal::Types::Model + field :active, -> { Internal::Types::Boolean }, optional: false, nullable: false + end + end +end diff --git a/lib/auth0/types/event_stream_cloud_event_connection_updated_object6options_set_user_root_attributes_enum.rb b/lib/auth0/types/event_stream_cloud_event_connection_updated_object6options_set_user_root_attributes_enum.rb new file mode 100644 index 00000000..c6be1625 --- /dev/null +++ b/lib/auth0/types/event_stream_cloud_event_connection_updated_object6options_set_user_root_attributes_enum.rb @@ -0,0 +1,13 @@ +# frozen_string_literal: true + +module Auth0 + module Types + module EventStreamCloudEventConnectionUpdatedObject6OptionsSetUserRootAttributesEnum + extend Auth0::Internal::Types::Enum + + ON_EACH_LOGIN = "on_each_login" + ON_FIRST_LOGIN = "on_first_login" + NEVER_ON_LOGIN = "never_on_login" + end + end +end diff --git a/lib/auth0/types/event_stream_cloud_event_connection_updated_object6options_upstream_params.rb b/lib/auth0/types/event_stream_cloud_event_connection_updated_object6options_upstream_params.rb new file mode 100644 index 00000000..10810525 --- /dev/null +++ b/lib/auth0/types/event_stream_cloud_event_connection_updated_object6options_upstream_params.rb @@ -0,0 +1,23 @@ +# frozen_string_literal: true + +module Auth0 + module Types + module EventStreamCloudEventConnectionUpdatedObject6OptionsUpstreamParams + # EventStreamCloudEventConnectionUpdatedObject6OptionsUpstreamParams is an alias for Hash + + # @option str [String] + # + # @return [untyped] + def self.load(str) + ::JSON.parse(str) + end + + # @option value [untyped] + # + # @return [String] + def self.dump(value) + ::JSON.generate(value) + end + end + end +end diff --git a/lib/auth0/types/event_stream_cloud_event_connection_updated_object6strategy_enum.rb b/lib/auth0/types/event_stream_cloud_event_connection_updated_object6strategy_enum.rb new file mode 100644 index 00000000..7d1aa07b --- /dev/null +++ b/lib/auth0/types/event_stream_cloud_event_connection_updated_object6strategy_enum.rb @@ -0,0 +1,11 @@ +# frozen_string_literal: true + +module Auth0 + module Types + module EventStreamCloudEventConnectionUpdatedObject6StrategyEnum + extend Auth0::Internal::Types::Enum + + GOOGLE_APPS = "google-apps" + end + end +end diff --git a/lib/auth0/types/event_stream_cloud_event_connection_updated_object7.rb b/lib/auth0/types/event_stream_cloud_event_connection_updated_object7.rb new file mode 100644 index 00000000..ce88f5d2 --- /dev/null +++ b/lib/auth0/types/event_stream_cloud_event_connection_updated_object7.rb @@ -0,0 +1,31 @@ +# frozen_string_literal: true + +module Auth0 + module Types + class EventStreamCloudEventConnectionUpdatedObject7 < Internal::Types::Model + field :authentication, -> { Auth0::Types::EventStreamCloudEventConnectionUpdatedObject7Authentication }, optional: true, nullable: false + + field :connected_accounts, -> { Auth0::Types::EventStreamCloudEventConnectionUpdatedObject7ConnectedAccounts }, optional: true, nullable: false + + field :display_name, -> { String }, optional: true, nullable: false + + field :enabled_clients, -> { Internal::Types::Array[String] }, optional: true, nullable: false + + field :id, -> { String }, optional: false, nullable: false + + field :is_domain_connection, -> { Internal::Types::Boolean }, optional: true, nullable: false + + field :metadata, -> { Auth0::Types::EventStreamCloudEventConnectionUpdatedObject7Metadata }, optional: true, nullable: false + + field :name, -> { String }, optional: false, nullable: false + + field :realms, -> { Internal::Types::Array[String] }, optional: true, nullable: false + + field :options, -> { Auth0::Types::EventStreamCloudEventConnectionUpdatedObject7Options }, optional: true, nullable: false + + field :show_as_button, -> { Internal::Types::Boolean }, optional: true, nullable: false + + field :strategy, -> { Auth0::Types::EventStreamCloudEventConnectionUpdatedObject7StrategyEnum }, optional: false, nullable: false + end + end +end diff --git a/lib/auth0/types/event_stream_cloud_event_connection_updated_object7authentication.rb b/lib/auth0/types/event_stream_cloud_event_connection_updated_object7authentication.rb new file mode 100644 index 00000000..50f841eb --- /dev/null +++ b/lib/auth0/types/event_stream_cloud_event_connection_updated_object7authentication.rb @@ -0,0 +1,10 @@ +# frozen_string_literal: true + +module Auth0 + module Types + # Configure the purpose of a connection to be used for authentication during login. + class EventStreamCloudEventConnectionUpdatedObject7Authentication < Internal::Types::Model + field :active, -> { Internal::Types::Boolean }, optional: false, nullable: false + end + end +end diff --git a/lib/auth0/types/event_stream_cloud_event_connection_updated_object7connected_accounts.rb b/lib/auth0/types/event_stream_cloud_event_connection_updated_object7connected_accounts.rb new file mode 100644 index 00000000..a23e493f --- /dev/null +++ b/lib/auth0/types/event_stream_cloud_event_connection_updated_object7connected_accounts.rb @@ -0,0 +1,10 @@ +# frozen_string_literal: true + +module Auth0 + module Types + # Configure the purpose of a connection to be used for connected accounts and Token Vault. + class EventStreamCloudEventConnectionUpdatedObject7ConnectedAccounts < Internal::Types::Model + field :active, -> { Internal::Types::Boolean }, optional: false, nullable: false + end + end +end diff --git a/lib/auth0/types/event_stream_cloud_event_connection_updated_object7metadata.rb b/lib/auth0/types/event_stream_cloud_event_connection_updated_object7metadata.rb new file mode 100644 index 00000000..9d7bfeef --- /dev/null +++ b/lib/auth0/types/event_stream_cloud_event_connection_updated_object7metadata.rb @@ -0,0 +1,9 @@ +# frozen_string_literal: true + +module Auth0 + module Types + # Metadata associated with the connection in the form of an object with string values (max 255 chars). Maximum of + # 10 metadata properties allowed. + class EventStreamCloudEventConnectionUpdatedObject7Metadata < Internal::Types::Model; end + end +end diff --git a/lib/auth0/types/event_stream_cloud_event_connection_updated_object7options.rb b/lib/auth0/types/event_stream_cloud_event_connection_updated_object7options.rb new file mode 100644 index 00000000..df449130 --- /dev/null +++ b/lib/auth0/types/event_stream_cloud_event_connection_updated_object7options.rb @@ -0,0 +1,64 @@ +# frozen_string_literal: true + +module Auth0 + module Types + # Options for the 'waad' connection + class EventStreamCloudEventConnectionUpdatedObject7Options < Internal::Types::Model + field :api_enable_users, -> { Internal::Types::Boolean }, optional: true, nullable: false + + field :app_domain, -> { String }, optional: true, nullable: false + + field :app_id, -> { String }, optional: true, nullable: false + + field :basic_profile, -> { Internal::Types::Boolean }, optional: true, nullable: false + + field :cert_rollover_notification, -> { String }, optional: true, nullable: false + + field :client_id, -> { String }, optional: false, nullable: false + + field :domain, -> { String }, optional: true, nullable: false + + field :domain_aliases, -> { Internal::Types::Array[String] }, optional: true, nullable: false + + field :ext_groups, -> { Internal::Types::Boolean }, optional: true, nullable: false + + field :ext_nested_groups, -> { Internal::Types::Boolean }, optional: true, nullable: false + + field :ext_profile, -> { Internal::Types::Boolean }, optional: true, nullable: false + + field :federated_connections_access_tokens, -> { Auth0::Types::EventStreamCloudEventConnectionUpdatedObject7OptionsFederatedConnectionsAccessTokens }, optional: true, nullable: false + + field :granted, -> { Internal::Types::Boolean }, optional: true, nullable: false + + field :icon_url, -> { String }, optional: true, nullable: false + + field :identity_api, -> { Auth0::Types::EventStreamCloudEventConnectionUpdatedObject7OptionsIdentityAPIEnum }, optional: true, nullable: false + + field :max_groups_to_retrieve, -> { String }, optional: true, nullable: false + + field :non_persistent_attrs, -> { Internal::Types::Array[String] }, optional: true, nullable: false + + field :scope, -> { Internal::Types::Array[String] }, optional: true, nullable: false + + field :set_user_root_attributes, -> { Auth0::Types::EventStreamCloudEventConnectionUpdatedObject7OptionsSetUserRootAttributesEnum }, optional: true, nullable: false + + field :should_trust_email_verified_connection, -> { Auth0::Types::EventStreamCloudEventConnectionUpdatedObject7OptionsShouldTrustEmailVerifiedConnectionEnum }, optional: true, nullable: false + + field :tenant_domain, -> { String }, optional: true, nullable: false + + field :tenant_id, -> { String }, optional: true, nullable: false, api_name: "tenantId" + + field :thumbprints, -> { Internal::Types::Array[String] }, optional: true, nullable: false + + field :upstream_params, -> { Internal::Types::Hash[String, Object] }, optional: true, nullable: false + + field :use_wsfed, -> { Internal::Types::Boolean }, optional: true, nullable: false + + field :use_common_endpoint, -> { Internal::Types::Boolean }, optional: true, nullable: false, api_name: "useCommonEndpoint" + + field :userid_attribute, -> { Auth0::Types::EventStreamCloudEventConnectionUpdatedObject7OptionsUseridAttributeEnum }, optional: true, nullable: false + + field :waad_protocol, -> { Auth0::Types::EventStreamCloudEventConnectionUpdatedObject7OptionsWaadProtocolEnum }, optional: true, nullable: false + end + end +end diff --git a/lib/auth0/types/event_stream_cloud_event_connection_updated_object7options_federated_connections_access_tokens.rb b/lib/auth0/types/event_stream_cloud_event_connection_updated_object7options_federated_connections_access_tokens.rb new file mode 100644 index 00000000..8217961d --- /dev/null +++ b/lib/auth0/types/event_stream_cloud_event_connection_updated_object7options_federated_connections_access_tokens.rb @@ -0,0 +1,12 @@ +# frozen_string_literal: true + +module Auth0 + module Types + # Configuration for storing identity provider tokens in Auth0's Token Vault. When active, Auth0 securely stores + # access and refresh tokens from federated logins, enabling your application to make authenticated API calls on + # behalf of users. + class EventStreamCloudEventConnectionUpdatedObject7OptionsFederatedConnectionsAccessTokens < Internal::Types::Model + field :active, -> { Internal::Types::Boolean }, optional: false, nullable: false + end + end +end diff --git a/lib/auth0/types/event_stream_cloud_event_connection_updated_object7options_identity_api_enum.rb b/lib/auth0/types/event_stream_cloud_event_connection_updated_object7options_identity_api_enum.rb new file mode 100644 index 00000000..dd80f6c2 --- /dev/null +++ b/lib/auth0/types/event_stream_cloud_event_connection_updated_object7options_identity_api_enum.rb @@ -0,0 +1,12 @@ +# frozen_string_literal: true + +module Auth0 + module Types + module EventStreamCloudEventConnectionUpdatedObject7OptionsIdentityAPIEnum + extend Auth0::Internal::Types::Enum + + MICROSOFT_IDENTITY_PLATFORM_V20 = "microsoft-identity-platform-v2.0" + AZURE_ACTIVE_DIRECTORY_V10 = "azure-active-directory-v1.0" + end + end +end diff --git a/lib/auth0/types/event_stream_cloud_event_connection_updated_object7options_set_user_root_attributes_enum.rb b/lib/auth0/types/event_stream_cloud_event_connection_updated_object7options_set_user_root_attributes_enum.rb new file mode 100644 index 00000000..46ce997a --- /dev/null +++ b/lib/auth0/types/event_stream_cloud_event_connection_updated_object7options_set_user_root_attributes_enum.rb @@ -0,0 +1,13 @@ +# frozen_string_literal: true + +module Auth0 + module Types + module EventStreamCloudEventConnectionUpdatedObject7OptionsSetUserRootAttributesEnum + extend Auth0::Internal::Types::Enum + + ON_EACH_LOGIN = "on_each_login" + ON_FIRST_LOGIN = "on_first_login" + NEVER_ON_LOGIN = "never_on_login" + end + end +end diff --git a/lib/auth0/types/event_stream_cloud_event_connection_updated_object7options_should_trust_email_verified_connection_enum.rb b/lib/auth0/types/event_stream_cloud_event_connection_updated_object7options_should_trust_email_verified_connection_enum.rb new file mode 100644 index 00000000..ac10162d --- /dev/null +++ b/lib/auth0/types/event_stream_cloud_event_connection_updated_object7options_should_trust_email_verified_connection_enum.rb @@ -0,0 +1,12 @@ +# frozen_string_literal: true + +module Auth0 + module Types + module EventStreamCloudEventConnectionUpdatedObject7OptionsShouldTrustEmailVerifiedConnectionEnum + extend Auth0::Internal::Types::Enum + + NEVER_SET_EMAILS_AS_VERIFIED = "never_set_emails_as_verified" + ALWAYS_SET_EMAILS_AS_VERIFIED = "always_set_emails_as_verified" + end + end +end diff --git a/lib/auth0/types/event_stream_cloud_event_connection_updated_object7options_tenant_domain_one.rb b/lib/auth0/types/event_stream_cloud_event_connection_updated_object7options_tenant_domain_one.rb new file mode 100644 index 00000000..f626b1ea --- /dev/null +++ b/lib/auth0/types/event_stream_cloud_event_connection_updated_object7options_tenant_domain_one.rb @@ -0,0 +1,23 @@ +# frozen_string_literal: true + +module Auth0 + module Types + module EventStreamCloudEventConnectionUpdatedObject7OptionsTenantDomainOne + # EventStreamCloudEventConnectionUpdatedObject7OptionsTenantDomainOne is an alias for String + + # @option str [String] + # + # @return [untyped] + def self.load(str) + ::JSON.parse(str) + end + + # @option value [untyped] + # + # @return [String] + def self.dump(value) + ::JSON.generate(value) + end + end + end +end diff --git a/lib/auth0/types/event_stream_cloud_event_connection_updated_object7options_upstream_params.rb b/lib/auth0/types/event_stream_cloud_event_connection_updated_object7options_upstream_params.rb new file mode 100644 index 00000000..d0dbf17f --- /dev/null +++ b/lib/auth0/types/event_stream_cloud_event_connection_updated_object7options_upstream_params.rb @@ -0,0 +1,23 @@ +# frozen_string_literal: true + +module Auth0 + module Types + module EventStreamCloudEventConnectionUpdatedObject7OptionsUpstreamParams + # EventStreamCloudEventConnectionUpdatedObject7OptionsUpstreamParams is an alias for Hash + + # @option str [String] + # + # @return [untyped] + def self.load(str) + ::JSON.parse(str) + end + + # @option value [untyped] + # + # @return [String] + def self.dump(value) + ::JSON.generate(value) + end + end + end +end diff --git a/lib/auth0/types/event_stream_cloud_event_connection_updated_object7options_userid_attribute_enum.rb b/lib/auth0/types/event_stream_cloud_event_connection_updated_object7options_userid_attribute_enum.rb new file mode 100644 index 00000000..a9b92331 --- /dev/null +++ b/lib/auth0/types/event_stream_cloud_event_connection_updated_object7options_userid_attribute_enum.rb @@ -0,0 +1,12 @@ +# frozen_string_literal: true + +module Auth0 + module Types + module EventStreamCloudEventConnectionUpdatedObject7OptionsUseridAttributeEnum + extend Auth0::Internal::Types::Enum + + OID = "oid" + SUB = "sub" + end + end +end diff --git a/lib/auth0/types/event_stream_cloud_event_connection_updated_object7options_waad_protocol_enum.rb b/lib/auth0/types/event_stream_cloud_event_connection_updated_object7options_waad_protocol_enum.rb new file mode 100644 index 00000000..69eee06b --- /dev/null +++ b/lib/auth0/types/event_stream_cloud_event_connection_updated_object7options_waad_protocol_enum.rb @@ -0,0 +1,12 @@ +# frozen_string_literal: true + +module Auth0 + module Types + module EventStreamCloudEventConnectionUpdatedObject7OptionsWaadProtocolEnum + extend Auth0::Internal::Types::Enum + + WS_FEDERATION = "ws-federation" + OPENID_CONNECT = "openid-connect" + end + end +end diff --git a/lib/auth0/types/event_stream_cloud_event_connection_updated_object7strategy_enum.rb b/lib/auth0/types/event_stream_cloud_event_connection_updated_object7strategy_enum.rb new file mode 100644 index 00000000..c27499b4 --- /dev/null +++ b/lib/auth0/types/event_stream_cloud_event_connection_updated_object7strategy_enum.rb @@ -0,0 +1,11 @@ +# frozen_string_literal: true + +module Auth0 + module Types + module EventStreamCloudEventConnectionUpdatedObject7StrategyEnum + extend Auth0::Internal::Types::Enum + + WAAD = "waad" + end + end +end diff --git a/lib/auth0/types/event_stream_cloud_event_connection_updated_type_enum.rb b/lib/auth0/types/event_stream_cloud_event_connection_updated_type_enum.rb new file mode 100644 index 00000000..bfd5dacc --- /dev/null +++ b/lib/auth0/types/event_stream_cloud_event_connection_updated_type_enum.rb @@ -0,0 +1,11 @@ +# frozen_string_literal: true + +module Auth0 + module Types + module EventStreamCloudEventConnectionUpdatedTypeEnum + extend Auth0::Internal::Types::Enum + + CONNECTION_UPDATED = "connection.updated" + end + end +end diff --git a/lib/auth0/types/event_stream_cloud_event_group_created_cloud_event.rb b/lib/auth0/types/event_stream_cloud_event_group_created_cloud_event.rb index 03004158..e75f7506 100644 --- a/lib/auth0/types/event_stream_cloud_event_group_created_cloud_event.rb +++ b/lib/auth0/types/event_stream_cloud_event_group_created_cloud_event.rb @@ -4,7 +4,7 @@ module Auth0 module Types # Represents an event that occurs when a group is created. class EventStreamCloudEventGroupCreatedCloudEvent < Internal::Types::Model - field :specversion, -> { String }, optional: false, nullable: false + field :specversion, -> { Auth0::Types::EventStreamCloudEventSpecVersionEnum }, optional: false, nullable: false field :type, -> { Auth0::Types::EventStreamCloudEventGroupCreatedCloudEventTypeEnum }, optional: false, nullable: false diff --git a/lib/auth0/types/event_stream_cloud_event_group_deleted_cloud_event.rb b/lib/auth0/types/event_stream_cloud_event_group_deleted_cloud_event.rb index 727e3b84..5184116f 100644 --- a/lib/auth0/types/event_stream_cloud_event_group_deleted_cloud_event.rb +++ b/lib/auth0/types/event_stream_cloud_event_group_deleted_cloud_event.rb @@ -4,7 +4,7 @@ module Auth0 module Types # Represents an event that occurs when a group is deleted. class EventStreamCloudEventGroupDeletedCloudEvent < Internal::Types::Model - field :specversion, -> { String }, optional: false, nullable: false + field :specversion, -> { Auth0::Types::EventStreamCloudEventSpecVersionEnum }, optional: false, nullable: false field :type, -> { Auth0::Types::EventStreamCloudEventGroupDeletedCloudEventTypeEnum }, optional: false, nullable: false diff --git a/lib/auth0/types/event_stream_cloud_event_group_member_added_cloud_event.rb b/lib/auth0/types/event_stream_cloud_event_group_member_added_cloud_event.rb index a02ccb12..45e05f90 100644 --- a/lib/auth0/types/event_stream_cloud_event_group_member_added_cloud_event.rb +++ b/lib/auth0/types/event_stream_cloud_event_group_member_added_cloud_event.rb @@ -4,7 +4,7 @@ module Auth0 module Types # Represents an event that occurs when a member is added to a group. class EventStreamCloudEventGroupMemberAddedCloudEvent < Internal::Types::Model - field :specversion, -> { String }, optional: false, nullable: false + field :specversion, -> { Auth0::Types::EventStreamCloudEventSpecVersionEnum }, optional: false, nullable: false field :type, -> { Auth0::Types::EventStreamCloudEventGroupMemberAddedCloudEventTypeEnum }, optional: false, nullable: false diff --git a/lib/auth0/types/event_stream_cloud_event_group_member_deleted_cloud_event.rb b/lib/auth0/types/event_stream_cloud_event_group_member_deleted_cloud_event.rb index b1949212..3fb8166d 100644 --- a/lib/auth0/types/event_stream_cloud_event_group_member_deleted_cloud_event.rb +++ b/lib/auth0/types/event_stream_cloud_event_group_member_deleted_cloud_event.rb @@ -4,7 +4,7 @@ module Auth0 module Types # Represents an event that occurs when a member is removed from a group. class EventStreamCloudEventGroupMemberDeletedCloudEvent < Internal::Types::Model - field :specversion, -> { String }, optional: false, nullable: false + field :specversion, -> { Auth0::Types::EventStreamCloudEventSpecVersionEnum }, optional: false, nullable: false field :type, -> { Auth0::Types::EventStreamCloudEventGroupMemberDeletedCloudEventTypeEnum }, optional: false, nullable: false diff --git a/lib/auth0/types/event_stream_cloud_event_group_role_assigned_cloud_event.rb b/lib/auth0/types/event_stream_cloud_event_group_role_assigned_cloud_event.rb index 18eff1d2..de7d9af6 100644 --- a/lib/auth0/types/event_stream_cloud_event_group_role_assigned_cloud_event.rb +++ b/lib/auth0/types/event_stream_cloud_event_group_role_assigned_cloud_event.rb @@ -4,7 +4,7 @@ module Auth0 module Types # Represents an event that occurs when a role is assigned to a group. class EventStreamCloudEventGroupRoleAssignedCloudEvent < Internal::Types::Model - field :specversion, -> { String }, optional: false, nullable: false + field :specversion, -> { Auth0::Types::EventStreamCloudEventSpecVersionEnum }, optional: false, nullable: false field :type, -> { Auth0::Types::EventStreamCloudEventGroupRoleAssignedCloudEventTypeEnum }, optional: false, nullable: false diff --git a/lib/auth0/types/event_stream_cloud_event_group_role_deleted_cloud_event.rb b/lib/auth0/types/event_stream_cloud_event_group_role_deleted_cloud_event.rb index f6fcfcea..e9adc2af 100644 --- a/lib/auth0/types/event_stream_cloud_event_group_role_deleted_cloud_event.rb +++ b/lib/auth0/types/event_stream_cloud_event_group_role_deleted_cloud_event.rb @@ -4,7 +4,7 @@ module Auth0 module Types # Represents an event that occurs when a role is removed from a group. class EventStreamCloudEventGroupRoleDeletedCloudEvent < Internal::Types::Model - field :specversion, -> { String }, optional: false, nullable: false + field :specversion, -> { Auth0::Types::EventStreamCloudEventSpecVersionEnum }, optional: false, nullable: false field :type, -> { Auth0::Types::EventStreamCloudEventGroupRoleDeletedCloudEventTypeEnum }, optional: false, nullable: false diff --git a/lib/auth0/types/event_stream_cloud_event_group_updated_cloud_event.rb b/lib/auth0/types/event_stream_cloud_event_group_updated_cloud_event.rb index 332df3c4..150b4177 100644 --- a/lib/auth0/types/event_stream_cloud_event_group_updated_cloud_event.rb +++ b/lib/auth0/types/event_stream_cloud_event_group_updated_cloud_event.rb @@ -4,7 +4,7 @@ module Auth0 module Types # Represents an event that occurs when a group is updated. class EventStreamCloudEventGroupUpdatedCloudEvent < Internal::Types::Model - field :specversion, -> { String }, optional: false, nullable: false + field :specversion, -> { Auth0::Types::EventStreamCloudEventSpecVersionEnum }, optional: false, nullable: false field :type, -> { Auth0::Types::EventStreamCloudEventGroupUpdatedCloudEventTypeEnum }, optional: false, nullable: false diff --git a/lib/auth0/types/event_stream_cloud_event_org_connection_added_cloud_event.rb b/lib/auth0/types/event_stream_cloud_event_org_connection_added_cloud_event.rb index d64dca35..3ecba13f 100644 --- a/lib/auth0/types/event_stream_cloud_event_org_connection_added_cloud_event.rb +++ b/lib/auth0/types/event_stream_cloud_event_org_connection_added_cloud_event.rb @@ -4,7 +4,7 @@ module Auth0 module Types # Represents an event that occurs when a connection is added to an organization. class EventStreamCloudEventOrgConnectionAddedCloudEvent < Internal::Types::Model - field :specversion, -> { String }, optional: false, nullable: false + field :specversion, -> { Auth0::Types::EventStreamCloudEventSpecVersionEnum }, optional: false, nullable: false field :type, -> { Auth0::Types::EventStreamCloudEventOrgConnectionAddedCloudEventTypeEnum }, optional: false, nullable: false diff --git a/lib/auth0/types/event_stream_cloud_event_org_connection_removed_cloud_event.rb b/lib/auth0/types/event_stream_cloud_event_org_connection_removed_cloud_event.rb index 3e03558e..5495bb68 100644 --- a/lib/auth0/types/event_stream_cloud_event_org_connection_removed_cloud_event.rb +++ b/lib/auth0/types/event_stream_cloud_event_org_connection_removed_cloud_event.rb @@ -4,7 +4,7 @@ module Auth0 module Types # Represents an event that occurs when a connection is removed from an organization. class EventStreamCloudEventOrgConnectionRemovedCloudEvent < Internal::Types::Model - field :specversion, -> { String }, optional: false, nullable: false + field :specversion, -> { Auth0::Types::EventStreamCloudEventSpecVersionEnum }, optional: false, nullable: false field :type, -> { Auth0::Types::EventStreamCloudEventOrgConnectionRemovedCloudEventTypeEnum }, optional: false, nullable: false diff --git a/lib/auth0/types/event_stream_cloud_event_org_connection_updated_cloud_event.rb b/lib/auth0/types/event_stream_cloud_event_org_connection_updated_cloud_event.rb index 3b8f3d9b..1c20582c 100644 --- a/lib/auth0/types/event_stream_cloud_event_org_connection_updated_cloud_event.rb +++ b/lib/auth0/types/event_stream_cloud_event_org_connection_updated_cloud_event.rb @@ -4,7 +4,7 @@ module Auth0 module Types # Represents an event that occurs when a organization connection is updated. class EventStreamCloudEventOrgConnectionUpdatedCloudEvent < Internal::Types::Model - field :specversion, -> { String }, optional: false, nullable: false + field :specversion, -> { Auth0::Types::EventStreamCloudEventSpecVersionEnum }, optional: false, nullable: false field :type, -> { Auth0::Types::EventStreamCloudEventOrgConnectionUpdatedCloudEventTypeEnum }, optional: false, nullable: false diff --git a/lib/auth0/types/event_stream_cloud_event_org_created_cloud_event.rb b/lib/auth0/types/event_stream_cloud_event_org_created_cloud_event.rb index cb41f373..a6924f86 100644 --- a/lib/auth0/types/event_stream_cloud_event_org_created_cloud_event.rb +++ b/lib/auth0/types/event_stream_cloud_event_org_created_cloud_event.rb @@ -4,7 +4,7 @@ module Auth0 module Types # Represents an event that occurs when an organization is created. class EventStreamCloudEventOrgCreatedCloudEvent < Internal::Types::Model - field :specversion, -> { String }, optional: false, nullable: false + field :specversion, -> { Auth0::Types::EventStreamCloudEventSpecVersionEnum }, optional: false, nullable: false field :type, -> { Auth0::Types::EventStreamCloudEventOrgCreatedCloudEventTypeEnum }, optional: false, nullable: false diff --git a/lib/auth0/types/event_stream_cloud_event_org_deleted_cloud_event.rb b/lib/auth0/types/event_stream_cloud_event_org_deleted_cloud_event.rb index 52a10053..53cea453 100644 --- a/lib/auth0/types/event_stream_cloud_event_org_deleted_cloud_event.rb +++ b/lib/auth0/types/event_stream_cloud_event_org_deleted_cloud_event.rb @@ -4,7 +4,7 @@ module Auth0 module Types # Represents an event that occurs when an organization is deleted. class EventStreamCloudEventOrgDeletedCloudEvent < Internal::Types::Model - field :specversion, -> { String }, optional: false, nullable: false + field :specversion, -> { Auth0::Types::EventStreamCloudEventSpecVersionEnum }, optional: false, nullable: false field :type, -> { Auth0::Types::EventStreamCloudEventOrgDeletedCloudEventTypeEnum }, optional: false, nullable: false diff --git a/lib/auth0/types/event_stream_cloud_event_org_group_role_assigned_cloud_event.rb b/lib/auth0/types/event_stream_cloud_event_org_group_role_assigned_cloud_event.rb index ba948144..0b04eabb 100644 --- a/lib/auth0/types/event_stream_cloud_event_org_group_role_assigned_cloud_event.rb +++ b/lib/auth0/types/event_stream_cloud_event_org_group_role_assigned_cloud_event.rb @@ -4,7 +4,7 @@ module Auth0 module Types # Represents an event that occurs when a role is assigned to an organization group. class EventStreamCloudEventOrgGroupRoleAssignedCloudEvent < Internal::Types::Model - field :specversion, -> { String }, optional: false, nullable: false + field :specversion, -> { Auth0::Types::EventStreamCloudEventSpecVersionEnum }, optional: false, nullable: false field :type, -> { Auth0::Types::EventStreamCloudEventOrgGroupRoleAssignedCloudEventTypeEnum }, optional: false, nullable: false diff --git a/lib/auth0/types/event_stream_cloud_event_org_group_role_deleted_cloud_event.rb b/lib/auth0/types/event_stream_cloud_event_org_group_role_deleted_cloud_event.rb index 80c18cfb..c932dc0c 100644 --- a/lib/auth0/types/event_stream_cloud_event_org_group_role_deleted_cloud_event.rb +++ b/lib/auth0/types/event_stream_cloud_event_org_group_role_deleted_cloud_event.rb @@ -4,7 +4,7 @@ module Auth0 module Types # Represents an event that occurs when a role is removed from an organization group. class EventStreamCloudEventOrgGroupRoleDeletedCloudEvent < Internal::Types::Model - field :specversion, -> { String }, optional: false, nullable: false + field :specversion, -> { Auth0::Types::EventStreamCloudEventSpecVersionEnum }, optional: false, nullable: false field :type, -> { Auth0::Types::EventStreamCloudEventOrgGroupRoleDeletedCloudEventTypeEnum }, optional: false, nullable: false diff --git a/lib/auth0/types/event_stream_cloud_event_org_member_added_cloud_event.rb b/lib/auth0/types/event_stream_cloud_event_org_member_added_cloud_event.rb index 8654ca74..476e897b 100644 --- a/lib/auth0/types/event_stream_cloud_event_org_member_added_cloud_event.rb +++ b/lib/auth0/types/event_stream_cloud_event_org_member_added_cloud_event.rb @@ -4,7 +4,7 @@ module Auth0 module Types # Represents an event that occurs when a member is added to an organization. class EventStreamCloudEventOrgMemberAddedCloudEvent < Internal::Types::Model - field :specversion, -> { String }, optional: false, nullable: false + field :specversion, -> { Auth0::Types::EventStreamCloudEventSpecVersionEnum }, optional: false, nullable: false field :type, -> { Auth0::Types::EventStreamCloudEventOrgMemberAddedCloudEventTypeEnum }, optional: false, nullable: false diff --git a/lib/auth0/types/event_stream_cloud_event_org_member_deleted_cloud_event.rb b/lib/auth0/types/event_stream_cloud_event_org_member_deleted_cloud_event.rb index dc6b3b82..1440814d 100644 --- a/lib/auth0/types/event_stream_cloud_event_org_member_deleted_cloud_event.rb +++ b/lib/auth0/types/event_stream_cloud_event_org_member_deleted_cloud_event.rb @@ -4,7 +4,7 @@ module Auth0 module Types # Represents an event that occurs when a member is removed from an organization. class EventStreamCloudEventOrgMemberDeletedCloudEvent < Internal::Types::Model - field :specversion, -> { String }, optional: false, nullable: false + field :specversion, -> { Auth0::Types::EventStreamCloudEventSpecVersionEnum }, optional: false, nullable: false field :type, -> { Auth0::Types::EventStreamCloudEventOrgMemberDeletedCloudEventTypeEnum }, optional: false, nullable: false diff --git a/lib/auth0/types/event_stream_cloud_event_org_member_role_assigned_cloud_event.rb b/lib/auth0/types/event_stream_cloud_event_org_member_role_assigned_cloud_event.rb index 10daed64..f133ddc5 100644 --- a/lib/auth0/types/event_stream_cloud_event_org_member_role_assigned_cloud_event.rb +++ b/lib/auth0/types/event_stream_cloud_event_org_member_role_assigned_cloud_event.rb @@ -4,7 +4,7 @@ module Auth0 module Types # Represents an event that occurs when a member is added to an organization. class EventStreamCloudEventOrgMemberRoleAssignedCloudEvent < Internal::Types::Model - field :specversion, -> { String }, optional: false, nullable: false + field :specversion, -> { Auth0::Types::EventStreamCloudEventSpecVersionEnum }, optional: false, nullable: false field :type, -> { Auth0::Types::EventStreamCloudEventOrgMemberRoleAssignedCloudEventTypeEnum }, optional: false, nullable: false diff --git a/lib/auth0/types/event_stream_cloud_event_org_member_role_deleted_cloud_event.rb b/lib/auth0/types/event_stream_cloud_event_org_member_role_deleted_cloud_event.rb index 61a2e649..c88a51b8 100644 --- a/lib/auth0/types/event_stream_cloud_event_org_member_role_deleted_cloud_event.rb +++ b/lib/auth0/types/event_stream_cloud_event_org_member_role_deleted_cloud_event.rb @@ -4,7 +4,7 @@ module Auth0 module Types # Represents an event that occurs when a member is removed from an organization. class EventStreamCloudEventOrgMemberRoleDeletedCloudEvent < Internal::Types::Model - field :specversion, -> { String }, optional: false, nullable: false + field :specversion, -> { Auth0::Types::EventStreamCloudEventSpecVersionEnum }, optional: false, nullable: false field :type, -> { Auth0::Types::EventStreamCloudEventOrgMemberRoleDeletedCloudEventTypeEnum }, optional: false, nullable: false diff --git a/lib/auth0/types/event_stream_cloud_event_org_updated_cloud_event.rb b/lib/auth0/types/event_stream_cloud_event_org_updated_cloud_event.rb index 6f086d33..3316c889 100644 --- a/lib/auth0/types/event_stream_cloud_event_org_updated_cloud_event.rb +++ b/lib/auth0/types/event_stream_cloud_event_org_updated_cloud_event.rb @@ -4,7 +4,7 @@ module Auth0 module Types # Represents an event that occurs when an organization is updated. class EventStreamCloudEventOrgUpdatedCloudEvent < Internal::Types::Model - field :specversion, -> { String }, optional: false, nullable: false + field :specversion, -> { Auth0::Types::EventStreamCloudEventSpecVersionEnum }, optional: false, nullable: false field :type, -> { Auth0::Types::EventStreamCloudEventOrgUpdatedCloudEventTypeEnum }, optional: false, nullable: false diff --git a/lib/auth0/types/event_stream_cloud_event_spec_version_enum.rb b/lib/auth0/types/event_stream_cloud_event_spec_version_enum.rb new file mode 100644 index 00000000..6e62e55b --- /dev/null +++ b/lib/auth0/types/event_stream_cloud_event_spec_version_enum.rb @@ -0,0 +1,11 @@ +# frozen_string_literal: true + +module Auth0 + module Types + module EventStreamCloudEventSpecVersionEnum + extend Auth0::Internal::Types::Enum + + ONE0 = "1.0" + end + end +end diff --git a/lib/auth0/types/event_stream_cloud_event_user_created_cloud_event.rb b/lib/auth0/types/event_stream_cloud_event_user_created_cloud_event.rb index c8f31af5..6061fb0c 100644 --- a/lib/auth0/types/event_stream_cloud_event_user_created_cloud_event.rb +++ b/lib/auth0/types/event_stream_cloud_event_user_created_cloud_event.rb @@ -4,7 +4,7 @@ module Auth0 module Types # Represents an event that occurs when a user is created. class EventStreamCloudEventUserCreatedCloudEvent < Internal::Types::Model - field :specversion, -> { String }, optional: false, nullable: false + field :specversion, -> { Auth0::Types::EventStreamCloudEventSpecVersionEnum }, optional: false, nullable: false field :type, -> { Auth0::Types::EventStreamCloudEventUserCreatedCloudEventTypeEnum }, optional: false, nullable: false diff --git a/lib/auth0/types/event_stream_cloud_event_user_deleted_cloud_event.rb b/lib/auth0/types/event_stream_cloud_event_user_deleted_cloud_event.rb index 13d534c5..16de8517 100644 --- a/lib/auth0/types/event_stream_cloud_event_user_deleted_cloud_event.rb +++ b/lib/auth0/types/event_stream_cloud_event_user_deleted_cloud_event.rb @@ -4,7 +4,7 @@ module Auth0 module Types # Represents an event that occurs when a user is deleted. class EventStreamCloudEventUserDeletedCloudEvent < Internal::Types::Model - field :specversion, -> { String }, optional: false, nullable: false + field :specversion, -> { Auth0::Types::EventStreamCloudEventSpecVersionEnum }, optional: false, nullable: false field :type, -> { Auth0::Types::EventStreamCloudEventUserDeletedCloudEventTypeEnum }, optional: false, nullable: false diff --git a/lib/auth0/types/event_stream_cloud_event_user_updated_cloud_event.rb b/lib/auth0/types/event_stream_cloud_event_user_updated_cloud_event.rb index 8f703fb8..75c4a471 100644 --- a/lib/auth0/types/event_stream_cloud_event_user_updated_cloud_event.rb +++ b/lib/auth0/types/event_stream_cloud_event_user_updated_cloud_event.rb @@ -4,7 +4,7 @@ module Auth0 module Types # Represents an event that occurs when a user is updated. class EventStreamCloudEventUserUpdatedCloudEvent < Internal::Types::Model - field :specversion, -> { String }, optional: false, nullable: false + field :specversion, -> { Auth0::Types::EventStreamCloudEventSpecVersionEnum }, optional: false, nullable: false field :type, -> { Auth0::Types::EventStreamCloudEventUserUpdatedCloudEventTypeEnum }, optional: false, nullable: false diff --git a/lib/auth0/types/event_stream_delivery_event_type_enum.rb b/lib/auth0/types/event_stream_delivery_event_type_enum.rb index f8e5c180..00b720ad 100644 --- a/lib/auth0/types/event_stream_delivery_event_type_enum.rb +++ b/lib/auth0/types/event_stream_delivery_event_type_enum.rb @@ -5,6 +5,9 @@ module Types module EventStreamDeliveryEventTypeEnum extend Auth0::Internal::Types::Enum + CONNECTION_CREATED = "connection.created" + CONNECTION_DELETED = "connection.deleted" + CONNECTION_UPDATED = "connection.updated" GROUP_CREATED = "group.created" GROUP_DELETED = "group.deleted" GROUP_MEMBER_ADDED = "group.member.added" diff --git a/lib/auth0/types/event_stream_event_type_enum.rb b/lib/auth0/types/event_stream_event_type_enum.rb index b71c93a5..8df591f4 100644 --- a/lib/auth0/types/event_stream_event_type_enum.rb +++ b/lib/auth0/types/event_stream_event_type_enum.rb @@ -5,6 +5,9 @@ module Types module EventStreamEventTypeEnum extend Auth0::Internal::Types::Enum + CONNECTION_CREATED = "connection.created" + CONNECTION_DELETED = "connection.deleted" + CONNECTION_UPDATED = "connection.updated" GROUP_CREATED = "group.created" GROUP_DELETED = "group.deleted" GROUP_MEMBER_ADDED = "group.member.added" diff --git a/lib/auth0/types/event_stream_subscribe_events_event_type_enum.rb b/lib/auth0/types/event_stream_subscribe_events_event_type_enum.rb index 2b55e488..22d8075c 100644 --- a/lib/auth0/types/event_stream_subscribe_events_event_type_enum.rb +++ b/lib/auth0/types/event_stream_subscribe_events_event_type_enum.rb @@ -5,6 +5,9 @@ module Types module EventStreamSubscribeEventsEventTypeEnum extend Auth0::Internal::Types::Enum + CONNECTION_CREATED = "connection.created" + CONNECTION_DELETED = "connection.deleted" + CONNECTION_UPDATED = "connection.updated" GROUP_CREATED = "group.created" GROUP_DELETED = "group.deleted" GROUP_MEMBER_ADDED = "group.member.added" diff --git a/lib/auth0/types/event_stream_subscribe_events_response_content.rb b/lib/auth0/types/event_stream_subscribe_events_response_content.rb index 9ae4d2e9..31cbc97e 100644 --- a/lib/auth0/types/event_stream_subscribe_events_response_content.rb +++ b/lib/auth0/types/event_stream_subscribe_events_response_content.rb @@ -10,6 +10,12 @@ class EventStreamSubscribeEventsResponseContent < Internal::Types::Model discriminant :type + member -> { Auth0::Types::EventStreamCloudEventConnectionCreated }, key: "CONNECTION_CREATED" + + member -> { Auth0::Types::EventStreamCloudEventConnectionDeleted }, key: "CONNECTION_DELETED" + + member -> { Auth0::Types::EventStreamCloudEventConnectionUpdated }, key: "CONNECTION_UPDATED" + member -> { Auth0::Types::EventStreamCloudEventGroupCreated }, key: "GROUP_CREATED" member -> { Auth0::Types::EventStreamCloudEventGroupDeleted }, key: "GROUP_DELETED" diff --git a/lib/auth0/types/event_stream_test_event_type_enum.rb b/lib/auth0/types/event_stream_test_event_type_enum.rb index a6b8bfb7..cd8299a1 100644 --- a/lib/auth0/types/event_stream_test_event_type_enum.rb +++ b/lib/auth0/types/event_stream_test_event_type_enum.rb @@ -5,6 +5,9 @@ module Types module EventStreamTestEventTypeEnum extend Auth0::Internal::Types::Enum + CONNECTION_CREATED = "connection.created" + CONNECTION_DELETED = "connection.deleted" + CONNECTION_UPDATED = "connection.updated" GROUP_CREATED = "group.created" GROUP_DELETED = "group.deleted" GROUP_MEMBER_ADDED = "group.member.added" diff --git a/lib/auth0/types/get_organization_by_name_response_content.rb b/lib/auth0/types/get_organization_by_name_response_content.rb index cf022bb1..0aba2085 100644 --- a/lib/auth0/types/get_organization_by_name_response_content.rb +++ b/lib/auth0/types/get_organization_by_name_response_content.rb @@ -14,6 +14,8 @@ class GetOrganizationByNameResponseContent < Internal::Types::Model field :metadata, -> { Internal::Types::Hash[String, String] }, optional: true, nullable: false field :token_quota, -> { Auth0::Types::TokenQuota }, optional: true, nullable: false + + field :third_party_client_access, -> { Auth0::Types::OrganizationThirdPartyClientAccessEnum }, optional: true, nullable: false end end end diff --git a/lib/auth0/types/get_organization_response_content.rb b/lib/auth0/types/get_organization_response_content.rb index 7050f5d9..a9930b84 100644 --- a/lib/auth0/types/get_organization_response_content.rb +++ b/lib/auth0/types/get_organization_response_content.rb @@ -14,6 +14,8 @@ class GetOrganizationResponseContent < Internal::Types::Model field :metadata, -> { Internal::Types::Hash[String, String] }, optional: true, nullable: false field :token_quota, -> { Auth0::Types::TokenQuota }, optional: true, nullable: false + + field :third_party_client_access, -> { Auth0::Types::OrganizationThirdPartyClientAccessEnum }, optional: true, nullable: false end end end diff --git a/lib/auth0/types/list_organization_role_members_response_content.rb b/lib/auth0/types/list_organization_role_members_response_content.rb new file mode 100644 index 00000000..d1da7083 --- /dev/null +++ b/lib/auth0/types/list_organization_role_members_response_content.rb @@ -0,0 +1,11 @@ +# frozen_string_literal: true + +module Auth0 + module Types + class ListOrganizationRoleMembersResponseContent < Internal::Types::Model + field :members, -> { Internal::Types::Array[Auth0::Types::RoleMember] }, optional: false, nullable: false + + field :next_, -> { String }, optional: true, nullable: false, api_name: "next" + end + end +end diff --git a/lib/auth0/types/list_roles_offset_paginated_response_content.rb b/lib/auth0/types/list_roles_offset_paginated_response_content.rb index da54f4b8..197ef275 100644 --- a/lib/auth0/types/list_roles_offset_paginated_response_content.rb +++ b/lib/auth0/types/list_roles_offset_paginated_response_content.rb @@ -3,11 +3,11 @@ module Auth0 module Types class ListRolesOffsetPaginatedResponseContent < Internal::Types::Model - field :start, -> { Integer }, optional: true, nullable: false + field :start, -> { Integer }, optional: false, nullable: false - field :limit, -> { Integer }, optional: true, nullable: false + field :limit, -> { Integer }, optional: false, nullable: false - field :total, -> { Integer }, optional: true, nullable: false + field :total, -> { Integer }, optional: false, nullable: false field :roles, -> { Internal::Types::Array[Auth0::Types::Role] }, optional: true, nullable: false end diff --git a/lib/auth0/types/not_found_error_body.rb b/lib/auth0/types/not_found_error_body.rb new file mode 100644 index 00000000..6a69a893 --- /dev/null +++ b/lib/auth0/types/not_found_error_body.rb @@ -0,0 +1,13 @@ +# frozen_string_literal: true + +module Auth0 + module Types + class NotFoundErrorBody < Internal::Types::Model + field :message, -> { String }, optional: false, nullable: false + + field :status_code, -> { String }, optional: false, nullable: false, api_name: "statusCode" + + field :error, -> { Auth0::Types::NotFoundErrorBodyError }, optional: false, nullable: false + end + end +end diff --git a/lib/auth0/types/not_found_error_body_error.rb b/lib/auth0/types/not_found_error_body_error.rb new file mode 100644 index 00000000..c046caf5 --- /dev/null +++ b/lib/auth0/types/not_found_error_body_error.rb @@ -0,0 +1,11 @@ +# frozen_string_literal: true + +module Auth0 + module Types + module NotFoundErrorBodyError + extend Auth0::Internal::Types::Enum + + NOT_FOUND = "Not Found" + end + end +end diff --git a/lib/auth0/types/organization.rb b/lib/auth0/types/organization.rb index b7bf784e..61d4f634 100644 --- a/lib/auth0/types/organization.rb +++ b/lib/auth0/types/organization.rb @@ -14,6 +14,8 @@ class Organization < Internal::Types::Model field :metadata, -> { Internal::Types::Hash[String, String] }, optional: true, nullable: false field :token_quota, -> { Auth0::Types::TokenQuota }, optional: true, nullable: false + + field :third_party_client_access, -> { Auth0::Types::OrganizationThirdPartyClientAccessEnum }, optional: true, nullable: false end end end diff --git a/lib/auth0/types/organization_third_party_client_access_enum.rb b/lib/auth0/types/organization_third_party_client_access_enum.rb new file mode 100644 index 00000000..ba7dc17e --- /dev/null +++ b/lib/auth0/types/organization_third_party_client_access_enum.rb @@ -0,0 +1,12 @@ +# frozen_string_literal: true + +module Auth0 + module Types + module OrganizationThirdPartyClientAccessEnum + extend Auth0::Internal::Types::Enum + + BLOCK = "block" + ALLOW = "allow" + end + end +end diff --git a/lib/auth0/types/phone_attribute.rb b/lib/auth0/types/phone_attribute.rb index 53b8e587..e37aa362 100644 --- a/lib/auth0/types/phone_attribute.rb +++ b/lib/auth0/types/phone_attribute.rb @@ -4,7 +4,7 @@ module Auth0 module Types # Configuration for the phone number attribute for users. class PhoneAttribute < Internal::Types::Model - field :identifier, -> { Auth0::Types::ConnectionAttributeIdentifier }, optional: true, nullable: false + field :identifier, -> { Auth0::Types::PhoneAttributeIdentifier }, optional: true, nullable: false field :profile_required, -> { Internal::Types::Boolean }, optional: true, nullable: false diff --git a/lib/auth0/types/phone_attribute_identifier.rb b/lib/auth0/types/phone_attribute_identifier.rb new file mode 100644 index 00000000..6244eadc --- /dev/null +++ b/lib/auth0/types/phone_attribute_identifier.rb @@ -0,0 +1,11 @@ +# frozen_string_literal: true + +module Auth0 + module Types + class PhoneAttributeIdentifier < Internal::Types::Model + field :active, -> { Internal::Types::Boolean }, optional: true, nullable: false + + field :default_method, -> { Auth0::Types::DefaultMethodPhoneNumberIdentifierEnum }, optional: true, nullable: false + end + end +end diff --git a/lib/auth0/types/phone_provider_protection_backoff_strategy_enum.rb b/lib/auth0/types/phone_provider_protection_backoff_strategy_enum.rb index aab90fcc..5028c50b 100644 --- a/lib/auth0/types/phone_provider_protection_backoff_strategy_enum.rb +++ b/lib/auth0/types/phone_provider_protection_backoff_strategy_enum.rb @@ -6,7 +6,7 @@ module PhoneProviderProtectionBackoffStrategyEnum extend Auth0::Internal::Types::Enum EXPONENTIAL = "exponential" - NONE = "none" + DEFAULT = "default" end end end diff --git a/lib/auth0/types/role_member.rb b/lib/auth0/types/role_member.rb new file mode 100644 index 00000000..768ff489 --- /dev/null +++ b/lib/auth0/types/role_member.rb @@ -0,0 +1,15 @@ +# frozen_string_literal: true + +module Auth0 + module Types + class RoleMember < Internal::Types::Model + field :user_id, -> { String }, optional: true, nullable: false + + field :picture, -> { String }, optional: true, nullable: false + + field :name, -> { String }, optional: true, nullable: false + + field :email, -> { String }, optional: true, nullable: false + end + end +end diff --git a/lib/auth0/types/token_vault_privileged_access_grant.rb b/lib/auth0/types/token_vault_privileged_access_grant.rb new file mode 100644 index 00000000..b54e078a --- /dev/null +++ b/lib/auth0/types/token_vault_privileged_access_grant.rb @@ -0,0 +1,11 @@ +# frozen_string_literal: true + +module Auth0 + module Types + class TokenVaultPrivilegedAccessGrant < Internal::Types::Model + field :connection, -> { String }, optional: false, nullable: false + + field :scopes, -> { Internal::Types::Array[String] }, optional: false, nullable: false + end + end +end diff --git a/lib/auth0/types/too_many_requests_error_body.rb b/lib/auth0/types/too_many_requests_error_body.rb new file mode 100644 index 00000000..fab3bea8 --- /dev/null +++ b/lib/auth0/types/too_many_requests_error_body.rb @@ -0,0 +1,13 @@ +# frozen_string_literal: true + +module Auth0 + module Types + class TooManyRequestsErrorBody < Internal::Types::Model + field :message, -> { String }, optional: false, nullable: false + + field :status_code, -> { String }, optional: false, nullable: false, api_name: "statusCode" + + field :error, -> { Auth0::Types::TooManyRequestsErrorBodyError }, optional: false, nullable: false + end + end +end diff --git a/lib/auth0/types/too_many_requests_error_body_error.rb b/lib/auth0/types/too_many_requests_error_body_error.rb new file mode 100644 index 00000000..4ce8d487 --- /dev/null +++ b/lib/auth0/types/too_many_requests_error_body_error.rb @@ -0,0 +1,11 @@ +# frozen_string_literal: true + +module Auth0 + module Types + module TooManyRequestsErrorBodyError + extend Auth0::Internal::Types::Enum + + TOO_MANY_REQUESTS = "Too Many Requests" + end + end +end diff --git a/lib/auth0/types/update_connection_options.rb b/lib/auth0/types/update_connection_options.rb index 297e4746..d3925f66 100644 --- a/lib/auth0/types/update_connection_options.rb +++ b/lib/auth0/types/update_connection_options.rb @@ -82,6 +82,10 @@ class UpdateConnectionOptions < Internal::Types::Model field :token_endpoint_jwtca_aud_format, -> { Auth0::Types::ConnectionTokenEndpointJwtcaAudFormatEnumOidc }, optional: true, nullable: false field :id_token_session_expiry_supported, -> { Internal::Types::Boolean }, optional: true, nullable: false + + field :discovery_url, -> { String }, optional: true, nullable: false + + field :oidc_metadata, -> { Auth0::Types::ConnectionsOidcMetadata }, optional: true, nullable: false end end end diff --git a/lib/auth0/types/update_organization_response_content.rb b/lib/auth0/types/update_organization_response_content.rb index cfe1ca34..d4791ee2 100644 --- a/lib/auth0/types/update_organization_response_content.rb +++ b/lib/auth0/types/update_organization_response_content.rb @@ -14,6 +14,8 @@ class UpdateOrganizationResponseContent < Internal::Types::Model field :metadata, -> { Internal::Types::Hash[String, String] }, optional: true, nullable: false field :token_quota, -> { Auth0::Types::TokenQuota }, optional: true, nullable: false + + field :third_party_client_access, -> { Auth0::Types::OrganizationThirdPartyClientAccessEnum }, optional: true, nullable: false end end end diff --git a/lib/auth0/types/user_grant.rb b/lib/auth0/types/user_grant.rb index eecb5cdf..abd91e84 100644 --- a/lib/auth0/types/user_grant.rb +++ b/lib/auth0/types/user_grant.rb @@ -12,6 +12,8 @@ class UserGrant < Internal::Types::Model field :audience, -> { String }, optional: true, nullable: false field :scope, -> { Internal::Types::Array[String] }, optional: true, nullable: false + + field :organization_id, -> { String }, optional: true, nullable: false end end end diff --git a/lib/auth0/types/username_attribute.rb b/lib/auth0/types/username_attribute.rb index 81be736a..3a4a28a3 100644 --- a/lib/auth0/types/username_attribute.rb +++ b/lib/auth0/types/username_attribute.rb @@ -4,7 +4,7 @@ module Auth0 module Types # Configuration for the username attribute for users. class UsernameAttribute < Internal::Types::Model - field :identifier, -> { Auth0::Types::ConnectionAttributeIdentifier }, optional: true, nullable: false + field :identifier, -> { Auth0::Types::UsernameAttributeIdentifier }, optional: true, nullable: false field :profile_required, -> { Internal::Types::Boolean }, optional: true, nullable: false diff --git a/lib/auth0/types/username_attribute_identifier.rb b/lib/auth0/types/username_attribute_identifier.rb new file mode 100644 index 00000000..d0923eb2 --- /dev/null +++ b/lib/auth0/types/username_attribute_identifier.rb @@ -0,0 +1,9 @@ +# frozen_string_literal: true + +module Auth0 + module Types + class UsernameAttributeIdentifier < Internal::Types::Model + field :active, -> { Internal::Types::Boolean }, optional: true, nullable: false + end + end +end