turnkey_client 0.0.2 → 0.0.3

Sign up to get free protection for your applications and to get access to all the features.
Files changed (268) hide show
  1. checksums.yaml +4 -4
  2. data/lib/turnkey_client/api/activities_api.rb +1 -1
  3. data/lib/turnkey_client/api/api_keys_api.rb +1 -1
  4. data/lib/turnkey_client/api/authenticators_api.rb +1 -1
  5. data/lib/turnkey_client/api/consensus_api.rb +1 -1
  6. data/lib/turnkey_client/api/features_api.rb +1 -1
  7. data/lib/turnkey_client/api/invitations_api.rb +1 -1
  8. data/lib/turnkey_client/api/organizations_api.rb +59 -1
  9. data/lib/turnkey_client/api/policies_api.rb +1 -1
  10. data/lib/turnkey_client/api/private_key_tags_api.rb +1 -1
  11. data/lib/turnkey_client/api/private_keys_api.rb +117 -1
  12. data/lib/turnkey_client/api/sessions_api.rb +1 -1
  13. data/lib/turnkey_client/api/signing_api.rb +1 -1
  14. data/lib/turnkey_client/api/user_auth_api.rb +1 -1
  15. data/lib/turnkey_client/api/user_recovery_api.rb +1 -1
  16. data/lib/turnkey_client/api/user_tags_api.rb +1 -1
  17. data/lib/turnkey_client/api/users_api.rb +1 -1
  18. data/lib/turnkey_client/api/wallets_api.rb +1 -1
  19. data/lib/turnkey_client/api_client.rb +1 -1
  20. data/lib/turnkey_client/api_error.rb +1 -1
  21. data/lib/turnkey_client/configuration.rb +1 -1
  22. data/lib/turnkey_client/models/accept_invitation_intent.rb +1 -1
  23. data/lib/turnkey_client/models/accept_invitation_intent_v2.rb +1 -1
  24. data/lib/turnkey_client/models/accept_invitation_result.rb +1 -1
  25. data/lib/turnkey_client/models/access_type.rb +1 -1
  26. data/lib/turnkey_client/models/activate_billing_tier_intent.rb +1 -1
  27. data/lib/turnkey_client/models/activate_billing_tier_result.rb +1 -1
  28. data/lib/turnkey_client/models/activity.rb +1 -1
  29. data/lib/turnkey_client/models/activity_response.rb +1 -1
  30. data/lib/turnkey_client/models/activity_status.rb +1 -1
  31. data/lib/turnkey_client/models/activity_type.rb +3 -1
  32. data/lib/turnkey_client/models/activity_v1_address.rb +1 -1
  33. data/lib/turnkey_client/models/address_format.rb +1 -1
  34. data/lib/turnkey_client/models/api_key.rb +1 -1
  35. data/lib/turnkey_client/models/api_key_params.rb +1 -1
  36. data/lib/turnkey_client/models/api_only_user_params.rb +1 -1
  37. data/lib/turnkey_client/models/approve_activity_intent.rb +1 -1
  38. data/lib/turnkey_client/models/approve_activity_request.rb +1 -1
  39. data/lib/turnkey_client/models/attestation.rb +1 -1
  40. data/lib/turnkey_client/models/authenticator.rb +1 -1
  41. data/lib/turnkey_client/models/authenticator_attestation_response.rb +1 -1
  42. data/lib/turnkey_client/models/authenticator_params.rb +1 -1
  43. data/lib/turnkey_client/models/authenticator_params_v2.rb +1 -1
  44. data/lib/turnkey_client/models/authenticator_transport.rb +1 -1
  45. data/lib/turnkey_client/models/create_api_keys_intent.rb +1 -1
  46. data/lib/turnkey_client/models/create_api_keys_request.rb +1 -1
  47. data/lib/turnkey_client/models/create_api_keys_result.rb +1 -1
  48. data/lib/turnkey_client/models/create_api_only_users_intent.rb +1 -1
  49. data/lib/turnkey_client/models/create_api_only_users_result.rb +1 -1
  50. data/lib/turnkey_client/models/create_authenticators_intent.rb +1 -1
  51. data/lib/turnkey_client/models/create_authenticators_intent_v2.rb +1 -1
  52. data/lib/turnkey_client/models/create_authenticators_request.rb +1 -1
  53. data/lib/turnkey_client/models/create_authenticators_result.rb +1 -1
  54. data/lib/turnkey_client/models/create_invitations_intent.rb +1 -1
  55. data/lib/turnkey_client/models/create_invitations_request.rb +1 -1
  56. data/lib/turnkey_client/models/create_invitations_result.rb +1 -1
  57. data/lib/turnkey_client/models/create_organization_intent.rb +1 -1
  58. data/lib/turnkey_client/models/create_organization_intent_v2.rb +1 -1
  59. data/lib/turnkey_client/models/create_organization_result.rb +1 -1
  60. data/lib/turnkey_client/models/create_policy_intent.rb +1 -1
  61. data/lib/turnkey_client/models/create_policy_intent_v2.rb +1 -1
  62. data/lib/turnkey_client/models/create_policy_intent_v3.rb +1 -1
  63. data/lib/turnkey_client/models/create_policy_request.rb +1 -1
  64. data/lib/turnkey_client/models/create_policy_result.rb +1 -1
  65. data/lib/turnkey_client/models/create_private_key_tag_intent.rb +1 -1
  66. data/lib/turnkey_client/models/create_private_key_tag_request.rb +1 -1
  67. data/lib/turnkey_client/models/create_private_key_tag_result.rb +1 -1
  68. data/lib/turnkey_client/models/create_private_keys_intent.rb +1 -1
  69. data/lib/turnkey_client/models/create_private_keys_intent_v2.rb +1 -1
  70. data/lib/turnkey_client/models/create_private_keys_request.rb +1 -1
  71. data/lib/turnkey_client/models/create_private_keys_result.rb +1 -1
  72. data/lib/turnkey_client/models/create_private_keys_result_v2.rb +1 -1
  73. data/lib/turnkey_client/models/create_sub_organization_intent.rb +1 -1
  74. data/lib/turnkey_client/models/create_sub_organization_intent_v2.rb +1 -1
  75. data/lib/turnkey_client/models/create_sub_organization_intent_v3.rb +1 -1
  76. data/lib/turnkey_client/models/create_sub_organization_intent_v4.rb +1 -1
  77. data/lib/turnkey_client/models/create_sub_organization_request.rb +1 -1
  78. data/lib/turnkey_client/models/create_sub_organization_result.rb +16 -5
  79. data/lib/turnkey_client/models/create_sub_organization_result_v3.rb +16 -5
  80. data/lib/turnkey_client/models/create_sub_organization_result_v4.rb +16 -5
  81. data/lib/turnkey_client/models/create_user_tag_intent.rb +1 -1
  82. data/lib/turnkey_client/models/create_user_tag_request.rb +1 -1
  83. data/lib/turnkey_client/models/create_user_tag_result.rb +1 -1
  84. data/lib/turnkey_client/models/create_users_intent.rb +1 -1
  85. data/lib/turnkey_client/models/create_users_intent_v2.rb +1 -1
  86. data/lib/turnkey_client/models/create_users_request.rb +1 -1
  87. data/lib/turnkey_client/models/create_users_result.rb +1 -1
  88. data/lib/turnkey_client/models/create_wallet_accounts_intent.rb +1 -1
  89. data/lib/turnkey_client/models/create_wallet_accounts_request.rb +1 -1
  90. data/lib/turnkey_client/models/create_wallet_accounts_result.rb +1 -1
  91. data/lib/turnkey_client/models/create_wallet_intent.rb +1 -1
  92. data/lib/turnkey_client/models/create_wallet_request.rb +1 -1
  93. data/lib/turnkey_client/models/create_wallet_result.rb +1 -1
  94. data/lib/turnkey_client/models/cred_props_authentication_extensions_client_outputs.rb +1 -1
  95. data/lib/turnkey_client/models/credential_type.rb +1 -1
  96. data/lib/turnkey_client/models/curve.rb +1 -1
  97. data/lib/turnkey_client/models/data_v1_address.rb +1 -1
  98. data/lib/turnkey_client/models/delete_api_keys_intent.rb +1 -1
  99. data/lib/turnkey_client/models/delete_api_keys_request.rb +1 -1
  100. data/lib/turnkey_client/models/delete_api_keys_result.rb +1 -1
  101. data/lib/turnkey_client/models/delete_authenticators_intent.rb +1 -1
  102. data/lib/turnkey_client/models/delete_authenticators_request.rb +1 -1
  103. data/lib/turnkey_client/models/delete_authenticators_result.rb +1 -1
  104. data/lib/turnkey_client/models/delete_invitation_intent.rb +1 -1
  105. data/lib/turnkey_client/models/delete_invitation_request.rb +1 -1
  106. data/lib/turnkey_client/models/delete_invitation_result.rb +1 -1
  107. data/lib/turnkey_client/models/delete_organization_intent.rb +1 -1
  108. data/lib/turnkey_client/models/delete_organization_result.rb +1 -1
  109. data/lib/turnkey_client/models/delete_payment_method_intent.rb +1 -1
  110. data/lib/turnkey_client/models/delete_payment_method_result.rb +1 -1
  111. data/lib/turnkey_client/models/delete_policy_intent.rb +1 -1
  112. data/lib/turnkey_client/models/delete_policy_request.rb +1 -1
  113. data/lib/turnkey_client/models/delete_policy_result.rb +1 -1
  114. data/lib/turnkey_client/models/delete_private_key_tags_intent.rb +1 -1
  115. data/lib/turnkey_client/models/delete_private_key_tags_request.rb +1 -1
  116. data/lib/turnkey_client/models/delete_private_key_tags_result.rb +1 -1
  117. data/lib/turnkey_client/models/delete_user_tags_intent.rb +1 -1
  118. data/lib/turnkey_client/models/delete_user_tags_request.rb +1 -1
  119. data/lib/turnkey_client/models/delete_user_tags_result.rb +1 -1
  120. data/lib/turnkey_client/models/delete_users_intent.rb +1 -1
  121. data/lib/turnkey_client/models/delete_users_request.rb +1 -1
  122. data/lib/turnkey_client/models/delete_users_result.rb +1 -1
  123. data/lib/turnkey_client/models/disable_private_key_intent.rb +1 -1
  124. data/lib/turnkey_client/models/disable_private_key_result.rb +1 -1
  125. data/lib/turnkey_client/models/effect.rb +1 -1
  126. data/lib/turnkey_client/models/email_auth_intent.rb +1 -1
  127. data/lib/turnkey_client/models/email_auth_request.rb +1 -1
  128. data/lib/turnkey_client/models/email_auth_result.rb +1 -1
  129. data/lib/turnkey_client/models/email_customization_params.rb +1 -1
  130. data/lib/turnkey_client/models/export_private_key_intent.rb +1 -1
  131. data/lib/turnkey_client/models/export_private_key_request.rb +1 -1
  132. data/lib/turnkey_client/models/export_private_key_result.rb +1 -1
  133. data/lib/turnkey_client/models/export_wallet_account_intent.rb +1 -1
  134. data/lib/turnkey_client/models/export_wallet_account_request.rb +1 -1
  135. data/lib/turnkey_client/models/export_wallet_account_result.rb +1 -1
  136. data/lib/turnkey_client/models/export_wallet_intent.rb +1 -1
  137. data/lib/turnkey_client/models/export_wallet_request.rb +1 -1
  138. data/lib/turnkey_client/models/export_wallet_result.rb +1 -1
  139. data/lib/turnkey_client/models/external_data_v1_credential.rb +1 -1
  140. data/lib/turnkey_client/models/external_data_v1_timestamp.rb +1 -1
  141. data/lib/turnkey_client/models/feature.rb +1 -1
  142. data/lib/turnkey_client/models/feature_name.rb +2 -1
  143. data/lib/turnkey_client/models/get_activities_request.rb +1 -1
  144. data/lib/turnkey_client/models/get_activities_response.rb +1 -1
  145. data/lib/turnkey_client/models/get_activity_request.rb +1 -1
  146. data/lib/turnkey_client/models/get_api_key_request.rb +1 -1
  147. data/lib/turnkey_client/models/get_api_key_response.rb +1 -1
  148. data/lib/turnkey_client/models/get_api_keys_request.rb +1 -1
  149. data/lib/turnkey_client/models/get_api_keys_response.rb +1 -1
  150. data/lib/turnkey_client/models/get_authenticator_request.rb +1 -1
  151. data/lib/turnkey_client/models/get_authenticator_response.rb +1 -1
  152. data/lib/turnkey_client/models/get_authenticators_request.rb +1 -1
  153. data/lib/turnkey_client/models/get_authenticators_response.rb +1 -1
  154. data/lib/turnkey_client/models/get_policies_request.rb +1 -1
  155. data/lib/turnkey_client/models/get_policies_response.rb +1 -1
  156. data/lib/turnkey_client/models/get_policy_request.rb +1 -1
  157. data/lib/turnkey_client/models/get_policy_response.rb +1 -1
  158. data/lib/turnkey_client/models/get_private_key_request.rb +1 -1
  159. data/lib/turnkey_client/models/get_private_key_response.rb +1 -1
  160. data/lib/turnkey_client/models/get_private_keys_request.rb +1 -1
  161. data/lib/turnkey_client/models/get_private_keys_response.rb +1 -1
  162. data/lib/turnkey_client/models/get_sub_org_ids_request.rb +232 -0
  163. data/lib/turnkey_client/models/get_sub_org_ids_response.rb +214 -0
  164. data/lib/turnkey_client/models/get_user_request.rb +1 -1
  165. data/lib/turnkey_client/models/get_user_response.rb +1 -1
  166. data/lib/turnkey_client/models/get_users_request.rb +1 -1
  167. data/lib/turnkey_client/models/get_users_response.rb +1 -1
  168. data/lib/turnkey_client/models/get_wallet_accounts_request.rb +1 -1
  169. data/lib/turnkey_client/models/get_wallet_accounts_response.rb +1 -1
  170. data/lib/turnkey_client/models/get_wallet_request.rb +1 -1
  171. data/lib/turnkey_client/models/get_wallet_response.rb +1 -1
  172. data/lib/turnkey_client/models/get_wallets_request.rb +1 -1
  173. data/lib/turnkey_client/models/get_wallets_response.rb +1 -1
  174. data/lib/turnkey_client/models/get_whoami_request.rb +1 -1
  175. data/lib/turnkey_client/models/get_whoami_response.rb +1 -1
  176. data/lib/turnkey_client/models/hash_function.rb +1 -1
  177. data/lib/turnkey_client/models/import_private_key_intent.rb +273 -0
  178. data/lib/turnkey_client/models/import_private_key_request.rb +289 -0
  179. data/lib/turnkey_client/models/import_private_key_result.rb +229 -0
  180. data/lib/turnkey_client/models/import_wallet_intent.rb +1 -1
  181. data/lib/turnkey_client/models/import_wallet_request.rb +1 -1
  182. data/lib/turnkey_client/models/import_wallet_result.rb +1 -1
  183. data/lib/turnkey_client/models/init_import_private_key_intent.rb +212 -0
  184. data/lib/turnkey_client/models/init_import_private_key_request.rb +289 -0
  185. data/lib/turnkey_client/models/init_import_private_key_result.rb +212 -0
  186. data/lib/turnkey_client/models/init_import_wallet_intent.rb +1 -1
  187. data/lib/turnkey_client/models/init_import_wallet_request.rb +1 -1
  188. data/lib/turnkey_client/models/init_import_wallet_result.rb +1 -1
  189. data/lib/turnkey_client/models/init_user_email_recovery_intent.rb +14 -5
  190. data/lib/turnkey_client/models/init_user_email_recovery_request.rb +1 -1
  191. data/lib/turnkey_client/models/init_user_email_recovery_result.rb +1 -1
  192. data/lib/turnkey_client/models/intent.rb +23 -5
  193. data/lib/turnkey_client/models/invitation_params.rb +1 -1
  194. data/lib/turnkey_client/models/list_private_key_tags_request.rb +1 -1
  195. data/lib/turnkey_client/models/list_private_key_tags_response.rb +1 -1
  196. data/lib/turnkey_client/models/list_user_tags_request.rb +1 -1
  197. data/lib/turnkey_client/models/list_user_tags_response.rb +1 -1
  198. data/lib/turnkey_client/models/mnemonic_language.rb +1 -1
  199. data/lib/turnkey_client/models/operator.rb +1 -1
  200. data/lib/turnkey_client/models/pagination.rb +1 -1
  201. data/lib/turnkey_client/models/path_format.rb +1 -1
  202. data/lib/turnkey_client/models/payload_encoding.rb +1 -1
  203. data/lib/turnkey_client/models/policy.rb +1 -1
  204. data/lib/turnkey_client/models/private_key.rb +20 -5
  205. data/lib/turnkey_client/models/private_key_params.rb +1 -1
  206. data/lib/turnkey_client/models/private_key_result.rb +1 -1
  207. data/lib/turnkey_client/models/public_key_credential_with_attestation.rb +1 -1
  208. data/lib/turnkey_client/models/recover_user_intent.rb +1 -1
  209. data/lib/turnkey_client/models/recover_user_request.rb +1 -1
  210. data/lib/turnkey_client/models/recover_user_result.rb +1 -1
  211. data/lib/turnkey_client/models/reject_activity_intent.rb +1 -1
  212. data/lib/turnkey_client/models/reject_activity_request.rb +1 -1
  213. data/lib/turnkey_client/models/remove_organization_feature_intent.rb +1 -1
  214. data/lib/turnkey_client/models/remove_organization_feature_request.rb +1 -1
  215. data/lib/turnkey_client/models/remove_organization_feature_result.rb +1 -1
  216. data/lib/turnkey_client/models/result.rb +23 -5
  217. data/lib/turnkey_client/models/root_user_params.rb +1 -1
  218. data/lib/turnkey_client/models/selector.rb +1 -1
  219. data/lib/turnkey_client/models/selector_v2.rb +1 -1
  220. data/lib/turnkey_client/models/set_organization_feature_intent.rb +1 -1
  221. data/lib/turnkey_client/models/set_organization_feature_request.rb +1 -1
  222. data/lib/turnkey_client/models/set_organization_feature_result.rb +1 -1
  223. data/lib/turnkey_client/models/set_payment_method_intent.rb +1 -1
  224. data/lib/turnkey_client/models/set_payment_method_intent_v2.rb +1 -1
  225. data/lib/turnkey_client/models/set_payment_method_result.rb +1 -1
  226. data/lib/turnkey_client/models/sign_raw_payload_intent.rb +1 -1
  227. data/lib/turnkey_client/models/sign_raw_payload_intent_v2.rb +1 -1
  228. data/lib/turnkey_client/models/sign_raw_payload_request.rb +1 -1
  229. data/lib/turnkey_client/models/sign_raw_payload_result.rb +1 -1
  230. data/lib/turnkey_client/models/sign_transaction_intent.rb +1 -1
  231. data/lib/turnkey_client/models/sign_transaction_intent_v2.rb +1 -1
  232. data/lib/turnkey_client/models/sign_transaction_request.rb +1 -1
  233. data/lib/turnkey_client/models/sign_transaction_result.rb +1 -1
  234. data/lib/turnkey_client/models/simple_client_extension_results.rb +1 -1
  235. data/lib/turnkey_client/models/tag_type.rb +1 -1
  236. data/lib/turnkey_client/models/transaction_type.rb +1 -1
  237. data/lib/turnkey_client/models/update_allowed_origins_intent.rb +1 -1
  238. data/lib/turnkey_client/models/update_allowed_origins_result.rb +1 -1
  239. data/lib/turnkey_client/models/update_policy_intent.rb +1 -1
  240. data/lib/turnkey_client/models/update_policy_request.rb +1 -1
  241. data/lib/turnkey_client/models/update_policy_result.rb +1 -1
  242. data/lib/turnkey_client/models/update_private_key_tag_intent.rb +1 -1
  243. data/lib/turnkey_client/models/update_private_key_tag_request.rb +1 -1
  244. data/lib/turnkey_client/models/update_private_key_tag_result.rb +1 -1
  245. data/lib/turnkey_client/models/update_root_quorum_intent.rb +1 -1
  246. data/lib/turnkey_client/models/update_root_quorum_request.rb +1 -1
  247. data/lib/turnkey_client/models/update_root_quorum_result.rb +1 -1
  248. data/lib/turnkey_client/models/update_user_intent.rb +1 -1
  249. data/lib/turnkey_client/models/update_user_request.rb +1 -1
  250. data/lib/turnkey_client/models/update_user_result.rb +1 -1
  251. data/lib/turnkey_client/models/update_user_tag_intent.rb +1 -1
  252. data/lib/turnkey_client/models/update_user_tag_request.rb +1 -1
  253. data/lib/turnkey_client/models/update_user_tag_result.rb +1 -1
  254. data/lib/turnkey_client/models/user.rb +1 -1
  255. data/lib/turnkey_client/models/user_params.rb +1 -1
  256. data/lib/turnkey_client/models/user_params_v2.rb +1 -1
  257. data/lib/turnkey_client/models/v1_tag.rb +1 -1
  258. data/lib/turnkey_client/models/vote.rb +1 -1
  259. data/lib/turnkey_client/models/wallet.rb +1 -1
  260. data/lib/turnkey_client/models/wallet_account.rb +1 -1
  261. data/lib/turnkey_client/models/wallet_account_params.rb +1 -1
  262. data/lib/turnkey_client/models/wallet_params.rb +1 -1
  263. data/lib/turnkey_client/models/wallet_result.rb +1 -1
  264. data/lib/turnkey_client/version.rb +2 -2
  265. data/lib/turnkey_client.rb +9 -1
  266. data/turnkey_client-0.0.2.gem +0 -0
  267. data/turnkey_client.gemspec +1 -1
  268. metadata +11 -2
