turnkey_client 0.0.1 → 0.0.2

Sign up to get free protection for your applications and to get access to all the features.
Files changed (276) hide show
  1. checksums.yaml +4 -4
  2. data/lib/turnkey_client/api/activities_api.rb +6 -6
  3. data/lib/turnkey_client/api/api_keys_api.rb +12 -12
  4. data/lib/turnkey_client/api/authenticators_api.rb +12 -12
  5. data/lib/turnkey_client/api/consensus_api.rb +6 -6
  6. data/lib/turnkey_client/api/features_api.rb +6 -6
  7. data/lib/turnkey_client/api/invitations_api.rb +6 -6
  8. data/lib/turnkey_client/api/organizations_api.rb +6 -64
  9. data/lib/turnkey_client/api/policies_api.rb +15 -15
  10. data/lib/turnkey_client/api/private_key_tags_api.rb +67 -9
  11. data/lib/turnkey_client/api/private_keys_api.rb +12 -12
  12. data/lib/turnkey_client/api/sessions_api.rb +3 -3
  13. data/lib/turnkey_client/api/signing_api.rb +6 -6
  14. data/lib/turnkey_client/api/user_auth_api.rb +3 -3
  15. data/lib/turnkey_client/api/user_recovery_api.rb +6 -6
  16. data/lib/turnkey_client/api/user_tags_api.rb +67 -9
  17. data/lib/turnkey_client/api/users_api.rb +37 -37
  18. data/lib/turnkey_client/api/wallets_api.rb +137 -21
  19. data/lib/turnkey_client/models/{v1_accept_invitation_intent_v2.rb → accept_invitation_intent.rb} +3 -3
  20. data/lib/turnkey_client/models/{v1_accept_invitation_intent.rb → accept_invitation_intent_v2.rb} +3 -3
  21. data/lib/turnkey_client/models/{v1_accept_invitation_result.rb → accept_invitation_result.rb} +3 -3
  22. data/lib/turnkey_client/models/{v1_access_type.rb → access_type.rb} +3 -3
  23. data/lib/turnkey_client/models/{v1_activate_billing_tier_intent.rb → activate_billing_tier_intent.rb} +3 -3
  24. data/lib/turnkey_client/models/{v1_activate_billing_tier_result.rb → activate_billing_tier_result.rb} +3 -3
  25. data/lib/turnkey_client/models/{v1_activity.rb → activity.rb} +3 -3
  26. data/lib/turnkey_client/models/{v1_activity_response.rb → activity_response.rb} +3 -3
  27. data/lib/turnkey_client/models/{v1_activity_status.rb → activity_status.rb} +3 -3
  28. data/lib/turnkey_client/models/{v1_activity_type.rb → activity_type.rb} +5 -3
  29. data/lib/turnkey_client/models/{externaldatav1_address.rb → activity_v1_address.rb} +3 -3
  30. data/lib/turnkey_client/models/{v1_address_format.rb → address_format.rb} +4 -3
  31. data/lib/turnkey_client/models/{v1_api_key.rb → api_key.rb} +3 -3
  32. data/lib/turnkey_client/models/{v1_api_key_params.rb → api_key_params.rb} +3 -3
  33. data/lib/turnkey_client/models/{v1_api_only_user_params.rb → api_only_user_params.rb} +3 -3
  34. data/lib/turnkey_client/models/{v1_reject_activity_intent.rb → approve_activity_intent.rb} +3 -3
  35. data/lib/turnkey_client/models/{v1_create_api_keys_request.rb → approve_activity_request.rb} +5 -5
  36. data/lib/turnkey_client/models/{v1_attestation.rb → attestation.rb} +3 -3
  37. data/lib/turnkey_client/models/{v1_authenticator.rb → authenticator.rb} +3 -3
  38. data/lib/turnkey_client/models/{v1_authenticator_attestation_response.rb → authenticator_attestation_response.rb} +3 -3
  39. data/lib/turnkey_client/models/{v1_authenticator_params.rb → authenticator_params.rb} +3 -3
  40. data/lib/turnkey_client/models/{v1_authenticator_params_v2.rb → authenticator_params_v2.rb} +3 -3
  41. data/lib/turnkey_client/models/{v1_authenticator_transport.rb → authenticator_transport.rb} +3 -3
  42. data/lib/turnkey_client/models/{v1_create_api_keys_intent.rb → create_api_keys_intent.rb} +3 -3
  43. data/lib/turnkey_client/models/{v1_create_users_request.rb → create_api_keys_request.rb} +5 -5
  44. data/lib/turnkey_client/models/{v1_create_api_keys_result.rb → create_api_keys_result.rb} +3 -3
  45. data/lib/turnkey_client/models/{v1_create_api_only_users_intent.rb → create_api_only_users_intent.rb} +3 -3
  46. data/lib/turnkey_client/models/{v1_create_api_only_users_result.rb → create_api_only_users_result.rb} +3 -3
  47. data/lib/turnkey_client/models/{v1_create_authenticators_intent_v2.rb → create_authenticators_intent.rb} +3 -3
  48. data/lib/turnkey_client/models/{v1_create_authenticators_intent.rb → create_authenticators_intent_v2.rb} +3 -3
  49. data/lib/turnkey_client/models/{v1_create_authenticators_request.rb → create_authenticators_request.rb} +3 -3
  50. data/lib/turnkey_client/models/{v1_create_authenticators_result.rb → create_authenticators_result.rb} +3 -3
  51. data/lib/turnkey_client/models/{v1_create_invitations_intent.rb → create_invitations_intent.rb} +3 -3
  52. data/lib/turnkey_client/models/{v1_approve_activity_request.rb → create_invitations_request.rb} +5 -5
  53. data/lib/turnkey_client/models/{v1_create_invitations_result.rb → create_invitations_result.rb} +3 -3
  54. data/lib/turnkey_client/models/{v1_create_organization_intent_v2.rb → create_organization_intent.rb} +3 -3
  55. data/lib/turnkey_client/models/{v1_create_organization_intent.rb → create_organization_intent_v2.rb} +3 -3
  56. data/lib/turnkey_client/models/{v1_get_organization_request.rb → create_organization_result.rb} +3 -3
  57. data/lib/turnkey_client/models/{v1_create_policy_intent_v2.rb → create_policy_intent.rb} +3 -3
  58. data/lib/turnkey_client/models/{v1_create_policy_intent.rb → create_policy_intent_v2.rb} +3 -3
  59. data/lib/turnkey_client/models/{v1_create_policy_intent_v3.rb → create_policy_intent_v3.rb} +3 -3
  60. data/lib/turnkey_client/models/{v1_create_policy_request.rb → create_policy_request.rb} +3 -3
  61. data/lib/turnkey_client/models/{v1_delete_policy_intent.rb → create_policy_result.rb} +3 -3
  62. data/lib/turnkey_client/models/{v1_create_private_key_tag_intent.rb → create_private_key_tag_intent.rb} +3 -3
  63. data/lib/turnkey_client/models/{v1_create_private_keys_request.rb → create_private_key_tag_request.rb} +5 -5
  64. data/lib/turnkey_client/models/{v1_create_private_key_tag_result.rb → create_private_key_tag_result.rb} +3 -3
  65. data/lib/turnkey_client/models/{v1_get_private_keys_response.rb → create_private_keys_intent.rb} +3 -3
  66. data/lib/turnkey_client/models/{v1_create_private_keys_intent.rb → create_private_keys_intent_v2.rb} +3 -3
  67. data/lib/turnkey_client/models/{v1_sign_transaction_request.rb → create_private_keys_request.rb} +5 -5
  68. data/lib/turnkey_client/models/{v1_create_private_keys_result.rb → create_private_keys_result.rb} +3 -3
  69. data/lib/turnkey_client/models/{v1_create_private_keys_result_v2.rb → create_private_keys_result_v2.rb} +3 -3
  70. data/lib/turnkey_client/models/{v1_create_sub_organization_intent.rb → create_sub_organization_intent.rb} +3 -3
  71. data/lib/turnkey_client/models/{v1_create_sub_organization_intent_v2.rb → create_sub_organization_intent_v2.rb} +3 -3
  72. data/lib/turnkey_client/models/{v1_create_sub_organization_intent_v3.rb → create_sub_organization_intent_v3.rb} +3 -3
  73. data/lib/turnkey_client/models/{v1_create_sub_organization_intent_v4.rb → create_sub_organization_intent_v4.rb} +3 -3
  74. data/lib/turnkey_client/models/{v1_export_wallet_account_request.rb → create_sub_organization_request.rb} +5 -5
  75. data/lib/turnkey_client/models/{v1_create_sub_organization_result.rb → create_sub_organization_result.rb} +3 -3
  76. data/lib/turnkey_client/models/{v1_create_sub_organization_result_v3.rb → create_sub_organization_result_v3.rb} +3 -3
  77. data/lib/turnkey_client/models/{v1_create_sub_organization_result_v4.rb → create_sub_organization_result_v4.rb} +3 -3
  78. data/lib/turnkey_client/models/{v1_create_user_tag_intent.rb → create_user_tag_intent.rb} +3 -3
  79. data/lib/turnkey_client/models/{v1_recover_user_request.rb → create_user_tag_request.rb} +5 -5
  80. data/lib/turnkey_client/models/{v1_create_user_tag_result.rb → create_user_tag_result.rb} +3 -3
  81. data/lib/turnkey_client/models/{v1_get_users_response.rb → create_users_intent.rb} +3 -3
  82. data/lib/turnkey_client/models/{v1_create_users_intent.rb → create_users_intent_v2.rb} +3 -3
  83. data/lib/turnkey_client/models/create_users_request.rb +289 -0
  84. data/lib/turnkey_client/models/{v1_delete_users_intent.rb → create_users_result.rb} +3 -3
  85. data/lib/turnkey_client/models/{v1_create_wallet_accounts_intent.rb → create_wallet_accounts_intent.rb} +3 -3
  86. data/lib/turnkey_client/models/create_wallet_accounts_request.rb +289 -0
  87. data/lib/turnkey_client/models/{v1_create_wallet_accounts_result.rb → create_wallet_accounts_result.rb} +3 -3
  88. data/lib/turnkey_client/models/{v1_create_wallet_intent.rb → create_wallet_intent.rb} +3 -3
  89. data/lib/turnkey_client/models/{v1_update_user_request.rb → create_wallet_request.rb} +5 -5
  90. data/lib/turnkey_client/models/{v1_create_wallet_result.rb → create_wallet_result.rb} +4 -4
  91. data/lib/turnkey_client/models/{v1_cred_props_authentication_extensions_client_outputs.rb → cred_props_authentication_extensions_client_outputs.rb} +3 -3
  92. data/lib/turnkey_client/models/{v1_credential_type.rb → credential_type.rb} +3 -3
  93. data/lib/turnkey_client/models/{v1_curve.rb → curve.rb} +3 -3
  94. data/lib/turnkey_client/models/{immutableactivityv1_address.rb → data_v1_address.rb} +3 -3
  95. data/lib/turnkey_client/models/{v1_delete_api_keys_intent.rb → delete_api_keys_intent.rb} +3 -3
  96. data/lib/turnkey_client/models/{v1_delete_api_keys_request.rb → delete_api_keys_request.rb} +3 -3
  97. data/lib/turnkey_client/models/{v1_delete_api_keys_result.rb → delete_api_keys_result.rb} +3 -3
  98. data/lib/turnkey_client/models/{v1_delete_authenticators_intent.rb → delete_authenticators_intent.rb} +3 -3
  99. data/lib/turnkey_client/models/{v1_create_api_only_users_request.rb → delete_authenticators_request.rb} +5 -5
  100. data/lib/turnkey_client/models/{v1_delete_authenticators_result.rb → delete_authenticators_result.rb} +3 -3
  101. data/lib/turnkey_client/models/{v1_delete_invitation_intent.rb → delete_invitation_intent.rb} +3 -3
  102. data/lib/turnkey_client/models/{v1_reject_activity_request.rb → delete_invitation_request.rb} +5 -5
  103. data/lib/turnkey_client/models/{v1_delete_invitation_result.rb → delete_invitation_result.rb} +3 -3
  104. data/lib/turnkey_client/models/{v1_get_private_keys_request.rb → delete_organization_intent.rb} +3 -3
  105. data/lib/turnkey_client/models/delete_organization_result.rb +212 -0
  106. data/lib/turnkey_client/models/{v1_delete_payment_method_intent.rb → delete_payment_method_intent.rb} +3 -3
  107. data/lib/turnkey_client/models/{v1_delete_payment_method_result.rb → delete_payment_method_result.rb} +3 -3
  108. data/lib/turnkey_client/models/{v1_update_policy_result.rb → delete_policy_intent.rb} +3 -3
  109. data/lib/turnkey_client/models/delete_policy_request.rb +289 -0
  110. data/lib/turnkey_client/models/{v1_delete_policy_result.rb → delete_policy_result.rb} +3 -3
  111. data/lib/turnkey_client/models/{v1_delete_private_key_tags_intent.rb → delete_private_key_tags_intent.rb} +3 -3
  112. data/lib/turnkey_client/models/delete_private_key_tags_request.rb +289 -0
  113. data/lib/turnkey_client/models/{v1_delete_private_key_tags_result.rb → delete_private_key_tags_result.rb} +3 -3
  114. data/lib/turnkey_client/models/{v1_delete_user_tags_intent.rb → delete_user_tags_intent.rb} +3 -3
  115. data/lib/turnkey_client/models/{v1_export_wallet_request.rb → delete_user_tags_request.rb} +5 -5
  116. data/lib/turnkey_client/models/{v1_delete_user_tags_result.rb → delete_user_tags_result.rb} +3 -3
  117. data/lib/turnkey_client/models/{v1_delete_users_result.rb → delete_users_intent.rb} +3 -3
  118. data/lib/turnkey_client/models/{v1_email_auth_request.rb → delete_users_request.rb} +5 -5
  119. data/lib/turnkey_client/models/{v1_create_users_result.rb → delete_users_result.rb} +3 -3
  120. data/lib/turnkey_client/models/{v1_disable_private_key_intent.rb → disable_private_key_intent.rb} +3 -3
  121. data/lib/turnkey_client/models/{v1_disable_private_key_result.rb → disable_private_key_result.rb} +3 -3
  122. data/lib/turnkey_client/models/{v1_effect.rb → effect.rb} +3 -3
  123. data/lib/turnkey_client/models/{v1_email_auth_intent.rb → email_auth_intent.rb} +3 -3
  124. data/lib/turnkey_client/models/email_auth_request.rb +289 -0
  125. data/lib/turnkey_client/models/{v1_email_auth_result.rb → email_auth_result.rb} +3 -3
  126. data/lib/turnkey_client/models/email_customization_params.rb +247 -0
  127. data/lib/turnkey_client/models/{v1_export_private_key_intent.rb → export_private_key_intent.rb} +3 -3
  128. data/lib/turnkey_client/models/{v1_sign_raw_payload_request.rb → export_private_key_request.rb} +5 -5
  129. data/lib/turnkey_client/models/{v1_export_private_key_result.rb → export_private_key_result.rb} +3 -3
  130. data/lib/turnkey_client/models/{v1_export_wallet_account_intent.rb → export_wallet_account_intent.rb} +3 -3
  131. data/lib/turnkey_client/models/{v1_create_invitations_request.rb → export_wallet_account_request.rb} +5 -5
  132. data/lib/turnkey_client/models/{v1_export_wallet_account_result.rb → export_wallet_account_result.rb} +3 -3
  133. data/lib/turnkey_client/models/{v1_export_wallet_intent.rb → export_wallet_intent.rb} +3 -3
  134. data/lib/turnkey_client/models/export_wallet_request.rb +289 -0
  135. data/lib/turnkey_client/models/{v1_export_wallet_result.rb → export_wallet_result.rb} +3 -3
  136. data/lib/turnkey_client/models/{externaldatav1_credential.rb → external_data_v1_credential.rb} +3 -3
  137. data/lib/turnkey_client/models/{externaldatav1_timestamp.rb → external_data_v1_timestamp.rb} +3 -3
  138. data/lib/turnkey_client/models/{v1_feature.rb → feature.rb} +3 -3
  139. data/lib/turnkey_client/models/{v1_feature_name.rb → feature_name.rb} +3 -3
  140. data/lib/turnkey_client/models/{v1_get_activities_request.rb → get_activities_request.rb} +3 -3
  141. data/lib/turnkey_client/models/{v1_get_activities_response.rb → get_activities_response.rb} +3 -3
  142. data/lib/turnkey_client/models/{v1_get_activity_request.rb → get_activity_request.rb} +3 -3
  143. data/lib/turnkey_client/models/{v1_get_api_key_request.rb → get_api_key_request.rb} +3 -3
  144. data/lib/turnkey_client/models/{v1_get_api_key_response.rb → get_api_key_response.rb} +3 -3
  145. data/lib/turnkey_client/models/{v1_get_api_keys_request.rb → get_api_keys_request.rb} +3 -3
  146. data/lib/turnkey_client/models/{v1_get_api_keys_response.rb → get_api_keys_response.rb} +3 -3
  147. data/lib/turnkey_client/models/{v1_get_authenticator_request.rb → get_authenticator_request.rb} +3 -3
  148. data/lib/turnkey_client/models/{v1_get_authenticator_response.rb → get_authenticator_response.rb} +3 -3
  149. data/lib/turnkey_client/models/{v1_get_authenticators_request.rb → get_authenticators_request.rb} +3 -3
  150. data/lib/turnkey_client/models/{v1_get_authenticators_response.rb → get_authenticators_response.rb} +3 -3
  151. data/lib/turnkey_client/models/{v1_get_policies_request.rb → get_policies_request.rb} +3 -3
  152. data/lib/turnkey_client/models/{v1_get_policies_response.rb → get_policies_response.rb} +3 -3
  153. data/lib/turnkey_client/models/{v1_get_policy_request.rb → get_policy_request.rb} +3 -3
  154. data/lib/turnkey_client/models/{v1_get_policy_response.rb → get_policy_response.rb} +3 -3
  155. data/lib/turnkey_client/models/{v1_get_private_key_request.rb → get_private_key_request.rb} +3 -3
  156. data/lib/turnkey_client/models/{v1_get_private_key_response.rb → get_private_key_response.rb} +3 -3
  157. data/lib/turnkey_client/models/{v1_list_user_tags_request.rb → get_private_keys_request.rb} +3 -3
  158. data/lib/turnkey_client/models/{v1_create_private_keys_intent_v2.rb → get_private_keys_response.rb} +3 -3
  159. data/lib/turnkey_client/models/{v1_get_user_request.rb → get_user_request.rb} +3 -3
  160. data/lib/turnkey_client/models/{v1_get_user_response.rb → get_user_response.rb} +3 -3
  161. data/lib/turnkey_client/models/get_users_request.rb +212 -0
  162. data/lib/turnkey_client/models/{v1_create_users_intent_v2.rb → get_users_response.rb} +3 -3
  163. data/lib/turnkey_client/models/{v1_get_wallet_accounts_request.rb → get_wallet_accounts_request.rb} +3 -3
  164. data/lib/turnkey_client/models/{v1_get_wallet_accounts_response.rb → get_wallet_accounts_response.rb} +3 -3
  165. data/lib/turnkey_client/models/{v1_get_wallet_request.rb → get_wallet_request.rb} +3 -3
  166. data/lib/turnkey_client/models/{v1_get_wallet_response.rb → get_wallet_response.rb} +3 -3
  167. data/lib/turnkey_client/models/{v1_get_users_request.rb → get_wallets_request.rb} +3 -3
  168. data/lib/turnkey_client/models/{v1_get_wallets_response.rb → get_wallets_response.rb} +3 -3
  169. data/lib/turnkey_client/models/{v1_get_whoami_request.rb → get_whoami_request.rb} +3 -3
  170. data/lib/turnkey_client/models/{v1_get_whoami_response.rb → get_whoami_response.rb} +3 -3
  171. data/lib/turnkey_client/models/{v1_hash_function.rb → hash_function.rb} +3 -3
  172. data/lib/turnkey_client/models/import_wallet_intent.rb +259 -0
  173. data/lib/turnkey_client/models/import_wallet_request.rb +289 -0
  174. data/lib/turnkey_client/models/import_wallet_result.rb +229 -0
  175. data/lib/turnkey_client/models/init_import_wallet_intent.rb +212 -0
  176. data/lib/turnkey_client/models/init_import_wallet_request.rb +289 -0
  177. data/lib/turnkey_client/models/init_import_wallet_result.rb +212 -0
  178. data/lib/turnkey_client/models/{v1_init_user_email_recovery_intent.rb → init_user_email_recovery_intent.rb} +3 -3
  179. data/lib/turnkey_client/models/{v1_create_private_key_tag_request.rb → init_user_email_recovery_request.rb} +5 -5
  180. data/lib/turnkey_client/models/{v1_init_user_email_recovery_result.rb → init_user_email_recovery_result.rb} +3 -3
  181. data/lib/turnkey_client/models/{v1_intent.rb → intent.rb} +25 -7
  182. data/lib/turnkey_client/models/{v1_invitation_params.rb → invitation_params.rb} +3 -3
  183. data/lib/turnkey_client/models/list_private_key_tags_request.rb +212 -0
  184. data/lib/turnkey_client/models/{v1_list_private_key_tags_response.rb → list_private_key_tags_response.rb} +3 -3
  185. data/lib/turnkey_client/models/{v1_get_wallets_request.rb → list_user_tags_request.rb} +3 -3
  186. data/lib/turnkey_client/models/{v1_list_user_tags_response.rb → list_user_tags_response.rb} +3 -3
  187. data/lib/turnkey_client/models/{v1_mnemonic_language.rb → mnemonic_language.rb} +3 -3
  188. data/lib/turnkey_client/models/{v1_operator.rb → operator.rb} +3 -3
  189. data/lib/turnkey_client/models/{v1_pagination.rb → pagination.rb} +3 -3
  190. data/lib/turnkey_client/models/{v1_path_format.rb → path_format.rb} +3 -3
  191. data/lib/turnkey_client/models/{v1_payload_encoding.rb → payload_encoding.rb} +3 -3
  192. data/lib/turnkey_client/models/{v1_policy.rb → policy.rb} +3 -3
  193. data/lib/turnkey_client/models/{v1_private_key.rb → private_key.rb} +3 -3
  194. data/lib/turnkey_client/models/{v1_private_key_params.rb → private_key_params.rb} +3 -3
  195. data/lib/turnkey_client/models/{v1_private_key_result.rb → private_key_result.rb} +3 -3
  196. data/lib/turnkey_client/models/{v1_public_key_credential_with_attestation.rb → public_key_credential_with_attestation.rb} +3 -3
  197. data/lib/turnkey_client/models/{v1_recover_user_intent.rb → recover_user_intent.rb} +3 -3
  198. data/lib/turnkey_client/models/recover_user_request.rb +289 -0
  199. data/lib/turnkey_client/models/{v1_recover_user_result.rb → recover_user_result.rb} +3 -3
  200. data/lib/turnkey_client/models/{v1_approve_activity_intent.rb → reject_activity_intent.rb} +3 -3
  201. data/lib/turnkey_client/models/{v1_create_wallet_request.rb → reject_activity_request.rb} +5 -5
  202. data/lib/turnkey_client/models/{v1_remove_organization_feature_intent.rb → remove_organization_feature_intent.rb} +3 -3
  203. data/lib/turnkey_client/models/{v1_remove_organization_feature_request.rb → remove_organization_feature_request.rb} +3 -3
  204. data/lib/turnkey_client/models/{v1_remove_organization_feature_result.rb → remove_organization_feature_result.rb} +3 -3
  205. data/lib/turnkey_client/models/{v1_result.rb → result.rb} +25 -7
  206. data/lib/turnkey_client/models/{v1_root_user_params.rb → root_user_params.rb} +3 -3
  207. data/lib/turnkey_client/models/{v1_selector.rb → selector.rb} +3 -3
  208. data/lib/turnkey_client/models/{v1_selector_v2.rb → selector_v2.rb} +3 -3
  209. data/lib/turnkey_client/models/{v1_set_organization_feature_intent.rb → set_organization_feature_intent.rb} +3 -3
  210. data/lib/turnkey_client/models/{v1_create_wallet_accounts_request.rb → set_organization_feature_request.rb} +5 -5
  211. data/lib/turnkey_client/models/{v1_set_organization_feature_result.rb → set_organization_feature_result.rb} +3 -3
  212. data/lib/turnkey_client/models/{v1_set_payment_method_intent.rb → set_payment_method_intent.rb} +3 -3
  213. data/lib/turnkey_client/models/{v1_set_payment_method_intent_v2.rb → set_payment_method_intent_v2.rb} +3 -3
  214. data/lib/turnkey_client/models/{v1_set_payment_method_result.rb → set_payment_method_result.rb} +3 -3
  215. data/lib/turnkey_client/models/{v1_sign_raw_payload_intent.rb → sign_raw_payload_intent.rb} +3 -3
  216. data/lib/turnkey_client/models/{v1_sign_raw_payload_intent_v2.rb → sign_raw_payload_intent_v2.rb} +3 -3
  217. data/lib/turnkey_client/models/{v1_delete_policy_request.rb → sign_raw_payload_request.rb} +5 -5
  218. data/lib/turnkey_client/models/{v1_sign_raw_payload_result.rb → sign_raw_payload_result.rb} +3 -3
  219. data/lib/turnkey_client/models/{v1_sign_transaction_intent.rb → sign_transaction_intent.rb} +3 -3
  220. data/lib/turnkey_client/models/{v1_sign_transaction_intent_v2.rb → sign_transaction_intent_v2.rb} +3 -3
  221. data/lib/turnkey_client/models/{v1_create_user_tag_request.rb → sign_transaction_request.rb} +5 -5
  222. data/lib/turnkey_client/models/{v1_sign_transaction_result.rb → sign_transaction_result.rb} +3 -3
  223. data/lib/turnkey_client/models/{v1_simple_client_extension_results.rb → simple_client_extension_results.rb} +3 -3
  224. data/lib/turnkey_client/models/{v1_tag_type.rb → tag_type.rb} +3 -3
  225. data/lib/turnkey_client/models/{v1_transaction_type.rb → transaction_type.rb} +3 -3
  226. data/lib/turnkey_client/models/{v1_update_allowed_origins_intent.rb → update_allowed_origins_intent.rb} +3 -3
  227. data/lib/turnkey_client/models/{v1_update_allowed_origins_result.rb → update_allowed_origins_result.rb} +3 -3
  228. data/lib/turnkey_client/models/{v1_update_policy_intent.rb → update_policy_intent.rb} +3 -3
  229. data/lib/turnkey_client/models/{v1_update_policy_request.rb → update_policy_request.rb} +3 -3
  230. data/lib/turnkey_client/models/{v1_create_policy_result.rb → update_policy_result.rb} +3 -3
  231. data/lib/turnkey_client/models/{v1_update_private_key_tag_intent.rb → update_private_key_tag_intent.rb} +3 -3
  232. data/lib/turnkey_client/models/{v1_update_private_key_tag_request.rb → update_private_key_tag_request.rb} +3 -3
  233. data/lib/turnkey_client/models/{v1_update_private_key_tag_result.rb → update_private_key_tag_result.rb} +3 -3
  234. data/lib/turnkey_client/models/{v1_update_root_quorum_intent.rb → update_root_quorum_intent.rb} +3 -3
  235. data/lib/turnkey_client/models/{v1_update_root_quorum_request.rb → update_root_quorum_request.rb} +3 -3
  236. data/lib/turnkey_client/models/{v1_update_root_quorum_result.rb → update_root_quorum_result.rb} +3 -3
  237. data/lib/turnkey_client/models/{v1_update_user_intent.rb → update_user_intent.rb} +3 -3
  238. data/lib/turnkey_client/models/update_user_request.rb +289 -0
  239. data/lib/turnkey_client/models/{v1_update_user_result.rb → update_user_result.rb} +3 -3
  240. data/lib/turnkey_client/models/{v1_update_user_tag_intent.rb → update_user_tag_intent.rb} +3 -3
  241. data/lib/turnkey_client/models/{v1_update_user_tag_request.rb → update_user_tag_request.rb} +3 -3
  242. data/lib/turnkey_client/models/{v1_update_user_tag_result.rb → update_user_tag_result.rb} +3 -3
  243. data/lib/turnkey_client/models/{v1_user.rb → user.rb} +3 -3
  244. data/lib/turnkey_client/models/{v1_user_params.rb → user_params.rb} +3 -3
  245. data/lib/turnkey_client/models/{v1_user_params_v2.rb → user_params_v2.rb} +3 -3
  246. data/lib/turnkey_client/models/{datav1_tag.rb → v1_tag.rb} +3 -3
  247. data/lib/turnkey_client/models/{v1_vote.rb → vote.rb} +3 -3
  248. data/lib/turnkey_client/models/{v1_wallet.rb → wallet.rb} +22 -7
  249. data/lib/turnkey_client/models/{v1_wallet_account.rb → wallet_account.rb} +3 -3
  250. data/lib/turnkey_client/models/{v1_wallet_account_params.rb → wallet_account_params.rb} +3 -3
  251. data/lib/turnkey_client/models/{v1_wallet_params.rb → wallet_params.rb} +3 -3
  252. data/lib/turnkey_client/models/{v1_wallet_result.rb → wallet_result.rb} +3 -3
  253. data/lib/turnkey_client/version.rb +1 -1
  254. data/lib/turnkey_client.rb +234 -237
  255. metadata +236 -239
  256. data/lib/turnkey_client/api/public_api_service_api.rb +0 -66
  257. data/lib/turnkey_client/models/externaldatav1_quorum.rb +0 -229
  258. data/lib/turnkey_client/models/protobuf_any.rb +0 -201
  259. data/lib/turnkey_client/models/rpc_status.rb +0 -226
  260. data/lib/turnkey_client/models/v1_create_organization_result.rb +0 -212
  261. data/lib/turnkey_client/models/v1_create_sub_organization_request.rb +0 -289
  262. data/lib/turnkey_client/models/v1_delete_authenticators_request.rb +0 -289
  263. data/lib/turnkey_client/models/v1_delete_invitation_request.rb +0 -289
  264. data/lib/turnkey_client/models/v1_delete_organization_intent.rb +0 -212
  265. data/lib/turnkey_client/models/v1_delete_organization_result.rb +0 -212
  266. data/lib/turnkey_client/models/v1_email_customization.rb +0 -233
  267. data/lib/turnkey_client/models/v1_export_private_key_request.rb +0 -289
  268. data/lib/turnkey_client/models/v1_get_organization_response.rb +0 -211
  269. data/lib/turnkey_client/models/v1_init_user_email_recovery_request.rb +0 -289
  270. data/lib/turnkey_client/models/v1_invitation.rb +0 -330
  271. data/lib/turnkey_client/models/v1_invitation_status.rb +0 -29
  272. data/lib/turnkey_client/models/v1_list_private_key_tags_request.rb +0 -212
  273. data/lib/turnkey_client/models/v1_noop_codegen_anchor_response.rb +0 -211
  274. data/lib/turnkey_client/models/v1_organization_data.rb +0 -301
  275. data/lib/turnkey_client/models/v1_set_organization_feature_request.rb +0 -289
  276. data/lib/turnkey_client/models/v1_web_authn_stamp.rb +0 -257
