workos 10.4.0 → 10.6.0
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 +4 -4
- data/.github/workflows/ci.yml +1 -1
- data/.github/workflows/docs.yml +2 -2
- data/.github/workflows/lint.yml +1 -1
- data/.github/workflows/release-please.yml +4 -4
- data/.github/workflows/release.yml +1 -1
- data/.last-synced-sha +1 -1
- data/.oagen-manifest.json +454 -2
- data/.release-please-manifest.json +1 -1
- data/.ruby-version +1 -1
- data/CHANGELOG.md +326 -0
- data/Gemfile.lock +2 -2
- data/README.md +2 -2
- data/lib/workos/admin_portal/generate_link.rb +3 -0
- data/lib/workos/admin_portal/revoke_link.rb +22 -0
- data/lib/workos/admin_portal.rb +27 -0
- data/lib/workos/agents/agent_blueprint.rb +3 -0
- data/lib/workos/agents/agent_blueprint_invocable_as.rb +18 -0
- data/lib/workos/agents/agent_blueprints_create_request.rb +3 -0
- data/lib/workos/agents/agent_blueprints_create_request_invocable_as.rb +18 -0
- data/lib/workos/agents/agent_blueprints_update_request.rb +3 -0
- data/lib/workos/agents/agent_blueprints_update_request_invocable_as.rb +18 -0
- data/lib/workos/agents/agent_registration.rb +3 -0
- data/lib/workos/agents/list_metadata.rb +22 -0
- data/lib/workos/agents.rb +25 -0
- data/lib/workos/api_keys/api_key_data_integration_vended_credential.rb +28 -0
- data/lib/workos/authorization/patch_group_role_assignments.rb +22 -0
- data/lib/workos/authorization/user_role_assignment_source.rb +5 -2
- data/lib/workos/authorization/user_role_assignment_source_group.rb +7 -0
- data/lib/workos/authorization.rb +26 -0
- data/lib/workos/base_client.rb +3 -0
- data/lib/workos/connect/connect_application.rb +3 -0
- data/lib/workos/connect/create_oauth_application.rb +3 -0
- data/lib/workos/connect/update_oauth_application.rb +5 -2
- data/lib/workos/connect.rb +6 -0
- data/lib/workos/directory_sync/directory_sync_rate_limit_error.rb +25 -0
- data/lib/workos/directory_sync/directory_sync_response.rb +18 -0
- data/lib/workos/directory_sync.rb +19 -0
- data/lib/workos/events.rb +3 -11
- data/lib/workos/feature_flags/flag_created_data.rb +1 -46
- data/lib/workos/feature_flags/flag_deleted_data.rb +1 -1
- data/lib/workos/feature_flags/flag_rule.rb +49 -0
- data/lib/workos/feature_flags/flag_rule_updated_data.rb +1 -1
- data/lib/workos/feature_flags/flag_target.rb +52 -0
- data/lib/workos/feature_flags/flag_target_with_rule_id.rb +46 -0
- data/lib/workos/feature_flags/flag_target_with_value_type.rb +49 -0
- data/lib/workos/feature_flags/flag_updated_context_previous_attribute.rb +1 -12
- data/lib/workos/feature_flags/flag_updated_context_previous_attribute_data.rb +1 -25
- data/lib/workos/feature_flags/flag_updated_context_previous_attribute_data_owner.rb +7 -0
- data/lib/workos/feature_flags/flag_updated_data.rb +1 -1
- data/lib/workos/groups/patch_group_memberships.rb +22 -0
- data/lib/workos/groups.rb +28 -0
- data/lib/workos/inflections.rb +30 -0
- data/lib/workos/organizations/it_contact_list_list_metadata.rb +22 -0
- data/lib/workos/organizations/organization_authentication_methods_required_oauth_error_body.rb +22 -0
- data/lib/workos/organizations/organization_connected_account_import_error_body.rb +22 -0
- data/lib/workos/organizations/organization_membership_not_found_oauth_error_body.rb +22 -0
- data/lib/workos/organizations/organization_not_found_oauth_error_body.rb +22 -0
- data/lib/workos/organizations/organization_selection_required_error_body.rb +22 -0
- data/lib/workos/organizations/organization_selection_required_error_body_with_organization.rb +7 -0
- data/lib/workos/organizations/organization_selection_required_error_body_with_organizations.rb +25 -0
- data/lib/workos/pipes/connected_account.rb +11 -2
- data/lib/workos/pipes/connected_account_input.rb +6 -0
- data/lib/workos/pipes/connected_account_warning.rb +22 -0
- data/lib/workos/pipes/create_connected_account.rb +40 -0
- data/lib/workos/pipes/create_organization_connected_account.rb +43 -0
- data/lib/workos/pipes/data_integration_authorize_url_response.rb +9 -2
- data/lib/workos/pipes/data_integration_credentials_response.rb +1 -1
- data/lib/workos/pipes/data_integration_finish_connection_response.rb +18 -0
- data/lib/workos/pipes/{data_integration_credentials_response_credential.rb → data_integration_vended_credential.rb} +9 -3
- data/lib/workos/pipes/data_integrations_create_api_key_connection_request.rb +37 -0
- data/lib/workos/pipes/data_integrations_create_client_credentials_connection_request.rb +43 -0
- data/lib/workos/pipes/data_integrations_finish_connection_request.rb +25 -0
- data/lib/workos/pipes/data_integrations_get_data_integration_authorize_url_request.rb +17 -2
- data/lib/workos/pipes/data_integrations_list_response_data_connected_account.rb +10 -1
- data/lib/workos/pipes/data_integrations_list_response_data_connected_account_warning.rb +7 -0
- data/lib/workos/pipes/data_integrations_upsert_api_key_request.rb +14 -5
- data/lib/workos/pipes/data_integrations_upsert_client_credentials_request.rb +14 -5
- data/lib/workos/pipes/organization_connected_account.rb +40 -0
- data/lib/workos/pipes.rb +216 -20
- data/lib/workos/shared/access_denied_oauth_error_body.rb +22 -0
- data/lib/workos/shared/account_selection_required_error_body.rb +7 -0
- data/lib/workos/shared/agent_blueprint_created_data.rb +3 -0
- data/lib/workos/shared/agent_blueprint_created_data_invocable_as.rb +18 -0
- data/lib/workos/shared/agent_blueprint_updated_data.rb +40 -1
- data/lib/workos/shared/agent_blueprint_updated_data_invocable_as.rb +18 -0
- data/lib/workos/shared/already_claimed_error_body.rb +22 -0
- data/lib/workos/shared/application_consent_required_error_body.rb +22 -0
- data/lib/workos/shared/auth_method_mismatch_error_body.rb +7 -0
- data/lib/workos/shared/authorization_pending_oauth_error_body.rb +22 -0
- data/lib/workos/shared/authorization_url_not_found_error_body.rb +22 -0
- data/lib/workos/shared/authorization_url_request_error_body.rb +22 -0
- data/lib/workos/shared/client_credentials_data_integration_vended_credential.rb +40 -0
- data/lib/workos/shared/code_challenge_not_found_error_body.rb +22 -0
- data/lib/workos/shared/connect_application_oauth.rb +3 -0
- data/lib/workos/shared/connected_account_limit_reached_error_body.rb +22 -0
- data/lib/workos/shared/daily_quota_exceeded_error_body.rb +22 -0
- data/lib/workos/shared/data_integration_access_token_response_with_access_token.rb +22 -0
- data/lib/workos/shared/data_integration_access_token_response_with_access_token_access_token.rb +7 -0
- data/lib/workos/shared/data_integration_access_token_response_with_error.rb +22 -0
- data/lib/workos/shared/data_integration_credentials_response_with_credential.rb +22 -0
- data/lib/workos/shared/data_integration_credentials_response_with_error.rb +22 -0
- data/lib/workos/shared/entity_not_found_error_body.rb +22 -0
- data/lib/workos/shared/error_body.rb +7 -0
- data/lib/workos/shared/error_body_with_code.rb +7 -0
- data/lib/workos/shared/error_body_with_code_errors.rb +25 -0
- data/lib/workos/shared/error_body_with_code_field_error.rb +22 -0
- data/lib/workos/shared/error_body_with_code_field_errors.rb +22 -0
- data/lib/workos/shared/error_body_with_code_instance_path_error.rb +18 -0
- data/lib/workos/shared/error_body_with_code_instance_path_errors.rb +25 -0
- data/lib/workos/shared/error_body_with_code_status_code.rb +25 -0
- data/lib/workos/shared/error_body_with_constraints_property_error.rb +22 -0
- data/lib/workos/shared/error_body_with_constraints_property_errors.rb +22 -0
- data/lib/workos/shared/error_body_with_error.rb +22 -0
- data/lib/workos/shared/error_body_with_error_message_list.rb +22 -0
- data/lib/workos/shared/error_body_with_message_or_message_list.rb +18 -0
- data/lib/workos/shared/expired_token_oauth_error_body.rb +22 -0
- data/lib/workos/shared/external_auth_session_already_completed_error_body.rb +22 -0
- data/lib/workos/shared/external_id_already_used_error_body.rb +22 -0
- data/lib/workos/shared/extra_attributes_required_oauth_error_body.rb +22 -0
- data/lib/workos/shared/feature_flags_flag_created.rb +34 -0
- data/lib/workos/shared/feature_flags_flag_created_context.rb +22 -0
- data/lib/workos/shared/feature_flags_flag_created_context_actor.rb +25 -0
- data/lib/workos/shared/feature_flags_flag_created_data.rb +52 -0
- data/lib/workos/shared/feature_flags_flag_created_data_owner.rb +7 -0
- data/lib/workos/shared/feature_flags_flag_deleted.rb +34 -0
- data/lib/workos/shared/feature_flags_flag_deleted_context.rb +22 -0
- data/lib/workos/shared/feature_flags_flag_deleted_context_actor.rb +25 -0
- data/lib/workos/shared/feature_flags_flag_deleted_data.rb +7 -0
- data/lib/workos/shared/feature_flags_flag_deleted_data_owner.rb +7 -0
- data/lib/workos/shared/feature_flags_flag_rule_created.rb +34 -0
- data/lib/workos/shared/feature_flags_flag_rule_created_context.rb +22 -0
- data/lib/workos/shared/feature_flags_flag_rule_created_context_actor.rb +25 -0
- data/lib/workos/shared/feature_flags_flag_rule_deleted.rb +34 -0
- data/lib/workos/shared/feature_flags_flag_rule_deleted_context.rb +22 -0
- data/lib/workos/shared/feature_flags_flag_rule_deleted_context_actor.rb +25 -0
- data/lib/workos/shared/feature_flags_flag_rule_updated.rb +34 -0
- data/lib/workos/shared/feature_flags_flag_rule_updated_context.rb +25 -0
- data/lib/workos/shared/feature_flags_flag_rule_updated_context_actor.rb +25 -0
- data/lib/workos/shared/feature_flags_flag_rule_updated_context_previous_attribute.rb +18 -0
- data/lib/workos/shared/feature_flags_flag_rule_updated_context_previous_attribute_data.rb +18 -0
- data/lib/workos/shared/feature_flags_flag_target_created.rb +34 -0
- data/lib/workos/shared/feature_flags_flag_target_created_context.rb +22 -0
- data/lib/workos/shared/feature_flags_flag_target_created_context_actor.rb +25 -0
- data/lib/workos/shared/feature_flags_flag_target_deleted.rb +34 -0
- data/lib/workos/shared/feature_flags_flag_target_deleted_context.rb +22 -0
- data/lib/workos/shared/feature_flags_flag_target_deleted_context_actor.rb +25 -0
- data/lib/workos/shared/feature_flags_flag_updated.rb +34 -0
- data/lib/workos/shared/feature_flags_flag_updated_context.rb +25 -0
- data/lib/workos/shared/feature_flags_flag_updated_context_actor.rb +25 -0
- data/lib/workos/shared/feature_flags_flag_updated_context_previous_attribute.rb +18 -0
- data/lib/workos/shared/feature_flags_flag_updated_context_previous_attribute_data.rb +34 -0
- data/lib/workos/shared/feature_flags_flag_updated_context_previous_attribute_data_owner.rb +7 -0
- data/lib/workos/shared/feature_flags_flag_updated_data.rb +7 -0
- data/lib/workos/shared/feature_flags_flag_updated_data_owner.rb +7 -0
- data/lib/workos/shared/idp_metadata_fetch_failed_error_body.rb +22 -0
- data/lib/workos/shared/invalid_client_oauth_error_body.rb +22 -0
- data/lib/workos/shared/invalid_connection_oauth_error_body.rb +22 -0
- data/lib/workos/shared/invalid_credentials_error_body.rb +22 -0
- data/lib/workos/shared/invalid_email_error_body.rb +22 -0
- data/lib/workos/shared/invalid_grant_oauth_error_body.rb +22 -0
- data/lib/workos/shared/invalid_idp_sso_url_error_body.rb +22 -0
- data/lib/workos/shared/invalid_link_authorization_code_oauth_error_body.rb +22 -0
- data/lib/workos/shared/invalid_locale_error_body.rb +22 -0
- data/lib/workos/shared/invalid_metadata_error_body.rb +22 -0
- data/lib/workos/shared/invalid_one_time_code_error_body.rb +22 -0
- data/lib/workos/shared/invalid_organization_id_error_body.rb +22 -0
- data/lib/workos/shared/invalid_password_hash_error_body.rb +22 -0
- data/lib/workos/shared/invalid_pending_authentication_token_error_body.rb +22 -0
- data/lib/workos/shared/invalid_profile_oauth_error_body.rb +22 -0
- data/lib/workos/shared/invalid_refresh_token_error_body.rb +22 -0
- data/lib/workos/shared/invalid_request_oauth_error_body.rb +22 -0
- data/lib/workos/shared/invalid_request_parameters_error_body.rb +22 -0
- data/lib/workos/shared/invalid_request_parameters_error_body_with_errors.rb +25 -0
- data/lib/workos/shared/invalid_role_error_body.rb +22 -0
- data/lib/workos/shared/invalid_url_error_body.rb +22 -0
- data/lib/workos/shared/mfa_challenge_error_body.rb +22 -0
- data/lib/workos/shared/mfa_enrollment_error_body.rb +22 -0
- data/lib/workos/shared/mfa_enrollment_oauth_error_body.rb +22 -0
- data/lib/workos/shared/multiple_roles_not_enabled_error_body.rb +22 -0
- data/lib/workos/shared/must_use_sso_for_selected_organization_message_error_body.rb +18 -0
- data/lib/workos/shared/oauth_data_integration_vended_credential.rb +40 -0
- data/lib/workos/shared/oauth_error_body.rb +22 -0
- data/lib/workos/shared/one_time_code_expired_error_body.rb +22 -0
- data/lib/workos/shared/one_time_code_previously_used_error_body.rb +22 -0
- data/lib/workos/shared/one_time_code_too_many_attempts_error_body.rb +22 -0
- data/lib/workos/shared/passkey_progressive_enrollment_error_body.rb +22 -0
- data/lib/workos/shared/phone_number_required_error_body.rb +22 -0
- data/lib/workos/shared/pipe_connected_account.rb +6 -0
- data/lib/workos/shared/pkce_not_supported_oauth_error_body.rb +22 -0
- data/lib/workos/shared/policy_denied_error_body.rb +22 -0
- data/lib/workos/shared/radar_challenge_error_body.rb +22 -0
- data/lib/workos/shared/radar_sign_up_challenge_error_body.rb +22 -0
- data/lib/workos/shared/radar_sms_sign_in_challenge_error_body.rb +22 -0
- data/lib/workos/shared/rate_limit_exceeded_error_body_with_retry_after.rb +25 -0
- data/lib/workos/shared/sign_up_not_allowed_oauth_error_body.rb +22 -0
- data/lib/workos/shared/slow_down_oauth_error_body.rb +22 -0
- data/lib/workos/shared/sms_challenge_quota_reached_error_body.rb +22 -0
- data/lib/workos/shared/sms_challenge_rate_limited_error_body.rb +22 -0
- data/lib/workos/shared/sso_required_oauth_error_body_with_connection_ids_list_email_pending_authentication_token.rb +31 -0
- data/lib/workos/shared/sub_resource_scoped_role_not_allowed_error_body_with_role_slug.rb +25 -0
- data/lib/workos/shared/token_too_big_oauth_error_body.rb +22 -0
- data/lib/workos/shared/too_many_failed_verification_attempts_error_body_with_retry_after.rb +25 -0
- data/lib/workos/shared/too_many_requests_oauth_error_body.rb +22 -0
- data/lib/workos/shared/unauthorized_client_oauth_error_body.rb +22 -0
- data/lib/workos/shared/unauthorized_error_body.rb +18 -0
- data/lib/workos/shared/update_audit_logs_retention_with_retention_period.rb +18 -0
- data/lib/workos/shared/update_audit_logs_retention_with_retention_period_in_days.rb +26 -0
- data/lib/workos/shared/update_user_organization_membership_with_role_slug.rb +18 -0
- data/lib/workos/shared/update_user_organization_membership_with_role_slugs.rb +18 -0
- data/lib/workos/shared/verification_id_required_error_body.rb +22 -0
- data/lib/workos/sso/connection_could_not_be_verified_error_body.rb +22 -0
- data/lib/workos/sso/connection_creation_conflict_error_body.rb +22 -0
- data/lib/workos/sso/connection_creation_not_found_error_body.rb +22 -0
- data/lib/workos/sso/connection_finish_error_body.rb +22 -0
- data/lib/workos/sso/connection_type_not_updatable_error_body.rb +22 -0
- data/lib/workos/sso/token_query.rb +3 -0
- data/lib/workos/sso.rb +3 -0
- data/lib/workos/types/agent_blueprint_created_data_invocable_as_instance_types.rb +13 -0
- data/lib/workos/types/agent_blueprint_invocable_as_instance_types.rb +9 -0
- data/lib/workos/types/agent_blueprint_updated_data_invocable_as_instance_types.rb +9 -0
- data/lib/workos/types/agent_blueprints_create_request_invocable_as_instance_types.rb +9 -0
- data/lib/workos/types/agent_blueprints_update_request_invocable_as_instance_types.rb +9 -0
- data/lib/workos/types/agent_instance_created_data_type.rb +1 -5
- data/lib/workos/types/agent_instance_deleted_data_type.rb +1 -1
- data/lib/workos/types/agent_instance_type.rb +1 -1
- data/lib/workos/types/authorization_url_not_found_error_body_code.rb +14 -0
- data/lib/workos/types/authorization_url_request_error_body_code.rb +14 -0
- data/lib/workos/types/connection_creation_conflict_error_body_code.rb +13 -0
- data/lib/workos/types/connection_creation_not_found_error_body_code.rb +13 -0
- data/lib/workos/types/connection_finish_error_body_code.rb +29 -0
- data/lib/workos/types/create_connected_account_state.rb +9 -0
- data/lib/workos/types/create_magic_code_and_return_locale.rb +101 -0
- data/lib/workos/types/create_organization_connected_account_state.rb +9 -0
- data/lib/workos/types/create_password_reset_token_locale.rb +9 -0
- data/lib/workos/types/create_user_invite_options_locale.rb +1 -93
- data/lib/workos/types/create_webhook_endpoint_events.rb +9 -1
- data/lib/workos/types/data_integration_access_token_response_with_error_error.rb +9 -0
- data/lib/workos/types/data_integration_credentials_response_with_error_error.rb +9 -0
- data/lib/workos/types/data_integrations_create_api_key_connection_request_connection_owner.rb +9 -0
- data/lib/workos/types/data_integrations_create_client_credentials_connection_request_connection_owner.rb +9 -0
- data/lib/workos/types/data_integrations_get_data_integration_authorize_url_request_connection_intent.rb +13 -0
- data/lib/workos/types/error_body_code.rb +183 -0
- data/lib/workos/types/feature_flags_flag_created_context_actor_source.rb +9 -0
- data/lib/workos/types/feature_flags_flag_deleted_context_actor_source.rb +9 -0
- data/lib/workos/types/feature_flags_flag_rule_created_context_actor_source.rb +9 -0
- data/lib/workos/types/feature_flags_flag_rule_deleted_context_actor_source.rb +9 -0
- data/lib/workos/types/feature_flags_flag_rule_updated_context_actor_source.rb +9 -0
- data/lib/workos/types/feature_flags_flag_target_created_context_actor_source.rb +9 -0
- data/lib/workos/types/feature_flags_flag_target_deleted_context_actor_source.rb +9 -0
- data/lib/workos/types/feature_flags_flag_updated_context_actor_source.rb +9 -0
- data/lib/workos/types/organization_connected_account_import_error_body_code.rb +14 -0
- data/lib/workos/types/organization_connected_account_state.rb +9 -0
- data/lib/workos/types/resend_user_invite_options_locale.rb +1 -1
- data/lib/workos/types/resource_export_completed_data_resource_type.rb +4 -1
- data/lib/workos/types/send_email_change_locale.rb +9 -0
- data/lib/workos/types/send_verification_email_locale.rb +9 -0
- data/lib/workos/types/update_audit_logs_retention_with_retention_period_retention_period.rb +9 -0
- data/lib/workos/types/user_connected_account_import_error_body_code.rb +15 -0
- data/lib/workos/types/vault_dek_rekeyed_data_actor_source.rb +9 -0
- data/lib/workos/types/widget_session_token_scopes.rb +3 -1
- data/lib/workos/user_management/action_denied_error_body.rb +22 -0
- data/lib/workos/user_management/authentication_method_not_allowed_error_body.rb +22 -0
- data/lib/workos/user_management/authentication_method_not_allowed_oauth_error_body.rb +22 -0
- data/lib/workos/user_management/create_magic_code_and_return.rb +5 -2
- data/lib/workos/user_management/create_password_reset_token.rb +16 -1
- data/lib/workos/user_management/email_already_in_use_error_body.rb +22 -0
- data/lib/workos/user_management/email_already_verified_error_body.rb +22 -0
- data/lib/workos/user_management/email_change_not_allowed_error_body.rb +22 -0
- data/lib/workos/user_management/email_completion_required_error_body_with_email_completion_token.rb +25 -0
- data/lib/workos/user_management/email_domain_not_deliverable_error_body.rb +22 -0
- data/lib/workos/user_management/email_not_available_error_body.rb +22 -0
- data/lib/workos/user_management/email_password_auth_disabled_error_body.rb +22 -0
- data/lib/workos/user_management/email_verification_required_error_body.rb +22 -0
- data/lib/workos/user_management/invitation_cannot_be_used_for_email_oauth_error_body.rb +22 -0
- data/lib/workos/user_management/invitation_invalid_oauth_error_body.rb +22 -0
- data/lib/workos/user_management/password_and_password_hash_provided_error_body.rb +22 -0
- data/lib/workos/user_management/password_and_password_hash_type_provided_error_body.rb +22 -0
- data/lib/workos/user_management/password_salt_position_requires_password_hash_error_body.rb +22 -0
- data/lib/workos/user_management/password_strength_error_error_body_with_errors.rb +25 -0
- data/lib/workos/user_management/send_email_change.rb +6 -2
- data/lib/workos/user_management/send_verification_email.rb +18 -0
- data/lib/workos/user_management/user_connected_account_import_error_body.rb +22 -0
- data/lib/workos/user_management/user_consent_options_not_supported_error_body.rb +22 -0
- data/lib/workos/user_management/user_creation_error_error_body_with_errors.rb +25 -0
- data/lib/workos/user_management/user_mismatch_error_body.rb +22 -0
- data/lib/workos/user_management/waitlist_list_response.rb +25 -0
- data/lib/workos/user_management/waitlist_list_response_list_metadata.rb +7 -0
- data/lib/workos/user_management.rb +26 -11
- data/lib/workos/vault/vault_dek_rekeyed.rb +34 -0
- data/lib/workos/vault/vault_dek_rekeyed_data.rb +31 -0
- data/lib/workos/version.rb +1 -1
- data/rbi/workos/access_denied_oauth_error_body.rbi +30 -0
- data/rbi/workos/account_selection_required_error_body.rbi +30 -0
- data/rbi/workos/action_denied_error_body.rbi +30 -0
- data/rbi/workos/admin_portal.rbi +11 -1
- data/rbi/workos/agent_blueprint.rbi +6 -0
- data/rbi/workos/agent_blueprint_created_data.rbi +6 -0
- data/rbi/workos/agent_blueprint_created_data_invocable_as.rbi +24 -0
- data/rbi/workos/agent_blueprint_invocable_as.rbi +24 -0
- data/rbi/workos/agent_blueprint_updated_data.rbi +6 -0
- data/rbi/workos/agent_blueprint_updated_data_invocable_as.rbi +24 -0
- data/rbi/workos/agent_blueprints_create_request.rbi +6 -0
- data/rbi/workos/agent_blueprints_create_request_invocable_as.rbi +24 -0
- data/rbi/workos/agent_blueprints_update_request.rbi +6 -0
- data/rbi/workos/agent_blueprints_update_request_invocable_as.rbi +24 -0
- data/rbi/workos/agent_registration.rbi +6 -0
- data/rbi/workos/agents.rbi +29 -19
- data/rbi/workos/already_claimed_error_body.rbi +30 -0
- data/rbi/workos/api_key_data_integration_vended_credential.rbi +42 -0
- data/rbi/workos/api_keys.rbi +5 -5
- data/rbi/workos/application_consent_required_error_body.rbi +30 -0
- data/rbi/workos/audit_logs.rbi +10 -10
- data/rbi/workos/auth_method_mismatch_error_body.rbi +30 -0
- data/rbi/workos/authentication_method_not_allowed_error_body.rbi +30 -0
- data/rbi/workos/authentication_method_not_allowed_oauth_error_body.rbi +30 -0
- data/rbi/workos/authorization.rbi +55 -45
- data/rbi/workos/authorization_pending_oauth_error_body.rbi +30 -0
- data/rbi/workos/authorization_url_not_found_error_body.rbi +30 -0
- data/rbi/workos/authorization_url_request_error_body.rbi +30 -0
- data/rbi/workos/client_api.rbi +1 -1
- data/rbi/workos/client_credentials_data_integration_vended_credential.rbi +66 -0
- data/rbi/workos/code_challenge_not_found_error_body.rbi +30 -0
- data/rbi/workos/connect.rbi +12 -10
- data/rbi/workos/connect_application_oauth.rbi +6 -0
- data/rbi/workos/connected_account.rbi +18 -0
- data/rbi/workos/connected_account_input.rbi +12 -0
- data/rbi/workos/connected_account_limit_reached_error_body.rbi +30 -0
- data/rbi/workos/connected_account_warning.rbi +30 -0
- data/rbi/workos/connection_could_not_be_verified_error_body.rbi +30 -0
- data/rbi/workos/connection_creation_conflict_error_body.rbi +30 -0
- data/rbi/workos/connection_creation_not_found_error_body.rbi +30 -0
- data/rbi/workos/connection_finish_error_body.rbi +30 -0
- data/rbi/workos/connection_type_not_updatable_error_body.rbi +30 -0
- data/rbi/workos/create_connected_account.rbi +66 -0
- data/rbi/workos/create_magic_code_and_return.rbi +6 -0
- data/rbi/workos/create_oauth_application.rbi +6 -0
- data/rbi/workos/create_organization_connected_account.rbi +72 -0
- data/rbi/workos/create_password_reset_token.rbi +6 -0
- data/rbi/workos/daily_quota_exceeded_error_body.rbi +30 -0
- data/rbi/workos/data_integration_access_token_response_with_access_token.rbi +30 -0
- data/rbi/workos/{data_integration_credentials_response_credential.rbi → data_integration_access_token_response_with_access_token_access_token.rbi} +3 -9
- data/rbi/workos/data_integration_access_token_response_with_error.rbi +30 -0
- data/rbi/workos/data_integration_authorize_url_response.rbi +12 -0
- data/rbi/workos/data_integration_credentials_response.rbi +2 -2
- data/rbi/workos/data_integration_credentials_response_with_credential.rbi +30 -0
- data/rbi/workos/data_integration_credentials_response_with_error.rbi +30 -0
- data/rbi/workos/data_integration_finish_connection_response.rbi +24 -0
- data/rbi/workos/data_integration_vended_credential.rbi +66 -0
- data/rbi/workos/data_integrations_create_api_key_connection_request.rbi +60 -0
- data/rbi/workos/data_integrations_create_client_credentials_connection_request.rbi +72 -0
- data/rbi/workos/data_integrations_finish_connection_request.rbi +36 -0
- data/rbi/workos/data_integrations_get_data_integration_authorize_url_request.rbi +30 -0
- data/rbi/workos/data_integrations_list_response_data_connected_account.rbi +18 -0
- data/rbi/workos/data_integrations_list_response_data_connected_account_warning.rbi +30 -0
- data/rbi/workos/data_integrations_upsert_api_key_request.rbi +24 -6
- data/rbi/workos/data_integrations_upsert_client_credentials_request.rbi +24 -6
- data/rbi/workos/directory_sync.rbi +15 -7
- data/rbi/workos/directory_sync_rate_limit_error.rbi +36 -0
- data/rbi/workos/directory_sync_response.rbi +24 -0
- data/rbi/workos/email_already_in_use_error_body.rbi +30 -0
- data/rbi/workos/email_already_verified_error_body.rbi +30 -0
- data/rbi/workos/email_change_not_allowed_error_body.rbi +30 -0
- data/rbi/workos/email_completion_required_error_body_with_email_completion_token.rbi +36 -0
- data/rbi/workos/email_domain_not_deliverable_error_body.rbi +30 -0
- data/rbi/workos/email_not_available_error_body.rbi +30 -0
- data/rbi/workos/email_password_auth_disabled_error_body.rbi +30 -0
- data/rbi/workos/email_verification_required_error_body.rbi +30 -0
- data/rbi/workos/entity_not_found_error_body.rbi +30 -0
- data/rbi/workos/error_body.rbi +24 -0
- data/rbi/workos/error_body_with_code.rbi +30 -0
- data/rbi/workos/error_body_with_code_errors.rbi +36 -0
- data/rbi/workos/error_body_with_code_field_error.rbi +30 -0
- data/rbi/workos/error_body_with_code_field_errors.rbi +30 -0
- data/rbi/workos/error_body_with_code_instance_path_error.rbi +24 -0
- data/rbi/workos/error_body_with_code_instance_path_errors.rbi +36 -0
- data/rbi/workos/error_body_with_code_status_code.rbi +36 -0
- data/rbi/workos/error_body_with_constraints_property_error.rbi +30 -0
- data/rbi/workos/error_body_with_constraints_property_errors.rbi +30 -0
- data/rbi/workos/error_body_with_error.rbi +30 -0
- data/rbi/workos/error_body_with_error_message_list.rbi +30 -0
- data/rbi/workos/error_body_with_message_or_message_list.rbi +24 -0
- data/rbi/workos/events.rbi +1 -3
- data/rbi/workos/expired_token_oauth_error_body.rbi +30 -0
- data/rbi/workos/external_auth_session_already_completed_error_body.rbi +30 -0
- data/rbi/workos/external_id_already_used_error_body.rbi +30 -0
- data/rbi/workos/extra_attributes_required_oauth_error_body.rbi +30 -0
- data/rbi/workos/feature_flags.rbi +8 -8
- data/rbi/workos/feature_flags_flag_created.rbi +54 -0
- data/rbi/workos/feature_flags_flag_created_context.rbi +30 -0
- data/rbi/workos/feature_flags_flag_created_context_actor.rbi +36 -0
- data/rbi/workos/feature_flags_flag_created_data.rbi +90 -0
- data/rbi/workos/feature_flags_flag_created_data_owner.rbi +36 -0
- data/rbi/workos/feature_flags_flag_deleted.rbi +54 -0
- data/rbi/workos/feature_flags_flag_deleted_context.rbi +30 -0
- data/rbi/workos/feature_flags_flag_deleted_context_actor.rbi +36 -0
- data/rbi/workos/feature_flags_flag_deleted_data.rbi +90 -0
- data/rbi/workos/feature_flags_flag_deleted_data_owner.rbi +36 -0
- data/rbi/workos/feature_flags_flag_rule_created.rbi +54 -0
- data/rbi/workos/feature_flags_flag_rule_created_context.rbi +30 -0
- data/rbi/workos/feature_flags_flag_rule_created_context_actor.rbi +36 -0
- data/rbi/workos/feature_flags_flag_rule_deleted.rbi +54 -0
- data/rbi/workos/feature_flags_flag_rule_deleted_context.rbi +30 -0
- data/rbi/workos/feature_flags_flag_rule_deleted_context_actor.rbi +36 -0
- data/rbi/workos/feature_flags_flag_rule_updated.rbi +54 -0
- data/rbi/workos/feature_flags_flag_rule_updated_context.rbi +36 -0
- data/rbi/workos/feature_flags_flag_rule_updated_context_actor.rbi +36 -0
- data/rbi/workos/feature_flags_flag_rule_updated_context_previous_attribute.rbi +24 -0
- data/rbi/workos/feature_flags_flag_rule_updated_context_previous_attribute_data.rbi +24 -0
- data/rbi/workos/feature_flags_flag_target_created.rbi +54 -0
- data/rbi/workos/feature_flags_flag_target_created_context.rbi +30 -0
- data/rbi/workos/feature_flags_flag_target_created_context_actor.rbi +36 -0
- data/rbi/workos/feature_flags_flag_target_deleted.rbi +54 -0
- data/rbi/workos/feature_flags_flag_target_deleted_context.rbi +30 -0
- data/rbi/workos/feature_flags_flag_target_deleted_context_actor.rbi +36 -0
- data/rbi/workos/feature_flags_flag_updated.rbi +54 -0
- data/rbi/workos/feature_flags_flag_updated_context.rbi +36 -0
- data/rbi/workos/feature_flags_flag_updated_context_actor.rbi +36 -0
- data/rbi/workos/feature_flags_flag_updated_context_previous_attribute.rbi +24 -0
- data/rbi/workos/feature_flags_flag_updated_context_previous_attribute_data.rbi +54 -0
- data/rbi/workos/feature_flags_flag_updated_context_previous_attribute_data_owner.rbi +36 -0
- data/rbi/workos/feature_flags_flag_updated_data.rbi +90 -0
- data/rbi/workos/feature_flags_flag_updated_data_owner.rbi +36 -0
- data/rbi/workos/flag_rule.rbi +84 -0
- data/rbi/workos/flag_target.rbi +90 -0
- data/rbi/workos/flag_target_with_rule_id.rbi +78 -0
- data/rbi/workos/flag_target_with_value_type.rbi +84 -0
- data/rbi/workos/flag_updated_context_previous_attribute_data.rbi +6 -0
- data/rbi/workos/flag_updated_context_previous_attribute_data_owner.rbi +36 -0
- data/rbi/workos/generate_link.rbi +6 -0
- data/rbi/workos/group_role_assignment_list.rbi +36 -0
- data/rbi/workos/groups.rbi +19 -8
- data/rbi/workos/idp_metadata_fetch_failed_error_body.rbi +30 -0
- data/rbi/workos/invalid_client_oauth_error_body.rbi +30 -0
- data/rbi/workos/invalid_connection_oauth_error_body.rbi +30 -0
- data/rbi/workos/invalid_credentials_error_body.rbi +30 -0
- data/rbi/workos/invalid_email_error_body.rbi +30 -0
- data/rbi/workos/invalid_grant_oauth_error_body.rbi +30 -0
- data/rbi/workos/invalid_idp_sso_url_error_body.rbi +30 -0
- data/rbi/workos/invalid_link_authorization_code_oauth_error_body.rbi +30 -0
- data/rbi/workos/invalid_locale_error_body.rbi +30 -0
- data/rbi/workos/invalid_metadata_error_body.rbi +30 -0
- data/rbi/workos/invalid_one_time_code_error_body.rbi +30 -0
- data/rbi/workos/invalid_organization_id_error_body.rbi +30 -0
- data/rbi/workos/invalid_password_hash_error_body.rbi +30 -0
- data/rbi/workos/invalid_pending_authentication_token_error_body.rbi +30 -0
- data/rbi/workos/invalid_profile_oauth_error_body.rbi +30 -0
- data/rbi/workos/invalid_refresh_token_error_body.rbi +30 -0
- data/rbi/workos/invalid_request_oauth_error_body.rbi +30 -0
- data/rbi/workos/invalid_request_parameters_error_body.rbi +30 -0
- data/rbi/workos/invalid_request_parameters_error_body_with_errors.rbi +36 -0
- data/rbi/workos/invalid_role_error_body.rbi +30 -0
- data/rbi/workos/invalid_url_error_body.rbi +30 -0
- data/rbi/workos/invitation_cannot_be_used_for_email_oauth_error_body.rbi +30 -0
- data/rbi/workos/invitation_invalid_oauth_error_body.rbi +30 -0
- data/rbi/workos/it_contact_list.rbi +36 -0
- data/rbi/workos/it_contact_list_list_metadata.rbi +30 -0
- data/rbi/workos/list_metadata.rbi +30 -0
- data/rbi/workos/mfa_challenge_error_body.rbi +30 -0
- data/rbi/workos/mfa_enrollment_error_body.rbi +30 -0
- data/rbi/workos/mfa_enrollment_oauth_error_body.rbi +30 -0
- data/rbi/workos/multi_factor_auth.rbi +7 -7
- data/rbi/workos/multiple_roles_not_enabled_error_body.rbi +30 -0
- data/rbi/workos/must_use_sso_for_selected_organization_message_error_body.rbi +24 -0
- data/rbi/workos/oauth_data_integration_vended_credential.rbi +66 -0
- data/rbi/workos/oauth_error_body.rbi +30 -0
- data/rbi/workos/one_time_code_expired_error_body.rbi +30 -0
- data/rbi/workos/one_time_code_previously_used_error_body.rbi +30 -0
- data/rbi/workos/one_time_code_too_many_attempts_error_body.rbi +30 -0
- data/rbi/workos/organization_authentication_methods_required_oauth_error_body.rbi +30 -0
- data/rbi/workos/organization_connected_account.rbi +66 -0
- data/rbi/workos/organization_connected_account_import_error_body.rbi +30 -0
- data/rbi/workos/organization_domains.rbi +4 -4
- data/rbi/workos/organization_membership_not_found_oauth_error_body.rbi +30 -0
- data/rbi/workos/organization_membership_service.rbi +8 -8
- data/rbi/workos/organization_not_found_oauth_error_body.rbi +30 -0
- data/rbi/workos/organization_selection_required_error_body.rbi +30 -0
- data/rbi/workos/organization_selection_required_error_body_with_organization.rbi +30 -0
- data/rbi/workos/organization_selection_required_error_body_with_organizations.rbi +36 -0
- data/rbi/workos/organizations.rbi +13 -13
- data/rbi/workos/passkey_progressive_enrollment_error_body.rbi +30 -0
- data/rbi/workos/password_and_password_hash_provided_error_body.rbi +30 -0
- data/rbi/workos/password_and_password_hash_type_provided_error_body.rbi +30 -0
- data/rbi/workos/password_salt_position_requires_password_hash_error_body.rbi +30 -0
- data/rbi/workos/password_strength_error_error_body_with_errors.rbi +36 -0
- data/rbi/workos/patch_group_memberships.rbi +30 -0
- data/rbi/workos/patch_group_role_assignments.rbi +30 -0
- data/rbi/workos/phone_number_required_error_body.rbi +30 -0
- data/rbi/workos/pipe_connected_account.rbi +12 -0
- data/rbi/workos/pipes.rbi +92 -25
- data/rbi/workos/pipes_provider.rbi +2 -2
- data/rbi/workos/pkce_not_supported_oauth_error_body.rbi +30 -0
- data/rbi/workos/platform_teams.rbi +2 -2
- data/rbi/workos/policy_denied_error_body.rbi +30 -0
- data/rbi/workos/radar.rbi +4 -4
- data/rbi/workos/radar_challenge_error_body.rbi +30 -0
- data/rbi/workos/radar_sign_up_challenge_error_body.rbi +30 -0
- data/rbi/workos/radar_sms_sign_in_challenge_error_body.rbi +30 -0
- data/rbi/workos/rate_limit_exceeded_error_body_with_retry_after.rbi +36 -0
- data/rbi/workos/revoke_link.rbi +30 -0
- data/rbi/workos/send_email_change.rbi +6 -0
- data/rbi/workos/send_verification_email.rbi +24 -0
- data/rbi/workos/sign_up_not_allowed_oauth_error_body.rbi +30 -0
- data/rbi/workos/slow_down_oauth_error_body.rbi +30 -0
- data/rbi/workos/sms_challenge_quota_reached_error_body.rbi +30 -0
- data/rbi/workos/sms_challenge_rate_limited_error_body.rbi +30 -0
- data/rbi/workos/sso.rbi +19 -18
- data/rbi/workos/sso_required_oauth_error_body_with_connection_ids_list_email_pending_authentication_token.rbi +48 -0
- data/rbi/workos/sub_resource_scoped_role_not_allowed_error_body_with_role_slug.rbi +36 -0
- data/rbi/workos/token_query.rbi +6 -0
- data/rbi/workos/token_too_big_oauth_error_body.rbi +30 -0
- data/rbi/workos/too_many_failed_verification_attempts_error_body_with_retry_after.rbi +36 -0
- data/rbi/workos/too_many_requests_oauth_error_body.rbi +30 -0
- data/rbi/workos/unauthorized_client_oauth_error_body.rbi +30 -0
- data/rbi/workos/unauthorized_error_body.rbi +24 -0
- data/rbi/workos/update_audit_logs_retention_with_retention_period.rbi +24 -0
- data/rbi/workos/update_audit_logs_retention_with_retention_period_in_days.rbi +24 -0
- data/rbi/workos/update_oauth_application.rbi +6 -0
- data/rbi/workos/update_user_organization_membership_with_role_slug.rbi +24 -0
- data/rbi/workos/update_user_organization_membership_with_role_slugs.rbi +24 -0
- data/rbi/workos/user_connected_account_import_error_body.rbi +30 -0
- data/rbi/workos/user_consent_options_not_supported_error_body.rbi +30 -0
- data/rbi/workos/user_creation_error_error_body_with_errors.rbi +36 -0
- data/rbi/workos/user_management.rbi +77 -61
- data/rbi/workos/user_mismatch_error_body.rbi +30 -0
- data/rbi/workos/user_role_assignment_source.rbi +6 -0
- data/rbi/workos/user_role_assignment_source_group.rbi +30 -0
- data/rbi/workos/vault.rbi +11 -11
- data/rbi/workos/vault_dek_rekeyed.rbi +54 -0
- data/rbi/workos/vault_dek_rekeyed_data.rbi +48 -0
- data/rbi/workos/verification_id_required_error_body.rbi +30 -0
- data/rbi/workos/version_list_response.rbi +30 -0
- data/rbi/workos/waitlist_list_response.rbi +36 -0
- data/rbi/workos/waitlist_list_response_list_metadata.rbi +30 -0
- data/rbi/workos/webhooks.rbi +4 -4
- data/rbi/workos/widgets.rbi +1 -1
- data/test/workos/test_admin_portal.rb +9 -1
- data/test/workos/test_admin_portal_model_round_trip.rb +14 -0
- data/test/workos/test_agents.rb +8 -0
- data/test/workos/test_agents_model_round_trip.rb +46 -0
- data/test/workos/test_api_keys_model_round_trip.rb +14 -0
- data/test/workos/test_authorization.rb +8 -0
- data/test/workos/test_authorization_model_round_trip.rb +38 -1
- data/test/workos/test_base_client.rb +4 -3
- data/test/workos/test_connect_model_round_trip.rb +3 -1
- data/test/workos/test_directory_sync.rb +8 -0
- data/test/workos/test_directory_sync_model_round_trip.rb +24 -0
- data/test/workos/test_feature_flags_model_round_trip.rb +123 -0
- data/test/workos/test_groups.rb +8 -0
- data/test/workos/test_groups_model_round_trip.rb +11 -0
- data/test/workos/test_organizations_model_round_trip.rb +111 -0
- data/test/workos/test_pipes.rb +28 -4
- data/test/workos/test_pipes_model_round_trip.rb +214 -51
- data/test/workos/test_shared_model_round_trip.rb +2066 -423
- data/test/workos/test_sso_model_round_trip.rb +61 -0
- data/test/workos/test_user_management_model_round_trip.rb +297 -3
- data/test/workos/test_vault_model_round_trip.rb +63 -0
- metadata +423 -3
data/.ruby-version
CHANGED
|
@@ -1 +1 @@
|
|
|
1
|
-
3.4.
|
|
1
|
+
3.4.11
|
data/CHANGELOG.md
CHANGED
|
@@ -1,5 +1,331 @@
|
|
|
1
1
|
# Changelog
|
|
2
2
|
|
|
3
|
+
## [10.6.0](https://github.com/workos/workos-ruby/compare/v10.5.0...v10.6.0) (2026-11-04)
|
|
4
|
+
|
|
5
|
+
### Bug Fixes
|
|
6
|
+
|
|
7
|
+
* Send Idempotency-Key on the first POST attempt ([#567](https://github.com/workos/workos-ruby/issues/567)) ([fc5fb6c](https://github.com/workos/workos-ruby/commit/fc5fb6cfab255969203a7285d1308053cb72998e))
|
|
8
|
+
|
|
9
|
+
* [#572](https://github.com/workos/workos-ruby/pull/572) feat(generated)!: regenerate from spec (5 changes)
|
|
10
|
+
|
|
11
|
+
**⚠️ Breaking**
|
|
12
|
+
* **[groups](https://workos.com/docs/reference/groups)**:
|
|
13
|
+
* Removed model `ReplaceGroupMemberships`
|
|
14
|
+
* Removed endpoint `PUT /organizations/{organizationId}/groups/{groupId}/organization-memberships`
|
|
15
|
+
* **[pipes](https://workos.com/docs/reference/pipes)**:
|
|
16
|
+
* Removed model `ConnectedAccountWriteResponse`
|
|
17
|
+
* Removed model `ConnectedAccountWriteResponseWarning`
|
|
18
|
+
* Removed enum `ConnectedAccountWriteResponseConnectionRole`
|
|
19
|
+
* Removed enum `ConnectedAccountWriteResponseAuthMethod`
|
|
20
|
+
* Removed enum `ConnectedAccountWriteResponseState`
|
|
21
|
+
* Removed model `ReauthorizeDataIntegrationsUpsertApiKeyRequest`
|
|
22
|
+
* Removed model `DataIntegrationsUpsertApiKeyRequest2`
|
|
23
|
+
* Removed model `AddDataIntegrationsGetDataIntegrationAuthorizeUrlRequest`
|
|
24
|
+
* Removed model `ReauthorizeDataIntegrationsGetDataIntegrationAuthorizeUrlRequest`
|
|
25
|
+
* Removed model `ReauthorizeDataIntegrationsUpsertClientCredentialsRequest`
|
|
26
|
+
* Removed model `DataIntegrationsUpsertClientCredentialsRequest2`
|
|
27
|
+
* Removed enum `ReauthorizeDataIntegrationsUpsertApiKeyRequestConnectionOwner`
|
|
28
|
+
* Removed enum `DataIntegrationsUpsertApiKeyRequest2ConnectionOwner`
|
|
29
|
+
* Removed enum `AddDataIntegrationsGetDataIntegrationAuthorizeUrlRequestConnectionOwner`
|
|
30
|
+
* Removed enum `ReauthorizeDataIntegrationsGetDataIntegrationAuthorizeUrlRequestConnectionOwner`
|
|
31
|
+
* Removed enum `ReauthorizeDataIntegrationsUpsertClientCredentialsRequestConnectionOwner`
|
|
32
|
+
* Removed enum `DataIntegrationsUpsertClientCredentialsRequest2ConnectionOwner`
|
|
33
|
+
|
|
34
|
+
**Features**
|
|
35
|
+
* **[admin_portal](https://workos.com/docs/reference/admin-portal)**:
|
|
36
|
+
* Added `action_denied` to `ErrorBodyCode`
|
|
37
|
+
* Added `group_membership_update_overlap` to `ErrorBodyCode`
|
|
38
|
+
* **[connect](https://workos.com/docs/reference/workos-connect/standalone)**:
|
|
39
|
+
* Added `cors_origins` to Connect models
|
|
40
|
+
* **[events](https://workos.com/docs/reference/events)**:
|
|
41
|
+
* Changed parameter `Events.list.range_start`
|
|
42
|
+
* Changed parameter `Events.list.range_end`
|
|
43
|
+
* **[groups](https://workos.com/docs/reference/groups)**:
|
|
44
|
+
* Added model `PatchGroupMemberships`
|
|
45
|
+
* Added endpoint `PATCH /organizations/{organizationId}/groups/{groupId}/organization-memberships`
|
|
46
|
+
* Added model `ReplaceGroupMemberships`
|
|
47
|
+
* Added endpoint `PUT /organizations/{organizationId}/groups/{groupId}/organization-memberships`
|
|
48
|
+
* **[organizations](https://workos.com/docs/reference/organization)**:
|
|
49
|
+
* Changed errors for endpoint `POST /organizations/{organization_id}/it_contacts/{contact_id}/invite`
|
|
50
|
+
* **[pipes](https://workos.com/docs/reference/pipes)**:
|
|
51
|
+
* Added model `DataIntegrationFinishConnectionResponse`
|
|
52
|
+
* Added model `DataIntegrationsFinishConnectionRequest`
|
|
53
|
+
* Added model `DataIntegrationsFinishConnectionError400`
|
|
54
|
+
* Added model `DataIntegrationsFinishConnectionError4002`
|
|
55
|
+
* Added model `DataIntegrationsFinishConnectionError403`
|
|
56
|
+
* Added model `DataIntegrationsGetDataIntegrationAuthorizeUrlError4002`
|
|
57
|
+
* Added `completion` to `DataIntegrationAuthorizeUrlResponse`
|
|
58
|
+
* Added `code_challenge` to `DataIntegrationsGetDataIntegrationAuthorizeUrlRequest`
|
|
59
|
+
* Added `code_challenge_method` to `DataIntegrationsGetDataIntegrationAuthorizeUrlRequest`
|
|
60
|
+
* Added `code` to `DataIntegrationsGetDataIntegrationAuthorizeUrlError400`
|
|
61
|
+
* Added enum `DataIntegrationsFinishConnectionError400Code`
|
|
62
|
+
* Added enum `DataIntegrationsGetDataIntegrationAuthorizeUrlError400Code`
|
|
63
|
+
* Added endpoint `POST /data-integrations/finish`
|
|
64
|
+
* Added model `ConnectedAccountWarning`
|
|
65
|
+
* Added model `DataIntegrationsListResponseDataConnectedAccountWarning`
|
|
66
|
+
* Added `warnings` to `ConnectedAccount`
|
|
67
|
+
* Added `warnings` to `DataIntegrationsListResponseDataConnectedAccount`
|
|
68
|
+
* Added `connection_intent` to `DataIntegrationsUpsertApiKeyRequest`
|
|
69
|
+
* Added `connected_account_id` to `DataIntegrationsUpsertApiKeyRequest`
|
|
70
|
+
* Added `connection_intent` to `DataIntegrationsGetDataIntegrationAuthorizeUrlRequest`
|
|
71
|
+
* Added `connected_account_id` to `DataIntegrationsGetDataIntegrationAuthorizeUrlRequest`
|
|
72
|
+
* Added `connection_intent` to `DataIntegrationsUpsertClientCredentialsRequest`
|
|
73
|
+
* Added `connected_account_id` to `DataIntegrationsUpsertClientCredentialsRequest`
|
|
74
|
+
* Added enum `DataIntegrationsGetDataIntegrationAuthorizeUrlRequestConnectionIntent`
|
|
75
|
+
* **[user_management](https://workos.com/docs/reference/authkit/user)**:
|
|
76
|
+
* Added model `SendVerificationEmail`
|
|
77
|
+
* Added `locale` to `CreateMagicCodeAndReturn`
|
|
78
|
+
* Added `locale` to `CreatePasswordResetToken`
|
|
79
|
+
* Added `locale` to `SendEmailChange`
|
|
80
|
+
* Added enum `CreateMagicCodeAndReturnLocale`
|
|
81
|
+
* Added enum `SendVerificationEmailLocale`
|
|
82
|
+
* Added enum `CreatePasswordResetTokenLocale`
|
|
83
|
+
* Added enum `SendEmailChangeLocale`
|
|
84
|
+
* **[widgets](https://workos.com/docs/reference/widgets)**:
|
|
85
|
+
* Added `widgets:user-api-keys:manage-self` to `WidgetSessionTokenScopes`
|
|
86
|
+
* Added `widgets:user-api-keys:manage-all` to `WidgetSessionTokenScopes`
|
|
87
|
+
|
|
88
|
+
**Fixes**
|
|
89
|
+
* **[organizations](https://workos.com/docs/reference/organization)**:
|
|
90
|
+
* Changed errors for endpoint `POST /organizations/{organization_id}/it_contacts/{contact_id}/invite`
|
|
91
|
+
* **[pipes](https://workos.com/docs/reference/pipes)**:
|
|
92
|
+
* Changed the type of `DataIntegrationsGetDataIntegrationAuthorizeUrlError400.message`
|
|
93
|
+
* Changed errors for endpoint `POST /data-integrations/{slug}/authorize`
|
|
94
|
+
* Changed response of `Pipes.createApiKeyConnection` from `ConnectedAccountWriteResponse` to `ConnectedAccount`
|
|
95
|
+
* Changed response of `Pipes.upsertApiKey` from `ConnectedAccountWriteResponse` to `ConnectedAccount`
|
|
96
|
+
* Changed response of `Pipes.createClientCredentialsConnection` from `ConnectedAccountWriteResponse` to `ConnectedAccount`
|
|
97
|
+
* Changed response of `Pipes.upsertClientCredentials` from `ConnectedAccountWriteResponse` to `ConnectedAccount`
|
|
98
|
+
* Changed response of `OrganizationsDataProviders.createOrganizationDataInstallation` from `ConnectedAccountWriteResponse` to `ConnectedAccount`
|
|
99
|
+
* Changed response of `OrganizationsDataProviders.updateOrganizationDataInstallation` from `ConnectedAccountWriteResponse` to `ConnectedAccount`
|
|
100
|
+
* Changed response of `UserManagementDataProviders.createUserDataInstallation` from `ConnectedAccountWriteResponse` to `ConnectedAccount`
|
|
101
|
+
* Changed response of `UserManagementDataProviders.updateUserDataInstallation` from `ConnectedAccountWriteResponse` to `ConnectedAccount`
|
|
102
|
+
* Changed request body for `Pipes.upsertApiKey`
|
|
103
|
+
* Changed request body for `Pipes.getDataIntegrationAuthorizeUrl`
|
|
104
|
+
* Changed request body for `Pipes.upsertClientCredentials`
|
|
105
|
+
* **[sso](https://workos.com/docs/reference/sso)**:
|
|
106
|
+
* Changed errors for endpoint `POST /sso/logout/authorize`
|
|
107
|
+
* **[user_management](https://workos.com/docs/reference/authkit/user)**:
|
|
108
|
+
* Changed errors for endpoint `POST /user_management/authenticate`
|
|
109
|
+
* Changed request body for `UserManagementUsers.sendVerificationEmail`
|
|
110
|
+
* Changed errors for endpoint `POST /user_management/users/{id}/email_verification/send`
|
|
111
|
+
* Changed errors for endpoint `POST /user_management/invitations`
|
|
112
|
+
* Changed errors for endpoint `POST /user_management/invitations/{id}/resend`
|
|
113
|
+
* Changed errors for endpoint `POST /user_management/waitlist_entries/{id}/approve`
|
|
114
|
+
|
|
115
|
+
## [10.5.0](https://github.com/workos/workos-ruby/compare/v10.4.0...v10.5.0) (2026-10-19)
|
|
116
|
+
|
|
117
|
+
* [#558](https://github.com/workos/workos-ruby/pull/558) feat(generated): regenerate from spec
|
|
118
|
+
|
|
119
|
+
**Features**
|
|
120
|
+
* **[user_management](https://workos.com/docs/reference/authkit/user)**:
|
|
121
|
+
* Added model `UserRoleAssignmentSourceGroup`
|
|
122
|
+
* Added `group` to `UserRoleAssignmentSource`
|
|
123
|
+
|
|
124
|
+
* [#562](https://github.com/workos/workos-ruby/pull/562) feat(generated)!: regenerate from spec (9 changes)
|
|
125
|
+
|
|
126
|
+
**⚠️ Breaking**
|
|
127
|
+
* **[pipes](https://workos.com/docs/reference/pipes)**:
|
|
128
|
+
* Removed model `AddDataIntegrationsUpsertApiKeyRequest`
|
|
129
|
+
* Removed model `AddDataIntegrationsUpsertClientCredentialsRequest`
|
|
130
|
+
* Removed enum `AddDataIntegrationsUpsertApiKeyRequestConnectionOwner`
|
|
131
|
+
* Removed enum `AddDataIntegrationsUpsertClientCredentialsRequestConnectionOwner`
|
|
132
|
+
|
|
133
|
+
**Features**
|
|
134
|
+
* **[admin_portal](https://workos.com/docs/reference/admin-portal)**:
|
|
135
|
+
* Added model `RevokeLink`
|
|
136
|
+
* Added `external_user_id` to `GenerateLink`
|
|
137
|
+
* Added endpoint `POST /portal/revoke_link`
|
|
138
|
+
* Changed errors for endpoint `POST /portal/generate_link`
|
|
139
|
+
* **[agents](https://workos.com/docs/reference/agents)**:
|
|
140
|
+
* Added model `AgentBlueprintInvocableAs`
|
|
141
|
+
* Added model `AgentBlueprintsCreateRequestInvocableAs`
|
|
142
|
+
* Added model `AgentBlueprintsUpdateRequestInvocableAs`
|
|
143
|
+
* Added `invocable_as` to `AgentBlueprint`
|
|
144
|
+
* Added `invocable_as` to `AgentBlueprintsCreateRequest`
|
|
145
|
+
* Added `invocable_as` to `AgentBlueprintsUpdateRequest`
|
|
146
|
+
* Added enum `AgentBlueprintInvocableAsInstanceTypes`
|
|
147
|
+
* Added enum `AgentBlueprintsCreateRequestInvocableAsInstanceTypes`
|
|
148
|
+
* Added enum `AgentBlueprintsUpdateRequestInvocableAsInstanceTypes`
|
|
149
|
+
* **[audit_logs](https://workos.com/docs/reference/audit-logs)**:
|
|
150
|
+
* Changed errors for endpoint `GET /audit_logs/actions`
|
|
151
|
+
* Changed errors for endpoint `GET /audit_logs/actions/{actionName}/schemas`
|
|
152
|
+
* Changed errors for endpoint `POST /audit_logs/actions/{actionName}/schemas`
|
|
153
|
+
* Changed errors for endpoint `POST /audit_logs/events`
|
|
154
|
+
* Changed errors for endpoint `POST /audit_logs/exports`
|
|
155
|
+
* Changed errors for endpoint `GET /audit_logs/exports/{auditLogExportId}`
|
|
156
|
+
* **[authorization](https://workos.com/docs/reference/fga)**:
|
|
157
|
+
* Changed errors for endpoint `GET /authorization/organization_memberships/{organization_membership_id}/role_assignments`
|
|
158
|
+
* Changed errors for endpoint `POST /authorization/groups/{group_id}/role_assignments`
|
|
159
|
+
* Changed errors for endpoint `PUT /authorization/groups/{group_id}/role_assignments`
|
|
160
|
+
* Changed errors for endpoint `GET /authorization/groups/{group_id}/role_assignments/{role_assignment_id}`
|
|
161
|
+
* Changed errors for endpoint `POST /authorization/organization_memberships/{organization_membership_id}/check`
|
|
162
|
+
* Changed errors for endpoint `GET /authorization/organization_memberships/{organization_membership_id}/resources`
|
|
163
|
+
* Changed errors for endpoint `GET /authorization/organization_memberships/{organization_membership_id}/resources/{resource_id}/permissions`
|
|
164
|
+
* Changed errors for endpoint `GET /authorization/organization_memberships/{organization_membership_id}/resources/{resource_type_slug}/{external_id}/permissions`
|
|
165
|
+
* Changed errors for endpoint `POST /authorization/organization_memberships/{organization_membership_id}/role_assignments`
|
|
166
|
+
* Changed errors for endpoint `GET /authorization/organizations/{organization_id}/resources/{resource_type_slug}/{external_id}`
|
|
167
|
+
* Changed errors for endpoint `PATCH /authorization/organizations/{organization_id}/resources/{resource_type_slug}/{external_id}`
|
|
168
|
+
* Changed errors for endpoint `GET /authorization/organizations/{organization_id}/resources/{resource_type_slug}/{external_id}/organization_memberships`
|
|
169
|
+
* Changed errors for endpoint `GET /authorization/organizations/{organization_id}/resources/{resource_type_slug}/{external_id}/role_assignments`
|
|
170
|
+
* Changed errors for endpoint `GET /authorization/resources`
|
|
171
|
+
* Changed errors for endpoint `POST /authorization/resources`
|
|
172
|
+
* Changed errors for endpoint `GET /authorization/resources/{resource_id}`
|
|
173
|
+
* Changed errors for endpoint `PATCH /authorization/resources/{resource_id}`
|
|
174
|
+
* Changed errors for endpoint `GET /authorization/resources/{resource_id}/organization_memberships`
|
|
175
|
+
* Changed errors for endpoint `GET /authorization/resources/{resource_id}/role_assignments`
|
|
176
|
+
* **[directory_sync](https://workos.com/docs/reference/directory-sync)**:
|
|
177
|
+
* Added model `DirectorySyncResponse`
|
|
178
|
+
* Added model `DirectorySyncRateLimitError`
|
|
179
|
+
* Added endpoint `POST /directories/{id}/sync`
|
|
180
|
+
* **[feature_flags](https://workos.com/docs/reference/feature-flags)**:
|
|
181
|
+
* Changed errors for endpoint `PUT /feature-flags/{slug}/disable`
|
|
182
|
+
* Changed errors for endpoint `PUT /feature-flags/{slug}/enable`
|
|
183
|
+
* **[organization_membership](https://workos.com/docs/reference/authkit/organization-membership)**:
|
|
184
|
+
* Changed errors for endpoint `DELETE /user_management/organization_memberships/{id}`
|
|
185
|
+
* **[organizations](https://workos.com/docs/reference/organization)**:
|
|
186
|
+
* Changed errors for endpoint `GET /organizations/{id}/audit_logs_retention`
|
|
187
|
+
* Changed errors for endpoint `PUT /organizations/{id}/audit_logs_retention`
|
|
188
|
+
* Changed errors for endpoint `POST /organizations/{organization_id}/it_contacts/{contact_id}/invite`
|
|
189
|
+
* **[pipes](https://workos.com/docs/reference/pipes)**:
|
|
190
|
+
* Added `established_by_user_id` to `ConnectedAccountWriteResponse`
|
|
191
|
+
* Added `state_reason` to `ConnectedAccountWriteResponse`
|
|
192
|
+
* Added `established_by_user_id` to `ConnectedAccount`
|
|
193
|
+
* Added `state_reason` to `ConnectedAccount`
|
|
194
|
+
* Added `established_by_user_id` to `DataIntegrationsListResponseDataConnectedAccount`
|
|
195
|
+
* Added `state_reason` to `DataIntegrationsListResponseDataConnectedAccount`
|
|
196
|
+
* Changed idempotency-key contract for endpoint `POST /data-integrations/{slug}/api-key`
|
|
197
|
+
* Changed idempotency-key contract for endpoint `POST /data-integrations/{slug}/client-credentials`
|
|
198
|
+
* Changed idempotency-key contract for endpoint `POST /organizations/{organization_id}/connected_accounts/{slug}`
|
|
199
|
+
* Changed idempotency-key contract for endpoint `POST /user_management/users/{user_id}/connected_accounts/{slug}`
|
|
200
|
+
* Added model `ConnectedAccountWriteResponse`
|
|
201
|
+
* Added model `ConnectedAccountWriteResponseWarning`
|
|
202
|
+
* Added `account_display_name` to `CreateOrganizationConnectedAccount`
|
|
203
|
+
* Added `account_identifier` to `CreateOrganizationConnectedAccount`
|
|
204
|
+
* Added `account_display_name` to `OrganizationConnectedAccount`
|
|
205
|
+
* Added `account_identifier` to `OrganizationConnectedAccount`
|
|
206
|
+
* Added `account_display_name` to `CreateConnectedAccount`
|
|
207
|
+
* Added `account_identifier` to `CreateConnectedAccount`
|
|
208
|
+
* Added `account_display_name` to `ConnectedAccountInput`
|
|
209
|
+
* Added `account_identifier` to `ConnectedAccountInput`
|
|
210
|
+
* Added `account_display_name` to `DataIntegrationsCreateApiKeyConnectionRequest`
|
|
211
|
+
* Added `account_identifier` to `DataIntegrationsCreateApiKeyConnectionRequest`
|
|
212
|
+
* Added `account_display_name` to `DataIntegrationsUpsertApiKeyRequest`
|
|
213
|
+
* Added `account_identifier` to `DataIntegrationsUpsertApiKeyRequest`
|
|
214
|
+
* Added `account_display_name` to `ReauthorizeDataIntegrationsUpsertApiKeyRequest`
|
|
215
|
+
* Added `account_identifier` to `ReauthorizeDataIntegrationsUpsertApiKeyRequest`
|
|
216
|
+
* Added `account_display_name` to `DataIntegrationsUpsertApiKeyRequest2`
|
|
217
|
+
* Added `account_identifier` to `DataIntegrationsUpsertApiKeyRequest2`
|
|
218
|
+
* Added `account_display_name` to `DataIntegrationsGetDataIntegrationAuthorizeUrlRequest`
|
|
219
|
+
* Added `account_display_name` to `AddDataIntegrationsGetDataIntegrationAuthorizeUrlRequest`
|
|
220
|
+
* Added `account_display_name` to `ReauthorizeDataIntegrationsGetDataIntegrationAuthorizeUrlRequest`
|
|
221
|
+
* Added `account_display_name` to `DataIntegrationsCreateClientCredentialsConnectionRequest`
|
|
222
|
+
* Added `account_identifier` to `DataIntegrationsCreateClientCredentialsConnectionRequest`
|
|
223
|
+
* Added `account_display_name` to `DataIntegrationsUpsertClientCredentialsRequest`
|
|
224
|
+
* Added `account_identifier` to `DataIntegrationsUpsertClientCredentialsRequest`
|
|
225
|
+
* Added `account_display_name` to `ReauthorizeDataIntegrationsUpsertClientCredentialsRequest`
|
|
226
|
+
* Added `account_identifier` to `ReauthorizeDataIntegrationsUpsertClientCredentialsRequest`
|
|
227
|
+
* Added `account_display_name` to `DataIntegrationsUpsertClientCredentialsRequest2`
|
|
228
|
+
* Added `account_identifier` to `DataIntegrationsUpsertClientCredentialsRequest2`
|
|
229
|
+
* Added enum `ConnectedAccountWriteResponseConnectionRole`
|
|
230
|
+
* Added enum `ConnectedAccountWriteResponseAuthMethod`
|
|
231
|
+
* Added enum `ConnectedAccountWriteResponseState`
|
|
232
|
+
* Changed errors for endpoint `POST /data-integrations/{slug}/api-key`
|
|
233
|
+
* Changed errors for endpoint `POST /data-integrations/{slug}/authorize`
|
|
234
|
+
* Changed errors for endpoint `POST /data-integrations/{slug}/client-credentials`
|
|
235
|
+
* Added model `AddDataIntegrationsGetDataIntegrationAuthorizeUrlRequest`
|
|
236
|
+
* Added model `ReauthorizeDataIntegrationsGetDataIntegrationAuthorizeUrlRequest`
|
|
237
|
+
* Added enum `AddDataIntegrationsGetDataIntegrationAuthorizeUrlRequestConnectionOwner`
|
|
238
|
+
* Added enum `ReauthorizeDataIntegrationsGetDataIntegrationAuthorizeUrlRequestConnectionOwner`
|
|
239
|
+
* Added model `DataIntegrationsCreateApiKeyConnectionRequest`
|
|
240
|
+
* Added model `DataIntegrationsCreateClientCredentialsConnectionRequest`
|
|
241
|
+
* Added enum `DataIntegrationsCreateApiKeyConnectionRequestConnectionOwner`
|
|
242
|
+
* Added enum `DataIntegrationsCreateClientCredentialsConnectionRequestConnectionOwner`
|
|
243
|
+
* Added endpoint `POST /data-integrations/{slug}/api-key`
|
|
244
|
+
* Added endpoint `POST /data-integrations/{slug}/client-credentials`
|
|
245
|
+
* Added `config` to `DataIntegrationVendedCredential`
|
|
246
|
+
* Added model `DataIntegrationVendedCredential`
|
|
247
|
+
* Added model `CreateOrganizationConnectedAccount`
|
|
248
|
+
* Added model `CreateConnectedAccount`
|
|
249
|
+
* Added model `AddDataIntegrationsUpsertApiKeyRequest`
|
|
250
|
+
* Added model `ReauthorizeDataIntegrationsUpsertApiKeyRequest`
|
|
251
|
+
* Added model `DataIntegrationsUpsertApiKeyRequest2`
|
|
252
|
+
* Added model `AddDataIntegrationsUpsertClientCredentialsRequest`
|
|
253
|
+
* Added model `ReauthorizeDataIntegrationsUpsertClientCredentialsRequest`
|
|
254
|
+
* Added model `DataIntegrationsUpsertClientCredentialsRequest2`
|
|
255
|
+
* Added enum `CreateOrganizationConnectedAccountState`
|
|
256
|
+
* Added enum `CreateConnectedAccountState`
|
|
257
|
+
* Added enum `AddDataIntegrationsUpsertApiKeyRequestConnectionOwner`
|
|
258
|
+
* Added enum `ReauthorizeDataIntegrationsUpsertApiKeyRequestConnectionOwner`
|
|
259
|
+
* Added enum `DataIntegrationsUpsertApiKeyRequest2ConnectionOwner`
|
|
260
|
+
* Added enum `AddDataIntegrationsUpsertClientCredentialsRequestConnectionOwner`
|
|
261
|
+
* Added enum `ReauthorizeDataIntegrationsUpsertClientCredentialsRequestConnectionOwner`
|
|
262
|
+
* Added enum `DataIntegrationsUpsertClientCredentialsRequest2ConnectionOwner`
|
|
263
|
+
* Added parameter `OrganizationsDataProviders.updateOrganizationDataInstallation.connection_intent`
|
|
264
|
+
* Added parameter `UserManagementDataProviders.updateUserDataInstallation.connection_intent`
|
|
265
|
+
* Added model `OrganizationConnectedAccount`
|
|
266
|
+
* Added enum `OrganizationConnectedAccountState`
|
|
267
|
+
* **[radar](https://workos.com/docs/reference/radar)**:
|
|
268
|
+
* Changed errors for endpoint `POST /radar/attempts`
|
|
269
|
+
* Changed errors for endpoint `PUT /radar/attempts/{id}`
|
|
270
|
+
* Changed errors for endpoint `POST /radar/lists/{type}/{action}`
|
|
271
|
+
* **[sso](https://workos.com/docs/reference/sso)**:
|
|
272
|
+
* Added `code_verifier` to `TokenQuery`
|
|
273
|
+
* **[user_management](https://workos.com/docs/reference/authkit/user)**:
|
|
274
|
+
* Changed errors for endpoint `POST /user_management/invitations`
|
|
275
|
+
* Changed errors for endpoint `POST /user_management/invitations/{id}/resend`
|
|
276
|
+
* Changed errors for endpoint `POST /user_management/waitlist_entries/{id}/approve`
|
|
277
|
+
* Changed errors for endpoint `PUT /user_management/users/{id}`
|
|
278
|
+
|
|
279
|
+
**Fixes**
|
|
280
|
+
* **[agents](https://workos.com/docs/reference/agents)**:
|
|
281
|
+
* Changed errors for endpoint `POST /agents/blueprints/{agent_blueprint_id}/tokens`
|
|
282
|
+
* **[pipes](https://workos.com/docs/reference/pipes)**:
|
|
283
|
+
* Changed response of `Pipes.createApiKeyConnection` from `ConnectedAccount` to `ConnectedAccountWriteResponse`
|
|
284
|
+
* Changed response of `Pipes.upsertApiKey` from `ConnectedAccount` to `ConnectedAccountWriteResponse`
|
|
285
|
+
* Changed response of `Pipes.createClientCredentialsConnection` from `ConnectedAccount` to `ConnectedAccountWriteResponse`
|
|
286
|
+
* Changed response of `Pipes.upsertClientCredentials` from `ConnectedAccount` to `ConnectedAccountWriteResponse`
|
|
287
|
+
* Changed response of `OrganizationsDataProviders.createOrganizationDataInstallation` from `ConnectedAccount` to `ConnectedAccountWriteResponse`
|
|
288
|
+
* Changed response of `OrganizationsDataProviders.updateOrganizationDataInstallation` from `ConnectedAccount` to `ConnectedAccountWriteResponse`
|
|
289
|
+
* Changed response of `UserManagementDataProviders.createUserDataInstallation` from `ConnectedAccount` to `ConnectedAccountWriteResponse`
|
|
290
|
+
* Changed response of `UserManagementDataProviders.updateUserDataInstallation` from `ConnectedAccount` to `ConnectedAccountWriteResponse`
|
|
291
|
+
* Changed errors for endpoint `POST /organizations/{organization_id}/connected_accounts/{slug}`
|
|
292
|
+
* Changed errors for endpoint `POST /user_management/users/{user_id}/connected_accounts/{slug}`
|
|
293
|
+
* Changed errors for endpoint `PUT /data-integrations/{slug}/api-key`
|
|
294
|
+
* Changed request body for `Pipes.getDataIntegrationAuthorizeUrl`
|
|
295
|
+
* Changed errors for endpoint `POST /data-integrations/{slug}/authorize`
|
|
296
|
+
* Changed errors for endpoint `PUT /data-integrations/{slug}/client-credentials`
|
|
297
|
+
* Changed request body for `Pipes.upsertApiKey`
|
|
298
|
+
* Changed request body for `Pipes.upsertClientCredentials`
|
|
299
|
+
* Changed the type of `DataIntegrationCredentialsResponse.credential`
|
|
300
|
+
* Removed `connected_account_id` from `DataIntegrationsUpsertApiKeyRequest`
|
|
301
|
+
* Removed `connected_account_id` from `DataIntegrationsUpsertClientCredentialsRequest`
|
|
302
|
+
* Changed request body of `OrganizationsDataProviders.createOrganizationDataInstallation` from `OrganizationConnectedAccount` to `CreateOrganizationConnectedAccount`
|
|
303
|
+
* Changed request body of `UserManagementDataProviders.createUserDataInstallation` from `ConnectedAccountInput` to `CreateConnectedAccount`
|
|
304
|
+
* Changed request body of `OrganizationsDataProviders.createOrganizationDataInstallation` from `ConnectedAccountInput` to `OrganizationConnectedAccount`
|
|
305
|
+
* Changed request body of `OrganizationsDataProviders.updateOrganizationDataInstallation` from `ConnectedAccountInput` to `OrganizationConnectedAccount`
|
|
306
|
+
* Changed errors for endpoint `PUT /organizations/{organization_id}/connected_accounts/{slug}`
|
|
307
|
+
* **[sso](https://workos.com/docs/reference/sso)**:
|
|
308
|
+
* Changed errors for endpoint `POST /connections`
|
|
309
|
+
* Changed errors for endpoint `POST /connections/{connectionId}/saml_sp_signing_cert`
|
|
310
|
+
|
|
311
|
+
* [#565](https://github.com/workos/workos-ruby/pull/565) feat(generated)!: regenerate from spec (3 changes)
|
|
312
|
+
|
|
313
|
+
**Features**
|
|
314
|
+
* **[user_management](https://workos.com/docs/reference/authkit/user)**:
|
|
315
|
+
* Changed errors for endpoint `POST /user_management/users`
|
|
316
|
+
* Changed errors for endpoint `POST /user_management/magic_auth`
|
|
317
|
+
|
|
318
|
+
**Fixes**
|
|
319
|
+
* **[user_management](https://workos.com/docs/reference/authkit/user)**:
|
|
320
|
+
* Changed errors for endpoint `POST /user_management/authenticate`
|
|
321
|
+
|
|
322
|
+
* [#566](https://github.com/workos/workos-ruby/pull/566) fix(generated): regenerate from spec
|
|
323
|
+
|
|
324
|
+
**Features**
|
|
325
|
+
* **[agents](https://workos.com/docs/reference/agents)**:
|
|
326
|
+
* Added `revoked_at` to `AgentRegistration`
|
|
327
|
+
* Added endpoint `POST /agents/registrations/{id}/revoke`
|
|
328
|
+
|
|
3
329
|
## [10.4.0](https://github.com/workos/workos-ruby/compare/v10.3.0...v10.4.0) (2026-09-18)
|
|
4
330
|
|
|
5
331
|
### Features
|
data/Gemfile.lock
CHANGED
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
PATH
|
|
2
2
|
remote: .
|
|
3
3
|
specs:
|
|
4
|
-
workos (10.
|
|
4
|
+
workos (10.6.0)
|
|
5
5
|
jwt (~> 3.1)
|
|
6
6
|
logger (~> 1.7)
|
|
7
7
|
zeitwerk (~> 2.6)
|
|
@@ -153,7 +153,7 @@ CHECKSUMS
|
|
|
153
153
|
unicode-emoji (4.2.0) sha256=519e69150f75652e40bf736106cfbc8f0f73aa3fb6a65afe62fefa7f80b0f80f
|
|
154
154
|
webmock (3.26.2) sha256=774556f2ea6371846cca68c01769b2eac0d134492d21f6d0ab5dd643965a4c90
|
|
155
155
|
webrick (1.9.2) sha256=beb4a15fc474defed24a3bda4ffd88a490d517c9e4e6118c3edce59e45864131
|
|
156
|
-
workos (10.
|
|
156
|
+
workos (10.6.0)
|
|
157
157
|
yard (0.9.45) sha256=52e211493f7cb8a3ebf7e104a25a1e73937a3103092545d34cb88fafebb3dc51
|
|
158
158
|
yard-markdown (0.9.1) sha256=51adf55a814172f70ed81fbd1af4dc42c0e1a698915f7da33eff5a3bb527062d
|
|
159
159
|
zeitwerk (2.7.5) sha256=d8da92128c09ea6ec62c949011b00ed4a20242b255293dd66bf41545398f73dd
|
data/README.md
CHANGED
|
@@ -100,10 +100,10 @@ organization = WorkOS.client.organizations.get_organization(
|
|
|
100
100
|
)
|
|
101
101
|
```
|
|
102
102
|
|
|
103
|
-
`Idempotency-Key` is only sent on `POST`, `PUT`, and `PATCH` requests
|
|
103
|
+
`Idempotency-Key` is only sent on `POST`, `PUT`, and `PATCH` requests, and never on `GET` or `DELETE`. Every `POST` carries one: the key you provide in `request_options[:idempotency_key]`, or one the SDK generates before the first attempt and reuses on every retry. `PUT` and `PATCH` requests carry one when you provide it, or when the SDK retries them after a transient failure.
|
|
104
104
|
|
|
105
105
|
> [!NOTE]
|
|
106
|
-
> The WorkOS API currently honors `Idempotency-Key` only on the [Create Audit Log Event](https://workos.com/docs/reference/audit-logs/event) endpoint (`audit_logs.create_event`). Other endpoints accept the header but do not deduplicate requests, so a retried mutation elsewhere can still create a duplicate.
|
|
106
|
+
> The WorkOS API currently honors `Idempotency-Key` only on the [Create Audit Log Event](https://workos.com/docs/reference/audit-logs/event) endpoint (`audit_logs.create_event`) and on Pipes explicit adds (`pipes.create_data_integration_api_key`, `pipes.create_data_integration_client_credential`, and `pipes.create_user_connected_account` / `pipes.create_organization_connected_account` with `connection_intent: "add"`). Other endpoints accept the header but do not deduplicate requests, so a retried mutation elsewhere can still create a duplicate.
|
|
107
107
|
|
|
108
108
|
## Usage Examples
|
|
109
109
|
|
|
@@ -8,6 +8,7 @@ module WorkOS
|
|
|
8
8
|
return_url: :return_url,
|
|
9
9
|
success_url: :success_url,
|
|
10
10
|
organization: :organization,
|
|
11
|
+
external_user_id: :external_user_id,
|
|
11
12
|
intent: :intent,
|
|
12
13
|
it_contact_emails: :it_contact_emails
|
|
13
14
|
}.freeze
|
|
@@ -16,6 +17,7 @@ module WorkOS
|
|
|
16
17
|
:return_url,
|
|
17
18
|
:success_url,
|
|
18
19
|
:organization,
|
|
20
|
+
:external_user_id,
|
|
19
21
|
:intent,
|
|
20
22
|
:it_contact_emails
|
|
21
23
|
|
|
@@ -24,6 +26,7 @@ module WorkOS
|
|
|
24
26
|
@return_url = hash[:return_url]
|
|
25
27
|
@success_url = hash[:success_url]
|
|
26
28
|
@organization = hash[:organization]
|
|
29
|
+
@external_user_id = hash[:external_user_id]
|
|
27
30
|
@intent = hash[:intent]
|
|
28
31
|
@it_contact_emails = hash[:it_contact_emails] || []
|
|
29
32
|
end
|
|
@@ -0,0 +1,22 @@
|
|
|
1
|
+
# frozen_string_literal: true
|
|
2
|
+
|
|
3
|
+
# This file is auto-generated by oagen. Do not edit.
|
|
4
|
+
|
|
5
|
+
module WorkOS
|
|
6
|
+
class RevokeLink < WorkOS::Types::BaseModel
|
|
7
|
+
HASH_ATTRS = {
|
|
8
|
+
organization: :organization,
|
|
9
|
+
external_user_id: :external_user_id
|
|
10
|
+
}.freeze
|
|
11
|
+
|
|
12
|
+
attr_accessor \
|
|
13
|
+
:organization,
|
|
14
|
+
:external_user_id
|
|
15
|
+
|
|
16
|
+
def initialize(json)
|
|
17
|
+
hash = self.class.normalize(json)
|
|
18
|
+
@organization = hash[:organization]
|
|
19
|
+
@external_user_id = hash[:external_user_id]
|
|
20
|
+
end
|
|
21
|
+
end
|
|
22
|
+
end
|
data/lib/workos/admin_portal.rb
CHANGED
|
@@ -14,6 +14,7 @@ module WorkOS
|
|
|
14
14
|
# @param return_url [String, nil] The URL to go to when an admin clicks on your logo in the Admin Portal. If not specified, the return URL configured on the [Admin Portal](https://dashboard.workos.com/admin-portal) page will be used.
|
|
15
15
|
# @param success_url [String, nil] The URL to redirect the admin to when they finish setup. If not specified, the success URL configured on the [Admin Portal](https://dashboard.workos.com/admin-portal) page will be used.
|
|
16
16
|
# @param organization [String] An [Organization](https://workos.com/docs/reference/organization) identifier.
|
|
17
|
+
# @param external_user_id [String, nil] The ID of the user in your application the link is generated for. The link and any Admin Portal sessions started from it can later be revoked by this ID, for example when that user is deprovisioned from your application.
|
|
17
18
|
# @param intent [WorkOS::Types::GenerateLinkIntent, nil] The intent of the Admin Portal. - `sso` - Launch Admin Portal for creating SSO connections - `dsync` - Launch Admin Portal for creating Directory Sync connections - `audit_logs` - Launch Admin Portal for viewing Audit Logs - `log_streams` - Launch Admin Portal for creating Log Streams - `domain_verification` - Launch Admin Portal for Domain Verification - `certificate_renewal` - Launch Admin Portal for renewing SAML Certificates - `bring_your_own_key` - Launch Admin Portal for configuring Bring Your Own Key
|
|
18
19
|
# @param it_contact_emails [Array<String>, nil] The email addresses of the IT contacts to grant access to the Admin Portal for the given organization. Accepts up to 20 emails.
|
|
19
20
|
# @param request_options [Hash] (see WorkOS::Types::RequestOptions)
|
|
@@ -22,6 +23,7 @@ module WorkOS
|
|
|
22
23
|
organization:,
|
|
23
24
|
return_url: nil,
|
|
24
25
|
success_url: nil,
|
|
26
|
+
external_user_id: nil,
|
|
25
27
|
intent: nil,
|
|
26
28
|
it_contact_emails: nil,
|
|
27
29
|
request_options: {}
|
|
@@ -30,6 +32,7 @@ module WorkOS
|
|
|
30
32
|
"return_url" => return_url,
|
|
31
33
|
"success_url" => success_url,
|
|
32
34
|
"organization" => organization,
|
|
35
|
+
"external_user_id" => external_user_id,
|
|
33
36
|
"intent" => intent,
|
|
34
37
|
"it_contact_emails" => it_contact_emails
|
|
35
38
|
}.compact
|
|
@@ -44,5 +47,29 @@ module WorkOS
|
|
|
44
47
|
result.last_response = WorkOS::Types::ApiResponse.new(http_status: response.code.to_i, http_headers: response.each_header.to_h, request_id: response["x-request-id"])
|
|
45
48
|
result
|
|
46
49
|
end
|
|
50
|
+
|
|
51
|
+
# Revoke a Portal Link
|
|
52
|
+
# @param organization [String] An [Organization](https://workos.com/docs/reference/organization) identifier.
|
|
53
|
+
# @param external_user_id [String] The `external_user_id` the Portal Links were generated with for this organization. Every matching link is revoked, along with any Admin Portal sessions started from those links.
|
|
54
|
+
# @param request_options [Hash] (see WorkOS::Types::RequestOptions)
|
|
55
|
+
# @return [void]
|
|
56
|
+
def revoke_link(
|
|
57
|
+
organization:,
|
|
58
|
+
external_user_id:,
|
|
59
|
+
request_options: {}
|
|
60
|
+
)
|
|
61
|
+
body = {
|
|
62
|
+
"organization" => organization,
|
|
63
|
+
"external_user_id" => external_user_id
|
|
64
|
+
}
|
|
65
|
+
@client.request(
|
|
66
|
+
method: :post,
|
|
67
|
+
path: "/portal/revoke_link",
|
|
68
|
+
auth: true,
|
|
69
|
+
body: body,
|
|
70
|
+
request_options: request_options
|
|
71
|
+
)
|
|
72
|
+
nil
|
|
73
|
+
end
|
|
47
74
|
end
|
|
48
75
|
end
|
|
@@ -11,6 +11,7 @@ module WorkOS
|
|
|
11
11
|
description: :description,
|
|
12
12
|
permissions: :permissions,
|
|
13
13
|
invocable_by: :invocable_by,
|
|
14
|
+
invocable_as: :invocable_as,
|
|
14
15
|
session_settings: :session_settings,
|
|
15
16
|
created_at: :created_at,
|
|
16
17
|
updated_at: :updated_at
|
|
@@ -23,6 +24,7 @@ module WorkOS
|
|
|
23
24
|
:description,
|
|
24
25
|
:permissions,
|
|
25
26
|
:invocable_by,
|
|
27
|
+
:invocable_as,
|
|
26
28
|
:session_settings,
|
|
27
29
|
:created_at,
|
|
28
30
|
:updated_at
|
|
@@ -35,6 +37,7 @@ module WorkOS
|
|
|
35
37
|
@description = hash[:description]
|
|
36
38
|
@permissions = hash[:permissions] || []
|
|
37
39
|
@invocable_by = hash[:invocable_by] ? WorkOS::AgentBlueprintInvocableBy.new(hash[:invocable_by]) : nil
|
|
40
|
+
@invocable_as = hash[:invocable_as] ? WorkOS::AgentBlueprintInvocableAs.new(hash[:invocable_as]) : nil
|
|
38
41
|
@session_settings = hash[:session_settings] ? WorkOS::AgentBlueprintSessionSetting.new(hash[:session_settings]) : nil
|
|
39
42
|
@created_at = hash[:created_at]
|
|
40
43
|
@updated_at = hash[:updated_at]
|
|
@@ -0,0 +1,18 @@
|
|
|
1
|
+
# frozen_string_literal: true
|
|
2
|
+
|
|
3
|
+
# This file is auto-generated by oagen. Do not edit.
|
|
4
|
+
|
|
5
|
+
module WorkOS
|
|
6
|
+
class AgentBlueprintInvocableAs < WorkOS::Types::BaseModel
|
|
7
|
+
HASH_ATTRS = {
|
|
8
|
+
instance_types: :instance_types
|
|
9
|
+
}.freeze
|
|
10
|
+
|
|
11
|
+
attr_accessor :instance_types
|
|
12
|
+
|
|
13
|
+
def initialize(json)
|
|
14
|
+
hash = self.class.normalize(json)
|
|
15
|
+
@instance_types = hash[:instance_types] || []
|
|
16
|
+
end
|
|
17
|
+
end
|
|
18
|
+
end
|
|
@@ -9,6 +9,7 @@ module WorkOS
|
|
|
9
9
|
description: :description,
|
|
10
10
|
permissions: :permissions,
|
|
11
11
|
invocable_by: :invocable_by,
|
|
12
|
+
invocable_as: :invocable_as,
|
|
12
13
|
session_settings: :session_settings
|
|
13
14
|
}.freeze
|
|
14
15
|
|
|
@@ -17,6 +18,7 @@ module WorkOS
|
|
|
17
18
|
:description,
|
|
18
19
|
:permissions,
|
|
19
20
|
:invocable_by,
|
|
21
|
+
:invocable_as,
|
|
20
22
|
:session_settings
|
|
21
23
|
|
|
22
24
|
def initialize(json)
|
|
@@ -25,6 +27,7 @@ module WorkOS
|
|
|
25
27
|
@description = hash[:description]
|
|
26
28
|
@permissions = hash[:permissions] || []
|
|
27
29
|
@invocable_by = hash[:invocable_by] ? WorkOS::AgentBlueprintsCreateRequestInvocableBy.new(hash[:invocable_by]) : nil
|
|
30
|
+
@invocable_as = hash[:invocable_as] ? WorkOS::AgentBlueprintsCreateRequestInvocableAs.new(hash[:invocable_as]) : nil
|
|
28
31
|
@session_settings = hash[:session_settings] ? WorkOS::AgentBlueprintsCreateRequestSessionSetting.new(hash[:session_settings]) : nil
|
|
29
32
|
end
|
|
30
33
|
end
|
|
@@ -0,0 +1,18 @@
|
|
|
1
|
+
# frozen_string_literal: true
|
|
2
|
+
|
|
3
|
+
# This file is auto-generated by oagen. Do not edit.
|
|
4
|
+
|
|
5
|
+
module WorkOS
|
|
6
|
+
class AgentBlueprintsCreateRequestInvocableAs < WorkOS::Types::BaseModel
|
|
7
|
+
HASH_ATTRS = {
|
|
8
|
+
instance_types: :instance_types
|
|
9
|
+
}.freeze
|
|
10
|
+
|
|
11
|
+
attr_accessor :instance_types
|
|
12
|
+
|
|
13
|
+
def initialize(json)
|
|
14
|
+
hash = self.class.normalize(json)
|
|
15
|
+
@instance_types = hash[:instance_types] || []
|
|
16
|
+
end
|
|
17
|
+
end
|
|
18
|
+
end
|
|
@@ -9,6 +9,7 @@ module WorkOS
|
|
|
9
9
|
description: :description,
|
|
10
10
|
permissions: :permissions,
|
|
11
11
|
invocable_by: :invocable_by,
|
|
12
|
+
invocable_as: :invocable_as,
|
|
12
13
|
session_settings: :session_settings
|
|
13
14
|
}.freeze
|
|
14
15
|
|
|
@@ -17,6 +18,7 @@ module WorkOS
|
|
|
17
18
|
:description,
|
|
18
19
|
:permissions,
|
|
19
20
|
:invocable_by,
|
|
21
|
+
:invocable_as,
|
|
20
22
|
:session_settings
|
|
21
23
|
|
|
22
24
|
def initialize(json)
|
|
@@ -25,6 +27,7 @@ module WorkOS
|
|
|
25
27
|
@description = hash[:description]
|
|
26
28
|
@permissions = hash[:permissions] || []
|
|
27
29
|
@invocable_by = hash[:invocable_by] ? WorkOS::AgentBlueprintsUpdateRequestInvocableBy.new(hash[:invocable_by]) : nil
|
|
30
|
+
@invocable_as = hash[:invocable_as] ? WorkOS::AgentBlueprintsUpdateRequestInvocableAs.new(hash[:invocable_as]) : nil
|
|
28
31
|
@session_settings = hash[:session_settings] ? WorkOS::AgentBlueprintsUpdateRequestSessionSetting.new(hash[:session_settings]) : nil
|
|
29
32
|
end
|
|
30
33
|
end
|
|
@@ -0,0 +1,18 @@
|
|
|
1
|
+
# frozen_string_literal: true
|
|
2
|
+
|
|
3
|
+
# This file is auto-generated by oagen. Do not edit.
|
|
4
|
+
|
|
5
|
+
module WorkOS
|
|
6
|
+
class AgentBlueprintsUpdateRequestInvocableAs < WorkOS::Types::BaseModel
|
|
7
|
+
HASH_ATTRS = {
|
|
8
|
+
instance_types: :instance_types
|
|
9
|
+
}.freeze
|
|
10
|
+
|
|
11
|
+
attr_accessor :instance_types
|
|
12
|
+
|
|
13
|
+
def initialize(json)
|
|
14
|
+
hash = self.class.normalize(json)
|
|
15
|
+
@instance_types = hash[:instance_types] || []
|
|
16
|
+
end
|
|
17
|
+
end
|
|
18
|
+
end
|
|
@@ -9,6 +9,7 @@ module WorkOS
|
|
|
9
9
|
agent_identity: :agent_identity,
|
|
10
10
|
organization_id: :organization_id,
|
|
11
11
|
status: :status,
|
|
12
|
+
revoked_at: :revoked_at,
|
|
12
13
|
kind: :kind,
|
|
13
14
|
claim: :claim,
|
|
14
15
|
created_at: :created_at,
|
|
@@ -20,6 +21,7 @@ module WorkOS
|
|
|
20
21
|
:agent_identity,
|
|
21
22
|
:organization_id,
|
|
22
23
|
:status,
|
|
24
|
+
:revoked_at,
|
|
23
25
|
:kind,
|
|
24
26
|
:claim,
|
|
25
27
|
:created_at,
|
|
@@ -31,6 +33,7 @@ module WorkOS
|
|
|
31
33
|
@agent_identity = hash[:agent_identity] ? WorkOS::AgentRegistrationAgentIdentity.new(hash[:agent_identity]) : nil
|
|
32
34
|
@organization_id = hash[:organization_id]
|
|
33
35
|
@status = hash[:status]
|
|
36
|
+
@revoked_at = hash[:revoked_at]
|
|
34
37
|
@kind = hash[:kind]
|
|
35
38
|
@claim = hash[:claim] ? WorkOS::AgentRegistrationClaim.new(hash[:claim]) : nil
|
|
36
39
|
@created_at = hash[:created_at]
|