turnkey_client 0.0.13 → 0.0.14
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 +66 -8
- data/lib/turnkey_client/api/api_keys_api.rb +14 -14
- data/lib/turnkey_client/api/authenticators_api.rb +16 -16
- data/lib/turnkey_client/api/consensus_api.rb +8 -8
- data/lib/turnkey_client/api/features_api.rb +8 -8
- data/lib/turnkey_client/api/invitations_api.rb +8 -8
- data/lib/turnkey_client/api/on_ramp_api.rb +77 -0
- data/lib/turnkey_client/api/organizations_api.rb +18 -18
- data/lib/turnkey_client/api/policies_api.rb +256 -24
- data/lib/turnkey_client/api/private_key_tags_api.rb +12 -12
- data/lib/turnkey_client/api/private_keys_api.rb +28 -28
- data/lib/turnkey_client/api/sessions_api.rb +184 -10
- data/lib/turnkey_client/api/signing_api.rb +12 -12
- data/lib/turnkey_client/api/user_auth_api.rb +20 -20
- data/lib/turnkey_client/api/user_recovery_api.rb +6 -6
- data/lib/turnkey_client/api/user_tags_api.rb +12 -12
- data/lib/turnkey_client/api/user_verification_api.rb +135 -0
- data/lib/turnkey_client/api/users_api.rb +194 -20
- data/lib/turnkey_client/api/wallets_api.rb +48 -48
- data/lib/turnkey_client/models/activity_type.rb +14 -0
- data/lib/turnkey_client/models/activity_v1_policy_evaluation.rb +287 -0
- data/lib/turnkey_client/models/address_format.rb +1 -0
- data/lib/turnkey_client/models/api_key.rb +1 -0
- data/lib/turnkey_client/models/api_key_params.rb +1 -0
- data/lib/turnkey_client/models/api_key_params_v2.rb +1 -0
- data/lib/turnkey_client/models/api_only_user_params.rb +3 -2
- data/lib/turnkey_client/models/create_organization_intent.rb +1 -0
- data/lib/turnkey_client/models/create_organization_intent_v2.rb +1 -0
- data/lib/turnkey_client/models/create_policy_intent_v3.rb +2 -0
- data/lib/turnkey_client/models/create_read_write_session_intent.rb +3 -1
- data/lib/turnkey_client/models/create_read_write_session_intent_v2.rb +19 -5
- data/lib/turnkey_client/models/create_smart_contract_interface_intent.rb +265 -0
- data/lib/turnkey_client/models/create_smart_contract_interface_request.rb +288 -0
- data/lib/turnkey_client/models/create_smart_contract_interface_result.rb +211 -0
- data/lib/turnkey_client/models/create_sub_organization_intent_v4.rb +2 -0
- data/lib/turnkey_client/models/create_sub_organization_intent_v5.rb +2 -0
- data/lib/turnkey_client/models/create_sub_organization_intent_v6.rb +2 -0
- data/lib/turnkey_client/models/create_sub_organization_intent_v7.rb +4 -0
- data/lib/turnkey_client/models/create_users_intent_v3.rb +213 -0
- data/lib/turnkey_client/models/create_users_request.rb +2 -2
- data/lib/turnkey_client/models/create_wallet_intent.rb +2 -1
- data/lib/turnkey_client/models/credential_type.rb +3 -0
- data/lib/turnkey_client/models/data_v1_smart_contract_interface.rb +329 -0
- data/lib/turnkey_client/models/delete_payment_method_intent.rb +1 -0
- data/lib/turnkey_client/models/delete_private_keys_intent.rb +1 -0
- data/lib/turnkey_client/models/delete_smart_contract_interface_intent.rb +211 -0
- data/lib/turnkey_client/models/delete_smart_contract_interface_request.rb +288 -0
- data/lib/turnkey_client/models/delete_smart_contract_interface_result.rb +211 -0
- data/lib/turnkey_client/models/delete_sub_organization_intent.rb +1 -0
- data/lib/turnkey_client/models/delete_wallets_intent.rb +1 -0
- data/lib/turnkey_client/models/email_auth_intent.rb +31 -5
- data/lib/turnkey_client/models/email_auth_intent_v2.rb +31 -5
- data/lib/turnkey_client/models/email_customization_params.rb +5 -0
- data/lib/turnkey_client/models/feature.rb +1 -0
- data/lib/turnkey_client/models/fiat_on_ramp_blockchain_network.rb +29 -0
- data/lib/turnkey_client/models/fiat_on_ramp_crypto_currency.rb +29 -0
- data/lib/turnkey_client/models/fiat_on_ramp_currency.rb +59 -0
- data/lib/turnkey_client/models/fiat_on_ramp_payment_method.rb +38 -0
- data/lib/turnkey_client/models/fiat_on_ramp_provider.rb +27 -0
- data/lib/turnkey_client/models/get_activities_request.rb +3 -3
- data/lib/turnkey_client/models/get_activities_response.rb +1 -1
- data/lib/turnkey_client/models/get_activity_request.rb +2 -2
- data/lib/turnkey_client/models/get_api_key_request.rb +1 -1
- data/lib/turnkey_client/models/get_api_keys_request.rb +3 -2
- data/lib/turnkey_client/models/get_authenticator_request.rb +2 -2
- data/lib/turnkey_client/models/get_authenticators_request.rb +2 -2
- data/lib/turnkey_client/models/get_oauth_providers_request.rb +3 -2
- data/lib/turnkey_client/models/get_oauth_providers_response.rb +1 -1
- data/lib/turnkey_client/models/get_organization_configs_request.rb +1 -1
- data/lib/turnkey_client/models/get_policies_request.rb +1 -1
- data/lib/turnkey_client/models/get_policies_response.rb +1 -1
- data/lib/turnkey_client/models/get_policy_evaluations_request.rb +226 -0
- data/lib/turnkey_client/models/get_policy_evaluations_response.rb +212 -0
- data/lib/turnkey_client/models/get_policy_request.rb +2 -2
- data/lib/turnkey_client/models/get_private_key_request.rb +2 -2
- data/lib/turnkey_client/models/get_private_keys_request.rb +1 -1
- data/lib/turnkey_client/models/get_private_keys_response.rb +1 -1
- data/lib/turnkey_client/models/get_smart_contract_interface_request.rb +226 -0
- data/lib/turnkey_client/models/get_smart_contract_interface_response.rb +210 -0
- data/lib/turnkey_client/models/get_smart_contract_interfaces_request.rb +211 -0
- data/lib/turnkey_client/models/get_smart_contract_interfaces_response.rb +213 -0
- data/lib/turnkey_client/models/get_sub_org_ids_request.rb +2 -2
- data/lib/turnkey_client/models/get_user_request.rb +2 -2
- data/lib/turnkey_client/models/get_users_request.rb +1 -1
- data/lib/turnkey_client/models/get_users_response.rb +1 -1
- data/lib/turnkey_client/models/get_verified_sub_org_ids_request.rb +2 -2
- data/lib/turnkey_client/models/get_wallet_account_request.rb +6 -4
- data/lib/turnkey_client/models/get_wallet_accounts_request.rb +3 -7
- data/lib/turnkey_client/models/get_wallet_accounts_response.rb +1 -1
- data/lib/turnkey_client/models/get_wallet_request.rb +2 -2
- data/lib/turnkey_client/models/get_wallets_request.rb +1 -1
- data/lib/turnkey_client/models/get_wallets_response.rb +1 -1
- data/lib/turnkey_client/models/get_whoami_request.rb +1 -1
- data/lib/turnkey_client/models/get_whoami_response.rb +4 -4
- data/lib/turnkey_client/models/init_fiat_on_ramp_intent.rb +315 -0
- data/lib/turnkey_client/models/init_fiat_on_ramp_request.rb +288 -0
- data/lib/turnkey_client/models/init_fiat_on_ramp_result.rb +226 -0
- data/lib/turnkey_client/models/init_otp_auth_intent.rb +28 -4
- data/lib/turnkey_client/models/init_otp_auth_intent_v2.rb +310 -0
- data/lib/turnkey_client/models/init_otp_auth_request.rb +2 -2
- data/lib/turnkey_client/models/init_otp_auth_result_v2.rb +211 -0
- data/lib/turnkey_client/models/init_otp_intent.rb +321 -0
- data/lib/turnkey_client/models/init_otp_request.rb +288 -0
- data/lib/turnkey_client/models/init_otp_result.rb +211 -0
- data/lib/turnkey_client/models/init_user_email_recovery_intent.rb +2 -1
- data/lib/turnkey_client/models/intent.rb +130 -4
- data/lib/turnkey_client/models/invitation_params.rb +1 -1
- data/lib/turnkey_client/models/list_private_key_tags_request.rb +1 -1
- data/lib/turnkey_client/models/list_private_key_tags_response.rb +1 -1
- data/lib/turnkey_client/models/list_user_tags_request.rb +1 -1
- data/lib/turnkey_client/models/list_user_tags_response.rb +1 -1
- data/lib/turnkey_client/models/oauth_intent.rb +18 -5
- data/lib/turnkey_client/models/oauth_login_intent.rb +248 -0
- data/lib/turnkey_client/models/oauth_login_request.rb +288 -0
- data/lib/turnkey_client/models/oauth_login_result.rb +211 -0
- data/lib/turnkey_client/models/otp_auth_intent.rb +10 -2
- data/lib/turnkey_client/models/otp_login_intent.rb +248 -0
- data/lib/turnkey_client/models/otp_login_request.rb +288 -0
- data/lib/turnkey_client/models/otp_login_result.rb +211 -0
- data/lib/turnkey_client/models/outcome.rb +31 -0
- data/lib/turnkey_client/models/payload_encoding.rb +1 -0
- data/lib/turnkey_client/models/policy.rb +2 -0
- data/lib/turnkey_client/models/private_key_params.rb +1 -1
- data/lib/turnkey_client/models/result.rb +121 -4
- data/lib/turnkey_client/models/root_user_params.rb +3 -2
- data/lib/turnkey_client/models/root_user_params_v2.rb +4 -3
- data/lib/turnkey_client/models/root_user_params_v3.rb +4 -3
- data/lib/turnkey_client/models/root_user_params_v4.rb +5 -3
- data/lib/turnkey_client/models/set_organization_feature_intent.rb +1 -0
- data/lib/turnkey_client/models/simple_client_extension_results.rb +2 -0
- data/lib/turnkey_client/models/smart_contract_interface_type.rb +27 -0
- data/lib/turnkey_client/models/sms_customization_params.rb +1 -0
- data/lib/turnkey_client/models/stamp_login_intent.rb +233 -0
- data/lib/turnkey_client/models/stamp_login_request.rb +288 -0
- data/lib/turnkey_client/models/stamp_login_result.rb +211 -0
- data/lib/turnkey_client/models/transaction_type.rb +1 -0
- data/lib/turnkey_client/models/ump_v1_policy_evaluation.rb +214 -0
- data/lib/turnkey_client/models/update_policy_intent.rb +4 -0
- data/lib/turnkey_client/models/update_policy_intent_v2.rb +264 -0
- data/lib/turnkey_client/models/update_policy_request.rb +2 -2
- data/lib/turnkey_client/models/update_policy_result_v2.rb +211 -0
- data/lib/turnkey_client/models/update_private_key_tag_intent.rb +1 -0
- data/lib/turnkey_client/models/update_user_email_intent.rb +237 -0
- data/lib/turnkey_client/models/update_user_email_request.rb +288 -0
- data/lib/turnkey_client/models/update_user_email_result.rb +211 -0
- data/lib/turnkey_client/models/update_user_intent.rb +4 -1
- data/lib/turnkey_client/models/update_user_name_intent.rb +226 -0
- data/lib/turnkey_client/models/update_user_name_request.rb +288 -0
- data/lib/turnkey_client/models/update_user_name_result.rb +211 -0
- data/lib/turnkey_client/models/update_user_phone_number_intent.rb +237 -0
- data/lib/turnkey_client/models/update_user_phone_number_request.rb +288 -0
- data/lib/turnkey_client/models/update_user_phone_number_result.rb +211 -0
- data/lib/turnkey_client/models/update_user_tag_intent.rb +1 -0
- data/lib/turnkey_client/models/user.rb +3 -1
- data/lib/turnkey_client/models/user_params.rb +4 -3
- data/lib/turnkey_client/models/user_params_v2.rb +4 -3
- data/lib/turnkey_client/models/user_params_v3.rb +301 -0
- data/lib/turnkey_client/models/verify_otp_intent.rb +237 -0
- data/lib/turnkey_client/models/verify_otp_request.rb +288 -0
- data/lib/turnkey_client/models/verify_otp_result.rb +211 -0
- data/lib/turnkey_client/models/wallet_account.rb +15 -4
- data/lib/turnkey_client/models/wallet_params.rb +2 -1
- data/lib/turnkey_client/version.rb +1 -1
- data/lib/turnkey_client.rb +57 -0
- data/turnkey_client-0.0.13.gem +0 -0
- metadata +60 -2
@@ -0,0 +1,288 @@
|
|
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 InitOtpRequest
|
15
|
+
attr_accessor :type
|
16
|
+
|
17
|
+
# Timestamp (in milliseconds) of the request, used to verify liveness of user requests.
|
18
|
+
attr_accessor :timestamp_ms
|
19
|
+
|
20
|
+
# Unique identifier for a given Organization.
|
21
|
+
attr_accessor :organization_id
|
22
|
+
|
23
|
+
attr_accessor :parameters
|
24
|
+
|
25
|
+
class EnumAttributeValidator
|
26
|
+
attr_reader :datatype
|
27
|
+
attr_reader :allowable_values
|
28
|
+
|
29
|
+
def initialize(datatype, allowable_values)
|
30
|
+
@allowable_values = allowable_values.map do |value|
|
31
|
+
case datatype.to_s
|
32
|
+
when /Integer/i
|
33
|
+
value.to_i
|
34
|
+
when /Float/i
|
35
|
+
value.to_f
|
36
|
+
else
|
37
|
+
value
|
38
|
+
end
|
39
|
+
end
|
40
|
+
end
|
41
|
+
|
42
|
+
def valid?(value)
|
43
|
+
!value || allowable_values.include?(value)
|
44
|
+
end
|
45
|
+
end
|
46
|
+
|
47
|
+
# Attribute mapping from ruby-style variable name to JSON key.
|
48
|
+
def self.attribute_map
|
49
|
+
{
|
50
|
+
:'type' => :'type',
|
51
|
+
:'timestamp_ms' => :'timestampMs',
|
52
|
+
:'organization_id' => :'organizationId',
|
53
|
+
:'parameters' => :'parameters'
|
54
|
+
}
|
55
|
+
end
|
56
|
+
|
57
|
+
# Attribute type mapping.
|
58
|
+
def self.openapi_types
|
59
|
+
{
|
60
|
+
:'type' => :'Object',
|
61
|
+
:'timestamp_ms' => :'Object',
|
62
|
+
:'organization_id' => :'Object',
|
63
|
+
:'parameters' => :'Object'
|
64
|
+
}
|
65
|
+
end
|
66
|
+
|
67
|
+
# List of attributes with nullable: true
|
68
|
+
def self.openapi_nullable
|
69
|
+
Set.new([
|
70
|
+
])
|
71
|
+
end
|
72
|
+
|
73
|
+
# Initializes the object
|
74
|
+
# @param [Hash] attributes Model attributes in the form of hash
|
75
|
+
def initialize(attributes = {})
|
76
|
+
if (!attributes.is_a?(Hash))
|
77
|
+
fail ArgumentError, "The input argument (attributes) must be a hash in `TurnkeyClient::InitOtpRequest` initialize method"
|
78
|
+
end
|
79
|
+
|
80
|
+
# check to see if the attribute exists and convert string to symbol for hash key
|
81
|
+
attributes = attributes.each_with_object({}) { |(k, v), h|
|
82
|
+
if (!self.class.attribute_map.key?(k.to_sym))
|
83
|
+
fail ArgumentError, "`#{k}` is not a valid attribute in `TurnkeyClient::InitOtpRequest`. Please check the name to make sure it's valid. List of attributes: " + self.class.attribute_map.keys.inspect
|
84
|
+
end
|
85
|
+
h[k.to_sym] = v
|
86
|
+
}
|
87
|
+
|
88
|
+
if attributes.key?(:'type')
|
89
|
+
self.type = attributes[:'type']
|
90
|
+
end
|
91
|
+
|
92
|
+
if attributes.key?(:'timestamp_ms')
|
93
|
+
self.timestamp_ms = attributes[:'timestamp_ms']
|
94
|
+
end
|
95
|
+
|
96
|
+
if attributes.key?(:'organization_id')
|
97
|
+
self.organization_id = attributes[:'organization_id']
|
98
|
+
end
|
99
|
+
|
100
|
+
if attributes.key?(:'parameters')
|
101
|
+
self.parameters = attributes[:'parameters']
|
102
|
+
end
|
103
|
+
end
|
104
|
+
|
105
|
+
# Show invalid properties with the reasons. Usually used together with valid?
|
106
|
+
# @return Array for valid properties with the reasons
|
107
|
+
def list_invalid_properties
|
108
|
+
invalid_properties = Array.new
|
109
|
+
if @type.nil?
|
110
|
+
invalid_properties.push('invalid value for "type", type cannot be nil.')
|
111
|
+
end
|
112
|
+
|
113
|
+
if @timestamp_ms.nil?
|
114
|
+
invalid_properties.push('invalid value for "timestamp_ms", timestamp_ms cannot be nil.')
|
115
|
+
end
|
116
|
+
|
117
|
+
if @organization_id.nil?
|
118
|
+
invalid_properties.push('invalid value for "organization_id", organization_id cannot be nil.')
|
119
|
+
end
|
120
|
+
|
121
|
+
if @parameters.nil?
|
122
|
+
invalid_properties.push('invalid value for "parameters", parameters cannot be nil.')
|
123
|
+
end
|
124
|
+
|
125
|
+
invalid_properties
|
126
|
+
end
|
127
|
+
|
128
|
+
# Check to see if the all the properties in the model are valid
|
129
|
+
# @return true if the model is valid
|
130
|
+
def valid?
|
131
|
+
return false if @type.nil?
|
132
|
+
type_validator = EnumAttributeValidator.new('Object', ['ACTIVITY_TYPE_INIT_OTP'])
|
133
|
+
return false unless type_validator.valid?(@type)
|
134
|
+
return false if @timestamp_ms.nil?
|
135
|
+
return false if @organization_id.nil?
|
136
|
+
return false if @parameters.nil?
|
137
|
+
true
|
138
|
+
end
|
139
|
+
|
140
|
+
# Custom attribute writer method checking allowed values (enum).
|
141
|
+
# @param [Object] type Object to be assigned
|
142
|
+
def type=(type)
|
143
|
+
validator = EnumAttributeValidator.new('Object', ['ACTIVITY_TYPE_INIT_OTP'])
|
144
|
+
unless validator.valid?(type)
|
145
|
+
fail ArgumentError, "invalid value for \"type\", must be one of #{validator.allowable_values}."
|
146
|
+
end
|
147
|
+
@type = type
|
148
|
+
end
|
149
|
+
|
150
|
+
# Checks equality by comparing each attribute.
|
151
|
+
# @param [Object] Object to be compared
|
152
|
+
def ==(o)
|
153
|
+
return true if self.equal?(o)
|
154
|
+
self.class == o.class &&
|
155
|
+
type == o.type &&
|
156
|
+
timestamp_ms == o.timestamp_ms &&
|
157
|
+
organization_id == o.organization_id &&
|
158
|
+
parameters == o.parameters
|
159
|
+
end
|
160
|
+
|
161
|
+
# @see the `==` method
|
162
|
+
# @param [Object] Object to be compared
|
163
|
+
def eql?(o)
|
164
|
+
self == o
|
165
|
+
end
|
166
|
+
|
167
|
+
# Calculates hash code according to all attributes.
|
168
|
+
# @return [Integer] Hash code
|
169
|
+
def hash
|
170
|
+
[type, timestamp_ms, organization_id, parameters].hash
|
171
|
+
end
|
172
|
+
|
173
|
+
# Builds the object from hash
|
174
|
+
# @param [Hash] attributes Model attributes in the form of hash
|
175
|
+
# @return [Object] Returns the model itself
|
176
|
+
def self.build_from_hash(attributes)
|
177
|
+
new.build_from_hash(attributes)
|
178
|
+
end
|
179
|
+
|
180
|
+
# Builds the object from hash
|
181
|
+
# @param [Hash] attributes Model attributes in the form of hash
|
182
|
+
# @return [Object] Returns the model itself
|
183
|
+
def build_from_hash(attributes)
|
184
|
+
return nil unless attributes.is_a?(Hash)
|
185
|
+
self.class.openapi_types.each_pair do |key, type|
|
186
|
+
if type =~ /\AArray<(.*)>/i
|
187
|
+
# check to ensure the input is an array given that the attribute
|
188
|
+
# is documented as an array but the input is not
|
189
|
+
if attributes[self.class.attribute_map[key]].is_a?(Array)
|
190
|
+
self.send("#{key}=", attributes[self.class.attribute_map[key]].map { |v| _deserialize($1, v) })
|
191
|
+
end
|
192
|
+
elsif !attributes[self.class.attribute_map[key]].nil?
|
193
|
+
self.send("#{key}=", _deserialize(type, attributes[self.class.attribute_map[key]]))
|
194
|
+
elsif attributes[self.class.attribute_map[key]].nil? && self.class.openapi_nullable.include?(key)
|
195
|
+
self.send("#{key}=", nil)
|
196
|
+
end
|
197
|
+
end
|
198
|
+
|
199
|
+
self
|
200
|
+
end
|
201
|
+
|
202
|
+
# Deserializes the data based on type
|
203
|
+
# @param string type Data type
|
204
|
+
# @param string value Value to be deserialized
|
205
|
+
# @return [Object] Deserialized data
|
206
|
+
def _deserialize(type, value)
|
207
|
+
case type.to_sym
|
208
|
+
when :DateTime
|
209
|
+
DateTime.parse(value)
|
210
|
+
when :Date
|
211
|
+
Date.parse(value)
|
212
|
+
when :String
|
213
|
+
value.to_s
|
214
|
+
when :Integer
|
215
|
+
value.to_i
|
216
|
+
when :Float
|
217
|
+
value.to_f
|
218
|
+
when :Boolean
|
219
|
+
if value.to_s =~ /\A(true|t|yes|y|1)\z/i
|
220
|
+
true
|
221
|
+
else
|
222
|
+
false
|
223
|
+
end
|
224
|
+
when :Object
|
225
|
+
# generic object (usually a Hash), return directly
|
226
|
+
value
|
227
|
+
when /\AArray<(?<inner_type>.+)>\z/
|
228
|
+
inner_type = Regexp.last_match[:inner_type]
|
229
|
+
value.map { |v| _deserialize(inner_type, v) }
|
230
|
+
when /\AHash<(?<k_type>.+?), (?<v_type>.+)>\z/
|
231
|
+
k_type = Regexp.last_match[:k_type]
|
232
|
+
v_type = Regexp.last_match[:v_type]
|
233
|
+
{}.tap do |hash|
|
234
|
+
value.each do |k, v|
|
235
|
+
hash[_deserialize(k_type, k)] = _deserialize(v_type, v)
|
236
|
+
end
|
237
|
+
end
|
238
|
+
else # model
|
239
|
+
TurnkeyClient.const_get(type).build_from_hash(value)
|
240
|
+
end
|
241
|
+
end
|
242
|
+
|
243
|
+
# Returns the string representation of the object
|
244
|
+
# @return [String] String presentation of the object
|
245
|
+
def to_s
|
246
|
+
to_hash.to_s
|
247
|
+
end
|
248
|
+
|
249
|
+
# to_body is an alias to to_hash (backward compatibility)
|
250
|
+
# @return [Hash] Returns the object in the form of hash
|
251
|
+
def to_body
|
252
|
+
to_hash
|
253
|
+
end
|
254
|
+
|
255
|
+
# Returns the object in the form of hash
|
256
|
+
# @return [Hash] Returns the object in the form of hash
|
257
|
+
def to_hash
|
258
|
+
hash = {}
|
259
|
+
self.class.attribute_map.each_pair do |attr, param|
|
260
|
+
value = self.send(attr)
|
261
|
+
if value.nil?
|
262
|
+
is_nullable = self.class.openapi_nullable.include?(attr)
|
263
|
+
next if !is_nullable || (is_nullable && !instance_variable_defined?(:"@#{attr}"))
|
264
|
+
end
|
265
|
+
|
266
|
+
hash[param] = _to_hash(value)
|
267
|
+
end
|
268
|
+
hash
|
269
|
+
end
|
270
|
+
|
271
|
+
# Outputs non-array value in the form of hash
|
272
|
+
# For object, use to_hash. Otherwise, just return the value
|
273
|
+
# @param [Object] value Any valid value
|
274
|
+
# @return [Hash] Returns the value in the form of hash
|
275
|
+
def _to_hash(value)
|
276
|
+
if value.is_a?(Array)
|
277
|
+
value.compact.map { |v| _to_hash(v) }
|
278
|
+
elsif value.is_a?(Hash)
|
279
|
+
{}.tap do |hash|
|
280
|
+
value.each { |k, v| hash[k] = _to_hash(v) }
|
281
|
+
end
|
282
|
+
elsif value.respond_to? :to_hash
|
283
|
+
value.to_hash
|
284
|
+
else
|
285
|
+
value
|
286
|
+
end
|
287
|
+
end end
|
288
|
+
end
|
@@ -0,0 +1,211 @@
|
|
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 InitOtpResult
|
15
|
+
# Unique identifier for an OTP authentication
|
16
|
+
attr_accessor :otp_id
|
17
|
+
|
18
|
+
# Attribute mapping from ruby-style variable name to JSON key.
|
19
|
+
def self.attribute_map
|
20
|
+
{
|
21
|
+
:'otp_id' => :'otpId'
|
22
|
+
}
|
23
|
+
end
|
24
|
+
|
25
|
+
# Attribute type mapping.
|
26
|
+
def self.openapi_types
|
27
|
+
{
|
28
|
+
:'otp_id' => :'Object'
|
29
|
+
}
|
30
|
+
end
|
31
|
+
|
32
|
+
# List of attributes with nullable: true
|
33
|
+
def self.openapi_nullable
|
34
|
+
Set.new([
|
35
|
+
])
|
36
|
+
end
|
37
|
+
|
38
|
+
# Initializes the object
|
39
|
+
# @param [Hash] attributes Model attributes in the form of hash
|
40
|
+
def initialize(attributes = {})
|
41
|
+
if (!attributes.is_a?(Hash))
|
42
|
+
fail ArgumentError, "The input argument (attributes) must be a hash in `TurnkeyClient::InitOtpResult` initialize method"
|
43
|
+
end
|
44
|
+
|
45
|
+
# check to see if the attribute exists and convert string to symbol for hash key
|
46
|
+
attributes = attributes.each_with_object({}) { |(k, v), h|
|
47
|
+
if (!self.class.attribute_map.key?(k.to_sym))
|
48
|
+
fail ArgumentError, "`#{k}` is not a valid attribute in `TurnkeyClient::InitOtpResult`. Please check the name to make sure it's valid. List of attributes: " + self.class.attribute_map.keys.inspect
|
49
|
+
end
|
50
|
+
h[k.to_sym] = v
|
51
|
+
}
|
52
|
+
|
53
|
+
if attributes.key?(:'otp_id')
|
54
|
+
self.otp_id = attributes[:'otp_id']
|
55
|
+
end
|
56
|
+
end
|
57
|
+
|
58
|
+
# Show invalid properties with the reasons. Usually used together with valid?
|
59
|
+
# @return Array for valid properties with the reasons
|
60
|
+
def list_invalid_properties
|
61
|
+
invalid_properties = Array.new
|
62
|
+
if @otp_id.nil?
|
63
|
+
invalid_properties.push('invalid value for "otp_id", otp_id cannot be nil.')
|
64
|
+
end
|
65
|
+
|
66
|
+
invalid_properties
|
67
|
+
end
|
68
|
+
|
69
|
+
# Check to see if the all the properties in the model are valid
|
70
|
+
# @return true if the model is valid
|
71
|
+
def valid?
|
72
|
+
return false if @otp_id.nil?
|
73
|
+
true
|
74
|
+
end
|
75
|
+
|
76
|
+
# Checks equality by comparing each attribute.
|
77
|
+
# @param [Object] Object to be compared
|
78
|
+
def ==(o)
|
79
|
+
return true if self.equal?(o)
|
80
|
+
self.class == o.class &&
|
81
|
+
otp_id == o.otp_id
|
82
|
+
end
|
83
|
+
|
84
|
+
# @see the `==` method
|
85
|
+
# @param [Object] Object to be compared
|
86
|
+
def eql?(o)
|
87
|
+
self == o
|
88
|
+
end
|
89
|
+
|
90
|
+
# Calculates hash code according to all attributes.
|
91
|
+
# @return [Integer] Hash code
|
92
|
+
def hash
|
93
|
+
[otp_id].hash
|
94
|
+
end
|
95
|
+
|
96
|
+
# Builds the object from hash
|
97
|
+
# @param [Hash] attributes Model attributes in the form of hash
|
98
|
+
# @return [Object] Returns the model itself
|
99
|
+
def self.build_from_hash(attributes)
|
100
|
+
new.build_from_hash(attributes)
|
101
|
+
end
|
102
|
+
|
103
|
+
# Builds the object from hash
|
104
|
+
# @param [Hash] attributes Model attributes in the form of hash
|
105
|
+
# @return [Object] Returns the model itself
|
106
|
+
def build_from_hash(attributes)
|
107
|
+
return nil unless attributes.is_a?(Hash)
|
108
|
+
self.class.openapi_types.each_pair do |key, type|
|
109
|
+
if type =~ /\AArray<(.*)>/i
|
110
|
+
# check to ensure the input is an array given that the attribute
|
111
|
+
# is documented as an array but the input is not
|
112
|
+
if attributes[self.class.attribute_map[key]].is_a?(Array)
|
113
|
+
self.send("#{key}=", attributes[self.class.attribute_map[key]].map { |v| _deserialize($1, v) })
|
114
|
+
end
|
115
|
+
elsif !attributes[self.class.attribute_map[key]].nil?
|
116
|
+
self.send("#{key}=", _deserialize(type, attributes[self.class.attribute_map[key]]))
|
117
|
+
elsif attributes[self.class.attribute_map[key]].nil? && self.class.openapi_nullable.include?(key)
|
118
|
+
self.send("#{key}=", nil)
|
119
|
+
end
|
120
|
+
end
|
121
|
+
|
122
|
+
self
|
123
|
+
end
|
124
|
+
|
125
|
+
# Deserializes the data based on type
|
126
|
+
# @param string type Data type
|
127
|
+
# @param string value Value to be deserialized
|
128
|
+
# @return [Object] Deserialized data
|
129
|
+
def _deserialize(type, value)
|
130
|
+
case type.to_sym
|
131
|
+
when :DateTime
|
132
|
+
DateTime.parse(value)
|
133
|
+
when :Date
|
134
|
+
Date.parse(value)
|
135
|
+
when :String
|
136
|
+
value.to_s
|
137
|
+
when :Integer
|
138
|
+
value.to_i
|
139
|
+
when :Float
|
140
|
+
value.to_f
|
141
|
+
when :Boolean
|
142
|
+
if value.to_s =~ /\A(true|t|yes|y|1)\z/i
|
143
|
+
true
|
144
|
+
else
|
145
|
+
false
|
146
|
+
end
|
147
|
+
when :Object
|
148
|
+
# generic object (usually a Hash), return directly
|
149
|
+
value
|
150
|
+
when /\AArray<(?<inner_type>.+)>\z/
|
151
|
+
inner_type = Regexp.last_match[:inner_type]
|
152
|
+
value.map { |v| _deserialize(inner_type, v) }
|
153
|
+
when /\AHash<(?<k_type>.+?), (?<v_type>.+)>\z/
|
154
|
+
k_type = Regexp.last_match[:k_type]
|
155
|
+
v_type = Regexp.last_match[:v_type]
|
156
|
+
{}.tap do |hash|
|
157
|
+
value.each do |k, v|
|
158
|
+
hash[_deserialize(k_type, k)] = _deserialize(v_type, v)
|
159
|
+
end
|
160
|
+
end
|
161
|
+
else # model
|
162
|
+
TurnkeyClient.const_get(type).build_from_hash(value)
|
163
|
+
end
|
164
|
+
end
|
165
|
+
|
166
|
+
# Returns the string representation of the object
|
167
|
+
# @return [String] String presentation of the object
|
168
|
+
def to_s
|
169
|
+
to_hash.to_s
|
170
|
+
end
|
171
|
+
|
172
|
+
# to_body is an alias to to_hash (backward compatibility)
|
173
|
+
# @return [Hash] Returns the object in the form of hash
|
174
|
+
def to_body
|
175
|
+
to_hash
|
176
|
+
end
|
177
|
+
|
178
|
+
# Returns the object in the form of hash
|
179
|
+
# @return [Hash] Returns the object in the form of hash
|
180
|
+
def to_hash
|
181
|
+
hash = {}
|
182
|
+
self.class.attribute_map.each_pair do |attr, param|
|
183
|
+
value = self.send(attr)
|
184
|
+
if value.nil?
|
185
|
+
is_nullable = self.class.openapi_nullable.include?(attr)
|
186
|
+
next if !is_nullable || (is_nullable && !instance_variable_defined?(:"@#{attr}"))
|
187
|
+
end
|
188
|
+
|
189
|
+
hash[param] = _to_hash(value)
|
190
|
+
end
|
191
|
+
hash
|
192
|
+
end
|
193
|
+
|
194
|
+
# Outputs non-array value in the form of hash
|
195
|
+
# For object, use to_hash. Otherwise, just return the value
|
196
|
+
# @param [Object] value Any valid value
|
197
|
+
# @return [Hash] Returns the value in the form of hash
|
198
|
+
def _to_hash(value)
|
199
|
+
if value.is_a?(Array)
|
200
|
+
value.compact.map { |v| _to_hash(v) }
|
201
|
+
elsif value.is_a?(Hash)
|
202
|
+
{}.tap do |hash|
|
203
|
+
value.each { |k, v| hash[k] = _to_hash(v) }
|
204
|
+
end
|
205
|
+
elsif value.respond_to? :to_hash
|
206
|
+
value.to_hash
|
207
|
+
else
|
208
|
+
value
|
209
|
+
end
|
210
|
+
end end
|
211
|
+
end
|
@@ -18,7 +18,7 @@ module TurnkeyClient
|
|
18
18
|
# Client-side public key generated by the user, to which the recovery bundle will be encrypted.
|
19
19
|
attr_accessor :target_public_key
|
20
20
|
|
21
|
-
# Expiration window (in seconds) indicating how long the recovery credential is valid. If not provided, a default of 15 minutes will be used.
|
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
22
|
attr_accessor :expiration_seconds
|
23
23
|
|
24
24
|
attr_accessor :email_customization
|
@@ -46,6 +46,7 @@ module TurnkeyClient
|
|
46
46
|
# List of attributes with nullable: true
|
47
47
|
def self.openapi_nullable
|
48
48
|
Set.new([
|
49
|
+
:'expiration_seconds',
|
49
50
|
])
|
50
51
|
end
|
51
52
|
|
@@ -172,6 +172,34 @@ module TurnkeyClient
|
|
172
172
|
|
173
173
|
attr_accessor :update_wallet_intent
|
174
174
|
|
175
|
+
attr_accessor :update_policy_intent_v2
|
176
|
+
|
177
|
+
attr_accessor :create_users_intent_v3
|
178
|
+
|
179
|
+
attr_accessor :init_otp_auth_intent_v2
|
180
|
+
|
181
|
+
attr_accessor :init_otp_intent
|
182
|
+
|
183
|
+
attr_accessor :verify_otp_intent
|
184
|
+
|
185
|
+
attr_accessor :otp_login_intent
|
186
|
+
|
187
|
+
attr_accessor :stamp_login_intent
|
188
|
+
|
189
|
+
attr_accessor :oauth_login_intent
|
190
|
+
|
191
|
+
attr_accessor :update_user_name_intent
|
192
|
+
|
193
|
+
attr_accessor :update_user_email_intent
|
194
|
+
|
195
|
+
attr_accessor :update_user_phone_number_intent
|
196
|
+
|
197
|
+
attr_accessor :init_fiat_on_ramp_intent
|
198
|
+
|
199
|
+
attr_accessor :create_smart_contract_interface_intent
|
200
|
+
|
201
|
+
attr_accessor :delete_smart_contract_interface_intent
|
202
|
+
|
175
203
|
# Attribute mapping from ruby-style variable name to JSON key.
|
176
204
|
def self.attribute_map
|
177
205
|
{
|
@@ -254,7 +282,21 @@ module TurnkeyClient
|
|
254
282
|
:'init_otp_auth_intent' => :'initOtpAuthIntent',
|
255
283
|
:'otp_auth_intent' => :'otpAuthIntent',
|
256
284
|
:'create_sub_organization_intent_v7' => :'createSubOrganizationIntentV7',
|
257
|
-
:'update_wallet_intent' => :'updateWalletIntent'
|
285
|
+
:'update_wallet_intent' => :'updateWalletIntent',
|
286
|
+
:'update_policy_intent_v2' => :'updatePolicyIntentV2',
|
287
|
+
:'create_users_intent_v3' => :'createUsersIntentV3',
|
288
|
+
:'init_otp_auth_intent_v2' => :'initOtpAuthIntentV2',
|
289
|
+
:'init_otp_intent' => :'initOtpIntent',
|
290
|
+
:'verify_otp_intent' => :'verifyOtpIntent',
|
291
|
+
:'otp_login_intent' => :'otpLoginIntent',
|
292
|
+
:'stamp_login_intent' => :'stampLoginIntent',
|
293
|
+
:'oauth_login_intent' => :'oauthLoginIntent',
|
294
|
+
:'update_user_name_intent' => :'updateUserNameIntent',
|
295
|
+
:'update_user_email_intent' => :'updateUserEmailIntent',
|
296
|
+
:'update_user_phone_number_intent' => :'updateUserPhoneNumberIntent',
|
297
|
+
:'init_fiat_on_ramp_intent' => :'initFiatOnRampIntent',
|
298
|
+
:'create_smart_contract_interface_intent' => :'createSmartContractInterfaceIntent',
|
299
|
+
:'delete_smart_contract_interface_intent' => :'deleteSmartContractInterfaceIntent'
|
258
300
|
}
|
259
301
|
end
|
260
302
|
|
@@ -340,7 +382,21 @@ module TurnkeyClient
|
|
340
382
|
:'init_otp_auth_intent' => :'Object',
|
341
383
|
:'otp_auth_intent' => :'Object',
|
342
384
|
:'create_sub_organization_intent_v7' => :'Object',
|
343
|
-
:'update_wallet_intent' => :'Object'
|
385
|
+
:'update_wallet_intent' => :'Object',
|
386
|
+
:'update_policy_intent_v2' => :'Object',
|
387
|
+
:'create_users_intent_v3' => :'Object',
|
388
|
+
:'init_otp_auth_intent_v2' => :'Object',
|
389
|
+
:'init_otp_intent' => :'Object',
|
390
|
+
:'verify_otp_intent' => :'Object',
|
391
|
+
:'otp_login_intent' => :'Object',
|
392
|
+
:'stamp_login_intent' => :'Object',
|
393
|
+
:'oauth_login_intent' => :'Object',
|
394
|
+
:'update_user_name_intent' => :'Object',
|
395
|
+
:'update_user_email_intent' => :'Object',
|
396
|
+
:'update_user_phone_number_intent' => :'Object',
|
397
|
+
:'init_fiat_on_ramp_intent' => :'Object',
|
398
|
+
:'create_smart_contract_interface_intent' => :'Object',
|
399
|
+
:'delete_smart_contract_interface_intent' => :'Object'
|
344
400
|
}
|
345
401
|
end
|
346
402
|
|
@@ -684,6 +740,62 @@ module TurnkeyClient
|
|
684
740
|
if attributes.key?(:'update_wallet_intent')
|
685
741
|
self.update_wallet_intent = attributes[:'update_wallet_intent']
|
686
742
|
end
|
743
|
+
|
744
|
+
if attributes.key?(:'update_policy_intent_v2')
|
745
|
+
self.update_policy_intent_v2 = attributes[:'update_policy_intent_v2']
|
746
|
+
end
|
747
|
+
|
748
|
+
if attributes.key?(:'create_users_intent_v3')
|
749
|
+
self.create_users_intent_v3 = attributes[:'create_users_intent_v3']
|
750
|
+
end
|
751
|
+
|
752
|
+
if attributes.key?(:'init_otp_auth_intent_v2')
|
753
|
+
self.init_otp_auth_intent_v2 = attributes[:'init_otp_auth_intent_v2']
|
754
|
+
end
|
755
|
+
|
756
|
+
if attributes.key?(:'init_otp_intent')
|
757
|
+
self.init_otp_intent = attributes[:'init_otp_intent']
|
758
|
+
end
|
759
|
+
|
760
|
+
if attributes.key?(:'verify_otp_intent')
|
761
|
+
self.verify_otp_intent = attributes[:'verify_otp_intent']
|
762
|
+
end
|
763
|
+
|
764
|
+
if attributes.key?(:'otp_login_intent')
|
765
|
+
self.otp_login_intent = attributes[:'otp_login_intent']
|
766
|
+
end
|
767
|
+
|
768
|
+
if attributes.key?(:'stamp_login_intent')
|
769
|
+
self.stamp_login_intent = attributes[:'stamp_login_intent']
|
770
|
+
end
|
771
|
+
|
772
|
+
if attributes.key?(:'oauth_login_intent')
|
773
|
+
self.oauth_login_intent = attributes[:'oauth_login_intent']
|
774
|
+
end
|
775
|
+
|
776
|
+
if attributes.key?(:'update_user_name_intent')
|
777
|
+
self.update_user_name_intent = attributes[:'update_user_name_intent']
|
778
|
+
end
|
779
|
+
|
780
|
+
if attributes.key?(:'update_user_email_intent')
|
781
|
+
self.update_user_email_intent = attributes[:'update_user_email_intent']
|
782
|
+
end
|
783
|
+
|
784
|
+
if attributes.key?(:'update_user_phone_number_intent')
|
785
|
+
self.update_user_phone_number_intent = attributes[:'update_user_phone_number_intent']
|
786
|
+
end
|
787
|
+
|
788
|
+
if attributes.key?(:'init_fiat_on_ramp_intent')
|
789
|
+
self.init_fiat_on_ramp_intent = attributes[:'init_fiat_on_ramp_intent']
|
790
|
+
end
|
791
|
+
|
792
|
+
if attributes.key?(:'create_smart_contract_interface_intent')
|
793
|
+
self.create_smart_contract_interface_intent = attributes[:'create_smart_contract_interface_intent']
|
794
|
+
end
|
795
|
+
|
796
|
+
if attributes.key?(:'delete_smart_contract_interface_intent')
|
797
|
+
self.delete_smart_contract_interface_intent = attributes[:'delete_smart_contract_interface_intent']
|
798
|
+
end
|
687
799
|
end
|
688
800
|
|
689
801
|
# Show invalid properties with the reasons. Usually used together with valid?
|
@@ -783,7 +895,21 @@ module TurnkeyClient
|
|
783
895
|
init_otp_auth_intent == o.init_otp_auth_intent &&
|
784
896
|
otp_auth_intent == o.otp_auth_intent &&
|
785
897
|
create_sub_organization_intent_v7 == o.create_sub_organization_intent_v7 &&
|
786
|
-
update_wallet_intent == o.update_wallet_intent
|
898
|
+
update_wallet_intent == o.update_wallet_intent &&
|
899
|
+
update_policy_intent_v2 == o.update_policy_intent_v2 &&
|
900
|
+
create_users_intent_v3 == o.create_users_intent_v3 &&
|
901
|
+
init_otp_auth_intent_v2 == o.init_otp_auth_intent_v2 &&
|
902
|
+
init_otp_intent == o.init_otp_intent &&
|
903
|
+
verify_otp_intent == o.verify_otp_intent &&
|
904
|
+
otp_login_intent == o.otp_login_intent &&
|
905
|
+
stamp_login_intent == o.stamp_login_intent &&
|
906
|
+
oauth_login_intent == o.oauth_login_intent &&
|
907
|
+
update_user_name_intent == o.update_user_name_intent &&
|
908
|
+
update_user_email_intent == o.update_user_email_intent &&
|
909
|
+
update_user_phone_number_intent == o.update_user_phone_number_intent &&
|
910
|
+
init_fiat_on_ramp_intent == o.init_fiat_on_ramp_intent &&
|
911
|
+
create_smart_contract_interface_intent == o.create_smart_contract_interface_intent &&
|
912
|
+
delete_smart_contract_interface_intent == o.delete_smart_contract_interface_intent
|
787
913
|
end
|
788
914
|
|
789
915
|
# @see the `==` method
|
@@ -795,7 +921,7 @@ module TurnkeyClient
|
|
795
921
|
# Calculates hash code according to all attributes.
|
796
922
|
# @return [Integer] Hash code
|
797
923
|
def hash
|
798
|
-
[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].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
|
799
925
|
end
|
800
926
|
|
801
927
|
# Builds the object from hash
|