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
data/lib/turnkey_client/models/{v1_create_private_keys_intent.rb → create_private_keys_intent_v2.rb}
RENAMED
|
@@ -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 CreatePrivateKeysIntentV2
|
|
16
16
|
# A list of Private Keys.
|
|
17
17
|
attr_accessor :private_keys
|
|
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::CreatePrivateKeysIntentV2` 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::CreatePrivateKeysIntentV2`. 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
|
}
|
data/lib/turnkey_client/models/{v1_sign_transaction_request.rb → create_private_keys_request.rb}
RENAMED
|
@@ -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 CreatePrivateKeysRequest
|
|
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::CreatePrivateKeysRequest` 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::CreatePrivateKeysRequest`. 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_CREATE_PRIVATE_KEYS_V2'])
|
|
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_CREATE_PRIVATE_KEYS_V2'])
|
|
145
145
|
unless validator.valid?(type)
|
|
146
146
|
fail ArgumentError, "invalid value for \"type\", must be one of #{validator.allowable_values}."
|
|
147
147
|
end
|
data/lib/turnkey_client/models/{v1_create_private_keys_result.rb → create_private_keys_result.rb}
RENAMED
|
@@ -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 CreatePrivateKeysResult
|
|
16
16
|
# A list of Private Key IDs.
|
|
17
17
|
attr_accessor :private_key_ids
|
|
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::CreatePrivateKeysResult` 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::CreatePrivateKeysResult`. 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 CreatePrivateKeysResultV2
|
|
16
16
|
# A list of Private Key IDs and addresses.
|
|
17
17
|
attr_accessor :private_keys
|
|
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::CreatePrivateKeysResultV2` 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::CreatePrivateKeysResultV2`. 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 CreateSubOrganizationIntent
|
|
16
16
|
# Name for this sub-organization
|
|
17
17
|
attr_accessor :name
|
|
18
18
|
|
|
@@ -44,13 +44,13 @@ module TurnkeyClient
|
|
|
44
44
|
# @param [Hash] attributes Model attributes in the form of hash
|
|
45
45
|
def initialize(attributes = {})
|
|
46
46
|
if (!attributes.is_a?(Hash))
|
|
47
|
-
fail ArgumentError, "The input argument (attributes) must be a hash in `TurnkeyClient::
|
|
47
|
+
fail ArgumentError, "The input argument (attributes) must be a hash in `TurnkeyClient::CreateSubOrganizationIntent` initialize method"
|
|
48
48
|
end
|
|
49
49
|
|
|
50
50
|
# check to see if the attribute exists and convert string to symbol for hash key
|
|
51
51
|
attributes = attributes.each_with_object({}) { |(k, v), h|
|
|
52
52
|
if (!self.class.attribute_map.key?(k.to_sym))
|
|
53
|
-
fail ArgumentError, "`#{k}` is not a valid attribute in `TurnkeyClient::
|
|
53
|
+
fail ArgumentError, "`#{k}` is not a valid attribute in `TurnkeyClient::CreateSubOrganizationIntent`. Please check the name to make sure it's valid. List of attributes: " + self.class.attribute_map.keys.inspect
|
|
54
54
|
end
|
|
55
55
|
h[k.to_sym] = v
|
|
56
56
|
}
|
|
@@ -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 CreateSubOrganizationIntentV2
|
|
16
16
|
# Name for this sub-organization
|
|
17
17
|
attr_accessor :sub_organization_name
|
|
18
18
|
|
|
@@ -50,13 +50,13 @@ module TurnkeyClient
|
|
|
50
50
|
# @param [Hash] attributes Model attributes in the form of hash
|
|
51
51
|
def initialize(attributes = {})
|
|
52
52
|
if (!attributes.is_a?(Hash))
|
|
53
|
-
fail ArgumentError, "The input argument (attributes) must be a hash in `TurnkeyClient::
|
|
53
|
+
fail ArgumentError, "The input argument (attributes) must be a hash in `TurnkeyClient::CreateSubOrganizationIntentV2` initialize method"
|
|
54
54
|
end
|
|
55
55
|
|
|
56
56
|
# check to see if the attribute exists and convert string to symbol for hash key
|
|
57
57
|
attributes = attributes.each_with_object({}) { |(k, v), h|
|
|
58
58
|
if (!self.class.attribute_map.key?(k.to_sym))
|
|
59
|
-
fail ArgumentError, "`#{k}` is not a valid attribute in `TurnkeyClient::
|
|
59
|
+
fail ArgumentError, "`#{k}` is not a valid attribute in `TurnkeyClient::CreateSubOrganizationIntentV2`. Please check the name to make sure it's valid. List of attributes: " + self.class.attribute_map.keys.inspect
|
|
60
60
|
end
|
|
61
61
|
h[k.to_sym] = v
|
|
62
62
|
}
|
|
@@ -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 CreateSubOrganizationIntentV3
|
|
16
16
|
# Name for this sub-organization
|
|
17
17
|
attr_accessor :sub_organization_name
|
|
18
18
|
|
|
@@ -55,13 +55,13 @@ module TurnkeyClient
|
|
|
55
55
|
# @param [Hash] attributes Model attributes in the form of hash
|
|
56
56
|
def initialize(attributes = {})
|
|
57
57
|
if (!attributes.is_a?(Hash))
|
|
58
|
-
fail ArgumentError, "The input argument (attributes) must be a hash in `TurnkeyClient::
|
|
58
|
+
fail ArgumentError, "The input argument (attributes) must be a hash in `TurnkeyClient::CreateSubOrganizationIntentV3` initialize method"
|
|
59
59
|
end
|
|
60
60
|
|
|
61
61
|
# check to see if the attribute exists and convert string to symbol for hash key
|
|
62
62
|
attributes = attributes.each_with_object({}) { |(k, v), h|
|
|
63
63
|
if (!self.class.attribute_map.key?(k.to_sym))
|
|
64
|
-
fail ArgumentError, "`#{k}` is not a valid attribute in `TurnkeyClient::
|
|
64
|
+
fail ArgumentError, "`#{k}` is not a valid attribute in `TurnkeyClient::CreateSubOrganizationIntentV3`. Please check the name to make sure it's valid. List of attributes: " + self.class.attribute_map.keys.inspect
|
|
65
65
|
end
|
|
66
66
|
h[k.to_sym] = v
|
|
67
67
|
}
|
|
@@ -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 CreateSubOrganizationIntentV4
|
|
16
16
|
# Name for this sub-organization
|
|
17
17
|
attr_accessor :sub_organization_name
|
|
18
18
|
|
|
@@ -64,13 +64,13 @@ module TurnkeyClient
|
|
|
64
64
|
# @param [Hash] attributes Model attributes in the form of hash
|
|
65
65
|
def initialize(attributes = {})
|
|
66
66
|
if (!attributes.is_a?(Hash))
|
|
67
|
-
fail ArgumentError, "The input argument (attributes) must be a hash in `TurnkeyClient::
|
|
67
|
+
fail ArgumentError, "The input argument (attributes) must be a hash in `TurnkeyClient::CreateSubOrganizationIntentV4` initialize method"
|
|
68
68
|
end
|
|
69
69
|
|
|
70
70
|
# check to see if the attribute exists and convert string to symbol for hash key
|
|
71
71
|
attributes = attributes.each_with_object({}) { |(k, v), h|
|
|
72
72
|
if (!self.class.attribute_map.key?(k.to_sym))
|
|
73
|
-
fail ArgumentError, "`#{k}` is not a valid attribute in `TurnkeyClient::
|
|
73
|
+
fail ArgumentError, "`#{k}` is not a valid attribute in `TurnkeyClient::CreateSubOrganizationIntentV4`. Please check the name to make sure it's valid. List of attributes: " + self.class.attribute_map.keys.inspect
|
|
74
74
|
end
|
|
75
75
|
h[k.to_sym] = v
|
|
76
76
|
}
|
|
@@ -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 CreateSubOrganizationRequest
|
|
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::CreateSubOrganizationRequest` 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::CreateSubOrganizationRequest`. 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_CREATE_SUB_ORGANIZATION_V4'])
|
|
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_CREATE_SUB_ORGANIZATION_V4'])
|
|
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,22 +6,22 @@
|
|
|
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 CreateSubOrganizationResult
|
|
16
16
|
attr_accessor :sub_organization_id
|
|
17
17
|
|
|
18
|
-
attr_accessor :
|
|
18
|
+
attr_accessor :root_user_ids
|
|
19
19
|
|
|
20
20
|
# Attribute mapping from ruby-style variable name to JSON key.
|
|
21
21
|
def self.attribute_map
|
|
22
22
|
{
|
|
23
23
|
:'sub_organization_id' => :'subOrganizationId',
|
|
24
|
-
:'
|
|
24
|
+
:'root_user_ids' => :'rootUserIds'
|
|
25
25
|
}
|
|
26
26
|
end
|
|
27
27
|
|
|
@@ -29,7 +29,7 @@ module TurnkeyClient
|
|
|
29
29
|
def self.openapi_types
|
|
30
30
|
{
|
|
31
31
|
:'sub_organization_id' => :'Object',
|
|
32
|
-
:'
|
|
32
|
+
:'root_user_ids' => :'Object'
|
|
33
33
|
}
|
|
34
34
|
end
|
|
35
35
|
|
|
@@ -43,13 +43,13 @@ module TurnkeyClient
|
|
|
43
43
|
# @param [Hash] attributes Model attributes in the form of hash
|
|
44
44
|
def initialize(attributes = {})
|
|
45
45
|
if (!attributes.is_a?(Hash))
|
|
46
|
-
fail ArgumentError, "The input argument (attributes) must be a hash in `TurnkeyClient::
|
|
46
|
+
fail ArgumentError, "The input argument (attributes) must be a hash in `TurnkeyClient::CreateSubOrganizationResult` initialize method"
|
|
47
47
|
end
|
|
48
48
|
|
|
49
49
|
# check to see if the attribute exists and convert string to symbol for hash key
|
|
50
50
|
attributes = attributes.each_with_object({}) { |(k, v), h|
|
|
51
51
|
if (!self.class.attribute_map.key?(k.to_sym))
|
|
52
|
-
fail ArgumentError, "`#{k}` is not a valid attribute in `TurnkeyClient::
|
|
52
|
+
fail ArgumentError, "`#{k}` is not a valid attribute in `TurnkeyClient::CreateSubOrganizationResult`. Please check the name to make sure it's valid. List of attributes: " + self.class.attribute_map.keys.inspect
|
|
53
53
|
end
|
|
54
54
|
h[k.to_sym] = v
|
|
55
55
|
}
|
|
@@ -58,8 +58,10 @@ module TurnkeyClient
|
|
|
58
58
|
self.sub_organization_id = attributes[:'sub_organization_id']
|
|
59
59
|
end
|
|
60
60
|
|
|
61
|
-
if attributes.key?(:'
|
|
62
|
-
|
|
61
|
+
if attributes.key?(:'root_user_ids')
|
|
62
|
+
if (value = attributes[:'root_user_ids']).is_a?(Array)
|
|
63
|
+
self.root_user_ids = value
|
|
64
|
+
end
|
|
63
65
|
end
|
|
64
66
|
end
|
|
65
67
|
|
|
@@ -87,7 +89,7 @@ module TurnkeyClient
|
|
|
87
89
|
return true if self.equal?(o)
|
|
88
90
|
self.class == o.class &&
|
|
89
91
|
sub_organization_id == o.sub_organization_id &&
|
|
90
|
-
|
|
92
|
+
root_user_ids == o.root_user_ids
|
|
91
93
|
end
|
|
92
94
|
|
|
93
95
|
# @see the `==` method
|
|
@@ -99,7 +101,7 @@ module TurnkeyClient
|
|
|
99
101
|
# Calculates hash code according to all attributes.
|
|
100
102
|
# @return [Integer] Hash code
|
|
101
103
|
def hash
|
|
102
|
-
[sub_organization_id,
|
|
104
|
+
[sub_organization_id, root_user_ids].hash
|
|
103
105
|
end
|
|
104
106
|
|
|
105
107
|
# Builds the object from hash
|
|
@@ -6,23 +6,26 @@
|
|
|
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 CreateSubOrganizationResultV3
|
|
16
16
|
attr_accessor :sub_organization_id
|
|
17
17
|
|
|
18
18
|
# A list of Private Key IDs and addresses.
|
|
19
19
|
attr_accessor :private_keys
|
|
20
20
|
|
|
21
|
+
attr_accessor :root_user_ids
|
|
22
|
+
|
|
21
23
|
# Attribute mapping from ruby-style variable name to JSON key.
|
|
22
24
|
def self.attribute_map
|
|
23
25
|
{
|
|
24
26
|
:'sub_organization_id' => :'subOrganizationId',
|
|
25
|
-
:'private_keys' => :'privateKeys'
|
|
27
|
+
:'private_keys' => :'privateKeys',
|
|
28
|
+
:'root_user_ids' => :'rootUserIds'
|
|
26
29
|
}
|
|
27
30
|
end
|
|
28
31
|
|
|
@@ -30,7 +33,8 @@ module TurnkeyClient
|
|
|
30
33
|
def self.openapi_types
|
|
31
34
|
{
|
|
32
35
|
:'sub_organization_id' => :'Object',
|
|
33
|
-
:'private_keys' => :'Object'
|
|
36
|
+
:'private_keys' => :'Object',
|
|
37
|
+
:'root_user_ids' => :'Object'
|
|
34
38
|
}
|
|
35
39
|
end
|
|
36
40
|
|
|
@@ -44,13 +48,13 @@ module TurnkeyClient
|
|
|
44
48
|
# @param [Hash] attributes Model attributes in the form of hash
|
|
45
49
|
def initialize(attributes = {})
|
|
46
50
|
if (!attributes.is_a?(Hash))
|
|
47
|
-
fail ArgumentError, "The input argument (attributes) must be a hash in `TurnkeyClient::
|
|
51
|
+
fail ArgumentError, "The input argument (attributes) must be a hash in `TurnkeyClient::CreateSubOrganizationResultV3` initialize method"
|
|
48
52
|
end
|
|
49
53
|
|
|
50
54
|
# check to see if the attribute exists and convert string to symbol for hash key
|
|
51
55
|
attributes = attributes.each_with_object({}) { |(k, v), h|
|
|
52
56
|
if (!self.class.attribute_map.key?(k.to_sym))
|
|
53
|
-
fail ArgumentError, "`#{k}` is not a valid attribute in `TurnkeyClient::
|
|
57
|
+
fail ArgumentError, "`#{k}` is not a valid attribute in `TurnkeyClient::CreateSubOrganizationResultV3`. Please check the name to make sure it's valid. List of attributes: " + self.class.attribute_map.keys.inspect
|
|
54
58
|
end
|
|
55
59
|
h[k.to_sym] = v
|
|
56
60
|
}
|
|
@@ -64,6 +68,12 @@ module TurnkeyClient
|
|
|
64
68
|
self.private_keys = value
|
|
65
69
|
end
|
|
66
70
|
end
|
|
71
|
+
|
|
72
|
+
if attributes.key?(:'root_user_ids')
|
|
73
|
+
if (value = attributes[:'root_user_ids']).is_a?(Array)
|
|
74
|
+
self.root_user_ids = value
|
|
75
|
+
end
|
|
76
|
+
end
|
|
67
77
|
end
|
|
68
78
|
|
|
69
79
|
# Show invalid properties with the reasons. Usually used together with valid?
|
|
@@ -95,7 +105,8 @@ module TurnkeyClient
|
|
|
95
105
|
return true if self.equal?(o)
|
|
96
106
|
self.class == o.class &&
|
|
97
107
|
sub_organization_id == o.sub_organization_id &&
|
|
98
|
-
private_keys == o.private_keys
|
|
108
|
+
private_keys == o.private_keys &&
|
|
109
|
+
root_user_ids == o.root_user_ids
|
|
99
110
|
end
|
|
100
111
|
|
|
101
112
|
# @see the `==` method
|
|
@@ -107,7 +118,7 @@ module TurnkeyClient
|
|
|
107
118
|
# Calculates hash code according to all attributes.
|
|
108
119
|
# @return [Integer] Hash code
|
|
109
120
|
def hash
|
|
110
|
-
[sub_organization_id, private_keys].hash
|
|
121
|
+
[sub_organization_id, private_keys, root_user_ids].hash
|
|
111
122
|
end
|
|
112
123
|
|
|
113
124
|
# Builds the object from hash
|
|
@@ -6,26 +6,34 @@
|
|
|
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 CreateSubOrganizationResultV4
|
|
16
16
|
attr_accessor :sub_organization_id
|
|
17
17
|
|
|
18
|
+
attr_accessor :wallet
|
|
19
|
+
|
|
20
|
+
attr_accessor :root_user_ids
|
|
21
|
+
|
|
18
22
|
# Attribute mapping from ruby-style variable name to JSON key.
|
|
19
23
|
def self.attribute_map
|
|
20
24
|
{
|
|
21
|
-
:'sub_organization_id' => :'subOrganizationId'
|
|
25
|
+
:'sub_organization_id' => :'subOrganizationId',
|
|
26
|
+
:'wallet' => :'wallet',
|
|
27
|
+
:'root_user_ids' => :'rootUserIds'
|
|
22
28
|
}
|
|
23
29
|
end
|
|
24
30
|
|
|
25
31
|
# Attribute type mapping.
|
|
26
32
|
def self.openapi_types
|
|
27
33
|
{
|
|
28
|
-
:'sub_organization_id' => :'Object'
|
|
34
|
+
:'sub_organization_id' => :'Object',
|
|
35
|
+
:'wallet' => :'Object',
|
|
36
|
+
:'root_user_ids' => :'Object'
|
|
29
37
|
}
|
|
30
38
|
end
|
|
31
39
|
|
|
@@ -39,13 +47,13 @@ module TurnkeyClient
|
|
|
39
47
|
# @param [Hash] attributes Model attributes in the form of hash
|
|
40
48
|
def initialize(attributes = {})
|
|
41
49
|
if (!attributes.is_a?(Hash))
|
|
42
|
-
fail ArgumentError, "The input argument (attributes) must be a hash in `TurnkeyClient::
|
|
50
|
+
fail ArgumentError, "The input argument (attributes) must be a hash in `TurnkeyClient::CreateSubOrganizationResultV4` initialize method"
|
|
43
51
|
end
|
|
44
52
|
|
|
45
53
|
# check to see if the attribute exists and convert string to symbol for hash key
|
|
46
54
|
attributes = attributes.each_with_object({}) { |(k, v), h|
|
|
47
55
|
if (!self.class.attribute_map.key?(k.to_sym))
|
|
48
|
-
fail ArgumentError, "`#{k}` is not a valid attribute in `TurnkeyClient::
|
|
56
|
+
fail ArgumentError, "`#{k}` is not a valid attribute in `TurnkeyClient::CreateSubOrganizationResultV4`. Please check the name to make sure it's valid. List of attributes: " + self.class.attribute_map.keys.inspect
|
|
49
57
|
end
|
|
50
58
|
h[k.to_sym] = v
|
|
51
59
|
}
|
|
@@ -53,6 +61,16 @@ module TurnkeyClient
|
|
|
53
61
|
if attributes.key?(:'sub_organization_id')
|
|
54
62
|
self.sub_organization_id = attributes[:'sub_organization_id']
|
|
55
63
|
end
|
|
64
|
+
|
|
65
|
+
if attributes.key?(:'wallet')
|
|
66
|
+
self.wallet = attributes[:'wallet']
|
|
67
|
+
end
|
|
68
|
+
|
|
69
|
+
if attributes.key?(:'root_user_ids')
|
|
70
|
+
if (value = attributes[:'root_user_ids']).is_a?(Array)
|
|
71
|
+
self.root_user_ids = value
|
|
72
|
+
end
|
|
73
|
+
end
|
|
56
74
|
end
|
|
57
75
|
|
|
58
76
|
# Show invalid properties with the reasons. Usually used together with valid?
|
|
@@ -78,7 +96,9 @@ module TurnkeyClient
|
|
|
78
96
|
def ==(o)
|
|
79
97
|
return true if self.equal?(o)
|
|
80
98
|
self.class == o.class &&
|
|
81
|
-
sub_organization_id == o.sub_organization_id
|
|
99
|
+
sub_organization_id == o.sub_organization_id &&
|
|
100
|
+
wallet == o.wallet &&
|
|
101
|
+
root_user_ids == o.root_user_ids
|
|
82
102
|
end
|
|
83
103
|
|
|
84
104
|
# @see the `==` method
|
|
@@ -90,7 +110,7 @@ module TurnkeyClient
|
|
|
90
110
|
# Calculates hash code according to all attributes.
|
|
91
111
|
# @return [Integer] Hash code
|
|
92
112
|
def hash
|
|
93
|
-
[sub_organization_id].hash
|
|
113
|
+
[sub_organization_id, wallet, root_user_ids].hash
|
|
94
114
|
end
|
|
95
115
|
|
|
96
116
|
# 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 CreateUserTagIntent
|
|
16
16
|
# Human-readable name for a User Tag.
|
|
17
17
|
attr_accessor :user_tag_name
|
|
18
18
|
|
|
@@ -45,13 +45,13 @@ module TurnkeyClient
|
|
|
45
45
|
# @param [Hash] attributes Model attributes in the form of hash
|
|
46
46
|
def initialize(attributes = {})
|
|
47
47
|
if (!attributes.is_a?(Hash))
|
|
48
|
-
fail ArgumentError, "The input argument (attributes) must be a hash in `TurnkeyClient::
|
|
48
|
+
fail ArgumentError, "The input argument (attributes) must be a hash in `TurnkeyClient::CreateUserTagIntent` initialize method"
|
|
49
49
|
end
|
|
50
50
|
|
|
51
51
|
# check to see if the attribute exists and convert string to symbol for hash key
|
|
52
52
|
attributes = attributes.each_with_object({}) { |(k, v), h|
|
|
53
53
|
if (!self.class.attribute_map.key?(k.to_sym))
|
|
54
|
-
fail ArgumentError, "`#{k}` is not a valid attribute in `TurnkeyClient::
|
|
54
|
+
fail ArgumentError, "`#{k}` is not a valid attribute in `TurnkeyClient::CreateUserTagIntent`. Please check the name to make sure it's valid. List of attributes: " + self.class.attribute_map.keys.inspect
|
|
55
55
|
end
|
|
56
56
|
h[k.to_sym] = v
|
|
57
57
|
}
|