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,7 +6,7 @@
|
|
|
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
|
module TurnkeyClient
|
|
@@ -20,7 +20,7 @@ module TurnkeyClient
|
|
|
20
20
|
# Create a Wallet and derive addresses
|
|
21
21
|
# @param body
|
|
22
22
|
# @param [Hash] opts the optional parameters
|
|
23
|
-
# @return [
|
|
23
|
+
# @return [ActivityResponse]
|
|
24
24
|
def create_wallet(body, opts = {})
|
|
25
25
|
data, _status_code, _headers = create_wallet_with_http_info(body, opts)
|
|
26
26
|
data
|
|
@@ -30,7 +30,7 @@ module TurnkeyClient
|
|
|
30
30
|
# Create a Wallet and derive addresses
|
|
31
31
|
# @param body
|
|
32
32
|
# @param [Hash] opts the optional parameters
|
|
33
|
-
# @return [Array<(
|
|
33
|
+
# @return [Array<(ActivityResponse, Integer, Hash)>] ActivityResponse data, response status code and response headers
|
|
34
34
|
def create_wallet_with_http_info(body, opts = {})
|
|
35
35
|
if @api_client.config.debugging
|
|
36
36
|
@api_client.config.logger.debug 'Calling API: WalletsApi.create_wallet ...'
|
|
@@ -58,7 +58,7 @@ module TurnkeyClient
|
|
|
58
58
|
# http body (model)
|
|
59
59
|
post_body = opts[:body] || @api_client.object_to_http_body(body)
|
|
60
60
|
|
|
61
|
-
return_type = opts[:return_type] || '
|
|
61
|
+
return_type = opts[:return_type] || 'ActivityResponse'
|
|
62
62
|
|
|
63
63
|
auth_names = opts[:auth_names] || ['ApiKeyAuth', 'AuthenticatorAuth']
|
|
64
64
|
data, status_code, headers = @api_client.call_api(:POST, local_var_path,
|
|
@@ -78,7 +78,7 @@ module TurnkeyClient
|
|
|
78
78
|
# Derive additional addresses using an existing wallet
|
|
79
79
|
# @param body
|
|
80
80
|
# @param [Hash] opts the optional parameters
|
|
81
|
-
# @return [
|
|
81
|
+
# @return [ActivityResponse]
|
|
82
82
|
def create_wallet_accounts(body, opts = {})
|
|
83
83
|
data, _status_code, _headers = create_wallet_accounts_with_http_info(body, opts)
|
|
84
84
|
data
|
|
@@ -88,7 +88,7 @@ module TurnkeyClient
|
|
|
88
88
|
# Derive additional addresses using an existing wallet
|
|
89
89
|
# @param body
|
|
90
90
|
# @param [Hash] opts the optional parameters
|
|
91
|
-
# @return [Array<(
|
|
91
|
+
# @return [Array<(ActivityResponse, Integer, Hash)>] ActivityResponse data, response status code and response headers
|
|
92
92
|
def create_wallet_accounts_with_http_info(body, opts = {})
|
|
93
93
|
if @api_client.config.debugging
|
|
94
94
|
@api_client.config.logger.debug 'Calling API: WalletsApi.create_wallet_accounts ...'
|
|
@@ -116,7 +116,7 @@ module TurnkeyClient
|
|
|
116
116
|
# http body (model)
|
|
117
117
|
post_body = opts[:body] || @api_client.object_to_http_body(body)
|
|
118
118
|
|
|
119
|
-
return_type = opts[:return_type] || '
|
|
119
|
+
return_type = opts[:return_type] || 'ActivityResponse'
|
|
120
120
|
|
|
121
121
|
auth_names = opts[:auth_names] || ['ApiKeyAuth', 'AuthenticatorAuth']
|
|
122
122
|
data, status_code, headers = @api_client.call_api(:POST, local_var_path,
|
|
@@ -136,7 +136,7 @@ module TurnkeyClient
|
|
|
136
136
|
# Exports a Wallet
|
|
137
137
|
# @param body
|
|
138
138
|
# @param [Hash] opts the optional parameters
|
|
139
|
-
# @return [
|
|
139
|
+
# @return [ActivityResponse]
|
|
140
140
|
def export_wallet(body, opts = {})
|
|
141
141
|
data, _status_code, _headers = export_wallet_with_http_info(body, opts)
|
|
142
142
|
data
|
|
@@ -146,7 +146,7 @@ module TurnkeyClient
|
|
|
146
146
|
# Exports a Wallet
|
|
147
147
|
# @param body
|
|
148
148
|
# @param [Hash] opts the optional parameters
|
|
149
|
-
# @return [Array<(
|
|
149
|
+
# @return [Array<(ActivityResponse, Integer, Hash)>] ActivityResponse data, response status code and response headers
|
|
150
150
|
def export_wallet_with_http_info(body, opts = {})
|
|
151
151
|
if @api_client.config.debugging
|
|
152
152
|
@api_client.config.logger.debug 'Calling API: WalletsApi.export_wallet ...'
|
|
@@ -174,7 +174,7 @@ module TurnkeyClient
|
|
|
174
174
|
# http body (model)
|
|
175
175
|
post_body = opts[:body] || @api_client.object_to_http_body(body)
|
|
176
176
|
|
|
177
|
-
return_type = opts[:return_type] || '
|
|
177
|
+
return_type = opts[:return_type] || 'ActivityResponse'
|
|
178
178
|
|
|
179
179
|
auth_names = opts[:auth_names] || ['ApiKeyAuth', 'AuthenticatorAuth']
|
|
180
180
|
data, status_code, headers = @api_client.call_api(:POST, local_var_path,
|
|
@@ -194,7 +194,7 @@ module TurnkeyClient
|
|
|
194
194
|
# Exports a Wallet Account
|
|
195
195
|
# @param body
|
|
196
196
|
# @param [Hash] opts the optional parameters
|
|
197
|
-
# @return [
|
|
197
|
+
# @return [ActivityResponse]
|
|
198
198
|
def export_wallet_account(body, opts = {})
|
|
199
199
|
data, _status_code, _headers = export_wallet_account_with_http_info(body, opts)
|
|
200
200
|
data
|
|
@@ -204,7 +204,7 @@ module TurnkeyClient
|
|
|
204
204
|
# Exports a Wallet Account
|
|
205
205
|
# @param body
|
|
206
206
|
# @param [Hash] opts the optional parameters
|
|
207
|
-
# @return [Array<(
|
|
207
|
+
# @return [Array<(ActivityResponse, Integer, Hash)>] ActivityResponse data, response status code and response headers
|
|
208
208
|
def export_wallet_account_with_http_info(body, opts = {})
|
|
209
209
|
if @api_client.config.debugging
|
|
210
210
|
@api_client.config.logger.debug 'Calling API: WalletsApi.export_wallet_account ...'
|
|
@@ -232,7 +232,7 @@ module TurnkeyClient
|
|
|
232
232
|
# http body (model)
|
|
233
233
|
post_body = opts[:body] || @api_client.object_to_http_body(body)
|
|
234
234
|
|
|
235
|
-
return_type = opts[:return_type] || '
|
|
235
|
+
return_type = opts[:return_type] || 'ActivityResponse'
|
|
236
236
|
|
|
237
237
|
auth_names = opts[:auth_names] || ['ApiKeyAuth', 'AuthenticatorAuth']
|
|
238
238
|
data, status_code, headers = @api_client.call_api(:POST, local_var_path,
|
|
@@ -252,7 +252,7 @@ module TurnkeyClient
|
|
|
252
252
|
# Get details about a Wallet
|
|
253
253
|
# @param body
|
|
254
254
|
# @param [Hash] opts the optional parameters
|
|
255
|
-
# @return [
|
|
255
|
+
# @return [GetWalletResponse]
|
|
256
256
|
def get_wallet(body, opts = {})
|
|
257
257
|
data, _status_code, _headers = get_wallet_with_http_info(body, opts)
|
|
258
258
|
data
|
|
@@ -262,7 +262,7 @@ module TurnkeyClient
|
|
|
262
262
|
# Get details about a Wallet
|
|
263
263
|
# @param body
|
|
264
264
|
# @param [Hash] opts the optional parameters
|
|
265
|
-
# @return [Array<(
|
|
265
|
+
# @return [Array<(GetWalletResponse, Integer, Hash)>] GetWalletResponse data, response status code and response headers
|
|
266
266
|
def get_wallet_with_http_info(body, opts = {})
|
|
267
267
|
if @api_client.config.debugging
|
|
268
268
|
@api_client.config.logger.debug 'Calling API: WalletsApi.get_wallet ...'
|
|
@@ -290,7 +290,7 @@ module TurnkeyClient
|
|
|
290
290
|
# http body (model)
|
|
291
291
|
post_body = opts[:body] || @api_client.object_to_http_body(body)
|
|
292
292
|
|
|
293
|
-
return_type = opts[:return_type] || '
|
|
293
|
+
return_type = opts[:return_type] || 'GetWalletResponse'
|
|
294
294
|
|
|
295
295
|
auth_names = opts[:auth_names] || ['ApiKeyAuth', 'AuthenticatorAuth']
|
|
296
296
|
data, status_code, headers = @api_client.call_api(:POST, local_var_path,
|
|
@@ -310,7 +310,7 @@ module TurnkeyClient
|
|
|
310
310
|
# List all Accounts wirhin a Wallet
|
|
311
311
|
# @param body
|
|
312
312
|
# @param [Hash] opts the optional parameters
|
|
313
|
-
# @return [
|
|
313
|
+
# @return [GetWalletAccountsResponse]
|
|
314
314
|
def get_wallet_accounts(body, opts = {})
|
|
315
315
|
data, _status_code, _headers = get_wallet_accounts_with_http_info(body, opts)
|
|
316
316
|
data
|
|
@@ -320,7 +320,7 @@ module TurnkeyClient
|
|
|
320
320
|
# List all Accounts wirhin a Wallet
|
|
321
321
|
# @param body
|
|
322
322
|
# @param [Hash] opts the optional parameters
|
|
323
|
-
# @return [Array<(
|
|
323
|
+
# @return [Array<(GetWalletAccountsResponse, Integer, Hash)>] GetWalletAccountsResponse data, response status code and response headers
|
|
324
324
|
def get_wallet_accounts_with_http_info(body, opts = {})
|
|
325
325
|
if @api_client.config.debugging
|
|
326
326
|
@api_client.config.logger.debug 'Calling API: WalletsApi.get_wallet_accounts ...'
|
|
@@ -348,7 +348,7 @@ module TurnkeyClient
|
|
|
348
348
|
# http body (model)
|
|
349
349
|
post_body = opts[:body] || @api_client.object_to_http_body(body)
|
|
350
350
|
|
|
351
|
-
return_type = opts[:return_type] || '
|
|
351
|
+
return_type = opts[:return_type] || 'GetWalletAccountsResponse'
|
|
352
352
|
|
|
353
353
|
auth_names = opts[:auth_names] || ['ApiKeyAuth', 'AuthenticatorAuth']
|
|
354
354
|
data, status_code, headers = @api_client.call_api(:POST, local_var_path,
|
|
@@ -368,7 +368,7 @@ module TurnkeyClient
|
|
|
368
368
|
# List all Wallets within an Organization
|
|
369
369
|
# @param body
|
|
370
370
|
# @param [Hash] opts the optional parameters
|
|
371
|
-
# @return [
|
|
371
|
+
# @return [GetWalletsResponse]
|
|
372
372
|
def get_wallets(body, opts = {})
|
|
373
373
|
data, _status_code, _headers = get_wallets_with_http_info(body, opts)
|
|
374
374
|
data
|
|
@@ -378,7 +378,7 @@ module TurnkeyClient
|
|
|
378
378
|
# List all Wallets within an Organization
|
|
379
379
|
# @param body
|
|
380
380
|
# @param [Hash] opts the optional parameters
|
|
381
|
-
# @return [Array<(
|
|
381
|
+
# @return [Array<(GetWalletsResponse, Integer, Hash)>] GetWalletsResponse data, response status code and response headers
|
|
382
382
|
def get_wallets_with_http_info(body, opts = {})
|
|
383
383
|
if @api_client.config.debugging
|
|
384
384
|
@api_client.config.logger.debug 'Calling API: WalletsApi.get_wallets ...'
|
|
@@ -406,7 +406,7 @@ module TurnkeyClient
|
|
|
406
406
|
# http body (model)
|
|
407
407
|
post_body = opts[:body] || @api_client.object_to_http_body(body)
|
|
408
408
|
|
|
409
|
-
return_type = opts[:return_type] || '
|
|
409
|
+
return_type = opts[:return_type] || 'GetWalletsResponse'
|
|
410
410
|
|
|
411
411
|
auth_names = opts[:auth_names] || ['ApiKeyAuth', 'AuthenticatorAuth']
|
|
412
412
|
data, status_code, headers = @api_client.call_api(:POST, local_var_path,
|
|
@@ -422,5 +422,121 @@ module TurnkeyClient
|
|
|
422
422
|
end
|
|
423
423
|
return data, status_code, headers
|
|
424
424
|
end
|
|
425
|
+
# Import Wallet
|
|
426
|
+
# Imports a wallet
|
|
427
|
+
# @param body
|
|
428
|
+
# @param [Hash] opts the optional parameters
|
|
429
|
+
# @return [ActivityResponse]
|
|
430
|
+
def import_wallet(body, opts = {})
|
|
431
|
+
data, _status_code, _headers = import_wallet_with_http_info(body, opts)
|
|
432
|
+
data
|
|
433
|
+
end
|
|
434
|
+
|
|
435
|
+
# Import Wallet
|
|
436
|
+
# Imports a wallet
|
|
437
|
+
# @param body
|
|
438
|
+
# @param [Hash] opts the optional parameters
|
|
439
|
+
# @return [Array<(ActivityResponse, Integer, Hash)>] ActivityResponse data, response status code and response headers
|
|
440
|
+
def import_wallet_with_http_info(body, opts = {})
|
|
441
|
+
if @api_client.config.debugging
|
|
442
|
+
@api_client.config.logger.debug 'Calling API: WalletsApi.import_wallet ...'
|
|
443
|
+
end
|
|
444
|
+
# verify the required parameter 'body' is set
|
|
445
|
+
if @api_client.config.client_side_validation && body.nil?
|
|
446
|
+
fail ArgumentError, "Missing the required parameter 'body' when calling WalletsApi.import_wallet"
|
|
447
|
+
end
|
|
448
|
+
# resource path
|
|
449
|
+
local_var_path = '/public/v1/submit/import_wallet'
|
|
450
|
+
|
|
451
|
+
# query parameters
|
|
452
|
+
query_params = opts[:query_params] || {}
|
|
453
|
+
|
|
454
|
+
# header parameters
|
|
455
|
+
header_params = opts[:header_params] || {}
|
|
456
|
+
# HTTP header 'Accept' (if needed)
|
|
457
|
+
header_params['Accept'] = @api_client.select_header_accept(['application/json'])
|
|
458
|
+
# HTTP header 'Content-Type'
|
|
459
|
+
header_params['Content-Type'] = @api_client.select_header_content_type(['application/json'])
|
|
460
|
+
|
|
461
|
+
# form parameters
|
|
462
|
+
form_params = opts[:form_params] || {}
|
|
463
|
+
|
|
464
|
+
# http body (model)
|
|
465
|
+
post_body = opts[:body] || @api_client.object_to_http_body(body)
|
|
466
|
+
|
|
467
|
+
return_type = opts[:return_type] || 'ActivityResponse'
|
|
468
|
+
|
|
469
|
+
auth_names = opts[:auth_names] || ['ApiKeyAuth', 'AuthenticatorAuth']
|
|
470
|
+
data, status_code, headers = @api_client.call_api(:POST, local_var_path,
|
|
471
|
+
:header_params => header_params,
|
|
472
|
+
:query_params => query_params,
|
|
473
|
+
:form_params => form_params,
|
|
474
|
+
:body => post_body,
|
|
475
|
+
:auth_names => auth_names,
|
|
476
|
+
:return_type => return_type)
|
|
477
|
+
|
|
478
|
+
if @api_client.config.debugging
|
|
479
|
+
@api_client.config.logger.debug "API called: WalletsApi#import_wallet\nData: #{data.inspect}\nStatus code: #{status_code}\nHeaders: #{headers}"
|
|
480
|
+
end
|
|
481
|
+
return data, status_code, headers
|
|
482
|
+
end
|
|
483
|
+
# Init Import Wallet
|
|
484
|
+
# Initializes a new wallet import
|
|
485
|
+
# @param body
|
|
486
|
+
# @param [Hash] opts the optional parameters
|
|
487
|
+
# @return [ActivityResponse]
|
|
488
|
+
def init_import_wallet(body, opts = {})
|
|
489
|
+
data, _status_code, _headers = init_import_wallet_with_http_info(body, opts)
|
|
490
|
+
data
|
|
491
|
+
end
|
|
492
|
+
|
|
493
|
+
# Init Import Wallet
|
|
494
|
+
# Initializes a new wallet import
|
|
495
|
+
# @param body
|
|
496
|
+
# @param [Hash] opts the optional parameters
|
|
497
|
+
# @return [Array<(ActivityResponse, Integer, Hash)>] ActivityResponse data, response status code and response headers
|
|
498
|
+
def init_import_wallet_with_http_info(body, opts = {})
|
|
499
|
+
if @api_client.config.debugging
|
|
500
|
+
@api_client.config.logger.debug 'Calling API: WalletsApi.init_import_wallet ...'
|
|
501
|
+
end
|
|
502
|
+
# verify the required parameter 'body' is set
|
|
503
|
+
if @api_client.config.client_side_validation && body.nil?
|
|
504
|
+
fail ArgumentError, "Missing the required parameter 'body' when calling WalletsApi.init_import_wallet"
|
|
505
|
+
end
|
|
506
|
+
# resource path
|
|
507
|
+
local_var_path = '/public/v1/submit/init_import_wallet'
|
|
508
|
+
|
|
509
|
+
# query parameters
|
|
510
|
+
query_params = opts[:query_params] || {}
|
|
511
|
+
|
|
512
|
+
# header parameters
|
|
513
|
+
header_params = opts[:header_params] || {}
|
|
514
|
+
# HTTP header 'Accept' (if needed)
|
|
515
|
+
header_params['Accept'] = @api_client.select_header_accept(['application/json'])
|
|
516
|
+
# HTTP header 'Content-Type'
|
|
517
|
+
header_params['Content-Type'] = @api_client.select_header_content_type(['application/json'])
|
|
518
|
+
|
|
519
|
+
# form parameters
|
|
520
|
+
form_params = opts[:form_params] || {}
|
|
521
|
+
|
|
522
|
+
# http body (model)
|
|
523
|
+
post_body = opts[:body] || @api_client.object_to_http_body(body)
|
|
524
|
+
|
|
525
|
+
return_type = opts[:return_type] || 'ActivityResponse'
|
|
526
|
+
|
|
527
|
+
auth_names = opts[:auth_names] || ['ApiKeyAuth', 'AuthenticatorAuth']
|
|
528
|
+
data, status_code, headers = @api_client.call_api(:POST, local_var_path,
|
|
529
|
+
:header_params => header_params,
|
|
530
|
+
:query_params => query_params,
|
|
531
|
+
:form_params => form_params,
|
|
532
|
+
:body => post_body,
|
|
533
|
+
:auth_names => auth_names,
|
|
534
|
+
:return_type => return_type)
|
|
535
|
+
|
|
536
|
+
if @api_client.config.debugging
|
|
537
|
+
@api_client.config.logger.debug "API called: WalletsApi#init_import_wallet\nData: #{data.inspect}\nStatus code: #{status_code}\nHeaders: #{headers}"
|
|
538
|
+
end
|
|
539
|
+
return data, status_code, headers
|
|
540
|
+
end
|
|
425
541
|
end
|
|
426
542
|
end
|
data/lib/turnkey_client/models/{v1_accept_invitation_intent_v2.rb → accept_invitation_intent.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 AcceptInvitationIntent
|
|
16
16
|
# Unique identifier for a given Invitation object.
|
|
17
17
|
attr_accessor :invitation_id
|
|
18
18
|
|
|
@@ -49,13 +49,13 @@ module TurnkeyClient
|
|
|
49
49
|
# @param [Hash] attributes Model attributes in the form of hash
|
|
50
50
|
def initialize(attributes = {})
|
|
51
51
|
if (!attributes.is_a?(Hash))
|
|
52
|
-
fail ArgumentError, "The input argument (attributes) must be a hash in `TurnkeyClient::
|
|
52
|
+
fail ArgumentError, "The input argument (attributes) must be a hash in `TurnkeyClient::AcceptInvitationIntent` initialize method"
|
|
53
53
|
end
|
|
54
54
|
|
|
55
55
|
# check to see if the attribute exists and convert string to symbol for hash key
|
|
56
56
|
attributes = attributes.each_with_object({}) { |(k, v), h|
|
|
57
57
|
if (!self.class.attribute_map.key?(k.to_sym))
|
|
58
|
-
fail ArgumentError, "`#{k}` is not a valid attribute in `TurnkeyClient::
|
|
58
|
+
fail ArgumentError, "`#{k}` is not a valid attribute in `TurnkeyClient::AcceptInvitationIntent`. Please check the name to make sure it's valid. List of attributes: " + self.class.attribute_map.keys.inspect
|
|
59
59
|
end
|
|
60
60
|
h[k.to_sym] = v
|
|
61
61
|
}
|
data/lib/turnkey_client/models/{v1_accept_invitation_intent.rb → accept_invitation_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 AcceptInvitationIntentV2
|
|
16
16
|
# Unique identifier for a given Invitation object.
|
|
17
17
|
attr_accessor :invitation_id
|
|
18
18
|
|
|
@@ -49,13 +49,13 @@ module TurnkeyClient
|
|
|
49
49
|
# @param [Hash] attributes Model attributes in the form of hash
|
|
50
50
|
def initialize(attributes = {})
|
|
51
51
|
if (!attributes.is_a?(Hash))
|
|
52
|
-
fail ArgumentError, "The input argument (attributes) must be a hash in `TurnkeyClient::
|
|
52
|
+
fail ArgumentError, "The input argument (attributes) must be a hash in `TurnkeyClient::AcceptInvitationIntentV2` initialize method"
|
|
53
53
|
end
|
|
54
54
|
|
|
55
55
|
# check to see if the attribute exists and convert string to symbol for hash key
|
|
56
56
|
attributes = attributes.each_with_object({}) { |(k, v), h|
|
|
57
57
|
if (!self.class.attribute_map.key?(k.to_sym))
|
|
58
|
-
fail ArgumentError, "`#{k}` is not a valid attribute in `TurnkeyClient::
|
|
58
|
+
fail ArgumentError, "`#{k}` is not a valid attribute in `TurnkeyClient::AcceptInvitationIntentV2`. Please check the name to make sure it's valid. List of attributes: " + self.class.attribute_map.keys.inspect
|
|
59
59
|
end
|
|
60
60
|
h[k.to_sym] = v
|
|
61
61
|
}
|
data/lib/turnkey_client/models/{v1_accept_invitation_result.rb → accept_invitation_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 AcceptInvitationResult
|
|
16
16
|
# Unique identifier for a given Invitation.
|
|
17
17
|
attr_accessor :invitation_id
|
|
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::AcceptInvitationResult` 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::AcceptInvitationResult`. 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
|
}
|
|
@@ -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 AccessType
|
|
16
16
|
WEB = 'ACCESS_TYPE_WEB'.freeze
|
|
17
17
|
API = 'ACCESS_TYPE_API'.freeze
|
|
18
18
|
ALL = 'ACCESS_TYPE_ALL'.freeze
|
|
@@ -21,8 +21,8 @@ module TurnkeyClient
|
|
|
21
21
|
# @param [String] The enum value in the form of the string
|
|
22
22
|
# @return [String] The enum value
|
|
23
23
|
def build_from_hash(value)
|
|
24
|
-
constantValues =
|
|
25
|
-
raise "Invalid ENUM value #{value} for class #
|
|
24
|
+
constantValues = AccessType.constants.select { |c| AccessType::const_get(c) == value }
|
|
25
|
+
raise "Invalid ENUM value #{value} for class #AccessType" if constantValues.empty?
|
|
26
26
|
value
|
|
27
27
|
end
|
|
28
28
|
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 ActivateBillingTierIntent
|
|
16
16
|
# The product that the customer wants to subscribe to.
|
|
17
17
|
attr_accessor :product_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::ActivateBillingTierIntent` 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::ActivateBillingTierIntent`. 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 ActivateBillingTierResult
|
|
16
16
|
# The id of the product being subscribed to.
|
|
17
17
|
attr_accessor :product_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::ActivateBillingTierResult` 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::ActivateBillingTierResult`. 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 Activity
|
|
16
16
|
# Unique identifier for a given Activity object.
|
|
17
17
|
attr_accessor :id
|
|
18
18
|
|
|
@@ -87,13 +87,13 @@ module TurnkeyClient
|
|
|
87
87
|
# @param [Hash] attributes Model attributes in the form of hash
|
|
88
88
|
def initialize(attributes = {})
|
|
89
89
|
if (!attributes.is_a?(Hash))
|
|
90
|
-
fail ArgumentError, "The input argument (attributes) must be a hash in `TurnkeyClient::
|
|
90
|
+
fail ArgumentError, "The input argument (attributes) must be a hash in `TurnkeyClient::Activity` initialize method"
|
|
91
91
|
end
|
|
92
92
|
|
|
93
93
|
# check to see if the attribute exists and convert string to symbol for hash key
|
|
94
94
|
attributes = attributes.each_with_object({}) { |(k, v), h|
|
|
95
95
|
if (!self.class.attribute_map.key?(k.to_sym))
|
|
96
|
-
fail ArgumentError, "`#{k}` is not a valid attribute in `TurnkeyClient::
|
|
96
|
+
fail ArgumentError, "`#{k}` is not a valid attribute in `TurnkeyClient::Activity`. Please check the name to make sure it's valid. List of attributes: " + self.class.attribute_map.keys.inspect
|
|
97
97
|
end
|
|
98
98
|
h[k.to_sym] = v
|
|
99
99
|
}
|
|
@@ -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 ActivityResponse
|
|
16
16
|
attr_accessor :activity
|
|
17
17
|
|
|
18
18
|
# Attribute mapping from ruby-style variable name to JSON key.
|
|
@@ -39,13 +39,13 @@ module TurnkeyClient
|
|
|
39
39
|
# @param [Hash] attributes Model attributes in the form of hash
|
|
40
40
|
def initialize(attributes = {})
|
|
41
41
|
if (!attributes.is_a?(Hash))
|
|
42
|
-
fail ArgumentError, "The input argument (attributes) must be a hash in `TurnkeyClient::
|
|
42
|
+
fail ArgumentError, "The input argument (attributes) must be a hash in `TurnkeyClient::ActivityResponse` initialize method"
|
|
43
43
|
end
|
|
44
44
|
|
|
45
45
|
# check to see if the attribute exists and convert string to symbol for hash key
|
|
46
46
|
attributes = attributes.each_with_object({}) { |(k, v), h|
|
|
47
47
|
if (!self.class.attribute_map.key?(k.to_sym))
|
|
48
|
-
fail ArgumentError, "`#{k}` is not a valid attribute in `TurnkeyClient::
|
|
48
|
+
fail ArgumentError, "`#{k}` is not a valid attribute in `TurnkeyClient::ActivityResponse`. Please check the name to make sure it's valid. List of attributes: " + self.class.attribute_map.keys.inspect
|
|
49
49
|
end
|
|
50
50
|
h[k.to_sym] = v
|
|
51
51
|
}
|
|
@@ -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 ActivityStatus
|
|
16
16
|
CREATED = 'ACTIVITY_STATUS_CREATED'.freeze
|
|
17
17
|
PENDING = 'ACTIVITY_STATUS_PENDING'.freeze
|
|
18
18
|
COMPLETED = 'ACTIVITY_STATUS_COMPLETED'.freeze
|
|
@@ -24,8 +24,8 @@ module TurnkeyClient
|
|
|
24
24
|
# @param [String] The enum value in the form of the string
|
|
25
25
|
# @return [String] The enum value
|
|
26
26
|
def build_from_hash(value)
|
|
27
|
-
constantValues =
|
|
28
|
-
raise "Invalid ENUM value #{value} for class #
|
|
27
|
+
constantValues = ActivityStatus.constants.select { |c| ActivityStatus::const_get(c) == value }
|
|
28
|
+
raise "Invalid ENUM value #{value} for class #ActivityStatus" if constantValues.empty?
|
|
29
29
|
value
|
|
30
30
|
end
|
|
31
31
|
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 ActivityType
|
|
16
16
|
CREATE_API_KEYS = 'ACTIVITY_TYPE_CREATE_API_KEYS'.freeze
|
|
17
17
|
CREATE_USERS = 'ACTIVITY_TYPE_CREATE_USERS'.freeze
|
|
18
18
|
CREATE_PRIVATE_KEYS = 'ACTIVITY_TYPE_CREATE_PRIVATE_KEYS'.freeze
|
|
@@ -70,13 +70,17 @@ module TurnkeyClient
|
|
|
70
70
|
CREATE_SUB_ORGANIZATION_V4 = 'ACTIVITY_TYPE_CREATE_SUB_ORGANIZATION_V4'.freeze
|
|
71
71
|
EMAIL_AUTH = 'ACTIVITY_TYPE_EMAIL_AUTH'.freeze
|
|
72
72
|
EXPORT_WALLET_ACCOUNT = 'ACTIVITY_TYPE_EXPORT_WALLET_ACCOUNT'.freeze
|
|
73
|
+
INIT_IMPORT_WALLET = 'ACTIVITY_TYPE_INIT_IMPORT_WALLET'.freeze
|
|
74
|
+
IMPORT_WALLET = 'ACTIVITY_TYPE_IMPORT_WALLET'.freeze
|
|
75
|
+
INIT_IMPORT_PRIVATE_KEY = 'ACTIVITY_TYPE_INIT_IMPORT_PRIVATE_KEY'.freeze
|
|
76
|
+
IMPORT_PRIVATE_KEY = 'ACTIVITY_TYPE_IMPORT_PRIVATE_KEY'.freeze
|
|
73
77
|
|
|
74
78
|
# Builds the enum from string
|
|
75
79
|
# @param [String] The enum value in the form of the string
|
|
76
80
|
# @return [String] The enum value
|
|
77
81
|
def build_from_hash(value)
|
|
78
|
-
constantValues =
|
|
79
|
-
raise "Invalid ENUM value #{value} for class #
|
|
82
|
+
constantValues = ActivityType.constants.select { |c| ActivityType::const_get(c) == value }
|
|
83
|
+
raise "Invalid ENUM value #{value} for class #ActivityType" if constantValues.empty?
|
|
80
84
|
value
|
|
81
85
|
end
|
|
82
86
|
end
|