turnkey_client 0.0.3 → 0.0.7
Sign up to get free protection for your applications and to get access to all the features.
- checksums.yaml +4 -4
- data/lib/turnkey_client/api/activities_api.rb +0 -1
- data/lib/turnkey_client/api/api_keys_api.rb +0 -1
- data/lib/turnkey_client/api/authenticators_api.rb +0 -1
- data/lib/turnkey_client/api/consensus_api.rb +0 -1
- data/lib/turnkey_client/api/features_api.rb +0 -1
- data/lib/turnkey_client/api/invitations_api.rb +0 -1
- data/lib/turnkey_client/api/organizations_api.rb +58 -1
- data/lib/turnkey_client/api/policies_api.rb +58 -1
- data/lib/turnkey_client/api/private_key_tags_api.rb +0 -1
- data/lib/turnkey_client/api/private_keys_api.rb +0 -1
- data/lib/turnkey_client/api/sessions_api.rb +118 -3
- data/lib/turnkey_client/api/signing_api.rb +58 -1
- data/lib/turnkey_client/api/user_auth_api.rb +0 -1
- data/lib/turnkey_client/api/user_recovery_api.rb +0 -1
- data/lib/turnkey_client/api/user_tags_api.rb +0 -1
- data/lib/turnkey_client/api/users_api.rb +232 -1
- data/lib/turnkey_client/api/wallets_api.rb +0 -1
- data/lib/turnkey_client/api_client.rb +0 -1
- data/lib/turnkey_client/api_error.rb +0 -1
- data/lib/turnkey_client/configuration.rb +0 -1
- data/lib/turnkey_client/models/accept_invitation_intent.rb +0 -1
- data/lib/turnkey_client/models/accept_invitation_intent_v2.rb +0 -1
- data/lib/turnkey_client/models/accept_invitation_result.rb +0 -1
- data/lib/turnkey_client/models/access_type.rb +0 -1
- data/lib/turnkey_client/models/activate_billing_tier_intent.rb +0 -1
- data/lib/turnkey_client/models/activate_billing_tier_result.rb +0 -1
- data/lib/turnkey_client/models/activity.rb +13 -5
- data/lib/turnkey_client/models/activity_response.rb +0 -1
- data/lib/turnkey_client/models/activity_status.rb +0 -1
- data/lib/turnkey_client/models/activity_type.rb +11 -1
- data/lib/turnkey_client/models/activity_v1_address.rb +0 -1
- data/lib/turnkey_client/models/address_format.rb +0 -1
- data/lib/turnkey_client/models/any.rb +200 -0
- data/lib/turnkey_client/models/api_key.rb +0 -1
- data/lib/turnkey_client/models/api_key_curve.rb +28 -0
- data/lib/turnkey_client/models/api_key_params.rb +0 -1
- data/lib/turnkey_client/models/api_key_params_v2.rb +250 -0
- data/lib/turnkey_client/models/api_only_user_params.rb +0 -1
- data/lib/turnkey_client/models/approve_activity_intent.rb +0 -1
- data/lib/turnkey_client/models/approve_activity_request.rb +0 -1
- data/lib/turnkey_client/models/attestation.rb +0 -1
- data/lib/turnkey_client/models/authenticator.rb +0 -1
- data/lib/turnkey_client/models/authenticator_attestation_response.rb +0 -1
- data/lib/turnkey_client/models/authenticator_params.rb +0 -1
- data/lib/turnkey_client/models/authenticator_params_v2.rb +0 -1
- data/lib/turnkey_client/models/authenticator_transport.rb +0 -1
- data/lib/turnkey_client/models/config.rb +216 -0
- data/lib/turnkey_client/models/create_api_keys_intent.rb +0 -1
- data/lib/turnkey_client/models/create_api_keys_intent_v2.rb +228 -0
- data/lib/turnkey_client/models/create_api_keys_request.rb +2 -3
- data/lib/turnkey_client/models/create_api_keys_result.rb +0 -1
- data/lib/turnkey_client/models/create_api_only_users_intent.rb +0 -1
- data/lib/turnkey_client/models/create_api_only_users_result.rb +0 -1
- data/lib/turnkey_client/models/create_authenticators_intent.rb +0 -1
- data/lib/turnkey_client/models/create_authenticators_intent_v2.rb +0 -1
- data/lib/turnkey_client/models/create_authenticators_request.rb +0 -1
- data/lib/turnkey_client/models/create_authenticators_result.rb +0 -1
- data/lib/turnkey_client/models/create_invitations_intent.rb +0 -1
- data/lib/turnkey_client/models/create_invitations_request.rb +0 -1
- data/lib/turnkey_client/models/create_invitations_result.rb +0 -1
- data/lib/turnkey_client/models/create_oauth_providers_intent.rb +228 -0
- data/lib/turnkey_client/models/create_oauth_providers_request.rb +288 -0
- data/lib/turnkey_client/models/create_oauth_providers_result.rb +213 -0
- data/lib/turnkey_client/models/create_organization_intent.rb +0 -1
- data/lib/turnkey_client/models/create_organization_intent_v2.rb +0 -1
- data/lib/turnkey_client/models/create_organization_result.rb +0 -1
- data/lib/turnkey_client/models/create_policies_intent.rb +213 -0
- data/lib/turnkey_client/models/create_policies_request.rb +288 -0
- data/lib/turnkey_client/models/create_policies_result.rb +213 -0
- data/lib/turnkey_client/models/create_policy_intent.rb +0 -1
- data/lib/turnkey_client/models/create_policy_intent_v2.rb +0 -1
- data/lib/turnkey_client/models/create_policy_intent_v3.rb +0 -1
- data/lib/turnkey_client/models/create_policy_request.rb +0 -1
- data/lib/turnkey_client/models/create_policy_result.rb +0 -1
- data/lib/turnkey_client/models/create_private_key_tag_intent.rb +0 -1
- data/lib/turnkey_client/models/create_private_key_tag_request.rb +0 -1
- data/lib/turnkey_client/models/create_private_key_tag_result.rb +0 -1
- data/lib/turnkey_client/models/create_private_keys_intent.rb +0 -1
- data/lib/turnkey_client/models/create_private_keys_intent_v2.rb +0 -1
- data/lib/turnkey_client/models/create_private_keys_request.rb +0 -1
- data/lib/turnkey_client/models/create_private_keys_result.rb +0 -1
- data/lib/turnkey_client/models/create_private_keys_result_v2.rb +0 -1
- data/lib/turnkey_client/models/create_read_only_session_intent.rb +196 -0
- data/lib/turnkey_client/models/create_read_only_session_request.rb +288 -0
- data/lib/turnkey_client/models/create_read_only_session_result.rb +286 -0
- data/lib/turnkey_client/models/create_read_write_session_intent.rb +246 -0
- data/lib/turnkey_client/models/create_read_write_session_request.rb +288 -0
- data/lib/turnkey_client/models/create_read_write_session_result.rb +286 -0
- data/lib/turnkey_client/models/create_sub_organization_intent.rb +0 -1
- data/lib/turnkey_client/models/create_sub_organization_intent_v2.rb +0 -1
- data/lib/turnkey_client/models/create_sub_organization_intent_v3.rb +0 -1
- data/lib/turnkey_client/models/create_sub_organization_intent_v4.rb +0 -1
- data/lib/turnkey_client/models/create_sub_organization_intent_v5.rb +272 -0
- data/lib/turnkey_client/models/create_sub_organization_intent_v6.rb +272 -0
- data/lib/turnkey_client/models/create_sub_organization_request.rb +2 -3
- data/lib/turnkey_client/models/create_sub_organization_result.rb +0 -1
- data/lib/turnkey_client/models/create_sub_organization_result_v3.rb +0 -1
- data/lib/turnkey_client/models/create_sub_organization_result_v4.rb +0 -1
- data/lib/turnkey_client/models/create_sub_organization_result_v5.rb +230 -0
- data/lib/turnkey_client/models/create_sub_organization_result_v6.rb +230 -0
- data/lib/turnkey_client/models/create_user_tag_intent.rb +0 -1
- data/lib/turnkey_client/models/create_user_tag_request.rb +0 -1
- data/lib/turnkey_client/models/create_user_tag_result.rb +0 -1
- data/lib/turnkey_client/models/create_users_intent.rb +0 -1
- data/lib/turnkey_client/models/create_users_intent_v2.rb +0 -1
- data/lib/turnkey_client/models/create_users_request.rb +0 -1
- data/lib/turnkey_client/models/create_users_result.rb +0 -1
- data/lib/turnkey_client/models/create_wallet_accounts_intent.rb +0 -1
- data/lib/turnkey_client/models/create_wallet_accounts_request.rb +0 -1
- data/lib/turnkey_client/models/create_wallet_accounts_result.rb +0 -1
- data/lib/turnkey_client/models/create_wallet_intent.rb +0 -1
- data/lib/turnkey_client/models/create_wallet_request.rb +0 -1
- data/lib/turnkey_client/models/create_wallet_result.rb +0 -1
- data/lib/turnkey_client/models/cred_props_authentication_extensions_client_outputs.rb +0 -1
- data/lib/turnkey_client/models/credential_type.rb +3 -1
- data/lib/turnkey_client/models/curve.rb +0 -1
- data/lib/turnkey_client/models/data_v1_address.rb +0 -1
- data/lib/turnkey_client/models/delete_api_keys_intent.rb +0 -1
- data/lib/turnkey_client/models/delete_api_keys_request.rb +0 -1
- data/lib/turnkey_client/models/delete_api_keys_result.rb +0 -1
- data/lib/turnkey_client/models/delete_authenticators_intent.rb +0 -1
- data/lib/turnkey_client/models/delete_authenticators_request.rb +0 -1
- data/lib/turnkey_client/models/delete_authenticators_result.rb +0 -1
- data/lib/turnkey_client/models/delete_invitation_intent.rb +0 -1
- data/lib/turnkey_client/models/delete_invitation_request.rb +0 -1
- data/lib/turnkey_client/models/delete_invitation_result.rb +0 -1
- data/lib/turnkey_client/models/delete_oauth_providers_intent.rb +228 -0
- data/lib/turnkey_client/models/delete_oauth_providers_request.rb +288 -0
- data/lib/turnkey_client/models/delete_oauth_providers_result.rb +213 -0
- data/lib/turnkey_client/models/delete_organization_intent.rb +0 -1
- data/lib/turnkey_client/models/delete_organization_result.rb +0 -1
- data/lib/turnkey_client/models/delete_payment_method_intent.rb +0 -1
- data/lib/turnkey_client/models/delete_payment_method_result.rb +0 -1
- data/lib/turnkey_client/models/delete_policy_intent.rb +0 -1
- data/lib/turnkey_client/models/delete_policy_request.rb +0 -1
- data/lib/turnkey_client/models/delete_policy_result.rb +0 -1
- data/lib/turnkey_client/models/delete_private_key_tags_intent.rb +0 -1
- data/lib/turnkey_client/models/delete_private_key_tags_request.rb +0 -1
- data/lib/turnkey_client/models/delete_private_key_tags_result.rb +0 -1
- data/lib/turnkey_client/models/delete_user_tags_intent.rb +0 -1
- data/lib/turnkey_client/models/delete_user_tags_request.rb +0 -1
- data/lib/turnkey_client/models/delete_user_tags_result.rb +0 -1
- data/lib/turnkey_client/models/delete_users_intent.rb +0 -1
- data/lib/turnkey_client/models/delete_users_request.rb +0 -1
- data/lib/turnkey_client/models/delete_users_result.rb +0 -1
- data/lib/turnkey_client/models/disable_private_key_intent.rb +0 -1
- data/lib/turnkey_client/models/disable_private_key_result.rb +0 -1
- data/lib/turnkey_client/models/effect.rb +0 -1
- data/lib/turnkey_client/models/email_auth_intent.rb +14 -5
- data/lib/turnkey_client/models/email_auth_intent_v2.rb +265 -0
- data/lib/turnkey_client/models/email_auth_request.rb +2 -3
- data/lib/turnkey_client/models/email_auth_result.rb +0 -1
- data/lib/turnkey_client/models/email_customization_params.rb +1 -2
- data/lib/turnkey_client/models/export_private_key_intent.rb +0 -1
- data/lib/turnkey_client/models/export_private_key_request.rb +0 -1
- data/lib/turnkey_client/models/export_private_key_result.rb +0 -1
- data/lib/turnkey_client/models/export_wallet_account_intent.rb +0 -1
- data/lib/turnkey_client/models/export_wallet_account_request.rb +0 -1
- data/lib/turnkey_client/models/export_wallet_account_result.rb +0 -1
- data/lib/turnkey_client/models/export_wallet_intent.rb +0 -1
- data/lib/turnkey_client/models/export_wallet_request.rb +0 -1
- data/lib/turnkey_client/models/export_wallet_result.rb +0 -1
- data/lib/turnkey_client/models/external_data_v1_credential.rb +0 -1
- data/lib/turnkey_client/models/external_data_v1_quorum.rb +228 -0
- data/lib/turnkey_client/models/external_data_v1_timestamp.rb +0 -1
- data/lib/turnkey_client/models/feature.rb +0 -1
- data/lib/turnkey_client/models/feature_name.rb +0 -1
- data/lib/turnkey_client/models/get_activities_request.rb +0 -1
- data/lib/turnkey_client/models/get_activities_response.rb +0 -1
- data/lib/turnkey_client/models/get_activity_request.rb +0 -1
- data/lib/turnkey_client/models/get_api_key_request.rb +0 -1
- data/lib/turnkey_client/models/get_api_key_response.rb +0 -1
- data/lib/turnkey_client/models/get_api_keys_request.rb +0 -1
- data/lib/turnkey_client/models/get_api_keys_response.rb +0 -1
- data/lib/turnkey_client/models/get_authenticator_request.rb +0 -1
- data/lib/turnkey_client/models/get_authenticator_response.rb +0 -1
- data/lib/turnkey_client/models/get_authenticators_request.rb +0 -1
- data/lib/turnkey_client/models/get_authenticators_response.rb +0 -1
- data/lib/turnkey_client/models/get_oauth_providers_request.rb +221 -0
- data/lib/turnkey_client/models/get_oauth_providers_response.rb +213 -0
- data/lib/turnkey_client/models/get_organization_configs_request.rb +211 -0
- data/lib/turnkey_client/models/get_organization_configs_response.rb +210 -0
- data/lib/turnkey_client/models/get_policies_request.rb +0 -1
- data/lib/turnkey_client/models/get_policies_response.rb +0 -1
- data/lib/turnkey_client/models/get_policy_request.rb +0 -1
- data/lib/turnkey_client/models/get_policy_response.rb +0 -1
- data/lib/turnkey_client/models/get_private_key_request.rb +0 -1
- data/lib/turnkey_client/models/get_private_key_response.rb +0 -1
- data/lib/turnkey_client/models/get_private_keys_request.rb +0 -1
- data/lib/turnkey_client/models/get_private_keys_response.rb +0 -1
- data/lib/turnkey_client/models/get_sub_org_ids_request.rb +14 -6
- data/lib/turnkey_client/models/get_sub_org_ids_response.rb +0 -1
- data/lib/turnkey_client/models/get_user_request.rb +0 -1
- data/lib/turnkey_client/models/get_user_response.rb +0 -1
- data/lib/turnkey_client/models/get_users_request.rb +0 -1
- data/lib/turnkey_client/models/get_users_response.rb +0 -1
- data/lib/turnkey_client/models/get_wallet_accounts_request.rb +13 -5
- data/lib/turnkey_client/models/get_wallet_accounts_response.rb +0 -1
- data/lib/turnkey_client/models/get_wallet_request.rb +0 -1
- data/lib/turnkey_client/models/get_wallet_response.rb +0 -1
- data/lib/turnkey_client/models/get_wallets_request.rb +0 -1
- data/lib/turnkey_client/models/get_wallets_response.rb +0 -1
- data/lib/turnkey_client/models/get_whoami_request.rb +0 -1
- data/lib/turnkey_client/models/get_whoami_response.rb +0 -1
- data/lib/turnkey_client/models/hash_function.rb +0 -1
- data/lib/turnkey_client/models/import_private_key_intent.rb +0 -1
- data/lib/turnkey_client/models/import_private_key_request.rb +0 -1
- data/lib/turnkey_client/models/import_private_key_result.rb +0 -1
- data/lib/turnkey_client/models/import_wallet_intent.rb +0 -1
- data/lib/turnkey_client/models/import_wallet_request.rb +0 -1
- data/lib/turnkey_client/models/import_wallet_result.rb +0 -1
- data/lib/turnkey_client/models/init_import_private_key_intent.rb +0 -1
- data/lib/turnkey_client/models/init_import_private_key_request.rb +0 -1
- data/lib/turnkey_client/models/init_import_private_key_result.rb +0 -1
- data/lib/turnkey_client/models/init_import_wallet_intent.rb +0 -1
- data/lib/turnkey_client/models/init_import_wallet_request.rb +0 -1
- data/lib/turnkey_client/models/init_import_wallet_result.rb +0 -1
- data/lib/turnkey_client/models/init_user_email_recovery_intent.rb +0 -1
- data/lib/turnkey_client/models/init_user_email_recovery_request.rb +0 -1
- data/lib/turnkey_client/models/init_user_email_recovery_result.rb +0 -1
- data/lib/turnkey_client/models/intent.rb +103 -10
- data/lib/turnkey_client/models/invitation_params.rb +0 -1
- data/lib/turnkey_client/models/list_private_key_tags_request.rb +0 -1
- data/lib/turnkey_client/models/list_private_key_tags_response.rb +0 -1
- data/lib/turnkey_client/models/list_user_tags_request.rb +0 -1
- data/lib/turnkey_client/models/list_user_tags_response.rb +0 -1
- data/lib/turnkey_client/models/mnemonic_language.rb +0 -1
- data/lib/turnkey_client/models/oauth_intent.rb +246 -0
- data/lib/turnkey_client/models/oauth_provider.rb +299 -0
- data/lib/turnkey_client/models/oauth_provider_params.rb +226 -0
- data/lib/turnkey_client/models/oauth_request.rb +288 -0
- data/lib/turnkey_client/models/oauth_result.rb +241 -0
- data/lib/turnkey_client/models/operator.rb +0 -1
- data/lib/turnkey_client/models/pagination.rb +0 -1
- data/lib/turnkey_client/models/path_format.rb +0 -1
- data/lib/turnkey_client/models/payload_encoding.rb +0 -1
- data/lib/turnkey_client/models/policy.rb +0 -1
- data/lib/turnkey_client/models/private_key.rb +0 -1
- data/lib/turnkey_client/models/private_key_params.rb +0 -1
- data/lib/turnkey_client/models/private_key_result.rb +0 -1
- data/lib/turnkey_client/models/public_key_credential_with_attestation.rb +0 -1
- data/lib/turnkey_client/models/recover_user_intent.rb +0 -1
- data/lib/turnkey_client/models/recover_user_request.rb +0 -1
- data/lib/turnkey_client/models/recover_user_result.rb +0 -1
- data/lib/turnkey_client/models/reject_activity_intent.rb +0 -1
- data/lib/turnkey_client/models/reject_activity_request.rb +0 -1
- data/lib/turnkey_client/models/remove_organization_feature_intent.rb +0 -1
- data/lib/turnkey_client/models/remove_organization_feature_request.rb +0 -1
- data/lib/turnkey_client/models/remove_organization_feature_result.rb +0 -1
- data/lib/turnkey_client/models/result.rb +85 -5
- data/lib/turnkey_client/models/root_user_params.rb +0 -1
- data/lib/turnkey_client/models/root_user_params_v2.rb +272 -0
- data/lib/turnkey_client/models/root_user_params_v3.rb +272 -0
- data/lib/turnkey_client/models/selector.rb +0 -1
- data/lib/turnkey_client/models/selector_v2.rb +0 -1
- data/lib/turnkey_client/models/set_organization_feature_intent.rb +0 -1
- data/lib/turnkey_client/models/set_organization_feature_request.rb +0 -1
- data/lib/turnkey_client/models/set_organization_feature_result.rb +0 -1
- data/lib/turnkey_client/models/set_payment_method_intent.rb +0 -1
- data/lib/turnkey_client/models/set_payment_method_intent_v2.rb +0 -1
- data/lib/turnkey_client/models/set_payment_method_result.rb +0 -1
- data/lib/turnkey_client/models/sign_raw_payload_intent.rb +0 -1
- data/lib/turnkey_client/models/sign_raw_payload_intent_v2.rb +0 -1
- data/lib/turnkey_client/models/sign_raw_payload_request.rb +0 -1
- data/lib/turnkey_client/models/sign_raw_payload_result.rb +0 -1
- data/lib/turnkey_client/models/sign_raw_payloads_intent.rb +256 -0
- data/lib/turnkey_client/models/sign_raw_payloads_request.rb +288 -0
- data/lib/turnkey_client/models/sign_raw_payloads_result.rb +207 -0
- data/lib/turnkey_client/models/sign_transaction_intent.rb +0 -1
- data/lib/turnkey_client/models/sign_transaction_intent_v2.rb +0 -1
- data/lib/turnkey_client/models/sign_transaction_request.rb +0 -1
- data/lib/turnkey_client/models/sign_transaction_result.rb +0 -1
- data/lib/turnkey_client/models/simple_client_extension_results.rb +0 -1
- data/lib/turnkey_client/models/status.rb +225 -0
- data/lib/turnkey_client/models/tag_type.rb +0 -1
- data/lib/turnkey_client/models/transaction_type.rb +0 -1
- data/lib/turnkey_client/models/update_allowed_origins_intent.rb +0 -1
- data/lib/turnkey_client/models/update_allowed_origins_result.rb +0 -1
- data/lib/turnkey_client/models/update_policy_intent.rb +0 -1
- data/lib/turnkey_client/models/update_policy_request.rb +0 -1
- data/lib/turnkey_client/models/update_policy_result.rb +0 -1
- data/lib/turnkey_client/models/update_private_key_tag_intent.rb +0 -1
- data/lib/turnkey_client/models/update_private_key_tag_request.rb +0 -1
- data/lib/turnkey_client/models/update_private_key_tag_result.rb +0 -1
- data/lib/turnkey_client/models/update_root_quorum_intent.rb +0 -1
- data/lib/turnkey_client/models/update_root_quorum_request.rb +0 -1
- data/lib/turnkey_client/models/update_root_quorum_result.rb +0 -1
- data/lib/turnkey_client/models/update_user_intent.rb +0 -1
- data/lib/turnkey_client/models/update_user_request.rb +0 -1
- data/lib/turnkey_client/models/update_user_result.rb +0 -1
- data/lib/turnkey_client/models/update_user_tag_intent.rb +0 -1
- data/lib/turnkey_client/models/update_user_tag_request.rb +0 -1
- data/lib/turnkey_client/models/update_user_tag_result.rb +0 -1
- data/lib/turnkey_client/models/user.rb +18 -2
- data/lib/turnkey_client/models/user_params.rb +0 -1
- data/lib/turnkey_client/models/user_params_v2.rb +0 -1
- data/lib/turnkey_client/models/v1_tag.rb +0 -1
- data/lib/turnkey_client/models/vote.rb +0 -1
- data/lib/turnkey_client/models/wallet.rb +0 -1
- data/lib/turnkey_client/models/wallet_account.rb +4 -20
- data/lib/turnkey_client/models/wallet_account_params.rb +0 -1
- data/lib/turnkey_client/models/wallet_params.rb +0 -1
- data/lib/turnkey_client/models/wallet_result.rb +0 -1
- data/lib/turnkey_client/version.rb +1 -2
- data/lib/turnkey_client.rb +41 -1
- data/turnkey_client-0.0.3.gem +0 -0
- data/turnkey_client-0.0.4.gem +0 -0
- data/turnkey_client.gemspec +0 -1
- metadata +45 -2
checksums.yaml
CHANGED
@@ -1,7 +1,7 @@
|
|
1
1
|
---
|
2
2
|
SHA256:
|
3
|
-
metadata.gz:
|
4
|
-
data.tar.gz:
|
3
|
+
metadata.gz: 319944386506e66125f28a1814339fbdf93ec7a7a784ec4ad95a77f13b59f5a0
|
4
|
+
data.tar.gz: e90992727c95eccd9de55daaf3ee085242171ae37f176f00fcc44589e77e5fad
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
6
|
+
metadata.gz: 3b3e9c925b5e0503250f2c5a9034bcfa13a6b6d9afdc648b90425b53fb9c8dba86f020305d3d0ab357a1be78e17af94adc1c03cdc0df369e5538d79c2f0e39b5
|
7
|
+
data.tar.gz: ff7c8c59e148c28ecf967e0b043df8b0f122023674f34afcdf9ca9f5b8bd15a2837ac68d07331f4a1e0811acc66db5c358e96885c08e9d9d419d202de6ba48b1
|
@@ -6,7 +6,6 @@
|
|
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.54
|
10
9
|
=end
|
11
10
|
|
12
11
|
module TurnkeyClient
|
@@ -74,6 +73,64 @@ module TurnkeyClient
|
|
74
73
|
end
|
75
74
|
return data, status_code, headers
|
76
75
|
end
|
76
|
+
# Get Configs
|
77
|
+
# Get quorum settings and features for an organization
|
78
|
+
# @param body
|
79
|
+
# @param [Hash] opts the optional parameters
|
80
|
+
# @return [GetOrganizationConfigsResponse]
|
81
|
+
def get_organization_configs(body, opts = {})
|
82
|
+
data, _status_code, _headers = get_organization_configs_with_http_info(body, opts)
|
83
|
+
data
|
84
|
+
end
|
85
|
+
|
86
|
+
# Get Configs
|
87
|
+
# Get quorum settings and features for an organization
|
88
|
+
# @param body
|
89
|
+
# @param [Hash] opts the optional parameters
|
90
|
+
# @return [Array<(GetOrganizationConfigsResponse, Integer, Hash)>] GetOrganizationConfigsResponse data, response status code and response headers
|
91
|
+
def get_organization_configs_with_http_info(body, opts = {})
|
92
|
+
if @api_client.config.debugging
|
93
|
+
@api_client.config.logger.debug 'Calling API: OrganizationsApi.get_organization_configs ...'
|
94
|
+
end
|
95
|
+
# verify the required parameter 'body' is set
|
96
|
+
if @api_client.config.client_side_validation && body.nil?
|
97
|
+
fail ArgumentError, "Missing the required parameter 'body' when calling OrganizationsApi.get_organization_configs"
|
98
|
+
end
|
99
|
+
# resource path
|
100
|
+
local_var_path = '/public/v1/query/get_organization_configs'
|
101
|
+
|
102
|
+
# query parameters
|
103
|
+
query_params = opts[:query_params] || {}
|
104
|
+
|
105
|
+
# header parameters
|
106
|
+
header_params = opts[:header_params] || {}
|
107
|
+
# HTTP header 'Accept' (if needed)
|
108
|
+
header_params['Accept'] = @api_client.select_header_accept(['application/json'])
|
109
|
+
# HTTP header 'Content-Type'
|
110
|
+
header_params['Content-Type'] = @api_client.select_header_content_type(['application/json'])
|
111
|
+
|
112
|
+
# form parameters
|
113
|
+
form_params = opts[:form_params] || {}
|
114
|
+
|
115
|
+
# http body (model)
|
116
|
+
post_body = opts[:body] || @api_client.object_to_http_body(body)
|
117
|
+
|
118
|
+
return_type = opts[:return_type] || 'GetOrganizationConfigsResponse'
|
119
|
+
|
120
|
+
auth_names = opts[:auth_names] || ['ApiKeyAuth', 'AuthenticatorAuth']
|
121
|
+
data, status_code, headers = @api_client.call_api(:POST, local_var_path,
|
122
|
+
:header_params => header_params,
|
123
|
+
:query_params => query_params,
|
124
|
+
:form_params => form_params,
|
125
|
+
:body => post_body,
|
126
|
+
:auth_names => auth_names,
|
127
|
+
:return_type => return_type)
|
128
|
+
|
129
|
+
if @api_client.config.debugging
|
130
|
+
@api_client.config.logger.debug "API called: OrganizationsApi#get_organization_configs\nData: #{data.inspect}\nStatus code: #{status_code}\nHeaders: #{headers}"
|
131
|
+
end
|
132
|
+
return data, status_code, headers
|
133
|
+
end
|
77
134
|
# Get Suborgs
|
78
135
|
# Get all suborg IDs associated given a parent org ID and an optional filter.
|
79
136
|
# @param body
|
@@ -6,7 +6,6 @@
|
|
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.54
|
10
9
|
=end
|
11
10
|
|
12
11
|
module TurnkeyClient
|
@@ -16,6 +15,64 @@ module TurnkeyClient
|
|
16
15
|
def initialize(api_client = ApiClient.default)
|
17
16
|
@api_client = api_client
|
18
17
|
end
|
18
|
+
# Create Policies
|
19
|
+
# Create new Policies
|
20
|
+
# @param body
|
21
|
+
# @param [Hash] opts the optional parameters
|
22
|
+
# @return [ActivityResponse]
|
23
|
+
def create_policies(body, opts = {})
|
24
|
+
data, _status_code, _headers = create_policies_with_http_info(body, opts)
|
25
|
+
data
|
26
|
+
end
|
27
|
+
|
28
|
+
# Create Policies
|
29
|
+
# Create new Policies
|
30
|
+
# @param body
|
31
|
+
# @param [Hash] opts the optional parameters
|
32
|
+
# @return [Array<(ActivityResponse, Integer, Hash)>] ActivityResponse data, response status code and response headers
|
33
|
+
def create_policies_with_http_info(body, opts = {})
|
34
|
+
if @api_client.config.debugging
|
35
|
+
@api_client.config.logger.debug 'Calling API: PoliciesApi.create_policies ...'
|
36
|
+
end
|
37
|
+
# verify the required parameter 'body' is set
|
38
|
+
if @api_client.config.client_side_validation && body.nil?
|
39
|
+
fail ArgumentError, "Missing the required parameter 'body' when calling PoliciesApi.create_policies"
|
40
|
+
end
|
41
|
+
# resource path
|
42
|
+
local_var_path = '/public/v1/submit/create_policies'
|
43
|
+
|
44
|
+
# query parameters
|
45
|
+
query_params = opts[:query_params] || {}
|
46
|
+
|
47
|
+
# header parameters
|
48
|
+
header_params = opts[:header_params] || {}
|
49
|
+
# HTTP header 'Accept' (if needed)
|
50
|
+
header_params['Accept'] = @api_client.select_header_accept(['application/json'])
|
51
|
+
# HTTP header 'Content-Type'
|
52
|
+
header_params['Content-Type'] = @api_client.select_header_content_type(['application/json'])
|
53
|
+
|
54
|
+
# form parameters
|
55
|
+
form_params = opts[:form_params] || {}
|
56
|
+
|
57
|
+
# http body (model)
|
58
|
+
post_body = opts[:body] || @api_client.object_to_http_body(body)
|
59
|
+
|
60
|
+
return_type = opts[:return_type] || 'ActivityResponse'
|
61
|
+
|
62
|
+
auth_names = opts[:auth_names] || ['ApiKeyAuth', 'AuthenticatorAuth']
|
63
|
+
data, status_code, headers = @api_client.call_api(:POST, local_var_path,
|
64
|
+
:header_params => header_params,
|
65
|
+
:query_params => query_params,
|
66
|
+
:form_params => form_params,
|
67
|
+
:body => post_body,
|
68
|
+
:auth_names => auth_names,
|
69
|
+
:return_type => return_type)
|
70
|
+
|
71
|
+
if @api_client.config.debugging
|
72
|
+
@api_client.config.logger.debug "API called: PoliciesApi#create_policies\nData: #{data.inspect}\nStatus code: #{status_code}\nHeaders: #{headers}"
|
73
|
+
end
|
74
|
+
return data, status_code, headers
|
75
|
+
end
|
19
76
|
# Create Policy
|
20
77
|
# Create a new Policy
|
21
78
|
# @param body
|
@@ -6,7 +6,6 @@
|
|
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.54
|
10
9
|
=end
|
11
10
|
|
12
11
|
module TurnkeyClient
|
@@ -16,8 +15,124 @@ module TurnkeyClient
|
|
16
15
|
def initialize(api_client = ApiClient.default)
|
17
16
|
@api_client = api_client
|
18
17
|
end
|
18
|
+
# Create Read Only Session
|
19
|
+
# Create a read only session for a user (valid for 1 hour)
|
20
|
+
# @param body
|
21
|
+
# @param [Hash] opts the optional parameters
|
22
|
+
# @return [ActivityResponse]
|
23
|
+
def create_read_only_session(body, opts = {})
|
24
|
+
data, _status_code, _headers = create_read_only_session_with_http_info(body, opts)
|
25
|
+
data
|
26
|
+
end
|
27
|
+
|
28
|
+
# Create Read Only Session
|
29
|
+
# Create a read only session for a user (valid for 1 hour)
|
30
|
+
# @param body
|
31
|
+
# @param [Hash] opts the optional parameters
|
32
|
+
# @return [Array<(ActivityResponse, Integer, Hash)>] ActivityResponse data, response status code and response headers
|
33
|
+
def create_read_only_session_with_http_info(body, opts = {})
|
34
|
+
if @api_client.config.debugging
|
35
|
+
@api_client.config.logger.debug 'Calling API: SessionsApi.create_read_only_session ...'
|
36
|
+
end
|
37
|
+
# verify the required parameter 'body' is set
|
38
|
+
if @api_client.config.client_side_validation && body.nil?
|
39
|
+
fail ArgumentError, "Missing the required parameter 'body' when calling SessionsApi.create_read_only_session"
|
40
|
+
end
|
41
|
+
# resource path
|
42
|
+
local_var_path = '/public/v1/submit/create_read_only_session'
|
43
|
+
|
44
|
+
# query parameters
|
45
|
+
query_params = opts[:query_params] || {}
|
46
|
+
|
47
|
+
# header parameters
|
48
|
+
header_params = opts[:header_params] || {}
|
49
|
+
# HTTP header 'Accept' (if needed)
|
50
|
+
header_params['Accept'] = @api_client.select_header_accept(['application/json'])
|
51
|
+
# HTTP header 'Content-Type'
|
52
|
+
header_params['Content-Type'] = @api_client.select_header_content_type(['application/json'])
|
53
|
+
|
54
|
+
# form parameters
|
55
|
+
form_params = opts[:form_params] || {}
|
56
|
+
|
57
|
+
# http body (model)
|
58
|
+
post_body = opts[:body] || @api_client.object_to_http_body(body)
|
59
|
+
|
60
|
+
return_type = opts[:return_type] || 'ActivityResponse'
|
61
|
+
|
62
|
+
auth_names = opts[:auth_names] || ['ApiKeyAuth', 'AuthenticatorAuth']
|
63
|
+
data, status_code, headers = @api_client.call_api(:POST, local_var_path,
|
64
|
+
:header_params => header_params,
|
65
|
+
:query_params => query_params,
|
66
|
+
:form_params => form_params,
|
67
|
+
:body => post_body,
|
68
|
+
:auth_names => auth_names,
|
69
|
+
:return_type => return_type)
|
70
|
+
|
71
|
+
if @api_client.config.debugging
|
72
|
+
@api_client.config.logger.debug "API called: SessionsApi#create_read_only_session\nData: #{data.inspect}\nStatus code: #{status_code}\nHeaders: #{headers}"
|
73
|
+
end
|
74
|
+
return data, status_code, headers
|
75
|
+
end
|
76
|
+
# Create Read Write Session
|
77
|
+
# Create a read write session for a user
|
78
|
+
# @param body
|
79
|
+
# @param [Hash] opts the optional parameters
|
80
|
+
# @return [ActivityResponse]
|
81
|
+
def create_read_write_session(body, opts = {})
|
82
|
+
data, _status_code, _headers = create_read_write_session_with_http_info(body, opts)
|
83
|
+
data
|
84
|
+
end
|
85
|
+
|
86
|
+
# Create Read Write Session
|
87
|
+
# Create a read write session for a user
|
88
|
+
# @param body
|
89
|
+
# @param [Hash] opts the optional parameters
|
90
|
+
# @return [Array<(ActivityResponse, Integer, Hash)>] ActivityResponse data, response status code and response headers
|
91
|
+
def create_read_write_session_with_http_info(body, opts = {})
|
92
|
+
if @api_client.config.debugging
|
93
|
+
@api_client.config.logger.debug 'Calling API: SessionsApi.create_read_write_session ...'
|
94
|
+
end
|
95
|
+
# verify the required parameter 'body' is set
|
96
|
+
if @api_client.config.client_side_validation && body.nil?
|
97
|
+
fail ArgumentError, "Missing the required parameter 'body' when calling SessionsApi.create_read_write_session"
|
98
|
+
end
|
99
|
+
# resource path
|
100
|
+
local_var_path = '/public/v1/submit/create_read_write_session'
|
101
|
+
|
102
|
+
# query parameters
|
103
|
+
query_params = opts[:query_params] || {}
|
104
|
+
|
105
|
+
# header parameters
|
106
|
+
header_params = opts[:header_params] || {}
|
107
|
+
# HTTP header 'Accept' (if needed)
|
108
|
+
header_params['Accept'] = @api_client.select_header_accept(['application/json'])
|
109
|
+
# HTTP header 'Content-Type'
|
110
|
+
header_params['Content-Type'] = @api_client.select_header_content_type(['application/json'])
|
111
|
+
|
112
|
+
# form parameters
|
113
|
+
form_params = opts[:form_params] || {}
|
114
|
+
|
115
|
+
# http body (model)
|
116
|
+
post_body = opts[:body] || @api_client.object_to_http_body(body)
|
117
|
+
|
118
|
+
return_type = opts[:return_type] || 'ActivityResponse'
|
119
|
+
|
120
|
+
auth_names = opts[:auth_names] || ['ApiKeyAuth', 'AuthenticatorAuth']
|
121
|
+
data, status_code, headers = @api_client.call_api(:POST, local_var_path,
|
122
|
+
:header_params => header_params,
|
123
|
+
:query_params => query_params,
|
124
|
+
:form_params => form_params,
|
125
|
+
:body => post_body,
|
126
|
+
:auth_names => auth_names,
|
127
|
+
:return_type => return_type)
|
128
|
+
|
129
|
+
if @api_client.config.debugging
|
130
|
+
@api_client.config.logger.debug "API called: SessionsApi#create_read_write_session\nData: #{data.inspect}\nStatus code: #{status_code}\nHeaders: #{headers}"
|
131
|
+
end
|
132
|
+
return data, status_code, headers
|
133
|
+
end
|
19
134
|
# Who am I?
|
20
|
-
# Get basic information about your current API or WebAuthN user and their organization. Affords Sub-Organization look ups via Parent Organization for WebAuthN users.
|
135
|
+
# Get basic information about your current API or WebAuthN user and their organization. Affords Sub-Organization look ups via Parent Organization for WebAuthN or API key users.
|
21
136
|
# @param body
|
22
137
|
# @param [Hash] opts the optional parameters
|
23
138
|
# @return [GetWhoamiResponse]
|
@@ -27,7 +142,7 @@ module TurnkeyClient
|
|
27
142
|
end
|
28
143
|
|
29
144
|
# Who am I?
|
30
|
-
# Get basic information about your current API or WebAuthN user and their organization. Affords Sub-Organization look ups via Parent Organization for WebAuthN users.
|
145
|
+
# Get basic information about your current API or WebAuthN user and their organization. Affords Sub-Organization look ups via Parent Organization for WebAuthN or API key users.
|
31
146
|
# @param body
|
32
147
|
# @param [Hash] opts the optional parameters
|
33
148
|
# @return [Array<(GetWhoamiResponse, Integer, Hash)>] GetWhoamiResponse data, response status code and response headers
|
@@ -6,7 +6,6 @@
|
|
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.54
|
10
9
|
=end
|
11
10
|
|
12
11
|
module TurnkeyClient
|
@@ -74,6 +73,64 @@ module TurnkeyClient
|
|
74
73
|
end
|
75
74
|
return data, status_code, headers
|
76
75
|
end
|
76
|
+
# Sign Raw Payloads
|
77
|
+
# Sign multiple raw payloads with the same signing parameters
|
78
|
+
# @param body
|
79
|
+
# @param [Hash] opts the optional parameters
|
80
|
+
# @return [ActivityResponse]
|
81
|
+
def sign_raw_payloads(body, opts = {})
|
82
|
+
data, _status_code, _headers = sign_raw_payloads_with_http_info(body, opts)
|
83
|
+
data
|
84
|
+
end
|
85
|
+
|
86
|
+
# Sign Raw Payloads
|
87
|
+
# Sign multiple raw payloads with the same signing parameters
|
88
|
+
# @param body
|
89
|
+
# @param [Hash] opts the optional parameters
|
90
|
+
# @return [Array<(ActivityResponse, Integer, Hash)>] ActivityResponse data, response status code and response headers
|
91
|
+
def sign_raw_payloads_with_http_info(body, opts = {})
|
92
|
+
if @api_client.config.debugging
|
93
|
+
@api_client.config.logger.debug 'Calling API: SigningApi.sign_raw_payloads ...'
|
94
|
+
end
|
95
|
+
# verify the required parameter 'body' is set
|
96
|
+
if @api_client.config.client_side_validation && body.nil?
|
97
|
+
fail ArgumentError, "Missing the required parameter 'body' when calling SigningApi.sign_raw_payloads"
|
98
|
+
end
|
99
|
+
# resource path
|
100
|
+
local_var_path = '/public/v1/submit/sign_raw_payloads'
|
101
|
+
|
102
|
+
# query parameters
|
103
|
+
query_params = opts[:query_params] || {}
|
104
|
+
|
105
|
+
# header parameters
|
106
|
+
header_params = opts[:header_params] || {}
|
107
|
+
# HTTP header 'Accept' (if needed)
|
108
|
+
header_params['Accept'] = @api_client.select_header_accept(['application/json'])
|
109
|
+
# HTTP header 'Content-Type'
|
110
|
+
header_params['Content-Type'] = @api_client.select_header_content_type(['application/json'])
|
111
|
+
|
112
|
+
# form parameters
|
113
|
+
form_params = opts[:form_params] || {}
|
114
|
+
|
115
|
+
# http body (model)
|
116
|
+
post_body = opts[:body] || @api_client.object_to_http_body(body)
|
117
|
+
|
118
|
+
return_type = opts[:return_type] || 'ActivityResponse'
|
119
|
+
|
120
|
+
auth_names = opts[:auth_names] || ['ApiKeyAuth', 'AuthenticatorAuth']
|
121
|
+
data, status_code, headers = @api_client.call_api(:POST, local_var_path,
|
122
|
+
:header_params => header_params,
|
123
|
+
:query_params => query_params,
|
124
|
+
:form_params => form_params,
|
125
|
+
:body => post_body,
|
126
|
+
:auth_names => auth_names,
|
127
|
+
:return_type => return_type)
|
128
|
+
|
129
|
+
if @api_client.config.debugging
|
130
|
+
@api_client.config.logger.debug "API called: SigningApi#sign_raw_payloads\nData: #{data.inspect}\nStatus code: #{status_code}\nHeaders: #{headers}"
|
131
|
+
end
|
132
|
+
return data, status_code, headers
|
133
|
+
end
|
77
134
|
# Sign Transaction
|
78
135
|
# Sign a transaction
|
79
136
|
# @param body
|