turnkey_client 0.0.2 → 0.0.4

Sign up to get free protection for your applications and to get access to all the features.
Files changed (269) hide show
  1. checksums.yaml +4 -4
  2. data/lib/turnkey_client/api/activities_api.rb +0 -1
  3. data/lib/turnkey_client/api/api_keys_api.rb +0 -1
  4. data/lib/turnkey_client/api/authenticators_api.rb +0 -1
  5. data/lib/turnkey_client/api/consensus_api.rb +0 -1
  6. data/lib/turnkey_client/api/features_api.rb +0 -1
  7. data/lib/turnkey_client/api/invitations_api.rb +0 -1
  8. data/lib/turnkey_client/api/organizations_api.rb +58 -1
  9. data/lib/turnkey_client/api/policies_api.rb +0 -1
  10. data/lib/turnkey_client/api/private_key_tags_api.rb +0 -1
  11. data/lib/turnkey_client/api/private_keys_api.rb +116 -1
  12. data/lib/turnkey_client/api/sessions_api.rb +2 -3
  13. data/lib/turnkey_client/api/signing_api.rb +0 -1
  14. data/lib/turnkey_client/api/user_auth_api.rb +0 -1
  15. data/lib/turnkey_client/api/user_recovery_api.rb +0 -1
  16. data/lib/turnkey_client/api/user_tags_api.rb +0 -1
  17. data/lib/turnkey_client/api/users_api.rb +0 -1
  18. data/lib/turnkey_client/api/wallets_api.rb +0 -1
  19. data/lib/turnkey_client/api_client.rb +0 -1
  20. data/lib/turnkey_client/api_error.rb +0 -1
  21. data/lib/turnkey_client/configuration.rb +0 -1
  22. data/lib/turnkey_client/models/accept_invitation_intent.rb +0 -1
  23. data/lib/turnkey_client/models/accept_invitation_intent_v2.rb +0 -1
  24. data/lib/turnkey_client/models/accept_invitation_result.rb +0 -1
  25. data/lib/turnkey_client/models/access_type.rb +0 -1
  26. data/lib/turnkey_client/models/activate_billing_tier_intent.rb +0 -1
  27. data/lib/turnkey_client/models/activate_billing_tier_result.rb +0 -1
  28. data/lib/turnkey_client/models/activity.rb +0 -1
  29. data/lib/turnkey_client/models/activity_response.rb +0 -1
  30. data/lib/turnkey_client/models/activity_status.rb +0 -1
  31. data/lib/turnkey_client/models/activity_type.rb +2 -1
  32. data/lib/turnkey_client/models/activity_v1_address.rb +0 -1
  33. data/lib/turnkey_client/models/address_format.rb +0 -1
  34. data/lib/turnkey_client/models/api_key.rb +0 -1
  35. data/lib/turnkey_client/models/api_key_params.rb +0 -1
  36. data/lib/turnkey_client/models/api_only_user_params.rb +0 -1
  37. data/lib/turnkey_client/models/approve_activity_intent.rb +0 -1
  38. data/lib/turnkey_client/models/approve_activity_request.rb +0 -1
  39. data/lib/turnkey_client/models/attestation.rb +0 -1
  40. data/lib/turnkey_client/models/authenticator.rb +0 -1
  41. data/lib/turnkey_client/models/authenticator_attestation_response.rb +0 -1
  42. data/lib/turnkey_client/models/authenticator_params.rb +0 -1
  43. data/lib/turnkey_client/models/authenticator_params_v2.rb +0 -1
  44. data/lib/turnkey_client/models/authenticator_transport.rb +0 -1
  45. data/lib/turnkey_client/models/create_api_keys_intent.rb +0 -1
  46. data/lib/turnkey_client/models/create_api_keys_request.rb +0 -1
  47. data/lib/turnkey_client/models/create_api_keys_result.rb +0 -1
  48. data/lib/turnkey_client/models/create_api_only_users_intent.rb +0 -1
  49. data/lib/turnkey_client/models/create_api_only_users_result.rb +0 -1
  50. data/lib/turnkey_client/models/create_authenticators_intent.rb +0 -1
  51. data/lib/turnkey_client/models/create_authenticators_intent_v2.rb +0 -1
  52. data/lib/turnkey_client/models/create_authenticators_request.rb +0 -1
  53. data/lib/turnkey_client/models/create_authenticators_result.rb +0 -1
  54. data/lib/turnkey_client/models/create_invitations_intent.rb +0 -1
  55. data/lib/turnkey_client/models/create_invitations_request.rb +0 -1
  56. data/lib/turnkey_client/models/create_invitations_result.rb +0 -1
  57. data/lib/turnkey_client/models/create_organization_intent.rb +0 -1
  58. data/lib/turnkey_client/models/create_organization_intent_v2.rb +0 -1
  59. data/lib/turnkey_client/models/create_organization_result.rb +0 -1
  60. data/lib/turnkey_client/models/create_policy_intent.rb +0 -1
  61. data/lib/turnkey_client/models/create_policy_intent_v2.rb +0 -1
  62. data/lib/turnkey_client/models/create_policy_intent_v3.rb +0 -1
  63. data/lib/turnkey_client/models/create_policy_request.rb +0 -1
  64. data/lib/turnkey_client/models/create_policy_result.rb +0 -1
  65. data/lib/turnkey_client/models/create_private_key_tag_intent.rb +0 -1
  66. data/lib/turnkey_client/models/create_private_key_tag_request.rb +0 -1
  67. data/lib/turnkey_client/models/create_private_key_tag_result.rb +0 -1
  68. data/lib/turnkey_client/models/create_private_keys_intent.rb +0 -1
  69. data/lib/turnkey_client/models/create_private_keys_intent_v2.rb +0 -1
  70. data/lib/turnkey_client/models/create_private_keys_request.rb +0 -1
  71. data/lib/turnkey_client/models/create_private_keys_result.rb +0 -1
  72. data/lib/turnkey_client/models/create_private_keys_result_v2.rb +0 -1
  73. data/lib/turnkey_client/models/create_sub_organization_intent.rb +0 -1
  74. data/lib/turnkey_client/models/create_sub_organization_intent_v2.rb +0 -1
  75. data/lib/turnkey_client/models/create_sub_organization_intent_v3.rb +0 -1
  76. data/lib/turnkey_client/models/create_sub_organization_intent_v4.rb +0 -1
  77. data/lib/turnkey_client/models/create_sub_organization_request.rb +0 -1
  78. data/lib/turnkey_client/models/create_sub_organization_result.rb +15 -5
  79. data/lib/turnkey_client/models/create_sub_organization_result_v3.rb +15 -5
  80. data/lib/turnkey_client/models/create_sub_organization_result_v4.rb +15 -5
  81. data/lib/turnkey_client/models/create_user_tag_intent.rb +0 -1
  82. data/lib/turnkey_client/models/create_user_tag_request.rb +0 -1
  83. data/lib/turnkey_client/models/create_user_tag_result.rb +0 -1
  84. data/lib/turnkey_client/models/create_users_intent.rb +0 -1
  85. data/lib/turnkey_client/models/create_users_intent_v2.rb +0 -1
  86. data/lib/turnkey_client/models/create_users_request.rb +0 -1
  87. data/lib/turnkey_client/models/create_users_result.rb +0 -1
  88. data/lib/turnkey_client/models/create_wallet_accounts_intent.rb +0 -1
  89. data/lib/turnkey_client/models/create_wallet_accounts_request.rb +0 -1
  90. data/lib/turnkey_client/models/create_wallet_accounts_result.rb +0 -1
  91. data/lib/turnkey_client/models/create_wallet_intent.rb +0 -1
  92. data/lib/turnkey_client/models/create_wallet_request.rb +0 -1
  93. data/lib/turnkey_client/models/create_wallet_result.rb +0 -1
  94. data/lib/turnkey_client/models/cred_props_authentication_extensions_client_outputs.rb +0 -1
  95. data/lib/turnkey_client/models/credential_type.rb +0 -1
  96. data/lib/turnkey_client/models/curve.rb +0 -1
  97. data/lib/turnkey_client/models/data_v1_address.rb +0 -1
  98. data/lib/turnkey_client/models/delete_api_keys_intent.rb +0 -1
  99. data/lib/turnkey_client/models/delete_api_keys_request.rb +0 -1
  100. data/lib/turnkey_client/models/delete_api_keys_result.rb +0 -1
  101. data/lib/turnkey_client/models/delete_authenticators_intent.rb +0 -1
  102. data/lib/turnkey_client/models/delete_authenticators_request.rb +0 -1
  103. data/lib/turnkey_client/models/delete_authenticators_result.rb +0 -1
  104. data/lib/turnkey_client/models/delete_invitation_intent.rb +0 -1
  105. data/lib/turnkey_client/models/delete_invitation_request.rb +0 -1
  106. data/lib/turnkey_client/models/delete_invitation_result.rb +0 -1
  107. data/lib/turnkey_client/models/delete_organization_intent.rb +0 -1
  108. data/lib/turnkey_client/models/delete_organization_result.rb +0 -1
  109. data/lib/turnkey_client/models/delete_payment_method_intent.rb +0 -1
  110. data/lib/turnkey_client/models/delete_payment_method_result.rb +0 -1
  111. data/lib/turnkey_client/models/delete_policy_intent.rb +0 -1
  112. data/lib/turnkey_client/models/delete_policy_request.rb +0 -1
  113. data/lib/turnkey_client/models/delete_policy_result.rb +0 -1
  114. data/lib/turnkey_client/models/delete_private_key_tags_intent.rb +0 -1
  115. data/lib/turnkey_client/models/delete_private_key_tags_request.rb +0 -1
  116. data/lib/turnkey_client/models/delete_private_key_tags_result.rb +0 -1
  117. data/lib/turnkey_client/models/delete_user_tags_intent.rb +0 -1
  118. data/lib/turnkey_client/models/delete_user_tags_request.rb +0 -1
  119. data/lib/turnkey_client/models/delete_user_tags_result.rb +0 -1
  120. data/lib/turnkey_client/models/delete_users_intent.rb +0 -1
  121. data/lib/turnkey_client/models/delete_users_request.rb +0 -1
  122. data/lib/turnkey_client/models/delete_users_result.rb +0 -1
  123. data/lib/turnkey_client/models/disable_private_key_intent.rb +0 -1
  124. data/lib/turnkey_client/models/disable_private_key_result.rb +0 -1
  125. data/lib/turnkey_client/models/effect.rb +0 -1
  126. data/lib/turnkey_client/models/email_auth_intent.rb +0 -1
  127. data/lib/turnkey_client/models/email_auth_request.rb +0 -1
  128. data/lib/turnkey_client/models/email_auth_result.rb +0 -1
  129. data/lib/turnkey_client/models/email_customization_params.rb +0 -1
  130. data/lib/turnkey_client/models/export_private_key_intent.rb +0 -1
  131. data/lib/turnkey_client/models/export_private_key_request.rb +0 -1
  132. data/lib/turnkey_client/models/export_private_key_result.rb +0 -1
  133. data/lib/turnkey_client/models/export_wallet_account_intent.rb +0 -1
  134. data/lib/turnkey_client/models/export_wallet_account_request.rb +0 -1
  135. data/lib/turnkey_client/models/export_wallet_account_result.rb +0 -1
  136. data/lib/turnkey_client/models/export_wallet_intent.rb +0 -1
  137. data/lib/turnkey_client/models/export_wallet_request.rb +0 -1
  138. data/lib/turnkey_client/models/export_wallet_result.rb +0 -1
  139. data/lib/turnkey_client/models/external_data_v1_credential.rb +0 -1
  140. data/lib/turnkey_client/models/external_data_v1_timestamp.rb +0 -1
  141. data/lib/turnkey_client/models/feature.rb +0 -1
  142. data/lib/turnkey_client/models/feature_name.rb +1 -1
  143. data/lib/turnkey_client/models/get_activities_request.rb +0 -1
  144. data/lib/turnkey_client/models/get_activities_response.rb +0 -1
  145. data/lib/turnkey_client/models/get_activity_request.rb +0 -1
  146. data/lib/turnkey_client/models/get_api_key_request.rb +0 -1
  147. data/lib/turnkey_client/models/get_api_key_response.rb +0 -1
  148. data/lib/turnkey_client/models/get_api_keys_request.rb +0 -1
  149. data/lib/turnkey_client/models/get_api_keys_response.rb +0 -1
  150. data/lib/turnkey_client/models/get_authenticator_request.rb +0 -1
  151. data/lib/turnkey_client/models/get_authenticator_response.rb +0 -1
  152. data/lib/turnkey_client/models/get_authenticators_request.rb +0 -1
  153. data/lib/turnkey_client/models/get_authenticators_response.rb +0 -1
  154. data/lib/turnkey_client/models/get_policies_request.rb +0 -1
  155. data/lib/turnkey_client/models/get_policies_response.rb +0 -1
  156. data/lib/turnkey_client/models/get_policy_request.rb +0 -1
  157. data/lib/turnkey_client/models/get_policy_response.rb +0 -1
  158. data/lib/turnkey_client/models/get_private_key_request.rb +0 -1
  159. data/lib/turnkey_client/models/get_private_key_response.rb +0 -1
  160. data/lib/turnkey_client/models/get_private_keys_request.rb +0 -1
  161. data/lib/turnkey_client/models/get_private_keys_response.rb +0 -1
  162. data/lib/turnkey_client/models/get_sub_org_ids_request.rb +240 -0
  163. data/lib/turnkey_client/models/get_sub_org_ids_response.rb +213 -0
  164. data/lib/turnkey_client/models/get_user_request.rb +0 -1
  165. data/lib/turnkey_client/models/get_user_response.rb +0 -1
  166. data/lib/turnkey_client/models/get_users_request.rb +0 -1
  167. data/lib/turnkey_client/models/get_users_response.rb +0 -1
  168. data/lib/turnkey_client/models/get_wallet_accounts_request.rb +13 -5
  169. data/lib/turnkey_client/models/get_wallet_accounts_response.rb +0 -1
  170. data/lib/turnkey_client/models/get_wallet_request.rb +0 -1
  171. data/lib/turnkey_client/models/get_wallet_response.rb +0 -1
  172. data/lib/turnkey_client/models/get_wallets_request.rb +0 -1
  173. data/lib/turnkey_client/models/get_wallets_response.rb +0 -1
  174. data/lib/turnkey_client/models/get_whoami_request.rb +0 -1
  175. data/lib/turnkey_client/models/get_whoami_response.rb +0 -1
  176. data/lib/turnkey_client/models/hash_function.rb +0 -1
  177. data/lib/turnkey_client/models/import_private_key_intent.rb +272 -0
  178. data/lib/turnkey_client/models/import_private_key_request.rb +288 -0
  179. data/lib/turnkey_client/models/import_private_key_result.rb +228 -0
  180. data/lib/turnkey_client/models/import_wallet_intent.rb +0 -1
  181. data/lib/turnkey_client/models/import_wallet_request.rb +0 -1
  182. data/lib/turnkey_client/models/import_wallet_result.rb +0 -1
  183. data/lib/turnkey_client/models/init_import_private_key_intent.rb +211 -0
  184. data/lib/turnkey_client/models/init_import_private_key_request.rb +288 -0
  185. data/lib/turnkey_client/models/init_import_private_key_result.rb +211 -0
  186. data/lib/turnkey_client/models/init_import_wallet_intent.rb +0 -1
  187. data/lib/turnkey_client/models/init_import_wallet_request.rb +0 -1
  188. data/lib/turnkey_client/models/init_import_wallet_result.rb +0 -1
  189. data/lib/turnkey_client/models/init_user_email_recovery_intent.rb +13 -5
  190. data/lib/turnkey_client/models/init_user_email_recovery_request.rb +0 -1
  191. data/lib/turnkey_client/models/init_user_email_recovery_result.rb +0 -1
  192. data/lib/turnkey_client/models/intent.rb +22 -5
  193. data/lib/turnkey_client/models/invitation_params.rb +0 -1
  194. data/lib/turnkey_client/models/list_private_key_tags_request.rb +0 -1
  195. data/lib/turnkey_client/models/list_private_key_tags_response.rb +0 -1
  196. data/lib/turnkey_client/models/list_user_tags_request.rb +0 -1
  197. data/lib/turnkey_client/models/list_user_tags_response.rb +0 -1
  198. data/lib/turnkey_client/models/mnemonic_language.rb +0 -1
  199. data/lib/turnkey_client/models/operator.rb +0 -1
  200. data/lib/turnkey_client/models/pagination.rb +0 -1
  201. data/lib/turnkey_client/models/path_format.rb +0 -1
  202. data/lib/turnkey_client/models/payload_encoding.rb +0 -1
  203. data/lib/turnkey_client/models/policy.rb +0 -1
  204. data/lib/turnkey_client/models/private_key.rb +19 -5
  205. data/lib/turnkey_client/models/private_key_params.rb +0 -1
  206. data/lib/turnkey_client/models/private_key_result.rb +0 -1
  207. data/lib/turnkey_client/models/public_key_credential_with_attestation.rb +0 -1
  208. data/lib/turnkey_client/models/recover_user_intent.rb +0 -1
  209. data/lib/turnkey_client/models/recover_user_request.rb +0 -1
  210. data/lib/turnkey_client/models/recover_user_result.rb +0 -1
  211. data/lib/turnkey_client/models/reject_activity_intent.rb +0 -1
  212. data/lib/turnkey_client/models/reject_activity_request.rb +0 -1
  213. data/lib/turnkey_client/models/remove_organization_feature_intent.rb +0 -1
  214. data/lib/turnkey_client/models/remove_organization_feature_request.rb +0 -1
  215. data/lib/turnkey_client/models/remove_organization_feature_result.rb +0 -1
  216. data/lib/turnkey_client/models/result.rb +22 -5
  217. data/lib/turnkey_client/models/root_user_params.rb +0 -1
  218. data/lib/turnkey_client/models/selector.rb +0 -1
  219. data/lib/turnkey_client/models/selector_v2.rb +0 -1
  220. data/lib/turnkey_client/models/set_organization_feature_intent.rb +0 -1
  221. data/lib/turnkey_client/models/set_organization_feature_request.rb +0 -1
  222. data/lib/turnkey_client/models/set_organization_feature_result.rb +0 -1
  223. data/lib/turnkey_client/models/set_payment_method_intent.rb +0 -1
  224. data/lib/turnkey_client/models/set_payment_method_intent_v2.rb +0 -1
  225. data/lib/turnkey_client/models/set_payment_method_result.rb +0 -1
  226. data/lib/turnkey_client/models/sign_raw_payload_intent.rb +0 -1
  227. data/lib/turnkey_client/models/sign_raw_payload_intent_v2.rb +0 -1
  228. data/lib/turnkey_client/models/sign_raw_payload_request.rb +0 -1
  229. data/lib/turnkey_client/models/sign_raw_payload_result.rb +0 -1
  230. data/lib/turnkey_client/models/sign_transaction_intent.rb +0 -1
  231. data/lib/turnkey_client/models/sign_transaction_intent_v2.rb +0 -1
  232. data/lib/turnkey_client/models/sign_transaction_request.rb +0 -1
  233. data/lib/turnkey_client/models/sign_transaction_result.rb +0 -1
  234. data/lib/turnkey_client/models/simple_client_extension_results.rb +0 -1
  235. data/lib/turnkey_client/models/tag_type.rb +0 -1
  236. data/lib/turnkey_client/models/transaction_type.rb +0 -1
  237. data/lib/turnkey_client/models/update_allowed_origins_intent.rb +0 -1
  238. data/lib/turnkey_client/models/update_allowed_origins_result.rb +0 -1
  239. data/lib/turnkey_client/models/update_policy_intent.rb +0 -1
  240. data/lib/turnkey_client/models/update_policy_request.rb +0 -1
  241. data/lib/turnkey_client/models/update_policy_result.rb +0 -1
  242. data/lib/turnkey_client/models/update_private_key_tag_intent.rb +0 -1
  243. data/lib/turnkey_client/models/update_private_key_tag_request.rb +0 -1
  244. data/lib/turnkey_client/models/update_private_key_tag_result.rb +0 -1
  245. data/lib/turnkey_client/models/update_root_quorum_intent.rb +0 -1
  246. data/lib/turnkey_client/models/update_root_quorum_request.rb +0 -1
  247. data/lib/turnkey_client/models/update_root_quorum_result.rb +0 -1
  248. data/lib/turnkey_client/models/update_user_intent.rb +0 -1
  249. data/lib/turnkey_client/models/update_user_request.rb +0 -1
  250. data/lib/turnkey_client/models/update_user_result.rb +0 -1
  251. data/lib/turnkey_client/models/update_user_tag_intent.rb +0 -1
  252. data/lib/turnkey_client/models/update_user_tag_request.rb +0 -1
  253. data/lib/turnkey_client/models/update_user_tag_result.rb +0 -1
  254. data/lib/turnkey_client/models/user.rb +0 -1
  255. data/lib/turnkey_client/models/user_params.rb +0 -1
  256. data/lib/turnkey_client/models/user_params_v2.rb +0 -1
  257. data/lib/turnkey_client/models/v1_tag.rb +0 -1
  258. data/lib/turnkey_client/models/vote.rb +0 -1
  259. data/lib/turnkey_client/models/wallet.rb +0 -1
  260. data/lib/turnkey_client/models/wallet_account.rb +0 -1
  261. data/lib/turnkey_client/models/wallet_account_params.rb +0 -1
  262. data/lib/turnkey_client/models/wallet_params.rb +0 -1
  263. data/lib/turnkey_client/models/wallet_result.rb +0 -1
  264. data/lib/turnkey_client/version.rb +1 -2
  265. data/lib/turnkey_client.rb +8 -1
  266. data/turnkey_client-0.0.2.gem +0 -0
  267. data/turnkey_client-0.0.3.gem +0 -0
  268. data/turnkey_client.gemspec +0 -1
  269. metadata +12 -2
