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
|
@@ -103,7 +103,7 @@ module WorkOS
|
|
|
103
103
|
request_options: T::Hash[Symbol, T.untyped]
|
|
104
104
|
).returns(WorkOS::Types::ListStruct)
|
|
105
105
|
end
|
|
106
|
-
def list_group_role_assignments(group_id:, before
|
|
106
|
+
def list_group_role_assignments(group_id:, before: nil, after: nil, limit: nil, order: nil, request_options: {}); end
|
|
107
107
|
|
|
108
108
|
sig do
|
|
109
109
|
params(
|
|
@@ -115,7 +115,7 @@ module WorkOS
|
|
|
115
115
|
request_options: T::Hash[Symbol, T.untyped]
|
|
116
116
|
).returns(WorkOS::GroupRoleAssignment)
|
|
117
117
|
end
|
|
118
|
-
def create_group_role_assignment(group_id:, role_slug:, resource_id
|
|
118
|
+
def create_group_role_assignment(group_id:, role_slug:, resource_id: nil, resource_external_id: nil, resource_type_slug: nil, request_options: {}); end
|
|
119
119
|
|
|
120
120
|
sig do
|
|
121
121
|
params(
|
|
@@ -124,7 +124,17 @@ module WorkOS
|
|
|
124
124
|
request_options: T::Hash[Symbol, T.untyped]
|
|
125
125
|
).returns(WorkOS::Types::ListStruct)
|
|
126
126
|
end
|
|
127
|
-
def update_group_role_assignments(group_id:, role_assignments:, request_options:); end
|
|
127
|
+
def update_group_role_assignments(group_id:, role_assignments:, request_options: {}); end
|
|
128
|
+
|
|
129
|
+
sig do
|
|
130
|
+
params(
|
|
131
|
+
group_id: String,
|
|
132
|
+
add: T.nilable(T::Array[WorkOS::ReplaceGroupRoleAssignmentEntry]),
|
|
133
|
+
remove: T.nilable(T::Array[WorkOS::ReplaceGroupRoleAssignmentEntry]),
|
|
134
|
+
request_options: T::Hash[Symbol, T.untyped]
|
|
135
|
+
).returns(NilClass)
|
|
136
|
+
end
|
|
137
|
+
def patch_group_role_assignments(group_id:, add: nil, remove: nil, request_options: {}); end
|
|
128
138
|
|
|
129
139
|
sig do
|
|
130
140
|
params(
|
|
@@ -136,7 +146,7 @@ module WorkOS
|
|
|
136
146
|
request_options: T::Hash[Symbol, T.untyped]
|
|
137
147
|
).returns(NilClass)
|
|
138
148
|
end
|
|
139
|
-
def delete_group_role_assignments(group_id:, role_slug:, resource_id
|
|
149
|
+
def delete_group_role_assignments(group_id:, role_slug:, resource_id: nil, resource_external_id: nil, resource_type_slug: nil, request_options: {}); end
|
|
140
150
|
|
|
141
151
|
sig do
|
|
142
152
|
params(
|
|
@@ -145,7 +155,7 @@ module WorkOS
|
|
|
145
155
|
request_options: T::Hash[Symbol, T.untyped]
|
|
146
156
|
).returns(WorkOS::GroupRoleAssignment)
|
|
147
157
|
end
|
|
148
|
-
def get_group_role_assignment(group_id:, role_assignment_id:, request_options:); end
|
|
158
|
+
def get_group_role_assignment(group_id:, role_assignment_id:, request_options: {}); end
|
|
149
159
|
|
|
150
160
|
sig do
|
|
151
161
|
params(
|
|
@@ -154,7 +164,7 @@ module WorkOS
|
|
|
154
164
|
request_options: T::Hash[Symbol, T.untyped]
|
|
155
165
|
).returns(NilClass)
|
|
156
166
|
end
|
|
157
|
-
def delete_group_role_assignment(group_id:, role_assignment_id:, request_options:); end
|
|
167
|
+
def delete_group_role_assignment(group_id:, role_assignment_id:, request_options: {}); end
|
|
158
168
|
|
|
159
169
|
sig do
|
|
160
170
|
params(
|
|
@@ -164,7 +174,7 @@ module WorkOS
|
|
|
164
174
|
request_options: T::Hash[Symbol, T.untyped]
|
|
165
175
|
).returns(WorkOS::AuthorizationCheck)
|
|
166
176
|
end
|
|
167
|
-
def check(organization_membership_id:, permission_slug:, resource_target:, request_options:); end
|
|
177
|
+
def check(organization_membership_id:, permission_slug:, resource_target:, request_options: {}); end
|
|
168
178
|
|
|
169
179
|
sig do
|
|
170
180
|
params(
|
|
@@ -178,7 +188,7 @@ module WorkOS
|
|
|
178
188
|
request_options: T::Hash[Symbol, T.untyped]
|
|
179
189
|
).returns(WorkOS::Types::ListStruct)
|
|
180
190
|
end
|
|
181
|
-
def list_resources_for_membership(organization_membership_id:, permission_slug:, parent_resource:, before
|
|
191
|
+
def list_resources_for_membership(organization_membership_id:, permission_slug:, parent_resource:, before: nil, after: nil, limit: nil, order: nil, request_options: {}); end
|
|
182
192
|
|
|
183
193
|
sig do
|
|
184
194
|
params(
|
|
@@ -191,7 +201,7 @@ module WorkOS
|
|
|
191
201
|
request_options: T::Hash[Symbol, T.untyped]
|
|
192
202
|
).returns(WorkOS::Types::ListStruct)
|
|
193
203
|
end
|
|
194
|
-
def list_effective_permissions(organization_membership_id:, resource_id:, before
|
|
204
|
+
def list_effective_permissions(organization_membership_id:, resource_id:, before: nil, after: nil, limit: nil, order: nil, request_options: {}); end
|
|
195
205
|
|
|
196
206
|
sig do
|
|
197
207
|
params(
|
|
@@ -205,7 +215,7 @@ module WorkOS
|
|
|
205
215
|
request_options: T::Hash[Symbol, T.untyped]
|
|
206
216
|
).returns(WorkOS::Types::ListStruct)
|
|
207
217
|
end
|
|
208
|
-
def list_effective_permissions_by_external_id(organization_membership_id:, resource_type_slug:, external_id:, before
|
|
218
|
+
def list_effective_permissions_by_external_id(organization_membership_id:, resource_type_slug:, external_id:, before: nil, after: nil, limit: nil, order: nil, request_options: {}); end
|
|
209
219
|
|
|
210
220
|
sig do
|
|
211
221
|
params(
|
|
@@ -220,7 +230,7 @@ module WorkOS
|
|
|
220
230
|
request_options: T::Hash[Symbol, T.untyped]
|
|
221
231
|
).returns(WorkOS::Types::ListStruct)
|
|
222
232
|
end
|
|
223
|
-
def list_role_assignments(organization_membership_id:, before
|
|
233
|
+
def list_role_assignments(organization_membership_id:, before: nil, after: nil, limit: nil, order: nil, resource_id: nil, resource_external_id: nil, resource_type_slug: nil, request_options: {}); end
|
|
224
234
|
|
|
225
235
|
sig do
|
|
226
236
|
params(
|
|
@@ -230,7 +240,7 @@ module WorkOS
|
|
|
230
240
|
request_options: T::Hash[Symbol, T.untyped]
|
|
231
241
|
).returns(WorkOS::UserRoleAssignment)
|
|
232
242
|
end
|
|
233
|
-
def assign_role(organization_membership_id:, role_slug:, resource_target:, request_options:); end
|
|
243
|
+
def assign_role(organization_membership_id:, role_slug:, resource_target:, request_options: {}); end
|
|
234
244
|
|
|
235
245
|
sig do
|
|
236
246
|
params(
|
|
@@ -240,7 +250,7 @@ module WorkOS
|
|
|
240
250
|
request_options: T::Hash[Symbol, T.untyped]
|
|
241
251
|
).returns(NilClass)
|
|
242
252
|
end
|
|
243
|
-
def remove_role(organization_membership_id:, role_slug:, resource_target:, request_options:); end
|
|
253
|
+
def remove_role(organization_membership_id:, role_slug:, resource_target:, request_options: {}); end
|
|
244
254
|
|
|
245
255
|
sig do
|
|
246
256
|
params(
|
|
@@ -249,7 +259,7 @@ module WorkOS
|
|
|
249
259
|
request_options: T::Hash[Symbol, T.untyped]
|
|
250
260
|
).returns(NilClass)
|
|
251
261
|
end
|
|
252
|
-
def remove_role_assignment(organization_membership_id:, role_assignment_id:, request_options:); end
|
|
262
|
+
def remove_role_assignment(organization_membership_id:, role_assignment_id:, request_options: {}); end
|
|
253
263
|
|
|
254
264
|
sig do
|
|
255
265
|
params(
|
|
@@ -257,7 +267,7 @@ module WorkOS
|
|
|
257
267
|
request_options: T::Hash[Symbol, T.untyped]
|
|
258
268
|
).returns(WorkOS::RoleList)
|
|
259
269
|
end
|
|
260
|
-
def list_organization_roles(organization_id:, request_options:); end
|
|
270
|
+
def list_organization_roles(organization_id:, request_options: {}); end
|
|
261
271
|
|
|
262
272
|
sig do
|
|
263
273
|
params(
|
|
@@ -269,7 +279,7 @@ module WorkOS
|
|
|
269
279
|
request_options: T::Hash[Symbol, T.untyped]
|
|
270
280
|
).returns(WorkOS::Role)
|
|
271
281
|
end
|
|
272
|
-
def create_organization_role(organization_id:, name:, slug
|
|
282
|
+
def create_organization_role(organization_id:, name:, slug: nil, description: nil, resource_type_slug: nil, request_options: {}); end
|
|
273
283
|
|
|
274
284
|
sig do
|
|
275
285
|
params(
|
|
@@ -278,7 +288,7 @@ module WorkOS
|
|
|
278
288
|
request_options: T::Hash[Symbol, T.untyped]
|
|
279
289
|
).returns(WorkOS::Role)
|
|
280
290
|
end
|
|
281
|
-
def get_organization_role(organization_id:, slug:, request_options:); end
|
|
291
|
+
def get_organization_role(organization_id:, slug:, request_options: {}); end
|
|
282
292
|
|
|
283
293
|
sig do
|
|
284
294
|
params(
|
|
@@ -289,7 +299,7 @@ module WorkOS
|
|
|
289
299
|
request_options: T::Hash[Symbol, T.untyped]
|
|
290
300
|
).returns(WorkOS::Role)
|
|
291
301
|
end
|
|
292
|
-
def update_organization_role(organization_id:, slug:, name
|
|
302
|
+
def update_organization_role(organization_id:, slug:, name: nil, description: nil, request_options: {}); end
|
|
293
303
|
|
|
294
304
|
sig do
|
|
295
305
|
params(
|
|
@@ -298,7 +308,7 @@ module WorkOS
|
|
|
298
308
|
request_options: T::Hash[Symbol, T.untyped]
|
|
299
309
|
).returns(NilClass)
|
|
300
310
|
end
|
|
301
|
-
def delete_organization_role(organization_id:, slug:, request_options:); end
|
|
311
|
+
def delete_organization_role(organization_id:, slug:, request_options: {}); end
|
|
302
312
|
|
|
303
313
|
sig do
|
|
304
314
|
params(
|
|
@@ -307,7 +317,7 @@ module WorkOS
|
|
|
307
317
|
request_options: T::Hash[Symbol, T.untyped]
|
|
308
318
|
).returns(WorkOS::Role)
|
|
309
319
|
end
|
|
310
|
-
def add_organization_role_permission(organization_id:, slug:, request_options:); end
|
|
320
|
+
def add_organization_role_permission(organization_id:, slug:, request_options: {}); end
|
|
311
321
|
|
|
312
322
|
sig do
|
|
313
323
|
params(
|
|
@@ -317,7 +327,7 @@ module WorkOS
|
|
|
317
327
|
request_options: T::Hash[Symbol, T.untyped]
|
|
318
328
|
).returns(WorkOS::Role)
|
|
319
329
|
end
|
|
320
|
-
def set_organization_role_permissions(organization_id:, slug:, permissions:, request_options:); end
|
|
330
|
+
def set_organization_role_permissions(organization_id:, slug:, permissions:, request_options: {}); end
|
|
321
331
|
|
|
322
332
|
sig do
|
|
323
333
|
params(
|
|
@@ -327,7 +337,7 @@ module WorkOS
|
|
|
327
337
|
request_options: T::Hash[Symbol, T.untyped]
|
|
328
338
|
).returns(WorkOS::Role)
|
|
329
339
|
end
|
|
330
|
-
def remove_organization_role_permission(organization_id:, slug:, permission_slug:, request_options:); end
|
|
340
|
+
def remove_organization_role_permission(organization_id:, slug:, permission_slug:, request_options: {}); end
|
|
331
341
|
|
|
332
342
|
sig do
|
|
333
343
|
params(
|
|
@@ -337,7 +347,7 @@ module WorkOS
|
|
|
337
347
|
request_options: T::Hash[Symbol, T.untyped]
|
|
338
348
|
).returns(WorkOS::AuthorizationResource)
|
|
339
349
|
end
|
|
340
|
-
def get_resource_by_external_id(organization_id:, resource_type_slug:, external_id:, request_options:); end
|
|
350
|
+
def get_resource_by_external_id(organization_id:, resource_type_slug:, external_id:, request_options: {}); end
|
|
341
351
|
|
|
342
352
|
sig do
|
|
343
353
|
params(
|
|
@@ -350,7 +360,7 @@ module WorkOS
|
|
|
350
360
|
request_options: T::Hash[Symbol, T.untyped]
|
|
351
361
|
).returns(WorkOS::AuthorizationResource)
|
|
352
362
|
end
|
|
353
|
-
def update_resource_by_external_id(organization_id:, resource_type_slug:, external_id:, name
|
|
363
|
+
def update_resource_by_external_id(organization_id:, resource_type_slug:, external_id:, name: nil, description: nil, parent_resource: nil, request_options: {}); end
|
|
354
364
|
|
|
355
365
|
sig do
|
|
356
366
|
params(
|
|
@@ -361,7 +371,7 @@ module WorkOS
|
|
|
361
371
|
request_options: T::Hash[Symbol, T.untyped]
|
|
362
372
|
).returns(NilClass)
|
|
363
373
|
end
|
|
364
|
-
def delete_resource_by_external_id(organization_id:, resource_type_slug:, external_id:, cascade_delete
|
|
374
|
+
def delete_resource_by_external_id(organization_id:, resource_type_slug:, external_id:, cascade_delete: nil, request_options: {}); end
|
|
365
375
|
|
|
366
376
|
sig do
|
|
367
377
|
params(
|
|
@@ -377,7 +387,7 @@ module WorkOS
|
|
|
377
387
|
request_options: T::Hash[Symbol, T.untyped]
|
|
378
388
|
).returns(WorkOS::Types::ListStruct)
|
|
379
389
|
end
|
|
380
|
-
def list_memberships_for_resource_by_external_id(organization_id:, resource_type_slug:, external_id:, permission_slug:, before
|
|
390
|
+
def list_memberships_for_resource_by_external_id(organization_id:, resource_type_slug:, external_id:, permission_slug:, before: nil, after: nil, limit: nil, order: nil, assignment: nil, request_options: {}); end
|
|
381
391
|
|
|
382
392
|
sig do
|
|
383
393
|
params(
|
|
@@ -392,7 +402,7 @@ module WorkOS
|
|
|
392
402
|
request_options: T::Hash[Symbol, T.untyped]
|
|
393
403
|
).returns(WorkOS::Types::ListStruct)
|
|
394
404
|
end
|
|
395
|
-
def list_role_assignments_for_resource_by_external_id(organization_id:, resource_type_slug:, external_id:, before
|
|
405
|
+
def list_role_assignments_for_resource_by_external_id(organization_id:, resource_type_slug:, external_id:, before: nil, after: nil, limit: nil, order: nil, role_slug: nil, request_options: {}); end
|
|
396
406
|
|
|
397
407
|
sig do
|
|
398
408
|
params(
|
|
@@ -407,7 +417,7 @@ module WorkOS
|
|
|
407
417
|
request_options: T::Hash[Symbol, T.untyped]
|
|
408
418
|
).returns(WorkOS::Types::ListStruct)
|
|
409
419
|
end
|
|
410
|
-
def list_resources(before
|
|
420
|
+
def list_resources(before: nil, after: nil, limit: nil, order: nil, organization_id: nil, resource_type_slug: nil, resource_external_id: nil, parent: nil, request_options: {}); end
|
|
411
421
|
|
|
412
422
|
sig do
|
|
413
423
|
params(
|
|
@@ -420,7 +430,7 @@ module WorkOS
|
|
|
420
430
|
request_options: T::Hash[Symbol, T.untyped]
|
|
421
431
|
).returns(WorkOS::AuthorizationResource)
|
|
422
432
|
end
|
|
423
|
-
def create_resource(external_id:, name:, resource_type_slug:, organization_id:, description
|
|
433
|
+
def create_resource(external_id:, name:, resource_type_slug:, organization_id:, description: nil, parent_resource: nil, request_options: {}); end
|
|
424
434
|
|
|
425
435
|
sig do
|
|
426
436
|
params(
|
|
@@ -428,7 +438,7 @@ module WorkOS
|
|
|
428
438
|
request_options: T::Hash[Symbol, T.untyped]
|
|
429
439
|
).returns(WorkOS::AuthorizationResource)
|
|
430
440
|
end
|
|
431
|
-
def get_resource(resource_id:, request_options:); end
|
|
441
|
+
def get_resource(resource_id:, request_options: {}); end
|
|
432
442
|
|
|
433
443
|
sig do
|
|
434
444
|
params(
|
|
@@ -439,7 +449,7 @@ module WorkOS
|
|
|
439
449
|
request_options: T::Hash[Symbol, T.untyped]
|
|
440
450
|
).returns(WorkOS::AuthorizationResource)
|
|
441
451
|
end
|
|
442
|
-
def update_resource(resource_id:, name
|
|
452
|
+
def update_resource(resource_id:, name: nil, description: nil, parent_resource: nil, request_options: {}); end
|
|
443
453
|
|
|
444
454
|
sig do
|
|
445
455
|
params(
|
|
@@ -448,7 +458,7 @@ module WorkOS
|
|
|
448
458
|
request_options: T::Hash[Symbol, T.untyped]
|
|
449
459
|
).returns(NilClass)
|
|
450
460
|
end
|
|
451
|
-
def delete_resource(resource_id:, cascade_delete
|
|
461
|
+
def delete_resource(resource_id:, cascade_delete: nil, request_options: {}); end
|
|
452
462
|
|
|
453
463
|
sig do
|
|
454
464
|
params(
|
|
@@ -462,7 +472,7 @@ module WorkOS
|
|
|
462
472
|
request_options: T::Hash[Symbol, T.untyped]
|
|
463
473
|
).returns(WorkOS::Types::ListStruct)
|
|
464
474
|
end
|
|
465
|
-
def list_memberships_for_resource(resource_id:, permission_slug:, before
|
|
475
|
+
def list_memberships_for_resource(resource_id:, permission_slug:, before: nil, after: nil, limit: nil, order: nil, assignment: nil, request_options: {}); end
|
|
466
476
|
|
|
467
477
|
sig do
|
|
468
478
|
params(
|
|
@@ -475,14 +485,14 @@ module WorkOS
|
|
|
475
485
|
request_options: T::Hash[Symbol, T.untyped]
|
|
476
486
|
).returns(WorkOS::Types::ListStruct)
|
|
477
487
|
end
|
|
478
|
-
def list_role_assignments_for_resource(resource_id:, before
|
|
488
|
+
def list_role_assignments_for_resource(resource_id:, before: nil, after: nil, limit: nil, order: nil, role_slug: nil, request_options: {}); end
|
|
479
489
|
|
|
480
490
|
sig do
|
|
481
491
|
params(
|
|
482
492
|
request_options: T::Hash[Symbol, T.untyped]
|
|
483
493
|
).returns(WorkOS::RoleList)
|
|
484
494
|
end
|
|
485
|
-
def list_environment_roles(request_options:); end
|
|
495
|
+
def list_environment_roles(request_options: {}); end
|
|
486
496
|
|
|
487
497
|
sig do
|
|
488
498
|
params(
|
|
@@ -493,7 +503,7 @@ module WorkOS
|
|
|
493
503
|
request_options: T::Hash[Symbol, T.untyped]
|
|
494
504
|
).returns(WorkOS::Role)
|
|
495
505
|
end
|
|
496
|
-
def create_environment_role(slug:, name:, description
|
|
506
|
+
def create_environment_role(slug:, name:, description: nil, resource_type_slug: nil, request_options: {}); end
|
|
497
507
|
|
|
498
508
|
sig do
|
|
499
509
|
params(
|
|
@@ -501,7 +511,7 @@ module WorkOS
|
|
|
501
511
|
request_options: T::Hash[Symbol, T.untyped]
|
|
502
512
|
).returns(WorkOS::Role)
|
|
503
513
|
end
|
|
504
|
-
def get_environment_role(slug:, request_options:); end
|
|
514
|
+
def get_environment_role(slug:, request_options: {}); end
|
|
505
515
|
|
|
506
516
|
sig do
|
|
507
517
|
params(
|
|
@@ -511,7 +521,7 @@ module WorkOS
|
|
|
511
521
|
request_options: T::Hash[Symbol, T.untyped]
|
|
512
522
|
).returns(WorkOS::Role)
|
|
513
523
|
end
|
|
514
|
-
def update_environment_role(slug:, name
|
|
524
|
+
def update_environment_role(slug:, name: nil, description: nil, request_options: {}); end
|
|
515
525
|
|
|
516
526
|
sig do
|
|
517
527
|
params(
|
|
@@ -519,7 +529,7 @@ module WorkOS
|
|
|
519
529
|
request_options: T::Hash[Symbol, T.untyped]
|
|
520
530
|
).returns(WorkOS::Role)
|
|
521
531
|
end
|
|
522
|
-
def add_environment_role_permission(slug:, request_options:); end
|
|
532
|
+
def add_environment_role_permission(slug:, request_options: {}); end
|
|
523
533
|
|
|
524
534
|
sig do
|
|
525
535
|
params(
|
|
@@ -528,7 +538,7 @@ module WorkOS
|
|
|
528
538
|
request_options: T::Hash[Symbol, T.untyped]
|
|
529
539
|
).returns(WorkOS::Role)
|
|
530
540
|
end
|
|
531
|
-
def set_environment_role_permissions(slug:, permissions:, request_options:); end
|
|
541
|
+
def set_environment_role_permissions(slug:, permissions:, request_options: {}); end
|
|
532
542
|
|
|
533
543
|
sig do
|
|
534
544
|
params(
|
|
@@ -539,7 +549,7 @@ module WorkOS
|
|
|
539
549
|
request_options: T::Hash[Symbol, T.untyped]
|
|
540
550
|
).returns(WorkOS::Types::ListStruct)
|
|
541
551
|
end
|
|
542
|
-
def list_permissions(before
|
|
552
|
+
def list_permissions(before: nil, after: nil, limit: nil, order: nil, request_options: {}); end
|
|
543
553
|
|
|
544
554
|
sig do
|
|
545
555
|
params(
|
|
@@ -550,7 +560,7 @@ module WorkOS
|
|
|
550
560
|
request_options: T::Hash[Symbol, T.untyped]
|
|
551
561
|
).returns(WorkOS::Permission)
|
|
552
562
|
end
|
|
553
|
-
def create_permission(slug:, name:, description
|
|
563
|
+
def create_permission(slug:, name:, description: nil, resource_type_slug: nil, request_options: {}); end
|
|
554
564
|
|
|
555
565
|
sig do
|
|
556
566
|
params(
|
|
@@ -558,7 +568,7 @@ module WorkOS
|
|
|
558
568
|
request_options: T::Hash[Symbol, T.untyped]
|
|
559
569
|
).returns(WorkOS::AuthorizationPermission)
|
|
560
570
|
end
|
|
561
|
-
def get_permission(slug:, request_options:); end
|
|
571
|
+
def get_permission(slug:, request_options: {}); end
|
|
562
572
|
|
|
563
573
|
sig do
|
|
564
574
|
params(
|
|
@@ -568,7 +578,7 @@ module WorkOS
|
|
|
568
578
|
request_options: T::Hash[Symbol, T.untyped]
|
|
569
579
|
).returns(WorkOS::AuthorizationPermission)
|
|
570
580
|
end
|
|
571
|
-
def update_permission(slug:, name
|
|
581
|
+
def update_permission(slug:, name: nil, description: nil, request_options: {}); end
|
|
572
582
|
|
|
573
583
|
sig do
|
|
574
584
|
params(
|
|
@@ -576,7 +586,7 @@ module WorkOS
|
|
|
576
586
|
request_options: T::Hash[Symbol, T.untyped]
|
|
577
587
|
).returns(NilClass)
|
|
578
588
|
end
|
|
579
|
-
def delete_permission(slug:, request_options:); end
|
|
589
|
+
def delete_permission(slug:, request_options: {}); end
|
|
580
590
|
|
|
581
591
|
end
|
|
582
592
|
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 AuthorizationPendingOAuthErrorBody
|
|
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 error; end
|
|
14
|
+
|
|
15
|
+
sig { params(value: String).returns(String) }
|
|
16
|
+
def error=(value); end
|
|
17
|
+
|
|
18
|
+
sig { returns(String) }
|
|
19
|
+
def error_description; end
|
|
20
|
+
|
|
21
|
+
sig { params(value: String).returns(String) }
|
|
22
|
+
def error_description=(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
|
|
@@ -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 AuthorizationUrlNotFoundErrorBody
|
|
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
|
|
@@ -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 AuthorizationUrlRequestErrorBody
|
|
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/client_api.rbi
CHANGED
|
@@ -16,7 +16,7 @@ module WorkOS
|
|
|
16
16
|
request_options: T::Hash[Symbol, T.untyped]
|
|
17
17
|
).returns(WorkOS::ClientApiTokenResponse)
|
|
18
18
|
end
|
|
19
|
-
def create_token(organization_id:, user_id:, request_options:); end
|
|
19
|
+
def create_token(organization_id:, user_id:, request_options: {}); end
|
|
20
20
|
|
|
21
21
|
end
|
|
22
22
|
end
|
|
@@ -0,0 +1,66 @@
|
|
|
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 ClientCredentialsDataIntegrationVendedCredential
|
|
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 object; end
|
|
14
|
+
|
|
15
|
+
sig { params(value: String).returns(String) }
|
|
16
|
+
def object=(value); end
|
|
17
|
+
|
|
18
|
+
sig { returns(String) }
|
|
19
|
+
def auth_method; end
|
|
20
|
+
|
|
21
|
+
sig { params(value: String).returns(String) }
|
|
22
|
+
def auth_method=(value); end
|
|
23
|
+
|
|
24
|
+
sig { returns(String) }
|
|
25
|
+
def value; end
|
|
26
|
+
|
|
27
|
+
sig { params(value: String).returns(String) }
|
|
28
|
+
def value=(value); end
|
|
29
|
+
|
|
30
|
+
sig { returns(T.nilable(String)) }
|
|
31
|
+
def expires_at; end
|
|
32
|
+
|
|
33
|
+
sig { params(value: T.nilable(String)).returns(T.nilable(String)) }
|
|
34
|
+
def expires_at=(value); end
|
|
35
|
+
|
|
36
|
+
sig { returns(T::Array[String]) }
|
|
37
|
+
def scopes; end
|
|
38
|
+
|
|
39
|
+
sig { params(value: T::Array[String]).returns(T::Array[String]) }
|
|
40
|
+
def scopes=(value); end
|
|
41
|
+
|
|
42
|
+
sig { returns(T::Array[String]) }
|
|
43
|
+
def missing_scopes; end
|
|
44
|
+
|
|
45
|
+
sig { params(value: T::Array[String]).returns(T::Array[String]) }
|
|
46
|
+
def missing_scopes=(value); end
|
|
47
|
+
|
|
48
|
+
sig { returns(T::Hash[String, T.untyped]) }
|
|
49
|
+
def metadata; end
|
|
50
|
+
|
|
51
|
+
sig { params(value: T::Hash[String, T.untyped]).returns(T::Hash[String, T.untyped]) }
|
|
52
|
+
def metadata=(value); end
|
|
53
|
+
|
|
54
|
+
sig { returns(T::Hash[String, String]) }
|
|
55
|
+
def config; end
|
|
56
|
+
|
|
57
|
+
sig { params(value: T::Hash[String, String]).returns(T::Hash[String, String]) }
|
|
58
|
+
def config=(value); end
|
|
59
|
+
|
|
60
|
+
sig { returns(T::Hash[Symbol, T.untyped]) }
|
|
61
|
+
def to_h; end
|
|
62
|
+
|
|
63
|
+
sig { params(args: T.untyped).returns(String) }
|
|
64
|
+
def to_json(*args); end
|
|
65
|
+
end
|
|
66
|
+
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 CodeChallengeNotFoundErrorBody
|
|
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
|