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,22 @@
|
|
|
1
|
+
# frozen_string_literal: true
|
|
2
|
+
|
|
3
|
+
# This file is auto-generated by oagen. Do not edit.
|
|
4
|
+
|
|
5
|
+
module WorkOS
|
|
6
|
+
class ConnectedAccountWriteResponseWarning < WorkOS::Types::BaseModel
|
|
7
|
+
HASH_ATTRS = {
|
|
8
|
+
code: :code,
|
|
9
|
+
message: :message
|
|
10
|
+
}.freeze
|
|
11
|
+
|
|
12
|
+
attr_accessor \
|
|
13
|
+
:code,
|
|
14
|
+
:message
|
|
15
|
+
|
|
16
|
+
def initialize(json)
|
|
17
|
+
hash = self.class.normalize(json)
|
|
18
|
+
@code = hash[:code]
|
|
19
|
+
@message = hash[:message]
|
|
20
|
+
end
|
|
21
|
+
end
|
|
22
|
+
end
|
|
@@ -0,0 +1,40 @@
|
|
|
1
|
+
# frozen_string_literal: true
|
|
2
|
+
|
|
3
|
+
# This file is auto-generated by oagen. Do not edit.
|
|
4
|
+
|
|
5
|
+
module WorkOS
|
|
6
|
+
class CreateConnectedAccount < WorkOS::Types::BaseModel
|
|
7
|
+
HASH_ATTRS = {
|
|
8
|
+
account_display_name: :account_display_name,
|
|
9
|
+
account_identifier: :account_identifier,
|
|
10
|
+
access_token: :access_token,
|
|
11
|
+
refresh_token: :refresh_token,
|
|
12
|
+
expires_at: :expires_at,
|
|
13
|
+
scopes: :scopes,
|
|
14
|
+
state: :state,
|
|
15
|
+
connection_intent: :connection_intent
|
|
16
|
+
}.freeze
|
|
17
|
+
|
|
18
|
+
attr_accessor \
|
|
19
|
+
:account_display_name,
|
|
20
|
+
:account_identifier,
|
|
21
|
+
:access_token,
|
|
22
|
+
:refresh_token,
|
|
23
|
+
:expires_at,
|
|
24
|
+
:scopes,
|
|
25
|
+
:state,
|
|
26
|
+
:connection_intent
|
|
27
|
+
|
|
28
|
+
def initialize(json)
|
|
29
|
+
hash = self.class.normalize(json)
|
|
30
|
+
@account_display_name = hash[:account_display_name]
|
|
31
|
+
@account_identifier = hash[:account_identifier]
|
|
32
|
+
@access_token = hash[:access_token]
|
|
33
|
+
@refresh_token = hash[:refresh_token]
|
|
34
|
+
@expires_at = hash[:expires_at]
|
|
35
|
+
@scopes = hash[:scopes] || []
|
|
36
|
+
@state = hash[:state]
|
|
37
|
+
@connection_intent = hash[:connection_intent]
|
|
38
|
+
end
|
|
39
|
+
end
|
|
40
|
+
end
|
|
@@ -6,6 +6,7 @@ module WorkOS
|
|
|
6
6
|
class CreateDataIntegration < WorkOS::Types::BaseModel
|
|
7
7
|
HASH_ATTRS = {
|
|
8
8
|
provider: :provider,
|
|
9
|
+
ownership: :ownership,
|
|
9
10
|
description: :description,
|
|
10
11
|
enabled: :enabled,
|
|
11
12
|
scopes: :scopes,
|
|
@@ -18,6 +19,7 @@ module WorkOS
|
|
|
18
19
|
|
|
19
20
|
attr_accessor \
|
|
20
21
|
:provider,
|
|
22
|
+
:ownership,
|
|
21
23
|
:description,
|
|
22
24
|
:enabled,
|
|
23
25
|
:scopes,
|
|
@@ -30,6 +32,7 @@ module WorkOS
|
|
|
30
32
|
def initialize(json)
|
|
31
33
|
hash = self.class.normalize(json)
|
|
32
34
|
@provider = hash[:provider]
|
|
35
|
+
@ownership = hash[:ownership]
|
|
33
36
|
@description = hash[:description]
|
|
34
37
|
@enabled = hash[:enabled]
|
|
35
38
|
@scopes = hash[:scopes] || []
|
|
@@ -0,0 +1,43 @@
|
|
|
1
|
+
# frozen_string_literal: true
|
|
2
|
+
|
|
3
|
+
# This file is auto-generated by oagen. Do not edit.
|
|
4
|
+
|
|
5
|
+
module WorkOS
|
|
6
|
+
class CreateOrganizationConnectedAccount < WorkOS::Types::BaseModel
|
|
7
|
+
HASH_ATTRS = {
|
|
8
|
+
account_display_name: :account_display_name,
|
|
9
|
+
account_identifier: :account_identifier,
|
|
10
|
+
access_token: :access_token,
|
|
11
|
+
refresh_token: :refresh_token,
|
|
12
|
+
expires_at: :expires_at,
|
|
13
|
+
scopes: :scopes,
|
|
14
|
+
state: :state,
|
|
15
|
+
user_id: :user_id,
|
|
16
|
+
connection_intent: :connection_intent
|
|
17
|
+
}.freeze
|
|
18
|
+
|
|
19
|
+
attr_accessor \
|
|
20
|
+
:account_display_name,
|
|
21
|
+
:account_identifier,
|
|
22
|
+
:access_token,
|
|
23
|
+
:refresh_token,
|
|
24
|
+
:expires_at,
|
|
25
|
+
:scopes,
|
|
26
|
+
:state,
|
|
27
|
+
:user_id,
|
|
28
|
+
:connection_intent
|
|
29
|
+
|
|
30
|
+
def initialize(json)
|
|
31
|
+
hash = self.class.normalize(json)
|
|
32
|
+
@account_display_name = hash[:account_display_name]
|
|
33
|
+
@account_identifier = hash[:account_identifier]
|
|
34
|
+
@access_token = hash[:access_token]
|
|
35
|
+
@refresh_token = hash[:refresh_token]
|
|
36
|
+
@expires_at = hash[:expires_at]
|
|
37
|
+
@scopes = hash[:scopes] || []
|
|
38
|
+
@state = hash[:state]
|
|
39
|
+
@user_id = hash[:user_id]
|
|
40
|
+
@connection_intent = hash[:connection_intent]
|
|
41
|
+
end
|
|
42
|
+
end
|
|
43
|
+
end
|
|
@@ -9,6 +9,7 @@ module WorkOS
|
|
|
9
9
|
id: :id,
|
|
10
10
|
slug: :slug,
|
|
11
11
|
integration_type: :integration_type,
|
|
12
|
+
ownership: :ownership,
|
|
12
13
|
description: :description,
|
|
13
14
|
enabled: :enabled,
|
|
14
15
|
state: :state,
|
|
@@ -28,6 +29,7 @@ module WorkOS
|
|
|
28
29
|
:id,
|
|
29
30
|
:slug,
|
|
30
31
|
:integration_type,
|
|
32
|
+
:ownership,
|
|
31
33
|
:description,
|
|
32
34
|
:enabled,
|
|
33
35
|
:state,
|
|
@@ -47,6 +49,7 @@ module WorkOS
|
|
|
47
49
|
@id = hash[:id]
|
|
48
50
|
@slug = hash[:slug]
|
|
49
51
|
@integration_type = hash[:integration_type]
|
|
52
|
+
@ownership = hash[:ownership]
|
|
50
53
|
@description = hash[:description]
|
|
51
54
|
@enabled = hash[:enabled]
|
|
52
55
|
@state = hash[:state]
|
|
@@ -18,7 +18,7 @@ module WorkOS
|
|
|
18
18
|
def initialize(json)
|
|
19
19
|
hash = self.class.normalize(json)
|
|
20
20
|
@active = hash[:active]
|
|
21
|
-
@credential = hash[:credential] ? WorkOS::
|
|
21
|
+
@credential = hash[:credential] ? WorkOS::DataIntegrationVendedCredential.new(hash[:credential]) : nil
|
|
22
22
|
@error = hash[:error]
|
|
23
23
|
end
|
|
24
24
|
end
|
|
@@ -6,6 +6,9 @@ module WorkOS
|
|
|
6
6
|
class DataIntegrationInstallation < WorkOS::Types::BaseModel
|
|
7
7
|
HASH_ATTRS = {
|
|
8
8
|
id: :id,
|
|
9
|
+
connection_role: :connection_role,
|
|
10
|
+
account_identifier: :account_identifier,
|
|
11
|
+
account_display_name: :account_display_name,
|
|
9
12
|
user_id: :user_id,
|
|
10
13
|
organization_id: :organization_id,
|
|
11
14
|
api_key_last_4: :api_key_last_4
|
|
@@ -13,6 +16,9 @@ module WorkOS
|
|
|
13
16
|
|
|
14
17
|
attr_accessor \
|
|
15
18
|
:id,
|
|
19
|
+
:connection_role,
|
|
20
|
+
:account_identifier,
|
|
21
|
+
:account_display_name,
|
|
16
22
|
:user_id,
|
|
17
23
|
:organization_id,
|
|
18
24
|
:api_key_last_4
|
|
@@ -20,6 +26,9 @@ module WorkOS
|
|
|
20
26
|
def initialize(json)
|
|
21
27
|
hash = self.class.normalize(json)
|
|
22
28
|
@id = hash[:id]
|
|
29
|
+
@connection_role = hash[:connection_role]
|
|
30
|
+
@account_identifier = hash[:account_identifier]
|
|
31
|
+
@account_display_name = hash[:account_display_name]
|
|
23
32
|
@user_id = hash[:user_id]
|
|
24
33
|
@organization_id = hash[:organization_id]
|
|
25
34
|
@api_key_last_4 = hash[:api_key_last_4]
|
|
@@ -3,14 +3,16 @@
|
|
|
3
3
|
# This file is auto-generated by oagen. Do not edit.
|
|
4
4
|
|
|
5
5
|
module WorkOS
|
|
6
|
-
class
|
|
6
|
+
class DataIntegrationVendedCredential < WorkOS::Types::BaseModel
|
|
7
7
|
HASH_ATTRS = {
|
|
8
8
|
object: :object,
|
|
9
9
|
auth_method: :auth_method,
|
|
10
10
|
value: :value,
|
|
11
11
|
expires_at: :expires_at,
|
|
12
12
|
scopes: :scopes,
|
|
13
|
-
missing_scopes: :missing_scopes
|
|
13
|
+
missing_scopes: :missing_scopes,
|
|
14
|
+
config: :config,
|
|
15
|
+
metadata: :metadata
|
|
14
16
|
}.freeze
|
|
15
17
|
|
|
16
18
|
attr_accessor \
|
|
@@ -19,7 +21,9 @@ module WorkOS
|
|
|
19
21
|
:value,
|
|
20
22
|
:expires_at,
|
|
21
23
|
:scopes,
|
|
22
|
-
:missing_scopes
|
|
24
|
+
:missing_scopes,
|
|
25
|
+
:config,
|
|
26
|
+
:metadata
|
|
23
27
|
|
|
24
28
|
def initialize(json)
|
|
25
29
|
hash = self.class.normalize(json)
|
|
@@ -29,6 +33,8 @@ module WorkOS
|
|
|
29
33
|
@expires_at = hash[:expires_at]
|
|
30
34
|
@scopes = hash[:scopes] || []
|
|
31
35
|
@missing_scopes = hash[:missing_scopes] || []
|
|
36
|
+
@config = hash[:config] || {}
|
|
37
|
+
@metadata = hash[:metadata] || {}
|
|
32
38
|
end
|
|
33
39
|
end
|
|
34
40
|
end
|
|
@@ -0,0 +1,37 @@
|
|
|
1
|
+
# frozen_string_literal: true
|
|
2
|
+
|
|
3
|
+
# This file is auto-generated by oagen. Do not edit.
|
|
4
|
+
|
|
5
|
+
module WorkOS
|
|
6
|
+
class DataIntegrationsCreateApiKeyConnectionRequest < WorkOS::Types::BaseModel
|
|
7
|
+
HASH_ATTRS = {
|
|
8
|
+
account_display_name: :account_display_name,
|
|
9
|
+
account_identifier: :account_identifier,
|
|
10
|
+
user_id: :user_id,
|
|
11
|
+
organization_id: :organization_id,
|
|
12
|
+
connection_owner: :connection_owner,
|
|
13
|
+
secret: :secret,
|
|
14
|
+
connection_intent: :connection_intent
|
|
15
|
+
}.freeze
|
|
16
|
+
|
|
17
|
+
attr_accessor \
|
|
18
|
+
:account_display_name,
|
|
19
|
+
:account_identifier,
|
|
20
|
+
:user_id,
|
|
21
|
+
:organization_id,
|
|
22
|
+
:connection_owner,
|
|
23
|
+
:secret,
|
|
24
|
+
:connection_intent
|
|
25
|
+
|
|
26
|
+
def initialize(json)
|
|
27
|
+
hash = self.class.normalize(json)
|
|
28
|
+
@account_display_name = hash[:account_display_name]
|
|
29
|
+
@account_identifier = hash[:account_identifier]
|
|
30
|
+
@user_id = hash[:user_id]
|
|
31
|
+
@organization_id = hash[:organization_id]
|
|
32
|
+
@connection_owner = hash[:connection_owner]
|
|
33
|
+
@secret = hash[:secret]
|
|
34
|
+
@connection_intent = hash[:connection_intent]
|
|
35
|
+
end
|
|
36
|
+
end
|
|
37
|
+
end
|
|
@@ -0,0 +1,43 @@
|
|
|
1
|
+
# frozen_string_literal: true
|
|
2
|
+
|
|
3
|
+
# This file is auto-generated by oagen. Do not edit.
|
|
4
|
+
|
|
5
|
+
module WorkOS
|
|
6
|
+
class DataIntegrationsCreateClientCredentialsConnectionRequest < WorkOS::Types::BaseModel
|
|
7
|
+
HASH_ATTRS = {
|
|
8
|
+
account_display_name: :account_display_name,
|
|
9
|
+
account_identifier: :account_identifier,
|
|
10
|
+
user_id: :user_id,
|
|
11
|
+
organization_id: :organization_id,
|
|
12
|
+
connection_owner: :connection_owner,
|
|
13
|
+
client_id: :client_id,
|
|
14
|
+
client_secret: :client_secret,
|
|
15
|
+
config: :config,
|
|
16
|
+
connection_intent: :connection_intent
|
|
17
|
+
}.freeze
|
|
18
|
+
|
|
19
|
+
attr_accessor \
|
|
20
|
+
:account_display_name,
|
|
21
|
+
:account_identifier,
|
|
22
|
+
:user_id,
|
|
23
|
+
:organization_id,
|
|
24
|
+
:connection_owner,
|
|
25
|
+
:client_id,
|
|
26
|
+
:client_secret,
|
|
27
|
+
:config,
|
|
28
|
+
:connection_intent
|
|
29
|
+
|
|
30
|
+
def initialize(json)
|
|
31
|
+
hash = self.class.normalize(json)
|
|
32
|
+
@account_display_name = hash[:account_display_name]
|
|
33
|
+
@account_identifier = hash[:account_identifier]
|
|
34
|
+
@user_id = hash[:user_id]
|
|
35
|
+
@organization_id = hash[:organization_id]
|
|
36
|
+
@connection_owner = hash[:connection_owner]
|
|
37
|
+
@client_id = hash[:client_id]
|
|
38
|
+
@client_secret = hash[:client_secret]
|
|
39
|
+
@config = hash[:config] || {}
|
|
40
|
+
@connection_intent = hash[:connection_intent]
|
|
41
|
+
end
|
|
42
|
+
end
|
|
43
|
+
end
|
|
@@ -5,22 +5,28 @@
|
|
|
5
5
|
module WorkOS
|
|
6
6
|
class DataIntegrationsGetDataIntegrationAuthorizeUrlRequest < WorkOS::Types::BaseModel
|
|
7
7
|
HASH_ATTRS = {
|
|
8
|
+
account_display_name: :account_display_name,
|
|
8
9
|
user_id: :user_id,
|
|
9
10
|
organization_id: :organization_id,
|
|
11
|
+
connection_owner: :connection_owner,
|
|
10
12
|
return_to: :return_to,
|
|
11
13
|
config: :config
|
|
12
14
|
}.freeze
|
|
13
15
|
|
|
14
16
|
attr_accessor \
|
|
17
|
+
:account_display_name,
|
|
15
18
|
:user_id,
|
|
16
19
|
:organization_id,
|
|
20
|
+
:connection_owner,
|
|
17
21
|
:return_to,
|
|
18
22
|
:config
|
|
19
23
|
|
|
20
24
|
def initialize(json)
|
|
21
25
|
hash = self.class.normalize(json)
|
|
26
|
+
@account_display_name = hash[:account_display_name]
|
|
22
27
|
@user_id = hash[:user_id]
|
|
23
28
|
@organization_id = hash[:organization_id]
|
|
29
|
+
@connection_owner = hash[:connection_owner]
|
|
24
30
|
@return_to = hash[:return_to]
|
|
25
31
|
@config = hash[:config] || {}
|
|
26
32
|
end
|
|
@@ -6,17 +6,26 @@ module WorkOS
|
|
|
6
6
|
class DataIntegrationsGetUserTokenRequest < WorkOS::Types::BaseModel
|
|
7
7
|
HASH_ATTRS = {
|
|
8
8
|
user_id: :user_id,
|
|
9
|
-
organization_id: :organization_id
|
|
9
|
+
organization_id: :organization_id,
|
|
10
|
+
connected_account_id: :connected_account_id,
|
|
11
|
+
connection_owner: :connection_owner,
|
|
12
|
+
supports_multiple_connections: :supports_multiple_connections
|
|
10
13
|
}.freeze
|
|
11
14
|
|
|
12
15
|
attr_accessor \
|
|
13
16
|
:user_id,
|
|
14
|
-
:organization_id
|
|
17
|
+
:organization_id,
|
|
18
|
+
:connected_account_id,
|
|
19
|
+
:connection_owner,
|
|
20
|
+
:supports_multiple_connections
|
|
15
21
|
|
|
16
22
|
def initialize(json)
|
|
17
23
|
hash = self.class.normalize(json)
|
|
18
24
|
@user_id = hash[:user_id]
|
|
19
25
|
@organization_id = hash[:organization_id]
|
|
26
|
+
@connected_account_id = hash[:connected_account_id]
|
|
27
|
+
@connection_owner = hash[:connection_owner]
|
|
28
|
+
@supports_multiple_connections = hash[:supports_multiple_connections]
|
|
20
29
|
end
|
|
21
30
|
end
|
|
22
31
|
end
|
|
@@ -14,12 +14,17 @@ module WorkOS
|
|
|
14
14
|
credentials_type: :credentials_type,
|
|
15
15
|
scopes: :scopes,
|
|
16
16
|
auth_methods: :auth_methods,
|
|
17
|
+
connection_owner: :connection_owner,
|
|
17
18
|
ownership: :ownership,
|
|
18
19
|
created_at: :created_at,
|
|
19
20
|
updated_at: :updated_at,
|
|
20
|
-
connected_account: :connected_account
|
|
21
|
+
connected_account: :connected_account,
|
|
22
|
+
connected_accounts: :connected_accounts
|
|
21
23
|
}.freeze
|
|
22
24
|
|
|
25
|
+
# @!attribute ownership
|
|
26
|
+
# @deprecated Use `connection_owner` instead. Legacy spelling of the same value: `userland_user` corresponds to `connection_owner: "user"` and `organization` to `connection_owner: "organization"`.
|
|
27
|
+
|
|
23
28
|
attr_accessor \
|
|
24
29
|
:object,
|
|
25
30
|
:id,
|
|
@@ -30,10 +35,18 @@ module WorkOS
|
|
|
30
35
|
:credentials_type,
|
|
31
36
|
:scopes,
|
|
32
37
|
:auth_methods,
|
|
33
|
-
:
|
|
38
|
+
:connection_owner,
|
|
34
39
|
:created_at,
|
|
35
40
|
:updated_at,
|
|
36
|
-
:connected_account
|
|
41
|
+
:connected_account,
|
|
42
|
+
:connected_accounts
|
|
43
|
+
|
|
44
|
+
def ownership
|
|
45
|
+
warn "[DEPRECATION] `ownership` is deprecated and will be removed in a future version.", uplevel: 1
|
|
46
|
+
@ownership
|
|
47
|
+
end
|
|
48
|
+
|
|
49
|
+
attr_writer :ownership
|
|
37
50
|
|
|
38
51
|
def initialize(json)
|
|
39
52
|
hash = self.class.normalize(json)
|
|
@@ -46,10 +59,12 @@ module WorkOS
|
|
|
46
59
|
@credentials_type = hash[:credentials_type]
|
|
47
60
|
@scopes = hash[:scopes] || []
|
|
48
61
|
@auth_methods = hash[:auth_methods] || []
|
|
62
|
+
@connection_owner = hash[:connection_owner]
|
|
49
63
|
@ownership = hash[:ownership]
|
|
50
64
|
@created_at = hash[:created_at]
|
|
51
65
|
@updated_at = hash[:updated_at]
|
|
52
66
|
@connected_account = hash[:connected_account] ? WorkOS::DataIntegrationsListResponseDataConnectedAccount.new(hash[:connected_account]) : nil
|
|
67
|
+
@connected_accounts = (hash[:connected_accounts] || []).map { |item| item ? WorkOS::DataIntegrationsListResponseDataConnectedAccount.new(item) : nil }
|
|
53
68
|
end
|
|
54
69
|
end
|
|
55
70
|
end
|
|
@@ -7,6 +7,9 @@ module WorkOS
|
|
|
7
7
|
HASH_ATTRS = {
|
|
8
8
|
object: :object,
|
|
9
9
|
id: :id,
|
|
10
|
+
connection_role: :connection_role,
|
|
11
|
+
account_identifier: :account_identifier,
|
|
12
|
+
account_display_name: :account_display_name,
|
|
10
13
|
user_id: :user_id,
|
|
11
14
|
organization_id: :organization_id,
|
|
12
15
|
scopes: :scopes,
|
|
@@ -16,6 +19,8 @@ module WorkOS
|
|
|
16
19
|
client_secret_last_4: :client_secret_last_4,
|
|
17
20
|
config: :config,
|
|
18
21
|
state: :state,
|
|
22
|
+
established_by_user_id: :established_by_user_id,
|
|
23
|
+
state_reason: :state_reason,
|
|
19
24
|
created_at: :created_at,
|
|
20
25
|
updated_at: :updated_at,
|
|
21
26
|
userlandUserId: :userland_user_id
|
|
@@ -27,6 +32,9 @@ module WorkOS
|
|
|
27
32
|
attr_accessor \
|
|
28
33
|
:object,
|
|
29
34
|
:id,
|
|
35
|
+
:connection_role,
|
|
36
|
+
:account_identifier,
|
|
37
|
+
:account_display_name,
|
|
30
38
|
:user_id,
|
|
31
39
|
:organization_id,
|
|
32
40
|
:scopes,
|
|
@@ -36,6 +44,8 @@ module WorkOS
|
|
|
36
44
|
:client_secret_last_4,
|
|
37
45
|
:config,
|
|
38
46
|
:state,
|
|
47
|
+
:established_by_user_id,
|
|
48
|
+
:state_reason,
|
|
39
49
|
:created_at,
|
|
40
50
|
:updated_at
|
|
41
51
|
|
|
@@ -50,6 +60,9 @@ module WorkOS
|
|
|
50
60
|
hash = self.class.normalize(json)
|
|
51
61
|
@object = hash[:object]
|
|
52
62
|
@id = hash[:id]
|
|
63
|
+
@connection_role = hash[:connection_role]
|
|
64
|
+
@account_identifier = hash[:account_identifier]
|
|
65
|
+
@account_display_name = hash[:account_display_name]
|
|
53
66
|
@user_id = hash[:user_id]
|
|
54
67
|
@organization_id = hash[:organization_id]
|
|
55
68
|
@scopes = hash[:scopes] || []
|
|
@@ -59,6 +72,8 @@ module WorkOS
|
|
|
59
72
|
@client_secret_last_4 = hash[:client_secret_last_4]
|
|
60
73
|
@config = hash[:config] || {}
|
|
61
74
|
@state = hash[:state]
|
|
75
|
+
@established_by_user_id = hash[:established_by_user_id]
|
|
76
|
+
@state_reason = hash[:state_reason]
|
|
62
77
|
@created_at = hash[:created_at]
|
|
63
78
|
@updated_at = hash[:updated_at]
|
|
64
79
|
@userland_user_id = hash[:userlandUserId]
|
|
@@ -3,5 +3,32 @@
|
|
|
3
3
|
# This file is auto-generated by oagen. Do not edit.
|
|
4
4
|
|
|
5
5
|
module WorkOS
|
|
6
|
-
DataIntegrationsUpsertApiKeyRequest
|
|
6
|
+
class DataIntegrationsUpsertApiKeyRequest < WorkOS::Types::BaseModel
|
|
7
|
+
HASH_ATTRS = {
|
|
8
|
+
account_display_name: :account_display_name,
|
|
9
|
+
account_identifier: :account_identifier,
|
|
10
|
+
user_id: :user_id,
|
|
11
|
+
organization_id: :organization_id,
|
|
12
|
+
connection_owner: :connection_owner,
|
|
13
|
+
secret: :secret
|
|
14
|
+
}.freeze
|
|
15
|
+
|
|
16
|
+
attr_accessor \
|
|
17
|
+
:account_display_name,
|
|
18
|
+
:account_identifier,
|
|
19
|
+
:user_id,
|
|
20
|
+
:organization_id,
|
|
21
|
+
:connection_owner,
|
|
22
|
+
:secret
|
|
23
|
+
|
|
24
|
+
def initialize(json)
|
|
25
|
+
hash = self.class.normalize(json)
|
|
26
|
+
@account_display_name = hash[:account_display_name]
|
|
27
|
+
@account_identifier = hash[:account_identifier]
|
|
28
|
+
@user_id = hash[:user_id]
|
|
29
|
+
@organization_id = hash[:organization_id]
|
|
30
|
+
@connection_owner = hash[:connection_owner]
|
|
31
|
+
@secret = hash[:secret]
|
|
32
|
+
end
|
|
33
|
+
end
|
|
7
34
|
end
|
|
@@ -0,0 +1,37 @@
|
|
|
1
|
+
# frozen_string_literal: true
|
|
2
|
+
|
|
3
|
+
# This file is auto-generated by oagen. Do not edit.
|
|
4
|
+
|
|
5
|
+
module WorkOS
|
|
6
|
+
class DataIntegrationsUpsertApiKeyRequest2 < WorkOS::Types::BaseModel
|
|
7
|
+
HASH_ATTRS = {
|
|
8
|
+
account_display_name: :account_display_name,
|
|
9
|
+
account_identifier: :account_identifier,
|
|
10
|
+
user_id: :user_id,
|
|
11
|
+
organization_id: :organization_id,
|
|
12
|
+
connection_owner: :connection_owner,
|
|
13
|
+
secret: :secret,
|
|
14
|
+
connected_account_id: :connected_account_id
|
|
15
|
+
}.freeze
|
|
16
|
+
|
|
17
|
+
attr_accessor \
|
|
18
|
+
:account_display_name,
|
|
19
|
+
:account_identifier,
|
|
20
|
+
:user_id,
|
|
21
|
+
:organization_id,
|
|
22
|
+
:connection_owner,
|
|
23
|
+
:secret,
|
|
24
|
+
:connected_account_id
|
|
25
|
+
|
|
26
|
+
def initialize(json)
|
|
27
|
+
hash = self.class.normalize(json)
|
|
28
|
+
@account_display_name = hash[:account_display_name]
|
|
29
|
+
@account_identifier = hash[:account_identifier]
|
|
30
|
+
@user_id = hash[:user_id]
|
|
31
|
+
@organization_id = hash[:organization_id]
|
|
32
|
+
@connection_owner = hash[:connection_owner]
|
|
33
|
+
@secret = hash[:secret]
|
|
34
|
+
@connected_account_id = hash[:connected_account_id]
|
|
35
|
+
end
|
|
36
|
+
end
|
|
37
|
+
end
|
|
@@ -5,24 +5,33 @@
|
|
|
5
5
|
module WorkOS
|
|
6
6
|
class DataIntegrationsUpsertClientCredentialsRequest < WorkOS::Types::BaseModel
|
|
7
7
|
HASH_ATTRS = {
|
|
8
|
+
account_display_name: :account_display_name,
|
|
9
|
+
account_identifier: :account_identifier,
|
|
8
10
|
user_id: :user_id,
|
|
9
11
|
organization_id: :organization_id,
|
|
12
|
+
connection_owner: :connection_owner,
|
|
10
13
|
client_id: :client_id,
|
|
11
14
|
client_secret: :client_secret,
|
|
12
15
|
config: :config
|
|
13
16
|
}.freeze
|
|
14
17
|
|
|
15
18
|
attr_accessor \
|
|
19
|
+
:account_display_name,
|
|
20
|
+
:account_identifier,
|
|
16
21
|
:user_id,
|
|
17
22
|
:organization_id,
|
|
23
|
+
:connection_owner,
|
|
18
24
|
:client_id,
|
|
19
25
|
:client_secret,
|
|
20
26
|
:config
|
|
21
27
|
|
|
22
28
|
def initialize(json)
|
|
23
29
|
hash = self.class.normalize(json)
|
|
30
|
+
@account_display_name = hash[:account_display_name]
|
|
31
|
+
@account_identifier = hash[:account_identifier]
|
|
24
32
|
@user_id = hash[:user_id]
|
|
25
33
|
@organization_id = hash[:organization_id]
|
|
34
|
+
@connection_owner = hash[:connection_owner]
|
|
26
35
|
@client_id = hash[:client_id]
|
|
27
36
|
@client_secret = hash[:client_secret]
|
|
28
37
|
@config = hash[:config] || {}
|
|
@@ -0,0 +1,43 @@
|
|
|
1
|
+
# frozen_string_literal: true
|
|
2
|
+
|
|
3
|
+
# This file is auto-generated by oagen. Do not edit.
|
|
4
|
+
|
|
5
|
+
module WorkOS
|
|
6
|
+
class DataIntegrationsUpsertClientCredentialsRequest2 < WorkOS::Types::BaseModel
|
|
7
|
+
HASH_ATTRS = {
|
|
8
|
+
account_display_name: :account_display_name,
|
|
9
|
+
account_identifier: :account_identifier,
|
|
10
|
+
user_id: :user_id,
|
|
11
|
+
organization_id: :organization_id,
|
|
12
|
+
connection_owner: :connection_owner,
|
|
13
|
+
client_id: :client_id,
|
|
14
|
+
client_secret: :client_secret,
|
|
15
|
+
config: :config,
|
|
16
|
+
connected_account_id: :connected_account_id
|
|
17
|
+
}.freeze
|
|
18
|
+
|
|
19
|
+
attr_accessor \
|
|
20
|
+
:account_display_name,
|
|
21
|
+
:account_identifier,
|
|
22
|
+
:user_id,
|
|
23
|
+
:organization_id,
|
|
24
|
+
:connection_owner,
|
|
25
|
+
:client_id,
|
|
26
|
+
:client_secret,
|
|
27
|
+
:config,
|
|
28
|
+
:connected_account_id
|
|
29
|
+
|
|
30
|
+
def initialize(json)
|
|
31
|
+
hash = self.class.normalize(json)
|
|
32
|
+
@account_display_name = hash[:account_display_name]
|
|
33
|
+
@account_identifier = hash[:account_identifier]
|
|
34
|
+
@user_id = hash[:user_id]
|
|
35
|
+
@organization_id = hash[:organization_id]
|
|
36
|
+
@connection_owner = hash[:connection_owner]
|
|
37
|
+
@client_id = hash[:client_id]
|
|
38
|
+
@client_secret = hash[:client_secret]
|
|
39
|
+
@config = hash[:config] || {}
|
|
40
|
+
@connected_account_id = hash[:connected_account_id]
|
|
41
|
+
end
|
|
42
|
+
end
|
|
43
|
+
end
|
|
@@ -6,17 +6,26 @@ module WorkOS
|
|
|
6
6
|
class DataIntegrationsVendCredentialsRequest < WorkOS::Types::BaseModel
|
|
7
7
|
HASH_ATTRS = {
|
|
8
8
|
user_id: :user_id,
|
|
9
|
-
organization_id: :organization_id
|
|
9
|
+
organization_id: :organization_id,
|
|
10
|
+
connected_account_id: :connected_account_id,
|
|
11
|
+
connection_owner: :connection_owner,
|
|
12
|
+
supports_multiple_connections: :supports_multiple_connections
|
|
10
13
|
}.freeze
|
|
11
14
|
|
|
12
15
|
attr_accessor \
|
|
13
16
|
:user_id,
|
|
14
|
-
:organization_id
|
|
17
|
+
:organization_id,
|
|
18
|
+
:connected_account_id,
|
|
19
|
+
:connection_owner,
|
|
20
|
+
:supports_multiple_connections
|
|
15
21
|
|
|
16
22
|
def initialize(json)
|
|
17
23
|
hash = self.class.normalize(json)
|
|
18
24
|
@user_id = hash[:user_id]
|
|
19
25
|
@organization_id = hash[:organization_id]
|
|
26
|
+
@connected_account_id = hash[:connected_account_id]
|
|
27
|
+
@connection_owner = hash[:connection_owner]
|
|
28
|
+
@supports_multiple_connections = hash[:supports_multiple_connections]
|
|
20
29
|
end
|
|
21
30
|
end
|
|
22
31
|
end
|