ory-client 0.0.1.alpha57 → 0.0.1.alpha68
Sign up to get free protection for your applications and to get access to all the features.
- checksums.yaml +4 -4
- data/Gemfile.lock +3 -3
- data/README.md +16 -15
- data/docs/CloudAccount.md +22 -0
- data/docs/Identity.md +1 -1
- data/docs/IdentitySchema.md +6 -0
- data/docs/InvitePayload.md +18 -0
- data/docs/Project.md +2 -0
- data/docs/ProjectInvite.md +34 -0
- data/docs/ProjectRevision.md +127 -53
- data/docs/ProjectRevisionHook.md +46 -0
- data/docs/ProjectRevisionIdentitySchema.md +36 -0
- data/docs/ProjectRevisionThirdPartyLoginProvider.md +54 -0
- data/docs/QuotaProjectMemberSeats.md +22 -0
- data/docs/SuccessfulUpdateProjectConfig.md +20 -0
- data/docs/UiNodeInputAttributes.md +1 -1
- data/docs/UpdateProjectConfigConfig.md +18 -0
- data/docs/V0alpha0Api.md +78 -4
- data/docs/Warning.md +20 -0
- data/lib/ory-client/api/metadata_api.rb +2 -2
- data/lib/ory-client/api/v0alpha0_api.rb +86 -10
- data/lib/ory-client/api/v0alpha2_api.rb +38 -11
- data/lib/ory-client/api_client.rb +5 -5
- data/lib/ory-client/api_error.rb +2 -2
- data/lib/ory-client/configuration.rb +4 -3
- data/lib/ory-client/models/active_project.rb +2 -2
- data/lib/ory-client/models/admin_create_identity_body.rb +2 -2
- data/lib/ory-client/models/admin_create_self_service_recovery_link_body.rb +2 -2
- data/lib/ory-client/models/admin_update_identity_body.rb +2 -2
- data/lib/ory-client/models/api_token.rb +2 -2
- data/lib/ory-client/models/authenticator_assurance_level.rb +2 -2
- data/lib/ory-client/models/{project_totp_config.rb → cloud_account.rb} +27 -20
- data/lib/ory-client/models/cname_settings.rb +2 -2
- data/lib/ory-client/models/create_custom_hostname_body.rb +2 -2
- data/lib/ory-client/models/create_subscription_payload.rb +2 -2
- data/lib/ory-client/models/error_authenticator_assurance_level_not_satisfied.rb +2 -2
- data/lib/ory-client/models/generic_error.rb +2 -2
- data/lib/ory-client/models/health_not_ready_status.rb +2 -2
- data/lib/ory-client/models/health_status.rb +2 -2
- data/lib/ory-client/models/identity.rb +3 -3
- data/lib/ory-client/models/identity_credentials.rb +2 -2
- data/lib/ory-client/models/identity_credentials_type.rb +2 -2
- data/lib/ory-client/models/identity_preset.rb +2 -2
- data/lib/ory-client/models/identity_schema.rb +43 -3
- data/lib/ory-client/models/identity_schema_location.rb +2 -2
- data/lib/ory-client/models/identity_schema_validation_result.rb +2 -2
- data/lib/ory-client/models/identity_state.rb +2 -2
- data/lib/ory-client/models/inline_response200.rb +2 -2
- data/lib/ory-client/models/inline_response2001.rb +2 -2
- data/lib/ory-client/models/inline_response503.rb +2 -2
- data/lib/ory-client/models/{project_recovery_config.rb → invite_payload.rb} +12 -13
- data/lib/ory-client/models/is_owner_for_project_by_slug.rb +2 -2
- data/lib/ory-client/models/is_owner_for_project_by_slug_payload.rb +2 -2
- data/lib/ory-client/models/json_error.rb +2 -2
- data/lib/ory-client/models/needs_privileged_session_error.rb +2 -2
- data/lib/ory-client/models/null_plan.rb +2 -2
- data/lib/ory-client/models/pagination.rb +2 -2
- data/lib/ory-client/models/project.rb +19 -3
- data/lib/ory-client/models/project_host.rb +2 -2
- data/lib/ory-client/models/{project_web_authn_config.rb → project_invite.rb} +117 -41
- data/lib/ory-client/models/project_revision.rb +556 -218
- data/lib/ory-client/models/project_revision_hook.rb +367 -0
- data/lib/ory-client/models/{redirection_config.rb → project_revision_identity_schema.rb} +78 -56
- data/lib/ory-client/models/{project_oidc_config.rb → project_revision_third_party_login_provider.rb} +90 -33
- data/lib/ory-client/models/project_slug.rb +2 -2
- data/lib/ory-client/models/{redirection_field.rb → quota_project_member_seats.rb} +24 -33
- data/lib/ory-client/models/recovery_address.rb +2 -2
- data/lib/ory-client/models/revoked_sessions.rb +2 -2
- data/lib/ory-client/models/schema_patch.rb +2 -2
- data/lib/ory-client/models/self_service_browser_location_change_required_error.rb +2 -2
- data/lib/ory-client/models/self_service_error.rb +2 -2
- data/lib/ory-client/models/self_service_flow_expired_error.rb +2 -2
- data/lib/ory-client/models/self_service_login_flow.rb +2 -2
- data/lib/ory-client/models/self_service_logout_url.rb +2 -2
- data/lib/ory-client/models/self_service_recovery_flow.rb +2 -2
- data/lib/ory-client/models/self_service_recovery_flow_state.rb +2 -2
- data/lib/ory-client/models/self_service_recovery_link.rb +2 -2
- data/lib/ory-client/models/self_service_registration_flow.rb +2 -2
- data/lib/ory-client/models/self_service_settings_flow.rb +2 -2
- data/lib/ory-client/models/self_service_settings_flow_state.rb +2 -2
- data/lib/ory-client/models/self_service_verification_flow.rb +2 -2
- data/lib/ory-client/models/self_service_verification_flow_state.rb +2 -2
- data/lib/ory-client/models/session.rb +2 -2
- data/lib/ory-client/models/session_authentication_method.rb +2 -2
- data/lib/ory-client/models/session_device.rb +2 -2
- data/lib/ory-client/models/settings_profile_form_config.rb +2 -2
- data/lib/ory-client/models/stripe_customer_response.rb +2 -2
- data/lib/ory-client/models/submit_self_service_login_flow_body.rb +2 -2
- data/lib/ory-client/models/submit_self_service_login_flow_with_lookup_secret_method_body.rb +2 -2
- data/lib/ory-client/models/submit_self_service_login_flow_with_oidc_method_body.rb +2 -2
- data/lib/ory-client/models/submit_self_service_login_flow_with_password_method_body.rb +2 -2
- data/lib/ory-client/models/submit_self_service_login_flow_with_totp_method_body.rb +2 -2
- data/lib/ory-client/models/submit_self_service_login_flow_with_web_authn_method_body.rb +2 -2
- data/lib/ory-client/models/submit_self_service_logout_flow_without_browser_body.rb +2 -2
- data/lib/ory-client/models/submit_self_service_recovery_flow_body.rb +2 -2
- data/lib/ory-client/models/submit_self_service_recovery_flow_with_link_method_body.rb +2 -2
- data/lib/ory-client/models/submit_self_service_registration_flow_body.rb +2 -2
- data/lib/ory-client/models/submit_self_service_registration_flow_with_oidc_method_body.rb +2 -2
- data/lib/ory-client/models/submit_self_service_registration_flow_with_password_method_body.rb +2 -2
- data/lib/ory-client/models/submit_self_service_settings_flow_body.rb +2 -2
- data/lib/ory-client/models/submit_self_service_settings_flow_with_lookup_method_body.rb +2 -2
- data/lib/ory-client/models/submit_self_service_settings_flow_with_oidc_method_body.rb +2 -2
- data/lib/ory-client/models/submit_self_service_settings_flow_with_password_method_body.rb +2 -2
- data/lib/ory-client/models/submit_self_service_settings_flow_with_profile_method_body.rb +2 -2
- data/lib/ory-client/models/submit_self_service_settings_flow_with_totp_method_body.rb +2 -2
- data/lib/ory-client/models/submit_self_service_settings_flow_with_web_authn_method_body.rb +2 -2
- data/lib/ory-client/models/submit_self_service_verification_flow_body.rb +2 -2
- data/lib/ory-client/models/submit_self_service_verification_flow_with_link_method_body.rb +2 -2
- data/lib/ory-client/models/subscription.rb +2 -2
- data/lib/ory-client/models/successful_self_service_login_without_browser.rb +2 -2
- data/lib/ory-client/models/successful_self_service_registration_without_browser.rb +2 -2
- data/lib/ory-client/models/{project_verification_config.rb → successful_update_project_config.rb} +21 -20
- data/lib/ory-client/models/ui_container.rb +2 -2
- data/lib/ory-client/models/ui_node.rb +2 -2
- data/lib/ory-client/models/ui_node_anchor_attributes.rb +2 -2
- data/lib/ory-client/models/ui_node_attributes.rb +2 -2
- data/lib/ory-client/models/ui_node_image_attributes.rb +2 -2
- data/lib/ory-client/models/ui_node_input_attributes.rb +3 -3
- data/lib/ory-client/models/ui_node_meta.rb +2 -2
- data/lib/ory-client/models/ui_node_script_attributes.rb +2 -2
- data/lib/ory-client/models/ui_node_text_attributes.rb +2 -2
- data/lib/ory-client/models/ui_text.rb +2 -2
- data/lib/ory-client/models/update_custom_hostname_body.rb +2 -2
- data/lib/ory-client/models/{project_lookup_secret_config.rb → update_project_config_config.rb} +18 -13
- data/lib/ory-client/models/update_subscription_payload.rb +2 -2
- data/lib/ory-client/models/verifiable_identity_address.rb +2 -2
- data/lib/ory-client/models/version.rb +2 -2
- data/lib/ory-client/models/{project_password_config.rb → warning.rb} +18 -20
- data/lib/ory-client/version.rb +3 -3
- data/lib/ory-client.rb +12 -12
- data/ory-client.gemspec +2 -2
- data/spec/api/metadata_api_spec.rb +2 -2
- data/spec/api/v0alpha0_api_spec.rb +17 -4
- data/spec/api/v0alpha2_api_spec.rb +2 -2
- data/spec/api_client_spec.rb +4 -4
- data/spec/configuration_spec.rb +2 -2
- data/spec/models/active_project_spec.rb +2 -2
- data/spec/models/admin_create_identity_body_spec.rb +2 -2
- data/spec/models/admin_create_self_service_recovery_link_body_spec.rb +2 -2
- data/spec/models/admin_update_identity_body_spec.rb +2 -2
- data/spec/models/api_token_spec.rb +2 -2
- data/spec/models/authenticator_assurance_level_spec.rb +2 -2
- data/spec/models/{project_password_config_spec.rb → cloud_account_spec.rb} +16 -10
- data/spec/models/cname_settings_spec.rb +2 -2
- data/spec/models/create_custom_hostname_body_spec.rb +2 -2
- data/spec/models/create_subscription_payload_spec.rb +2 -2
- data/spec/models/error_authenticator_assurance_level_not_satisfied_spec.rb +2 -2
- data/spec/models/generic_error_spec.rb +2 -2
- data/spec/models/health_not_ready_status_spec.rb +2 -2
- data/spec/models/health_status_spec.rb +2 -2
- data/spec/models/identity_credentials_spec.rb +2 -2
- data/spec/models/identity_credentials_type_spec.rb +2 -2
- data/spec/models/identity_preset_spec.rb +2 -2
- data/spec/models/identity_schema_location_spec.rb +2 -2
- data/spec/models/identity_schema_spec.rb +20 -2
- data/spec/models/identity_schema_validation_result_spec.rb +2 -2
- data/spec/models/identity_spec.rb +2 -2
- data/spec/models/identity_state_spec.rb +2 -2
- data/spec/models/inline_response2001_spec.rb +2 -2
- data/spec/models/inline_response200_spec.rb +2 -2
- data/spec/models/inline_response503_spec.rb +2 -2
- data/spec/models/{project_recovery_config_spec.rb → invite_payload_spec.rb} +9 -9
- data/spec/models/is_owner_for_project_by_slug_payload_spec.rb +2 -2
- data/spec/models/is_owner_for_project_by_slug_spec.rb +2 -2
- data/spec/models/json_error_spec.rb +2 -2
- data/spec/models/needs_privileged_session_error_spec.rb +2 -2
- data/spec/models/null_plan_spec.rb +2 -2
- data/spec/models/pagination_spec.rb +2 -2
- data/spec/models/project_host_spec.rb +2 -2
- data/spec/models/{redirection_config_spec.rb → project_invite_spec.rb} +22 -16
- data/spec/models/{project_oidc_config_spec.rb → project_revision_hook_spec.rb} +32 -20
- data/spec/models/project_revision_identity_schema_spec.rb +88 -0
- data/spec/models/project_revision_spec.rb +253 -31
- data/spec/models/{project_patch_spec.rb → project_revision_third_party_login_provider_spec.rb} +27 -45
- data/spec/models/project_slug_spec.rb +2 -2
- data/spec/models/project_spec.rb +8 -2
- data/spec/models/{redirection_field_spec.rb → quota_project_member_seats_spec.rb} +11 -17
- data/spec/models/recovery_address_spec.rb +2 -2
- data/spec/models/revoked_sessions_spec.rb +2 -2
- data/spec/models/schema_patch_spec.rb +2 -2
- data/spec/models/self_service_browser_location_change_required_error_spec.rb +2 -2
- data/spec/models/self_service_error_spec.rb +2 -2
- data/spec/models/self_service_flow_expired_error_spec.rb +2 -2
- data/spec/models/self_service_login_flow_spec.rb +2 -2
- data/spec/models/self_service_logout_url_spec.rb +2 -2
- data/spec/models/self_service_recovery_flow_spec.rb +2 -2
- data/spec/models/self_service_recovery_flow_state_spec.rb +2 -2
- data/spec/models/self_service_recovery_link_spec.rb +2 -2
- data/spec/models/self_service_registration_flow_spec.rb +2 -2
- data/spec/models/self_service_settings_flow_spec.rb +2 -2
- data/spec/models/self_service_settings_flow_state_spec.rb +2 -2
- data/spec/models/self_service_verification_flow_spec.rb +2 -2
- data/spec/models/self_service_verification_flow_state_spec.rb +2 -2
- data/spec/models/session_authentication_method_spec.rb +2 -2
- data/spec/models/session_device_spec.rb +2 -2
- data/spec/models/session_spec.rb +2 -2
- data/spec/models/settings_profile_form_config_spec.rb +2 -2
- data/spec/models/stripe_customer_response_spec.rb +2 -2
- data/spec/models/submit_self_service_login_flow_body_spec.rb +2 -2
- data/spec/models/submit_self_service_login_flow_with_lookup_secret_method_body_spec.rb +2 -2
- data/spec/models/submit_self_service_login_flow_with_oidc_method_body_spec.rb +2 -2
- data/spec/models/submit_self_service_login_flow_with_password_method_body_spec.rb +2 -2
- data/spec/models/submit_self_service_login_flow_with_totp_method_body_spec.rb +2 -2
- data/spec/models/submit_self_service_login_flow_with_web_authn_method_body_spec.rb +2 -2
- data/spec/models/submit_self_service_logout_flow_without_browser_body_spec.rb +2 -2
- data/spec/models/submit_self_service_recovery_flow_body_spec.rb +2 -2
- data/spec/models/submit_self_service_recovery_flow_with_link_method_body_spec.rb +2 -2
- data/spec/models/submit_self_service_registration_flow_body_spec.rb +2 -2
- data/spec/models/submit_self_service_registration_flow_with_oidc_method_body_spec.rb +2 -2
- data/spec/models/submit_self_service_registration_flow_with_password_method_body_spec.rb +2 -2
- data/spec/models/submit_self_service_settings_flow_body_spec.rb +2 -2
- data/spec/models/submit_self_service_settings_flow_with_lookup_method_body_spec.rb +2 -2
- data/spec/models/submit_self_service_settings_flow_with_oidc_method_body_spec.rb +2 -2
- data/spec/models/submit_self_service_settings_flow_with_password_method_body_spec.rb +2 -2
- data/spec/models/submit_self_service_settings_flow_with_profile_method_body_spec.rb +2 -2
- data/spec/models/submit_self_service_settings_flow_with_totp_method_body_spec.rb +2 -2
- data/spec/models/submit_self_service_settings_flow_with_web_authn_method_body_spec.rb +2 -2
- data/spec/models/submit_self_service_verification_flow_body_spec.rb +2 -2
- data/spec/models/submit_self_service_verification_flow_with_link_method_body_spec.rb +2 -2
- data/spec/models/subscription_spec.rb +2 -2
- data/spec/models/successful_self_service_login_without_browser_spec.rb +2 -2
- data/spec/models/successful_self_service_registration_without_browser_spec.rb +2 -2
- data/spec/models/{project_verification_config_spec.rb → successful_update_project_config_spec.rb} +10 -10
- data/spec/models/ui_container_spec.rb +2 -2
- data/spec/models/ui_node_anchor_attributes_spec.rb +2 -2
- data/spec/models/ui_node_attributes_spec.rb +2 -2
- data/spec/models/ui_node_image_attributes_spec.rb +2 -2
- data/spec/models/ui_node_input_attributes_spec.rb +2 -2
- data/spec/models/ui_node_meta_spec.rb +2 -2
- data/spec/models/ui_node_script_attributes_spec.rb +2 -2
- data/spec/models/ui_node_spec.rb +2 -2
- data/spec/models/ui_node_text_attributes_spec.rb +2 -2
- data/spec/models/ui_text_spec.rb +2 -2
- data/spec/models/update_custom_hostname_body_spec.rb +2 -2
- data/spec/models/{project_lookup_secret_config_spec.rb → update_project_config_config_spec.rb} +9 -9
- data/spec/models/update_subscription_payload_spec.rb +2 -2
- data/spec/models/verifiable_identity_address_spec.rb +2 -2
- data/spec/models/version_spec.rb +2 -2
- data/spec/models/{project_totp_config_spec.rb → warning_spec.rb} +10 -10
- data/spec/spec_helper.rb +2 -2
- data/vendor/bundle/ruby/2.5.0/cache/rspec-core-3.10.2.gem +0 -0
- data/vendor/bundle/ruby/2.5.0/cache/rspec-mocks-3.10.3.gem +0 -0
- data/vendor/bundle/ruby/2.5.0/extensions/x86_64-linux/2.5.0/byebug-11.1.3/gem_make.out +2 -2
- data/vendor/bundle/ruby/2.5.0/extensions/x86_64-linux/2.5.0/ffi-1.15.5/gem_make.out +2 -2
- data/vendor/bundle/ruby/2.5.0/extensions/x86_64-linux/2.5.0/jaro_winkler-1.5.4/gem_make.out +2 -2
- data/vendor/bundle/ruby/2.5.0/extensions/x86_64-linux/2.5.0/psych-4.0.3/gem_make.out +2 -2
- data/vendor/bundle/ruby/2.5.0/extensions/x86_64-linux/2.5.0/stringio-3.0.1/gem_make.out +2 -2
- data/vendor/bundle/ruby/2.5.0/extensions/x86_64-linux/2.5.0/stringio-3.0.1/mkmf.log +1 -1
- data/vendor/bundle/ruby/2.5.0/gems/byebug-11.1.3/ext/byebug/Makefile +2 -2
- data/vendor/bundle/ruby/2.5.0/gems/ffi-1.15.5/ext/ffi_c/Makefile +2 -2
- data/vendor/bundle/ruby/2.5.0/gems/jaro_winkler-1.5.4/ext/jaro_winkler/Makefile +2 -2
- data/vendor/bundle/ruby/2.5.0/gems/psych-4.0.3/ext/psych/Makefile +2 -2
- data/vendor/bundle/ruby/2.5.0/gems/{rspec-core-3.10.1 → rspec-core-3.10.2}/.document +0 -0
- data/vendor/bundle/ruby/2.5.0/gems/{rspec-core-3.10.1 → rspec-core-3.10.2}/.yardopts +0 -0
- data/vendor/bundle/ruby/2.5.0/gems/{rspec-core-3.10.1 → rspec-core-3.10.2}/Changelog.md +17 -2
- data/vendor/bundle/ruby/2.5.0/gems/{rspec-core-3.10.1 → rspec-core-3.10.2}/LICENSE.md +0 -0
- data/vendor/bundle/ruby/2.5.0/gems/{rspec-core-3.10.1 → rspec-core-3.10.2}/README.md +1 -1
- data/vendor/bundle/ruby/2.5.0/gems/{rspec-core-3.10.1 → rspec-core-3.10.2}/exe/rspec +0 -0
- data/vendor/bundle/ruby/2.5.0/gems/{rspec-core-3.10.1 → rspec-core-3.10.2}/lib/rspec/autorun.rb +0 -0
- data/vendor/bundle/ruby/2.5.0/gems/{rspec-core-3.10.1 → rspec-core-3.10.2}/lib/rspec/core/backtrace_formatter.rb +0 -0
- data/vendor/bundle/ruby/2.5.0/gems/{rspec-core-3.10.1 → rspec-core-3.10.2}/lib/rspec/core/bisect/coordinator.rb +0 -0
- data/vendor/bundle/ruby/2.5.0/gems/{rspec-core-3.10.1 → rspec-core-3.10.2}/lib/rspec/core/bisect/example_minimizer.rb +0 -0
- data/vendor/bundle/ruby/2.5.0/gems/{rspec-core-3.10.1 → rspec-core-3.10.2}/lib/rspec/core/bisect/fork_runner.rb +0 -0
- data/vendor/bundle/ruby/2.5.0/gems/{rspec-core-3.10.1 → rspec-core-3.10.2}/lib/rspec/core/bisect/server.rb +0 -0
- data/vendor/bundle/ruby/2.5.0/gems/{rspec-core-3.10.1 → rspec-core-3.10.2}/lib/rspec/core/bisect/shell_command.rb +0 -0
- data/vendor/bundle/ruby/2.5.0/gems/{rspec-core-3.10.1 → rspec-core-3.10.2}/lib/rspec/core/bisect/shell_runner.rb +0 -0
- data/vendor/bundle/ruby/2.5.0/gems/{rspec-core-3.10.1 → rspec-core-3.10.2}/lib/rspec/core/bisect/utilities.rb +12 -1
- data/vendor/bundle/ruby/2.5.0/gems/{rspec-core-3.10.1 → rspec-core-3.10.2}/lib/rspec/core/configuration.rb +0 -0
- data/vendor/bundle/ruby/2.5.0/gems/{rspec-core-3.10.1 → rspec-core-3.10.2}/lib/rspec/core/configuration_options.rb +0 -0
- data/vendor/bundle/ruby/2.5.0/gems/{rspec-core-3.10.1 → rspec-core-3.10.2}/lib/rspec/core/did_you_mean.rb +0 -0
- data/vendor/bundle/ruby/2.5.0/gems/{rspec-core-3.10.1 → rspec-core-3.10.2}/lib/rspec/core/drb.rb +0 -0
- data/vendor/bundle/ruby/2.5.0/gems/{rspec-core-3.10.1 → rspec-core-3.10.2}/lib/rspec/core/dsl.rb +0 -0
- data/vendor/bundle/ruby/2.5.0/gems/{rspec-core-3.10.1 → rspec-core-3.10.2}/lib/rspec/core/example.rb +1 -1
- data/vendor/bundle/ruby/2.5.0/gems/{rspec-core-3.10.1 → rspec-core-3.10.2}/lib/rspec/core/example_group.rb +2 -0
- data/vendor/bundle/ruby/2.5.0/gems/{rspec-core-3.10.1 → rspec-core-3.10.2}/lib/rspec/core/example_status_persister.rb +0 -0
- data/vendor/bundle/ruby/2.5.0/gems/{rspec-core-3.10.1 → rspec-core-3.10.2}/lib/rspec/core/filter_manager.rb +0 -0
- data/vendor/bundle/ruby/2.5.0/gems/{rspec-core-3.10.1 → rspec-core-3.10.2}/lib/rspec/core/flat_map.rb +0 -0
- data/vendor/bundle/ruby/2.5.0/gems/{rspec-core-3.10.1 → rspec-core-3.10.2}/lib/rspec/core/formatters/base_bisect_formatter.rb +0 -0
- data/vendor/bundle/ruby/2.5.0/gems/{rspec-core-3.10.1 → rspec-core-3.10.2}/lib/rspec/core/formatters/base_formatter.rb +0 -0
- data/vendor/bundle/ruby/2.5.0/gems/{rspec-core-3.10.1 → rspec-core-3.10.2}/lib/rspec/core/formatters/base_text_formatter.rb +0 -0
- data/vendor/bundle/ruby/2.5.0/gems/{rspec-core-3.10.1 → rspec-core-3.10.2}/lib/rspec/core/formatters/bisect_drb_formatter.rb +0 -0
- data/vendor/bundle/ruby/2.5.0/gems/{rspec-core-3.10.1 → rspec-core-3.10.2}/lib/rspec/core/formatters/bisect_progress_formatter.rb +0 -0
- data/vendor/bundle/ruby/2.5.0/gems/{rspec-core-3.10.1 → rspec-core-3.10.2}/lib/rspec/core/formatters/console_codes.rb +0 -0
- data/vendor/bundle/ruby/2.5.0/gems/{rspec-core-3.10.1 → rspec-core-3.10.2}/lib/rspec/core/formatters/deprecation_formatter.rb +0 -0
- data/vendor/bundle/ruby/2.5.0/gems/{rspec-core-3.10.1 → rspec-core-3.10.2}/lib/rspec/core/formatters/documentation_formatter.rb +0 -0
- data/vendor/bundle/ruby/2.5.0/gems/{rspec-core-3.10.1 → rspec-core-3.10.2}/lib/rspec/core/formatters/exception_presenter.rb +1 -1
- data/vendor/bundle/ruby/2.5.0/gems/{rspec-core-3.10.1 → rspec-core-3.10.2}/lib/rspec/core/formatters/failure_list_formatter.rb +0 -0
- data/vendor/bundle/ruby/2.5.0/gems/{rspec-core-3.10.1 → rspec-core-3.10.2}/lib/rspec/core/formatters/fallback_message_formatter.rb +0 -0
- data/vendor/bundle/ruby/2.5.0/gems/{rspec-core-3.10.1 → rspec-core-3.10.2}/lib/rspec/core/formatters/helpers.rb +0 -0
- data/vendor/bundle/ruby/2.5.0/gems/{rspec-core-3.10.1 → rspec-core-3.10.2}/lib/rspec/core/formatters/html_formatter.rb +0 -0
- data/vendor/bundle/ruby/2.5.0/gems/{rspec-core-3.10.1 → rspec-core-3.10.2}/lib/rspec/core/formatters/html_printer.rb +0 -0
- data/vendor/bundle/ruby/2.5.0/gems/{rspec-core-3.10.1 → rspec-core-3.10.2}/lib/rspec/core/formatters/html_snippet_extractor.rb +0 -0
- data/vendor/bundle/ruby/2.5.0/gems/{rspec-core-3.10.1 → rspec-core-3.10.2}/lib/rspec/core/formatters/json_formatter.rb +0 -0
- data/vendor/bundle/ruby/2.5.0/gems/{rspec-core-3.10.1 → rspec-core-3.10.2}/lib/rspec/core/formatters/profile_formatter.rb +0 -0
- data/vendor/bundle/ruby/2.5.0/gems/{rspec-core-3.10.1 → rspec-core-3.10.2}/lib/rspec/core/formatters/progress_formatter.rb +0 -0
- data/vendor/bundle/ruby/2.5.0/gems/{rspec-core-3.10.1 → rspec-core-3.10.2}/lib/rspec/core/formatters/protocol.rb +0 -0
- data/vendor/bundle/ruby/2.5.0/gems/{rspec-core-3.10.1 → rspec-core-3.10.2}/lib/rspec/core/formatters/snippet_extractor.rb +0 -0
- data/vendor/bundle/ruby/2.5.0/gems/{rspec-core-3.10.1 → rspec-core-3.10.2}/lib/rspec/core/formatters/syntax_highlighter.rb +0 -0
- data/vendor/bundle/ruby/2.5.0/gems/{rspec-core-3.10.1 → rspec-core-3.10.2}/lib/rspec/core/formatters.rb +8 -2
- data/vendor/bundle/ruby/2.5.0/gems/{rspec-core-3.10.1 → rspec-core-3.10.2}/lib/rspec/core/hooks.rb +0 -0
- data/vendor/bundle/ruby/2.5.0/gems/{rspec-core-3.10.1 → rspec-core-3.10.2}/lib/rspec/core/invocations.rb +0 -0
- data/vendor/bundle/ruby/2.5.0/gems/{rspec-core-3.10.1 → rspec-core-3.10.2}/lib/rspec/core/memoized_helpers.rb +0 -0
- data/vendor/bundle/ruby/2.5.0/gems/{rspec-core-3.10.1 → rspec-core-3.10.2}/lib/rspec/core/metadata.rb +0 -0
- data/vendor/bundle/ruby/2.5.0/gems/{rspec-core-3.10.1 → rspec-core-3.10.2}/lib/rspec/core/metadata_filter.rb +0 -0
- data/vendor/bundle/ruby/2.5.0/gems/{rspec-core-3.10.1 → rspec-core-3.10.2}/lib/rspec/core/minitest_assertions_adapter.rb +0 -0
- data/vendor/bundle/ruby/2.5.0/gems/{rspec-core-3.10.1 → rspec-core-3.10.2}/lib/rspec/core/mocking_adapters/flexmock.rb +0 -0
- data/vendor/bundle/ruby/2.5.0/gems/{rspec-core-3.10.1 → rspec-core-3.10.2}/lib/rspec/core/mocking_adapters/mocha.rb +0 -0
- data/vendor/bundle/ruby/2.5.0/gems/{rspec-core-3.10.1 → rspec-core-3.10.2}/lib/rspec/core/mocking_adapters/null.rb +0 -0
- data/vendor/bundle/ruby/2.5.0/gems/{rspec-core-3.10.1 → rspec-core-3.10.2}/lib/rspec/core/mocking_adapters/rr.rb +0 -0
- data/vendor/bundle/ruby/2.5.0/gems/{rspec-core-3.10.1 → rspec-core-3.10.2}/lib/rspec/core/mocking_adapters/rspec.rb +0 -0
- data/vendor/bundle/ruby/2.5.0/gems/{rspec-core-3.10.1 → rspec-core-3.10.2}/lib/rspec/core/notifications.rb +0 -0
- data/vendor/bundle/ruby/2.5.0/gems/{rspec-core-3.10.1 → rspec-core-3.10.2}/lib/rspec/core/option_parser.rb +0 -0
- data/vendor/bundle/ruby/2.5.0/gems/{rspec-core-3.10.1 → rspec-core-3.10.2}/lib/rspec/core/ordering.rb +0 -0
- data/vendor/bundle/ruby/2.5.0/gems/{rspec-core-3.10.1 → rspec-core-3.10.2}/lib/rspec/core/output_wrapper.rb +0 -0
- data/vendor/bundle/ruby/2.5.0/gems/{rspec-core-3.10.1 → rspec-core-3.10.2}/lib/rspec/core/pending.rb +8 -16
- data/vendor/bundle/ruby/2.5.0/gems/{rspec-core-3.10.1 → rspec-core-3.10.2}/lib/rspec/core/profiler.rb +0 -0
- data/vendor/bundle/ruby/2.5.0/gems/{rspec-core-3.10.1 → rspec-core-3.10.2}/lib/rspec/core/project_initializer/.rspec +0 -0
- data/vendor/bundle/ruby/2.5.0/gems/{rspec-core-3.10.1 → rspec-core-3.10.2}/lib/rspec/core/project_initializer/spec/spec_helper.rb +2 -4
- data/vendor/bundle/ruby/2.5.0/gems/{rspec-core-3.10.1 → rspec-core-3.10.2}/lib/rspec/core/project_initializer.rb +0 -0
- data/vendor/bundle/ruby/2.5.0/gems/{rspec-core-3.10.1 → rspec-core-3.10.2}/lib/rspec/core/rake_task.rb +0 -0
- data/vendor/bundle/ruby/2.5.0/gems/{rspec-core-3.10.1 → rspec-core-3.10.2}/lib/rspec/core/reporter.rb +0 -0
- data/vendor/bundle/ruby/2.5.0/gems/{rspec-core-3.10.1 → rspec-core-3.10.2}/lib/rspec/core/ruby_project.rb +0 -0
- data/vendor/bundle/ruby/2.5.0/gems/{rspec-core-3.10.1 → rspec-core-3.10.2}/lib/rspec/core/runner.rb +0 -0
- data/vendor/bundle/ruby/2.5.0/gems/{rspec-core-3.10.1 → rspec-core-3.10.2}/lib/rspec/core/sandbox.rb +0 -0
- data/vendor/bundle/ruby/2.5.0/gems/{rspec-core-3.10.1 → rspec-core-3.10.2}/lib/rspec/core/set.rb +0 -0
- data/vendor/bundle/ruby/2.5.0/gems/{rspec-core-3.10.1 → rspec-core-3.10.2}/lib/rspec/core/shared_context.rb +0 -0
- data/vendor/bundle/ruby/2.5.0/gems/{rspec-core-3.10.1 → rspec-core-3.10.2}/lib/rspec/core/shared_example_group.rb +0 -0
- data/vendor/bundle/ruby/2.5.0/gems/{rspec-core-3.10.1 → rspec-core-3.10.2}/lib/rspec/core/shell_escape.rb +0 -0
- data/vendor/bundle/ruby/2.5.0/gems/{rspec-core-3.10.1 → rspec-core-3.10.2}/lib/rspec/core/test_unit_assertions_adapter.rb +0 -0
- data/vendor/bundle/ruby/2.5.0/gems/{rspec-core-3.10.1 → rspec-core-3.10.2}/lib/rspec/core/version.rb +1 -1
- data/vendor/bundle/ruby/2.5.0/gems/{rspec-core-3.10.1 → rspec-core-3.10.2}/lib/rspec/core/warnings.rb +0 -0
- data/vendor/bundle/ruby/2.5.0/gems/{rspec-core-3.10.1 → rspec-core-3.10.2}/lib/rspec/core/world.rb +0 -0
- data/vendor/bundle/ruby/2.5.0/gems/{rspec-core-3.10.1 → rspec-core-3.10.2}/lib/rspec/core.rb +0 -0
- data/vendor/bundle/ruby/2.5.0/gems/{rspec-mocks-3.10.2 → rspec-mocks-3.10.3}/.document +0 -0
- data/vendor/bundle/ruby/2.5.0/gems/{rspec-mocks-3.10.2 → rspec-mocks-3.10.3}/.yardopts +0 -0
- data/vendor/bundle/ruby/2.5.0/gems/{rspec-mocks-3.10.2 → rspec-mocks-3.10.3}/Changelog.md +10 -1
- data/vendor/bundle/ruby/2.5.0/gems/{rspec-mocks-3.10.2 → rspec-mocks-3.10.3}/LICENSE.md +0 -0
- data/vendor/bundle/ruby/2.5.0/gems/{rspec-mocks-3.10.2 → rspec-mocks-3.10.3}/README.md +0 -0
- data/vendor/bundle/ruby/2.5.0/gems/{rspec-mocks-3.10.2 → rspec-mocks-3.10.3}/lib/rspec/mocks/any_instance/chain.rb +0 -0
- data/vendor/bundle/ruby/2.5.0/gems/{rspec-mocks-3.10.2 → rspec-mocks-3.10.3}/lib/rspec/mocks/any_instance/error_generator.rb +0 -0
- data/vendor/bundle/ruby/2.5.0/gems/{rspec-mocks-3.10.2 → rspec-mocks-3.10.3}/lib/rspec/mocks/any_instance/expect_chain_chain.rb +0 -0
- data/vendor/bundle/ruby/2.5.0/gems/{rspec-mocks-3.10.2 → rspec-mocks-3.10.3}/lib/rspec/mocks/any_instance/expectation_chain.rb +0 -0
- data/vendor/bundle/ruby/2.5.0/gems/{rspec-mocks-3.10.2 → rspec-mocks-3.10.3}/lib/rspec/mocks/any_instance/message_chains.rb +0 -0
- data/vendor/bundle/ruby/2.5.0/gems/{rspec-mocks-3.10.2 → rspec-mocks-3.10.3}/lib/rspec/mocks/any_instance/proxy.rb +0 -0
- data/vendor/bundle/ruby/2.5.0/gems/{rspec-mocks-3.10.2 → rspec-mocks-3.10.3}/lib/rspec/mocks/any_instance/recorder.rb +0 -0
- data/vendor/bundle/ruby/2.5.0/gems/{rspec-mocks-3.10.2 → rspec-mocks-3.10.3}/lib/rspec/mocks/any_instance/stub_chain.rb +0 -0
- data/vendor/bundle/ruby/2.5.0/gems/{rspec-mocks-3.10.2 → rspec-mocks-3.10.3}/lib/rspec/mocks/any_instance/stub_chain_chain.rb +0 -0
- data/vendor/bundle/ruby/2.5.0/gems/{rspec-mocks-3.10.2 → rspec-mocks-3.10.3}/lib/rspec/mocks/any_instance.rb +0 -0
- data/vendor/bundle/ruby/2.5.0/gems/{rspec-mocks-3.10.2 → rspec-mocks-3.10.3}/lib/rspec/mocks/argument_list_matcher.rb +17 -3
- data/vendor/bundle/ruby/2.5.0/gems/{rspec-mocks-3.10.2 → rspec-mocks-3.10.3}/lib/rspec/mocks/argument_matchers.rb +0 -0
- data/vendor/bundle/ruby/2.5.0/gems/{rspec-mocks-3.10.2 → rspec-mocks-3.10.3}/lib/rspec/mocks/configuration.rb +0 -0
- data/vendor/bundle/ruby/2.5.0/gems/{rspec-mocks-3.10.2 → rspec-mocks-3.10.3}/lib/rspec/mocks/error_generator.rb +0 -0
- data/vendor/bundle/ruby/2.5.0/gems/{rspec-mocks-3.10.2 → rspec-mocks-3.10.3}/lib/rspec/mocks/example_methods.rb +0 -0
- data/vendor/bundle/ruby/2.5.0/gems/{rspec-mocks-3.10.2 → rspec-mocks-3.10.3}/lib/rspec/mocks/instance_method_stasher.rb +0 -0
- data/vendor/bundle/ruby/2.5.0/gems/{rspec-mocks-3.10.2 → rspec-mocks-3.10.3}/lib/rspec/mocks/marshal_extension.rb +0 -0
- data/vendor/bundle/ruby/2.5.0/gems/{rspec-mocks-3.10.2 → rspec-mocks-3.10.3}/lib/rspec/mocks/matchers/expectation_customization.rb +0 -0
- data/vendor/bundle/ruby/2.5.0/gems/{rspec-mocks-3.10.2 → rspec-mocks-3.10.3}/lib/rspec/mocks/matchers/have_received.rb +0 -0
- data/vendor/bundle/ruby/2.5.0/gems/{rspec-mocks-3.10.2 → rspec-mocks-3.10.3}/lib/rspec/mocks/matchers/receive.rb +1 -0
- data/vendor/bundle/ruby/2.5.0/gems/{rspec-mocks-3.10.2 → rspec-mocks-3.10.3}/lib/rspec/mocks/matchers/receive_message_chain.rb +0 -0
- data/vendor/bundle/ruby/2.5.0/gems/{rspec-mocks-3.10.2 → rspec-mocks-3.10.3}/lib/rspec/mocks/matchers/receive_messages.rb +0 -0
- data/vendor/bundle/ruby/2.5.0/gems/{rspec-mocks-3.10.2 → rspec-mocks-3.10.3}/lib/rspec/mocks/message_chain.rb +0 -0
- data/vendor/bundle/ruby/2.5.0/gems/{rspec-mocks-3.10.2 → rspec-mocks-3.10.3}/lib/rspec/mocks/message_expectation.rb +2 -1
- data/vendor/bundle/ruby/2.5.0/gems/{rspec-mocks-3.10.2 → rspec-mocks-3.10.3}/lib/rspec/mocks/method_double.rb +0 -0
- data/vendor/bundle/ruby/2.5.0/gems/{rspec-mocks-3.10.2 → rspec-mocks-3.10.3}/lib/rspec/mocks/method_reference.rb +0 -0
- data/vendor/bundle/ruby/2.5.0/gems/{rspec-mocks-3.10.2 → rspec-mocks-3.10.3}/lib/rspec/mocks/minitest_integration.rb +0 -0
- data/vendor/bundle/ruby/2.5.0/gems/{rspec-mocks-3.10.2 → rspec-mocks-3.10.3}/lib/rspec/mocks/mutate_const.rb +0 -0
- data/vendor/bundle/ruby/2.5.0/gems/{rspec-mocks-3.10.2 → rspec-mocks-3.10.3}/lib/rspec/mocks/object_reference.rb +0 -0
- data/vendor/bundle/ruby/2.5.0/gems/{rspec-mocks-3.10.2 → rspec-mocks-3.10.3}/lib/rspec/mocks/order_group.rb +0 -0
- data/vendor/bundle/ruby/2.5.0/gems/{rspec-mocks-3.10.2 → rspec-mocks-3.10.3}/lib/rspec/mocks/proxy.rb +0 -0
- data/vendor/bundle/ruby/2.5.0/gems/{rspec-mocks-3.10.2 → rspec-mocks-3.10.3}/lib/rspec/mocks/space.rb +0 -0
- data/vendor/bundle/ruby/2.5.0/gems/{rspec-mocks-3.10.2 → rspec-mocks-3.10.3}/lib/rspec/mocks/standalone.rb +0 -0
- data/vendor/bundle/ruby/2.5.0/gems/{rspec-mocks-3.10.2 → rspec-mocks-3.10.3}/lib/rspec/mocks/syntax.rb +0 -0
- data/vendor/bundle/ruby/2.5.0/gems/{rspec-mocks-3.10.2 → rspec-mocks-3.10.3}/lib/rspec/mocks/targets.rb +0 -0
- data/vendor/bundle/ruby/2.5.0/gems/{rspec-mocks-3.10.2 → rspec-mocks-3.10.3}/lib/rspec/mocks/test_double.rb +0 -0
- data/vendor/bundle/ruby/2.5.0/gems/{rspec-mocks-3.10.2 → rspec-mocks-3.10.3}/lib/rspec/mocks/verifying_double.rb +2 -10
- data/vendor/bundle/ruby/2.5.0/gems/{rspec-mocks-3.10.2 → rspec-mocks-3.10.3}/lib/rspec/mocks/verifying_message_expectation.rb +0 -0
- data/vendor/bundle/ruby/2.5.0/gems/{rspec-mocks-3.10.2 → rspec-mocks-3.10.3}/lib/rspec/mocks/verifying_proxy.rb +0 -0
- data/vendor/bundle/ruby/2.5.0/gems/{rspec-mocks-3.10.2 → rspec-mocks-3.10.3}/lib/rspec/mocks/version.rb +1 -1
- data/vendor/bundle/ruby/2.5.0/gems/{rspec-mocks-3.10.2 → rspec-mocks-3.10.3}/lib/rspec/mocks.rb +0 -0
- data/vendor/bundle/ruby/2.5.0/gems/stringio-3.0.1/ext/stringio/Makefile +2 -2
- data/vendor/bundle/ruby/2.5.0/specifications/{rspec-core-3.10.1.gemspec → rspec-core-3.10.2.gemspec} +5 -5
- data/vendor/bundle/ruby/2.5.0/specifications/{rspec-mocks-3.10.2.gemspec → rspec-mocks-3.10.3.gemspec} +8 -8
- metadata +174 -174
- data/docs/ProjectLookupSecretConfig.md +0 -18
- data/docs/ProjectOidcConfig.md +0 -42
- data/docs/ProjectPasswordConfig.md +0 -20
- data/docs/ProjectPatch.md +0 -60
- data/docs/ProjectRecoveryConfig.md +0 -18
- data/docs/ProjectTotpConfig.md +0 -20
- data/docs/ProjectVerificationConfig.md +0 -20
- data/docs/ProjectWebAuthnConfig.md +0 -26
- data/docs/RedirectionConfig.md +0 -32
- data/docs/RedirectionField.md +0 -24
- data/lib/ory-client/models/project_patch.rb +0 -502
- data/spec/models/project_web_authn_config_spec.rb +0 -58
- data/vendor/bundle/ruby/2.5.0/cache/rspec-core-3.10.1.gem +0 -0
- data/vendor/bundle/ruby/2.5.0/cache/rspec-mocks-3.10.2.gem +0 -0
@@ -0,0 +1,367 @@
|
|
1
|
+
=begin
|
2
|
+
#Ory APIs
|
3
|
+
|
4
|
+
#Documentation for all public and administrative Ory APIs. Administrative APIs can only be accessed with a valid Personal Access Token. Public APIs are mostly used in browsers.
|
5
|
+
|
6
|
+
The version of the OpenAPI document: v0.0.1-alpha.68
|
7
|
+
Contact: support@ory.sh
|
8
|
+
Generated by: https://openapi-generator.tech
|
9
|
+
OpenAPI Generator version: 5.4.0
|
10
|
+
|
11
|
+
=end
|
12
|
+
|
13
|
+
require 'date'
|
14
|
+
require 'time'
|
15
|
+
|
16
|
+
module OryClient
|
17
|
+
class ProjectRevisionHook
|
18
|
+
# The Hooks Config Key
|
19
|
+
attr_accessor :config_key
|
20
|
+
|
21
|
+
# The Project's Revision Creation Date
|
22
|
+
attr_accessor :created_at
|
23
|
+
|
24
|
+
# The Hook Type
|
25
|
+
attr_accessor :hook
|
26
|
+
|
27
|
+
attr_accessor :id
|
28
|
+
|
29
|
+
attr_accessor :project_revision_id
|
30
|
+
|
31
|
+
# Last Time Project's Revision was Updated
|
32
|
+
attr_accessor :updated_at
|
33
|
+
|
34
|
+
# Whether to send the API Key in the HTTP Header or as a HTTP Cookie
|
35
|
+
attr_accessor :web_hook_config_auth_api_key_in
|
36
|
+
|
37
|
+
# The name of the api key
|
38
|
+
attr_accessor :web_hook_config_auth_api_key_name
|
39
|
+
|
40
|
+
# The value of the api key
|
41
|
+
attr_accessor :web_hook_config_auth_api_key_value
|
42
|
+
|
43
|
+
# The password to be sent in the HTTP Basic Auth Header
|
44
|
+
attr_accessor :web_hook_config_auth_basic_auth_password
|
45
|
+
|
46
|
+
# The username to be sent in the HTTP Basic Auth Header
|
47
|
+
attr_accessor :web_hook_config_auth_basic_auth_user
|
48
|
+
|
49
|
+
# HTTP Auth Method to use for the Web-Hook
|
50
|
+
attr_accessor :web_hook_config_auth_type
|
51
|
+
|
52
|
+
# URI pointing to the JsonNet template used for Web-Hook payload generation. Only used for those HTTP methods, which support HTTP body payloads.
|
53
|
+
attr_accessor :web_hook_config_body
|
54
|
+
|
55
|
+
# The HTTP method to use (GET, POST, etc) for the Web-Hook
|
56
|
+
attr_accessor :web_hook_config_method
|
57
|
+
|
58
|
+
# The URL the Web-Hook should call
|
59
|
+
attr_accessor :web_hook_config_url
|
60
|
+
|
61
|
+
# Attribute mapping from ruby-style variable name to JSON key.
|
62
|
+
def self.attribute_map
|
63
|
+
{
|
64
|
+
:'config_key' => :'config_key',
|
65
|
+
:'created_at' => :'created_at',
|
66
|
+
:'hook' => :'hook',
|
67
|
+
:'id' => :'id',
|
68
|
+
:'project_revision_id' => :'project_revision_id',
|
69
|
+
:'updated_at' => :'updated_at',
|
70
|
+
:'web_hook_config_auth_api_key_in' => :'web_hook_config_auth_api_key_in',
|
71
|
+
:'web_hook_config_auth_api_key_name' => :'web_hook_config_auth_api_key_name',
|
72
|
+
:'web_hook_config_auth_api_key_value' => :'web_hook_config_auth_api_key_value',
|
73
|
+
:'web_hook_config_auth_basic_auth_password' => :'web_hook_config_auth_basic_auth_password',
|
74
|
+
:'web_hook_config_auth_basic_auth_user' => :'web_hook_config_auth_basic_auth_user',
|
75
|
+
:'web_hook_config_auth_type' => :'web_hook_config_auth_type',
|
76
|
+
:'web_hook_config_body' => :'web_hook_config_body',
|
77
|
+
:'web_hook_config_method' => :'web_hook_config_method',
|
78
|
+
:'web_hook_config_url' => :'web_hook_config_url'
|
79
|
+
}
|
80
|
+
end
|
81
|
+
|
82
|
+
# Returns all the JSON keys this model knows about
|
83
|
+
def self.acceptable_attributes
|
84
|
+
attribute_map.values
|
85
|
+
end
|
86
|
+
|
87
|
+
# Attribute type mapping.
|
88
|
+
def self.openapi_types
|
89
|
+
{
|
90
|
+
:'config_key' => :'String',
|
91
|
+
:'created_at' => :'Time',
|
92
|
+
:'hook' => :'String',
|
93
|
+
:'id' => :'String',
|
94
|
+
:'project_revision_id' => :'String',
|
95
|
+
:'updated_at' => :'Time',
|
96
|
+
:'web_hook_config_auth_api_key_in' => :'String',
|
97
|
+
:'web_hook_config_auth_api_key_name' => :'String',
|
98
|
+
:'web_hook_config_auth_api_key_value' => :'String',
|
99
|
+
:'web_hook_config_auth_basic_auth_password' => :'String',
|
100
|
+
:'web_hook_config_auth_basic_auth_user' => :'String',
|
101
|
+
:'web_hook_config_auth_type' => :'String',
|
102
|
+
:'web_hook_config_body' => :'String',
|
103
|
+
:'web_hook_config_method' => :'String',
|
104
|
+
:'web_hook_config_url' => :'String'
|
105
|
+
}
|
106
|
+
end
|
107
|
+
|
108
|
+
# List of attributes with nullable: true
|
109
|
+
def self.openapi_nullable
|
110
|
+
Set.new([
|
111
|
+
])
|
112
|
+
end
|
113
|
+
|
114
|
+
# Initializes the object
|
115
|
+
# @param [Hash] attributes Model attributes in the form of hash
|
116
|
+
def initialize(attributes = {})
|
117
|
+
if (!attributes.is_a?(Hash))
|
118
|
+
fail ArgumentError, "The input argument (attributes) must be a hash in `OryClient::ProjectRevisionHook` initialize method"
|
119
|
+
end
|
120
|
+
|
121
|
+
# check to see if the attribute exists and convert string to symbol for hash key
|
122
|
+
attributes = attributes.each_with_object({}) { |(k, v), h|
|
123
|
+
if (!self.class.attribute_map.key?(k.to_sym))
|
124
|
+
fail ArgumentError, "`#{k}` is not a valid attribute in `OryClient::ProjectRevisionHook`. Please check the name to make sure it's valid. List of attributes: " + self.class.attribute_map.keys.inspect
|
125
|
+
end
|
126
|
+
h[k.to_sym] = v
|
127
|
+
}
|
128
|
+
|
129
|
+
if attributes.key?(:'config_key')
|
130
|
+
self.config_key = attributes[:'config_key']
|
131
|
+
end
|
132
|
+
|
133
|
+
if attributes.key?(:'created_at')
|
134
|
+
self.created_at = attributes[:'created_at']
|
135
|
+
end
|
136
|
+
|
137
|
+
if attributes.key?(:'hook')
|
138
|
+
self.hook = attributes[:'hook']
|
139
|
+
end
|
140
|
+
|
141
|
+
if attributes.key?(:'id')
|
142
|
+
self.id = attributes[:'id']
|
143
|
+
end
|
144
|
+
|
145
|
+
if attributes.key?(:'project_revision_id')
|
146
|
+
self.project_revision_id = attributes[:'project_revision_id']
|
147
|
+
end
|
148
|
+
|
149
|
+
if attributes.key?(:'updated_at')
|
150
|
+
self.updated_at = attributes[:'updated_at']
|
151
|
+
end
|
152
|
+
|
153
|
+
if attributes.key?(:'web_hook_config_auth_api_key_in')
|
154
|
+
self.web_hook_config_auth_api_key_in = attributes[:'web_hook_config_auth_api_key_in']
|
155
|
+
end
|
156
|
+
|
157
|
+
if attributes.key?(:'web_hook_config_auth_api_key_name')
|
158
|
+
self.web_hook_config_auth_api_key_name = attributes[:'web_hook_config_auth_api_key_name']
|
159
|
+
end
|
160
|
+
|
161
|
+
if attributes.key?(:'web_hook_config_auth_api_key_value')
|
162
|
+
self.web_hook_config_auth_api_key_value = attributes[:'web_hook_config_auth_api_key_value']
|
163
|
+
end
|
164
|
+
|
165
|
+
if attributes.key?(:'web_hook_config_auth_basic_auth_password')
|
166
|
+
self.web_hook_config_auth_basic_auth_password = attributes[:'web_hook_config_auth_basic_auth_password']
|
167
|
+
end
|
168
|
+
|
169
|
+
if attributes.key?(:'web_hook_config_auth_basic_auth_user')
|
170
|
+
self.web_hook_config_auth_basic_auth_user = attributes[:'web_hook_config_auth_basic_auth_user']
|
171
|
+
end
|
172
|
+
|
173
|
+
if attributes.key?(:'web_hook_config_auth_type')
|
174
|
+
self.web_hook_config_auth_type = attributes[:'web_hook_config_auth_type']
|
175
|
+
end
|
176
|
+
|
177
|
+
if attributes.key?(:'web_hook_config_body')
|
178
|
+
self.web_hook_config_body = attributes[:'web_hook_config_body']
|
179
|
+
end
|
180
|
+
|
181
|
+
if attributes.key?(:'web_hook_config_method')
|
182
|
+
self.web_hook_config_method = attributes[:'web_hook_config_method']
|
183
|
+
end
|
184
|
+
|
185
|
+
if attributes.key?(:'web_hook_config_url')
|
186
|
+
self.web_hook_config_url = attributes[:'web_hook_config_url']
|
187
|
+
end
|
188
|
+
end
|
189
|
+
|
190
|
+
# Show invalid properties with the reasons. Usually used together with valid?
|
191
|
+
# @return Array for valid properties with the reasons
|
192
|
+
def list_invalid_properties
|
193
|
+
invalid_properties = Array.new
|
194
|
+
if @config_key.nil?
|
195
|
+
invalid_properties.push('invalid value for "config_key", config_key cannot be nil.')
|
196
|
+
end
|
197
|
+
|
198
|
+
if @hook.nil?
|
199
|
+
invalid_properties.push('invalid value for "hook", hook cannot be nil.')
|
200
|
+
end
|
201
|
+
|
202
|
+
invalid_properties
|
203
|
+
end
|
204
|
+
|
205
|
+
# Check to see if the all the properties in the model are valid
|
206
|
+
# @return true if the model is valid
|
207
|
+
def valid?
|
208
|
+
return false if @config_key.nil?
|
209
|
+
return false if @hook.nil?
|
210
|
+
true
|
211
|
+
end
|
212
|
+
|
213
|
+
# Checks equality by comparing each attribute.
|
214
|
+
# @param [Object] Object to be compared
|
215
|
+
def ==(o)
|
216
|
+
return true if self.equal?(o)
|
217
|
+
self.class == o.class &&
|
218
|
+
config_key == o.config_key &&
|
219
|
+
created_at == o.created_at &&
|
220
|
+
hook == o.hook &&
|
221
|
+
id == o.id &&
|
222
|
+
project_revision_id == o.project_revision_id &&
|
223
|
+
updated_at == o.updated_at &&
|
224
|
+
web_hook_config_auth_api_key_in == o.web_hook_config_auth_api_key_in &&
|
225
|
+
web_hook_config_auth_api_key_name == o.web_hook_config_auth_api_key_name &&
|
226
|
+
web_hook_config_auth_api_key_value == o.web_hook_config_auth_api_key_value &&
|
227
|
+
web_hook_config_auth_basic_auth_password == o.web_hook_config_auth_basic_auth_password &&
|
228
|
+
web_hook_config_auth_basic_auth_user == o.web_hook_config_auth_basic_auth_user &&
|
229
|
+
web_hook_config_auth_type == o.web_hook_config_auth_type &&
|
230
|
+
web_hook_config_body == o.web_hook_config_body &&
|
231
|
+
web_hook_config_method == o.web_hook_config_method &&
|
232
|
+
web_hook_config_url == o.web_hook_config_url
|
233
|
+
end
|
234
|
+
|
235
|
+
# @see the `==` method
|
236
|
+
# @param [Object] Object to be compared
|
237
|
+
def eql?(o)
|
238
|
+
self == o
|
239
|
+
end
|
240
|
+
|
241
|
+
# Calculates hash code according to all attributes.
|
242
|
+
# @return [Integer] Hash code
|
243
|
+
def hash
|
244
|
+
[config_key, created_at, hook, id, project_revision_id, updated_at, web_hook_config_auth_api_key_in, web_hook_config_auth_api_key_name, web_hook_config_auth_api_key_value, web_hook_config_auth_basic_auth_password, web_hook_config_auth_basic_auth_user, web_hook_config_auth_type, web_hook_config_body, web_hook_config_method, web_hook_config_url].hash
|
245
|
+
end
|
246
|
+
|
247
|
+
# Builds the object from hash
|
248
|
+
# @param [Hash] attributes Model attributes in the form of hash
|
249
|
+
# @return [Object] Returns the model itself
|
250
|
+
def self.build_from_hash(attributes)
|
251
|
+
new.build_from_hash(attributes)
|
252
|
+
end
|
253
|
+
|
254
|
+
# Builds the object from hash
|
255
|
+
# @param [Hash] attributes Model attributes in the form of hash
|
256
|
+
# @return [Object] Returns the model itself
|
257
|
+
def build_from_hash(attributes)
|
258
|
+
return nil unless attributes.is_a?(Hash)
|
259
|
+
self.class.openapi_types.each_pair do |key, type|
|
260
|
+
if attributes[self.class.attribute_map[key]].nil? && self.class.openapi_nullable.include?(key)
|
261
|
+
self.send("#{key}=", nil)
|
262
|
+
elsif type =~ /\AArray<(.*)>/i
|
263
|
+
# check to ensure the input is an array given that the attribute
|
264
|
+
# is documented as an array but the input is not
|
265
|
+
if attributes[self.class.attribute_map[key]].is_a?(Array)
|
266
|
+
self.send("#{key}=", attributes[self.class.attribute_map[key]].map { |v| _deserialize($1, v) })
|
267
|
+
end
|
268
|
+
elsif !attributes[self.class.attribute_map[key]].nil?
|
269
|
+
self.send("#{key}=", _deserialize(type, attributes[self.class.attribute_map[key]]))
|
270
|
+
end
|
271
|
+
end
|
272
|
+
|
273
|
+
self
|
274
|
+
end
|
275
|
+
|
276
|
+
# Deserializes the data based on type
|
277
|
+
# @param string type Data type
|
278
|
+
# @param string value Value to be deserialized
|
279
|
+
# @return [Object] Deserialized data
|
280
|
+
def _deserialize(type, value)
|
281
|
+
case type.to_sym
|
282
|
+
when :Time
|
283
|
+
Time.parse(value)
|
284
|
+
when :Date
|
285
|
+
Date.parse(value)
|
286
|
+
when :String
|
287
|
+
value.to_s
|
288
|
+
when :Integer
|
289
|
+
value.to_i
|
290
|
+
when :Float
|
291
|
+
value.to_f
|
292
|
+
when :Boolean
|
293
|
+
if value.to_s =~ /\A(true|t|yes|y|1)\z/i
|
294
|
+
true
|
295
|
+
else
|
296
|
+
false
|
297
|
+
end
|
298
|
+
when :Object
|
299
|
+
# generic object (usually a Hash), return directly
|
300
|
+
value
|
301
|
+
when /\AArray<(?<inner_type>.+)>\z/
|
302
|
+
inner_type = Regexp.last_match[:inner_type]
|
303
|
+
value.map { |v| _deserialize(inner_type, v) }
|
304
|
+
when /\AHash<(?<k_type>.+?), (?<v_type>.+)>\z/
|
305
|
+
k_type = Regexp.last_match[:k_type]
|
306
|
+
v_type = Regexp.last_match[:v_type]
|
307
|
+
{}.tap do |hash|
|
308
|
+
value.each do |k, v|
|
309
|
+
hash[_deserialize(k_type, k)] = _deserialize(v_type, v)
|
310
|
+
end
|
311
|
+
end
|
312
|
+
else # model
|
313
|
+
# models (e.g. Pet) or oneOf
|
314
|
+
klass = OryClient.const_get(type)
|
315
|
+
klass.respond_to?(:openapi_one_of) ? klass.build(value) : klass.build_from_hash(value)
|
316
|
+
end
|
317
|
+
end
|
318
|
+
|
319
|
+
# Returns the string representation of the object
|
320
|
+
# @return [String] String presentation of the object
|
321
|
+
def to_s
|
322
|
+
to_hash.to_s
|
323
|
+
end
|
324
|
+
|
325
|
+
# to_body is an alias to to_hash (backward compatibility)
|
326
|
+
# @return [Hash] Returns the object in the form of hash
|
327
|
+
def to_body
|
328
|
+
to_hash
|
329
|
+
end
|
330
|
+
|
331
|
+
# Returns the object in the form of hash
|
332
|
+
# @return [Hash] Returns the object in the form of hash
|
333
|
+
def to_hash
|
334
|
+
hash = {}
|
335
|
+
self.class.attribute_map.each_pair do |attr, param|
|
336
|
+
value = self.send(attr)
|
337
|
+
if value.nil?
|
338
|
+
is_nullable = self.class.openapi_nullable.include?(attr)
|
339
|
+
next if !is_nullable || (is_nullable && !instance_variable_defined?(:"@#{attr}"))
|
340
|
+
end
|
341
|
+
|
342
|
+
hash[param] = _to_hash(value)
|
343
|
+
end
|
344
|
+
hash
|
345
|
+
end
|
346
|
+
|
347
|
+
# Outputs non-array value in the form of hash
|
348
|
+
# For object, use to_hash. Otherwise, just return the value
|
349
|
+
# @param [Object] value Any valid value
|
350
|
+
# @return [Hash] Returns the value in the form of hash
|
351
|
+
def _to_hash(value)
|
352
|
+
if value.is_a?(Array)
|
353
|
+
value.compact.map { |v| _to_hash(v) }
|
354
|
+
elsif value.is_a?(Hash)
|
355
|
+
{}.tap do |hash|
|
356
|
+
value.each { |k, v| hash[k] = _to_hash(v) }
|
357
|
+
end
|
358
|
+
elsif value.respond_to? :to_hash
|
359
|
+
value.to_hash
|
360
|
+
else
|
361
|
+
value
|
362
|
+
end
|
363
|
+
end
|
364
|
+
|
365
|
+
end
|
366
|
+
|
367
|
+
end
|
@@ -3,10 +3,10 @@
|
|
3
3
|
|
4
4
|
#Documentation for all public and administrative Ory APIs. Administrative APIs can only be accessed with a valid Personal Access Token. Public APIs are mostly used in browsers.
|
5
5
|
|
6
|
-
The version of the OpenAPI document: v0.0.1-alpha.
|
6
|
+
The version of the OpenAPI document: v0.0.1-alpha.68
|
7
7
|
Contact: support@ory.sh
|
8
8
|
Generated by: https://openapi-generator.tech
|
9
|
-
OpenAPI Generator version: 5.
|
9
|
+
OpenAPI Generator version: 5.4.0
|
10
10
|
|
11
11
|
=end
|
12
12
|
|
@@ -14,34 +14,46 @@ require 'date'
|
|
14
14
|
require 'time'
|
15
15
|
|
16
16
|
module OryClient
|
17
|
-
class
|
18
|
-
|
17
|
+
class ProjectRevisionIdentitySchema
|
18
|
+
# The Project's Revision Creation Date
|
19
|
+
attr_accessor :created_at
|
19
20
|
|
20
|
-
attr_accessor :
|
21
|
+
attr_accessor :id
|
21
22
|
|
22
|
-
attr_accessor :
|
23
|
+
attr_accessor :identity_schema
|
23
24
|
|
24
|
-
attr_accessor :
|
25
|
+
attr_accessor :identity_schema_id
|
25
26
|
|
26
|
-
|
27
|
+
# The imported (named) ID of the Identity Schema referenced in the Ory Kratos config.
|
28
|
+
attr_accessor :import_id
|
27
29
|
|
28
|
-
|
30
|
+
# The ImportURL can be used to import an Identity Schema from a bse64 encoded string. In the future, this key also support HTTPS and other sources! If you import an Ory Kratos configuration, this would be akin to the `identity.schemas.#.url` key. The configuration will always return the import URL when you fetch it from the API.
|
31
|
+
attr_accessor :import_url
|
29
32
|
|
30
|
-
|
33
|
+
# If true sets the default schema for identities Only one schema can ever be the default schema. If you try to add two schemas with default to true, the request will fail.
|
34
|
+
attr_accessor :is_default
|
31
35
|
|
32
|
-
|
36
|
+
# Use a preset instead of a custom identity schema.
|
37
|
+
attr_accessor :preset
|
38
|
+
|
39
|
+
attr_accessor :project_revision_id
|
40
|
+
|
41
|
+
# Last Time Project's Revision was Updated
|
42
|
+
attr_accessor :updated_at
|
33
43
|
|
34
44
|
# Attribute mapping from ruby-style variable name to JSON key.
|
35
45
|
def self.attribute_map
|
36
46
|
{
|
37
|
-
:'
|
38
|
-
:'
|
39
|
-
:'
|
40
|
-
:'
|
41
|
-
:'
|
42
|
-
:'
|
43
|
-
:'
|
44
|
-
:'
|
47
|
+
:'created_at' => :'created_at',
|
48
|
+
:'id' => :'id',
|
49
|
+
:'identity_schema' => :'identity_schema',
|
50
|
+
:'identity_schema_id' => :'identity_schema_id',
|
51
|
+
:'import_id' => :'import_id',
|
52
|
+
:'import_url' => :'import_url',
|
53
|
+
:'is_default' => :'is_default',
|
54
|
+
:'preset' => :'preset',
|
55
|
+
:'project_revision_id' => :'project_revision_id',
|
56
|
+
:'updated_at' => :'updated_at'
|
45
57
|
}
|
46
58
|
end
|
47
59
|
|
@@ -53,14 +65,16 @@ module OryClient
|
|
53
65
|
# Attribute type mapping.
|
54
66
|
def self.openapi_types
|
55
67
|
{
|
56
|
-
:'
|
57
|
-
:'
|
58
|
-
:'
|
59
|
-
:'
|
60
|
-
:'
|
61
|
-
:'
|
62
|
-
:'
|
63
|
-
:'
|
68
|
+
:'created_at' => :'Time',
|
69
|
+
:'id' => :'String',
|
70
|
+
:'identity_schema' => :'IdentitySchema',
|
71
|
+
:'identity_schema_id' => :'String',
|
72
|
+
:'import_id' => :'String',
|
73
|
+
:'import_url' => :'String',
|
74
|
+
:'is_default' => :'Boolean',
|
75
|
+
:'preset' => :'String',
|
76
|
+
:'project_revision_id' => :'String',
|
77
|
+
:'updated_at' => :'Time'
|
64
78
|
}
|
65
79
|
end
|
66
80
|
|
@@ -74,49 +88,55 @@ module OryClient
|
|
74
88
|
# @param [Hash] attributes Model attributes in the form of hash
|
75
89
|
def initialize(attributes = {})
|
76
90
|
if (!attributes.is_a?(Hash))
|
77
|
-
fail ArgumentError, "The input argument (attributes) must be a hash in `OryClient::
|
91
|
+
fail ArgumentError, "The input argument (attributes) must be a hash in `OryClient::ProjectRevisionIdentitySchema` initialize method"
|
78
92
|
end
|
79
93
|
|
80
94
|
# check to see if the attribute exists and convert string to symbol for hash key
|
81
95
|
attributes = attributes.each_with_object({}) { |(k, v), h|
|
82
96
|
if (!self.class.attribute_map.key?(k.to_sym))
|
83
|
-
fail ArgumentError, "`#{k}` is not a valid attribute in `OryClient::
|
97
|
+
fail ArgumentError, "`#{k}` is not a valid attribute in `OryClient::ProjectRevisionIdentitySchema`. Please check the name to make sure it's valid. List of attributes: " + self.class.attribute_map.keys.inspect
|
84
98
|
end
|
85
99
|
h[k.to_sym] = v
|
86
100
|
}
|
87
101
|
|
88
|
-
if attributes.key?(:'
|
89
|
-
self.
|
102
|
+
if attributes.key?(:'created_at')
|
103
|
+
self.created_at = attributes[:'created_at']
|
90
104
|
end
|
91
105
|
|
92
|
-
if attributes.key?(:'
|
93
|
-
self.
|
106
|
+
if attributes.key?(:'id')
|
107
|
+
self.id = attributes[:'id']
|
94
108
|
end
|
95
109
|
|
96
|
-
if attributes.key?(:'
|
97
|
-
self.
|
110
|
+
if attributes.key?(:'identity_schema')
|
111
|
+
self.identity_schema = attributes[:'identity_schema']
|
98
112
|
end
|
99
113
|
|
100
|
-
if attributes.key?(:'
|
101
|
-
self.
|
114
|
+
if attributes.key?(:'identity_schema_id')
|
115
|
+
self.identity_schema_id = attributes[:'identity_schema_id']
|
102
116
|
end
|
103
117
|
|
104
|
-
if attributes.key?(:'
|
105
|
-
self.
|
118
|
+
if attributes.key?(:'import_id')
|
119
|
+
self.import_id = attributes[:'import_id']
|
106
120
|
end
|
107
121
|
|
108
|
-
if attributes.key?(:'
|
109
|
-
self.
|
122
|
+
if attributes.key?(:'import_url')
|
123
|
+
self.import_url = attributes[:'import_url']
|
110
124
|
end
|
111
125
|
|
112
|
-
if attributes.key?(:'
|
113
|
-
|
114
|
-
|
115
|
-
|
126
|
+
if attributes.key?(:'is_default')
|
127
|
+
self.is_default = attributes[:'is_default']
|
128
|
+
end
|
129
|
+
|
130
|
+
if attributes.key?(:'preset')
|
131
|
+
self.preset = attributes[:'preset']
|
132
|
+
end
|
133
|
+
|
134
|
+
if attributes.key?(:'project_revision_id')
|
135
|
+
self.project_revision_id = attributes[:'project_revision_id']
|
116
136
|
end
|
117
137
|
|
118
|
-
if attributes.key?(:'
|
119
|
-
self.
|
138
|
+
if attributes.key?(:'updated_at')
|
139
|
+
self.updated_at = attributes[:'updated_at']
|
120
140
|
end
|
121
141
|
end
|
122
142
|
|
@@ -138,14 +158,16 @@ module OryClient
|
|
138
158
|
def ==(o)
|
139
159
|
return true if self.equal?(o)
|
140
160
|
self.class == o.class &&
|
141
|
-
|
142
|
-
|
143
|
-
|
144
|
-
|
145
|
-
|
146
|
-
|
147
|
-
|
148
|
-
|
161
|
+
created_at == o.created_at &&
|
162
|
+
id == o.id &&
|
163
|
+
identity_schema == o.identity_schema &&
|
164
|
+
identity_schema_id == o.identity_schema_id &&
|
165
|
+
import_id == o.import_id &&
|
166
|
+
import_url == o.import_url &&
|
167
|
+
is_default == o.is_default &&
|
168
|
+
preset == o.preset &&
|
169
|
+
project_revision_id == o.project_revision_id &&
|
170
|
+
updated_at == o.updated_at
|
149
171
|
end
|
150
172
|
|
151
173
|
# @see the `==` method
|
@@ -157,7 +179,7 @@ module OryClient
|
|
157
179
|
# Calculates hash code according to all attributes.
|
158
180
|
# @return [Integer] Hash code
|
159
181
|
def hash
|
160
|
-
[
|
182
|
+
[created_at, id, identity_schema, identity_schema_id, import_id, import_url, is_default, preset, project_revision_id, updated_at].hash
|
161
183
|
end
|
162
184
|
|
163
185
|
# Builds the object from hash
|