turnkey_client 0.0.14 → 0.0.15

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.
Files changed (57) hide show
  1. checksums.yaml +4 -4
  2. data/lib/turnkey_client/api/app_proof_api.rb +77 -0
  3. data/lib/turnkey_client/api/boot_proof_api.rb +135 -0
  4. data/lib/turnkey_client/api/default_api.rb +77 -0
  5. data/lib/turnkey_client/api/user_auth_api.rb +290 -0
  6. data/lib/turnkey_client/models/activity.rb +13 -1
  7. data/lib/turnkey_client/models/activity_type.rb +7 -0
  8. data/lib/turnkey_client/models/app_proof.rb +255 -0
  9. data/lib/turnkey_client/models/boot_proof.rb +315 -0
  10. data/lib/turnkey_client/models/boot_proof_response.rb +210 -0
  11. data/lib/turnkey_client/models/common_v1_policy_evaluation.rb +214 -0
  12. data/lib/turnkey_client/models/create_oauth2_credential_intent.rb +240 -0
  13. data/lib/turnkey_client/models/create_oauth2_credential_request.rb +288 -0
  14. data/lib/turnkey_client/models/create_oauth2_credential_result.rb +211 -0
  15. data/lib/turnkey_client/models/create_sub_organization_intent_v7.rb +16 -5
  16. data/lib/turnkey_client/models/delete_oauth2_credential_intent.rb +211 -0
  17. data/lib/turnkey_client/models/delete_oauth2_credential_request.rb +288 -0
  18. data/lib/turnkey_client/models/delete_oauth2_credential_result.rb +211 -0
  19. data/lib/turnkey_client/models/disable_auth_proxy_intent.rb +196 -0
  20. data/lib/turnkey_client/models/disable_auth_proxy_result.rb +196 -0
  21. data/lib/turnkey_client/models/enable_auth_proxy_intent.rb +196 -0
  22. data/lib/turnkey_client/models/enable_auth_proxy_result.rb +211 -0
  23. data/lib/turnkey_client/models/feature_name.rb +1 -0
  24. data/lib/turnkey_client/models/get_app_proofs_request.rb +226 -0
  25. data/lib/turnkey_client/models/get_app_proofs_response.rb +212 -0
  26. data/lib/turnkey_client/models/get_boot_proof_request.rb +226 -0
  27. data/lib/turnkey_client/models/get_latest_boot_proof_request.rb +226 -0
  28. data/lib/turnkey_client/models/get_oauth2_credential_request.rb +226 -0
  29. data/lib/turnkey_client/models/get_oauth2_credential_response.rb +210 -0
  30. data/lib/turnkey_client/models/get_wallet_accounts_request.rb +12 -1
  31. data/lib/turnkey_client/models/init_fiat_on_ramp_intent.rb +16 -5
  32. data/lib/turnkey_client/models/init_fiat_on_ramp_result.rb +14 -4
  33. data/lib/turnkey_client/models/intent.rb +67 -4
  34. data/lib/turnkey_client/models/list_oauth2_credentials_request.rb +211 -0
  35. data/lib/turnkey_client/models/list_oauth2_credentials_response.rb +212 -0
  36. data/lib/turnkey_client/models/oauth2_authenticate_intent.rb +278 -0
  37. data/lib/turnkey_client/models/oauth2_authenticate_request.rb +288 -0
  38. data/lib/turnkey_client/models/oauth2_authenticate_result.rb +211 -0
  39. data/lib/turnkey_client/models/oauth2_credential.rb +298 -0
  40. data/lib/turnkey_client/models/oauth2_provider.rb +27 -0
  41. data/lib/turnkey_client/models/otp_login_intent.rb +16 -5
  42. data/lib/turnkey_client/models/payload_encoding.rb +1 -0
  43. data/lib/turnkey_client/models/result.rb +67 -4
  44. data/lib/turnkey_client/models/signature_scheme.rb +26 -0
  45. data/lib/turnkey_client/models/smart_contract_interface.rb +329 -0
  46. data/lib/turnkey_client/models/update_auth_proxy_config_intent.rb +346 -0
  47. data/lib/turnkey_client/models/update_auth_proxy_config_result.rb +206 -0
  48. data/lib/turnkey_client/models/update_oauth2_credential_intent.rb +255 -0
  49. data/lib/turnkey_client/models/update_oauth2_credential_request.rb +288 -0
  50. data/lib/turnkey_client/models/update_oauth2_credential_result.rb +211 -0
  51. data/lib/turnkey_client/models/verify_otp_intent.rb +16 -5
  52. data/lib/turnkey_client/models/wallet_account.rb +14 -5
  53. data/lib/turnkey_client/models/wallet_kit_settings_params.rb +230 -0
  54. data/lib/turnkey_client/version.rb +1 -1
  55. data/lib/turnkey_client.rb +38 -2
  56. data/turnkey_client-0.0.14.gem +0 -0
  57. metadata +41 -2