checksums.yaml CHANGED
@@ -1,7 +1,7 @@
1
1
  ---
2
2
  SHA256:
3
- metadata.gz: dba3f8edfdbed385d4468d76ec0a82d5f6aef027a6eb86db8f76292b9b6b2a65
4
- data.tar.gz: 483c80b9f58c61235a61c498d36e96e63e0aee6d66183b754765299c4f5addc4
3
+ metadata.gz: '0923e45fec71c69f84f9072fc980e47978b50ee07aa942789c44a4005293ba63'
4
+ data.tar.gz: 4e7cfcad8e0676aa99dbe439e6b2f459fbf1e069c463e6840f80ed12e841c10f
5
5
  SHA512:
6
- metadata.gz: f618f7987a742b13101c4f16cf83f12d6d5433ccbbfe9a006f2d876942744b41d76bc4c9e99c19f721648d059b8e2f3e1c03dd674b99705896983d194b770eca
7
- data.tar.gz: c98d8413354bbc7831ae1a77c977a7ec0866eb4d5e8652ac7a383262785cb2d607667d0281564dc9d947f77bf4256b28102c5c72a5b0a06d35a9509ac25a01b7
6
+ metadata.gz: 55e2775aa57eb6324dbf3253364764b2ee2ea6979e601a408331944542c45230a15470be438e80395c96030eb078381d198f74412fa935919bcadc7c48cbe547
7
+ data.tar.gz: 8de5b03e67cab589d29efaeca8f724cc85e805196c484dfe82638ce9b8f61f5a3dcebc18894ef15da49f2904f91382f1a38456b65b2d02ff457107a07863b9f0
@@ -6,7 +6,6 @@
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
10
9
  =end
