workos 10.6.0 → 10.7.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/.last-synced-sha +1 -1
- data/.oagen-manifest.json +30 -10
- data/.release-please-manifest.json +1 -1
- data/CHANGELOG.md +84 -0
- data/Gemfile.lock +2 -2
- data/lib/workos/audit_logs.rb +2 -2
- data/lib/workos/client_api.rb +3 -3
- data/lib/workos/directory_sync/directory_user_with_groups.rb +1 -1
- data/lib/workos/directory_sync.rb +160 -0
- data/lib/workos/inflections.rb +1 -1
- data/lib/workos/pipes/connected_account_input.rb +3 -0
- data/lib/workos/pipes/create_connected_account.rb +6 -0
- data/lib/workos/pipes/create_organization_connected_account.rb +6 -0
- data/lib/workos/pipes/organization_connected_account.rb +3 -0
- data/lib/workos/pipes.rb +18 -0
- data/lib/workos/pipes_provider.rb +12 -0
- data/lib/workos/session.rb +12 -0
- data/lib/workos/shared/agent_registration_claim_completed_data.rb +3 -0
- data/lib/workos/shared/error_body_with_code.rb +16 -1
- data/lib/workos/shared/policy_denied_error_body.rb +5 -2
- data/lib/workos/shared/{sso_required_oauth_error_body_with_connection_ids_list_email_pending_authentication_token.rb → sso_required_oauth_error_body_with_connection_ids_list_email.rb} +1 -1
- data/lib/workos/sso.rb +6 -2
- data/lib/workos/types/connections_state.rb +14 -0
- data/lib/workos/types/data_integration_vended_credential_auth_method.rb +9 -0
- data/lib/workos/types/error_body_code.rb +1 -2
- data/lib/workos/types/pipes_provider_ownership.rb +9 -0
- data/lib/workos/user_management/authentication_email_verification_failed_data_error.rb +5 -2
- data/lib/workos/user_management/authentication_radar_risk_detected_data.rb +5 -2
- data/lib/workos/version.rb +1 -1
- data/rbi/workos/account_selection_required_error_body.rbi +1 -22
- data/rbi/workos/agent_blueprint_invocable_by.rbi +1 -22
- data/rbi/workos/agent_blueprint_updated_data_invocable_by.rbi +1 -22
- data/rbi/workos/agent_blueprint_updated_data_session_setting.rbi +1 -28
- data/rbi/workos/agent_blueprints_create_request_session_setting.rbi +1 -28
- data/rbi/workos/agent_blueprints_update_request_invocable_by.rbi +1 -22
- data/rbi/workos/agent_registration_claim_completed_data.rbi +6 -0
- data/rbi/workos/agent_registration_expired_data.rbi +1 -16
- data/rbi/workos/agent_registration_refreshed_data.rbi +1 -16
- data/rbi/workos/agent_registration_revoked_data.rbi +1 -16
- data/rbi/workos/api_key_owner.rbi +1 -22
- data/rbi/workos/api_key_revoked_data.rbi +1 -70
- data/rbi/workos/api_key_revoked_data_owner.rbi +1 -22
- data/rbi/workos/api_key_updated_data_owner.rbi +1 -22
- data/rbi/workos/audit_log_event_target.rbi +1 -34
- data/rbi/workos/audit_log_schema_actor_input.rbi +1 -16
- data/rbi/workos/audit_log_schema_target_input.rbi +1 -22
- data/rbi/workos/auth_method_mismatch_error_body.rbi +1 -22
- data/rbi/workos/authentication_email_verification_failed_data_error.rbi +6 -0
- data/rbi/workos/authentication_factor_sms.rbi +1 -16
- data/rbi/workos/authentication_magic_auth_failed_data_error.rbi +1 -22
- data/rbi/workos/authentication_mfa_failed_data_error.rbi +1 -22
- data/rbi/workos/authentication_oauth_failed_data_error.rbi +1 -22
- data/rbi/workos/authentication_passkey_failed_data_error.rbi +1 -22
- data/rbi/workos/authentication_password_failed_data_error.rbi +1 -22
- data/rbi/workos/authentication_radar_risk_detected_data.rbi +6 -0
- data/rbi/workos/authentication_sso_failed_data_error.rbi +1 -22
- data/rbi/workos/authentication_sso_started_data_sso.rbi +1 -28
- data/rbi/workos/authentication_sso_succeeded_data_sso.rbi +1 -28
- data/rbi/workos/authentication_sso_timed_out_data_error.rbi +1 -22
- data/rbi/workos/authentication_sso_timed_out_data_sso.rbi +1 -28
- data/rbi/workos/authorization.rbi +4 -2
- data/rbi/workos/claim_view_response_organization.rbi +1 -22
- data/rbi/workos/confirm_email_change.rbi +1 -16
- data/rbi/workos/connect_application.rbi +42 -0
- data/rbi/workos/connect_application_redirect_uri.rbi +30 -0
- data/rbi/workos/connected_account_input.rbi +6 -0
- data/rbi/workos/connection_deactivated_data_domain.rbi +1 -28
- data/rbi/workos/connection_domain.rbi +1 -28
- data/rbi/workos/connection_saml_certificate_renewed_data_connection.rbi +1 -22
- data/rbi/workos/create_connected_account.rbi +12 -0
- data/rbi/workos/create_group_role_assignment.rbi +1 -34
- data/rbi/workos/create_organization_connected_account.rbi +12 -0
- data/rbi/workos/create_role.rbi +1 -34
- data/rbi/workos/data_integration_access_token_response_with_access_token_access_token.rbi +1 -40
- data/rbi/workos/data_integrations_list_response_data_connected_account_warning.rbi +1 -22
- data/rbi/workos/delete_group_role_assignments_by_criteria.rbi +1 -34
- data/rbi/workos/directory_sync.rbi +46 -0
- data/rbi/workos/directory_user_with_groups_email.rbi +1 -28
- data/rbi/workos/dsync_group_user_removed_data.rbi +1 -28
- data/rbi/workos/dsync_token_revoked_data.rbi +1 -46
- data/rbi/workos/dsync_user_updated_data_email.rbi +1 -28
- data/rbi/workos/error_body.rbi +1 -16
- data/rbi/workos/feature_flags_flag_created_data_owner.rbi +1 -28
- data/rbi/workos/feature_flags_flag_deleted_data.rbi +1 -82
- data/rbi/workos/feature_flags_flag_deleted_data_owner.rbi +1 -28
- data/rbi/workos/feature_flags_flag_updated_context_previous_attribute_data_owner.rbi +1 -28
- data/rbi/workos/feature_flags_flag_updated_data.rbi +1 -82
- data/rbi/workos/feature_flags_flag_updated_data_owner.rbi +1 -28
- data/rbi/workos/flag.rbi +1 -76
- data/rbi/workos/flag_created_data.rbi +1 -82
- data/rbi/workos/flag_created_data_owner.rbi +1 -28
- data/rbi/workos/flag_deleted_data.rbi +1 -82
- data/rbi/workos/flag_deleted_data_owner.rbi +1 -28
- data/rbi/workos/flag_owner.rbi +1 -28
- data/rbi/workos/flag_rule_updated_context_configured_target_organization.rbi +1 -22
- data/rbi/workos/flag_rule_updated_context_previous_attribute_context_configured_target.rbi +1 -22
- data/rbi/workos/flag_rule_updated_context_previous_attribute_context_configured_target_organization.rbi +1 -22
- data/rbi/workos/flag_rule_updated_context_previous_attribute_context_configured_target_user.rbi +1 -22
- data/rbi/workos/flag_rule_updated_data.rbi +1 -82
- data/rbi/workos/flag_rule_updated_data_owner.rbi +1 -28
- data/rbi/workos/flag_updated_context_previous_attribute.rbi +1 -16
- data/rbi/workos/flag_updated_context_previous_attribute_data.rbi +1 -46
- data/rbi/workos/flag_updated_context_previous_attribute_data_owner.rbi +1 -28
- data/rbi/workos/flag_updated_data.rbi +1 -82
- data/rbi/workos/flag_updated_data_owner.rbi +1 -28
- data/rbi/workos/group_member_removed_data.rbi +1 -22
- data/rbi/workos/organization_api_key_owner.rbi +1 -22
- data/rbi/workos/organization_api_key_with_value_owner.rbi +1 -22
- data/rbi/workos/organization_connected_account.rbi +6 -0
- data/rbi/workos/organization_role_deleted_data.rbi +1 -64
- data/rbi/workos/organization_role_updated_data.rbi +1 -64
- data/rbi/workos/organization_selection_required_error_body_with_organization.rbi +1 -22
- data/rbi/workos/password_reset_succeeded_data.rbi +1 -46
- data/rbi/workos/patch_connection_standard_attributes.rbi +1 -46
- data/rbi/workos/permission.rbi +1 -64
- data/rbi/workos/permission_created_data.rbi +1 -64
- data/rbi/workos/permission_deleted_data.rbi +1 -64
- data/rbi/workos/permission_updated_data.rbi +1 -64
- data/rbi/workos/pipes.rbi +10 -4
- data/rbi/workos/pipes_account_connection_connection_failed_data.rbi +1 -76
- data/rbi/workos/pipes_connected_account_connection_failed_data.rbi +1 -76
- data/rbi/workos/pipes_provider.rbi +4 -2
- data/rbi/workos/policy_denied_error_body.rbi +6 -0
- data/rbi/workos/radar_standalone_update_radar_list_request.rbi +1 -16
- data/rbi/workos/remove_role.rbi +1 -34
- data/rbi/workos/replace_group_role_assignment_entry.rbi +1 -34
- data/rbi/workos/role_deleted_data.rbi +1 -46
- data/rbi/workos/role_updated_data.rbi +1 -46
- data/rbi/workos/send_verification_email_response.rbi +1 -16
- data/rbi/workos/session_created_data_impersonator.rbi +1 -22
- data/rbi/workos/session_revoked_data_impersonator.rbi +1 -22
- data/rbi/workos/slim_role.rbi +1 -16
- data/rbi/workos/sso.rbi +2 -1
- data/rbi/workos/{sso_required_oauth_error_body_with_connection_ids_list_email_pending_authentication_token.rbi → sso_required_oauth_error_body_with_connection_ids_list_email.rbi} +1 -1
- data/rbi/workos/sso_token_response_oauth_token.rbi +1 -40
- data/rbi/workos/update_group.rbi +1 -22
- data/rbi/workos/update_organization_role.rbi +1 -22
- data/rbi/workos/update_role.rbi +1 -22
- data/rbi/workos/user.rbi +1 -94
- data/rbi/workos/user_api_key_owner.rbi +1 -28
- data/rbi/workos/user_api_key_revoked_data_owner.rbi +1 -28
- data/rbi/workos/user_api_key_updated_data_owner.rbi +1 -28
- data/rbi/workos/user_api_key_with_value_owner.rbi +1 -28
- data/rbi/workos/user_role_assignment_resource.rbi +1 -28
- data/rbi/workos/user_role_assignment_source_group.rbi +1 -22
- data/rbi/workos/user_sessions_impersonator.rbi +1 -22
- data/rbi/workos/verify_email_address.rbi +1 -16
- data/rbi/workos/verify_email_response.rbi +1 -16
- data/rbi/workos/waitlist_list_response_list_metadata.rbi +1 -22
- data/rbi/workos/widget_session_token_response.rbi +1 -16
- data/test/workos/test_directory_sync.rb +32 -0
- data/test/workos/test_directory_sync_model_round_trip.rb +11 -11
- data/test/workos/test_pipes_model_round_trip.rb +7 -1
- data/test/workos/test_session.rb +46 -1
- data/test/workos/test_shared_model_round_trip.rb +71 -69
- data/test/workos/test_user_management_model_round_trip.rb +18 -9
- metadata +7 -3
|
@@ -5,80 +5,5 @@
|
|
|
5
5
|
# typed: strong
|
|
6
6
|
|
|
7
7
|
module WorkOS
|
|
8
|
-
|
|
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 data_integration_id; end
|
|
20
|
-
|
|
21
|
-
sig { params(value: String).returns(String) }
|
|
22
|
-
def data_integration_id=(value); end
|
|
23
|
-
|
|
24
|
-
sig { returns(String) }
|
|
25
|
-
def provider_slug; end
|
|
26
|
-
|
|
27
|
-
sig { params(value: String).returns(String) }
|
|
28
|
-
def provider_slug=(value); end
|
|
29
|
-
|
|
30
|
-
sig { returns(T.nilable(String)) }
|
|
31
|
-
def user_id; end
|
|
32
|
-
|
|
33
|
-
sig { params(value: T.nilable(String)).returns(T.nilable(String)) }
|
|
34
|
-
def user_id=(value); end
|
|
35
|
-
|
|
36
|
-
sig { returns(T.nilable(String)) }
|
|
37
|
-
def organization_id; end
|
|
38
|
-
|
|
39
|
-
sig { params(value: T.nilable(String)).returns(T.nilable(String)) }
|
|
40
|
-
def organization_id=(value); end
|
|
41
|
-
|
|
42
|
-
sig { returns(T.nilable(String)) }
|
|
43
|
-
def account_identifier; end
|
|
44
|
-
|
|
45
|
-
sig { params(value: T.nilable(String)).returns(T.nilable(String)) }
|
|
46
|
-
def account_identifier=(value); end
|
|
47
|
-
|
|
48
|
-
sig { returns(String) }
|
|
49
|
-
def error_code; end
|
|
50
|
-
|
|
51
|
-
sig { params(value: String).returns(String) }
|
|
52
|
-
def error_code=(value); end
|
|
53
|
-
|
|
54
|
-
sig { returns(T.nilable(String)) }
|
|
55
|
-
def error_reason; end
|
|
56
|
-
|
|
57
|
-
sig { params(value: T.nilable(String)).returns(T.nilable(String)) }
|
|
58
|
-
def error_reason=(value); end
|
|
59
|
-
|
|
60
|
-
sig { returns(T.nilable(String)) }
|
|
61
|
-
def provider_error; end
|
|
62
|
-
|
|
63
|
-
sig { params(value: T.nilable(String)).returns(T.nilable(String)) }
|
|
64
|
-
def provider_error=(value); end
|
|
65
|
-
|
|
66
|
-
sig { returns(T.nilable(String)) }
|
|
67
|
-
def provider_error_description; end
|
|
68
|
-
|
|
69
|
-
sig { params(value: T.nilable(String)).returns(T.nilable(String)) }
|
|
70
|
-
def provider_error_description=(value); end
|
|
71
|
-
|
|
72
|
-
sig { returns(String) }
|
|
73
|
-
def created_at; end
|
|
74
|
-
|
|
75
|
-
sig { params(value: String).returns(String) }
|
|
76
|
-
def created_at=(value); end
|
|
77
|
-
|
|
78
|
-
sig { returns(T::Hash[Symbol, T.untyped]) }
|
|
79
|
-
def to_h; end
|
|
80
|
-
|
|
81
|
-
sig { params(args: T.untyped).returns(String) }
|
|
82
|
-
def to_json(*args); end
|
|
83
|
-
end
|
|
8
|
+
PipesAccountConnectionConnectionFailedData = PipesAccountConnectionAddFailedData
|
|
84
9
|
end
|
|
@@ -5,80 +5,5 @@
|
|
|
5
5
|
# typed: strong
|
|
6
6
|
|
|
7
7
|
module WorkOS
|
|
8
|
-
|
|
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 data_integration_id; end
|
|
20
|
-
|
|
21
|
-
sig { params(value: String).returns(String) }
|
|
22
|
-
def data_integration_id=(value); end
|
|
23
|
-
|
|
24
|
-
sig { returns(String) }
|
|
25
|
-
def provider_slug; end
|
|
26
|
-
|
|
27
|
-
sig { params(value: String).returns(String) }
|
|
28
|
-
def provider_slug=(value); end
|
|
29
|
-
|
|
30
|
-
sig { returns(T.nilable(String)) }
|
|
31
|
-
def user_id; end
|
|
32
|
-
|
|
33
|
-
sig { params(value: T.nilable(String)).returns(T.nilable(String)) }
|
|
34
|
-
def user_id=(value); end
|
|
35
|
-
|
|
36
|
-
sig { returns(T.nilable(String)) }
|
|
37
|
-
def organization_id; end
|
|
38
|
-
|
|
39
|
-
sig { params(value: T.nilable(String)).returns(T.nilable(String)) }
|
|
40
|
-
def organization_id=(value); end
|
|
41
|
-
|
|
42
|
-
sig { returns(T.nilable(String)) }
|
|
43
|
-
def account_identifier; end
|
|
44
|
-
|
|
45
|
-
sig { params(value: T.nilable(String)).returns(T.nilable(String)) }
|
|
46
|
-
def account_identifier=(value); end
|
|
47
|
-
|
|
48
|
-
sig { returns(String) }
|
|
49
|
-
def error_code; end
|
|
50
|
-
|
|
51
|
-
sig { params(value: String).returns(String) }
|
|
52
|
-
def error_code=(value); end
|
|
53
|
-
|
|
54
|
-
sig { returns(T.nilable(String)) }
|
|
55
|
-
def error_reason; end
|
|
56
|
-
|
|
57
|
-
sig { params(value: T.nilable(String)).returns(T.nilable(String)) }
|
|
58
|
-
def error_reason=(value); end
|
|
59
|
-
|
|
60
|
-
sig { returns(T.nilable(String)) }
|
|
61
|
-
def provider_error; end
|
|
62
|
-
|
|
63
|
-
sig { params(value: T.nilable(String)).returns(T.nilable(String)) }
|
|
64
|
-
def provider_error=(value); end
|
|
65
|
-
|
|
66
|
-
sig { returns(T.nilable(String)) }
|
|
67
|
-
def provider_error_description; end
|
|
68
|
-
|
|
69
|
-
sig { params(value: T.nilable(String)).returns(T.nilable(String)) }
|
|
70
|
-
def provider_error_description=(value); end
|
|
71
|
-
|
|
72
|
-
sig { returns(String) }
|
|
73
|
-
def created_at; end
|
|
74
|
-
|
|
75
|
-
sig { params(value: String).returns(String) }
|
|
76
|
-
def created_at=(value); end
|
|
77
|
-
|
|
78
|
-
sig { returns(T::Hash[Symbol, T.untyped]) }
|
|
79
|
-
def to_h; end
|
|
80
|
-
|
|
81
|
-
sig { params(args: T.untyped).returns(String) }
|
|
82
|
-
def to_json(*args); end
|
|
83
|
-
end
|
|
8
|
+
PipesConnectedAccountConnectionFailedData = PipesAccountConnectionAddFailedData
|
|
84
9
|
end
|
|
@@ -12,10 +12,11 @@ module WorkOS
|
|
|
12
12
|
sig do
|
|
13
13
|
params(
|
|
14
14
|
organization_id: String,
|
|
15
|
+
ownership: T.nilable(String),
|
|
15
16
|
request_options: T::Hash[Symbol, T.untyped]
|
|
16
17
|
).returns(WorkOS::DataIntegrationConfigurationListResponse)
|
|
17
18
|
end
|
|
18
|
-
def list_organization_data_integration_configurations(organization_id:, request_options: {}); end
|
|
19
|
+
def list_organization_data_integration_configurations(organization_id:, ownership: nil, request_options: {}); end
|
|
19
20
|
|
|
20
21
|
sig do
|
|
21
22
|
params(
|
|
@@ -26,10 +27,11 @@ module WorkOS
|
|
|
26
27
|
client_id: T.nilable(String),
|
|
27
28
|
client_secret: T.nilable(String),
|
|
28
29
|
config: T.nilable(T::Hash[String, String]),
|
|
30
|
+
ownership: T.nilable(String),
|
|
29
31
|
request_options: T::Hash[Symbol, T.untyped]
|
|
30
32
|
).returns(WorkOS::DataIntegrationConfigurationResponse)
|
|
31
33
|
end
|
|
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
|
|
34
|
+
def update_organization_data_integration_configuration(organization_id:, slug:, enabled: nil, scopes: nil, client_id: nil, client_secret: nil, config: nil, ownership: nil, request_options: {}); end
|
|
33
35
|
|
|
34
36
|
end
|
|
35
37
|
end
|
|
@@ -21,6 +21,12 @@ module WorkOS
|
|
|
21
21
|
sig { params(value: String).returns(String) }
|
|
22
22
|
def message=(value); end
|
|
23
23
|
|
|
24
|
+
sig { returns(T.nilable(String)) }
|
|
25
|
+
def radar_detection_id; end
|
|
26
|
+
|
|
27
|
+
sig { params(value: T.nilable(String)).returns(T.nilable(String)) }
|
|
28
|
+
def radar_detection_id=(value); end
|
|
29
|
+
|
|
24
30
|
sig { returns(T::Hash[Symbol, T.untyped]) }
|
|
25
31
|
def to_h; end
|
|
26
32
|
|
|
@@ -5,20 +5,5 @@
|
|
|
5
5
|
# typed: strong
|
|
6
6
|
|
|
7
7
|
module WorkOS
|
|
8
|
-
|
|
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 entry; end
|
|
14
|
-
|
|
15
|
-
sig { params(value: String).returns(String) }
|
|
16
|
-
def entry=(value); end
|
|
17
|
-
|
|
18
|
-
sig { returns(T::Hash[Symbol, T.untyped]) }
|
|
19
|
-
def to_h; end
|
|
20
|
-
|
|
21
|
-
sig { params(args: T.untyped).returns(String) }
|
|
22
|
-
def to_json(*args); end
|
|
23
|
-
end
|
|
8
|
+
RadarStandaloneUpdateRadarListRequest = RadarStandaloneDeleteRadarListEntryRequest
|
|
24
9
|
end
|
data/rbi/workos/remove_role.rbi
CHANGED
|
@@ -5,38 +5,5 @@
|
|
|
5
5
|
# typed: strong
|
|
6
6
|
|
|
7
7
|
module WorkOS
|
|
8
|
-
|
|
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 role_slug; end
|
|
14
|
-
|
|
15
|
-
sig { params(value: String).returns(String) }
|
|
16
|
-
def role_slug=(value); end
|
|
17
|
-
|
|
18
|
-
sig { returns(T.nilable(String)) }
|
|
19
|
-
def resource_id; end
|
|
20
|
-
|
|
21
|
-
sig { params(value: T.nilable(String)).returns(T.nilable(String)) }
|
|
22
|
-
def resource_id=(value); end
|
|
23
|
-
|
|
24
|
-
sig { returns(T.nilable(String)) }
|
|
25
|
-
def resource_external_id; end
|
|
26
|
-
|
|
27
|
-
sig { params(value: T.nilable(String)).returns(T.nilable(String)) }
|
|
28
|
-
def resource_external_id=(value); end
|
|
29
|
-
|
|
30
|
-
sig { returns(T.nilable(String)) }
|
|
31
|
-
def resource_type_slug; end
|
|
32
|
-
|
|
33
|
-
sig { params(value: T.nilable(String)).returns(T.nilable(String)) }
|
|
34
|
-
def resource_type_slug=(value); end
|
|
35
|
-
|
|
36
|
-
sig { returns(T::Hash[Symbol, T.untyped]) }
|
|
37
|
-
def to_h; end
|
|
38
|
-
|
|
39
|
-
sig { params(args: T.untyped).returns(String) }
|
|
40
|
-
def to_json(*args); end
|
|
41
|
-
end
|
|
8
|
+
RemoveRole = AssignRole
|
|
42
9
|
end
|
|
@@ -5,38 +5,5 @@
|
|
|
5
5
|
# typed: strong
|
|
6
6
|
|
|
7
7
|
module WorkOS
|
|
8
|
-
|
|
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 role_slug; end
|
|
14
|
-
|
|
15
|
-
sig { params(value: String).returns(String) }
|
|
16
|
-
def role_slug=(value); end
|
|
17
|
-
|
|
18
|
-
sig { returns(T.nilable(String)) }
|
|
19
|
-
def resource_id; end
|
|
20
|
-
|
|
21
|
-
sig { params(value: T.nilable(String)).returns(T.nilable(String)) }
|
|
22
|
-
def resource_id=(value); end
|
|
23
|
-
|
|
24
|
-
sig { returns(T.nilable(String)) }
|
|
25
|
-
def resource_external_id; end
|
|
26
|
-
|
|
27
|
-
sig { params(value: T.nilable(String)).returns(T.nilable(String)) }
|
|
28
|
-
def resource_external_id=(value); end
|
|
29
|
-
|
|
30
|
-
sig { returns(T.nilable(String)) }
|
|
31
|
-
def resource_type_slug; end
|
|
32
|
-
|
|
33
|
-
sig { params(value: T.nilable(String)).returns(T.nilable(String)) }
|
|
34
|
-
def resource_type_slug=(value); end
|
|
35
|
-
|
|
36
|
-
sig { returns(T::Hash[Symbol, T.untyped]) }
|
|
37
|
-
def to_h; end
|
|
38
|
-
|
|
39
|
-
sig { params(args: T.untyped).returns(String) }
|
|
40
|
-
def to_json(*args); end
|
|
41
|
-
end
|
|
8
|
+
ReplaceGroupRoleAssignmentEntry = AssignRole
|
|
42
9
|
end
|
|
@@ -5,50 +5,5 @@
|
|
|
5
5
|
# typed: strong
|
|
6
6
|
|
|
7
7
|
module WorkOS
|
|
8
|
-
|
|
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 slug; end
|
|
20
|
-
|
|
21
|
-
sig { params(value: String).returns(String) }
|
|
22
|
-
def slug=(value); end
|
|
23
|
-
|
|
24
|
-
sig { returns(String) }
|
|
25
|
-
def resource_type_slug; end
|
|
26
|
-
|
|
27
|
-
sig { params(value: String).returns(String) }
|
|
28
|
-
def resource_type_slug=(value); end
|
|
29
|
-
|
|
30
|
-
sig { returns(T.nilable(T::Array[String])) }
|
|
31
|
-
def permissions; end
|
|
32
|
-
|
|
33
|
-
sig { params(value: T.nilable(T::Array[String])).returns(T.nilable(T::Array[String])) }
|
|
34
|
-
def permissions=(value); end
|
|
35
|
-
|
|
36
|
-
sig { returns(String) }
|
|
37
|
-
def created_at; end
|
|
38
|
-
|
|
39
|
-
sig { params(value: String).returns(String) }
|
|
40
|
-
def created_at=(value); end
|
|
41
|
-
|
|
42
|
-
sig { returns(String) }
|
|
43
|
-
def updated_at; end
|
|
44
|
-
|
|
45
|
-
sig { params(value: String).returns(String) }
|
|
46
|
-
def updated_at=(value); end
|
|
47
|
-
|
|
48
|
-
sig { returns(T::Hash[Symbol, T.untyped]) }
|
|
49
|
-
def to_h; end
|
|
50
|
-
|
|
51
|
-
sig { params(args: T.untyped).returns(String) }
|
|
52
|
-
def to_json(*args); end
|
|
53
|
-
end
|
|
8
|
+
RoleDeletedData = RoleCreatedData
|
|
54
9
|
end
|
|
@@ -5,50 +5,5 @@
|
|
|
5
5
|
# typed: strong
|
|
6
6
|
|
|
7
7
|
module WorkOS
|
|
8
|
-
|
|
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 slug; end
|
|
20
|
-
|
|
21
|
-
sig { params(value: String).returns(String) }
|
|
22
|
-
def slug=(value); end
|
|
23
|
-
|
|
24
|
-
sig { returns(String) }
|
|
25
|
-
def resource_type_slug; end
|
|
26
|
-
|
|
27
|
-
sig { params(value: String).returns(String) }
|
|
28
|
-
def resource_type_slug=(value); end
|
|
29
|
-
|
|
30
|
-
sig { returns(T.nilable(T::Array[String])) }
|
|
31
|
-
def permissions; end
|
|
32
|
-
|
|
33
|
-
sig { params(value: T.nilable(T::Array[String])).returns(T.nilable(T::Array[String])) }
|
|
34
|
-
def permissions=(value); end
|
|
35
|
-
|
|
36
|
-
sig { returns(String) }
|
|
37
|
-
def created_at; end
|
|
38
|
-
|
|
39
|
-
sig { params(value: String).returns(String) }
|
|
40
|
-
def created_at=(value); end
|
|
41
|
-
|
|
42
|
-
sig { returns(String) }
|
|
43
|
-
def updated_at; end
|
|
44
|
-
|
|
45
|
-
sig { params(value: String).returns(String) }
|
|
46
|
-
def updated_at=(value); end
|
|
47
|
-
|
|
48
|
-
sig { returns(T::Hash[Symbol, T.untyped]) }
|
|
49
|
-
def to_h; end
|
|
50
|
-
|
|
51
|
-
sig { params(args: T.untyped).returns(String) }
|
|
52
|
-
def to_json(*args); end
|
|
53
|
-
end
|
|
8
|
+
RoleUpdatedData = RoleCreatedData
|
|
54
9
|
end
|
|
@@ -5,20 +5,5 @@
|
|
|
5
5
|
# typed: strong
|
|
6
6
|
|
|
7
7
|
module WorkOS
|
|
8
|
-
|
|
9
|
-
sig { params(json: T.any(String, T::Hash[Symbol, T.untyped])).void }
|
|
10
|
-
def initialize(json); end
|
|
11
|
-
|
|
12
|
-
sig { returns(WorkOS::User) }
|
|
13
|
-
def user; end
|
|
14
|
-
|
|
15
|
-
sig { params(value: WorkOS::User).returns(WorkOS::User) }
|
|
16
|
-
def user=(value); end
|
|
17
|
-
|
|
18
|
-
sig { returns(T::Hash[Symbol, T.untyped]) }
|
|
19
|
-
def to_h; end
|
|
20
|
-
|
|
21
|
-
sig { params(args: T.untyped).returns(String) }
|
|
22
|
-
def to_json(*args); end
|
|
23
|
-
end
|
|
8
|
+
SendVerificationEmailResponse = ResetPasswordResponse
|
|
24
9
|
end
|
|
@@ -5,26 +5,5 @@
|
|
|
5
5
|
# typed: strong
|
|
6
6
|
|
|
7
7
|
module WorkOS
|
|
8
|
-
|
|
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 email; end
|
|
14
|
-
|
|
15
|
-
sig { params(value: String).returns(String) }
|
|
16
|
-
def email=(value); end
|
|
17
|
-
|
|
18
|
-
sig { returns(T.nilable(String)) }
|
|
19
|
-
def reason; end
|
|
20
|
-
|
|
21
|
-
sig { params(value: T.nilable(String)).returns(T.nilable(String)) }
|
|
22
|
-
def reason=(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
|
|
8
|
+
SessionCreatedDataImpersonator = AuthenticateResponseImpersonator
|
|
30
9
|
end
|
|
@@ -5,26 +5,5 @@
|
|
|
5
5
|
# typed: strong
|
|
6
6
|
|
|
7
7
|
module WorkOS
|
|
8
|
-
|
|
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 email; end
|
|
14
|
-
|
|
15
|
-
sig { params(value: String).returns(String) }
|
|
16
|
-
def email=(value); end
|
|
17
|
-
|
|
18
|
-
sig { returns(T.nilable(String)) }
|
|
19
|
-
def reason; end
|
|
20
|
-
|
|
21
|
-
sig { params(value: T.nilable(String)).returns(T.nilable(String)) }
|
|
22
|
-
def reason=(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
|
|
8
|
+
SessionRevokedDataImpersonator = AuthenticateResponseImpersonator
|
|
30
9
|
end
|
data/rbi/workos/slim_role.rbi
CHANGED
|
@@ -5,20 +5,5 @@
|
|
|
5
5
|
# typed: strong
|
|
6
6
|
|
|
7
7
|
module WorkOS
|
|
8
|
-
|
|
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 slug; end
|
|
14
|
-
|
|
15
|
-
sig { params(value: String).returns(String) }
|
|
16
|
-
def slug=(value); end
|
|
17
|
-
|
|
18
|
-
sig { returns(T::Hash[Symbol, T.untyped]) }
|
|
19
|
-
def to_h; end
|
|
20
|
-
|
|
21
|
-
sig { params(args: T.untyped).returns(String) }
|
|
22
|
-
def to_json(*args); end
|
|
23
|
-
end
|
|
8
|
+
SlimRole = AddRolePermission
|
|
24
9
|
end
|
data/rbi/workos/sso.rbi
CHANGED
|
@@ -67,10 +67,11 @@ module WorkOS
|
|
|
67
67
|
domain: T.nilable(String),
|
|
68
68
|
organization_id: T.nilable(String),
|
|
69
69
|
search: T.nilable(String),
|
|
70
|
+
state: T.nilable(String),
|
|
70
71
|
request_options: T::Hash[Symbol, T.untyped]
|
|
71
72
|
).returns(WorkOS::Types::ListStruct)
|
|
72
73
|
end
|
|
73
|
-
def list_connections(before: nil, after: nil, limit: nil, order: nil, connection_type: nil, domain: nil, organization_id: nil, search: nil, request_options: {}); end
|
|
74
|
+
def list_connections(before: nil, after: nil, limit: nil, order: nil, connection_type: nil, domain: nil, organization_id: nil, search: nil, state: nil, request_options: {}); end
|
|
74
75
|
|
|
75
76
|
sig do
|
|
76
77
|
params(
|
|
@@ -5,7 +5,7 @@
|
|
|
5
5
|
# typed: strong
|
|
6
6
|
|
|
7
7
|
module WorkOS
|
|
8
|
-
class
|
|
8
|
+
class SSORequiredOAuthErrorBodyWithConnectionIdsListEmail
|
|
9
9
|
sig { params(json: T.any(String, T::Hash[Symbol, T.untyped])).void }
|
|
10
10
|
def initialize(json); end
|
|
11
11
|
|
|
@@ -5,44 +5,5 @@
|
|
|
5
5
|
# typed: strong
|
|
6
6
|
|
|
7
7
|
module WorkOS
|
|
8
|
-
|
|
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 provider; end
|
|
14
|
-
|
|
15
|
-
sig { params(value: String).returns(String) }
|
|
16
|
-
def provider=(value); end
|
|
17
|
-
|
|
18
|
-
sig { returns(String) }
|
|
19
|
-
def refresh_token; end
|
|
20
|
-
|
|
21
|
-
sig { params(value: String).returns(String) }
|
|
22
|
-
def refresh_token=(value); end
|
|
23
|
-
|
|
24
|
-
sig { returns(String) }
|
|
25
|
-
def access_token; end
|
|
26
|
-
|
|
27
|
-
sig { params(value: String).returns(String) }
|
|
28
|
-
def access_token=(value); end
|
|
29
|
-
|
|
30
|
-
sig { returns(Integer) }
|
|
31
|
-
def expires_at; end
|
|
32
|
-
|
|
33
|
-
sig { params(value: Integer).returns(Integer) }
|
|
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::Hash[Symbol, T.untyped]) }
|
|
43
|
-
def to_h; end
|
|
44
|
-
|
|
45
|
-
sig { params(args: T.untyped).returns(String) }
|
|
46
|
-
def to_json(*args); end
|
|
47
|
-
end
|
|
8
|
+
SSOTokenResponseOAuthToken = AuthenticateResponseOAuthToken
|
|
48
9
|
end
|
data/rbi/workos/update_group.rbi
CHANGED
|
@@ -5,26 +5,5 @@
|
|
|
5
5
|
# typed: strong
|
|
6
6
|
|
|
7
7
|
module WorkOS
|
|
8
|
-
|
|
9
|
-
sig { params(json: T.any(String, T::Hash[Symbol, T.untyped])).void }
|
|
10
|
-
def initialize(json); end
|
|
11
|
-
|
|
12
|
-
sig { returns(T.nilable(String)) }
|
|
13
|
-
def name; end
|
|
14
|
-
|
|
15
|
-
sig { params(value: T.nilable(String)).returns(T.nilable(String)) }
|
|
16
|
-
def name=(value); end
|
|
17
|
-
|
|
18
|
-
sig { returns(T.nilable(String)) }
|
|
19
|
-
def description; end
|
|
20
|
-
|
|
21
|
-
sig { params(value: T.nilable(String)).returns(T.nilable(String)) }
|
|
22
|
-
def 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
|
|
8
|
+
UpdateGroup = UpdateAuthorizationPermission
|
|
30
9
|
end
|
|
@@ -5,26 +5,5 @@
|
|
|
5
5
|
# typed: strong
|
|
6
6
|
|
|
7
7
|
module WorkOS
|
|
8
|
-
|
|
9
|
-
sig { params(json: T.any(String, T::Hash[Symbol, T.untyped])).void }
|
|
10
|
-
def initialize(json); end
|
|
11
|
-
|
|
12
|
-
sig { returns(T.nilable(String)) }
|
|
13
|
-
def name; end
|
|
14
|
-
|
|
15
|
-
sig { params(value: T.nilable(String)).returns(T.nilable(String)) }
|
|
16
|
-
def name=(value); end
|
|
17
|
-
|
|
18
|
-
sig { returns(T.nilable(String)) }
|
|
19
|
-
def description; end
|
|
20
|
-
|
|
21
|
-
sig { params(value: T.nilable(String)).returns(T.nilable(String)) }
|
|
22
|
-
def 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
|
|
8
|
+
UpdateOrganizationRole = UpdateAuthorizationPermission
|
|
30
9
|
end
|
data/rbi/workos/update_role.rbi
CHANGED
|
@@ -5,26 +5,5 @@
|
|
|
5
5
|
# typed: strong
|
|
6
6
|
|
|
7
7
|
module WorkOS
|
|
8
|
-
|
|
9
|
-
sig { params(json: T.any(String, T::Hash[Symbol, T.untyped])).void }
|
|
10
|
-
def initialize(json); end
|
|
11
|
-
|
|
12
|
-
sig { returns(T.nilable(String)) }
|
|
13
|
-
def name; end
|
|
14
|
-
|
|
15
|
-
sig { params(value: T.nilable(String)).returns(T.nilable(String)) }
|
|
16
|
-
def name=(value); end
|
|
17
|
-
|
|
18
|
-
sig { returns(T.nilable(String)) }
|
|
19
|
-
def description; end
|
|
20
|
-
|
|
21
|
-
sig { params(value: T.nilable(String)).returns(T.nilable(String)) }
|
|
22
|
-
def 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
|
|
8
|
+
UpdateRole = UpdateAuthorizationPermission
|
|
30
9
|
end
|