@leaflow/sdk 0.197.0 → 0.199.0

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 (280) hide show
  1. package/dist/assistant/v1/generated/functions.d.ts +104 -2
  2. package/dist/assistant/v1/generated/functions.js +115 -2
  3. package/dist/assistant/v1/generated/models.d.ts +102 -0
  4. package/dist/assistant/v1/generated/models.js +13 -0
  5. package/dist/assistant/v1/generated/schemas.zod.d.ts +36 -1
  6. package/dist/assistant/v1/generated/schemas.zod.js +35 -1
  7. package/dist/assistant/v1/generated/validators/answerQuestionRequestBody.zod.d.ts +3 -0
  8. package/dist/assistant/v1/generated/validators/answerQuestionRequestBody.zod.js +3 -0
  9. package/dist/assistant/v1/generated/validators/approvalMode.zod.d.ts +3 -0
  10. package/dist/assistant/v1/generated/validators/approvalMode.zod.js +3 -0
  11. package/dist/assistant/v1/generated/validators/attachmentCountsResource.zod.d.ts +35 -0
  12. package/dist/assistant/v1/generated/validators/attachmentCountsResource.zod.js +35 -0
  13. package/dist/assistant/v1/generated/validators/attachmentFileResource.zod.d.ts +47 -0
  14. package/dist/assistant/v1/generated/validators/attachmentFileResource.zod.js +44 -0
  15. package/dist/assistant/v1/generated/validators/attachmentListResponseBody.zod.d.ts +54 -0
  16. package/dist/assistant/v1/generated/validators/attachmentListResponseBody.zod.js +38 -0
  17. package/dist/assistant/v1/generated/validators/attachmentResource.zod.d.ts +3 -0
  18. package/dist/assistant/v1/generated/validators/attachmentResource.zod.js +3 -0
  19. package/dist/assistant/v1/generated/validators/bindingCodeResponseBody.zod.d.ts +3 -0
  20. package/dist/assistant/v1/generated/validators/bindingCodeResponseBody.zod.js +3 -0
  21. package/dist/assistant/v1/generated/validators/bindingResource.zod.d.ts +3 -0
  22. package/dist/assistant/v1/generated/validators/bindingResource.zod.js +3 -0
  23. package/dist/assistant/v1/generated/validators/channelResource.zod.d.ts +3 -0
  24. package/dist/assistant/v1/generated/validators/channelResource.zod.js +3 -0
  25. package/dist/assistant/v1/generated/validators/channelWithSecretResponseBody.zod.d.ts +3 -0
  26. package/dist/assistant/v1/generated/validators/channelWithSecretResponseBody.zod.js +3 -0
  27. package/dist/assistant/v1/generated/validators/checkSenderParams.zod.d.ts +3 -0
  28. package/dist/assistant/v1/generated/validators/checkSenderParams.zod.js +3 -0
  29. package/dist/assistant/v1/generated/validators/choiceResource.zod.d.ts +3 -0
  30. package/dist/assistant/v1/generated/validators/choiceResource.zod.js +3 -0
  31. package/dist/assistant/v1/generated/validators/clientActionRequest.zod.d.ts +3 -0
  32. package/dist/assistant/v1/generated/validators/clientActionRequest.zod.js +3 -0
  33. package/dist/assistant/v1/generated/validators/clientContextPart.zod.d.ts +3 -0
  34. package/dist/assistant/v1/generated/validators/clientContextPart.zod.js +3 -0
  35. package/dist/assistant/v1/generated/validators/clientContextRequest.zod.d.ts +3 -0
  36. package/dist/assistant/v1/generated/validators/clientContextRequest.zod.js +3 -0
  37. package/dist/assistant/v1/generated/validators/clientFunctionRequest.zod.d.ts +3 -0
  38. package/dist/assistant/v1/generated/validators/clientFunctionRequest.zod.js +3 -0
  39. package/dist/assistant/v1/generated/validators/completeUploadRequestBody.zod.d.ts +3 -0
  40. package/dist/assistant/v1/generated/validators/completeUploadRequestBody.zod.js +3 -0
  41. package/dist/assistant/v1/generated/validators/contextUsageResource.zod.d.ts +3 -0
  42. package/dist/assistant/v1/generated/validators/contextUsageResource.zod.js +3 -0
  43. package/dist/assistant/v1/generated/validators/createChannelRequestBody.zod.d.ts +3 -0
  44. package/dist/assistant/v1/generated/validators/createChannelRequestBody.zod.js +3 -0
  45. package/dist/assistant/v1/generated/validators/createFolderRequestBody.zod.d.ts +3 -0
  46. package/dist/assistant/v1/generated/validators/createFolderRequestBody.zod.js +3 -0
  47. package/dist/assistant/v1/generated/validators/createTaskRequestBody.zod.d.ts +3 -0
  48. package/dist/assistant/v1/generated/validators/createTaskRequestBody.zod.js +3 -0
  49. package/dist/assistant/v1/generated/validators/createThreadRequestBody.zod.d.ts +3 -0
  50. package/dist/assistant/v1/generated/validators/createThreadRequestBody.zod.js +3 -0
  51. package/dist/assistant/v1/generated/validators/createThreadResponseBody.zod.d.ts +3 -0
  52. package/dist/assistant/v1/generated/validators/createThreadResponseBody.zod.js +3 -0
  53. package/dist/assistant/v1/generated/validators/createUploadRequestBody.zod.d.ts +3 -0
  54. package/dist/assistant/v1/generated/validators/createUploadRequestBody.zod.js +3 -0
  55. package/dist/assistant/v1/generated/validators/credentialFieldResource.zod.d.ts +3 -0
  56. package/dist/assistant/v1/generated/validators/credentialFieldResource.zod.js +3 -0
  57. package/dist/assistant/v1/generated/validators/cursorPagination.zod.d.ts +3 -0
  58. package/dist/assistant/v1/generated/validators/cursorPagination.zod.js +3 -0
  59. package/dist/assistant/v1/generated/validators/decideToolCallsRequestBody.zod.d.ts +3 -0
  60. package/dist/assistant/v1/generated/validators/decideToolCallsRequestBody.zod.js +3 -0
  61. package/dist/assistant/v1/generated/validators/defaultModelResource.zod.d.ts +3 -0
  62. package/dist/assistant/v1/generated/validators/defaultModelResource.zod.js +3 -0
  63. package/dist/assistant/v1/generated/validators/error.zod.d.ts +3 -0
  64. package/dist/assistant/v1/generated/validators/error.zod.js +3 -0
  65. package/dist/assistant/v1/generated/validators/errorStatus.zod.d.ts +3 -0
  66. package/dist/assistant/v1/generated/validators/errorStatus.zod.js +3 -0
  67. package/dist/assistant/v1/generated/validators/fieldViolation.zod.d.ts +3 -0
  68. package/dist/assistant/v1/generated/validators/fieldViolation.zod.js +3 -0
  69. package/dist/assistant/v1/generated/validators/fileDiffResource.zod.d.ts +3 -0
  70. package/dist/assistant/v1/generated/validators/fileDiffResource.zod.js +3 -0
  71. package/dist/assistant/v1/generated/validators/folderCountsResource.zod.d.ts +3 -0
  72. package/dist/assistant/v1/generated/validators/folderCountsResource.zod.js +3 -0
  73. package/dist/assistant/v1/generated/validators/folderListResponseBody.zod.d.ts +3 -0
  74. package/dist/assistant/v1/generated/validators/folderListResponseBody.zod.js +3 -0
  75. package/dist/assistant/v1/generated/validators/folderResource.zod.d.ts +3 -0
  76. package/dist/assistant/v1/generated/validators/folderResource.zod.js +3 -0
  77. package/dist/assistant/v1/generated/validators/itemSourceResource.zod.d.ts +3 -0
  78. package/dist/assistant/v1/generated/validators/itemSourceResource.zod.js +3 -0
  79. package/dist/assistant/v1/generated/validators/lastTurnResource.zod.d.ts +3 -0
  80. package/dist/assistant/v1/generated/validators/lastTurnResource.zod.js +3 -0
  81. package/dist/assistant/v1/generated/validators/lengthAwarePageBindingResource.zod.d.ts +3 -0
  82. package/dist/assistant/v1/generated/validators/lengthAwarePageBindingResource.zod.js +3 -0
  83. package/dist/assistant/v1/generated/validators/lengthAwarePageChannelResource.zod.d.ts +3 -0
  84. package/dist/assistant/v1/generated/validators/lengthAwarePageChannelResource.zod.js +3 -0
  85. package/dist/assistant/v1/generated/validators/listBindingsParams.zod.d.ts +3 -0
  86. package/dist/assistant/v1/generated/validators/listBindingsParams.zod.js +3 -0
  87. package/dist/assistant/v1/generated/validators/listChannelRejectionsParams.zod.d.ts +3 -0
  88. package/dist/assistant/v1/generated/validators/listChannelRejectionsParams.zod.js +3 -0
  89. package/dist/assistant/v1/generated/validators/listChannelsParams.zod.d.ts +3 -0
  90. package/dist/assistant/v1/generated/validators/listChannelsParams.zod.js +3 -0
  91. package/dist/assistant/v1/generated/validators/listTaskRunsParams.zod.d.ts +3 -0
  92. package/dist/assistant/v1/generated/validators/listTaskRunsParams.zod.js +3 -0
  93. package/dist/assistant/v1/generated/validators/listThreadItemsParams.zod.d.ts +3 -0
  94. package/dist/assistant/v1/generated/validators/listThreadItemsParams.zod.js +3 -0
  95. package/dist/assistant/v1/generated/validators/listThreadMessagesParams.zod.d.ts +3 -0
  96. package/dist/assistant/v1/generated/validators/listThreadMessagesParams.zod.js +3 -0
  97. package/dist/assistant/v1/generated/validators/listThreadTurnsParams.zod.d.ts +3 -0
  98. package/dist/assistant/v1/generated/validators/listThreadTurnsParams.zod.js +3 -0
  99. package/dist/assistant/v1/generated/validators/loginResource.zod.d.ts +3 -0
  100. package/dist/assistant/v1/generated/validators/loginResource.zod.js +3 -0
  101. package/dist/assistant/v1/generated/validators/memoryListResponseBody.zod.d.ts +3 -0
  102. package/dist/assistant/v1/generated/validators/memoryListResponseBody.zod.js +3 -0
  103. package/dist/assistant/v1/generated/validators/memoryResource.zod.d.ts +3 -0
  104. package/dist/assistant/v1/generated/validators/memoryResource.zod.js +3 -0
  105. package/dist/assistant/v1/generated/validators/messagePart.zod.d.ts +3 -0
  106. package/dist/assistant/v1/generated/validators/messagePart.zod.js +3 -0
  107. package/dist/assistant/v1/generated/validators/moveFolderRequestBody.zod.d.ts +3 -0
  108. package/dist/assistant/v1/generated/validators/moveFolderRequestBody.zod.js +3 -0
  109. package/dist/assistant/v1/generated/validators/offsetPagination.zod.d.ts +3 -0
  110. package/dist/assistant/v1/generated/validators/offsetPagination.zod.js +3 -0
  111. package/dist/assistant/v1/generated/validators/partResource.zod.d.ts +3 -0
  112. package/dist/assistant/v1/generated/validators/partResource.zod.js +3 -0
  113. package/dist/assistant/v1/generated/validators/pendingActionResource.zod.d.ts +3 -0
  114. package/dist/assistant/v1/generated/validators/pendingActionResource.zod.js +3 -0
  115. package/dist/assistant/v1/generated/validators/placeThreadRequestBody.zod.d.ts +3 -0
  116. package/dist/assistant/v1/generated/validators/placeThreadRequestBody.zod.js +3 -0
  117. package/dist/assistant/v1/generated/validators/platformListResponseBody.zod.d.ts +3 -0
  118. package/dist/assistant/v1/generated/validators/platformListResponseBody.zod.js +3 -0
  119. package/dist/assistant/v1/generated/validators/platformResource.zod.d.ts +3 -0
  120. package/dist/assistant/v1/generated/validators/platformResource.zod.js +3 -0
  121. package/dist/assistant/v1/generated/validators/presentationResource.zod.d.ts +3 -0
  122. package/dist/assistant/v1/generated/validators/presentationResource.zod.js +3 -0
  123. package/dist/assistant/v1/generated/validators/putUploadPartHeaders.zod.d.ts +3 -0
  124. package/dist/assistant/v1/generated/validators/putUploadPartHeaders.zod.js +3 -0
  125. package/dist/assistant/v1/generated/validators/putUploadPartParams.zod.d.ts +3 -0
  126. package/dist/assistant/v1/generated/validators/putUploadPartParams.zod.js +3 -0
  127. package/dist/assistant/v1/generated/validators/questionResource.zod.d.ts +3 -0
  128. package/dist/assistant/v1/generated/validators/questionResource.zod.js +3 -0
  129. package/dist/assistant/v1/generated/validators/reasoningEffort.zod.d.ts +3 -0
  130. package/dist/assistant/v1/generated/validators/reasoningEffort.zod.js +3 -0
  131. package/dist/assistant/v1/generated/validators/rejectionListResponseBody.zod.d.ts +3 -0
  132. package/dist/assistant/v1/generated/validators/rejectionListResponseBody.zod.js +3 -0
  133. package/dist/assistant/v1/generated/validators/rejectionResource.zod.d.ts +3 -0
  134. package/dist/assistant/v1/generated/validators/rejectionResource.zod.js +3 -0
  135. package/dist/assistant/v1/generated/validators/resumeThreadRequestBody.zod.d.ts +3 -0
  136. package/dist/assistant/v1/generated/validators/resumeThreadRequestBody.zod.js +3 -0
  137. package/dist/assistant/v1/generated/validators/revertRequestBody.zod.d.ts +3 -0
  138. package/dist/assistant/v1/generated/validators/revertRequestBody.zod.js +3 -0
  139. package/dist/assistant/v1/generated/validators/revertedCountResponseBody.zod.d.ts +3 -0
  140. package/dist/assistant/v1/generated/validators/revertedCountResponseBody.zod.js +3 -0
  141. package/dist/assistant/v1/generated/validators/rotateSecretRequestBody.zod.d.ts +3 -0
  142. package/dist/assistant/v1/generated/validators/rotateSecretRequestBody.zod.js +3 -0
  143. package/dist/assistant/v1/generated/validators/searchAttachmentsRequestBody.zod.d.ts +51 -0
  144. package/dist/assistant/v1/generated/validators/searchAttachmentsRequestBody.zod.js +65 -0
  145. package/dist/assistant/v1/generated/validators/searchTasksRequestBody.zod.d.ts +3 -0
  146. package/dist/assistant/v1/generated/validators/searchTasksRequestBody.zod.js +3 -0
  147. package/dist/assistant/v1/generated/validators/searchThreadsRequestBody.zod.d.ts +3 -0
  148. package/dist/assistant/v1/generated/validators/searchThreadsRequestBody.zod.js +3 -0
  149. package/dist/assistant/v1/generated/validators/sendMessageRequestBody.zod.d.ts +3 -0
  150. package/dist/assistant/v1/generated/validators/sendMessageRequestBody.zod.js +3 -0
  151. package/dist/assistant/v1/generated/validators/sendMessageResponseBody.zod.d.ts +3 -0
  152. package/dist/assistant/v1/generated/validators/sendMessageResponseBody.zod.js +3 -0
  153. package/dist/assistant/v1/generated/validators/senderCheckResource.zod.d.ts +3 -0
  154. package/dist/assistant/v1/generated/validators/senderCheckResource.zod.js +3 -0
  155. package/dist/assistant/v1/generated/validators/settingsResource.zod.d.ts +3 -0
  156. package/dist/assistant/v1/generated/validators/settingsResource.zod.js +3 -0
  157. package/dist/assistant/v1/generated/validators/skillEnabledRequestBody.zod.d.ts +3 -0
  158. package/dist/assistant/v1/generated/validators/skillEnabledRequestBody.zod.js +3 -0
  159. package/dist/assistant/v1/generated/validators/skillListResponseBody.zod.d.ts +3 -0
  160. package/dist/assistant/v1/generated/validators/skillListResponseBody.zod.js +3 -0
  161. package/dist/assistant/v1/generated/validators/skillRequestBody.zod.d.ts +3 -0
  162. package/dist/assistant/v1/generated/validators/skillRequestBody.zod.js +3 -0
  163. package/dist/assistant/v1/generated/validators/skillResource.zod.d.ts +3 -0
  164. package/dist/assistant/v1/generated/validators/skillResource.zod.js +3 -0
  165. package/dist/assistant/v1/generated/validators/subagentCountResource.zod.d.ts +3 -0
  166. package/dist/assistant/v1/generated/validators/subagentCountResource.zod.js +3 -0
  167. package/dist/assistant/v1/generated/validators/taskAction.zod.d.ts +3 -0
  168. package/dist/assistant/v1/generated/validators/taskAction.zod.js +3 -0
  169. package/dist/assistant/v1/generated/validators/taskListResponseBody.zod.d.ts +3 -0
  170. package/dist/assistant/v1/generated/validators/taskListResponseBody.zod.js +3 -0
  171. package/dist/assistant/v1/generated/validators/taskResource.zod.d.ts +3 -0
  172. package/dist/assistant/v1/generated/validators/taskResource.zod.js +3 -0
  173. package/dist/assistant/v1/generated/validators/taskRunEvent.zod.d.ts +3 -0
  174. package/dist/assistant/v1/generated/validators/taskRunEvent.zod.js +3 -0
  175. package/dist/assistant/v1/generated/validators/taskRunListResponseBody.zod.d.ts +3 -0
  176. package/dist/assistant/v1/generated/validators/taskRunListResponseBody.zod.js +3 -0
  177. package/dist/assistant/v1/generated/validators/taskRunResource.zod.d.ts +3 -0
  178. package/dist/assistant/v1/generated/validators/taskRunResource.zod.js +3 -0
  179. package/dist/assistant/v1/generated/validators/taskTrigger.zod.d.ts +3 -0
  180. package/dist/assistant/v1/generated/validators/taskTrigger.zod.js +3 -0
  181. package/dist/assistant/v1/generated/validators/threadCountsResource.zod.d.ts +3 -0
  182. package/dist/assistant/v1/generated/validators/threadCountsResource.zod.js +3 -0
  183. package/dist/assistant/v1/generated/validators/threadItemListResponseBody.zod.d.ts +3 -0
  184. package/dist/assistant/v1/generated/validators/threadItemListResponseBody.zod.js +3 -0
  185. package/dist/assistant/v1/generated/validators/threadItemResource.zod.d.ts +3 -0
  186. package/dist/assistant/v1/generated/validators/threadItemResource.zod.js +3 -0
  187. package/dist/assistant/v1/generated/validators/threadListResponseBody.zod.d.ts +3 -0
  188. package/dist/assistant/v1/generated/validators/threadListResponseBody.zod.js +3 -0
  189. package/dist/assistant/v1/generated/validators/threadMessageListResponseBody.zod.d.ts +3 -0
  190. package/dist/assistant/v1/generated/validators/threadMessageListResponseBody.zod.js +3 -0
  191. package/dist/assistant/v1/generated/validators/threadMessageResource.zod.d.ts +3 -0
  192. package/dist/assistant/v1/generated/validators/threadMessageResource.zod.js +3 -0
  193. package/dist/assistant/v1/generated/validators/threadResource.zod.d.ts +3 -0
  194. package/dist/assistant/v1/generated/validators/threadResource.zod.js +3 -0
  195. package/dist/assistant/v1/generated/validators/threadStatus.zod.d.ts +3 -0
  196. package/dist/assistant/v1/generated/validators/threadStatus.zod.js +3 -0
  197. package/dist/assistant/v1/generated/validators/threadTurnListResponseBody.zod.d.ts +3 -0
  198. package/dist/assistant/v1/generated/validators/threadTurnListResponseBody.zod.js +3 -0
  199. package/dist/assistant/v1/generated/validators/threadTurnResource.zod.d.ts +3 -0
  200. package/dist/assistant/v1/generated/validators/threadTurnResource.zod.js +3 -0
  201. package/dist/assistant/v1/generated/validators/todoResource.zod.d.ts +3 -0
  202. package/dist/assistant/v1/generated/validators/todoResource.zod.js +3 -0
  203. package/dist/assistant/v1/generated/validators/toolCallResource.zod.d.ts +3 -0
  204. package/dist/assistant/v1/generated/validators/toolCallResource.zod.js +3 -0
  205. package/dist/assistant/v1/generated/validators/toolResultRequestBody.zod.d.ts +3 -0
  206. package/dist/assistant/v1/generated/validators/toolResultRequestBody.zod.js +3 -0
  207. package/dist/assistant/v1/generated/validators/turnStartedResponseBody.zod.d.ts +3 -0
  208. package/dist/assistant/v1/generated/validators/turnStartedResponseBody.zod.js +3 -0
  209. package/dist/assistant/v1/generated/validators/turnStatus.zod.d.ts +3 -0
  210. package/dist/assistant/v1/generated/validators/turnStatus.zod.js +3 -0
  211. package/dist/assistant/v1/generated/validators/turnType.zod.d.ts +3 -0
  212. package/dist/assistant/v1/generated/validators/turnType.zod.js +3 -0
  213. package/dist/assistant/v1/generated/validators/updateAttachmentRequestBody.zod.d.ts +35 -0
  214. package/dist/assistant/v1/generated/validators/updateAttachmentRequestBody.zod.js +33 -0
  215. package/dist/assistant/v1/generated/validators/updateChannelRequestBody.zod.d.ts +3 -0
  216. package/dist/assistant/v1/generated/validators/updateChannelRequestBody.zod.js +3 -0
  217. package/dist/assistant/v1/generated/validators/updateFolderRequestBody.zod.d.ts +3 -0
  218. package/dist/assistant/v1/generated/validators/updateFolderRequestBody.zod.js +3 -0
  219. package/dist/assistant/v1/generated/validators/updateSettingsRequestBody.zod.d.ts +3 -0
  220. package/dist/assistant/v1/generated/validators/updateSettingsRequestBody.zod.js +3 -0
  221. package/dist/assistant/v1/generated/validators/updateTaskRequestBody.zod.d.ts +3 -0
  222. package/dist/assistant/v1/generated/validators/updateTaskRequestBody.zod.js +3 -0
  223. package/dist/assistant/v1/generated/validators/updateThreadRequestBody.zod.d.ts +3 -0
  224. package/dist/assistant/v1/generated/validators/updateThreadRequestBody.zod.js +3 -0
  225. package/dist/assistant/v1/generated/validators/updateUploadRequestBody.zod.d.ts +3 -0
  226. package/dist/assistant/v1/generated/validators/updateUploadRequestBody.zod.js +3 -0
  227. package/dist/assistant/v1/generated/validators/uploadAttachmentParams.zod.d.ts +3 -0
  228. package/dist/assistant/v1/generated/validators/uploadAttachmentParams.zod.js +3 -0
  229. package/dist/assistant/v1/generated/validators/uploadConfigurationResource.zod.d.ts +3 -0
  230. package/dist/assistant/v1/generated/validators/uploadConfigurationResource.zod.js +3 -0
  231. package/dist/assistant/v1/generated/validators/uploadListResponseBody.zod.d.ts +3 -0
  232. package/dist/assistant/v1/generated/validators/uploadListResponseBody.zod.js +3 -0
  233. package/dist/assistant/v1/generated/validators/uploadPartResource.zod.d.ts +3 -0
  234. package/dist/assistant/v1/generated/validators/uploadPartResource.zod.js +3 -0
  235. package/dist/assistant/v1/generated/validators/uploadResource.zod.d.ts +3 -0
  236. package/dist/assistant/v1/generated/validators/uploadResource.zod.js +3 -0
  237. package/dist/assistant/v1/generated/validators/uploadedResource.zod.d.ts +3 -0
  238. package/dist/assistant/v1/generated/validators/uploadedResource.zod.js +3 -0
  239. package/dist/assistant/v1/generated/validators/usage.zod.d.ts +3 -0
  240. package/dist/assistant/v1/generated/validators/usage.zod.js +3 -0
  241. package/dist/assistant/v1/generated/validators/verifyCodeRequestBody.zod.d.ts +3 -0
  242. package/dist/assistant/v1/generated/validators/verifyCodeRequestBody.zod.js +3 -0
  243. package/dist/assistant/v1/generated/validators/webhookSecretResponseBody.zod.d.ts +3 -0
  244. package/dist/assistant/v1/generated/validators/webhookSecretResponseBody.zod.js +3 -0
  245. package/dist/iam/v1/generated/functions.d.ts +46 -103
  246. package/dist/iam/v1/generated/functions.js +29 -114
  247. package/dist/iam/v1/generated/models.d.ts +53 -118
  248. package/dist/iam/v1/generated/models.js +2 -6
  249. package/dist/iam/v1/generated/schemas.zod.d.ts +31 -62
  250. package/dist/iam/v1/generated/schemas.zod.js +35 -53
  251. package/dist/iam/v1/generated/validators/{updatePolicyRequestBody.zod.d.ts → createMemberPermissionRequestBody.zod.d.ts} +9 -11
  252. package/dist/iam/v1/generated/validators/createMemberPermissionRequestBody.zod.js +36 -0
  253. package/dist/iam/v1/generated/validators/grantResource.zod.js +1 -1
  254. package/dist/iam/v1/generated/validators/lengthAwarePageMemberResource.zod.d.ts +12 -0
  255. package/dist/iam/v1/generated/validators/{listProjectInvitationsParams.zod.d.ts → listInvitationsParams.zod.d.ts} +8 -8
  256. package/dist/iam/v1/generated/validators/{listProjectInvitationsParams.zod.js → listInvitationsParams.zod.js} +11 -11
  257. package/dist/iam/v1/generated/validators/{policyListResponseBody.zod.d.ts → memberPermissionListResponseBody.zod.d.ts} +8 -14
  258. package/dist/iam/v1/generated/validators/{catalogListResponseBody.zod.js → memberPermissionListResponseBody.zod.js} +3 -3
  259. package/dist/iam/v1/generated/validators/{policyResource.zod.d.ts → memberPermissionResource.zod.d.ts} +11 -14
  260. package/dist/iam/v1/generated/validators/memberPermissionResource.zod.js +38 -0
  261. package/dist/iam/v1/generated/validators/memberResource.zod.d.ts +12 -0
  262. package/dist/iam/v1/generated/validators/memberResource.zod.js +5 -0
  263. package/dist/iam/v1/generated/validators/ownershipTransferResponseBody.zod.d.ts +24 -0
  264. package/dist/iam/v1/generated/validators/{catalogResource.zod.d.ts → permissionListResponseBody.zod.d.ts} +4 -8
  265. package/dist/iam/v1/generated/validators/{policyListResponseBody.zod.js → permissionListResponseBody.zod.js} +3 -3
  266. package/dist/routes.d.ts +39 -31
  267. package/dist/routes.js +43 -34
  268. package/package.json +1 -1
  269. package/dist/iam/v1/generated/validators/attachPolicyRequestBody.zod.d.ts +0 -33
  270. package/dist/iam/v1/generated/validators/attachPolicyRequestBody.zod.js +0 -43
  271. package/dist/iam/v1/generated/validators/catalogListResponseBody.zod.d.ts +0 -30
  272. package/dist/iam/v1/generated/validators/catalogResource.zod.js +0 -25
  273. package/dist/iam/v1/generated/validators/listPoliciesParams.zod.d.ts +0 -21
  274. package/dist/iam/v1/generated/validators/listPoliciesParams.zod.js +0 -23
  275. package/dist/iam/v1/generated/validators/policyResource.zod.js +0 -33
  276. package/dist/iam/v1/generated/validators/resourceTypeResource.zod.d.ts +0 -20
  277. package/dist/iam/v1/generated/validators/resourceTypeResource.zod.js +0 -20
  278. package/dist/iam/v1/generated/validators/setMemberPermissionsRequestBody.zod.d.ts +0 -20
  279. package/dist/iam/v1/generated/validators/setMemberPermissionsRequestBody.zod.js +0 -21
  280. package/dist/iam/v1/generated/validators/updatePolicyRequestBody.zod.js +0 -39