@@ -0,0 +1,210 @@
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 GetOauth2CredentialResponse
15
+ attr_accessor :oauth2_credential
16
+
17
+ # Attribute mapping from ruby-style variable name to JSON key.
18
+ def self.attribute_map
19
+ {
20
+ :'oauth2_credential' => :'oauth2Credential'
21
+ }
22
+ end
23
+
24
+ # Attribute type mapping.
25
+ def self.openapi_types
26
+ {
27
+ :'oauth2_credential' => :'Object'
28
+ }
29
+ end
30
+
31
+ # List of attributes with nullable: true
32
+ def self.openapi_nullable
33
+ Set.new([
34
+ ])
35
+ end
36
+
37
+ # Initializes the object
38
+ # @param [Hash] attributes Model attributes in the form of hash
39
+ def initialize(attributes = {})
40
+ if (!attributes.is_a?(Hash))
41
+ fail ArgumentError, "The input argument (attributes) must be a hash in `TurnkeyClient::GetOauth2CredentialResponse` initialize method"
42
+ end
43
+
44
+ # check to see if the attribute exists and convert string to symbol for hash key
45
+ attributes = attributes.each_with_object({}) { |(k, v), h|
46
+ if (!self.class.attribute_map.key?(k.to_sym))
47
+ fail ArgumentError, "`#{k}` is not a valid attribute in `TurnkeyClient::GetOauth2CredentialResponse`. Please check the name to make sure it's valid. List of attributes: " + self.class.attribute_map.keys.inspect
48
+ end
49
+ h[k.to_sym] = v
50
+ }
51
+
52
+ if attributes.key?(:'oauth2_credential')
53
+ self.oauth2_credential = attributes[:'oauth2_credential']
54
+ end
55
+ end
56
+
57
+ # Show invalid properties with the reasons. Usually used together with valid?
58
+ # @return Array for valid properties with the reasons
59
+ def list_invalid_properties
60
+ invalid_properties = Array.new
61
+ if @oauth2_credential.nil?
62
+ invalid_properties.push('invalid value for "oauth2_credential", oauth2_credential cannot be nil.')
63
+ end
64
+
65
+ invalid_properties
66
+ end
67
+
68
+ # Check to see if the all the properties in the model are valid
69
+ # @return true if the model is valid
70
+ def valid?
71
+ return false if @oauth2_credential.nil?
72
+ true
73
+ end
74
+
75
+ # Checks equality by comparing each attribute.
76
+ # @param [Object] Object to be compared
77
+ def ==(o)
78
+ return true if self.equal?(o)
79
+ self.class == o.class &&
80
+ oauth2_credential == o.oauth2_credential
81
+ end
82
+
83
+ # @see the `==` method
84
+ # @param [Object] Object to be compared
85
+ def eql?(o)
86
+ self == o
87
+ end
88
+
89
+ # Calculates hash code according to all attributes.
90
+ # @return [Integer] Hash code
91
+ def hash
92
+ [oauth2_credential].hash
93
+ end
94
+
95
+ # Builds the object from hash
96
+ # @param [Hash] attributes Model attributes in the form of hash
97
+ # @return [Object] Returns the model itself
98
+ def self.build_from_hash(attributes)
99
+ new.build_from_hash(attributes)
100
+ end
101
+
102
+ # Builds the object from hash
103
+ # @param [Hash] attributes Model attributes in the form of hash
104
+ # @return [Object] Returns the model itself
105
+ def build_from_hash(attributes)
106
+ return nil unless attributes.is_a?(Hash)
107
+ self.class.openapi_types.each_pair do |key, type|
108
+ if type =~ /\AArray<(.*)>/i
109
+ # check to ensure the input is an array given that the attribute
110
+ # is documented as an array but the input is not
111
+ if attributes[self.class.attribute_map[key]].is_a?(Array)
112
+ self.send("#{key}=", attributes[self.class.attribute_map[key]].map { |v| _deserialize($1, v) })
113
+ end
114
+ elsif !attributes[self.class.attribute_map[key]].nil?
115
+ self.send("#{key}=", _deserialize(type, attributes[self.class.attribute_map[key]]))
116
+ elsif attributes[self.class.attribute_map[key]].nil? && self.class.openapi_nullable.include?(key)
117
+ self.send("#{key}=", nil)
118
+ end
119
+ end
120
+
121
+ self
122
+ end
123
+
124
+ # Deserializes the data based on type
125
+ # @param string type Data type
126
+ # @param string value Value to be deserialized
127
+ # @return [Object] Deserialized data
128
+ def _deserialize(type, value)
129
+ case type.to_sym
130
+ when :DateTime
131
+ DateTime.parse(value)
132
+ when :Date
133
+ Date.parse(value)
134
+ when :String
135
+ value.to_s
136
+ when :Integer
137
+ value.to_i
138
+ when :Float
139
+ value.to_f
140
+ when :Boolean
141
+ if value.to_s =~ /\A(true|t|yes|y|1)\z/i
142
+ true
143
+ else
144
+ false
145
+ end
146
+ when :Object
147
+ # generic object (usually a Hash), return directly
148
+ value
149
+ when /\AArray<(?<inner_type>.+)>\z/
150
+ inner_type = Regexp.last_match[:inner_type]
151
+ value.map { |v| _deserialize(inner_type, v) }
152
+ when /\AHash<(?<k_type>.+?), (?<v_type>.+)>\z/
153
+ k_type = Regexp.last_match[:k_type]
154
+ v_type = Regexp.last_match[:v_type]
155
+ {}.tap do |hash|
156
+ value.each do |k, v|
157
+ hash[_deserialize(k_type, k)] = _deserialize(v_type, v)
158
+ end
159
+ end
160
+ else # model
161
+ TurnkeyClient.const_get(type).build_from_hash(value)
162
+ end
163
+ end
164
+
165
+ # Returns the string representation of the object
166
+ # @return [String] String presentation of the object
167
+ def to_s
168
+ to_hash.to_s
169
+ end
170
+
171
+ # to_body is an alias to to_hash (backward compatibility)
172
+ # @return [Hash] Returns the object in the form of hash
173
+ def to_body
174
+ to_hash
175
+ end
176
+
177
+ # Returns the object in the form of hash
178
+ # @return [Hash] Returns the object in the form of hash
179
+ def to_hash
180
+ hash = {}
181
+ self.class.attribute_map.each_pair do |attr, param|
182
+ value = self.send(attr)
183
+ if value.nil?
184
+ is_nullable = self.class.openapi_nullable.include?(attr)
185
+ next if !is_nullable || (is_nullable && !instance_variable_defined?(:"@#{attr}"))
186
+ end
187
+
188
+ hash[param] = _to_hash(value)
189
+ end
190
+ hash
191
+ end
192
+
193
+ # Outputs non-array value in the form of hash
194
+ # For object, use to_hash. Otherwise, just return the value
195
+ # @param [Object] value Any valid value
196
+ # @return [Hash] Returns the value in the form of hash
197
+ def _to_hash(value)
198
+ if value.is_a?(Array)
199
+ value.compact.map { |v| _to_hash(v) }
200
+ elsif value.is_a?(Hash)
201
+ {}.tap do |hash|
202
+ value.each { |k, v| hash[k] = _to_hash(v) }
203
+ end
204
+ elsif value.respond_to? :to_hash
205
+ value.to_hash
206
+ else
207
+ value
208
+ end
209
+ end end
210
+ end
@@ -18,6 +18,9 @@ module TurnkeyClient
18
18
  # Unique identifier for a given wallet. If not provided, all accounts for the organization will be returned.
