authentik-api 2025.12.4
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- checksums.yaml +7 -0
- data/CODE_OF_CONDUCT.md +10 -0
- data/LICENSE.md +27 -0
- data/README.md +90 -0
- data/README_API.md +2016 -0
- data/Rakefile +10 -0
- data/lib/authentik/api/api/admin_api.rb +876 -0
- data/lib/authentik/api/api/authenticators_api.rb +5465 -0
- data/lib/authentik/api/api/core_api.rb +4576 -0
- data/lib/authentik/api/api/crypto_api.rb +685 -0
- data/lib/authentik/api/api/endpoints_api.rb +3196 -0
- data/lib/authentik/api/api/enterprise_api.rb +643 -0
- data/lib/authentik/api/api/events_api.rb +2210 -0
- data/lib/authentik/api/api/flows_api.rb +1552 -0
- data/lib/authentik/api/api/managed_api.rb +594 -0
- data/lib/authentik/api/api/oauth2_api.rb +784 -0
- data/lib/authentik/api/api/outposts_api.rb +2282 -0
- data/lib/authentik/api/api/policies_api.rb +5147 -0
- data/lib/authentik/api/api/propertymappings_api.rb +7382 -0
- data/lib/authentik/api/api/providers_api.rb +7879 -0
- data/lib/authentik/api/api/rac_api.rb +880 -0
- data/lib/authentik/api/api/rbac_api.rb +1528 -0
- data/lib/authentik/api/api/reports_api.rb +199 -0
- data/lib/authentik/api/api/root_api.rb +71 -0
- data/lib/authentik/api/api/schema_api.rb +85 -0
- data/lib/authentik/api/api/sources_api.rb +11729 -0
- data/lib/authentik/api/api/ssf_api.rb +157 -0
- data/lib/authentik/api/api/stages_api.rb +13639 -0
- data/lib/authentik/api/api/tasks_api.rb +682 -0
- data/lib/authentik/api/api/tenants_api.rb +950 -0
- data/lib/authentik/api/api_client.rb +391 -0
- data/lib/authentik/api/api_error.rb +52 -0
- data/lib/authentik/api/api_model_base.rb +82 -0
- data/lib/authentik/api/configuration.rb +302 -0
- data/lib/authentik/api/inflector.rb +31 -0
- data/lib/authentik/api/models/access_denied_challenge.rb +225 -0
- data/lib/authentik/api/models/agent_authentication_response.rb +159 -0
- data/lib/authentik/api/models/agent_config.rb +377 -0
- data/lib/authentik/api/models/agent_connector.rb +443 -0
- data/lib/authentik/api/models/agent_connector_request.rb +420 -0
- data/lib/authentik/api/models/agent_psso_device_registration_request.rb +273 -0
- data/lib/authentik/api/models/agent_psso_device_registration_response.rb +289 -0
- data/lib/authentik/api/models/agent_psso_user_registration_request.rb +238 -0
- data/lib/authentik/api/models/agent_token_response.rb +168 -0
- data/lib/authentik/api/models/alg_enum.rb +34 -0
- data/lib/authentik/api/models/app.rb +185 -0
- data/lib/authentik/api/models/app_enum.rb +108 -0
- data/lib/authentik/api/models/apple_challenge_response_request.rb +163 -0
- data/lib/authentik/api/models/apple_login_challenge.rb +268 -0
- data/lib/authentik/api/models/application.rb +423 -0
- data/lib/authentik/api/models/application_entitlement.rb +222 -0
- data/lib/authentik/api/models/application_entitlement_request.rb +205 -0
- data/lib/authentik/api/models/application_request.rb +323 -0
- data/lib/authentik/api/models/auth_type_enum.rb +34 -0
- data/lib/authentik/api/models/authenticated_session.rb +349 -0
- data/lib/authentik/api/models/authenticated_session_asn.rb +169 -0
- data/lib/authentik/api/models/authenticated_session_geo_ip.rb +207 -0
- data/lib/authentik/api/models/authenticated_session_user_agent.rb +237 -0
- data/lib/authentik/api/models/authenticated_session_user_agent_device.rb +211 -0
- data/lib/authentik/api/models/authenticated_session_user_agent_os.rb +263 -0
- data/lib/authentik/api/models/authenticated_session_user_agent_user_agent.rb +237 -0
- data/lib/authentik/api/models/authentication_enum.rb +38 -0
- data/lib/authentik/api/models/authenticator_attachment_enum.rb +34 -0
- data/lib/authentik/api/models/authenticator_duo_challenge.rb +294 -0
- data/lib/authentik/api/models/authenticator_duo_challenge_response_request.rb +163 -0
- data/lib/authentik/api/models/authenticator_duo_stage.rb +402 -0
- data/lib/authentik/api/models/authenticator_duo_stage_device_import_response.rb +184 -0
- data/lib/authentik/api/models/authenticator_duo_stage_manual_device_import_request.rb +202 -0
- data/lib/authentik/api/models/authenticator_duo_stage_request.rb +311 -0
- data/lib/authentik/api/models/authenticator_email_challenge.rb +237 -0
- data/lib/authentik/api/models/authenticator_email_challenge_response_request.rb +219 -0
- data/lib/authentik/api/models/authenticator_email_stage.rb +526 -0
- data/lib/authentik/api/models/authenticator_email_stage_request.rb +458 -0
- data/lib/authentik/api/models/authenticator_endpoint_gdtc_stage.rb +369 -0
- data/lib/authentik/api/models/authenticator_endpoint_gdtc_stage_request.rb +216 -0
- data/lib/authentik/api/models/authenticator_sms_challenge.rb +227 -0
- data/lib/authentik/api/models/authenticator_sms_challenge_response_request.rb +219 -0
- data/lib/authentik/api/models/authenticator_sms_stage.rb +506 -0
- data/lib/authentik/api/models/authenticator_sms_stage_request.rb +380 -0
- data/lib/authentik/api/models/authenticator_static_challenge.rb +244 -0
- data/lib/authentik/api/models/authenticator_static_challenge_response_request.rb +163 -0
- data/lib/authentik/api/models/authenticator_static_stage.rb +415 -0
- data/lib/authentik/api/models/authenticator_static_stage_request.rb +262 -0
- data/lib/authentik/api/models/authenticator_totp_challenge.rb +242 -0
- data/lib/authentik/api/models/authenticator_totp_challenge_response_request.rb +198 -0
- data/lib/authentik/api/models/authenticator_totp_stage.rb +389 -0
- data/lib/authentik/api/models/authenticator_totp_stage_request.rb +236 -0
- data/lib/authentik/api/models/authenticator_validate_stage.rb +435 -0
- data/lib/authentik/api/models/authenticator_validate_stage_request.rb +273 -0
- data/lib/authentik/api/models/authenticator_validation_challenge.rb +272 -0
- data/lib/authentik/api/models/authenticator_validation_challenge_response_request.rb +248 -0
- data/lib/authentik/api/models/authenticator_web_authn_challenge.rb +244 -0
- data/lib/authentik/api/models/authenticator_web_authn_challenge_response_request.rb +191 -0
- data/lib/authentik/api/models/authenticator_web_authn_stage.rb +467 -0
- data/lib/authentik/api/models/authenticator_web_authn_stage_request.rb +286 -0
- data/lib/authentik/api/models/authorization_code_auth_method_enum.rb +34 -0
- data/lib/authentik/api/models/auto_submit_challenge_response_request.rb +163 -0
- data/lib/authentik/api/models/autosubmit_challenge.rb +227 -0
- data/lib/authentik/api/models/backends_enum.rb +36 -0
- data/lib/authentik/api/models/binding_type_enum.rb +35 -0
- data/lib/authentik/api/models/blueprint_file.rb +236 -0
- data/lib/authentik/api/models/blueprint_instance.rb +381 -0
- data/lib/authentik/api/models/blueprint_instance_request.rb +208 -0
- data/lib/authentik/api/models/blueprint_instance_status_enum.rb +37 -0
- data/lib/authentik/api/models/brand.rb +345 -0
- data/lib/authentik/api/models/brand_request.rb +404 -0
- data/lib/authentik/api/models/cache.rb +159 -0
- data/lib/authentik/api/models/capabilities_enum.rb +39 -0
- data/lib/authentik/api/models/captcha_challenge.rb +294 -0
- data/lib/authentik/api/models/captcha_challenge_response_request.rb +198 -0
- data/lib/authentik/api/models/captcha_stage.rb +403 -0
- data/lib/authentik/api/models/captcha_stage_request.rb +333 -0
- data/lib/authentik/api/models/cert_attribute_enum.rb +35 -0
- data/lib/authentik/api/models/certificate_data.rb +159 -0
- data/lib/authentik/api/models/certificate_generation_request.rb +234 -0
- data/lib/authentik/api/models/certificate_key_pair.rb +365 -0
- data/lib/authentik/api/models/certificate_key_pair_request.rb +214 -0
- data/lib/authentik/api/models/challenge_types.rb +105 -0
- data/lib/authentik/api/models/client_type_enum.rb +34 -0
- data/lib/authentik/api/models/compatibility_mode_enum.rb +36 -0
- data/lib/authentik/api/models/config.rb +265 -0
- data/lib/authentik/api/models/connection_token.rb +272 -0
- data/lib/authentik/api/models/connection_token_request.rb +194 -0
- data/lib/authentik/api/models/connector.rb +284 -0
- data/lib/authentik/api/models/consent_challenge.rb +307 -0
- data/lib/authentik/api/models/consent_challenge_response_request.rb +198 -0
- data/lib/authentik/api/models/consent_permission.rb +185 -0
- data/lib/authentik/api/models/consent_stage.rb +362 -0
- data/lib/authentik/api/models/consent_stage_mode_enum.rb +35 -0
- data/lib/authentik/api/models/consent_stage_request.rb +228 -0
- data/lib/authentik/api/models/content_type.rb +236 -0
- data/lib/authentik/api/models/contextual_flow_info.rb +235 -0
- data/lib/authentik/api/models/contextual_flow_info_layout_enum.rb +37 -0
- data/lib/authentik/api/models/country_code_enum.rb +281 -0
- data/lib/authentik/api/models/current_brand.rb +469 -0
- data/lib/authentik/api/models/current_brand_flags.rb +184 -0
- data/lib/authentik/api/models/data_export.rb +317 -0
- data/lib/authentik/api/models/delivery_method_enum.rb +34 -0
- data/lib/authentik/api/models/denied_action_enum.rb +35 -0
- data/lib/authentik/api/models/deny_stage.rb +330 -0
- data/lib/authentik/api/models/deny_stage_request.rb +177 -0
- data/lib/authentik/api/models/detailed_country.rb +206 -0
- data/lib/authentik/api/models/detailed_country_field.rb +206 -0
- data/lib/authentik/api/models/device.rb +409 -0
- data/lib/authentik/api/models/device_access_group.rb +184 -0
- data/lib/authentik/api/models/device_access_group_request.rb +167 -0
- data/lib/authentik/api/models/device_challenge.rb +247 -0
- data/lib/authentik/api/models/device_challenge_request.rb +256 -0
- data/lib/authentik/api/models/device_classes_enum.rb +38 -0
- data/lib/authentik/api/models/device_connection.rb +222 -0
- data/lib/authentik/api/models/device_fact_snapshot.rb +222 -0
- data/lib/authentik/api/models/device_facts.rb +233 -0
- data/lib/authentik/api/models/device_facts_os_family.rb +40 -0
- data/lib/authentik/api/models/device_facts_request.rb +233 -0
- data/lib/authentik/api/models/device_group.rb +167 -0
- data/lib/authentik/api/models/device_group_request.rb +195 -0
- data/lib/authentik/api/models/device_summary.rb +211 -0
- data/lib/authentik/api/models/device_user.rb +185 -0
- data/lib/authentik/api/models/device_user_binding.rb +451 -0
- data/lib/authentik/api/models/device_user_binding_request.rb +309 -0
- data/lib/authentik/api/models/device_user_request.rb +251 -0
- data/lib/authentik/api/models/digest_algorithm_enum.rb +36 -0
- data/lib/authentik/api/models/digits_enum.rb +34 -0
- data/lib/authentik/api/models/disk.rb +222 -0
- data/lib/authentik/api/models/disk_request.rb +240 -0
- data/lib/authentik/api/models/docker_service_connection.rb +351 -0
- data/lib/authentik/api/models/docker_service_connection_request.rb +236 -0
- data/lib/authentik/api/models/domain.rb +229 -0
- data/lib/authentik/api/models/domain_request.rb +212 -0
- data/lib/authentik/api/models/dummy_challenge.rb +190 -0
- data/lib/authentik/api/models/dummy_challenge_response_request.rb +163 -0
- data/lib/authentik/api/models/dummy_policy.rb +413 -0
- data/lib/authentik/api/models/dummy_policy_request.rb +261 -0
- data/lib/authentik/api/models/dummy_stage.rb +330 -0
- data/lib/authentik/api/models/dummy_stage_request.rb +177 -0
- data/lib/authentik/api/models/duo_device.rb +221 -0
- data/lib/authentik/api/models/duo_device_enrollment_status.rb +180 -0
- data/lib/authentik/api/models/duo_device_request.rb +178 -0
- data/lib/authentik/api/models/duo_response_enum.rb +35 -0
- data/lib/authentik/api/models/email_challenge.rb +164 -0
- data/lib/authentik/api/models/email_challenge_response_request.rb +163 -0
- data/lib/authentik/api/models/email_device.rb +247 -0
- data/lib/authentik/api/models/email_device_request.rb +178 -0
- data/lib/authentik/api/models/email_stage.rb +554 -0
- data/lib/authentik/api/models/email_stage_request.rb +514 -0
- data/lib/authentik/api/models/endpoint.rb +409 -0
- data/lib/authentik/api/models/endpoint_agent_challenge.rb +216 -0
- data/lib/authentik/api/models/endpoint_agent_challenge_response_request.rb +188 -0
- data/lib/authentik/api/models/endpoint_auth_mode_enum.rb +34 -0
- data/lib/authentik/api/models/endpoint_device.rb +268 -0
- data/lib/authentik/api/models/endpoint_device_details.rb +352 -0
- data/lib/authentik/api/models/endpoint_device_request.rb +225 -0
- data/lib/authentik/api/models/endpoint_request.rb +362 -0
- data/lib/authentik/api/models/endpoint_stage.rb +404 -0
- data/lib/authentik/api/models/endpoint_stage_request.rb +225 -0
- data/lib/authentik/api/models/enroll_request.rb +203 -0
- data/lib/authentik/api/models/enrollment_token.rb +265 -0
- data/lib/authentik/api/models/enrollment_token_request.rb +222 -0
- data/lib/authentik/api/models/error_detail.rb +185 -0
- data/lib/authentik/api/models/error_reporting_config.rb +263 -0
- data/lib/authentik/api/models/event.rb +311 -0
- data/lib/authentik/api/models/event_actions.rb +60 -0
- data/lib/authentik/api/models/event_matcher_policy.rb +396 -0
- data/lib/authentik/api/models/event_matcher_policy_request.rb +259 -0
- data/lib/authentik/api/models/event_request.rb +283 -0
- data/lib/authentik/api/models/event_top_per_user.rb +213 -0
- data/lib/authentik/api/models/event_volume.rb +233 -0
- data/lib/authentik/api/models/events_requested_enum.rb +35 -0
- data/lib/authentik/api/models/expiring_base_grant_model.rb +276 -0
- data/lib/authentik/api/models/expression_policy.rb +356 -0
- data/lib/authentik/api/models/expression_policy_request.rb +213 -0
- data/lib/authentik/api/models/extra_role_object_permission.rb +356 -0
- data/lib/authentik/api/models/file_list.rb +221 -0
- data/lib/authentik/api/models/flow.rb +532 -0
- data/lib/authentik/api/models/flow_challenge_response_request.rb +97 -0
- data/lib/authentik/api/models/flow_designation_enum.rb +39 -0
- data/lib/authentik/api/models/flow_diagram.rb +159 -0
- data/lib/authentik/api/models/flow_error_challenge.rb +208 -0
- data/lib/authentik/api/models/flow_import_result.rb +187 -0
- data/lib/authentik/api/models/flow_inspection.rb +196 -0
- data/lib/authentik/api/models/flow_inspector_plan.rb +241 -0
- data/lib/authentik/api/models/flow_layout_enum.rb +37 -0
- data/lib/authentik/api/models/flow_request.rb +358 -0
- data/lib/authentik/api/models/flow_set.rb +417 -0
- data/lib/authentik/api/models/flow_stage_binding.rb +368 -0
- data/lib/authentik/api/models/flow_stage_binding_request.rb +290 -0
- data/lib/authentik/api/models/footer_link.rb +171 -0
- data/lib/authentik/api/models/frame_challenge.rb +227 -0
- data/lib/authentik/api/models/frame_challenge_response_request.rb +163 -0
- data/lib/authentik/api/models/generic_error.rb +168 -0
- data/lib/authentik/api/models/geo_ip_policy.rb +572 -0
- data/lib/authentik/api/models/geo_ip_policy_request.rb +392 -0
- data/lib/authentik/api/models/geoip_binding_enum.rb +36 -0
- data/lib/authentik/api/models/global_task_status.rb +392 -0
- data/lib/authentik/api/models/google_endpoint_device.rb +178 -0
- data/lib/authentik/api/models/google_endpoint_device_request.rb +187 -0
- data/lib/authentik/api/models/google_workspace_provider.rb +557 -0
- data/lib/authentik/api/models/google_workspace_provider_group.rb +291 -0
- data/lib/authentik/api/models/google_workspace_provider_group_request.rb +220 -0
- data/lib/authentik/api/models/google_workspace_provider_mapping.rb +330 -0
- data/lib/authentik/api/models/google_workspace_provider_mapping_request.rb +229 -0
- data/lib/authentik/api/models/google_workspace_provider_request.rb +462 -0
- data/lib/authentik/api/models/google_workspace_provider_user.rb +291 -0
- data/lib/authentik/api/models/google_workspace_provider_user_request.rb +220 -0
- data/lib/authentik/api/models/group.rb +377 -0
- data/lib/authentik/api/models/group_kerberos_source_connection.rb +315 -0
- data/lib/authentik/api/models/group_kerberos_source_connection_request.rb +220 -0
- data/lib/authentik/api/models/group_ldap_source_connection.rb +315 -0
- data/lib/authentik/api/models/group_ldap_source_connection_request.rb +220 -0
- data/lib/authentik/api/models/group_matching_mode_enum.rb +35 -0
- data/lib/authentik/api/models/group_o_auth_source_connection.rb +315 -0
- data/lib/authentik/api/models/group_o_auth_source_connection_request.rb +220 -0
- data/lib/authentik/api/models/group_plex_source_connection.rb +315 -0
- data/lib/authentik/api/models/group_plex_source_connection_request.rb +220 -0
- data/lib/authentik/api/models/group_request.rb +222 -0
- data/lib/authentik/api/models/group_saml_source_connection.rb +315 -0
- data/lib/authentik/api/models/group_saml_source_connection_request.rb +220 -0
- data/lib/authentik/api/models/group_source_connection.rb +315 -0
- data/lib/authentik/api/models/group_source_connection_request.rb +220 -0
- data/lib/authentik/api/models/group_telegram_source_connection.rb +315 -0
- data/lib/authentik/api/models/group_telegram_source_connection_request.rb +220 -0
- data/lib/authentik/api/models/hardware.rb +203 -0
- data/lib/authentik/api/models/hardware_request.rb +269 -0
- data/lib/authentik/api/models/identification_challenge.rb +395 -0
- data/lib/authentik/api/models/identification_challenge_response_request.rb +205 -0
- data/lib/authentik/api/models/identification_stage.rb +460 -0
- data/lib/authentik/api/models/identification_stage_request.rb +307 -0
- data/lib/authentik/api/models/iframe_logout_challenge.rb +175 -0
- data/lib/authentik/api/models/iframe_logout_challenge_response_request.rb +163 -0
- data/lib/authentik/api/models/impersonation_request.rb +167 -0
- data/lib/authentik/api/models/initial_permissions.rb +259 -0
- data/lib/authentik/api/models/initial_permissions_request.rb +214 -0
- data/lib/authentik/api/models/install_id.rb +158 -0
- data/lib/authentik/api/models/intent_enum.rb +36 -0
- data/lib/authentik/api/models/invalid_response_action_enum.rb +35 -0
- data/lib/authentik/api/models/invitation.rb +290 -0
- data/lib/authentik/api/models/invitation_request.rb +221 -0
- data/lib/authentik/api/models/invitation_stage.rb +331 -0
- data/lib/authentik/api/models/invitation_stage_request.rb +178 -0
- data/lib/authentik/api/models/issuer_mode_enum.rb +34 -0
- data/lib/authentik/api/models/kadmin_type_enum.rb +34 -0
- data/lib/authentik/api/models/kerberos_source.rb +657 -0
- data/lib/authentik/api/models/kerberos_source_property_mapping.rb +330 -0
- data/lib/authentik/api/models/kerberos_source_property_mapping_request.rb +229 -0
- data/lib/authentik/api/models/kerberos_source_request.rb +533 -0
- data/lib/authentik/api/models/key_type_enum.rb +37 -0
- data/lib/authentik/api/models/kubernetes_service_connection.rb +324 -0
- data/lib/authentik/api/models/kubernetes_service_connection_request.rb +200 -0
- data/lib/authentik/api/models/last_task_status_enum.rb +42 -0
- data/lib/authentik/api/models/ldap_check_access.rb +168 -0
- data/lib/authentik/api/models/ldap_debug.rb +216 -0
- data/lib/authentik/api/models/ldap_outpost_config.rb +406 -0
- data/lib/authentik/api/models/ldap_provider.rb +604 -0
- data/lib/authentik/api/models/ldap_provider_request.rb +418 -0
- data/lib/authentik/api/models/ldap_source.rb +769 -0
- data/lib/authentik/api/models/ldap_source_property_mapping.rb +330 -0
- data/lib/authentik/api/models/ldap_source_property_mapping_request.rb +229 -0
- data/lib/authentik/api/models/ldap_source_request.rb +728 -0
- data/lib/authentik/api/models/ldapapi_access_mode.rb +34 -0
- data/lib/authentik/api/models/license.rb +289 -0
- data/lib/authentik/api/models/license_flags_enum.rb +34 -0
- data/lib/authentik/api/models/license_forecast.rb +237 -0
- data/lib/authentik/api/models/license_request.rb +168 -0
- data/lib/authentik/api/models/license_status_enum.rb +39 -0
- data/lib/authentik/api/models/license_summary.rb +287 -0
- data/lib/authentik/api/models/license_summary_status_enum.rb +39 -0
- data/lib/authentik/api/models/link.rb +159 -0
- data/lib/authentik/api/models/log_event.rb +287 -0
- data/lib/authentik/api/models/log_level_enum.rb +40 -0
- data/lib/authentik/api/models/login_challenge_types.rb +53 -0
- data/lib/authentik/api/models/login_source.rb +206 -0
- data/lib/authentik/api/models/matching_mode_enum.rb +34 -0
- data/lib/authentik/api/models/mdm_config_request.rb +207 -0
- data/lib/authentik/api/models/mdm_config_response.rb +211 -0
- data/lib/authentik/api/models/metadata.rb +187 -0
- data/lib/authentik/api/models/microsoft_entra_provider.rb +537 -0
- data/lib/authentik/api/models/microsoft_entra_provider_group.rb +291 -0
- data/lib/authentik/api/models/microsoft_entra_provider_group_request.rb +220 -0
- data/lib/authentik/api/models/microsoft_entra_provider_mapping.rb +330 -0
- data/lib/authentik/api/models/microsoft_entra_provider_mapping_request.rb +229 -0
- data/lib/authentik/api/models/microsoft_entra_provider_request.rb +432 -0
- data/lib/authentik/api/models/microsoft_entra_provider_user.rb +291 -0
- data/lib/authentik/api/models/microsoft_entra_provider_user_request.rb +220 -0
- data/lib/authentik/api/models/model_enum.rb +147 -0
- data/lib/authentik/api/models/model_request.rb +65 -0
- data/lib/authentik/api/models/mutual_tls_stage.rb +433 -0
- data/lib/authentik/api/models/mutual_tls_stage_request.rb +280 -0
- data/lib/authentik/api/models/native_logout_challenge.rb +229 -0
- data/lib/authentik/api/models/native_logout_challenge_response_request.rb +163 -0
- data/lib/authentik/api/models/network.rb +204 -0
- data/lib/authentik/api/models/network_binding_enum.rb +36 -0
- data/lib/authentik/api/models/network_interface.rb +206 -0
- data/lib/authentik/api/models/network_interface_request.rb +224 -0
- data/lib/authentik/api/models/network_request.rb +232 -0
- data/lib/authentik/api/models/not_configured_action_enum.rb +35 -0
- data/lib/authentik/api/models/notification.rb +312 -0
- data/lib/authentik/api/models/notification_request.rb +186 -0
- data/lib/authentik/api/models/notification_rule.rb +276 -0
- data/lib/authentik/api/models/notification_rule_request.rb +233 -0
- data/lib/authentik/api/models/notification_transport.rb +302 -0
- data/lib/authentik/api/models/notification_transport_mode_enum.rb +36 -0
- data/lib/authentik/api/models/notification_transport_request.rb +277 -0
- data/lib/authentik/api/models/notification_transport_test.rb +161 -0
- data/lib/authentik/api/models/notification_webhook_mapping.rb +211 -0
- data/lib/authentik/api/models/notification_webhook_mapping_request.rb +203 -0
- data/lib/authentik/api/models/o_auth2_provider.rb +670 -0
- data/lib/authentik/api/models/o_auth2_provider_logout_method_enum.rb +34 -0
- data/lib/authentik/api/models/o_auth2_provider_request.rb +578 -0
- data/lib/authentik/api/models/o_auth2_provider_setup_urls.rb +315 -0
- data/lib/authentik/api/models/o_auth_device_code_challenge.rb +164 -0
- data/lib/authentik/api/models/o_auth_device_code_challenge_response_request.rb +198 -0
- data/lib/authentik/api/models/o_auth_device_code_finish_challenge.rb +164 -0
- data/lib/authentik/api/models/o_auth_device_code_finish_challenge_response_request.rb +163 -0
- data/lib/authentik/api/models/o_auth_source.rb +767 -0
- data/lib/authentik/api/models/o_auth_source_property_mapping.rb +330 -0
- data/lib/authentik/api/models/o_auth_source_property_mapping_request.rb +229 -0
- data/lib/authentik/api/models/o_auth_source_request.rb +624 -0
- data/lib/authentik/api/models/open_id_connect_configuration.rb +427 -0
- data/lib/authentik/api/models/operating_system.rb +224 -0
- data/lib/authentik/api/models/operating_system_request.rb +271 -0
- data/lib/authentik/api/models/outgoing_sync_delete_action.rb +35 -0
- data/lib/authentik/api/models/outpost.rb +404 -0
- data/lib/authentik/api/models/outpost_default_config.rb +161 -0
- data/lib/authentik/api/models/outpost_health.rb +432 -0
- data/lib/authentik/api/models/outpost_request.rb +309 -0
- data/lib/authentik/api/models/outpost_type_enum.rb +36 -0
- data/lib/authentik/api/models/paginated_agent_connector_list.rb +214 -0
- data/lib/authentik/api/models/paginated_application_entitlement_list.rb +214 -0
- data/lib/authentik/api/models/paginated_application_list.rb +214 -0
- data/lib/authentik/api/models/paginated_authenticated_session_list.rb +214 -0
- data/lib/authentik/api/models/paginated_authenticator_duo_stage_list.rb +214 -0
- data/lib/authentik/api/models/paginated_authenticator_email_stage_list.rb +214 -0
- data/lib/authentik/api/models/paginated_authenticator_endpoint_gdtc_stage_list.rb +214 -0
- data/lib/authentik/api/models/paginated_authenticator_sms_stage_list.rb +214 -0
- data/lib/authentik/api/models/paginated_authenticator_static_stage_list.rb +214 -0
- data/lib/authentik/api/models/paginated_authenticator_totp_stage_list.rb +214 -0
- data/lib/authentik/api/models/paginated_authenticator_validate_stage_list.rb +214 -0
- data/lib/authentik/api/models/paginated_authenticator_web_authn_stage_list.rb +214 -0
- data/lib/authentik/api/models/paginated_blueprint_instance_list.rb +214 -0
- data/lib/authentik/api/models/paginated_brand_list.rb +214 -0
- data/lib/authentik/api/models/paginated_captcha_stage_list.rb +214 -0
- data/lib/authentik/api/models/paginated_certificate_key_pair_list.rb +214 -0
- data/lib/authentik/api/models/paginated_connection_token_list.rb +214 -0
- data/lib/authentik/api/models/paginated_connector_list.rb +214 -0
- data/lib/authentik/api/models/paginated_consent_stage_list.rb +214 -0
- data/lib/authentik/api/models/paginated_data_export_list.rb +214 -0
- data/lib/authentik/api/models/paginated_deny_stage_list.rb +214 -0
- data/lib/authentik/api/models/paginated_device_access_group_list.rb +214 -0
- data/lib/authentik/api/models/paginated_device_user_binding_list.rb +214 -0
- data/lib/authentik/api/models/paginated_docker_service_connection_list.rb +214 -0
- data/lib/authentik/api/models/paginated_domain_list.rb +214 -0
- data/lib/authentik/api/models/paginated_dummy_policy_list.rb +214 -0
- data/lib/authentik/api/models/paginated_dummy_stage_list.rb +214 -0
- data/lib/authentik/api/models/paginated_duo_device_list.rb +214 -0
- data/lib/authentik/api/models/paginated_email_device_list.rb +214 -0
- data/lib/authentik/api/models/paginated_email_stage_list.rb +214 -0
- data/lib/authentik/api/models/paginated_endpoint_device_list.rb +214 -0
- data/lib/authentik/api/models/paginated_endpoint_list.rb +214 -0
- data/lib/authentik/api/models/paginated_endpoint_stage_list.rb +214 -0
- data/lib/authentik/api/models/paginated_enrollment_token_list.rb +214 -0
- data/lib/authentik/api/models/paginated_event_list.rb +214 -0
- data/lib/authentik/api/models/paginated_event_matcher_policy_list.rb +214 -0
- data/lib/authentik/api/models/paginated_expiring_base_grant_model_list.rb +214 -0
- data/lib/authentik/api/models/paginated_expression_policy_list.rb +214 -0
- data/lib/authentik/api/models/paginated_extra_role_object_permission_list.rb +186 -0
- data/lib/authentik/api/models/paginated_flow_list.rb +214 -0
- data/lib/authentik/api/models/paginated_flow_stage_binding_list.rb +214 -0
- data/lib/authentik/api/models/paginated_geo_ip_policy_list.rb +214 -0
- data/lib/authentik/api/models/paginated_google_endpoint_device_list.rb +214 -0
- data/lib/authentik/api/models/paginated_google_workspace_provider_group_list.rb +214 -0
- data/lib/authentik/api/models/paginated_google_workspace_provider_list.rb +214 -0
- data/lib/authentik/api/models/paginated_google_workspace_provider_mapping_list.rb +214 -0
- data/lib/authentik/api/models/paginated_google_workspace_provider_user_list.rb +214 -0
- data/lib/authentik/api/models/paginated_group_kerberos_source_connection_list.rb +214 -0
- data/lib/authentik/api/models/paginated_group_ldap_source_connection_list.rb +214 -0
- data/lib/authentik/api/models/paginated_group_list.rb +214 -0
- data/lib/authentik/api/models/paginated_group_o_auth_source_connection_list.rb +214 -0
- data/lib/authentik/api/models/paginated_group_plex_source_connection_list.rb +214 -0
- data/lib/authentik/api/models/paginated_group_saml_source_connection_list.rb +214 -0
- data/lib/authentik/api/models/paginated_group_source_connection_list.rb +214 -0
- data/lib/authentik/api/models/paginated_group_telegram_source_connection_list.rb +214 -0
- data/lib/authentik/api/models/paginated_identification_stage_list.rb +214 -0
- data/lib/authentik/api/models/paginated_initial_permissions_list.rb +214 -0
- data/lib/authentik/api/models/paginated_invitation_list.rb +214 -0
- data/lib/authentik/api/models/paginated_invitation_stage_list.rb +214 -0
- data/lib/authentik/api/models/paginated_kerberos_source_list.rb +214 -0
- data/lib/authentik/api/models/paginated_kerberos_source_property_mapping_list.rb +214 -0
- data/lib/authentik/api/models/paginated_kubernetes_service_connection_list.rb +214 -0
- data/lib/authentik/api/models/paginated_ldap_outpost_config_list.rb +214 -0
- data/lib/authentik/api/models/paginated_ldap_provider_list.rb +214 -0
- data/lib/authentik/api/models/paginated_ldap_source_list.rb +214 -0
- data/lib/authentik/api/models/paginated_ldap_source_property_mapping_list.rb +214 -0
- data/lib/authentik/api/models/paginated_license_list.rb +214 -0
- data/lib/authentik/api/models/paginated_microsoft_entra_provider_group_list.rb +214 -0
- data/lib/authentik/api/models/paginated_microsoft_entra_provider_list.rb +214 -0
- data/lib/authentik/api/models/paginated_microsoft_entra_provider_mapping_list.rb +214 -0
- data/lib/authentik/api/models/paginated_microsoft_entra_provider_user_list.rb +214 -0
- data/lib/authentik/api/models/paginated_mutual_tls_stage_list.rb +214 -0
- data/lib/authentik/api/models/paginated_notification_list.rb +214 -0
- data/lib/authentik/api/models/paginated_notification_rule_list.rb +214 -0
- data/lib/authentik/api/models/paginated_notification_transport_list.rb +214 -0
- data/lib/authentik/api/models/paginated_notification_webhook_mapping_list.rb +214 -0
- data/lib/authentik/api/models/paginated_o_auth2_provider_list.rb +214 -0
- data/lib/authentik/api/models/paginated_o_auth_source_list.rb +214 -0
- data/lib/authentik/api/models/paginated_o_auth_source_property_mapping_list.rb +214 -0
- data/lib/authentik/api/models/paginated_outpost_list.rb +214 -0
- data/lib/authentik/api/models/paginated_password_expiry_policy_list.rb +214 -0
- data/lib/authentik/api/models/paginated_password_policy_list.rb +214 -0
- data/lib/authentik/api/models/paginated_password_stage_list.rb +214 -0
- data/lib/authentik/api/models/paginated_permission_list.rb +214 -0
- data/lib/authentik/api/models/paginated_plex_source_list.rb +214 -0
- data/lib/authentik/api/models/paginated_plex_source_property_mapping_list.rb +214 -0
- data/lib/authentik/api/models/paginated_policy_binding_list.rb +214 -0
- data/lib/authentik/api/models/paginated_policy_list.rb +214 -0
- data/lib/authentik/api/models/paginated_prompt_list.rb +214 -0
- data/lib/authentik/api/models/paginated_prompt_stage_list.rb +214 -0
- data/lib/authentik/api/models/paginated_property_mapping_list.rb +214 -0
- data/lib/authentik/api/models/paginated_provider_list.rb +214 -0
- data/lib/authentik/api/models/paginated_proxy_outpost_config_list.rb +214 -0
- data/lib/authentik/api/models/paginated_proxy_provider_list.rb +214 -0
- data/lib/authentik/api/models/paginated_rac_property_mapping_list.rb +214 -0
- data/lib/authentik/api/models/paginated_rac_provider_list.rb +214 -0
- data/lib/authentik/api/models/paginated_radius_outpost_config_list.rb +214 -0
- data/lib/authentik/api/models/paginated_radius_provider_list.rb +214 -0
- data/lib/authentik/api/models/paginated_radius_provider_property_mapping_list.rb +214 -0
- data/lib/authentik/api/models/paginated_redirect_stage_list.rb +214 -0
- data/lib/authentik/api/models/paginated_reputation_list.rb +214 -0
- data/lib/authentik/api/models/paginated_reputation_policy_list.rb +214 -0
- data/lib/authentik/api/models/paginated_role_assigned_object_permission_list.rb +214 -0
- data/lib/authentik/api/models/paginated_role_list.rb +214 -0
- data/lib/authentik/api/models/paginated_saml_property_mapping_list.rb +214 -0
- data/lib/authentik/api/models/paginated_saml_provider_list.rb +214 -0
- data/lib/authentik/api/models/paginated_saml_source_list.rb +214 -0
- data/lib/authentik/api/models/paginated_saml_source_property_mapping_list.rb +214 -0
- data/lib/authentik/api/models/paginated_schedule_list.rb +214 -0
- data/lib/authentik/api/models/paginated_scim_mapping_list.rb +214 -0
- data/lib/authentik/api/models/paginated_scim_provider_group_list.rb +214 -0
- data/lib/authentik/api/models/paginated_scim_provider_list.rb +214 -0
- data/lib/authentik/api/models/paginated_scim_provider_user_list.rb +214 -0
- data/lib/authentik/api/models/paginated_scim_source_group_list.rb +214 -0
- data/lib/authentik/api/models/paginated_scim_source_list.rb +214 -0
- data/lib/authentik/api/models/paginated_scim_source_property_mapping_list.rb +214 -0
- data/lib/authentik/api/models/paginated_scim_source_user_list.rb +214 -0
- data/lib/authentik/api/models/paginated_scope_mapping_list.rb +214 -0
- data/lib/authentik/api/models/paginated_service_connection_list.rb +214 -0
- data/lib/authentik/api/models/paginated_sms_device_list.rb +214 -0
- data/lib/authentik/api/models/paginated_source_list.rb +214 -0
- data/lib/authentik/api/models/paginated_source_stage_list.rb +214 -0
- data/lib/authentik/api/models/paginated_ssf_provider_list.rb +214 -0
- data/lib/authentik/api/models/paginated_ssf_stream_list.rb +214 -0
- data/lib/authentik/api/models/paginated_stage_list.rb +214 -0
- data/lib/authentik/api/models/paginated_static_device_list.rb +214 -0
- data/lib/authentik/api/models/paginated_task_list.rb +214 -0
- data/lib/authentik/api/models/paginated_telegram_source_list.rb +214 -0
- data/lib/authentik/api/models/paginated_telegram_source_property_mapping_list.rb +214 -0
- data/lib/authentik/api/models/paginated_tenant_list.rb +214 -0
- data/lib/authentik/api/models/paginated_token_list.rb +214 -0
- data/lib/authentik/api/models/paginated_token_model_list.rb +214 -0
- data/lib/authentik/api/models/paginated_totp_device_list.rb +214 -0
- data/lib/authentik/api/models/paginated_unique_password_policy_list.rb +214 -0
- data/lib/authentik/api/models/paginated_user_consent_list.rb +214 -0
- data/lib/authentik/api/models/paginated_user_delete_stage_list.rb +214 -0
- data/lib/authentik/api/models/paginated_user_kerberos_source_connection_list.rb +214 -0
- data/lib/authentik/api/models/paginated_user_ldap_source_connection_list.rb +214 -0
- data/lib/authentik/api/models/paginated_user_list.rb +214 -0
- data/lib/authentik/api/models/paginated_user_login_stage_list.rb +214 -0
- data/lib/authentik/api/models/paginated_user_logout_stage_list.rb +214 -0
- data/lib/authentik/api/models/paginated_user_o_auth_source_connection_list.rb +214 -0
- data/lib/authentik/api/models/paginated_user_plex_source_connection_list.rb +214 -0
- data/lib/authentik/api/models/paginated_user_saml_source_connection_list.rb +214 -0
- data/lib/authentik/api/models/paginated_user_source_connection_list.rb +214 -0
- data/lib/authentik/api/models/paginated_user_telegram_source_connection_list.rb +214 -0
- data/lib/authentik/api/models/paginated_user_write_stage_list.rb +214 -0
- data/lib/authentik/api/models/paginated_web_authn_device_list.rb +214 -0
- data/lib/authentik/api/models/paginated_web_authn_device_type_list.rb +214 -0
- data/lib/authentik/api/models/pagination.rb +314 -0
- data/lib/authentik/api/models/partial_group.rb +233 -0
- data/lib/authentik/api/models/partial_user.rb +318 -0
- data/lib/authentik/api/models/password_challenge.rb +236 -0
- data/lib/authentik/api/models/password_challenge_response_request.rb +198 -0
- data/lib/authentik/api/models/password_expiry_policy.rb +383 -0
- data/lib/authentik/api/models/password_expiry_policy_request.rb +231 -0
- data/lib/authentik/api/models/password_policy.rb +646 -0
- data/lib/authentik/api/models/password_policy_request.rb +532 -0
- data/lib/authentik/api/models/password_stage.rb +409 -0
- data/lib/authentik/api/models/password_stage_request.rb +256 -0
- data/lib/authentik/api/models/patched_agent_connector_request.rb +413 -0
- data/lib/authentik/api/models/patched_application_entitlement_request.rb +181 -0
- data/lib/authentik/api/models/patched_application_request.rb +309 -0
- data/lib/authentik/api/models/patched_authenticator_duo_stage_request.rb +283 -0
- data/lib/authentik/api/models/patched_authenticator_email_stage_request.rb +451 -0
- data/lib/authentik/api/models/patched_authenticator_endpoint_gdtc_stage_request.rb +192 -0
- data/lib/authentik/api/models/patched_authenticator_sms_stage_request.rb +335 -0
- data/lib/authentik/api/models/patched_authenticator_static_stage_request.rb +255 -0
- data/lib/authentik/api/models/patched_authenticator_totp_stage_request.rb +212 -0
- data/lib/authentik/api/models/patched_authenticator_validate_stage_request.rb +266 -0
- data/lib/authentik/api/models/patched_authenticator_web_authn_stage_request.rb +279 -0
- data/lib/authentik/api/models/patched_blueprint_instance_request.rb +201 -0
- data/lib/authentik/api/models/patched_brand_request.rb +397 -0
- data/lib/authentik/api/models/patched_captcha_stage_request.rb +312 -0
- data/lib/authentik/api/models/patched_certificate_key_pair_request.rb +200 -0
- data/lib/authentik/api/models/patched_connection_token_request.rb +160 -0
- data/lib/authentik/api/models/patched_consent_stage_request.rb +221 -0
- data/lib/authentik/api/models/patched_deny_stage_request.rb +170 -0
- data/lib/authentik/api/models/patched_device_access_group_request.rb +160 -0
- data/lib/authentik/api/models/patched_device_user_binding_request.rb +285 -0
- data/lib/authentik/api/models/patched_docker_service_connection_request.rb +222 -0
- data/lib/authentik/api/models/patched_domain_request.rb +188 -0
- data/lib/authentik/api/models/patched_dummy_policy_request.rb +254 -0
- data/lib/authentik/api/models/patched_dummy_stage_request.rb +170 -0
- data/lib/authentik/api/models/patched_duo_device_request.rb +171 -0
- data/lib/authentik/api/models/patched_email_device_request.rb +171 -0
- data/lib/authentik/api/models/patched_email_stage_request.rb +507 -0
- data/lib/authentik/api/models/patched_endpoint_device_request.rb +218 -0
- data/lib/authentik/api/models/patched_endpoint_request.rb +297 -0
- data/lib/authentik/api/models/patched_endpoint_stage_request.rb +201 -0
- data/lib/authentik/api/models/patched_enrollment_token_request.rb +198 -0
- data/lib/authentik/api/models/patched_event_matcher_policy_request.rb +252 -0
- data/lib/authentik/api/models/patched_event_request.rb +259 -0
- data/lib/authentik/api/models/patched_expression_policy_request.rb +199 -0
- data/lib/authentik/api/models/patched_flow_request.rb +320 -0
- data/lib/authentik/api/models/patched_flow_stage_binding_request.rb +249 -0
- data/lib/authentik/api/models/patched_geo_ip_policy_request.rb +378 -0
- data/lib/authentik/api/models/patched_google_endpoint_device_request.rb +180 -0
- data/lib/authentik/api/models/patched_google_workspace_provider_mapping_request.rb +215 -0
- data/lib/authentik/api/models/patched_google_workspace_provider_request.rb +424 -0
- data/lib/authentik/api/models/patched_group_kerberos_source_connection_request.rb +179 -0
- data/lib/authentik/api/models/patched_group_ldap_source_connection_request.rb +179 -0
- data/lib/authentik/api/models/patched_group_o_auth_source_connection_request.rb +179 -0
- data/lib/authentik/api/models/patched_group_plex_source_connection_request.rb +179 -0
- data/lib/authentik/api/models/patched_group_request.rb +215 -0
- data/lib/authentik/api/models/patched_group_saml_source_connection_request.rb +179 -0
- data/lib/authentik/api/models/patched_group_source_connection_request.rb +179 -0
- data/lib/authentik/api/models/patched_group_telegram_source_connection_request.rb +179 -0
- data/lib/authentik/api/models/patched_identification_stage_request.rb +300 -0
- data/lib/authentik/api/models/patched_initial_permissions_request.rb +190 -0
- data/lib/authentik/api/models/patched_invitation_request.rb +214 -0
- data/lib/authentik/api/models/patched_invitation_stage_request.rb +171 -0
- data/lib/authentik/api/models/patched_kerberos_source_property_mapping_request.rb +215 -0
- data/lib/authentik/api/models/patched_kerberos_source_request.rb +512 -0
- data/lib/authentik/api/models/patched_kubernetes_service_connection_request.rb +193 -0
- data/lib/authentik/api/models/patched_ldap_provider_request.rb +377 -0
- data/lib/authentik/api/models/patched_ldap_source_property_mapping_request.rb +215 -0
- data/lib/authentik/api/models/patched_ldap_source_request.rb +700 -0
- data/lib/authentik/api/models/patched_license_request.rb +161 -0
- data/lib/authentik/api/models/patched_microsoft_entra_provider_mapping_request.rb +215 -0
- data/lib/authentik/api/models/patched_microsoft_entra_provider_request.rb +404 -0
- data/lib/authentik/api/models/patched_mutual_tls_stage_request.rb +222 -0
- data/lib/authentik/api/models/patched_notification_request.rb +186 -0
- data/lib/authentik/api/models/patched_notification_rule_request.rb +226 -0
- data/lib/authentik/api/models/patched_notification_transport_request.rb +270 -0
- data/lib/authentik/api/models/patched_notification_webhook_mapping_request.rb +189 -0
- data/lib/authentik/api/models/patched_o_auth2_provider_request.rb +520 -0
- data/lib/authentik/api/models/patched_o_auth_source_property_mapping_request.rb +215 -0
- data/lib/authentik/api/models/patched_o_auth_source_request.rb +579 -0
- data/lib/authentik/api/models/patched_outpost_request.rb +251 -0
- data/lib/authentik/api/models/patched_password_expiry_policy_request.rb +217 -0
- data/lib/authentik/api/models/patched_password_policy_request.rb +525 -0
- data/lib/authentik/api/models/patched_password_stage_request.rb +232 -0
- data/lib/authentik/api/models/patched_permission_assign_request.rb +203 -0
- data/lib/authentik/api/models/patched_plex_source_property_mapping_request.rb +215 -0
- data/lib/authentik/api/models/patched_plex_source_request.rb +433 -0
- data/lib/authentik/api/models/patched_policy_binding_request.rb +276 -0
- data/lib/authentik/api/models/patched_prompt_request.rb +342 -0
- data/lib/authentik/api/models/patched_prompt_stage_request.rb +183 -0
- data/lib/authentik/api/models/patched_proxy_provider_request.rb +431 -0
- data/lib/authentik/api/models/patched_rac_property_mapping_request.rb +207 -0
- data/lib/authentik/api/models/patched_rac_provider_request.rb +243 -0
- data/lib/authentik/api/models/patched_radius_provider_property_mapping_request.rb +215 -0
- data/lib/authentik/api/models/patched_radius_provider_request.rb +281 -0
- data/lib/authentik/api/models/patched_redirect_stage_request.rb +220 -0
- data/lib/authentik/api/models/patched_reputation_policy_request.rb +226 -0
- data/lib/authentik/api/models/patched_role_request.rb +170 -0
- data/lib/authentik/api/models/patched_saml_property_mapping_request.rb +253 -0
- data/lib/authentik/api/models/patched_saml_provider_request.rb +538 -0
- data/lib/authentik/api/models/patched_saml_source_property_mapping_request.rb +215 -0
- data/lib/authentik/api/models/patched_saml_source_request.rb +540 -0
- data/lib/authentik/api/models/patched_schedule_request.rb +196 -0
- data/lib/authentik/api/models/patched_scim_mapping_request.rb +215 -0
- data/lib/authentik/api/models/patched_scim_provider_request.rb +421 -0
- data/lib/authentik/api/models/patched_scim_source_group_request.rb +218 -0
- data/lib/authentik/api/models/patched_scim_source_property_mapping_request.rb +215 -0
- data/lib/authentik/api/models/patched_scim_source_request.rb +261 -0
- data/lib/authentik/api/models/patched_scim_source_user_request.rb +218 -0
- data/lib/authentik/api/models/patched_scope_mapping_request.rb +254 -0
- data/lib/authentik/api/models/patched_settings_request.rb +489 -0
- data/lib/authentik/api/models/patched_settings_request_flags.rb +184 -0
- data/lib/authentik/api/models/patched_sms_device_request.rb +171 -0
- data/lib/authentik/api/models/patched_source_stage_request.rb +199 -0
- data/lib/authentik/api/models/patched_ssf_provider_request.rb +210 -0
- data/lib/authentik/api/models/patched_static_device_request.rb +171 -0
- data/lib/authentik/api/models/patched_telegram_source_property_mapping_request.rb +215 -0
- data/lib/authentik/api/models/patched_telegram_source_request.rb +421 -0
- data/lib/authentik/api/models/patched_tenant_request.rb +207 -0
- data/lib/authentik/api/models/patched_token_request.rb +275 -0
- data/lib/authentik/api/models/patched_totp_device_request.rb +171 -0
- data/lib/authentik/api/models/patched_unique_password_policy_request.rb +238 -0
- data/lib/authentik/api/models/patched_user_delete_stage_request.rb +161 -0
- data/lib/authentik/api/models/patched_user_kerberos_source_connection_request.rb +179 -0
- data/lib/authentik/api/models/patched_user_ldap_source_connection_request.rb +179 -0
- data/lib/authentik/api/models/patched_user_login_stage_request.rb +300 -0
- data/lib/authentik/api/models/patched_user_logout_stage_request.rb +161 -0
- data/lib/authentik/api/models/patched_user_o_auth_source_connection_request.rb +198 -0
- data/lib/authentik/api/models/patched_user_plex_source_connection_request.rb +207 -0
- data/lib/authentik/api/models/patched_user_request.rb +320 -0
- data/lib/authentik/api/models/patched_user_saml_source_connection_request.rb +179 -0
- data/lib/authentik/api/models/patched_user_source_connection_request.rb +179 -0
- data/lib/authentik/api/models/patched_user_telegram_source_connection_request.rb +179 -0
- data/lib/authentik/api/models/patched_user_write_stage_request.rb +231 -0
- data/lib/authentik/api/models/patched_web_authn_device_request.rb +170 -0
- data/lib/authentik/api/models/permission.rb +335 -0
- data/lib/authentik/api/models/permission_assign_request.rb +220 -0
- data/lib/authentik/api/models/permission_assign_result.rb +159 -0
- data/lib/authentik/api/models/pkce_method_enum.rb +35 -0
- data/lib/authentik/api/models/plex_authentication_challenge.rb +216 -0
- data/lib/authentik/api/models/plex_authentication_challenge_response_request.rb +163 -0
- data/lib/authentik/api/models/plex_source.rb +574 -0
- data/lib/authentik/api/models/plex_source_property_mapping.rb +330 -0
- data/lib/authentik/api/models/plex_source_property_mapping_request.rb +229 -0
- data/lib/authentik/api/models/plex_source_request.rb +454 -0
- data/lib/authentik/api/models/plex_token_redeem_request.rb +168 -0
- data/lib/authentik/api/models/policy.rb +330 -0
- data/lib/authentik/api/models/policy_binding.rb +404 -0
- data/lib/authentik/api/models/policy_binding_request.rb +300 -0
- data/lib/authentik/api/models/policy_engine_mode.rb +34 -0
- data/lib/authentik/api/models/policy_test_request.rb +170 -0
- data/lib/authentik/api/models/policy_test_result.rb +215 -0
- data/lib/authentik/api/models/process.rb +193 -0
- data/lib/authentik/api/models/process_request.rb +221 -0
- data/lib/authentik/api/models/prompt.rb +407 -0
- data/lib/authentik/api/models/prompt_challenge.rb +192 -0
- data/lib/authentik/api/models/prompt_challenge_response_request.rb +163 -0
- data/lib/authentik/api/models/prompt_choice.rb +185 -0
- data/lib/authentik/api/models/prompt_request.rb +380 -0
- data/lib/authentik/api/models/prompt_stage.rb +360 -0
- data/lib/authentik/api/models/prompt_stage_request.rb +207 -0
- data/lib/authentik/api/models/prompt_type_enum.rb +50 -0
- data/lib/authentik/api/models/property_mapping.rb +330 -0
- data/lib/authentik/api/models/property_mapping_preview.rb +161 -0
- data/lib/authentik/api/models/property_mapping_test_request.rb +164 -0
- data/lib/authentik/api/models/property_mapping_test_result.rb +185 -0
- data/lib/authentik/api/models/protocol_enum.rb +35 -0
- data/lib/authentik/api/models/provider.rb +421 -0
- data/lib/authentik/api/models/provider_enum.rb +34 -0
- data/lib/authentik/api/models/provider_model_enum.rb +42 -0
- data/lib/authentik/api/models/provider_type_enum.rb +49 -0
- data/lib/authentik/api/models/proxy_mode.rb +35 -0
- data/lib/authentik/api/models/proxy_outpost_config.rb +518 -0
- data/lib/authentik/api/models/proxy_provider.rb +691 -0
- data/lib/authentik/api/models/proxy_provider_request.rb +479 -0
- data/lib/authentik/api/models/rac_property_mapping.rb +341 -0
- data/lib/authentik/api/models/rac_property_mapping_request.rb +231 -0
- data/lib/authentik/api/models/rac_provider.rb +453 -0
- data/lib/authentik/api/models/rac_provider_request.rb +267 -0
- data/lib/authentik/api/models/radius_check_access.rb +168 -0
- data/lib/authentik/api/models/radius_outpost_config.rb +277 -0
- data/lib/authentik/api/models/radius_provider.rb +489 -0
- data/lib/authentik/api/models/radius_provider_property_mapping.rb +330 -0
- data/lib/authentik/api/models/radius_provider_property_mapping_request.rb +229 -0
- data/lib/authentik/api/models/radius_provider_request.rb +322 -0
- data/lib/authentik/api/models/redirect_challenge.rb +190 -0
- data/lib/authentik/api/models/redirect_challenge_response_request.rb +198 -0
- data/lib/authentik/api/models/redirect_stage.rb +397 -0
- data/lib/authentik/api/models/redirect_stage_mode_enum.rb +34 -0
- data/lib/authentik/api/models/redirect_stage_request.rb +244 -0
- data/lib/authentik/api/models/redirect_uri.rb +207 -0
- data/lib/authentik/api/models/redirect_uri_request.rb +216 -0
- data/lib/authentik/api/models/related_group.rb +232 -0
- data/lib/authentik/api/models/reputation.rb +279 -0
- data/lib/authentik/api/models/reputation_policy.rb +385 -0
- data/lib/authentik/api/models/reputation_policy_request.rb +233 -0
- data/lib/authentik/api/models/resident_key_requirement_enum.rb +35 -0
- data/lib/authentik/api/models/role.rb +194 -0
- data/lib/authentik/api/models/role_assigned_object_permission.rb +241 -0
- data/lib/authentik/api/models/role_model_permission.rb +263 -0
- data/lib/authentik/api/models/role_object_permission.rb +289 -0
- data/lib/authentik/api/models/role_request.rb +177 -0
- data/lib/authentik/api/models/saml_bindings_enum.rb +34 -0
- data/lib/authentik/api/models/saml_metadata.rb +185 -0
- data/lib/authentik/api/models/saml_name_id_policy_enum.rb +38 -0
- data/lib/authentik/api/models/saml_property_mapping.rb +366 -0
- data/lib/authentik/api/models/saml_property_mapping_request.rb +274 -0
- data/lib/authentik/api/models/saml_provider.rb +840 -0
- data/lib/authentik/api/models/saml_provider_logout_method_enum.rb +35 -0
- data/lib/authentik/api/models/saml_provider_request.rb +586 -0
- data/lib/authentik/api/models/saml_source.rb +698 -0
- data/lib/authentik/api/models/saml_source_property_mapping.rb +330 -0
- data/lib/authentik/api/models/saml_source_property_mapping_request.rb +229 -0
- data/lib/authentik/api/models/saml_source_request.rb +578 -0
- data/lib/authentik/api/models/schedule.rb +395 -0
- data/lib/authentik/api/models/schedule_request.rb +203 -0
- data/lib/authentik/api/models/scim_authentication_mode_enum.rb +34 -0
- data/lib/authentik/api/models/scim_mapping.rb +330 -0
- data/lib/authentik/api/models/scim_mapping_request.rb +229 -0
- data/lib/authentik/api/models/scim_provider.rb +539 -0
- data/lib/authentik/api/models/scim_provider_group.rb +291 -0
- data/lib/authentik/api/models/scim_provider_group_request.rb +220 -0
- data/lib/authentik/api/models/scim_provider_request.rb +435 -0
- data/lib/authentik/api/models/scim_provider_user.rb +291 -0
- data/lib/authentik/api/models/scim_provider_user_request.rb +220 -0
- data/lib/authentik/api/models/scim_source.rb +438 -0
- data/lib/authentik/api/models/scim_source_group.rb +257 -0
- data/lib/authentik/api/models/scim_source_group_request.rb +259 -0
- data/lib/authentik/api/models/scim_source_property_mapping.rb +330 -0
- data/lib/authentik/api/models/scim_source_property_mapping_request.rb +229 -0
- data/lib/authentik/api/models/scim_source_request.rb +275 -0
- data/lib/authentik/api/models/scim_source_user.rb +257 -0
- data/lib/authentik/api/models/scim_source_user_request.rb +259 -0
- data/lib/authentik/api/models/scope_mapping.rb +367 -0
- data/lib/authentik/api/models/scope_mapping_request.rb +275 -0
- data/lib/authentik/api/models/selectable_stage.rb +237 -0
- data/lib/authentik/api/models/service_connection.rb +303 -0
- data/lib/authentik/api/models/service_connection_state.rb +185 -0
- data/lib/authentik/api/models/session_end_challenge.rb +269 -0
- data/lib/authentik/api/models/session_user.rb +168 -0
- data/lib/authentik/api/models/settings.rb +449 -0
- data/lib/authentik/api/models/settings_request.rb +506 -0
- data/lib/authentik/api/models/severity_enum.rb +35 -0
- data/lib/authentik/api/models/shell_challenge.rb +190 -0
- data/lib/authentik/api/models/signature_algorithm_enum.rb +41 -0
- data/lib/authentik/api/models/sms_device.rb +247 -0
- data/lib/authentik/api/models/sms_device_request.rb +178 -0
- data/lib/authentik/api/models/software.rb +202 -0
- data/lib/authentik/api/models/software_request.rb +239 -0
- data/lib/authentik/api/models/source.rb +492 -0
- data/lib/authentik/api/models/source_stage.rb +357 -0
- data/lib/authentik/api/models/source_stage_request.rb +223 -0
- data/lib/authentik/api/models/source_type.rb +283 -0
- data/lib/authentik/api/models/ssf_provider.rb +378 -0
- data/lib/authentik/api/models/ssf_provider_request.rb +234 -0
- data/lib/authentik/api/models/ssf_stream.rb +343 -0
- data/lib/authentik/api/models/stage.rb +321 -0
- data/lib/authentik/api/models/stage_mode_enum.rb +34 -0
- data/lib/authentik/api/models/stage_prompt.rb +377 -0
- data/lib/authentik/api/models/state_enum.rb +39 -0
- data/lib/authentik/api/models/static_device.rb +249 -0
- data/lib/authentik/api/models/static_device_request.rb +178 -0
- data/lib/authentik/api/models/static_device_token.rb +168 -0
- data/lib/authentik/api/models/sub_mode_enum.rb +38 -0
- data/lib/authentik/api/models/sync_object_model_enum.rb +34 -0
- data/lib/authentik/api/models/sync_object_request.rb +227 -0
- data/lib/authentik/api/models/sync_object_result.rb +161 -0
- data/lib/authentik/api/models/sync_outgoing_trigger_mode_enum.rb +35 -0
- data/lib/authentik/api/models/sync_status.rb +199 -0
- data/lib/authentik/api/models/system_info.rb +350 -0
- data/lib/authentik/api/models/system_info_runtime.rb +327 -0
- data/lib/authentik/api/models/task.rb +451 -0
- data/lib/authentik/api/models/task_aggregated_status_enum.rb +42 -0
- data/lib/authentik/api/models/telegram_auth_request.rb +367 -0
- data/lib/authentik/api/models/telegram_challenge_response_request.rb +398 -0
- data/lib/authentik/api/models/telegram_login_challenge.rb +217 -0
- data/lib/authentik/api/models/telegram_source.rb +555 -0
- data/lib/authentik/api/models/telegram_source_property_mapping.rb +330 -0
- data/lib/authentik/api/models/telegram_source_property_mapping_request.rb +229 -0
- data/lib/authentik/api/models/telegram_source_request.rb +466 -0
- data/lib/authentik/api/models/tenant.rb +229 -0
- data/lib/authentik/api/models/tenant_admin_group_request_request.rb +168 -0
- data/lib/authentik/api/models/tenant_recovery_key_request_request.rb +194 -0
- data/lib/authentik/api/models/tenant_recovery_key_response.rb +185 -0
- data/lib/authentik/api/models/tenant_request.rb +221 -0
- data/lib/authentik/api/models/themed_urls.rb +153 -0
- data/lib/authentik/api/models/token.rb +310 -0
- data/lib/authentik/api/models/token_model.rb +312 -0
- data/lib/authentik/api/models/token_request.rb +282 -0
- data/lib/authentik/api/models/token_set_key_request.rb +168 -0
- data/lib/authentik/api/models/token_view.rb +159 -0
- data/lib/authentik/api/models/totp_device.rb +221 -0
- data/lib/authentik/api/models/totp_device_request.rb +178 -0
- data/lib/authentik/api/models/transaction_application_request.rb +244 -0
- data/lib/authentik/api/models/transaction_application_response.rb +187 -0
- data/lib/authentik/api/models/transaction_policy_binding_request.rb +274 -0
- data/lib/authentik/api/models/type_create.rb +268 -0
- data/lib/authentik/api/models/ui_theme_enum.rb +35 -0
- data/lib/authentik/api/models/unique_password_policy.rb +378 -0
- data/lib/authentik/api/models/unique_password_policy_request.rb +245 -0
- data/lib/authentik/api/models/used_by.rb +285 -0
- data/lib/authentik/api/models/used_by_action_enum.rb +37 -0
- data/lib/authentik/api/models/user.rb +553 -0
- data/lib/authentik/api/models/user_account_request.rb +159 -0
- data/lib/authentik/api/models/user_account_serializer_for_role_request.rb +159 -0
- data/lib/authentik/api/models/user_attribute_enum.rb +34 -0
- data/lib/authentik/api/models/user_consent.rb +241 -0
- data/lib/authentik/api/models/user_creation_mode_enum.rb +35 -0
- data/lib/authentik/api/models/user_delete_stage.rb +321 -0
- data/lib/authentik/api/models/user_delete_stage_request.rb +168 -0
- data/lib/authentik/api/models/user_fields_enum.rb +35 -0
- data/lib/authentik/api/models/user_kerberos_source_connection.rb +315 -0
- data/lib/authentik/api/models/user_kerberos_source_connection_request.rb +220 -0
- data/lib/authentik/api/models/user_ldap_source_connection.rb +315 -0
- data/lib/authentik/api/models/user_ldap_source_connection_request.rb +220 -0
- data/lib/authentik/api/models/user_login_challenge.rb +216 -0
- data/lib/authentik/api/models/user_login_challenge_response_request.rb +189 -0
- data/lib/authentik/api/models/user_login_stage.rb +403 -0
- data/lib/authentik/api/models/user_login_stage_request.rb +307 -0
- data/lib/authentik/api/models/user_logout_stage.rb +321 -0
- data/lib/authentik/api/models/user_logout_stage_request.rb +168 -0
- data/lib/authentik/api/models/user_matching_mode_enum.rb +37 -0
- data/lib/authentik/api/models/user_o_auth_source_connection.rb +324 -0
- data/lib/authentik/api/models/user_o_auth_source_connection_request.rb +239 -0
- data/lib/authentik/api/models/user_password_set_request.rb +168 -0
- data/lib/authentik/api/models/user_path.rb +160 -0
- data/lib/authentik/api/models/user_plex_source_connection.rb +315 -0
- data/lib/authentik/api/models/user_plex_source_connection_request.rb +255 -0
- data/lib/authentik/api/models/user_request.rb +344 -0
- data/lib/authentik/api/models/user_saml_source_connection.rb +315 -0
- data/lib/authentik/api/models/user_saml_source_connection_request.rb +220 -0
- data/lib/authentik/api/models/user_self.rb +512 -0
- data/lib/authentik/api/models/user_self_groups.rb +184 -0
- data/lib/authentik/api/models/user_self_roles.rb +184 -0
- data/lib/authentik/api/models/user_service_account_request.rb +200 -0
- data/lib/authentik/api/models/user_service_account_response.rb +245 -0
- data/lib/authentik/api/models/user_setting.rb +229 -0
- data/lib/authentik/api/models/user_source_connection.rb +315 -0
- data/lib/authentik/api/models/user_source_connection_request.rb +220 -0
- data/lib/authentik/api/models/user_telegram_source_connection.rb +315 -0
- data/lib/authentik/api/models/user_telegram_source_connection_request.rb +220 -0
- data/lib/authentik/api/models/user_type_enum.rb +36 -0
- data/lib/authentik/api/models/user_verification_enum.rb +35 -0
- data/lib/authentik/api/models/user_write_stage.rb +391 -0
- data/lib/authentik/api/models/user_write_stage_request.rb +238 -0
- data/lib/authentik/api/models/validation_error.rb +153 -0
- data/lib/authentik/api/models/version.rb +295 -0
- data/lib/authentik/api/models/version_history.rb +237 -0
- data/lib/authentik/api/models/web_authn_device.rb +284 -0
- data/lib/authentik/api/models/web_authn_device_request.rb +177 -0
- data/lib/authentik/api/models/web_authn_device_type.rb +185 -0
- data/lib/authentik/api/models/worker.rb +210 -0
- data/lib/authentik/api/version.rb +11 -0
- data/lib/authentik/api.rb +33 -0
- data/spec/api/admin_api_spec.rb +184 -0
- data/spec/api/authenticators_api_spec.rb +1023 -0
- data/spec/api/core_api_spec.rb +890 -0
- data/spec/api/crypto_api_spec.rb +151 -0
- data/spec/api/endpoints_api_spec.rb +606 -0
- data/spec/api/enterprise_api_spec.rb +143 -0
- data/spec/api/events_api_spec.rb +443 -0
- data/spec/api/flows_api_spec.rb +309 -0
- data/spec/api/managed_api_spec.rb +134 -0
- data/spec/api/oauth2_api_spec.rb +176 -0
- data/spec/api/outposts_api_spec.rb +459 -0
- data/spec/api/policies_api_spec.rb +990 -0
- data/spec/api/propertymappings_api_spec.rb +1379 -0
- data/spec/api/providers_api_spec.rb +1490 -0
- data/spec/api/rac_api_spec.rb +188 -0
- data/spec/api/rbac_api_spec.rb +309 -0
- data/spec/api/reports_api_spec.rb +62 -0
- data/spec/api/root_api_spec.rb +39 -0
- data/spec/api/schema_api_spec.rb +41 -0
- data/spec/api/sources_api_spec.rb +2192 -0
- data/spec/api/ssf_api_spec.rb +57 -0
- data/spec/api/stages_api_spec.rb +2538 -0
- data/spec/api/tasks_api_spec.rb +153 -0
- data/spec/api/tenants_api_spec.rb +195 -0
- data/spec/models/access_denied_challenge_spec.rb +60 -0
- data/spec/models/agent_authentication_response_spec.rb +30 -0
- data/spec/models/agent_config_spec.rb +84 -0
- data/spec/models/agent_connector_request_spec.rb +108 -0
- data/spec/models/agent_connector_spec.rb +132 -0
- data/spec/models/agent_psso_device_registration_request_spec.rb +48 -0
- data/spec/models/agent_psso_device_registration_response_spec.rb +60 -0
- data/spec/models/agent_psso_user_registration_request_spec.rb +42 -0
- data/spec/models/agent_token_response_spec.rb +36 -0
- data/spec/models/alg_enum_spec.rb +24 -0
- data/spec/models/app_enum_spec.rb +24 -0
- data/spec/models/app_spec.rb +36 -0
- data/spec/models/apple_challenge_response_request_spec.rb +30 -0
- data/spec/models/apple_login_challenge_spec.rb +66 -0
- data/spec/models/application_entitlement_request_spec.rb +42 -0
- data/spec/models/application_entitlement_spec.rb +48 -0
- data/spec/models/application_request_spec.rb +90 -0
- data/spec/models/application_spec.rb +126 -0
- data/spec/models/auth_type_enum_spec.rb +24 -0
- data/spec/models/authenticated_session_asn_spec.rb +42 -0
- data/spec/models/authenticated_session_geo_ip_spec.rb +54 -0
- data/spec/models/authenticated_session_spec.rb +84 -0
- data/spec/models/authenticated_session_user_agent_device_spec.rb +42 -0
- data/spec/models/authenticated_session_user_agent_os_spec.rb +54 -0
- data/spec/models/authenticated_session_user_agent_spec.rb +48 -0
- data/spec/models/authenticated_session_user_agent_user_agent_spec.rb +48 -0
- data/spec/models/authentication_enum_spec.rb +24 -0
- data/spec/models/authenticator_attachment_enum_spec.rb +24 -0
- data/spec/models/authenticator_duo_challenge_response_request_spec.rb +30 -0
- data/spec/models/authenticator_duo_challenge_spec.rb +72 -0
- data/spec/models/authenticator_duo_stage_device_import_response_spec.rb +36 -0
- data/spec/models/authenticator_duo_stage_manual_device_import_request_spec.rb +36 -0
- data/spec/models/authenticator_duo_stage_request_spec.rb +72 -0
- data/spec/models/authenticator_duo_stage_spec.rb +96 -0
- data/spec/models/authenticator_email_challenge_response_request_spec.rb +42 -0
- data/spec/models/authenticator_email_challenge_spec.rb +66 -0
- data/spec/models/authenticator_email_stage_request_spec.rb +114 -0
- data/spec/models/authenticator_email_stage_spec.rb +150 -0
- data/spec/models/authenticator_endpoint_gdtc_stage_request_spec.rb +48 -0
- data/spec/models/authenticator_endpoint_gdtc_stage_spec.rb +84 -0
- data/spec/models/authenticator_sms_challenge_response_request_spec.rb +42 -0
- data/spec/models/authenticator_sms_challenge_spec.rb +60 -0
- data/spec/models/authenticator_sms_stage_request_spec.rb +90 -0
- data/spec/models/authenticator_sms_stage_spec.rb +126 -0
- data/spec/models/authenticator_static_challenge_response_request_spec.rb +30 -0
- data/spec/models/authenticator_static_challenge_spec.rb +60 -0
- data/spec/models/authenticator_static_stage_request_spec.rb +54 -0
- data/spec/models/authenticator_static_stage_spec.rb +90 -0
- data/spec/models/authenticator_totp_challenge_response_request_spec.rb +36 -0
- data/spec/models/authenticator_totp_challenge_spec.rb +60 -0
- data/spec/models/authenticator_totp_stage_request_spec.rb +48 -0
- data/spec/models/authenticator_totp_stage_spec.rb +84 -0
- data/spec/models/authenticator_validate_stage_request_spec.rb +66 -0
- data/spec/models/authenticator_validate_stage_spec.rb +108 -0
- data/spec/models/authenticator_validation_challenge_response_request_spec.rb +60 -0
- data/spec/models/authenticator_validation_challenge_spec.rb +66 -0
- data/spec/models/authenticator_web_authn_challenge_response_request_spec.rb +36 -0
- data/spec/models/authenticator_web_authn_challenge_spec.rb +60 -0
- data/spec/models/authenticator_web_authn_stage_request_spec.rb +72 -0
- data/spec/models/authenticator_web_authn_stage_spec.rb +114 -0
- data/spec/models/authorization_code_auth_method_enum_spec.rb +24 -0
- data/spec/models/auto_submit_challenge_response_request_spec.rb +30 -0
- data/spec/models/autosubmit_challenge_spec.rb +60 -0
- data/spec/models/backends_enum_spec.rb +24 -0
- data/spec/models/binding_type_enum_spec.rb +24 -0
- data/spec/models/blueprint_file_spec.rb +48 -0
- data/spec/models/blueprint_instance_request_spec.rb +54 -0
- data/spec/models/blueprint_instance_spec.rb +90 -0
- data/spec/models/blueprint_instance_status_enum_spec.rb +24 -0
- data/spec/models/brand_request_spec.rb +126 -0
- data/spec/models/brand_spec.rb +132 -0
- data/spec/models/cache_spec.rb +30 -0
- data/spec/models/capabilities_enum_spec.rb +24 -0
- data/spec/models/captcha_challenge_response_request_spec.rb +36 -0
- data/spec/models/captcha_challenge_spec.rb +72 -0
- data/spec/models/captcha_stage_request_spec.rb +78 -0
- data/spec/models/captcha_stage_spec.rb +108 -0
- data/spec/models/cert_attribute_enum_spec.rb +24 -0
- data/spec/models/certificate_data_spec.rb +30 -0
- data/spec/models/certificate_generation_request_spec.rb +48 -0
- data/spec/models/certificate_key_pair_request_spec.rb +42 -0
- data/spec/models/certificate_key_pair_spec.rb +90 -0
- data/spec/models/challenge_types_spec.rb +38 -0
- data/spec/models/client_type_enum_spec.rb +24 -0
- data/spec/models/compatibility_mode_enum_spec.rb +24 -0
- data/spec/models/config_spec.rb +54 -0
- data/spec/models/connection_token_request_spec.rb +42 -0
- data/spec/models/connection_token_spec.rb +60 -0
- data/spec/models/connector_spec.rb +66 -0
- data/spec/models/consent_challenge_response_request_spec.rb +36 -0
- data/spec/models/consent_challenge_spec.rb +78 -0
- data/spec/models/consent_permission_spec.rb +36 -0
- data/spec/models/consent_stage_mode_enum_spec.rb +24 -0
- data/spec/models/consent_stage_request_spec.rb +42 -0
- data/spec/models/consent_stage_spec.rb +78 -0
- data/spec/models/content_type_spec.rb +48 -0
- data/spec/models/contextual_flow_info_layout_enum_spec.rb +24 -0
- data/spec/models/contextual_flow_info_spec.rb +54 -0
- data/spec/models/country_code_enum_spec.rb +24 -0
- data/spec/models/current_brand_flags_spec.rb +36 -0
- data/spec/models/current_brand_spec.rb +126 -0
- data/spec/models/data_export_spec.rb +66 -0
- data/spec/models/delivery_method_enum_spec.rb +24 -0
- data/spec/models/denied_action_enum_spec.rb +24 -0
- data/spec/models/deny_stage_request_spec.rb +36 -0
- data/spec/models/deny_stage_spec.rb +72 -0
- data/spec/models/detailed_country_field_spec.rb +36 -0
- data/spec/models/detailed_country_spec.rb +36 -0
- data/spec/models/device_access_group_request_spec.rb +30 -0
- data/spec/models/device_access_group_spec.rb +36 -0
- data/spec/models/device_challenge_request_spec.rb +48 -0
- data/spec/models/device_challenge_spec.rb +48 -0
- data/spec/models/device_classes_enum_spec.rb +24 -0
- data/spec/models/device_connection_spec.rb +48 -0
- data/spec/models/device_fact_snapshot_spec.rb +48 -0
- data/spec/models/device_facts_os_family_spec.rb +24 -0
- data/spec/models/device_facts_request_spec.rb +78 -0
- data/spec/models/device_facts_spec.rb +78 -0
- data/spec/models/device_group_request_spec.rb +36 -0
- data/spec/models/device_group_spec.rb +36 -0
- data/spec/models/device_spec.rb +96 -0
- data/spec/models/device_summary_spec.rb +42 -0
- data/spec/models/device_user_binding_request_spec.rb +84 -0
- data/spec/models/device_user_binding_spec.rb +120 -0
- data/spec/models/device_user_request_spec.rb +48 -0
- data/spec/models/device_user_spec.rb +48 -0
- data/spec/models/digest_algorithm_enum_spec.rb +24 -0
- data/spec/models/digits_enum_spec.rb +24 -0
- data/spec/models/disk_request_spec.rb +60 -0
- data/spec/models/disk_spec.rb +60 -0
- data/spec/models/docker_service_connection_request_spec.rb +54 -0
- data/spec/models/docker_service_connection_spec.rb +84 -0
- data/spec/models/domain_request_spec.rb +42 -0
- data/spec/models/domain_spec.rb +48 -0
- data/spec/models/dummy_challenge_response_request_spec.rb +30 -0
- data/spec/models/dummy_challenge_spec.rb +48 -0
- data/spec/models/dummy_policy_request_spec.rb +54 -0
- data/spec/models/dummy_policy_spec.rb +90 -0
- data/spec/models/dummy_stage_request_spec.rb +36 -0
- data/spec/models/dummy_stage_spec.rb +72 -0
- data/spec/models/duo_device_enrollment_status_spec.rb +30 -0
- data/spec/models/duo_device_request_spec.rb +30 -0
- data/spec/models/duo_device_spec.rb +42 -0
- data/spec/models/duo_response_enum_spec.rb +24 -0
- data/spec/models/email_challenge_response_request_spec.rb +30 -0
- data/spec/models/email_challenge_spec.rb +42 -0
- data/spec/models/email_device_request_spec.rb +30 -0
- data/spec/models/email_device_spec.rb +48 -0
- data/spec/models/email_stage_request_spec.rb +120 -0
- data/spec/models/email_stage_spec.rb +150 -0
- data/spec/models/endpoint_agent_challenge_response_request_spec.rb +36 -0
- data/spec/models/endpoint_agent_challenge_spec.rb +54 -0
- data/spec/models/endpoint_auth_mode_enum_spec.rb +24 -0
- data/spec/models/endpoint_device_details_spec.rb +96 -0
- data/spec/models/endpoint_device_request_spec.rb +66 -0
- data/spec/models/endpoint_device_spec.rb +78 -0
- data/spec/models/endpoint_request_spec.rb +72 -0
- data/spec/models/endpoint_spec.rb +90 -0
- data/spec/models/endpoint_stage_request_spec.rb +42 -0
- data/spec/models/endpoint_stage_spec.rb +84 -0
- data/spec/models/enroll_request_spec.rb +36 -0
- data/spec/models/enrollment_token_request_spec.rb +54 -0
- data/spec/models/enrollment_token_spec.rb +66 -0
- data/spec/models/error_detail_spec.rb +36 -0
- data/spec/models/error_reporting_config_spec.rb +54 -0
- data/spec/models/event_actions_spec.rb +24 -0
- data/spec/models/event_matcher_policy_request_spec.rb +60 -0
- data/spec/models/event_matcher_policy_spec.rb +96 -0
- data/spec/models/event_request_spec.rb +66 -0
- data/spec/models/event_spec.rb +78 -0
- data/spec/models/event_top_per_user_spec.rb +42 -0
- data/spec/models/event_volume_spec.rb +42 -0
- data/spec/models/events_requested_enum_spec.rb +24 -0
- data/spec/models/expiring_base_grant_model_spec.rb +60 -0
- data/spec/models/expression_policy_request_spec.rb +42 -0
- data/spec/models/expression_policy_spec.rb +78 -0
- data/spec/models/extra_role_object_permission_spec.rb +78 -0
- data/spec/models/file_list_spec.rb +48 -0
- data/spec/models/flow_challenge_response_request_spec.rb +38 -0
- data/spec/models/flow_designation_enum_spec.rb +24 -0
- data/spec/models/flow_diagram_spec.rb +30 -0
- data/spec/models/flow_error_challenge_spec.rb +60 -0
- data/spec/models/flow_import_result_spec.rb +36 -0
- data/spec/models/flow_inspection_spec.rb +42 -0
- data/spec/models/flow_inspector_plan_spec.rb +48 -0
- data/spec/models/flow_layout_enum_spec.rb +24 -0
- data/spec/models/flow_request_spec.rb +84 -0
- data/spec/models/flow_set_spec.rb +96 -0
- data/spec/models/flow_spec.rb +132 -0
- data/spec/models/flow_stage_binding_request_spec.rb +66 -0
- data/spec/models/flow_stage_binding_spec.rb +84 -0
- data/spec/models/footer_link_spec.rb +36 -0
- data/spec/models/frame_challenge_response_request_spec.rb +30 -0
- data/spec/models/frame_challenge_spec.rb +60 -0
- data/spec/models/generic_error_spec.rb +36 -0
- data/spec/models/geo_ip_policy_request_spec.rb +84 -0
- data/spec/models/geo_ip_policy_spec.rb +126 -0
- data/spec/models/geoip_binding_enum_spec.rb +24 -0
- data/spec/models/global_task_status_spec.rb +84 -0
- data/spec/models/google_endpoint_device_request_spec.rb +36 -0
- data/spec/models/google_endpoint_device_spec.rb +36 -0
- data/spec/models/google_workspace_provider_group_request_spec.rb +42 -0
- data/spec/models/google_workspace_provider_group_spec.rb +60 -0
- data/spec/models/google_workspace_provider_mapping_request_spec.rb +42 -0
- data/spec/models/google_workspace_provider_mapping_spec.rb +72 -0
- data/spec/models/google_workspace_provider_request_spec.rb +108 -0
- data/spec/models/google_workspace_provider_spec.rb +150 -0
- data/spec/models/google_workspace_provider_user_request_spec.rb +42 -0
- data/spec/models/google_workspace_provider_user_spec.rb +60 -0
- data/spec/models/group_kerberos_source_connection_request_spec.rb +42 -0
- data/spec/models/group_kerberos_source_connection_spec.rb +66 -0
- data/spec/models/group_ldap_source_connection_request_spec.rb +42 -0
- data/spec/models/group_ldap_source_connection_spec.rb +66 -0
- data/spec/models/group_matching_mode_enum_spec.rb +24 -0
- data/spec/models/group_o_auth_source_connection_request_spec.rb +42 -0
- data/spec/models/group_o_auth_source_connection_spec.rb +66 -0
- data/spec/models/group_plex_source_connection_request_spec.rb +42 -0
- data/spec/models/group_plex_source_connection_spec.rb +66 -0
- data/spec/models/group_request_spec.rb +60 -0
- data/spec/models/group_saml_source_connection_request_spec.rb +42 -0
- data/spec/models/group_saml_source_connection_spec.rb +66 -0
- data/spec/models/group_source_connection_request_spec.rb +42 -0
- data/spec/models/group_source_connection_spec.rb +66 -0
- data/spec/models/group_spec.rb +108 -0
- data/spec/models/group_telegram_source_connection_request_spec.rb +42 -0
- data/spec/models/group_telegram_source_connection_spec.rb +66 -0
- data/spec/models/hardware_request_spec.rb +60 -0
- data/spec/models/hardware_spec.rb +60 -0
- data/spec/models/identification_challenge_response_request_spec.rb +54 -0
- data/spec/models/identification_challenge_spec.rb +126 -0
- data/spec/models/identification_stage_request_spec.rb +108 -0
- data/spec/models/identification_stage_spec.rb +144 -0
- data/spec/models/iframe_logout_challenge_response_request_spec.rb +30 -0
- data/spec/models/iframe_logout_challenge_spec.rb +48 -0
- data/spec/models/impersonation_request_spec.rb +30 -0
- data/spec/models/initial_permissions_request_spec.rb +42 -0
- data/spec/models/initial_permissions_spec.rb +54 -0
- data/spec/models/install_id_spec.rb +30 -0
- data/spec/models/intent_enum_spec.rb +24 -0
- data/spec/models/invalid_response_action_enum_spec.rb +24 -0
- data/spec/models/invitation_request_spec.rb +54 -0
- data/spec/models/invitation_spec.rb +72 -0
- data/spec/models/invitation_stage_request_spec.rb +36 -0
- data/spec/models/invitation_stage_spec.rb +72 -0
- data/spec/models/issuer_mode_enum_spec.rb +24 -0
- data/spec/models/kadmin_type_enum_spec.rb +24 -0
- data/spec/models/kerberos_source_property_mapping_request_spec.rb +42 -0
- data/spec/models/kerberos_source_property_mapping_spec.rb +72 -0
- data/spec/models/kerberos_source_request_spec.rb +186 -0
- data/spec/models/kerberos_source_spec.rb +222 -0
- data/spec/models/key_type_enum_spec.rb +24 -0
- data/spec/models/kubernetes_service_connection_request_spec.rb +48 -0
- data/spec/models/kubernetes_service_connection_spec.rb +78 -0
- data/spec/models/last_task_status_enum_spec.rb +24 -0
- data/spec/models/ldap_check_access_spec.rb +36 -0
- data/spec/models/ldap_debug_spec.rb +42 -0
- data/spec/models/ldap_outpost_config_spec.rb +102 -0
- data/spec/models/ldap_provider_request_spec.rb +102 -0
- data/spec/models/ldap_provider_spec.rb +162 -0
- data/spec/models/ldap_source_property_mapping_request_spec.rb +42 -0
- data/spec/models/ldap_source_property_mapping_spec.rb +72 -0
- data/spec/models/ldap_source_request_spec.rb +234 -0
- data/spec/models/ldap_source_spec.rb +282 -0
- data/spec/models/ldapapi_access_mode_spec.rb +24 -0
- data/spec/models/license_flags_enum_spec.rb +24 -0
- data/spec/models/license_forecast_spec.rb +48 -0
- data/spec/models/license_request_spec.rb +30 -0
- data/spec/models/license_spec.rb +60 -0
- data/spec/models/license_status_enum_spec.rb +24 -0
- data/spec/models/license_summary_spec.rb +54 -0
- data/spec/models/license_summary_status_enum_spec.rb +24 -0
- data/spec/models/link_spec.rb +30 -0
- data/spec/models/log_event_spec.rb +54 -0
- data/spec/models/log_level_enum_spec.rb +24 -0
- data/spec/models/login_challenge_types_spec.rb +38 -0
- data/spec/models/login_source_spec.rb +48 -0
- data/spec/models/matching_mode_enum_spec.rb +24 -0
- data/spec/models/mdm_config_request_spec.rb +36 -0
- data/spec/models/mdm_config_response_spec.rb +42 -0
- data/spec/models/metadata_spec.rb +36 -0
- data/spec/models/microsoft_entra_provider_group_request_spec.rb +42 -0
- data/spec/models/microsoft_entra_provider_group_spec.rb +60 -0
- data/spec/models/microsoft_entra_provider_mapping_request_spec.rb +42 -0
- data/spec/models/microsoft_entra_provider_mapping_spec.rb +72 -0
- data/spec/models/microsoft_entra_provider_request_spec.rb +102 -0
- data/spec/models/microsoft_entra_provider_spec.rb +144 -0
- data/spec/models/microsoft_entra_provider_user_request_spec.rb +42 -0
- data/spec/models/microsoft_entra_provider_user_spec.rb +60 -0
- data/spec/models/model_enum_spec.rb +24 -0
- data/spec/models/model_request_spec.rb +38 -0
- data/spec/models/mutual_tls_stage_request_spec.rb +54 -0
- data/spec/models/mutual_tls_stage_spec.rb +90 -0
- data/spec/models/native_logout_challenge_response_request_spec.rb +30 -0
- data/spec/models/native_logout_challenge_spec.rb +84 -0
- data/spec/models/network_binding_enum_spec.rb +24 -0
- data/spec/models/network_interface_request_spec.rb +48 -0
- data/spec/models/network_interface_spec.rb +48 -0
- data/spec/models/network_request_spec.rb +48 -0
- data/spec/models/network_spec.rb +48 -0
- data/spec/models/not_configured_action_enum_spec.rb +24 -0
- data/spec/models/notification_request_spec.rb +48 -0
- data/spec/models/notification_rule_request_spec.rb +54 -0
- data/spec/models/notification_rule_spec.rb +66 -0
- data/spec/models/notification_spec.rb +72 -0
- data/spec/models/notification_transport_mode_enum_spec.rb +24 -0
- data/spec/models/notification_transport_request_spec.rb +72 -0
- data/spec/models/notification_transport_spec.rb +84 -0
- data/spec/models/notification_transport_test_spec.rb +30 -0
- data/spec/models/notification_webhook_mapping_request_spec.rb +36 -0
- data/spec/models/notification_webhook_mapping_spec.rb +42 -0
- data/spec/models/o_auth2_provider_logout_method_enum_spec.rb +24 -0
- data/spec/models/o_auth2_provider_request_spec.rb +156 -0
- data/spec/models/o_auth2_provider_setup_urls_spec.rb +66 -0
- data/spec/models/o_auth2_provider_spec.rb +210 -0
- data/spec/models/o_auth_device_code_challenge_response_request_spec.rb +36 -0
- data/spec/models/o_auth_device_code_challenge_spec.rb +42 -0
- data/spec/models/o_auth_device_code_finish_challenge_response_request_spec.rb +30 -0
- data/spec/models/o_auth_device_code_finish_challenge_spec.rb +42 -0
- data/spec/models/o_auth_source_property_mapping_request_spec.rb +42 -0
- data/spec/models/o_auth_source_property_mapping_spec.rb +72 -0
- data/spec/models/o_auth_source_request_spec.rb +180 -0
- data/spec/models/o_auth_source_spec.rb +234 -0
- data/spec/models/open_id_connect_configuration_spec.rb +90 -0
- data/spec/models/operating_system_request_spec.rb +48 -0
- data/spec/models/operating_system_spec.rb +48 -0
- data/spec/models/outgoing_sync_delete_action_spec.rb +24 -0
- data/spec/models/outpost_default_config_spec.rb +30 -0
- data/spec/models/outpost_health_spec.rb +96 -0
- data/spec/models/outpost_request_spec.rb +60 -0
- data/spec/models/outpost_spec.rb +90 -0
- data/spec/models/outpost_type_enum_spec.rb +24 -0
- data/spec/models/paginated_agent_connector_list_spec.rb +42 -0
- data/spec/models/paginated_application_entitlement_list_spec.rb +42 -0
- data/spec/models/paginated_application_list_spec.rb +42 -0
- data/spec/models/paginated_authenticated_session_list_spec.rb +42 -0
- data/spec/models/paginated_authenticator_duo_stage_list_spec.rb +42 -0
- data/spec/models/paginated_authenticator_email_stage_list_spec.rb +42 -0
- data/spec/models/paginated_authenticator_endpoint_gdtc_stage_list_spec.rb +42 -0
- data/spec/models/paginated_authenticator_sms_stage_list_spec.rb +42 -0
- data/spec/models/paginated_authenticator_static_stage_list_spec.rb +42 -0
- data/spec/models/paginated_authenticator_totp_stage_list_spec.rb +42 -0
- data/spec/models/paginated_authenticator_validate_stage_list_spec.rb +42 -0
- data/spec/models/paginated_authenticator_web_authn_stage_list_spec.rb +42 -0
- data/spec/models/paginated_blueprint_instance_list_spec.rb +42 -0
- data/spec/models/paginated_brand_list_spec.rb +42 -0
- data/spec/models/paginated_captcha_stage_list_spec.rb +42 -0
- data/spec/models/paginated_certificate_key_pair_list_spec.rb +42 -0
- data/spec/models/paginated_connection_token_list_spec.rb +42 -0
- data/spec/models/paginated_connector_list_spec.rb +42 -0
- data/spec/models/paginated_consent_stage_list_spec.rb +42 -0
- data/spec/models/paginated_data_export_list_spec.rb +42 -0
- data/spec/models/paginated_deny_stage_list_spec.rb +42 -0
- data/spec/models/paginated_device_access_group_list_spec.rb +42 -0
- data/spec/models/paginated_device_user_binding_list_spec.rb +42 -0
- data/spec/models/paginated_docker_service_connection_list_spec.rb +42 -0
- data/spec/models/paginated_domain_list_spec.rb +42 -0
- data/spec/models/paginated_dummy_policy_list_spec.rb +42 -0
- data/spec/models/paginated_dummy_stage_list_spec.rb +42 -0
- data/spec/models/paginated_duo_device_list_spec.rb +42 -0
- data/spec/models/paginated_email_device_list_spec.rb +42 -0
- data/spec/models/paginated_email_stage_list_spec.rb +42 -0
- data/spec/models/paginated_endpoint_device_list_spec.rb +42 -0
- data/spec/models/paginated_endpoint_list_spec.rb +42 -0
- data/spec/models/paginated_endpoint_stage_list_spec.rb +42 -0
- data/spec/models/paginated_enrollment_token_list_spec.rb +42 -0
- data/spec/models/paginated_event_list_spec.rb +42 -0
- data/spec/models/paginated_event_matcher_policy_list_spec.rb +42 -0
- data/spec/models/paginated_expiring_base_grant_model_list_spec.rb +42 -0
- data/spec/models/paginated_expression_policy_list_spec.rb +42 -0
- data/spec/models/paginated_extra_role_object_permission_list_spec.rb +36 -0
- data/spec/models/paginated_flow_list_spec.rb +42 -0
- data/spec/models/paginated_flow_stage_binding_list_spec.rb +42 -0
- data/spec/models/paginated_geo_ip_policy_list_spec.rb +42 -0
- data/spec/models/paginated_google_endpoint_device_list_spec.rb +42 -0
- data/spec/models/paginated_google_workspace_provider_group_list_spec.rb +42 -0
- data/spec/models/paginated_google_workspace_provider_list_spec.rb +42 -0
- data/spec/models/paginated_google_workspace_provider_mapping_list_spec.rb +42 -0
- data/spec/models/paginated_google_workspace_provider_user_list_spec.rb +42 -0
- data/spec/models/paginated_group_kerberos_source_connection_list_spec.rb +42 -0
- data/spec/models/paginated_group_ldap_source_connection_list_spec.rb +42 -0
- data/spec/models/paginated_group_list_spec.rb +42 -0
- data/spec/models/paginated_group_o_auth_source_connection_list_spec.rb +42 -0
- data/spec/models/paginated_group_plex_source_connection_list_spec.rb +42 -0
- data/spec/models/paginated_group_saml_source_connection_list_spec.rb +42 -0
- data/spec/models/paginated_group_source_connection_list_spec.rb +42 -0
- data/spec/models/paginated_group_telegram_source_connection_list_spec.rb +42 -0
- data/spec/models/paginated_identification_stage_list_spec.rb +42 -0
- data/spec/models/paginated_initial_permissions_list_spec.rb +42 -0
- data/spec/models/paginated_invitation_list_spec.rb +42 -0
- data/spec/models/paginated_invitation_stage_list_spec.rb +42 -0
- data/spec/models/paginated_kerberos_source_list_spec.rb +42 -0
- data/spec/models/paginated_kerberos_source_property_mapping_list_spec.rb +42 -0
- data/spec/models/paginated_kubernetes_service_connection_list_spec.rb +42 -0
- data/spec/models/paginated_ldap_outpost_config_list_spec.rb +42 -0
- data/spec/models/paginated_ldap_provider_list_spec.rb +42 -0
- data/spec/models/paginated_ldap_source_list_spec.rb +42 -0
- data/spec/models/paginated_ldap_source_property_mapping_list_spec.rb +42 -0
- data/spec/models/paginated_license_list_spec.rb +42 -0
- data/spec/models/paginated_microsoft_entra_provider_group_list_spec.rb +42 -0
- data/spec/models/paginated_microsoft_entra_provider_list_spec.rb +42 -0
- data/spec/models/paginated_microsoft_entra_provider_mapping_list_spec.rb +42 -0
- data/spec/models/paginated_microsoft_entra_provider_user_list_spec.rb +42 -0
- data/spec/models/paginated_mutual_tls_stage_list_spec.rb +42 -0
- data/spec/models/paginated_notification_list_spec.rb +42 -0
- data/spec/models/paginated_notification_rule_list_spec.rb +42 -0
- data/spec/models/paginated_notification_transport_list_spec.rb +42 -0
- data/spec/models/paginated_notification_webhook_mapping_list_spec.rb +42 -0
- data/spec/models/paginated_o_auth2_provider_list_spec.rb +42 -0
- data/spec/models/paginated_o_auth_source_list_spec.rb +42 -0
- data/spec/models/paginated_o_auth_source_property_mapping_list_spec.rb +42 -0
- data/spec/models/paginated_outpost_list_spec.rb +42 -0
- data/spec/models/paginated_password_expiry_policy_list_spec.rb +42 -0
- data/spec/models/paginated_password_policy_list_spec.rb +42 -0
- data/spec/models/paginated_password_stage_list_spec.rb +42 -0
- data/spec/models/paginated_permission_list_spec.rb +42 -0
- data/spec/models/paginated_plex_source_list_spec.rb +42 -0
- data/spec/models/paginated_plex_source_property_mapping_list_spec.rb +42 -0
- data/spec/models/paginated_policy_binding_list_spec.rb +42 -0
- data/spec/models/paginated_policy_list_spec.rb +42 -0
- data/spec/models/paginated_prompt_list_spec.rb +42 -0
- data/spec/models/paginated_prompt_stage_list_spec.rb +42 -0
- data/spec/models/paginated_property_mapping_list_spec.rb +42 -0
- data/spec/models/paginated_provider_list_spec.rb +42 -0
- data/spec/models/paginated_proxy_outpost_config_list_spec.rb +42 -0
- data/spec/models/paginated_proxy_provider_list_spec.rb +42 -0
- data/spec/models/paginated_rac_property_mapping_list_spec.rb +42 -0
- data/spec/models/paginated_rac_provider_list_spec.rb +42 -0
- data/spec/models/paginated_radius_outpost_config_list_spec.rb +42 -0
- data/spec/models/paginated_radius_provider_list_spec.rb +42 -0
- data/spec/models/paginated_radius_provider_property_mapping_list_spec.rb +42 -0
- data/spec/models/paginated_redirect_stage_list_spec.rb +42 -0
- data/spec/models/paginated_reputation_list_spec.rb +42 -0
- data/spec/models/paginated_reputation_policy_list_spec.rb +42 -0
- data/spec/models/paginated_role_assigned_object_permission_list_spec.rb +42 -0
- data/spec/models/paginated_role_list_spec.rb +42 -0
- data/spec/models/paginated_saml_property_mapping_list_spec.rb +42 -0
- data/spec/models/paginated_saml_provider_list_spec.rb +42 -0
- data/spec/models/paginated_saml_source_list_spec.rb +42 -0
- data/spec/models/paginated_saml_source_property_mapping_list_spec.rb +42 -0
- data/spec/models/paginated_schedule_list_spec.rb +42 -0
- data/spec/models/paginated_scim_mapping_list_spec.rb +42 -0
- data/spec/models/paginated_scim_provider_group_list_spec.rb +42 -0
- data/spec/models/paginated_scim_provider_list_spec.rb +42 -0
- data/spec/models/paginated_scim_provider_user_list_spec.rb +42 -0
- data/spec/models/paginated_scim_source_group_list_spec.rb +42 -0
- data/spec/models/paginated_scim_source_list_spec.rb +42 -0
- data/spec/models/paginated_scim_source_property_mapping_list_spec.rb +42 -0
- data/spec/models/paginated_scim_source_user_list_spec.rb +42 -0
- data/spec/models/paginated_scope_mapping_list_spec.rb +42 -0
- data/spec/models/paginated_service_connection_list_spec.rb +42 -0
- data/spec/models/paginated_sms_device_list_spec.rb +42 -0
- data/spec/models/paginated_source_list_spec.rb +42 -0
- data/spec/models/paginated_source_stage_list_spec.rb +42 -0
- data/spec/models/paginated_ssf_provider_list_spec.rb +42 -0
- data/spec/models/paginated_ssf_stream_list_spec.rb +42 -0
- data/spec/models/paginated_stage_list_spec.rb +42 -0
- data/spec/models/paginated_static_device_list_spec.rb +42 -0
- data/spec/models/paginated_task_list_spec.rb +42 -0
- data/spec/models/paginated_telegram_source_list_spec.rb +42 -0
- data/spec/models/paginated_telegram_source_property_mapping_list_spec.rb +42 -0
- data/spec/models/paginated_tenant_list_spec.rb +42 -0
- data/spec/models/paginated_token_list_spec.rb +42 -0
- data/spec/models/paginated_token_model_list_spec.rb +42 -0
- data/spec/models/paginated_totp_device_list_spec.rb +42 -0
- data/spec/models/paginated_unique_password_policy_list_spec.rb +42 -0
- data/spec/models/paginated_user_consent_list_spec.rb +42 -0
- data/spec/models/paginated_user_delete_stage_list_spec.rb +42 -0
- data/spec/models/paginated_user_kerberos_source_connection_list_spec.rb +42 -0
- data/spec/models/paginated_user_ldap_source_connection_list_spec.rb +42 -0
- data/spec/models/paginated_user_list_spec.rb +42 -0
- data/spec/models/paginated_user_login_stage_list_spec.rb +42 -0
- data/spec/models/paginated_user_logout_stage_list_spec.rb +42 -0
- data/spec/models/paginated_user_o_auth_source_connection_list_spec.rb +42 -0
- data/spec/models/paginated_user_plex_source_connection_list_spec.rb +42 -0
- data/spec/models/paginated_user_saml_source_connection_list_spec.rb +42 -0
- data/spec/models/paginated_user_source_connection_list_spec.rb +42 -0
- data/spec/models/paginated_user_telegram_source_connection_list_spec.rb +42 -0
- data/spec/models/paginated_user_write_stage_list_spec.rb +42 -0
- data/spec/models/paginated_web_authn_device_list_spec.rb +42 -0
- data/spec/models/paginated_web_authn_device_type_list_spec.rb +42 -0
- data/spec/models/pagination_spec.rb +66 -0
- data/spec/models/partial_group_spec.rb +54 -0
- data/spec/models/partial_user_spec.rb +72 -0
- data/spec/models/password_challenge_response_request_spec.rb +36 -0
- data/spec/models/password_challenge_spec.rb +66 -0
- data/spec/models/password_expiry_policy_request_spec.rb +48 -0
- data/spec/models/password_expiry_policy_spec.rb +84 -0
- data/spec/models/password_policy_request_spec.rb +114 -0
- data/spec/models/password_policy_spec.rb +150 -0
- data/spec/models/password_stage_request_spec.rb +54 -0
- data/spec/models/password_stage_spec.rb +90 -0
- data/spec/models/patched_agent_connector_request_spec.rb +108 -0
- data/spec/models/patched_application_entitlement_request_spec.rb +42 -0
- data/spec/models/patched_application_request_spec.rb +90 -0
- data/spec/models/patched_authenticator_duo_stage_request_spec.rb +72 -0
- data/spec/models/patched_authenticator_email_stage_request_spec.rb +114 -0
- data/spec/models/patched_authenticator_endpoint_gdtc_stage_request_spec.rb +48 -0
- data/spec/models/patched_authenticator_sms_stage_request_spec.rb +90 -0
- data/spec/models/patched_authenticator_static_stage_request_spec.rb +54 -0
- data/spec/models/patched_authenticator_totp_stage_request_spec.rb +48 -0
- data/spec/models/patched_authenticator_validate_stage_request_spec.rb +66 -0
- data/spec/models/patched_authenticator_web_authn_stage_request_spec.rb +72 -0
- data/spec/models/patched_blueprint_instance_request_spec.rb +54 -0
- data/spec/models/patched_brand_request_spec.rb +126 -0
- data/spec/models/patched_captcha_stage_request_spec.rb +78 -0
- data/spec/models/patched_certificate_key_pair_request_spec.rb +42 -0
- data/spec/models/patched_connection_token_request_spec.rb +42 -0
- data/spec/models/patched_consent_stage_request_spec.rb +42 -0
- data/spec/models/patched_deny_stage_request_spec.rb +36 -0
- data/spec/models/patched_device_access_group_request_spec.rb +30 -0
- data/spec/models/patched_device_user_binding_request_spec.rb +84 -0
- data/spec/models/patched_docker_service_connection_request_spec.rb +54 -0
- data/spec/models/patched_domain_request_spec.rb +42 -0
- data/spec/models/patched_dummy_policy_request_spec.rb +54 -0
- data/spec/models/patched_dummy_stage_request_spec.rb +36 -0
- data/spec/models/patched_duo_device_request_spec.rb +30 -0
- data/spec/models/patched_email_device_request_spec.rb +30 -0
- data/spec/models/patched_email_stage_request_spec.rb +120 -0
- data/spec/models/patched_endpoint_device_request_spec.rb +66 -0
- data/spec/models/patched_endpoint_request_spec.rb +72 -0
- data/spec/models/patched_endpoint_stage_request_spec.rb +42 -0
- data/spec/models/patched_enrollment_token_request_spec.rb +54 -0
- data/spec/models/patched_event_matcher_policy_request_spec.rb +60 -0
- data/spec/models/patched_event_request_spec.rb +66 -0
- data/spec/models/patched_expression_policy_request_spec.rb +42 -0
- data/spec/models/patched_flow_request_spec.rb +84 -0
- data/spec/models/patched_flow_stage_binding_request_spec.rb +66 -0
- data/spec/models/patched_geo_ip_policy_request_spec.rb +84 -0
- data/spec/models/patched_google_endpoint_device_request_spec.rb +36 -0
- data/spec/models/patched_google_workspace_provider_mapping_request_spec.rb +42 -0
- data/spec/models/patched_google_workspace_provider_request_spec.rb +108 -0
- data/spec/models/patched_group_kerberos_source_connection_request_spec.rb +42 -0
- data/spec/models/patched_group_ldap_source_connection_request_spec.rb +42 -0
- data/spec/models/patched_group_o_auth_source_connection_request_spec.rb +42 -0
- data/spec/models/patched_group_plex_source_connection_request_spec.rb +42 -0
- data/spec/models/patched_group_request_spec.rb +60 -0
- data/spec/models/patched_group_saml_source_connection_request_spec.rb +42 -0
- data/spec/models/patched_group_source_connection_request_spec.rb +42 -0
- data/spec/models/patched_group_telegram_source_connection_request_spec.rb +42 -0
- data/spec/models/patched_identification_stage_request_spec.rb +108 -0
- data/spec/models/patched_initial_permissions_request_spec.rb +42 -0
- data/spec/models/patched_invitation_request_spec.rb +54 -0
- data/spec/models/patched_invitation_stage_request_spec.rb +36 -0
- data/spec/models/patched_kerberos_source_property_mapping_request_spec.rb +42 -0
- data/spec/models/patched_kerberos_source_request_spec.rb +186 -0
- data/spec/models/patched_kubernetes_service_connection_request_spec.rb +48 -0
- data/spec/models/patched_ldap_provider_request_spec.rb +102 -0
- data/spec/models/patched_ldap_source_property_mapping_request_spec.rb +42 -0
- data/spec/models/patched_ldap_source_request_spec.rb +234 -0
- data/spec/models/patched_license_request_spec.rb +30 -0
- data/spec/models/patched_microsoft_entra_provider_mapping_request_spec.rb +42 -0
- data/spec/models/patched_microsoft_entra_provider_request_spec.rb +102 -0
- data/spec/models/patched_mutual_tls_stage_request_spec.rb +54 -0
- data/spec/models/patched_notification_request_spec.rb +48 -0
- data/spec/models/patched_notification_rule_request_spec.rb +54 -0
- data/spec/models/patched_notification_transport_request_spec.rb +72 -0
- data/spec/models/patched_notification_webhook_mapping_request_spec.rb +36 -0
- data/spec/models/patched_o_auth2_provider_request_spec.rb +156 -0
- data/spec/models/patched_o_auth_source_property_mapping_request_spec.rb +42 -0
- data/spec/models/patched_o_auth_source_request_spec.rb +180 -0
- data/spec/models/patched_outpost_request_spec.rb +60 -0
- data/spec/models/patched_password_expiry_policy_request_spec.rb +48 -0
- data/spec/models/patched_password_policy_request_spec.rb +114 -0
- data/spec/models/patched_password_stage_request_spec.rb +54 -0
- data/spec/models/patched_permission_assign_request_spec.rb +42 -0
- data/spec/models/patched_plex_source_property_mapping_request_spec.rb +42 -0
- data/spec/models/patched_plex_source_request_spec.rb +126 -0
- data/spec/models/patched_policy_binding_request_spec.rb +78 -0
- data/spec/models/patched_prompt_request_spec.rb +90 -0
- data/spec/models/patched_prompt_stage_request_spec.rb +42 -0
- data/spec/models/patched_proxy_provider_request_spec.rb +144 -0
- data/spec/models/patched_rac_property_mapping_request_spec.rb +48 -0
- data/spec/models/patched_rac_provider_request_spec.rb +66 -0
- data/spec/models/patched_radius_provider_property_mapping_request_spec.rb +42 -0
- data/spec/models/patched_radius_provider_request_spec.rb +78 -0
- data/spec/models/patched_redirect_stage_request_spec.rb +54 -0
- data/spec/models/patched_reputation_policy_request_spec.rb +54 -0
- data/spec/models/patched_role_request_spec.rb +30 -0
- data/spec/models/patched_saml_property_mapping_request_spec.rb +54 -0
- data/spec/models/patched_saml_provider_request_spec.rb +186 -0
- data/spec/models/patched_saml_source_property_mapping_request_spec.rb +42 -0
- data/spec/models/patched_saml_source_request_spec.rb +192 -0
- data/spec/models/patched_schedule_request_spec.rb +42 -0
- data/spec/models/patched_scim_mapping_request_spec.rb +42 -0
- data/spec/models/patched_scim_provider_request_spec.rb +120 -0
- data/spec/models/patched_scim_source_group_request_spec.rb +54 -0
- data/spec/models/patched_scim_source_property_mapping_request_spec.rb +42 -0
- data/spec/models/patched_scim_source_request_spec.rb +60 -0
- data/spec/models/patched_scim_source_user_request_spec.rb +54 -0
- data/spec/models/patched_scope_mapping_request_spec.rb +54 -0
- data/spec/models/patched_settings_request_flags_spec.rb +36 -0
- data/spec/models/patched_settings_request_spec.rb +120 -0
- data/spec/models/patched_sms_device_request_spec.rb +30 -0
- data/spec/models/patched_source_stage_request_spec.rb +42 -0
- data/spec/models/patched_ssf_provider_request_spec.rb +48 -0
- data/spec/models/patched_static_device_request_spec.rb +30 -0
- data/spec/models/patched_telegram_source_property_mapping_request_spec.rb +42 -0
- data/spec/models/patched_telegram_source_request_spec.rb +120 -0
- data/spec/models/patched_tenant_request_spec.rb +42 -0
- data/spec/models/patched_token_request_spec.rb +66 -0
- data/spec/models/patched_totp_device_request_spec.rb +30 -0
- data/spec/models/patched_unique_password_policy_request_spec.rb +48 -0
- data/spec/models/patched_user_delete_stage_request_spec.rb +30 -0
- data/spec/models/patched_user_kerberos_source_connection_request_spec.rb +42 -0
- data/spec/models/patched_user_ldap_source_connection_request_spec.rb +42 -0
- data/spec/models/patched_user_login_stage_request_spec.rb +66 -0
- data/spec/models/patched_user_logout_stage_request_spec.rb +30 -0
- data/spec/models/patched_user_o_auth_source_connection_request_spec.rb +54 -0
- data/spec/models/patched_user_plex_source_connection_request_spec.rb +48 -0
- data/spec/models/patched_user_request_spec.rb +84 -0
- data/spec/models/patched_user_saml_source_connection_request_spec.rb +42 -0
- data/spec/models/patched_user_source_connection_request_spec.rb +42 -0
- data/spec/models/patched_user_telegram_source_connection_request_spec.rb +42 -0
- data/spec/models/patched_user_write_stage_request_spec.rb +60 -0
- data/spec/models/patched_web_authn_device_request_spec.rb +30 -0
- data/spec/models/permission_assign_request_spec.rb +42 -0
- data/spec/models/permission_assign_result_spec.rb +30 -0
- data/spec/models/permission_spec.rb +66 -0
- data/spec/models/pkce_method_enum_spec.rb +24 -0
- data/spec/models/plex_authentication_challenge_response_request_spec.rb +30 -0
- data/spec/models/plex_authentication_challenge_spec.rb +54 -0
- data/spec/models/plex_source_property_mapping_request_spec.rb +42 -0
- data/spec/models/plex_source_property_mapping_spec.rb +72 -0
- data/spec/models/plex_source_request_spec.rb +126 -0
- data/spec/models/plex_source_spec.rb +174 -0
- data/spec/models/plex_token_redeem_request_spec.rb +30 -0
- data/spec/models/policy_binding_request_spec.rb +78 -0
- data/spec/models/policy_binding_spec.rb +102 -0
- data/spec/models/policy_engine_mode_spec.rb +24 -0
- data/spec/models/policy_spec.rb +72 -0
- data/spec/models/policy_test_request_spec.rb +36 -0
- data/spec/models/policy_test_result_spec.rb +42 -0
- data/spec/models/process_request_spec.rb +42 -0
- data/spec/models/process_spec.rb +42 -0
- data/spec/models/prompt_challenge_response_request_spec.rb +30 -0
- data/spec/models/prompt_challenge_spec.rb +48 -0
- data/spec/models/prompt_choice_spec.rb +36 -0
- data/spec/models/prompt_request_spec.rb +90 -0
- data/spec/models/prompt_spec.rb +102 -0
- data/spec/models/prompt_stage_request_spec.rb +42 -0
- data/spec/models/prompt_stage_spec.rb +78 -0
- data/spec/models/prompt_type_enum_spec.rb +24 -0
- data/spec/models/property_mapping_preview_spec.rb +30 -0
- data/spec/models/property_mapping_spec.rb +72 -0
- data/spec/models/property_mapping_test_request_spec.rb +42 -0
- data/spec/models/property_mapping_test_result_spec.rb +36 -0
- data/spec/models/protocol_enum_spec.rb +24 -0
- data/spec/models/provider_enum_spec.rb +24 -0
- data/spec/models/provider_model_enum_spec.rb +24 -0
- data/spec/models/provider_spec.rb +108 -0
- data/spec/models/provider_type_enum_spec.rb +24 -0
- data/spec/models/proxy_mode_spec.rb +24 -0
- data/spec/models/proxy_outpost_config_spec.rb +150 -0
- data/spec/models/proxy_provider_request_spec.rb +144 -0
- data/spec/models/proxy_provider_spec.rb +216 -0
- data/spec/models/rac_property_mapping_request_spec.rb +48 -0
- data/spec/models/rac_property_mapping_spec.rb +78 -0
- data/spec/models/rac_provider_request_spec.rb +66 -0
- data/spec/models/rac_provider_spec.rb +126 -0
- data/spec/models/radius_check_access_spec.rb +36 -0
- data/spec/models/radius_outpost_config_spec.rb +72 -0
- data/spec/models/radius_provider_property_mapping_request_spec.rb +42 -0
- data/spec/models/radius_provider_property_mapping_spec.rb +72 -0
- data/spec/models/radius_provider_request_spec.rb +78 -0
- data/spec/models/radius_provider_spec.rb +138 -0
- data/spec/models/redirect_challenge_response_request_spec.rb +36 -0
- data/spec/models/redirect_challenge_spec.rb +48 -0
- data/spec/models/redirect_stage_mode_enum_spec.rb +24 -0
- data/spec/models/redirect_stage_request_spec.rb +54 -0
- data/spec/models/redirect_stage_spec.rb +90 -0
- data/spec/models/redirect_uri_request_spec.rb +36 -0
- data/spec/models/redirect_uri_spec.rb +36 -0
- data/spec/models/related_group_spec.rb +54 -0
- data/spec/models/reputation_policy_request_spec.rb +54 -0
- data/spec/models/reputation_policy_spec.rb +90 -0
- data/spec/models/reputation_spec.rb +66 -0
- data/spec/models/resident_key_requirement_enum_spec.rb +24 -0
- data/spec/models/role_assigned_object_permission_spec.rb +48 -0
- data/spec/models/role_model_permission_spec.rb +54 -0
- data/spec/models/role_object_permission_spec.rb +60 -0
- data/spec/models/role_request_spec.rb +30 -0
- data/spec/models/role_spec.rb +36 -0
- data/spec/models/saml_bindings_enum_spec.rb +24 -0
- data/spec/models/saml_metadata_spec.rb +36 -0
- data/spec/models/saml_name_id_policy_enum_spec.rb +24 -0
- data/spec/models/saml_property_mapping_request_spec.rb +54 -0
- data/spec/models/saml_property_mapping_spec.rb +84 -0
- data/spec/models/saml_provider_logout_method_enum_spec.rb +24 -0
- data/spec/models/saml_provider_request_spec.rb +186 -0
- data/spec/models/saml_provider_spec.rb +276 -0
- data/spec/models/saml_source_property_mapping_request_spec.rb +42 -0
- data/spec/models/saml_source_property_mapping_spec.rb +72 -0
- data/spec/models/saml_source_request_spec.rb +192 -0
- data/spec/models/saml_source_spec.rb +240 -0
- data/spec/models/schedule_request_spec.rb +42 -0
- data/spec/models/schedule_spec.rb +96 -0
- data/spec/models/scim_authentication_mode_enum_spec.rb +24 -0
- data/spec/models/scim_mapping_request_spec.rb +42 -0
- data/spec/models/scim_mapping_spec.rb +72 -0
- data/spec/models/scim_provider_group_request_spec.rb +42 -0
- data/spec/models/scim_provider_group_spec.rb +60 -0
- data/spec/models/scim_provider_request_spec.rb +120 -0
- data/spec/models/scim_provider_spec.rb +162 -0
- data/spec/models/scim_provider_user_request_spec.rb +42 -0
- data/spec/models/scim_provider_user_spec.rb +60 -0
- data/spec/models/scim_source_group_request_spec.rb +54 -0
- data/spec/models/scim_source_group_spec.rb +60 -0
- data/spec/models/scim_source_property_mapping_request_spec.rb +42 -0
- data/spec/models/scim_source_property_mapping_spec.rb +72 -0
- data/spec/models/scim_source_request_spec.rb +60 -0
- data/spec/models/scim_source_spec.rb +108 -0
- data/spec/models/scim_source_user_request_spec.rb +54 -0
- data/spec/models/scim_source_user_spec.rb +60 -0
- data/spec/models/scope_mapping_request_spec.rb +54 -0
- data/spec/models/scope_mapping_spec.rb +84 -0
- data/spec/models/selectable_stage_spec.rb +48 -0
- data/spec/models/service_connection_spec.rb +66 -0
- data/spec/models/service_connection_state_spec.rb +36 -0
- data/spec/models/session_end_challenge_spec.rb +78 -0
- data/spec/models/session_user_spec.rb +36 -0
- data/spec/models/settings_request_spec.rb +120 -0
- data/spec/models/settings_spec.rb +120 -0
- data/spec/models/severity_enum_spec.rb +24 -0
- data/spec/models/shell_challenge_spec.rb +48 -0
- data/spec/models/signature_algorithm_enum_spec.rb +24 -0
- data/spec/models/sms_device_request_spec.rb +30 -0
- data/spec/models/sms_device_spec.rb +48 -0
- data/spec/models/software_request_spec.rb +48 -0
- data/spec/models/software_spec.rb +48 -0
- data/spec/models/source_spec.rb +144 -0
- data/spec/models/source_stage_request_spec.rb +42 -0
- data/spec/models/source_stage_spec.rb +78 -0
- data/spec/models/source_type_spec.rb +78 -0
- data/spec/models/ssf_provider_request_spec.rb +48 -0
- data/spec/models/ssf_provider_spec.rb +90 -0
- data/spec/models/ssf_stream_spec.rb +78 -0
- data/spec/models/stage_mode_enum_spec.rb +24 -0
- data/spec/models/stage_prompt_spec.rb +78 -0
- data/spec/models/stage_spec.rb +66 -0
- data/spec/models/state_enum_spec.rb +24 -0
- data/spec/models/static_device_request_spec.rb +30 -0
- data/spec/models/static_device_spec.rb +48 -0
- data/spec/models/static_device_token_spec.rb +30 -0
- data/spec/models/sub_mode_enum_spec.rb +24 -0
- data/spec/models/sync_object_model_enum_spec.rb +24 -0
- data/spec/models/sync_object_request_spec.rb +42 -0
- data/spec/models/sync_object_result_spec.rb +30 -0
- data/spec/models/sync_outgoing_trigger_mode_enum_spec.rb +24 -0
- data/spec/models/sync_status_spec.rb +42 -0
- data/spec/models/system_info_runtime_spec.rb +72 -0
- data/spec/models/system_info_spec.rb +72 -0
- data/spec/models/task_aggregated_status_enum_spec.rb +24 -0
- data/spec/models/task_spec.rb +114 -0
- data/spec/models/telegram_auth_request_spec.rb +66 -0
- data/spec/models/telegram_challenge_response_request_spec.rb +72 -0
- data/spec/models/telegram_login_challenge_spec.rb +54 -0
- data/spec/models/telegram_source_property_mapping_request_spec.rb +42 -0
- data/spec/models/telegram_source_property_mapping_spec.rb +72 -0
- data/spec/models/telegram_source_request_spec.rb +120 -0
- data/spec/models/telegram_source_spec.rb +162 -0
- data/spec/models/tenant_admin_group_request_request_spec.rb +30 -0
- data/spec/models/tenant_recovery_key_request_request_spec.rb +36 -0
- data/spec/models/tenant_recovery_key_response_spec.rb +36 -0
- data/spec/models/tenant_request_spec.rb +42 -0
- data/spec/models/tenant_spec.rb +48 -0
- data/spec/models/themed_urls_spec.rb +36 -0
- data/spec/models/token_model_spec.rb +72 -0
- data/spec/models/token_request_spec.rb +66 -0
- data/spec/models/token_set_key_request_spec.rb +30 -0
- data/spec/models/token_spec.rb +78 -0
- data/spec/models/token_view_spec.rb +30 -0
- data/spec/models/totp_device_request_spec.rb +30 -0
- data/spec/models/totp_device_spec.rb +42 -0
- data/spec/models/transaction_application_request_spec.rb +48 -0
- data/spec/models/transaction_application_response_spec.rb +36 -0
- data/spec/models/transaction_policy_binding_request_spec.rb +72 -0
- data/spec/models/type_create_spec.rb +66 -0
- data/spec/models/ui_theme_enum_spec.rb +24 -0
- data/spec/models/unique_password_policy_request_spec.rb +48 -0
- data/spec/models/unique_password_policy_spec.rb +84 -0
- data/spec/models/used_by_action_enum_spec.rb +24 -0
- data/spec/models/used_by_spec.rb +54 -0
- data/spec/models/user_account_request_spec.rb +30 -0
- data/spec/models/user_account_serializer_for_role_request_spec.rb +30 -0
- data/spec/models/user_attribute_enum_spec.rb +24 -0
- data/spec/models/user_consent_spec.rb +60 -0
- data/spec/models/user_creation_mode_enum_spec.rb +24 -0
- data/spec/models/user_delete_stage_request_spec.rb +30 -0
- data/spec/models/user_delete_stage_spec.rb +66 -0
- data/spec/models/user_fields_enum_spec.rb +24 -0
- data/spec/models/user_kerberos_source_connection_request_spec.rb +42 -0
- data/spec/models/user_kerberos_source_connection_spec.rb +66 -0
- data/spec/models/user_ldap_source_connection_request_spec.rb +42 -0
- data/spec/models/user_ldap_source_connection_spec.rb +66 -0
- data/spec/models/user_login_challenge_response_request_spec.rb +36 -0
- data/spec/models/user_login_challenge_spec.rb +54 -0
- data/spec/models/user_login_stage_request_spec.rb +66 -0
- data/spec/models/user_login_stage_spec.rb +102 -0
- data/spec/models/user_logout_stage_request_spec.rb +30 -0
- data/spec/models/user_logout_stage_spec.rb +66 -0
- data/spec/models/user_matching_mode_enum_spec.rb +24 -0
- data/spec/models/user_o_auth_source_connection_request_spec.rb +54 -0
- data/spec/models/user_o_auth_source_connection_spec.rb +72 -0
- data/spec/models/user_password_set_request_spec.rb +30 -0
- data/spec/models/user_path_spec.rb +30 -0
- data/spec/models/user_plex_source_connection_request_spec.rb +48 -0
- data/spec/models/user_plex_source_connection_spec.rb +66 -0
- data/spec/models/user_request_spec.rb +84 -0
- data/spec/models/user_saml_source_connection_request_spec.rb +42 -0
- data/spec/models/user_saml_source_connection_spec.rb +66 -0
- data/spec/models/user_self_groups_spec.rb +36 -0
- data/spec/models/user_self_roles_spec.rb +36 -0
- data/spec/models/user_self_spec.rb +102 -0
- data/spec/models/user_service_account_request_spec.rb +48 -0
- data/spec/models/user_service_account_response_spec.rb +54 -0
- data/spec/models/user_setting_spec.rb +54 -0
- data/spec/models/user_source_connection_request_spec.rb +42 -0
- data/spec/models/user_source_connection_spec.rb +66 -0
- data/spec/models/user_spec.rb +144 -0
- data/spec/models/user_telegram_source_connection_request_spec.rb +42 -0
- data/spec/models/user_telegram_source_connection_spec.rb +66 -0
- data/spec/models/user_type_enum_spec.rb +24 -0
- data/spec/models/user_verification_enum_spec.rb +24 -0
- data/spec/models/user_write_stage_request_spec.rb +60 -0
- data/spec/models/user_write_stage_spec.rb +96 -0
- data/spec/models/validation_error_spec.rb +36 -0
- data/spec/models/version_history_spec.rb +48 -0
- data/spec/models/version_spec.rb +60 -0
- data/spec/models/web_authn_device_request_spec.rb +30 -0
- data/spec/models/web_authn_device_spec.rb +60 -0
- data/spec/models/web_authn_device_type_spec.rb +36 -0
- data/spec/models/worker_spec.rb +42 -0
- data/spec/spec_helper.rb +105 -0
- metadata +2705 -0
|
@@ -0,0 +1,2210 @@
|
|
|
1
|
+
=begin
|
|
2
|
+
This file is automatically generated by: https://openapi-generator.tech.
|
|
3
|
+
Any manual changes will be lost when the OpenAPI scheme changes.
|
|
4
|
+
|
|
5
|
+
=end
|
|
6
|
+
|
|
7
|
+
require 'cgi'
|
|
8
|
+
|
|
9
|
+
module Authentik::Api
|
|
10
|
+
class EventsApi
|
|
11
|
+
attr_accessor :api_client
|
|
12
|
+
|
|
13
|
+
def initialize(api_client = ApiClient.default)
|
|
14
|
+
@api_client = api_client
|
|
15
|
+
end
|
|
16
|
+
# Get all actions
|
|
17
|
+
# @param [Hash] opts the optional parameters
|
|
18
|
+
# @return [Array<TypeCreate>]
|
|
19
|
+
def events_events_actions_list(opts = {})
|
|
20
|
+
data, _status_code, _headers = events_events_actions_list_with_http_info(opts)
|
|
21
|
+
data
|
|
22
|
+
end
|
|
23
|
+
|
|
24
|
+
# Get all actions
|
|
25
|
+
# @param [Hash] opts the optional parameters
|
|
26
|
+
# @return [Array<(Array<TypeCreate>, Integer, Hash)>] Array<TypeCreate> data, response status code and response headers
|
|
27
|
+
def events_events_actions_list_with_http_info(opts = {})
|
|
28
|
+
if @api_client.config.debugging
|
|
29
|
+
@api_client.config.logger.debug 'Calling API: EventsApi.events_events_actions_list ...'
|
|
30
|
+
end
|
|
31
|
+
# resource path
|
|
32
|
+
local_var_path = '/events/events/actions/'
|
|
33
|
+
|
|
34
|
+
# query parameters
|
|
35
|
+
query_params = opts[:query_params] || {}
|
|
36
|
+
|
|
37
|
+
# header parameters
|
|
38
|
+
header_params = opts[:header_params] || {}
|
|
39
|
+
# HTTP header 'Accept' (if needed)
|
|
40
|
+
header_params['Accept'] = @api_client.select_header_accept(['application/json']) unless header_params['Accept']
|
|
41
|
+
|
|
42
|
+
# form parameters
|
|
43
|
+
form_params = opts[:form_params] || {}
|
|
44
|
+
|
|
45
|
+
# http body (model)
|
|
46
|
+
post_body = opts[:debug_body]
|
|
47
|
+
|
|
48
|
+
# return_type
|
|
49
|
+
return_type = opts[:debug_return_type] || 'Array<TypeCreate>'
|
|
50
|
+
|
|
51
|
+
# auth_names
|
|
52
|
+
auth_names = opts[:debug_auth_names] || ['authentik']
|
|
53
|
+
|
|
54
|
+
new_options = opts.merge(
|
|
55
|
+
:operation => :"EventsApi.events_events_actions_list",
|
|
56
|
+
:header_params => header_params,
|
|
57
|
+
:query_params => query_params,
|
|
58
|
+
:form_params => form_params,
|
|
59
|
+
:body => post_body,
|
|
60
|
+
:auth_names => auth_names,
|
|
61
|
+
:return_type => return_type
|
|
62
|
+
)
|
|
63
|
+
|
|
64
|
+
data, status_code, headers = @api_client.call_api(:GET, local_var_path, new_options)
|
|
65
|
+
if @api_client.config.debugging
|
|
66
|
+
@api_client.config.logger.debug "API called: EventsApi#events_events_actions_list\nData: #{data.inspect}\nStatus code: #{status_code}\nHeaders: #{headers}"
|
|
67
|
+
end
|
|
68
|
+
return data, status_code, headers
|
|
69
|
+
end
|
|
70
|
+
|
|
71
|
+
# Event Read-Only Viewset
|
|
72
|
+
# @param event_request [EventRequest]
|
|
73
|
+
# @param [Hash] opts the optional parameters
|
|
74
|
+
# @return [Event]
|
|
75
|
+
def events_events_create(event_request, opts = {})
|
|
76
|
+
data, _status_code, _headers = events_events_create_with_http_info(event_request, opts)
|
|
77
|
+
data
|
|
78
|
+
end
|
|
79
|
+
|
|
80
|
+
# Event Read-Only Viewset
|
|
81
|
+
# @param event_request [EventRequest]
|
|
82
|
+
# @param [Hash] opts the optional parameters
|
|
83
|
+
# @return [Array<(Event, Integer, Hash)>] Event data, response status code and response headers
|
|
84
|
+
def events_events_create_with_http_info(event_request, opts = {})
|
|
85
|
+
if @api_client.config.debugging
|
|
86
|
+
@api_client.config.logger.debug 'Calling API: EventsApi.events_events_create ...'
|
|
87
|
+
end
|
|
88
|
+
# verify the required parameter 'event_request' is set
|
|
89
|
+
if @api_client.config.client_side_validation && event_request.nil?
|
|
90
|
+
fail ArgumentError, "Missing the required parameter 'event_request' when calling EventsApi.events_events_create"
|
|
91
|
+
end
|
|
92
|
+
# resource path
|
|
93
|
+
local_var_path = '/events/events/'
|
|
94
|
+
|
|
95
|
+
# query parameters
|
|
96
|
+
query_params = opts[:query_params] || {}
|
|
97
|
+
|
|
98
|
+
# header parameters
|
|
99
|
+
header_params = opts[:header_params] || {}
|
|
100
|
+
# HTTP header 'Accept' (if needed)
|
|
101
|
+
header_params['Accept'] = @api_client.select_header_accept(['application/json']) unless header_params['Accept']
|
|
102
|
+
# HTTP header 'Content-Type'
|
|
103
|
+
content_type = @api_client.select_header_content_type(['application/json'])
|
|
104
|
+
if !content_type.nil?
|
|
105
|
+
header_params['Content-Type'] = content_type
|
|
106
|
+
end
|
|
107
|
+
|
|
108
|
+
# form parameters
|
|
109
|
+
form_params = opts[:form_params] || {}
|
|
110
|
+
|
|
111
|
+
# http body (model)
|
|
112
|
+
post_body = opts[:debug_body] || @api_client.object_to_http_body(event_request)
|
|
113
|
+
|
|
114
|
+
# return_type
|
|
115
|
+
return_type = opts[:debug_return_type] || 'Event'
|
|
116
|
+
|
|
117
|
+
# auth_names
|
|
118
|
+
auth_names = opts[:debug_auth_names] || ['authentik']
|
|
119
|
+
|
|
120
|
+
new_options = opts.merge(
|
|
121
|
+
:operation => :"EventsApi.events_events_create",
|
|
122
|
+
:header_params => header_params,
|
|
123
|
+
:query_params => query_params,
|
|
124
|
+
:form_params => form_params,
|
|
125
|
+
:body => post_body,
|
|
126
|
+
:auth_names => auth_names,
|
|
127
|
+
:return_type => return_type
|
|
128
|
+
)
|
|
129
|
+
|
|
130
|
+
data, status_code, headers = @api_client.call_api(:POST, local_var_path, new_options)
|
|
131
|
+
if @api_client.config.debugging
|
|
132
|
+
@api_client.config.logger.debug "API called: EventsApi#events_events_create\nData: #{data.inspect}\nStatus code: #{status_code}\nHeaders: #{headers}"
|
|
133
|
+
end
|
|
134
|
+
return data, status_code, headers
|
|
135
|
+
end
|
|
136
|
+
|
|
137
|
+
# Event Read-Only Viewset
|
|
138
|
+
# @param event_uuid [String] A UUID string identifying this Event.
|
|
139
|
+
# @param [Hash] opts the optional parameters
|
|
140
|
+
# @return [nil]
|
|
141
|
+
def events_events_destroy(event_uuid, opts = {})
|
|
142
|
+
events_events_destroy_with_http_info(event_uuid, opts)
|
|
143
|
+
nil
|
|
144
|
+
end
|
|
145
|
+
|
|
146
|
+
# Event Read-Only Viewset
|
|
147
|
+
# @param event_uuid [String] A UUID string identifying this Event.
|
|
148
|
+
# @param [Hash] opts the optional parameters
|
|
149
|
+
# @return [Array<(nil, Integer, Hash)>] nil, response status code and response headers
|
|
150
|
+
def events_events_destroy_with_http_info(event_uuid, opts = {})
|
|
151
|
+
if @api_client.config.debugging
|
|
152
|
+
@api_client.config.logger.debug 'Calling API: EventsApi.events_events_destroy ...'
|
|
153
|
+
end
|
|
154
|
+
# verify the required parameter 'event_uuid' is set
|
|
155
|
+
if @api_client.config.client_side_validation && event_uuid.nil?
|
|
156
|
+
fail ArgumentError, "Missing the required parameter 'event_uuid' when calling EventsApi.events_events_destroy"
|
|
157
|
+
end
|
|
158
|
+
# resource path
|
|
159
|
+
local_var_path = '/events/events/{event_uuid}/'.sub('{' + 'event_uuid' + '}', CGI.escape(event_uuid.to_s))
|
|
160
|
+
|
|
161
|
+
# query parameters
|
|
162
|
+
query_params = opts[:query_params] || {}
|
|
163
|
+
|
|
164
|
+
# header parameters
|
|
165
|
+
header_params = opts[:header_params] || {}
|
|
166
|
+
# HTTP header 'Accept' (if needed)
|
|
167
|
+
header_params['Accept'] = @api_client.select_header_accept(['application/json']) unless header_params['Accept']
|
|
168
|
+
|
|
169
|
+
# form parameters
|
|
170
|
+
form_params = opts[:form_params] || {}
|
|
171
|
+
|
|
172
|
+
# http body (model)
|
|
173
|
+
post_body = opts[:debug_body]
|
|
174
|
+
|
|
175
|
+
# return_type
|
|
176
|
+
return_type = opts[:debug_return_type]
|
|
177
|
+
|
|
178
|
+
# auth_names
|
|
179
|
+
auth_names = opts[:debug_auth_names] || ['authentik']
|
|
180
|
+
|
|
181
|
+
new_options = opts.merge(
|
|
182
|
+
:operation => :"EventsApi.events_events_destroy",
|
|
183
|
+
:header_params => header_params,
|
|
184
|
+
:query_params => query_params,
|
|
185
|
+
:form_params => form_params,
|
|
186
|
+
:body => post_body,
|
|
187
|
+
:auth_names => auth_names,
|
|
188
|
+
:return_type => return_type
|
|
189
|
+
)
|
|
190
|
+
|
|
191
|
+
data, status_code, headers = @api_client.call_api(:DELETE, local_var_path, new_options)
|
|
192
|
+
if @api_client.config.debugging
|
|
193
|
+
@api_client.config.logger.debug "API called: EventsApi#events_events_destroy\nData: #{data.inspect}\nStatus code: #{status_code}\nHeaders: #{headers}"
|
|
194
|
+
end
|
|
195
|
+
return data, status_code, headers
|
|
196
|
+
end
|
|
197
|
+
|
|
198
|
+
# Create a data export for this data type. Note that the export is generated asynchronously: this method returns a `DataExport` object that will initially have `completed=false` as well as the permanent URL to that object in the `Location` header. You can poll that URL until `completed=true`, at which point the `file_url` property will contain a URL to download
|
|
199
|
+
# @param [Hash] opts the optional parameters
|
|
200
|
+
# @option opts [String] :action
|
|
201
|
+
# @option opts [Array<String>] :actions
|
|
202
|
+
# @option opts [String] :brand_name Brand name
|
|
203
|
+
# @option opts [String] :client_ip
|
|
204
|
+
# @option opts [String] :context_authorized_app Context Authorized application
|
|
205
|
+
# @option opts [String] :context_model_app Context Model App
|
|
206
|
+
# @option opts [String] :context_model_name Context Model Name
|
|
207
|
+
# @option opts [String] :context_model_pk Context Model Primary Key
|
|
208
|
+
# @option opts [String] :ordering Which field to use when ordering the results.
|
|
209
|
+
# @option opts [String] :search A search term.
|
|
210
|
+
# @option opts [String] :username Username
|
|
211
|
+
# @return [DataExport]
|
|
212
|
+
def events_events_export_create(opts = {})
|
|
213
|
+
data, _status_code, _headers = events_events_export_create_with_http_info(opts)
|
|
214
|
+
data
|
|
215
|
+
end
|
|
216
|
+
|
|
217
|
+
# Create a data export for this data type. Note that the export is generated asynchronously: this method returns a `DataExport` object that will initially have `completed=false` as well as the permanent URL to that object in the `Location` header. You can poll that URL until `completed=true`, at which point the `file_url` property will contain a URL to download
|
|
218
|
+
# @param [Hash] opts the optional parameters
|
|
219
|
+
# @option opts [String] :action
|
|
220
|
+
# @option opts [Array<String>] :actions
|
|
221
|
+
# @option opts [String] :brand_name Brand name
|
|
222
|
+
# @option opts [String] :client_ip
|
|
223
|
+
# @option opts [String] :context_authorized_app Context Authorized application
|
|
224
|
+
# @option opts [String] :context_model_app Context Model App
|
|
225
|
+
# @option opts [String] :context_model_name Context Model Name
|
|
226
|
+
# @option opts [String] :context_model_pk Context Model Primary Key
|
|
227
|
+
# @option opts [String] :ordering Which field to use when ordering the results.
|
|
228
|
+
# @option opts [String] :search A search term.
|
|
229
|
+
# @option opts [String] :username Username
|
|
230
|
+
# @return [Array<(DataExport, Integer, Hash)>] DataExport data, response status code and response headers
|
|
231
|
+
def events_events_export_create_with_http_info(opts = {})
|
|
232
|
+
if @api_client.config.debugging
|
|
233
|
+
@api_client.config.logger.debug 'Calling API: EventsApi.events_events_export_create ...'
|
|
234
|
+
end
|
|
235
|
+
allowable_values = ["authorize_application", "configuration_error", "custom_", "email_sent", "export_ready", "flow_execution", "impersonation_ended", "impersonation_started", "invitation_used", "login", "login_failed", "logout", "model_created", "model_deleted", "model_updated", "password_set", "policy_exception", "policy_execution", "property_mapping_exception", "secret_rotate", "secret_view", "source_linked", "suspicious_request", "system_exception", "system_task_exception", "system_task_execution", "update_available", "user_write"]
|
|
236
|
+
if @api_client.config.client_side_validation && opts[:'actions'] && !opts[:'actions'].all? { |item| allowable_values.include?(item) }
|
|
237
|
+
fail ArgumentError, "invalid value for \"actions\", must include one of #{allowable_values}"
|
|
238
|
+
end
|
|
239
|
+
# resource path
|
|
240
|
+
local_var_path = '/events/events/export/'
|
|
241
|
+
|
|
242
|
+
# query parameters
|
|
243
|
+
query_params = opts[:query_params] || {}
|
|
244
|
+
query_params[:'action'] = opts[:'action'] if !opts[:'action'].nil?
|
|
245
|
+
query_params[:'actions'] = @api_client.build_collection_param(opts[:'actions'], :multi) if !opts[:'actions'].nil?
|
|
246
|
+
query_params[:'brand_name'] = opts[:'brand_name'] if !opts[:'brand_name'].nil?
|
|
247
|
+
query_params[:'client_ip'] = opts[:'client_ip'] if !opts[:'client_ip'].nil?
|
|
248
|
+
query_params[:'context_authorized_app'] = opts[:'context_authorized_app'] if !opts[:'context_authorized_app'].nil?
|
|
249
|
+
query_params[:'context_model_app'] = opts[:'context_model_app'] if !opts[:'context_model_app'].nil?
|
|
250
|
+
query_params[:'context_model_name'] = opts[:'context_model_name'] if !opts[:'context_model_name'].nil?
|
|
251
|
+
query_params[:'context_model_pk'] = opts[:'context_model_pk'] if !opts[:'context_model_pk'].nil?
|
|
252
|
+
query_params[:'ordering'] = opts[:'ordering'] if !opts[:'ordering'].nil?
|
|
253
|
+
query_params[:'search'] = opts[:'search'] if !opts[:'search'].nil?
|
|
254
|
+
query_params[:'username'] = opts[:'username'] if !opts[:'username'].nil?
|
|
255
|
+
|
|
256
|
+
# header parameters
|
|
257
|
+
header_params = opts[:header_params] || {}
|
|
258
|
+
# HTTP header 'Accept' (if needed)
|
|
259
|
+
header_params['Accept'] = @api_client.select_header_accept(['application/json']) unless header_params['Accept']
|
|
260
|
+
|
|
261
|
+
# form parameters
|
|
262
|
+
form_params = opts[:form_params] || {}
|
|
263
|
+
|
|
264
|
+
# http body (model)
|
|
265
|
+
post_body = opts[:debug_body]
|
|
266
|
+
|
|
267
|
+
# return_type
|
|
268
|
+
return_type = opts[:debug_return_type] || 'DataExport'
|
|
269
|
+
|
|
270
|
+
# auth_names
|
|
271
|
+
auth_names = opts[:debug_auth_names] || ['authentik']
|
|
272
|
+
|
|
273
|
+
new_options = opts.merge(
|
|
274
|
+
:operation => :"EventsApi.events_events_export_create",
|
|
275
|
+
:header_params => header_params,
|
|
276
|
+
:query_params => query_params,
|
|
277
|
+
:form_params => form_params,
|
|
278
|
+
:body => post_body,
|
|
279
|
+
:auth_names => auth_names,
|
|
280
|
+
:return_type => return_type
|
|
281
|
+
)
|
|
282
|
+
|
|
283
|
+
data, status_code, headers = @api_client.call_api(:POST, local_var_path, new_options)
|
|
284
|
+
if @api_client.config.debugging
|
|
285
|
+
@api_client.config.logger.debug "API called: EventsApi#events_events_export_create\nData: #{data.inspect}\nStatus code: #{status_code}\nHeaders: #{headers}"
|
|
286
|
+
end
|
|
287
|
+
return data, status_code, headers
|
|
288
|
+
end
|
|
289
|
+
|
|
290
|
+
# Event Read-Only Viewset
|
|
291
|
+
# @param [Hash] opts the optional parameters
|
|
292
|
+
# @option opts [String] :action
|
|
293
|
+
# @option opts [Array<String>] :actions
|
|
294
|
+
# @option opts [String] :brand_name Brand name
|
|
295
|
+
# @option opts [String] :client_ip
|
|
296
|
+
# @option opts [String] :context_authorized_app Context Authorized application
|
|
297
|
+
# @option opts [String] :context_model_app Context Model App
|
|
298
|
+
# @option opts [String] :context_model_name Context Model Name
|
|
299
|
+
# @option opts [String] :context_model_pk Context Model Primary Key
|
|
300
|
+
# @option opts [String] :ordering Which field to use when ordering the results.
|
|
301
|
+
# @option opts [Integer] :page A page number within the paginated result set.
|
|
302
|
+
# @option opts [Integer] :page_size Number of results to return per page.
|
|
303
|
+
# @option opts [String] :search A search term.
|
|
304
|
+
# @option opts [String] :username Username
|
|
305
|
+
# @return [PaginatedEventList]
|
|
306
|
+
def events_events_list(opts = {})
|
|
307
|
+
data, _status_code, _headers = events_events_list_with_http_info(opts)
|
|
308
|
+
data
|
|
309
|
+
end
|
|
310
|
+
|
|
311
|
+
# Event Read-Only Viewset
|
|
312
|
+
# @param [Hash] opts the optional parameters
|
|
313
|
+
# @option opts [String] :action
|
|
314
|
+
# @option opts [Array<String>] :actions
|
|
315
|
+
# @option opts [String] :brand_name Brand name
|
|
316
|
+
# @option opts [String] :client_ip
|
|
317
|
+
# @option opts [String] :context_authorized_app Context Authorized application
|
|
318
|
+
# @option opts [String] :context_model_app Context Model App
|
|
319
|
+
# @option opts [String] :context_model_name Context Model Name
|
|
320
|
+
# @option opts [String] :context_model_pk Context Model Primary Key
|
|
321
|
+
# @option opts [String] :ordering Which field to use when ordering the results.
|
|
322
|
+
# @option opts [Integer] :page A page number within the paginated result set.
|
|
323
|
+
# @option opts [Integer] :page_size Number of results to return per page.
|
|
324
|
+
# @option opts [String] :search A search term.
|
|
325
|
+
# @option opts [String] :username Username
|
|
326
|
+
# @return [Array<(PaginatedEventList, Integer, Hash)>] PaginatedEventList data, response status code and response headers
|
|
327
|
+
def events_events_list_with_http_info(opts = {})
|
|
328
|
+
if @api_client.config.debugging
|
|
329
|
+
@api_client.config.logger.debug 'Calling API: EventsApi.events_events_list ...'
|
|
330
|
+
end
|
|
331
|
+
allowable_values = ["authorize_application", "configuration_error", "custom_", "email_sent", "export_ready", "flow_execution", "impersonation_ended", "impersonation_started", "invitation_used", "login", "login_failed", "logout", "model_created", "model_deleted", "model_updated", "password_set", "policy_exception", "policy_execution", "property_mapping_exception", "secret_rotate", "secret_view", "source_linked", "suspicious_request", "system_exception", "system_task_exception", "system_task_execution", "update_available", "user_write"]
|
|
332
|
+
if @api_client.config.client_side_validation && opts[:'actions'] && !opts[:'actions'].all? { |item| allowable_values.include?(item) }
|
|
333
|
+
fail ArgumentError, "invalid value for \"actions\", must include one of #{allowable_values}"
|
|
334
|
+
end
|
|
335
|
+
# resource path
|
|
336
|
+
local_var_path = '/events/events/'
|
|
337
|
+
|
|
338
|
+
# query parameters
|
|
339
|
+
query_params = opts[:query_params] || {}
|
|
340
|
+
query_params[:'action'] = opts[:'action'] if !opts[:'action'].nil?
|
|
341
|
+
query_params[:'actions'] = @api_client.build_collection_param(opts[:'actions'], :multi) if !opts[:'actions'].nil?
|
|
342
|
+
query_params[:'brand_name'] = opts[:'brand_name'] if !opts[:'brand_name'].nil?
|
|
343
|
+
query_params[:'client_ip'] = opts[:'client_ip'] if !opts[:'client_ip'].nil?
|
|
344
|
+
query_params[:'context_authorized_app'] = opts[:'context_authorized_app'] if !opts[:'context_authorized_app'].nil?
|
|
345
|
+
query_params[:'context_model_app'] = opts[:'context_model_app'] if !opts[:'context_model_app'].nil?
|
|
346
|
+
query_params[:'context_model_name'] = opts[:'context_model_name'] if !opts[:'context_model_name'].nil?
|
|
347
|
+
query_params[:'context_model_pk'] = opts[:'context_model_pk'] if !opts[:'context_model_pk'].nil?
|
|
348
|
+
query_params[:'ordering'] = opts[:'ordering'] if !opts[:'ordering'].nil?
|
|
349
|
+
query_params[:'page'] = opts[:'page'] if !opts[:'page'].nil?
|
|
350
|
+
query_params[:'page_size'] = opts[:'page_size'] if !opts[:'page_size'].nil?
|
|
351
|
+
query_params[:'search'] = opts[:'search'] if !opts[:'search'].nil?
|
|
352
|
+
query_params[:'username'] = opts[:'username'] if !opts[:'username'].nil?
|
|
353
|
+
|
|
354
|
+
# header parameters
|
|
355
|
+
header_params = opts[:header_params] || {}
|
|
356
|
+
# HTTP header 'Accept' (if needed)
|
|
357
|
+
header_params['Accept'] = @api_client.select_header_accept(['application/json']) unless header_params['Accept']
|
|
358
|
+
|
|
359
|
+
# form parameters
|
|
360
|
+
form_params = opts[:form_params] || {}
|
|
361
|
+
|
|
362
|
+
# http body (model)
|
|
363
|
+
post_body = opts[:debug_body]
|
|
364
|
+
|
|
365
|
+
# return_type
|
|
366
|
+
return_type = opts[:debug_return_type] || 'PaginatedEventList'
|
|
367
|
+
|
|
368
|
+
# auth_names
|
|
369
|
+
auth_names = opts[:debug_auth_names] || ['authentik']
|
|
370
|
+
|
|
371
|
+
new_options = opts.merge(
|
|
372
|
+
:operation => :"EventsApi.events_events_list",
|
|
373
|
+
:header_params => header_params,
|
|
374
|
+
:query_params => query_params,
|
|
375
|
+
:form_params => form_params,
|
|
376
|
+
:body => post_body,
|
|
377
|
+
:auth_names => auth_names,
|
|
378
|
+
:return_type => return_type
|
|
379
|
+
)
|
|
380
|
+
|
|
381
|
+
data, status_code, headers = @api_client.call_api(:GET, local_var_path, new_options)
|
|
382
|
+
if @api_client.config.debugging
|
|
383
|
+
@api_client.config.logger.debug "API called: EventsApi#events_events_list\nData: #{data.inspect}\nStatus code: #{status_code}\nHeaders: #{headers}"
|
|
384
|
+
end
|
|
385
|
+
return data, status_code, headers
|
|
386
|
+
end
|
|
387
|
+
|
|
388
|
+
# Event Read-Only Viewset
|
|
389
|
+
# @param event_uuid [String] A UUID string identifying this Event.
|
|
390
|
+
# @param [Hash] opts the optional parameters
|
|
391
|
+
# @option opts [PatchedEventRequest] :patched_event_request
|
|
392
|
+
# @return [Event]
|
|
393
|
+
def events_events_partial_update(event_uuid, opts = {})
|
|
394
|
+
data, _status_code, _headers = events_events_partial_update_with_http_info(event_uuid, opts)
|
|
395
|
+
data
|
|
396
|
+
end
|
|
397
|
+
|
|
398
|
+
# Event Read-Only Viewset
|
|
399
|
+
# @param event_uuid [String] A UUID string identifying this Event.
|
|
400
|
+
# @param [Hash] opts the optional parameters
|
|
401
|
+
# @option opts [PatchedEventRequest] :patched_event_request
|
|
402
|
+
# @return [Array<(Event, Integer, Hash)>] Event data, response status code and response headers
|
|
403
|
+
def events_events_partial_update_with_http_info(event_uuid, opts = {})
|
|
404
|
+
if @api_client.config.debugging
|
|
405
|
+
@api_client.config.logger.debug 'Calling API: EventsApi.events_events_partial_update ...'
|
|
406
|
+
end
|
|
407
|
+
# verify the required parameter 'event_uuid' is set
|
|
408
|
+
if @api_client.config.client_side_validation && event_uuid.nil?
|
|
409
|
+
fail ArgumentError, "Missing the required parameter 'event_uuid' when calling EventsApi.events_events_partial_update"
|
|
410
|
+
end
|
|
411
|
+
# resource path
|
|
412
|
+
local_var_path = '/events/events/{event_uuid}/'.sub('{' + 'event_uuid' + '}', CGI.escape(event_uuid.to_s))
|
|
413
|
+
|
|
414
|
+
# query parameters
|
|
415
|
+
query_params = opts[:query_params] || {}
|
|
416
|
+
|
|
417
|
+
# header parameters
|
|
418
|
+
header_params = opts[:header_params] || {}
|
|
419
|
+
# HTTP header 'Accept' (if needed)
|
|
420
|
+
header_params['Accept'] = @api_client.select_header_accept(['application/json']) unless header_params['Accept']
|
|
421
|
+
# HTTP header 'Content-Type'
|
|
422
|
+
content_type = @api_client.select_header_content_type(['application/json'])
|
|
423
|
+
if !content_type.nil?
|
|
424
|
+
header_params['Content-Type'] = content_type
|
|
425
|
+
end
|
|
426
|
+
|
|
427
|
+
# form parameters
|
|
428
|
+
form_params = opts[:form_params] || {}
|
|
429
|
+
|
|
430
|
+
# http body (model)
|
|
431
|
+
post_body = opts[:debug_body] || @api_client.object_to_http_body(opts[:'patched_event_request'])
|
|
432
|
+
|
|
433
|
+
# return_type
|
|
434
|
+
return_type = opts[:debug_return_type] || 'Event'
|
|
435
|
+
|
|
436
|
+
# auth_names
|
|
437
|
+
auth_names = opts[:debug_auth_names] || ['authentik']
|
|
438
|
+
|
|
439
|
+
new_options = opts.merge(
|
|
440
|
+
:operation => :"EventsApi.events_events_partial_update",
|
|
441
|
+
:header_params => header_params,
|
|
442
|
+
:query_params => query_params,
|
|
443
|
+
:form_params => form_params,
|
|
444
|
+
:body => post_body,
|
|
445
|
+
:auth_names => auth_names,
|
|
446
|
+
:return_type => return_type
|
|
447
|
+
)
|
|
448
|
+
|
|
449
|
+
data, status_code, headers = @api_client.call_api(:PATCH, local_var_path, new_options)
|
|
450
|
+
if @api_client.config.debugging
|
|
451
|
+
@api_client.config.logger.debug "API called: EventsApi#events_events_partial_update\nData: #{data.inspect}\nStatus code: #{status_code}\nHeaders: #{headers}"
|
|
452
|
+
end
|
|
453
|
+
return data, status_code, headers
|
|
454
|
+
end
|
|
455
|
+
|
|
456
|
+
# Event Read-Only Viewset
|
|
457
|
+
# @param event_uuid [String] A UUID string identifying this Event.
|
|
458
|
+
# @param [Hash] opts the optional parameters
|
|
459
|
+
# @return [Event]
|
|
460
|
+
def events_events_retrieve(event_uuid, opts = {})
|
|
461
|
+
data, _status_code, _headers = events_events_retrieve_with_http_info(event_uuid, opts)
|
|
462
|
+
data
|
|
463
|
+
end
|
|
464
|
+
|
|
465
|
+
# Event Read-Only Viewset
|
|
466
|
+
# @param event_uuid [String] A UUID string identifying this Event.
|
|
467
|
+
# @param [Hash] opts the optional parameters
|
|
468
|
+
# @return [Array<(Event, Integer, Hash)>] Event data, response status code and response headers
|
|
469
|
+
def events_events_retrieve_with_http_info(event_uuid, opts = {})
|
|
470
|
+
if @api_client.config.debugging
|
|
471
|
+
@api_client.config.logger.debug 'Calling API: EventsApi.events_events_retrieve ...'
|
|
472
|
+
end
|
|
473
|
+
# verify the required parameter 'event_uuid' is set
|
|
474
|
+
if @api_client.config.client_side_validation && event_uuid.nil?
|
|
475
|
+
fail ArgumentError, "Missing the required parameter 'event_uuid' when calling EventsApi.events_events_retrieve"
|
|
476
|
+
end
|
|
477
|
+
# resource path
|
|
478
|
+
local_var_path = '/events/events/{event_uuid}/'.sub('{' + 'event_uuid' + '}', CGI.escape(event_uuid.to_s))
|
|
479
|
+
|
|
480
|
+
# query parameters
|
|
481
|
+
query_params = opts[:query_params] || {}
|
|
482
|
+
|
|
483
|
+
# header parameters
|
|
484
|
+
header_params = opts[:header_params] || {}
|
|
485
|
+
# HTTP header 'Accept' (if needed)
|
|
486
|
+
header_params['Accept'] = @api_client.select_header_accept(['application/json']) unless header_params['Accept']
|
|
487
|
+
|
|
488
|
+
# form parameters
|
|
489
|
+
form_params = opts[:form_params] || {}
|
|
490
|
+
|
|
491
|
+
# http body (model)
|
|
492
|
+
post_body = opts[:debug_body]
|
|
493
|
+
|
|
494
|
+
# return_type
|
|
495
|
+
return_type = opts[:debug_return_type] || 'Event'
|
|
496
|
+
|
|
497
|
+
# auth_names
|
|
498
|
+
auth_names = opts[:debug_auth_names] || ['authentik']
|
|
499
|
+
|
|
500
|
+
new_options = opts.merge(
|
|
501
|
+
:operation => :"EventsApi.events_events_retrieve",
|
|
502
|
+
:header_params => header_params,
|
|
503
|
+
:query_params => query_params,
|
|
504
|
+
:form_params => form_params,
|
|
505
|
+
:body => post_body,
|
|
506
|
+
:auth_names => auth_names,
|
|
507
|
+
:return_type => return_type
|
|
508
|
+
)
|
|
509
|
+
|
|
510
|
+
data, status_code, headers = @api_client.call_api(:GET, local_var_path, new_options)
|
|
511
|
+
if @api_client.config.debugging
|
|
512
|
+
@api_client.config.logger.debug "API called: EventsApi#events_events_retrieve\nData: #{data.inspect}\nStatus code: #{status_code}\nHeaders: #{headers}"
|
|
513
|
+
end
|
|
514
|
+
return data, status_code, headers
|
|
515
|
+
end
|
|
516
|
+
|
|
517
|
+
# Get the top_n events grouped by user count
|
|
518
|
+
# @param [Hash] opts the optional parameters
|
|
519
|
+
# @option opts [String] :action
|
|
520
|
+
# @option opts [Integer] :top_n
|
|
521
|
+
# @return [Array<EventTopPerUser>]
|
|
522
|
+
def events_events_top_per_user_list(opts = {})
|
|
523
|
+
data, _status_code, _headers = events_events_top_per_user_list_with_http_info(opts)
|
|
524
|
+
data
|
|
525
|
+
end
|
|
526
|
+
|
|
527
|
+
# Get the top_n events grouped by user count
|
|
528
|
+
# @param [Hash] opts the optional parameters
|
|
529
|
+
# @option opts [String] :action
|
|
530
|
+
# @option opts [Integer] :top_n
|
|
531
|
+
# @return [Array<(Array<EventTopPerUser>, Integer, Hash)>] Array<EventTopPerUser> data, response status code and response headers
|
|
532
|
+
def events_events_top_per_user_list_with_http_info(opts = {})
|
|
533
|
+
if @api_client.config.debugging
|
|
534
|
+
@api_client.config.logger.debug 'Calling API: EventsApi.events_events_top_per_user_list ...'
|
|
535
|
+
end
|
|
536
|
+
# resource path
|
|
537
|
+
local_var_path = '/events/events/top_per_user/'
|
|
538
|
+
|
|
539
|
+
# query parameters
|
|
540
|
+
query_params = opts[:query_params] || {}
|
|
541
|
+
query_params[:'action'] = opts[:'action'] if !opts[:'action'].nil?
|
|
542
|
+
query_params[:'top_n'] = opts[:'top_n'] if !opts[:'top_n'].nil?
|
|
543
|
+
|
|
544
|
+
# header parameters
|
|
545
|
+
header_params = opts[:header_params] || {}
|
|
546
|
+
# HTTP header 'Accept' (if needed)
|
|
547
|
+
header_params['Accept'] = @api_client.select_header_accept(['application/json']) unless header_params['Accept']
|
|
548
|
+
|
|
549
|
+
# form parameters
|
|
550
|
+
form_params = opts[:form_params] || {}
|
|
551
|
+
|
|
552
|
+
# http body (model)
|
|
553
|
+
post_body = opts[:debug_body]
|
|
554
|
+
|
|
555
|
+
# return_type
|
|
556
|
+
return_type = opts[:debug_return_type] || 'Array<EventTopPerUser>'
|
|
557
|
+
|
|
558
|
+
# auth_names
|
|
559
|
+
auth_names = opts[:debug_auth_names] || ['authentik']
|
|
560
|
+
|
|
561
|
+
new_options = opts.merge(
|
|
562
|
+
:operation => :"EventsApi.events_events_top_per_user_list",
|
|
563
|
+
:header_params => header_params,
|
|
564
|
+
:query_params => query_params,
|
|
565
|
+
:form_params => form_params,
|
|
566
|
+
:body => post_body,
|
|
567
|
+
:auth_names => auth_names,
|
|
568
|
+
:return_type => return_type
|
|
569
|
+
)
|
|
570
|
+
|
|
571
|
+
data, status_code, headers = @api_client.call_api(:GET, local_var_path, new_options)
|
|
572
|
+
if @api_client.config.debugging
|
|
573
|
+
@api_client.config.logger.debug "API called: EventsApi#events_events_top_per_user_list\nData: #{data.inspect}\nStatus code: #{status_code}\nHeaders: #{headers}"
|
|
574
|
+
end
|
|
575
|
+
return data, status_code, headers
|
|
576
|
+
end
|
|
577
|
+
|
|
578
|
+
# Event Read-Only Viewset
|
|
579
|
+
# @param event_uuid [String] A UUID string identifying this Event.
|
|
580
|
+
# @param event_request [EventRequest]
|
|
581
|
+
# @param [Hash] opts the optional parameters
|
|
582
|
+
# @return [Event]
|
|
583
|
+
def events_events_update(event_uuid, event_request, opts = {})
|
|
584
|
+
data, _status_code, _headers = events_events_update_with_http_info(event_uuid, event_request, opts)
|
|
585
|
+
data
|
|
586
|
+
end
|
|
587
|
+
|
|
588
|
+
# Event Read-Only Viewset
|
|
589
|
+
# @param event_uuid [String] A UUID string identifying this Event.
|
|
590
|
+
# @param event_request [EventRequest]
|
|
591
|
+
# @param [Hash] opts the optional parameters
|
|
592
|
+
# @return [Array<(Event, Integer, Hash)>] Event data, response status code and response headers
|
|
593
|
+
def events_events_update_with_http_info(event_uuid, event_request, opts = {})
|
|
594
|
+
if @api_client.config.debugging
|
|
595
|
+
@api_client.config.logger.debug 'Calling API: EventsApi.events_events_update ...'
|
|
596
|
+
end
|
|
597
|
+
# verify the required parameter 'event_uuid' is set
|
|
598
|
+
if @api_client.config.client_side_validation && event_uuid.nil?
|
|
599
|
+
fail ArgumentError, "Missing the required parameter 'event_uuid' when calling EventsApi.events_events_update"
|
|
600
|
+
end
|
|
601
|
+
# verify the required parameter 'event_request' is set
|
|
602
|
+
if @api_client.config.client_side_validation && event_request.nil?
|
|
603
|
+
fail ArgumentError, "Missing the required parameter 'event_request' when calling EventsApi.events_events_update"
|
|
604
|
+
end
|
|
605
|
+
# resource path
|
|
606
|
+
local_var_path = '/events/events/{event_uuid}/'.sub('{' + 'event_uuid' + '}', CGI.escape(event_uuid.to_s))
|
|
607
|
+
|
|
608
|
+
# query parameters
|
|
609
|
+
query_params = opts[:query_params] || {}
|
|
610
|
+
|
|
611
|
+
# header parameters
|
|
612
|
+
header_params = opts[:header_params] || {}
|
|
613
|
+
# HTTP header 'Accept' (if needed)
|
|
614
|
+
header_params['Accept'] = @api_client.select_header_accept(['application/json']) unless header_params['Accept']
|
|
615
|
+
# HTTP header 'Content-Type'
|
|
616
|
+
content_type = @api_client.select_header_content_type(['application/json'])
|
|
617
|
+
if !content_type.nil?
|
|
618
|
+
header_params['Content-Type'] = content_type
|
|
619
|
+
end
|
|
620
|
+
|
|
621
|
+
# form parameters
|
|
622
|
+
form_params = opts[:form_params] || {}
|
|
623
|
+
|
|
624
|
+
# http body (model)
|
|
625
|
+
post_body = opts[:debug_body] || @api_client.object_to_http_body(event_request)
|
|
626
|
+
|
|
627
|
+
# return_type
|
|
628
|
+
return_type = opts[:debug_return_type] || 'Event'
|
|
629
|
+
|
|
630
|
+
# auth_names
|
|
631
|
+
auth_names = opts[:debug_auth_names] || ['authentik']
|
|
632
|
+
|
|
633
|
+
new_options = opts.merge(
|
|
634
|
+
:operation => :"EventsApi.events_events_update",
|
|
635
|
+
:header_params => header_params,
|
|
636
|
+
:query_params => query_params,
|
|
637
|
+
:form_params => form_params,
|
|
638
|
+
:body => post_body,
|
|
639
|
+
:auth_names => auth_names,
|
|
640
|
+
:return_type => return_type
|
|
641
|
+
)
|
|
642
|
+
|
|
643
|
+
data, status_code, headers = @api_client.call_api(:PUT, local_var_path, new_options)
|
|
644
|
+
if @api_client.config.debugging
|
|
645
|
+
@api_client.config.logger.debug "API called: EventsApi#events_events_update\nData: #{data.inspect}\nStatus code: #{status_code}\nHeaders: #{headers}"
|
|
646
|
+
end
|
|
647
|
+
return data, status_code, headers
|
|
648
|
+
end
|
|
649
|
+
|
|
650
|
+
# Get event volume for specified filters and timeframe
|
|
651
|
+
# @param [Hash] opts the optional parameters
|
|
652
|
+
# @option opts [String] :action
|
|
653
|
+
# @option opts [Array<String>] :actions
|
|
654
|
+
# @option opts [String] :brand_name Brand name
|
|
655
|
+
# @option opts [String] :client_ip
|
|
656
|
+
# @option opts [String] :context_authorized_app Context Authorized application
|
|
657
|
+
# @option opts [String] :context_model_app Context Model App
|
|
658
|
+
# @option opts [String] :context_model_name Context Model Name
|
|
659
|
+
# @option opts [String] :context_model_pk Context Model Primary Key
|
|
660
|
+
# @option opts [Float] :history_days (default to 7)
|
|
661
|
+
# @option opts [String] :ordering Which field to use when ordering the results.
|
|
662
|
+
# @option opts [String] :search A search term.
|
|
663
|
+
# @option opts [String] :username Username
|
|
664
|
+
# @return [Array<EventVolume>]
|
|
665
|
+
def events_events_volume_list(opts = {})
|
|
666
|
+
data, _status_code, _headers = events_events_volume_list_with_http_info(opts)
|
|
667
|
+
data
|
|
668
|
+
end
|
|
669
|
+
|
|
670
|
+
# Get event volume for specified filters and timeframe
|
|
671
|
+
# @param [Hash] opts the optional parameters
|
|
672
|
+
# @option opts [String] :action
|
|
673
|
+
# @option opts [Array<String>] :actions
|
|
674
|
+
# @option opts [String] :brand_name Brand name
|
|
675
|
+
# @option opts [String] :client_ip
|
|
676
|
+
# @option opts [String] :context_authorized_app Context Authorized application
|
|
677
|
+
# @option opts [String] :context_model_app Context Model App
|
|
678
|
+
# @option opts [String] :context_model_name Context Model Name
|
|
679
|
+
# @option opts [String] :context_model_pk Context Model Primary Key
|
|
680
|
+
# @option opts [Float] :history_days (default to 7)
|
|
681
|
+
# @option opts [String] :ordering Which field to use when ordering the results.
|
|
682
|
+
# @option opts [String] :search A search term.
|
|
683
|
+
# @option opts [String] :username Username
|
|
684
|
+
# @return [Array<(Array<EventVolume>, Integer, Hash)>] Array<EventVolume> data, response status code and response headers
|
|
685
|
+
def events_events_volume_list_with_http_info(opts = {})
|
|
686
|
+
if @api_client.config.debugging
|
|
687
|
+
@api_client.config.logger.debug 'Calling API: EventsApi.events_events_volume_list ...'
|
|
688
|
+
end
|
|
689
|
+
allowable_values = ["authorize_application", "configuration_error", "custom_", "email_sent", "export_ready", "flow_execution", "impersonation_ended", "impersonation_started", "invitation_used", "login", "login_failed", "logout", "model_created", "model_deleted", "model_updated", "password_set", "policy_exception", "policy_execution", "property_mapping_exception", "secret_rotate", "secret_view", "source_linked", "suspicious_request", "system_exception", "system_task_exception", "system_task_execution", "update_available", "user_write"]
|
|
690
|
+
if @api_client.config.client_side_validation && opts[:'actions'] && !opts[:'actions'].all? { |item| allowable_values.include?(item) }
|
|
691
|
+
fail ArgumentError, "invalid value for \"actions\", must include one of #{allowable_values}"
|
|
692
|
+
end
|
|
693
|
+
# resource path
|
|
694
|
+
local_var_path = '/events/events/volume/'
|
|
695
|
+
|
|
696
|
+
# query parameters
|
|
697
|
+
query_params = opts[:query_params] || {}
|
|
698
|
+
query_params[:'action'] = opts[:'action'] if !opts[:'action'].nil?
|
|
699
|
+
query_params[:'actions'] = @api_client.build_collection_param(opts[:'actions'], :multi) if !opts[:'actions'].nil?
|
|
700
|
+
query_params[:'brand_name'] = opts[:'brand_name'] if !opts[:'brand_name'].nil?
|
|
701
|
+
query_params[:'client_ip'] = opts[:'client_ip'] if !opts[:'client_ip'].nil?
|
|
702
|
+
query_params[:'context_authorized_app'] = opts[:'context_authorized_app'] if !opts[:'context_authorized_app'].nil?
|
|
703
|
+
query_params[:'context_model_app'] = opts[:'context_model_app'] if !opts[:'context_model_app'].nil?
|
|
704
|
+
query_params[:'context_model_name'] = opts[:'context_model_name'] if !opts[:'context_model_name'].nil?
|
|
705
|
+
query_params[:'context_model_pk'] = opts[:'context_model_pk'] if !opts[:'context_model_pk'].nil?
|
|
706
|
+
query_params[:'history_days'] = opts[:'history_days'] if !opts[:'history_days'].nil?
|
|
707
|
+
query_params[:'ordering'] = opts[:'ordering'] if !opts[:'ordering'].nil?
|
|
708
|
+
query_params[:'search'] = opts[:'search'] if !opts[:'search'].nil?
|
|
709
|
+
query_params[:'username'] = opts[:'username'] if !opts[:'username'].nil?
|
|
710
|
+
|
|
711
|
+
# header parameters
|
|
712
|
+
header_params = opts[:header_params] || {}
|
|
713
|
+
# HTTP header 'Accept' (if needed)
|
|
714
|
+
header_params['Accept'] = @api_client.select_header_accept(['application/json']) unless header_params['Accept']
|
|
715
|
+
|
|
716
|
+
# form parameters
|
|
717
|
+
form_params = opts[:form_params] || {}
|
|
718
|
+
|
|
719
|
+
# http body (model)
|
|
720
|
+
post_body = opts[:debug_body]
|
|
721
|
+
|
|
722
|
+
# return_type
|
|
723
|
+
return_type = opts[:debug_return_type] || 'Array<EventVolume>'
|
|
724
|
+
|
|
725
|
+
# auth_names
|
|
726
|
+
auth_names = opts[:debug_auth_names] || ['authentik']
|
|
727
|
+
|
|
728
|
+
new_options = opts.merge(
|
|
729
|
+
:operation => :"EventsApi.events_events_volume_list",
|
|
730
|
+
:header_params => header_params,
|
|
731
|
+
:query_params => query_params,
|
|
732
|
+
:form_params => form_params,
|
|
733
|
+
:body => post_body,
|
|
734
|
+
:auth_names => auth_names,
|
|
735
|
+
:return_type => return_type
|
|
736
|
+
)
|
|
737
|
+
|
|
738
|
+
data, status_code, headers = @api_client.call_api(:GET, local_var_path, new_options)
|
|
739
|
+
if @api_client.config.debugging
|
|
740
|
+
@api_client.config.logger.debug "API called: EventsApi#events_events_volume_list\nData: #{data.inspect}\nStatus code: #{status_code}\nHeaders: #{headers}"
|
|
741
|
+
end
|
|
742
|
+
return data, status_code, headers
|
|
743
|
+
end
|
|
744
|
+
|
|
745
|
+
# Notification Viewset
|
|
746
|
+
# @param uuid [String] A UUID string identifying this Notification.
|
|
747
|
+
# @param [Hash] opts the optional parameters
|
|
748
|
+
# @return [nil]
|
|
749
|
+
def events_notifications_destroy(uuid, opts = {})
|
|
750
|
+
events_notifications_destroy_with_http_info(uuid, opts)
|
|
751
|
+
nil
|
|
752
|
+
end
|
|
753
|
+
|
|
754
|
+
# Notification Viewset
|
|
755
|
+
# @param uuid [String] A UUID string identifying this Notification.
|
|
756
|
+
# @param [Hash] opts the optional parameters
|
|
757
|
+
# @return [Array<(nil, Integer, Hash)>] nil, response status code and response headers
|
|
758
|
+
def events_notifications_destroy_with_http_info(uuid, opts = {})
|
|
759
|
+
if @api_client.config.debugging
|
|
760
|
+
@api_client.config.logger.debug 'Calling API: EventsApi.events_notifications_destroy ...'
|
|
761
|
+
end
|
|
762
|
+
# verify the required parameter 'uuid' is set
|
|
763
|
+
if @api_client.config.client_side_validation && uuid.nil?
|
|
764
|
+
fail ArgumentError, "Missing the required parameter 'uuid' when calling EventsApi.events_notifications_destroy"
|
|
765
|
+
end
|
|
766
|
+
# resource path
|
|
767
|
+
local_var_path = '/events/notifications/{uuid}/'.sub('{' + 'uuid' + '}', CGI.escape(uuid.to_s))
|
|
768
|
+
|
|
769
|
+
# query parameters
|
|
770
|
+
query_params = opts[:query_params] || {}
|
|
771
|
+
|
|
772
|
+
# header parameters
|
|
773
|
+
header_params = opts[:header_params] || {}
|
|
774
|
+
# HTTP header 'Accept' (if needed)
|
|
775
|
+
header_params['Accept'] = @api_client.select_header_accept(['application/json']) unless header_params['Accept']
|
|
776
|
+
|
|
777
|
+
# form parameters
|
|
778
|
+
form_params = opts[:form_params] || {}
|
|
779
|
+
|
|
780
|
+
# http body (model)
|
|
781
|
+
post_body = opts[:debug_body]
|
|
782
|
+
|
|
783
|
+
# return_type
|
|
784
|
+
return_type = opts[:debug_return_type]
|
|
785
|
+
|
|
786
|
+
# auth_names
|
|
787
|
+
auth_names = opts[:debug_auth_names] || ['authentik']
|
|
788
|
+
|
|
789
|
+
new_options = opts.merge(
|
|
790
|
+
:operation => :"EventsApi.events_notifications_destroy",
|
|
791
|
+
:header_params => header_params,
|
|
792
|
+
:query_params => query_params,
|
|
793
|
+
:form_params => form_params,
|
|
794
|
+
:body => post_body,
|
|
795
|
+
:auth_names => auth_names,
|
|
796
|
+
:return_type => return_type
|
|
797
|
+
)
|
|
798
|
+
|
|
799
|
+
data, status_code, headers = @api_client.call_api(:DELETE, local_var_path, new_options)
|
|
800
|
+
if @api_client.config.debugging
|
|
801
|
+
@api_client.config.logger.debug "API called: EventsApi#events_notifications_destroy\nData: #{data.inspect}\nStatus code: #{status_code}\nHeaders: #{headers}"
|
|
802
|
+
end
|
|
803
|
+
return data, status_code, headers
|
|
804
|
+
end
|
|
805
|
+
|
|
806
|
+
# Notification Viewset
|
|
807
|
+
# @param [Hash] opts the optional parameters
|
|
808
|
+
# @option opts [String] :body
|
|
809
|
+
# @option opts [Time] :created
|
|
810
|
+
# @option opts [String] :event
|
|
811
|
+
# @option opts [String] :ordering Which field to use when ordering the results.
|
|
812
|
+
# @option opts [Integer] :page A page number within the paginated result set.
|
|
813
|
+
# @option opts [Integer] :page_size Number of results to return per page.
|
|
814
|
+
# @option opts [String] :search A search term.
|
|
815
|
+
# @option opts [Boolean] :seen
|
|
816
|
+
# @option opts [String] :severity
|
|
817
|
+
# @option opts [Integer] :user
|
|
818
|
+
# @return [PaginatedNotificationList]
|
|
819
|
+
def events_notifications_list(opts = {})
|
|
820
|
+
data, _status_code, _headers = events_notifications_list_with_http_info(opts)
|
|
821
|
+
data
|
|
822
|
+
end
|
|
823
|
+
|
|
824
|
+
# Notification Viewset
|
|
825
|
+
# @param [Hash] opts the optional parameters
|
|
826
|
+
# @option opts [String] :body
|
|
827
|
+
# @option opts [Time] :created
|
|
828
|
+
# @option opts [String] :event
|
|
829
|
+
# @option opts [String] :ordering Which field to use when ordering the results.
|
|
830
|
+
# @option opts [Integer] :page A page number within the paginated result set.
|
|
831
|
+
# @option opts [Integer] :page_size Number of results to return per page.
|
|
832
|
+
# @option opts [String] :search A search term.
|
|
833
|
+
# @option opts [Boolean] :seen
|
|
834
|
+
# @option opts [String] :severity
|
|
835
|
+
# @option opts [Integer] :user
|
|
836
|
+
# @return [Array<(PaginatedNotificationList, Integer, Hash)>] PaginatedNotificationList data, response status code and response headers
|
|
837
|
+
def events_notifications_list_with_http_info(opts = {})
|
|
838
|
+
if @api_client.config.debugging
|
|
839
|
+
@api_client.config.logger.debug 'Calling API: EventsApi.events_notifications_list ...'
|
|
840
|
+
end
|
|
841
|
+
allowable_values = ["alert", "notice", "warning"]
|
|
842
|
+
if @api_client.config.client_side_validation && opts[:'severity'] && !allowable_values.include?(opts[:'severity'])
|
|
843
|
+
fail ArgumentError, "invalid value for \"severity\", must be one of #{allowable_values}"
|
|
844
|
+
end
|
|
845
|
+
# resource path
|
|
846
|
+
local_var_path = '/events/notifications/'
|
|
847
|
+
|
|
848
|
+
# query parameters
|
|
849
|
+
query_params = opts[:query_params] || {}
|
|
850
|
+
query_params[:'body'] = opts[:'body'] if !opts[:'body'].nil?
|
|
851
|
+
query_params[:'created'] = opts[:'created'] if !opts[:'created'].nil?
|
|
852
|
+
query_params[:'event'] = opts[:'event'] if !opts[:'event'].nil?
|
|
853
|
+
query_params[:'ordering'] = opts[:'ordering'] if !opts[:'ordering'].nil?
|
|
854
|
+
query_params[:'page'] = opts[:'page'] if !opts[:'page'].nil?
|
|
855
|
+
query_params[:'page_size'] = opts[:'page_size'] if !opts[:'page_size'].nil?
|
|
856
|
+
query_params[:'search'] = opts[:'search'] if !opts[:'search'].nil?
|
|
857
|
+
query_params[:'seen'] = opts[:'seen'] if !opts[:'seen'].nil?
|
|
858
|
+
query_params[:'severity'] = opts[:'severity'] if !opts[:'severity'].nil?
|
|
859
|
+
query_params[:'user'] = opts[:'user'] if !opts[:'user'].nil?
|
|
860
|
+
|
|
861
|
+
# header parameters
|
|
862
|
+
header_params = opts[:header_params] || {}
|
|
863
|
+
# HTTP header 'Accept' (if needed)
|
|
864
|
+
header_params['Accept'] = @api_client.select_header_accept(['application/json']) unless header_params['Accept']
|
|
865
|
+
|
|
866
|
+
# form parameters
|
|
867
|
+
form_params = opts[:form_params] || {}
|
|
868
|
+
|
|
869
|
+
# http body (model)
|
|
870
|
+
post_body = opts[:debug_body]
|
|
871
|
+
|
|
872
|
+
# return_type
|
|
873
|
+
return_type = opts[:debug_return_type] || 'PaginatedNotificationList'
|
|
874
|
+
|
|
875
|
+
# auth_names
|
|
876
|
+
auth_names = opts[:debug_auth_names] || ['authentik']
|
|
877
|
+
|
|
878
|
+
new_options = opts.merge(
|
|
879
|
+
:operation => :"EventsApi.events_notifications_list",
|
|
880
|
+
:header_params => header_params,
|
|
881
|
+
:query_params => query_params,
|
|
882
|
+
:form_params => form_params,
|
|
883
|
+
:body => post_body,
|
|
884
|
+
:auth_names => auth_names,
|
|
885
|
+
:return_type => return_type
|
|
886
|
+
)
|
|
887
|
+
|
|
888
|
+
data, status_code, headers = @api_client.call_api(:GET, local_var_path, new_options)
|
|
889
|
+
if @api_client.config.debugging
|
|
890
|
+
@api_client.config.logger.debug "API called: EventsApi#events_notifications_list\nData: #{data.inspect}\nStatus code: #{status_code}\nHeaders: #{headers}"
|
|
891
|
+
end
|
|
892
|
+
return data, status_code, headers
|
|
893
|
+
end
|
|
894
|
+
|
|
895
|
+
# Mark all the user's notifications as seen
|
|
896
|
+
# @param [Hash] opts the optional parameters
|
|
897
|
+
# @return [nil]
|
|
898
|
+
def events_notifications_mark_all_seen_create(opts = {})
|
|
899
|
+
events_notifications_mark_all_seen_create_with_http_info(opts)
|
|
900
|
+
nil
|
|
901
|
+
end
|
|
902
|
+
|
|
903
|
+
# Mark all the user's notifications as seen
|
|
904
|
+
# @param [Hash] opts the optional parameters
|
|
905
|
+
# @return [Array<(nil, Integer, Hash)>] nil, response status code and response headers
|
|
906
|
+
def events_notifications_mark_all_seen_create_with_http_info(opts = {})
|
|
907
|
+
if @api_client.config.debugging
|
|
908
|
+
@api_client.config.logger.debug 'Calling API: EventsApi.events_notifications_mark_all_seen_create ...'
|
|
909
|
+
end
|
|
910
|
+
# resource path
|
|
911
|
+
local_var_path = '/events/notifications/mark_all_seen/'
|
|
912
|
+
|
|
913
|
+
# query parameters
|
|
914
|
+
query_params = opts[:query_params] || {}
|
|
915
|
+
|
|
916
|
+
# header parameters
|
|
917
|
+
header_params = opts[:header_params] || {}
|
|
918
|
+
# HTTP header 'Accept' (if needed)
|
|
919
|
+
header_params['Accept'] = @api_client.select_header_accept(['application/json']) unless header_params['Accept']
|
|
920
|
+
|
|
921
|
+
# form parameters
|
|
922
|
+
form_params = opts[:form_params] || {}
|
|
923
|
+
|
|
924
|
+
# http body (model)
|
|
925
|
+
post_body = opts[:debug_body]
|
|
926
|
+
|
|
927
|
+
# return_type
|
|
928
|
+
return_type = opts[:debug_return_type]
|
|
929
|
+
|
|
930
|
+
# auth_names
|
|
931
|
+
auth_names = opts[:debug_auth_names] || ['authentik']
|
|
932
|
+
|
|
933
|
+
new_options = opts.merge(
|
|
934
|
+
:operation => :"EventsApi.events_notifications_mark_all_seen_create",
|
|
935
|
+
:header_params => header_params,
|
|
936
|
+
:query_params => query_params,
|
|
937
|
+
:form_params => form_params,
|
|
938
|
+
:body => post_body,
|
|
939
|
+
:auth_names => auth_names,
|
|
940
|
+
:return_type => return_type
|
|
941
|
+
)
|
|
942
|
+
|
|
943
|
+
data, status_code, headers = @api_client.call_api(:POST, local_var_path, new_options)
|
|
944
|
+
if @api_client.config.debugging
|
|
945
|
+
@api_client.config.logger.debug "API called: EventsApi#events_notifications_mark_all_seen_create\nData: #{data.inspect}\nStatus code: #{status_code}\nHeaders: #{headers}"
|
|
946
|
+
end
|
|
947
|
+
return data, status_code, headers
|
|
948
|
+
end
|
|
949
|
+
|
|
950
|
+
# Notification Viewset
|
|
951
|
+
# @param uuid [String] A UUID string identifying this Notification.
|
|
952
|
+
# @param [Hash] opts the optional parameters
|
|
953
|
+
# @option opts [PatchedNotificationRequest] :patched_notification_request
|
|
954
|
+
# @return [Notification]
|
|
955
|
+
def events_notifications_partial_update(uuid, opts = {})
|
|
956
|
+
data, _status_code, _headers = events_notifications_partial_update_with_http_info(uuid, opts)
|
|
957
|
+
data
|
|
958
|
+
end
|
|
959
|
+
|
|
960
|
+
# Notification Viewset
|
|
961
|
+
# @param uuid [String] A UUID string identifying this Notification.
|
|
962
|
+
# @param [Hash] opts the optional parameters
|
|
963
|
+
# @option opts [PatchedNotificationRequest] :patched_notification_request
|
|
964
|
+
# @return [Array<(Notification, Integer, Hash)>] Notification data, response status code and response headers
|
|
965
|
+
def events_notifications_partial_update_with_http_info(uuid, opts = {})
|
|
966
|
+
if @api_client.config.debugging
|
|
967
|
+
@api_client.config.logger.debug 'Calling API: EventsApi.events_notifications_partial_update ...'
|
|
968
|
+
end
|
|
969
|
+
# verify the required parameter 'uuid' is set
|
|
970
|
+
if @api_client.config.client_side_validation && uuid.nil?
|
|
971
|
+
fail ArgumentError, "Missing the required parameter 'uuid' when calling EventsApi.events_notifications_partial_update"
|
|
972
|
+
end
|
|
973
|
+
# resource path
|
|
974
|
+
local_var_path = '/events/notifications/{uuid}/'.sub('{' + 'uuid' + '}', CGI.escape(uuid.to_s))
|
|
975
|
+
|
|
976
|
+
# query parameters
|
|
977
|
+
query_params = opts[:query_params] || {}
|
|
978
|
+
|
|
979
|
+
# header parameters
|
|
980
|
+
header_params = opts[:header_params] || {}
|
|
981
|
+
# HTTP header 'Accept' (if needed)
|
|
982
|
+
header_params['Accept'] = @api_client.select_header_accept(['application/json']) unless header_params['Accept']
|
|
983
|
+
# HTTP header 'Content-Type'
|
|
984
|
+
content_type = @api_client.select_header_content_type(['application/json'])
|
|
985
|
+
if !content_type.nil?
|
|
986
|
+
header_params['Content-Type'] = content_type
|
|
987
|
+
end
|
|
988
|
+
|
|
989
|
+
# form parameters
|
|
990
|
+
form_params = opts[:form_params] || {}
|
|
991
|
+
|
|
992
|
+
# http body (model)
|
|
993
|
+
post_body = opts[:debug_body] || @api_client.object_to_http_body(opts[:'patched_notification_request'])
|
|
994
|
+
|
|
995
|
+
# return_type
|
|
996
|
+
return_type = opts[:debug_return_type] || 'Notification'
|
|
997
|
+
|
|
998
|
+
# auth_names
|
|
999
|
+
auth_names = opts[:debug_auth_names] || ['authentik']
|
|
1000
|
+
|
|
1001
|
+
new_options = opts.merge(
|
|
1002
|
+
:operation => :"EventsApi.events_notifications_partial_update",
|
|
1003
|
+
:header_params => header_params,
|
|
1004
|
+
:query_params => query_params,
|
|
1005
|
+
:form_params => form_params,
|
|
1006
|
+
:body => post_body,
|
|
1007
|
+
:auth_names => auth_names,
|
|
1008
|
+
:return_type => return_type
|
|
1009
|
+
)
|
|
1010
|
+
|
|
1011
|
+
data, status_code, headers = @api_client.call_api(:PATCH, local_var_path, new_options)
|
|
1012
|
+
if @api_client.config.debugging
|
|
1013
|
+
@api_client.config.logger.debug "API called: EventsApi#events_notifications_partial_update\nData: #{data.inspect}\nStatus code: #{status_code}\nHeaders: #{headers}"
|
|
1014
|
+
end
|
|
1015
|
+
return data, status_code, headers
|
|
1016
|
+
end
|
|
1017
|
+
|
|
1018
|
+
# Notification Viewset
|
|
1019
|
+
# @param uuid [String] A UUID string identifying this Notification.
|
|
1020
|
+
# @param [Hash] opts the optional parameters
|
|
1021
|
+
# @return [Notification]
|
|
1022
|
+
def events_notifications_retrieve(uuid, opts = {})
|
|
1023
|
+
data, _status_code, _headers = events_notifications_retrieve_with_http_info(uuid, opts)
|
|
1024
|
+
data
|
|
1025
|
+
end
|
|
1026
|
+
|
|
1027
|
+
# Notification Viewset
|
|
1028
|
+
# @param uuid [String] A UUID string identifying this Notification.
|
|
1029
|
+
# @param [Hash] opts the optional parameters
|
|
1030
|
+
# @return [Array<(Notification, Integer, Hash)>] Notification data, response status code and response headers
|
|
1031
|
+
def events_notifications_retrieve_with_http_info(uuid, opts = {})
|
|
1032
|
+
if @api_client.config.debugging
|
|
1033
|
+
@api_client.config.logger.debug 'Calling API: EventsApi.events_notifications_retrieve ...'
|
|
1034
|
+
end
|
|
1035
|
+
# verify the required parameter 'uuid' is set
|
|
1036
|
+
if @api_client.config.client_side_validation && uuid.nil?
|
|
1037
|
+
fail ArgumentError, "Missing the required parameter 'uuid' when calling EventsApi.events_notifications_retrieve"
|
|
1038
|
+
end
|
|
1039
|
+
# resource path
|
|
1040
|
+
local_var_path = '/events/notifications/{uuid}/'.sub('{' + 'uuid' + '}', CGI.escape(uuid.to_s))
|
|
1041
|
+
|
|
1042
|
+
# query parameters
|
|
1043
|
+
query_params = opts[:query_params] || {}
|
|
1044
|
+
|
|
1045
|
+
# header parameters
|
|
1046
|
+
header_params = opts[:header_params] || {}
|
|
1047
|
+
# HTTP header 'Accept' (if needed)
|
|
1048
|
+
header_params['Accept'] = @api_client.select_header_accept(['application/json']) unless header_params['Accept']
|
|
1049
|
+
|
|
1050
|
+
# form parameters
|
|
1051
|
+
form_params = opts[:form_params] || {}
|
|
1052
|
+
|
|
1053
|
+
# http body (model)
|
|
1054
|
+
post_body = opts[:debug_body]
|
|
1055
|
+
|
|
1056
|
+
# return_type
|
|
1057
|
+
return_type = opts[:debug_return_type] || 'Notification'
|
|
1058
|
+
|
|
1059
|
+
# auth_names
|
|
1060
|
+
auth_names = opts[:debug_auth_names] || ['authentik']
|
|
1061
|
+
|
|
1062
|
+
new_options = opts.merge(
|
|
1063
|
+
:operation => :"EventsApi.events_notifications_retrieve",
|
|
1064
|
+
:header_params => header_params,
|
|
1065
|
+
:query_params => query_params,
|
|
1066
|
+
:form_params => form_params,
|
|
1067
|
+
:body => post_body,
|
|
1068
|
+
:auth_names => auth_names,
|
|
1069
|
+
:return_type => return_type
|
|
1070
|
+
)
|
|
1071
|
+
|
|
1072
|
+
data, status_code, headers = @api_client.call_api(:GET, local_var_path, new_options)
|
|
1073
|
+
if @api_client.config.debugging
|
|
1074
|
+
@api_client.config.logger.debug "API called: EventsApi#events_notifications_retrieve\nData: #{data.inspect}\nStatus code: #{status_code}\nHeaders: #{headers}"
|
|
1075
|
+
end
|
|
1076
|
+
return data, status_code, headers
|
|
1077
|
+
end
|
|
1078
|
+
|
|
1079
|
+
# Notification Viewset
|
|
1080
|
+
# @param uuid [String] A UUID string identifying this Notification.
|
|
1081
|
+
# @param [Hash] opts the optional parameters
|
|
1082
|
+
# @option opts [NotificationRequest] :notification_request
|
|
1083
|
+
# @return [Notification]
|
|
1084
|
+
def events_notifications_update(uuid, opts = {})
|
|
1085
|
+
data, _status_code, _headers = events_notifications_update_with_http_info(uuid, opts)
|
|
1086
|
+
data
|
|
1087
|
+
end
|
|
1088
|
+
|
|
1089
|
+
# Notification Viewset
|
|
1090
|
+
# @param uuid [String] A UUID string identifying this Notification.
|
|
1091
|
+
# @param [Hash] opts the optional parameters
|
|
1092
|
+
# @option opts [NotificationRequest] :notification_request
|
|
1093
|
+
# @return [Array<(Notification, Integer, Hash)>] Notification data, response status code and response headers
|
|
1094
|
+
def events_notifications_update_with_http_info(uuid, opts = {})
|
|
1095
|
+
if @api_client.config.debugging
|
|
1096
|
+
@api_client.config.logger.debug 'Calling API: EventsApi.events_notifications_update ...'
|
|
1097
|
+
end
|
|
1098
|
+
# verify the required parameter 'uuid' is set
|
|
1099
|
+
if @api_client.config.client_side_validation && uuid.nil?
|
|
1100
|
+
fail ArgumentError, "Missing the required parameter 'uuid' when calling EventsApi.events_notifications_update"
|
|
1101
|
+
end
|
|
1102
|
+
# resource path
|
|
1103
|
+
local_var_path = '/events/notifications/{uuid}/'.sub('{' + 'uuid' + '}', CGI.escape(uuid.to_s))
|
|
1104
|
+
|
|
1105
|
+
# query parameters
|
|
1106
|
+
query_params = opts[:query_params] || {}
|
|
1107
|
+
|
|
1108
|
+
# header parameters
|
|
1109
|
+
header_params = opts[:header_params] || {}
|
|
1110
|
+
# HTTP header 'Accept' (if needed)
|
|
1111
|
+
header_params['Accept'] = @api_client.select_header_accept(['application/json']) unless header_params['Accept']
|
|
1112
|
+
# HTTP header 'Content-Type'
|
|
1113
|
+
content_type = @api_client.select_header_content_type(['application/json'])
|
|
1114
|
+
if !content_type.nil?
|
|
1115
|
+
header_params['Content-Type'] = content_type
|
|
1116
|
+
end
|
|
1117
|
+
|
|
1118
|
+
# form parameters
|
|
1119
|
+
form_params = opts[:form_params] || {}
|
|
1120
|
+
|
|
1121
|
+
# http body (model)
|
|
1122
|
+
post_body = opts[:debug_body] || @api_client.object_to_http_body(opts[:'notification_request'])
|
|
1123
|
+
|
|
1124
|
+
# return_type
|
|
1125
|
+
return_type = opts[:debug_return_type] || 'Notification'
|
|
1126
|
+
|
|
1127
|
+
# auth_names
|
|
1128
|
+
auth_names = opts[:debug_auth_names] || ['authentik']
|
|
1129
|
+
|
|
1130
|
+
new_options = opts.merge(
|
|
1131
|
+
:operation => :"EventsApi.events_notifications_update",
|
|
1132
|
+
:header_params => header_params,
|
|
1133
|
+
:query_params => query_params,
|
|
1134
|
+
:form_params => form_params,
|
|
1135
|
+
:body => post_body,
|
|
1136
|
+
:auth_names => auth_names,
|
|
1137
|
+
:return_type => return_type
|
|
1138
|
+
)
|
|
1139
|
+
|
|
1140
|
+
data, status_code, headers = @api_client.call_api(:PUT, local_var_path, new_options)
|
|
1141
|
+
if @api_client.config.debugging
|
|
1142
|
+
@api_client.config.logger.debug "API called: EventsApi#events_notifications_update\nData: #{data.inspect}\nStatus code: #{status_code}\nHeaders: #{headers}"
|
|
1143
|
+
end
|
|
1144
|
+
return data, status_code, headers
|
|
1145
|
+
end
|
|
1146
|
+
|
|
1147
|
+
# Get a list of all objects that use this object
|
|
1148
|
+
# @param uuid [String] A UUID string identifying this Notification.
|
|
1149
|
+
# @param [Hash] opts the optional parameters
|
|
1150
|
+
# @return [Array<UsedBy>]
|
|
1151
|
+
def events_notifications_used_by_list(uuid, opts = {})
|
|
1152
|
+
data, _status_code, _headers = events_notifications_used_by_list_with_http_info(uuid, opts)
|
|
1153
|
+
data
|
|
1154
|
+
end
|
|
1155
|
+
|
|
1156
|
+
# Get a list of all objects that use this object
|
|
1157
|
+
# @param uuid [String] A UUID string identifying this Notification.
|
|
1158
|
+
# @param [Hash] opts the optional parameters
|
|
1159
|
+
# @return [Array<(Array<UsedBy>, Integer, Hash)>] Array<UsedBy> data, response status code and response headers
|
|
1160
|
+
def events_notifications_used_by_list_with_http_info(uuid, opts = {})
|
|
1161
|
+
if @api_client.config.debugging
|
|
1162
|
+
@api_client.config.logger.debug 'Calling API: EventsApi.events_notifications_used_by_list ...'
|
|
1163
|
+
end
|
|
1164
|
+
# verify the required parameter 'uuid' is set
|
|
1165
|
+
if @api_client.config.client_side_validation && uuid.nil?
|
|
1166
|
+
fail ArgumentError, "Missing the required parameter 'uuid' when calling EventsApi.events_notifications_used_by_list"
|
|
1167
|
+
end
|
|
1168
|
+
# resource path
|
|
1169
|
+
local_var_path = '/events/notifications/{uuid}/used_by/'.sub('{' + 'uuid' + '}', CGI.escape(uuid.to_s))
|
|
1170
|
+
|
|
1171
|
+
# query parameters
|
|
1172
|
+
query_params = opts[:query_params] || {}
|
|
1173
|
+
|
|
1174
|
+
# header parameters
|
|
1175
|
+
header_params = opts[:header_params] || {}
|
|
1176
|
+
# HTTP header 'Accept' (if needed)
|
|
1177
|
+
header_params['Accept'] = @api_client.select_header_accept(['application/json']) unless header_params['Accept']
|
|
1178
|
+
|
|
1179
|
+
# form parameters
|
|
1180
|
+
form_params = opts[:form_params] || {}
|
|
1181
|
+
|
|
1182
|
+
# http body (model)
|
|
1183
|
+
post_body = opts[:debug_body]
|
|
1184
|
+
|
|
1185
|
+
# return_type
|
|
1186
|
+
return_type = opts[:debug_return_type] || 'Array<UsedBy>'
|
|
1187
|
+
|
|
1188
|
+
# auth_names
|
|
1189
|
+
auth_names = opts[:debug_auth_names] || ['authentik']
|
|
1190
|
+
|
|
1191
|
+
new_options = opts.merge(
|
|
1192
|
+
:operation => :"EventsApi.events_notifications_used_by_list",
|
|
1193
|
+
:header_params => header_params,
|
|
1194
|
+
:query_params => query_params,
|
|
1195
|
+
:form_params => form_params,
|
|
1196
|
+
:body => post_body,
|
|
1197
|
+
:auth_names => auth_names,
|
|
1198
|
+
:return_type => return_type
|
|
1199
|
+
)
|
|
1200
|
+
|
|
1201
|
+
data, status_code, headers = @api_client.call_api(:GET, local_var_path, new_options)
|
|
1202
|
+
if @api_client.config.debugging
|
|
1203
|
+
@api_client.config.logger.debug "API called: EventsApi#events_notifications_used_by_list\nData: #{data.inspect}\nStatus code: #{status_code}\nHeaders: #{headers}"
|
|
1204
|
+
end
|
|
1205
|
+
return data, status_code, headers
|
|
1206
|
+
end
|
|
1207
|
+
|
|
1208
|
+
# NotificationRule Viewset
|
|
1209
|
+
# @param notification_rule_request [NotificationRuleRequest]
|
|
1210
|
+
# @param [Hash] opts the optional parameters
|
|
1211
|
+
# @return [NotificationRule]
|
|
1212
|
+
def events_rules_create(notification_rule_request, opts = {})
|
|
1213
|
+
data, _status_code, _headers = events_rules_create_with_http_info(notification_rule_request, opts)
|
|
1214
|
+
data
|
|
1215
|
+
end
|
|
1216
|
+
|
|
1217
|
+
# NotificationRule Viewset
|
|
1218
|
+
# @param notification_rule_request [NotificationRuleRequest]
|
|
1219
|
+
# @param [Hash] opts the optional parameters
|
|
1220
|
+
# @return [Array<(NotificationRule, Integer, Hash)>] NotificationRule data, response status code and response headers
|
|
1221
|
+
def events_rules_create_with_http_info(notification_rule_request, opts = {})
|
|
1222
|
+
if @api_client.config.debugging
|
|
1223
|
+
@api_client.config.logger.debug 'Calling API: EventsApi.events_rules_create ...'
|
|
1224
|
+
end
|
|
1225
|
+
# verify the required parameter 'notification_rule_request' is set
|
|
1226
|
+
if @api_client.config.client_side_validation && notification_rule_request.nil?
|
|
1227
|
+
fail ArgumentError, "Missing the required parameter 'notification_rule_request' when calling EventsApi.events_rules_create"
|
|
1228
|
+
end
|
|
1229
|
+
# resource path
|
|
1230
|
+
local_var_path = '/events/rules/'
|
|
1231
|
+
|
|
1232
|
+
# query parameters
|
|
1233
|
+
query_params = opts[:query_params] || {}
|
|
1234
|
+
|
|
1235
|
+
# header parameters
|
|
1236
|
+
header_params = opts[:header_params] || {}
|
|
1237
|
+
# HTTP header 'Accept' (if needed)
|
|
1238
|
+
header_params['Accept'] = @api_client.select_header_accept(['application/json']) unless header_params['Accept']
|
|
1239
|
+
# HTTP header 'Content-Type'
|
|
1240
|
+
content_type = @api_client.select_header_content_type(['application/json'])
|
|
1241
|
+
if !content_type.nil?
|
|
1242
|
+
header_params['Content-Type'] = content_type
|
|
1243
|
+
end
|
|
1244
|
+
|
|
1245
|
+
# form parameters
|
|
1246
|
+
form_params = opts[:form_params] || {}
|
|
1247
|
+
|
|
1248
|
+
# http body (model)
|
|
1249
|
+
post_body = opts[:debug_body] || @api_client.object_to_http_body(notification_rule_request)
|
|
1250
|
+
|
|
1251
|
+
# return_type
|
|
1252
|
+
return_type = opts[:debug_return_type] || 'NotificationRule'
|
|
1253
|
+
|
|
1254
|
+
# auth_names
|
|
1255
|
+
auth_names = opts[:debug_auth_names] || ['authentik']
|
|
1256
|
+
|
|
1257
|
+
new_options = opts.merge(
|
|
1258
|
+
:operation => :"EventsApi.events_rules_create",
|
|
1259
|
+
:header_params => header_params,
|
|
1260
|
+
:query_params => query_params,
|
|
1261
|
+
:form_params => form_params,
|
|
1262
|
+
:body => post_body,
|
|
1263
|
+
:auth_names => auth_names,
|
|
1264
|
+
:return_type => return_type
|
|
1265
|
+
)
|
|
1266
|
+
|
|
1267
|
+
data, status_code, headers = @api_client.call_api(:POST, local_var_path, new_options)
|
|
1268
|
+
if @api_client.config.debugging
|
|
1269
|
+
@api_client.config.logger.debug "API called: EventsApi#events_rules_create\nData: #{data.inspect}\nStatus code: #{status_code}\nHeaders: #{headers}"
|
|
1270
|
+
end
|
|
1271
|
+
return data, status_code, headers
|
|
1272
|
+
end
|
|
1273
|
+
|
|
1274
|
+
# NotificationRule Viewset
|
|
1275
|
+
# @param pbm_uuid [String] A UUID string identifying this Notification Rule.
|
|
1276
|
+
# @param [Hash] opts the optional parameters
|
|
1277
|
+
# @return [nil]
|
|
1278
|
+
def events_rules_destroy(pbm_uuid, opts = {})
|
|
1279
|
+
events_rules_destroy_with_http_info(pbm_uuid, opts)
|
|
1280
|
+
nil
|
|
1281
|
+
end
|
|
1282
|
+
|
|
1283
|
+
# NotificationRule Viewset
|
|
1284
|
+
# @param pbm_uuid [String] A UUID string identifying this Notification Rule.
|
|
1285
|
+
# @param [Hash] opts the optional parameters
|
|
1286
|
+
# @return [Array<(nil, Integer, Hash)>] nil, response status code and response headers
|
|
1287
|
+
def events_rules_destroy_with_http_info(pbm_uuid, opts = {})
|
|
1288
|
+
if @api_client.config.debugging
|
|
1289
|
+
@api_client.config.logger.debug 'Calling API: EventsApi.events_rules_destroy ...'
|
|
1290
|
+
end
|
|
1291
|
+
# verify the required parameter 'pbm_uuid' is set
|
|
1292
|
+
if @api_client.config.client_side_validation && pbm_uuid.nil?
|
|
1293
|
+
fail ArgumentError, "Missing the required parameter 'pbm_uuid' when calling EventsApi.events_rules_destroy"
|
|
1294
|
+
end
|
|
1295
|
+
# resource path
|
|
1296
|
+
local_var_path = '/events/rules/{pbm_uuid}/'.sub('{' + 'pbm_uuid' + '}', CGI.escape(pbm_uuid.to_s))
|
|
1297
|
+
|
|
1298
|
+
# query parameters
|
|
1299
|
+
query_params = opts[:query_params] || {}
|
|
1300
|
+
|
|
1301
|
+
# header parameters
|
|
1302
|
+
header_params = opts[:header_params] || {}
|
|
1303
|
+
# HTTP header 'Accept' (if needed)
|
|
1304
|
+
header_params['Accept'] = @api_client.select_header_accept(['application/json']) unless header_params['Accept']
|
|
1305
|
+
|
|
1306
|
+
# form parameters
|
|
1307
|
+
form_params = opts[:form_params] || {}
|
|
1308
|
+
|
|
1309
|
+
# http body (model)
|
|
1310
|
+
post_body = opts[:debug_body]
|
|
1311
|
+
|
|
1312
|
+
# return_type
|
|
1313
|
+
return_type = opts[:debug_return_type]
|
|
1314
|
+
|
|
1315
|
+
# auth_names
|
|
1316
|
+
auth_names = opts[:debug_auth_names] || ['authentik']
|
|
1317
|
+
|
|
1318
|
+
new_options = opts.merge(
|
|
1319
|
+
:operation => :"EventsApi.events_rules_destroy",
|
|
1320
|
+
:header_params => header_params,
|
|
1321
|
+
:query_params => query_params,
|
|
1322
|
+
:form_params => form_params,
|
|
1323
|
+
:body => post_body,
|
|
1324
|
+
:auth_names => auth_names,
|
|
1325
|
+
:return_type => return_type
|
|
1326
|
+
)
|
|
1327
|
+
|
|
1328
|
+
data, status_code, headers = @api_client.call_api(:DELETE, local_var_path, new_options)
|
|
1329
|
+
if @api_client.config.debugging
|
|
1330
|
+
@api_client.config.logger.debug "API called: EventsApi#events_rules_destroy\nData: #{data.inspect}\nStatus code: #{status_code}\nHeaders: #{headers}"
|
|
1331
|
+
end
|
|
1332
|
+
return data, status_code, headers
|
|
1333
|
+
end
|
|
1334
|
+
|
|
1335
|
+
# NotificationRule Viewset
|
|
1336
|
+
# @param [Hash] opts the optional parameters
|
|
1337
|
+
# @option opts [String] :destination_group__name
|
|
1338
|
+
# @option opts [String] :name
|
|
1339
|
+
# @option opts [String] :ordering Which field to use when ordering the results.
|
|
1340
|
+
# @option opts [Integer] :page A page number within the paginated result set.
|
|
1341
|
+
# @option opts [Integer] :page_size Number of results to return per page.
|
|
1342
|
+
# @option opts [String] :search A search term.
|
|
1343
|
+
# @option opts [String] :severity Controls which severity level the created notifications will have.
|
|
1344
|
+
# @return [PaginatedNotificationRuleList]
|
|
1345
|
+
def events_rules_list(opts = {})
|
|
1346
|
+
data, _status_code, _headers = events_rules_list_with_http_info(opts)
|
|
1347
|
+
data
|
|
1348
|
+
end
|
|
1349
|
+
|
|
1350
|
+
# NotificationRule Viewset
|
|
1351
|
+
# @param [Hash] opts the optional parameters
|
|
1352
|
+
# @option opts [String] :destination_group__name
|
|
1353
|
+
# @option opts [String] :name
|
|
1354
|
+
# @option opts [String] :ordering Which field to use when ordering the results.
|
|
1355
|
+
# @option opts [Integer] :page A page number within the paginated result set.
|
|
1356
|
+
# @option opts [Integer] :page_size Number of results to return per page.
|
|
1357
|
+
# @option opts [String] :search A search term.
|
|
1358
|
+
# @option opts [String] :severity Controls which severity level the created notifications will have.
|
|
1359
|
+
# @return [Array<(PaginatedNotificationRuleList, Integer, Hash)>] PaginatedNotificationRuleList data, response status code and response headers
|
|
1360
|
+
def events_rules_list_with_http_info(opts = {})
|
|
1361
|
+
if @api_client.config.debugging
|
|
1362
|
+
@api_client.config.logger.debug 'Calling API: EventsApi.events_rules_list ...'
|
|
1363
|
+
end
|
|
1364
|
+
allowable_values = ["alert", "notice", "warning"]
|
|
1365
|
+
if @api_client.config.client_side_validation && opts[:'severity'] && !allowable_values.include?(opts[:'severity'])
|
|
1366
|
+
fail ArgumentError, "invalid value for \"severity\", must be one of #{allowable_values}"
|
|
1367
|
+
end
|
|
1368
|
+
# resource path
|
|
1369
|
+
local_var_path = '/events/rules/'
|
|
1370
|
+
|
|
1371
|
+
# query parameters
|
|
1372
|
+
query_params = opts[:query_params] || {}
|
|
1373
|
+
query_params[:'destination_group__name'] = opts[:'destination_group__name'] if !opts[:'destination_group__name'].nil?
|
|
1374
|
+
query_params[:'name'] = opts[:'name'] if !opts[:'name'].nil?
|
|
1375
|
+
query_params[:'ordering'] = opts[:'ordering'] if !opts[:'ordering'].nil?
|
|
1376
|
+
query_params[:'page'] = opts[:'page'] if !opts[:'page'].nil?
|
|
1377
|
+
query_params[:'page_size'] = opts[:'page_size'] if !opts[:'page_size'].nil?
|
|
1378
|
+
query_params[:'search'] = opts[:'search'] if !opts[:'search'].nil?
|
|
1379
|
+
query_params[:'severity'] = opts[:'severity'] if !opts[:'severity'].nil?
|
|
1380
|
+
|
|
1381
|
+
# header parameters
|
|
1382
|
+
header_params = opts[:header_params] || {}
|
|
1383
|
+
# HTTP header 'Accept' (if needed)
|
|
1384
|
+
header_params['Accept'] = @api_client.select_header_accept(['application/json']) unless header_params['Accept']
|
|
1385
|
+
|
|
1386
|
+
# form parameters
|
|
1387
|
+
form_params = opts[:form_params] || {}
|
|
1388
|
+
|
|
1389
|
+
# http body (model)
|
|
1390
|
+
post_body = opts[:debug_body]
|
|
1391
|
+
|
|
1392
|
+
# return_type
|
|
1393
|
+
return_type = opts[:debug_return_type] || 'PaginatedNotificationRuleList'
|
|
1394
|
+
|
|
1395
|
+
# auth_names
|
|
1396
|
+
auth_names = opts[:debug_auth_names] || ['authentik']
|
|
1397
|
+
|
|
1398
|
+
new_options = opts.merge(
|
|
1399
|
+
:operation => :"EventsApi.events_rules_list",
|
|
1400
|
+
:header_params => header_params,
|
|
1401
|
+
:query_params => query_params,
|
|
1402
|
+
:form_params => form_params,
|
|
1403
|
+
:body => post_body,
|
|
1404
|
+
:auth_names => auth_names,
|
|
1405
|
+
:return_type => return_type
|
|
1406
|
+
)
|
|
1407
|
+
|
|
1408
|
+
data, status_code, headers = @api_client.call_api(:GET, local_var_path, new_options)
|
|
1409
|
+
if @api_client.config.debugging
|
|
1410
|
+
@api_client.config.logger.debug "API called: EventsApi#events_rules_list\nData: #{data.inspect}\nStatus code: #{status_code}\nHeaders: #{headers}"
|
|
1411
|
+
end
|
|
1412
|
+
return data, status_code, headers
|
|
1413
|
+
end
|
|
1414
|
+
|
|
1415
|
+
# NotificationRule Viewset
|
|
1416
|
+
# @param pbm_uuid [String] A UUID string identifying this Notification Rule.
|
|
1417
|
+
# @param [Hash] opts the optional parameters
|
|
1418
|
+
# @option opts [PatchedNotificationRuleRequest] :patched_notification_rule_request
|
|
1419
|
+
# @return [NotificationRule]
|
|
1420
|
+
def events_rules_partial_update(pbm_uuid, opts = {})
|
|
1421
|
+
data, _status_code, _headers = events_rules_partial_update_with_http_info(pbm_uuid, opts)
|
|
1422
|
+
data
|
|
1423
|
+
end
|
|
1424
|
+
|
|
1425
|
+
# NotificationRule Viewset
|
|
1426
|
+
# @param pbm_uuid [String] A UUID string identifying this Notification Rule.
|
|
1427
|
+
# @param [Hash] opts the optional parameters
|
|
1428
|
+
# @option opts [PatchedNotificationRuleRequest] :patched_notification_rule_request
|
|
1429
|
+
# @return [Array<(NotificationRule, Integer, Hash)>] NotificationRule data, response status code and response headers
|
|
1430
|
+
def events_rules_partial_update_with_http_info(pbm_uuid, opts = {})
|
|
1431
|
+
if @api_client.config.debugging
|
|
1432
|
+
@api_client.config.logger.debug 'Calling API: EventsApi.events_rules_partial_update ...'
|
|
1433
|
+
end
|
|
1434
|
+
# verify the required parameter 'pbm_uuid' is set
|
|
1435
|
+
if @api_client.config.client_side_validation && pbm_uuid.nil?
|
|
1436
|
+
fail ArgumentError, "Missing the required parameter 'pbm_uuid' when calling EventsApi.events_rules_partial_update"
|
|
1437
|
+
end
|
|
1438
|
+
# resource path
|
|
1439
|
+
local_var_path = '/events/rules/{pbm_uuid}/'.sub('{' + 'pbm_uuid' + '}', CGI.escape(pbm_uuid.to_s))
|
|
1440
|
+
|
|
1441
|
+
# query parameters
|
|
1442
|
+
query_params = opts[:query_params] || {}
|
|
1443
|
+
|
|
1444
|
+
# header parameters
|
|
1445
|
+
header_params = opts[:header_params] || {}
|
|
1446
|
+
# HTTP header 'Accept' (if needed)
|
|
1447
|
+
header_params['Accept'] = @api_client.select_header_accept(['application/json']) unless header_params['Accept']
|
|
1448
|
+
# HTTP header 'Content-Type'
|
|
1449
|
+
content_type = @api_client.select_header_content_type(['application/json'])
|
|
1450
|
+
if !content_type.nil?
|
|
1451
|
+
header_params['Content-Type'] = content_type
|
|
1452
|
+
end
|
|
1453
|
+
|
|
1454
|
+
# form parameters
|
|
1455
|
+
form_params = opts[:form_params] || {}
|
|
1456
|
+
|
|
1457
|
+
# http body (model)
|
|
1458
|
+
post_body = opts[:debug_body] || @api_client.object_to_http_body(opts[:'patched_notification_rule_request'])
|
|
1459
|
+
|
|
1460
|
+
# return_type
|
|
1461
|
+
return_type = opts[:debug_return_type] || 'NotificationRule'
|
|
1462
|
+
|
|
1463
|
+
# auth_names
|
|
1464
|
+
auth_names = opts[:debug_auth_names] || ['authentik']
|
|
1465
|
+
|
|
1466
|
+
new_options = opts.merge(
|
|
1467
|
+
:operation => :"EventsApi.events_rules_partial_update",
|
|
1468
|
+
:header_params => header_params,
|
|
1469
|
+
:query_params => query_params,
|
|
1470
|
+
:form_params => form_params,
|
|
1471
|
+
:body => post_body,
|
|
1472
|
+
:auth_names => auth_names,
|
|
1473
|
+
:return_type => return_type
|
|
1474
|
+
)
|
|
1475
|
+
|
|
1476
|
+
data, status_code, headers = @api_client.call_api(:PATCH, local_var_path, new_options)
|
|
1477
|
+
if @api_client.config.debugging
|
|
1478
|
+
@api_client.config.logger.debug "API called: EventsApi#events_rules_partial_update\nData: #{data.inspect}\nStatus code: #{status_code}\nHeaders: #{headers}"
|
|
1479
|
+
end
|
|
1480
|
+
return data, status_code, headers
|
|
1481
|
+
end
|
|
1482
|
+
|
|
1483
|
+
# NotificationRule Viewset
|
|
1484
|
+
# @param pbm_uuid [String] A UUID string identifying this Notification Rule.
|
|
1485
|
+
# @param [Hash] opts the optional parameters
|
|
1486
|
+
# @return [NotificationRule]
|
|
1487
|
+
def events_rules_retrieve(pbm_uuid, opts = {})
|
|
1488
|
+
data, _status_code, _headers = events_rules_retrieve_with_http_info(pbm_uuid, opts)
|
|
1489
|
+
data
|
|
1490
|
+
end
|
|
1491
|
+
|
|
1492
|
+
# NotificationRule Viewset
|
|
1493
|
+
# @param pbm_uuid [String] A UUID string identifying this Notification Rule.
|
|
1494
|
+
# @param [Hash] opts the optional parameters
|
|
1495
|
+
# @return [Array<(NotificationRule, Integer, Hash)>] NotificationRule data, response status code and response headers
|
|
1496
|
+
def events_rules_retrieve_with_http_info(pbm_uuid, opts = {})
|
|
1497
|
+
if @api_client.config.debugging
|
|
1498
|
+
@api_client.config.logger.debug 'Calling API: EventsApi.events_rules_retrieve ...'
|
|
1499
|
+
end
|
|
1500
|
+
# verify the required parameter 'pbm_uuid' is set
|
|
1501
|
+
if @api_client.config.client_side_validation && pbm_uuid.nil?
|
|
1502
|
+
fail ArgumentError, "Missing the required parameter 'pbm_uuid' when calling EventsApi.events_rules_retrieve"
|
|
1503
|
+
end
|
|
1504
|
+
# resource path
|
|
1505
|
+
local_var_path = '/events/rules/{pbm_uuid}/'.sub('{' + 'pbm_uuid' + '}', CGI.escape(pbm_uuid.to_s))
|
|
1506
|
+
|
|
1507
|
+
# query parameters
|
|
1508
|
+
query_params = opts[:query_params] || {}
|
|
1509
|
+
|
|
1510
|
+
# header parameters
|
|
1511
|
+
header_params = opts[:header_params] || {}
|
|
1512
|
+
# HTTP header 'Accept' (if needed)
|
|
1513
|
+
header_params['Accept'] = @api_client.select_header_accept(['application/json']) unless header_params['Accept']
|
|
1514
|
+
|
|
1515
|
+
# form parameters
|
|
1516
|
+
form_params = opts[:form_params] || {}
|
|
1517
|
+
|
|
1518
|
+
# http body (model)
|
|
1519
|
+
post_body = opts[:debug_body]
|
|
1520
|
+
|
|
1521
|
+
# return_type
|
|
1522
|
+
return_type = opts[:debug_return_type] || 'NotificationRule'
|
|
1523
|
+
|
|
1524
|
+
# auth_names
|
|
1525
|
+
auth_names = opts[:debug_auth_names] || ['authentik']
|
|
1526
|
+
|
|
1527
|
+
new_options = opts.merge(
|
|
1528
|
+
:operation => :"EventsApi.events_rules_retrieve",
|
|
1529
|
+
:header_params => header_params,
|
|
1530
|
+
:query_params => query_params,
|
|
1531
|
+
:form_params => form_params,
|
|
1532
|
+
:body => post_body,
|
|
1533
|
+
:auth_names => auth_names,
|
|
1534
|
+
:return_type => return_type
|
|
1535
|
+
)
|
|
1536
|
+
|
|
1537
|
+
data, status_code, headers = @api_client.call_api(:GET, local_var_path, new_options)
|
|
1538
|
+
if @api_client.config.debugging
|
|
1539
|
+
@api_client.config.logger.debug "API called: EventsApi#events_rules_retrieve\nData: #{data.inspect}\nStatus code: #{status_code}\nHeaders: #{headers}"
|
|
1540
|
+
end
|
|
1541
|
+
return data, status_code, headers
|
|
1542
|
+
end
|
|
1543
|
+
|
|
1544
|
+
# NotificationRule Viewset
|
|
1545
|
+
# @param pbm_uuid [String] A UUID string identifying this Notification Rule.
|
|
1546
|
+
# @param notification_rule_request [NotificationRuleRequest]
|
|
1547
|
+
# @param [Hash] opts the optional parameters
|
|
1548
|
+
# @return [NotificationRule]
|
|
1549
|
+
def events_rules_update(pbm_uuid, notification_rule_request, opts = {})
|
|
1550
|
+
data, _status_code, _headers = events_rules_update_with_http_info(pbm_uuid, notification_rule_request, opts)
|
|
1551
|
+
data
|
|
1552
|
+
end
|
|
1553
|
+
|
|
1554
|
+
# NotificationRule Viewset
|
|
1555
|
+
# @param pbm_uuid [String] A UUID string identifying this Notification Rule.
|
|
1556
|
+
# @param notification_rule_request [NotificationRuleRequest]
|
|
1557
|
+
# @param [Hash] opts the optional parameters
|
|
1558
|
+
# @return [Array<(NotificationRule, Integer, Hash)>] NotificationRule data, response status code and response headers
|
|
1559
|
+
def events_rules_update_with_http_info(pbm_uuid, notification_rule_request, opts = {})
|
|
1560
|
+
if @api_client.config.debugging
|
|
1561
|
+
@api_client.config.logger.debug 'Calling API: EventsApi.events_rules_update ...'
|
|
1562
|
+
end
|
|
1563
|
+
# verify the required parameter 'pbm_uuid' is set
|
|
1564
|
+
if @api_client.config.client_side_validation && pbm_uuid.nil?
|
|
1565
|
+
fail ArgumentError, "Missing the required parameter 'pbm_uuid' when calling EventsApi.events_rules_update"
|
|
1566
|
+
end
|
|
1567
|
+
# verify the required parameter 'notification_rule_request' is set
|
|
1568
|
+
if @api_client.config.client_side_validation && notification_rule_request.nil?
|
|
1569
|
+
fail ArgumentError, "Missing the required parameter 'notification_rule_request' when calling EventsApi.events_rules_update"
|
|
1570
|
+
end
|
|
1571
|
+
# resource path
|
|
1572
|
+
local_var_path = '/events/rules/{pbm_uuid}/'.sub('{' + 'pbm_uuid' + '}', CGI.escape(pbm_uuid.to_s))
|
|
1573
|
+
|
|
1574
|
+
# query parameters
|
|
1575
|
+
query_params = opts[:query_params] || {}
|
|
1576
|
+
|
|
1577
|
+
# header parameters
|
|
1578
|
+
header_params = opts[:header_params] || {}
|
|
1579
|
+
# HTTP header 'Accept' (if needed)
|
|
1580
|
+
header_params['Accept'] = @api_client.select_header_accept(['application/json']) unless header_params['Accept']
|
|
1581
|
+
# HTTP header 'Content-Type'
|
|
1582
|
+
content_type = @api_client.select_header_content_type(['application/json'])
|
|
1583
|
+
if !content_type.nil?
|
|
1584
|
+
header_params['Content-Type'] = content_type
|
|
1585
|
+
end
|
|
1586
|
+
|
|
1587
|
+
# form parameters
|
|
1588
|
+
form_params = opts[:form_params] || {}
|
|
1589
|
+
|
|
1590
|
+
# http body (model)
|
|
1591
|
+
post_body = opts[:debug_body] || @api_client.object_to_http_body(notification_rule_request)
|
|
1592
|
+
|
|
1593
|
+
# return_type
|
|
1594
|
+
return_type = opts[:debug_return_type] || 'NotificationRule'
|
|
1595
|
+
|
|
1596
|
+
# auth_names
|
|
1597
|
+
auth_names = opts[:debug_auth_names] || ['authentik']
|
|
1598
|
+
|
|
1599
|
+
new_options = opts.merge(
|
|
1600
|
+
:operation => :"EventsApi.events_rules_update",
|
|
1601
|
+
:header_params => header_params,
|
|
1602
|
+
:query_params => query_params,
|
|
1603
|
+
:form_params => form_params,
|
|
1604
|
+
:body => post_body,
|
|
1605
|
+
:auth_names => auth_names,
|
|
1606
|
+
:return_type => return_type
|
|
1607
|
+
)
|
|
1608
|
+
|
|
1609
|
+
data, status_code, headers = @api_client.call_api(:PUT, local_var_path, new_options)
|
|
1610
|
+
if @api_client.config.debugging
|
|
1611
|
+
@api_client.config.logger.debug "API called: EventsApi#events_rules_update\nData: #{data.inspect}\nStatus code: #{status_code}\nHeaders: #{headers}"
|
|
1612
|
+
end
|
|
1613
|
+
return data, status_code, headers
|
|
1614
|
+
end
|
|
1615
|
+
|
|
1616
|
+
# Get a list of all objects that use this object
|
|
1617
|
+
# @param pbm_uuid [String] A UUID string identifying this Notification Rule.
|
|
1618
|
+
# @param [Hash] opts the optional parameters
|
|
1619
|
+
# @return [Array<UsedBy>]
|
|
1620
|
+
def events_rules_used_by_list(pbm_uuid, opts = {})
|
|
1621
|
+
data, _status_code, _headers = events_rules_used_by_list_with_http_info(pbm_uuid, opts)
|
|
1622
|
+
data
|
|
1623
|
+
end
|
|
1624
|
+
|
|
1625
|
+
# Get a list of all objects that use this object
|
|
1626
|
+
# @param pbm_uuid [String] A UUID string identifying this Notification Rule.
|
|
1627
|
+
# @param [Hash] opts the optional parameters
|
|
1628
|
+
# @return [Array<(Array<UsedBy>, Integer, Hash)>] Array<UsedBy> data, response status code and response headers
|
|
1629
|
+
def events_rules_used_by_list_with_http_info(pbm_uuid, opts = {})
|
|
1630
|
+
if @api_client.config.debugging
|
|
1631
|
+
@api_client.config.logger.debug 'Calling API: EventsApi.events_rules_used_by_list ...'
|
|
1632
|
+
end
|
|
1633
|
+
# verify the required parameter 'pbm_uuid' is set
|
|
1634
|
+
if @api_client.config.client_side_validation && pbm_uuid.nil?
|
|
1635
|
+
fail ArgumentError, "Missing the required parameter 'pbm_uuid' when calling EventsApi.events_rules_used_by_list"
|
|
1636
|
+
end
|
|
1637
|
+
# resource path
|
|
1638
|
+
local_var_path = '/events/rules/{pbm_uuid}/used_by/'.sub('{' + 'pbm_uuid' + '}', CGI.escape(pbm_uuid.to_s))
|
|
1639
|
+
|
|
1640
|
+
# query parameters
|
|
1641
|
+
query_params = opts[:query_params] || {}
|
|
1642
|
+
|
|
1643
|
+
# header parameters
|
|
1644
|
+
header_params = opts[:header_params] || {}
|
|
1645
|
+
# HTTP header 'Accept' (if needed)
|
|
1646
|
+
header_params['Accept'] = @api_client.select_header_accept(['application/json']) unless header_params['Accept']
|
|
1647
|
+
|
|
1648
|
+
# form parameters
|
|
1649
|
+
form_params = opts[:form_params] || {}
|
|
1650
|
+
|
|
1651
|
+
# http body (model)
|
|
1652
|
+
post_body = opts[:debug_body]
|
|
1653
|
+
|
|
1654
|
+
# return_type
|
|
1655
|
+
return_type = opts[:debug_return_type] || 'Array<UsedBy>'
|
|
1656
|
+
|
|
1657
|
+
# auth_names
|
|
1658
|
+
auth_names = opts[:debug_auth_names] || ['authentik']
|
|
1659
|
+
|
|
1660
|
+
new_options = opts.merge(
|
|
1661
|
+
:operation => :"EventsApi.events_rules_used_by_list",
|
|
1662
|
+
:header_params => header_params,
|
|
1663
|
+
:query_params => query_params,
|
|
1664
|
+
:form_params => form_params,
|
|
1665
|
+
:body => post_body,
|
|
1666
|
+
:auth_names => auth_names,
|
|
1667
|
+
:return_type => return_type
|
|
1668
|
+
)
|
|
1669
|
+
|
|
1670
|
+
data, status_code, headers = @api_client.call_api(:GET, local_var_path, new_options)
|
|
1671
|
+
if @api_client.config.debugging
|
|
1672
|
+
@api_client.config.logger.debug "API called: EventsApi#events_rules_used_by_list\nData: #{data.inspect}\nStatus code: #{status_code}\nHeaders: #{headers}"
|
|
1673
|
+
end
|
|
1674
|
+
return data, status_code, headers
|
|
1675
|
+
end
|
|
1676
|
+
|
|
1677
|
+
# NotificationTransport Viewset
|
|
1678
|
+
# @param notification_transport_request [NotificationTransportRequest]
|
|
1679
|
+
# @param [Hash] opts the optional parameters
|
|
1680
|
+
# @return [NotificationTransport]
|
|
1681
|
+
def events_transports_create(notification_transport_request, opts = {})
|
|
1682
|
+
data, _status_code, _headers = events_transports_create_with_http_info(notification_transport_request, opts)
|
|
1683
|
+
data
|
|
1684
|
+
end
|
|
1685
|
+
|
|
1686
|
+
# NotificationTransport Viewset
|
|
1687
|
+
# @param notification_transport_request [NotificationTransportRequest]
|
|
1688
|
+
# @param [Hash] opts the optional parameters
|
|
1689
|
+
# @return [Array<(NotificationTransport, Integer, Hash)>] NotificationTransport data, response status code and response headers
|
|
1690
|
+
def events_transports_create_with_http_info(notification_transport_request, opts = {})
|
|
1691
|
+
if @api_client.config.debugging
|
|
1692
|
+
@api_client.config.logger.debug 'Calling API: EventsApi.events_transports_create ...'
|
|
1693
|
+
end
|
|
1694
|
+
# verify the required parameter 'notification_transport_request' is set
|
|
1695
|
+
if @api_client.config.client_side_validation && notification_transport_request.nil?
|
|
1696
|
+
fail ArgumentError, "Missing the required parameter 'notification_transport_request' when calling EventsApi.events_transports_create"
|
|
1697
|
+
end
|
|
1698
|
+
# resource path
|
|
1699
|
+
local_var_path = '/events/transports/'
|
|
1700
|
+
|
|
1701
|
+
# query parameters
|
|
1702
|
+
query_params = opts[:query_params] || {}
|
|
1703
|
+
|
|
1704
|
+
# header parameters
|
|
1705
|
+
header_params = opts[:header_params] || {}
|
|
1706
|
+
# HTTP header 'Accept' (if needed)
|
|
1707
|
+
header_params['Accept'] = @api_client.select_header_accept(['application/json']) unless header_params['Accept']
|
|
1708
|
+
# HTTP header 'Content-Type'
|
|
1709
|
+
content_type = @api_client.select_header_content_type(['application/json'])
|
|
1710
|
+
if !content_type.nil?
|
|
1711
|
+
header_params['Content-Type'] = content_type
|
|
1712
|
+
end
|
|
1713
|
+
|
|
1714
|
+
# form parameters
|
|
1715
|
+
form_params = opts[:form_params] || {}
|
|
1716
|
+
|
|
1717
|
+
# http body (model)
|
|
1718
|
+
post_body = opts[:debug_body] || @api_client.object_to_http_body(notification_transport_request)
|
|
1719
|
+
|
|
1720
|
+
# return_type
|
|
1721
|
+
return_type = opts[:debug_return_type] || 'NotificationTransport'
|
|
1722
|
+
|
|
1723
|
+
# auth_names
|
|
1724
|
+
auth_names = opts[:debug_auth_names] || ['authentik']
|
|
1725
|
+
|
|
1726
|
+
new_options = opts.merge(
|
|
1727
|
+
:operation => :"EventsApi.events_transports_create",
|
|
1728
|
+
:header_params => header_params,
|
|
1729
|
+
:query_params => query_params,
|
|
1730
|
+
:form_params => form_params,
|
|
1731
|
+
:body => post_body,
|
|
1732
|
+
:auth_names => auth_names,
|
|
1733
|
+
:return_type => return_type
|
|
1734
|
+
)
|
|
1735
|
+
|
|
1736
|
+
data, status_code, headers = @api_client.call_api(:POST, local_var_path, new_options)
|
|
1737
|
+
if @api_client.config.debugging
|
|
1738
|
+
@api_client.config.logger.debug "API called: EventsApi#events_transports_create\nData: #{data.inspect}\nStatus code: #{status_code}\nHeaders: #{headers}"
|
|
1739
|
+
end
|
|
1740
|
+
return data, status_code, headers
|
|
1741
|
+
end
|
|
1742
|
+
|
|
1743
|
+
# NotificationTransport Viewset
|
|
1744
|
+
# @param uuid [String] A UUID string identifying this Notification Transport.
|
|
1745
|
+
# @param [Hash] opts the optional parameters
|
|
1746
|
+
# @return [nil]
|
|
1747
|
+
def events_transports_destroy(uuid, opts = {})
|
|
1748
|
+
events_transports_destroy_with_http_info(uuid, opts)
|
|
1749
|
+
nil
|
|
1750
|
+
end
|
|
1751
|
+
|
|
1752
|
+
# NotificationTransport Viewset
|
|
1753
|
+
# @param uuid [String] A UUID string identifying this Notification Transport.
|
|
1754
|
+
# @param [Hash] opts the optional parameters
|
|
1755
|
+
# @return [Array<(nil, Integer, Hash)>] nil, response status code and response headers
|
|
1756
|
+
def events_transports_destroy_with_http_info(uuid, opts = {})
|
|
1757
|
+
if @api_client.config.debugging
|
|
1758
|
+
@api_client.config.logger.debug 'Calling API: EventsApi.events_transports_destroy ...'
|
|
1759
|
+
end
|
|
1760
|
+
# verify the required parameter 'uuid' is set
|
|
1761
|
+
if @api_client.config.client_side_validation && uuid.nil?
|
|
1762
|
+
fail ArgumentError, "Missing the required parameter 'uuid' when calling EventsApi.events_transports_destroy"
|
|
1763
|
+
end
|
|
1764
|
+
# resource path
|
|
1765
|
+
local_var_path = '/events/transports/{uuid}/'.sub('{' + 'uuid' + '}', CGI.escape(uuid.to_s))
|
|
1766
|
+
|
|
1767
|
+
# query parameters
|
|
1768
|
+
query_params = opts[:query_params] || {}
|
|
1769
|
+
|
|
1770
|
+
# header parameters
|
|
1771
|
+
header_params = opts[:header_params] || {}
|
|
1772
|
+
# HTTP header 'Accept' (if needed)
|
|
1773
|
+
header_params['Accept'] = @api_client.select_header_accept(['application/json']) unless header_params['Accept']
|
|
1774
|
+
|
|
1775
|
+
# form parameters
|
|
1776
|
+
form_params = opts[:form_params] || {}
|
|
1777
|
+
|
|
1778
|
+
# http body (model)
|
|
1779
|
+
post_body = opts[:debug_body]
|
|
1780
|
+
|
|
1781
|
+
# return_type
|
|
1782
|
+
return_type = opts[:debug_return_type]
|
|
1783
|
+
|
|
1784
|
+
# auth_names
|
|
1785
|
+
auth_names = opts[:debug_auth_names] || ['authentik']
|
|
1786
|
+
|
|
1787
|
+
new_options = opts.merge(
|
|
1788
|
+
:operation => :"EventsApi.events_transports_destroy",
|
|
1789
|
+
:header_params => header_params,
|
|
1790
|
+
:query_params => query_params,
|
|
1791
|
+
:form_params => form_params,
|
|
1792
|
+
:body => post_body,
|
|
1793
|
+
:auth_names => auth_names,
|
|
1794
|
+
:return_type => return_type
|
|
1795
|
+
)
|
|
1796
|
+
|
|
1797
|
+
data, status_code, headers = @api_client.call_api(:DELETE, local_var_path, new_options)
|
|
1798
|
+
if @api_client.config.debugging
|
|
1799
|
+
@api_client.config.logger.debug "API called: EventsApi#events_transports_destroy\nData: #{data.inspect}\nStatus code: #{status_code}\nHeaders: #{headers}"
|
|
1800
|
+
end
|
|
1801
|
+
return data, status_code, headers
|
|
1802
|
+
end
|
|
1803
|
+
|
|
1804
|
+
# NotificationTransport Viewset
|
|
1805
|
+
# @param [Hash] opts the optional parameters
|
|
1806
|
+
# @option opts [String] :mode
|
|
1807
|
+
# @option opts [String] :name
|
|
1808
|
+
# @option opts [String] :ordering Which field to use when ordering the results.
|
|
1809
|
+
# @option opts [Integer] :page A page number within the paginated result set.
|
|
1810
|
+
# @option opts [Integer] :page_size Number of results to return per page.
|
|
1811
|
+
# @option opts [String] :search A search term.
|
|
1812
|
+
# @option opts [Boolean] :send_once
|
|
1813
|
+
# @option opts [String] :webhook_url
|
|
1814
|
+
# @return [PaginatedNotificationTransportList]
|
|
1815
|
+
def events_transports_list(opts = {})
|
|
1816
|
+
data, _status_code, _headers = events_transports_list_with_http_info(opts)
|
|
1817
|
+
data
|
|
1818
|
+
end
|
|
1819
|
+
|
|
1820
|
+
# NotificationTransport Viewset
|
|
1821
|
+
# @param [Hash] opts the optional parameters
|
|
1822
|
+
# @option opts [String] :mode
|
|
1823
|
+
# @option opts [String] :name
|
|
1824
|
+
# @option opts [String] :ordering Which field to use when ordering the results.
|
|
1825
|
+
# @option opts [Integer] :page A page number within the paginated result set.
|
|
1826
|
+
# @option opts [Integer] :page_size Number of results to return per page.
|
|
1827
|
+
# @option opts [String] :search A search term.
|
|
1828
|
+
# @option opts [Boolean] :send_once
|
|
1829
|
+
# @option opts [String] :webhook_url
|
|
1830
|
+
# @return [Array<(PaginatedNotificationTransportList, Integer, Hash)>] PaginatedNotificationTransportList data, response status code and response headers
|
|
1831
|
+
def events_transports_list_with_http_info(opts = {})
|
|
1832
|
+
if @api_client.config.debugging
|
|
1833
|
+
@api_client.config.logger.debug 'Calling API: EventsApi.events_transports_list ...'
|
|
1834
|
+
end
|
|
1835
|
+
allowable_values = ["email", "local", "webhook", "webhook_slack"]
|
|
1836
|
+
if @api_client.config.client_side_validation && opts[:'mode'] && !allowable_values.include?(opts[:'mode'])
|
|
1837
|
+
fail ArgumentError, "invalid value for \"mode\", must be one of #{allowable_values}"
|
|
1838
|
+
end
|
|
1839
|
+
# resource path
|
|
1840
|
+
local_var_path = '/events/transports/'
|
|
1841
|
+
|
|
1842
|
+
# query parameters
|
|
1843
|
+
query_params = opts[:query_params] || {}
|
|
1844
|
+
query_params[:'mode'] = opts[:'mode'] if !opts[:'mode'].nil?
|
|
1845
|
+
query_params[:'name'] = opts[:'name'] if !opts[:'name'].nil?
|
|
1846
|
+
query_params[:'ordering'] = opts[:'ordering'] if !opts[:'ordering'].nil?
|
|
1847
|
+
query_params[:'page'] = opts[:'page'] if !opts[:'page'].nil?
|
|
1848
|
+
query_params[:'page_size'] = opts[:'page_size'] if !opts[:'page_size'].nil?
|
|
1849
|
+
query_params[:'search'] = opts[:'search'] if !opts[:'search'].nil?
|
|
1850
|
+
query_params[:'send_once'] = opts[:'send_once'] if !opts[:'send_once'].nil?
|
|
1851
|
+
query_params[:'webhook_url'] = opts[:'webhook_url'] if !opts[:'webhook_url'].nil?
|
|
1852
|
+
|
|
1853
|
+
# header parameters
|
|
1854
|
+
header_params = opts[:header_params] || {}
|
|
1855
|
+
# HTTP header 'Accept' (if needed)
|
|
1856
|
+
header_params['Accept'] = @api_client.select_header_accept(['application/json']) unless header_params['Accept']
|
|
1857
|
+
|
|
1858
|
+
# form parameters
|
|
1859
|
+
form_params = opts[:form_params] || {}
|
|
1860
|
+
|
|
1861
|
+
# http body (model)
|
|
1862
|
+
post_body = opts[:debug_body]
|
|
1863
|
+
|
|
1864
|
+
# return_type
|
|
1865
|
+
return_type = opts[:debug_return_type] || 'PaginatedNotificationTransportList'
|
|
1866
|
+
|
|
1867
|
+
# auth_names
|
|
1868
|
+
auth_names = opts[:debug_auth_names] || ['authentik']
|
|
1869
|
+
|
|
1870
|
+
new_options = opts.merge(
|
|
1871
|
+
:operation => :"EventsApi.events_transports_list",
|
|
1872
|
+
:header_params => header_params,
|
|
1873
|
+
:query_params => query_params,
|
|
1874
|
+
:form_params => form_params,
|
|
1875
|
+
:body => post_body,
|
|
1876
|
+
:auth_names => auth_names,
|
|
1877
|
+
:return_type => return_type
|
|
1878
|
+
)
|
|
1879
|
+
|
|
1880
|
+
data, status_code, headers = @api_client.call_api(:GET, local_var_path, new_options)
|
|
1881
|
+
if @api_client.config.debugging
|
|
1882
|
+
@api_client.config.logger.debug "API called: EventsApi#events_transports_list\nData: #{data.inspect}\nStatus code: #{status_code}\nHeaders: #{headers}"
|
|
1883
|
+
end
|
|
1884
|
+
return data, status_code, headers
|
|
1885
|
+
end
|
|
1886
|
+
|
|
1887
|
+
# NotificationTransport Viewset
|
|
1888
|
+
# @param uuid [String] A UUID string identifying this Notification Transport.
|
|
1889
|
+
# @param [Hash] opts the optional parameters
|
|
1890
|
+
# @option opts [PatchedNotificationTransportRequest] :patched_notification_transport_request
|
|
1891
|
+
# @return [NotificationTransport]
|
|
1892
|
+
def events_transports_partial_update(uuid, opts = {})
|
|
1893
|
+
data, _status_code, _headers = events_transports_partial_update_with_http_info(uuid, opts)
|
|
1894
|
+
data
|
|
1895
|
+
end
|
|
1896
|
+
|
|
1897
|
+
# NotificationTransport Viewset
|
|
1898
|
+
# @param uuid [String] A UUID string identifying this Notification Transport.
|
|
1899
|
+
# @param [Hash] opts the optional parameters
|
|
1900
|
+
# @option opts [PatchedNotificationTransportRequest] :patched_notification_transport_request
|
|
1901
|
+
# @return [Array<(NotificationTransport, Integer, Hash)>] NotificationTransport data, response status code and response headers
|
|
1902
|
+
def events_transports_partial_update_with_http_info(uuid, opts = {})
|
|
1903
|
+
if @api_client.config.debugging
|
|
1904
|
+
@api_client.config.logger.debug 'Calling API: EventsApi.events_transports_partial_update ...'
|
|
1905
|
+
end
|
|
1906
|
+
# verify the required parameter 'uuid' is set
|
|
1907
|
+
if @api_client.config.client_side_validation && uuid.nil?
|
|
1908
|
+
fail ArgumentError, "Missing the required parameter 'uuid' when calling EventsApi.events_transports_partial_update"
|
|
1909
|
+
end
|
|
1910
|
+
# resource path
|
|
1911
|
+
local_var_path = '/events/transports/{uuid}/'.sub('{' + 'uuid' + '}', CGI.escape(uuid.to_s))
|
|
1912
|
+
|
|
1913
|
+
# query parameters
|
|
1914
|
+
query_params = opts[:query_params] || {}
|
|
1915
|
+
|
|
1916
|
+
# header parameters
|
|
1917
|
+
header_params = opts[:header_params] || {}
|
|
1918
|
+
# HTTP header 'Accept' (if needed)
|
|
1919
|
+
header_params['Accept'] = @api_client.select_header_accept(['application/json']) unless header_params['Accept']
|
|
1920
|
+
# HTTP header 'Content-Type'
|
|
1921
|
+
content_type = @api_client.select_header_content_type(['application/json'])
|
|
1922
|
+
if !content_type.nil?
|
|
1923
|
+
header_params['Content-Type'] = content_type
|
|
1924
|
+
end
|
|
1925
|
+
|
|
1926
|
+
# form parameters
|
|
1927
|
+
form_params = opts[:form_params] || {}
|
|
1928
|
+
|
|
1929
|
+
# http body (model)
|
|
1930
|
+
post_body = opts[:debug_body] || @api_client.object_to_http_body(opts[:'patched_notification_transport_request'])
|
|
1931
|
+
|
|
1932
|
+
# return_type
|
|
1933
|
+
return_type = opts[:debug_return_type] || 'NotificationTransport'
|
|
1934
|
+
|
|
1935
|
+
# auth_names
|
|
1936
|
+
auth_names = opts[:debug_auth_names] || ['authentik']
|
|
1937
|
+
|
|
1938
|
+
new_options = opts.merge(
|
|
1939
|
+
:operation => :"EventsApi.events_transports_partial_update",
|
|
1940
|
+
:header_params => header_params,
|
|
1941
|
+
:query_params => query_params,
|
|
1942
|
+
:form_params => form_params,
|
|
1943
|
+
:body => post_body,
|
|
1944
|
+
:auth_names => auth_names,
|
|
1945
|
+
:return_type => return_type
|
|
1946
|
+
)
|
|
1947
|
+
|
|
1948
|
+
data, status_code, headers = @api_client.call_api(:PATCH, local_var_path, new_options)
|
|
1949
|
+
if @api_client.config.debugging
|
|
1950
|
+
@api_client.config.logger.debug "API called: EventsApi#events_transports_partial_update\nData: #{data.inspect}\nStatus code: #{status_code}\nHeaders: #{headers}"
|
|
1951
|
+
end
|
|
1952
|
+
return data, status_code, headers
|
|
1953
|
+
end
|
|
1954
|
+
|
|
1955
|
+
# NotificationTransport Viewset
|
|
1956
|
+
# @param uuid [String] A UUID string identifying this Notification Transport.
|
|
1957
|
+
# @param [Hash] opts the optional parameters
|
|
1958
|
+
# @return [NotificationTransport]
|
|
1959
|
+
def events_transports_retrieve(uuid, opts = {})
|
|
1960
|
+
data, _status_code, _headers = events_transports_retrieve_with_http_info(uuid, opts)
|
|
1961
|
+
data
|
|
1962
|
+
end
|
|
1963
|
+
|
|
1964
|
+
# NotificationTransport Viewset
|
|
1965
|
+
# @param uuid [String] A UUID string identifying this Notification Transport.
|
|
1966
|
+
# @param [Hash] opts the optional parameters
|
|
1967
|
+
# @return [Array<(NotificationTransport, Integer, Hash)>] NotificationTransport data, response status code and response headers
|
|
1968
|
+
def events_transports_retrieve_with_http_info(uuid, opts = {})
|
|
1969
|
+
if @api_client.config.debugging
|
|
1970
|
+
@api_client.config.logger.debug 'Calling API: EventsApi.events_transports_retrieve ...'
|
|
1971
|
+
end
|
|
1972
|
+
# verify the required parameter 'uuid' is set
|
|
1973
|
+
if @api_client.config.client_side_validation && uuid.nil?
|
|
1974
|
+
fail ArgumentError, "Missing the required parameter 'uuid' when calling EventsApi.events_transports_retrieve"
|
|
1975
|
+
end
|
|
1976
|
+
# resource path
|
|
1977
|
+
local_var_path = '/events/transports/{uuid}/'.sub('{' + 'uuid' + '}', CGI.escape(uuid.to_s))
|
|
1978
|
+
|
|
1979
|
+
# query parameters
|
|
1980
|
+
query_params = opts[:query_params] || {}
|
|
1981
|
+
|
|
1982
|
+
# header parameters
|
|
1983
|
+
header_params = opts[:header_params] || {}
|
|
1984
|
+
# HTTP header 'Accept' (if needed)
|
|
1985
|
+
header_params['Accept'] = @api_client.select_header_accept(['application/json']) unless header_params['Accept']
|
|
1986
|
+
|
|
1987
|
+
# form parameters
|
|
1988
|
+
form_params = opts[:form_params] || {}
|
|
1989
|
+
|
|
1990
|
+
# http body (model)
|
|
1991
|
+
post_body = opts[:debug_body]
|
|
1992
|
+
|
|
1993
|
+
# return_type
|
|
1994
|
+
return_type = opts[:debug_return_type] || 'NotificationTransport'
|
|
1995
|
+
|
|
1996
|
+
# auth_names
|
|
1997
|
+
auth_names = opts[:debug_auth_names] || ['authentik']
|
|
1998
|
+
|
|
1999
|
+
new_options = opts.merge(
|
|
2000
|
+
:operation => :"EventsApi.events_transports_retrieve",
|
|
2001
|
+
:header_params => header_params,
|
|
2002
|
+
:query_params => query_params,
|
|
2003
|
+
:form_params => form_params,
|
|
2004
|
+
:body => post_body,
|
|
2005
|
+
:auth_names => auth_names,
|
|
2006
|
+
:return_type => return_type
|
|
2007
|
+
)
|
|
2008
|
+
|
|
2009
|
+
data, status_code, headers = @api_client.call_api(:GET, local_var_path, new_options)
|
|
2010
|
+
if @api_client.config.debugging
|
|
2011
|
+
@api_client.config.logger.debug "API called: EventsApi#events_transports_retrieve\nData: #{data.inspect}\nStatus code: #{status_code}\nHeaders: #{headers}"
|
|
2012
|
+
end
|
|
2013
|
+
return data, status_code, headers
|
|
2014
|
+
end
|
|
2015
|
+
|
|
2016
|
+
# Send example notification using selected transport. Requires Modify permissions.
|
|
2017
|
+
# @param uuid [String] A UUID string identifying this Notification Transport.
|
|
2018
|
+
# @param [Hash] opts the optional parameters
|
|
2019
|
+
# @return [NotificationTransportTest]
|
|
2020
|
+
def events_transports_test_create(uuid, opts = {})
|
|
2021
|
+
data, _status_code, _headers = events_transports_test_create_with_http_info(uuid, opts)
|
|
2022
|
+
data
|
|
2023
|
+
end
|
|
2024
|
+
|
|
2025
|
+
# Send example notification using selected transport. Requires Modify permissions.
|
|
2026
|
+
# @param uuid [String] A UUID string identifying this Notification Transport.
|
|
2027
|
+
# @param [Hash] opts the optional parameters
|
|
2028
|
+
# @return [Array<(NotificationTransportTest, Integer, Hash)>] NotificationTransportTest data, response status code and response headers
|
|
2029
|
+
def events_transports_test_create_with_http_info(uuid, opts = {})
|
|
2030
|
+
if @api_client.config.debugging
|
|
2031
|
+
@api_client.config.logger.debug 'Calling API: EventsApi.events_transports_test_create ...'
|
|
2032
|
+
end
|
|
2033
|
+
# verify the required parameter 'uuid' is set
|
|
2034
|
+
if @api_client.config.client_side_validation && uuid.nil?
|
|
2035
|
+
fail ArgumentError, "Missing the required parameter 'uuid' when calling EventsApi.events_transports_test_create"
|
|
2036
|
+
end
|
|
2037
|
+
# resource path
|
|
2038
|
+
local_var_path = '/events/transports/{uuid}/test/'.sub('{' + 'uuid' + '}', CGI.escape(uuid.to_s))
|
|
2039
|
+
|
|
2040
|
+
# query parameters
|
|
2041
|
+
query_params = opts[:query_params] || {}
|
|
2042
|
+
|
|
2043
|
+
# header parameters
|
|
2044
|
+
header_params = opts[:header_params] || {}
|
|
2045
|
+
# HTTP header 'Accept' (if needed)
|
|
2046
|
+
header_params['Accept'] = @api_client.select_header_accept(['application/json']) unless header_params['Accept']
|
|
2047
|
+
|
|
2048
|
+
# form parameters
|
|
2049
|
+
form_params = opts[:form_params] || {}
|
|
2050
|
+
|
|
2051
|
+
# http body (model)
|
|
2052
|
+
post_body = opts[:debug_body]
|
|
2053
|
+
|
|
2054
|
+
# return_type
|
|
2055
|
+
return_type = opts[:debug_return_type] || 'NotificationTransportTest'
|
|
2056
|
+
|
|
2057
|
+
# auth_names
|
|
2058
|
+
auth_names = opts[:debug_auth_names] || ['authentik']
|
|
2059
|
+
|
|
2060
|
+
new_options = opts.merge(
|
|
2061
|
+
:operation => :"EventsApi.events_transports_test_create",
|
|
2062
|
+
:header_params => header_params,
|
|
2063
|
+
:query_params => query_params,
|
|
2064
|
+
:form_params => form_params,
|
|
2065
|
+
:body => post_body,
|
|
2066
|
+
:auth_names => auth_names,
|
|
2067
|
+
:return_type => return_type
|
|
2068
|
+
)
|
|
2069
|
+
|
|
2070
|
+
data, status_code, headers = @api_client.call_api(:POST, local_var_path, new_options)
|
|
2071
|
+
if @api_client.config.debugging
|
|
2072
|
+
@api_client.config.logger.debug "API called: EventsApi#events_transports_test_create\nData: #{data.inspect}\nStatus code: #{status_code}\nHeaders: #{headers}"
|
|
2073
|
+
end
|
|
2074
|
+
return data, status_code, headers
|
|
2075
|
+
end
|
|
2076
|
+
|
|
2077
|
+
# NotificationTransport Viewset
|
|
2078
|
+
# @param uuid [String] A UUID string identifying this Notification Transport.
|
|
2079
|
+
# @param notification_transport_request [NotificationTransportRequest]
|
|
2080
|
+
# @param [Hash] opts the optional parameters
|
|
2081
|
+
# @return [NotificationTransport]
|
|
2082
|
+
def events_transports_update(uuid, notification_transport_request, opts = {})
|
|
2083
|
+
data, _status_code, _headers = events_transports_update_with_http_info(uuid, notification_transport_request, opts)
|
|
2084
|
+
data
|
|
2085
|
+
end
|
|
2086
|
+
|
|
2087
|
+
# NotificationTransport Viewset
|
|
2088
|
+
# @param uuid [String] A UUID string identifying this Notification Transport.
|
|
2089
|
+
# @param notification_transport_request [NotificationTransportRequest]
|
|
2090
|
+
# @param [Hash] opts the optional parameters
|
|
2091
|
+
# @return [Array<(NotificationTransport, Integer, Hash)>] NotificationTransport data, response status code and response headers
|
|
2092
|
+
def events_transports_update_with_http_info(uuid, notification_transport_request, opts = {})
|
|
2093
|
+
if @api_client.config.debugging
|
|
2094
|
+
@api_client.config.logger.debug 'Calling API: EventsApi.events_transports_update ...'
|
|
2095
|
+
end
|
|
2096
|
+
# verify the required parameter 'uuid' is set
|
|
2097
|
+
if @api_client.config.client_side_validation && uuid.nil?
|
|
2098
|
+
fail ArgumentError, "Missing the required parameter 'uuid' when calling EventsApi.events_transports_update"
|
|
2099
|
+
end
|
|
2100
|
+
# verify the required parameter 'notification_transport_request' is set
|
|
2101
|
+
if @api_client.config.client_side_validation && notification_transport_request.nil?
|
|
2102
|
+
fail ArgumentError, "Missing the required parameter 'notification_transport_request' when calling EventsApi.events_transports_update"
|
|
2103
|
+
end
|
|
2104
|
+
# resource path
|
|
2105
|
+
local_var_path = '/events/transports/{uuid}/'.sub('{' + 'uuid' + '}', CGI.escape(uuid.to_s))
|
|
2106
|
+
|
|
2107
|
+
# query parameters
|
|
2108
|
+
query_params = opts[:query_params] || {}
|
|
2109
|
+
|
|
2110
|
+
# header parameters
|
|
2111
|
+
header_params = opts[:header_params] || {}
|
|
2112
|
+
# HTTP header 'Accept' (if needed)
|
|
2113
|
+
header_params['Accept'] = @api_client.select_header_accept(['application/json']) unless header_params['Accept']
|
|
2114
|
+
# HTTP header 'Content-Type'
|
|
2115
|
+
content_type = @api_client.select_header_content_type(['application/json'])
|
|
2116
|
+
if !content_type.nil?
|
|
2117
|
+
header_params['Content-Type'] = content_type
|
|
2118
|
+
end
|
|
2119
|
+
|
|
2120
|
+
# form parameters
|
|
2121
|
+
form_params = opts[:form_params] || {}
|
|
2122
|
+
|
|
2123
|
+
# http body (model)
|
|
2124
|
+
post_body = opts[:debug_body] || @api_client.object_to_http_body(notification_transport_request)
|
|
2125
|
+
|
|
2126
|
+
# return_type
|
|
2127
|
+
return_type = opts[:debug_return_type] || 'NotificationTransport'
|
|
2128
|
+
|
|
2129
|
+
# auth_names
|
|
2130
|
+
auth_names = opts[:debug_auth_names] || ['authentik']
|
|
2131
|
+
|
|
2132
|
+
new_options = opts.merge(
|
|
2133
|
+
:operation => :"EventsApi.events_transports_update",
|
|
2134
|
+
:header_params => header_params,
|
|
2135
|
+
:query_params => query_params,
|
|
2136
|
+
:form_params => form_params,
|
|
2137
|
+
:body => post_body,
|
|
2138
|
+
:auth_names => auth_names,
|
|
2139
|
+
:return_type => return_type
|
|
2140
|
+
)
|
|
2141
|
+
|
|
2142
|
+
data, status_code, headers = @api_client.call_api(:PUT, local_var_path, new_options)
|
|
2143
|
+
if @api_client.config.debugging
|
|
2144
|
+
@api_client.config.logger.debug "API called: EventsApi#events_transports_update\nData: #{data.inspect}\nStatus code: #{status_code}\nHeaders: #{headers}"
|
|
2145
|
+
end
|
|
2146
|
+
return data, status_code, headers
|
|
2147
|
+
end
|
|
2148
|
+
|
|
2149
|
+
# Get a list of all objects that use this object
|
|
2150
|
+
# @param uuid [String] A UUID string identifying this Notification Transport.
|
|
2151
|
+
# @param [Hash] opts the optional parameters
|
|
2152
|
+
# @return [Array<UsedBy>]
|
|
2153
|
+
def events_transports_used_by_list(uuid, opts = {})
|
|
2154
|
+
data, _status_code, _headers = events_transports_used_by_list_with_http_info(uuid, opts)
|
|
2155
|
+
data
|
|
2156
|
+
end
|
|
2157
|
+
|
|
2158
|
+
# Get a list of all objects that use this object
|
|
2159
|
+
# @param uuid [String] A UUID string identifying this Notification Transport.
|
|
2160
|
+
# @param [Hash] opts the optional parameters
|
|
2161
|
+
# @return [Array<(Array<UsedBy>, Integer, Hash)>] Array<UsedBy> data, response status code and response headers
|
|
2162
|
+
def events_transports_used_by_list_with_http_info(uuid, opts = {})
|
|
2163
|
+
if @api_client.config.debugging
|
|
2164
|
+
@api_client.config.logger.debug 'Calling API: EventsApi.events_transports_used_by_list ...'
|
|
2165
|
+
end
|
|
2166
|
+
# verify the required parameter 'uuid' is set
|
|
2167
|
+
if @api_client.config.client_side_validation && uuid.nil?
|
|
2168
|
+
fail ArgumentError, "Missing the required parameter 'uuid' when calling EventsApi.events_transports_used_by_list"
|
|
2169
|
+
end
|
|
2170
|
+
# resource path
|
|
2171
|
+
local_var_path = '/events/transports/{uuid}/used_by/'.sub('{' + 'uuid' + '}', CGI.escape(uuid.to_s))
|
|
2172
|
+
|
|
2173
|
+
# query parameters
|
|
2174
|
+
query_params = opts[:query_params] || {}
|
|
2175
|
+
|
|
2176
|
+
# header parameters
|
|
2177
|
+
header_params = opts[:header_params] || {}
|
|
2178
|
+
# HTTP header 'Accept' (if needed)
|
|
2179
|
+
header_params['Accept'] = @api_client.select_header_accept(['application/json']) unless header_params['Accept']
|
|
2180
|
+
|
|
2181
|
+
# form parameters
|
|
2182
|
+
form_params = opts[:form_params] || {}
|
|
2183
|
+
|
|
2184
|
+
# http body (model)
|
|
2185
|
+
post_body = opts[:debug_body]
|
|
2186
|
+
|
|
2187
|
+
# return_type
|
|
2188
|
+
return_type = opts[:debug_return_type] || 'Array<UsedBy>'
|
|
2189
|
+
|
|
2190
|
+
# auth_names
|
|
2191
|
+
auth_names = opts[:debug_auth_names] || ['authentik']
|
|
2192
|
+
|
|
2193
|
+
new_options = opts.merge(
|
|
2194
|
+
:operation => :"EventsApi.events_transports_used_by_list",
|
|
2195
|
+
:header_params => header_params,
|
|
2196
|
+
:query_params => query_params,
|
|
2197
|
+
:form_params => form_params,
|
|
2198
|
+
:body => post_body,
|
|
2199
|
+
:auth_names => auth_names,
|
|
2200
|
+
:return_type => return_type
|
|
2201
|
+
)
|
|
2202
|
+
|
|
2203
|
+
data, status_code, headers = @api_client.call_api(:GET, local_var_path, new_options)
|
|
2204
|
+
if @api_client.config.debugging
|
|
2205
|
+
@api_client.config.logger.debug "API called: EventsApi#events_transports_used_by_list\nData: #{data.inspect}\nStatus code: #{status_code}\nHeaders: #{headers}"
|
|
2206
|
+
end
|
|
2207
|
+
return data, status_code, headers
|
|
2208
|
+
end
|
|
2209
|
+
end
|
|
2210
|
+
end
|