@@ -0,0 +1,289 @@
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
+ Swagger Codegen version: 3.0.54
10
+ =end
11
+
12
+ require 'date'
13
+
14
+ module TurnkeyClient
15
+ class InitImportPrivateKeyRequest
16
+ attr_accessor :type
17
+
18
+ # Timestamp (in milliseconds) of the request, used to verify liveness of user requests.
19
+ attr_accessor :timestamp_ms
20
+
21
+ # Unique identifier for a given Organization.
22
+ attr_accessor :organization_id
23
+
24
+ attr_accessor :parameters
25
+
26
+ class EnumAttributeValidator
27
+ attr_reader :datatype
28
+ attr_reader :allowable_values
29
+
30
+ def initialize(datatype, allowable_values)
31
+ @allowable_values = allowable_values.map do |value|
32
+ case datatype.to_s
33
+ when /Integer/i
34
+ value.to_i
35
+ when /Float/i
36
+ value.to_f
37
+ else
38
+ value
39
+ end
40
+ end
41
+ end
42
+
43
+ def valid?(value)
44
+ !value || allowable_values.include?(value)
45
+ end
46
+ end
47
+
48
+ # Attribute mapping from ruby-style variable name to JSON key.
49
+ def self.attribute_map
50
+ {
51
+ :'type' => :'type',
52
+ :'timestamp_ms' => :'timestampMs',
53
+ :'organization_id' => :'organizationId',
54
+ :'parameters' => :'parameters'
55
+ }
56
+ end
57
+
58
+ # Attribute type mapping.
59
+ def self.openapi_types
60
+ {
61
+ :'type' => :'Object',
62
+ :'timestamp_ms' => :'Object',
63
+ :'organization_id' => :'Object',
64
+ :'parameters' => :'Object'
65
+ }
66
+ end
67
+
68
+ # List of attributes with nullable: true
69
+ def self.openapi_nullable
70
+ Set.new([
71
+ ])
72
+ end
73
+
74
+ # Initializes the object
75
+ # @param [Hash] attributes Model attributes in the form of hash
76
+ def initialize(attributes = {})
77
+ if (!attributes.is_a?(Hash))
78
+ fail ArgumentError, "The input argument (attributes) must be a hash in `TurnkeyClient::InitImportPrivateKeyRequest` initialize method"
79
+ end
80
+
81
+ # check to see if the attribute exists and convert string to symbol for hash key
82
+ attributes = attributes.each_with_object({}) { |(k, v), h|
83
+ if (!self.class.attribute_map.key?(k.to_sym))
84
+ fail ArgumentError, "`#{k}` is not a valid attribute in `TurnkeyClient::InitImportPrivateKeyRequest`. Please check the name to make sure it's valid. List of attributes: " + self.class.attribute_map.keys.inspect
85
+ end
86
+ h[k.to_sym] = v
87
+ }
88
+
89
+ if attributes.key?(:'type')
90
+ self.type = attributes[:'type']
91
+ end
92
+
93
+ if attributes.key?(:'timestamp_ms')
94
+ self.timestamp_ms = attributes[:'timestamp_ms']
95
+ end
96
+
97
+ if attributes.key?(:'organization_id')
98
+ self.organization_id = attributes[:'organization_id']
99
+ end
100
+
101
+ if attributes.key?(:'parameters')
102
+ self.parameters = attributes[:'parameters']
103
+ end
104
+ end
105
+
106
+ # Show invalid properties with the reasons. Usually used together with valid?
107
+ # @return Array for valid properties with the reasons
108
+ def list_invalid_properties
109
+ invalid_properties = Array.new
110
+ if @type.nil?
111
+ invalid_properties.push('invalid value for "type", type cannot be nil.')
112
+ end
113
+
114
+ if @timestamp_ms.nil?
115
+ invalid_properties.push('invalid value for "timestamp_ms", timestamp_ms cannot be nil.')
116
+ end
117
+
118
+ if @organization_id.nil?
119
+ invalid_properties.push('invalid value for "organization_id", organization_id cannot be nil.')
120
+ end
121
+
122
+ if @parameters.nil?
123
+ invalid_properties.push('invalid value for "parameters", parameters cannot be nil.')
124
+ end
125
+
126
+ invalid_properties
127
+ end
128
+
129
+ # Check to see if the all the properties in the model are valid
130
+ # @return true if the model is valid
131
+ def valid?
132
+ return false if @type.nil?
133
+ type_validator = EnumAttributeValidator.new('Object', ['ACTIVITY_TYPE_INIT_IMPORT_PRIVATE_KEY'])
134
+ return false unless type_validator.valid?(@type)
135
+ return false if @timestamp_ms.nil?
136
+ return false if @organization_id.nil?
137
+ return false if @parameters.nil?
138
+ true
139
+ end
140
+
141
+ # Custom attribute writer method checking allowed values (enum).
142
+ # @param [Object] type Object to be assigned
143
+ def type=(type)
144
+ validator = EnumAttributeValidator.new('Object', ['ACTIVITY_TYPE_INIT_IMPORT_PRIVATE_KEY'])
145
+ unless validator.valid?(type)
146
+ fail ArgumentError, "invalid value for \"type\", must be one of #{validator.allowable_values}."
147
+ end
148
+ @type = type
149
+ end
150
+
151
+ # Checks equality by comparing each attribute.
152
+ # @param [Object] Object to be compared
153
+ def ==(o)
154
+ return true if self.equal?(o)
155
+ self.class == o.class &&
156
+ type == o.type &&
157
+ timestamp_ms == o.timestamp_ms &&
158
+ organization_id == o.organization_id &&
159
+ parameters == o.parameters
160
+ end
161
+
162
+ # @see the `==` method
163
+ # @param [Object] Object to be compared
164
+ def eql?(o)
165
+ self == o
166
+ end
167
+
168
+ # Calculates hash code according to all attributes.
169
+ # @return [Integer] Hash code
170
+ def hash
171
+ [type, timestamp_ms, organization_id, parameters].hash
172
+ end
173
+
174
+ # Builds the object from hash
175
+ # @param [Hash] attributes Model attributes in the form of hash
176
+ # @return [Object] Returns the model itself
177
+ def self.build_from_hash(attributes)
178
+ new.build_from_hash(attributes)
179
+ end
180
+
181
+ # Builds the object from hash
182
+ # @param [Hash] attributes Model attributes in the form of hash
183
+ # @return [Object] Returns the model itself
184
+ def build_from_hash(attributes)
185
+ return nil unless attributes.is_a?(Hash)
186
+ self.class.openapi_types.each_pair do |key, type|
187
+ if type =~ /\AArray<(.*)>/i
188
+ # check to ensure the input is an array given that the attribute
189
+ # is documented as an array but the input is not
190
+ if attributes[self.class.attribute_map[key]].is_a?(Array)
191
+ self.send("#{key}=", attributes[self.class.attribute_map[key]].map { |v| _deserialize($1, v) })
192
+ end
193
+ elsif !attributes[self.class.attribute_map[key]].nil?
194
+ self.send("#{key}=", _deserialize(type, attributes[self.class.attribute_map[key]]))
195
+ elsif attributes[self.class.attribute_map[key]].nil? && self.class.openapi_nullable.include?(key)
196
+ self.send("#{key}=", nil)
197
+ end
198
+ end
199
+
200
+ self
201
+ end
202
+
203
+ # Deserializes the data based on type
204
+ # @param string type Data type
205
+ # @param string value Value to be deserialized
206
+ # @return [Object] Deserialized data
207
+ def _deserialize(type, value)
208
+ case type.to_sym
209
+ when :DateTime
210
+ DateTime.parse(value)
211
+ when :Date
212
+ Date.parse(value)
213
+ when :String
214
+ value.to_s
215
+ when :Integer
216
+ value.to_i
217
+ when :Float
218
+ value.to_f
219
+ when :Boolean
220
+ if value.to_s =~ /\A(true|t|yes|y|1)\z/i
221
+ true
222
+ else
223
+ false
224
+ end
225
+ when :Object
226
+ # generic object (usually a Hash), return directly
227
+ value
228
+ when /\AArray<(?<inner_type>.+)>\z/
229
+ inner_type = Regexp.last_match[:inner_type]
230
+ value.map { |v| _deserialize(inner_type, v) }
231
+ when /\AHash<(?<k_type>.+?), (?<v_type>.+)>\z/
232
+ k_type = Regexp.last_match[:k_type]
233
+ v_type = Regexp.last_match[:v_type]
234
+ {}.tap do |hash|
235
+ value.each do |k, v|
236
+ hash[_deserialize(k_type, k)] = _deserialize(v_type, v)
237
+ end
238
+ end
239
+ else # model
240
+ TurnkeyClient.const_get(type).build_from_hash(value)
241
+ end
242
+ end
243
+
244
+ # Returns the string representation of the object
245
+ # @return [String] String presentation of the object
246
+ def to_s
247
+ to_hash.to_s
248
+ end
249
+
250
+ # to_body is an alias to to_hash (backward compatibility)
251
+ # @return [Hash] Returns the object in the form of hash
252
+ def to_body
253
+ to_hash
254
+ end
255
+
256
+ # Returns the object in the form of hash
257
+ # @return [Hash] Returns the object in the form of hash
258
+ def to_hash
259
+ hash = {}
260
+ self.class.attribute_map.each_pair do |attr, param|
261
+ value = self.send(attr)
262
+ if value.nil?
263
+ is_nullable = self.class.openapi_nullable.include?(attr)
264
+ next if !is_nullable || (is_nullable && !instance_variable_defined?(:"@#{attr}"))
265
+ end
266
+
267
+ hash[param] = _to_hash(value)
268
+ end
269
+ hash
270
+ end
271
+
272
+ # Outputs non-array value in the form of hash
273
+ # For object, use to_hash. Otherwise, just return the value
274
+ # @param [Object] value Any valid value
275
+ # @return [Hash] Returns the value in the form of hash
276
+ def _to_hash(value)
277
+ if value.is_a?(Array)
278
+ value.compact.map { |v| _to_hash(v) }
279
+ elsif value.is_a?(Hash)
280
+ {}.tap do |hash|
281
+ value.each { |k, v| hash[k] = _to_hash(v) }
282
+ end
283
+ elsif value.respond_to? :to_hash
284
+ value.to_hash
285
+ else
286
+ value
287
+ end
288
+ end end
289
+ end
@@ -0,0 +1,212 @@
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
+ Swagger Codegen version: 3.0.54
10
+ =end
11
+
12
+ require 'date'
13
+
14
+ module TurnkeyClient
15
+ class InitImportPrivateKeyResult
16
+ # Import bundle containing a public key and signature to use for importing client data.
17
+ attr_accessor :import_bundle
18
+
19
+ # Attribute mapping from ruby-style variable name to JSON key.
20
+ def self.attribute_map
21
+ {
22
+ :'import_bundle' => :'importBundle'
23
+ }
24
+ end
25
+
26
+ # Attribute type mapping.
27
+ def self.openapi_types
28
+ {
29
+ :'import_bundle' => :'Object'
30
+ }
31
+ end
32
+
33
+ # List of attributes with nullable: true
34
+ def self.openapi_nullable
35
+ Set.new([
36
+ ])
37
+ end
38
+
39
+ # Initializes the object
40
+ # @param [Hash] attributes Model attributes in the form of hash
41
+ def initialize(attributes = {})
42
+ if (!attributes.is_a?(Hash))
43
+ fail ArgumentError, "The input argument (attributes) must be a hash in `TurnkeyClient::InitImportPrivateKeyResult` initialize method"
44
+ end
45
+
46
+ # check to see if the attribute exists and convert string to symbol for hash key
47
+ attributes = attributes.each_with_object({}) { |(k, v), h|
48
+ if (!self.class.attribute_map.key?(k.to_sym))
49
+ fail ArgumentError, "`#{k}` is not a valid attribute in `TurnkeyClient::InitImportPrivateKeyResult`. Please check the name to make sure it's valid. List of attributes: " + self.class.attribute_map.keys.inspect
50
+ end
51
+ h[k.to_sym] = v
52
+ }
53
+
54
+ if attributes.key?(:'import_bundle')
55
+ self.import_bundle = attributes[:'import_bundle']
56
+ end
57
+ end
58
+
59
+ # Show invalid properties with the reasons. Usually used together with valid?
60
+ # @return Array for valid properties with the reasons
61
+ def list_invalid_properties
62
+ invalid_properties = Array.new
63
+ if @import_bundle.nil?
64
+ invalid_properties.push('invalid value for "import_bundle", import_bundle cannot be nil.')
65
+ end
66
+
67
+ invalid_properties
68
+ end
69
+
70
+ # Check to see if the all the properties in the model are valid
71
+ # @return true if the model is valid
72
+ def valid?
73
+ return false if @import_bundle.nil?
74
+ true
75
+ end
76
+
77
+ # Checks equality by comparing each attribute.
78
+ # @param [Object] Object to be compared
79
+ def ==(o)
80
+ return true if self.equal?(o)
81
+ self.class == o.class &&
82
+ import_bundle == o.import_bundle
83
+ end
84
+
85
+ # @see the `==` method
86
+ # @param [Object] Object to be compared
87
+ def eql?(o)
88
+ self == o
89
+ end
90
+
91
+ # Calculates hash code according to all attributes.
92
+ # @return [Integer] Hash code
93
+ def hash
94
+ [import_bundle].hash
95
+ end
96
+
97
+ # Builds the object from hash
98
+ # @param [Hash] attributes Model attributes in the form of hash
99
+ # @return [Object] Returns the model itself
100
+ def self.build_from_hash(attributes)
101
+ new.build_from_hash(attributes)
102
+ end
103
+
104
+ # Builds the object from hash
105
+ # @param [Hash] attributes Model attributes in the form of hash
106
+ # @return [Object] Returns the model itself
107
+ def build_from_hash(attributes)
108
+ return nil unless attributes.is_a?(Hash)
109
+ self.class.openapi_types.each_pair do |key, type|
110
+ if type =~ /\AArray<(.*)>/i
111
+ # check to ensure the input is an array given that the attribute
112
+ # is documented as an array but the input is not
113
+ if attributes[self.class.attribute_map[key]].is_a?(Array)
114
+ self.send("#{key}=", attributes[self.class.attribute_map[key]].map { |v| _deserialize($1, v) })
115
+ end
116
+ elsif !attributes[self.class.attribute_map[key]].nil?
117
+ self.send("#{key}=", _deserialize(type, attributes[self.class.attribute_map[key]]))
118
+ elsif attributes[self.class.attribute_map[key]].nil? && self.class.openapi_nullable.include?(key)
119
+ self.send("#{key}=", nil)
120
+ end
121
+ end
122
+
123
+ self
124
+ end
125
+
126
+ # Deserializes the data based on type
127
+ # @param string type Data type
128
+ # @param string value Value to be deserialized
129
+ # @return [Object] Deserialized data
130
+ def _deserialize(type, value)
131
+ case type.to_sym
132
+ when :DateTime
133
+ DateTime.parse(value)
134
+ when :Date
135
+ Date.parse(value)
136
+ when :String
137
+ value.to_s
138
+ when :Integer
139
+ value.to_i
140
+ when :Float
141
+ value.to_f
142
+ when :Boolean
143
+ if value.to_s =~ /\A(true|t|yes|y|1)\z/i
144
+ true
145
+ else
146
+ false
147
+ end
148
+ when :Object
149
+ # generic object (usually a Hash), return directly
150
+ value
151
+ when /\AArray<(?<inner_type>.+)>\z/
152
+ inner_type = Regexp.last_match[:inner_type]
153
+ value.map { |v| _deserialize(inner_type, v) }
154
+ when /\AHash<(?<k_type>.+?), (?<v_type>.+)>\z/
155
+ k_type = Regexp.last_match[:k_type]
156
+ v_type = Regexp.last_match[:v_type]
157
+ {}.tap do |hash|
158
+ value.each do |k, v|
159
+ hash[_deserialize(k_type, k)] = _deserialize(v_type, v)
160
+ end
161
+ end
162
+ else # model
163
+ TurnkeyClient.const_get(type).build_from_hash(value)
164
+ end
165
+ end
166
+
167
+ # Returns the string representation of the object
168
+ # @return [String] String presentation of the object
169
+ def to_s
170
+ to_hash.to_s
171
+ end
172
+
173
+ # to_body is an alias to to_hash (backward compatibility)
174
+ # @return [Hash] Returns the object in the form of hash
175
+ def to_body
176
+ to_hash
177
+ end
178
+
179
+ # Returns the object in the form of hash
180
+ # @return [Hash] Returns the object in the form of hash
181
+ def to_hash
182
+ hash = {}
183
+ self.class.attribute_map.each_pair do |attr, param|
184
+ value = self.send(attr)
185
+ if value.nil?
186
+ is_nullable = self.class.openapi_nullable.include?(attr)
187
+ next if !is_nullable || (is_nullable && !instance_variable_defined?(:"@#{attr}"))
188
+ end
189
+
190
+ hash[param] = _to_hash(value)
191
+ end
192
+ hash
193
+ end
194
+
195
+ # Outputs non-array value in the form of hash
196
+ # For object, use to_hash. Otherwise, just return the value
197
+ # @param [Object] value Any valid value
198
+ # @return [Hash] Returns the value in the form of hash
199
+ def _to_hash(value)
200
+ if value.is_a?(Array)
201
+ value.compact.map { |v| _to_hash(v) }
202
+ elsif value.is_a?(Hash)
203
+ {}.tap do |hash|
204
+ value.each { |k, v| hash[k] = _to_hash(v) }
205
+ end
206
+ elsif value.respond_to? :to_hash
207
+ value.to_hash
208
+ else
209
+ value
210
+ end
211
+ end end
212
+ end
@@ -6,7 +6,7 @@
6
6
  OpenAPI spec version: 1.0
