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,32 +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 organization_id; end
|
|
14
|
-
|
|
15
|
-
sig { params(value: T.nilable(String)).returns(T.nilable(String)) }
|
|
16
|
-
def organization_id=(value); end
|
|
17
|
-
|
|
18
|
-
sig { returns(T.nilable(String)) }
|
|
19
|
-
def connection_id; end
|
|
20
|
-
|
|
21
|
-
sig { params(value: T.nilable(String)).returns(T.nilable(String)) }
|
|
22
|
-
def connection_id=(value); end
|
|
23
|
-
|
|
24
|
-
sig { returns(T.nilable(String)) }
|
|
25
|
-
def session_id; end
|
|
26
|
-
|
|
27
|
-
sig { params(value: T.nilable(String)).returns(T.nilable(String)) }
|
|
28
|
-
def session_id=(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
|
|
8
|
+
AuthenticationSSOTimedOutDataSSO = AuthenticationSSOFailedDataSSO
|
|
36
9
|
end
|
|
@@ -314,10 +314,11 @@ module WorkOS
|
|
|
314
314
|
params(
|
|
315
315
|
organization_id: String,
|
|
316
316
|
slug: String,
|
|
317
|
+
body_slug: String,
|
|
317
318
|
request_options: T::Hash[Symbol, T.untyped]
|
|
318
319
|
).returns(WorkOS::Role)
|
|
319
320
|
end
|
|
320
|
-
def add_organization_role_permission(organization_id:, slug:, request_options: {}); end
|
|
321
|
+
def add_organization_role_permission(organization_id:, slug:, body_slug:, request_options: {}); end
|
|
321
322
|
|
|
322
323
|
sig do
|
|
323
324
|
params(
|
|
@@ -526,10 +527,11 @@ module WorkOS
|
|
|
526
527
|
sig do
|
|
527
528
|
params(
|
|
528
529
|
slug: String,
|
|
530
|
+
body_slug: String,
|
|
529
531
|
request_options: T::Hash[Symbol, T.untyped]
|
|
530
532
|
).returns(WorkOS::Role)
|
|
531
533
|
end
|
|
532
|
-
def add_environment_role_permission(slug:, request_options: {}); end
|
|
534
|
+
def add_environment_role_permission(slug:, body_slug:, request_options: {}); end
|
|
533
535
|
|
|
534
536
|
sig do
|
|
535
537
|
params(
|
|
@@ -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 id; end
|
|
14
|
-
|
|
15
|
-
sig { params(value: String).returns(String) }
|
|
16
|
-
def id=(value); end
|
|
17
|
-
|
|
18
|
-
sig { returns(String) }
|
|
19
|
-
def name; end
|
|
20
|
-
|
|
21
|
-
sig { params(value: String).returns(String) }
|
|
22
|
-
def name=(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
|
+
ClaimViewResponseOrganization = Actor
|
|
30
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(String) }
|
|
13
|
-
def code; end
|
|
14
|
-
|
|
15
|
-
sig { params(value: String).returns(String) }
|
|
16
|
-
def code=(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
|
+
ConfirmEmailChange = AuthenticationChallengesVerifyRequest
|
|
24
9
|
end
|
|
@@ -57,6 +57,48 @@ module WorkOS
|
|
|
57
57
|
sig { params(value: String).returns(String) }
|
|
58
58
|
def updated_at=(value); end
|
|
59
59
|
|
|
60
|
+
sig { returns(T.nilable(String)) }
|
|
61
|
+
def application_type; end
|
|
62
|
+
|
|
63
|
+
sig { params(value: T.nilable(String)).returns(T.nilable(String)) }
|
|
64
|
+
def application_type=(value); end
|
|
65
|
+
|
|
66
|
+
sig { returns(T.nilable(T::Array[WorkOS::ConnectApplicationRedirectUri])) }
|
|
67
|
+
def redirect_uris; end
|
|
68
|
+
|
|
69
|
+
sig { params(value: T.nilable(T::Array[WorkOS::ConnectApplicationRedirectUri])).returns(T.nilable(T::Array[WorkOS::ConnectApplicationRedirectUri])) }
|
|
70
|
+
def redirect_uris=(value); end
|
|
71
|
+
|
|
72
|
+
sig { returns(T.nilable(T::Array[String])) }
|
|
73
|
+
def cors_origins; end
|
|
74
|
+
|
|
75
|
+
sig { params(value: T.nilable(T::Array[String])).returns(T.nilable(T::Array[String])) }
|
|
76
|
+
def cors_origins=(value); end
|
|
77
|
+
|
|
78
|
+
sig { returns(T.nilable(T::Boolean)) }
|
|
79
|
+
def uses_pkce; end
|
|
80
|
+
|
|
81
|
+
sig { params(value: T.nilable(T::Boolean)).returns(T.nilable(T::Boolean)) }
|
|
82
|
+
def uses_pkce=(value); end
|
|
83
|
+
|
|
84
|
+
sig { returns(T.nilable(T::Boolean)) }
|
|
85
|
+
def is_first_party; end
|
|
86
|
+
|
|
87
|
+
sig { params(value: T.nilable(T::Boolean)).returns(T.nilable(T::Boolean)) }
|
|
88
|
+
def is_first_party=(value); end
|
|
89
|
+
|
|
90
|
+
sig { returns(T.nilable(T::Boolean)) }
|
|
91
|
+
def was_dynamically_registered; end
|
|
92
|
+
|
|
93
|
+
sig { params(value: T.nilable(T::Boolean)).returns(T.nilable(T::Boolean)) }
|
|
94
|
+
def was_dynamically_registered=(value); end
|
|
95
|
+
|
|
96
|
+
sig { returns(T.nilable(String)) }
|
|
97
|
+
def organization_id; end
|
|
98
|
+
|
|
99
|
+
sig { params(value: T.nilable(String)).returns(T.nilable(String)) }
|
|
100
|
+
def organization_id=(value); end
|
|
101
|
+
|
|
60
102
|
sig { returns(T::Hash[Symbol, T.untyped]) }
|
|
61
103
|
def to_h; end
|
|
62
104
|
|
|
@@ -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 ConnectApplicationRedirectUri
|
|
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 uri; end
|
|
14
|
+
|
|
15
|
+
sig { params(value: String).returns(String) }
|
|
16
|
+
def uri=(value); end
|
|
17
|
+
|
|
18
|
+
sig { returns(T::Boolean) }
|
|
19
|
+
def default; end
|
|
20
|
+
|
|
21
|
+
sig { params(value: T::Boolean).returns(T::Boolean) }
|
|
22
|
+
def default=(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
|
|
@@ -21,6 +21,12 @@ module WorkOS
|
|
|
21
21
|
sig { params(value: T.nilable(String)).returns(T.nilable(String)) }
|
|
22
22
|
def account_identifier=(value); end
|
|
23
23
|
|
|
24
|
+
sig { returns(T.nilable(T::Hash[String, String])) }
|
|
25
|
+
def config; end
|
|
26
|
+
|
|
27
|
+
sig { params(value: T.nilable(T::Hash[String, String])).returns(T.nilable(T::Hash[String, String])) }
|
|
28
|
+
def config=(value); end
|
|
29
|
+
|
|
24
30
|
sig { returns(T.nilable(String)) }
|
|
25
31
|
def access_token; end
|
|
26
32
|
|
|
@@ -5,32 +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 id; end
|
|
20
|
-
|
|
21
|
-
sig { params(value: String).returns(String) }
|
|
22
|
-
def id=(value); end
|
|
23
|
-
|
|
24
|
-
sig { returns(String) }
|
|
25
|
-
def domain; end
|
|
26
|
-
|
|
27
|
-
sig { params(value: String).returns(String) }
|
|
28
|
-
def domain=(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
|
|
8
|
+
ConnectionDeactivatedDataDomain = ConnectionActivatedDataDomain
|
|
36
9
|
end
|
|
@@ -5,32 +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 id; end
|
|
14
|
-
|
|
15
|
-
sig { params(value: String).returns(String) }
|
|
16
|
-
def id=(value); end
|
|
17
|
-
|
|
18
|
-
sig { returns(String) }
|
|
19
|
-
def object; end
|
|
20
|
-
|
|
21
|
-
sig { params(value: String).returns(String) }
|
|
22
|
-
def object=(value); end
|
|
23
|
-
|
|
24
|
-
sig { returns(String) }
|
|
25
|
-
def domain; end
|
|
26
|
-
|
|
27
|
-
sig { params(value: String).returns(String) }
|
|
28
|
-
def domain=(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
|
|
8
|
+
ConnectionDomain = ConnectionActivatedDataDomain
|
|
36
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 id; end
|
|
14
|
-
|
|
15
|
-
sig { params(value: String).returns(String) }
|
|
16
|
-
def id=(value); end
|
|
17
|
-
|
|
18
|
-
sig { returns(T.nilable(String)) }
|
|
19
|
-
def organization_id; end
|
|
20
|
-
|
|
21
|
-
sig { params(value: T.nilable(String)).returns(T.nilable(String)) }
|
|
22
|
-
def organization_id=(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
|
+
ConnectionSAMLCertificateRenewedDataConnection = ConnectionSAMLCertificateRenewalRequiredDataConnection
|
|
30
9
|
end
|
|
@@ -21,6 +21,12 @@ module WorkOS
|
|
|
21
21
|
sig { params(value: T.nilable(String)).returns(T.nilable(String)) }
|
|
22
22
|
def account_identifier=(value); end
|
|
23
23
|
|
|
24
|
+
sig { returns(T.nilable(T::Hash[String, String])) }
|
|
25
|
+
def config; end
|
|
26
|
+
|
|
27
|
+
sig { params(value: T.nilable(T::Hash[String, String])).returns(T.nilable(T::Hash[String, String])) }
|
|
28
|
+
def config=(value); end
|
|
29
|
+
|
|
24
30
|
sig { returns(T.nilable(String)) }
|
|
25
31
|
def access_token; end
|
|
26
32
|
|
|
@@ -51,6 +57,12 @@ module WorkOS
|
|
|
51
57
|
sig { params(value: T.nilable(String)).returns(T.nilable(String)) }
|
|
52
58
|
def state=(value); end
|
|
53
59
|
|
|
60
|
+
sig { returns(T.nilable(T::Hash[String, T.untyped])) }
|
|
61
|
+
def metadata; end
|
|
62
|
+
|
|
63
|
+
sig { params(value: T.nilable(T::Hash[String, T.untyped])).returns(T.nilable(T::Hash[String, T.untyped])) }
|
|
64
|
+
def metadata=(value); end
|
|
65
|
+
|
|
54
66
|
sig { returns(T.nilable(String)) }
|
|
55
67
|
def connection_intent; end
|
|
56
68
|
|
|
@@ -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
|
+
CreateGroupRoleAssignment = AssignRole
|
|
42
9
|
end
|
|
@@ -21,6 +21,12 @@ module WorkOS
|
|
|
21
21
|
sig { params(value: T.nilable(String)).returns(T.nilable(String)) }
|
|
22
22
|
def account_identifier=(value); end
|
|
23
23
|
|
|
24
|
+
sig { returns(T.nilable(T::Hash[String, String])) }
|
|
25
|
+
def config; end
|
|
26
|
+
|
|
27
|
+
sig { params(value: T.nilable(T::Hash[String, String])).returns(T.nilable(T::Hash[String, String])) }
|
|
28
|
+
def config=(value); end
|
|
29
|
+
|
|
24
30
|
sig { returns(T.nilable(String)) }
|
|
25
31
|
def access_token; end
|
|
26
32
|
|
|
@@ -57,6 +63,12 @@ module WorkOS
|
|
|
57
63
|
sig { params(value: String).returns(String) }
|
|
58
64
|
def user_id=(value); end
|
|
59
65
|
|
|
66
|
+
sig { returns(T.nilable(T::Hash[String, T.untyped])) }
|
|
67
|
+
def metadata; end
|
|
68
|
+
|
|
69
|
+
sig { params(value: T.nilable(T::Hash[String, T.untyped])).returns(T.nilable(T::Hash[String, T.untyped])) }
|
|
70
|
+
def metadata=(value); end
|
|
71
|
+
|
|
60
72
|
sig { returns(T.nilable(String)) }
|
|
61
73
|
def connection_intent; end
|
|
62
74
|
|
data/rbi/workos/create_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 slug; end
|
|
14
|
-
|
|
15
|
-
sig { params(value: String).returns(String) }
|
|
16
|
-
def slug=(value); end
|
|
17
|
-
|
|
18
|
-
sig { returns(String) }
|
|
19
|
-
def name; end
|
|
20
|
-
|
|
21
|
-
sig { params(value: String).returns(String) }
|
|
22
|
-
def name=(value); end
|
|
23
|
-
|
|
24
|
-
sig { returns(T.nilable(String)) }
|
|
25
|
-
def description; end
|
|
26
|
-
|
|
27
|
-
sig { params(value: T.nilable(String)).returns(T.nilable(String)) }
|
|
28
|
-
def description=(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
|
+
CreateRole = CreateAuthorizationPermission
|
|
42
9
|
end
|
|
@@ -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 object; end
|
|
14
|
-
|
|
15
|
-
sig { params(value: String).returns(String) }
|
|
16
|
-
def object=(value); end
|
|
17
|
-
|
|
18
|
-
sig { returns(String) }
|
|
19
|
-
def access_token; end
|
|
20
|
-
|
|
21
|
-
sig { params(value: String).returns(String) }
|
|
22
|
-
def access_token=(value); end
|
|
23
|
-
|
|
24
|
-
sig { returns(T.nilable(String)) }
|
|
25
|
-
def expires_at; end
|
|
26
|
-
|
|
27
|
-
sig { params(value: T.nilable(String)).returns(T.nilable(String)) }
|
|
28
|
-
def expires_at=(value); end
|
|
29
|
-
|
|
30
|
-
sig { returns(T::Array[String]) }
|
|
31
|
-
def scopes; end
|
|
32
|
-
|
|
33
|
-
sig { params(value: T::Array[String]).returns(T::Array[String]) }
|
|
34
|
-
def scopes=(value); end
|
|
35
|
-
|
|
36
|
-
sig { returns(T::Array[String]) }
|
|
37
|
-
def missing_scopes; end
|
|
38
|
-
|
|
39
|
-
sig { params(value: T::Array[String]).returns(T::Array[String]) }
|
|
40
|
-
def missing_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
|
+
DataIntegrationAccessTokenResponseWithAccessTokenAccessToken = DataIntegrationAccessTokenResponseAccessToken
|
|
48
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 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
|
|
8
|
+
DataIntegrationsListResponseDataConnectedAccountWarning = ConnectedAccountWarning
|
|
30
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
|
+
DeleteGroupRoleAssignmentsByCriteria = AssignRole
|
|
42
9
|
end
|
|
@@ -47,6 +47,52 @@ module WorkOS
|
|
|
47
47
|
end
|
|
48
48
|
def create_directory_sync(id:, request_options: {}); end
|
|
49
49
|
|
|
50
|
+
sig do
|
|
51
|
+
params(
|
|
52
|
+
directory_id: String,
|
|
53
|
+
before: T.nilable(String),
|
|
54
|
+
after: T.nilable(String),
|
|
55
|
+
limit: T.nilable(Integer),
|
|
56
|
+
order: T.nilable(String),
|
|
57
|
+
user: T.nilable(String),
|
|
58
|
+
request_options: T::Hash[Symbol, T.untyped]
|
|
59
|
+
).returns(WorkOS::Types::ListStruct)
|
|
60
|
+
end
|
|
61
|
+
def list_directory_groups(directory_id:, before: nil, after: nil, limit: nil, order: nil, user: nil, request_options: {}); end
|
|
62
|
+
|
|
63
|
+
sig do
|
|
64
|
+
params(
|
|
65
|
+
directory_id: String,
|
|
66
|
+
group_id: String,
|
|
67
|
+
request_options: T::Hash[Symbol, T.untyped]
|
|
68
|
+
).returns(WorkOS::DirectoryGroup)
|
|
69
|
+
end
|
|
70
|
+
def get_directory_group(directory_id:, group_id:, request_options: {}); end
|
|
71
|
+
|
|
72
|
+
sig do
|
|
73
|
+
params(
|
|
74
|
+
directory_id: String,
|
|
75
|
+
before: T.nilable(String),
|
|
76
|
+
after: T.nilable(String),
|
|
77
|
+
limit: T.nilable(Integer),
|
|
78
|
+
order: T.nilable(String),
|
|
79
|
+
group: T.nilable(String),
|
|
80
|
+
idp_id: T.nilable(String),
|
|
81
|
+
email: T.nilable(String),
|
|
82
|
+
request_options: T::Hash[Symbol, T.untyped]
|
|
83
|
+
).returns(WorkOS::Types::ListStruct)
|
|
84
|
+
end
|
|
85
|
+
def list_directory_users(directory_id:, before: nil, after: nil, limit: nil, order: nil, group: nil, idp_id: nil, email: nil, request_options: {}); end
|
|
86
|
+
|
|
87
|
+
sig do
|
|
88
|
+
params(
|
|
89
|
+
directory_id: String,
|
|
90
|
+
user_id: String,
|
|
91
|
+
request_options: T::Hash[Symbol, T.untyped]
|
|
92
|
+
).returns(WorkOS::DirectoryUser)
|
|
93
|
+
end
|
|
94
|
+
def get_directory_user(directory_id:, user_id:, request_options: {}); end
|
|
95
|
+
|
|
50
96
|
sig do
|
|
51
97
|
params(
|
|
52
98
|
before: T.nilable(String),
|
|
@@ -5,32 +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(T::Boolean)) }
|
|
13
|
-
def primary; end
|
|
14
|
-
|
|
15
|
-
sig { params(value: T.nilable(T::Boolean)).returns(T.nilable(T::Boolean)) }
|
|
16
|
-
def primary=(value); end
|
|
17
|
-
|
|
18
|
-
sig { returns(T.nilable(String)) }
|
|
19
|
-
def type; end
|
|
20
|
-
|
|
21
|
-
sig { params(value: T.nilable(String)).returns(T.nilable(String)) }
|
|
22
|
-
def type=(value); end
|
|
23
|
-
|
|
24
|
-
sig { returns(T.nilable(String)) }
|
|
25
|
-
def value; end
|
|
26
|
-
|
|
27
|
-
sig { params(value: T.nilable(String)).returns(T.nilable(String)) }
|
|
28
|
-
def value=(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
|
|
8
|
+
DirectoryUserWithGroupsEmail = DirectoryUserEmail
|
|
36
9
|
end
|
|
@@ -5,32 +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 directory_id; end
|
|
14
|
-
|
|
15
|
-
sig { params(value: String).returns(String) }
|
|
16
|
-
def directory_id=(value); end
|
|
17
|
-
|
|
18
|
-
sig { returns(WorkOS::DirectoryUser) }
|
|
19
|
-
def user; end
|
|
20
|
-
|
|
21
|
-
sig { params(value: WorkOS::DirectoryUser).returns(WorkOS::DirectoryUser) }
|
|
22
|
-
def user=(value); end
|
|
23
|
-
|
|
24
|
-
sig { returns(WorkOS::DirectoryGroup) }
|
|
25
|
-
def group; end
|
|
26
|
-
|
|
27
|
-
sig { params(value: WorkOS::DirectoryGroup).returns(WorkOS::DirectoryGroup) }
|
|
28
|
-
def group=(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
|
|
8
|
+
DsyncGroupUserRemovedData = DsyncGroupUserAddedData
|
|
36
9
|
end
|