turnkey_client 0.0.14 → 0.0.17
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- checksums.yaml +4 -4
- data/.gitignore +39 -0
- data/.rspec +2 -0
- data/.swagger-codegen/VERSION +1 -0
- data/.swagger-codegen-ignore +23 -0
- data/lib/turnkey_client/api/app_proof_api.rb +77 -0
- data/lib/turnkey_client/api/boot_proof_api.rb +135 -0
- data/lib/turnkey_client/api/broadcasting_api.rb +251 -0
- data/lib/turnkey_client/api/default_api.rb +77 -0
- data/lib/turnkey_client/api/on_ramp_api.rb +290 -0
- data/lib/turnkey_client/api/policies_api.rb +58 -0
- data/lib/turnkey_client/api/send_transactions_api.rb +77 -0
- data/lib/turnkey_client/api/user_auth_api.rb +290 -0
- data/lib/turnkey_client/api/wallets_api.rb +58 -0
- data/lib/turnkey_client/models/activity.rb +13 -1
- data/lib/turnkey_client/models/activity_type.rb +23 -0
- data/lib/turnkey_client/models/app_proof.rb +255 -0
- data/lib/turnkey_client/models/approve_activity_request.rb +14 -4
- data/lib/turnkey_client/models/boot_proof.rb +315 -0
- data/lib/turnkey_client/models/boot_proof_response.rb +210 -0
- data/lib/turnkey_client/models/client_signature.rb +255 -0
- data/lib/turnkey_client/models/client_signature_scheme.rb +26 -0
- data/lib/turnkey_client/models/common_v1_policy_evaluation.rb +214 -0
- data/lib/turnkey_client/models/create_api_keys_request.rb +14 -4
- data/lib/turnkey_client/models/create_authenticators_request.rb +14 -4
- data/lib/turnkey_client/models/create_fiat_on_ramp_credential_intent.rb +272 -0
- data/lib/turnkey_client/models/create_fiat_on_ramp_credential_request.rb +298 -0
- data/lib/turnkey_client/models/create_fiat_on_ramp_credential_result.rb +211 -0
- data/lib/turnkey_client/models/create_invitations_request.rb +14 -4
- data/lib/turnkey_client/models/create_oauth2_credential_intent.rb +240 -0
- data/lib/turnkey_client/models/create_oauth2_credential_request.rb +298 -0
- data/lib/turnkey_client/models/create_oauth2_credential_result.rb +211 -0
- data/lib/turnkey_client/models/create_oauth_providers_request.rb +14 -4
- data/lib/turnkey_client/models/create_policies_request.rb +14 -4
- data/lib/turnkey_client/models/create_policy_intent_v3.rb +6 -0
- data/lib/turnkey_client/models/create_policy_request.rb +14 -4
- data/lib/turnkey_client/models/create_private_key_tag_request.rb +14 -4
- data/lib/turnkey_client/models/create_private_keys_request.rb +14 -4
- data/lib/turnkey_client/models/create_read_only_session_request.rb +14 -4
- data/lib/turnkey_client/models/create_read_write_session_request.rb +14 -4
- data/lib/turnkey_client/models/create_smart_contract_interface_intent.rb +1 -1
- data/lib/turnkey_client/models/create_smart_contract_interface_request.rb +14 -4
- data/lib/turnkey_client/models/create_sub_organization_intent_v7.rb +25 -5
- data/lib/turnkey_client/models/create_sub_organization_request.rb +14 -4
- data/lib/turnkey_client/models/create_tvc_app_intent.rb +277 -0
- data/lib/turnkey_client/models/create_tvc_app_result.rb +258 -0
- data/lib/turnkey_client/models/create_tvc_deployment_intent.rb +346 -0
- data/lib/turnkey_client/models/create_tvc_deployment_result.rb +226 -0
- data/lib/turnkey_client/models/create_tvc_manifest_approvals_intent.rb +228 -0
- data/lib/turnkey_client/models/create_tvc_manifest_approvals_result.rb +213 -0
- data/lib/turnkey_client/models/create_user_tag_request.rb +14 -4
- data/lib/turnkey_client/models/create_users_request.rb +14 -4
- data/lib/turnkey_client/models/create_wallet_accounts_intent.rb +15 -4
- data/lib/turnkey_client/models/create_wallet_accounts_request.rb +14 -4
- data/lib/turnkey_client/models/create_wallet_request.rb +14 -4
- data/lib/turnkey_client/models/curve.rb +1 -0
- data/lib/turnkey_client/models/custom_revert_error.rb +218 -0
- data/lib/turnkey_client/models/data_v1_signature_scheme.rb +26 -0
- data/lib/turnkey_client/models/delete_api_keys_request.rb +14 -4
- data/lib/turnkey_client/models/delete_authenticators_request.rb +14 -4
- data/lib/turnkey_client/models/delete_fiat_on_ramp_credential_intent.rb +211 -0
- data/lib/turnkey_client/models/delete_fiat_on_ramp_credential_request.rb +298 -0
- data/lib/turnkey_client/models/delete_fiat_on_ramp_credential_result.rb +211 -0
- data/lib/turnkey_client/models/delete_invitation_request.rb +14 -4
- data/lib/turnkey_client/models/delete_oauth2_credential_intent.rb +211 -0
- data/lib/turnkey_client/models/delete_oauth2_credential_request.rb +298 -0
- data/lib/turnkey_client/models/delete_oauth2_credential_result.rb +211 -0
- data/lib/turnkey_client/models/delete_oauth_providers_request.rb +14 -4
- data/lib/turnkey_client/models/delete_policies_intent.rb +213 -0
- data/lib/turnkey_client/models/delete_policies_request.rb +298 -0
- data/lib/turnkey_client/models/delete_policies_result.rb +213 -0
- data/lib/turnkey_client/models/delete_policy_request.rb +14 -4
- data/lib/turnkey_client/models/delete_private_key_tags_request.rb +14 -4
- data/lib/turnkey_client/models/delete_private_keys_request.rb +14 -4
- data/lib/turnkey_client/models/delete_smart_contract_interface_request.rb +14 -4
- data/lib/turnkey_client/models/delete_sub_organization_request.rb +14 -4
- data/lib/turnkey_client/models/delete_user_tags_request.rb +14 -4
- data/lib/turnkey_client/models/delete_users_request.rb +14 -4
- data/lib/turnkey_client/models/delete_wallet_accounts_intent.rb +224 -0
- data/lib/turnkey_client/models/delete_wallet_accounts_request.rb +298 -0
- data/lib/turnkey_client/models/delete_wallet_accounts_result.rb +213 -0
- data/lib/turnkey_client/models/delete_wallets_request.rb +14 -4
- data/lib/turnkey_client/models/disable_auth_proxy_intent.rb +196 -0
- data/lib/turnkey_client/models/disable_auth_proxy_result.rb +196 -0
- data/lib/turnkey_client/models/email_auth_customization_params.rb +255 -0
- data/lib/turnkey_client/models/email_auth_intent_v3.rb +306 -0
- data/lib/turnkey_client/models/email_auth_request.rb +16 -6
- data/lib/turnkey_client/models/email_customization_params_v2.rb +240 -0
- data/lib/turnkey_client/models/enable_auth_proxy_intent.rb +196 -0
- data/lib/turnkey_client/models/enable_auth_proxy_result.rb +211 -0
- data/lib/turnkey_client/models/eth_send_raw_transaction_intent.rb +260 -0
- data/lib/turnkey_client/models/eth_send_raw_transaction_result.rb +211 -0
- data/lib/turnkey_client/models/eth_send_transaction_intent.rb +363 -0
- data/lib/turnkey_client/models/eth_send_transaction_request.rb +298 -0
- data/lib/turnkey_client/models/eth_send_transaction_result.rb +211 -0
- data/lib/turnkey_client/models/eth_send_transaction_status.rb +207 -0
- data/lib/turnkey_client/models/export_private_key_request.rb +14 -4
- data/lib/turnkey_client/models/export_wallet_account_request.rb +14 -4
- data/lib/turnkey_client/models/export_wallet_request.rb +14 -4
- data/lib/turnkey_client/models/feature_name.rb +1 -0
- data/lib/turnkey_client/models/fiat_on_ramp_credential.rb +330 -0
- data/lib/turnkey_client/models/get_app_proofs_request.rb +226 -0
- data/lib/turnkey_client/models/get_app_proofs_response.rb +212 -0
- data/lib/turnkey_client/models/get_boot_proof_request.rb +226 -0
- data/lib/turnkey_client/models/get_gas_usage_request.rb +211 -0
- data/lib/turnkey_client/models/get_gas_usage_response.rb +241 -0
- data/lib/turnkey_client/models/get_latest_boot_proof_request.rb +226 -0
- data/lib/turnkey_client/models/get_nonces_request.rb +261 -0
- data/lib/turnkey_client/models/get_nonces_response.rb +218 -0
- data/lib/turnkey_client/models/get_oauth2_credential_request.rb +226 -0
- data/lib/turnkey_client/models/get_oauth2_credential_response.rb +210 -0
- data/lib/turnkey_client/models/get_on_ramp_transaction_status_request.rb +237 -0
- data/lib/turnkey_client/models/get_on_ramp_transaction_status_response.rb +211 -0
- data/lib/turnkey_client/models/get_send_transaction_status_request.rb +226 -0
- data/lib/turnkey_client/models/get_send_transaction_status_response.rb +240 -0
- data/lib/turnkey_client/models/get_wallet_accounts_request.rb +12 -1
- data/lib/turnkey_client/models/import_private_key_request.rb +14 -4
- data/lib/turnkey_client/models/import_wallet_request.rb +14 -4
- data/lib/turnkey_client/models/init_fiat_on_ramp_intent.rb +16 -5
- data/lib/turnkey_client/models/init_fiat_on_ramp_request.rb +14 -4
- data/lib/turnkey_client/models/init_fiat_on_ramp_result.rb +14 -4
- data/lib/turnkey_client/models/init_import_private_key_request.rb +14 -4
- data/lib/turnkey_client/models/init_import_wallet_request.rb +14 -4
- data/lib/turnkey_client/models/init_otp_auth_intent_v3.rb +336 -0
- data/lib/turnkey_client/models/init_otp_auth_request.rb +16 -6
- data/lib/turnkey_client/models/init_otp_intent_v2.rb +336 -0
- data/lib/turnkey_client/models/init_otp_request.rb +16 -6
- data/lib/turnkey_client/models/init_user_email_recovery_intent.rb +37 -4
- data/lib/turnkey_client/models/init_user_email_recovery_intent_v2.rb +284 -0
- data/lib/turnkey_client/models/init_user_email_recovery_request.rb +16 -6
- data/lib/turnkey_client/models/intent.rb +211 -4
- data/lib/turnkey_client/models/list_fiat_on_ramp_credentials_request.rb +211 -0
- data/lib/turnkey_client/models/list_fiat_on_ramp_credentials_response.rb +212 -0
- data/lib/turnkey_client/models/list_oauth2_credentials_request.rb +211 -0
- data/lib/turnkey_client/models/list_oauth2_credentials_response.rb +212 -0
- data/lib/turnkey_client/models/native_revert_error.rb +229 -0
- data/lib/turnkey_client/models/oauth2_authenticate_intent.rb +278 -0
- data/lib/turnkey_client/models/oauth2_authenticate_request.rb +298 -0
- data/lib/turnkey_client/models/oauth2_authenticate_result.rb +211 -0
- data/lib/turnkey_client/models/oauth2_credential.rb +298 -0
- data/lib/turnkey_client/models/oauth2_provider.rb +27 -0
- data/lib/turnkey_client/models/oauth_login_request.rb +14 -4
- data/lib/turnkey_client/models/oauth_request.rb +14 -4
- data/lib/turnkey_client/models/otp_auth_request.rb +14 -4
- data/lib/turnkey_client/models/otp_login_intent.rb +14 -5
- data/lib/turnkey_client/models/otp_login_request.rb +14 -4
- data/lib/turnkey_client/models/payload_encoding.rb +1 -0
- data/lib/turnkey_client/models/recover_user_request.rb +14 -4
- data/lib/turnkey_client/models/reject_activity_request.rb +14 -4
- data/lib/turnkey_client/models/remove_organization_feature_request.rb +14 -4
- data/lib/turnkey_client/models/result.rb +175 -4
- data/lib/turnkey_client/models/revert_chain_entry.rb +253 -0
- data/lib/turnkey_client/models/set_organization_feature_request.rb +14 -4
- data/lib/turnkey_client/models/sign_raw_payload_request.rb +14 -4
- data/lib/turnkey_client/models/sign_raw_payloads_request.rb +14 -4
- data/lib/turnkey_client/models/sign_transaction_request.rb +14 -4
- data/lib/turnkey_client/models/signature_scheme.rb +26 -0
- data/lib/turnkey_client/models/smart_contract_interface.rb +329 -0
- data/lib/turnkey_client/models/sol_send_transaction_intent.rb +297 -0
- data/lib/turnkey_client/models/sol_send_transaction_request.rb +298 -0
- data/lib/turnkey_client/models/sol_send_transaction_result.rb +211 -0
- data/lib/turnkey_client/models/stamp_login_request.rb +14 -4
- data/lib/turnkey_client/models/transaction_type.rb +2 -0
- data/lib/turnkey_client/models/tvc_manifest_approval.rb +226 -0
- data/lib/turnkey_client/models/tvc_operator_params.rb +226 -0
- data/lib/turnkey_client/models/tvc_operator_set_params.rb +250 -0
- data/lib/turnkey_client/models/tx_error.rb +218 -0
- data/lib/turnkey_client/models/unknown_revert_error.rb +218 -0
- data/lib/turnkey_client/models/update_auth_proxy_config_intent.rb +368 -0
- data/lib/turnkey_client/models/update_auth_proxy_config_result.rb +206 -0
- data/lib/turnkey_client/models/update_fiat_on_ramp_credential_intent.rb +277 -0
- data/lib/turnkey_client/models/update_fiat_on_ramp_credential_request.rb +298 -0
- data/lib/turnkey_client/models/update_fiat_on_ramp_credential_result.rb +211 -0
- data/lib/turnkey_client/models/update_oauth2_credential_intent.rb +255 -0
- data/lib/turnkey_client/models/update_oauth2_credential_request.rb +298 -0
- data/lib/turnkey_client/models/update_oauth2_credential_result.rb +211 -0
- data/lib/turnkey_client/models/update_policy_request.rb +14 -4
- data/lib/turnkey_client/models/update_private_key_tag_request.rb +14 -4
- data/lib/turnkey_client/models/update_root_quorum_request.rb +14 -4
- data/lib/turnkey_client/models/update_user_email_request.rb +14 -4
- data/lib/turnkey_client/models/update_user_name_request.rb +14 -4
- data/lib/turnkey_client/models/update_user_phone_number_request.rb +14 -4
- data/lib/turnkey_client/models/update_user_request.rb +14 -4
- data/lib/turnkey_client/models/update_user_tag_request.rb +14 -4
- data/lib/turnkey_client/models/update_wallet_request.rb +14 -4
- data/lib/turnkey_client/models/upsert_gas_usage_config_intent.rb +241 -0
- data/lib/turnkey_client/models/upsert_gas_usage_config_result.rb +211 -0
- data/lib/turnkey_client/models/verify_otp_intent.rb +16 -5
- data/lib/turnkey_client/models/verify_otp_request.rb +14 -4
- data/lib/turnkey_client/models/wallet_account.rb +14 -5
- data/lib/turnkey_client/models/wallet_kit_settings_params.rb +230 -0
- data/lib/turnkey_client/version.rb +1 -1
- data/lib/turnkey_client.rb +98 -1
- data/turnkey_client.gemspec +1 -1
- metadata +128 -32
- data/turnkey_client-0.0.12.gem +0 -0
- data/turnkey_client-0.0.13.gem +0 -0
- data/turnkey_client-0.0.2.gem +0 -0
- data/turnkey_client-0.0.3.gem +0 -0
- data/turnkey_client-0.0.4.gem +0 -0
- data/turnkey_client-0.0.7.gem +0 -0
- data/turnkey_client-0.0.8.gem +0 -0
- data/turnkey_client-0.0.9.gem +0 -0
|
@@ -22,6 +22,8 @@ module TurnkeyClient
|
|
|
22
22
|
|
|
23
23
|
attr_accessor :parameters
|
|
24
24
|
|
|
25
|
+
attr_accessor :generate_app_proofs
|
|
26
|
+
|
|
25
27
|
class EnumAttributeValidator
|
|
26
28
|
attr_reader :datatype
|
|
27
29
|
attr_reader :allowable_values
|
|
@@ -50,7 +52,8 @@ module TurnkeyClient
|
|
|
50
52
|
:'type' => :'type',
|
|
51
53
|
:'timestamp_ms' => :'timestampMs',
|
|
52
54
|
:'organization_id' => :'organizationId',
|
|
53
|
-
:'parameters' => :'parameters'
|
|
55
|
+
:'parameters' => :'parameters',
|
|
56
|
+
:'generate_app_proofs' => :'generateAppProofs'
|
|
54
57
|
}
|
|
55
58
|
end
|
|
56
59
|
|
|
@@ -60,13 +63,15 @@ module TurnkeyClient
|
|
|
60
63
|
:'type' => :'Object',
|
|
61
64
|
:'timestamp_ms' => :'Object',
|
|
62
65
|
:'organization_id' => :'Object',
|
|
63
|
-
:'parameters' => :'Object'
|
|
66
|
+
:'parameters' => :'Object',
|
|
67
|
+
:'generate_app_proofs' => :'Object'
|
|
64
68
|
}
|
|
65
69
|
end
|
|
66
70
|
|
|
67
71
|
# List of attributes with nullable: true
|
|
68
72
|
def self.openapi_nullable
|
|
69
73
|
Set.new([
|
|
74
|
+
:'generate_app_proofs'
|
|
70
75
|
])
|
|
71
76
|
end
|
|
72
77
|
|
|
@@ -100,6 +105,10 @@ module TurnkeyClient
|
|
|
100
105
|
if attributes.key?(:'parameters')
|
|
101
106
|
self.parameters = attributes[:'parameters']
|
|
102
107
|
end
|
|
108
|
+
|
|
109
|
+
if attributes.key?(:'generate_app_proofs')
|
|
110
|
+
self.generate_app_proofs = attributes[:'generate_app_proofs']
|
|
111
|
+
end
|
|
103
112
|
end
|
|
104
113
|
|
|
105
114
|
# Show invalid properties with the reasons. Usually used together with valid?
|
|
@@ -155,7 +164,8 @@ module TurnkeyClient
|
|
|
155
164
|
type == o.type &&
|
|
156
165
|
timestamp_ms == o.timestamp_ms &&
|
|
157
166
|
organization_id == o.organization_id &&
|
|
158
|
-
parameters == o.parameters
|
|
167
|
+
parameters == o.parameters &&
|
|
168
|
+
generate_app_proofs == o.generate_app_proofs
|
|
159
169
|
end
|
|
160
170
|
|
|
161
171
|
# @see the `==` method
|
|
@@ -167,7 +177,7 @@ module TurnkeyClient
|
|
|
167
177
|
# Calculates hash code according to all attributes.
|
|
168
178
|
# @return [Integer] Hash code
|
|
169
179
|
def hash
|
|
170
|
-
[type, timestamp_ms, organization_id, parameters].hash
|
|
180
|
+
[type, timestamp_ms, organization_id, parameters, generate_app_proofs].hash
|
|
171
181
|
end
|
|
172
182
|
|
|
173
183
|
# Builds the object from hash
|
|
@@ -22,6 +22,8 @@ module TurnkeyClient
|
|
|
22
22
|
|
|
23
23
|
attr_accessor :parameters
|
|
24
24
|
|
|
25
|
+
attr_accessor :generate_app_proofs
|
|
26
|
+
|
|
25
27
|
class EnumAttributeValidator
|
|
26
28
|
attr_reader :datatype
|
|
27
29
|
attr_reader :allowable_values
|
|
@@ -50,7 +52,8 @@ module TurnkeyClient
|
|
|
50
52
|
:'type' => :'type',
|
|
51
53
|
:'timestamp_ms' => :'timestampMs',
|
|
52
54
|
:'organization_id' => :'organizationId',
|
|
53
|
-
:'parameters' => :'parameters'
|
|
55
|
+
:'parameters' => :'parameters',
|
|
56
|
+
:'generate_app_proofs' => :'generateAppProofs'
|
|
54
57
|
}
|
|
55
58
|
end
|
|
56
59
|
|
|
@@ -60,13 +63,15 @@ module TurnkeyClient
|
|
|
60
63
|
:'type' => :'Object',
|
|
61
64
|
:'timestamp_ms' => :'Object',
|
|
62
65
|
:'organization_id' => :'Object',
|
|
63
|
-
:'parameters' => :'Object'
|
|
66
|
+
:'parameters' => :'Object',
|
|
67
|
+
:'generate_app_proofs' => :'Object'
|
|
64
68
|
}
|
|
65
69
|
end
|
|
66
70
|
|
|
67
71
|
# List of attributes with nullable: true
|
|
68
72
|
def self.openapi_nullable
|
|
69
73
|
Set.new([
|
|
74
|
+
:'generate_app_proofs'
|
|
70
75
|
])
|
|
71
76
|
end
|
|
72
77
|
|
|
@@ -100,6 +105,10 @@ module TurnkeyClient
|
|
|
100
105
|
if attributes.key?(:'parameters')
|
|
101
106
|
self.parameters = attributes[:'parameters']
|
|
102
107
|
end
|
|
108
|
+
|
|
109
|
+
if attributes.key?(:'generate_app_proofs')
|
|
110
|
+
self.generate_app_proofs = attributes[:'generate_app_proofs']
|
|
111
|
+
end
|
|
103
112
|
end
|
|
104
113
|
|
|
105
114
|
# Show invalid properties with the reasons. Usually used together with valid?
|
|
@@ -155,7 +164,8 @@ module TurnkeyClient
|
|
|
155
164
|
type == o.type &&
|
|
156
165
|
timestamp_ms == o.timestamp_ms &&
|
|
157
166
|
organization_id == o.organization_id &&
|
|
158
|
-
parameters == o.parameters
|
|
167
|
+
parameters == o.parameters &&
|
|
168
|
+
generate_app_proofs == o.generate_app_proofs
|
|
159
169
|
end
|
|
160
170
|
|
|
161
171
|
# @see the `==` method
|
|
@@ -167,7 +177,7 @@ module TurnkeyClient
|
|
|
167
177
|
# Calculates hash code according to all attributes.
|
|
168
178
|
# @return [Integer] Hash code
|
|
169
179
|
def hash
|
|
170
|
-
[type, timestamp_ms, organization_id, parameters].hash
|
|
180
|
+
[type, timestamp_ms, organization_id, parameters, generate_app_proofs].hash
|
|
171
181
|
end
|
|
172
182
|
|
|
173
183
|
# Builds the object from hash
|
|
@@ -22,6 +22,8 @@ module TurnkeyClient
|
|
|
22
22
|
|
|
23
23
|
attr_accessor :parameters
|
|
24
24
|
|
|
25
|
+
attr_accessor :generate_app_proofs
|
|
26
|
+
|
|
25
27
|
class EnumAttributeValidator
|
|
26
28
|
attr_reader :datatype
|
|
27
29
|
attr_reader :allowable_values
|
|
@@ -50,7 +52,8 @@ module TurnkeyClient
|
|
|
50
52
|
:'type' => :'type',
|
|
51
53
|
:'timestamp_ms' => :'timestampMs',
|
|
52
54
|
:'organization_id' => :'organizationId',
|
|
53
|
-
:'parameters' => :'parameters'
|
|
55
|
+
:'parameters' => :'parameters',
|
|
56
|
+
:'generate_app_proofs' => :'generateAppProofs'
|
|
54
57
|
}
|
|
55
58
|
end
|
|
56
59
|
|
|
@@ -60,13 +63,15 @@ module TurnkeyClient
|
|
|
60
63
|
:'type' => :'Object',
|
|
61
64
|
:'timestamp_ms' => :'Object',
|
|
62
65
|
:'organization_id' => :'Object',
|
|
63
|
-
:'parameters' => :'Object'
|
|
66
|
+
:'parameters' => :'Object',
|
|
67
|
+
:'generate_app_proofs' => :'Object'
|
|
64
68
|
}
|
|
65
69
|
end
|
|
66
70
|
|
|
67
71
|
# List of attributes with nullable: true
|
|
68
72
|
def self.openapi_nullable
|
|
69
73
|
Set.new([
|
|
74
|
+
:'generate_app_proofs'
|
|
70
75
|
])
|
|
71
76
|
end
|
|
72
77
|
|
|
@@ -100,6 +105,10 @@ module TurnkeyClient
|
|
|
100
105
|
if attributes.key?(:'parameters')
|
|
101
106
|
self.parameters = attributes[:'parameters']
|
|
102
107
|
end
|
|
108
|
+
|
|
109
|
+
if attributes.key?(:'generate_app_proofs')
|
|
110
|
+
self.generate_app_proofs = attributes[:'generate_app_proofs']
|
|
111
|
+
end
|
|
103
112
|
end
|
|
104
113
|
|
|
105
114
|
# Show invalid properties with the reasons. Usually used together with valid?
|
|
@@ -155,7 +164,8 @@ module TurnkeyClient
|
|
|
155
164
|
type == o.type &&
|
|
156
165
|
timestamp_ms == o.timestamp_ms &&
|
|
157
166
|
organization_id == o.organization_id &&
|
|
158
|
-
parameters == o.parameters
|
|
167
|
+
parameters == o.parameters &&
|
|
168
|
+
generate_app_proofs == o.generate_app_proofs
|
|
159
169
|
end
|
|
160
170
|
|
|
161
171
|
# @see the `==` method
|
|
@@ -167,7 +177,7 @@ module TurnkeyClient
|
|
|
167
177
|
# Calculates hash code according to all attributes.
|
|
168
178
|
# @return [Integer] Hash code
|
|
169
179
|
def hash
|
|
170
|
-
[type, timestamp_ms, organization_id, parameters].hash
|
|
180
|
+
[type, timestamp_ms, organization_id, parameters, generate_app_proofs].hash
|
|
171
181
|
end
|
|
172
182
|
|
|
173
183
|
# Builds the object from hash
|
|
@@ -22,6 +22,8 @@ module TurnkeyClient
|
|
|
22
22
|
|
|
23
23
|
attr_accessor :parameters
|
|
24
24
|
|
|
25
|
+
attr_accessor :generate_app_proofs
|
|
26
|
+
|
|
25
27
|
class EnumAttributeValidator
|
|
26
28
|
attr_reader :datatype
|
|
27
29
|
attr_reader :allowable_values
|
|
@@ -50,7 +52,8 @@ module TurnkeyClient
|
|
|
50
52
|
:'type' => :'type',
|
|
51
53
|
:'timestamp_ms' => :'timestampMs',
|
|
52
54
|
:'organization_id' => :'organizationId',
|
|
53
|
-
:'parameters' => :'parameters'
|
|
55
|
+
:'parameters' => :'parameters',
|
|
56
|
+
:'generate_app_proofs' => :'generateAppProofs'
|
|
54
57
|
}
|
|
55
58
|
end
|
|
56
59
|
|
|
@@ -60,13 +63,15 @@ module TurnkeyClient
|
|
|
60
63
|
:'type' => :'Object',
|
|
61
64
|
:'timestamp_ms' => :'Object',
|
|
62
65
|
:'organization_id' => :'Object',
|
|
63
|
-
:'parameters' => :'Object'
|
|
66
|
+
:'parameters' => :'Object',
|
|
67
|
+
:'generate_app_proofs' => :'Object'
|
|
64
68
|
}
|
|
65
69
|
end
|
|
66
70
|
|
|
67
71
|
# List of attributes with nullable: true
|
|
68
72
|
def self.openapi_nullable
|
|
69
73
|
Set.new([
|
|
74
|
+
:'generate_app_proofs'
|
|
70
75
|
])
|
|
71
76
|
end
|
|
72
77
|
|
|
@@ -100,6 +105,10 @@ module TurnkeyClient
|
|
|
100
105
|
if attributes.key?(:'parameters')
|
|
101
106
|
self.parameters = attributes[:'parameters']
|
|
102
107
|
end
|
|
108
|
+
|
|
109
|
+
if attributes.key?(:'generate_app_proofs')
|
|
110
|
+
self.generate_app_proofs = attributes[:'generate_app_proofs']
|
|
111
|
+
end
|
|
103
112
|
end
|
|
104
113
|
|
|
105
114
|
# Show invalid properties with the reasons. Usually used together with valid?
|
|
@@ -155,7 +164,8 @@ module TurnkeyClient
|
|
|
155
164
|
type == o.type &&
|
|
156
165
|
timestamp_ms == o.timestamp_ms &&
|
|
157
166
|
organization_id == o.organization_id &&
|
|
158
|
-
parameters == o.parameters
|
|
167
|
+
parameters == o.parameters &&
|
|
168
|
+
generate_app_proofs == o.generate_app_proofs
|
|
159
169
|
end
|
|
160
170
|
|
|
161
171
|
# @see the `==` method
|
|
@@ -167,7 +177,7 @@ module TurnkeyClient
|
|
|
167
177
|
# Calculates hash code according to all attributes.
|
|
168
178
|
# @return [Integer] Hash code
|
|
169
179
|
def hash
|
|
170
|
-
[type, timestamp_ms, organization_id, parameters].hash
|
|
180
|
+
[type, timestamp_ms, organization_id, parameters, generate_app_proofs].hash
|
|
171
181
|
end
|
|
172
182
|
|
|
173
183
|
# Builds the object from hash
|
|
@@ -22,6 +22,8 @@ module TurnkeyClient
|
|
|
22
22
|
|
|
23
23
|
attr_accessor :parameters
|
|
24
24
|
|
|
25
|
+
attr_accessor :generate_app_proofs
|
|
26
|
+
|
|
25
27
|
class EnumAttributeValidator
|
|
26
28
|
attr_reader :datatype
|
|
27
29
|
attr_reader :allowable_values
|
|
@@ -50,7 +52,8 @@ module TurnkeyClient
|
|
|
50
52
|
:'type' => :'type',
|
|
51
53
|
:'timestamp_ms' => :'timestampMs',
|
|
52
54
|
:'organization_id' => :'organizationId',
|
|
53
|
-
:'parameters' => :'parameters'
|
|
55
|
+
:'parameters' => :'parameters',
|
|
56
|
+
:'generate_app_proofs' => :'generateAppProofs'
|
|
54
57
|
}
|
|
55
58
|
end
|
|
56
59
|
|
|
@@ -60,13 +63,15 @@ module TurnkeyClient
|
|
|
60
63
|
:'type' => :'Object',
|
|
61
64
|
:'timestamp_ms' => :'Object',
|
|
62
65
|
:'organization_id' => :'Object',
|
|
63
|
-
:'parameters' => :'Object'
|
|
66
|
+
:'parameters' => :'Object',
|
|
67
|
+
:'generate_app_proofs' => :'Object'
|
|
64
68
|
}
|
|
65
69
|
end
|
|
66
70
|
|
|
67
71
|
# List of attributes with nullable: true
|
|
68
72
|
def self.openapi_nullable
|
|
69
73
|
Set.new([
|
|
74
|
+
:'generate_app_proofs'
|
|
70
75
|
])
|
|
71
76
|
end
|
|
72
77
|
|
|
@@ -100,6 +105,10 @@ module TurnkeyClient
|
|
|
100
105
|
if attributes.key?(:'parameters')
|
|
101
106
|
self.parameters = attributes[:'parameters']
|
|
102
107
|
end
|
|
108
|
+
|
|
109
|
+
if attributes.key?(:'generate_app_proofs')
|
|
110
|
+
self.generate_app_proofs = attributes[:'generate_app_proofs']
|
|
111
|
+
end
|
|
103
112
|
end
|
|
104
113
|
|
|
105
114
|
# Show invalid properties with the reasons. Usually used together with valid?
|
|
@@ -155,7 +164,8 @@ module TurnkeyClient
|
|
|
155
164
|
type == o.type &&
|
|
156
165
|
timestamp_ms == o.timestamp_ms &&
|
|
157
166
|
organization_id == o.organization_id &&
|
|
158
|
-
parameters == o.parameters
|
|
167
|
+
parameters == o.parameters &&
|
|
168
|
+
generate_app_proofs == o.generate_app_proofs
|
|
159
169
|
end
|
|
160
170
|
|
|
161
171
|
# @see the `==` method
|
|
@@ -167,7 +177,7 @@ module TurnkeyClient
|
|
|
167
177
|
# Calculates hash code according to all attributes.
|
|
168
178
|
# @return [Integer] Hash code
|
|
169
179
|
def hash
|
|
170
|
-
[type, timestamp_ms, organization_id, parameters].hash
|
|
180
|
+
[type, timestamp_ms, organization_id, parameters, generate_app_proofs].hash
|
|
171
181
|
end
|
|
172
182
|
|
|
173
183
|
# Builds the object from hash
|
|
@@ -15,7 +15,7 @@ module TurnkeyClient
|
|
|
15
15
|
# Corresponding contract address or program ID
|
|
16
16
|
attr_accessor :smart_contract_address
|
|
17
17
|
|
|
18
|
-
# ABI/IDL as a JSON string
|
|
18
|
+
# ABI/IDL as a JSON string. Limited to 400kb
|
|
19
19
|
attr_accessor :smart_contract_interface
|
|
20
20
|
|
|
21
21
|
attr_accessor :type
|
|
@@ -22,6 +22,8 @@ module TurnkeyClient
|
|
|
22
22
|
|
|
23
23
|
attr_accessor :parameters
|
|
24
24
|
|
|
25
|
+
attr_accessor :generate_app_proofs
|
|
26
|
+
|
|
25
27
|
class EnumAttributeValidator
|
|
26
28
|
attr_reader :datatype
|
|
27
29
|
attr_reader :allowable_values
|
|
@@ -50,7 +52,8 @@ module TurnkeyClient
|
|
|
50
52
|
:'type' => :'type',
|
|
51
53
|
:'timestamp_ms' => :'timestampMs',
|
|
52
54
|
:'organization_id' => :'organizationId',
|
|
53
|
-
:'parameters' => :'parameters'
|
|
55
|
+
:'parameters' => :'parameters',
|
|
56
|
+
:'generate_app_proofs' => :'generateAppProofs'
|
|
54
57
|
}
|
|
55
58
|
end
|
|
56
59
|
|
|
@@ -60,13 +63,15 @@ module TurnkeyClient
|
|
|
60
63
|
:'type' => :'Object',
|
|
61
64
|
:'timestamp_ms' => :'Object',
|
|
62
65
|
:'organization_id' => :'Object',
|
|
63
|
-
:'parameters' => :'Object'
|
|
66
|
+
:'parameters' => :'Object',
|
|
67
|
+
:'generate_app_proofs' => :'Object'
|
|
64
68
|
}
|
|
65
69
|
end
|
|
66
70
|
|
|
67
71
|
# List of attributes with nullable: true
|
|
68
72
|
def self.openapi_nullable
|
|
69
73
|
Set.new([
|
|
74
|
+
:'generate_app_proofs'
|
|
70
75
|
])
|
|
71
76
|
end
|
|
72
77
|
|
|
@@ -100,6 +105,10 @@ module TurnkeyClient
|
|
|
100
105
|
if attributes.key?(:'parameters')
|
|
101
106
|
self.parameters = attributes[:'parameters']
|
|
102
107
|
end
|
|
108
|
+
|
|
109
|
+
if attributes.key?(:'generate_app_proofs')
|
|
110
|
+
self.generate_app_proofs = attributes[:'generate_app_proofs']
|
|
111
|
+
end
|
|
103
112
|
end
|
|
104
113
|
|
|
105
114
|
# Show invalid properties with the reasons. Usually used together with valid?
|
|
@@ -155,7 +164,8 @@ module TurnkeyClient
|
|
|
155
164
|
type == o.type &&
|
|
156
165
|
timestamp_ms == o.timestamp_ms &&
|
|
157
166
|
organization_id == o.organization_id &&
|
|
158
|
-
parameters == o.parameters
|
|
167
|
+
parameters == o.parameters &&
|
|
168
|
+
generate_app_proofs == o.generate_app_proofs
|
|
159
169
|
end
|
|
160
170
|
|
|
161
171
|
# @see the `==` method
|
|
@@ -167,7 +177,7 @@ module TurnkeyClient
|
|
|
167
177
|
# Calculates hash code according to all attributes.
|
|
168
178
|
# @return [Integer] Hash code
|
|
169
179
|
def hash
|
|
170
|
-
[type, timestamp_ms, organization_id, parameters].hash
|
|
180
|
+
[type, timestamp_ms, organization_id, parameters, generate_app_proofs].hash
|
|
171
181
|
end
|
|
172
182
|
|
|
173
183
|
# Builds the object from hash
|
|
@@ -35,6 +35,11 @@ module TurnkeyClient
|
|
|
35
35
|
# Disable OTP email auth for the sub-organization
|
|
36
36
|
attr_accessor :disable_otp_email_auth
|
|
37
37
|
|
|
38
|
+
# Signed JWT containing a unique id, expiry, verification type, contact
|
|
39
|
+
attr_accessor :verification_token
|
|
40
|
+
|
|
41
|
+
attr_accessor :client_signature
|
|
42
|
+
|
|
38
43
|
# Attribute mapping from ruby-style variable name to JSON key.
|
|
39
44
|
def self.attribute_map
|
|
40
45
|
{
|
|
@@ -45,7 +50,9 @@ module TurnkeyClient
|
|
|
45
50
|
:'disable_email_recovery' => :'disableEmailRecovery',
|
|
46
51
|
:'disable_email_auth' => :'disableEmailAuth',
|
|
47
52
|
:'disable_sms_auth' => :'disableSmsAuth',
|
|
48
|
-
:'disable_otp_email_auth' => :'disableOtpEmailAuth'
|
|
53
|
+
:'disable_otp_email_auth' => :'disableOtpEmailAuth',
|
|
54
|
+
:'verification_token' => :'verificationToken',
|
|
55
|
+
:'client_signature' => :'clientSignature'
|
|
49
56
|
}
|
|
50
57
|
end
|
|
51
58
|
|
|
@@ -59,7 +66,9 @@ module TurnkeyClient
|
|
|
59
66
|
:'disable_email_recovery' => :'Object',
|
|
60
67
|
:'disable_email_auth' => :'Object',
|
|
61
68
|
:'disable_sms_auth' => :'Object',
|
|
62
|
-
:'disable_otp_email_auth' => :'Object'
|
|
69
|
+
:'disable_otp_email_auth' => :'Object',
|
|
70
|
+
:'verification_token' => :'Object',
|
|
71
|
+
:'client_signature' => :'Object'
|
|
63
72
|
}
|
|
64
73
|
end
|
|
65
74
|
|
|
@@ -69,7 +78,8 @@ module TurnkeyClient
|
|
|
69
78
|
:'disable_email_recovery',
|
|
70
79
|
:'disable_email_auth',
|
|
71
80
|
:'disable_sms_auth',
|
|
72
|
-
:'disable_otp_email_auth'
|
|
81
|
+
:'disable_otp_email_auth',
|
|
82
|
+
:'verification_token',
|
|
73
83
|
])
|
|
74
84
|
end
|
|
75
85
|
|
|
@@ -121,6 +131,14 @@ module TurnkeyClient
|
|
|
121
131
|
if attributes.key?(:'disable_otp_email_auth')
|
|
122
132
|
self.disable_otp_email_auth = attributes[:'disable_otp_email_auth']
|
|
123
133
|
end
|
|
134
|
+
|
|
135
|
+
if attributes.key?(:'verification_token')
|
|
136
|
+
self.verification_token = attributes[:'verification_token']
|
|
137
|
+
end
|
|
138
|
+
|
|
139
|
+
if attributes.key?(:'client_signature')
|
|
140
|
+
self.client_signature = attributes[:'client_signature']
|
|
141
|
+
end
|
|
124
142
|
end
|
|
125
143
|
|
|
126
144
|
# Show invalid properties with the reasons. Usually used together with valid?
|
|
@@ -163,7 +181,9 @@ module TurnkeyClient
|
|
|
163
181
|
disable_email_recovery == o.disable_email_recovery &&
|
|
164
182
|
disable_email_auth == o.disable_email_auth &&
|
|
165
183
|
disable_sms_auth == o.disable_sms_auth &&
|
|
166
|
-
disable_otp_email_auth == o.disable_otp_email_auth
|
|
184
|
+
disable_otp_email_auth == o.disable_otp_email_auth &&
|
|
185
|
+
verification_token == o.verification_token &&
|
|
186
|
+
client_signature == o.client_signature
|
|
167
187
|
end
|
|
168
188
|
|
|
169
189
|
# @see the `==` method
|
|
@@ -175,7 +195,7 @@ module TurnkeyClient
|
|
|
175
195
|
# Calculates hash code according to all attributes.
|
|
176
196
|
# @return [Integer] Hash code
|
|
177
197
|
def hash
|
|
178
|
-
[sub_organization_name, root_users, root_quorum_threshold, wallet, disable_email_recovery, disable_email_auth, disable_sms_auth, disable_otp_email_auth].hash
|
|
198
|
+
[sub_organization_name, root_users, root_quorum_threshold, wallet, disable_email_recovery, disable_email_auth, disable_sms_auth, disable_otp_email_auth, verification_token, client_signature].hash
|
|
179
199
|
end
|
|
180
200
|
|
|
181
201
|
# Builds the object from hash
|
|
@@ -22,6 +22,8 @@ module TurnkeyClient
|
|
|
22
22
|
|
|
23
23
|
attr_accessor :parameters
|
|
24
24
|
|
|
25
|
+
attr_accessor :generate_app_proofs
|
|
26
|
+
|
|
25
27
|
class EnumAttributeValidator
|
|
26
28
|
attr_reader :datatype
|
|
27
29
|
attr_reader :allowable_values
|
|
@@ -50,7 +52,8 @@ module TurnkeyClient
|
|
|
50
52
|
:'type' => :'type',
|
|
51
53
|
:'timestamp_ms' => :'timestampMs',
|
|
52
54
|
:'organization_id' => :'organizationId',
|
|
53
|
-
:'parameters' => :'parameters'
|
|
55
|
+
:'parameters' => :'parameters',
|
|
56
|
+
:'generate_app_proofs' => :'generateAppProofs'
|
|
54
57
|
}
|
|
55
58
|
end
|
|
56
59
|
|
|
@@ -60,13 +63,15 @@ module TurnkeyClient
|
|
|
60
63
|
:'type' => :'Object',
|
|
61
64
|
:'timestamp_ms' => :'Object',
|
|
62
65
|
:'organization_id' => :'Object',
|
|
63
|
-
:'parameters' => :'Object'
|
|
66
|
+
:'parameters' => :'Object',
|
|
67
|
+
:'generate_app_proofs' => :'Object'
|
|
64
68
|
}
|
|
65
69
|
end
|
|
66
70
|
|
|
67
71
|
# List of attributes with nullable: true
|
|
68
72
|
def self.openapi_nullable
|
|
69
73
|
Set.new([
|
|
74
|
+
:'generate_app_proofs'
|
|
70
75
|
])
|
|
71
76
|
end
|
|
72
77
|
|
|
@@ -100,6 +105,10 @@ module TurnkeyClient
|
|
|
100
105
|
if attributes.key?(:'parameters')
|
|
101
106
|
self.parameters = attributes[:'parameters']
|
|
102
107
|
end
|
|
108
|
+
|
|
109
|
+
if attributes.key?(:'generate_app_proofs')
|
|
110
|
+
self.generate_app_proofs = attributes[:'generate_app_proofs']
|
|
111
|
+
end
|
|
103
112
|
end
|
|
104
113
|
|
|
105
114
|
# Show invalid properties with the reasons. Usually used together with valid?
|
|
@@ -155,7 +164,8 @@ module TurnkeyClient
|
|
|
155
164
|
type == o.type &&
|
|
156
165
|
timestamp_ms == o.timestamp_ms &&
|
|
157
166
|
organization_id == o.organization_id &&
|
|
158
|
-
parameters == o.parameters
|
|
167
|
+
parameters == o.parameters &&
|
|
168
|
+
generate_app_proofs == o.generate_app_proofs
|
|
159
169
|
end
|
|
160
170
|
|
|
161
171
|
# @see the `==` method
|
|
@@ -167,7 +177,7 @@ module TurnkeyClient
|
|
|
167
177
|
# Calculates hash code according to all attributes.
|
|
168
178
|
# @return [Integer] Hash code
|
|
169
179
|
def hash
|
|
170
|
-
[type, timestamp_ms, organization_id, parameters].hash
|
|
180
|
+
[type, timestamp_ms, organization_id, parameters, generate_app_proofs].hash
|
|
171
181
|
end
|
|
172
182
|
|
|
173
183
|
# Builds the object from hash
|