turnkey_client 0.0.1 → 0.0.2
Sign up to get free protection for your applications and to get access to all the features.
- 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
@@ -1,212 +0,0 @@
|
|
1
|
-
=begin
|
2
|
-
#API Reference
|
3
|
-
|
4
|
-
#Review our [API Introduction](../api-introduction) to get started.
|
5
|
-
|
6
|
-
OpenAPI spec version: 1.0
|
7
|
-
|
8
|
-
Generated by: https://github.com/swagger-api/swagger-codegen.git
|
9
|
-
Swagger Codegen version: 3.0.53
|
10
|
-
=end
|
11
|
-
|
12
|
-
require 'date'
|
13
|
-
|
14
|
-
module TurnkeyClient
|
15
|
-
class V1ListPrivateKeyTagsRequest
|
16
|
-
# Unique identifier for a given Organization.
|
17
|
-
attr_accessor :organization_id
|
18
|
-
|
19
|
-
# Attribute mapping from ruby-style variable name to JSON key.
|
20
|
-
def self.attribute_map
|
21
|
-
{
|
22
|
-
:'organization_id' => :'organizationId'
|
23
|
-
}
|
24
|
-
end
|
25
|
-
|
26
|
-
# Attribute type mapping.
|
27
|
-
def self.openapi_types
|
28
|
-
{
|
29
|
-
:'organization_id' => :'Object'
|
30
|
-
}
|
31
|
-
end
|
32
|
-
|
33
|
-
# List of attributes with nullable: true
|
34
|
-
def self.openapi_nullable
|
35
|
-
Set.new([
|
36
|
-
])
|
37
|
-
end
|
38
|
-
|
39
|
-
# Initializes the object
|
40
|
-
# @param [Hash] attributes Model attributes in the form of hash
|
41
|
-
def initialize(attributes = {})
|
42
|
-
if (!attributes.is_a?(Hash))
|
43
|
-
fail ArgumentError, "The input argument (attributes) must be a hash in `TurnkeyClient::V1ListPrivateKeyTagsRequest` initialize method"
|
44
|
-
end
|
45
|
-
|
46
|
-
# check to see if the attribute exists and convert string to symbol for hash key
|
47
|
-
attributes = attributes.each_with_object({}) { |(k, v), h|
|
48
|
-
if (!self.class.attribute_map.key?(k.to_sym))
|
49
|
-
fail ArgumentError, "`#{k}` is not a valid attribute in `TurnkeyClient::V1ListPrivateKeyTagsRequest`. Please check the name to make sure it's valid. List of attributes: " + self.class.attribute_map.keys.inspect
|
50
|
-
end
|
51
|
-
h[k.to_sym] = v
|
52
|
-
}
|
53
|
-
|
54
|
-
if attributes.key?(:'organization_id')
|
55
|
-
self.organization_id = attributes[:'organization_id']
|
56
|
-
end
|
57
|
-
end
|
58
|
-
|
59
|
-
# Show invalid properties with the reasons. Usually used together with valid?
|
60
|
-
# @return Array for valid properties with the reasons
|
61
|
-
def list_invalid_properties
|
62
|
-
invalid_properties = Array.new
|
63
|
-
if @organization_id.nil?
|
64
|
-
invalid_properties.push('invalid value for "organization_id", organization_id cannot be nil.')
|
65
|
-
end
|
66
|
-
|
67
|
-
invalid_properties
|
68
|
-
end
|
69
|
-
|
70
|
-
# Check to see if the all the properties in the model are valid
|
71
|
-
# @return true if the model is valid
|
72
|
-
def valid?
|
73
|
-
return false if @organization_id.nil?
|
74
|
-
true
|
75
|
-
end
|
76
|
-
|
77
|
-
# Checks equality by comparing each attribute.
|
78
|
-
# @param [Object] Object to be compared
|
79
|
-
def ==(o)
|
80
|
-
return true if self.equal?(o)
|
81
|
-
self.class == o.class &&
|
82
|
-
organization_id == o.organization_id
|
83
|
-
end
|
84
|
-
|
85
|
-
# @see the `==` method
|
86
|
-
# @param [Object] Object to be compared
|
87
|
-
def eql?(o)
|
88
|
-
self == o
|
89
|
-
end
|
90
|
-
|
91
|
-
# Calculates hash code according to all attributes.
|
92
|
-
# @return [Integer] Hash code
|
93
|
-
def hash
|
94
|
-
[organization_id].hash
|
95
|
-
end
|
96
|
-
|
97
|
-
# Builds the object from hash
|
98
|
-
# @param [Hash] attributes Model attributes in the form of hash
|
99
|
-
# @return [Object] Returns the model itself
|
100
|
-
def self.build_from_hash(attributes)
|
101
|
-
new.build_from_hash(attributes)
|
102
|
-
end
|
103
|
-
|
104
|
-
# Builds the object from hash
|
105
|
-
# @param [Hash] attributes Model attributes in the form of hash
|
106
|
-
# @return [Object] Returns the model itself
|
107
|
-
def build_from_hash(attributes)
|
108
|
-
return nil unless attributes.is_a?(Hash)
|
109
|
-
self.class.openapi_types.each_pair do |key, type|
|
110
|
-
if type =~ /\AArray<(.*)>/i
|
111
|
-
# check to ensure the input is an array given that the attribute
|
112
|
-
# is documented as an array but the input is not
|
113
|
-
if attributes[self.class.attribute_map[key]].is_a?(Array)
|
114
|
-
self.send("#{key}=", attributes[self.class.attribute_map[key]].map { |v| _deserialize($1, v) })
|
115
|
-
end
|
116
|
-
elsif !attributes[self.class.attribute_map[key]].nil?
|
117
|
-
self.send("#{key}=", _deserialize(type, attributes[self.class.attribute_map[key]]))
|
118
|
-
elsif attributes[self.class.attribute_map[key]].nil? && self.class.openapi_nullable.include?(key)
|
119
|
-
self.send("#{key}=", nil)
|
120
|
-
end
|
121
|
-
end
|
122
|
-
|
123
|
-
self
|
124
|
-
end
|
125
|
-
|
126
|
-
# Deserializes the data based on type
|
127
|
-
# @param string type Data type
|
128
|
-
# @param string value Value to be deserialized
|
129
|
-
# @return [Object] Deserialized data
|
130
|
-
def _deserialize(type, value)
|
131
|
-
case type.to_sym
|
132
|
-
when :DateTime
|
133
|
-
DateTime.parse(value)
|
134
|
-
when :Date
|
135
|
-
Date.parse(value)
|
136
|
-
when :String
|
137
|
-
value.to_s
|
138
|
-
when :Integer
|
139
|
-
value.to_i
|
140
|
-
when :Float
|
141
|
-
value.to_f
|
142
|
-
when :Boolean
|
143
|
-
if value.to_s =~ /\A(true|t|yes|y|1)\z/i
|
144
|
-
true
|
145
|
-
else
|
146
|
-
false
|
147
|
-
end
|
148
|
-
when :Object
|
149
|
-
# generic object (usually a Hash), return directly
|
150
|
-
value
|
151
|
-
when /\AArray<(?<inner_type>.+)>\z/
|
152
|
-
inner_type = Regexp.last_match[:inner_type]
|
153
|
-
value.map { |v| _deserialize(inner_type, v) }
|
154
|
-
when /\AHash<(?<k_type>.+?), (?<v_type>.+)>\z/
|
155
|
-
k_type = Regexp.last_match[:k_type]
|
156
|
-
v_type = Regexp.last_match[:v_type]
|
157
|
-
{}.tap do |hash|
|
158
|
-
value.each do |k, v|
|
159
|
-
hash[_deserialize(k_type, k)] = _deserialize(v_type, v)
|
160
|
-
end
|
161
|
-
end
|
162
|
-
else # model
|
163
|
-
TurnkeyClient.const_get(type).build_from_hash(value)
|
164
|
-
end
|
165
|
-
end
|
166
|
-
|
167
|
-
# Returns the string representation of the object
|
168
|
-
# @return [String] String presentation of the object
|
169
|
-
def to_s
|
170
|
-
to_hash.to_s
|
171
|
-
end
|
172
|
-
|
173
|
-
# to_body is an alias to to_hash (backward compatibility)
|
174
|
-
# @return [Hash] Returns the object in the form of hash
|
175
|
-
def to_body
|
176
|
-
to_hash
|
177
|
-
end
|
178
|
-
|
179
|
-
# Returns the object in the form of hash
|
180
|
-
# @return [Hash] Returns the object in the form of hash
|
181
|
-
def to_hash
|
182
|
-
hash = {}
|
183
|
-
self.class.attribute_map.each_pair do |attr, param|
|
184
|
-
value = self.send(attr)
|
185
|
-
if value.nil?
|
186
|
-
is_nullable = self.class.openapi_nullable.include?(attr)
|
187
|
-
next if !is_nullable || (is_nullable && !instance_variable_defined?(:"@#{attr}"))
|
188
|
-
end
|
189
|
-
|
190
|
-
hash[param] = _to_hash(value)
|
191
|
-
end
|
192
|
-
hash
|
193
|
-
end
|
194
|
-
|
195
|
-
# Outputs non-array value in the form of hash
|
196
|
-
# For object, use to_hash. Otherwise, just return the value
|
197
|
-
# @param [Object] value Any valid value
|
198
|
-
# @return [Hash] Returns the value in the form of hash
|
199
|
-
def _to_hash(value)
|
200
|
-
if value.is_a?(Array)
|
201
|
-
value.compact.map { |v| _to_hash(v) }
|
202
|
-
elsif value.is_a?(Hash)
|
203
|
-
{}.tap do |hash|
|
204
|
-
value.each { |k, v| hash[k] = _to_hash(v) }
|
205
|
-
end
|
206
|
-
elsif value.respond_to? :to_hash
|
207
|
-
value.to_hash
|
208
|
-
else
|
209
|
-
value
|
210
|
-
end
|
211
|
-
end end
|
212
|
-
end
|
@@ -1,211 +0,0 @@
|
|
1
|
-
=begin
|
2
|
-
#API Reference
|
3
|
-
|
4
|
-
#Review our [API Introduction](../api-introduction) to get started.
|
5
|
-
|
6
|
-
OpenAPI spec version: 1.0
|
7
|
-
|
8
|
-
Generated by: https://github.com/swagger-api/swagger-codegen.git
|
9
|
-
Swagger Codegen version: 3.0.53
|
10
|
-
=end
|
11
|
-
|
12
|
-
require 'date'
|
13
|
-
|
14
|
-
module TurnkeyClient
|
15
|
-
class V1NOOPCodegenAnchorResponse
|
16
|
-
attr_accessor :stamp
|
17
|
-
|
18
|
-
# Attribute mapping from ruby-style variable name to JSON key.
|
19
|
-
def self.attribute_map
|
20
|
-
{
|
21
|
-
:'stamp' => :'stamp'
|
22
|
-
}
|
23
|
-
end
|
24
|
-
|
25
|
-
# Attribute type mapping.
|
26
|
-
def self.openapi_types
|
27
|
-
{
|
28
|
-
:'stamp' => :'Object'
|
29
|
-
}
|
30
|
-
end
|
31
|
-
|
32
|
-
# List of attributes with nullable: true
|
33
|
-
def self.openapi_nullable
|
34
|
-
Set.new([
|
35
|
-
])
|
36
|
-
end
|
37
|
-
|
38
|
-
# Initializes the object
|
39
|
-
# @param [Hash] attributes Model attributes in the form of hash
|
40
|
-
def initialize(attributes = {})
|
41
|
-
if (!attributes.is_a?(Hash))
|
42
|
-
fail ArgumentError, "The input argument (attributes) must be a hash in `TurnkeyClient::V1NOOPCodegenAnchorResponse` initialize method"
|
43
|
-
end
|
44
|
-
|
45
|
-
# check to see if the attribute exists and convert string to symbol for hash key
|
46
|
-
attributes = attributes.each_with_object({}) { |(k, v), h|
|
47
|
-
if (!self.class.attribute_map.key?(k.to_sym))
|
48
|
-
fail ArgumentError, "`#{k}` is not a valid attribute in `TurnkeyClient::V1NOOPCodegenAnchorResponse`. Please check the name to make sure it's valid. List of attributes: " + self.class.attribute_map.keys.inspect
|
49
|
-
end
|
50
|
-
h[k.to_sym] = v
|
51
|
-
}
|
52
|
-
|
53
|
-
if attributes.key?(:'stamp')
|
54
|
-
self.stamp = attributes[:'stamp']
|
55
|
-
end
|
56
|
-
end
|
57
|
-
|
58
|
-
# Show invalid properties with the reasons. Usually used together with valid?
|
59
|
-
# @return Array for valid properties with the reasons
|
60
|
-
def list_invalid_properties
|
61
|
-
invalid_properties = Array.new
|
62
|
-
if @stamp.nil?
|
63
|
-
invalid_properties.push('invalid value for "stamp", stamp cannot be nil.')
|
64
|
-
end
|
65
|
-
|
66
|
-
invalid_properties
|
67
|
-
end
|
68
|
-
|
69
|
-
# Check to see if the all the properties in the model are valid
|
70
|
-
# @return true if the model is valid
|
71
|
-
def valid?
|
72
|
-
return false if @stamp.nil?
|
73
|
-
true
|
74
|
-
end
|
75
|
-
|
76
|
-
# Checks equality by comparing each attribute.
|
77
|
-
# @param [Object] Object to be compared
|
78
|
-
def ==(o)
|
79
|
-
return true if self.equal?(o)
|
80
|
-
self.class == o.class &&
|
81
|
-
stamp == o.stamp
|
82
|
-
end
|
83
|
-
|
84
|
-
# @see the `==` method
|
85
|
-
# @param [Object] Object to be compared
|
86
|
-
def eql?(o)
|
87
|
-
self == o
|
88
|
-
end
|
89
|
-
|
90
|
-
# Calculates hash code according to all attributes.
|
91
|
-
# @return [Integer] Hash code
|
92
|
-
def hash
|
93
|
-
[stamp].hash
|
94
|
-
end
|
95
|
-
|
96
|
-
# Builds the object from hash
|
97
|
-
# @param [Hash] attributes Model attributes in the form of hash
|
98
|
-
# @return [Object] Returns the model itself
|
99
|
-
def self.build_from_hash(attributes)
|
100
|
-
new.build_from_hash(attributes)
|
101
|
-
end
|
102
|
-
|
103
|
-
# Builds the object from hash
|
104
|
-
# @param [Hash] attributes Model attributes in the form of hash
|
105
|
-
# @return [Object] Returns the model itself
|
106
|
-
def build_from_hash(attributes)
|
107
|
-
return nil unless attributes.is_a?(Hash)
|
108
|
-
self.class.openapi_types.each_pair do |key, type|
|
109
|
-
if type =~ /\AArray<(.*)>/i
|
110
|
-
# check to ensure the input is an array given that the attribute
|
111
|
-
# is documented as an array but the input is not
|
112
|
-
if attributes[self.class.attribute_map[key]].is_a?(Array)
|
113
|
-
self.send("#{key}=", attributes[self.class.attribute_map[key]].map { |v| _deserialize($1, v) })
|
114
|
-
end
|
115
|
-
elsif !attributes[self.class.attribute_map[key]].nil?
|
116
|
-
self.send("#{key}=", _deserialize(type, attributes[self.class.attribute_map[key]]))
|
117
|
-
elsif attributes[self.class.attribute_map[key]].nil? && self.class.openapi_nullable.include?(key)
|
118
|
-
self.send("#{key}=", nil)
|
119
|
-
end
|
120
|
-
end
|
121
|
-
|
122
|
-
self
|
123
|
-
end
|
124
|
-
|
125
|
-
# Deserializes the data based on type
|
126
|
-
# @param string type Data type
|
127
|
-
# @param string value Value to be deserialized
|
128
|
-
# @return [Object] Deserialized data
|
129
|
-
def _deserialize(type, value)
|
130
|
-
case type.to_sym
|
131
|
-
when :DateTime
|
132
|
-
DateTime.parse(value)
|
133
|
-
when :Date
|
134
|
-
Date.parse(value)
|
135
|
-
when :String
|
136
|
-
value.to_s
|
137
|
-
when :Integer
|
138
|
-
value.to_i
|
139
|
-
when :Float
|
140
|
-
value.to_f
|
141
|
-
when :Boolean
|
142
|
-
if value.to_s =~ /\A(true|t|yes|y|1)\z/i
|
143
|
-
true
|
144
|
-
else
|
145
|
-
false
|
146
|
-
end
|
147
|
-
when :Object
|
148
|
-
# generic object (usually a Hash), return directly
|
149
|
-
value
|
150
|
-
when /\AArray<(?<inner_type>.+)>\z/
|
151
|
-
inner_type = Regexp.last_match[:inner_type]
|
152
|
-
value.map { |v| _deserialize(inner_type, v) }
|
153
|
-
when /\AHash<(?<k_type>.+?), (?<v_type>.+)>\z/
|
154
|
-
k_type = Regexp.last_match[:k_type]
|
155
|
-
v_type = Regexp.last_match[:v_type]
|
156
|
-
{}.tap do |hash|
|
157
|
-
value.each do |k, v|
|
158
|
-
hash[_deserialize(k_type, k)] = _deserialize(v_type, v)
|
159
|
-
end
|
160
|
-
end
|
161
|
-
else # model
|
162
|
-
TurnkeyClient.const_get(type).build_from_hash(value)
|
163
|
-
end
|
164
|
-
end
|
165
|
-
|
166
|
-
# Returns the string representation of the object
|
167
|
-
# @return [String] String presentation of the object
|
168
|
-
def to_s
|
169
|
-
to_hash.to_s
|
170
|
-
end
|
171
|
-
|
172
|
-
# to_body is an alias to to_hash (backward compatibility)
|
173
|
-
# @return [Hash] Returns the object in the form of hash
|
174
|
-
def to_body
|
175
|
-
to_hash
|
176
|
-
end
|
177
|
-
|
178
|
-
# Returns the object in the form of hash
|
179
|
-
# @return [Hash] Returns the object in the form of hash
|
180
|
-
def to_hash
|
181
|
-
hash = {}
|
182
|
-
self.class.attribute_map.each_pair do |attr, param|
|
183
|
-
value = self.send(attr)
|
184
|
-
if value.nil?
|
185
|
-
is_nullable = self.class.openapi_nullable.include?(attr)
|
186
|
-
next if !is_nullable || (is_nullable && !instance_variable_defined?(:"@#{attr}"))
|
187
|
-
end
|
188
|
-
|
189
|
-
hash[param] = _to_hash(value)
|
190
|
-
end
|
191
|
-
hash
|
192
|
-
end
|
193
|
-
|
194
|
-
# Outputs non-array value in the form of hash
|
195
|
-
# For object, use to_hash. Otherwise, just return the value
|
196
|
-
# @param [Object] value Any valid value
|
197
|
-
# @return [Hash] Returns the value in the form of hash
|
198
|
-
def _to_hash(value)
|
199
|
-
if value.is_a?(Array)
|
200
|
-
value.compact.map { |v| _to_hash(v) }
|
201
|
-
elsif value.is_a?(Hash)
|
202
|
-
{}.tap do |hash|
|
203
|
-
value.each { |k, v| hash[k] = _to_hash(v) }
|
204
|
-
end
|
205
|
-
elsif value.respond_to? :to_hash
|
206
|
-
value.to_hash
|
207
|
-
else
|
208
|
-
value
|
209
|
-
end
|
210
|
-
end end
|
211
|
-
end
|