@leaflow/sdk 0.0.0-dev.462.g9520bb3 → 0.0.0-dev.466.gd442bdd

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
Files changed (425) hide show
  1. package/dist/account/v1/generated/functions.d.ts +111 -1
  2. package/dist/account/v1/generated/functions.js +124 -0
  3. package/dist/account/v1/generated/models.d.ts +74 -0
  4. package/dist/account/v1/generated/models.js +8 -0
  5. package/dist/account/v1/generated/schemas.zod.d.ts +54 -0
  6. package/dist/account/v1/generated/schemas.zod.js +61 -0
  7. package/dist/account/v1/generated/validators/acceptConsentsRequestBody.zod.d.ts +4 -0
  8. package/dist/account/v1/generated/validators/acceptConsentsRequestBody.zod.js +4 -0
  9. package/dist/account/v1/generated/validators/acceptInvitationByTokenRequestBody.zod.d.ts +4 -0
  10. package/dist/account/v1/generated/validators/acceptInvitationByTokenRequestBody.zod.js +4 -0
  11. package/dist/account/v1/generated/validators/acceptedInvitationResponseBody.zod.d.ts +4 -0
  12. package/dist/account/v1/generated/validators/acceptedInvitationResponseBody.zod.js +4 -0
  13. package/dist/account/v1/generated/validators/accountDeletionObjectionResource.zod.d.ts +4 -0
  14. package/dist/account/v1/generated/validators/accountDeletionObjectionResource.zod.js +4 -0
  15. package/dist/account/v1/generated/validators/accountDeletionResource.zod.d.ts +4 -0
  16. package/dist/account/v1/generated/validators/accountDeletionResource.zod.js +4 -0
  17. package/dist/account/v1/generated/validators/accountDeletionState.zod.d.ts +4 -0
  18. package/dist/account/v1/generated/validators/accountDeletionState.zod.js +4 -0
  19. package/dist/account/v1/generated/validators/accountResource.zod.d.ts +4 -0
  20. package/dist/account/v1/generated/validators/accountResource.zod.js +4 -0
  21. package/dist/account/v1/generated/validators/agreementListResponseBody.zod.d.ts +4 -0
  22. package/dist/account/v1/generated/validators/agreementListResponseBody.zod.js +4 -0
  23. package/dist/account/v1/generated/validators/agreementResource.zod.d.ts +4 -0
  24. package/dist/account/v1/generated/validators/agreementResource.zod.js +4 -0
  25. package/dist/account/v1/generated/validators/consentBody.zod.d.ts +4 -0
  26. package/dist/account/v1/generated/validators/consentBody.zod.js +4 -0
  27. package/dist/account/v1/generated/validators/consentListResponseBody.zod.d.ts +4 -0
  28. package/dist/account/v1/generated/validators/consentListResponseBody.zod.js +4 -0
  29. package/dist/account/v1/generated/validators/consentResource.zod.d.ts +4 -0
  30. package/dist/account/v1/generated/validators/consentResource.zod.js +4 -0
  31. package/dist/account/v1/generated/validators/countryOption.zod.d.ts +4 -0
  32. package/dist/account/v1/generated/validators/countryOption.zod.js +4 -0
  33. package/dist/account/v1/generated/validators/createProjectRequestBody.zod.d.ts +4 -0
  34. package/dist/account/v1/generated/validators/createProjectRequestBody.zod.js +4 -0
  35. package/dist/account/v1/generated/validators/createSSHKeyRequestBody.zod.d.ts +38 -0
  36. package/dist/account/v1/generated/validators/createSSHKeyRequestBody.zod.js +40 -0
  37. package/dist/account/v1/generated/validators/cursorPagination.zod.d.ts +4 -0
  38. package/dist/account/v1/generated/validators/cursorPagination.zod.js +4 -0
  39. package/dist/account/v1/generated/validators/error.zod.d.ts +4 -0
  40. package/dist/account/v1/generated/validators/error.zod.js +4 -0
  41. package/dist/account/v1/generated/validators/errorStatus.zod.d.ts +4 -0
  42. package/dist/account/v1/generated/validators/errorStatus.zod.js +4 -0
  43. package/dist/account/v1/generated/validators/fieldViolation.zod.d.ts +4 -0
  44. package/dist/account/v1/generated/validators/fieldViolation.zod.js +4 -0
  45. package/dist/account/v1/generated/validators/grantResource.zod.d.ts +4 -0
  46. package/dist/account/v1/generated/validators/grantResource.zod.js +4 -0
  47. package/dist/account/v1/generated/validators/identityVerificationResource.zod.d.ts +4 -0
  48. package/dist/account/v1/generated/validators/identityVerificationResource.zod.js +4 -0
  49. package/dist/account/v1/generated/validators/invitationPreviewResource.zod.d.ts +4 -0
  50. package/dist/account/v1/generated/validators/invitationPreviewResource.zod.js +4 -0
  51. package/dist/account/v1/generated/validators/invitationResource.zod.d.ts +4 -0
  52. package/dist/account/v1/generated/validators/invitationResource.zod.js +4 -0
  53. package/dist/account/v1/generated/validators/languageOption.zod.d.ts +4 -0
  54. package/dist/account/v1/generated/validators/languageOption.zod.js +4 -0
  55. package/dist/account/v1/generated/validators/lengthAwarePageInvitationResource.zod.d.ts +4 -0
  56. package/dist/account/v1/generated/validators/lengthAwarePageInvitationResource.zod.js +4 -0
  57. package/dist/account/v1/generated/validators/lengthAwarePageProjectAccessResource.zod.d.ts +4 -0
  58. package/dist/account/v1/generated/validators/lengthAwarePageProjectAccessResource.zod.js +4 -0
  59. package/dist/account/v1/generated/validators/lengthAwarePageSSHKeyResource.zod.d.ts +49 -0
  60. package/dist/account/v1/generated/validators/lengthAwarePageSSHKeyResource.zod.js +37 -0
  61. package/dist/account/v1/generated/validators/listMyInvitationsParams.zod.d.ts +4 -0
  62. package/dist/account/v1/generated/validators/listMyInvitationsParams.zod.js +4 -0
  63. package/dist/account/v1/generated/validators/listProjectsParams.zod.d.ts +4 -0
  64. package/dist/account/v1/generated/validators/listProjectsParams.zod.js +4 -0
  65. package/dist/account/v1/generated/validators/listSshKeysParams.zod.d.ts +45 -0
  66. package/dist/account/v1/generated/validators/listSshKeysParams.zod.js +47 -0
  67. package/dist/account/v1/generated/validators/locale.zod.d.ts +4 -0
  68. package/dist/account/v1/generated/validators/locale.zod.js +4 -0
  69. package/dist/account/v1/generated/validators/localeOptionsResource.zod.d.ts +4 -0
  70. package/dist/account/v1/generated/validators/localeOptionsResource.zod.js +4 -0
  71. package/dist/account/v1/generated/validators/offsetPagination.zod.d.ts +4 -0
  72. package/dist/account/v1/generated/validators/offsetPagination.zod.js +4 -0
  73. package/dist/account/v1/generated/validators/previewInvitationByTokenParams.zod.d.ts +4 -0
  74. package/dist/account/v1/generated/validators/previewInvitationByTokenParams.zod.js +4 -0
  75. package/dist/account/v1/generated/validators/projectAccessList.zod.d.ts +4 -0
  76. package/dist/account/v1/generated/validators/projectAccessList.zod.js +4 -0
  77. package/dist/account/v1/generated/validators/projectAccessResource.zod.d.ts +4 -0
  78. package/dist/account/v1/generated/validators/projectAccessResource.zod.js +4 -0
  79. package/dist/account/v1/generated/validators/projectResource.zod.d.ts +4 -0
  80. package/dist/account/v1/generated/validators/projectResource.zod.js +4 -0
  81. package/dist/account/v1/generated/validators/projectSlugAvailabilityResource.zod.d.ts +4 -0
  82. package/dist/account/v1/generated/validators/projectSlugAvailabilityResource.zod.js +4 -0
  83. package/dist/account/v1/generated/validators/projectStatus.zod.d.ts +4 -0
  84. package/dist/account/v1/generated/validators/projectStatus.zod.js +4 -0
  85. package/dist/account/v1/generated/validators/projectTraitResource.zod.d.ts +4 -0
  86. package/dist/account/v1/generated/validators/projectTraitResource.zod.js +4 -0
  87. package/dist/account/v1/generated/validators/registerRequestBody.zod.d.ts +4 -0
  88. package/dist/account/v1/generated/validators/registerRequestBody.zod.js +4 -0
  89. package/dist/account/v1/generated/validators/renameSSHKeyRequestBody.zod.d.ts +36 -0
  90. package/dist/account/v1/generated/validators/renameSSHKeyRequestBody.zod.js +34 -0
  91. package/dist/account/v1/generated/validators/requestAccountDeletionParams.zod.d.ts +4 -0
  92. package/dist/account/v1/generated/validators/requestAccountDeletionParams.zod.js +4 -0
  93. package/dist/account/v1/generated/validators/resourceRefResource.zod.d.ts +4 -0
  94. package/dist/account/v1/generated/validators/resourceRefResource.zod.js +4 -0
  95. package/dist/account/v1/generated/validators/ruleResource.zod.d.ts +4 -0
  96. package/dist/account/v1/generated/validators/ruleResource.zod.js +4 -0
  97. package/dist/account/v1/generated/validators/sSHKeyResource.zod.d.ts +44 -0
  98. package/dist/account/v1/generated/validators/sSHKeyResource.zod.js +41 -0
  99. package/dist/account/v1/generated/validators/scopedTokenResponseBody.zod.d.ts +4 -0
  100. package/dist/account/v1/generated/validators/scopedTokenResponseBody.zod.js +4 -0
  101. package/dist/account/v1/generated/validators/searchProjectsRequestBody.zod.d.ts +4 -0
  102. package/dist/account/v1/generated/validators/searchProjectsRequestBody.zod.js +4 -0
  103. package/dist/account/v1/generated/validators/settingsResource.zod.d.ts +4 -0
  104. package/dist/account/v1/generated/validators/settingsResource.zod.js +4 -0
  105. package/dist/account/v1/generated/validators/submitIdentityVerificationRequestBody.zod.d.ts +4 -0
  106. package/dist/account/v1/generated/validators/submitIdentityVerificationRequestBody.zod.js +4 -0
  107. package/dist/account/v1/generated/validators/updateAccountRequestBody.zod.d.ts +4 -0
  108. package/dist/account/v1/generated/validators/updateAccountRequestBody.zod.js +4 -0
  109. package/dist/fleet/v1/generated/functions.d.ts +2 -2
  110. package/dist/fleet/v1/generated/models.d.ts +2 -2
  111. package/dist/fleet/v1/generated/schemas.zod.d.ts +2 -2
  112. package/dist/fleet/v1/generated/schemas.zod.js +2 -2
  113. package/dist/fleet/v1/generated/validators/accountList.zod.d.ts +2 -2
  114. package/dist/fleet/v1/generated/validators/accountList.zod.js +2 -2
  115. package/dist/fleet/v1/generated/validators/accountResource.zod.d.ts +2 -2
  116. package/dist/fleet/v1/generated/validators/accountResource.zod.js +2 -2
  117. package/dist/fleet/v1/generated/validators/approveEnrollmentRequest.zod.d.ts +2 -2
  118. package/dist/fleet/v1/generated/validators/approveEnrollmentRequest.zod.js +2 -2
  119. package/dist/fleet/v1/generated/validators/callMcpToolRequest.zod.d.ts +2 -2
  120. package/dist/fleet/v1/generated/validators/callMcpToolRequest.zod.js +2 -2
  121. package/dist/fleet/v1/generated/validators/callMcpToolResponse.zod.d.ts +2 -2
  122. package/dist/fleet/v1/generated/validators/callMcpToolResponse.zod.js +2 -2
  123. package/dist/fleet/v1/generated/validators/createGroupMemberRequest.zod.d.ts +2 -2
  124. package/dist/fleet/v1/generated/validators/createGroupMemberRequest.zod.js +2 -2
  125. package/dist/fleet/v1/generated/validators/createGroupRequest.zod.d.ts +2 -2
  126. package/dist/fleet/v1/generated/validators/createGroupRequest.zod.js +2 -2
  127. package/dist/fleet/v1/generated/validators/createMachineRegistrationRequest.zod.d.ts +2 -2
  128. package/dist/fleet/v1/generated/validators/createMachineRegistrationRequest.zod.js +2 -2
  129. package/dist/fleet/v1/generated/validators/createMachineRegistrationResponse.zod.d.ts +2 -2
  130. package/dist/fleet/v1/generated/validators/createMachineRegistrationResponse.zod.js +2 -2
  131. package/dist/fleet/v1/generated/validators/createParticipantRequest.zod.d.ts +2 -2
  132. package/dist/fleet/v1/generated/validators/createParticipantRequest.zod.js +2 -2
  133. package/dist/fleet/v1/generated/validators/createParticipantResponse.zod.d.ts +2 -2
  134. package/dist/fleet/v1/generated/validators/createParticipantResponse.zod.js +2 -2
  135. package/dist/fleet/v1/generated/validators/createPeerConnectionCandidatesRequest.zod.d.ts +2 -2
  136. package/dist/fleet/v1/generated/validators/createPeerConnectionCandidatesRequest.zod.js +2 -2
  137. package/dist/fleet/v1/generated/validators/createPeerConnectionRequest.zod.d.ts +2 -2
  138. package/dist/fleet/v1/generated/validators/createPeerConnectionRequest.zod.js +2 -2
  139. package/dist/fleet/v1/generated/validators/createSessionRequest.zod.d.ts +2 -2
  140. package/dist/fleet/v1/generated/validators/createSessionRequest.zod.js +2 -2
  141. package/dist/fleet/v1/generated/validators/cursorPagination.zod.d.ts +2 -2
  142. package/dist/fleet/v1/generated/validators/cursorPagination.zod.js +2 -2
  143. package/dist/fleet/v1/generated/validators/deleteMcpServerParams.zod.d.ts +2 -2
  144. package/dist/fleet/v1/generated/validators/deleteMcpServerParams.zod.js +2 -2
  145. package/dist/fleet/v1/generated/validators/denyPrivilegeRequestRequest.zod.d.ts +2 -2
  146. package/dist/fleet/v1/generated/validators/denyPrivilegeRequestRequest.zod.js +2 -2
  147. package/dist/fleet/v1/generated/validators/desktopOptions.zod.d.ts +2 -2
  148. package/dist/fleet/v1/generated/validators/desktopOptions.zod.js +2 -2
  149. package/dist/fleet/v1/generated/validators/desktopState.zod.d.ts +2 -2
  150. package/dist/fleet/v1/generated/validators/desktopState.zod.js +2 -2
  151. package/dist/fleet/v1/generated/validators/directoryName.zod.d.ts +2 -2
  152. package/dist/fleet/v1/generated/validators/directoryName.zod.js +2 -2
  153. package/dist/fleet/v1/generated/validators/enrollmentResource.zod.d.ts +2 -2
  154. package/dist/fleet/v1/generated/validators/enrollmentResource.zod.js +2 -2
  155. package/dist/fleet/v1/generated/validators/enrollmentState.zod.d.ts +2 -2
  156. package/dist/fleet/v1/generated/validators/enrollmentState.zod.js +2 -2
  157. package/dist/fleet/v1/generated/validators/error.zod.d.ts +2 -2
  158. package/dist/fleet/v1/generated/validators/error.zod.js +2 -2
  159. package/dist/fleet/v1/generated/validators/errorStatus.zod.d.ts +2 -2
  160. package/dist/fleet/v1/generated/validators/errorStatus.zod.js +2 -2
  161. package/dist/fleet/v1/generated/validators/featureState.zod.d.ts +2 -2
  162. package/dist/fleet/v1/generated/validators/featureState.zod.js +2 -2
  163. package/dist/fleet/v1/generated/validators/fieldViolation.zod.d.ts +2 -2
  164. package/dist/fleet/v1/generated/validators/fieldViolation.zod.js +2 -2
  165. package/dist/fleet/v1/generated/validators/findEnrollmentByPairingCodeParams.zod.d.ts +2 -2
  166. package/dist/fleet/v1/generated/validators/findEnrollmentByPairingCodeParams.zod.js +2 -2
  167. package/dist/fleet/v1/generated/validators/findEnrollmentResponse.zod.d.ts +2 -2
  168. package/dist/fleet/v1/generated/validators/findEnrollmentResponse.zod.js +2 -2
  169. package/dist/fleet/v1/generated/validators/groupList.zod.d.ts +2 -2
  170. package/dist/fleet/v1/generated/validators/groupList.zod.js +2 -2
  171. package/dist/fleet/v1/generated/validators/groupResource.zod.d.ts +2 -2
  172. package/dist/fleet/v1/generated/validators/groupResource.zod.js +2 -2
  173. package/dist/fleet/v1/generated/validators/iceCandidate.zod.d.ts +2 -2
  174. package/dist/fleet/v1/generated/validators/iceCandidate.zod.js +2 -2
  175. package/dist/fleet/v1/generated/validators/iceServer.zod.d.ts +2 -2
  176. package/dist/fleet/v1/generated/validators/iceServer.zod.js +2 -2
  177. package/dist/fleet/v1/generated/validators/listAccountsParams.zod.d.ts +2 -2
  178. package/dist/fleet/v1/generated/validators/listAccountsParams.zod.js +2 -2
  179. package/dist/fleet/v1/generated/validators/listGroupMembersParams.zod.d.ts +2 -2
  180. package/dist/fleet/v1/generated/validators/listGroupMembersParams.zod.js +2 -2
  181. package/dist/fleet/v1/generated/validators/listGroupsParams.zod.d.ts +2 -2
  182. package/dist/fleet/v1/generated/validators/listGroupsParams.zod.js +2 -2
  183. package/dist/fleet/v1/generated/validators/listMachineEventsParams.zod.d.ts +2 -2
  184. package/dist/fleet/v1/generated/validators/listMachineEventsParams.zod.js +2 -2
  185. package/dist/fleet/v1/generated/validators/listMachineRegistrationsParams.zod.d.ts +2 -2
  186. package/dist/fleet/v1/generated/validators/listMachineRegistrationsParams.zod.js +2 -2
  187. package/dist/fleet/v1/generated/validators/listMachinesParams.zod.d.ts +2 -2
  188. package/dist/fleet/v1/generated/validators/listMachinesParams.zod.js +2 -2
  189. package/dist/fleet/v1/generated/validators/listMcpToolsParams.zod.d.ts +2 -2
  190. package/dist/fleet/v1/generated/validators/listMcpToolsParams.zod.js +2 -2
  191. package/dist/fleet/v1/generated/validators/listPrivilegeAutoApprovalsParams.zod.d.ts +2 -2
  192. package/dist/fleet/v1/generated/validators/listPrivilegeAutoApprovalsParams.zod.js +2 -2
  193. package/dist/fleet/v1/generated/validators/listPrivilegeRequestsParams.zod.d.ts +2 -2
  194. package/dist/fleet/v1/generated/validators/listPrivilegeRequestsParams.zod.js +2 -2
  195. package/dist/fleet/v1/generated/validators/listSessionsParams.zod.d.ts +2 -2
  196. package/dist/fleet/v1/generated/validators/listSessionsParams.zod.js +2 -2
  197. package/dist/fleet/v1/generated/validators/machineEventList.zod.d.ts +2 -2
  198. package/dist/fleet/v1/generated/validators/machineEventList.zod.js +2 -2
  199. package/dist/fleet/v1/generated/validators/machineEventResource.zod.d.ts +2 -2
  200. package/dist/fleet/v1/generated/validators/machineEventResource.zod.js +2 -2
  201. package/dist/fleet/v1/generated/validators/machineEventType.zod.d.ts +2 -2
  202. package/dist/fleet/v1/generated/validators/machineEventType.zod.js +2 -2
  203. package/dist/fleet/v1/generated/validators/machineFeature.zod.d.ts +2 -2
  204. package/dist/fleet/v1/generated/validators/machineFeature.zod.js +2 -2
  205. package/dist/fleet/v1/generated/validators/machineList.zod.d.ts +2 -2
  206. package/dist/fleet/v1/generated/validators/machineList.zod.js +2 -2
  207. package/dist/fleet/v1/generated/validators/machineRegistrationList.zod.d.ts +2 -2
  208. package/dist/fleet/v1/generated/validators/machineRegistrationList.zod.js +2 -2
  209. package/dist/fleet/v1/generated/validators/machineRegistrationResource.zod.d.ts +2 -2
  210. package/dist/fleet/v1/generated/validators/machineRegistrationResource.zod.js +2 -2
  211. package/dist/fleet/v1/generated/validators/machineRegistrationState.zod.d.ts +2 -2
  212. package/dist/fleet/v1/generated/validators/machineRegistrationState.zod.js +2 -2
  213. package/dist/fleet/v1/generated/validators/machineResource.zod.d.ts +2 -2
  214. package/dist/fleet/v1/generated/validators/machineResource.zod.js +2 -2
  215. package/dist/fleet/v1/generated/validators/mcpConfigurationFile.zod.d.ts +2 -2
  216. package/dist/fleet/v1/generated/validators/mcpConfigurationFile.zod.js +2 -2
  217. package/dist/fleet/v1/generated/validators/mcpConfigurationResource.zod.d.ts +2 -2
  218. package/dist/fleet/v1/generated/validators/mcpConfigurationResource.zod.js +2 -2
  219. package/dist/fleet/v1/generated/validators/mcpImplementation.zod.d.ts +2 -2
  220. package/dist/fleet/v1/generated/validators/mcpImplementation.zod.js +2 -2
  221. package/dist/fleet/v1/generated/validators/mcpServerFailure.zod.d.ts +2 -2
  222. package/dist/fleet/v1/generated/validators/mcpServerFailure.zod.js +2 -2
  223. package/dist/fleet/v1/generated/validators/mcpServerResource.zod.d.ts +2 -2
  224. package/dist/fleet/v1/generated/validators/mcpServerResource.zod.js +2 -2
  225. package/dist/fleet/v1/generated/validators/mcpToolList.zod.d.ts +2 -2
  226. package/dist/fleet/v1/generated/validators/mcpToolList.zod.js +2 -2
  227. package/dist/fleet/v1/generated/validators/mcpToolResource.zod.d.ts +2 -2
  228. package/dist/fleet/v1/generated/validators/mcpToolResource.zod.js +2 -2
  229. package/dist/fleet/v1/generated/validators/mcpTransport.zod.d.ts +2 -2
  230. package/dist/fleet/v1/generated/validators/mcpTransport.zod.js +2 -2
  231. package/dist/fleet/v1/generated/validators/mcpUnavailableServer.zod.d.ts +2 -2
  232. package/dist/fleet/v1/generated/validators/mcpUnavailableServer.zod.js +2 -2
  233. package/dist/fleet/v1/generated/validators/migrationStep.zod.d.ts +2 -2
  234. package/dist/fleet/v1/generated/validators/migrationStep.zod.js +2 -2
  235. package/dist/fleet/v1/generated/validators/namedIdentity.zod.d.ts +2 -2
  236. package/dist/fleet/v1/generated/validators/namedIdentity.zod.js +2 -2
  237. package/dist/fleet/v1/generated/validators/offsetPagination.zod.d.ts +2 -2
  238. package/dist/fleet/v1/generated/validators/offsetPagination.zod.js +2 -2
  239. package/dist/fleet/v1/generated/validators/operatingSystem.zod.d.ts +2 -2
  240. package/dist/fleet/v1/generated/validators/operatingSystem.zod.js +2 -2
  241. package/dist/fleet/v1/generated/validators/participantList.zod.d.ts +2 -2
  242. package/dist/fleet/v1/generated/validators/participantList.zod.js +2 -2
  243. package/dist/fleet/v1/generated/validators/participantResource.zod.d.ts +2 -2
  244. package/dist/fleet/v1/generated/validators/participantResource.zod.js +2 -2
  245. package/dist/fleet/v1/generated/validators/peerConnection.zod.d.ts +2 -2
  246. package/dist/fleet/v1/generated/validators/peerConnection.zod.js +2 -2
  247. package/dist/fleet/v1/generated/validators/privilegeAutoApprovalList.zod.d.ts +2 -2
  248. package/dist/fleet/v1/generated/validators/privilegeAutoApprovalList.zod.js +2 -2
  249. package/dist/fleet/v1/generated/validators/privilegeAutoApprovalMode.zod.d.ts +2 -2
  250. package/dist/fleet/v1/generated/validators/privilegeAutoApprovalMode.zod.js +2 -2
  251. package/dist/fleet/v1/generated/validators/privilegeAutoApprovalResource.zod.d.ts +2 -2
  252. package/dist/fleet/v1/generated/validators/privilegeAutoApprovalResource.zod.js +2 -2
  253. package/dist/fleet/v1/generated/validators/privilegeDecider.zod.d.ts +2 -2
  254. package/dist/fleet/v1/generated/validators/privilegeDecider.zod.js +2 -2
  255. package/dist/fleet/v1/generated/validators/privilegeRequestList.zod.d.ts +2 -2
  256. package/dist/fleet/v1/generated/validators/privilegeRequestList.zod.js +2 -2
  257. package/dist/fleet/v1/generated/validators/privilegeRequestResource.zod.d.ts +2 -2
  258. package/dist/fleet/v1/generated/validators/privilegeRequestResource.zod.js +2 -2
  259. package/dist/fleet/v1/generated/validators/privilegeRequestState.zod.d.ts +2 -2
  260. package/dist/fleet/v1/generated/validators/privilegeRequestState.zod.js +2 -2
  261. package/dist/fleet/v1/generated/validators/publicKey.zod.d.ts +2 -2
  262. package/dist/fleet/v1/generated/validators/publicKey.zod.js +2 -2
  263. package/dist/fleet/v1/generated/validators/renewParticipantRequest.zod.d.ts +2 -2
  264. package/dist/fleet/v1/generated/validators/renewParticipantRequest.zod.js +2 -2
  265. package/dist/fleet/v1/generated/validators/renewParticipantResponse.zod.d.ts +2 -2
  266. package/dist/fleet/v1/generated/validators/renewParticipantResponse.zod.js +2 -2
  267. package/dist/fleet/v1/generated/validators/replaceMcpConfigurationRequest.zod.d.ts +2 -2
  268. package/dist/fleet/v1/generated/validators/replaceMcpConfigurationRequest.zod.js +2 -2
  269. package/dist/fleet/v1/generated/validators/rtcConfiguration.zod.d.ts +2 -2
  270. package/dist/fleet/v1/generated/validators/rtcConfiguration.zod.js +2 -2
  271. package/dist/fleet/v1/generated/validators/runCommandRequest.zod.d.ts +2 -2
  272. package/dist/fleet/v1/generated/validators/runCommandRequest.zod.js +2 -2
  273. package/dist/fleet/v1/generated/validators/runCommandResponse.zod.d.ts +2 -2
  274. package/dist/fleet/v1/generated/validators/runCommandResponse.zod.js +2 -2
  275. package/dist/fleet/v1/generated/validators/sendMcpRequestRequest.zod.d.ts +2 -2
  276. package/dist/fleet/v1/generated/validators/sendMcpRequestRequest.zod.js +2 -2
  277. package/dist/fleet/v1/generated/validators/sendMcpRequestResponse.zod.d.ts +2 -2
  278. package/dist/fleet/v1/generated/validators/sendMcpRequestResponse.zod.js +2 -2
  279. package/dist/fleet/v1/generated/validators/sessionCloseReason.zod.d.ts +2 -2
  280. package/dist/fleet/v1/generated/validators/sessionCloseReason.zod.js +2 -2
  281. package/dist/fleet/v1/generated/validators/sessionList.zod.d.ts +2 -2
  282. package/dist/fleet/v1/generated/validators/sessionList.zod.js +2 -2
  283. package/dist/fleet/v1/generated/validators/sessionMode.zod.d.ts +2 -2
  284. package/dist/fleet/v1/generated/validators/sessionMode.zod.js +2 -2
  285. package/dist/fleet/v1/generated/validators/sessionResource.zod.d.ts +2 -2
  286. package/dist/fleet/v1/generated/validators/sessionResource.zod.js +2 -2
  287. package/dist/fleet/v1/generated/validators/sessionState.zod.d.ts +2 -2
  288. package/dist/fleet/v1/generated/validators/sessionState.zod.js +2 -2
  289. package/dist/fleet/v1/generated/validators/signedMessage.zod.d.ts +2 -2
  290. package/dist/fleet/v1/generated/validators/signedMessage.zod.js +2 -2
  291. package/dist/fleet/v1/generated/validators/signingKey.zod.d.ts +2 -2
  292. package/dist/fleet/v1/generated/validators/signingKey.zod.js +2 -2
  293. package/dist/fleet/v1/generated/validators/updateAccountRequest.zod.d.ts +2 -2
  294. package/dist/fleet/v1/generated/validators/updateAccountRequest.zod.js +2 -2
  295. package/dist/fleet/v1/generated/validators/updateGroupRequest.zod.d.ts +2 -2
  296. package/dist/fleet/v1/generated/validators/updateGroupRequest.zod.js +2 -2
  297. package/dist/fleet/v1/generated/validators/updateMachineRequest.zod.d.ts +2 -2
  298. package/dist/fleet/v1/generated/validators/updateMachineRequest.zod.js +2 -2
  299. package/dist/fleet/v1/generated/validators/updateMcpServerRequest.zod.d.ts +2 -2
  300. package/dist/fleet/v1/generated/validators/updateMcpServerRequest.zod.js +2 -2
  301. package/dist/fleet/v1/generated/validators/updateMcpServerResponse.zod.d.ts +2 -2
  302. package/dist/fleet/v1/generated/validators/updateMcpServerResponse.zod.js +2 -2
  303. package/dist/fleet/v1/generated/validators/updatePrivilegeAutoApprovalRequest.zod.d.ts +2 -2
  304. package/dist/fleet/v1/generated/validators/updatePrivilegeAutoApprovalRequest.zod.js +2 -2
  305. package/dist/iam/v1/generated/functions.d.ts +8 -6
  306. package/dist/iam/v1/generated/functions.js +7 -5
  307. package/dist/iam/v1/generated/models.d.ts +1 -13
  308. package/dist/iam/v1/generated/models.js +0 -4
  309. package/dist/iam/v1/generated/schemas.zod.d.ts +8 -10
  310. package/dist/iam/v1/generated/schemas.zod.js +8 -6
  311. package/dist/iam/v1/generated/validators/applicationResource.zod.d.ts +1 -1
  312. package/dist/iam/v1/generated/validators/applicationResource.zod.js +1 -1
  313. package/dist/iam/v1/generated/validators/attachPolicyRequestBody.zod.d.ts +1 -1
  314. package/dist/iam/v1/generated/validators/attachPolicyRequestBody.zod.js +1 -1
  315. package/dist/iam/v1/generated/validators/batchGetMembersRequestBody.zod.d.ts +1 -1
  316. package/dist/iam/v1/generated/validators/batchGetMembersRequestBody.zod.js +1 -1
  317. package/dist/iam/v1/generated/validators/batchGetMembersResponseBody.zod.d.ts +1 -1
  318. package/dist/iam/v1/generated/validators/batchGetMembersResponseBody.zod.js +1 -1
  319. package/dist/iam/v1/generated/validators/catalogListResponseBody.zod.d.ts +1 -1
  320. package/dist/iam/v1/generated/validators/catalogListResponseBody.zod.js +1 -1
  321. package/dist/iam/v1/generated/validators/catalogResource.zod.d.ts +1 -1
  322. package/dist/iam/v1/generated/validators/catalogResource.zod.js +1 -1
  323. package/dist/iam/v1/generated/validators/createApplicationRequestBody.zod.d.ts +1 -1
  324. package/dist/iam/v1/generated/validators/createApplicationRequestBody.zod.js +1 -1
  325. package/dist/iam/v1/generated/validators/createApplicationResponseBody.zod.d.ts +1 -1
  326. package/dist/iam/v1/generated/validators/createApplicationResponseBody.zod.js +1 -1
  327. package/dist/iam/v1/generated/validators/createRoleRequestBody.zod.d.ts +1 -1
  328. package/dist/iam/v1/generated/validators/createRoleRequestBody.zod.js +1 -1
  329. package/dist/iam/v1/generated/validators/createSSHKeyRequestBody.zod.d.ts +1 -6
  330. package/dist/iam/v1/generated/validators/createSSHKeyRequestBody.zod.js +1 -6
  331. package/dist/iam/v1/generated/validators/cursorPagination.zod.d.ts +1 -1
  332. package/dist/iam/v1/generated/validators/cursorPagination.zod.js +1 -1
  333. package/dist/iam/v1/generated/validators/error.zod.d.ts +1 -1
  334. package/dist/iam/v1/generated/validators/error.zod.js +1 -1
  335. package/dist/iam/v1/generated/validators/errorStatus.zod.d.ts +1 -1
  336. package/dist/iam/v1/generated/validators/errorStatus.zod.js +1 -1
  337. package/dist/iam/v1/generated/validators/fieldViolation.zod.d.ts +1 -1
  338. package/dist/iam/v1/generated/validators/fieldViolation.zod.js +1 -1
  339. package/dist/iam/v1/generated/validators/grantResource.zod.d.ts +1 -1
  340. package/dist/iam/v1/generated/validators/grantResource.zod.js +1 -1
  341. package/dist/iam/v1/generated/validators/invitationResource.zod.d.ts +1 -1
  342. package/dist/iam/v1/generated/validators/invitationResource.zod.js +1 -1
  343. package/dist/iam/v1/generated/validators/issueInvitationRequestBody.zod.d.ts +1 -1
  344. package/dist/iam/v1/generated/validators/issueInvitationRequestBody.zod.js +1 -1
  345. package/dist/iam/v1/generated/validators/issuedInvitationResponseBody.zod.d.ts +1 -1
  346. package/dist/iam/v1/generated/validators/issuedInvitationResponseBody.zod.js +1 -1
  347. package/dist/iam/v1/generated/validators/lengthAwarePageApplicationResource.zod.d.ts +1 -1
  348. package/dist/iam/v1/generated/validators/lengthAwarePageApplicationResource.zod.js +1 -1
  349. package/dist/iam/v1/generated/validators/lengthAwarePageInvitationResource.zod.d.ts +1 -1
  350. package/dist/iam/v1/generated/validators/lengthAwarePageInvitationResource.zod.js +1 -1
  351. package/dist/iam/v1/generated/validators/lengthAwarePageMemberResource.zod.d.ts +1 -1
  352. package/dist/iam/v1/generated/validators/lengthAwarePageMemberResource.zod.js +1 -1
  353. package/dist/iam/v1/generated/validators/lengthAwarePageSSHKeyResource.zod.d.ts +1 -2
  354. package/dist/iam/v1/generated/validators/lengthAwarePageSSHKeyResource.zod.js +1 -1
  355. package/dist/iam/v1/generated/validators/listApplicationsParams.zod.d.ts +1 -1
  356. package/dist/iam/v1/generated/validators/listApplicationsParams.zod.js +1 -1
  357. package/dist/iam/v1/generated/validators/listMembersParams.zod.d.ts +1 -1
  358. package/dist/iam/v1/generated/validators/listMembersParams.zod.js +1 -1
  359. package/dist/iam/v1/generated/validators/listPoliciesParams.zod.d.ts +1 -1
  360. package/dist/iam/v1/generated/validators/listPoliciesParams.zod.js +1 -1
  361. package/dist/iam/v1/generated/validators/listProjectInvitationsParams.zod.d.ts +1 -1
  362. package/dist/iam/v1/generated/validators/listProjectInvitationsParams.zod.js +1 -1
  363. package/dist/iam/v1/generated/validators/listSshKeysParams.zod.d.ts +1 -1
  364. package/dist/iam/v1/generated/validators/listSshKeysParams.zod.js +1 -1
  365. package/dist/iam/v1/generated/validators/memberResource.zod.d.ts +1 -1
  366. package/dist/iam/v1/generated/validators/memberResource.zod.js +1 -1
  367. package/dist/iam/v1/generated/validators/membershipResource.zod.d.ts +1 -1
  368. package/dist/iam/v1/generated/validators/membershipResource.zod.js +1 -1
  369. package/dist/iam/v1/generated/validators/offsetPagination.zod.d.ts +1 -1
  370. package/dist/iam/v1/generated/validators/offsetPagination.zod.js +1 -1
  371. package/dist/iam/v1/generated/validators/ownershipTransferResponseBody.zod.d.ts +1 -1
  372. package/dist/iam/v1/generated/validators/ownershipTransferResponseBody.zod.js +1 -1
  373. package/dist/iam/v1/generated/validators/permissionResource.zod.d.ts +1 -1
  374. package/dist/iam/v1/generated/validators/permissionResource.zod.js +1 -1
  375. package/dist/iam/v1/generated/validators/policyListResponseBody.zod.d.ts +1 -1
  376. package/dist/iam/v1/generated/validators/policyListResponseBody.zod.js +1 -1
  377. package/dist/iam/v1/generated/validators/policyResource.zod.d.ts +1 -1
  378. package/dist/iam/v1/generated/validators/policyResource.zod.js +1 -1
  379. package/dist/iam/v1/generated/validators/projectAccessResource.zod.d.ts +1 -1
  380. package/dist/iam/v1/generated/validators/projectAccessResource.zod.js +1 -1
  381. package/dist/iam/v1/generated/validators/projectResource.zod.d.ts +1 -1
  382. package/dist/iam/v1/generated/validators/projectResource.zod.js +1 -1
  383. package/dist/iam/v1/generated/validators/projectTraitResource.zod.d.ts +1 -1
  384. package/dist/iam/v1/generated/validators/projectTraitResource.zod.js +1 -1
  385. package/dist/iam/v1/generated/validators/quotaListResponseBody.zod.d.ts +1 -1
  386. package/dist/iam/v1/generated/validators/quotaListResponseBody.zod.js +1 -1
  387. package/dist/iam/v1/generated/validators/quotaResource.zod.d.ts +1 -1
  388. package/dist/iam/v1/generated/validators/quotaResource.zod.js +1 -1
  389. package/dist/iam/v1/generated/validators/renameSSHKeyRequestBody.zod.d.ts +1 -1
  390. package/dist/iam/v1/generated/validators/renameSSHKeyRequestBody.zod.js +1 -1
  391. package/dist/iam/v1/generated/validators/resolvedMemberResource.zod.d.ts +1 -1
  392. package/dist/iam/v1/generated/validators/resolvedMemberResource.zod.js +1 -1
  393. package/dist/iam/v1/generated/validators/resourceRefResource.zod.d.ts +1 -1
  394. package/dist/iam/v1/generated/validators/resourceRefResource.zod.js +1 -1
  395. package/dist/iam/v1/generated/validators/resourceTypeResource.zod.d.ts +1 -1
  396. package/dist/iam/v1/generated/validators/resourceTypeResource.zod.js +1 -1
  397. package/dist/iam/v1/generated/validators/roleListResponseBody.zod.d.ts +1 -1
  398. package/dist/iam/v1/generated/validators/roleListResponseBody.zod.js +1 -1
  399. package/dist/iam/v1/generated/validators/roleResource.zod.d.ts +1 -1
  400. package/dist/iam/v1/generated/validators/roleResource.zod.js +1 -1
  401. package/dist/iam/v1/generated/validators/rotateApplicationSecretResponseBody.zod.d.ts +1 -1
  402. package/dist/iam/v1/generated/validators/rotateApplicationSecretResponseBody.zod.js +1 -1
  403. package/dist/iam/v1/generated/validators/ruleResource.zod.d.ts +1 -1
  404. package/dist/iam/v1/generated/validators/ruleResource.zod.js +1 -1
  405. package/dist/iam/v1/generated/validators/sSHKeyResource.zod.d.ts +1 -2
  406. package/dist/iam/v1/generated/validators/sSHKeyResource.zod.js +1 -5
  407. package/dist/iam/v1/generated/validators/setMemberPermissionsRequestBody.zod.d.ts +1 -1
  408. package/dist/iam/v1/generated/validators/setMemberPermissionsRequestBody.zod.js +1 -1
  409. package/dist/iam/v1/generated/validators/setMemberRolesRequestBody.zod.d.ts +1 -1
  410. package/dist/iam/v1/generated/validators/setMemberRolesRequestBody.zod.js +1 -1
  411. package/dist/iam/v1/generated/validators/setProjectSlugRequestBody.zod.d.ts +1 -1
  412. package/dist/iam/v1/generated/validators/setProjectSlugRequestBody.zod.js +1 -1
  413. package/dist/iam/v1/generated/validators/transferOwnershipRequestBody.zod.d.ts +1 -1
  414. package/dist/iam/v1/generated/validators/transferOwnershipRequestBody.zod.js +1 -1
  415. package/dist/iam/v1/generated/validators/updateApplicationRequestBody.zod.d.ts +1 -1
  416. package/dist/iam/v1/generated/validators/updateApplicationRequestBody.zod.js +1 -1
  417. package/dist/iam/v1/generated/validators/updatePolicyRequestBody.zod.d.ts +1 -1
  418. package/dist/iam/v1/generated/validators/updatePolicyRequestBody.zod.js +1 -1
  419. package/dist/iam/v1/generated/validators/updateProjectRequestBody.zod.d.ts +1 -1
  420. package/dist/iam/v1/generated/validators/updateProjectRequestBody.zod.js +1 -1
  421. package/dist/iam/v1/generated/validators/updateRoleRequestBody.zod.d.ts +1 -1
  422. package/dist/iam/v1/generated/validators/updateRoleRequestBody.zod.js +1 -1
  423. package/dist/routes.d.ts +40 -0
  424. package/dist/routes.js +45 -0
  425. package/package.json +1 -1