@@ -0,0 +1,33 @@
1
+ /**
2
+ * Generated by orval 🍺
3
+ * Do not edit manually.
4
+ * Leaflow Assistant API
5
+ * Conversations with agents that operate the Leaflow platform, plus their folders, tasks, files and
6
+ * chat-app channels.
7
+ *
8
+ * A conversation is a thread. A person talks to the main thread; the agent in it can start subagents,
9
+ * which are threads too and run on their own: stopping the main thread does not stop them, and each
10
+ * subagent tells its parent when it ends. A thread runs in turns; each turn records the model and
11
+ * reasoning effort it used and its token usage.
12
+ *
13
+ * Models come from the Canopy catalogue. A new thread uses the model it names, the caller's default
14
+ * from /api/v1/settings, or the first catalogue model that can run an agent. Reasoning models take one
15
+ * of three efforts — low, medium or high — which are sent to the model unchanged.
16
+ *
17
+ * Read a thread's state with get-thread and its transcript with list-thread-items. Follow both live
18
+ * through EventBus by subscribing to assistant.thread.frame and assistant.resource.updated; after a
19
+ * reconnection or an assistant.workspace.invalidated message, read them again. list-thread-messages
20
+ * outlines the person's messages for navigating a long conversation.
21
+ *
22
+ * Upload large files with /api/v1/uploads: read /api/v1/upload-configuration first, send exact-sized
23
+ * parts, then complete the upload and send its attachment id in a message.
24
+ *
25
+ * Files uploaded that way are listed by search-attachments. Renaming or removing one does not change
26
+ * the conversations that already use it; downloading keeps working.
27
+ * OpenAPI spec version: 2.0.0
28
+ */
29
+ import * as zod from "zod";
30
+ export const updateAttachmentRequestBodyFilenameMax = 255;
31
+ export const UpdateAttachmentRequestBody = zod.strictObject({
32
+ filename: zod.string().min(1).max(updateAttachmentRequestBodyFilenameMax),
33
+ });
@@ -21,6 +21,9 @@
21
21
  *