7
7
 
8
8
  Generated by: https://github.com/swagger-api/swagger-codegen.git
9
- Swagger Codegen version: 3.0.53
9
+ Swagger Codegen version: 3.0.54
10
10
  =end
11
11
 
12
12
  require 'date'
@@ -6,7 +6,7 @@
6
6
  OpenAPI spec version: 1.0
7
7
 
8
8
  Generated by: https://github.com/swagger-api/swagger-codegen.git
9
- Swagger Codegen version: 3.0.53
9
+ Swagger Codegen version: 3.0.54
10
10
  =end
11
11
 
12
12
  require 'date'
@@ -6,7 +6,7 @@
6
6
  OpenAPI spec version: 1.0
7
7
 
8
8
  Generated by: https://github.com/swagger-api/swagger-codegen.git
9
- Swagger Codegen version: 3.0.53
9
+ Swagger Codegen version: 3.0.54
10
10
  =end
11
11
 
12
12
  require 'date'
@@ -6,7 +6,7 @@
6
6
  OpenAPI spec version: 1.0
7
7
 
8
8
  Generated by: https://github.com/swagger-api/swagger-codegen.git
9
- Swagger Codegen version: 3.0.53
9
+ Swagger Codegen version: 3.0.54
10
10
  =end
11
11
 