@@ -16,6 +16,10 @@
16
16
  *
17
17
  * A scoped token cannot be renewed. Repeat step 2 for a new one, and sign in again at auth.leaflow.net once the access token itself has expired.
18
18
  *
19
+ * ## SSH keys
20
+ *
21
+ * The SSH keys of an account belong to its holder rather than to any project, and a key is active on one account at most. Keys shared by a project, such as one used by CI, belong to the project instead and are managed through the IAM API.
22
+ *
19
23
  * ## Project slugs
20
24
  *
21
25
  * Every project carries a `slug`, the label naming it in its address. Until a custom slug is chosen the slug is the project's `id`, and the address under the `id` keeps working after a custom slug is chosen. `GET /account/v1/projects/by-slug/{slug}` finds the project named by either label.
@@ -23,7 +27,7 @@
23
27
  * Looking up slugs and claiming custom slugs are rate limited per account. A request over the limit fails with 429, and `meta.retry_after_seconds` on the error states how many seconds to wait before retrying.
24
28
  * OpenAPI spec version: 1.0.0
25
29
  */
26
- import type { AcceptConsentsRequestBody, AcceptInvitationByTokenRequestBody, AcceptedInvitationResponseBody, AccountDeletionResource, AccountResource, AgreementListResponseBody, ConsentListResponseBody, CreateProjectRequestBody, Error, IdentityVerificationResource, InvitationPreviewResource, LengthAwarePageInvitationResource, LengthAwarePageProjectAccessResource, ListMyInvitationsParams, ListProjectsParams, LocaleOptionsResource, PreviewInvitationByTokenParams, ProjectAccessList, ProjectAccessResource, ProjectSlugAvailabilityResource, RegisterRequestBody, RequestAccountDeletionParams, ScopedTokenResponseBody, SearchProjectsRequestBody, SettingsResource, SubmitIdentityVerificationRequestBody, UpdateAccountRequestBody } from "./models.js";
30
+ import type { AcceptConsentsRequestBody, AcceptInvitationByTokenRequestBody, AcceptedInvitationResponseBody, AccountDeletionResource, AccountResource, AgreementListResponseBody, ConsentListResponseBody, CreateProjectRequestBody, CreateSSHKeyRequestBody, Error, IdentityVerificationResource, InvitationPreviewResource, LengthAwarePageInvitationResource, LengthAwarePageProjectAccessResource, LengthAwarePageSSHKeyResource, ListMyInvitationsParams, ListProjectsParams, ListSshKeysParams, LocaleOptionsResource, PreviewInvitationByTokenParams, ProjectAccessList, ProjectAccessResource, ProjectSlugAvailabilityResource, RegisterRequestBody, RenameSSHKeyRequestBody, RequestAccountDeletionParams, SSHKeyResource, ScopedTokenResponseBody, SearchProjectsRequestBody, SettingsResource, SubmitIdentityVerificationRequestBody, UpdateAccountRequestBody } from "./models.js";
27
31
  export type HTTPStatusCode1xx = 100 | 101 | 102 | 103;
