turnkey_client 0.0.1 → 0.0.2
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/lib/turnkey_client/api/activities_api.rb +6 -6
- data/lib/turnkey_client/api/api_keys_api.rb +12 -12
- data/lib/turnkey_client/api/authenticators_api.rb +12 -12
- data/lib/turnkey_client/api/consensus_api.rb +6 -6
- data/lib/turnkey_client/api/features_api.rb +6 -6
- data/lib/turnkey_client/api/invitations_api.rb +6 -6
- data/lib/turnkey_client/api/organizations_api.rb +6 -64
- data/lib/turnkey_client/api/policies_api.rb +15 -15
- data/lib/turnkey_client/api/private_key_tags_api.rb +67 -9
- data/lib/turnkey_client/api/private_keys_api.rb +12 -12
- data/lib/turnkey_client/api/sessions_api.rb +3 -3
- data/lib/turnkey_client/api/signing_api.rb +6 -6
- data/lib/turnkey_client/api/user_auth_api.rb +3 -3
- data/lib/turnkey_client/api/user_recovery_api.rb +6 -6
- data/lib/turnkey_client/api/user_tags_api.rb +67 -9
- data/lib/turnkey_client/api/users_api.rb +37 -37
- data/lib/turnkey_client/api/wallets_api.rb +137 -21
- data/lib/turnkey_client/models/{v1_accept_invitation_intent_v2.rb → accept_invitation_intent.rb} +3 -3
- data/lib/turnkey_client/models/{v1_accept_invitation_intent.rb → accept_invitation_intent_v2.rb} +3 -3
- data/lib/turnkey_client/models/{v1_accept_invitation_result.rb → accept_invitation_result.rb} +3 -3
- data/lib/turnkey_client/models/{v1_access_type.rb → access_type.rb} +3 -3
- data/lib/turnkey_client/models/{v1_activate_billing_tier_intent.rb → activate_billing_tier_intent.rb} +3 -3
- data/lib/turnkey_client/models/{v1_activate_billing_tier_result.rb → activate_billing_tier_result.rb} +3 -3
- data/lib/turnkey_client/models/{v1_activity.rb → activity.rb} +3 -3
- data/lib/turnkey_client/models/{v1_activity_response.rb → activity_response.rb} +3 -3
- data/lib/turnkey_client/models/{v1_activity_status.rb → activity_status.rb} +3 -3
- data/lib/turnkey_client/models/{v1_activity_type.rb → activity_type.rb} +5 -3
- data/lib/turnkey_client/models/{externaldatav1_address.rb → activity_v1_address.rb} +3 -3
- data/lib/turnkey_client/models/{v1_address_format.rb → address_format.rb} +4 -3
- data/lib/turnkey_client/models/{v1_api_key.rb → api_key.rb} +3 -3
- data/lib/turnkey_client/models/{v1_api_key_params.rb → api_key_params.rb} +3 -3
- data/lib/turnkey_client/models/{v1_api_only_user_params.rb → api_only_user_params.rb} +3 -3
- data/lib/turnkey_client/models/{v1_reject_activity_intent.rb → approve_activity_intent.rb} +3 -3
- data/lib/turnkey_client/models/{v1_create_api_keys_request.rb → approve_activity_request.rb} +5 -5
- data/lib/turnkey_client/models/{v1_attestation.rb → attestation.rb} +3 -3
- data/lib/turnkey_client/models/{v1_authenticator.rb → authenticator.rb} +3 -3
- data/lib/turnkey_client/models/{v1_authenticator_attestation_response.rb → authenticator_attestation_response.rb} +3 -3
- data/lib/turnkey_client/models/{v1_authenticator_params.rb → authenticator_params.rb} +3 -3
- data/lib/turnkey_client/models/{v1_authenticator_params_v2.rb → authenticator_params_v2.rb} +3 -3
- data/lib/turnkey_client/models/{v1_authenticator_transport.rb → authenticator_transport.rb} +3 -3
- data/lib/turnkey_client/models/{v1_create_api_keys_intent.rb → create_api_keys_intent.rb} +3 -3
- data/lib/turnkey_client/models/{v1_create_users_request.rb → create_api_keys_request.rb} +5 -5
- data/lib/turnkey_client/models/{v1_create_api_keys_result.rb → create_api_keys_result.rb} +3 -3
- data/lib/turnkey_client/models/{v1_create_api_only_users_intent.rb → create_api_only_users_intent.rb} +3 -3
- data/lib/turnkey_client/models/{v1_create_api_only_users_result.rb → create_api_only_users_result.rb} +3 -3
- data/lib/turnkey_client/models/{v1_create_authenticators_intent_v2.rb → create_authenticators_intent.rb} +3 -3
- data/lib/turnkey_client/models/{v1_create_authenticators_intent.rb → create_authenticators_intent_v2.rb} +3 -3
- data/lib/turnkey_client/models/{v1_create_authenticators_request.rb → create_authenticators_request.rb} +3 -3
- data/lib/turnkey_client/models/{v1_create_authenticators_result.rb → create_authenticators_result.rb} +3 -3
- data/lib/turnkey_client/models/{v1_create_invitations_intent.rb → create_invitations_intent.rb} +3 -3
- data/lib/turnkey_client/models/{v1_approve_activity_request.rb → create_invitations_request.rb} +5 -5
- data/lib/turnkey_client/models/{v1_create_invitations_result.rb → create_invitations_result.rb} +3 -3
- data/lib/turnkey_client/models/{v1_create_organization_intent_v2.rb → create_organization_intent.rb} +3 -3
- data/lib/turnkey_client/models/{v1_create_organization_intent.rb → create_organization_intent_v2.rb} +3 -3
- data/lib/turnkey_client/models/{v1_get_organization_request.rb → create_organization_result.rb} +3 -3
- data/lib/turnkey_client/models/{v1_create_policy_intent_v2.rb → create_policy_intent.rb} +3 -3
- data/lib/turnkey_client/models/{v1_create_policy_intent.rb → create_policy_intent_v2.rb} +3 -3
- data/lib/turnkey_client/models/{v1_create_policy_intent_v3.rb → create_policy_intent_v3.rb} +3 -3
- data/lib/turnkey_client/models/{v1_create_policy_request.rb → create_policy_request.rb} +3 -3
- data/lib/turnkey_client/models/{v1_delete_policy_intent.rb → create_policy_result.rb} +3 -3
- data/lib/turnkey_client/models/{v1_create_private_key_tag_intent.rb → create_private_key_tag_intent.rb} +3 -3
- data/lib/turnkey_client/models/{v1_create_private_keys_request.rb → create_private_key_tag_request.rb} +5 -5
- data/lib/turnkey_client/models/{v1_create_private_key_tag_result.rb → create_private_key_tag_result.rb} +3 -3
- data/lib/turnkey_client/models/{v1_get_private_keys_response.rb → create_private_keys_intent.rb} +3 -3
- data/lib/turnkey_client/models/{v1_create_private_keys_intent.rb → create_private_keys_intent_v2.rb} +3 -3
- data/lib/turnkey_client/models/{v1_sign_transaction_request.rb → create_private_keys_request.rb} +5 -5
- data/lib/turnkey_client/models/{v1_create_private_keys_result.rb → create_private_keys_result.rb} +3 -3
- data/lib/turnkey_client/models/{v1_create_private_keys_result_v2.rb → create_private_keys_result_v2.rb} +3 -3
- data/lib/turnkey_client/models/{v1_create_sub_organization_intent.rb → create_sub_organization_intent.rb} +3 -3
- data/lib/turnkey_client/models/{v1_create_sub_organization_intent_v2.rb → create_sub_organization_intent_v2.rb} +3 -3
- data/lib/turnkey_client/models/{v1_create_sub_organization_intent_v3.rb → create_sub_organization_intent_v3.rb} +3 -3
- data/lib/turnkey_client/models/{v1_create_sub_organization_intent_v4.rb → create_sub_organization_intent_v4.rb} +3 -3
- data/lib/turnkey_client/models/{v1_export_wallet_account_request.rb → create_sub_organization_request.rb} +5 -5
- data/lib/turnkey_client/models/{v1_create_sub_organization_result.rb → create_sub_organization_result.rb} +3 -3
- data/lib/turnkey_client/models/{v1_create_sub_organization_result_v3.rb → create_sub_organization_result_v3.rb} +3 -3
- data/lib/turnkey_client/models/{v1_create_sub_organization_result_v4.rb → create_sub_organization_result_v4.rb} +3 -3
- data/lib/turnkey_client/models/{v1_create_user_tag_intent.rb → create_user_tag_intent.rb} +3 -3
- data/lib/turnkey_client/models/{v1_recover_user_request.rb → create_user_tag_request.rb} +5 -5
- data/lib/turnkey_client/models/{v1_create_user_tag_result.rb → create_user_tag_result.rb} +3 -3
- data/lib/turnkey_client/models/{v1_get_users_response.rb → create_users_intent.rb} +3 -3
- data/lib/turnkey_client/models/{v1_create_users_intent.rb → create_users_intent_v2.rb} +3 -3
- data/lib/turnkey_client/models/create_users_request.rb +289 -0
- data/lib/turnkey_client/models/{v1_delete_users_intent.rb → create_users_result.rb} +3 -3
- data/lib/turnkey_client/models/{v1_create_wallet_accounts_intent.rb → create_wallet_accounts_intent.rb} +3 -3
- data/lib/turnkey_client/models/create_wallet_accounts_request.rb +289 -0
- data/lib/turnkey_client/models/{v1_create_wallet_accounts_result.rb → create_wallet_accounts_result.rb} +3 -3
- data/lib/turnkey_client/models/{v1_create_wallet_intent.rb → create_wallet_intent.rb} +3 -3
- data/lib/turnkey_client/models/{v1_update_user_request.rb → create_wallet_request.rb} +5 -5
- data/lib/turnkey_client/models/{v1_create_wallet_result.rb → create_wallet_result.rb} +4 -4
- data/lib/turnkey_client/models/{v1_cred_props_authentication_extensions_client_outputs.rb → cred_props_authentication_extensions_client_outputs.rb} +3 -3
- data/lib/turnkey_client/models/{v1_credential_type.rb → credential_type.rb} +3 -3
- data/lib/turnkey_client/models/{v1_curve.rb → curve.rb} +3 -3
- data/lib/turnkey_client/models/{immutableactivityv1_address.rb → data_v1_address.rb} +3 -3
- data/lib/turnkey_client/models/{v1_delete_api_keys_intent.rb → delete_api_keys_intent.rb} +3 -3
- data/lib/turnkey_client/models/{v1_delete_api_keys_request.rb → delete_api_keys_request.rb} +3 -3
- data/lib/turnkey_client/models/{v1_delete_api_keys_result.rb → delete_api_keys_result.rb} +3 -3
- data/lib/turnkey_client/models/{v1_delete_authenticators_intent.rb → delete_authenticators_intent.rb} +3 -3
- data/lib/turnkey_client/models/{v1_create_api_only_users_request.rb → delete_authenticators_request.rb} +5 -5
- data/lib/turnkey_client/models/{v1_delete_authenticators_result.rb → delete_authenticators_result.rb} +3 -3
- data/lib/turnkey_client/models/{v1_delete_invitation_intent.rb → delete_invitation_intent.rb} +3 -3
- data/lib/turnkey_client/models/{v1_reject_activity_request.rb → delete_invitation_request.rb} +5 -5
- data/lib/turnkey_client/models/{v1_delete_invitation_result.rb → delete_invitation_result.rb} +3 -3
- data/lib/turnkey_client/models/{v1_get_private_keys_request.rb → delete_organization_intent.rb} +3 -3
- data/lib/turnkey_client/models/delete_organization_result.rb +212 -0
- data/lib/turnkey_client/models/{v1_delete_payment_method_intent.rb → delete_payment_method_intent.rb} +3 -3
- data/lib/turnkey_client/models/{v1_delete_payment_method_result.rb → delete_payment_method_result.rb} +3 -3
- data/lib/turnkey_client/models/{v1_update_policy_result.rb → delete_policy_intent.rb} +3 -3
- data/lib/turnkey_client/models/delete_policy_request.rb +289 -0
- data/lib/turnkey_client/models/{v1_delete_policy_result.rb → delete_policy_result.rb} +3 -3
- data/lib/turnkey_client/models/{v1_delete_private_key_tags_intent.rb → delete_private_key_tags_intent.rb} +3 -3
- data/lib/turnkey_client/models/delete_private_key_tags_request.rb +289 -0
- data/lib/turnkey_client/models/{v1_delete_private_key_tags_result.rb → delete_private_key_tags_result.rb} +3 -3
- data/lib/turnkey_client/models/{v1_delete_user_tags_intent.rb → delete_user_tags_intent.rb} +3 -3
- data/lib/turnkey_client/models/{v1_export_wallet_request.rb → delete_user_tags_request.rb} +5 -5
- data/lib/turnkey_client/models/{v1_delete_user_tags_result.rb → delete_user_tags_result.rb} +3 -3
- data/lib/turnkey_client/models/{v1_delete_users_result.rb → delete_users_intent.rb} +3 -3
- data/lib/turnkey_client/models/{v1_email_auth_request.rb → delete_users_request.rb} +5 -5
- data/lib/turnkey_client/models/{v1_create_users_result.rb → delete_users_result.rb} +3 -3
- data/lib/turnkey_client/models/{v1_disable_private_key_intent.rb → disable_private_key_intent.rb} +3 -3
- data/lib/turnkey_client/models/{v1_disable_private_key_result.rb → disable_private_key_result.rb} +3 -3
- data/lib/turnkey_client/models/{v1_effect.rb → effect.rb} +3 -3
- data/lib/turnkey_client/models/{v1_email_auth_intent.rb → email_auth_intent.rb} +3 -3
- data/lib/turnkey_client/models/email_auth_request.rb +289 -0
- data/lib/turnkey_client/models/{v1_email_auth_result.rb → email_auth_result.rb} +3 -3
- data/lib/turnkey_client/models/email_customization_params.rb +247 -0
- data/lib/turnkey_client/models/{v1_export_private_key_intent.rb → export_private_key_intent.rb} +3 -3
- data/lib/turnkey_client/models/{v1_sign_raw_payload_request.rb → export_private_key_request.rb} +5 -5
- data/lib/turnkey_client/models/{v1_export_private_key_result.rb → export_private_key_result.rb} +3 -3
- data/lib/turnkey_client/models/{v1_export_wallet_account_intent.rb → export_wallet_account_intent.rb} +3 -3
- data/lib/turnkey_client/models/{v1_create_invitations_request.rb → export_wallet_account_request.rb} +5 -5
- data/lib/turnkey_client/models/{v1_export_wallet_account_result.rb → export_wallet_account_result.rb} +3 -3
- data/lib/turnkey_client/models/{v1_export_wallet_intent.rb → export_wallet_intent.rb} +3 -3
- data/lib/turnkey_client/models/export_wallet_request.rb +289 -0
- data/lib/turnkey_client/models/{v1_export_wallet_result.rb → export_wallet_result.rb} +3 -3
- data/lib/turnkey_client/models/{externaldatav1_credential.rb → external_data_v1_credential.rb} +3 -3
- data/lib/turnkey_client/models/{externaldatav1_timestamp.rb → external_data_v1_timestamp.rb} +3 -3
- data/lib/turnkey_client/models/{v1_feature.rb → feature.rb} +3 -3
- data/lib/turnkey_client/models/{v1_feature_name.rb → feature_name.rb} +3 -3
- data/lib/turnkey_client/models/{v1_get_activities_request.rb → get_activities_request.rb} +3 -3
- data/lib/turnkey_client/models/{v1_get_activities_response.rb → get_activities_response.rb} +3 -3
- data/lib/turnkey_client/models/{v1_get_activity_request.rb → get_activity_request.rb} +3 -3
- data/lib/turnkey_client/models/{v1_get_api_key_request.rb → get_api_key_request.rb} +3 -3
- data/lib/turnkey_client/models/{v1_get_api_key_response.rb → get_api_key_response.rb} +3 -3
- data/lib/turnkey_client/models/{v1_get_api_keys_request.rb → get_api_keys_request.rb} +3 -3
- data/lib/turnkey_client/models/{v1_get_api_keys_response.rb → get_api_keys_response.rb} +3 -3
- data/lib/turnkey_client/models/{v1_get_authenticator_request.rb → get_authenticator_request.rb} +3 -3
- data/lib/turnkey_client/models/{v1_get_authenticator_response.rb → get_authenticator_response.rb} +3 -3
- data/lib/turnkey_client/models/{v1_get_authenticators_request.rb → get_authenticators_request.rb} +3 -3
- data/lib/turnkey_client/models/{v1_get_authenticators_response.rb → get_authenticators_response.rb} +3 -3
- data/lib/turnkey_client/models/{v1_get_policies_request.rb → get_policies_request.rb} +3 -3
- data/lib/turnkey_client/models/{v1_get_policies_response.rb → get_policies_response.rb} +3 -3
- data/lib/turnkey_client/models/{v1_get_policy_request.rb → get_policy_request.rb} +3 -3
- data/lib/turnkey_client/models/{v1_get_policy_response.rb → get_policy_response.rb} +3 -3
- data/lib/turnkey_client/models/{v1_get_private_key_request.rb → get_private_key_request.rb} +3 -3
- data/lib/turnkey_client/models/{v1_get_private_key_response.rb → get_private_key_response.rb} +3 -3
- data/lib/turnkey_client/models/{v1_list_user_tags_request.rb → get_private_keys_request.rb} +3 -3
- data/lib/turnkey_client/models/{v1_create_private_keys_intent_v2.rb → get_private_keys_response.rb} +3 -3
- data/lib/turnkey_client/models/{v1_get_user_request.rb → get_user_request.rb} +3 -3
- data/lib/turnkey_client/models/{v1_get_user_response.rb → get_user_response.rb} +3 -3
- data/lib/turnkey_client/models/get_users_request.rb +212 -0
- data/lib/turnkey_client/models/{v1_create_users_intent_v2.rb → get_users_response.rb} +3 -3
- data/lib/turnkey_client/models/{v1_get_wallet_accounts_request.rb → get_wallet_accounts_request.rb} +3 -3
- data/lib/turnkey_client/models/{v1_get_wallet_accounts_response.rb → get_wallet_accounts_response.rb} +3 -3
- data/lib/turnkey_client/models/{v1_get_wallet_request.rb → get_wallet_request.rb} +3 -3
- data/lib/turnkey_client/models/{v1_get_wallet_response.rb → get_wallet_response.rb} +3 -3
- data/lib/turnkey_client/models/{v1_get_users_request.rb → get_wallets_request.rb} +3 -3
- data/lib/turnkey_client/models/{v1_get_wallets_response.rb → get_wallets_response.rb} +3 -3
- data/lib/turnkey_client/models/{v1_get_whoami_request.rb → get_whoami_request.rb} +3 -3
- data/lib/turnkey_client/models/{v1_get_whoami_response.rb → get_whoami_response.rb} +3 -3
- data/lib/turnkey_client/models/{v1_hash_function.rb → hash_function.rb} +3 -3
- data/lib/turnkey_client/models/import_wallet_intent.rb +259 -0
- data/lib/turnkey_client/models/import_wallet_request.rb +289 -0
- data/lib/turnkey_client/models/import_wallet_result.rb +229 -0
- data/lib/turnkey_client/models/init_import_wallet_intent.rb +212 -0
- data/lib/turnkey_client/models/init_import_wallet_request.rb +289 -0
- data/lib/turnkey_client/models/init_import_wallet_result.rb +212 -0
- data/lib/turnkey_client/models/{v1_init_user_email_recovery_intent.rb → init_user_email_recovery_intent.rb} +3 -3
- data/lib/turnkey_client/models/{v1_create_private_key_tag_request.rb → init_user_email_recovery_request.rb} +5 -5
- data/lib/turnkey_client/models/{v1_init_user_email_recovery_result.rb → init_user_email_recovery_result.rb} +3 -3
- data/lib/turnkey_client/models/{v1_intent.rb → intent.rb} +25 -7
- data/lib/turnkey_client/models/{v1_invitation_params.rb → invitation_params.rb} +3 -3
- data/lib/turnkey_client/models/list_private_key_tags_request.rb +212 -0
- data/lib/turnkey_client/models/{v1_list_private_key_tags_response.rb → list_private_key_tags_response.rb} +3 -3
- data/lib/turnkey_client/models/{v1_get_wallets_request.rb → list_user_tags_request.rb} +3 -3
- data/lib/turnkey_client/models/{v1_list_user_tags_response.rb → list_user_tags_response.rb} +3 -3
- data/lib/turnkey_client/models/{v1_mnemonic_language.rb → mnemonic_language.rb} +3 -3
- data/lib/turnkey_client/models/{v1_operator.rb → operator.rb} +3 -3
- data/lib/turnkey_client/models/{v1_pagination.rb → pagination.rb} +3 -3
- data/lib/turnkey_client/models/{v1_path_format.rb → path_format.rb} +3 -3
- data/lib/turnkey_client/models/{v1_payload_encoding.rb → payload_encoding.rb} +3 -3
- data/lib/turnkey_client/models/{v1_policy.rb → policy.rb} +3 -3
- data/lib/turnkey_client/models/{v1_private_key.rb → private_key.rb} +3 -3
- data/lib/turnkey_client/models/{v1_private_key_params.rb → private_key_params.rb} +3 -3
- data/lib/turnkey_client/models/{v1_private_key_result.rb → private_key_result.rb} +3 -3
- data/lib/turnkey_client/models/{v1_public_key_credential_with_attestation.rb → public_key_credential_with_attestation.rb} +3 -3
- data/lib/turnkey_client/models/{v1_recover_user_intent.rb → recover_user_intent.rb} +3 -3
- data/lib/turnkey_client/models/recover_user_request.rb +289 -0
- data/lib/turnkey_client/models/{v1_recover_user_result.rb → recover_user_result.rb} +3 -3
- data/lib/turnkey_client/models/{v1_approve_activity_intent.rb → reject_activity_intent.rb} +3 -3
- data/lib/turnkey_client/models/{v1_create_wallet_request.rb → reject_activity_request.rb} +5 -5
- data/lib/turnkey_client/models/{v1_remove_organization_feature_intent.rb → remove_organization_feature_intent.rb} +3 -3
- data/lib/turnkey_client/models/{v1_remove_organization_feature_request.rb → remove_organization_feature_request.rb} +3 -3
- data/lib/turnkey_client/models/{v1_remove_organization_feature_result.rb → remove_organization_feature_result.rb} +3 -3
- data/lib/turnkey_client/models/{v1_result.rb → result.rb} +25 -7
- data/lib/turnkey_client/models/{v1_root_user_params.rb → root_user_params.rb} +3 -3
- data/lib/turnkey_client/models/{v1_selector.rb → selector.rb} +3 -3
- data/lib/turnkey_client/models/{v1_selector_v2.rb → selector_v2.rb} +3 -3
- data/lib/turnkey_client/models/{v1_set_organization_feature_intent.rb → set_organization_feature_intent.rb} +3 -3
- data/lib/turnkey_client/models/{v1_create_wallet_accounts_request.rb → set_organization_feature_request.rb} +5 -5
- data/lib/turnkey_client/models/{v1_set_organization_feature_result.rb → set_organization_feature_result.rb} +3 -3
- data/lib/turnkey_client/models/{v1_set_payment_method_intent.rb → set_payment_method_intent.rb} +3 -3
- data/lib/turnkey_client/models/{v1_set_payment_method_intent_v2.rb → set_payment_method_intent_v2.rb} +3 -3
- data/lib/turnkey_client/models/{v1_set_payment_method_result.rb → set_payment_method_result.rb} +3 -3
- data/lib/turnkey_client/models/{v1_sign_raw_payload_intent.rb → sign_raw_payload_intent.rb} +3 -3
- data/lib/turnkey_client/models/{v1_sign_raw_payload_intent_v2.rb → sign_raw_payload_intent_v2.rb} +3 -3
- data/lib/turnkey_client/models/{v1_delete_policy_request.rb → sign_raw_payload_request.rb} +5 -5
- data/lib/turnkey_client/models/{v1_sign_raw_payload_result.rb → sign_raw_payload_result.rb} +3 -3
- data/lib/turnkey_client/models/{v1_sign_transaction_intent.rb → sign_transaction_intent.rb} +3 -3
- data/lib/turnkey_client/models/{v1_sign_transaction_intent_v2.rb → sign_transaction_intent_v2.rb} +3 -3
- data/lib/turnkey_client/models/{v1_create_user_tag_request.rb → sign_transaction_request.rb} +5 -5
- data/lib/turnkey_client/models/{v1_sign_transaction_result.rb → sign_transaction_result.rb} +3 -3
- data/lib/turnkey_client/models/{v1_simple_client_extension_results.rb → simple_client_extension_results.rb} +3 -3
- data/lib/turnkey_client/models/{v1_tag_type.rb → tag_type.rb} +3 -3
- data/lib/turnkey_client/models/{v1_transaction_type.rb → transaction_type.rb} +3 -3
- data/lib/turnkey_client/models/{v1_update_allowed_origins_intent.rb → update_allowed_origins_intent.rb} +3 -3
- data/lib/turnkey_client/models/{v1_update_allowed_origins_result.rb → update_allowed_origins_result.rb} +3 -3
- data/lib/turnkey_client/models/{v1_update_policy_intent.rb → update_policy_intent.rb} +3 -3
- data/lib/turnkey_client/models/{v1_update_policy_request.rb → update_policy_request.rb} +3 -3
- data/lib/turnkey_client/models/{v1_create_policy_result.rb → update_policy_result.rb} +3 -3
- data/lib/turnkey_client/models/{v1_update_private_key_tag_intent.rb → update_private_key_tag_intent.rb} +3 -3
- data/lib/turnkey_client/models/{v1_update_private_key_tag_request.rb → update_private_key_tag_request.rb} +3 -3
- data/lib/turnkey_client/models/{v1_update_private_key_tag_result.rb → update_private_key_tag_result.rb} +3 -3
- data/lib/turnkey_client/models/{v1_update_root_quorum_intent.rb → update_root_quorum_intent.rb} +3 -3
- data/lib/turnkey_client/models/{v1_update_root_quorum_request.rb → update_root_quorum_request.rb} +3 -3
- data/lib/turnkey_client/models/{v1_update_root_quorum_result.rb → update_root_quorum_result.rb} +3 -3
- data/lib/turnkey_client/models/{v1_update_user_intent.rb → update_user_intent.rb} +3 -3
- data/lib/turnkey_client/models/update_user_request.rb +289 -0
- data/lib/turnkey_client/models/{v1_update_user_result.rb → update_user_result.rb} +3 -3
- data/lib/turnkey_client/models/{v1_update_user_tag_intent.rb → update_user_tag_intent.rb} +3 -3
- data/lib/turnkey_client/models/{v1_update_user_tag_request.rb → update_user_tag_request.rb} +3 -3
- data/lib/turnkey_client/models/{v1_update_user_tag_result.rb → update_user_tag_result.rb} +3 -3
- data/lib/turnkey_client/models/{v1_user.rb → user.rb} +3 -3
- data/lib/turnkey_client/models/{v1_user_params.rb → user_params.rb} +3 -3
- data/lib/turnkey_client/models/{v1_user_params_v2.rb → user_params_v2.rb} +3 -3
- data/lib/turnkey_client/models/{datav1_tag.rb → v1_tag.rb} +3 -3
- data/lib/turnkey_client/models/{v1_vote.rb → vote.rb} +3 -3
- data/lib/turnkey_client/models/{v1_wallet.rb → wallet.rb} +22 -7
- data/lib/turnkey_client/models/{v1_wallet_account.rb → wallet_account.rb} +3 -3
- data/lib/turnkey_client/models/{v1_wallet_account_params.rb → wallet_account_params.rb} +3 -3
- data/lib/turnkey_client/models/{v1_wallet_params.rb → wallet_params.rb} +3 -3
- data/lib/turnkey_client/models/{v1_wallet_result.rb → wallet_result.rb} +3 -3
- data/lib/turnkey_client/version.rb +1 -1
- data/lib/turnkey_client.rb +234 -237
- metadata +236 -239
- data/lib/turnkey_client/api/public_api_service_api.rb +0 -66
- data/lib/turnkey_client/models/externaldatav1_quorum.rb +0 -229
- data/lib/turnkey_client/models/protobuf_any.rb +0 -201
- data/lib/turnkey_client/models/rpc_status.rb +0 -226
- data/lib/turnkey_client/models/v1_create_organization_result.rb +0 -212
- data/lib/turnkey_client/models/v1_create_sub_organization_request.rb +0 -289
- data/lib/turnkey_client/models/v1_delete_authenticators_request.rb +0 -289
- data/lib/turnkey_client/models/v1_delete_invitation_request.rb +0 -289
- data/lib/turnkey_client/models/v1_delete_organization_intent.rb +0 -212
- data/lib/turnkey_client/models/v1_delete_organization_result.rb +0 -212
- data/lib/turnkey_client/models/v1_email_customization.rb +0 -233
- data/lib/turnkey_client/models/v1_export_private_key_request.rb +0 -289
- data/lib/turnkey_client/models/v1_get_organization_response.rb +0 -211
- data/lib/turnkey_client/models/v1_init_user_email_recovery_request.rb +0 -289
- data/lib/turnkey_client/models/v1_invitation.rb +0 -330
- data/lib/turnkey_client/models/v1_invitation_status.rb +0 -29
- data/lib/turnkey_client/models/v1_list_private_key_tags_request.rb +0 -212
- data/lib/turnkey_client/models/v1_noop_codegen_anchor_response.rb +0 -211
- data/lib/turnkey_client/models/v1_organization_data.rb +0 -301
- data/lib/turnkey_client/models/v1_set_organization_feature_request.rb +0 -289
- data/lib/turnkey_client/models/v1_web_authn_stamp.rb +0 -257
|
@@ -20,7 +20,7 @@ module TurnkeyClient
|
|
|
20
20
|
# Create a new Policy
|
|
21
21
|
# @param body
|
|
22
22
|
# @param [Hash] opts the optional parameters
|
|
23
|
-
# @return [
|
|
23
|
+
# @return [ActivityResponse]
|
|
24
24
|
def create_policy(body, opts = {})
|
|
25
25
|
data, _status_code, _headers = create_policy_with_http_info(body, opts)
|
|
26
26
|
data
|
|
@@ -30,7 +30,7 @@ module TurnkeyClient
|
|
|
30
30
|
# Create a new Policy
|
|
31
31
|
# @param body
|
|
32
32
|
# @param [Hash] opts the optional parameters
|
|
33
|
-
# @return [Array<(
|
|
33
|
+
# @return [Array<(ActivityResponse, Integer, Hash)>] ActivityResponse data, response status code and response headers
|
|
34
34
|
def create_policy_with_http_info(body, opts = {})
|
|
35
35
|
if @api_client.config.debugging
|
|
36
36
|
@api_client.config.logger.debug 'Calling API: PoliciesApi.create_policy ...'
|
|
@@ -58,7 +58,7 @@ module TurnkeyClient
|
|
|
58
58
|
# http body (model)
|
|
59
59
|
post_body = opts[:body] || @api_client.object_to_http_body(body)
|
|
60
60
|
|
|
61
|
-
return_type = opts[:return_type] || '
|
|
61
|
+
return_type = opts[:return_type] || 'ActivityResponse'
|
|
62
62
|
|
|
63
63
|
auth_names = opts[:auth_names] || ['ApiKeyAuth', 'AuthenticatorAuth']
|
|
64
64
|
data, status_code, headers = @api_client.call_api(:POST, local_var_path,
|
|
@@ -78,7 +78,7 @@ module TurnkeyClient
|
|
|
78
78
|
# Delete an existing Policy
|
|
79
79
|
# @param body
|
|
80
80
|
# @param [Hash] opts the optional parameters
|
|
81
|
-
# @return [
|
|
81
|
+
# @return [ActivityResponse]
|
|
82
82
|
def delete_policy(body, opts = {})
|
|
83
83
|
data, _status_code, _headers = delete_policy_with_http_info(body, opts)
|
|
84
84
|
data
|
|
@@ -88,7 +88,7 @@ module TurnkeyClient
|
|
|
88
88
|
# Delete an existing Policy
|
|
89
89
|
# @param body
|
|
90
90
|
# @param [Hash] opts the optional parameters
|
|
91
|
-
# @return [Array<(
|
|
91
|
+
# @return [Array<(ActivityResponse, Integer, Hash)>] ActivityResponse data, response status code and response headers
|
|
92
92
|
def delete_policy_with_http_info(body, opts = {})
|
|
93
93
|
if @api_client.config.debugging
|
|
94
94
|
@api_client.config.logger.debug 'Calling API: PoliciesApi.delete_policy ...'
|
|
@@ -116,7 +116,7 @@ module TurnkeyClient
|
|
|
116
116
|
# http body (model)
|
|
117
117
|
post_body = opts[:body] || @api_client.object_to_http_body(body)
|
|
118
118
|
|
|
119
|
-
return_type = opts[:return_type] || '
|
|
119
|
+
return_type = opts[:return_type] || 'ActivityResponse'
|
|
120
120
|
|
|
121
121
|
auth_names = opts[:auth_names] || ['ApiKeyAuth', 'AuthenticatorAuth']
|
|
122
122
|
data, status_code, headers = @api_client.call_api(:POST, local_var_path,
|
|
@@ -136,7 +136,7 @@ module TurnkeyClient
|
|
|
136
136
|
# List all Policies within an Organization
|
|
137
137
|
# @param body
|
|
138
138
|
# @param [Hash] opts the optional parameters
|
|
139
|
-
# @return [
|
|
139
|
+
# @return [GetPoliciesResponse]
|
|
140
140
|
def get_policies(body, opts = {})
|
|
141
141
|
data, _status_code, _headers = get_policies_with_http_info(body, opts)
|
|
142
142
|
data
|
|
@@ -146,7 +146,7 @@ module TurnkeyClient
|
|
|
146
146
|
# List all Policies within an Organization
|
|
147
147
|
# @param body
|
|
148
148
|
# @param [Hash] opts the optional parameters
|
|
149
|
-
# @return [Array<(
|
|
149
|
+
# @return [Array<(GetPoliciesResponse, Integer, Hash)>] GetPoliciesResponse data, response status code and response headers
|
|
150
150
|
def get_policies_with_http_info(body, opts = {})
|
|
151
151
|
if @api_client.config.debugging
|
|
152
152
|
@api_client.config.logger.debug 'Calling API: PoliciesApi.get_policies ...'
|
|
@@ -174,7 +174,7 @@ module TurnkeyClient
|
|
|
174
174
|
# http body (model)
|
|
175
175
|
post_body = opts[:body] || @api_client.object_to_http_body(body)
|
|
176
176
|
|
|
177
|
-
return_type = opts[:return_type] || '
|
|
177
|
+
return_type = opts[:return_type] || 'GetPoliciesResponse'
|
|
178
178
|
|
|
179
179
|
auth_names = opts[:auth_names] || ['ApiKeyAuth', 'AuthenticatorAuth']
|
|
180
180
|
data, status_code, headers = @api_client.call_api(:POST, local_var_path,
|
|
@@ -194,7 +194,7 @@ module TurnkeyClient
|
|
|
194
194
|
# Get details about a Policy
|
|
195
195
|
# @param body
|
|
196
196
|
# @param [Hash] opts the optional parameters
|
|
197
|
-
# @return [
|
|
197
|
+
# @return [GetPolicyResponse]
|
|
198
198
|
def get_policy(body, opts = {})
|
|
199
199
|
data, _status_code, _headers = get_policy_with_http_info(body, opts)
|
|
200
200
|
data
|
|
@@ -204,7 +204,7 @@ module TurnkeyClient
|
|
|
204
204
|
# Get details about a Policy
|
|
205
205
|
# @param body
|
|
206
206
|
# @param [Hash] opts the optional parameters
|
|
207
|
-
# @return [Array<(
|
|
207
|
+
# @return [Array<(GetPolicyResponse, Integer, Hash)>] GetPolicyResponse data, response status code and response headers
|
|
208
208
|
def get_policy_with_http_info(body, opts = {})
|
|
209
209
|
if @api_client.config.debugging
|
|
210
210
|
@api_client.config.logger.debug 'Calling API: PoliciesApi.get_policy ...'
|
|
@@ -232,7 +232,7 @@ module TurnkeyClient
|
|
|
232
232
|
# http body (model)
|
|
233
233
|
post_body = opts[:body] || @api_client.object_to_http_body(body)
|
|
234
234
|
|
|
235
|
-
return_type = opts[:return_type] || '
|
|
235
|
+
return_type = opts[:return_type] || 'GetPolicyResponse'
|
|
236
236
|
|
|
237
237
|
auth_names = opts[:auth_names] || ['ApiKeyAuth', 'AuthenticatorAuth']
|
|
238
238
|
data, status_code, headers = @api_client.call_api(:POST, local_var_path,
|
|
@@ -252,7 +252,7 @@ module TurnkeyClient
|
|
|
252
252
|
# Update an existing Policy
|
|
253
253
|
# @param body
|
|
254
254
|
# @param [Hash] opts the optional parameters
|
|
255
|
-
# @return [
|
|
255
|
+
# @return [ActivityResponse]
|
|
256
256
|
def update_policy(body, opts = {})
|
|
257
257
|
data, _status_code, _headers = update_policy_with_http_info(body, opts)
|
|
258
258
|
data
|
|
@@ -262,7 +262,7 @@ module TurnkeyClient
|
|
|
262
262
|
# Update an existing Policy
|
|
263
263
|
# @param body
|
|
264
264
|
# @param [Hash] opts the optional parameters
|
|
265
|
-
# @return [Array<(
|
|
265
|
+
# @return [Array<(ActivityResponse, Integer, Hash)>] ActivityResponse data, response status code and response headers
|
|
266
266
|
def update_policy_with_http_info(body, opts = {})
|
|
267
267
|
if @api_client.config.debugging
|
|
268
268
|
@api_client.config.logger.debug 'Calling API: PoliciesApi.update_policy ...'
|
|
@@ -290,7 +290,7 @@ module TurnkeyClient
|
|
|
290
290
|
# http body (model)
|
|
291
291
|
post_body = opts[:body] || @api_client.object_to_http_body(body)
|
|
292
292
|
|
|
293
|
-
return_type = opts[:return_type] || '
|
|
293
|
+
return_type = opts[:return_type] || 'ActivityResponse'
|
|
294
294
|
|
|
295
295
|
auth_names = opts[:auth_names] || ['ApiKeyAuth', 'AuthenticatorAuth']
|
|
296
296
|
data, status_code, headers = @api_client.call_api(:POST, local_var_path,
|
|
@@ -20,7 +20,7 @@ module TurnkeyClient
|
|
|
20
20
|
# Create a private key tag and add it to private keys.
|
|
21
21
|
# @param body
|
|
22
22
|
# @param [Hash] opts the optional parameters
|
|
23
|
-
# @return [
|
|
23
|
+
# @return [ActivityResponse]
|
|
24
24
|
def create_private_key_tag(body, opts = {})
|
|
25
25
|
data, _status_code, _headers = create_private_key_tag_with_http_info(body, opts)
|
|
26
26
|
data
|
|
@@ -30,7 +30,7 @@ module TurnkeyClient
|
|
|
30
30
|
# Create a private key tag and add it to private keys.
|
|
31
31
|
# @param body
|
|
32
32
|
# @param [Hash] opts the optional parameters
|
|
33
|
-
# @return [Array<(
|
|
33
|
+
# @return [Array<(ActivityResponse, Integer, Hash)>] ActivityResponse data, response status code and response headers
|
|
34
34
|
def create_private_key_tag_with_http_info(body, opts = {})
|
|
35
35
|
if @api_client.config.debugging
|
|
36
36
|
@api_client.config.logger.debug 'Calling API: PrivateKeyTagsApi.create_private_key_tag ...'
|
|
@@ -58,7 +58,7 @@ module TurnkeyClient
|
|
|
58
58
|
# http body (model)
|
|
59
59
|
post_body = opts[:body] || @api_client.object_to_http_body(body)
|
|
60
60
|
|
|
61
|
-
return_type = opts[:return_type] || '
|
|
61
|
+
return_type = opts[:return_type] || 'ActivityResponse'
|
|
62
62
|
|
|
63
63
|
auth_names = opts[:auth_names] || ['ApiKeyAuth', 'AuthenticatorAuth']
|
|
64
64
|
data, status_code, headers = @api_client.call_api(:POST, local_var_path,
|
|
@@ -74,11 +74,69 @@ module TurnkeyClient
|
|
|
74
74
|
end
|
|
75
75
|
return data, status_code, headers
|
|
76
76
|
end
|
|
77
|
+
# Delete Private Key Tags
|
|
78
|
+
# Delete Private Key Tags within an Organization
|
|
79
|
+
# @param body
|
|
80
|
+
# @param [Hash] opts the optional parameters
|
|
81
|
+
# @return [ActivityResponse]
|
|
82
|
+
def delete_private_key_tags(body, opts = {})
|
|
83
|
+
data, _status_code, _headers = delete_private_key_tags_with_http_info(body, opts)
|
|
84
|
+
data
|
|
85
|
+
end
|
|
86
|
+
|
|
87
|
+
# Delete Private Key Tags
|
|
88
|
+
# Delete Private Key Tags within an Organization
|
|
89
|
+
# @param body
|
|
90
|
+
# @param [Hash] opts the optional parameters
|
|
91
|
+
# @return [Array<(ActivityResponse, Integer, Hash)>] ActivityResponse data, response status code and response headers
|
|
92
|
+
def delete_private_key_tags_with_http_info(body, opts = {})
|
|
93
|
+
if @api_client.config.debugging
|
|
94
|
+
@api_client.config.logger.debug 'Calling API: PrivateKeyTagsApi.delete_private_key_tags ...'
|
|
95
|
+
end
|
|
96
|
+
# verify the required parameter 'body' is set
|
|
97
|
+
if @api_client.config.client_side_validation && body.nil?
|
|
98
|
+
fail ArgumentError, "Missing the required parameter 'body' when calling PrivateKeyTagsApi.delete_private_key_tags"
|
|
99
|
+
end
|
|
100
|
+
# resource path
|
|
101
|
+
local_var_path = '/public/v1/submit/delete_private_key_tags'
|
|
102
|
+
|
|
103
|
+
# query parameters
|
|
104
|
+
query_params = opts[:query_params] || {}
|
|
105
|
+
|
|
106
|
+
# header parameters
|
|
107
|
+
header_params = opts[:header_params] || {}
|
|
108
|
+
# HTTP header 'Accept' (if needed)
|
|
109
|
+
header_params['Accept'] = @api_client.select_header_accept(['application/json'])
|
|
110
|
+
# HTTP header 'Content-Type'
|
|
111
|
+
header_params['Content-Type'] = @api_client.select_header_content_type(['application/json'])
|
|
112
|
+
|
|
113
|
+
# form parameters
|
|
114
|
+
form_params = opts[:form_params] || {}
|
|
115
|
+
|
|
116
|
+
# http body (model)
|
|
117
|
+
post_body = opts[:body] || @api_client.object_to_http_body(body)
|
|
118
|
+
|
|
119
|
+
return_type = opts[:return_type] || 'ActivityResponse'
|
|
120
|
+
|
|
121
|
+
auth_names = opts[:auth_names] || ['ApiKeyAuth', 'AuthenticatorAuth']
|
|
122
|
+
data, status_code, headers = @api_client.call_api(:POST, local_var_path,
|
|
123
|
+
:header_params => header_params,
|
|
124
|
+
:query_params => query_params,
|
|
125
|
+
:form_params => form_params,
|
|
126
|
+
:body => post_body,
|
|
127
|
+
:auth_names => auth_names,
|
|
128
|
+
:return_type => return_type)
|
|
129
|
+
|
|
130
|
+
if @api_client.config.debugging
|
|
131
|
+
@api_client.config.logger.debug "API called: PrivateKeyTagsApi#delete_private_key_tags\nData: #{data.inspect}\nStatus code: #{status_code}\nHeaders: #{headers}"
|
|
132
|
+
end
|
|
133
|
+
return data, status_code, headers
|
|
134
|
+
end
|
|
77
135
|
# List Private Key Tags
|
|
78
136
|
# List all Private Key Tags within an Organization
|
|
79
137
|
# @param body
|
|
80
138
|
# @param [Hash] opts the optional parameters
|
|
81
|
-
# @return [
|
|
139
|
+
# @return [ListPrivateKeyTagsResponse]
|
|
82
140
|
def list_private_key_tags(body, opts = {})
|
|
83
141
|
data, _status_code, _headers = list_private_key_tags_with_http_info(body, opts)
|
|
84
142
|
data
|
|
@@ -88,7 +146,7 @@ module TurnkeyClient
|
|
|
88
146
|
# List all Private Key Tags within an Organization
|
|
89
147
|
# @param body
|
|
90
148
|
# @param [Hash] opts the optional parameters
|
|
91
|
-
# @return [Array<(
|
|
149
|
+
# @return [Array<(ListPrivateKeyTagsResponse, Integer, Hash)>] ListPrivateKeyTagsResponse data, response status code and response headers
|
|
92
150
|
def list_private_key_tags_with_http_info(body, opts = {})
|
|
93
151
|
if @api_client.config.debugging
|
|
94
152
|
@api_client.config.logger.debug 'Calling API: PrivateKeyTagsApi.list_private_key_tags ...'
|
|
@@ -116,7 +174,7 @@ module TurnkeyClient
|
|
|
116
174
|
# http body (model)
|
|
117
175
|
post_body = opts[:body] || @api_client.object_to_http_body(body)
|
|
118
176
|
|
|
119
|
-
return_type = opts[:return_type] || '
|
|
177
|
+
return_type = opts[:return_type] || 'ListPrivateKeyTagsResponse'
|
|
120
178
|
|
|
121
179
|
auth_names = opts[:auth_names] || ['ApiKeyAuth', 'AuthenticatorAuth']
|
|
122
180
|
data, status_code, headers = @api_client.call_api(:POST, local_var_path,
|
|
@@ -136,7 +194,7 @@ module TurnkeyClient
|
|
|
136
194
|
# Update human-readable name or associated private keys. Note that this activity is atomic: all of the updates will succeed at once, or all of them will fail.
|
|
137
195
|
# @param body
|
|
138
196
|
# @param [Hash] opts the optional parameters
|
|
139
|
-
# @return [
|
|
197
|
+
# @return [ActivityResponse]
|
|
140
198
|
def update_private_key_tag(body, opts = {})
|
|
141
199
|
data, _status_code, _headers = update_private_key_tag_with_http_info(body, opts)
|
|
142
200
|
data
|
|
@@ -146,7 +204,7 @@ module TurnkeyClient
|
|
|
146
204
|
# Update human-readable name or associated private keys. Note that this activity is atomic: all of the updates will succeed at once, or all of them will fail.
|
|
147
205
|
# @param body
|
|
148
206
|
# @param [Hash] opts the optional parameters
|
|
149
|
-
# @return [Array<(
|
|
207
|
+
# @return [Array<(ActivityResponse, Integer, Hash)>] ActivityResponse data, response status code and response headers
|
|
150
208
|
def update_private_key_tag_with_http_info(body, opts = {})
|
|
151
209
|
if @api_client.config.debugging
|
|
152
210
|
@api_client.config.logger.debug 'Calling API: PrivateKeyTagsApi.update_private_key_tag ...'
|
|
@@ -174,7 +232,7 @@ module TurnkeyClient
|
|
|
174
232
|
# http body (model)
|
|
175
233
|
post_body = opts[:body] || @api_client.object_to_http_body(body)
|
|
176
234
|
|
|
177
|
-
return_type = opts[:return_type] || '
|
|
235
|
+
return_type = opts[:return_type] || 'ActivityResponse'
|
|
178
236
|
|
|
179
237
|
auth_names = opts[:auth_names] || ['ApiKeyAuth', 'AuthenticatorAuth']
|
|
180
238
|
data, status_code, headers = @api_client.call_api(:POST, local_var_path,
|
|
@@ -20,7 +20,7 @@ module TurnkeyClient
|
|
|
20
20
|
# Create new Private Keys
|
|
21
21
|
# @param body
|
|
22
22
|
# @param [Hash] opts the optional parameters
|
|
23
|
-
# @return [
|
|
23
|
+
# @return [ActivityResponse]
|
|
24
24
|
def create_private_keys(body, opts = {})
|
|
25
25
|
data, _status_code, _headers = create_private_keys_with_http_info(body, opts)
|
|
26
26
|
data
|
|
@@ -30,7 +30,7 @@ module TurnkeyClient
|
|
|
30
30
|
# Create new Private Keys
|
|
31
31
|
# @param body
|
|
32
32
|
# @param [Hash] opts the optional parameters
|
|
33
|
-
# @return [Array<(
|
|
33
|
+
# @return [Array<(ActivityResponse, Integer, Hash)>] ActivityResponse data, response status code and response headers
|
|
34
34
|
def create_private_keys_with_http_info(body, opts = {})
|
|
35
35
|
if @api_client.config.debugging
|
|
36
36
|
@api_client.config.logger.debug 'Calling API: PrivateKeysApi.create_private_keys ...'
|
|
@@ -58,7 +58,7 @@ module TurnkeyClient
|
|
|
58
58
|
# http body (model)
|
|
59
59
|
post_body = opts[:body] || @api_client.object_to_http_body(body)
|
|
60
60
|
|
|
61
|
-
return_type = opts[:return_type] || '
|
|
61
|
+
return_type = opts[:return_type] || 'ActivityResponse'
|
|
62
62
|
|
|
63
63
|
auth_names = opts[:auth_names] || ['ApiKeyAuth', 'AuthenticatorAuth']
|
|
64
64
|
data, status_code, headers = @api_client.call_api(:POST, local_var_path,
|
|
@@ -78,7 +78,7 @@ module TurnkeyClient
|
|
|
78
78
|
# Exports a Private Key
|
|
79
79
|
# @param body
|
|
80
80
|
# @param [Hash] opts the optional parameters
|
|
81
|
-
# @return [
|
|
81
|
+
# @return [ActivityResponse]
|
|
82
82
|
def export_private_key(body, opts = {})
|
|
83
83
|
data, _status_code, _headers = export_private_key_with_http_info(body, opts)
|
|
84
84
|
data
|
|
@@ -88,7 +88,7 @@ module TurnkeyClient
|
|
|
88
88
|
# Exports a Private Key
|
|
89
89
|
# @param body
|
|
90
90
|
# @param [Hash] opts the optional parameters
|
|
91
|
-
# @return [Array<(
|
|
91
|
+
# @return [Array<(ActivityResponse, Integer, Hash)>] ActivityResponse data, response status code and response headers
|
|
92
92
|
def export_private_key_with_http_info(body, opts = {})
|
|
93
93
|
if @api_client.config.debugging
|
|
94
94
|
@api_client.config.logger.debug 'Calling API: PrivateKeysApi.export_private_key ...'
|
|
@@ -116,7 +116,7 @@ module TurnkeyClient
|
|
|
116
116
|
# http body (model)
|
|
117
117
|
post_body = opts[:body] || @api_client.object_to_http_body(body)
|
|
118
118
|
|
|
119
|
-
return_type = opts[:return_type] || '
|
|
119
|
+
return_type = opts[:return_type] || 'ActivityResponse'
|
|
120
120
|
|
|
121
121
|
auth_names = opts[:auth_names] || ['ApiKeyAuth', 'AuthenticatorAuth']
|
|
122
122
|
data, status_code, headers = @api_client.call_api(:POST, local_var_path,
|
|
@@ -136,7 +136,7 @@ module TurnkeyClient
|
|
|
136
136
|
# Get details about a Private Key
|
|
137
137
|
# @param body
|
|
138
138
|
# @param [Hash] opts the optional parameters
|
|
139
|
-
# @return [
|
|
139
|
+
# @return [GetPrivateKeyResponse]
|
|
140
140
|
def get_private_key(body, opts = {})
|
|
141
141
|
data, _status_code, _headers = get_private_key_with_http_info(body, opts)
|
|
142
142
|
data
|
|
@@ -146,7 +146,7 @@ module TurnkeyClient
|
|
|
146
146
|
# Get details about a Private Key
|
|
147
147
|
# @param body
|
|
148
148
|
# @param [Hash] opts the optional parameters
|
|
149
|
-
# @return [Array<(
|
|
149
|
+
# @return [Array<(GetPrivateKeyResponse, Integer, Hash)>] GetPrivateKeyResponse data, response status code and response headers
|
|
150
150
|
def get_private_key_with_http_info(body, opts = {})
|
|
151
151
|
if @api_client.config.debugging
|
|
152
152
|
@api_client.config.logger.debug 'Calling API: PrivateKeysApi.get_private_key ...'
|
|
@@ -174,7 +174,7 @@ module TurnkeyClient
|
|
|
174
174
|
# http body (model)
|
|
175
175
|
post_body = opts[:body] || @api_client.object_to_http_body(body)
|
|
176
176
|
|
|
177
|
-
return_type = opts[:return_type] || '
|
|
177
|
+
return_type = opts[:return_type] || 'GetPrivateKeyResponse'
|
|
178
178
|
|
|
179
179
|
auth_names = opts[:auth_names] || ['ApiKeyAuth', 'AuthenticatorAuth']
|
|
180
180
|
data, status_code, headers = @api_client.call_api(:POST, local_var_path,
|
|
@@ -194,7 +194,7 @@ module TurnkeyClient
|
|
|
194
194
|
# List all Private Keys within an Organization
|
|
195
195
|
# @param body
|
|
196
196
|
# @param [Hash] opts the optional parameters
|
|
197
|
-
# @return [
|
|
197
|
+
# @return [GetPrivateKeysResponse]
|
|
198
198
|
def get_private_keys(body, opts = {})
|
|
199
199
|
data, _status_code, _headers = get_private_keys_with_http_info(body, opts)
|
|
200
200
|
data
|
|
@@ -204,7 +204,7 @@ module TurnkeyClient
|
|
|
204
204
|
# List all Private Keys within an Organization
|
|
205
205
|
# @param body
|
|
206
206
|
# @param [Hash] opts the optional parameters
|
|
207
|
-
# @return [Array<(
|
|
207
|
+
# @return [Array<(GetPrivateKeysResponse, Integer, Hash)>] GetPrivateKeysResponse data, response status code and response headers
|
|
208
208
|
def get_private_keys_with_http_info(body, opts = {})
|
|
209
209
|
if @api_client.config.debugging
|
|
210
210
|
@api_client.config.logger.debug 'Calling API: PrivateKeysApi.get_private_keys ...'
|
|
@@ -232,7 +232,7 @@ module TurnkeyClient
|
|
|
232
232
|
# http body (model)
|
|
233
233
|
post_body = opts[:body] || @api_client.object_to_http_body(body)
|
|
234
234
|
|
|
235
|
-
return_type = opts[:return_type] || '
|
|
235
|
+
return_type = opts[:return_type] || 'GetPrivateKeysResponse'
|
|
236
236
|
|
|
237
237
|
auth_names = opts[:auth_names] || ['ApiKeyAuth', 'AuthenticatorAuth']
|
|
238
238
|
data, status_code, headers = @api_client.call_api(:POST, local_var_path,
|
|
@@ -20,7 +20,7 @@ module TurnkeyClient
|
|
|
20
20
|
# Get basic information about your current API or WebAuthN user and their organization. Affords Sub-Organization look ups via Parent Organization for WebAuthN users.
|
|
21
21
|
# @param body
|
|
22
22
|
# @param [Hash] opts the optional parameters
|
|
23
|
-
# @return [
|
|
23
|
+
# @return [GetWhoamiResponse]
|
|
24
24
|
def get_whoami(body, opts = {})
|
|
25
25
|
data, _status_code, _headers = get_whoami_with_http_info(body, opts)
|
|
26
26
|
data
|
|
@@ -30,7 +30,7 @@ module TurnkeyClient
|
|
|
30
30
|
# Get basic information about your current API or WebAuthN user and their organization. Affords Sub-Organization look ups via Parent Organization for WebAuthN users.
|
|
31
31
|
# @param body
|
|
32
32
|
# @param [Hash] opts the optional parameters
|
|
33
|
-
# @return [Array<(
|
|
33
|
+
# @return [Array<(GetWhoamiResponse, Integer, Hash)>] GetWhoamiResponse data, response status code and response headers
|
|
34
34
|
def get_whoami_with_http_info(body, opts = {})
|
|
35
35
|
if @api_client.config.debugging
|
|
36
36
|
@api_client.config.logger.debug 'Calling API: SessionsApi.get_whoami ...'
|
|
@@ -58,7 +58,7 @@ module TurnkeyClient
|
|
|
58
58
|
# http body (model)
|
|
59
59
|
post_body = opts[:body] || @api_client.object_to_http_body(body)
|
|
60
60
|
|
|
61
|
-
return_type = opts[:return_type] || '
|
|
61
|
+
return_type = opts[:return_type] || 'GetWhoamiResponse'
|
|
62
62
|
|
|
63
63
|
auth_names = opts[:auth_names] || ['ApiKeyAuth', 'AuthenticatorAuth']
|
|
64
64
|
data, status_code, headers = @api_client.call_api(:POST, local_var_path,
|
|
@@ -20,7 +20,7 @@ module TurnkeyClient
|
|
|
20
20
|
# Sign a raw payload
|
|
21
21
|
# @param body
|
|
22
22
|
# @param [Hash] opts the optional parameters
|
|
23
|
-
# @return [
|
|
23
|
+
# @return [ActivityResponse]
|
|
24
24
|
def sign_raw_payload(body, opts = {})
|
|
25
25
|
data, _status_code, _headers = sign_raw_payload_with_http_info(body, opts)
|
|
26
26
|
data
|
|
@@ -30,7 +30,7 @@ module TurnkeyClient
|
|
|
30
30
|
# Sign a raw payload
|
|
31
31
|
# @param body
|
|
32
32
|
# @param [Hash] opts the optional parameters
|
|
33
|
-
# @return [Array<(
|
|
33
|
+
# @return [Array<(ActivityResponse, Integer, Hash)>] ActivityResponse data, response status code and response headers
|
|
34
34
|
def sign_raw_payload_with_http_info(body, opts = {})
|
|
35
35
|
if @api_client.config.debugging
|
|
36
36
|
@api_client.config.logger.debug 'Calling API: SigningApi.sign_raw_payload ...'
|
|
@@ -58,7 +58,7 @@ module TurnkeyClient
|
|
|
58
58
|
# http body (model)
|
|
59
59
|
post_body = opts[:body] || @api_client.object_to_http_body(body)
|
|
60
60
|
|
|
61
|
-
return_type = opts[:return_type] || '
|
|
61
|
+
return_type = opts[:return_type] || 'ActivityResponse'
|
|
62
62
|
|
|
63
63
|
auth_names = opts[:auth_names] || ['ApiKeyAuth', 'AuthenticatorAuth']
|
|
64
64
|
data, status_code, headers = @api_client.call_api(:POST, local_var_path,
|
|
@@ -78,7 +78,7 @@ module TurnkeyClient
|
|
|
78
78
|
# Sign a transaction
|
|
79
79
|
# @param body
|
|
80
80
|
# @param [Hash] opts the optional parameters
|
|
81
|
-
# @return [
|
|
81
|
+
# @return [ActivityResponse]
|
|
82
82
|
def sign_transaction(body, opts = {})
|
|
83
83
|
data, _status_code, _headers = sign_transaction_with_http_info(body, opts)
|
|
84
84
|
data
|
|
@@ -88,7 +88,7 @@ module TurnkeyClient
|
|
|
88
88
|
# Sign a transaction
|
|
89
89
|
# @param body
|
|
90
90
|
# @param [Hash] opts the optional parameters
|
|
91
|
-
# @return [Array<(
|
|
91
|
+
# @return [Array<(ActivityResponse, Integer, Hash)>] ActivityResponse data, response status code and response headers
|
|
92
92
|
def sign_transaction_with_http_info(body, opts = {})
|
|
93
93
|
if @api_client.config.debugging
|
|
94
94
|
@api_client.config.logger.debug 'Calling API: SigningApi.sign_transaction ...'
|
|
@@ -116,7 +116,7 @@ module TurnkeyClient
|
|
|
116
116
|
# http body (model)
|
|
117
117
|
post_body = opts[:body] || @api_client.object_to_http_body(body)
|
|
118
118
|
|
|
119
|
-
return_type = opts[:return_type] || '
|
|
119
|
+
return_type = opts[:return_type] || 'ActivityResponse'
|
|
120
120
|
|
|
121
121
|
auth_names = opts[:auth_names] || ['ApiKeyAuth', 'AuthenticatorAuth']
|
|
122
122
|
data, status_code, headers = @api_client.call_api(:POST, local_var_path,
|
|
@@ -20,7 +20,7 @@ module TurnkeyClient
|
|
|
20
20
|
# Authenticate a user via Email
|
|
21
21
|
# @param body
|
|
22
22
|
# @param [Hash] opts the optional parameters
|
|
23
|
-
# @return [
|
|
23
|
+
# @return [ActivityResponse]
|
|
24
24
|
def email_auth(body, opts = {})
|
|
25
25
|
data, _status_code, _headers = email_auth_with_http_info(body, opts)
|
|
26
26
|
data
|
|
@@ -30,7 +30,7 @@ module TurnkeyClient
|
|
|
30
30
|
# Authenticate a user via Email
|
|
31
31
|
# @param body
|
|
32
32
|
# @param [Hash] opts the optional parameters
|
|
33
|
-
# @return [Array<(
|
|
33
|
+
# @return [Array<(ActivityResponse, Integer, Hash)>] ActivityResponse data, response status code and response headers
|
|
34
34
|
def email_auth_with_http_info(body, opts = {})
|
|
35
35
|
if @api_client.config.debugging
|
|
36
36
|
@api_client.config.logger.debug 'Calling API: UserAuthApi.email_auth ...'
|
|
@@ -58,7 +58,7 @@ module TurnkeyClient
|
|
|
58
58
|
# http body (model)
|
|
59
59
|
post_body = opts[:body] || @api_client.object_to_http_body(body)
|
|
60
60
|
|
|
61
|
-
return_type = opts[:return_type] || '
|
|
61
|
+
return_type = opts[:return_type] || 'ActivityResponse'
|
|
62
62
|
|
|
63
63
|
auth_names = opts[:auth_names] || ['ApiKeyAuth', 'AuthenticatorAuth']
|
|
64
64
|
data, status_code, headers = @api_client.call_api(:POST, local_var_path,
|
|
@@ -20,7 +20,7 @@ module TurnkeyClient
|
|
|
20
20
|
# Initializes a new email recovery
|
|
21
21
|
# @param body
|
|
22
22
|
# @param [Hash] opts the optional parameters
|
|
23
|
-
# @return [
|
|
23
|
+
# @return [ActivityResponse]
|
|
24
24
|
def init_user_email_recovery(body, opts = {})
|
|
25
25
|
data, _status_code, _headers = init_user_email_recovery_with_http_info(body, opts)
|
|
26
26
|
data
|
|
@@ -30,7 +30,7 @@ module TurnkeyClient
|
|
|
30
30
|
# Initializes a new email recovery
|
|
31
31
|
# @param body
|
|
32
32
|
# @param [Hash] opts the optional parameters
|
|
33
|
-
# @return [Array<(
|
|
33
|
+
# @return [Array<(ActivityResponse, Integer, Hash)>] ActivityResponse data, response status code and response headers
|
|
34
34
|
def init_user_email_recovery_with_http_info(body, opts = {})
|
|
35
35
|
if @api_client.config.debugging
|
|
36
36
|
@api_client.config.logger.debug 'Calling API: UserRecoveryApi.init_user_email_recovery ...'
|
|
@@ -58,7 +58,7 @@ module TurnkeyClient
|
|
|
58
58
|
# http body (model)
|
|
59
59
|
post_body = opts[:body] || @api_client.object_to_http_body(body)
|
|
60
60
|
|
|
61
|
-
return_type = opts[:return_type] || '
|
|
61
|
+
return_type = opts[:return_type] || 'ActivityResponse'
|
|
62
62
|
|
|
63
63
|
auth_names = opts[:auth_names] || ['ApiKeyAuth', 'AuthenticatorAuth']
|
|
64
64
|
data, status_code, headers = @api_client.call_api(:POST, local_var_path,
|
|
@@ -78,7 +78,7 @@ module TurnkeyClient
|
|
|
78
78
|
# Completes the process of recovering a user by adding an authenticator
|
|
79
79
|
# @param body
|
|
80
80
|
# @param [Hash] opts the optional parameters
|
|
81
|
-
# @return [
|
|
81
|
+
# @return [ActivityResponse]
|
|
82
82
|
def recover_user(body, opts = {})
|
|
83
83
|
data, _status_code, _headers = recover_user_with_http_info(body, opts)
|
|
84
84
|
data
|
|
@@ -88,7 +88,7 @@ module TurnkeyClient
|
|
|
88
88
|
# Completes the process of recovering a user by adding an authenticator
|
|
89
89
|
# @param body
|
|
90
90
|
# @param [Hash] opts the optional parameters
|
|
91
|
-
# @return [Array<(
|
|
91
|
+
# @return [Array<(ActivityResponse, Integer, Hash)>] ActivityResponse data, response status code and response headers
|
|
92
92
|
def recover_user_with_http_info(body, opts = {})
|
|
93
93
|
if @api_client.config.debugging
|
|
94
94
|
@api_client.config.logger.debug 'Calling API: UserRecoveryApi.recover_user ...'
|
|
@@ -116,7 +116,7 @@ module TurnkeyClient
|
|
|
116
116
|
# http body (model)
|
|
117
117
|
post_body = opts[:body] || @api_client.object_to_http_body(body)
|
|
118
118
|
|
|
119
|
-
return_type = opts[:return_type] || '
|
|
119
|
+
return_type = opts[:return_type] || 'ActivityResponse'
|
|
120
120
|
|
|
121
121
|
auth_names = opts[:auth_names] || ['ApiKeyAuth', 'AuthenticatorAuth']
|
|
122
122
|
data, status_code, headers = @api_client.call_api(:POST, local_var_path,
|