22
22
  * Upload large files with /api/v1/uploads: read /api/v1/upload-configuration first, send exact-sized
23
23
  * parts, then complete the upload and send its attachment id in a message.
24
+ *
25
+ * Files uploaded that way are listed by search-attachments. Renaming or removing one does not change
26
+ * the conversations that already use it; downloading keeps working.
24
27
  * OpenAPI spec version: 2.0.0
25
28
  */
26
29
  import * as zod from "zod";
@@ -21,6 +21,9 @@
21
21
  *
22
22
  * Upload large files with /api/v1/uploads: read /api/v1/upload-configuration first, send exact-sized
23
23
  * parts, then complete the upload and send its attachment id in a message.
24
+ *
25
+ * Files uploaded that way are listed by search-attachments. Renaming or removing one does not change
26
+ * the conversations that already use it; downloading keeps working.
24
27
  * OpenAPI spec version: 2.0.0
25
28
  */
26
29
  import * as zod from "zod";
@@ -21,6 +21,9 @@
21
21
  *
22
22
  * Upload large files with /api/v1/uploads: read /api/v1/upload-configuration first, send exact-sized
23
23
  * parts, then complete the upload and send its attachment id in a message.
24
+ *
25
+ * Files uploaded that way are listed by search-attachments. Renaming or removing one does not change
26
+ * the conversations that already use it; downloading keeps working.
24
27
  * OpenAPI spec version: 2.0.0