11
10
 
12
11
  module TurnkeyClient
@@ -6,7 +6,6 @@
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
10
9
  =end
11
10
 
12
11
  module TurnkeyClient
@@ -6,7 +6,6 @@
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
10
9
  =end
11
10
 
12
11
  module TurnkeyClient
@@ -6,7 +6,6 @@
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
10
9
  =end
11
10
 
12
11
  module TurnkeyClient
@@ -6,7 +6,6 @@
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
10
9
  =end
11
10
 
12
11
  module TurnkeyClient
@@ -6,7 +6,6 @@
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
10
9
  =end
11
10
 
12
11
  module TurnkeyClient
@@ -6,7 +6,6 @@
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
10
9
  =end
11
10
 
12
11
  module TurnkeyClient
@@ -74,6 +73,64 @@ module TurnkeyClient
74
73
  end
75
74
  return data, status_code, headers
76
75
  end
76
+ # Get Suborgs
77
+ # Get all suborg IDs associated given a parent org ID and an optional filter.
78
+ # @param body
79
+ # @param [Hash] opts the optional parameters
80
+ # @return [GetSubOrgIdsResponse]
81
+ def get_sub_org_ids(body, opts = {})
82
+ data, _status_code, _headers = get_sub_org_ids_with_http_info(body, opts)
83
+ data
84
+ end
85
+
86
+ # Get Suborgs
87
+ # Get all suborg IDs associated given a parent org ID and an optional filter.
88
+ # @param body
89
+ # @param [Hash] opts the optional parameters
90
+ # @return [Array<(GetSubOrgIdsResponse, Integer, Hash)>] GetSubOrgIdsResponse data, response status code and response headers
91
+ def get_sub_org_ids_with_http_info(body, opts = {})
92
+ if @api_client.config.debugging
93
+ @api_client.config.logger.debug 'Calling API: OrganizationsApi.get_sub_org_ids ...'
94
+ end
95
+ # verify the required parameter 'body' is set
96
+ if @api_client.config.client_side_validation && body.nil?
97
+ fail ArgumentError, "Missing the required parameter 'body' when calling OrganizationsApi.get_sub_org_ids"
98
+ end
99
+ # resource path
100
+ local_var_path = '/public/v1/query/list_suborgs'
101
+
102
+ # query parameters
103
+ query_params = opts[:query_params] || {}
104
+
105
+ # header parameters
106
+ header_params = opts[:header_params] || {}
107
+ # HTTP header 'Accept' (if needed)
108
+ header_params['Accept'] = @api_client.select_header_accept(['application/json'])
109
+ # HTTP header 'Content-Type'
110
+ header_params['Content-Type'] = @api_client.select_header_content_type(['application/json'])
111
+
112
+ # form parameters
113
+ form_params = opts[:form_params] || {}
114
+
115
+ # http body (model)
116
+ post_body = opts[:body] || @api_client.object_to_http_body(body)
117
+
118
+ return_type = opts[:return_type] || 'GetSubOrgIdsResponse'
119
+
120
+ auth_names = opts[:auth_names] || ['ApiKeyAuth', 'AuthenticatorAuth']
121
+ data, status_code, headers = @api_client.call_api(:POST, local_var_path,
122
+ :header_params => header_params,
123
+ :query_params => query_params,
124
+ :form_params => form_params,
125
+ :body => post_body,
126
+ :auth_names => auth_names,
127
+ :return_type => return_type)
128
+
129
+ if @api_client.config.debugging
130
+ @api_client.config.logger.debug "API called: OrganizationsApi#get_sub_org_ids\nData: #{data.inspect}\nStatus code: #{status_code}\nHeaders: #{headers}"
131
+ end
132
+ return data, status_code, headers
133
+ end
77
134
  # Update Root Quorum
