workos 10.3.0 → 10.5.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/ci.yml +2 -2
- data/.github/workflows/docs.yml +4 -4
- data/.github/workflows/lint.yml +2 -2
- data/.github/workflows/release-please.yml +3 -3
- data/.github/workflows/release.yml +2 -2
- data/.last-synced-sha +1 -1
- data/.oagen-manifest.json +326 -158
- data/.release-please-manifest.json +1 -1
- data/.ruby-version +1 -1
- data/CHANGELOG.md +388 -0
- data/Gemfile.lock +14 -14
- data/README.md +23 -0
- data/lib/workos/admin_portal/generate_link.rb +3 -0
- data/lib/workos/admin_portal/revoke_link.rb +22 -0
- data/lib/workos/admin_portal.rb +29 -2
- data/lib/workos/agents/agent_blueprint.rb +3 -0
- data/lib/workos/agents/agent_blueprint_invocable_as.rb +18 -0
- data/lib/workos/agents/agent_blueprints_create_request.rb +3 -0
- data/lib/workos/agents/agent_blueprints_create_request_invocable_as.rb +18 -0
- data/lib/workos/agents/agent_blueprints_update_request.rb +3 -0
- data/lib/workos/agents/agent_blueprints_update_request_invocable_as.rb +18 -0
- data/lib/workos/agents/agent_registration.rb +3 -0
- data/lib/workos/agents.rb +30 -1
- data/lib/workos/api_keys/validate_api_key.rb +12 -1
- data/lib/workos/authorization/user_role_assignment_source.rb +5 -2
- data/lib/workos/authorization/user_role_assignment_source_group.rb +7 -0
- data/lib/workos/base_client.rb +6 -2
- data/lib/workos/configuration.rb +3 -2
- data/lib/workos/directory_sync/directory_sync_rate_limit_error.rb +25 -0
- data/lib/workos/directory_sync/directory_sync_response.rb +18 -0
- data/lib/workos/directory_sync.rb +19 -0
- data/lib/workos/feature_flags/flag_updated_context_previous_attribute_data.rb +3 -0
- data/lib/workos/feature_flags/flag_updated_context_previous_attribute_data_owner.rb +7 -0
- data/lib/workos/inflections.rb +2 -0
- data/lib/workos/multi_factor_auth.rb +1 -1
- data/lib/workos/pipes/add_data_integrations_get_data_integration_authorize_url_request.rb +37 -0
- data/lib/workos/pipes/connected_account.rb +15 -0
- data/lib/workos/pipes/connected_account_input.rb +6 -0
- data/lib/workos/pipes/connected_account_write_response.rb +73 -0
- data/lib/workos/pipes/connected_account_write_response_warning.rb +22 -0
- data/lib/workos/pipes/create_connected_account.rb +40 -0
- data/lib/workos/pipes/create_data_integration.rb +3 -0
- data/lib/workos/pipes/create_organization_connected_account.rb +43 -0
- data/lib/workos/pipes/data_integration.rb +3 -0
- data/lib/workos/pipes/data_integration_credentials_response.rb +1 -1
- data/lib/workos/pipes/data_integration_installation.rb +9 -0
- data/lib/workos/pipes/{data_integration_credentials_response_credential.rb → data_integration_vended_credential.rb} +9 -3
- data/lib/workos/pipes/data_integrations_create_api_key_connection_request.rb +37 -0
- data/lib/workos/pipes/data_integrations_create_client_credentials_connection_request.rb +43 -0
- data/lib/workos/pipes/data_integrations_get_data_integration_authorize_url_request.rb +6 -0
- data/lib/workos/pipes/data_integrations_get_user_token_request.rb +11 -2
- data/lib/workos/pipes/data_integrations_list_response_data.rb +18 -3
- data/lib/workos/pipes/data_integrations_list_response_data_connected_account.rb +15 -0
- data/lib/workos/pipes/data_integrations_upsert_api_key_request.rb +28 -1
- data/lib/workos/pipes/data_integrations_upsert_api_key_request_2.rb +37 -0
- data/lib/workos/pipes/data_integrations_upsert_client_credentials_request.rb +9 -0
- data/lib/workos/pipes/data_integrations_upsert_client_credentials_request_2.rb +43 -0
- data/lib/workos/pipes/data_integrations_vend_credentials_request.rb +11 -2
- data/lib/workos/pipes/organization_connected_account.rb +40 -0
- data/lib/workos/pipes/reauthorize_data_integrations_get_data_integration_authorize_url_request.rb +40 -0
- data/lib/workos/pipes/reauthorize_data_integrations_upsert_api_key_request.rb +40 -0
- data/lib/workos/pipes/reauthorize_data_integrations_upsert_client_credentials_request.rb +46 -0
- data/lib/workos/pipes.rb +498 -30
- data/lib/workos/session_manager.rb +11 -6
- data/lib/workos/shared/account_selection_required_error.rb +22 -0
- data/lib/workos/shared/agent_blueprint_created_data.rb +3 -0
- data/lib/workos/shared/agent_blueprint_created_data_invocable_as.rb +18 -0
- data/lib/workos/shared/agent_blueprint_updated_data.rb +40 -1
- data/lib/workos/shared/agent_blueprint_updated_data_invocable_as.rb +18 -0
- data/lib/workos/shared/pipe_connected_account.rb +21 -0
- data/lib/workos/shared/pipes_account_connection_add_failed.rb +34 -0
- data/lib/workos/shared/pipes_account_connection_add_failed_data.rb +49 -0
- data/lib/workos/shared/pipes_account_connection_connected.rb +34 -0
- data/lib/workos/shared/pipes_account_connection_connection_failed.rb +34 -0
- data/lib/workos/shared/pipes_account_connection_connection_failed_data.rb +7 -0
- data/lib/workos/shared/pipes_account_connection_disconnected.rb +34 -0
- data/lib/workos/shared/pipes_account_connection_reauthorization_needed.rb +34 -0
- data/lib/workos/shared/pipes_connected_account_connection_failed_data.rb +1 -40
- data/lib/workos/sso/token_query.rb +3 -0
- data/lib/workos/sso.rb +3 -0
- data/lib/workos/types/add_data_integrations_get_data_integration_authorize_url_request_connection_owner.rb +13 -0
- data/lib/workos/types/agent_blueprint_created_data_invocable_as_instance_types.rb +13 -0
- data/lib/workos/types/agent_blueprint_invocable_as_instance_types.rb +9 -0
- data/lib/workos/types/agent_blueprint_updated_data_invocable_as_instance_types.rb +9 -0
- data/lib/workos/types/agent_blueprints_create_request_invocable_as_instance_types.rb +9 -0
- data/lib/workos/types/agent_blueprints_update_request_invocable_as_instance_types.rb +9 -0
- data/lib/workos/types/agent_instance_created_data_type.rb +1 -5
- data/lib/workos/types/agent_instance_deleted_data_type.rb +1 -1
- data/lib/workos/types/agent_instance_type.rb +1 -1
- data/lib/workos/types/connected_account_connection_role.rb +13 -0
- data/lib/workos/types/connected_account_write_response_auth_method.rb +9 -0
- data/lib/workos/types/connected_account_write_response_connection_role.rb +9 -0
- data/lib/workos/types/connected_account_write_response_state.rb +9 -0
- data/lib/workos/types/create_connected_account_state.rb +9 -0
- data/lib/workos/types/create_data_integration_ownership.rb +9 -0
- data/lib/workos/types/create_organization_connected_account_state.rb +9 -0
- data/lib/workos/types/create_webhook_endpoint_events.rb +6 -1
- data/lib/workos/types/data_integration_installation_connection_role.rb +9 -0
- data/lib/workos/types/data_integration_ownership.rb +9 -0
- data/lib/workos/types/data_integrations_create_api_key_connection_request_connection_owner.rb +9 -0
- data/lib/workos/types/data_integrations_create_client_credentials_connection_request_connection_owner.rb +9 -0
- data/lib/workos/types/data_integrations_get_data_integration_authorize_url_request_connection_owner.rb +9 -0
- data/lib/workos/types/data_integrations_get_user_token_request_connection_owner.rb +9 -0
- data/lib/workos/types/data_integrations_list_response_data_connected_account_connection_role.rb +9 -0
- data/lib/workos/types/data_integrations_list_response_data_connection_owner.rb +9 -0
- data/lib/workos/types/data_integrations_upsert_api_key_request_2_connection_owner.rb +9 -0
- data/lib/workos/types/data_integrations_upsert_api_key_request_connection_owner.rb +9 -0
- data/lib/workos/types/data_integrations_upsert_client_credentials_request_2_connection_owner.rb +9 -0
- data/lib/workos/types/data_integrations_upsert_client_credentials_request_connection_owner.rb +9 -0
- data/lib/workos/types/data_integrations_vend_credentials_request_connection_owner.rb +9 -0
- data/lib/workos/types/organization_connected_account_state.rb +9 -0
- data/lib/workos/types/pipe_connected_account_auth_method.rb +9 -0
- data/lib/workos/types/pipe_connected_account_connection_role.rb +9 -0
- data/lib/workos/types/pipes_ownership.rb +9 -0
- data/lib/workos/types/reauthorize_data_integrations_get_data_integration_authorize_url_request_connection_owner.rb +9 -0
- data/lib/workos/types/reauthorize_data_integrations_upsert_api_key_request_connection_owner.rb +9 -0
- data/lib/workos/types/reauthorize_data_integrations_upsert_client_credentials_request_connection_owner.rb +9 -0
- data/lib/workos/types/resource_export_completed_data_resource_type.rb +4 -1
- data/lib/workos/types/vault_dek_rekeyed_data_actor_source.rb +9 -0
- data/lib/workos/user_management/authkit_oauth_resource.rb +34 -0
- data/lib/workos/user_management/create_authkit_oauth_resource.rb +22 -0
- data/lib/workos/user_management.rb +88 -1
- data/lib/workos/vault/vault_dek_rekeyed.rb +34 -0
- data/lib/workos/vault/vault_dek_rekeyed_data.rb +31 -0
- data/lib/workos/version.rb +1 -1
- data/rbi/workos/account_selection_required_error.rbi +30 -0
- data/rbi/workos/add_data_integrations_get_data_integration_authorize_url_request.rbi +60 -0
- data/rbi/workos/admin_portal.rbi +11 -1
- data/rbi/workos/agent_blueprint.rbi +6 -0
- data/rbi/workos/agent_blueprint_created_data.rbi +6 -0
- data/rbi/workos/agent_blueprint_created_data_invocable_as.rbi +24 -0
- data/rbi/workos/agent_blueprint_invocable_as.rbi +24 -0
- data/rbi/workos/agent_blueprint_updated_data.rbi +6 -0
- data/rbi/workos/agent_blueprint_updated_data_invocable_as.rbi +24 -0
- data/rbi/workos/agent_blueprints_create_request.rbi +6 -0
- data/rbi/workos/agent_blueprints_create_request_invocable_as.rbi +24 -0
- data/rbi/workos/agent_blueprints_update_request.rbi +6 -0
- data/rbi/workos/agent_blueprints_update_request_invocable_as.rbi +24 -0
- data/rbi/workos/agent_registration.rbi +6 -0
- data/rbi/workos/agents.rbi +14 -3
- data/rbi/workos/authkit_oauth_resource.rbi +54 -0
- data/rbi/workos/connected_account.rbi +30 -0
- data/rbi/workos/connected_account_input.rbi +12 -0
- data/rbi/workos/connected_account_write_response.rbi +132 -0
- data/rbi/workos/connected_account_write_response_warning.rbi +30 -0
- data/rbi/workos/create_authkit_oauth_resource.rbi +30 -0
- data/rbi/workos/create_connected_account.rbi +66 -0
- data/rbi/workos/create_data_integration.rbi +6 -0
- data/rbi/workos/create_organization_connected_account.rbi +72 -0
- data/rbi/workos/data_integration.rbi +6 -0
- data/rbi/workos/data_integration_credentials_response.rbi +2 -2
- data/rbi/workos/data_integration_installation.rbi +19 -1
- data/rbi/workos/data_integration_vended_credential.rbi +66 -0
- data/rbi/workos/data_integrations_create_api_key_connection_request.rbi +60 -0
- data/rbi/workos/data_integrations_create_client_credentials_connection_request.rbi +72 -0
- data/rbi/workos/data_integrations_get_data_integration_authorize_url_request.rbi +12 -0
- data/rbi/workos/data_integrations_get_user_token_request.rbi +18 -0
- data/rbi/workos/data_integrations_list_response_data.rbi +12 -0
- data/rbi/workos/data_integrations_list_response_data_connected_account.rbi +30 -0
- data/rbi/workos/data_integrations_upsert_api_key_request.rbi +18 -0
- data/rbi/workos/data_integrations_upsert_api_key_request_2.rbi +60 -0
- data/rbi/workos/data_integrations_upsert_client_credentials_request.rbi +18 -0
- data/rbi/workos/data_integrations_upsert_client_credentials_request_2.rbi +72 -0
- data/rbi/workos/data_integrations_vend_credentials_request.rbi +18 -0
- data/rbi/workos/directory_sync.rbi +8 -0
- data/rbi/workos/directory_sync_rate_limit_error.rbi +36 -0
- data/rbi/workos/directory_sync_response.rbi +24 -0
- data/rbi/workos/flag_updated_context_previous_attribute_data.rbi +6 -0
- data/rbi/workos/flag_updated_context_previous_attribute_data_owner.rbi +36 -0
- data/rbi/workos/generate_link.rbi +6 -0
- data/rbi/workos/organization_connected_account.rbi +66 -0
- data/rbi/workos/pipe_connected_account.rbi +42 -0
- data/rbi/workos/pipes.rbi +176 -16
- data/rbi/workos/pipes_account_connection_add_failed.rbi +54 -0
- data/rbi/workos/pipes_account_connection_add_failed_data.rbi +84 -0
- data/rbi/workos/pipes_account_connection_connected.rbi +54 -0
- data/rbi/workos/pipes_account_connection_connection_failed.rbi +54 -0
- data/rbi/workos/pipes_account_connection_connection_failed_data.rbi +84 -0
- data/rbi/workos/pipes_account_connection_disconnected.rbi +54 -0
- data/rbi/workos/pipes_account_connection_reauthorization_needed.rbi +54 -0
- data/rbi/workos/pipes_connected_account_connection_failed_data.rbi +6 -0
- data/rbi/workos/reauthorize_data_integrations_get_data_integration_authorize_url_request.rbi +66 -0
- data/rbi/workos/reauthorize_data_integrations_upsert_api_key_request.rbi +66 -0
- data/rbi/workos/reauthorize_data_integrations_upsert_client_credentials_request.rbi +78 -0
- data/rbi/workos/revoke_link.rbi +30 -0
- data/rbi/workos/sso.rbi +2 -1
- data/rbi/workos/token_query.rbi +6 -0
- data/rbi/workos/user_management.rbi +28 -0
- data/rbi/workos/user_role_assignment_source.rbi +6 -0
- data/rbi/workos/user_role_assignment_source_group.rbi +30 -0
- data/rbi/workos/vault_dek_rekeyed.rbi +54 -0
- data/rbi/workos/{data_integration_credentials_response_credential.rbi → vault_dek_rekeyed_data.rbi} +13 -19
- data/test/workos/test_admin_portal.rb +9 -1
- data/test/workos/test_admin_portal_model_round_trip.rb +14 -0
- data/test/workos/test_agents.rb +8 -0
- data/test/workos/test_agents_model_round_trip.rb +35 -0
- data/test/workos/test_authorization_model_round_trip.rb +15 -1
- data/test/workos/test_directory_sync.rb +8 -0
- data/test/workos/test_directory_sync_model_round_trip.rb +24 -0
- data/test/workos/test_feature_flags_model_round_trip.rb +16 -0
- data/test/workos/test_pipes.rb +80 -0
- data/test/workos/test_pipes_model_round_trip.rb +317 -18
- data/test/workos/test_session.rb +63 -0
- data/test/workos/test_shared_model_round_trip.rb +185 -0
- data/test/workos/test_sso_model_round_trip.rb +1 -0
- data/test/workos/test_user_management.rb +24 -0
- data/test/workos/test_user_management_model_round_trip.rb +32 -0
- data/test/workos/test_vault_model_round_trip.rb +33 -0
- metadata +107 -3
|
@@ -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 DirectorySyncRateLimitError
|
|
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(Integer) }
|
|
25
|
+
def retry_after_seconds; end
|
|
26
|
+
|
|
27
|
+
sig { params(value: Integer).returns(Integer) }
|
|
28
|
+
def retry_after_seconds=(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,24 @@
|
|
|
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 DirectorySyncResponse
|
|
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 status; end
|
|
14
|
+
|
|
15
|
+
sig { params(value: String).returns(String) }
|
|
16
|
+
def status=(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
|
|
24
|
+
end
|
|
@@ -27,6 +27,12 @@ module WorkOS
|
|
|
27
27
|
sig { params(value: T.nilable(T::Array[String])).returns(T.nilable(T::Array[String])) }
|
|
28
28
|
def tags=(value); end
|
|
29
29
|
|
|
30
|
+
sig { returns(T.nilable(WorkOS::FlagUpdatedContextPreviousAttributeDataOwner)) }
|
|
31
|
+
def owner; end
|
|
32
|
+
|
|
33
|
+
sig { params(value: T.nilable(WorkOS::FlagUpdatedContextPreviousAttributeDataOwner)).returns(T.nilable(WorkOS::FlagUpdatedContextPreviousAttributeDataOwner)) }
|
|
34
|
+
def owner=(value); end
|
|
35
|
+
|
|
30
36
|
sig { returns(T.nilable(T::Boolean)) }
|
|
31
37
|
def enabled; end
|
|
32
38
|
|
|
@@ -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 FlagUpdatedContextPreviousAttributeDataOwner
|
|
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 first_name; end
|
|
20
|
+
|
|
21
|
+
sig { params(value: T.nilable(String)).returns(T.nilable(String)) }
|
|
22
|
+
def first_name=(value); end
|
|
23
|
+
|
|
24
|
+
sig { returns(T.nilable(String)) }
|
|
25
|
+
def last_name; end
|
|
26
|
+
|
|
27
|
+
sig { params(value: T.nilable(String)).returns(T.nilable(String)) }
|
|
28
|
+
def last_name=(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
|
|
@@ -27,6 +27,12 @@ module WorkOS
|
|
|
27
27
|
sig { params(value: String).returns(String) }
|
|
28
28
|
def organization=(value); end
|
|
29
29
|
|
|
30
|
+
sig { returns(T.nilable(String)) }
|
|
31
|
+
def external_user_id; end
|
|
32
|
+
|
|
33
|
+
sig { params(value: T.nilable(String)).returns(T.nilable(String)) }
|
|
34
|
+
def external_user_id=(value); end
|
|
35
|
+
|
|
30
36
|
sig { returns(T.nilable(String)) }
|
|
31
37
|
def intent; end
|
|
32
38
|
|
|
@@ -0,0 +1,66 @@
|
|
|
1
|
+
# frozen_string_literal: true
|
|
2
|
+
|
|
3
|
+
# This file is auto-generated by oagen. Do not edit.
|
|
4
|
+
|
|
5
|
+
# typed: strong
|
|
6
|
+
|
|
7
|
+
module WorkOS
|
|
8
|
+
class OrganizationConnectedAccount
|
|
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 account_display_name; end
|
|
14
|
+
|
|
15
|
+
sig { params(value: T.nilable(String)).returns(T.nilable(String)) }
|
|
16
|
+
def account_display_name=(value); end
|
|
17
|
+
|
|
18
|
+
sig { returns(T.nilable(String)) }
|
|
19
|
+
def account_identifier; end
|
|
20
|
+
|
|
21
|
+
sig { params(value: T.nilable(String)).returns(T.nilable(String)) }
|
|
22
|
+
def account_identifier=(value); end
|
|
23
|
+
|
|
24
|
+
sig { returns(T.nilable(String)) }
|
|
25
|
+
def access_token; end
|
|
26
|
+
|
|
27
|
+
sig { params(value: T.nilable(String)).returns(T.nilable(String)) }
|
|
28
|
+
def access_token=(value); end
|
|
29
|
+
|
|
30
|
+
sig { returns(T.nilable(String)) }
|
|
31
|
+
def refresh_token; end
|
|
32
|
+
|
|
33
|
+
sig { params(value: T.nilable(String)).returns(T.nilable(String)) }
|
|
34
|
+
def refresh_token=(value); end
|
|
35
|
+
|
|
36
|
+
sig { returns(T.nilable(String)) }
|
|
37
|
+
def expires_at; end
|
|
38
|
+
|
|
39
|
+
sig { params(value: T.nilable(String)).returns(T.nilable(String)) }
|
|
40
|
+
def expires_at=(value); end
|
|
41
|
+
|
|
42
|
+
sig { returns(T.nilable(T::Array[String])) }
|
|
43
|
+
def scopes; end
|
|
44
|
+
|
|
45
|
+
sig { params(value: T.nilable(T::Array[String])).returns(T.nilable(T::Array[String])) }
|
|
46
|
+
def scopes=(value); end
|
|
47
|
+
|
|
48
|
+
sig { returns(T.nilable(String)) }
|
|
49
|
+
def state; end
|
|
50
|
+
|
|
51
|
+
sig { params(value: T.nilable(String)).returns(T.nilable(String)) }
|
|
52
|
+
def state=(value); end
|
|
53
|
+
|
|
54
|
+
sig { returns(String) }
|
|
55
|
+
def user_id; end
|
|
56
|
+
|
|
57
|
+
sig { params(value: String).returns(String) }
|
|
58
|
+
def user_id=(value); end
|
|
59
|
+
|
|
60
|
+
sig { returns(T::Hash[Symbol, T.untyped]) }
|
|
61
|
+
def to_h; end
|
|
62
|
+
|
|
63
|
+
sig { params(args: T.untyped).returns(String) }
|
|
64
|
+
def to_json(*args); end
|
|
65
|
+
end
|
|
66
|
+
end
|
|
@@ -21,6 +21,24 @@ module WorkOS
|
|
|
21
21
|
sig { params(value: String).returns(String) }
|
|
22
22
|
def id=(value); end
|
|
23
23
|
|
|
24
|
+
sig { returns(T.nilable(String)) }
|
|
25
|
+
def connection_role; end
|
|
26
|
+
|
|
27
|
+
sig { params(value: T.nilable(String)).returns(T.nilable(String)) }
|
|
28
|
+
def connection_role=(value); end
|
|
29
|
+
|
|
30
|
+
sig { returns(T.nilable(String)) }
|
|
31
|
+
def account_identifier; end
|
|
32
|
+
|
|
33
|
+
sig { params(value: T.nilable(String)).returns(T.nilable(String)) }
|
|
34
|
+
def account_identifier=(value); end
|
|
35
|
+
|
|
36
|
+
sig { returns(T.nilable(String)) }
|
|
37
|
+
def account_display_name; end
|
|
38
|
+
|
|
39
|
+
sig { params(value: T.nilable(String)).returns(T.nilable(String)) }
|
|
40
|
+
def account_display_name=(value); end
|
|
41
|
+
|
|
24
42
|
sig { returns(String) }
|
|
25
43
|
def data_integration_id; end
|
|
26
44
|
|
|
@@ -51,12 +69,36 @@ module WorkOS
|
|
|
51
69
|
sig { params(value: T::Array[String]).returns(T::Array[String]) }
|
|
52
70
|
def scopes=(value); end
|
|
53
71
|
|
|
72
|
+
sig { returns(T.nilable(String)) }
|
|
73
|
+
def auth_method; end
|
|
74
|
+
|
|
75
|
+
sig { params(value: T.nilable(String)).returns(T.nilable(String)) }
|
|
76
|
+
def auth_method=(value); end
|
|
77
|
+
|
|
78
|
+
sig { returns(T.nilable(String)) }
|
|
79
|
+
def api_key_last_4; end
|
|
80
|
+
|
|
81
|
+
sig { params(value: T.nilable(String)).returns(T.nilable(String)) }
|
|
82
|
+
def api_key_last_4=(value); end
|
|
83
|
+
|
|
54
84
|
sig { returns(String) }
|
|
55
85
|
def state; end
|
|
56
86
|
|
|
57
87
|
sig { params(value: String).returns(String) }
|
|
58
88
|
def state=(value); end
|
|
59
89
|
|
|
90
|
+
sig { returns(T.nilable(String)) }
|
|
91
|
+
def established_by_user_id; end
|
|
92
|
+
|
|
93
|
+
sig { params(value: T.nilable(String)).returns(T.nilable(String)) }
|
|
94
|
+
def established_by_user_id=(value); end
|
|
95
|
+
|
|
96
|
+
sig { returns(T.nilable(String)) }
|
|
97
|
+
def state_reason; end
|
|
98
|
+
|
|
99
|
+
sig { params(value: T.nilable(String)).returns(T.nilable(String)) }
|
|
100
|
+
def state_reason=(value); end
|
|
101
|
+
|
|
60
102
|
sig { returns(String) }
|
|
61
103
|
def created_at; end
|
|
62
104
|
|
data/rbi/workos/pipes.rbi
CHANGED
|
@@ -15,14 +15,16 @@ module WorkOS
|
|
|
15
15
|
after: T.nilable(String),
|
|
16
16
|
limit: T.nilable(Integer),
|
|
17
17
|
order: T.nilable(String),
|
|
18
|
+
ownership: T.nilable(String),
|
|
18
19
|
request_options: T::Hash[Symbol, T.untyped]
|
|
19
20
|
).returns(WorkOS::Types::ListStruct)
|
|
20
21
|
end
|
|
21
|
-
def list_data_integrations(before:, after:, limit:, order:, request_options:); end
|
|
22
|
+
def list_data_integrations(before:, after:, limit:, order:, ownership:, request_options:); end
|
|
22
23
|
|
|
23
24
|
sig do
|
|
24
25
|
params(
|
|
25
26
|
provider: String,
|
|
27
|
+
ownership: T.nilable(String),
|
|
26
28
|
description: T.nilable(String),
|
|
27
29
|
enabled: T.nilable(T::Boolean),
|
|
28
30
|
scopes: T.nilable(T::Array[String]),
|
|
@@ -34,7 +36,7 @@ module WorkOS
|
|
|
34
36
|
request_options: T::Hash[Symbol, T.untyped]
|
|
35
37
|
).returns(WorkOS::DataIntegration)
|
|
36
38
|
end
|
|
37
|
-
def create_data_integration(provider:, description:, enabled:, scopes:, auth_methods:, config:, credentials:, api_key:, custom_provider:, request_options:); end
|
|
39
|
+
def create_data_integration(provider:, ownership:, description:, enabled:, scopes:, auth_methods:, config:, credentials:, api_key:, custom_provider:, request_options:); end
|
|
38
40
|
|
|
39
41
|
sig do
|
|
40
42
|
params(
|
|
@@ -71,23 +73,43 @@ module WorkOS
|
|
|
71
73
|
slug: String,
|
|
72
74
|
user_id: String,
|
|
73
75
|
secret: String,
|
|
76
|
+
connection_intent: String,
|
|
77
|
+
account_display_name: T.nilable(String),
|
|
78
|
+
account_identifier: T.nilable(String),
|
|
74
79
|
organization_id: T.nilable(String),
|
|
80
|
+
connection_owner: T.nilable(String),
|
|
75
81
|
request_options: T::Hash[Symbol, T.untyped]
|
|
76
|
-
).returns(WorkOS::
|
|
82
|
+
).returns(WorkOS::ConnectedAccountWriteResponse)
|
|
83
|
+
end
|
|
84
|
+
def create_data_integration_api_key(slug:, user_id:, secret:, connection_intent:, account_display_name:, account_identifier:, organization_id:, connection_owner:, request_options:); end
|
|
85
|
+
|
|
86
|
+
sig do
|
|
87
|
+
params(
|
|
88
|
+
slug: String,
|
|
89
|
+
user_id: String,
|
|
90
|
+
secret: String,
|
|
91
|
+
account_display_name: T.nilable(String),
|
|
92
|
+
account_identifier: T.nilable(String),
|
|
93
|
+
organization_id: T.nilable(String),
|
|
94
|
+
connection_owner: T.nilable(String),
|
|
95
|
+
request_options: T::Hash[Symbol, T.untyped]
|
|
96
|
+
).returns(WorkOS::ConnectedAccountWriteResponse)
|
|
77
97
|
end
|
|
78
|
-
def update_data_integration_api_key(slug:, user_id:, secret:, organization_id:, request_options:); end
|
|
98
|
+
def update_data_integration_api_key(slug:, user_id:, secret:, account_display_name:, account_identifier:, organization_id:, connection_owner:, request_options:); end
|
|
79
99
|
|
|
80
100
|
sig do
|
|
81
101
|
params(
|
|
82
102
|
slug: String,
|
|
83
103
|
user_id: String,
|
|
104
|
+
account_display_name: T.nilable(String),
|
|
84
105
|
organization_id: T.nilable(String),
|
|
106
|
+
connection_owner: T.nilable(String),
|
|
85
107
|
return_to: T.nilable(String),
|
|
86
108
|
config: T.nilable(T::Hash[String, String]),
|
|
87
109
|
request_options: T::Hash[Symbol, T.untyped]
|
|
88
110
|
).returns(WorkOS::DataIntegrationAuthorizeUrlResponse)
|
|
89
111
|
end
|
|
90
|
-
def authorize_data_integration(slug:, user_id:, organization_id:, return_to:, config:, request_options:); end
|
|
112
|
+
def authorize_data_integration(slug:, user_id:, account_display_name:, organization_id:, connection_owner:, return_to:, config:, request_options:); end
|
|
91
113
|
|
|
92
114
|
sig do
|
|
93
115
|
params(
|
|
@@ -95,91 +117,229 @@ module WorkOS
|
|
|
95
117
|
user_id: String,
|
|
96
118
|
client_id: String,
|
|
97
119
|
client_secret: String,
|
|
120
|
+
connection_intent: String,
|
|
121
|
+
account_display_name: T.nilable(String),
|
|
122
|
+
account_identifier: T.nilable(String),
|
|
98
123
|
organization_id: T.nilable(String),
|
|
124
|
+
connection_owner: T.nilable(String),
|
|
99
125
|
config: T.nilable(T::Hash[String, String]),
|
|
100
126
|
request_options: T::Hash[Symbol, T.untyped]
|
|
101
|
-
).returns(WorkOS::
|
|
127
|
+
).returns(WorkOS::ConnectedAccountWriteResponse)
|
|
128
|
+
end
|
|
129
|
+
def create_data_integration_client_credential(slug:, user_id:, client_id:, client_secret:, connection_intent:, account_display_name:, account_identifier:, organization_id:, connection_owner:, config:, request_options:); end
|
|
130
|
+
|
|
131
|
+
sig do
|
|
132
|
+
params(
|
|
133
|
+
slug: String,
|
|
134
|
+
user_id: String,
|
|
135
|
+
client_id: String,
|
|
136
|
+
client_secret: String,
|
|
137
|
+
account_display_name: T.nilable(String),
|
|
138
|
+
account_identifier: T.nilable(String),
|
|
139
|
+
organization_id: T.nilable(String),
|
|
140
|
+
connection_owner: T.nilable(String),
|
|
141
|
+
config: T.nilable(T::Hash[String, String]),
|
|
142
|
+
request_options: T::Hash[Symbol, T.untyped]
|
|
143
|
+
).returns(WorkOS::ConnectedAccountWriteResponse)
|
|
102
144
|
end
|
|
103
|
-
def update_data_integration_client_credentials(slug:, user_id:, client_id:, client_secret:, organization_id:, config:, request_options:); end
|
|
145
|
+
def update_data_integration_client_credentials(slug:, user_id:, client_id:, client_secret:, account_display_name:, account_identifier:, organization_id:, connection_owner:, config:, request_options:); end
|
|
104
146
|
|
|
105
147
|
sig do
|
|
106
148
|
params(
|
|
107
149
|
slug: String,
|
|
108
150
|
user_id: String,
|
|
109
151
|
organization_id: T.nilable(String),
|
|
152
|
+
connected_account_id: T.nilable(String),
|
|
153
|
+
connection_owner: T.nilable(String),
|
|
154
|
+
supports_multiple_connections: T.nilable(T::Boolean),
|
|
110
155
|
request_options: T::Hash[Symbol, T.untyped]
|
|
111
156
|
).returns(WorkOS::DataIntegrationCredentialsResponse)
|
|
112
157
|
end
|
|
113
|
-
def create_data_integration_credential(slug:, user_id:, organization_id:, request_options:); end
|
|
158
|
+
def create_data_integration_credential(slug:, user_id:, organization_id:, connected_account_id:, connection_owner:, supports_multiple_connections:, request_options:); end
|
|
159
|
+
|
|
160
|
+
sig do
|
|
161
|
+
params(
|
|
162
|
+
slug: String,
|
|
163
|
+
request_options: T::Hash[Symbol, T.untyped]
|
|
164
|
+
).returns(WorkOS::DataIntegration)
|
|
165
|
+
end
|
|
166
|
+
def list_data_integration_organization(slug:, request_options:); end
|
|
167
|
+
|
|
168
|
+
sig do
|
|
169
|
+
params(
|
|
170
|
+
slug: String,
|
|
171
|
+
description: T.nilable(String),
|
|
172
|
+
enabled: T.nilable(T::Boolean),
|
|
173
|
+
scopes: T.nilable(T::Array[String]),
|
|
174
|
+
credentials: T.nilable(WorkOS::DataIntegrationCredentialsInput),
|
|
175
|
+
api_key: T.nilable(WorkOS::ApiKeyInstallation),
|
|
176
|
+
custom_provider: T.nilable(WorkOS::UpdateCustomProviderDefinition),
|
|
177
|
+
request_options: T::Hash[Symbol, T.untyped]
|
|
178
|
+
).returns(WorkOS::DataIntegration)
|
|
179
|
+
end
|
|
180
|
+
def update_data_integration_organization(slug:, description:, enabled:, scopes:, credentials:, api_key:, custom_provider:, request_options:); end
|
|
181
|
+
|
|
182
|
+
sig do
|
|
183
|
+
params(
|
|
184
|
+
slug: String,
|
|
185
|
+
request_options: T::Hash[Symbol, T.untyped]
|
|
186
|
+
).returns(NilClass)
|
|
187
|
+
end
|
|
188
|
+
def delete_data_integration_organization(slug:, request_options:); end
|
|
114
189
|
|
|
115
190
|
sig do
|
|
116
191
|
params(
|
|
117
192
|
provider: String,
|
|
118
193
|
user_id: String,
|
|
119
194
|
organization_id: T.nilable(String),
|
|
195
|
+
connected_account_id: T.nilable(String),
|
|
196
|
+
connection_owner: T.nilable(String),
|
|
197
|
+
supports_multiple_connections: T.nilable(T::Boolean),
|
|
120
198
|
request_options: T::Hash[Symbol, T.untyped]
|
|
121
199
|
).returns(WorkOS::DataIntegrationAccessTokenResponse)
|
|
122
200
|
end
|
|
123
|
-
def get_access_token(provider:, user_id:, organization_id:, request_options:); end
|
|
201
|
+
def get_access_token(provider:, user_id:, organization_id:, connected_account_id:, connection_owner:, supports_multiple_connections:, request_options:); end
|
|
202
|
+
|
|
203
|
+
sig do
|
|
204
|
+
params(
|
|
205
|
+
organization_id: String,
|
|
206
|
+
slug: String,
|
|
207
|
+
supports_multiple_connections: T.nilable(T::Boolean),
|
|
208
|
+
connected_account_id: T.nilable(String),
|
|
209
|
+
request_options: T::Hash[Symbol, T.untyped]
|
|
210
|
+
).returns(WorkOS::ConnectedAccount)
|
|
211
|
+
end
|
|
212
|
+
def get_organization_connected_account(organization_id:, slug:, supports_multiple_connections:, connected_account_id:, request_options:); end
|
|
213
|
+
|
|
214
|
+
sig do
|
|
215
|
+
params(
|
|
216
|
+
organization_id: String,
|
|
217
|
+
slug: String,
|
|
218
|
+
user_id: String,
|
|
219
|
+
account_display_name: T.nilable(String),
|
|
220
|
+
account_identifier: T.nilable(String),
|
|
221
|
+
access_token: T.nilable(String),
|
|
222
|
+
refresh_token: T.nilable(String),
|
|
223
|
+
expires_at: T.nilable(String),
|
|
224
|
+
scopes: T.nilable(T::Array[String]),
|
|
225
|
+
state: T.nilable(String),
|
|
226
|
+
connection_intent: T.nilable(String),
|
|
227
|
+
request_options: T::Hash[Symbol, T.untyped]
|
|
228
|
+
).returns(WorkOS::ConnectedAccountWriteResponse)
|
|
229
|
+
end
|
|
230
|
+
def create_organization_connected_account(organization_id:, slug:, user_id:, account_display_name:, account_identifier:, access_token:, refresh_token:, expires_at:, scopes:, state:, connection_intent:, request_options:); end
|
|
231
|
+
|
|
232
|
+
sig do
|
|
233
|
+
params(
|
|
234
|
+
organization_id: String,
|
|
235
|
+
slug: String,
|
|
236
|
+
user_id: String,
|
|
237
|
+
account_display_name: T.nilable(String),
|
|
238
|
+
account_identifier: T.nilable(String),
|
|
239
|
+
access_token: T.nilable(String),
|
|
240
|
+
refresh_token: T.nilable(String),
|
|
241
|
+
expires_at: T.nilable(String),
|
|
242
|
+
scopes: T.nilable(T::Array[String]),
|
|
243
|
+
state: T.nilable(String),
|
|
244
|
+
supports_multiple_connections: T.nilable(T::Boolean),
|
|
245
|
+
connected_account_id: T.nilable(String),
|
|
246
|
+
connection_intent: T.nilable(String),
|
|
247
|
+
request_options: T::Hash[Symbol, T.untyped]
|
|
248
|
+
).returns(WorkOS::ConnectedAccountWriteResponse)
|
|
249
|
+
end
|
|
250
|
+
def update_organization_connected_account(organization_id:, slug:, user_id:, account_display_name:, account_identifier:, access_token:, refresh_token:, expires_at:, scopes:, state:, supports_multiple_connections:, connected_account_id:, connection_intent:, request_options:); end
|
|
251
|
+
|
|
252
|
+
sig do
|
|
253
|
+
params(
|
|
254
|
+
organization_id: String,
|
|
255
|
+
slug: String,
|
|
256
|
+
supports_multiple_connections: T.nilable(T::Boolean),
|
|
257
|
+
connected_account_id: T.nilable(String),
|
|
258
|
+
request_options: T::Hash[Symbol, T.untyped]
|
|
259
|
+
).returns(NilClass)
|
|
260
|
+
end
|
|
261
|
+
def delete_organization_connected_account(organization_id:, slug:, supports_multiple_connections:, connected_account_id:, request_options:); end
|
|
262
|
+
|
|
263
|
+
sig do
|
|
264
|
+
params(
|
|
265
|
+
organization_id: String,
|
|
266
|
+
supports_multiple_connections: T.nilable(T::Boolean),
|
|
267
|
+
request_options: T::Hash[Symbol, T.untyped]
|
|
268
|
+
).returns(WorkOS::DataIntegrationsListResponse)
|
|
269
|
+
end
|
|
270
|
+
def list_organization_data_providers(organization_id:, supports_multiple_connections:, request_options:); end
|
|
124
271
|
|
|
125
272
|
sig do
|
|
126
273
|
params(
|
|
127
274
|
user_id: String,
|
|
128
275
|
slug: String,
|
|
129
276
|
organization_id: T.nilable(String),
|
|
277
|
+
supports_multiple_connections: T.nilable(T::Boolean),
|
|
278
|
+
connected_account_id: T.nilable(String),
|
|
130
279
|
request_options: T::Hash[Symbol, T.untyped]
|
|
131
280
|
).returns(WorkOS::ConnectedAccount)
|
|
132
281
|
end
|
|
133
|
-
def get_user_connected_account(user_id:, slug:, organization_id:, request_options:); end
|
|
282
|
+
def get_user_connected_account(user_id:, slug:, organization_id:, supports_multiple_connections:, connected_account_id:, request_options:); end
|
|
134
283
|
|
|
135
284
|
sig do
|
|
136
285
|
params(
|
|
137
286
|
user_id: String,
|
|
138
287
|
slug: String,
|
|
288
|
+
account_display_name: T.nilable(String),
|
|
289
|
+
account_identifier: T.nilable(String),
|
|
139
290
|
access_token: T.nilable(String),
|
|
140
291
|
refresh_token: T.nilable(String),
|
|
141
292
|
expires_at: T.nilable(String),
|
|
142
293
|
scopes: T.nilable(T::Array[String]),
|
|
143
294
|
state: T.nilable(String),
|
|
295
|
+
connection_intent: T.nilable(String),
|
|
144
296
|
organization_id: T.nilable(String),
|
|
145
297
|
request_options: T::Hash[Symbol, T.untyped]
|
|
146
|
-
).returns(WorkOS::
|
|
298
|
+
).returns(WorkOS::ConnectedAccountWriteResponse)
|
|
147
299
|
end
|
|
148
|
-
def create_user_connected_account(user_id:, slug:, access_token:, refresh_token:, expires_at:, scopes:, state:, organization_id:, request_options:); end
|
|
300
|
+
def create_user_connected_account(user_id:, slug:, account_display_name:, account_identifier:, access_token:, refresh_token:, expires_at:, scopes:, state:, connection_intent:, organization_id:, request_options:); end
|
|
149
301
|
|
|
150
302
|
sig do
|
|
151
303
|
params(
|
|
152
304
|
user_id: String,
|
|
153
305
|
slug: String,
|
|
306
|
+
account_display_name: T.nilable(String),
|
|
307
|
+
account_identifier: T.nilable(String),
|
|
154
308
|
access_token: T.nilable(String),
|
|
155
309
|
refresh_token: T.nilable(String),
|
|
156
310
|
expires_at: T.nilable(String),
|
|
157
311
|
scopes: T.nilable(T::Array[String]),
|
|
158
312
|
state: T.nilable(String),
|
|
159
313
|
organization_id: T.nilable(String),
|
|
314
|
+
supports_multiple_connections: T.nilable(T::Boolean),
|
|
315
|
+
connected_account_id: T.nilable(String),
|
|
316
|
+
connection_intent: T.nilable(String),
|
|
160
317
|
request_options: T::Hash[Symbol, T.untyped]
|
|
161
|
-
).returns(WorkOS::
|
|
318
|
+
).returns(WorkOS::ConnectedAccountWriteResponse)
|
|
162
319
|
end
|
|
163
|
-
def update_user_connected_account(user_id:, slug:, access_token:, refresh_token:, expires_at:, scopes:, state:, organization_id:, request_options:); end
|
|
320
|
+
def update_user_connected_account(user_id:, slug:, account_display_name:, account_identifier:, access_token:, refresh_token:, expires_at:, scopes:, state:, organization_id:, supports_multiple_connections:, connected_account_id:, connection_intent:, request_options:); end
|
|
164
321
|
|
|
165
322
|
sig do
|
|
166
323
|
params(
|
|
167
324
|
user_id: String,
|
|
168
325
|
slug: String,
|
|
169
326
|
organization_id: T.nilable(String),
|
|
327
|
+
supports_multiple_connections: T.nilable(T::Boolean),
|
|
328
|
+
connected_account_id: T.nilable(String),
|
|
170
329
|
request_options: T::Hash[Symbol, T.untyped]
|
|
171
330
|
).returns(NilClass)
|
|
172
331
|
end
|
|
173
|
-
def delete_user_connected_account(user_id:, slug:, organization_id:, request_options:); end
|
|
332
|
+
def delete_user_connected_account(user_id:, slug:, organization_id:, supports_multiple_connections:, connected_account_id:, request_options:); end
|
|
174
333
|
|
|
175
334
|
sig do
|
|
176
335
|
params(
|
|
177
336
|
user_id: String,
|
|
178
337
|
organization_id: T.nilable(String),
|
|
338
|
+
supports_multiple_connections: T.nilable(T::Boolean),
|
|
179
339
|
request_options: T::Hash[Symbol, T.untyped]
|
|
180
340
|
).returns(WorkOS::DataIntegrationsListResponse)
|
|
181
341
|
end
|
|
182
|
-
def list_user_data_providers(user_id:, organization_id:, request_options:); end
|
|
342
|
+
def list_user_data_providers(user_id:, organization_id:, supports_multiple_connections:, request_options:); end
|
|
183
343
|
|
|
184
344
|
end
|
|
185
345
|
end
|
|
@@ -0,0 +1,54 @@
|
|
|
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 PipesAccountConnectionAddFailed
|
|
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 event; end
|
|
26
|
+
|
|
27
|
+
sig { params(value: String).returns(String) }
|
|
28
|
+
def event=(value); end
|
|
29
|
+
|
|
30
|
+
sig { returns(WorkOS::PipesAccountConnectionAddFailedData) }
|
|
31
|
+
def data; end
|
|
32
|
+
|
|
33
|
+
sig { params(value: WorkOS::PipesAccountConnectionAddFailedData).returns(WorkOS::PipesAccountConnectionAddFailedData) }
|
|
34
|
+
def data=(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(T.nilable(WorkOS::EventContext)) }
|
|
43
|
+
def context; end
|
|
44
|
+
|
|
45
|
+
sig { params(value: T.nilable(WorkOS::EventContext)).returns(T.nilable(WorkOS::EventContext)) }
|
|
46
|
+
def context=(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
|
|
54
|
+
end
|