19
19
  attr_accessor :wallet_id
20
20
 
21
+ # Optional flag to specify if the wallet details should be included in the response. Default = false.
22
+ attr_accessor :include_wallet_details
23
+
21
24
  attr_accessor :pagination_options
22
25
 
23
26
  # Attribute mapping from ruby-style variable name to JSON key.
@@ -25,6 +28,7 @@ module TurnkeyClient
25
28
  {
26
29
  :'organization_id' => :'organizationId',
27
30
  :'wallet_id' => :'walletId',
31
+ :'include_wallet_details' => :'includeWalletDetails',
28
32
  :'pagination_options' => :'paginationOptions'
29
33
  }
30
34
  end
@@ -34,6 +38,7 @@ module TurnkeyClient
34
38
  {
35
39
  :'organization_id' => :'Object',
36
40
  :'wallet_id' => :'Object',
41
+ :'include_wallet_details' => :'Object',
37
42
  :'pagination_options' => :'Object'
38
43
  }
39
44
  end
@@ -42,6 +47,7 @@ module TurnkeyClient
42
47
  def self.openapi_nullable
43
48
  Set.new([
44
49
  :'wallet_id',
50
+ :'include_wallet_details',
45
51
  ])
46
52
  end
47
53
 
@@ -68,6 +74,10 @@ module TurnkeyClient
68
74
  self.wallet_id = attributes[:'wallet_id']