78
135
  # Set the threshold and members of the root quorum. This must be approved by the current root quorum.
79
136
  # @param body
@@ -6,7 +6,6 @@
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
10
9
  =end
11
10
 
12
11
  module TurnkeyClient
@@ -6,7 +6,6 @@
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
10
9
  =end
11
10
 
12
11
  module TurnkeyClient
@@ -6,7 +6,6 @@
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
10
9
  =end
11
10
 
12
11
  module TurnkeyClient
@@ -248,5 +247,121 @@ module TurnkeyClient
248
247
  end
249
248
  return data, status_code, headers
250
249
  end
250
+ # Import Private Key
251
+ # Imports a private key
252
+ # @param body
253
+ # @param [Hash] opts the optional parameters
254
+ # @return [ActivityResponse]
255
+ def import_private_key(body, opts = {})
256
+ data, _status_code, _headers = import_private_key_with_http_info(body, opts)
257
+ data
258
+ end
259
+
260
+ # Import Private Key
261
+ # Imports a private key
262
+ # @param body
263
+ # @param [Hash] opts the optional parameters
264
+ # @return [Array<(ActivityResponse, Integer, Hash)>] ActivityResponse data, response status code and response headers
265
+ def import_private_key_with_http_info(body, opts = {})
266
+ if @api_client.config.debugging
267
+ @api_client.config.logger.debug 'Calling API: PrivateKeysApi.import_private_key ...'
268
+ end
269
+ # verify the required parameter 'body' is set
270
+ if @api_client.config.client_side_validation && body.nil?
271
+ fail ArgumentError, "Missing the required parameter 'body' when calling PrivateKeysApi.import_private_key"
272
+ end
273
+ # resource path
274
+ local_var_path = '/public/v1/submit/import_private_key'
275
+
276
+ # query parameters
277
+ query_params = opts[:query_params] || {}
278
+
279
+ # header parameters
280
+ header_params = opts[:header_params] || {}
281
+ # HTTP header 'Accept' (if needed)
282
+ header_params['Accept'] = @api_client.select_header_accept(['application/json'])
283
+ # HTTP header 'Content-Type'
284
+ header_params['Content-Type'] = @api_client.select_header_content_type(['application/json'])
285
+
286
+ # form parameters
287
+ form_params = opts[:form_params] || {}
288
+
289
+ # http body (model)
290
+ post_body = opts[:body] || @api_client.object_to_http_body(body)
291
+
292
+ return_type = opts[:return_type] || 'ActivityResponse'
293
+
294
+ auth_names = opts[:auth_names] || ['ApiKeyAuth', 'AuthenticatorAuth']
295
+ data, status_code, headers = @api_client.call_api(:POST, local_var_path,
296
+ :header_params => header_params,
297
+ :query_params => query_params,
298
+ :form_params => form_params,
299
+ :body => post_body,
300
+ :auth_names => auth_names,
301
+ :return_type => return_type)
302
+
303
+ if @api_client.config.debugging
304
+ @api_client.config.logger.debug "API called: PrivateKeysApi#import_private_key\nData: #{data.inspect}\nStatus code: #{status_code}\nHeaders: #{headers}"
305
+ end
306
+ return data, status_code, headers
307
+ end
308
+ # Init Import Private Key
309
+ # Initializes a new private key import
310
+ # @param body
311
+ # @param [Hash] opts the optional parameters
312
+ # @return [ActivityResponse]
313
+ def init_import_private_key(body, opts = {})
314
+ data, _status_code, _headers = init_import_private_key_with_http_info(body, opts)
315
+ data
316
+ end
317
+
318
+ # Init Import Private Key
319
+ # Initializes a new private key import
320
+ # @param body
321
+ # @param [Hash] opts the optional parameters
322
+ # @return [Array<(ActivityResponse, Integer, Hash)>] ActivityResponse data, response status code and response headers
323
+ def init_import_private_key_with_http_info(body, opts = {})
324
+ if @api_client.config.debugging
325
+ @api_client.config.logger.debug 'Calling API: PrivateKeysApi.init_import_private_key ...'
326
+ end
327
+ # verify the required parameter 'body' is set
328
+ if @api_client.config.client_side_validation && body.nil?
329
+ fail ArgumentError, "Missing the required parameter 'body' when calling PrivateKeysApi.init_import_private_key"
330
+ end
331
+ # resource path
332
+ local_var_path = '/public/v1/submit/init_import_private_key'
333
+
334
+ # query parameters
335
+ query_params = opts[:query_params] || {}
336
+
337
+ # header parameters
338
+ header_params = opts[:header_params] || {}
339
+ # HTTP header 'Accept' (if needed)
340
+ header_params['Accept'] = @api_client.select_header_accept(['application/json'])
341
+ # HTTP header 'Content-Type'
342
+ header_params['Content-Type'] = @api_client.select_header_content_type(['application/json'])
343
+
344
+ # form parameters
345
+ form_params = opts[:form_params] || {}
346
+
347
+ # http body (model)
348
+ post_body = opts[:body] || @api_client.object_to_http_body(body)
349
+
350
+ return_type = opts[:return_type] || 'ActivityResponse'
351
+
352
+ auth_names = opts[:auth_names] || ['ApiKeyAuth', 'AuthenticatorAuth']
353
+ data, status_code, headers = @api_client.call_api(:POST, local_var_path,
354
+ :header_params => header_params,
355
+ :query_params => query_params,
356
+ :form_params => form_params,
357
+ :body => post_body,
358
+ :auth_names => auth_names,
359
+ :return_type => return_type)
360
+
361
+ if @api_client.config.debugging
362
+ @api_client.config.logger.debug "API called: PrivateKeysApi#init_import_private_key\nData: #{data.inspect}\nStatus code: #{status_code}\nHeaders: #{headers}"
363
+ end
364
+ return data, status_code, headers
365
+ end
251
366
  end