@@ -1,257 +0,0 @@
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.53
10
- =end
11
-
12
- require 'date'
13
-
14
- module TurnkeyClient
15
- class V1WebAuthnStamp
16
- # A base64 url encoded Unique identifier for a given credential.
17
- attr_accessor :credential_id
18
-
19
- # A base64 encoded payload containing metadata about the signing context and the challenge.
20
- attr_accessor :client_data_json
21
-
22
- # A base64 encoded payload containing metadata about the authenticator.
23
- attr_accessor :authenticator_data
24
-
25
- # The base64 url encoded signature bytes contained within the WebAuthn assertion response.
26
- attr_accessor :signature
27
-
28
- # Attribute mapping from ruby-style variable name to JSON key.
29
- def self.attribute_map
30
- {
31
- :'credential_id' => :'credentialId',
32
- :'client_data_json' => :'clientDataJson',
33
- :'authenticator_data' => :'authenticatorData',
34
- :'signature' => :'signature'
35
- }
36
- end
37
-
38
- # Attribute type mapping.
39
- def self.openapi_types
40
- {
41
- :'credential_id' => :'Object',
42
- :'client_data_json' => :'Object',
43
- :'authenticator_data' => :'Object',
44
- :'signature' => :'Object'
45
- }
46
- end
47
-
48
- # List of attributes with nullable: true
49
- def self.openapi_nullable
50
- Set.new([
51
- ])
52
- end
53
-
54
- # Initializes the object
55
- # @param [Hash] attributes Model attributes in the form of hash
56
- def initialize(attributes = {})
57
- if (!attributes.is_a?(Hash))
58
- fail ArgumentError, "The input argument (attributes) must be a hash in `TurnkeyClient::V1WebAuthnStamp` initialize method"
59
- end
60
-
61
- # check to see if the attribute exists and convert string to symbol for hash key
62
- attributes = attributes.each_with_object({}) { |(k, v), h|
63
- if (!self.class.attribute_map.key?(k.to_sym))
64
- fail ArgumentError, "`#{k}` is not a valid attribute in `TurnkeyClient::V1WebAuthnStamp`. Please check the name to make sure it's valid. List of attributes: " + self.class.attribute_map.keys.inspect
65
- end
66
- h[k.to_sym] = v
67
- }
68
-
69
- if attributes.key?(:'credential_id')
70
- self.credential_id = attributes[:'credential_id']
71
- end
72
-
73
- if attributes.key?(:'client_data_json')
74
- self.client_data_json = attributes[:'client_data_json']
75
- end
76
-
77
- if attributes.key?(:'authenticator_data')
78
- self.authenticator_data = attributes[:'authenticator_data']
79
- end
80
-
81
- if attributes.key?(:'signature')
82
- self.signature = attributes[:'signature']
83
- end
84
- end
85
-
86
- # Show invalid properties with the reasons. Usually used together with valid?
87
- # @return Array for valid properties with the reasons
88
- def list_invalid_properties
89
- invalid_properties = Array.new
90
- if @credential_id.nil?
91
- invalid_properties.push('invalid value for "credential_id", credential_id cannot be nil.')
92
- end
93
-
94
- if @client_data_json.nil?
95
- invalid_properties.push('invalid value for "client_data_json", client_data_json cannot be nil.')
96
- end
97
-
98
- if @authenticator_data.nil?
99
- invalid_properties.push('invalid value for "authenticator_data", authenticator_data cannot be nil.')
100
- end
101
-
102
- if @signature.nil?
103
- invalid_properties.push('invalid value for "signature", signature cannot be nil.')
104
- end
105
-
106
- invalid_properties
107
- end
108
-
109
- # Check to see if the all the properties in the model are valid
110
- # @return true if the model is valid
111
- def valid?
112
- return false if @credential_id.nil?
113
- return false if @client_data_json.nil?
114
- return false if @authenticator_data.nil?
115
- return false if @signature.nil?
116
- true
117
- end
118
-
119
- # Checks equality by comparing each attribute.
120
- # @param [Object] Object to be compared
121
- def ==(o)
122
- return true if self.equal?(o)
123
- self.class == o.class &&
124
- credential_id == o.credential_id &&
125
- client_data_json == o.client_data_json &&
126
- authenticator_data == o.authenticator_data &&
127
- signature == o.signature
128
- end
129
-
130
- # @see the `==` method
131
- # @param [Object] Object to be compared
132
- def eql?(o)
133
- self == o
134
- end
135
-
136
- # Calculates hash code according to all attributes.
137
- # @return [Integer] Hash code
138
- def hash
139
- [credential_id, client_data_json, authenticator_data, signature].hash
140
- end
141
-
142
- # Builds the object from hash
143
- # @param [Hash] attributes Model attributes in the form of hash
144
- # @return [Object] Returns the model itself
145
- def self.build_from_hash(attributes)
146
- new.build_from_hash(attributes)
147
- end
148
-
149
- # Builds the object from hash
150
- # @param [Hash] attributes Model attributes in the form of hash
151
- # @return [Object] Returns the model itself
152
- def build_from_hash(attributes)
153
- return nil unless attributes.is_a?(Hash)
154
- self.class.openapi_types.each_pair do |key, type|
155
- if type =~ /\AArray<(.*)>/i
156
- # check to ensure the input is an array given that the attribute
157
- # is documented as an array but the input is not
158
- if attributes[self.class.attribute_map[key]].is_a?(Array)
159
- self.send("#{key}=", attributes[self.class.attribute_map[key]].map { |v| _deserialize($1, v) })
160
- end
161
- elsif !attributes[self.class.attribute_map[key]].nil?
162
- self.send("#{key}=", _deserialize(type, attributes[self.class.attribute_map[key]]))
163
- elsif attributes[self.class.attribute_map[key]].nil? && self.class.openapi_nullable.include?(key)
164
- self.send("#{key}=", nil)
165
- end
166
- end
167
-
168
- self
169
- end
170
-
171
- # Deserializes the data based on type
172
- # @param string type Data type
173
- # @param string value Value to be deserialized
174
- # @return [Object] Deserialized data
175
- def _deserialize(type, value)
176
- case type.to_sym
177
- when :DateTime
178
- DateTime.parse(value)
179
- when :Date
180
- Date.parse(value)
181
- when :String
182
- value.to_s
183
- when :Integer
184
- value.to_i
185
- when :Float
186
- value.to_f
187
- when :Boolean
188
- if value.to_s =~ /\A(true|t|yes|y|1)\z/i
189
- true
190
- else
191
- false
192
- end
193
- when :Object
194
- # generic object (usually a Hash), return directly
195
- value
196
- when /\AArray<(?<inner_type>.+)>\z/
197
- inner_type = Regexp.last_match[:inner_type]
198
- value.map { |v| _deserialize(inner_type, v) }
199
- when /\AHash<(?<k_type>.+?), (?<v_type>.+)>\z/
200
- k_type = Regexp.last_match[:k_type]
201
- v_type = Regexp.last_match[:v_type]
202
- {}.tap do |hash|
203
- value.each do |k, v|
204
- hash[_deserialize(k_type, k)] = _deserialize(v_type, v)
205
- end
206
- end
207
- else # model
208
- TurnkeyClient.const_get(type).build_from_hash(value)
209
- end
210
- end
211
-
212
- # Returns the string representation of the object
213
- # @return [String] String presentation of the object
214
- def to_s
215
- to_hash.to_s
216
- end
217
-
218
- # to_body is an alias to to_hash (backward compatibility)
219
- # @return [Hash] Returns the object in the form of hash
220
- def to_body
221
- to_hash
222
- end
223
-
224
- # Returns the object in the form of hash
225
- # @return [Hash] Returns the object in the form of hash
226
- def to_hash
227
- hash = {}
228
- self.class.attribute_map.each_pair do |attr, param|
229
- value = self.send(attr)
230
- if value.nil?
231
- is_nullable = self.class.openapi_nullable.include?(attr)
232
- next if !is_nullable || (is_nullable && !instance_variable_defined?(:"@#{attr}"))
233
- end
234
-
235
- hash[param] = _to_hash(value)
236
- end
237
- hash
238
- end
239
-
240
- # Outputs non-array value in the form of hash
241
- # For object, use to_hash. Otherwise, just return the value
242
- # @param [Object] value Any valid value
243
- # @return [Hash] Returns the value in the form of hash
244
- def _to_hash(value)
245
- if value.is_a?(Array)
246
- value.compact.map { |v| _to_hash(v) }
247
- elsif value.is_a?(Hash)
248
- {}.tap do |hash|
249
- value.each { |k, v| hash[k] = _to_hash(v) }
250
- end
251
- elsif value.respond_to? :to_hash
252
- value.to_hash
253
- else
254
- value
255
- end
256
- end end
257
- end