12
12
  require 'date'
@@ -22,12 +22,15 @@ module TurnkeyClient
22
22
  # Expiration window (in seconds) indicating how long the recovery credential is valid. If not provided, a default of 15 minutes will be used.
23
23
  attr_accessor :expiration_seconds
24
24
 
25
+ attr_accessor :email_customization
26
+
25
27
  # Attribute mapping from ruby-style variable name to JSON key.
26
28
  def self.attribute_map
27
29
  {
28
30
  :'email' => :'email',
29
31
  :'target_public_key' => :'targetPublicKey',
30
- :'expiration_seconds' => :'expirationSeconds'
32
+ :'expiration_seconds' => :'expirationSeconds',
33
+ :'email_customization' => :'emailCustomization'
31
34
  }
32
35
  end
33
36
 
@@ -36,7 +39,8 @@ module TurnkeyClient
36
39
  {
37
40
  :'email' => :'Object',
38
41
  :'target_public_key' => :'Object',
39
- :'expiration_seconds' => :'Object'
42
+ :'expiration_seconds' => :'Object',
43
+ :'email_customization' => :'Object'
40
44
  }
41
45
  end
42
46
 
@@ -72,6 +76,10 @@ module TurnkeyClient
72
76
  if attributes.key?(:'expiration_seconds')