25
28
  */
26
29
  import * as zod from "zod";
@@ -21,6 +21,9 @@
21
21
  *
22
22
  * Upload large files with /api/v1/uploads: read /api/v1/upload-configuration first, send exact-sized
23
23
  * parts, then complete the upload and send its attachment id in a message.
24
+ *
25
+ * Files uploaded that way are listed by search-attachments. Renaming or removing one does not change
26
+ * the conversations that already use it; downloading keeps working.
24
27
  * OpenAPI spec version: 2.0.0
25
28
  */
26
29
  import * as zod from "zod";
@@ -21,6 +21,9 @@
21
21
  *
22
22
  * Upload large files with /api/v1/uploads: read /api/v1/upload-configuration first, send exact-sized
23
23
  * parts, then complete the upload and send its attachment id in a message.
24
+ *
25
+ * Files uploaded that way are listed by search-attachments. Renaming or removing one does not change
26
+ * the conversations that already use it; downloading keeps working.
24
27
  * OpenAPI spec version: 2.0.0
25
28
  */
26
29
  import * as zod from "zod";
@@ -21,6 +21,9 @@
21
21
  *
22
22
  * Upload large files with /api/v1/uploads: read /api/v1/upload-configuration first, send exact-sized
23
23
  * parts, then complete the upload and send its attachment id in a message.