252
367
  end
@@ -6,7 +6,6 @@
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
10
9
  =end
11
10
 
12
11
  module TurnkeyClient
@@ -17,7 +16,7 @@ module TurnkeyClient
17
16
  @api_client = api_client
18
17
  end
19
18
  # Who am I?
20
- # Get basic information about your current API or WebAuthN user and their organization. Affords Sub-Organization look ups via Parent Organization for WebAuthN users.
19
+ # Get basic information about your current API or WebAuthN user and their organization. Affords Sub-Organization look ups via Parent Organization for WebAuthN or API key users.
21
20
  # @param body
22
21
  # @param [Hash] opts the optional parameters
23
22
  # @return [GetWhoamiResponse]
@@ -27,7 +26,7 @@ module TurnkeyClient
27
26
  end
28
27
 
29
28
  # Who am I?
30
- # Get basic information about your current API or WebAuthN user and their organization. Affords Sub-Organization look ups via Parent Organization for WebAuthN users.
29
+ # Get basic information about your current API or WebAuthN user and their organization. Affords Sub-Organization look ups via Parent Organization for WebAuthN or API key users.
31
30
  # @param body
32
31
  # @param [Hash] opts the optional parameters
33
32
  # @return [Array<(GetWhoamiResponse, Integer, Hash)>] GetWhoamiResponse data, response status code and response headers