69
75
  end
70
76
 
77
+ if attributes.key?(:'include_wallet_details')
78
+ self.include_wallet_details = attributes[:'include_wallet_details']
79
+ end
80
+
71
81
  if attributes.key?(:'pagination_options')
72
82
  self.pagination_options = attributes[:'pagination_options']
73
83
  end
@@ -98,6 +108,7 @@ module TurnkeyClient
98
108
  self.class == o.class &&
99
109
  organization_id == o.organization_id &&
100
110
  wallet_id == o.wallet_id &&
111
+ include_wallet_details == o.include_wallet_details &&
101
112
  pagination_options == o.pagination_options
102
113
  end
103
114
 
@@ -110,7 +121,7 @@ module TurnkeyClient
110
121
  # Calculates hash code according to all attributes.
111
122
  # @return [Integer] Hash code
112
123
  def hash
113
- [organization_id, wallet_id, pagination_options].hash
124
+ [organization_id, wallet_id, include_wallet_details, pagination_options].hash
114
125
  end
115
126
 
116
127
  # Builds the object from hash
@@ -37,6 +37,9 @@ module TurnkeyClient
37
37
  # Optional flag to indicate whether to use the sandbox mode to simulate transactions for the on-ramp provider. Default is false.
38
38
  attr_accessor :sandbox_mode
39
39
 
40
+ # Optional MoonPay Widget URL to sign when using MoonPay client SDKs with URL Signing enabled.
41
+ attr_accessor :url_for_signature
42
+
40
43
  # Attribute mapping from ruby-style variable name to JSON key.
41
44
  def self.attribute_map
42
45
  {
@@ -49,7 +52,8 @@ module TurnkeyClient
49
52
  :'payment_method' => :'paymentMethod',
50
53
  :'country_code' => :'countryCode',
51
54
  :'country_subdivision_code' => :'countrySubdivisionCode',
52
- :'sandbox_mode' => :'sandboxMode'
55
+ :'sandbox_mode' => :'sandboxMode',
56
+ :'url_for_signature' => :'urlForSignature'
53
57
  }
54
58
  end
55
59
 
@@ -65,7 +69,8 @@ module TurnkeyClient
65
69
  :'payment_method' => :'Object',
66
70
  :'country_code' => :'Object',
67
71
  :'country_subdivision_code' => :'Object',
68
- :'sandbox_mode' => :'Object'
72
+ :'sandbox_mode' => :'Object',
73
+ :'url_for_signature' => :'Object'
69
74
  }
70
75
  end
71
76
 
@@ -75,7 +80,8 @@ module TurnkeyClient
75
80
  :'fiat_currency_amount',
76
81
  :'country_code',
77
82
  :'country_subdivision_code',
78
- :'sandbox_mode'
83
+ :'sandbox_mode',
84
+ :'url_for_signature'
79
85
  ])
80
86
  end
81
87
 
@@ -133,6 +139,10 @@ module TurnkeyClient
133
139
  if attributes.key?(:'sandbox_mode')
134
140
  self.sandbox_mode = attributes[:'sandbox_mode']
135
141
  end
142
+
143
+ if attributes.key?(:'url_for_signature')
144
+ self.url_for_signature = attributes[:'url_for_signature']
145
+ end
136
146
  end
137
147
 
138
148
  # Show invalid properties with the reasons. Usually used together with valid?
@@ -182,7 +192,8 @@ module TurnkeyClient
182
192
  payment_method == o.payment_method &&
183
193
  country_code == o.country_code &&
184
194
  country_subdivision_code == o.country_subdivision_code &&
185
- sandbox_mode == o.sandbox_mode
195
+ sandbox_mode == o.sandbox_mode &&
196
+ url_for_signature == o.url_for_signature
186
197
  end
187
198
 
188
199
  # @see the `==` method
@@ -194,7 +205,7 @@ module TurnkeyClient
194
205
  # Calculates hash code according to all attributes.
195
206
  # @return [Integer] Hash code
