@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.
- package/dist/assistant/v1/generated/functions.d.ts +104 -2
- package/dist/assistant/v1/generated/functions.js +115 -2
- package/dist/assistant/v1/generated/models.d.ts +102 -0
- package/dist/assistant/v1/generated/models.js +13 -0
- package/dist/assistant/v1/generated/schemas.zod.d.ts +36 -1
- package/dist/assistant/v1/generated/schemas.zod.js +35 -1
- package/dist/assistant/v1/generated/validators/answerQuestionRequestBody.zod.d.ts +3 -0
- package/dist/assistant/v1/generated/validators/answerQuestionRequestBody.zod.js +3 -0
- package/dist/assistant/v1/generated/validators/approvalMode.zod.d.ts +3 -0
- package/dist/assistant/v1/generated/validators/approvalMode.zod.js +3 -0
- package/dist/assistant/v1/generated/validators/attachmentCountsResource.zod.d.ts +35 -0
- package/dist/assistant/v1/generated/validators/attachmentCountsResource.zod.js +35 -0
- package/dist/assistant/v1/generated/validators/attachmentFileResource.zod.d.ts +47 -0
- package/dist/assistant/v1/generated/validators/attachmentFileResource.zod.js +44 -0
- package/dist/assistant/v1/generated/validators/attachmentListResponseBody.zod.d.ts +54 -0
- package/dist/assistant/v1/generated/validators/attachmentListResponseBody.zod.js +38 -0
- package/dist/assistant/v1/generated/validators/attachmentResource.zod.d.ts +3 -0
- package/dist/assistant/v1/generated/validators/attachmentResource.zod.js +3 -0
- package/dist/assistant/v1/generated/validators/bindingCodeResponseBody.zod.d.ts +3 -0
- package/dist/assistant/v1/generated/validators/bindingCodeResponseBody.zod.js +3 -0
- package/dist/assistant/v1/generated/validators/bindingResource.zod.d.ts +3 -0
- package/dist/assistant/v1/generated/validators/bindingResource.zod.js +3 -0
- package/dist/assistant/v1/generated/validators/channelResource.zod.d.ts +3 -0
- package/dist/assistant/v1/generated/validators/channelResource.zod.js +3 -0
- package/dist/assistant/v1/generated/validators/channelWithSecretResponseBody.zod.d.ts +3 -0
- package/dist/assistant/v1/generated/validators/channelWithSecretResponseBody.zod.js +3 -0
- package/dist/assistant/v1/generated/validators/checkSenderParams.zod.d.ts +3 -0
- package/dist/assistant/v1/generated/validators/checkSenderParams.zod.js +3 -0
- package/dist/assistant/v1/generated/validators/choiceResource.zod.d.ts +3 -0
- package/dist/assistant/v1/generated/validators/choiceResource.zod.js +3 -0
- package/dist/assistant/v1/generated/validators/clientActionRequest.zod.d.ts +3 -0
- package/dist/assistant/v1/generated/validators/clientActionRequest.zod.js +3 -0
- package/dist/assistant/v1/generated/validators/clientContextPart.zod.d.ts +3 -0
- package/dist/assistant/v1/generated/validators/clientContextPart.zod.js +3 -0
- package/dist/assistant/v1/generated/validators/clientContextRequest.zod.d.ts +3 -0
- package/dist/assistant/v1/generated/validators/clientContextRequest.zod.js +3 -0
- package/dist/assistant/v1/generated/validators/clientFunctionRequest.zod.d.ts +3 -0
- package/dist/assistant/v1/generated/validators/clientFunctionRequest.zod.js +3 -0
- package/dist/assistant/v1/generated/validators/completeUploadRequestBody.zod.d.ts +3 -0
- package/dist/assistant/v1/generated/validators/completeUploadRequestBody.zod.js +3 -0
- package/dist/assistant/v1/generated/validators/contextUsageResource.zod.d.ts +3 -0
- package/dist/assistant/v1/generated/validators/contextUsageResource.zod.js +3 -0
- package/dist/assistant/v1/generated/validators/createChannelRequestBody.zod.d.ts +3 -0
- package/dist/assistant/v1/generated/validators/createChannelRequestBody.zod.js +3 -0
- package/dist/assistant/v1/generated/validators/createFolderRequestBody.zod.d.ts +3 -0
- package/dist/assistant/v1/generated/validators/createFolderRequestBody.zod.js +3 -0
- package/dist/assistant/v1/generated/validators/createTaskRequestBody.zod.d.ts +3 -0
- package/dist/assistant/v1/generated/validators/createTaskRequestBody.zod.js +3 -0
- package/dist/assistant/v1/generated/validators/createThreadRequestBody.zod.d.ts +3 -0
- package/dist/assistant/v1/generated/validators/createThreadRequestBody.zod.js +3 -0
- package/dist/assistant/v1/generated/validators/createThreadResponseBody.zod.d.ts +3 -0
- package/dist/assistant/v1/generated/validators/createThreadResponseBody.zod.js +3 -0
- package/dist/assistant/v1/generated/validators/createUploadRequestBody.zod.d.ts +3 -0
- package/dist/assistant/v1/generated/validators/createUploadRequestBody.zod.js +3 -0
- package/dist/assistant/v1/generated/validators/credentialFieldResource.zod.d.ts +3 -0
- package/dist/assistant/v1/generated/validators/credentialFieldResource.zod.js +3 -0
- package/dist/assistant/v1/generated/validators/cursorPagination.zod.d.ts +3 -0
- package/dist/assistant/v1/generated/validators/cursorPagination.zod.js +3 -0
- package/dist/assistant/v1/generated/validators/decideToolCallsRequestBody.zod.d.ts +3 -0
- package/dist/assistant/v1/generated/validators/decideToolCallsRequestBody.zod.js +3 -0
- package/dist/assistant/v1/generated/validators/defaultModelResource.zod.d.ts +3 -0
- package/dist/assistant/v1/generated/validators/defaultModelResource.zod.js +3 -0
- package/dist/assistant/v1/generated/validators/error.zod.d.ts +3 -0
- package/dist/assistant/v1/generated/validators/error.zod.js +3 -0
- package/dist/assistant/v1/generated/validators/errorStatus.zod.d.ts +3 -0
- package/dist/assistant/v1/generated/validators/errorStatus.zod.js +3 -0
- package/dist/assistant/v1/generated/validators/fieldViolation.zod.d.ts +3 -0
- package/dist/assistant/v1/generated/validators/fieldViolation.zod.js +3 -0
- package/dist/assistant/v1/generated/validators/fileDiffResource.zod.d.ts +3 -0
- package/dist/assistant/v1/generated/validators/fileDiffResource.zod.js +3 -0
- package/dist/assistant/v1/generated/validators/folderCountsResource.zod.d.ts +3 -0
- package/dist/assistant/v1/generated/validators/folderCountsResource.zod.js +3 -0
- package/dist/assistant/v1/generated/validators/folderListResponseBody.zod.d.ts +3 -0
- package/dist/assistant/v1/generated/validators/folderListResponseBody.zod.js +3 -0
- package/dist/assistant/v1/generated/validators/folderResource.zod.d.ts +3 -0
- package/dist/assistant/v1/generated/validators/folderResource.zod.js +3 -0
- package/dist/assistant/v1/generated/validators/itemSourceResource.zod.d.ts +3 -0
- package/dist/assistant/v1/generated/validators/itemSourceResource.zod.js +3 -0
- package/dist/assistant/v1/generated/validators/lastTurnResource.zod.d.ts +3 -0
- package/dist/assistant/v1/generated/validators/lastTurnResource.zod.js +3 -0
- package/dist/assistant/v1/generated/validators/lengthAwarePageBindingResource.zod.d.ts +3 -0
- package/dist/assistant/v1/generated/validators/lengthAwarePageBindingResource.zod.js +3 -0
- package/dist/assistant/v1/generated/validators/lengthAwarePageChannelResource.zod.d.ts +3 -0
- package/dist/assistant/v1/generated/validators/lengthAwarePageChannelResource.zod.js +3 -0
- package/dist/assistant/v1/generated/validators/listBindingsParams.zod.d.ts +3 -0
- package/dist/assistant/v1/generated/validators/listBindingsParams.zod.js +3 -0
- package/dist/assistant/v1/generated/validators/listChannelRejectionsParams.zod.d.ts +3 -0
- package/dist/assistant/v1/generated/validators/listChannelRejectionsParams.zod.js +3 -0
- package/dist/assistant/v1/generated/validators/listChannelsParams.zod.d.ts +3 -0
- package/dist/assistant/v1/generated/validators/listChannelsParams.zod.js +3 -0
- package/dist/assistant/v1/generated/validators/listTaskRunsParams.zod.d.ts +3 -0
- package/dist/assistant/v1/generated/validators/listTaskRunsParams.zod.js +3 -0
- package/dist/assistant/v1/generated/validators/listThreadItemsParams.zod.d.ts +3 -0
- package/dist/assistant/v1/generated/validators/listThreadItemsParams.zod.js +3 -0
- package/dist/assistant/v1/generated/validators/listThreadMessagesParams.zod.d.ts +3 -0
- package/dist/assistant/v1/generated/validators/listThreadMessagesParams.zod.js +3 -0
- package/dist/assistant/v1/generated/validators/listThreadTurnsParams.zod.d.ts +3 -0
- package/dist/assistant/v1/generated/validators/listThreadTurnsParams.zod.js +3 -0
- package/dist/assistant/v1/generated/validators/loginResource.zod.d.ts +3 -0
- package/dist/assistant/v1/generated/validators/loginResource.zod.js +3 -0
- package/dist/assistant/v1/generated/validators/memoryListResponseBody.zod.d.ts +3 -0
- package/dist/assistant/v1/generated/validators/memoryListResponseBody.zod.js +3 -0
- package/dist/assistant/v1/generated/validators/memoryResource.zod.d.ts +3 -0
- package/dist/assistant/v1/generated/validators/memoryResource.zod.js +3 -0
- package/dist/assistant/v1/generated/validators/messagePart.zod.d.ts +3 -0
- package/dist/assistant/v1/generated/validators/messagePart.zod.js +3 -0
- package/dist/assistant/v1/generated/validators/moveFolderRequestBody.zod.d.ts +3 -0
- package/dist/assistant/v1/generated/validators/moveFolderRequestBody.zod.js +3 -0
- package/dist/assistant/v1/generated/validators/offsetPagination.zod.d.ts +3 -0
- package/dist/assistant/v1/generated/validators/offsetPagination.zod.js +3 -0
- package/dist/assistant/v1/generated/validators/partResource.zod.d.ts +3 -0
- package/dist/assistant/v1/generated/validators/partResource.zod.js +3 -0
- package/dist/assistant/v1/generated/validators/pendingActionResource.zod.d.ts +3 -0
- package/dist/assistant/v1/generated/validators/pendingActionResource.zod.js +3 -0
- package/dist/assistant/v1/generated/validators/placeThreadRequestBody.zod.d.ts +3 -0
- package/dist/assistant/v1/generated/validators/placeThreadRequestBody.zod.js +3 -0
- package/dist/assistant/v1/generated/validators/platformListResponseBody.zod.d.ts +3 -0
- package/dist/assistant/v1/generated/validators/platformListResponseBody.zod.js +3 -0
- package/dist/assistant/v1/generated/validators/platformResource.zod.d.ts +3 -0
- package/dist/assistant/v1/generated/validators/platformResource.zod.js +3 -0
- package/dist/assistant/v1/generated/validators/presentationResource.zod.d.ts +3 -0
- package/dist/assistant/v1/generated/validators/presentationResource.zod.js +3 -0
- package/dist/assistant/v1/generated/validators/putUploadPartHeaders.zod.d.ts +3 -0
- package/dist/assistant/v1/generated/validators/putUploadPartHeaders.zod.js +3 -0
- package/dist/assistant/v1/generated/validators/putUploadPartParams.zod.d.ts +3 -0
- package/dist/assistant/v1/generated/validators/putUploadPartParams.zod.js +3 -0
- package/dist/assistant/v1/generated/validators/questionResource.zod.d.ts +3 -0
- package/dist/assistant/v1/generated/validators/questionResource.zod.js +3 -0
- package/dist/assistant/v1/generated/validators/reasoningEffort.zod.d.ts +3 -0
- package/dist/assistant/v1/generated/validators/reasoningEffort.zod.js +3 -0
- package/dist/assistant/v1/generated/validators/rejectionListResponseBody.zod.d.ts +3 -0
- package/dist/assistant/v1/generated/validators/rejectionListResponseBody.zod.js +3 -0
- package/dist/assistant/v1/generated/validators/rejectionResource.zod.d.ts +3 -0
- package/dist/assistant/v1/generated/validators/rejectionResource.zod.js +3 -0
- package/dist/assistant/v1/generated/validators/resumeThreadRequestBody.zod.d.ts +3 -0
- package/dist/assistant/v1/generated/validators/resumeThreadRequestBody.zod.js +3 -0
- package/dist/assistant/v1/generated/validators/revertRequestBody.zod.d.ts +3 -0
- package/dist/assistant/v1/generated/validators/revertRequestBody.zod.js +3 -0
- package/dist/assistant/v1/generated/validators/revertedCountResponseBody.zod.d.ts +3 -0
- package/dist/assistant/v1/generated/validators/revertedCountResponseBody.zod.js +3 -0
- package/dist/assistant/v1/generated/validators/rotateSecretRequestBody.zod.d.ts +3 -0
- package/dist/assistant/v1/generated/validators/rotateSecretRequestBody.zod.js +3 -0
- package/dist/assistant/v1/generated/validators/searchAttachmentsRequestBody.zod.d.ts +51 -0
- package/dist/assistant/v1/generated/validators/searchAttachmentsRequestBody.zod.js +65 -0
- package/dist/assistant/v1/generated/validators/searchTasksRequestBody.zod.d.ts +3 -0
- package/dist/assistant/v1/generated/validators/searchTasksRequestBody.zod.js +3 -0
- package/dist/assistant/v1/generated/validators/searchThreadsRequestBody.zod.d.ts +3 -0
- package/dist/assistant/v1/generated/validators/searchThreadsRequestBody.zod.js +3 -0
- package/dist/assistant/v1/generated/validators/sendMessageRequestBody.zod.d.ts +3 -0
- package/dist/assistant/v1/generated/validators/sendMessageRequestBody.zod.js +3 -0
- package/dist/assistant/v1/generated/validators/sendMessageResponseBody.zod.d.ts +3 -0
- package/dist/assistant/v1/generated/validators/sendMessageResponseBody.zod.js +3 -0
- package/dist/assistant/v1/generated/validators/senderCheckResource.zod.d.ts +3 -0
- package/dist/assistant/v1/generated/validators/senderCheckResource.zod.js +3 -0
- package/dist/assistant/v1/generated/validators/settingsResource.zod.d.ts +3 -0
- package/dist/assistant/v1/generated/validators/settingsResource.zod.js +3 -0
- package/dist/assistant/v1/generated/validators/skillEnabledRequestBody.zod.d.ts +3 -0
- package/dist/assistant/v1/generated/validators/skillEnabledRequestBody.zod.js +3 -0
- package/dist/assistant/v1/generated/validators/skillListResponseBody.zod.d.ts +3 -0
- package/dist/assistant/v1/generated/validators/skillListResponseBody.zod.js +3 -0
- package/dist/assistant/v1/generated/validators/skillRequestBody.zod.d.ts +3 -0
- package/dist/assistant/v1/generated/validators/skillRequestBody.zod.js +3 -0
- package/dist/assistant/v1/generated/validators/skillResource.zod.d.ts +3 -0
- package/dist/assistant/v1/generated/validators/skillResource.zod.js +3 -0
- package/dist/assistant/v1/generated/validators/subagentCountResource.zod.d.ts +3 -0
- package/dist/assistant/v1/generated/validators/subagentCountResource.zod.js +3 -0
- package/dist/assistant/v1/generated/validators/taskAction.zod.d.ts +3 -0
- package/dist/assistant/v1/generated/validators/taskAction.zod.js +3 -0
- package/dist/assistant/v1/generated/validators/taskListResponseBody.zod.d.ts +3 -0
- package/dist/assistant/v1/generated/validators/taskListResponseBody.zod.js +3 -0
- package/dist/assistant/v1/generated/validators/taskResource.zod.d.ts +3 -0
- package/dist/assistant/v1/generated/validators/taskResource.zod.js +3 -0
- package/dist/assistant/v1/generated/validators/taskRunEvent.zod.d.ts +3 -0
- package/dist/assistant/v1/generated/validators/taskRunEvent.zod.js +3 -0
- package/dist/assistant/v1/generated/validators/taskRunListResponseBody.zod.d.ts +3 -0
- package/dist/assistant/v1/generated/validators/taskRunListResponseBody.zod.js +3 -0
- package/dist/assistant/v1/generated/validators/taskRunResource.zod.d.ts +3 -0
- package/dist/assistant/v1/generated/validators/taskRunResource.zod.js +3 -0
- package/dist/assistant/v1/generated/validators/taskTrigger.zod.d.ts +3 -0
- package/dist/assistant/v1/generated/validators/taskTrigger.zod.js +3 -0
- package/dist/assistant/v1/generated/validators/threadCountsResource.zod.d.ts +3 -0
- package/dist/assistant/v1/generated/validators/threadCountsResource.zod.js +3 -0
- package/dist/assistant/v1/generated/validators/threadItemListResponseBody.zod.d.ts +3 -0
- package/dist/assistant/v1/generated/validators/threadItemListResponseBody.zod.js +3 -0
- package/dist/assistant/v1/generated/validators/threadItemResource.zod.d.ts +3 -0
- package/dist/assistant/v1/generated/validators/threadItemResource.zod.js +3 -0
- package/dist/assistant/v1/generated/validators/threadListResponseBody.zod.d.ts +3 -0
- package/dist/assistant/v1/generated/validators/threadListResponseBody.zod.js +3 -0
- package/dist/assistant/v1/generated/validators/threadMessageListResponseBody.zod.d.ts +3 -0
- package/dist/assistant/v1/generated/validators/threadMessageListResponseBody.zod.js +3 -0
- package/dist/assistant/v1/generated/validators/threadMessageResource.zod.d.ts +3 -0
- package/dist/assistant/v1/generated/validators/threadMessageResource.zod.js +3 -0
- package/dist/assistant/v1/generated/validators/threadResource.zod.d.ts +3 -0
- package/dist/assistant/v1/generated/validators/threadResource.zod.js +3 -0
- package/dist/assistant/v1/generated/validators/threadStatus.zod.d.ts +3 -0
- package/dist/assistant/v1/generated/validators/threadStatus.zod.js +3 -0
- package/dist/assistant/v1/generated/validators/threadTurnListResponseBody.zod.d.ts +3 -0
- package/dist/assistant/v1/generated/validators/threadTurnListResponseBody.zod.js +3 -0
- package/dist/assistant/v1/generated/validators/threadTurnResource.zod.d.ts +3 -0
- package/dist/assistant/v1/generated/validators/threadTurnResource.zod.js +3 -0
- package/dist/assistant/v1/generated/validators/todoResource.zod.d.ts +3 -0
- package/dist/assistant/v1/generated/validators/todoResource.zod.js +3 -0
- package/dist/assistant/v1/generated/validators/toolCallResource.zod.d.ts +3 -0
- package/dist/assistant/v1/generated/validators/toolCallResource.zod.js +3 -0
- package/dist/assistant/v1/generated/validators/toolResultRequestBody.zod.d.ts +3 -0
- package/dist/assistant/v1/generated/validators/toolResultRequestBody.zod.js +3 -0
- package/dist/assistant/v1/generated/validators/turnStartedResponseBody.zod.d.ts +3 -0
- package/dist/assistant/v1/generated/validators/turnStartedResponseBody.zod.js +3 -0
- package/dist/assistant/v1/generated/validators/turnStatus.zod.d.ts +3 -0
- package/dist/assistant/v1/generated/validators/turnStatus.zod.js +3 -0
- package/dist/assistant/v1/generated/validators/turnType.zod.d.ts +3 -0
- package/dist/assistant/v1/generated/validators/turnType.zod.js +3 -0
- package/dist/assistant/v1/generated/validators/updateAttachmentRequestBody.zod.d.ts +35 -0
- package/dist/assistant/v1/generated/validators/updateAttachmentRequestBody.zod.js +33 -0
- package/dist/assistant/v1/generated/validators/updateChannelRequestBody.zod.d.ts +3 -0
- package/dist/assistant/v1/generated/validators/updateChannelRequestBody.zod.js +3 -0
- package/dist/assistant/v1/generated/validators/updateFolderRequestBody.zod.d.ts +3 -0
- package/dist/assistant/v1/generated/validators/updateFolderRequestBody.zod.js +3 -0
- package/dist/assistant/v1/generated/validators/updateSettingsRequestBody.zod.d.ts +3 -0
- package/dist/assistant/v1/generated/validators/updateSettingsRequestBody.zod.js +3 -0
- package/dist/assistant/v1/generated/validators/updateTaskRequestBody.zod.d.ts +3 -0
- package/dist/assistant/v1/generated/validators/updateTaskRequestBody.zod.js +3 -0
- package/dist/assistant/v1/generated/validators/updateThreadRequestBody.zod.d.ts +3 -0
- package/dist/assistant/v1/generated/validators/updateThreadRequestBody.zod.js +3 -0
- package/dist/assistant/v1/generated/validators/updateUploadRequestBody.zod.d.ts +3 -0
- package/dist/assistant/v1/generated/validators/updateUploadRequestBody.zod.js +3 -0
- package/dist/assistant/v1/generated/validators/uploadAttachmentParams.zod.d.ts +3 -0
- package/dist/assistant/v1/generated/validators/uploadAttachmentParams.zod.js +3 -0
- package/dist/assistant/v1/generated/validators/uploadConfigurationResource.zod.d.ts +3 -0
- package/dist/assistant/v1/generated/validators/uploadConfigurationResource.zod.js +3 -0
- package/dist/assistant/v1/generated/validators/uploadListResponseBody.zod.d.ts +3 -0
- package/dist/assistant/v1/generated/validators/uploadListResponseBody.zod.js +3 -0
- package/dist/assistant/v1/generated/validators/uploadPartResource.zod.d.ts +3 -0
- package/dist/assistant/v1/generated/validators/uploadPartResource.zod.js +3 -0
- package/dist/assistant/v1/generated/validators/uploadResource.zod.d.ts +3 -0
- package/dist/assistant/v1/generated/validators/uploadResource.zod.js +3 -0
- package/dist/assistant/v1/generated/validators/uploadedResource.zod.d.ts +3 -0
- package/dist/assistant/v1/generated/validators/uploadedResource.zod.js +3 -0
- package/dist/assistant/v1/generated/validators/usage.zod.d.ts +3 -0
- package/dist/assistant/v1/generated/validators/usage.zod.js +3 -0
- package/dist/assistant/v1/generated/validators/verifyCodeRequestBody.zod.d.ts +3 -0
- package/dist/assistant/v1/generated/validators/verifyCodeRequestBody.zod.js +3 -0
- package/dist/assistant/v1/generated/validators/webhookSecretResponseBody.zod.d.ts +3 -0
- package/dist/assistant/v1/generated/validators/webhookSecretResponseBody.zod.js +3 -0
- package/dist/iam/v1/generated/functions.d.ts +46 -103
- package/dist/iam/v1/generated/functions.js +29 -114
- package/dist/iam/v1/generated/models.d.ts +53 -118
- package/dist/iam/v1/generated/models.js +2 -6
- package/dist/iam/v1/generated/schemas.zod.d.ts +31 -62
- package/dist/iam/v1/generated/schemas.zod.js +35 -53
- package/dist/iam/v1/generated/validators/{updatePolicyRequestBody.zod.d.ts → createMemberPermissionRequestBody.zod.d.ts} +9 -11
- package/dist/iam/v1/generated/validators/createMemberPermissionRequestBody.zod.js +36 -0
- package/dist/iam/v1/generated/validators/grantResource.zod.js +1 -1
- package/dist/iam/v1/generated/validators/lengthAwarePageMemberResource.zod.d.ts +12 -0
- package/dist/iam/v1/generated/validators/{listProjectInvitationsParams.zod.d.ts → listInvitationsParams.zod.d.ts} +8 -8
- package/dist/iam/v1/generated/validators/{listProjectInvitationsParams.zod.js → listInvitationsParams.zod.js} +11 -11
- package/dist/iam/v1/generated/validators/{policyListResponseBody.zod.d.ts → memberPermissionListResponseBody.zod.d.ts} +8 -14
- package/dist/iam/v1/generated/validators/{catalogListResponseBody.zod.js → memberPermissionListResponseBody.zod.js} +3 -3
- package/dist/iam/v1/generated/validators/{policyResource.zod.d.ts → memberPermissionResource.zod.d.ts} +11 -14
- package/dist/iam/v1/generated/validators/memberPermissionResource.zod.js +38 -0
- package/dist/iam/v1/generated/validators/memberResource.zod.d.ts +12 -0
- package/dist/iam/v1/generated/validators/memberResource.zod.js +5 -0
- package/dist/iam/v1/generated/validators/ownershipTransferResponseBody.zod.d.ts +24 -0
- package/dist/iam/v1/generated/validators/{catalogResource.zod.d.ts → permissionListResponseBody.zod.d.ts} +4 -8
- package/dist/iam/v1/generated/validators/{policyListResponseBody.zod.js → permissionListResponseBody.zod.js} +3 -3
- package/dist/routes.d.ts +39 -31
- package/dist/routes.js +43 -34
- package/package.json +1 -1
- package/dist/iam/v1/generated/validators/attachPolicyRequestBody.zod.d.ts +0 -33
- package/dist/iam/v1/generated/validators/attachPolicyRequestBody.zod.js +0 -43
- package/dist/iam/v1/generated/validators/catalogListResponseBody.zod.d.ts +0 -30
- package/dist/iam/v1/generated/validators/catalogResource.zod.js +0 -25
- package/dist/iam/v1/generated/validators/listPoliciesParams.zod.d.ts +0 -21
- package/dist/iam/v1/generated/validators/listPoliciesParams.zod.js +0 -23
- package/dist/iam/v1/generated/validators/policyResource.zod.js +0 -33
- package/dist/iam/v1/generated/validators/resourceTypeResource.zod.d.ts +0 -20
- package/dist/iam/v1/generated/validators/resourceTypeResource.zod.js +0 -20
- package/dist/iam/v1/generated/validators/setMemberPermissionsRequestBody.zod.d.ts +0 -20
- package/dist/iam/v1/generated/validators/setMemberPermissionsRequestBody.zod.js +0 -21
- 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,
|
|
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:
|
|
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
|
|
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
|
|
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
|
|
178
|
+
export type listInvitationsResponse200 = {
|
|
179
179
|
data: LengthAwarePageInvitationResource;
|
|
180
180
|
status: 200;
|
|
181
181
|
};
|
|
182
|
-
export type
|
|
182
|
+
export type listInvitationsResponseDefault = {
|
|
183
183
|
data: Error;
|
|
184
184
|
status: Exclude<HTTPStatusCodes, 200>;
|
|
185
185
|
};
|
|
186
|
-
export type
|
|
186
|
+
export type listInvitationsResponseSuccess = listInvitationsResponse200 & {
|
|
187
187
|
headers: Headers;
|
|
188
188
|
};
|
|
189
|
-
export type
|
|
189
|
+
export type listInvitationsResponseError = listInvitationsResponseDefault & {
|
|
190
190
|
headers: Headers;
|
|
191
191
|
};
|
|
192
|
-
export type
|
|
193
|
-
export declare const
|
|
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
|
|
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
|
|
328
|
-
data:
|
|
327
|
+
export type listMemberPermissionsResponse200 = {
|
|
328
|
+
data: MemberPermissionListResponseBody;
|
|
329
329
|
status: 200;
|
|
330
330
|
};
|
|
331
|
-
export type
|
|
331
|
+
export type listMemberPermissionsResponseDefault = {
|
|
332
332
|
data: Error;
|
|
333
333
|
status: Exclude<HTTPStatusCodes, 200>;
|
|
334
334
|
};
|
|
335
|
-
export type
|
|
335
|
+
export type listMemberPermissionsResponseSuccess = listMemberPermissionsResponse200 & {
|
|
336
336
|
headers: Headers;
|
|
337
337
|
};
|
|
338
|
-
export type
|
|
338
|
+
export type listMemberPermissionsResponseError = listMemberPermissionsResponseDefault & {
|
|
339
339
|
headers: Headers;
|
|
340
340
|
};
|
|
341
|
-
export type
|
|
342
|
-
export declare const
|
|
341
|
+
export type listMemberPermissionsResponse = listMemberPermissionsResponseSuccess | listMemberPermissionsResponseError;
|
|
342
|
+
export declare const getListMemberPermissionsUrl: (userId: string) => string;
|
|
343
343
|
/**
|
|
344
|
-
*
|
|
345
|
-
*
|
|
346
|
-
|
|
347
|
-
|
|
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
|
|
369
|
-
export type
|
|
370
|
-
data:
|
|
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
|
|
354
|
+
export type createMemberPermissionResponseDefault = {
|
|
374
355
|
data: Error;
|
|
375
356
|
status: Exclude<HTTPStatusCodes, 201>;
|
|
376
357
|
};
|
|
377
|
-
export type
|
|
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
|
|
361
|
+
export type createMemberPermissionResponseError = createMemberPermissionResponseDefault & {
|
|
423
362
|
headers: Headers;
|
|
424
363
|
};
|
|
425
|
-
export type
|
|
426
|
-
export declare const
|
|
364
|
+
export type createMemberPermissionResponse = createMemberPermissionResponseSuccess | createMemberPermissionResponseError;
|
|
365
|
+
export declare const getCreateMemberPermissionUrl: (userId: string) => string;
|
|
427
366
|
/**
|
|
428
|
-
*
|
|
429
|
-
*
|
|
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
|
|
432
|
-
export type
|
|
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
|
|
379
|
+
export type deleteMemberPermissionResponseDefault = {
|
|
437
380
|
data: Error;
|
|
438
381
|
status: Exclude<HTTPStatusCodes, 204>;
|
|
439
382
|
};
|
|
440
|
-
export type
|
|
383
|
+
export type deleteMemberPermissionResponseSuccess = deleteMemberPermissionResponse204 & {
|
|
441
384
|
headers: Headers;
|
|
442
385
|
};
|
|
443
|
-
export type
|
|
386
|
+
export type deleteMemberPermissionResponseError = deleteMemberPermissionResponseDefault & {
|
|
444
387
|
headers: Headers;
|
|
445
388
|
};
|
|
446
|
-
export type
|
|
447
|
-
export declare const
|
|
389
|
+
export type deleteMemberPermissionResponse = deleteMemberPermissionResponseSuccess | deleteMemberPermissionResponseError;
|
|
390
|
+
export declare const getDeleteMemberPermissionUrl: (userId: string, permissionId: string) => string;
|
|
448
391
|
/**
|
|
449
|
-
*
|
|
450
|
-
* @summary
|
|
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
|
|
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;
|