24
+ *
25
+ * Files uploaded that way are listed by search-attachments. Renaming or removing one does not change
26
+ * the conversations that already use it; downloading keeps working.
24
27
  * OpenAPI spec version: 2.0.0
25
28
  */
26
29
  import * as zod from "zod";
@@ -21,6 +21,9 @@
21
21
  *
22
22
  * Upload large files with /api/v1/uploads: read /api/v1/upload-configuration first, send exact-sized
23
23
  * parts, then complete the upload and send its attachment id in a message.
24
+ *
25
+ * Files uploaded that way are listed by search-attachments. Renaming or removing one does not change
26
+ * the conversations that already use it; downloading keeps working.
24
27
  * OpenAPI spec version: 2.0.0
25
28
  */
26
29
  import * as zod from "zod";
@@ -21,6 +21,9 @@
21
21
  *
22
22
  * Upload large files with /api/v1/uploads: read /api/v1/upload-configuration first, send exact-sized
23
23
  * parts, then complete the upload and send its attachment id in a message.
24
+ *
25
+ * Files uploaded that way are listed by search-attachments. Renaming or removing one does not change
26
+ * the conversations that already use it; downloading keeps working.
24
27
  * OpenAPI spec version: 2.0.0
25
28
  */
26
29
  import * as zod from "zod";
@@ -21,6 +21,9 @@
21
21
  *
22
22
  * Upload large files with /api/v1/uploads: read /api/v1/upload-configuration first, send exact-sized
23
23
  * parts, then complete the upload and send its attachment id in a message.
24
+ *
25
+ * Files uploaded that way are listed by search-attachments. Renaming or removing one does not change
26
+ * the conversations that already use it; downloading keeps working.
24
27
  * OpenAPI spec version: 2.0.0
25
28
  */
26
29
  import * as zod from "zod";
@@ -21,6 +21,9 @@
21
21
  *
22
22
  * Upload large files with /api/v1/uploads: read /api/v1/upload-configuration first, send exact-sized
23
23
  * parts, then complete the upload and send its attachment id in a message.
24
+ *
25
+ * Files uploaded that way are listed by search-attachments. Renaming or removing one does not change
26
+ * the conversations that already use it; downloading keeps working.
24
27
  * OpenAPI spec version: 2.0.0
25
28
  */
26
29
  import * as zod from "zod";
@@ -21,6 +21,9 @@
21
21
  *
22
22
  * Upload large files with /api/v1/uploads: read /api/v1/upload-configuration first, send exact-sized
23
23
  * parts, then complete the upload and send its attachment id in a message.
24
+ *
25
+ * Files uploaded that way are listed by search-attachments. Renaming or removing one does not change
26
+ * the conversations that already use it; downloading keeps working.
24
27
  * OpenAPI spec version: 2.0.0
25
28
  */
26
29
  import * as zod from "zod";
@@ -21,6 +21,9 @@
21
21
  *
22
22
  * Upload large files with /api/v1/uploads: read /api/v1/upload-configuration first, send exact-sized
23
23
  * parts, then complete the upload and send its attachment id in a message.
24
+ *
25
+ * Files uploaded that way are listed by search-attachments. Renaming or removing one does not change
26
+ * the conversations that already use it; downloading keeps working.
24
27
  * OpenAPI spec version: 2.0.0
25
28
  */
26
29
  import * as zod from "zod";
@@ -21,6 +21,9 @@
21
21
  *
22
22
  * Upload large files with /api/v1/uploads: read /api/v1/upload-configuration first, send exact-sized
23
23
  * parts, then complete the upload and send its attachment id in a message.
24
+ *
25
+ * Files uploaded that way are listed by search-attachments. Renaming or removing one does not change
26
+ * the conversations that already use it; downloading keeps working.
24
27
  * OpenAPI spec version: 2.0.0
25
28
  */
26
29
  import * as zod from "zod";
@@ -21,6 +21,9 @@
21
21
  *
22
22
  * Upload large files with /api/v1/uploads: read /api/v1/upload-configuration first, send exact-sized
23
23
  * parts, then complete the upload and send its attachment id in a message.
24
+ *
25
+ * Files uploaded that way are listed by search-attachments. Renaming or removing one does not change
26
+ * the conversations that already use it; downloading keeps working.
24
27
  * OpenAPI spec version: 2.0.0
25
28
  */
26
29
  import * as zod from "zod";
@@ -21,6 +21,9 @@
21
21
  *
22
22
  * Upload large files with /api/v1/uploads: read /api/v1/upload-configuration first, send exact-sized
23
23
  * parts, then complete the upload and send its attachment id in a message.
24
+ *
25
+ * Files uploaded that way are listed by search-attachments. Renaming or removing one does not change
26
+ * the conversations that already use it; downloading keeps working.
24
27
  * OpenAPI spec version: 2.0.0
25
28
  */
26
29
  import * as zod from "zod";
@@ -21,6 +21,9 @@
21
21
  *
22
22
  * Upload large files with /api/v1/uploads: read /api/v1/upload-configuration first, send exact-sized
23
23
  * parts, then complete the upload and send its attachment id in a message.
24
+ *
25
+ * Files uploaded that way are listed by search-attachments. Renaming or removing one does not change
26
+ * the conversations that already use it; downloading keeps working.
24
27
  * OpenAPI spec version: 2.0.0
25
28
  */
26
29
  import * as zod from "zod";
@@ -21,6 +21,9 @@
21
21
  *
22
22
  * Upload large files with /api/v1/uploads: read /api/v1/upload-configuration first, send exact-sized
23
23
  * parts, then complete the upload and send its attachment id in a message.
24
+ *
25
+ * Files uploaded that way are listed by search-attachments. Renaming or removing one does not change
26
+ * the conversations that already use it; downloading keeps working.
24
27
  * OpenAPI spec version: 2.0.0
25
28
  */
26
29
  import * as zod from "zod";
@@ -21,6 +21,9 @@
21
21
  *
22
22
  * Upload large files with /api/v1/uploads: read /api/v1/upload-configuration first, send exact-sized
23
23
  * parts, then complete the upload and send its attachment id in a message.
24
+ *
25
+ * Files uploaded that way are listed by search-attachments. Renaming or removing one does not change
26
+ * the conversations that already use it; downloading keeps working.
24
27
  * OpenAPI spec version: 2.0.0
25
28
  */
26
29
  import * as zod from "zod";
@@ -21,6 +21,9 @@
21
21
  *
22
22
  * Upload large files with /api/v1/uploads: read /api/v1/upload-configuration first, send exact-sized
23
23
  * parts, then complete the upload and send its attachment id in a message.
24
+ *
25
+ * Files uploaded that way are listed by search-attachments. Renaming or removing one does not change
26
+ * the conversations that already use it; downloading keeps working.
24
27
  * OpenAPI spec version: 2.0.0
25
28
  */
26
29
  import * as zod from "zod";
@@ -21,6 +21,9 @@
21
21
  *