73
77
  self.expiration_seconds = attributes[:'expiration_seconds']
74
78
  end
79
+
80
+ if attributes.key?(:'email_customization')
81
+ self.email_customization = attributes[:'email_customization']
82
+ end
75
83
  end
76
84
 
77
85
  # Show invalid properties with the reasons. Usually used together with valid?
@@ -104,7 +112,8 @@ module TurnkeyClient
104
112
  self.class == o.class &&
105
113
  email == o.email &&
106
114
  target_public_key == o.target_public_key &&
107
- expiration_seconds == o.expiration_seconds
115
+ expiration_seconds == o.expiration_seconds &&
116
+ email_customization == o.email_customization
108
117
  end
109
118
 
110
119
  # @see the `==` method
@@ -116,7 +125,7 @@ module TurnkeyClient
116
125
  # Calculates hash code according to all attributes.
117
126
  # @return [Integer] Hash code
118
127
  def hash
119
- [email, target_public_key, expiration_seconds].hash
128
+ [email, target_public_key, expiration_seconds, email_customization].hash
120
129
  end
121
130
 
122
131
  # Builds the object from hash
@@ -6,7 +6,7 @@
6
6
  OpenAPI spec version: 1.0
7
7
 
8
8
  Generated by: https://github.com/swagger-api/swagger-codegen.git
