turnkey_client 0.0.14 → 0.0.17
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/.gitignore +39 -0
- data/.rspec +2 -0
- data/.swagger-codegen/VERSION +1 -0
- data/.swagger-codegen-ignore +23 -0
- data/lib/turnkey_client/api/app_proof_api.rb +77 -0
- data/lib/turnkey_client/api/boot_proof_api.rb +135 -0
- data/lib/turnkey_client/api/broadcasting_api.rb +251 -0
- data/lib/turnkey_client/api/default_api.rb +77 -0
- data/lib/turnkey_client/api/on_ramp_api.rb +290 -0
- data/lib/turnkey_client/api/policies_api.rb +58 -0
- data/lib/turnkey_client/api/send_transactions_api.rb +77 -0
- data/lib/turnkey_client/api/user_auth_api.rb +290 -0
- data/lib/turnkey_client/api/wallets_api.rb +58 -0
- data/lib/turnkey_client/models/activity.rb +13 -1
- data/lib/turnkey_client/models/activity_type.rb +23 -0
- data/lib/turnkey_client/models/app_proof.rb +255 -0
- data/lib/turnkey_client/models/approve_activity_request.rb +14 -4
- data/lib/turnkey_client/models/boot_proof.rb +315 -0
- data/lib/turnkey_client/models/boot_proof_response.rb +210 -0
- data/lib/turnkey_client/models/client_signature.rb +255 -0
- data/lib/turnkey_client/models/client_signature_scheme.rb +26 -0
- data/lib/turnkey_client/models/common_v1_policy_evaluation.rb +214 -0
- data/lib/turnkey_client/models/create_api_keys_request.rb +14 -4
- data/lib/turnkey_client/models/create_authenticators_request.rb +14 -4
- data/lib/turnkey_client/models/create_fiat_on_ramp_credential_intent.rb +272 -0
- data/lib/turnkey_client/models/create_fiat_on_ramp_credential_request.rb +298 -0
- data/lib/turnkey_client/models/create_fiat_on_ramp_credential_result.rb +211 -0
- data/lib/turnkey_client/models/create_invitations_request.rb +14 -4
- data/lib/turnkey_client/models/create_oauth2_credential_intent.rb +240 -0
- data/lib/turnkey_client/models/create_oauth2_credential_request.rb +298 -0
- data/lib/turnkey_client/models/create_oauth2_credential_result.rb +211 -0
- data/lib/turnkey_client/models/create_oauth_providers_request.rb +14 -4
- data/lib/turnkey_client/models/create_policies_request.rb +14 -4
- data/lib/turnkey_client/models/create_policy_intent_v3.rb +6 -0
- data/lib/turnkey_client/models/create_policy_request.rb +14 -4
- data/lib/turnkey_client/models/create_private_key_tag_request.rb +14 -4
- data/lib/turnkey_client/models/create_private_keys_request.rb +14 -4
- data/lib/turnkey_client/models/create_read_only_session_request.rb +14 -4
- data/lib/turnkey_client/models/create_read_write_session_request.rb +14 -4
- data/lib/turnkey_client/models/create_smart_contract_interface_intent.rb +1 -1
- data/lib/turnkey_client/models/create_smart_contract_interface_request.rb +14 -4
- data/lib/turnkey_client/models/create_sub_organization_intent_v7.rb +25 -5
- data/lib/turnkey_client/models/create_sub_organization_request.rb +14 -4
- data/lib/turnkey_client/models/create_tvc_app_intent.rb +277 -0
- data/lib/turnkey_client/models/create_tvc_app_result.rb +258 -0
- data/lib/turnkey_client/models/create_tvc_deployment_intent.rb +346 -0
- data/lib/turnkey_client/models/create_tvc_deployment_result.rb +226 -0
- data/lib/turnkey_client/models/create_tvc_manifest_approvals_intent.rb +228 -0
- data/lib/turnkey_client/models/create_tvc_manifest_approvals_result.rb +213 -0
- data/lib/turnkey_client/models/create_user_tag_request.rb +14 -4
- data/lib/turnkey_client/models/create_users_request.rb +14 -4
- data/lib/turnkey_client/models/create_wallet_accounts_intent.rb +15 -4
- data/lib/turnkey_client/models/create_wallet_accounts_request.rb +14 -4
- data/lib/turnkey_client/models/create_wallet_request.rb +14 -4
- data/lib/turnkey_client/models/curve.rb +1 -0
- data/lib/turnkey_client/models/custom_revert_error.rb +218 -0
- data/lib/turnkey_client/models/data_v1_signature_scheme.rb +26 -0
- data/lib/turnkey_client/models/delete_api_keys_request.rb +14 -4
- data/lib/turnkey_client/models/delete_authenticators_request.rb +14 -4
- data/lib/turnkey_client/models/delete_fiat_on_ramp_credential_intent.rb +211 -0
- data/lib/turnkey_client/models/delete_fiat_on_ramp_credential_request.rb +298 -0
- data/lib/turnkey_client/models/delete_fiat_on_ramp_credential_result.rb +211 -0
- data/lib/turnkey_client/models/delete_invitation_request.rb +14 -4
- data/lib/turnkey_client/models/delete_oauth2_credential_intent.rb +211 -0
- data/lib/turnkey_client/models/delete_oauth2_credential_request.rb +298 -0
- data/lib/turnkey_client/models/delete_oauth2_credential_result.rb +211 -0
- data/lib/turnkey_client/models/delete_oauth_providers_request.rb +14 -4
- data/lib/turnkey_client/models/delete_policies_intent.rb +213 -0
- data/lib/turnkey_client/models/delete_policies_request.rb +298 -0
- data/lib/turnkey_client/models/delete_policies_result.rb +213 -0
- data/lib/turnkey_client/models/delete_policy_request.rb +14 -4
- data/lib/turnkey_client/models/delete_private_key_tags_request.rb +14 -4
- data/lib/turnkey_client/models/delete_private_keys_request.rb +14 -4
- data/lib/turnkey_client/models/delete_smart_contract_interface_request.rb +14 -4
- data/lib/turnkey_client/models/delete_sub_organization_request.rb +14 -4
- data/lib/turnkey_client/models/delete_user_tags_request.rb +14 -4
- data/lib/turnkey_client/models/delete_users_request.rb +14 -4
- data/lib/turnkey_client/models/delete_wallet_accounts_intent.rb +224 -0
- data/lib/turnkey_client/models/delete_wallet_accounts_request.rb +298 -0
- data/lib/turnkey_client/models/delete_wallet_accounts_result.rb +213 -0
- data/lib/turnkey_client/models/delete_wallets_request.rb +14 -4
- data/lib/turnkey_client/models/disable_auth_proxy_intent.rb +196 -0
- data/lib/turnkey_client/models/disable_auth_proxy_result.rb +196 -0
- data/lib/turnkey_client/models/email_auth_customization_params.rb +255 -0
- data/lib/turnkey_client/models/email_auth_intent_v3.rb +306 -0
- data/lib/turnkey_client/models/email_auth_request.rb +16 -6
- data/lib/turnkey_client/models/email_customization_params_v2.rb +240 -0
- data/lib/turnkey_client/models/enable_auth_proxy_intent.rb +196 -0
- data/lib/turnkey_client/models/enable_auth_proxy_result.rb +211 -0
- data/lib/turnkey_client/models/eth_send_raw_transaction_intent.rb +260 -0
- data/lib/turnkey_client/models/eth_send_raw_transaction_result.rb +211 -0
- data/lib/turnkey_client/models/eth_send_transaction_intent.rb +363 -0
- data/lib/turnkey_client/models/eth_send_transaction_request.rb +298 -0
- data/lib/turnkey_client/models/eth_send_transaction_result.rb +211 -0
- data/lib/turnkey_client/models/eth_send_transaction_status.rb +207 -0
- data/lib/turnkey_client/models/export_private_key_request.rb +14 -4
- data/lib/turnkey_client/models/export_wallet_account_request.rb +14 -4
- data/lib/turnkey_client/models/export_wallet_request.rb +14 -4
- data/lib/turnkey_client/models/feature_name.rb +1 -0
- data/lib/turnkey_client/models/fiat_on_ramp_credential.rb +330 -0
- data/lib/turnkey_client/models/get_app_proofs_request.rb +226 -0
- data/lib/turnkey_client/models/get_app_proofs_response.rb +212 -0
- data/lib/turnkey_client/models/get_boot_proof_request.rb +226 -0
- data/lib/turnkey_client/models/get_gas_usage_request.rb +211 -0
- data/lib/turnkey_client/models/get_gas_usage_response.rb +241 -0
- data/lib/turnkey_client/models/get_latest_boot_proof_request.rb +226 -0
- data/lib/turnkey_client/models/get_nonces_request.rb +261 -0
- data/lib/turnkey_client/models/get_nonces_response.rb +218 -0
- data/lib/turnkey_client/models/get_oauth2_credential_request.rb +226 -0
- data/lib/turnkey_client/models/get_oauth2_credential_response.rb +210 -0
- data/lib/turnkey_client/models/get_on_ramp_transaction_status_request.rb +237 -0
- data/lib/turnkey_client/models/get_on_ramp_transaction_status_response.rb +211 -0
- data/lib/turnkey_client/models/get_send_transaction_status_request.rb +226 -0
- data/lib/turnkey_client/models/get_send_transaction_status_response.rb +240 -0
- data/lib/turnkey_client/models/get_wallet_accounts_request.rb +12 -1
- data/lib/turnkey_client/models/import_private_key_request.rb +14 -4
- data/lib/turnkey_client/models/import_wallet_request.rb +14 -4
- data/lib/turnkey_client/models/init_fiat_on_ramp_intent.rb +16 -5
- data/lib/turnkey_client/models/init_fiat_on_ramp_request.rb +14 -4
- data/lib/turnkey_client/models/init_fiat_on_ramp_result.rb +14 -4
- data/lib/turnkey_client/models/init_import_private_key_request.rb +14 -4
- data/lib/turnkey_client/models/init_import_wallet_request.rb +14 -4
- data/lib/turnkey_client/models/init_otp_auth_intent_v3.rb +336 -0
- data/lib/turnkey_client/models/init_otp_auth_request.rb +16 -6
- data/lib/turnkey_client/models/init_otp_intent_v2.rb +336 -0
- data/lib/turnkey_client/models/init_otp_request.rb +16 -6
- data/lib/turnkey_client/models/init_user_email_recovery_intent.rb +37 -4
- data/lib/turnkey_client/models/init_user_email_recovery_intent_v2.rb +284 -0
- data/lib/turnkey_client/models/init_user_email_recovery_request.rb +16 -6
- data/lib/turnkey_client/models/intent.rb +211 -4
- data/lib/turnkey_client/models/list_fiat_on_ramp_credentials_request.rb +211 -0
- data/lib/turnkey_client/models/list_fiat_on_ramp_credentials_response.rb +212 -0
- data/lib/turnkey_client/models/list_oauth2_credentials_request.rb +211 -0
- data/lib/turnkey_client/models/list_oauth2_credentials_response.rb +212 -0
- data/lib/turnkey_client/models/native_revert_error.rb +229 -0
- data/lib/turnkey_client/models/oauth2_authenticate_intent.rb +278 -0
- data/lib/turnkey_client/models/oauth2_authenticate_request.rb +298 -0
- data/lib/turnkey_client/models/oauth2_authenticate_result.rb +211 -0
- data/lib/turnkey_client/models/oauth2_credential.rb +298 -0
- data/lib/turnkey_client/models/oauth2_provider.rb +27 -0
- data/lib/turnkey_client/models/oauth_login_request.rb +14 -4
- data/lib/turnkey_client/models/oauth_request.rb +14 -4
- data/lib/turnkey_client/models/otp_auth_request.rb +14 -4
- data/lib/turnkey_client/models/otp_login_intent.rb +14 -5
- data/lib/turnkey_client/models/otp_login_request.rb +14 -4
- data/lib/turnkey_client/models/payload_encoding.rb +1 -0
- data/lib/turnkey_client/models/recover_user_request.rb +14 -4
- data/lib/turnkey_client/models/reject_activity_request.rb +14 -4
- data/lib/turnkey_client/models/remove_organization_feature_request.rb +14 -4
- data/lib/turnkey_client/models/result.rb +175 -4
- data/lib/turnkey_client/models/revert_chain_entry.rb +253 -0
- data/lib/turnkey_client/models/set_organization_feature_request.rb +14 -4
- data/lib/turnkey_client/models/sign_raw_payload_request.rb +14 -4
- data/lib/turnkey_client/models/sign_raw_payloads_request.rb +14 -4
- data/lib/turnkey_client/models/sign_transaction_request.rb +14 -4
- data/lib/turnkey_client/models/signature_scheme.rb +26 -0
- data/lib/turnkey_client/models/smart_contract_interface.rb +329 -0
- data/lib/turnkey_client/models/sol_send_transaction_intent.rb +297 -0
- data/lib/turnkey_client/models/sol_send_transaction_request.rb +298 -0
- data/lib/turnkey_client/models/sol_send_transaction_result.rb +211 -0
- data/lib/turnkey_client/models/stamp_login_request.rb +14 -4
- data/lib/turnkey_client/models/transaction_type.rb +2 -0
- data/lib/turnkey_client/models/tvc_manifest_approval.rb +226 -0
- data/lib/turnkey_client/models/tvc_operator_params.rb +226 -0
- data/lib/turnkey_client/models/tvc_operator_set_params.rb +250 -0
- data/lib/turnkey_client/models/tx_error.rb +218 -0
- data/lib/turnkey_client/models/unknown_revert_error.rb +218 -0
- data/lib/turnkey_client/models/update_auth_proxy_config_intent.rb +368 -0
- data/lib/turnkey_client/models/update_auth_proxy_config_result.rb +206 -0
- data/lib/turnkey_client/models/update_fiat_on_ramp_credential_intent.rb +277 -0
- data/lib/turnkey_client/models/update_fiat_on_ramp_credential_request.rb +298 -0
- data/lib/turnkey_client/models/update_fiat_on_ramp_credential_result.rb +211 -0
- data/lib/turnkey_client/models/update_oauth2_credential_intent.rb +255 -0
- data/lib/turnkey_client/models/update_oauth2_credential_request.rb +298 -0
- data/lib/turnkey_client/models/update_oauth2_credential_result.rb +211 -0
- data/lib/turnkey_client/models/update_policy_request.rb +14 -4
- data/lib/turnkey_client/models/update_private_key_tag_request.rb +14 -4
- data/lib/turnkey_client/models/update_root_quorum_request.rb +14 -4
- data/lib/turnkey_client/models/update_user_email_request.rb +14 -4
- data/lib/turnkey_client/models/update_user_name_request.rb +14 -4
- data/lib/turnkey_client/models/update_user_phone_number_request.rb +14 -4
- data/lib/turnkey_client/models/update_user_request.rb +14 -4
- data/lib/turnkey_client/models/update_user_tag_request.rb +14 -4
- data/lib/turnkey_client/models/update_wallet_request.rb +14 -4
- data/lib/turnkey_client/models/upsert_gas_usage_config_intent.rb +241 -0
- data/lib/turnkey_client/models/upsert_gas_usage_config_result.rb +211 -0
- data/lib/turnkey_client/models/verify_otp_intent.rb +16 -5
- data/lib/turnkey_client/models/verify_otp_request.rb +14 -4
- data/lib/turnkey_client/models/wallet_account.rb +14 -5
- data/lib/turnkey_client/models/wallet_kit_settings_params.rb +230 -0
- data/lib/turnkey_client/version.rb +1 -1
- data/lib/turnkey_client.rb +98 -1
- data/turnkey_client.gemspec +1 -1
- metadata +128 -32
- data/turnkey_client-0.0.12.gem +0 -0
- data/turnkey_client-0.0.13.gem +0 -0
- data/turnkey_client-0.0.2.gem +0 -0
- data/turnkey_client-0.0.3.gem +0 -0
- data/turnkey_client-0.0.4.gem +0 -0
- data/turnkey_client-0.0.7.gem +0 -0
- data/turnkey_client-0.0.8.gem +0 -0
- data/turnkey_client-0.0.9.gem +0 -0
|
@@ -0,0 +1,284 @@
|
|
|
1
|
+
=begin
|
|
2
|
+
#API Reference
|
|
3
|
+
|
|
4
|
+
#Review our [API Introduction](../api-introduction) to get started.
|
|
5
|
+
|
|
6
|
+
OpenAPI spec version: 1.0
|
|
7
|
+
|
|
8
|
+
Generated by: https://github.com/swagger-api/swagger-codegen.git
|
|
9
|
+
=end
|
|
10
|
+
|
|
11
|
+
require 'date'
|
|
12
|
+
|
|
13
|
+
module TurnkeyClient
|
|
14
|
+
class InitUserEmailRecoveryIntentV2
|
|
15
|
+
# Email of the user starting recovery
|
|
16
|
+
attr_accessor :email
|
|
17
|
+
|
|
18
|
+
# Client-side public key generated by the user, to which the recovery bundle will be encrypted.
|
|
19
|
+
attr_accessor :target_public_key
|
|
20
|
+
|
|
21
|
+
# Expiration window (in seconds) indicating how long the recovery credential is valid for. If not provided, a default of 15 minutes will be used.
|
|
22
|
+
attr_accessor :expiration_seconds
|
|
23
|
+
|
|
24
|
+
attr_accessor :email_customization
|
|
25
|
+
|
|
26
|
+
# Optional custom email address from which to send the OTP email
|
|
27
|
+
attr_accessor :send_from_email_address
|
|
28
|
+
|
|
29
|
+
# Optional custom sender name for use with sendFromEmailAddress; if left empty, will default to 'Notifications'
|
|
30
|
+
attr_accessor :send_from_email_sender_name
|
|
31
|
+
|
|
32
|
+
# Optional custom email address to use as reply-to
|
|
33
|
+
attr_accessor :reply_to_email_address
|
|
34
|
+
|
|
35
|
+
# Attribute mapping from ruby-style variable name to JSON key.
|
|
36
|
+
def self.attribute_map
|
|
37
|
+
{
|
|
38
|
+
:'email' => :'email',
|
|
39
|
+
:'target_public_key' => :'targetPublicKey',
|
|
40
|
+
:'expiration_seconds' => :'expirationSeconds',
|
|
41
|
+
:'email_customization' => :'emailCustomization',
|
|
42
|
+
:'send_from_email_address' => :'sendFromEmailAddress',
|
|
43
|
+
:'send_from_email_sender_name' => :'sendFromEmailSenderName',
|
|
44
|
+
:'reply_to_email_address' => :'replyToEmailAddress'
|
|
45
|
+
}
|
|
46
|
+
end
|
|
47
|
+
|
|
48
|
+
# Attribute type mapping.
|
|
49
|
+
def self.openapi_types
|
|
50
|
+
{
|
|
51
|
+
:'email' => :'Object',
|
|
52
|
+
:'target_public_key' => :'Object',
|
|
53
|
+
:'expiration_seconds' => :'Object',
|
|
54
|
+
:'email_customization' => :'Object',
|
|
55
|
+
:'send_from_email_address' => :'Object',
|
|
56
|
+
:'send_from_email_sender_name' => :'Object',
|
|
57
|
+
:'reply_to_email_address' => :'Object'
|
|
58
|
+
}
|
|
59
|
+
end
|
|
60
|
+
|
|
61
|
+
# List of attributes with nullable: true
|
|
62
|
+
def self.openapi_nullable
|
|
63
|
+
Set.new([
|
|
64
|
+
:'expiration_seconds',
|
|
65
|
+
:'send_from_email_address',
|
|
66
|
+
:'send_from_email_sender_name',
|
|
67
|
+
:'reply_to_email_address'
|
|
68
|
+
])
|
|
69
|
+
end
|
|
70
|
+
|
|
71
|
+
# Initializes the object
|
|
72
|
+
# @param [Hash] attributes Model attributes in the form of hash
|
|
73
|
+
def initialize(attributes = {})
|
|
74
|
+
if (!attributes.is_a?(Hash))
|
|
75
|
+
fail ArgumentError, "The input argument (attributes) must be a hash in `TurnkeyClient::InitUserEmailRecoveryIntentV2` initialize method"
|
|
76
|
+
end
|
|
77
|
+
|
|
78
|
+
# check to see if the attribute exists and convert string to symbol for hash key
|
|
79
|
+
attributes = attributes.each_with_object({}) { |(k, v), h|
|
|
80
|
+
if (!self.class.attribute_map.key?(k.to_sym))
|
|
81
|
+
fail ArgumentError, "`#{k}` is not a valid attribute in `TurnkeyClient::InitUserEmailRecoveryIntentV2`. Please check the name to make sure it's valid. List of attributes: " + self.class.attribute_map.keys.inspect
|
|
82
|
+
end
|
|
83
|
+
h[k.to_sym] = v
|
|
84
|
+
}
|
|
85
|
+
|
|
86
|
+
if attributes.key?(:'email')
|
|
87
|
+
self.email = attributes[:'email']
|
|
88
|
+
end
|
|
89
|
+
|
|
90
|
+
if attributes.key?(:'target_public_key')
|
|
91
|
+
self.target_public_key = attributes[:'target_public_key']
|
|
92
|
+
end
|
|
93
|
+
|
|
94
|
+
if attributes.key?(:'expiration_seconds')
|
|
95
|
+
self.expiration_seconds = attributes[:'expiration_seconds']
|
|
96
|
+
end
|
|
97
|
+
|
|
98
|
+
if attributes.key?(:'email_customization')
|
|
99
|
+
self.email_customization = attributes[:'email_customization']
|
|
100
|
+
end
|
|
101
|
+
|
|
102
|
+
if attributes.key?(:'send_from_email_address')
|
|
103
|
+
self.send_from_email_address = attributes[:'send_from_email_address']
|
|
104
|
+
end
|
|
105
|
+
|
|
106
|
+
if attributes.key?(:'send_from_email_sender_name')
|
|
107
|
+
self.send_from_email_sender_name = attributes[:'send_from_email_sender_name']
|
|
108
|
+
end
|
|
109
|
+
|
|
110
|
+
if attributes.key?(:'reply_to_email_address')
|
|
111
|
+
self.reply_to_email_address = attributes[:'reply_to_email_address']
|
|
112
|
+
end
|
|
113
|
+
end
|
|
114
|
+
|
|
115
|
+
# Show invalid properties with the reasons. Usually used together with valid?
|
|
116
|
+
# @return Array for valid properties with the reasons
|
|
117
|
+
def list_invalid_properties
|
|
118
|
+
invalid_properties = Array.new
|
|
119
|
+
if @email.nil?
|
|
120
|
+
invalid_properties.push('invalid value for "email", email cannot be nil.')
|
|
121
|
+
end
|
|
122
|
+
|
|
123
|
+
if @target_public_key.nil?
|
|
124
|
+
invalid_properties.push('invalid value for "target_public_key", target_public_key cannot be nil.')
|
|
125
|
+
end
|
|
126
|
+
|
|
127
|
+
if @email_customization.nil?
|
|
128
|
+
invalid_properties.push('invalid value for "email_customization", email_customization cannot be nil.')
|
|
129
|
+
end
|
|
130
|
+
|
|
131
|
+
invalid_properties
|
|
132
|
+
end
|
|
133
|
+
|
|
134
|
+
# Check to see if the all the properties in the model are valid
|
|
135
|
+
# @return true if the model is valid
|
|
136
|
+
def valid?
|
|
137
|
+
return false if @email.nil?
|
|
138
|
+
return false if @target_public_key.nil?
|
|
139
|
+
return false if @email_customization.nil?
|
|
140
|
+
true
|
|
141
|
+
end
|
|
142
|
+
|
|
143
|
+
# Checks equality by comparing each attribute.
|
|
144
|
+
# @param [Object] Object to be compared
|
|
145
|
+
def ==(o)
|
|
146
|
+
return true if self.equal?(o)
|
|
147
|
+
self.class == o.class &&
|
|
148
|
+
email == o.email &&
|
|
149
|
+
target_public_key == o.target_public_key &&
|
|
150
|
+
expiration_seconds == o.expiration_seconds &&
|
|
151
|
+
email_customization == o.email_customization &&
|
|
152
|
+
send_from_email_address == o.send_from_email_address &&
|
|
153
|
+
send_from_email_sender_name == o.send_from_email_sender_name &&
|
|
154
|
+
reply_to_email_address == o.reply_to_email_address
|
|
155
|
+
end
|
|
156
|
+
|
|
157
|
+
# @see the `==` method
|
|
158
|
+
# @param [Object] Object to be compared
|
|
159
|
+
def eql?(o)
|
|
160
|
+
self == o
|
|
161
|
+
end
|
|
162
|
+
|
|
163
|
+
# Calculates hash code according to all attributes.
|
|
164
|
+
# @return [Integer] Hash code
|
|
165
|
+
def hash
|
|
166
|
+
[email, target_public_key, expiration_seconds, email_customization, send_from_email_address, send_from_email_sender_name, reply_to_email_address].hash
|
|
167
|
+
end
|
|
168
|
+
|
|
169
|
+
# Builds the object from hash
|
|
170
|
+
# @param [Hash] attributes Model attributes in the form of hash
|
|
171
|
+
# @return [Object] Returns the model itself
|
|
172
|
+
def self.build_from_hash(attributes)
|
|
173
|
+
new.build_from_hash(attributes)
|
|
174
|
+
end
|
|
175
|
+
|
|
176
|
+
# Builds the object from hash
|
|
177
|
+
# @param [Hash] attributes Model attributes in the form of hash
|
|
178
|
+
# @return [Object] Returns the model itself
|
|
179
|
+
def build_from_hash(attributes)
|
|
180
|
+
return nil unless attributes.is_a?(Hash)
|
|
181
|
+
self.class.openapi_types.each_pair do |key, type|
|
|
182
|
+
if type =~ /\AArray<(.*)>/i
|
|
183
|
+
# check to ensure the input is an array given that the attribute
|
|
184
|
+
# is documented as an array but the input is not
|
|
185
|
+
if attributes[self.class.attribute_map[key]].is_a?(Array)
|
|
186
|
+
self.send("#{key}=", attributes[self.class.attribute_map[key]].map { |v| _deserialize($1, v) })
|
|
187
|
+
end
|
|
188
|
+
elsif !attributes[self.class.attribute_map[key]].nil?
|
|
189
|
+
self.send("#{key}=", _deserialize(type, attributes[self.class.attribute_map[key]]))
|
|
190
|
+
elsif attributes[self.class.attribute_map[key]].nil? && self.class.openapi_nullable.include?(key)
|
|
191
|
+
self.send("#{key}=", nil)
|
|
192
|
+
end
|
|
193
|
+
end
|
|
194
|
+
|
|
195
|
+
self
|
|
196
|
+
end
|
|
197
|
+
|
|
198
|
+
# Deserializes the data based on type
|
|
199
|
+
# @param string type Data type
|
|
200
|
+
# @param string value Value to be deserialized
|
|
201
|
+
# @return [Object] Deserialized data
|
|
202
|
+
def _deserialize(type, value)
|
|
203
|
+
case type.to_sym
|
|
204
|
+
when :DateTime
|
|
205
|
+
DateTime.parse(value)
|
|
206
|
+
when :Date
|
|
207
|
+
Date.parse(value)
|
|
208
|
+
when :String
|
|
209
|
+
value.to_s
|
|
210
|
+
when :Integer
|
|
211
|
+
value.to_i
|
|
212
|
+
when :Float
|
|
213
|
+
value.to_f
|
|
214
|
+
when :Boolean
|
|
215
|
+
if value.to_s =~ /\A(true|t|yes|y|1)\z/i
|
|
216
|
+
true
|
|
217
|
+
else
|
|
218
|
+
false
|
|
219
|
+
end
|
|
220
|
+
when :Object
|
|
221
|
+
# generic object (usually a Hash), return directly
|
|
222
|
+
value
|
|
223
|
+
when /\AArray<(?<inner_type>.+)>\z/
|
|
224
|
+
inner_type = Regexp.last_match[:inner_type]
|
|
225
|
+
value.map { |v| _deserialize(inner_type, v) }
|
|
226
|
+
when /\AHash<(?<k_type>.+?), (?<v_type>.+)>\z/
|
|
227
|
+
k_type = Regexp.last_match[:k_type]
|
|
228
|
+
v_type = Regexp.last_match[:v_type]
|
|
229
|
+
{}.tap do |hash|
|
|
230
|
+
value.each do |k, v|
|
|
231
|
+
hash[_deserialize(k_type, k)] = _deserialize(v_type, v)
|
|
232
|
+
end
|
|
233
|
+
end
|
|
234
|
+
else # model
|
|
235
|
+
TurnkeyClient.const_get(type).build_from_hash(value)
|
|
236
|
+
end
|
|
237
|
+
end
|
|
238
|
+
|
|
239
|
+
# Returns the string representation of the object
|
|
240
|
+
# @return [String] String presentation of the object
|
|
241
|
+
def to_s
|
|
242
|
+
to_hash.to_s
|
|
243
|
+
end
|
|
244
|
+
|
|
245
|
+
# to_body is an alias to to_hash (backward compatibility)
|
|
246
|
+
# @return [Hash] Returns the object in the form of hash
|
|
247
|
+
def to_body
|
|
248
|
+
to_hash
|
|
249
|
+
end
|
|
250
|
+
|
|
251
|
+
# Returns the object in the form of hash
|
|
252
|
+
# @return [Hash] Returns the object in the form of hash
|
|
253
|
+
def to_hash
|
|
254
|
+
hash = {}
|
|
255
|
+
self.class.attribute_map.each_pair do |attr, param|
|
|
256
|
+
value = self.send(attr)
|
|
257
|
+
if value.nil?
|
|
258
|
+
is_nullable = self.class.openapi_nullable.include?(attr)
|
|
259
|
+
next if !is_nullable || (is_nullable && !instance_variable_defined?(:"@#{attr}"))
|
|
260
|
+
end
|
|
261
|
+
|
|
262
|
+
hash[param] = _to_hash(value)
|
|
263
|
+
end
|
|
264
|
+
hash
|
|
265
|
+
end
|
|
266
|
+
|
|
267
|
+
# Outputs non-array value in the form of hash
|
|
268
|
+
# For object, use to_hash. Otherwise, just return the value
|
|
269
|
+
# @param [Object] value Any valid value
|
|
270
|
+
# @return [Hash] Returns the value in the form of hash
|
|
271
|
+
def _to_hash(value)
|
|
272
|
+
if value.is_a?(Array)
|
|
273
|
+
value.compact.map { |v| _to_hash(v) }
|
|
274
|
+
elsif value.is_a?(Hash)
|
|
275
|
+
{}.tap do |hash|
|
|
276
|
+
value.each { |k, v| hash[k] = _to_hash(v) }
|
|
277
|
+
end
|
|
278
|
+
elsif value.respond_to? :to_hash
|
|
279
|
+
value.to_hash
|
|
280
|
+
else
|
|
281
|
+
value
|
|
282
|
+
end
|
|
283
|
+
end end
|
|
284
|
+
end
|
|
@@ -22,6 +22,8 @@ module TurnkeyClient
|
|
|
22
22
|
|
|
23
23
|
attr_accessor :parameters
|
|
24
24
|
|
|
25
|
+
attr_accessor :generate_app_proofs
|
|
26
|
+
|
|
25
27
|
class EnumAttributeValidator
|
|
26
28
|
attr_reader :datatype
|
|
27
29
|
attr_reader :allowable_values
|
|
@@ -50,7 +52,8 @@ module TurnkeyClient
|
|
|
50
52
|
:'type' => :'type',
|
|
51
53
|
:'timestamp_ms' => :'timestampMs',
|
|
52
54
|
:'organization_id' => :'organizationId',
|
|
53
|
-
:'parameters' => :'parameters'
|
|
55
|
+
:'parameters' => :'parameters',
|
|
56
|
+
:'generate_app_proofs' => :'generateAppProofs'
|
|
54
57
|
}
|
|
55
58
|
end
|
|
56
59
|
|
|
@@ -60,13 +63,15 @@ module TurnkeyClient
|
|
|
60
63
|
:'type' => :'Object',
|
|
61
64
|
:'timestamp_ms' => :'Object',
|
|
62
65
|
:'organization_id' => :'Object',
|
|
63
|
-
:'parameters' => :'Object'
|
|
66
|
+
:'parameters' => :'Object',
|
|
67
|
+
:'generate_app_proofs' => :'Object'
|
|
64
68
|
}
|
|
65
69
|
end
|
|
66
70
|
|
|
67
71
|
# List of attributes with nullable: true
|
|
68
72
|
def self.openapi_nullable
|
|
69
73
|
Set.new([
|
|
74
|
+
:'generate_app_proofs'
|
|
70
75
|
])
|
|
71
76
|
end
|
|
72
77
|
|
|
@@ -100,6 +105,10 @@ module TurnkeyClient
|
|
|
100
105
|
if attributes.key?(:'parameters')
|
|
101
106
|
self.parameters = attributes[:'parameters']
|
|
102
107
|
end
|
|
108
|
+
|
|
109
|
+
if attributes.key?(:'generate_app_proofs')
|
|
110
|
+
self.generate_app_proofs = attributes[:'generate_app_proofs']
|
|
111
|
+
end
|
|
103
112
|
end
|
|
104
113
|
|
|
105
114
|
# Show invalid properties with the reasons. Usually used together with valid?
|
|
@@ -129,7 +138,7 @@ module TurnkeyClient
|
|
|
129
138
|
# @return true if the model is valid
|
|
130
139
|
def valid?
|
|
131
140
|
return false if @type.nil?
|
|
132
|
-
type_validator = EnumAttributeValidator.new('Object', ['
|
|
141
|
+
type_validator = EnumAttributeValidator.new('Object', ['ACTIVITY_TYPE_INIT_USER_EMAIL_RECOVERY_V2'])
|
|
133
142
|
return false unless type_validator.valid?(@type)
|
|
134
143
|
return false if @timestamp_ms.nil?
|
|
135
144
|
return false if @organization_id.nil?
|
|
@@ -140,7 +149,7 @@ module TurnkeyClient
|
|
|
140
149
|
# Custom attribute writer method checking allowed values (enum).
|
|
141
150
|
# @param [Object] type Object to be assigned
|
|
142
151
|
def type=(type)
|
|
143
|
-
validator = EnumAttributeValidator.new('Object', ['
|
|
152
|
+
validator = EnumAttributeValidator.new('Object', ['ACTIVITY_TYPE_INIT_USER_EMAIL_RECOVERY_V2'])
|
|
144
153
|
unless validator.valid?(type)
|
|
145
154
|
fail ArgumentError, "invalid value for \"type\", must be one of #{validator.allowable_values}."
|
|
146
155
|
end
|
|
@@ -155,7 +164,8 @@ module TurnkeyClient
|
|
|
155
164
|
type == o.type &&
|
|
156
165
|
timestamp_ms == o.timestamp_ms &&
|
|
157
166
|
organization_id == o.organization_id &&
|
|
158
|
-
parameters == o.parameters
|
|
167
|
+
parameters == o.parameters &&
|
|
168
|
+
generate_app_proofs == o.generate_app_proofs
|
|
159
169
|
end
|
|
160
170
|
|
|
161
171
|
# @see the `==` method
|
|
@@ -167,7 +177,7 @@ module TurnkeyClient
|
|
|
167
177
|
# Calculates hash code according to all attributes.
|
|
168
178
|
# @return [Integer] Hash code
|
|
169
179
|
def hash
|
|
170
|
-
[type, timestamp_ms, organization_id, parameters].hash
|
|
180
|
+
[type, timestamp_ms, organization_id, parameters, generate_app_proofs].hash
|
|
171
181
|
end
|
|
172
182
|
|
|
173
183
|
# Builds the object from hash
|
|
@@ -200,6 +200,52 @@ module TurnkeyClient
|
|
|
200
200
|
|
|
201
201
|
attr_accessor :delete_smart_contract_interface_intent
|
|
202
202
|
|
|
203
|
+
attr_accessor :enable_auth_proxy_intent
|
|
204
|
+
|
|
205
|
+
attr_accessor :disable_auth_proxy_intent
|
|
206
|
+
|
|
207
|
+
attr_accessor :update_auth_proxy_config_intent
|
|
208
|
+
|
|
209
|
+
attr_accessor :create_oauth2_credential_intent
|
|
210
|
+
|
|
211
|
+
attr_accessor :update_oauth2_credential_intent
|
|
212
|
+
|
|
213
|
+
attr_accessor :delete_oauth2_credential_intent
|
|
214
|
+
|
|
215
|
+
attr_accessor :oauth2_authenticate_intent
|
|
216
|
+
|
|
217
|
+
attr_accessor :delete_wallet_accounts_intent
|
|
218
|
+
|
|
219
|
+
attr_accessor :delete_policies_intent
|
|
220
|
+
|
|
221
|
+
attr_accessor :eth_send_raw_transaction_intent
|
|
222
|
+
|
|
223
|
+
attr_accessor :eth_send_transaction_intent
|
|
224
|
+
|
|
225
|
+
attr_accessor :create_fiat_on_ramp_credential_intent
|
|
226
|
+
|
|
227
|
+
attr_accessor :update_fiat_on_ramp_credential_intent
|
|
228
|
+
|
|
229
|
+
attr_accessor :delete_fiat_on_ramp_credential_intent
|
|
230
|
+
|
|
231
|
+
attr_accessor :email_auth_intent_v3
|
|
232
|
+
|
|
233
|
+
attr_accessor :init_user_email_recovery_intent_v2
|
|
234
|
+
|
|
235
|
+
attr_accessor :init_otp_intent_v2
|
|
236
|
+
|
|
237
|
+
attr_accessor :init_otp_auth_intent_v3
|
|
238
|
+
|
|
239
|
+
attr_accessor :upsert_gas_usage_config_intent
|
|
240
|
+
|
|
241
|
+
attr_accessor :create_tvc_app_intent
|
|
242
|
+
|
|
243
|
+
attr_accessor :create_tvc_deployment_intent
|
|
244
|
+
|
|
245
|
+
attr_accessor :create_tvc_manifest_approvals_intent
|
|
246
|
+
|
|
247
|
+
attr_accessor :sol_send_transaction_intent
|
|
248
|
+
|
|
203
249
|
# Attribute mapping from ruby-style variable name to JSON key.
|
|
204
250
|
def self.attribute_map
|
|
205
251
|
{
|
|
@@ -296,7 +342,30 @@ module TurnkeyClient
|
|
|
296
342
|
:'update_user_phone_number_intent' => :'updateUserPhoneNumberIntent',
|
|
297
343
|
:'init_fiat_on_ramp_intent' => :'initFiatOnRampIntent',
|
|
298
344
|
:'create_smart_contract_interface_intent' => :'createSmartContractInterfaceIntent',
|
|
299
|
-
:'delete_smart_contract_interface_intent' => :'deleteSmartContractInterfaceIntent'
|
|
345
|
+
:'delete_smart_contract_interface_intent' => :'deleteSmartContractInterfaceIntent',
|
|
346
|
+
:'enable_auth_proxy_intent' => :'enableAuthProxyIntent',
|
|
347
|
+
:'disable_auth_proxy_intent' => :'disableAuthProxyIntent',
|
|
348
|
+
:'update_auth_proxy_config_intent' => :'updateAuthProxyConfigIntent',
|
|
349
|
+
:'create_oauth2_credential_intent' => :'createOauth2CredentialIntent',
|
|
350
|
+
:'update_oauth2_credential_intent' => :'updateOauth2CredentialIntent',
|
|
351
|
+
:'delete_oauth2_credential_intent' => :'deleteOauth2CredentialIntent',
|
|
352
|
+
:'oauth2_authenticate_intent' => :'oauth2AuthenticateIntent',
|
|
353
|
+
:'delete_wallet_accounts_intent' => :'deleteWalletAccountsIntent',
|
|
354
|
+
:'delete_policies_intent' => :'deletePoliciesIntent',
|
|
355
|
+
:'eth_send_raw_transaction_intent' => :'ethSendRawTransactionIntent',
|
|
356
|
+
:'eth_send_transaction_intent' => :'ethSendTransactionIntent',
|
|
357
|
+
:'create_fiat_on_ramp_credential_intent' => :'createFiatOnRampCredentialIntent',
|
|
358
|
+
:'update_fiat_on_ramp_credential_intent' => :'updateFiatOnRampCredentialIntent',
|
|
359
|
+
:'delete_fiat_on_ramp_credential_intent' => :'deleteFiatOnRampCredentialIntent',
|
|
360
|
+
:'email_auth_intent_v3' => :'emailAuthIntentV3',
|
|
361
|
+
:'init_user_email_recovery_intent_v2' => :'initUserEmailRecoveryIntentV2',
|
|
362
|
+
:'init_otp_intent_v2' => :'initOtpIntentV2',
|
|
363
|
+
:'init_otp_auth_intent_v3' => :'initOtpAuthIntentV3',
|
|
364
|
+
:'upsert_gas_usage_config_intent' => :'upsertGasUsageConfigIntent',
|
|
365
|
+
:'create_tvc_app_intent' => :'createTvcAppIntent',
|
|
366
|
+
:'create_tvc_deployment_intent' => :'createTvcDeploymentIntent',
|
|
367
|
+
:'create_tvc_manifest_approvals_intent' => :'createTvcManifestApprovalsIntent',
|
|
368
|
+
:'sol_send_transaction_intent' => :'solSendTransactionIntent'
|
|
300
369
|
}
|
|
301
370
|
end
|
|
302
371
|
|
|
@@ -396,7 +465,30 @@ module TurnkeyClient
|
|
|
396
465
|
:'update_user_phone_number_intent' => :'Object',
|
|
397
466
|
:'init_fiat_on_ramp_intent' => :'Object',
|
|
398
467
|
:'create_smart_contract_interface_intent' => :'Object',
|
|
399
|
-
:'delete_smart_contract_interface_intent' => :'Object'
|
|
468
|
+
:'delete_smart_contract_interface_intent' => :'Object',
|
|
469
|
+
:'enable_auth_proxy_intent' => :'Object',
|
|
470
|
+
:'disable_auth_proxy_intent' => :'Object',
|
|
471
|
+
:'update_auth_proxy_config_intent' => :'Object',
|
|
472
|
+
:'create_oauth2_credential_intent' => :'Object',
|
|
473
|
+
:'update_oauth2_credential_intent' => :'Object',
|
|
474
|
+
:'delete_oauth2_credential_intent' => :'Object',
|
|
475
|
+
:'oauth2_authenticate_intent' => :'Object',
|
|
476
|
+
:'delete_wallet_accounts_intent' => :'Object',
|
|
477
|
+
:'delete_policies_intent' => :'Object',
|
|
478
|
+
:'eth_send_raw_transaction_intent' => :'Object',
|
|
479
|
+
:'eth_send_transaction_intent' => :'Object',
|
|
480
|
+
:'create_fiat_on_ramp_credential_intent' => :'Object',
|
|
481
|
+
:'update_fiat_on_ramp_credential_intent' => :'Object',
|
|
482
|
+
:'delete_fiat_on_ramp_credential_intent' => :'Object',
|
|
483
|
+
:'email_auth_intent_v3' => :'Object',
|
|
484
|
+
:'init_user_email_recovery_intent_v2' => :'Object',
|
|
485
|
+
:'init_otp_intent_v2' => :'Object',
|
|
486
|
+
:'init_otp_auth_intent_v3' => :'Object',
|
|
487
|
+
:'upsert_gas_usage_config_intent' => :'Object',
|
|
488
|
+
:'create_tvc_app_intent' => :'Object',
|
|
489
|
+
:'create_tvc_deployment_intent' => :'Object',
|
|
490
|
+
:'create_tvc_manifest_approvals_intent' => :'Object',
|
|
491
|
+
:'sol_send_transaction_intent' => :'Object'
|
|
400
492
|
}
|
|
401
493
|
end
|
|
402
494
|
|
|
@@ -796,6 +888,98 @@ module TurnkeyClient
|
|
|
796
888
|
if attributes.key?(:'delete_smart_contract_interface_intent')
|
|
797
889
|
self.delete_smart_contract_interface_intent = attributes[:'delete_smart_contract_interface_intent']
|
|
798
890
|
end
|
|
891
|
+
|
|
892
|
+
if attributes.key?(:'enable_auth_proxy_intent')
|
|
893
|
+
self.enable_auth_proxy_intent = attributes[:'enable_auth_proxy_intent']
|
|
894
|
+
end
|
|
895
|
+
|
|
896
|
+
if attributes.key?(:'disable_auth_proxy_intent')
|
|
897
|
+
self.disable_auth_proxy_intent = attributes[:'disable_auth_proxy_intent']
|
|
898
|
+
end
|
|
899
|
+
|
|
900
|
+
if attributes.key?(:'update_auth_proxy_config_intent')
|
|
901
|
+
self.update_auth_proxy_config_intent = attributes[:'update_auth_proxy_config_intent']
|
|
902
|
+
end
|
|
903
|
+
|
|
904
|
+
if attributes.key?(:'create_oauth2_credential_intent')
|
|
905
|
+
self.create_oauth2_credential_intent = attributes[:'create_oauth2_credential_intent']
|
|
906
|
+
end
|
|
907
|
+
|
|
908
|
+
if attributes.key?(:'update_oauth2_credential_intent')
|
|
909
|
+
self.update_oauth2_credential_intent = attributes[:'update_oauth2_credential_intent']
|
|
910
|
+
end
|
|
911
|
+
|
|
912
|
+
if attributes.key?(:'delete_oauth2_credential_intent')
|
|
913
|
+
self.delete_oauth2_credential_intent = attributes[:'delete_oauth2_credential_intent']
|
|
914
|
+
end
|
|
915
|
+
|
|
916
|
+
if attributes.key?(:'oauth2_authenticate_intent')
|
|
917
|
+
self.oauth2_authenticate_intent = attributes[:'oauth2_authenticate_intent']
|
|
918
|
+
end
|
|
919
|
+
|
|
920
|
+
if attributes.key?(:'delete_wallet_accounts_intent')
|
|
921
|
+
self.delete_wallet_accounts_intent = attributes[:'delete_wallet_accounts_intent']
|
|
922
|
+
end
|
|
923
|
+
|
|
924
|
+
if attributes.key?(:'delete_policies_intent')
|
|
925
|
+
self.delete_policies_intent = attributes[:'delete_policies_intent']
|
|
926
|
+
end
|
|
927
|
+
|
|
928
|
+
if attributes.key?(:'eth_send_raw_transaction_intent')
|
|
929
|
+
self.eth_send_raw_transaction_intent = attributes[:'eth_send_raw_transaction_intent']
|
|
930
|
+
end
|
|
931
|
+
|
|
932
|
+
if attributes.key?(:'eth_send_transaction_intent')
|
|
933
|
+
self.eth_send_transaction_intent = attributes[:'eth_send_transaction_intent']
|
|
934
|
+
end
|
|
935
|
+
|
|
936
|
+
if attributes.key?(:'create_fiat_on_ramp_credential_intent')
|
|
937
|
+
self.create_fiat_on_ramp_credential_intent = attributes[:'create_fiat_on_ramp_credential_intent']
|
|
938
|
+
end
|
|
939
|
+
|
|
940
|
+
if attributes.key?(:'update_fiat_on_ramp_credential_intent')
|
|
941
|
+
self.update_fiat_on_ramp_credential_intent = attributes[:'update_fiat_on_ramp_credential_intent']
|
|
942
|
+
end
|
|
943
|
+
|
|
944
|
+
if attributes.key?(:'delete_fiat_on_ramp_credential_intent')
|
|
945
|
+
self.delete_fiat_on_ramp_credential_intent = attributes[:'delete_fiat_on_ramp_credential_intent']
|
|
946
|
+
end
|
|
947
|
+
|
|
948
|
+
if attributes.key?(:'email_auth_intent_v3')
|
|
949
|
+
self.email_auth_intent_v3 = attributes[:'email_auth_intent_v3']
|
|
950
|
+
end
|
|
951
|
+
|
|
952
|
+
if attributes.key?(:'init_user_email_recovery_intent_v2')
|
|
953
|
+
self.init_user_email_recovery_intent_v2 = attributes[:'init_user_email_recovery_intent_v2']
|
|
954
|
+
end
|
|
955
|
+
|
|
956
|
+
if attributes.key?(:'init_otp_intent_v2')
|
|
957
|
+
self.init_otp_intent_v2 = attributes[:'init_otp_intent_v2']
|
|
958
|
+
end
|
|
959
|
+
|
|
960
|
+
if attributes.key?(:'init_otp_auth_intent_v3')
|
|
961
|
+
self.init_otp_auth_intent_v3 = attributes[:'init_otp_auth_intent_v3']
|
|
962
|
+
end
|
|
963
|
+
|
|
964
|
+
if attributes.key?(:'upsert_gas_usage_config_intent')
|
|
965
|
+
self.upsert_gas_usage_config_intent = attributes[:'upsert_gas_usage_config_intent']
|
|
966
|
+
end
|
|
967
|
+
|
|
968
|
+
if attributes.key?(:'create_tvc_app_intent')
|
|
969
|
+
self.create_tvc_app_intent = attributes[:'create_tvc_app_intent']
|
|
970
|
+
end
|
|
971
|
+
|
|
972
|
+
if attributes.key?(:'create_tvc_deployment_intent')
|
|
973
|
+
self.create_tvc_deployment_intent = attributes[:'create_tvc_deployment_intent']
|
|
974
|
+
end
|
|
975
|
+
|
|
976
|
+
if attributes.key?(:'create_tvc_manifest_approvals_intent')
|
|
977
|
+
self.create_tvc_manifest_approvals_intent = attributes[:'create_tvc_manifest_approvals_intent']
|
|
978
|
+
end
|
|
979
|
+
|
|
980
|
+
if attributes.key?(:'sol_send_transaction_intent')
|
|
981
|
+
self.sol_send_transaction_intent = attributes[:'sol_send_transaction_intent']
|
|
982
|
+
end
|
|
799
983
|
end
|
|
800
984
|
|
|
801
985
|
# Show invalid properties with the reasons. Usually used together with valid?
|
|
@@ -909,7 +1093,30 @@ module TurnkeyClient
|
|
|
909
1093
|
update_user_phone_number_intent == o.update_user_phone_number_intent &&
|
|
910
1094
|
init_fiat_on_ramp_intent == o.init_fiat_on_ramp_intent &&
|
|
911
1095
|
create_smart_contract_interface_intent == o.create_smart_contract_interface_intent &&
|
|
912
|
-
delete_smart_contract_interface_intent == o.delete_smart_contract_interface_intent
|
|
1096
|
+
delete_smart_contract_interface_intent == o.delete_smart_contract_interface_intent &&
|
|
1097
|
+
enable_auth_proxy_intent == o.enable_auth_proxy_intent &&
|
|
1098
|
+
disable_auth_proxy_intent == o.disable_auth_proxy_intent &&
|
|
1099
|
+
update_auth_proxy_config_intent == o.update_auth_proxy_config_intent &&
|
|
1100
|
+
create_oauth2_credential_intent == o.create_oauth2_credential_intent &&
|
|
1101
|
+
update_oauth2_credential_intent == o.update_oauth2_credential_intent &&
|
|
1102
|
+
delete_oauth2_credential_intent == o.delete_oauth2_credential_intent &&
|
|
1103
|
+
oauth2_authenticate_intent == o.oauth2_authenticate_intent &&
|
|
1104
|
+
delete_wallet_accounts_intent == o.delete_wallet_accounts_intent &&
|
|
1105
|
+
delete_policies_intent == o.delete_policies_intent &&
|
|
1106
|
+
eth_send_raw_transaction_intent == o.eth_send_raw_transaction_intent &&
|
|
1107
|
+
eth_send_transaction_intent == o.eth_send_transaction_intent &&
|
|
1108
|
+
create_fiat_on_ramp_credential_intent == o.create_fiat_on_ramp_credential_intent &&
|
|
1109
|
+
update_fiat_on_ramp_credential_intent == o.update_fiat_on_ramp_credential_intent &&
|
|
1110
|
+
delete_fiat_on_ramp_credential_intent == o.delete_fiat_on_ramp_credential_intent &&
|
|
1111
|
+
email_auth_intent_v3 == o.email_auth_intent_v3 &&
|
|
1112
|
+
init_user_email_recovery_intent_v2 == o.init_user_email_recovery_intent_v2 &&
|
|
1113
|
+
init_otp_intent_v2 == o.init_otp_intent_v2 &&
|
|
1114
|
+
init_otp_auth_intent_v3 == o.init_otp_auth_intent_v3 &&
|
|
1115
|
+
upsert_gas_usage_config_intent == o.upsert_gas_usage_config_intent &&
|
|
1116
|
+
create_tvc_app_intent == o.create_tvc_app_intent &&
|
|
1117
|
+
create_tvc_deployment_intent == o.create_tvc_deployment_intent &&
|
|
1118
|
+
create_tvc_manifest_approvals_intent == o.create_tvc_manifest_approvals_intent &&
|
|
1119
|
+
sol_send_transaction_intent == o.sol_send_transaction_intent
|
|
913
1120
|
end
|
|
914
1121
|
|
|
915
1122
|
# @see the `==` method
|
|
@@ -921,7 +1128,7 @@ module TurnkeyClient
|
|
|
921
1128
|
# Calculates hash code according to all attributes.
|
|
922
1129
|
# @return [Integer] Hash code
|
|
923
1130
|
def hash
|
|
924
|
-
[create_organization_intent, create_authenticators_intent, create_users_intent, create_private_keys_intent, sign_raw_payload_intent, create_invitations_intent, accept_invitation_intent, create_policy_intent, disable_private_key_intent, delete_users_intent, delete_authenticators_intent, delete_invitation_intent, delete_organization_intent, delete_policy_intent, create_user_tag_intent, delete_user_tags_intent, sign_transaction_intent, create_api_keys_intent, delete_api_keys_intent, approve_activity_intent, reject_activity_intent, create_private_key_tag_intent, delete_private_key_tags_intent, create_policy_intent_v2, set_payment_method_intent, activate_billing_tier_intent, delete_payment_method_intent, create_policy_intent_v3, create_api_only_users_intent, update_root_quorum_intent, update_user_tag_intent, update_private_key_tag_intent, create_authenticators_intent_v2, accept_invitation_intent_v2, create_organization_intent_v2, create_users_intent_v2, create_sub_organization_intent, create_sub_organization_intent_v2, update_allowed_origins_intent, create_private_keys_intent_v2, update_user_intent, update_policy_intent, set_payment_method_intent_v2, create_sub_organization_intent_v3, create_wallet_intent, create_wallet_accounts_intent, init_user_email_recovery_intent, recover_user_intent, set_organization_feature_intent, remove_organization_feature_intent, sign_raw_payload_intent_v2, sign_transaction_intent_v2, export_private_key_intent, export_wallet_intent, create_sub_organization_intent_v4, email_auth_intent, export_wallet_account_intent, init_import_wallet_intent, import_wallet_intent, init_import_private_key_intent, import_private_key_intent, create_policies_intent, sign_raw_payloads_intent, create_read_only_session_intent, create_oauth_providers_intent, delete_oauth_providers_intent, create_sub_organization_intent_v5, oauth_intent, create_api_keys_intent_v2, create_read_write_session_intent, email_auth_intent_v2, create_sub_organization_intent_v6, delete_private_keys_intent, delete_wallets_intent, create_read_write_session_intent_v2, delete_sub_organization_intent, init_otp_auth_intent, otp_auth_intent, create_sub_organization_intent_v7, update_wallet_intent, update_policy_intent_v2, create_users_intent_v3, init_otp_auth_intent_v2, init_otp_intent, verify_otp_intent, otp_login_intent, stamp_login_intent, oauth_login_intent, update_user_name_intent, update_user_email_intent, update_user_phone_number_intent, init_fiat_on_ramp_intent, create_smart_contract_interface_intent, delete_smart_contract_interface_intent].hash
|
|
1131
|
+
[create_organization_intent, create_authenticators_intent, create_users_intent, create_private_keys_intent, sign_raw_payload_intent, create_invitations_intent, accept_invitation_intent, create_policy_intent, disable_private_key_intent, delete_users_intent, delete_authenticators_intent, delete_invitation_intent, delete_organization_intent, delete_policy_intent, create_user_tag_intent, delete_user_tags_intent, sign_transaction_intent, create_api_keys_intent, delete_api_keys_intent, approve_activity_intent, reject_activity_intent, create_private_key_tag_intent, delete_private_key_tags_intent, create_policy_intent_v2, set_payment_method_intent, activate_billing_tier_intent, delete_payment_method_intent, create_policy_intent_v3, create_api_only_users_intent, update_root_quorum_intent, update_user_tag_intent, update_private_key_tag_intent, create_authenticators_intent_v2, accept_invitation_intent_v2, create_organization_intent_v2, create_users_intent_v2, create_sub_organization_intent, create_sub_organization_intent_v2, update_allowed_origins_intent, create_private_keys_intent_v2, update_user_intent, update_policy_intent, set_payment_method_intent_v2, create_sub_organization_intent_v3, create_wallet_intent, create_wallet_accounts_intent, init_user_email_recovery_intent, recover_user_intent, set_organization_feature_intent, remove_organization_feature_intent, sign_raw_payload_intent_v2, sign_transaction_intent_v2, export_private_key_intent, export_wallet_intent, create_sub_organization_intent_v4, email_auth_intent, export_wallet_account_intent, init_import_wallet_intent, import_wallet_intent, init_import_private_key_intent, import_private_key_intent, create_policies_intent, sign_raw_payloads_intent, create_read_only_session_intent, create_oauth_providers_intent, delete_oauth_providers_intent, create_sub_organization_intent_v5, oauth_intent, create_api_keys_intent_v2, create_read_write_session_intent, email_auth_intent_v2, create_sub_organization_intent_v6, delete_private_keys_intent, delete_wallets_intent, create_read_write_session_intent_v2, delete_sub_organization_intent, init_otp_auth_intent, otp_auth_intent, create_sub_organization_intent_v7, update_wallet_intent, update_policy_intent_v2, create_users_intent_v3, init_otp_auth_intent_v2, init_otp_intent, verify_otp_intent, otp_login_intent, stamp_login_intent, oauth_login_intent, update_user_name_intent, update_user_email_intent, update_user_phone_number_intent, init_fiat_on_ramp_intent, create_smart_contract_interface_intent, delete_smart_contract_interface_intent, enable_auth_proxy_intent, disable_auth_proxy_intent, update_auth_proxy_config_intent, create_oauth2_credential_intent, update_oauth2_credential_intent, delete_oauth2_credential_intent, oauth2_authenticate_intent, delete_wallet_accounts_intent, delete_policies_intent, eth_send_raw_transaction_intent, eth_send_transaction_intent, create_fiat_on_ramp_credential_intent, update_fiat_on_ramp_credential_intent, delete_fiat_on_ramp_credential_intent, email_auth_intent_v3, init_user_email_recovery_intent_v2, init_otp_intent_v2, init_otp_auth_intent_v3, upsert_gas_usage_config_intent, create_tvc_app_intent, create_tvc_deployment_intent, create_tvc_manifest_approvals_intent, sol_send_transaction_intent].hash
|
|
925
1132
|
end
|
|
926
1133
|
|
|
927
1134
|
# Builds the object from hash
|