22
22
  * Upload large files with /api/v1/uploads: read /api/v1/upload-configuration first, send exact-sized
23
23
  * parts, then complete the upload and send its attachment id in a message.
24
+ *
25
+ * Files uploaded that way are listed by search-attachments. Renaming or removing one does not change
26
+ * the conversations that already use it; downloading keeps working.
24
27
  * OpenAPI spec version: 2.0.0
25
28
  */
26
29
  import * as zod from "zod";
@@ -21,6 +21,9 @@
21
21
  *
22
22
  * Upload large files with /api/v1/uploads: read /api/v1/upload-configuration first, send exact-sized
23
23
  * parts, then complete the upload and send its attachment id in a message.
24
+ *
25
+ * Files uploaded that way are listed by search-attachments. Renaming or removing one does not change
26
+ * the conversations that already use it; downloading keeps working.
24
27
  * OpenAPI spec version: 2.0.0
25
28
  */
26
29
  import * as zod from "zod";
@@ -21,6 +21,9 @@
21
21
  *
22
22
  * Upload large files with /api/v1/uploads: read /api/v1/upload-configuration first, send exact-sized
23
23
  * parts, then complete the upload and send its attachment id in a message.
24
+ *
25
+ * Files uploaded that way are listed by search-attachments. Renaming or removing one does not change
26
+ * the conversations that already use it; downloading keeps working.
24
27
  * OpenAPI spec version: 2.0.0
25
28
  */
26
29
  import * as zod from "zod";
@@ -21,6 +21,9 @@
21
21
  *
22
22
  * Upload large files with /api/v1/uploads: read /api/v1/upload-configuration first, send exact-sized
23
23
  * parts, then complete the upload and send its attachment id in a message.
24
+ *
25
+ * Files uploaded that way are listed by search-attachments. Renaming or removing one does not change
26
+ * the conversations that already use it; downloading keeps working.
24
27
  * OpenAPI spec version: 2.0.0
25
28
  */
26
29
  import * as zod from "zod";
@@ -21,6 +21,9 @@
21
21
  *
22
22
  * Upload large files with /api/v1/uploads: read /api/v1/upload-configuration first, send exact-sized
23
23
  * parts, then complete the upload and send its attachment id in a message.
24
+ *
25
+ * Files uploaded that way are listed by search-attachments. Renaming or removing one does not change
26
+ * the conversations that already use it; downloading keeps working.
24
27
  * OpenAPI spec version: 2.0.0
25
28
  */
26
29
  import * as zod from "zod";
@@ -21,6 +21,9 @@
21
21
  *
22
22
  * Upload large files with /api/v1/uploads: read /api/v1/upload-configuration first, send exact-sized
23
23
  * parts, then complete the upload and send its attachment id in a message.
24
+ *
25
+ * Files uploaded that way are listed by search-attachments. Renaming or removing one does not change
26
+ * the conversations that already use it; downloading keeps working.
24
27
  * OpenAPI spec version: 2.0.0
25
28
  */
26
29
  import * as zod from "zod";
@@ -21,6 +21,9 @@
21
21
  *
22
22
  * Upload large files with /api/v1/uploads: read /api/v1/upload-configuration first, send exact-sized
23
23
  * parts, then complete the upload and send its attachment id in a message.
24
+ *
25
+ * Files uploaded that way are listed by search-attachments. Renaming or removing one does not change
26
+ * the conversations that already use it; downloading keeps working.
24
27
  * OpenAPI spec version: 2.0.0
25
28
  */
26
29
  import * as zod from "zod";
@@ -21,6 +21,9 @@
21
21
  *
22
22
  * Upload large files with /api/v1/uploads: read /api/v1/upload-configuration first, send exact-sized
23
23
  * parts, then complete the upload and send its attachment id in a message.
24
+ *
25
+ * Files uploaded that way are listed by search-attachments. Renaming or removing one does not change
26
+ * the conversations that already use it; downloading keeps working.
24
27
  * OpenAPI spec version: 2.0.0
25
28
  */
26
29
  import * as zod from "zod";
@@ -21,6 +21,9 @@
21
21
  *
22
22
  * Upload large files with /api/v1/uploads: read /api/v1/upload-configuration first, send exact-sized
23
23
  * parts, then complete the upload and send its attachment id in a message.
24
+ *
25
+ * Files uploaded that way are listed by search-attachments. Renaming or removing one does not change
26
+ * the conversations that already use it; downloading keeps working.
24
27
  * OpenAPI spec version: 2.0.0
25
28
  */
26
29
  import * as zod from "zod";
@@ -21,6 +21,9 @@
21
21
  *
22
22
  * Upload large files with /api/v1/uploads: read /api/v1/upload-configuration first, send exact-sized
23
23
  * parts, then complete the upload and send its attachment id in a message.
24
+ *
25
+ * Files uploaded that way are listed by search-attachments. Renaming or removing one does not change
26
+ * the conversations that already use it; downloading keeps working.
24
27
  * OpenAPI spec version: 2.0.0
25
28
  */
26
29
  import * as zod from "zod";
@@ -21,6 +21,9 @@
21
21
  *
22
22
  * Upload large files with /api/v1/uploads: read /api/v1/upload-configuration first, send exact-sized
23
23
  * parts, then complete the upload and send its attachment id in a message.
24
+ *
25
+ * Files uploaded that way are listed by search-attachments. Renaming or removing one does not change
26
+ * the conversations that already use it; downloading keeps working.
24
27
  * OpenAPI spec version: 2.0.0
25
28
  */
26
29
  import * as zod from "zod";
@@ -12,7 +12,7 @@
12
12
  * project. It does not state whether a given operation is allowed; each service declares which permission its own operations require.
13
13
  * OpenAPI spec version: 1.0.0
14
14
  */
15
- import type { ApplicationResource, AttachPolicyRequestBody, BatchGetMembersRequestBody, BatchGetMembersResponseBody, CatalogListResponseBody, CreateApplicationRequestBody, CreateApplicationResponseBody, CreateRoleRequestBody, CreateSSHKeyRequestBody, Error, IssueInvitationRequestBody, IssuedInvitationResponseBody, LengthAwarePageApplicationResource, LengthAwarePageInvitationResource, LengthAwarePageMemberResource, LengthAwarePageSSHKeyResource, ListApplicationsParams, ListMembersParams, ListPoliciesParams, ListProjectInvitationsParams, ListSshKeysParams, MemberResource, MembershipResource, OwnershipTransferResponseBody, PolicyListResponseBody, PolicyResource, ProjectAccessResource, QuotaListResponseBody, RenameSSHKeyRequestBody, RoleListResponseBody, RoleResource, RotateApplicationSecretResponseBody, SSHKeyResource, SetMemberPermissionsRequestBody, SetMemberRolesRequestBody, SetProjectSlugRequestBody, TransferOwnershipRequestBody, UpdateApplicationRequestBody, UpdatePolicyRequestBody, UpdateProjectRequestBody, UpdateRoleRequestBody } from "./models.js";
15
+ import type { ApplicationResource, BatchGetMembersRequestBody, BatchGetMembersResponseBody, CreateApplicationRequestBody, CreateApplicationResponseBody, CreateMemberPermissionRequestBody, CreateRoleRequestBody, CreateSSHKeyRequestBody, Error, IssueInvitationRequestBody, IssuedInvitationResponseBody, LengthAwarePageApplicationResource, LengthAwarePageInvitationResource, LengthAwarePageMemberResource, LengthAwarePageSSHKeyResource, ListApplicationsParams, ListInvitationsParams, ListMembersParams, ListSshKeysParams, MemberPermissionListResponseBody, MemberPermissionResource, MemberResource, MembershipResource, OwnershipTransferResponseBody, PermissionListResponseBody, ProjectAccessResource, QuotaListResponseBody, RenameSSHKeyRequestBody, RoleListResponseBody, RoleResource, RotateApplicationSecretResponseBody, SSHKeyResource, SetMemberRolesRequestBody, SetProjectSlugRequestBody, TransferOwnershipRequestBody, UpdateApplicationRequestBody, UpdateProjectRequestBody, UpdateRoleRequestBody } from "./models.js";
16
16
  export type HTTPStatusCode1xx = 100 | 101 | 102 | 103;