@@ -6,7 +6,6 @@
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
10
9
  =end
11
10
 
12
11
  module TurnkeyClient
@@ -6,7 +6,6 @@
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
10
9
  =end
11
10
 
12
11
  module TurnkeyClient
@@ -6,7 +6,6 @@
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
10
9
  =end
11
10
 
12
11
  module TurnkeyClient
@@ -6,7 +6,6 @@
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
10
9
  =end
11
10
 
12
11
  module TurnkeyClient
@@ -6,7 +6,6 @@
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
10
9
  =end
11
10
 
12
11
  module TurnkeyClient
@@ -6,7 +6,6 @@
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
10
9
  =end
11
10
 
12
11
  module TurnkeyClient
@@ -6,7 +6,6 @@
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
10
9
  =end
11
10
 
12
11
  require 'date'
@@ -6,7 +6,6 @@
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
10
9
  =end
11
10
 
12
11
  module TurnkeyClient
@@ -6,7 +6,6 @@
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
10
9
  =end
11
10
 
12
11
  module TurnkeyClient
@@ -6,7 +6,6 @@
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
10
9
  =end
11
10
 
12
11
  require 'date'
@@ -6,7 +6,6 @@
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
10
9
  =end
11
10
 
12
11
  require 'date'
@@ -6,7 +6,6 @@
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
10
9
  =end