9
- Swagger Codegen version: 3.0.53
9
+ Swagger Codegen version: 3.0.54
10
10
  =end
11
11
 
12
12
  require 'date'
@@ -6,7 +6,7 @@
6
6
  OpenAPI spec version: 1.0
7
7
 
8
8
  Generated by: https://github.com/swagger-api/swagger-codegen.git
9
- Swagger Codegen version: 3.0.53
9
+ Swagger Codegen version: 3.0.54
10
10
  =end
11
11
 
12
12
  require 'date'
@@ -6,7 +6,7 @@
6
6
  OpenAPI spec version: 1.0
7
7
 
8
8
  Generated by: https://github.com/swagger-api/swagger-codegen.git
9
- Swagger Codegen version: 3.0.53
9
+ Swagger Codegen version: 3.0.54
10
10
  =end
11
11
 
12
12
  require 'date'
@@ -131,6 +131,10 @@ module TurnkeyClient
131
131
 
132
132
  attr_accessor :import_wallet_intent
133
133
 
134
+ attr_accessor :init_import_private_key_intent
135
+
136
+ attr_accessor :import_private_key_intent
137
+
134
138
  # Attribute mapping from ruby-style variable name to JSON key.
135
139
  def self.attribute_map
136
140
  {
@@ -192,7 +196,9 @@ module TurnkeyClient
192
196
  :'email_auth_intent' => :'emailAuthIntent',
193
197
  :'export_wallet_account_intent' => :'exportWalletAccountIntent',
194
198
  :'init_import_wallet_intent' => :'initImportWalletIntent',
195
- :'import_wallet_intent' => :'importWalletIntent'
199
+ :'import_wallet_intent' => :'importWalletIntent',
200
+ :'init_import_private_key_intent' => :'initImportPrivateKeyIntent',
201
+ :'import_private_key_intent' => :'importPrivateKeyIntent'
196
202
  }
