workos 10.5.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/release-please.yml +3 -3
- data/.last-synced-sha +1 -1
- data/.oagen-manifest.json +387 -25
- data/.release-please-manifest.json +1 -1
- data/CHANGELOG.md +112 -0
- data/Gemfile.lock +2 -2
- data/README.md +2 -2
- data/lib/workos/agents/list_metadata.rb +22 -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.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/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 -28
- 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 +5 -2
- data/lib/workos/pipes/{connected_account_write_response_warning.rb → connected_account_warning.rb} +1 -1
- data/lib/workos/pipes/data_integration_authorize_url_response.rb +9 -2
- data/lib/workos/pipes/data_integration_finish_connection_response.rb +18 -0
- data/lib/workos/pipes/data_integration_vended_credential.rb +5 -5
- 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 +14 -2
- data/lib/workos/pipes/data_integrations_list_response_data_connected_account.rb +4 -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 +8 -2
- data/lib/workos/pipes/data_integrations_upsert_client_credentials_request.rb +8 -2
- data/lib/workos/pipes.rb +62 -27
- 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/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/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/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_data_integration_ownership.rb +5 -1
- data/lib/workos/types/create_magic_code_and_return_locale.rb +101 -0
- data/lib/workos/types/{connected_account_write_response_auth_method.rb → create_password_reset_token_locale.rb} +1 -1
- 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_integration_ownership.rb +1 -1
- data/lib/workos/types/data_integrations_create_api_key_connection_request_connection_owner.rb +1 -1
- data/lib/workos/types/data_integrations_create_client_credentials_connection_request_connection_owner.rb +1 -1
- data/lib/workos/types/data_integrations_get_data_integration_authorize_url_request_connection_intent.rb +13 -0
- data/lib/workos/types/data_integrations_get_data_integration_authorize_url_request_connection_owner.rb +1 -1
- data/lib/workos/types/data_integrations_get_user_token_request_connection_owner.rb +1 -1
- data/lib/workos/types/data_integrations_list_response_data_connection_owner.rb +1 -1
- data/lib/workos/types/data_integrations_upsert_api_key_request_connection_owner.rb +1 -1
- data/lib/workos/types/data_integrations_upsert_client_credentials_request_connection_owner.rb +1 -1
- data/lib/workos/types/data_integrations_vend_credentials_request_connection_owner.rb +1 -1
- data/lib/workos/types/error_body_code.rb +183 -0
- data/lib/workos/types/{connected_account_write_response_connection_role.rb → feature_flags_flag_created_context_actor_source.rb} +1 -1
- 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/pipes_ownership.rb +1 -1
- data/lib/workos/types/resend_user_invite_options_locale.rb +1 -1
- data/lib/workos/types/resource_export_completed_data_resource_type.rb +3 -1
- data/lib/workos/types/{connected_account_write_response_state.rb → send_email_change_locale.rb} +1 -1
- 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/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 +25 -10
- data/lib/workos/version.rb +1 -1
- data/rbi/workos/access_denied_oauth_error_body.rbi +30 -0
- data/rbi/workos/{connected_account_write_response_warning.rbi → account_selection_required_error_body.rbi} +1 -1
- data/rbi/workos/action_denied_error_body.rbi +30 -0
- data/rbi/workos/admin_portal.rbi +2 -2
- data/rbi/workos/agents.rbi +20 -20
- 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 +6 -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_magic_code_and_return.rbi +6 -0
- data/rbi/workos/create_oauth_application.rbi +6 -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_access_token_response_with_access_token_access_token.rbi +48 -0
- 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_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 +6 -6
- data/rbi/workos/data_integrations_finish_connection_request.rbi +36 -0
- data/rbi/workos/data_integrations_get_data_integration_authorize_url_request.rbi +24 -0
- data/rbi/workos/data_integrations_list_response_data_connected_account.rbi +6 -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 +12 -0
- data/rbi/workos/data_integrations_upsert_client_credentials_request.rbi +12 -0
- data/rbi/workos/directory_sync.rbi +8 -8
- 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/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_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/pipes.rbi +51 -33
- 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/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 +18 -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_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/vault.rbi +11 -11
- 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_agents_model_round_trip.rb +11 -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 +23 -0
- data/test/workos/test_base_client.rb +4 -3
- data/test/workos/test_connect_model_round_trip.rb +3 -1
- data/test/workos/test_feature_flags_model_round_trip.rb +107 -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 +8 -0
- data/test/workos/test_pipes_model_round_trip.rb +94 -200
- data/test/workos/test_shared_model_round_trip.rb +2051 -432
- data/test/workos/test_sso_model_round_trip.rb +60 -0
- data/test/workos/test_user_management_model_round_trip.rb +297 -3
- data/test/workos/test_vault_model_round_trip.rb +30 -0
- metadata +376 -26
- data/lib/workos/pipes/add_data_integrations_get_data_integration_authorize_url_request.rb +0 -37
- data/lib/workos/pipes/connected_account_write_response.rb +0 -73
- data/lib/workos/pipes/data_integrations_upsert_api_key_request_2.rb +0 -37
- data/lib/workos/pipes/data_integrations_upsert_client_credentials_request_2.rb +0 -43
- data/lib/workos/pipes/reauthorize_data_integrations_get_data_integration_authorize_url_request.rb +0 -40
- data/lib/workos/pipes/reauthorize_data_integrations_upsert_api_key_request.rb +0 -40
- data/lib/workos/pipes/reauthorize_data_integrations_upsert_client_credentials_request.rb +0 -46
- data/lib/workos/types/add_data_integrations_get_data_integration_authorize_url_request_connection_owner.rb +0 -13
- data/lib/workos/types/data_integrations_upsert_api_key_request_2_connection_owner.rb +0 -9
- data/lib/workos/types/data_integrations_upsert_client_credentials_request_2_connection_owner.rb +0 -9
- data/lib/workos/types/reauthorize_data_integrations_get_data_integration_authorize_url_request_connection_owner.rb +0 -9
- data/lib/workos/types/reauthorize_data_integrations_upsert_api_key_request_connection_owner.rb +0 -9
- data/lib/workos/types/reauthorize_data_integrations_upsert_client_credentials_request_connection_owner.rb +0 -9
- data/rbi/workos/add_data_integrations_get_data_integration_authorize_url_request.rbi +0 -60
- data/rbi/workos/connected_account_write_response.rbi +0 -132
- data/rbi/workos/data_integrations_upsert_api_key_request_2.rbi +0 -60
- data/rbi/workos/data_integrations_upsert_client_credentials_request_2.rbi +0 -72
- data/rbi/workos/reauthorize_data_integrations_get_data_integration_authorize_url_request.rbi +0 -66
- data/rbi/workos/reauthorize_data_integrations_upsert_api_key_request.rbi +0 -66
- data/rbi/workos/reauthorize_data_integrations_upsert_client_credentials_request.rbi +0 -78
|
@@ -47,24 +47,36 @@ module WorkOS
|
|
|
47
47
|
request_options: T::Hash[Symbol, T.untyped]
|
|
48
48
|
).returns(WorkOS::JwksResponse)
|
|
49
49
|
end
|
|
50
|
-
def get_jwks(client_id:, request_options:); end
|
|
50
|
+
def get_jwks(client_id:, request_options: {}); end
|
|
51
51
|
|
|
52
52
|
sig do
|
|
53
53
|
params(
|
|
54
54
|
client_id: String,
|
|
55
55
|
grant_type: String,
|
|
56
|
-
code: String,
|
|
57
56
|
client_secret: T.nilable(String),
|
|
57
|
+
code: T.nilable(String),
|
|
58
58
|
code_verifier: T.nilable(String),
|
|
59
59
|
invitation_token: T.nilable(String),
|
|
60
60
|
ip_address: T.nilable(String),
|
|
61
61
|
device_id: T.nilable(String),
|
|
62
62
|
user_agent: T.nilable(String),
|
|
63
63
|
signals_id: T.nilable(String),
|
|
64
|
+
email: T.nilable(String),
|
|
65
|
+
password: T.nilable(String),
|
|
66
|
+
radar_auth_attempt_id: T.nilable(String),
|
|
67
|
+
refresh_token: T.nilable(String),
|
|
68
|
+
organization_id: T.nilable(String),
|
|
69
|
+
pending_authentication_token: T.nilable(String),
|
|
70
|
+
authentication_challenge_id: T.nilable(String),
|
|
71
|
+
email_completion_token: T.nilable(String),
|
|
72
|
+
radar_challenge_id: T.nilable(String),
|
|
73
|
+
verification_id: T.nilable(String),
|
|
74
|
+
phone_number: T.nilable(String),
|
|
75
|
+
device_code: T.nilable(String),
|
|
64
76
|
request_options: T::Hash[Symbol, T.untyped]
|
|
65
77
|
).returns(WorkOS::AuthenticateResponse)
|
|
66
78
|
end
|
|
67
|
-
def create_authenticate(client_id:, grant_type:, code
|
|
79
|
+
def create_authenticate(client_id:, grant_type:, client_secret: nil, code: nil, code_verifier: nil, invitation_token: nil, ip_address: nil, device_id: nil, user_agent: nil, signals_id: nil, email: nil, password: nil, radar_auth_attempt_id: nil, refresh_token: nil, organization_id: nil, pending_authentication_token: nil, authentication_challenge_id: nil, email_completion_token: nil, radar_challenge_id: nil, verification_id: nil, phone_number: nil, device_code: nil, request_options: {}); end
|
|
68
80
|
|
|
69
81
|
sig do
|
|
70
82
|
params(
|
|
@@ -86,7 +98,7 @@ module WorkOS
|
|
|
86
98
|
client_id: T.nilable(String)
|
|
87
99
|
).returns(String)
|
|
88
100
|
end
|
|
89
|
-
def get_authorization_url(redirect_uri:, code_challenge_method
|
|
101
|
+
def get_authorization_url(redirect_uri:, code_challenge_method: nil, code_challenge: nil, domain_hint: nil, connection_id: nil, provider_query_params: nil, provider_scopes: nil, invitation_token: nil, max_age: nil, screen_hint: nil, login_hint: nil, provider: nil, prompt: nil, state: nil, organization_id: nil, client_id: nil); end
|
|
90
102
|
|
|
91
103
|
sig do
|
|
92
104
|
params(
|
|
@@ -94,7 +106,7 @@ module WorkOS
|
|
|
94
106
|
request_options: T::Hash[Symbol, T.untyped]
|
|
95
107
|
).returns(WorkOS::DeviceAuthorizationResponse)
|
|
96
108
|
end
|
|
97
|
-
def create_device(client_id:, request_options:); end
|
|
109
|
+
def create_device(client_id:, request_options: {}); end
|
|
98
110
|
|
|
99
111
|
sig do
|
|
100
112
|
params(
|
|
@@ -106,7 +118,7 @@ module WorkOS
|
|
|
106
118
|
request_options: T::Hash[Symbol, T.untyped]
|
|
107
119
|
).returns(WorkOS::SendRadarSmsChallengeResponse)
|
|
108
120
|
end
|
|
109
|
-
def create_radar_challenge(user_id:, pending_authentication_token:, phone_number:, ip_address
|
|
121
|
+
def create_radar_challenge(user_id:, pending_authentication_token:, phone_number:, ip_address: nil, user_agent: nil, request_options: {}); end
|
|
110
122
|
|
|
111
123
|
sig do
|
|
112
124
|
params(
|
|
@@ -114,7 +126,7 @@ module WorkOS
|
|
|
114
126
|
request_options: T::Hash[Symbol, T.untyped]
|
|
115
127
|
).returns(WorkOS::RadarChallenge)
|
|
116
128
|
end
|
|
117
|
-
def get_radar_challenge(id:, request_options:); end
|
|
129
|
+
def get_radar_challenge(id:, request_options: {}); end
|
|
118
130
|
|
|
119
131
|
sig do
|
|
120
132
|
params(
|
|
@@ -122,7 +134,7 @@ module WorkOS
|
|
|
122
134
|
return_to: T.nilable(String)
|
|
123
135
|
).returns(String)
|
|
124
136
|
end
|
|
125
|
-
def get_logout_url(session_id:, return_to:); end
|
|
137
|
+
def get_logout_url(session_id:, return_to: nil); end
|
|
126
138
|
|
|
127
139
|
sig do
|
|
128
140
|
params(
|
|
@@ -130,7 +142,7 @@ module WorkOS
|
|
|
130
142
|
request_options: T::Hash[Symbol, T.untyped]
|
|
131
143
|
).returns(NilClass)
|
|
132
144
|
end
|
|
133
|
-
def revoke_session(session_id:, request_options:); end
|
|
145
|
+
def revoke_session(session_id:, request_options: {}); end
|
|
134
146
|
|
|
135
147
|
sig do
|
|
136
148
|
params(
|
|
@@ -139,9 +151,9 @@ module WorkOS
|
|
|
139
151
|
limit: T.nilable(Integer),
|
|
140
152
|
order: T.nilable(String),
|
|
141
153
|
request_options: T::Hash[Symbol, T.untyped]
|
|
142
|
-
).returns(
|
|
154
|
+
).returns(WorkOS::Types::ListStruct)
|
|
143
155
|
end
|
|
144
|
-
def list_authkit_oauth_resources(before
|
|
156
|
+
def list_authkit_oauth_resources(before: nil, after: nil, limit: nil, order: nil, request_options: {}); end
|
|
145
157
|
|
|
146
158
|
sig do
|
|
147
159
|
params(
|
|
@@ -150,7 +162,7 @@ module WorkOS
|
|
|
150
162
|
request_options: T::Hash[Symbol, T.untyped]
|
|
151
163
|
).returns(WorkOS::AuthkitOAuthResource)
|
|
152
164
|
end
|
|
153
|
-
def create_authkit_oauth_resource(uri:, default
|
|
165
|
+
def create_authkit_oauth_resource(uri:, default: nil, request_options: {}); end
|
|
154
166
|
|
|
155
167
|
sig do
|
|
156
168
|
params(
|
|
@@ -158,7 +170,7 @@ module WorkOS
|
|
|
158
170
|
request_options: T::Hash[Symbol, T.untyped]
|
|
159
171
|
).returns(NilClass)
|
|
160
172
|
end
|
|
161
|
-
def delete_authkit_oauth_resource(id:, request_options:); end
|
|
173
|
+
def delete_authkit_oauth_resource(id:, request_options: {}); end
|
|
162
174
|
|
|
163
175
|
sig do
|
|
164
176
|
params(
|
|
@@ -167,9 +179,9 @@ module WorkOS
|
|
|
167
179
|
limit: T.nilable(Integer),
|
|
168
180
|
order: T.nilable(String),
|
|
169
181
|
request_options: T::Hash[Symbol, T.untyped]
|
|
170
|
-
).returns(
|
|
182
|
+
).returns(WorkOS::Types::ListStruct)
|
|
171
183
|
end
|
|
172
|
-
def list_cors_origins(before
|
|
184
|
+
def list_cors_origins(before: nil, after: nil, limit: nil, order: nil, request_options: {}); end
|
|
173
185
|
|
|
174
186
|
sig do
|
|
175
187
|
params(
|
|
@@ -177,7 +189,7 @@ module WorkOS
|
|
|
177
189
|
request_options: T::Hash[Symbol, T.untyped]
|
|
178
190
|
).returns(WorkOS::CORSOriginResponse)
|
|
179
191
|
end
|
|
180
|
-
def create_cors_origin(origin:, request_options:); end
|
|
192
|
+
def create_cors_origin(origin:, request_options: {}); end
|
|
181
193
|
|
|
182
194
|
sig do
|
|
183
195
|
params(
|
|
@@ -185,15 +197,16 @@ module WorkOS
|
|
|
185
197
|
request_options: T::Hash[Symbol, T.untyped]
|
|
186
198
|
).returns(WorkOS::EmailVerification)
|
|
187
199
|
end
|
|
188
|
-
def get_email_verification(id:, request_options:); end
|
|
200
|
+
def get_email_verification(id:, request_options: {}); end
|
|
189
201
|
|
|
190
202
|
sig do
|
|
191
203
|
params(
|
|
192
204
|
email: String,
|
|
205
|
+
locale: T.nilable(String),
|
|
193
206
|
request_options: T::Hash[Symbol, T.untyped]
|
|
194
207
|
).returns(WorkOS::PasswordReset)
|
|
195
208
|
end
|
|
196
|
-
def reset_password(email:, request_options:); end
|
|
209
|
+
def reset_password(email:, locale: nil, request_options: {}); end
|
|
197
210
|
|
|
198
211
|
sig do
|
|
199
212
|
params(
|
|
@@ -202,7 +215,7 @@ module WorkOS
|
|
|
202
215
|
request_options: T::Hash[Symbol, T.untyped]
|
|
203
216
|
).returns(WorkOS::ResetPasswordResponse)
|
|
204
217
|
end
|
|
205
|
-
def confirm_password_reset(token:, new_password:, request_options:); end
|
|
218
|
+
def confirm_password_reset(token:, new_password:, request_options: {}); end
|
|
206
219
|
|
|
207
220
|
sig do
|
|
208
221
|
params(
|
|
@@ -210,7 +223,7 @@ module WorkOS
|
|
|
210
223
|
request_options: T::Hash[Symbol, T.untyped]
|
|
211
224
|
).returns(WorkOS::PasswordReset)
|
|
212
225
|
end
|
|
213
|
-
def get_password_reset(id:, request_options:); end
|
|
226
|
+
def get_password_reset(id:, request_options: {}); end
|
|
214
227
|
|
|
215
228
|
sig do
|
|
216
229
|
params(
|
|
@@ -224,7 +237,7 @@ module WorkOS
|
|
|
224
237
|
request_options: T::Hash[Symbol, T.untyped]
|
|
225
238
|
).returns(WorkOS::Types::ListStruct)
|
|
226
239
|
end
|
|
227
|
-
def list_users(before
|
|
240
|
+
def list_users(before: nil, after: nil, limit: nil, order: nil, organization: nil, organization_id: nil, email: nil, request_options: {}); end
|
|
228
241
|
|
|
229
242
|
sig do
|
|
230
243
|
params(
|
|
@@ -242,7 +255,7 @@ module WorkOS
|
|
|
242
255
|
request_options: T::Hash[Symbol, T.untyped]
|
|
243
256
|
).returns(WorkOS::UserCreateResponse)
|
|
244
257
|
end
|
|
245
|
-
def create_user(email:, first_name
|
|
258
|
+
def create_user(email:, first_name: nil, last_name: nil, name: nil, email_verified: nil, metadata: nil, external_id: nil, ip_address: nil, user_agent: nil, signals_id: nil, password: nil, request_options: {}); end
|
|
246
259
|
|
|
247
260
|
sig do
|
|
248
261
|
params(
|
|
@@ -250,7 +263,7 @@ module WorkOS
|
|
|
250
263
|
request_options: T::Hash[Symbol, T.untyped]
|
|
251
264
|
).returns(WorkOS::User)
|
|
252
265
|
end
|
|
253
|
-
def get_user_by_external_id(external_id:, request_options:); end
|
|
266
|
+
def get_user_by_external_id(external_id:, request_options: {}); end
|
|
254
267
|
|
|
255
268
|
sig do
|
|
256
269
|
params(
|
|
@@ -258,7 +271,7 @@ module WorkOS
|
|
|
258
271
|
request_options: T::Hash[Symbol, T.untyped]
|
|
259
272
|
).returns(WorkOS::User)
|
|
260
273
|
end
|
|
261
|
-
def get_user(id:, request_options:); end
|
|
274
|
+
def get_user(id:, request_options: {}); end
|
|
262
275
|
|
|
263
276
|
sig do
|
|
264
277
|
params(
|
|
@@ -275,7 +288,7 @@ module WorkOS
|
|
|
275
288
|
request_options: T::Hash[Symbol, T.untyped]
|
|
276
289
|
).returns(WorkOS::User)
|
|
277
290
|
end
|
|
278
|
-
def update_user(id:, email
|
|
291
|
+
def update_user(id:, email: nil, first_name: nil, last_name: nil, name: nil, email_verified: nil, metadata: nil, external_id: nil, locale: nil, password: nil, request_options: {}); end
|
|
279
292
|
|
|
280
293
|
sig do
|
|
281
294
|
params(
|
|
@@ -283,7 +296,7 @@ module WorkOS
|
|
|
283
296
|
request_options: T::Hash[Symbol, T.untyped]
|
|
284
297
|
).returns(NilClass)
|
|
285
298
|
end
|
|
286
|
-
def delete_user(id:, request_options:); end
|
|
299
|
+
def delete_user(id:, request_options: {}); end
|
|
287
300
|
|
|
288
301
|
sig do
|
|
289
302
|
params(
|
|
@@ -292,16 +305,17 @@ module WorkOS
|
|
|
292
305
|
request_options: T::Hash[Symbol, T.untyped]
|
|
293
306
|
).returns(WorkOS::EmailChangeConfirmation)
|
|
294
307
|
end
|
|
295
|
-
def confirm_email_change(id:, code:, request_options:); end
|
|
308
|
+
def confirm_email_change(id:, code:, request_options: {}); end
|
|
296
309
|
|
|
297
310
|
sig do
|
|
298
311
|
params(
|
|
299
312
|
id: String,
|
|
300
313
|
new_email: String,
|
|
314
|
+
locale: T.nilable(String),
|
|
301
315
|
request_options: T::Hash[Symbol, T.untyped]
|
|
302
316
|
).returns(WorkOS::EmailChange)
|
|
303
317
|
end
|
|
304
|
-
def send_email_change(id:, new_email:, request_options:); end
|
|
318
|
+
def send_email_change(id:, new_email:, locale: nil, request_options: {}); end
|
|
305
319
|
|
|
306
320
|
sig do
|
|
307
321
|
params(
|
|
@@ -310,15 +324,16 @@ module WorkOS
|
|
|
310
324
|
request_options: T::Hash[Symbol, T.untyped]
|
|
311
325
|
).returns(WorkOS::VerifyEmailResponse)
|
|
312
326
|
end
|
|
313
|
-
def verify_email(id:, code:, request_options:); end
|
|
327
|
+
def verify_email(id:, code:, request_options: {}); end
|
|
314
328
|
|
|
315
329
|
sig do
|
|
316
330
|
params(
|
|
317
331
|
id: String,
|
|
332
|
+
locale: T.nilable(String),
|
|
318
333
|
request_options: T::Hash[Symbol, T.untyped]
|
|
319
334
|
).returns(WorkOS::SendVerificationEmailResponse)
|
|
320
335
|
end
|
|
321
|
-
def send_verification_email(id:, request_options:); end
|
|
336
|
+
def send_verification_email(id:, locale: nil, request_options: {}); end
|
|
322
337
|
|
|
323
338
|
sig do
|
|
324
339
|
params(
|
|
@@ -326,7 +341,7 @@ module WorkOS
|
|
|
326
341
|
request_options: T::Hash[Symbol, T.untyped]
|
|
327
342
|
).returns(T::Array[WorkOS::UserIdentitiesGetItem])
|
|
328
343
|
end
|
|
329
|
-
def get_user_identities(id:, request_options:); end
|
|
344
|
+
def get_user_identities(id:, request_options: {}); end
|
|
330
345
|
|
|
331
346
|
sig do
|
|
332
347
|
params(
|
|
@@ -336,9 +351,9 @@ module WorkOS
|
|
|
336
351
|
limit: T.nilable(Integer),
|
|
337
352
|
order: T.nilable(String),
|
|
338
353
|
request_options: T::Hash[Symbol, T.untyped]
|
|
339
|
-
).returns(
|
|
354
|
+
).returns(WorkOS::Types::ListStruct)
|
|
340
355
|
end
|
|
341
|
-
def list_sessions(id:, before
|
|
356
|
+
def list_sessions(id:, before: nil, after: nil, limit: nil, order: nil, request_options: {}); end
|
|
342
357
|
|
|
343
358
|
sig do
|
|
344
359
|
params(
|
|
@@ -351,7 +366,7 @@ module WorkOS
|
|
|
351
366
|
request_options: T::Hash[Symbol, T.untyped]
|
|
352
367
|
).returns(WorkOS::Types::ListStruct)
|
|
353
368
|
end
|
|
354
|
-
def list_invitations(before
|
|
369
|
+
def list_invitations(before: nil, after: nil, limit: nil, order: nil, organization_id: nil, email: nil, request_options: {}); end
|
|
355
370
|
|
|
356
371
|
sig do
|
|
357
372
|
params(
|
|
@@ -364,7 +379,7 @@ module WorkOS
|
|
|
364
379
|
request_options: T::Hash[Symbol, T.untyped]
|
|
365
380
|
).returns(WorkOS::UserInvite)
|
|
366
381
|
end
|
|
367
|
-
def send_invitation(email:, organization_id
|
|
382
|
+
def send_invitation(email:, organization_id: nil, role_slug: nil, expires_in_days: nil, inviter_user_id: nil, locale: nil, request_options: {}); end
|
|
368
383
|
|
|
369
384
|
sig do
|
|
370
385
|
params(
|
|
@@ -372,7 +387,7 @@ module WorkOS
|
|
|
372
387
|
request_options: T::Hash[Symbol, T.untyped]
|
|
373
388
|
).returns(WorkOS::UserInvite)
|
|
374
389
|
end
|
|
375
|
-
def find_invitation_by_token(token:, request_options:); end
|
|
390
|
+
def find_invitation_by_token(token:, request_options: {}); end
|
|
376
391
|
|
|
377
392
|
sig do
|
|
378
393
|
params(
|
|
@@ -380,7 +395,7 @@ module WorkOS
|
|
|
380
395
|
request_options: T::Hash[Symbol, T.untyped]
|
|
381
396
|
).returns(WorkOS::UserInvite)
|
|
382
397
|
end
|
|
383
|
-
def get_invitation(id:, request_options:); end
|
|
398
|
+
def get_invitation(id:, request_options: {}); end
|
|
384
399
|
|
|
385
400
|
sig do
|
|
386
401
|
params(
|
|
@@ -388,7 +403,7 @@ module WorkOS
|
|
|
388
403
|
request_options: T::Hash[Symbol, T.untyped]
|
|
389
404
|
).returns(WorkOS::Invitation)
|
|
390
405
|
end
|
|
391
|
-
def accept_invitation(id:, request_options:); end
|
|
406
|
+
def accept_invitation(id:, request_options: {}); end
|
|
392
407
|
|
|
393
408
|
sig do
|
|
394
409
|
params(
|
|
@@ -397,7 +412,7 @@ module WorkOS
|
|
|
397
412
|
request_options: T::Hash[Symbol, T.untyped]
|
|
398
413
|
).returns(WorkOS::UserInvite)
|
|
399
414
|
end
|
|
400
|
-
def resend_invitation(id:, locale
|
|
415
|
+
def resend_invitation(id:, locale: nil, request_options: {}); end
|
|
401
416
|
|
|
402
417
|
sig do
|
|
403
418
|
params(
|
|
@@ -405,14 +420,14 @@ module WorkOS
|
|
|
405
420
|
request_options: T::Hash[Symbol, T.untyped]
|
|
406
421
|
).returns(WorkOS::Invitation)
|
|
407
422
|
end
|
|
408
|
-
def revoke_invitation(id:, request_options:); end
|
|
423
|
+
def revoke_invitation(id:, request_options: {}); end
|
|
409
424
|
|
|
410
425
|
sig do
|
|
411
426
|
params(
|
|
412
427
|
request_options: T::Hash[Symbol, T.untyped]
|
|
413
428
|
).returns(WorkOS::JWTTemplateResponse)
|
|
414
429
|
end
|
|
415
|
-
def list_jwt_template(request_options:); end
|
|
430
|
+
def list_jwt_template(request_options: {}); end
|
|
416
431
|
|
|
417
432
|
sig do
|
|
418
433
|
params(
|
|
@@ -420,7 +435,7 @@ module WorkOS
|
|
|
420
435
|
request_options: T::Hash[Symbol, T.untyped]
|
|
421
436
|
).returns(WorkOS::JWTTemplateResponse)
|
|
422
437
|
end
|
|
423
|
-
def update_jwt_template(content:, request_options:); end
|
|
438
|
+
def update_jwt_template(content:, request_options: {}); end
|
|
424
439
|
|
|
425
440
|
sig do
|
|
426
441
|
params(
|
|
@@ -430,10 +445,11 @@ module WorkOS
|
|
|
430
445
|
user_agent: T.nilable(String),
|
|
431
446
|
radar_auth_attempt_id: T.nilable(String),
|
|
432
447
|
signals_id: T.nilable(String),
|
|
448
|
+
locale: T.nilable(String),
|
|
433
449
|
request_options: T::Hash[Symbol, T.untyped]
|
|
434
450
|
).returns(WorkOS::MagicAuthSendMagicAuthCodeAndReturnResponse)
|
|
435
451
|
end
|
|
436
|
-
def create_magic_auth(email:, invitation_token
|
|
452
|
+
def create_magic_auth(email:, invitation_token: nil, ip_address: nil, user_agent: nil, radar_auth_attempt_id: nil, signals_id: nil, locale: nil, request_options: {}); end
|
|
437
453
|
|
|
438
454
|
sig do
|
|
439
455
|
params(
|
|
@@ -441,7 +457,7 @@ module WorkOS
|
|
|
441
457
|
request_options: T::Hash[Symbol, T.untyped]
|
|
442
458
|
).returns(WorkOS::MagicAuth)
|
|
443
459
|
end
|
|
444
|
-
def get_magic_auth(id:, request_options:); end
|
|
460
|
+
def get_magic_auth(id:, request_options: {}); end
|
|
445
461
|
|
|
446
462
|
sig do
|
|
447
463
|
params(
|
|
@@ -450,9 +466,9 @@ module WorkOS
|
|
|
450
466
|
limit: T.nilable(Integer),
|
|
451
467
|
order: T.nilable(String),
|
|
452
468
|
request_options: T::Hash[Symbol, T.untyped]
|
|
453
|
-
).returns(
|
|
469
|
+
).returns(WorkOS::Types::ListStruct)
|
|
454
470
|
end
|
|
455
|
-
def list_redirect_uris(before
|
|
471
|
+
def list_redirect_uris(before: nil, after: nil, limit: nil, order: nil, request_options: {}); end
|
|
456
472
|
|
|
457
473
|
sig do
|
|
458
474
|
params(
|
|
@@ -460,7 +476,7 @@ module WorkOS
|
|
|
460
476
|
request_options: T::Hash[Symbol, T.untyped]
|
|
461
477
|
).returns(WorkOS::RedirectUri)
|
|
462
478
|
end
|
|
463
|
-
def create_redirect_uri(uri:, request_options:); end
|
|
479
|
+
def create_redirect_uri(uri:, request_options: {}); end
|
|
464
480
|
|
|
465
481
|
sig do
|
|
466
482
|
params(
|
|
@@ -468,7 +484,7 @@ module WorkOS
|
|
|
468
484
|
request_options: T::Hash[Symbol, T.untyped]
|
|
469
485
|
).returns(NilClass)
|
|
470
486
|
end
|
|
471
|
-
def delete_redirect_uris(id:, request_options:); end
|
|
487
|
+
def delete_redirect_uris(id:, request_options: {}); end
|
|
472
488
|
|
|
473
489
|
sig do
|
|
474
490
|
params(
|
|
@@ -480,7 +496,7 @@ module WorkOS
|
|
|
480
496
|
request_options: T::Hash[Symbol, T.untyped]
|
|
481
497
|
).returns(WorkOS::Types::ListStruct)
|
|
482
498
|
end
|
|
483
|
-
def list_user_authorized_applications(user_id:, before
|
|
499
|
+
def list_user_authorized_applications(user_id:, before: nil, after: nil, limit: nil, order: nil, request_options: {}); end
|
|
484
500
|
|
|
485
501
|
sig do
|
|
486
502
|
params(
|
|
@@ -489,7 +505,7 @@ module WorkOS
|
|
|
489
505
|
request_options: T::Hash[Symbol, T.untyped]
|
|
490
506
|
).returns(NilClass)
|
|
491
507
|
end
|
|
492
|
-
def delete_user_authorized_application(application_id:, user_id:, request_options:); end
|
|
508
|
+
def delete_user_authorized_application(application_id:, user_id:, request_options: {}); end
|
|
493
509
|
|
|
494
510
|
sig do
|
|
495
511
|
params(
|
|
@@ -497,7 +513,7 @@ module WorkOS
|
|
|
497
513
|
request_options: T::Hash[Symbol, T.untyped]
|
|
498
514
|
).returns(NilClass)
|
|
499
515
|
end
|
|
500
|
-
def delete_waitlist_entry(id:, request_options:); end
|
|
516
|
+
def delete_waitlist_entry(id:, request_options: {}); end
|
|
501
517
|
|
|
502
518
|
sig do
|
|
503
519
|
params(
|
|
@@ -505,7 +521,7 @@ module WorkOS
|
|
|
505
521
|
request_options: T::Hash[Symbol, T.untyped]
|
|
506
522
|
).returns(WorkOS::WaitlistEntry)
|
|
507
523
|
end
|
|
508
|
-
def create_waitlist_entry_approve(id:, request_options:); end
|
|
524
|
+
def create_waitlist_entry_approve(id:, request_options: {}); end
|
|
509
525
|
|
|
510
526
|
sig do
|
|
511
527
|
params(
|
|
@@ -513,14 +529,14 @@ module WorkOS
|
|
|
513
529
|
request_options: T::Hash[Symbol, T.untyped]
|
|
514
530
|
).returns(WorkOS::WaitlistEntry)
|
|
515
531
|
end
|
|
516
|
-
def create_waitlist_entry_deny(id:, request_options:); end
|
|
532
|
+
def create_waitlist_entry_deny(id:, request_options: {}); end
|
|
517
533
|
|
|
518
534
|
sig do
|
|
519
535
|
params(
|
|
520
536
|
request_options: T::Hash[Symbol, T.untyped]
|
|
521
|
-
).returns(
|
|
537
|
+
).returns(WorkOS::Types::ListStruct)
|
|
522
538
|
end
|
|
523
|
-
def list_waitlists(request_options:); end
|
|
539
|
+
def list_waitlists(request_options: {}); end
|
|
524
540
|
|
|
525
541
|
sig do
|
|
526
542
|
params(
|
|
@@ -528,7 +544,7 @@ module WorkOS
|
|
|
528
544
|
request_options: T::Hash[Symbol, T.untyped]
|
|
529
545
|
).returns(WorkOS::Waitlist)
|
|
530
546
|
end
|
|
531
|
-
def get_waitlist(id:, request_options:); end
|
|
547
|
+
def get_waitlist(id:, request_options: {}); end
|
|
532
548
|
|
|
533
549
|
sig do
|
|
534
550
|
params(
|
|
@@ -540,9 +556,9 @@ module WorkOS
|
|
|
540
556
|
state: T.nilable(String),
|
|
541
557
|
email: T.nilable(String),
|
|
542
558
|
request_options: T::Hash[Symbol, T.untyped]
|
|
543
|
-
).returns(
|
|
559
|
+
).returns(WorkOS::Types::ListStruct)
|
|
544
560
|
end
|
|
545
|
-
def list_waitlist_entries(id:, before
|
|
561
|
+
def list_waitlist_entries(id:, before: nil, after: nil, limit: nil, order: nil, state: nil, email: nil, request_options: {}); end
|
|
546
562
|
|
|
547
563
|
sig do
|
|
548
564
|
params(
|
|
@@ -553,7 +569,7 @@ module WorkOS
|
|
|
553
569
|
request_options: T::Hash[Symbol, T.untyped]
|
|
554
570
|
).returns(WorkOS::WaitlistEntry)
|
|
555
571
|
end
|
|
556
|
-
def create_waitlist_entry(id:, email:, additional_fields
|
|
572
|
+
def create_waitlist_entry(id:, email:, additional_fields: nil, send_confirmation_email: nil, request_options: {}); end
|
|
557
573
|
|
|
558
574
|
sig do
|
|
559
575
|
params(
|
|
@@ -566,7 +582,7 @@ module WorkOS
|
|
|
566
582
|
request_options: T::Hash[Symbol, T.untyped]
|
|
567
583
|
).returns(WorkOS::Types::ListStruct)
|
|
568
584
|
end
|
|
569
|
-
def list_user_api_keys(user_id:, before
|
|
585
|
+
def list_user_api_keys(user_id:, before: nil, after: nil, limit: nil, order: nil, organization_id: nil, request_options: {}); end
|
|
570
586
|
|
|
571
587
|
sig do
|
|
572
588
|
params(
|
|
@@ -578,7 +594,7 @@ module WorkOS
|
|
|
578
594
|
request_options: T::Hash[Symbol, T.untyped]
|
|
579
595
|
).returns(WorkOS::UserApiKeyWithValue)
|
|
580
596
|
end
|
|
581
|
-
def create_user_api_key(user_id:, name:, organization_id:, permissions
|
|
597
|
+
def create_user_api_key(user_id:, name:, organization_id:, permissions: nil, expires_at: nil, request_options: {}); end
|
|
582
598
|
|
|
583
599
|
end
|
|
584
600
|
end
|
|
@@ -0,0 +1,30 @@
|
|
|
1
|
+
# frozen_string_literal: true
|
|
2
|
+
|
|
3
|
+
# This file is auto-generated by oagen. Do not edit.
|
|
4
|
+
|
|
5
|
+
# typed: strong
|
|
6
|
+
|
|
7
|
+
module WorkOS
|
|
8
|
+
class UserMismatchErrorBody
|
|
9
|
+
sig { params(json: T.any(String, T::Hash[Symbol, T.untyped])).void }
|
|
10
|
+
def initialize(json); end
|
|
11
|
+
|
|
12
|
+
sig { returns(String) }
|
|
13
|
+
def code; end
|
|
14
|
+
|
|
15
|
+
sig { params(value: String).returns(String) }
|
|
16
|
+
def code=(value); end
|
|
17
|
+
|
|
18
|
+
sig { returns(String) }
|
|
19
|
+
def message; end
|
|
20
|
+
|
|
21
|
+
sig { params(value: String).returns(String) }
|
|
22
|
+
def message=(value); end
|
|
23
|
+
|
|
24
|
+
sig { returns(T::Hash[Symbol, T.untyped]) }
|
|
25
|
+
def to_h; end
|
|
26
|
+
|
|
27
|
+
sig { params(args: T.untyped).returns(String) }
|
|
28
|
+
def to_json(*args); end
|
|
29
|
+
end
|
|
30
|
+
end
|
data/rbi/workos/vault.rbi
CHANGED
|
@@ -15,7 +15,7 @@ module WorkOS
|
|
|
15
15
|
request_options: T::Hash[Symbol, T.untyped]
|
|
16
16
|
).returns(WorkOS::CreateDataKeyResponse)
|
|
17
17
|
end
|
|
18
|
-
def create_data_key(context:, request_options:); end
|
|
18
|
+
def create_data_key(context:, request_options: {}); end
|
|
19
19
|
|
|
20
20
|
sig do
|
|
21
21
|
params(
|
|
@@ -23,7 +23,7 @@ module WorkOS
|
|
|
23
23
|
request_options: T::Hash[Symbol, T.untyped]
|
|
24
24
|
).returns(WorkOS::DecryptResponse)
|
|
25
25
|
end
|
|
26
|
-
def create_decrypt(keys:, request_options:); end
|
|
26
|
+
def create_decrypt(keys:, request_options: {}); end
|
|
27
27
|
|
|
28
28
|
sig do
|
|
29
29
|
params(
|
|
@@ -32,7 +32,7 @@ module WorkOS
|
|
|
32
32
|
request_options: T::Hash[Symbol, T.untyped]
|
|
33
33
|
).returns(WorkOS::CreateDataKeyResponse)
|
|
34
34
|
end
|
|
35
|
-
def create_rekey(context:, encrypted_keys:, request_options:); end
|
|
35
|
+
def create_rekey(context:, encrypted_keys:, request_options: {}); end
|
|
36
36
|
|
|
37
37
|
sig do
|
|
38
38
|
params(
|
|
@@ -45,7 +45,7 @@ module WorkOS
|
|
|
45
45
|
request_options: T::Hash[Symbol, T.untyped]
|
|
46
46
|
).returns(WorkOS::Types::ListStruct)
|
|
47
47
|
end
|
|
48
|
-
def list_kv(limit
|
|
48
|
+
def list_kv(limit: nil, before: nil, after: nil, order: nil, search: nil, updated_after: nil, request_options: {}); end
|
|
49
49
|
|
|
50
50
|
sig do
|
|
51
51
|
params(
|
|
@@ -55,7 +55,7 @@ module WorkOS
|
|
|
55
55
|
request_options: T::Hash[Symbol, T.untyped]
|
|
56
56
|
).returns(WorkOS::ObjectMetadata)
|
|
57
57
|
end
|
|
58
|
-
def create_kv(key_context:, name:, value:, request_options:); end
|
|
58
|
+
def create_kv(key_context:, name:, value:, request_options: {}); end
|
|
59
59
|
|
|
60
60
|
sig do
|
|
61
61
|
params(
|
|
@@ -63,7 +63,7 @@ module WorkOS
|
|
|
63
63
|
request_options: T::Hash[Symbol, T.untyped]
|
|
64
64
|
).returns(WorkOS::VaultObject)
|
|
65
65
|
end
|
|
66
|
-
def get_name(name:, request_options:); end
|
|
66
|
+
def get_name(name:, request_options: {}); end
|
|
67
67
|
|
|
68
68
|
sig do
|
|
69
69
|
params(
|
|
@@ -71,7 +71,7 @@ module WorkOS
|
|
|
71
71
|
request_options: T::Hash[Symbol, T.untyped]
|
|
72
72
|
).returns(WorkOS::VaultObject)
|
|
73
73
|
end
|
|
74
|
-
def get_kv(id:, request_options:); end
|
|
74
|
+
def get_kv(id:, request_options: {}); end
|
|
75
75
|
|
|
76
76
|
sig do
|
|
77
77
|
params(
|
|
@@ -81,7 +81,7 @@ module WorkOS
|
|
|
81
81
|
request_options: T::Hash[Symbol, T.untyped]
|
|
82
82
|
).returns(WorkOS::ObjectWithoutValue)
|
|
83
83
|
end
|
|
84
|
-
def update_kv(id:, value:, version_check
|
|
84
|
+
def update_kv(id:, value:, version_check: nil, request_options: {}); end
|
|
85
85
|
|
|
86
86
|
sig do
|
|
87
87
|
params(
|
|
@@ -90,7 +90,7 @@ module WorkOS
|
|
|
90
90
|
request_options: T::Hash[Symbol, T.untyped]
|
|
91
91
|
).returns(WorkOS::DeleteObjectResponse)
|
|
92
92
|
end
|
|
93
|
-
def delete_kv(id:, version_check
|
|
93
|
+
def delete_kv(id:, version_check: nil, request_options: {}); end
|
|
94
94
|
|
|
95
95
|
sig do
|
|
96
96
|
params(
|
|
@@ -98,7 +98,7 @@ module WorkOS
|
|
|
98
98
|
request_options: T::Hash[Symbol, T.untyped]
|
|
99
99
|
).returns(WorkOS::ObjectWithoutValue)
|
|
100
100
|
end
|
|
101
|
-
def list_kv_metadata(id:, request_options:); end
|
|
101
|
+
def list_kv_metadata(id:, request_options: {}); end
|
|
102
102
|
|
|
103
103
|
sig do
|
|
104
104
|
params(
|
|
@@ -106,7 +106,7 @@ module WorkOS
|
|
|
106
106
|
request_options: T::Hash[Symbol, T.untyped]
|
|
107
107
|
).returns(WorkOS::Types::ListStruct)
|
|
108
108
|
end
|
|
109
|
-
def list_kv_versions(id:, request_options:); end
|
|
109
|
+
def list_kv_versions(id:, request_options: {}); end
|
|
110
110
|
|
|
111
111
|
end
|
|
112
112
|
end
|
|
@@ -0,0 +1,30 @@
|
|
|
1
|
+
# frozen_string_literal: true
|
|
2
|
+
|
|
3
|
+
# This file is auto-generated by oagen. Do not edit.
|
|
4
|
+
|
|
5
|
+
# typed: strong
|
|
6
|
+
|
|
7
|
+
module WorkOS
|
|
8
|
+
class VerificationIdRequiredErrorBody
|
|
9
|
+
sig { params(json: T.any(String, T::Hash[Symbol, T.untyped])).void }
|
|
10
|
+
def initialize(json); end
|
|
11
|
+
|
|
12
|
+
sig { returns(String) }
|
|
13
|
+
def code; end
|
|
14
|
+
|
|
15
|
+
sig { params(value: String).returns(String) }
|
|
16
|
+
def code=(value); end
|
|
17
|
+
|
|
18
|
+
sig { returns(String) }
|
|
19
|
+
def message; end
|
|
20
|
+
|
|
21
|
+
sig { params(value: String).returns(String) }
|
|
22
|
+
def message=(value); end
|
|
23
|
+
|
|
24
|
+
sig { returns(T::Hash[Symbol, T.untyped]) }
|
|
25
|
+
def to_h; end
|
|
26
|
+
|
|
27
|
+
sig { params(args: T.untyped).returns(String) }
|
|
28
|
+
def to_json(*args); end
|
|
29
|
+
end
|
|
30
|
+
end
|