28
32
  export type HTTPStatusCode2xx = 200 | 201 | 202 | 203 | 204 | 205 | 206 | 207;
29
33
  export type HTTPStatusCode3xx = 300 | 301 | 302 | 303 | 304 | 305 | 307 | 308;
@@ -328,6 +332,112 @@ export declare const getSubmitIdentityVerificationUrl: () => string;
328
332
  * @summary Submit identity verification
329
333
  */
330
334
  export declare const submitIdentityVerification: (submitIdentityVerificationRequestBody: SubmitIdentityVerificationRequestBody, options?: RequestInit, fetchFn?: typeof globalThis.fetch) => Promise<submitIdentityVerificationResponse>;
335
+ export type listSshKeysResponse200 = {
336
+ data: LengthAwarePageSSHKeyResource;
337
+ status: 200;
338
+ };
339
+ export type listSshKeysResponseDefault = {
340
+ data: Error;
341
+ status: Exclude<HTTPStatusCodes, 200>;
342
+ };
343
+ export type listSshKeysResponseSuccess = listSshKeysResponse200 & {
344
+ headers: Headers;
345
+ };
346
+ export type listSshKeysResponseError = listSshKeysResponseDefault & {
347
+ headers: Headers;
348
+ };
349
+ export type listSshKeysResponse = listSshKeysResponseSuccess | listSshKeysResponseError;
350
+ export declare const getListSshKeysUrl: (params?: ListSshKeysParams) => string;
351
+ /**
352
+ * Most recent first.
353
+ * @summary List the SSH keys of the current account
354
+ */
355
+ export declare const listSshKeys: (params?: ListSshKeysParams, options?: RequestInit, fetchFn?: typeof globalThis.fetch) => Promise<listSshKeysResponse>;
356
+ export type createSshKeyResponse201 = {
357
+ data: SSHKeyResource;
358
+ status: 201;
359
+ };
360
+ export type createSshKeyResponseDefault = {
361
+ data: Error;
362
+ status: Exclude<HTTPStatusCodes, 201>;
363
+ };
364
+ export type createSshKeyResponseSuccess = createSshKeyResponse201 & {
365
+ headers: Headers;
366
+ };
367
+ export type createSshKeyResponseError = createSshKeyResponseDefault & {
368
+ headers: Headers;
369
+ };
370
+ export type createSshKeyResponse = createSshKeyResponseSuccess | createSshKeyResponseError;
371
+ export declare const getCreateSshKeyUrl: () => string;
372
+ /**
373
+ * Fails with 409 `SSH_KEY_ALREADY_EXISTS` while the same key is active on any account, this one included, and with 412 `SSH_KEY_QUOTA_EXCEEDED` while the account already holds 50 active keys.
374
+ * @summary Add an SSH key to the current account
375
+ */
376
+ export declare const createSshKey: (createSSHKeyRequestBody: CreateSSHKeyRequestBody, options?: RequestInit, fetchFn?: typeof globalThis.fetch) => Promise<createSshKeyResponse>;
377
+ export type getSshKeyResponse200 = {
378
+ data: SSHKeyResource;
379
+ status: 200;
380
+ };
381
+ export type getSshKeyResponseDefault = {
382
+ data: Error;
383
+ status: Exclude<HTTPStatusCodes, 200>;
384
+ };
385
+ export type getSshKeyResponseSuccess = getSshKeyResponse200 & {
386
+ headers: Headers;
387
+ };
388
+ export type getSshKeyResponseError = getSshKeyResponseDefault & {
389
+ headers: Headers;
390
+ };
391
+ export type getSshKeyResponse = getSshKeyResponseSuccess | getSshKeyResponseError;
392
+ export declare const getGetSshKeyUrl: (keyId: string) => string;
393
+ /**
394
+ * @summary Get an SSH key of the current account
395
+ */
396
+ export declare const getSshKey: (keyId: string, options?: RequestInit, fetchFn?: typeof globalThis.fetch) => Promise<getSshKeyResponse>;
397
+ export type renameSshKeyResponse200 = {
398
+ data: SSHKeyResource;
399
+ status: 200;
400
+ };
401
+ export type renameSshKeyResponseDefault = {
402
+ data: Error;
403
+ status: Exclude<HTTPStatusCodes, 200>;
404
+ };
405
+ export type renameSshKeyResponseSuccess = renameSshKeyResponse200 & {
406
+ headers: Headers;
407
+ };
408
+ export type renameSshKeyResponseError = renameSshKeyResponseDefault & {
409
+ headers: Headers;
410
+ };
411
+ export type renameSshKeyResponse = renameSshKeyResponseSuccess | renameSshKeyResponseError;
412
+ export declare const getRenameSshKeyUrl: (keyId: string) => string;
413
+ /**
414
+ * Only the name can change. The key, its type and its fingerprint are three statements about one thing, and changing one of them would leave the row describing a key that does not exist.
415
+ * @summary Rename an SSH key of the current account
416
+ */
417
+ export declare const renameSshKey: (keyId: string, renameSSHKeyRequestBody: RenameSSHKeyRequestBody, options?: RequestInit, fetchFn?: typeof globalThis.fetch) => Promise<renameSshKeyResponse>;
418
+ export type revokeSshKeyResponse200 = {
419
+ data: SSHKeyResource;
420
+ status: 200;
421
+ };
422
+ export type revokeSshKeyResponseDefault = {
423
+ data: Error;
424
+ status: Exclude<HTTPStatusCodes, 200>;
425
+ };
426
+ export type revokeSshKeyResponseSuccess = revokeSshKeyResponse200 & {
427
+ headers: Headers;
428
+ };
429
+ export type revokeSshKeyResponseError = revokeSshKeyResponseDefault & {
430
+ headers: Headers;
431
+ };
432
+ export type revokeSshKeyResponse = revokeSshKeyResponseSuccess | revokeSshKeyResponseError;
433
+ export declare const getRevokeSshKeyUrl: (keyId: string) => string;
434
+ /**
435
+ * The row remains and its status becomes `REVOKED`, so it stays answerable afterwards which key was trusted at the time.
436
+ *
437
+ * The same key can then be added again, to this account or another.
438
+ * @summary Revoke an SSH key of the current account
439
+ */
440
+ export declare const revokeSshKey: (keyId: string, options?: RequestInit, fetchFn?: typeof globalThis.fetch) => Promise<revokeSshKeyResponse>;
331
441
  export type listMyInvitationsResponse200 = {
332
442
  data: LengthAwarePageInvitationResource;
333
443
  status: 200;
@@ -308,6 +308,130 @@ export const submitIdentityVerification = async (submitIdentityVerificationReque
308
308
  const data = body ? JSON.parse(body) : {};
309
309
  return { data, status: res.status, headers: res.headers };
310
310
  };
311
+ export const getListSshKeysUrl = (params) => {
312
+ const normalizedParams = new URLSearchParams();
313
+ Object.entries(params || {}).forEach(([key, value]) => {
314
+ if (value !== undefined) {
315
+ normalizedParams.append(key, value === null ? "null" : String(value));
316
+ }
317
+ });
318
+ const stringifiedParams = normalizedParams.toString();
319
+ return stringifiedParams.length > 0
320
+ ? `https://account.leaflow.cloud/account/v1/me/ssh-keys?${stringifiedParams}`
321
+ : `https://account.leaflow.cloud/account/v1/me/ssh-keys`;
322
+ };
323
+ /**
324
+ * Most recent first.
325
+ * @summary List the SSH keys of the current account
326
+ */
327
+ export const listSshKeys = async (params, options, fetchFn) => {
328
+ const res = await (fetchFn ?? fetch)(getListSshKeysUrl(params), {
329
+ ...options,
330
+ method: "GET",
331
+ });
332
+ const body = [204, 205, 304].includes(res.status) ? null : await res.text();
333
+ const data = body ? JSON.parse(body) : {};
334
+ return { data, status: res.status, headers: res.headers };
335
+ };
336
+ export const getCreateSshKeyUrl = () => {
337
+ return `https://account.leaflow.cloud/account/v1/me/ssh-keys`;
338
+ };
339
+ /**
340
+ * Fails with 409 `SSH_KEY_ALREADY_EXISTS` while the same key is active on any account, this one included, and with 412 `SSH_KEY_QUOTA_EXCEEDED` while the account already holds 50 active keys.
341
+ * @summary Add an SSH key to the current account
342
+ */
343
+ export const createSshKey = async (createSSHKeyRequestBody, options, fetchFn) => {
344
+ const getHeaders = (h) => {
345
+ if (!h)
346
+ return {};
347
+ if (h instanceof Headers)
348
+ return Object.fromEntries(h.entries());
349
+ if (Symbol.iterator in h) {
350
+ return Object.fromEntries(Array.from(h, (entry) => Array.from(entry)));
351
+ }
352
+ const headers = {};
353
+ for (const [name, value] of Object.entries(h)) {
354
+ if (value !== undefined)
355
+ headers[name] = value;
356
+ }
357
+ return headers;
358
+ };
359
+ const res = await (fetchFn ?? fetch)(getCreateSshKeyUrl(), {
360
+ ...options,
361
+ method: "POST",
362
+ headers: { "Content-Type": "application/json", ...getHeaders(options?.headers) },
363
+ body: JSON.stringify(createSSHKeyRequestBody),
364
+ });
365
+ const body = [204, 205, 304].includes(res.status) ? null : await res.text();
366
+ const data = body ? JSON.parse(body) : {};
367
+ return { data, status: res.status, headers: res.headers };
368
+ };
369
+ export const getGetSshKeyUrl = (keyId) => {
370
+ return `https://account.leaflow.cloud/account/v1/me/ssh-keys/${encodeURIComponent(String(keyId))}`;
371
+ };
372
+ /**
373
+ * @summary Get an SSH key of the current account
374
+ */
375
+ export const getSshKey = async (keyId, options, fetchFn) => {
376
+ const res = await (fetchFn ?? fetch)(getGetSshKeyUrl(keyId), {
377
+ ...options,
378
+ method: "GET",
379
+ });
380
+ const body = [204, 205, 304].includes(res.status) ? null : await res.text();
381
+ const data = body ? JSON.parse(body) : {};
382
+ return { data, status: res.status, headers: res.headers };
383
+ };
384
+ export const getRenameSshKeyUrl = (keyId) => {
385
+ return `https://account.leaflow.cloud/account/v1/me/ssh-keys/${encodeURIComponent(String(keyId))}`;
386
+ };
387
+ /**
388
+ * Only the name can change. The key, its type and its fingerprint are three statements about one thing, and changing one of them would leave the row describing a key that does not exist.
389
+ * @summary Rename an SSH key of the current account
390
+ */
391
+ export const renameSshKey = async (keyId, renameSSHKeyRequestBody, options, fetchFn) => {
392
+ const getHeaders = (h) => {
393
+ if (!h)
394
+ return {};
395
+ if (h instanceof Headers)
396
+ return Object.fromEntries(h.entries());
397
+ if (Symbol.iterator in h) {
398
+ return Object.fromEntries(Array.from(h, (entry) => Array.from(entry)));
399
+ }
400
+ const headers = {};
401
+ for (const [name, value] of Object.entries(h)) {
402
+ if (value !== undefined)
403
+ headers[name] = value;
404
+ }
405
+ return headers;
406
+ };
407
+ const res = await (fetchFn ?? fetch)(getRenameSshKeyUrl(keyId), {
408
+ ...options,
409
+ method: "PATCH",
410
+ headers: { "Content-Type": "application/json", ...getHeaders(options?.headers) },
411
+ body: JSON.stringify(renameSSHKeyRequestBody),
412
+ });
413
+ const body = [204, 205, 304].includes(res.status) ? null : await res.text();
414
+ const data = body ? JSON.parse(body) : {};
415
+ return { data, status: res.status, headers: res.headers };
416
+ };
417
+ export const getRevokeSshKeyUrl = (keyId) => {
418
+ return `https://account.leaflow.cloud/account/v1/me/ssh-keys/${encodeURIComponent(String(keyId))}`;
419
+ };
420
+ /**
421
+ * The row remains and its status becomes `REVOKED`, so it stays answerable afterwards which key was trusted at the time.
422
+ *
423
+ * The same key can then be added again, to this account or another.
424
+ * @summary Revoke an SSH key of the current account
425
+ */
426
+ export const revokeSshKey = async (keyId, options, fetchFn) => {
427
+ const res = await (fetchFn ?? fetch)(getRevokeSshKeyUrl(keyId), {
428
+ ...options,
429
+ method: "DELETE",
430
+ });
431
+ const body = [204, 205, 304].includes(res.status) ? null : await res.text();
432
+ const data = body ? JSON.parse(body) : {};
433
+ return { data, status: res.status, headers: res.headers };
434
+ };
311
435
  export const getListMyInvitationsUrl = (params) => {
312
436
  const normalizedParams = new URLSearchParams();
313
437
  Object.entries(params || {}).forEach(([key, value]) => {
@@ -16,6 +16,10 @@
16
16
  *
17
17
  * A scoped token cannot be renewed. Repeat step 2 for a new one, and sign in again at auth.leaflow.net once the access token itself has expired.
18
18
  *
19
+ * ## SSH keys
20
+ *
21
+ * The SSH keys of an account belong to its holder rather than to any project, and a key is active on one account at most. Keys shared by a project, such as one used by CI, belong to the project instead and are managed through the IAM API.
22
+ *
19
23
  * ## Project slugs
20
24
  *
21
25
  * Every project carries a `slug`, the label naming it in its address. Until a custom slug is chosen the slug is the project's `id`, and the address under the `id` keeps working after a custom slug is chosen. `GET /account/v1/projects/by-slug/{slug}` finds the project named by either label.
@@ -365,6 +369,53 @@ export interface SubmitIdentityVerificationRequestBody {
365
369
  */
366
370
  real_name: string;
367
371
  }
372
+ export type SSHKeyResourceStatus = (typeof SSHKeyResourceStatus)[keyof typeof SSHKeyResourceStatus];
373
+ export declare const SSHKeyResourceStatus: {
374
+ readonly ACTIVE: "ACTIVE";
375
+ readonly REVOKED: "REVOKED";
376
+ };
377
+ export interface SSHKeyResource {
378
+ created_at: string;
379
+ /** The SHA-256 fingerprint, as `ssh-keygen -l` prints it */
380
+ fingerprint: string;
381
+ id: string;
382
+ /** The algorithm, such as `ssh-ed25519` */
383
+ key_type: string;
384
+ name: string;
385
+ /** The key in OpenSSH format, without the comment it was added with */
386
+ public_key: string;
387
+ status: SSHKeyResourceStatus;
388
+ }
389
+ export interface LengthAwarePageSSHKeyResource {
390
+ /** The items in this page */
391
+ items: SSHKeyResource[];
392
+ /** Maximum number of items in this page, echoing the request */
393
+ limit: number;
394
+ /** Number of items skipped, echoing the request */
395
+ offset: number;
396
+ /** Total number of matches, not only this page */
397
+ total: number;
398
+ }
399
+ export interface CreateSSHKeyRequestBody {
400
+ /**
401
+ * @minLength 1
402
+ * @maxLength 128
403
+ */
404
+ name: string;
405
+ /**
406
+ * The public key in OpenSSH format. The type and the fingerprint are derived from it and cannot be changed. A certificate is refused, being a signature rather than a key
407
+ * @minLength 1
408
+ * @maxLength 16384
409
+ */
410
+ public_key: string;
411
+ }
412
+ export interface RenameSSHKeyRequestBody {
413
+ /**
414
+ * @minLength 1
415
+ * @maxLength 128
416
+ */
417
+ name: string;
418
+ }
368
419
  /**
369
420
  * What an invitation states before it is accepted. It carries neither the invitation id nor the full recipient address; the invitations listed against the current account are returned by `list-my-invitations`
370
421
  */
@@ -574,6 +625,29 @@ export type RequestAccountDeletionParams = {
574
625
  */
575
626
  acknowledge_forfeiture: true;
576
627
  };
628
+ export type ListSshKeysParams = {
629
+ /**
630
+ * Items returned in this page. Defaults to 50; at most 200.
631
+ * @minimum 1
632
+ * @maximum 200
633
+ */
634
+ limit?: number;
635
+ /**
636
+ * Items to skip. Defaults to 0; at most 10000.
637
+ * @minimum 0
638
+ * @maximum 10000
639
+ */
640
+ offset?: number;
641
+ /**
642
+ * Both kinds are returned while this is absent
643
+ */
644
+ status?: ListSshKeysStatus;
645
+ };
646
+ export type ListSshKeysStatus = (typeof ListSshKeysStatus)[keyof typeof ListSshKeysStatus];
647
+ export declare const ListSshKeysStatus: {
648
+ readonly ACTIVE: "ACTIVE";
649
+ readonly REVOKED: "REVOKED";
650
+ };
577
651
  export type ListMyInvitationsParams = {
578
652
  /**
579
653
  * Items returned in this page. Defaults to 50; at most 200.
@@ -60,6 +60,10 @@ export const IdentityVerificationResourceStatus = {
60
60
  ENTERPRISE: "ENTERPRISE",
61
61
  REJECTED: "REJECTED",
62
62
  };
63
+ export const SSHKeyResourceStatus = {
64
+ ACTIVE: "ACTIVE",
65
+ REVOKED: "REVOKED",
66
+ };
63
67
  export const RuleResourceEffect = {
64
68
  allow: "allow",
65
69
  deny: "deny",
@@ -69,3 +73,7 @@ export const ProjectSlugAvailabilityResourceStatus = {
69
73
  reserved: "reserved",
70
74
  taken: "taken",
71
75
  };
76
+ export const ListSshKeysStatus = {
77
+ ACTIVE: "ACTIVE",
78
+ REVOKED: "REVOKED",
79
+ };
@@ -16,6 +16,10 @@
16
16
  *
17
17
  * A scoped token cannot be renewed. Repeat step 2 for a new one, and sign in again at auth.leaflow.net once the access token itself has expired.
18
18
  *
19
+ * ## SSH keys
20
+ *
21
+ * The SSH keys of an account belong to its holder rather than to any project, and a key is active on one account at most. Keys shared by a project, such as one used by CI, belong to the project instead and are managed through the IAM API.
22
+ *
19
23
  * ## Project slugs
20
24
  *
21
25
  * Every project carries a `slug`, the label naming it in its address. Until a custom slug is chosen the slug is the project's `id`, and the address under the `id` keeps working after a custom slug is chosen. `GET /account/v1/projects/by-slug/{slug}` finds the project named by either label.
@@ -96,6 +100,56 @@ export declare const SubmitIdentityVerificationBody: zod.ZodObject<{
96
100
  id_number: zod.ZodString;
97
101
  real_name: zod.ZodString;
98
102
  }, zod.z.core.$strict>;
103
+ /**
104
+ * Most recent first.
105
+ * @summary List the SSH keys of the current account
106
+ */
107
+ export declare const listSshKeysQueryLimitDefault = 50;
108
+ export declare const listSshKeysQueryLimitMax = 200;
109
+ export declare const listSshKeysQueryOffsetDefault = 0;
110
+ export declare const listSshKeysQueryOffsetMin = 0;
111
+ export declare const listSshKeysQueryOffsetMax = 10000;
112
+ export declare const ListSshKeysQueryParams: zod.ZodObject<{
113
+ limit: zod.ZodDefault<zod.ZodInt>;
114
+ offset: zod.ZodDefault<zod.ZodInt>;
115
+ status: zod.ZodOptional<zod.ZodEnum<{
116
+ ACTIVE: "ACTIVE";
117
+ REVOKED: "REVOKED";
118
+ }>>;
119
+ }, zod.z.core.$strict>;
120
+ /**
121
+ * Fails with 409 `SSH_KEY_ALREADY_EXISTS` while the same key is active on any account, this one included, and with 412 `SSH_KEY_QUOTA_EXCEEDED` while the account already holds 50 active keys.
122
+ * @summary Add an SSH key to the current account
123
+ */
124
+ export declare const CreateSshKeyBody: zod.ZodObject<{
125
+ name: zod.ZodString;
126
+ public_key: zod.ZodString;
127
+ }, zod.z.core.$strict>;
128
+ /**
129
+ * @summary Get an SSH key of the current account
130
+ */
131
+ export declare const GetSshKeyParams: zod.ZodObject<{
132
+ keyId: zod.ZodUUID;
133
+ }, zod.z.core.$strict>;
134
+ /**
135
+ * Only the name can change. The key, its type and its fingerprint are three statements about one thing, and changing one of them would leave the row describing a key that does not exist.
136
+ * @summary Rename an SSH key of the current account
137
+ */
138
+ export declare const RenameSshKeyParams: zod.ZodObject<{
139
+ keyId: zod.ZodUUID;
140
+ }, zod.z.core.$strict>;
141
+ export declare const RenameSshKeyBody: zod.ZodObject<{
142
+ name: zod.ZodString;
143
+ }, zod.z.core.$strict>;
144
+ /**
145
+ * The row remains and its status becomes `REVOKED`, so it stays answerable afterwards which key was trusted at the time.
146
+ *
147
+ * The same key can then be added again, to this account or another.
148
+ * @summary Revoke an SSH key of the current account
149
+ */
150
+ export declare const RevokeSshKeyParams: zod.ZodObject<{
151
+ keyId: zod.ZodUUID;
152
+ }, zod.z.core.$strict>;
99
153
  /**
100
154
  * Matched against the email address of the current account.
101
155
  * @summary List invitations addressed to the caller
@@ -16,6 +16,10 @@
16
16
  *
17
17
  * A scoped token cannot be renewed. Repeat step 2 for a new one, and sign in again at auth.leaflow.net once the access token itself has expired.
18
18
  *
19
+ * ## SSH keys
20
+ *
21
+ * The SSH keys of an account belong to its holder rather than to any project, and a key is active on one account at most. Keys shared by a project, such as one used by CI, belong to the project instead and are managed through the IAM API.
22
+ *
19
23
  * ## Project slugs
20
24
  *
21
25
  * Every project carries a `slug`, the label naming it in its address. Until a custom slug is chosen the slug is the project's `id`, and the address under the `id` keeps working after a custom slug is chosen. `GET /account/v1/projects/by-slug/{slug}` finds the project named by either label.
@@ -27,7 +31,9 @@ import * as zod from "zod";
27
31
  import { AcceptConsentsRequestBody } from "./validators/acceptConsentsRequestBody.zod.js";
28
32
  import { AcceptInvitationByTokenRequestBody } from "./validators/acceptInvitationByTokenRequestBody.zod.js";
29
33
  import { CreateProjectRequestBody } from "./validators/createProjectRequestBody.zod.js";
34
+ import { CreateSSHKeyRequestBody } from "./validators/createSSHKeyRequestBody.zod.js";
30
35
  import { RegisterRequestBody } from "./validators/registerRequestBody.zod.js";
36
+ import { RenameSSHKeyRequestBody } from "./validators/renameSSHKeyRequestBody.zod.js";
31
37
  import { SubmitIdentityVerificationRequestBody } from "./validators/submitIdentityVerificationRequestBody.zod.js";
32
38
  import { UpdateAccountRequestBody } from "./validators/updateAccountRequestBody.zod.js";
33
39
  /**
@@ -70,6 +76,61 @@ export const RequestAccountDeletionQueryParams = zod.strictObject({
70
76
  * @summary Submit identity verification
71
77
  */
72
78
  export const SubmitIdentityVerificationBody = SubmitIdentityVerificationRequestBody;
79
+ /**
80
+ * Most recent first.
81
+ * @summary List the SSH keys of the current account
82
+ */
83
+ export const listSshKeysQueryLimitDefault = 50;
84
+ export const listSshKeysQueryLimitMax = 200;
85
+ export const listSshKeysQueryOffsetDefault = 0;
86
+ export const listSshKeysQueryOffsetMin = 0;
87
+ export const listSshKeysQueryOffsetMax = 10000;
88
+ export const ListSshKeysQueryParams = zod.strictObject({
89
+ limit: zod
90
+ .int()
91
+ .min(1)
92
+ .max(listSshKeysQueryLimitMax)
93
+ .default(listSshKeysQueryLimitDefault)
94
+ .describe("Items returned in this page. Defaults to 50; at most 200."),
95
+ offset: zod
96
+ .int()
97
+ .min(listSshKeysQueryOffsetMin)
98
+ .max(listSshKeysQueryOffsetMax)
99
+ .default(listSshKeysQueryOffsetDefault)
100
+ .describe("Items to skip. Defaults to 0; at most 10000."),
101
+ status: zod
102
+ .enum(["ACTIVE", "REVOKED"])
103
+ .optional()
104
+ .describe("Both kinds are returned while this is absent"),
105
+ });
106
+ /**
107
+ * Fails with 409 `SSH_KEY_ALREADY_EXISTS` while the same key is active on any account, this one included, and with 412 `SSH_KEY_QUOTA_EXCEEDED` while the account already holds 50 active keys.
108
+ * @summary Add an SSH key to the current account
109
+ */
110
+ export const CreateSshKeyBody = CreateSSHKeyRequestBody;
111
+ /**
112
+ * @summary Get an SSH key of the current account
113
+ */
114
+ export const GetSshKeyParams = zod.strictObject({
115
+ keyId: zod.uuid(),
116
+ });
117
+ /**
118
+ * Only the name can change. The key, its type and its fingerprint are three statements about one thing, and changing one of them would leave the row describing a key that does not exist.
119
+ * @summary Rename an SSH key of the current account
120
+ */
121
+ export const RenameSshKeyParams = zod.strictObject({
122
+ keyId: zod.uuid(),
123
+ });
124
+ export const RenameSshKeyBody = RenameSSHKeyRequestBody;
125
+ /**
126
+ * The row remains and its status becomes `REVOKED`, so it stays answerable afterwards which key was trusted at the time.
127
+ *
128
+ * The same key can then be added again, to this account or another.
129
+ * @summary Revoke an SSH key of the current account
130
+ */
131
+ export const RevokeSshKeyParams = zod.strictObject({
132
+ keyId: zod.uuid(),
133
+ });
73
134
  /**
74
135
  * Matched against the email address of the current account.
75
136
  * @summary List invitations addressed to the caller
@@ -16,6 +16,10 @@
16
16
  *
17
17
  * A scoped token cannot be renewed. Repeat step 2 for a new one, and sign in again at auth.leaflow.net once the access token itself has expired.
18
18
  *
19
+ * ## SSH keys
20
+ *
21
+ * The SSH keys of an account belong to its holder rather than to any project, and a key is active on one account at most. Keys shared by a project, such as one used by CI, belong to the project instead and are managed through the IAM API.
22
+ *
19
23
  * ## Project slugs
20
24
  *
21
25
  * Every project carries a `slug`, the label naming it in its address. Until a custom slug is chosen the slug is the project's `id`, and the address under the `id` keeps working after a custom slug is chosen. `GET /account/v1/projects/by-slug/{slug}` finds the project named by either label.
@@ -16,6 +16,10 @@
16
16
  *
17
17
  * A scoped token cannot be renewed. Repeat step 2 for a new one, and sign in again at auth.leaflow.net once the access token itself has expired.
18
18
  *
19
+ * ## SSH keys
20
+ *
21
+ * The SSH keys of an account belong to its holder rather than to any project, and a key is active on one account at most. Keys shared by a project, such as one used by CI, belong to the project instead and are managed through the IAM API.
22
+ *
19
23
  * ## Project slugs
20
24
  *
21
25
  * Every project carries a `slug`, the label naming it in its address. Until a custom slug is chosen the slug is the project's `id`, and the address under the `id` keeps working after a custom slug is chosen. `GET /account/v1/projects/by-slug/{slug}` finds the project named by either label.
@@ -16,6 +16,10 @@
16
16
  *
17
17
  * A scoped token cannot be renewed. Repeat step 2 for a new one, and sign in again at auth.leaflow.net once the access token itself has expired.
18
18
  *
19
+ * ## SSH keys
20
+ *
21
+ * The SSH keys of an account belong to its holder rather than to any project, and a key is active on one account at most. Keys shared by a project, such as one used by CI, belong to the project instead and are managed through the IAM API.
22
+ *
19
23
  * ## Project slugs
20
24
  *
21
25
  * Every project carries a `slug`, the label naming it in its address. Until a custom slug is chosen the slug is the project's `id`, and the address under the `id` keeps working after a custom slug is chosen. `GET /account/v1/projects/by-slug/{slug}` finds the project named by either label.
@@ -16,6 +16,10 @@
16
16
  *
17
17
  * A scoped token cannot be renewed. Repeat step 2 for a new one, and sign in again at auth.leaflow.net once the access token itself has expired.
18
18
  *
19
+ * ## SSH keys
20
+ *
21
+ * The SSH keys of an account belong to its holder rather than to any project, and a key is active on one account at most. Keys shared by a project, such as one used by CI, belong to the project instead and are managed through the IAM API.
22
+ *
19
23
  * ## Project slugs
20
24
  *
21
25
  * Every project carries a `slug`, the label naming it in its address. Until a custom slug is chosen the slug is the project's `id`, and the address under the `id` keeps working after a custom slug is chosen. `GET /account/v1/projects/by-slug/{slug}` finds the project named by either label.
@@ -16,6 +16,10 @@
16
16
  *
17
17
  * A scoped token cannot be renewed. Repeat step 2 for a new one, and sign in again at auth.leaflow.net once the access token itself has expired.
18
18
  *
19
+ * ## SSH keys
20
+ *
21
+ * The SSH keys of an account belong to its holder rather than to any project, and a key is active on one account at most. Keys shared by a project, such as one used by CI, belong to the project instead and are managed through the IAM API.
22
+ *
19
23
  * ## Project slugs
20
24
  *
21
25
  * Every project carries a `slug`, the label naming it in its address. Until a custom slug is chosen the slug is the project's `id`, and the address under the `id` keeps working after a custom slug is chosen. `GET /account/v1/projects/by-slug/{slug}` finds the project named by either label.
@@ -16,6 +16,10 @@
16
16
  *
17
17
  * A scoped token cannot be renewed. Repeat step 2 for a new one, and sign in again at auth.leaflow.net once the access token itself has expired.
18
18
  *
19
+ * ## SSH keys
20
+ *
21
+ * The SSH keys of an account belong to its holder rather than to any project, and a key is active on one account at most. Keys shared by a project, such as one used by CI, belong to the project instead and are managed through the IAM API.
22
+ *
19
23
  * ## Project slugs
20
24
  *
21
25
  * Every project carries a `slug`, the label naming it in its address. Until a custom slug is chosen the slug is the project's `id`, and the address under the `id` keeps working after a custom slug is chosen. `GET /account/v1/projects/by-slug/{slug}` finds the project named by either label.
@@ -16,6 +16,10 @@
16
16
  *
17
17
  * A scoped token cannot be renewed. Repeat step 2 for a new one, and sign in again at auth.leaflow.net once the access token itself has expired.
18
18
  *
19
+ * ## SSH keys
20
+ *
21
+ * The SSH keys of an account belong to its holder rather than to any project, and a key is active on one account at most. Keys shared by a project, such as one used by CI, belong to the project instead and are managed through the IAM API.
22
+ *
19
23
  * ## Project slugs
20
24
  *
21
25
  * Every project carries a `slug`, the label naming it in its address. Until a custom slug is chosen the slug is the project's `id`, and the address under the `id` keeps working after a custom slug is chosen. `GET /account/v1/projects/by-slug/{slug}` finds the project named by either label.
@@ -16,6 +16,10 @@
16
16
  *
17
17
  * A scoped token cannot be renewed. Repeat step 2 for a new one, and sign in again at auth.leaflow.net once the access token itself has expired.
18
18
  *
19
+ * ## SSH keys
20
+ *
21
+ * The SSH keys of an account belong to its holder rather than to any project, and a key is active on one account at most. Keys shared by a project, such as one used by CI, belong to the project instead and are managed through the IAM API.
22
+ *
19
23
  * ## Project slugs
20
24
  *
21
25
  * Every project carries a `slug`, the label naming it in its address. Until a custom slug is chosen the slug is the project's `id`, and the address under the `id` keeps working after a custom slug is chosen. `GET /account/v1/projects/by-slug/{slug}` finds the project named by either label.
@@ -16,6 +16,10 @@
16
16
  *
17
17
  * A scoped token cannot be renewed. Repeat step 2 for a new one, and sign in again at auth.leaflow.net once the access token itself has expired.
18
18
  *
19
+ * ## SSH keys
20
+ *
21
+ * The SSH keys of an account belong to its holder rather than to any project, and a key is active on one account at most. Keys shared by a project, such as one used by CI, belong to the project instead and are managed through the IAM API.
22
+ *
19
23
  * ## Project slugs
20
24
  *
21
25
  * Every project carries a `slug`, the label naming it in its address. Until a custom slug is chosen the slug is the project's `id`, and the address under the `id` keeps working after a custom slug is chosen. `GET /account/v1/projects/by-slug/{slug}` finds the project named by either label.
@@ -16,6 +16,10 @@
16
16
  *
17
17
  * A scoped token cannot be renewed. Repeat step 2 for a new one, and sign in again at auth.leaflow.net once the access token itself has expired.
18
18
  *
19
+ * ## SSH keys
20
+ *
21
+ * The SSH keys of an account belong to its holder rather than to any project, and a key is active on one account at most. Keys shared by a project, such as one used by CI, belong to the project instead and are managed through the IAM API.
22
+ *
19
23
  * ## Project slugs
20
24
  *
21
25
  * Every project carries a `slug`, the label naming it in its address. Until a custom slug is chosen the slug is the project's `id`, and the address under the `id` keeps working after a custom slug is chosen. `GET /account/v1/projects/by-slug/{slug}` finds the project named by either label.
@@ -16,6 +16,10 @@
16
16
  *
17
17
  * A scoped token cannot be renewed. Repeat step 2 for a new one, and sign in again at auth.leaflow.net once the access token itself has expired.
18
18
  *
19
+ * ## SSH keys
20
+ *
21
+ * The SSH keys of an account belong to its holder rather than to any project, and a key is active on one account at most. Keys shared by a project, such as one used by CI, belong to the project instead and are managed through the IAM API.
22
+ *
19
23
  * ## Project slugs
20
24
  *
21
25
  * Every project carries a `slug`, the label naming it in its address. Until a custom slug is chosen the slug is the project's `id`, and the address under the `id` keeps working after a custom slug is chosen. `GET /account/v1/projects/by-slug/{slug}` finds the project named by either label.