196
207
  def hash
197
- [onramp_provider, wallet_address, network, crypto_currency_code, fiat_currency_code, fiat_currency_amount, payment_method, country_code, country_subdivision_code, sandbox_mode].hash
208
+ [onramp_provider, wallet_address, network, crypto_currency_code, fiat_currency_code, fiat_currency_amount, payment_method, country_code, country_subdivision_code, sandbox_mode, url_for_signature].hash
198
209
  end
199
210
 
200
211
  # Builds the object from hash
@@ -18,11 +18,15 @@ module TurnkeyClient
18
18
  # Unique identifier used to retrieve transaction statuses for a given fiat on-ramp flow.
19
19
  attr_accessor :on_ramp_transaction_id
20
20
 
21
+ # Optional signature of the MoonPay Widget URL. The signature is generated if the Init Fiat On Ramp intent includes the urlForSignature field. The signature can be used to initialize the MoonPay SDKs when URL signing is enabled for your project.
22
+ attr_accessor :on_ramp_url_signature
23
+
21
24
  # Attribute mapping from ruby-style variable name to JSON key.
22
25
  def self.attribute_map
23
26
  {
24
27
  :'on_ramp_url' => :'onRampUrl',
25
- :'on_ramp_transaction_id' => :'onRampTransactionId'
28
+ :'on_ramp_transaction_id' => :'onRampTransactionId',
29
+ :'on_ramp_url_signature' => :'onRampUrlSignature'
26
30
  }
27
31
  end
28
32
 
@@ -30,7 +34,8 @@ module TurnkeyClient
30
34
  def self.openapi_types
31
35
  {
32
36
  :'on_ramp_url' => :'Object',
33
- :'on_ramp_transaction_id' => :'Object'
37
+ :'on_ramp_transaction_id' => :'Object',
38
+ :'on_ramp_url_signature' => :'Object'
34
39
  }
35
40
  end
36
41
 
@@ -62,6 +67,10 @@ module TurnkeyClient
62
67
  if attributes.key?(:'on_ramp_transaction_id')
63
68
  self.on_ramp_transaction_id = attributes[:'on_ramp_transaction_id']
64
69
  end
70
+
71
+ if attributes.key?(:'on_ramp_url_signature')
72
+ self.on_ramp_url_signature = attributes[:'on_ramp_url_signature']
73
+ end
65
74
  end
66
75
 
67
76
  # Show invalid properties with the reasons. Usually used together with valid?
@@ -93,7 +102,8 @@ module TurnkeyClient
93
102
  return true if self.equal?(o)
94
103
  self.class == o.class &&
95
104
  on_ramp_url == o.on_ramp_url &&
96
- on_ramp_transaction_id == o.on_ramp_transaction_id
105
+ on_ramp_transaction_id == o.on_ramp_transaction_id &&
106
+ on_ramp_url_signature == o.on_ramp_url_signature
97
107
  end
98
108
 
99
109
  # @see the `==` method
@@ -105,7 +115,7 @@ module TurnkeyClient
105
115
  # Calculates hash code according to all attributes.
106
116
  # @return [Integer] Hash code
107
117
  def hash
108
- [on_ramp_url, on_ramp_transaction_id].hash
118
+ [on_ramp_url, on_ramp_transaction_id, on_ramp_url_signature].hash
109
119
  end
110
120
 
111
121
  # Builds the object from hash
@@ -200,6 +200,20 @@ 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
+
203
217
  # Attribute mapping from ruby-style variable name to JSON key.
204
218
  def self.attribute_map
205
219
  {
@@ -296,7 +310,14 @@ module TurnkeyClient
296
310
  :'update_user_phone_number_intent' => :'updateUserPhoneNumberIntent',
297
311
  :'init_fiat_on_ramp_intent' => :'initFiatOnRampIntent',
298
312
  :'create_smart_contract_interface_intent' => :'createSmartContractInterfaceIntent',
299
- :'delete_smart_contract_interface_intent' => :'deleteSmartContractInterfaceIntent'
313
+ :'delete_smart_contract_interface_intent' => :'deleteSmartContractInterfaceIntent',
314
+ :'enable_auth_proxy_intent' => :'enableAuthProxyIntent',
315
+ :'disable_auth_proxy_intent' => :'disableAuthProxyIntent',
316
+ :'update_auth_proxy_config_intent' => :'updateAuthProxyConfigIntent',
317
+ :'create_oauth2_credential_intent' => :'createOauth2CredentialIntent',
318
+ :'update_oauth2_credential_intent' => :'updateOauth2CredentialIntent',
319
+ :'delete_oauth2_credential_intent' => :'deleteOauth2CredentialIntent',
320
+ :'oauth2_authenticate_intent' => :'oauth2AuthenticateIntent'
300
321
  }
