turnkey_client 0.0.7 → 0.0.9
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/organizations_api.rb +58 -0
- data/lib/turnkey_client/api/private_keys_api.rb +58 -0
- data/lib/turnkey_client/api/wallets_api.rb +58 -0
- data/lib/turnkey_client/models/activity_type.rb +4 -0
- data/lib/turnkey_client/models/address_format.rb +22 -0
- data/lib/turnkey_client/models/create_read_write_session_intent_v2.rb +241 -0
- data/lib/turnkey_client/models/create_read_write_session_request.rb +2 -2
- data/lib/turnkey_client/models/create_read_write_session_result_v2.rb +286 -0
- data/lib/turnkey_client/models/delete_private_keys_intent.rb +223 -0
- data/lib/turnkey_client/models/delete_private_keys_request.rb +288 -0
- data/lib/turnkey_client/models/delete_private_keys_result.rb +213 -0
- data/lib/turnkey_client/models/delete_sub_organization_intent.rb +206 -0
- data/lib/turnkey_client/models/delete_sub_organization_request.rb +288 -0
- data/lib/turnkey_client/models/delete_sub_organization_result.rb +211 -0
- data/lib/turnkey_client/models/delete_wallets_intent.rb +223 -0
- data/lib/turnkey_client/models/delete_wallets_request.rb +288 -0
- data/lib/turnkey_client/models/delete_wallets_result.rb +213 -0
- data/lib/turnkey_client/models/intent.rb +40 -4
- data/lib/turnkey_client/models/result.rb +40 -4
- data/lib/turnkey_client/models/transaction_type.rb +2 -1
- data/lib/turnkey_client/version.rb +1 -1
- data/lib/turnkey_client.rb +11 -0
- data/turnkey_client-0.0.7.gem +0 -0
- data/turnkey_client-0.0.8.gem +0 -0
- metadata +15 -2
@@ -0,0 +1,213 @@
|
|
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 DeleteWalletsResult
|
15
|
+
# A list of wallet unique identifiers that were removed
|
16
|
+
attr_accessor :wallet_ids
|
17
|
+
|
18
|
+
# Attribute mapping from ruby-style variable name to JSON key.
|
19
|
+
def self.attribute_map
|
20
|
+
{
|
21
|
+
:'wallet_ids' => :'walletIds'
|
22
|
+
}
|
23
|
+
end
|
24
|
+
|
25
|
+
# Attribute type mapping.
|
26
|
+
def self.openapi_types
|
27
|
+
{
|
28
|
+
:'wallet_ids' => :'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::DeleteWalletsResult` 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::DeleteWalletsResult`. 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?(:'wallet_ids')
|
54
|
+
if (value = attributes[:'wallet_ids']).is_a?(Array)
|
55
|
+
self.wallet_ids = value
|
56
|
+
end
|
57
|
+
end
|
58
|
+
end
|
59
|
+
|
60
|
+
# Show invalid properties with the reasons. Usually used together with valid?
|
61
|
+
# @return Array for valid properties with the reasons
|
62
|
+
def list_invalid_properties
|
63
|
+
invalid_properties = Array.new
|
64
|
+
if @wallet_ids.nil?
|
65
|
+
invalid_properties.push('invalid value for "wallet_ids", wallet_ids cannot be nil.')
|
66
|
+
end
|
67
|
+
|
68
|
+
invalid_properties
|
69
|
+
end
|
70
|
+
|
71
|
+
# Check to see if the all the properties in the model are valid
|
72
|
+
# @return true if the model is valid
|
73
|
+
def valid?
|
74
|
+
return false if @wallet_ids.nil?
|
75
|
+
true
|
76
|
+
end
|
77
|
+
|
78
|
+
# Checks equality by comparing each attribute.
|
79
|
+
# @param [Object] Object to be compared
|
80
|
+
def ==(o)
|
81
|
+
return true if self.equal?(o)
|
82
|
+
self.class == o.class &&
|
83
|
+
wallet_ids == o.wallet_ids
|
84
|
+
end
|
85
|
+
|
86
|
+
# @see the `==` method
|
87
|
+
# @param [Object] Object to be compared
|
88
|
+
def eql?(o)
|
89
|
+
self == o
|
90
|
+
end
|
91
|
+
|
92
|
+
# Calculates hash code according to all attributes.
|
93
|
+
# @return [Integer] Hash code
|
94
|
+
def hash
|
95
|
+
[wallet_ids].hash
|
96
|
+
end
|
97
|
+
|
98
|
+
# Builds the object from hash
|
99
|
+
# @param [Hash] attributes Model attributes in the form of hash
|
100
|
+
# @return [Object] Returns the model itself
|
101
|
+
def self.build_from_hash(attributes)
|
102
|
+
new.build_from_hash(attributes)
|
103
|
+
end
|
104
|
+
|
105
|
+
# Builds the object from hash
|
106
|
+
# @param [Hash] attributes Model attributes in the form of hash
|
107
|
+
# @return [Object] Returns the model itself
|
108
|
+
def build_from_hash(attributes)
|
109
|
+
return nil unless attributes.is_a?(Hash)
|
110
|
+
self.class.openapi_types.each_pair do |key, type|
|
111
|
+
if type =~ /\AArray<(.*)>/i
|
112
|
+
# check to ensure the input is an array given that the attribute
|
113
|
+
# is documented as an array but the input is not
|
114
|
+
if attributes[self.class.attribute_map[key]].is_a?(Array)
|
115
|
+
self.send("#{key}=", attributes[self.class.attribute_map[key]].map { |v| _deserialize($1, v) })
|
116
|
+
end
|
117
|
+
elsif !attributes[self.class.attribute_map[key]].nil?
|
118
|
+
self.send("#{key}=", _deserialize(type, attributes[self.class.attribute_map[key]]))
|
119
|
+
elsif attributes[self.class.attribute_map[key]].nil? && self.class.openapi_nullable.include?(key)
|
120
|
+
self.send("#{key}=", nil)
|
121
|
+
end
|
122
|
+
end
|
123
|
+
|
124
|
+
self
|
125
|
+
end
|
126
|
+
|
127
|
+
# Deserializes the data based on type
|
128
|
+
# @param string type Data type
|
129
|
+
# @param string value Value to be deserialized
|
130
|
+
# @return [Object] Deserialized data
|
131
|
+
def _deserialize(type, value)
|
132
|
+
case type.to_sym
|
133
|
+
when :DateTime
|
134
|
+
DateTime.parse(value)
|
135
|
+
when :Date
|
136
|
+
Date.parse(value)
|
137
|
+
when :String
|
138
|
+
value.to_s
|
139
|
+
when :Integer
|
140
|
+
value.to_i
|
141
|
+
when :Float
|
142
|
+
value.to_f
|
143
|
+
when :Boolean
|
144
|
+
if value.to_s =~ /\A(true|t|yes|y|1)\z/i
|
145
|
+
true
|
146
|
+
else
|
147
|
+
false
|
148
|
+
end
|
149
|
+
when :Object
|
150
|
+
# generic object (usually a Hash), return directly
|
151
|
+
value
|
152
|
+
when /\AArray<(?<inner_type>.+)>\z/
|
153
|
+
inner_type = Regexp.last_match[:inner_type]
|
154
|
+
value.map { |v| _deserialize(inner_type, v) }
|
155
|
+
when /\AHash<(?<k_type>.+?), (?<v_type>.+)>\z/
|
156
|
+
k_type = Regexp.last_match[:k_type]
|
157
|
+
v_type = Regexp.last_match[:v_type]
|
158
|
+
{}.tap do |hash|
|
159
|
+
value.each do |k, v|
|
160
|
+
hash[_deserialize(k_type, k)] = _deserialize(v_type, v)
|
161
|
+
end
|
162
|
+
end
|
163
|
+
else # model
|
164
|
+
TurnkeyClient.const_get(type).build_from_hash(value)
|
165
|
+
end
|
166
|
+
end
|
167
|
+
|
168
|
+
# Returns the string representation of the object
|
169
|
+
# @return [String] String presentation of the object
|
170
|
+
def to_s
|
171
|
+
to_hash.to_s
|
172
|
+
end
|
173
|
+
|
174
|
+
# to_body is an alias to to_hash (backward compatibility)
|
175
|
+
# @return [Hash] Returns the object in the form of hash
|
176
|
+
def to_body
|
177
|
+
to_hash
|
178
|
+
end
|
179
|
+
|
180
|
+
# Returns the object in the form of hash
|
181
|
+
# @return [Hash] Returns the object in the form of hash
|
182
|
+
def to_hash
|
183
|
+
hash = {}
|
184
|
+
self.class.attribute_map.each_pair do |attr, param|
|
185
|
+
value = self.send(attr)
|
186
|
+
if value.nil?
|
187
|
+
is_nullable = self.class.openapi_nullable.include?(attr)
|
188
|
+
next if !is_nullable || (is_nullable && !instance_variable_defined?(:"@#{attr}"))
|
189
|
+
end
|
190
|
+
|
191
|
+
hash[param] = _to_hash(value)
|
192
|
+
end
|
193
|
+
hash
|
194
|
+
end
|
195
|
+
|
196
|
+
# Outputs non-array value in the form of hash
|
197
|
+
# For object, use to_hash. Otherwise, just return the value
|
198
|
+
# @param [Object] value Any valid value
|
199
|
+
# @return [Hash] Returns the value in the form of hash
|
200
|
+
def _to_hash(value)
|
201
|
+
if value.is_a?(Array)
|
202
|
+
value.compact.map { |v| _to_hash(v) }
|
203
|
+
elsif value.is_a?(Hash)
|
204
|
+
{}.tap do |hash|
|
205
|
+
value.each { |k, v| hash[k] = _to_hash(v) }
|
206
|
+
end
|
207
|
+
elsif value.respond_to? :to_hash
|
208
|
+
value.to_hash
|
209
|
+
else
|
210
|
+
value
|
211
|
+
end
|
212
|
+
end end
|
213
|
+
end
|
@@ -156,6 +156,14 @@ module TurnkeyClient
|
|
156
156
|
|
157
157
|
attr_accessor :create_sub_organization_intent_v6
|
158
158
|
|
159
|
+
attr_accessor :delete_private_keys_intent
|
160
|
+
|
161
|
+
attr_accessor :delete_wallets_intent
|
162
|
+
|
163
|
+
attr_accessor :create_read_write_session_intent_v2
|
164
|
+
|
165
|
+
attr_accessor :delete_sub_organization_intent
|
166
|
+
|
159
167
|
# Attribute mapping from ruby-style variable name to JSON key.
|
160
168
|
def self.attribute_map
|
161
169
|
{
|
@@ -230,7 +238,11 @@ module TurnkeyClient
|
|
230
238
|
:'create_api_keys_intent_v2' => :'createApiKeysIntentV2',
|
231
239
|
:'create_read_write_session_intent' => :'createReadWriteSessionIntent',
|
232
240
|
:'email_auth_intent_v2' => :'emailAuthIntentV2',
|
233
|
-
:'create_sub_organization_intent_v6' => :'createSubOrganizationIntentV6'
|
241
|
+
:'create_sub_organization_intent_v6' => :'createSubOrganizationIntentV6',
|
242
|
+
:'delete_private_keys_intent' => :'deletePrivateKeysIntent',
|
243
|
+
:'delete_wallets_intent' => :'deleteWalletsIntent',
|
244
|
+
:'create_read_write_session_intent_v2' => :'createReadWriteSessionIntentV2',
|
245
|
+
:'delete_sub_organization_intent' => :'deleteSubOrganizationIntent'
|
234
246
|
}
|
235
247
|
end
|
236
248
|
|
@@ -308,7 +320,11 @@ module TurnkeyClient
|
|
308
320
|
:'create_api_keys_intent_v2' => :'Object',
|
309
321
|
:'create_read_write_session_intent' => :'Object',
|
310
322
|
:'email_auth_intent_v2' => :'Object',
|
311
|
-
:'create_sub_organization_intent_v6' => :'Object'
|
323
|
+
:'create_sub_organization_intent_v6' => :'Object',
|
324
|
+
:'delete_private_keys_intent' => :'Object',
|
325
|
+
:'delete_wallets_intent' => :'Object',
|
326
|
+
:'create_read_write_session_intent_v2' => :'Object',
|
327
|
+
:'delete_sub_organization_intent' => :'Object'
|
312
328
|
}
|
313
329
|
end
|
314
330
|
|
@@ -620,6 +636,22 @@ module TurnkeyClient
|
|
620
636
|
if attributes.key?(:'create_sub_organization_intent_v6')
|
621
637
|
self.create_sub_organization_intent_v6 = attributes[:'create_sub_organization_intent_v6']
|
622
638
|
end
|
639
|
+
|
640
|
+
if attributes.key?(:'delete_private_keys_intent')
|
641
|
+
self.delete_private_keys_intent = attributes[:'delete_private_keys_intent']
|
642
|
+
end
|
643
|
+
|
644
|
+
if attributes.key?(:'delete_wallets_intent')
|
645
|
+
self.delete_wallets_intent = attributes[:'delete_wallets_intent']
|
646
|
+
end
|
647
|
+
|
648
|
+
if attributes.key?(:'create_read_write_session_intent_v2')
|
649
|
+
self.create_read_write_session_intent_v2 = attributes[:'create_read_write_session_intent_v2']
|
650
|
+
end
|
651
|
+
|
652
|
+
if attributes.key?(:'delete_sub_organization_intent')
|
653
|
+
self.delete_sub_organization_intent = attributes[:'delete_sub_organization_intent']
|
654
|
+
end
|
623
655
|
end
|
624
656
|
|
625
657
|
# Show invalid properties with the reasons. Usually used together with valid?
|
@@ -711,7 +743,11 @@ module TurnkeyClient
|
|
711
743
|
create_api_keys_intent_v2 == o.create_api_keys_intent_v2 &&
|
712
744
|
create_read_write_session_intent == o.create_read_write_session_intent &&
|
713
745
|
email_auth_intent_v2 == o.email_auth_intent_v2 &&
|
714
|
-
create_sub_organization_intent_v6 == o.create_sub_organization_intent_v6
|
746
|
+
create_sub_organization_intent_v6 == o.create_sub_organization_intent_v6 &&
|
747
|
+
delete_private_keys_intent == o.delete_private_keys_intent &&
|
748
|
+
delete_wallets_intent == o.delete_wallets_intent &&
|
749
|
+
create_read_write_session_intent_v2 == o.create_read_write_session_intent_v2 &&
|
750
|
+
delete_sub_organization_intent == o.delete_sub_organization_intent
|
715
751
|
end
|
716
752
|
|
717
753
|
# @see the `==` method
|
@@ -723,7 +759,7 @@ module TurnkeyClient
|
|
723
759
|
# Calculates hash code according to all attributes.
|
724
760
|
# @return [Integer] Hash code
|
725
761
|
def hash
|
726
|
-
[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].hash
|
762
|
+
[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].hash
|
727
763
|
end
|
728
764
|
|
729
765
|
# Builds the object from hash
|
@@ -128,6 +128,14 @@ module TurnkeyClient
|
|
128
128
|
|
129
129
|
attr_accessor :create_sub_organization_result_v6
|
130
130
|
|
131
|
+
attr_accessor :delete_private_keys_result
|
132
|
+
|
133
|
+
attr_accessor :delete_wallets_result
|
134
|
+
|
135
|
+
attr_accessor :create_read_write_session_result_v2
|
136
|
+
|
137
|
+
attr_accessor :delete_sub_organization_result
|
138
|
+
|
131
139
|
# Attribute mapping from ruby-style variable name to JSON key.
|
132
140
|
def self.attribute_map
|
133
141
|
{
|
@@ -188,7 +196,11 @@ module TurnkeyClient
|
|
188
196
|
:'create_sub_organization_result_v5' => :'createSubOrganizationResultV5',
|
189
197
|
:'oauth_result' => :'oauthResult',
|
190
198
|
:'create_read_write_session_result' => :'createReadWriteSessionResult',
|
191
|
-
:'create_sub_organization_result_v6' => :'createSubOrganizationResultV6'
|
199
|
+
:'create_sub_organization_result_v6' => :'createSubOrganizationResultV6',
|
200
|
+
:'delete_private_keys_result' => :'deletePrivateKeysResult',
|
201
|
+
:'delete_wallets_result' => :'deleteWalletsResult',
|
202
|
+
:'create_read_write_session_result_v2' => :'createReadWriteSessionResultV2',
|
203
|
+
:'delete_sub_organization_result' => :'deleteSubOrganizationResult'
|
192
204
|
}
|
193
205
|
end
|
194
206
|
|
@@ -252,7 +264,11 @@ module TurnkeyClient
|
|
252
264
|
:'create_sub_organization_result_v5' => :'Object',
|
253
265
|
:'oauth_result' => :'Object',
|
254
266
|
:'create_read_write_session_result' => :'Object',
|
255
|
-
:'create_sub_organization_result_v6' => :'Object'
|
267
|
+
:'create_sub_organization_result_v6' => :'Object',
|
268
|
+
:'delete_private_keys_result' => :'Object',
|
269
|
+
:'delete_wallets_result' => :'Object',
|
270
|
+
:'create_read_write_session_result_v2' => :'Object',
|
271
|
+
:'delete_sub_organization_result' => :'Object'
|
256
272
|
}
|
257
273
|
end
|
258
274
|
|
@@ -508,6 +524,22 @@ module TurnkeyClient
|
|
508
524
|
if attributes.key?(:'create_sub_organization_result_v6')
|
509
525
|
self.create_sub_organization_result_v6 = attributes[:'create_sub_organization_result_v6']
|
510
526
|
end
|
527
|
+
|
528
|
+
if attributes.key?(:'delete_private_keys_result')
|
529
|
+
self.delete_private_keys_result = attributes[:'delete_private_keys_result']
|
530
|
+
end
|
531
|
+
|
532
|
+
if attributes.key?(:'delete_wallets_result')
|
533
|
+
self.delete_wallets_result = attributes[:'delete_wallets_result']
|
534
|
+
end
|
535
|
+
|
536
|
+
if attributes.key?(:'create_read_write_session_result_v2')
|
537
|
+
self.create_read_write_session_result_v2 = attributes[:'create_read_write_session_result_v2']
|
538
|
+
end
|
539
|
+
|
540
|
+
if attributes.key?(:'delete_sub_organization_result')
|
541
|
+
self.delete_sub_organization_result = attributes[:'delete_sub_organization_result']
|
542
|
+
end
|
511
543
|
end
|
512
544
|
|
513
545
|
# Show invalid properties with the reasons. Usually used together with valid?
|
@@ -585,7 +617,11 @@ module TurnkeyClient
|
|
585
617
|
create_sub_organization_result_v5 == o.create_sub_organization_result_v5 &&
|
586
618
|
oauth_result == o.oauth_result &&
|
587
619
|
create_read_write_session_result == o.create_read_write_session_result &&
|
588
|
-
create_sub_organization_result_v6 == o.create_sub_organization_result_v6
|
620
|
+
create_sub_organization_result_v6 == o.create_sub_organization_result_v6 &&
|
621
|
+
delete_private_keys_result == o.delete_private_keys_result &&
|
622
|
+
delete_wallets_result == o.delete_wallets_result &&
|
623
|
+
create_read_write_session_result_v2 == o.create_read_write_session_result_v2 &&
|
624
|
+
delete_sub_organization_result == o.delete_sub_organization_result
|
589
625
|
end
|
590
626
|
|
591
627
|
# @see the `==` method
|
@@ -597,7 +633,7 @@ module TurnkeyClient
|
|
597
633
|
# Calculates hash code according to all attributes.
|
598
634
|
# @return [Integer] Hash code
|
599
635
|
def hash
|
600
|
-
[create_organization_result, create_authenticators_result, create_users_result, create_private_keys_result, create_invitations_result, accept_invitation_result, sign_raw_payload_result, create_policy_result, disable_private_key_result, delete_users_result, delete_authenticators_result, delete_invitation_result, delete_organization_result, delete_policy_result, create_user_tag_result, delete_user_tags_result, sign_transaction_result, delete_api_keys_result, create_api_keys_result, create_private_key_tag_result, delete_private_key_tags_result, set_payment_method_result, activate_billing_tier_result, delete_payment_method_result, create_api_only_users_result, update_root_quorum_result, update_user_tag_result, update_private_key_tag_result, create_sub_organization_result, update_allowed_origins_result, create_private_keys_result_v2, update_user_result, update_policy_result, create_sub_organization_result_v3, create_wallet_result, create_wallet_accounts_result, init_user_email_recovery_result, recover_user_result, set_organization_feature_result, remove_organization_feature_result, export_private_key_result, export_wallet_result, create_sub_organization_result_v4, email_auth_result, export_wallet_account_result, init_import_wallet_result, import_wallet_result, init_import_private_key_result, import_private_key_result, create_policies_result, sign_raw_payloads_result, create_read_only_session_result, create_oauth_providers_result, delete_oauth_providers_result, create_sub_organization_result_v5, oauth_result, create_read_write_session_result, create_sub_organization_result_v6].hash
|
636
|
+
[create_organization_result, create_authenticators_result, create_users_result, create_private_keys_result, create_invitations_result, accept_invitation_result, sign_raw_payload_result, create_policy_result, disable_private_key_result, delete_users_result, delete_authenticators_result, delete_invitation_result, delete_organization_result, delete_policy_result, create_user_tag_result, delete_user_tags_result, sign_transaction_result, delete_api_keys_result, create_api_keys_result, create_private_key_tag_result, delete_private_key_tags_result, set_payment_method_result, activate_billing_tier_result, delete_payment_method_result, create_api_only_users_result, update_root_quorum_result, update_user_tag_result, update_private_key_tag_result, create_sub_organization_result, update_allowed_origins_result, create_private_keys_result_v2, update_user_result, update_policy_result, create_sub_organization_result_v3, create_wallet_result, create_wallet_accounts_result, init_user_email_recovery_result, recover_user_result, set_organization_feature_result, remove_organization_feature_result, export_private_key_result, export_wallet_result, create_sub_organization_result_v4, email_auth_result, export_wallet_account_result, init_import_wallet_result, import_wallet_result, init_import_private_key_result, import_private_key_result, create_policies_result, sign_raw_payloads_result, create_read_only_session_result, create_oauth_providers_result, delete_oauth_providers_result, create_sub_organization_result_v5, oauth_result, create_read_write_session_result, create_sub_organization_result_v6, delete_private_keys_result, delete_wallets_result, create_read_write_session_result_v2, delete_sub_organization_result].hash
|
601
637
|
end
|
602
638
|
|
603
639
|
# Builds the object from hash
|
@@ -12,7 +12,8 @@ require 'date'
|
|
12
12
|
|
13
13
|
module TurnkeyClient
|
14
14
|
class TransactionType
|
15
|
-
|
15
|
+
ETHEREUM = 'TRANSACTION_TYPE_ETHEREUM'.freeze
|
16
|
+
SOLANA = 'TRANSACTION_TYPE_SOLANA'.freeze
|
16
17
|
|
17
18
|
# Builds the enum from string
|
18
19
|
# @param [String] The enum value in the form of the string
|
data/lib/turnkey_client.rb
CHANGED
@@ -81,8 +81,10 @@ require 'turnkey_client/models/create_read_only_session_intent'
|
|
81
81
|
require 'turnkey_client/models/create_read_only_session_request'
|
82
82
|
require 'turnkey_client/models/create_read_only_session_result'
|
83
83
|
require 'turnkey_client/models/create_read_write_session_intent'
|
84
|
+
require 'turnkey_client/models/create_read_write_session_intent_v2'
|
84
85
|
require 'turnkey_client/models/create_read_write_session_request'
|
85
86
|
require 'turnkey_client/models/create_read_write_session_result'
|
87
|
+
require 'turnkey_client/models/create_read_write_session_result_v2'
|
86
88
|
require 'turnkey_client/models/create_sub_organization_intent'
|
87
89
|
require 'turnkey_client/models/create_sub_organization_intent_v2'
|
88
90
|
require 'turnkey_client/models/create_sub_organization_intent_v3'
|
@@ -134,12 +136,21 @@ require 'turnkey_client/models/delete_policy_result'
|
|
134
136
|
require 'turnkey_client/models/delete_private_key_tags_intent'
|
135
137
|
require 'turnkey_client/models/delete_private_key_tags_request'
|
136
138
|
require 'turnkey_client/models/delete_private_key_tags_result'
|
139
|
+
require 'turnkey_client/models/delete_private_keys_intent'
|
140
|
+
require 'turnkey_client/models/delete_private_keys_request'
|
141
|
+
require 'turnkey_client/models/delete_private_keys_result'
|
142
|
+
require 'turnkey_client/models/delete_sub_organization_intent'
|
143
|
+
require 'turnkey_client/models/delete_sub_organization_request'
|
144
|
+
require 'turnkey_client/models/delete_sub_organization_result'
|
137
145
|
require 'turnkey_client/models/delete_user_tags_intent'
|
138
146
|
require 'turnkey_client/models/delete_user_tags_request'
|
139
147
|
require 'turnkey_client/models/delete_user_tags_result'
|
140
148
|
require 'turnkey_client/models/delete_users_intent'
|
141
149
|
require 'turnkey_client/models/delete_users_request'
|
142
150
|
require 'turnkey_client/models/delete_users_result'
|
151
|
+
require 'turnkey_client/models/delete_wallets_intent'
|
152
|
+
require 'turnkey_client/models/delete_wallets_request'
|
153
|
+
require 'turnkey_client/models/delete_wallets_result'
|
143
154
|
require 'turnkey_client/models/disable_private_key_intent'
|
144
155
|
require 'turnkey_client/models/disable_private_key_result'
|
145
156
|
require 'turnkey_client/models/effect'
|
Binary file
|
Binary file
|
metadata
CHANGED
@@ -1,14 +1,14 @@
|
|
1
1
|
--- !ruby/object:Gem::Specification
|
2
2
|
name: turnkey_client
|
3
3
|
version: !ruby/object:Gem::Version
|
4
|
-
version: 0.0.
|
4
|
+
version: 0.0.9
|
5
5
|
platform: ruby
|
6
6
|
authors:
|
7
7
|
- Turnkey Engineering
|
8
8
|
autorequire:
|
9
9
|
bindir: bin
|
10
10
|
cert_chain: []
|
11
|
-
date: 2024-
|
11
|
+
date: 2024-10-03 00:00:00.000000000 Z
|
12
12
|
dependencies:
|
13
13
|
- !ruby/object:Gem::Dependency
|
14
14
|
name: typhoeus
|
@@ -188,8 +188,10 @@ files:
|
|
188
188
|
- lib/turnkey_client/models/create_read_only_session_request.rb
|
189
189
|
- lib/turnkey_client/models/create_read_only_session_result.rb
|
190
190
|
- lib/turnkey_client/models/create_read_write_session_intent.rb
|
191
|
+
- lib/turnkey_client/models/create_read_write_session_intent_v2.rb
|
191
192
|
- lib/turnkey_client/models/create_read_write_session_request.rb
|
192
193
|
- lib/turnkey_client/models/create_read_write_session_result.rb
|
194
|
+
- lib/turnkey_client/models/create_read_write_session_result_v2.rb
|
193
195
|
- lib/turnkey_client/models/create_sub_organization_intent.rb
|
194
196
|
- lib/turnkey_client/models/create_sub_organization_intent_v2.rb
|
195
197
|
- lib/turnkey_client/models/create_sub_organization_intent_v3.rb
|
@@ -241,12 +243,21 @@ files:
|
|
241
243
|
- lib/turnkey_client/models/delete_private_key_tags_intent.rb
|
242
244
|
- lib/turnkey_client/models/delete_private_key_tags_request.rb
|
243
245
|
- lib/turnkey_client/models/delete_private_key_tags_result.rb
|
246
|
+
- lib/turnkey_client/models/delete_private_keys_intent.rb
|
247
|
+
- lib/turnkey_client/models/delete_private_keys_request.rb
|
248
|
+
- lib/turnkey_client/models/delete_private_keys_result.rb
|
249
|
+
- lib/turnkey_client/models/delete_sub_organization_intent.rb
|
250
|
+
- lib/turnkey_client/models/delete_sub_organization_request.rb
|
251
|
+
- lib/turnkey_client/models/delete_sub_organization_result.rb
|
244
252
|
- lib/turnkey_client/models/delete_user_tags_intent.rb
|
245
253
|
- lib/turnkey_client/models/delete_user_tags_request.rb
|
246
254
|
- lib/turnkey_client/models/delete_user_tags_result.rb
|
247
255
|
- lib/turnkey_client/models/delete_users_intent.rb
|
248
256
|
- lib/turnkey_client/models/delete_users_request.rb
|
249
257
|
- lib/turnkey_client/models/delete_users_result.rb
|
258
|
+
- lib/turnkey_client/models/delete_wallets_intent.rb
|
259
|
+
- lib/turnkey_client/models/delete_wallets_request.rb
|
260
|
+
- lib/turnkey_client/models/delete_wallets_result.rb
|
250
261
|
- lib/turnkey_client/models/disable_private_key_intent.rb
|
251
262
|
- lib/turnkey_client/models/disable_private_key_result.rb
|
252
263
|
- lib/turnkey_client/models/effect.rb
|
@@ -409,6 +420,8 @@ files:
|
|
409
420
|
- turnkey_client-0.0.2.gem
|
410
421
|
- turnkey_client-0.0.3.gem
|
411
422
|
- turnkey_client-0.0.4.gem
|
423
|
+
- turnkey_client-0.0.7.gem
|
424
|
+
- turnkey_client-0.0.8.gem
|
412
425
|
- turnkey_client.gemspec
|
413
426
|
homepage: https://github.com/tkhq/ruby-sdk
|
414
427
|
licenses:
|