turnkey_client 0.0.1 → 0.0.3
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 +7 -7
- data/lib/turnkey_client/api/api_keys_api.rb +13 -13
- data/lib/turnkey_client/api/authenticators_api.rb +13 -13
- data/lib/turnkey_client/api/consensus_api.rb +7 -7
- data/lib/turnkey_client/api/features_api.rb +7 -7
- data/lib/turnkey_client/api/invitations_api.rb +7 -7
- data/lib/turnkey_client/api/organizations_api.rb +21 -21
- data/lib/turnkey_client/api/policies_api.rb +16 -16
- data/lib/turnkey_client/api/private_key_tags_api.rb +68 -10
- data/lib/turnkey_client/api/private_keys_api.rb +129 -13
- data/lib/turnkey_client/api/sessions_api.rb +4 -4
- data/lib/turnkey_client/api/signing_api.rb +7 -7
- data/lib/turnkey_client/api/user_auth_api.rb +4 -4
- data/lib/turnkey_client/api/user_recovery_api.rb +7 -7
- data/lib/turnkey_client/api/user_tags_api.rb +68 -10
- data/lib/turnkey_client/api/users_api.rb +38 -38
- data/lib/turnkey_client/api/wallets_api.rb +138 -22
- data/lib/turnkey_client/api_client.rb +1 -1
- data/lib/turnkey_client/api_error.rb +1 -1
- data/lib/turnkey_client/configuration.rb +1 -1
- data/lib/turnkey_client/models/{v1_accept_invitation_intent_v2.rb → accept_invitation_intent.rb} +4 -4
- data/lib/turnkey_client/models/{v1_accept_invitation_intent.rb → accept_invitation_intent_v2.rb} +4 -4
- data/lib/turnkey_client/models/{v1_accept_invitation_result.rb → accept_invitation_result.rb} +4 -4
- data/lib/turnkey_client/models/{v1_access_type.rb → access_type.rb} +4 -4
- data/lib/turnkey_client/models/{v1_activate_billing_tier_intent.rb → activate_billing_tier_intent.rb} +4 -4
- data/lib/turnkey_client/models/{v1_activate_billing_tier_result.rb → activate_billing_tier_result.rb} +4 -4
- data/lib/turnkey_client/models/{v1_activity.rb → activity.rb} +4 -4
- data/lib/turnkey_client/models/{v1_activity_response.rb → activity_response.rb} +4 -4
- data/lib/turnkey_client/models/{v1_activity_status.rb → activity_status.rb} +4 -4
- data/lib/turnkey_client/models/{v1_activity_type.rb → activity_type.rb} +8 -4
- data/lib/turnkey_client/models/{externaldatav1_address.rb → activity_v1_address.rb} +4 -4
- data/lib/turnkey_client/models/{v1_address_format.rb → address_format.rb} +5 -4
- data/lib/turnkey_client/models/{v1_api_key.rb → api_key.rb} +4 -4
- data/lib/turnkey_client/models/{v1_api_key_params.rb → api_key_params.rb} +4 -4
- data/lib/turnkey_client/models/{v1_api_only_user_params.rb → api_only_user_params.rb} +4 -4
- data/lib/turnkey_client/models/{v1_reject_activity_intent.rb → approve_activity_intent.rb} +4 -4
- data/lib/turnkey_client/models/{v1_create_api_keys_request.rb → approve_activity_request.rb} +6 -6
- data/lib/turnkey_client/models/{v1_attestation.rb → attestation.rb} +4 -4
- data/lib/turnkey_client/models/{v1_authenticator.rb → authenticator.rb} +4 -4
- data/lib/turnkey_client/models/{v1_authenticator_attestation_response.rb → authenticator_attestation_response.rb} +4 -4
- data/lib/turnkey_client/models/{v1_authenticator_params.rb → authenticator_params.rb} +4 -4
- data/lib/turnkey_client/models/{v1_authenticator_params_v2.rb → authenticator_params_v2.rb} +4 -4
- data/lib/turnkey_client/models/{v1_authenticator_transport.rb → authenticator_transport.rb} +4 -4
- data/lib/turnkey_client/models/{v1_create_api_keys_intent.rb → create_api_keys_intent.rb} +4 -4
- data/lib/turnkey_client/models/{v1_create_users_request.rb → create_api_keys_request.rb} +6 -6
- data/lib/turnkey_client/models/{v1_create_api_keys_result.rb → create_api_keys_result.rb} +4 -4
- data/lib/turnkey_client/models/{v1_create_api_only_users_intent.rb → create_api_only_users_intent.rb} +4 -4
- data/lib/turnkey_client/models/{v1_create_api_only_users_result.rb → create_api_only_users_result.rb} +4 -4
- data/lib/turnkey_client/models/{v1_create_authenticators_intent_v2.rb → create_authenticators_intent.rb} +4 -4
- data/lib/turnkey_client/models/{v1_create_authenticators_intent.rb → create_authenticators_intent_v2.rb} +4 -4
- data/lib/turnkey_client/models/{v1_create_authenticators_request.rb → create_authenticators_request.rb} +4 -4
- data/lib/turnkey_client/models/{v1_create_authenticators_result.rb → create_authenticators_result.rb} +4 -4
- data/lib/turnkey_client/models/{v1_create_invitations_intent.rb → create_invitations_intent.rb} +4 -4
- data/lib/turnkey_client/models/{v1_approve_activity_request.rb → create_invitations_request.rb} +6 -6
- data/lib/turnkey_client/models/{v1_create_invitations_result.rb → create_invitations_result.rb} +4 -4
- data/lib/turnkey_client/models/{v1_create_organization_intent_v2.rb → create_organization_intent.rb} +4 -4
- data/lib/turnkey_client/models/{v1_create_organization_intent.rb → create_organization_intent_v2.rb} +4 -4
- data/lib/turnkey_client/models/{v1_get_organization_request.rb → create_organization_result.rb} +4 -4
- data/lib/turnkey_client/models/{v1_create_policy_intent_v2.rb → create_policy_intent.rb} +4 -4
- data/lib/turnkey_client/models/{v1_create_policy_intent.rb → create_policy_intent_v2.rb} +4 -4
- data/lib/turnkey_client/models/{v1_create_policy_intent_v3.rb → create_policy_intent_v3.rb} +4 -4
- data/lib/turnkey_client/models/{v1_create_policy_request.rb → create_policy_request.rb} +4 -4
- data/lib/turnkey_client/models/{v1_delete_policy_intent.rb → create_policy_result.rb} +4 -4
- data/lib/turnkey_client/models/{v1_create_private_key_tag_intent.rb → create_private_key_tag_intent.rb} +4 -4
- data/lib/turnkey_client/models/{v1_create_private_keys_request.rb → create_private_key_tag_request.rb} +6 -6
- data/lib/turnkey_client/models/{v1_create_private_key_tag_result.rb → create_private_key_tag_result.rb} +4 -4
- data/lib/turnkey_client/models/{v1_get_private_keys_response.rb → create_private_keys_intent.rb} +4 -4
- data/lib/turnkey_client/models/{v1_create_private_keys_intent.rb → create_private_keys_intent_v2.rb} +4 -4
- data/lib/turnkey_client/models/{v1_sign_transaction_request.rb → create_private_keys_request.rb} +6 -6
- data/lib/turnkey_client/models/{v1_create_private_keys_result.rb → create_private_keys_result.rb} +4 -4
- data/lib/turnkey_client/models/{v1_create_private_keys_result_v2.rb → create_private_keys_result_v2.rb} +4 -4
- data/lib/turnkey_client/models/{v1_create_sub_organization_intent.rb → create_sub_organization_intent.rb} +4 -4
- data/lib/turnkey_client/models/{v1_create_sub_organization_intent_v2.rb → create_sub_organization_intent_v2.rb} +4 -4
- data/lib/turnkey_client/models/{v1_create_sub_organization_intent_v3.rb → create_sub_organization_intent_v3.rb} +4 -4
- data/lib/turnkey_client/models/{v1_create_sub_organization_intent_v4.rb → create_sub_organization_intent_v4.rb} +4 -4
- data/lib/turnkey_client/models/{v1_export_wallet_account_request.rb → create_sub_organization_request.rb} +6 -6
- data/lib/turnkey_client/models/{v1_create_sub_organization_result_v4.rb → create_sub_organization_result.rb} +13 -11
- data/lib/turnkey_client/models/{v1_create_sub_organization_result_v3.rb → create_sub_organization_result_v3.rb} +19 -8
- data/lib/turnkey_client/models/{v1_create_sub_organization_result.rb → create_sub_organization_result_v4.rb} +28 -8
- data/lib/turnkey_client/models/{v1_create_user_tag_intent.rb → create_user_tag_intent.rb} +4 -4
- data/lib/turnkey_client/models/{v1_recover_user_request.rb → create_user_tag_request.rb} +6 -6
- data/lib/turnkey_client/models/{v1_create_user_tag_result.rb → create_user_tag_result.rb} +4 -4
- data/lib/turnkey_client/models/{v1_get_users_response.rb → create_users_intent.rb} +4 -4
- data/lib/turnkey_client/models/{v1_create_users_intent.rb → create_users_intent_v2.rb} +4 -4
- data/lib/turnkey_client/models/create_users_request.rb +289 -0
- data/lib/turnkey_client/models/{v1_create_users_result.rb → create_users_result.rb} +4 -4
- data/lib/turnkey_client/models/{v1_create_wallet_accounts_intent.rb → create_wallet_accounts_intent.rb} +4 -4
- 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} +4 -4
- data/lib/turnkey_client/models/{v1_create_wallet_intent.rb → create_wallet_intent.rb} +4 -4
- data/lib/turnkey_client/models/{v1_update_user_request.rb → create_wallet_request.rb} +6 -6
- data/lib/turnkey_client/models/{v1_create_wallet_result.rb → create_wallet_result.rb} +5 -5
- data/lib/turnkey_client/models/{v1_cred_props_authentication_extensions_client_outputs.rb → cred_props_authentication_extensions_client_outputs.rb} +4 -4
- data/lib/turnkey_client/models/{v1_credential_type.rb → credential_type.rb} +4 -4
- data/lib/turnkey_client/models/{v1_curve.rb → curve.rb} +4 -4
- data/lib/turnkey_client/models/{immutableactivityv1_address.rb → data_v1_address.rb} +4 -4
- data/lib/turnkey_client/models/{v1_delete_api_keys_intent.rb → delete_api_keys_intent.rb} +4 -4
- data/lib/turnkey_client/models/{v1_delete_api_keys_request.rb → delete_api_keys_request.rb} +4 -4
- data/lib/turnkey_client/models/{v1_delete_api_keys_result.rb → delete_api_keys_result.rb} +4 -4
- data/lib/turnkey_client/models/{v1_delete_authenticators_intent.rb → delete_authenticators_intent.rb} +4 -4
- data/lib/turnkey_client/models/{v1_create_api_only_users_request.rb → delete_authenticators_request.rb} +6 -6
- data/lib/turnkey_client/models/{v1_delete_authenticators_result.rb → delete_authenticators_result.rb} +4 -4
- data/lib/turnkey_client/models/{v1_delete_invitation_intent.rb → delete_invitation_intent.rb} +4 -4
- data/lib/turnkey_client/models/{v1_reject_activity_request.rb → delete_invitation_request.rb} +6 -6
- data/lib/turnkey_client/models/{v1_delete_invitation_result.rb → delete_invitation_result.rb} +4 -4
- data/lib/turnkey_client/models/{v1_get_private_keys_request.rb → delete_organization_intent.rb} +4 -4
- 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} +4 -4
- data/lib/turnkey_client/models/{v1_delete_payment_method_result.rb → delete_payment_method_result.rb} +4 -4
- data/lib/turnkey_client/models/{v1_update_policy_result.rb → delete_policy_intent.rb} +4 -4
- 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} +4 -4
- data/lib/turnkey_client/models/{v1_delete_private_key_tags_intent.rb → delete_private_key_tags_intent.rb} +4 -4
- 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} +4 -4
- data/lib/turnkey_client/models/{v1_delete_user_tags_intent.rb → delete_user_tags_intent.rb} +4 -4
- data/lib/turnkey_client/models/{v1_export_wallet_request.rb → delete_user_tags_request.rb} +6 -6
- data/lib/turnkey_client/models/{v1_delete_user_tags_result.rb → delete_user_tags_result.rb} +4 -4
- data/lib/turnkey_client/models/{v1_delete_users_intent.rb → delete_users_intent.rb} +4 -4
- data/lib/turnkey_client/models/{v1_email_auth_request.rb → delete_users_request.rb} +6 -6
- data/lib/turnkey_client/models/{v1_delete_users_result.rb → delete_users_result.rb} +4 -4
- data/lib/turnkey_client/models/{v1_disable_private_key_intent.rb → disable_private_key_intent.rb} +4 -4
- data/lib/turnkey_client/models/{v1_disable_private_key_result.rb → disable_private_key_result.rb} +4 -4
- data/lib/turnkey_client/models/{v1_effect.rb → effect.rb} +4 -4
- data/lib/turnkey_client/models/{v1_email_auth_intent.rb → email_auth_intent.rb} +4 -4
- 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} +4 -4
- 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} +4 -4
- data/lib/turnkey_client/models/{v1_sign_raw_payload_request.rb → export_private_key_request.rb} +6 -6
- data/lib/turnkey_client/models/{v1_export_private_key_result.rb → export_private_key_result.rb} +4 -4
- data/lib/turnkey_client/models/{v1_export_wallet_account_intent.rb → export_wallet_account_intent.rb} +4 -4
- data/lib/turnkey_client/models/{v1_create_invitations_request.rb → export_wallet_account_request.rb} +6 -6
- data/lib/turnkey_client/models/{v1_export_wallet_account_result.rb → export_wallet_account_result.rb} +4 -4
- data/lib/turnkey_client/models/{v1_export_wallet_intent.rb → export_wallet_intent.rb} +4 -4
- 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} +4 -4
- data/lib/turnkey_client/models/{externaldatav1_credential.rb → external_data_v1_credential.rb} +4 -4
- data/lib/turnkey_client/models/{externaldatav1_timestamp.rb → external_data_v1_timestamp.rb} +4 -4
- data/lib/turnkey_client/models/{v1_feature.rb → feature.rb} +4 -4
- data/lib/turnkey_client/models/{v1_feature_name.rb → feature_name.rb} +5 -4
- data/lib/turnkey_client/models/{v1_get_activities_request.rb → get_activities_request.rb} +4 -4
- data/lib/turnkey_client/models/{v1_get_activities_response.rb → get_activities_response.rb} +4 -4
- data/lib/turnkey_client/models/{v1_get_activity_request.rb → get_activity_request.rb} +4 -4
- data/lib/turnkey_client/models/{v1_get_api_key_request.rb → get_api_key_request.rb} +4 -4
- data/lib/turnkey_client/models/{v1_get_api_key_response.rb → get_api_key_response.rb} +4 -4
- data/lib/turnkey_client/models/{v1_get_api_keys_request.rb → get_api_keys_request.rb} +4 -4
- data/lib/turnkey_client/models/{v1_get_api_keys_response.rb → get_api_keys_response.rb} +4 -4
- data/lib/turnkey_client/models/{v1_get_authenticator_request.rb → get_authenticator_request.rb} +4 -4
- data/lib/turnkey_client/models/{v1_get_authenticator_response.rb → get_authenticator_response.rb} +4 -4
- data/lib/turnkey_client/models/{v1_get_authenticators_request.rb → get_authenticators_request.rb} +4 -4
- data/lib/turnkey_client/models/{v1_get_authenticators_response.rb → get_authenticators_response.rb} +4 -4
- data/lib/turnkey_client/models/{v1_get_policies_request.rb → get_policies_request.rb} +4 -4
- data/lib/turnkey_client/models/{v1_get_policies_response.rb → get_policies_response.rb} +4 -4
- data/lib/turnkey_client/models/{v1_get_policy_request.rb → get_policy_request.rb} +4 -4
- data/lib/turnkey_client/models/{v1_get_policy_response.rb → get_policy_response.rb} +4 -4
- data/lib/turnkey_client/models/{v1_get_private_key_request.rb → get_private_key_request.rb} +4 -4
- data/lib/turnkey_client/models/{v1_get_private_key_response.rb → get_private_key_response.rb} +4 -4
- data/lib/turnkey_client/models/{v1_list_user_tags_request.rb → get_private_keys_request.rb} +4 -4
- data/lib/turnkey_client/models/{v1_create_private_keys_intent_v2.rb → get_private_keys_response.rb} +4 -4
- data/lib/turnkey_client/models/get_sub_org_ids_request.rb +232 -0
- data/lib/turnkey_client/models/get_sub_org_ids_response.rb +214 -0
- data/lib/turnkey_client/models/{v1_get_user_request.rb → get_user_request.rb} +4 -4
- data/lib/turnkey_client/models/{v1_get_user_response.rb → get_user_response.rb} +4 -4
- 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} +4 -4
- data/lib/turnkey_client/models/{v1_get_wallet_accounts_request.rb → get_wallet_accounts_request.rb} +4 -4
- data/lib/turnkey_client/models/{v1_get_wallet_accounts_response.rb → get_wallet_accounts_response.rb} +4 -4
- data/lib/turnkey_client/models/{v1_get_wallet_request.rb → get_wallet_request.rb} +4 -4
- data/lib/turnkey_client/models/{v1_get_wallet_response.rb → get_wallet_response.rb} +4 -4
- data/lib/turnkey_client/models/{v1_get_users_request.rb → get_wallets_request.rb} +4 -4
- data/lib/turnkey_client/models/{v1_get_wallets_response.rb → get_wallets_response.rb} +4 -4
- data/lib/turnkey_client/models/{v1_get_whoami_request.rb → get_whoami_request.rb} +4 -4
- data/lib/turnkey_client/models/{v1_get_whoami_response.rb → get_whoami_response.rb} +4 -4
- data/lib/turnkey_client/models/{v1_hash_function.rb → hash_function.rb} +4 -4
- data/lib/turnkey_client/models/import_private_key_intent.rb +273 -0
- data/lib/turnkey_client/models/import_private_key_request.rb +289 -0
- data/lib/turnkey_client/models/import_private_key_result.rb +229 -0
- 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_private_key_intent.rb +212 -0
- data/lib/turnkey_client/models/init_import_private_key_request.rb +289 -0
- data/lib/turnkey_client/models/{v1_delete_organization_intent.rb → init_import_private_key_result.rb} +15 -15
- 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} +17 -8
- data/lib/turnkey_client/models/{v1_create_private_key_tag_request.rb → init_user_email_recovery_request.rb} +6 -6
- data/lib/turnkey_client/models/{v1_init_user_email_recovery_result.rb → init_user_email_recovery_result.rb} +4 -4
- data/lib/turnkey_client/models/{v1_intent.rb → intent.rb} +44 -8
- data/lib/turnkey_client/models/{v1_invitation_params.rb → invitation_params.rb} +4 -4
- 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} +4 -4
- data/lib/turnkey_client/models/{v1_get_wallets_request.rb → list_user_tags_request.rb} +4 -4
- data/lib/turnkey_client/models/{v1_list_user_tags_response.rb → list_user_tags_response.rb} +4 -4
- data/lib/turnkey_client/models/{v1_mnemonic_language.rb → mnemonic_language.rb} +4 -4
- data/lib/turnkey_client/models/{v1_operator.rb → operator.rb} +4 -4
- data/lib/turnkey_client/models/{v1_pagination.rb → pagination.rb} +4 -4
- data/lib/turnkey_client/models/{v1_path_format.rb → path_format.rb} +4 -4
- data/lib/turnkey_client/models/{v1_payload_encoding.rb → payload_encoding.rb} +4 -4
- data/lib/turnkey_client/models/{v1_policy.rb → policy.rb} +4 -4
- data/lib/turnkey_client/models/{v1_private_key.rb → private_key.rb} +23 -8
- data/lib/turnkey_client/models/{v1_private_key_params.rb → private_key_params.rb} +4 -4
- data/lib/turnkey_client/models/{v1_private_key_result.rb → private_key_result.rb} +4 -4
- data/lib/turnkey_client/models/{v1_public_key_credential_with_attestation.rb → public_key_credential_with_attestation.rb} +4 -4
- data/lib/turnkey_client/models/{v1_recover_user_intent.rb → recover_user_intent.rb} +4 -4
- 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} +4 -4
- data/lib/turnkey_client/models/{v1_approve_activity_intent.rb → reject_activity_intent.rb} +4 -4
- data/lib/turnkey_client/models/{v1_create_wallet_request.rb → reject_activity_request.rb} +6 -6
- data/lib/turnkey_client/models/{v1_remove_organization_feature_intent.rb → remove_organization_feature_intent.rb} +4 -4
- data/lib/turnkey_client/models/{v1_remove_organization_feature_request.rb → remove_organization_feature_request.rb} +4 -4
- data/lib/turnkey_client/models/{v1_remove_organization_feature_result.rb → remove_organization_feature_result.rb} +4 -4
- data/lib/turnkey_client/models/{v1_result.rb → result.rb} +44 -8
- data/lib/turnkey_client/models/{v1_root_user_params.rb → root_user_params.rb} +4 -4
- data/lib/turnkey_client/models/{v1_selector.rb → selector.rb} +4 -4
- data/lib/turnkey_client/models/{v1_selector_v2.rb → selector_v2.rb} +4 -4
- data/lib/turnkey_client/models/{v1_set_organization_feature_intent.rb → set_organization_feature_intent.rb} +4 -4
- data/lib/turnkey_client/models/{v1_create_wallet_accounts_request.rb → set_organization_feature_request.rb} +6 -6
- data/lib/turnkey_client/models/{v1_set_organization_feature_result.rb → set_organization_feature_result.rb} +4 -4
- data/lib/turnkey_client/models/{v1_set_payment_method_intent.rb → set_payment_method_intent.rb} +4 -4
- data/lib/turnkey_client/models/{v1_set_payment_method_intent_v2.rb → set_payment_method_intent_v2.rb} +4 -4
- data/lib/turnkey_client/models/{v1_set_payment_method_result.rb → set_payment_method_result.rb} +4 -4
- data/lib/turnkey_client/models/{v1_sign_raw_payload_intent.rb → sign_raw_payload_intent.rb} +4 -4
- data/lib/turnkey_client/models/{v1_sign_raw_payload_intent_v2.rb → sign_raw_payload_intent_v2.rb} +4 -4
- data/lib/turnkey_client/models/{v1_delete_policy_request.rb → sign_raw_payload_request.rb} +6 -6
- data/lib/turnkey_client/models/{v1_sign_raw_payload_result.rb → sign_raw_payload_result.rb} +4 -4
- data/lib/turnkey_client/models/{v1_sign_transaction_intent.rb → sign_transaction_intent.rb} +4 -4
- data/lib/turnkey_client/models/{v1_sign_transaction_intent_v2.rb → sign_transaction_intent_v2.rb} +4 -4
- data/lib/turnkey_client/models/{v1_create_user_tag_request.rb → sign_transaction_request.rb} +6 -6
- data/lib/turnkey_client/models/{v1_sign_transaction_result.rb → sign_transaction_result.rb} +4 -4
- data/lib/turnkey_client/models/{v1_simple_client_extension_results.rb → simple_client_extension_results.rb} +4 -4
- data/lib/turnkey_client/models/{v1_tag_type.rb → tag_type.rb} +4 -4
- data/lib/turnkey_client/models/{v1_transaction_type.rb → transaction_type.rb} +4 -4
- data/lib/turnkey_client/models/{v1_update_allowed_origins_intent.rb → update_allowed_origins_intent.rb} +4 -4
- data/lib/turnkey_client/models/{v1_update_allowed_origins_result.rb → update_allowed_origins_result.rb} +4 -4
- data/lib/turnkey_client/models/{v1_update_policy_intent.rb → update_policy_intent.rb} +4 -4
- data/lib/turnkey_client/models/{v1_update_policy_request.rb → update_policy_request.rb} +4 -4
- data/lib/turnkey_client/models/{v1_create_policy_result.rb → update_policy_result.rb} +4 -4
- data/lib/turnkey_client/models/{v1_update_private_key_tag_intent.rb → update_private_key_tag_intent.rb} +4 -4
- data/lib/turnkey_client/models/{v1_update_private_key_tag_request.rb → update_private_key_tag_request.rb} +4 -4
- data/lib/turnkey_client/models/{v1_update_private_key_tag_result.rb → update_private_key_tag_result.rb} +4 -4
- data/lib/turnkey_client/models/{v1_update_root_quorum_intent.rb → update_root_quorum_intent.rb} +4 -4
- data/lib/turnkey_client/models/{v1_update_root_quorum_request.rb → update_root_quorum_request.rb} +4 -4
- data/lib/turnkey_client/models/{v1_update_root_quorum_result.rb → update_root_quorum_result.rb} +4 -4
- data/lib/turnkey_client/models/{v1_update_user_intent.rb → update_user_intent.rb} +4 -4
- 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} +4 -4
- data/lib/turnkey_client/models/{v1_update_user_tag_intent.rb → update_user_tag_intent.rb} +4 -4
- data/lib/turnkey_client/models/{v1_update_user_tag_request.rb → update_user_tag_request.rb} +4 -4
- data/lib/turnkey_client/models/{v1_update_user_tag_result.rb → update_user_tag_result.rb} +4 -4
- data/lib/turnkey_client/models/{v1_user.rb → user.rb} +4 -4
- data/lib/turnkey_client/models/{v1_user_params.rb → user_params.rb} +4 -4
- data/lib/turnkey_client/models/{v1_user_params_v2.rb → user_params_v2.rb} +4 -4
- data/lib/turnkey_client/models/{datav1_tag.rb → v1_tag.rb} +4 -4
- data/lib/turnkey_client/models/{v1_vote.rb → vote.rb} +4 -4
- data/lib/turnkey_client/models/{v1_wallet.rb → wallet.rb} +23 -8
- data/lib/turnkey_client/models/{v1_wallet_account.rb → wallet_account.rb} +4 -4
- data/lib/turnkey_client/models/{v1_wallet_account_params.rb → wallet_account_params.rb} +4 -4
- data/lib/turnkey_client/models/{v1_wallet_params.rb → wallet_params.rb} +4 -4
- data/lib/turnkey_client/models/{v1_wallet_result.rb → wallet_result.rb} +4 -4
- data/lib/turnkey_client/version.rb +2 -2
- data/lib/turnkey_client.rb +243 -238
- data/turnkey_client-0.0.2.gem +0 -0
- data/turnkey_client.gemspec +1 -1
- metadata +245 -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_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
|
@@ -6,13 +6,13 @@
|
|
|
6
6
|
OpenAPI spec version: 1.0
|
|
7
7
|
|
|
8
8
|
Generated by: https://github.com/swagger-api/swagger-codegen.git
|
|
9
|
-
Swagger Codegen version: 3.0.
|
|
9
|
+
Swagger Codegen version: 3.0.54
|
|
10
10
|
=end
|
|
11
11
|
|
|
12
12
|
require 'date'
|
|
13
13
|
|
|
14
14
|
module TurnkeyClient
|
|
15
|
-
class
|
|
15
|
+
class InitUserEmailRecoveryIntent
|
|
16
16
|
# Email of the user starting recovery
|
|
17
17
|
attr_accessor :email
|
|
18
18
|
|
|
@@ -22,12 +22,15 @@ module TurnkeyClient
|
|
|
22
22
|
# Expiration window (in seconds) indicating how long the recovery credential is valid. If not provided, a default of 15 minutes will be used.
|
|
23
23
|
attr_accessor :expiration_seconds
|
|
24
24
|
|
|
25
|
+
attr_accessor :email_customization
|
|
26
|
+
|
|
25
27
|
# Attribute mapping from ruby-style variable name to JSON key.
|
|
26
28
|
def self.attribute_map
|
|
27
29
|
{
|
|
28
30
|
:'email' => :'email',
|
|
29
31
|
:'target_public_key' => :'targetPublicKey',
|
|
30
|
-
:'expiration_seconds' => :'expirationSeconds'
|
|
32
|
+
:'expiration_seconds' => :'expirationSeconds',
|
|
33
|
+
:'email_customization' => :'emailCustomization'
|
|
31
34
|
}
|
|
32
35
|
end
|
|
33
36
|
|
|
@@ -36,7 +39,8 @@ module TurnkeyClient
|
|
|
36
39
|
{
|
|
37
40
|
:'email' => :'Object',
|
|
38
41
|
:'target_public_key' => :'Object',
|
|
39
|
-
:'expiration_seconds' => :'Object'
|
|
42
|
+
:'expiration_seconds' => :'Object',
|
|
43
|
+
:'email_customization' => :'Object'
|
|
40
44
|
}
|
|
41
45
|
end
|
|
42
46
|
|
|
@@ -50,13 +54,13 @@ module TurnkeyClient
|
|
|
50
54
|
# @param [Hash] attributes Model attributes in the form of hash
|
|
51
55
|
def initialize(attributes = {})
|
|
52
56
|
if (!attributes.is_a?(Hash))
|
|
53
|
-
fail ArgumentError, "The input argument (attributes) must be a hash in `TurnkeyClient::
|
|
57
|
+
fail ArgumentError, "The input argument (attributes) must be a hash in `TurnkeyClient::InitUserEmailRecoveryIntent` initialize method"
|
|
54
58
|
end
|
|
55
59
|
|
|
56
60
|
# check to see if the attribute exists and convert string to symbol for hash key
|
|
57
61
|
attributes = attributes.each_with_object({}) { |(k, v), h|
|
|
58
62
|
if (!self.class.attribute_map.key?(k.to_sym))
|
|
59
|
-
fail ArgumentError, "`#{k}` is not a valid attribute in `TurnkeyClient::
|
|
63
|
+
fail ArgumentError, "`#{k}` is not a valid attribute in `TurnkeyClient::InitUserEmailRecoveryIntent`. Please check the name to make sure it's valid. List of attributes: " + self.class.attribute_map.keys.inspect
|
|
60
64
|
end
|
|
61
65
|
h[k.to_sym] = v
|
|
62
66
|
}
|
|
@@ -72,6 +76,10 @@ module TurnkeyClient
|
|
|
72
76
|
if attributes.key?(:'expiration_seconds')
|
|
73
77
|
self.expiration_seconds = attributes[:'expiration_seconds']
|
|
74
78
|
end
|
|
79
|
+
|
|
80
|
+
if attributes.key?(:'email_customization')
|
|
81
|
+
self.email_customization = attributes[:'email_customization']
|
|
82
|
+
end
|
|
75
83
|
end
|
|
76
84
|
|
|
77
85
|
# Show invalid properties with the reasons. Usually used together with valid?
|
|
@@ -104,7 +112,8 @@ module TurnkeyClient
|
|
|
104
112
|
self.class == o.class &&
|
|
105
113
|
email == o.email &&
|
|
106
114
|
target_public_key == o.target_public_key &&
|
|
107
|
-
expiration_seconds == o.expiration_seconds
|
|
115
|
+
expiration_seconds == o.expiration_seconds &&
|
|
116
|
+
email_customization == o.email_customization
|
|
108
117
|
end
|
|
109
118
|
|
|
110
119
|
# @see the `==` method
|
|
@@ -116,7 +125,7 @@ module TurnkeyClient
|
|
|
116
125
|
# Calculates hash code according to all attributes.
|
|
117
126
|
# @return [Integer] Hash code
|
|
118
127
|
def hash
|
|
119
|
-
[email, target_public_key, expiration_seconds].hash
|
|
128
|
+
[email, target_public_key, expiration_seconds, email_customization].hash
|
|
120
129
|
end
|
|
121
130
|
|
|
122
131
|
# Builds the object from hash
|
|
@@ -6,13 +6,13 @@
|
|
|
6
6
|
OpenAPI spec version: 1.0
|
|
7
7
|
|
|
8
8
|
Generated by: https://github.com/swagger-api/swagger-codegen.git
|
|
9
|
-
Swagger Codegen version: 3.0.
|
|
9
|
+
Swagger Codegen version: 3.0.54
|
|
10
10
|
=end
|
|
11
11
|
|
|
12
12
|
require 'date'
|
|
13
13
|
|
|
14
14
|
module TurnkeyClient
|
|
15
|
-
class
|
|
15
|
+
class InitUserEmailRecoveryRequest
|
|
16
16
|
attr_accessor :type
|
|
17
17
|
|
|
18
18
|
# Timestamp (in milliseconds) of the request, used to verify liveness of user requests.
|
|
@@ -75,13 +75,13 @@ module TurnkeyClient
|
|
|
75
75
|
# @param [Hash] attributes Model attributes in the form of hash
|
|
76
76
|
def initialize(attributes = {})
|
|
77
77
|
if (!attributes.is_a?(Hash))
|
|
78
|
-
fail ArgumentError, "The input argument (attributes) must be a hash in `TurnkeyClient::
|
|
78
|
+
fail ArgumentError, "The input argument (attributes) must be a hash in `TurnkeyClient::InitUserEmailRecoveryRequest` initialize method"
|
|
79
79
|
end
|
|
80
80
|
|
|
81
81
|
# check to see if the attribute exists and convert string to symbol for hash key
|
|
82
82
|
attributes = attributes.each_with_object({}) { |(k, v), h|
|
|
83
83
|
if (!self.class.attribute_map.key?(k.to_sym))
|
|
84
|
-
fail ArgumentError, "`#{k}` is not a valid attribute in `TurnkeyClient::
|
|
84
|
+
fail ArgumentError, "`#{k}` is not a valid attribute in `TurnkeyClient::InitUserEmailRecoveryRequest`. Please check the name to make sure it's valid. List of attributes: " + self.class.attribute_map.keys.inspect
|
|
85
85
|
end
|
|
86
86
|
h[k.to_sym] = v
|
|
87
87
|
}
|
|
@@ -130,7 +130,7 @@ module TurnkeyClient
|
|
|
130
130
|
# @return true if the model is valid
|
|
131
131
|
def valid?
|
|
132
132
|
return false if @type.nil?
|
|
133
|
-
type_validator = EnumAttributeValidator.new('Object', ['
|
|
133
|
+
type_validator = EnumAttributeValidator.new('Object', ['ACTIVITY_TYPE_INIT_USER_EMAIL_RECOVERY'])
|
|
134
134
|
return false unless type_validator.valid?(@type)
|
|
135
135
|
return false if @timestamp_ms.nil?
|
|
136
136
|
return false if @organization_id.nil?
|
|
@@ -141,7 +141,7 @@ module TurnkeyClient
|
|
|
141
141
|
# Custom attribute writer method checking allowed values (enum).
|
|
142
142
|
# @param [Object] type Object to be assigned
|
|
143
143
|
def type=(type)
|
|
144
|
-
validator = EnumAttributeValidator.new('Object', ['
|
|
144
|
+
validator = EnumAttributeValidator.new('Object', ['ACTIVITY_TYPE_INIT_USER_EMAIL_RECOVERY'])
|
|
145
145
|
unless validator.valid?(type)
|
|
146
146
|
fail ArgumentError, "invalid value for \"type\", must be one of #{validator.allowable_values}."
|
|
147
147
|
end
|
|
@@ -6,13 +6,13 @@
|
|
|
6
6
|
OpenAPI spec version: 1.0
|
|
7
7
|
|
|
8
8
|
Generated by: https://github.com/swagger-api/swagger-codegen.git
|
|
9
|
-
Swagger Codegen version: 3.0.
|
|
9
|
+
Swagger Codegen version: 3.0.54
|
|
10
10
|
=end
|
|
11
11
|
|
|
12
12
|
require 'date'
|
|
13
13
|
|
|
14
14
|
module TurnkeyClient
|
|
15
|
-
class
|
|
15
|
+
class InitUserEmailRecoveryResult
|
|
16
16
|
# Unique identifier for the user being recovered.
|
|
17
17
|
attr_accessor :user_id
|
|
18
18
|
|
|
@@ -40,13 +40,13 @@ module TurnkeyClient
|
|
|
40
40
|
# @param [Hash] attributes Model attributes in the form of hash
|
|
41
41
|
def initialize(attributes = {})
|
|
42
42
|
if (!attributes.is_a?(Hash))
|
|
43
|
-
fail ArgumentError, "The input argument (attributes) must be a hash in `TurnkeyClient::
|
|
43
|
+
fail ArgumentError, "The input argument (attributes) must be a hash in `TurnkeyClient::InitUserEmailRecoveryResult` initialize method"
|
|
44
44
|
end
|
|
45
45
|
|
|
46
46
|
# check to see if the attribute exists and convert string to symbol for hash key
|
|
47
47
|
attributes = attributes.each_with_object({}) { |(k, v), h|
|
|
48
48
|
if (!self.class.attribute_map.key?(k.to_sym))
|
|
49
|
-
fail ArgumentError, "`#{k}` is not a valid attribute in `TurnkeyClient::
|
|
49
|
+
fail ArgumentError, "`#{k}` is not a valid attribute in `TurnkeyClient::InitUserEmailRecoveryResult`. Please check the name to make sure it's valid. List of attributes: " + self.class.attribute_map.keys.inspect
|
|
50
50
|
end
|
|
51
51
|
h[k.to_sym] = v
|
|
52
52
|
}
|
|
@@ -6,13 +6,13 @@
|
|
|
6
6
|
OpenAPI spec version: 1.0
|
|
7
7
|
|
|
8
8
|
Generated by: https://github.com/swagger-api/swagger-codegen.git
|
|
9
|
-
Swagger Codegen version: 3.0.
|
|
9
|
+
Swagger Codegen version: 3.0.54
|
|
10
10
|
=end
|
|
11
11
|
|
|
12
12
|
require 'date'
|
|
13
13
|
|
|
14
14
|
module TurnkeyClient
|
|
15
|
-
class
|
|
15
|
+
class Intent
|
|
16
16
|
attr_accessor :create_organization_intent
|
|
17
17
|
|
|
18
18
|
attr_accessor :create_authenticators_intent
|
|
@@ -127,6 +127,14 @@ module TurnkeyClient
|
|
|
127
127
|
|
|
128
128
|
attr_accessor :export_wallet_account_intent
|
|
129
129
|
|
|
130
|
+
attr_accessor :init_import_wallet_intent
|
|
131
|
+
|
|
132
|
+
attr_accessor :import_wallet_intent
|
|
133
|
+
|
|
134
|
+
attr_accessor :init_import_private_key_intent
|
|
135
|
+
|
|
136
|
+
attr_accessor :import_private_key_intent
|
|
137
|
+
|
|
130
138
|
# Attribute mapping from ruby-style variable name to JSON key.
|
|
131
139
|
def self.attribute_map
|
|
132
140
|
{
|
|
@@ -186,7 +194,11 @@ module TurnkeyClient
|
|
|
186
194
|
:'export_wallet_intent' => :'exportWalletIntent',
|
|
187
195
|
:'create_sub_organization_intent_v4' => :'createSubOrganizationIntentV4',
|
|
188
196
|
:'email_auth_intent' => :'emailAuthIntent',
|
|
189
|
-
:'export_wallet_account_intent' => :'exportWalletAccountIntent'
|
|
197
|
+
:'export_wallet_account_intent' => :'exportWalletAccountIntent',
|
|
198
|
+
:'init_import_wallet_intent' => :'initImportWalletIntent',
|
|
199
|
+
:'import_wallet_intent' => :'importWalletIntent',
|
|
200
|
+
:'init_import_private_key_intent' => :'initImportPrivateKeyIntent',
|
|
201
|
+
:'import_private_key_intent' => :'importPrivateKeyIntent'
|
|
190
202
|
}
|
|
191
203
|
end
|
|
192
204
|
|
|
@@ -249,7 +261,11 @@ module TurnkeyClient
|
|
|
249
261
|
:'export_wallet_intent' => :'Object',
|
|
250
262
|
:'create_sub_organization_intent_v4' => :'Object',
|
|
251
263
|
:'email_auth_intent' => :'Object',
|
|
252
|
-
:'export_wallet_account_intent' => :'Object'
|
|
264
|
+
:'export_wallet_account_intent' => :'Object',
|
|
265
|
+
:'init_import_wallet_intent' => :'Object',
|
|
266
|
+
:'import_wallet_intent' => :'Object',
|
|
267
|
+
:'init_import_private_key_intent' => :'Object',
|
|
268
|
+
:'import_private_key_intent' => :'Object'
|
|
253
269
|
}
|
|
254
270
|
end
|
|
255
271
|
|
|
@@ -263,13 +279,13 @@ module TurnkeyClient
|
|
|
263
279
|
# @param [Hash] attributes Model attributes in the form of hash
|
|
264
280
|
def initialize(attributes = {})
|
|
265
281
|
if (!attributes.is_a?(Hash))
|
|
266
|
-
fail ArgumentError, "The input argument (attributes) must be a hash in `TurnkeyClient::
|
|
282
|
+
fail ArgumentError, "The input argument (attributes) must be a hash in `TurnkeyClient::Intent` initialize method"
|
|
267
283
|
end
|
|
268
284
|
|
|
269
285
|
# check to see if the attribute exists and convert string to symbol for hash key
|
|
270
286
|
attributes = attributes.each_with_object({}) { |(k, v), h|
|
|
271
287
|
if (!self.class.attribute_map.key?(k.to_sym))
|
|
272
|
-
fail ArgumentError, "`#{k}` is not a valid attribute in `TurnkeyClient::
|
|
288
|
+
fail ArgumentError, "`#{k}` is not a valid attribute in `TurnkeyClient::Intent`. Please check the name to make sure it's valid. List of attributes: " + self.class.attribute_map.keys.inspect
|
|
273
289
|
end
|
|
274
290
|
h[k.to_sym] = v
|
|
275
291
|
}
|
|
@@ -501,6 +517,22 @@ module TurnkeyClient
|
|
|
501
517
|
if attributes.key?(:'export_wallet_account_intent')
|
|
502
518
|
self.export_wallet_account_intent = attributes[:'export_wallet_account_intent']
|
|
503
519
|
end
|
|
520
|
+
|
|
521
|
+
if attributes.key?(:'init_import_wallet_intent')
|
|
522
|
+
self.init_import_wallet_intent = attributes[:'init_import_wallet_intent']
|
|
523
|
+
end
|
|
524
|
+
|
|
525
|
+
if attributes.key?(:'import_wallet_intent')
|
|
526
|
+
self.import_wallet_intent = attributes[:'import_wallet_intent']
|
|
527
|
+
end
|
|
528
|
+
|
|
529
|
+
if attributes.key?(:'init_import_private_key_intent')
|
|
530
|
+
self.init_import_private_key_intent = attributes[:'init_import_private_key_intent']
|
|
531
|
+
end
|
|
532
|
+
|
|
533
|
+
if attributes.key?(:'import_private_key_intent')
|
|
534
|
+
self.import_private_key_intent = attributes[:'import_private_key_intent']
|
|
535
|
+
end
|
|
504
536
|
end
|
|
505
537
|
|
|
506
538
|
# Show invalid properties with the reasons. Usually used together with valid?
|
|
@@ -582,7 +614,11 @@ module TurnkeyClient
|
|
|
582
614
|
export_wallet_intent == o.export_wallet_intent &&
|
|
583
615
|
create_sub_organization_intent_v4 == o.create_sub_organization_intent_v4 &&
|
|
584
616
|
email_auth_intent == o.email_auth_intent &&
|
|
585
|
-
export_wallet_account_intent == o.export_wallet_account_intent
|
|
617
|
+
export_wallet_account_intent == o.export_wallet_account_intent &&
|
|
618
|
+
init_import_wallet_intent == o.init_import_wallet_intent &&
|
|
619
|
+
import_wallet_intent == o.import_wallet_intent &&
|
|
620
|
+
init_import_private_key_intent == o.init_import_private_key_intent &&
|
|
621
|
+
import_private_key_intent == o.import_private_key_intent
|
|
586
622
|
end
|
|
587
623
|
|
|
588
624
|
# @see the `==` method
|
|
@@ -594,7 +630,7 @@ module TurnkeyClient
|
|
|
594
630
|
# Calculates hash code according to all attributes.
|
|
595
631
|
# @return [Integer] Hash code
|
|
596
632
|
def hash
|
|
597
|
-
[create_organization_intent, create_authenticators_intent, create_users_intent, create_private_keys_intent, sign_raw_payload_intent, create_invitations_intent, accept_invitation_intent, create_policy_intent, disable_private_key_intent, delete_users_intent, delete_authenticators_intent, delete_invitation_intent, delete_organization_intent, delete_policy_intent, create_user_tag_intent, delete_user_tags_intent, sign_transaction_intent, create_api_keys_intent, delete_api_keys_intent, approve_activity_intent, reject_activity_intent, create_private_key_tag_intent, delete_private_key_tags_intent, create_policy_intent_v2, set_payment_method_intent, activate_billing_tier_intent, delete_payment_method_intent, create_policy_intent_v3, create_api_only_users_intent, update_root_quorum_intent, update_user_tag_intent, update_private_key_tag_intent, create_authenticators_intent_v2, accept_invitation_intent_v2, create_organization_intent_v2, create_users_intent_v2, create_sub_organization_intent, create_sub_organization_intent_v2, update_allowed_origins_intent, create_private_keys_intent_v2, update_user_intent, update_policy_intent, set_payment_method_intent_v2, create_sub_organization_intent_v3, create_wallet_intent, create_wallet_accounts_intent, init_user_email_recovery_intent, recover_user_intent, set_organization_feature_intent, remove_organization_feature_intent, sign_raw_payload_intent_v2, sign_transaction_intent_v2, export_private_key_intent, export_wallet_intent, create_sub_organization_intent_v4, email_auth_intent, export_wallet_account_intent].hash
|
|
633
|
+
[create_organization_intent, create_authenticators_intent, create_users_intent, create_private_keys_intent, sign_raw_payload_intent, create_invitations_intent, accept_invitation_intent, create_policy_intent, disable_private_key_intent, delete_users_intent, delete_authenticators_intent, delete_invitation_intent, delete_organization_intent, delete_policy_intent, create_user_tag_intent, delete_user_tags_intent, sign_transaction_intent, create_api_keys_intent, delete_api_keys_intent, approve_activity_intent, reject_activity_intent, create_private_key_tag_intent, delete_private_key_tags_intent, create_policy_intent_v2, set_payment_method_intent, activate_billing_tier_intent, delete_payment_method_intent, create_policy_intent_v3, create_api_only_users_intent, update_root_quorum_intent, update_user_tag_intent, update_private_key_tag_intent, create_authenticators_intent_v2, accept_invitation_intent_v2, create_organization_intent_v2, create_users_intent_v2, create_sub_organization_intent, create_sub_organization_intent_v2, update_allowed_origins_intent, create_private_keys_intent_v2, update_user_intent, update_policy_intent, set_payment_method_intent_v2, create_sub_organization_intent_v3, create_wallet_intent, create_wallet_accounts_intent, init_user_email_recovery_intent, recover_user_intent, set_organization_feature_intent, remove_organization_feature_intent, sign_raw_payload_intent_v2, sign_transaction_intent_v2, export_private_key_intent, export_wallet_intent, create_sub_organization_intent_v4, email_auth_intent, export_wallet_account_intent, init_import_wallet_intent, import_wallet_intent, init_import_private_key_intent, import_private_key_intent].hash
|
|
598
634
|
end
|
|
599
635
|
|
|
600
636
|
# Builds the object from hash
|
|
@@ -6,13 +6,13 @@
|
|
|
6
6
|
OpenAPI spec version: 1.0
|
|
7
7
|
|
|
8
8
|
Generated by: https://github.com/swagger-api/swagger-codegen.git
|
|
9
|
-
Swagger Codegen version: 3.0.
|
|
9
|
+
Swagger Codegen version: 3.0.54
|
|
10
10
|
=end
|
|
11
11
|
|
|
12
12
|
require 'date'
|
|
13
13
|
|
|
14
14
|
module TurnkeyClient
|
|
15
|
-
class
|
|
15
|
+
class InvitationParams
|
|
16
16
|
# The name of the intended Invitation recipient.
|
|
17
17
|
attr_accessor :receiver_user_name
|
|
18
18
|
|
|
@@ -59,13 +59,13 @@ module TurnkeyClient
|
|
|
59
59
|
# @param [Hash] attributes Model attributes in the form of hash
|
|
60
60
|
def initialize(attributes = {})
|
|
61
61
|
if (!attributes.is_a?(Hash))
|
|
62
|
-
fail ArgumentError, "The input argument (attributes) must be a hash in `TurnkeyClient::
|
|
62
|
+
fail ArgumentError, "The input argument (attributes) must be a hash in `TurnkeyClient::InvitationParams` initialize method"
|
|
63
63
|
end
|
|
64
64
|
|
|
65
65
|
# check to see if the attribute exists and convert string to symbol for hash key
|
|
66
66
|
attributes = attributes.each_with_object({}) { |(k, v), h|
|
|
67
67
|
if (!self.class.attribute_map.key?(k.to_sym))
|
|
68
|
-
fail ArgumentError, "`#{k}` is not a valid attribute in `TurnkeyClient::
|
|
68
|
+
fail ArgumentError, "`#{k}` is not a valid attribute in `TurnkeyClient::InvitationParams`. Please check the name to make sure it's valid. List of attributes: " + self.class.attribute_map.keys.inspect
|
|
69
69
|
end
|
|
70
70
|
h[k.to_sym] = v
|
|
71
71
|
}
|
|
@@ -0,0 +1,212 @@
|
|
|
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.54
|
|
10
|
+
=end
|
|
11
|
+
|
|
12
|
+
require 'date'
|
|
13
|
+
|
|
14
|
+
module TurnkeyClient
|
|
15
|
+
class ListPrivateKeyTagsRequest
|
|
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::ListPrivateKeyTagsRequest` 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::ListPrivateKeyTagsRequest`. 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
|
|
@@ -6,13 +6,13 @@
|
|
|
6
6
|
OpenAPI spec version: 1.0
|
|
7
7
|
|
|
8
8
|
Generated by: https://github.com/swagger-api/swagger-codegen.git
|
|
9
|
-
Swagger Codegen version: 3.0.
|
|
9
|
+
Swagger Codegen version: 3.0.54
|
|
10
10
|
=end
|
|
11
11
|
|
|
12
12
|
require 'date'
|
|
13
13
|
|
|
14
14
|
module TurnkeyClient
|
|
15
|
-
class
|
|
15
|
+
class ListPrivateKeyTagsResponse
|
|
16
16
|
# A list of Private Key Tags
|
|
17
17
|
attr_accessor :private_key_tags
|
|
18
18
|
|
|
@@ -40,13 +40,13 @@ module TurnkeyClient
|
|
|
40
40
|
# @param [Hash] attributes Model attributes in the form of hash
|
|
41
41
|
def initialize(attributes = {})
|
|
42
42
|
if (!attributes.is_a?(Hash))
|
|
43
|
-
fail ArgumentError, "The input argument (attributes) must be a hash in `TurnkeyClient::
|
|
43
|
+
fail ArgumentError, "The input argument (attributes) must be a hash in `TurnkeyClient::ListPrivateKeyTagsResponse` initialize method"
|
|
44
44
|
end
|
|
45
45
|
|
|
46
46
|
# check to see if the attribute exists and convert string to symbol for hash key
|
|
47
47
|
attributes = attributes.each_with_object({}) { |(k, v), h|
|
|
48
48
|
if (!self.class.attribute_map.key?(k.to_sym))
|
|
49
|
-
fail ArgumentError, "`#{k}` is not a valid attribute in `TurnkeyClient::
|
|
49
|
+
fail ArgumentError, "`#{k}` is not a valid attribute in `TurnkeyClient::ListPrivateKeyTagsResponse`. Please check the name to make sure it's valid. List of attributes: " + self.class.attribute_map.keys.inspect
|
|
50
50
|
end
|
|
51
51
|
h[k.to_sym] = v
|
|
52
52
|
}
|
|
@@ -6,13 +6,13 @@
|
|
|
6
6
|
OpenAPI spec version: 1.0
|
|
7
7
|
|
|
8
8
|
Generated by: https://github.com/swagger-api/swagger-codegen.git
|
|
9
|
-
Swagger Codegen version: 3.0.
|
|
9
|
+
Swagger Codegen version: 3.0.54
|
|
10
10
|
=end
|
|
11
11
|
|
|
12
12
|
require 'date'
|
|
13
13
|
|
|
14
14
|
module TurnkeyClient
|
|
15
|
-
class
|
|
15
|
+
class ListUserTagsRequest
|
|
16
16
|
# Unique identifier for a given Organization.
|
|
17
17
|
attr_accessor :organization_id
|
|
18
18
|
|
|
@@ -40,13 +40,13 @@ module TurnkeyClient
|
|
|
40
40
|
# @param [Hash] attributes Model attributes in the form of hash
|
|
41
41
|
def initialize(attributes = {})
|
|
42
42
|
if (!attributes.is_a?(Hash))
|
|
43
|
-
fail ArgumentError, "The input argument (attributes) must be a hash in `TurnkeyClient::
|
|
43
|
+
fail ArgumentError, "The input argument (attributes) must be a hash in `TurnkeyClient::ListUserTagsRequest` initialize method"
|
|
44
44
|
end
|
|
45
45
|
|
|
46
46
|
# check to see if the attribute exists and convert string to symbol for hash key
|
|
47
47
|
attributes = attributes.each_with_object({}) { |(k, v), h|
|
|
48
48
|
if (!self.class.attribute_map.key?(k.to_sym))
|
|
49
|
-
fail ArgumentError, "`#{k}` is not a valid attribute in `TurnkeyClient::
|
|
49
|
+
fail ArgumentError, "`#{k}` is not a valid attribute in `TurnkeyClient::ListUserTagsRequest`. Please check the name to make sure it's valid. List of attributes: " + self.class.attribute_map.keys.inspect
|
|
50
50
|
end
|
|
51
51
|
h[k.to_sym] = v
|
|
52
52
|
}
|
|
@@ -6,13 +6,13 @@
|
|
|
6
6
|
OpenAPI spec version: 1.0
|
|
7
7
|
|
|
8
8
|
Generated by: https://github.com/swagger-api/swagger-codegen.git
|
|
9
|
-
Swagger Codegen version: 3.0.
|
|
9
|
+
Swagger Codegen version: 3.0.54
|
|
10
10
|
=end
|
|
11
11
|
|
|
12
12
|
require 'date'
|
|
13
13
|
|
|
14
14
|
module TurnkeyClient
|
|
15
|
-
class
|
|
15
|
+
class ListUserTagsResponse
|
|
16
16
|
# A list of User Tags
|
|
17
17
|
attr_accessor :user_tags
|
|
18
18
|
|
|
@@ -40,13 +40,13 @@ module TurnkeyClient
|
|
|
40
40
|
# @param [Hash] attributes Model attributes in the form of hash
|
|
41
41
|
def initialize(attributes = {})
|
|
42
42
|
if (!attributes.is_a?(Hash))
|
|
43
|
-
fail ArgumentError, "The input argument (attributes) must be a hash in `TurnkeyClient::
|
|
43
|
+
fail ArgumentError, "The input argument (attributes) must be a hash in `TurnkeyClient::ListUserTagsResponse` initialize method"
|
|
44
44
|
end
|
|
45
45
|
|
|
46
46
|
# check to see if the attribute exists and convert string to symbol for hash key
|
|
47
47
|
attributes = attributes.each_with_object({}) { |(k, v), h|
|
|
48
48
|
if (!self.class.attribute_map.key?(k.to_sym))
|
|
49
|
-
fail ArgumentError, "`#{k}` is not a valid attribute in `TurnkeyClient::
|
|
49
|
+
fail ArgumentError, "`#{k}` is not a valid attribute in `TurnkeyClient::ListUserTagsResponse`. Please check the name to make sure it's valid. List of attributes: " + self.class.attribute_map.keys.inspect
|
|
50
50
|
end
|
|
51
51
|
h[k.to_sym] = v
|
|
52
52
|
}
|
|
@@ -6,13 +6,13 @@
|
|
|
6
6
|
OpenAPI spec version: 1.0
|
|
7
7
|
|
|
8
8
|
Generated by: https://github.com/swagger-api/swagger-codegen.git
|
|
9
|
-
Swagger Codegen version: 3.0.
|
|
9
|
+
Swagger Codegen version: 3.0.54
|
|
10
10
|
=end
|
|
11
11
|
|
|
12
12
|
require 'date'
|
|
13
13
|
|
|
14
14
|
module TurnkeyClient
|
|
15
|
-
class
|
|
15
|
+
class MnemonicLanguage
|
|
16
16
|
ENGLISH = 'MNEMONIC_LANGUAGE_ENGLISH'.freeze
|
|
17
17
|
SIMPLIFIED_CHINESE = 'MNEMONIC_LANGUAGE_SIMPLIFIED_CHINESE'.freeze
|
|
18
18
|
TRADITIONAL_CHINESE = 'MNEMONIC_LANGUAGE_TRADITIONAL_CHINESE'.freeze
|
|
@@ -27,8 +27,8 @@ module TurnkeyClient
|
|
|
27
27
|
# @param [String] The enum value in the form of the string
|
|
28
28
|
# @return [String] The enum value
|
|
29
29
|
def build_from_hash(value)
|
|
30
|
-
constantValues =
|
|
31
|
-
raise "Invalid ENUM value #{value} for class #
|
|
30
|
+
constantValues = MnemonicLanguage.constants.select { |c| MnemonicLanguage::const_get(c) == value }
|
|
31
|
+
raise "Invalid ENUM value #{value} for class #MnemonicLanguage" if constantValues.empty?
|
|
32
32
|
value
|
|
33
33
|
end
|
|
34
34
|
end
|