11
10
 
12
11
  require 'date'
@@ -6,7 +6,6 @@
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
10
9
  =end
11
10
 
12
11
  require 'date'
@@ -6,7 +6,6 @@
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
10
9
  =end
11
10
 
12
11
  require 'date'
@@ -6,7 +6,6 @@
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
10
9
  =end
11
10
 
12
11
  require 'date'
@@ -6,7 +6,6 @@
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
10
9
  =end
11
10
 
12
11
  require 'date'
@@ -6,7 +6,6 @@
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
10
9
  =end
11
10
 
12
11
  require 'date'
@@ -6,7 +6,6 @@
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
10
9
  =end
11
10
 
12
11
  require 'date'
@@ -6,7 +6,6 @@
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
10
9
  =end
11
10
 
12
11
  require 'date'
@@ -72,6 +71,8 @@ module TurnkeyClient
72
71
  EXPORT_WALLET_ACCOUNT = 'ACTIVITY_TYPE_EXPORT_WALLET_ACCOUNT'.freeze
73
72
  INIT_IMPORT_WALLET = 'ACTIVITY_TYPE_INIT_IMPORT_WALLET'.freeze
74
73
  IMPORT_WALLET = 'ACTIVITY_TYPE_IMPORT_WALLET'.freeze
74
+ INIT_IMPORT_PRIVATE_KEY = 'ACTIVITY_TYPE_INIT_IMPORT_PRIVATE_KEY'.freeze
75
+ IMPORT_PRIVATE_KEY = 'ACTIVITY_TYPE_IMPORT_PRIVATE_KEY'.freeze
75
76
 
