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
|
@@ -20,7 +20,7 @@ module WorkOS
|
|
|
20
20
|
request_options: T::Hash[Symbol, T.untyped]
|
|
21
21
|
).returns(WorkOS::Types::ListStruct)
|
|
22
22
|
end
|
|
23
|
-
def list_organizations(before
|
|
23
|
+
def list_organizations(before: nil, after: nil, limit: nil, order: nil, domains: nil, search: nil, request_options: {}); end
|
|
24
24
|
|
|
25
25
|
sig do
|
|
26
26
|
params(
|
|
@@ -33,7 +33,7 @@ module WorkOS
|
|
|
33
33
|
request_options: T::Hash[Symbol, T.untyped]
|
|
34
34
|
).returns(WorkOS::Organization)
|
|
35
35
|
end
|
|
36
|
-
def create_organization(name:, allow_profiles_outside_organization
|
|
36
|
+
def create_organization(name:, allow_profiles_outside_organization: nil, domains: nil, domain_data: nil, metadata: nil, external_id: nil, request_options: {}); end
|
|
37
37
|
|
|
38
38
|
sig do
|
|
39
39
|
params(
|
|
@@ -41,7 +41,7 @@ module WorkOS
|
|
|
41
41
|
request_options: T::Hash[Symbol, T.untyped]
|
|
42
42
|
).returns(WorkOS::Organization)
|
|
43
43
|
end
|
|
44
|
-
def get_organization_by_external_id(external_id:, request_options:); end
|
|
44
|
+
def get_organization_by_external_id(external_id:, request_options: {}); end
|
|
45
45
|
|
|
46
46
|
sig do
|
|
47
47
|
params(
|
|
@@ -49,7 +49,7 @@ module WorkOS
|
|
|
49
49
|
request_options: T::Hash[Symbol, T.untyped]
|
|
50
50
|
).returns(WorkOS::Organization)
|
|
51
51
|
end
|
|
52
|
-
def get_organization(id:, request_options:); end
|
|
52
|
+
def get_organization(id:, request_options: {}); end
|
|
53
53
|
|
|
54
54
|
sig do
|
|
55
55
|
params(
|
|
@@ -64,7 +64,7 @@ module WorkOS
|
|
|
64
64
|
request_options: T::Hash[Symbol, T.untyped]
|
|
65
65
|
).returns(WorkOS::Organization)
|
|
66
66
|
end
|
|
67
|
-
def update_organization(id:, name
|
|
67
|
+
def update_organization(id:, name: nil, allow_profiles_outside_organization: nil, domains: nil, domain_data: nil, stripe_customer_id: nil, metadata: nil, external_id: nil, request_options: {}); end
|
|
68
68
|
|
|
69
69
|
sig do
|
|
70
70
|
params(
|
|
@@ -72,7 +72,7 @@ module WorkOS
|
|
|
72
72
|
request_options: T::Hash[Symbol, T.untyped]
|
|
73
73
|
).returns(NilClass)
|
|
74
74
|
end
|
|
75
|
-
def delete_organization(id:, request_options:); end
|
|
75
|
+
def delete_organization(id:, request_options: {}); end
|
|
76
76
|
|
|
77
77
|
sig do
|
|
78
78
|
params(
|
|
@@ -80,7 +80,7 @@ module WorkOS
|
|
|
80
80
|
request_options: T::Hash[Symbol, T.untyped]
|
|
81
81
|
).returns(WorkOS::AuditLogConfiguration)
|
|
82
82
|
end
|
|
83
|
-
def get_audit_log_configuration(id:, request_options:); end
|
|
83
|
+
def get_audit_log_configuration(id:, request_options: {}); end
|
|
84
84
|
|
|
85
85
|
sig do
|
|
86
86
|
params(
|
|
@@ -92,7 +92,7 @@ module WorkOS
|
|
|
92
92
|
request_options: T::Hash[Symbol, T.untyped]
|
|
93
93
|
).returns(WorkOS::Types::ListStruct)
|
|
94
94
|
end
|
|
95
|
-
def list_authorized_applications(organization_id:, before
|
|
95
|
+
def list_authorized_applications(organization_id:, before: nil, after: nil, limit: nil, order: nil, request_options: {}); end
|
|
96
96
|
|
|
97
97
|
sig do
|
|
98
98
|
params(
|
|
@@ -100,7 +100,7 @@ module WorkOS
|
|
|
100
100
|
request_options: T::Hash[Symbol, T.untyped]
|
|
101
101
|
).returns(WorkOS::Types::ListStruct)
|
|
102
102
|
end
|
|
103
|
-
def list_it_contacts(organization_id:, request_options:); end
|
|
103
|
+
def list_it_contacts(organization_id:, request_options: {}); end
|
|
104
104
|
|
|
105
105
|
sig do
|
|
106
106
|
params(
|
|
@@ -109,7 +109,7 @@ module WorkOS
|
|
|
109
109
|
request_options: T::Hash[Symbol, T.untyped]
|
|
110
110
|
).returns(WorkOS::ItContact)
|
|
111
111
|
end
|
|
112
|
-
def create_it_contact(organization_id:, email:, request_options:); end
|
|
112
|
+
def create_it_contact(organization_id:, email:, request_options: {}); end
|
|
113
113
|
|
|
114
114
|
sig do
|
|
115
115
|
params(
|
|
@@ -118,7 +118,7 @@ module WorkOS
|
|
|
118
118
|
request_options: T::Hash[Symbol, T.untyped]
|
|
119
119
|
).returns(NilClass)
|
|
120
120
|
end
|
|
121
|
-
def delete_it_contact(organization_id:, contact_id:, request_options:); end
|
|
121
|
+
def delete_it_contact(organization_id:, contact_id:, request_options: {}); end
|
|
122
122
|
|
|
123
123
|
sig do
|
|
124
124
|
params(
|
|
@@ -128,7 +128,7 @@ module WorkOS
|
|
|
128
128
|
request_options: T::Hash[Symbol, T.untyped]
|
|
129
129
|
).returns(NilClass)
|
|
130
130
|
end
|
|
131
|
-
def invite_it_contact(organization_id:, contact_id:, intents:, request_options:); end
|
|
131
|
+
def invite_it_contact(organization_id:, contact_id:, intents:, request_options: {}); end
|
|
132
132
|
|
|
133
133
|
sig do
|
|
134
134
|
params(
|
|
@@ -137,7 +137,7 @@ module WorkOS
|
|
|
137
137
|
request_options: T::Hash[Symbol, T.untyped]
|
|
138
138
|
).returns(NilClass)
|
|
139
139
|
end
|
|
140
|
-
def revoke_it_contact(organization_id:, contact_id:, request_options:); end
|
|
140
|
+
def revoke_it_contact(organization_id:, contact_id:, request_options: {}); end
|
|
141
141
|
|
|
142
142
|
end
|
|
143
143
|
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 PasskeyProgressiveEnrollmentErrorBody
|
|
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 PasswordAndPasswordHashProvidedErrorBody
|
|
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 PasswordAndPasswordHashTypeProvidedErrorBody
|
|
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 PasswordSaltPositionRequiresPasswordHashErrorBody
|
|
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,36 @@
|
|
|
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 PasswordStrengthErrorErrorBodyWithErrors
|
|
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::Array[WorkOS::ErrorBodyWithCode]) }
|
|
25
|
+
def errors; end
|
|
26
|
+
|
|
27
|
+
sig { params(value: T::Array[WorkOS::ErrorBodyWithCode]).returns(T::Array[WorkOS::ErrorBodyWithCode]) }
|
|
28
|
+
def errors=(value); end
|
|
29
|
+
|
|
30
|
+
sig { returns(T::Hash[Symbol, T.untyped]) }
|
|
31
|
+
def to_h; end
|
|
32
|
+
|
|
33
|
+
sig { params(args: T.untyped).returns(String) }
|
|
34
|
+
def to_json(*args); end
|
|
35
|
+
end
|
|
36
|
+
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 PatchGroupMemberships
|
|
9
|
+
sig { params(json: T.any(String, T::Hash[Symbol, T.untyped])).void }
|
|
10
|
+
def initialize(json); end
|
|
11
|
+
|
|
12
|
+
sig { returns(T.nilable(T::Array[String])) }
|
|
13
|
+
def add; end
|
|
14
|
+
|
|
15
|
+
sig { params(value: T.nilable(T::Array[String])).returns(T.nilable(T::Array[String])) }
|
|
16
|
+
def add=(value); end
|
|
17
|
+
|
|
18
|
+
sig { returns(T.nilable(T::Array[String])) }
|
|
19
|
+
def remove; end
|
|
20
|
+
|
|
21
|
+
sig { params(value: T.nilable(T::Array[String])).returns(T.nilable(T::Array[String])) }
|
|
22
|
+
def remove=(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 PatchGroupRoleAssignments
|
|
9
|
+
sig { params(json: T.any(String, T::Hash[Symbol, T.untyped])).void }
|
|
10
|
+
def initialize(json); end
|
|
11
|
+
|
|
12
|
+
sig { returns(T.nilable(T::Array[WorkOS::ReplaceGroupRoleAssignmentEntry])) }
|
|
13
|
+
def add; end
|
|
14
|
+
|
|
15
|
+
sig { params(value: T.nilable(T::Array[WorkOS::ReplaceGroupRoleAssignmentEntry])).returns(T.nilable(T::Array[WorkOS::ReplaceGroupRoleAssignmentEntry])) }
|
|
16
|
+
def add=(value); end
|
|
17
|
+
|
|
18
|
+
sig { returns(T.nilable(T::Array[WorkOS::ReplaceGroupRoleAssignmentEntry])) }
|
|
19
|
+
def remove; end
|
|
20
|
+
|
|
21
|
+
sig { params(value: T.nilable(T::Array[WorkOS::ReplaceGroupRoleAssignmentEntry])).returns(T.nilable(T::Array[WorkOS::ReplaceGroupRoleAssignmentEntry])) }
|
|
22
|
+
def remove=(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 PhoneNumberRequiredErrorBody
|
|
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/pipes.rbi
CHANGED
|
@@ -19,7 +19,7 @@ module WorkOS
|
|
|
19
19
|
request_options: T::Hash[Symbol, T.untyped]
|
|
20
20
|
).returns(WorkOS::Types::ListStruct)
|
|
21
21
|
end
|
|
22
|
-
def list_data_integrations(before
|
|
22
|
+
def list_data_integrations(before: nil, after: nil, limit: nil, order: nil, ownership: nil, request_options: {}); end
|
|
23
23
|
|
|
24
24
|
sig do
|
|
25
25
|
params(
|
|
@@ -36,7 +36,17 @@ module WorkOS
|
|
|
36
36
|
request_options: T::Hash[Symbol, T.untyped]
|
|
37
37
|
).returns(WorkOS::DataIntegration)
|
|
38
38
|
end
|
|
39
|
-
def create_data_integration(provider:, ownership
|
|
39
|
+
def create_data_integration(provider:, ownership: nil, description: nil, enabled: nil, scopes: nil, auth_methods: nil, config: nil, credentials: nil, api_key: nil, custom_provider: nil, request_options: {}); end
|
|
40
|
+
|
|
41
|
+
sig do
|
|
42
|
+
params(
|
|
43
|
+
connect_code: String,
|
|
44
|
+
code_verifier: String,
|
|
45
|
+
state: T.nilable(String),
|
|
46
|
+
request_options: T::Hash[Symbol, T.untyped]
|
|
47
|
+
).returns(WorkOS::DataIntegrationFinishConnectionResponse)
|
|
48
|
+
end
|
|
49
|
+
def finish_connection(connect_code:, code_verifier:, state: nil, request_options: {}); end
|
|
40
50
|
|
|
41
51
|
sig do
|
|
42
52
|
params(
|
|
@@ -44,7 +54,7 @@ module WorkOS
|
|
|
44
54
|
request_options: T::Hash[Symbol, T.untyped]
|
|
45
55
|
).returns(WorkOS::DataIntegration)
|
|
46
56
|
end
|
|
47
|
-
def get_data_integration(slug:, request_options:); end
|
|
57
|
+
def get_data_integration(slug:, request_options: {}); end
|
|
48
58
|
|
|
49
59
|
sig do
|
|
50
60
|
params(
|
|
@@ -58,7 +68,7 @@ module WorkOS
|
|
|
58
68
|
request_options: T::Hash[Symbol, T.untyped]
|
|
59
69
|
).returns(WorkOS::DataIntegration)
|
|
60
70
|
end
|
|
61
|
-
def update_data_integration(slug:, description
|
|
71
|
+
def update_data_integration(slug:, description: nil, enabled: nil, scopes: nil, credentials: nil, api_key: nil, custom_provider: nil, request_options: {}); end
|
|
62
72
|
|
|
63
73
|
sig do
|
|
64
74
|
params(
|
|
@@ -66,7 +76,7 @@ module WorkOS
|
|
|
66
76
|
request_options: T::Hash[Symbol, T.untyped]
|
|
67
77
|
).returns(NilClass)
|
|
68
78
|
end
|
|
69
|
-
def delete_data_integration(slug:, request_options:); end
|
|
79
|
+
def delete_data_integration(slug:, request_options: {}); end
|
|
70
80
|
|
|
71
81
|
sig do
|
|
72
82
|
params(
|
|
@@ -79,9 +89,9 @@ module WorkOS
|
|
|
79
89
|
organization_id: T.nilable(String),
|
|
80
90
|
connection_owner: T.nilable(String),
|
|
81
91
|
request_options: T::Hash[Symbol, T.untyped]
|
|
82
|
-
).returns(WorkOS::
|
|
92
|
+
).returns(WorkOS::ConnectedAccount)
|
|
83
93
|
end
|
|
84
|
-
def create_data_integration_api_key(slug:, user_id:, secret:, connection_intent:, account_display_name
|
|
94
|
+
def create_data_integration_api_key(slug:, user_id:, secret:, connection_intent:, account_display_name: nil, account_identifier: nil, organization_id: nil, connection_owner: nil, request_options: {}); end
|
|
85
95
|
|
|
86
96
|
sig do
|
|
87
97
|
params(
|
|
@@ -92,10 +102,12 @@ module WorkOS
|
|
|
92
102
|
account_identifier: T.nilable(String),
|
|
93
103
|
organization_id: T.nilable(String),
|
|
94
104
|
connection_owner: T.nilable(String),
|
|
105
|
+
connection_intent: T.nilable(String),
|
|
106
|
+
connected_account_id: T.nilable(String),
|
|
95
107
|
request_options: T::Hash[Symbol, T.untyped]
|
|
96
|
-
).returns(WorkOS::
|
|
108
|
+
).returns(WorkOS::ConnectedAccount)
|
|
97
109
|
end
|
|
98
|
-
def update_data_integration_api_key(slug:, user_id:, secret:, account_display_name
|
|
110
|
+
def update_data_integration_api_key(slug:, user_id:, secret:, account_display_name: nil, account_identifier: nil, organization_id: nil, connection_owner: nil, connection_intent: nil, connected_account_id: nil, request_options: {}); end
|
|
99
111
|
|
|
100
112
|
sig do
|
|
101
113
|
params(
|
|
@@ -105,11 +117,15 @@ module WorkOS
|
|
|
105
117
|
organization_id: T.nilable(String),
|
|
106
118
|
connection_owner: T.nilable(String),
|
|
107
119
|
return_to: T.nilable(String),
|
|
120
|
+
code_challenge: T.nilable(String),
|
|
121
|
+
code_challenge_method: T.nilable(String),
|
|
108
122
|
config: T.nilable(T::Hash[String, String]),
|
|
123
|
+
connection_intent: T.nilable(String),
|
|
124
|
+
connected_account_id: T.nilable(String),
|
|
109
125
|
request_options: T::Hash[Symbol, T.untyped]
|
|
110
126
|
).returns(WorkOS::DataIntegrationAuthorizeUrlResponse)
|
|
111
127
|
end
|
|
112
|
-
def authorize_data_integration(slug:, user_id:, account_display_name
|
|
128
|
+
def authorize_data_integration(slug:, user_id:, account_display_name: nil, organization_id: nil, connection_owner: nil, return_to: nil, code_challenge: nil, code_challenge_method: nil, config: nil, connection_intent: nil, connected_account_id: nil, request_options: {}); end
|
|
113
129
|
|
|
114
130
|
sig do
|
|
115
131
|
params(
|
|
@@ -124,9 +140,9 @@ module WorkOS
|
|
|
124
140
|
connection_owner: T.nilable(String),
|
|
125
141
|
config: T.nilable(T::Hash[String, String]),
|
|
126
142
|
request_options: T::Hash[Symbol, T.untyped]
|
|
127
|
-
).returns(WorkOS::
|
|
143
|
+
).returns(WorkOS::ConnectedAccount)
|
|
128
144
|
end
|
|
129
|
-
def create_data_integration_client_credential(slug:, user_id:, client_id:, client_secret:, connection_intent:, account_display_name
|
|
145
|
+
def create_data_integration_client_credential(slug:, user_id:, client_id:, client_secret:, connection_intent:, account_display_name: nil, account_identifier: nil, organization_id: nil, connection_owner: nil, config: nil, request_options: {}); end
|
|
130
146
|
|
|
131
147
|
sig do
|
|
132
148
|
params(
|
|
@@ -139,10 +155,12 @@ module WorkOS
|
|
|
139
155
|
organization_id: T.nilable(String),
|
|
140
156
|
connection_owner: T.nilable(String),
|
|
141
157
|
config: T.nilable(T::Hash[String, String]),
|
|
158
|
+
connection_intent: T.nilable(String),
|
|
159
|
+
connected_account_id: T.nilable(String),
|
|
142
160
|
request_options: T::Hash[Symbol, T.untyped]
|
|
143
|
-
).returns(WorkOS::
|
|
161
|
+
).returns(WorkOS::ConnectedAccount)
|
|
144
162
|
end
|
|
145
|
-
def update_data_integration_client_credentials(slug:, user_id:, client_id:, client_secret:, account_display_name
|
|
163
|
+
def update_data_integration_client_credentials(slug:, user_id:, client_id:, client_secret:, account_display_name: nil, account_identifier: nil, organization_id: nil, connection_owner: nil, config: nil, connection_intent: nil, connected_account_id: nil, request_options: {}); end
|
|
146
164
|
|
|
147
165
|
sig do
|
|
148
166
|
params(
|
|
@@ -155,7 +173,7 @@ module WorkOS
|
|
|
155
173
|
request_options: T::Hash[Symbol, T.untyped]
|
|
156
174
|
).returns(WorkOS::DataIntegrationCredentialsResponse)
|
|
157
175
|
end
|
|
158
|
-
def create_data_integration_credential(slug:, user_id:, organization_id
|
|
176
|
+
def create_data_integration_credential(slug:, user_id:, organization_id: nil, connected_account_id: nil, connection_owner: nil, supports_multiple_connections: nil, request_options: {}); end
|
|
159
177
|
|
|
160
178
|
sig do
|
|
161
179
|
params(
|
|
@@ -163,7 +181,7 @@ module WorkOS
|
|
|
163
181
|
request_options: T::Hash[Symbol, T.untyped]
|
|
164
182
|
).returns(WorkOS::DataIntegration)
|
|
165
183
|
end
|
|
166
|
-
def list_data_integration_organization(slug:, request_options:); end
|
|
184
|
+
def list_data_integration_organization(slug:, request_options: {}); end
|
|
167
185
|
|
|
168
186
|
sig do
|
|
169
187
|
params(
|
|
@@ -177,7 +195,7 @@ module WorkOS
|
|
|
177
195
|
request_options: T::Hash[Symbol, T.untyped]
|
|
178
196
|
).returns(WorkOS::DataIntegration)
|
|
179
197
|
end
|
|
180
|
-
def update_data_integration_organization(slug:, description
|
|
198
|
+
def update_data_integration_organization(slug:, description: nil, enabled: nil, scopes: nil, credentials: nil, api_key: nil, custom_provider: nil, request_options: {}); end
|
|
181
199
|
|
|
182
200
|
sig do
|
|
183
201
|
params(
|
|
@@ -185,7 +203,7 @@ module WorkOS
|
|
|
185
203
|
request_options: T::Hash[Symbol, T.untyped]
|
|
186
204
|
).returns(NilClass)
|
|
187
205
|
end
|
|
188
|
-
def delete_data_integration_organization(slug:, request_options:); end
|
|
206
|
+
def delete_data_integration_organization(slug:, request_options: {}); end
|
|
189
207
|
|
|
190
208
|
sig do
|
|
191
209
|
params(
|
|
@@ -198,7 +216,7 @@ module WorkOS
|
|
|
198
216
|
request_options: T::Hash[Symbol, T.untyped]
|
|
199
217
|
).returns(WorkOS::DataIntegrationAccessTokenResponse)
|
|
200
218
|
end
|
|
201
|
-
def get_access_token(provider:, user_id:, organization_id
|
|
219
|
+
def get_access_token(provider:, user_id:, organization_id: nil, connected_account_id: nil, connection_owner: nil, supports_multiple_connections: nil, request_options: {}); end
|
|
202
220
|
|
|
203
221
|
sig do
|
|
204
222
|
params(
|
|
@@ -209,7 +227,7 @@ module WorkOS
|
|
|
209
227
|
request_options: T::Hash[Symbol, T.untyped]
|
|
210
228
|
).returns(WorkOS::ConnectedAccount)
|
|
211
229
|
end
|
|
212
|
-
def get_organization_connected_account(organization_id:, slug:, supports_multiple_connections
|
|
230
|
+
def get_organization_connected_account(organization_id:, slug:, supports_multiple_connections: nil, connected_account_id: nil, request_options: {}); end
|
|
213
231
|
|
|
214
232
|
sig do
|
|
215
233
|
params(
|
|
@@ -225,9 +243,9 @@ module WorkOS
|
|
|
225
243
|
state: T.nilable(String),
|
|
226
244
|
connection_intent: T.nilable(String),
|
|
227
245
|
request_options: T::Hash[Symbol, T.untyped]
|
|
228
|
-
).returns(WorkOS::
|
|
246
|
+
).returns(WorkOS::ConnectedAccount)
|
|
229
247
|
end
|
|
230
|
-
def create_organization_connected_account(organization_id:, slug:, user_id:, account_display_name
|
|
248
|
+
def create_organization_connected_account(organization_id:, slug:, user_id:, account_display_name: nil, account_identifier: nil, access_token: nil, refresh_token: nil, expires_at: nil, scopes: nil, state: nil, connection_intent: nil, request_options: {}); end
|
|
231
249
|
|
|
232
250
|
sig do
|
|
233
251
|
params(
|
|
@@ -245,9 +263,9 @@ module WorkOS
|
|
|
245
263
|
connected_account_id: T.nilable(String),
|
|
246
264
|
connection_intent: T.nilable(String),
|
|
247
265
|
request_options: T::Hash[Symbol, T.untyped]
|
|
248
|
-
).returns(WorkOS::
|
|
266
|
+
).returns(WorkOS::ConnectedAccount)
|
|
249
267
|
end
|
|
250
|
-
def update_organization_connected_account(organization_id:, slug:, user_id:, account_display_name
|
|
268
|
+
def update_organization_connected_account(organization_id:, slug:, user_id:, account_display_name: nil, account_identifier: nil, access_token: nil, refresh_token: nil, expires_at: nil, scopes: nil, state: nil, supports_multiple_connections: nil, connected_account_id: nil, connection_intent: nil, request_options: {}); end
|
|
251
269
|
|
|
252
270
|
sig do
|
|
253
271
|
params(
|
|
@@ -258,7 +276,7 @@ module WorkOS
|
|
|
258
276
|
request_options: T::Hash[Symbol, T.untyped]
|
|
259
277
|
).returns(NilClass)
|
|
260
278
|
end
|
|
261
|
-
def delete_organization_connected_account(organization_id:, slug:, supports_multiple_connections
|
|
279
|
+
def delete_organization_connected_account(organization_id:, slug:, supports_multiple_connections: nil, connected_account_id: nil, request_options: {}); end
|
|
262
280
|
|
|
263
281
|
sig do
|
|
264
282
|
params(
|
|
@@ -267,7 +285,7 @@ module WorkOS
|
|
|
267
285
|
request_options: T::Hash[Symbol, T.untyped]
|
|
268
286
|
).returns(WorkOS::DataIntegrationsListResponse)
|
|
269
287
|
end
|
|
270
|
-
def list_organization_data_providers(organization_id:, supports_multiple_connections
|
|
288
|
+
def list_organization_data_providers(organization_id:, supports_multiple_connections: nil, request_options: {}); end
|
|
271
289
|
|
|
272
290
|
sig do
|
|
273
291
|
params(
|
|
@@ -279,7 +297,7 @@ module WorkOS
|
|
|
279
297
|
request_options: T::Hash[Symbol, T.untyped]
|
|
280
298
|
).returns(WorkOS::ConnectedAccount)
|
|
281
299
|
end
|
|
282
|
-
def get_user_connected_account(user_id:, slug:, organization_id
|
|
300
|
+
def get_user_connected_account(user_id:, slug:, organization_id: nil, supports_multiple_connections: nil, connected_account_id: nil, request_options: {}); end
|
|
283
301
|
|
|
284
302
|
sig do
|
|
285
303
|
params(
|
|
@@ -295,9 +313,9 @@ module WorkOS
|
|
|
295
313
|
connection_intent: T.nilable(String),
|
|
296
314
|
organization_id: T.nilable(String),
|
|
297
315
|
request_options: T::Hash[Symbol, T.untyped]
|
|
298
|
-
).returns(WorkOS::
|
|
316
|
+
).returns(WorkOS::ConnectedAccount)
|
|
299
317
|
end
|
|
300
|
-
def create_user_connected_account(user_id:, slug:, account_display_name
|
|
318
|
+
def create_user_connected_account(user_id:, slug:, account_display_name: nil, account_identifier: nil, access_token: nil, refresh_token: nil, expires_at: nil, scopes: nil, state: nil, connection_intent: nil, organization_id: nil, request_options: {}); end
|
|
301
319
|
|
|
302
320
|
sig do
|
|
303
321
|
params(
|
|
@@ -315,9 +333,9 @@ module WorkOS
|
|
|
315
333
|
connected_account_id: T.nilable(String),
|
|
316
334
|
connection_intent: T.nilable(String),
|
|
317
335
|
request_options: T::Hash[Symbol, T.untyped]
|
|
318
|
-
).returns(WorkOS::
|
|
336
|
+
).returns(WorkOS::ConnectedAccount)
|
|
319
337
|
end
|
|
320
|
-
def update_user_connected_account(user_id:, slug:, account_display_name
|
|
338
|
+
def update_user_connected_account(user_id:, slug:, account_display_name: nil, account_identifier: nil, access_token: nil, refresh_token: nil, expires_at: nil, scopes: nil, state: nil, organization_id: nil, supports_multiple_connections: nil, connected_account_id: nil, connection_intent: nil, request_options: {}); end
|
|
321
339
|
|
|
322
340
|
sig do
|
|
323
341
|
params(
|
|
@@ -329,7 +347,7 @@ module WorkOS
|
|
|
329
347
|
request_options: T::Hash[Symbol, T.untyped]
|
|
330
348
|
).returns(NilClass)
|
|
331
349
|
end
|
|
332
|
-
def delete_user_connected_account(user_id:, slug:, organization_id
|
|
350
|
+
def delete_user_connected_account(user_id:, slug:, organization_id: nil, supports_multiple_connections: nil, connected_account_id: nil, request_options: {}); end
|
|
333
351
|
|
|
334
352
|
sig do
|
|
335
353
|
params(
|
|
@@ -339,7 +357,7 @@ module WorkOS
|
|
|
339
357
|
request_options: T::Hash[Symbol, T.untyped]
|
|
340
358
|
).returns(WorkOS::DataIntegrationsListResponse)
|
|
341
359
|
end
|
|
342
|
-
def list_user_data_providers(user_id:, organization_id
|
|
360
|
+
def list_user_data_providers(user_id:, organization_id: nil, supports_multiple_connections: nil, request_options: {}); end
|
|
343
361
|
|
|
344
362
|
end
|
|
345
363
|
end
|
|
@@ -15,7 +15,7 @@ module WorkOS
|
|
|
15
15
|
request_options: T::Hash[Symbol, T.untyped]
|
|
16
16
|
).returns(WorkOS::DataIntegrationConfigurationListResponse)
|
|
17
17
|
end
|
|
18
|
-
def list_organization_data_integration_configurations(organization_id:, request_options:); end
|
|
18
|
+
def list_organization_data_integration_configurations(organization_id:, request_options: {}); end
|
|
19
19
|
|
|
20
20
|
sig do
|
|
21
21
|
params(
|
|
@@ -29,7 +29,7 @@ module WorkOS
|
|
|
29
29
|
request_options: T::Hash[Symbol, T.untyped]
|
|
30
30
|
).returns(WorkOS::DataIntegrationConfigurationResponse)
|
|
31
31
|
end
|
|
32
|
-
def update_organization_data_integration_configuration(organization_id:, slug:, enabled
|
|
32
|
+
def update_organization_data_integration_configuration(organization_id:, slug:, enabled: nil, scopes: nil, client_id: nil, client_secret: nil, config: nil, request_options: {}); end
|
|
33
33
|
|
|
34
34
|
end
|
|
35
35
|
end
|