301
322
  end
302
323
 
@@ -396,7 +417,14 @@ module TurnkeyClient
396
417
  :'update_user_phone_number_intent' => :'Object',
397
418
  :'init_fiat_on_ramp_intent' => :'Object',
398
419
  :'create_smart_contract_interface_intent' => :'Object',
399
- :'delete_smart_contract_interface_intent' => :'Object'
420
+ :'delete_smart_contract_interface_intent' => :'Object',
421
+ :'enable_auth_proxy_intent' => :'Object',
422
+ :'disable_auth_proxy_intent' => :'Object',
423
+ :'update_auth_proxy_config_intent' => :'Object',
424
+ :'create_oauth2_credential_intent' => :'Object',
425
+ :'update_oauth2_credential_intent' => :'Object',
426
+ :'delete_oauth2_credential_intent' => :'Object',
427
+ :'oauth2_authenticate_intent' => :'Object'
400
428
  }
401
429
  end
402
430
 
@@ -796,6 +824,34 @@ module TurnkeyClient
796
824
  if attributes.key?(:'delete_smart_contract_interface_intent')
797
825
  self.delete_smart_contract_interface_intent = attributes[:'delete_smart_contract_interface_intent']
798
826
  end
827
+
828
+ if attributes.key?(:'enable_auth_proxy_intent')
829
+ self.enable_auth_proxy_intent = attributes[:'enable_auth_proxy_intent']
830
+ end
831
+
832
+ if attributes.key?(:'disable_auth_proxy_intent')
833
+ self.disable_auth_proxy_intent = attributes[:'disable_auth_proxy_intent']
834
+ end
835
+
836
+ if attributes.key?(:'update_auth_proxy_config_intent')
837
+ self.update_auth_proxy_config_intent = attributes[:'update_auth_proxy_config_intent']
838
+ end
839
+
840
+ if attributes.key?(:'create_oauth2_credential_intent')
841
+ self.create_oauth2_credential_intent = attributes[:'create_oauth2_credential_intent']
842
+ end
843
+
844
+ if attributes.key?(:'update_oauth2_credential_intent')
845
+ self.update_oauth2_credential_intent = attributes[:'update_oauth2_credential_intent']
846
+ end
847
+
848
+ if attributes.key?(:'delete_oauth2_credential_intent')
849
+ self.delete_oauth2_credential_intent = attributes[:'delete_oauth2_credential_intent']
850
+ end
851
+
852
+ if attributes.key?(:'oauth2_authenticate_intent')
853
+ self.oauth2_authenticate_intent = attributes[:'oauth2_authenticate_intent']
854
+ end
799
855
  end
800
856
 
801
857
  # Show invalid properties with the reasons. Usually used together with valid?
@@ -909,7 +965,14 @@ module TurnkeyClient
909
965
  update_user_phone_number_intent == o.update_user_phone_number_intent &&
910
966
  init_fiat_on_ramp_intent == o.init_fiat_on_ramp_intent &&
911
967
  create_smart_contract_interface_intent == o.create_smart_contract_interface_intent &&
912
- delete_smart_contract_interface_intent == o.delete_smart_contract_interface_intent
968
+ delete_smart_contract_interface_intent == o.delete_smart_contract_interface_intent &&
969
+ enable_auth_proxy_intent == o.enable_auth_proxy_intent &&
970
+ disable_auth_proxy_intent == o.disable_auth_proxy_intent &&
971
+ update_auth_proxy_config_intent == o.update_auth_proxy_config_intent &&
972
+ create_oauth2_credential_intent == o.create_oauth2_credential_intent &&
973
+ update_oauth2_credential_intent == o.update_oauth2_credential_intent &&
974
+ delete_oauth2_credential_intent == o.delete_oauth2_credential_intent &&
975
+ oauth2_authenticate_intent == o.oauth2_authenticate_intent
913
976
  end
914
977
 
915
978
  # @see the `==` method
@@ -921,7 +984,7 @@ module TurnkeyClient
921
984
  # Calculates hash code according to all attributes.
922
985
  # @return [Integer] Hash code
923
986
  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
987
+ [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].hash
925
988
  end
926
989
 
927
990
  # Builds the object from hash