76
77
  # Builds the enum from string
77
78
  # @param [String] The enum value in the form of the string
@@ -6,7 +6,6 @@
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
10
9
  =end
11
10
 
12
11
  require 'date'
@@ -6,7 +6,6 @@
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
10
9
  =end
11
10
 
12
11
  require 'date'
@@ -6,7 +6,6 @@
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
10
9
  =end
11
10
 
12
11
  require 'date'
@@ -6,7 +6,6 @@
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
10
9
  =end
11
10
 
12
11
  require 'date'
@@ -6,7 +6,6 @@
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
10
9
  =end
11
10
 
12
11
  require 'date'
@@ -6,7 +6,6 @@
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
10
9
  =end
11
10
 
12
11
  require 'date'
@@ -6,7 +6,6 @@
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
10
9
  =end
11
10
 
12
11
  require 'date'
@@ -6,7 +6,6 @@
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
10
9
  =end
11
10
 
12
11
  require 'date'
@@ -6,7 +6,6 @@
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
10
9
  =end
11
10
 
12
11
  require 'date'
@@ -6,7 +6,6 @@
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
10
9
  =end
11
10
 
12
11
  require 'date'
@@ -6,7 +6,6 @@
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
10
9
  =end
11
10
 
12
11
  require 'date'
@@ -6,7 +6,6 @@
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
10
9
  =end
11
10
 
12
11
  require 'date'
@@ -6,7 +6,6 @@
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
10
9
  =end
11
10
 
12
11
  require 'date'
@@ -6,7 +6,6 @@
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
10
9
  =end
11
10
 
12
11
  require 'date'
@@ -6,7 +6,6 @@
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
10
9
  =end
11
10
 
12
11
  require 'date'
@@ -6,7 +6,6 @@
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
10
9
  =end
11
10
 
12
11
  require 'date'
@@ -6,7 +6,6 @@
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
10
9
  =end
11
10
 
12
11
  require 'date'
@@ -6,7 +6,6 @@
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
10
9
  =end
11
10
 
12
11
  require 'date'