17
17
  export type HTTPStatusCode2xx = 200 | 201 | 202 | 203 | 204 | 205 | 206 | 207;
18
18
  export type HTTPStatusCode3xx = 300 | 301 | 302 | 303 | 304 | 305 | 307 | 308;
@@ -20,7 +20,7 @@ export type HTTPStatusCode4xx = 400 | 401 | 402 | 403 | 404 | 405 | 406 | 407 |
20
20
  export type HTTPStatusCode5xx = 500 | 501 | 502 | 503 | 504 | 505 | 507 | 511;
21
21
  export type HTTPStatusCodes = HTTPStatusCode1xx | HTTPStatusCode2xx | HTTPStatusCode3xx | HTTPStatusCode4xx | HTTPStatusCode5xx;
22
22
  export type listPermissionsResponse200 = {
23
- data: CatalogListResponseBody;
23
+ data: PermissionListResponseBody;
24
24
  status: 200;
25
25
  };
26
26
  export type listPermissionsResponseDefault = {
@@ -36,7 +36,7 @@ export type listPermissionsResponseError = listPermissionsResponseDefault & {
36
36
  export type listPermissionsResponse = listPermissionsResponseSuccess | listPermissionsResponseError;
37
37
  export declare const getListPermissionsUrl: () => string;
38
38
  /**
39
- * Each service registers its own catalogue with IAM at start-up, so this is the platform-wide list rather than the permissions of IAM alone. **IAM does not decide anything with it** — each service decides using the caller's grant together with its own catalogue, and this list only serves to render the choices. A service that has never started does not appear here.
39
+ * Each service registers the permissions it enforces with IAM at start-up, so this is the platform-wide list rather than the permissions of IAM alone. **IAM does not decide anything with it** — each service decides using the caller's grant together with the permissions compiled into its own binary, and this list only serves to render the choices. A service that has never started does not appear here.
40
40
  * @summary List every permission the platform can grant
41
41
  */
42
42
  export declare const listPermissions: (options?: RequestInit, fetchFn?: typeof globalThis.fetch) => Promise<listPermissionsResponse>;
@@ -150,7 +150,7 @@ export type getProjectMembershipResponseError = getProjectMembershipResponseDefa
150
150
  export type getProjectMembershipResponse = getProjectMembershipResponseSuccess | getProjectMembershipResponseError;
151
151
  export declare const getGetProjectMembershipUrl: () => string;
152
152
  /**
153
- * Facts rather than a conclusion. There is no `allowed` field here, because each service holds the catalogue mapping its operations to permissions and decides on its own.
153
+ * Facts rather than a conclusion. There is no `allowed` field here, because each service holds the permissions its operations need and decides on its own.
154
154
  * @summary Get the caller's standing in this project
155
155
  */
156
156
  export declare const getProjectMembership: (options?: RequestInit, fetchFn?: typeof globalThis.fetch) => Promise<getProjectMembershipResponse>;
@@ -175,27 +175,27 @@ export declare const getListQuotasUrl: () => string;
175
175
  * @summary List this project's quotas
176
176
  */
177
177
  export declare const listQuotas: (options?: RequestInit, fetchFn?: typeof globalThis.fetch) => Promise<listQuotasResponse>;
178
- export type listProjectInvitationsResponse200 = {
178
+ export type listInvitationsResponse200 = {
179
179
  data: LengthAwarePageInvitationResource;
180
180
  status: 200;
181
181
  };
182
- export type listProjectInvitationsResponseDefault = {
182
+ export type listInvitationsResponseDefault = {
183
183
  data: Error;
184
184
  status: Exclude<HTTPStatusCodes, 200>;
185
185
  };
186
- export type listProjectInvitationsResponseSuccess = listProjectInvitationsResponse200 & {
186
+ export type listInvitationsResponseSuccess = listInvitationsResponse200 & {
187
187
  headers: Headers;
188
188
  };
189
- export type listProjectInvitationsResponseError = listProjectInvitationsResponseDefault & {
189
+ export type listInvitationsResponseError = listInvitationsResponseDefault & {
190
190
  headers: Headers;
191
191
  };
192
- export type listProjectInvitationsResponse = listProjectInvitationsResponseSuccess | listProjectInvitationsResponseError;
193
- export declare const getListProjectInvitationsUrl: (params?: ListProjectInvitationsParams) => string;
192
+ export type listInvitationsResponse = listInvitationsResponseSuccess | listInvitationsResponseError;
193
+ export declare const getListInvitationsUrl: (params?: ListInvitationsParams) => string;
194
194
  /**
195
195
  * Visible to any member, on the same rule as the member list. Who has been invited is part of who is in the project.
196
196
  * @summary List the invitations this project is still waiting on
197
197
  */
198
- export declare const listProjectInvitations: (params?: ListProjectInvitationsParams, options?: RequestInit, fetchFn?: typeof globalThis.fetch) => Promise<listProjectInvitationsResponse>;
198
+ export declare const listInvitations: (params?: ListInvitationsParams, options?: RequestInit, fetchFn?: typeof globalThis.fetch) => Promise<listInvitationsResponse>;
199
199
  export type issueInvitationResponse201 = {
200
200
  data: IssuedInvitationResponseBody;
201
201
  status: 201;
@@ -324,132 +324,75 @@ export declare const getSetMemberRolesUrl: (userId: string) => string;
324
324
  * @summary Set the roles a member holds
325
325
  */
326
326
  export declare const setMemberRoles: (userId: string, setMemberRolesRequestBody: SetMemberRolesRequestBody, options?: RequestInit, fetchFn?: typeof globalThis.fetch) => Promise<setMemberRolesResponse>;
327
- export type setMemberPermissionsResponse200 = {
328
- data: PolicyResource;
327
+ export type listMemberPermissionsResponse200 = {
328
+ data: MemberPermissionListResponseBody;
329
329
  status: 200;
330
330
  };
331
- export type setMemberPermissionsResponseDefault = {
331
+ export type listMemberPermissionsResponseDefault = {
332
332
  data: Error;
333
333
  status: Exclude<HTTPStatusCodes, 200>;
334
334
  };
335
- export type setMemberPermissionsResponseSuccess = setMemberPermissionsResponse200 & {
335
+ export type listMemberPermissionsResponseSuccess = listMemberPermissionsResponse200 & {
336
336
  headers: Headers;
337
337
  };
338
- export type setMemberPermissionsResponseError = setMemberPermissionsResponseDefault & {
338
+ export type listMemberPermissionsResponseError = listMemberPermissionsResponseDefault & {
339
339
  headers: Headers;
340
340
  };
341
- export type setMemberPermissionsResponse = setMemberPermissionsResponseSuccess | setMemberPermissionsResponseError;
342
- export declare const getSetMemberPermissionsUrl: (userId: string) => string;
341
+ export type listMemberPermissionsResponse = listMemberPermissionsResponseSuccess | listMemberPermissionsResponseError;
342
+ export declare const getListMemberPermissionsUrl: (userId: string) => string;
343
343
  /**
344
- * Replaces, in full, the permissions attached directly to the base policy. A direct permission grants one person something without creating a role only they hold, and it does not follow later changes to any role. Requires `iam:members.manage`.
345
- * @summary Set the permissions attached directly to a member
346
- */
347
- export declare const setMemberPermissions: (userId: string, setMemberPermissionsRequestBody: SetMemberPermissionsRequestBody, options?: RequestInit, fetchFn?: typeof globalThis.fetch) => Promise<setMemberPermissionsResponse>;
348
- export type listPoliciesResponse200 = {
349
- data: PolicyListResponseBody;
350
- status: 200;
351
- };
352
- export type listPoliciesResponseDefault = {
353
- data: Error;
354
- status: Exclude<HTTPStatusCodes, 200>;
355
- };
356
- export type listPoliciesResponseSuccess = listPoliciesResponse200 & {
357
- headers: Headers;
358
- };
359
- export type listPoliciesResponseError = listPoliciesResponseDefault & {
360
- headers: Headers;
361
- };
362
- export type listPoliciesResponse = listPoliciesResponseSuccess | listPoliciesResponseError;
363
- export declare const getListPoliciesUrl: (params?: ListPoliciesParams) => string;
364
- /**
365
- * Visible to any member, on the same rule as the member list. What has been granted to whom is part of who is in the project.
366
- * @summary List the policies in this project
344
+ * Every row states one permission this person holds apart from their roles: project-wide when `resource_type` and `resource_id` are null, otherwise only on that resource. What a role grants is not listed here; the member's grant carries the roles and their compiled rules.
345
+ *
346
+ * Visible to any member, on the same rule as the member list.
347
+ * @summary List the permissions granted directly to a member
367
348
  */
368
- export declare const listPolicies: (params?: ListPoliciesParams, options?: RequestInit, fetchFn?: typeof globalThis.fetch) => Promise<listPoliciesResponse>;
369
- export type attachPolicyResponse201 = {
370
- data: PolicyResource;
349
+ export declare const listMemberPermissions: (userId: string, options?: RequestInit, fetchFn?: typeof globalThis.fetch) => Promise<listMemberPermissionsResponse>;
350
+ export type createMemberPermissionResponse201 = {
351
+ data: MemberPermissionResource;
371
352
  status: 201;
372
353
  };
373
- export type attachPolicyResponseDefault = {
354
+ export type createMemberPermissionResponseDefault = {
374
355
  data: Error;
375
356
  status: Exclude<HTTPStatusCodes, 201>;
376
357
  };
377
- export type attachPolicyResponseSuccess = attachPolicyResponse201 & {
378
- headers: Headers;
379
- };
380
- export type attachPolicyResponseError = attachPolicyResponseDefault & {
381
- headers: Headers;
382
- };
383
- export type attachPolicyResponse = attachPolicyResponseSuccess | attachPolicyResponseError;
384
- export declare const getAttachPolicyUrl: () => string;
385
- /**
386
- * This creates an **additional** policy, which either carries a resource scope or has `deny` as its effect. An `allow` covering every resource is a base policy, of which each member holds exactly one, and it is changed with set-member-roles and set-member-permissions. `roles` cannot contain `OWNER` or `ADMIN`. Requires `iam:members.manage`.
387
- * @summary Attach a policy
388
- */
389
- export declare const attachPolicy: (attachPolicyRequestBody: AttachPolicyRequestBody, options?: RequestInit, fetchFn?: typeof globalThis.fetch) => Promise<attachPolicyResponse>;
390
- export type getPolicyResponse200 = {
391
- data: PolicyResource;
392
- status: 200;
393
- };
394
- export type getPolicyResponseDefault = {
395
- data: Error;
396
- status: Exclude<HTTPStatusCodes, 200>;
397
- };
398
- export type getPolicyResponseSuccess = getPolicyResponse200 & {
399
- headers: Headers;
400
- };
401
- export type getPolicyResponseError = getPolicyResponseDefault & {
402
- headers: Headers;
403
- };
404
- export type getPolicyResponse = getPolicyResponseSuccess | getPolicyResponseError;
405
- export declare const getGetPolicyUrl: (policyId: string) => string;
406
- /**
407
- * Visible to any member, on the same rule as list-policies; no further permission is required.
408
- * @summary Get a policy
409
- */
410
- export declare const getPolicy: (policyId: string, options?: RequestInit, fetchFn?: typeof globalThis.fetch) => Promise<getPolicyResponse>;
411
- export type updatePolicyResponse200 = {
412
- data: PolicyResource;
413
- status: 200;
414
- };
415
- export type updatePolicyResponseDefault = {
416
- data: Error;
417
- status: Exclude<HTTPStatusCodes, 200>;
418
- };
419
- export type updatePolicyResponseSuccess = updatePolicyResponse200 & {
358
+ export type createMemberPermissionResponseSuccess = createMemberPermissionResponse201 & {
420
359
  headers: Headers;
421
360
  };
422
- export type updatePolicyResponseError = updatePolicyResponseDefault & {
361
+ export type createMemberPermissionResponseError = createMemberPermissionResponseDefault & {
423
362
  headers: Headers;
424
363
  };
425
- export type updatePolicyResponse = updatePolicyResponseSuccess | updatePolicyResponseError;
426
- export declare const getUpdatePolicyUrl: (policyId: string) => string;
364
+ export type createMemberPermissionResponse = createMemberPermissionResponseSuccess | createMemberPermissionResponseError;
365
+ export declare const getCreateMemberPermissionUrl: (userId: string) => string;
427
366
  /**
428
- * Replaced in full rather than field by field — `resources`, `roles` and `permissions` are each overwritten, and an omitted one becomes empty. The **kind** of a policy cannot change — a base policy (an `allow` covering every resource) cannot take a resource scope, and a scoped policy cannot have its scope cleared. Delete and recreate to change the kind. Requires `iam:members.manage`.
429
- * @summary Update a policy
367
+ * Creates one permission row. The same row twice answers 409; changing a grant means revoking the row and creating another, so that each row records when it was granted.
368
+ *
369
+ * `OWNER` and `ADMIN` cannot be granted here, being facts on the membership. A permission that carries no resource dimension cannot be scoped: IAM refuses the row at grant time rather than storing a scope that would never hold.
370
+ *
371
+ * Requires `iam:members.manage`.
372
+ * @summary Grant a permission to a member
430
373
  */
431
- export declare const updatePolicy: (policyId: string, updatePolicyRequestBody: UpdatePolicyRequestBody, options?: RequestInit, fetchFn?: typeof globalThis.fetch) => Promise<updatePolicyResponse>;
432
- export type detachPolicyResponse204 = {
374
+ export declare const createMemberPermission: (userId: string, createMemberPermissionRequestBody: CreateMemberPermissionRequestBody, options?: RequestInit, fetchFn?: typeof globalThis.fetch) => Promise<createMemberPermissionResponse>;
375
+ export type deleteMemberPermissionResponse204 = {
433
376
  data: void;
434
377
  status: 204;
435
378
  };
436
- export type detachPolicyResponseDefault = {
379
+ export type deleteMemberPermissionResponseDefault = {
437
380
  data: Error;
438
381
  status: Exclude<HTTPStatusCodes, 204>;
439
382
  };
440
- export type detachPolicyResponseSuccess = detachPolicyResponse204 & {
383
+ export type deleteMemberPermissionResponseSuccess = deleteMemberPermissionResponse204 & {
441
384
  headers: Headers;
442
385
  };
443
- export type detachPolicyResponseError = detachPolicyResponseDefault & {
386
+ export type deleteMemberPermissionResponseError = deleteMemberPermissionResponseDefault & {
444
387
  headers: Headers;
445
388
  };
446
- export type detachPolicyResponse = detachPolicyResponseSuccess | detachPolicyResponseError;
447
- export declare const getDetachPolicyUrl: (policyId: string) => string;
389
+ export type deleteMemberPermissionResponse = deleteMemberPermissionResponseSuccess | deleteMemberPermissionResponseError;
390
+ export declare const getDeleteMemberPermissionUrl: (userId: string, permissionId: string) => string;
448
391
  /**
449
- * A base policy cannot be detached; it is where a member's roles sit. Use remove-member to take someone out of the project. Requires `iam:members.manage`.
450
- * @summary Detach a policy
392
+ * Removes that one row. Requires `iam:members.manage`.
393
+ * @summary Revoke a permission granted directly to a member
451
394
  */
452
- export declare const detachPolicy: (policyId: string, options?: RequestInit, fetchFn?: typeof globalThis.fetch) => Promise<detachPolicyResponse>;
395
+ export declare const deleteMemberPermission: (userId: string, permissionId: string, options?: RequestInit, fetchFn?: typeof globalThis.fetch) => Promise<deleteMemberPermissionResponse>;
453
396
  export type transferProjectOwnershipResponse200 = {
454
397
  data: OwnershipTransferResponseBody;
455
398
  status: 200;