197
203
  end
198
204
 
@@ -257,7 +263,9 @@ module TurnkeyClient
257
263
  :'email_auth_intent' => :'Object',
258
264
  :'export_wallet_account_intent' => :'Object',
259
265
  :'init_import_wallet_intent' => :'Object',
260
- :'import_wallet_intent' => :'Object'
266
+ :'import_wallet_intent' => :'Object',
267
+ :'init_import_private_key_intent' => :'Object',
268
+ :'import_private_key_intent' => :'Object'
261
269
  }
262
270
  end
263
271
 
@@ -517,6 +525,14 @@ module TurnkeyClient
517
525
  if attributes.key?(:'import_wallet_intent')
518
526
  self.import_wallet_intent = attributes[:'import_wallet_intent']
519
527
  end
528
+
529
+ if attributes.key?(:'init_import_private_key_intent')
530
+ self.init_import_private_key_intent = attributes[:'init_import_private_key_intent']
531
+ end
532
+
533
+ if attributes.key?(:'import_private_key_intent')
534
+ self.import_private_key_intent = attributes[:'import_private_key_intent']
535
+ end
520
536
  end
521
537
 
522
538
  # Show invalid properties with the reasons. Usually used together with valid?
@@ -600,7 +616,9 @@ module TurnkeyClient
600
616
  email_auth_intent == o.email_auth_intent &&
601
617
  export_wallet_account_intent == o.export_wallet_account_intent &&
602
618
  init_import_wallet_intent == o.init_import_wallet_intent &&
603
- import_wallet_intent == o.import_wallet_intent
619
+ import_wallet_intent == o.import_wallet_intent &&
620
+ init_import_private_key_intent == o.init_import_private_key_intent &&
621
+ import_private_key_intent == o.import_private_key_intent
604
622
  end
605
623
 
606
624
  # @see the `==` method
@@ -612,7 +630,7 @@ module TurnkeyClient
612
630
  # Calculates hash code according to all attributes.
613
631
  # @return [Integer] Hash code
614
632
  def hash
615
- [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].hash
633
+ [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].hash
616
634
  end
617
635
 
618
636
  # Builds the object from hash