@leaflow/sdk 0.178.0 → 0.180.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 +25 -58
- package/dist/assistant/v1/generated/functions.js +16 -54
- package/dist/assistant/v1/generated/models.d.ts +3 -105
- package/dist/assistant/v1/generated/models.js +0 -25
- package/dist/assistant/v1/generated/schemas.zod.d.ts +11 -12
- package/dist/assistant/v1/generated/schemas.zod.js +14 -12
- package/dist/assistant/v1/generated/validators/answerQuestionRequestBody.zod.d.ts +3 -2
- package/dist/assistant/v1/generated/validators/answerQuestionRequestBody.zod.js +3 -2
- package/dist/assistant/v1/generated/validators/approvalMode.zod.d.ts +3 -2
- package/dist/assistant/v1/generated/validators/approvalMode.zod.js +3 -2
- package/dist/assistant/v1/generated/validators/attachmentResource.zod.d.ts +3 -2
- package/dist/assistant/v1/generated/validators/attachmentResource.zod.js +3 -2
- package/dist/assistant/v1/generated/validators/bindingCodeResponseBody.zod.d.ts +3 -2
- package/dist/assistant/v1/generated/validators/bindingCodeResponseBody.zod.js +3 -2
- package/dist/assistant/v1/generated/validators/bindingResource.zod.d.ts +3 -2
- package/dist/assistant/v1/generated/validators/bindingResource.zod.js +3 -2
- package/dist/assistant/v1/generated/validators/channelResource.zod.d.ts +3 -2
- package/dist/assistant/v1/generated/validators/channelResource.zod.js +3 -2
- package/dist/assistant/v1/generated/validators/channelWithSecretResponseBody.zod.d.ts +3 -2
- package/dist/assistant/v1/generated/validators/channelWithSecretResponseBody.zod.js +3 -2
- package/dist/assistant/v1/generated/validators/checkSenderParams.zod.d.ts +3 -2
- package/dist/assistant/v1/generated/validators/checkSenderParams.zod.js +3 -2
- package/dist/assistant/v1/generated/validators/choiceResource.zod.d.ts +3 -2
- package/dist/assistant/v1/generated/validators/choiceResource.zod.js +3 -2
- package/dist/assistant/v1/generated/validators/clientActionRequest.zod.d.ts +3 -2
- package/dist/assistant/v1/generated/validators/clientActionRequest.zod.js +3 -2
- package/dist/assistant/v1/generated/validators/clientContextPart.zod.d.ts +3 -2
- package/dist/assistant/v1/generated/validators/clientContextPart.zod.js +3 -2
- package/dist/assistant/v1/generated/validators/clientContextRequest.zod.d.ts +3 -2
- package/dist/assistant/v1/generated/validators/clientContextRequest.zod.js +3 -2
- package/dist/assistant/v1/generated/validators/clientFunctionRequest.zod.d.ts +3 -2
- package/dist/assistant/v1/generated/validators/clientFunctionRequest.zod.js +3 -2
- package/dist/assistant/v1/generated/validators/completeUploadRequestBody.zod.d.ts +3 -2
- package/dist/assistant/v1/generated/validators/completeUploadRequestBody.zod.js +3 -2
- package/dist/assistant/v1/generated/validators/contextUsageResource.zod.d.ts +3 -2
- package/dist/assistant/v1/generated/validators/contextUsageResource.zod.js +3 -2
- package/dist/assistant/v1/generated/validators/createChannelRequestBody.zod.d.ts +3 -2
- package/dist/assistant/v1/generated/validators/createChannelRequestBody.zod.js +3 -2
- package/dist/assistant/v1/generated/validators/createFolderRequestBody.zod.d.ts +3 -2
- package/dist/assistant/v1/generated/validators/createFolderRequestBody.zod.js +3 -2
- package/dist/assistant/v1/generated/validators/createTaskRequestBody.zod.d.ts +3 -2
- package/dist/assistant/v1/generated/validators/createTaskRequestBody.zod.js +3 -2
- package/dist/assistant/v1/generated/validators/createThreadRequestBody.zod.d.ts +3 -2
- package/dist/assistant/v1/generated/validators/createThreadRequestBody.zod.js +3 -2
- package/dist/assistant/v1/generated/validators/createThreadResponseBody.zod.d.ts +3 -2
- package/dist/assistant/v1/generated/validators/createThreadResponseBody.zod.js +3 -2
- package/dist/assistant/v1/generated/validators/createUploadRequestBody.zod.d.ts +3 -2
- package/dist/assistant/v1/generated/validators/createUploadRequestBody.zod.js +3 -2
- package/dist/assistant/v1/generated/validators/credentialFieldResource.zod.d.ts +3 -2
- package/dist/assistant/v1/generated/validators/credentialFieldResource.zod.js +3 -2
- package/dist/assistant/v1/generated/validators/cursorPagination.zod.d.ts +3 -2
- package/dist/assistant/v1/generated/validators/cursorPagination.zod.js +3 -2
- package/dist/assistant/v1/generated/validators/decideToolCallsRequestBody.zod.d.ts +3 -2
- package/dist/assistant/v1/generated/validators/decideToolCallsRequestBody.zod.js +3 -2
- package/dist/assistant/v1/generated/validators/defaultModelResource.zod.d.ts +3 -2
- package/dist/assistant/v1/generated/validators/defaultModelResource.zod.js +3 -2
- package/dist/assistant/v1/generated/validators/error.zod.d.ts +3 -2
- package/dist/assistant/v1/generated/validators/error.zod.js +3 -2
- package/dist/assistant/v1/generated/validators/errorStatus.zod.d.ts +3 -2
- package/dist/assistant/v1/generated/validators/errorStatus.zod.js +3 -2
- package/dist/assistant/v1/generated/validators/fieldViolation.zod.d.ts +3 -2
- package/dist/assistant/v1/generated/validators/fieldViolation.zod.js +3 -2
- package/dist/assistant/v1/generated/validators/fileDiffResource.zod.d.ts +3 -2
- package/dist/assistant/v1/generated/validators/fileDiffResource.zod.js +3 -2
- package/dist/assistant/v1/generated/validators/folderCountsResource.zod.d.ts +3 -2
- package/dist/assistant/v1/generated/validators/folderCountsResource.zod.js +3 -2
- package/dist/assistant/v1/generated/validators/folderListResponseBody.zod.d.ts +3 -2
- package/dist/assistant/v1/generated/validators/folderListResponseBody.zod.js +3 -2
- package/dist/assistant/v1/generated/validators/folderResource.zod.d.ts +3 -2
- package/dist/assistant/v1/generated/validators/folderResource.zod.js +3 -2
- package/dist/assistant/v1/generated/validators/itemSourceResource.zod.d.ts +3 -2
- package/dist/assistant/v1/generated/validators/itemSourceResource.zod.js +3 -2
- package/dist/assistant/v1/generated/validators/lastTurnResource.zod.d.ts +3 -2
- package/dist/assistant/v1/generated/validators/lastTurnResource.zod.js +3 -2
- package/dist/assistant/v1/generated/validators/lengthAwarePageBindingResource.zod.d.ts +3 -2
- package/dist/assistant/v1/generated/validators/lengthAwarePageBindingResource.zod.js +3 -2
- package/dist/assistant/v1/generated/validators/lengthAwarePageChannelResource.zod.d.ts +3 -2
- package/dist/assistant/v1/generated/validators/lengthAwarePageChannelResource.zod.js +3 -2
- package/dist/assistant/v1/generated/validators/listBindingsParams.zod.d.ts +3 -2
- package/dist/assistant/v1/generated/validators/listBindingsParams.zod.js +3 -2
- package/dist/assistant/v1/generated/validators/listChannelRejectionsParams.zod.d.ts +3 -2
- package/dist/assistant/v1/generated/validators/listChannelRejectionsParams.zod.js +3 -2
- package/dist/assistant/v1/generated/validators/listChannelsParams.zod.d.ts +3 -2
- package/dist/assistant/v1/generated/validators/listChannelsParams.zod.js +3 -2
- package/dist/assistant/v1/generated/validators/listTaskRunsParams.zod.d.ts +3 -2
- package/dist/assistant/v1/generated/validators/listTaskRunsParams.zod.js +3 -2
- package/dist/assistant/v1/generated/validators/listThreadItemsParams.zod.d.ts +3 -2
- package/dist/assistant/v1/generated/validators/listThreadItemsParams.zod.js +3 -2
- package/dist/assistant/v1/generated/validators/listThreadMessagesParams.zod.d.ts +3 -2
- package/dist/assistant/v1/generated/validators/listThreadMessagesParams.zod.js +3 -2
- package/dist/assistant/v1/generated/validators/listThreadTurnsParams.zod.d.ts +3 -2
- package/dist/assistant/v1/generated/validators/listThreadTurnsParams.zod.js +3 -2
- package/dist/assistant/v1/generated/validators/loginResource.zod.d.ts +3 -2
- package/dist/assistant/v1/generated/validators/loginResource.zod.js +3 -2
- package/dist/assistant/v1/generated/validators/memoryListResponseBody.zod.d.ts +3 -2
- package/dist/assistant/v1/generated/validators/memoryListResponseBody.zod.js +3 -2
- package/dist/assistant/v1/generated/validators/memoryResource.zod.d.ts +3 -2
- package/dist/assistant/v1/generated/validators/memoryResource.zod.js +3 -2
- package/dist/assistant/v1/generated/validators/messagePart.zod.d.ts +3 -2
- package/dist/assistant/v1/generated/validators/messagePart.zod.js +3 -2
- package/dist/assistant/v1/generated/validators/moveFolderRequestBody.zod.d.ts +3 -2
- package/dist/assistant/v1/generated/validators/moveFolderRequestBody.zod.js +3 -2
- package/dist/assistant/v1/generated/validators/offsetPagination.zod.d.ts +3 -2
- package/dist/assistant/v1/generated/validators/offsetPagination.zod.js +3 -2
- package/dist/assistant/v1/generated/validators/partResource.zod.d.ts +3 -2
- package/dist/assistant/v1/generated/validators/partResource.zod.js +3 -2
- package/dist/assistant/v1/generated/validators/pendingActionResource.zod.d.ts +3 -2
- package/dist/assistant/v1/generated/validators/pendingActionResource.zod.js +3 -2
- package/dist/assistant/v1/generated/validators/placeThreadRequestBody.zod.d.ts +3 -2
- package/dist/assistant/v1/generated/validators/placeThreadRequestBody.zod.js +3 -2
- package/dist/assistant/v1/generated/validators/platformListResponseBody.zod.d.ts +3 -2
- package/dist/assistant/v1/generated/validators/platformListResponseBody.zod.js +3 -2
- package/dist/assistant/v1/generated/validators/platformResource.zod.d.ts +3 -2
- package/dist/assistant/v1/generated/validators/platformResource.zod.js +3 -2
- package/dist/assistant/v1/generated/validators/presentationResource.zod.d.ts +3 -2
- package/dist/assistant/v1/generated/validators/presentationResource.zod.js +3 -2
- package/dist/assistant/v1/generated/validators/putUploadPartHeaders.zod.d.ts +3 -2
- package/dist/assistant/v1/generated/validators/putUploadPartHeaders.zod.js +3 -2
- package/dist/assistant/v1/generated/validators/putUploadPartParams.zod.d.ts +3 -2
- package/dist/assistant/v1/generated/validators/putUploadPartParams.zod.js +3 -2
- package/dist/assistant/v1/generated/validators/questionResource.zod.d.ts +3 -2
- package/dist/assistant/v1/generated/validators/questionResource.zod.js +3 -2
- package/dist/assistant/v1/generated/validators/reasoningEffort.zod.d.ts +3 -2
- package/dist/assistant/v1/generated/validators/reasoningEffort.zod.js +3 -2
- package/dist/assistant/v1/generated/validators/rejectionListResponseBody.zod.d.ts +3 -2
- package/dist/assistant/v1/generated/validators/rejectionListResponseBody.zod.js +3 -2
- package/dist/assistant/v1/generated/validators/rejectionResource.zod.d.ts +3 -2
- package/dist/assistant/v1/generated/validators/rejectionResource.zod.js +3 -2
- package/dist/assistant/v1/generated/validators/resumeThreadRequestBody.zod.d.ts +3 -2
- package/dist/assistant/v1/generated/validators/resumeThreadRequestBody.zod.js +3 -2
- package/dist/assistant/v1/generated/validators/revertRequestBody.zod.d.ts +3 -2
- package/dist/assistant/v1/generated/validators/revertRequestBody.zod.js +3 -2
- package/dist/assistant/v1/generated/validators/revertedCountResponseBody.zod.d.ts +3 -2
- package/dist/assistant/v1/generated/validators/revertedCountResponseBody.zod.js +3 -2
- package/dist/assistant/v1/generated/validators/rotateSecretRequestBody.zod.d.ts +3 -2
- package/dist/assistant/v1/generated/validators/rotateSecretRequestBody.zod.js +3 -2
- package/dist/assistant/v1/generated/validators/searchTasksRequestBody.zod.d.ts +3 -2
- package/dist/assistant/v1/generated/validators/searchTasksRequestBody.zod.js +3 -2
- package/dist/assistant/v1/generated/validators/searchThreadsRequestBody.zod.d.ts +3 -2
- package/dist/assistant/v1/generated/validators/searchThreadsRequestBody.zod.js +3 -2
- package/dist/assistant/v1/generated/validators/sendMessageRequestBody.zod.d.ts +3 -2
- package/dist/assistant/v1/generated/validators/sendMessageRequestBody.zod.js +3 -2
- package/dist/assistant/v1/generated/validators/sendMessageResponseBody.zod.d.ts +3 -2
- package/dist/assistant/v1/generated/validators/sendMessageResponseBody.zod.js +3 -2
- package/dist/assistant/v1/generated/validators/senderCheckResource.zod.d.ts +3 -2
- package/dist/assistant/v1/generated/validators/senderCheckResource.zod.js +3 -2
- package/dist/assistant/v1/generated/validators/settingsResource.zod.d.ts +3 -2
- package/dist/assistant/v1/generated/validators/settingsResource.zod.js +3 -2
- package/dist/assistant/v1/generated/validators/skillEnabledRequestBody.zod.d.ts +3 -2
- package/dist/assistant/v1/generated/validators/skillEnabledRequestBody.zod.js +3 -2
- package/dist/assistant/v1/generated/validators/skillListResponseBody.zod.d.ts +3 -2
- package/dist/assistant/v1/generated/validators/skillListResponseBody.zod.js +3 -2
- package/dist/assistant/v1/generated/validators/skillRequestBody.zod.d.ts +3 -2
- package/dist/assistant/v1/generated/validators/skillRequestBody.zod.js +3 -2
- package/dist/assistant/v1/generated/validators/skillResource.zod.d.ts +3 -2
- package/dist/assistant/v1/generated/validators/skillResource.zod.js +3 -2
- package/dist/assistant/v1/generated/validators/subagentCountResource.zod.d.ts +3 -2
- package/dist/assistant/v1/generated/validators/subagentCountResource.zod.js +3 -2
- package/dist/assistant/v1/generated/validators/taskAction.zod.d.ts +3 -2
- package/dist/assistant/v1/generated/validators/taskAction.zod.js +3 -2
- package/dist/assistant/v1/generated/validators/taskListResponseBody.zod.d.ts +3 -2
- package/dist/assistant/v1/generated/validators/taskListResponseBody.zod.js +3 -2
- package/dist/assistant/v1/generated/validators/taskResource.zod.d.ts +3 -2
- package/dist/assistant/v1/generated/validators/taskResource.zod.js +3 -2
- package/dist/assistant/v1/generated/validators/taskRunListResponseBody.zod.d.ts +3 -2
- package/dist/assistant/v1/generated/validators/taskRunListResponseBody.zod.js +3 -2
- package/dist/assistant/v1/generated/validators/taskRunResource.zod.d.ts +3 -2
- package/dist/assistant/v1/generated/validators/taskRunResource.zod.js +3 -2
- package/dist/assistant/v1/generated/validators/taskTrigger.zod.d.ts +3 -2
- package/dist/assistant/v1/generated/validators/taskTrigger.zod.js +3 -2
- package/dist/assistant/v1/generated/validators/threadCountsResource.zod.d.ts +3 -2
- package/dist/assistant/v1/generated/validators/threadCountsResource.zod.js +3 -2
- package/dist/assistant/v1/generated/validators/threadItemListResponseBody.zod.d.ts +3 -2
- package/dist/assistant/v1/generated/validators/threadItemListResponseBody.zod.js +3 -2
- package/dist/assistant/v1/generated/validators/threadItemResource.zod.d.ts +3 -2
- package/dist/assistant/v1/generated/validators/threadItemResource.zod.js +3 -2
- package/dist/assistant/v1/generated/validators/threadListResponseBody.zod.d.ts +3 -2
- package/dist/assistant/v1/generated/validators/threadListResponseBody.zod.js +3 -2
- package/dist/assistant/v1/generated/validators/threadMessageListResponseBody.zod.d.ts +3 -2
- package/dist/assistant/v1/generated/validators/threadMessageListResponseBody.zod.js +3 -2
- package/dist/assistant/v1/generated/validators/threadMessageResource.zod.d.ts +3 -2
- package/dist/assistant/v1/generated/validators/threadMessageResource.zod.js +3 -2
- package/dist/assistant/v1/generated/validators/threadResource.zod.d.ts +3 -2
- package/dist/assistant/v1/generated/validators/threadResource.zod.js +3 -2
- package/dist/assistant/v1/generated/validators/threadStatus.zod.d.ts +3 -2
- package/dist/assistant/v1/generated/validators/threadStatus.zod.js +3 -2
- package/dist/assistant/v1/generated/validators/threadTurnListResponseBody.zod.d.ts +3 -2
- package/dist/assistant/v1/generated/validators/threadTurnListResponseBody.zod.js +3 -2
- package/dist/assistant/v1/generated/validators/threadTurnResource.zod.d.ts +3 -2
- package/dist/assistant/v1/generated/validators/threadTurnResource.zod.js +3 -2
- package/dist/assistant/v1/generated/validators/todoResource.zod.d.ts +3 -2
- package/dist/assistant/v1/generated/validators/todoResource.zod.js +3 -2
- package/dist/assistant/v1/generated/validators/toolCallResource.zod.d.ts +3 -2
- package/dist/assistant/v1/generated/validators/toolCallResource.zod.js +3 -2
- package/dist/assistant/v1/generated/validators/toolResultRequestBody.zod.d.ts +3 -2
- package/dist/assistant/v1/generated/validators/toolResultRequestBody.zod.js +3 -2
- package/dist/assistant/v1/generated/validators/turnStartedResponseBody.zod.d.ts +3 -2
- package/dist/assistant/v1/generated/validators/turnStartedResponseBody.zod.js +3 -2
- package/dist/assistant/v1/generated/validators/turnStatus.zod.d.ts +3 -2
- package/dist/assistant/v1/generated/validators/turnStatus.zod.js +3 -2
- package/dist/assistant/v1/generated/validators/turnType.zod.d.ts +3 -2
- package/dist/assistant/v1/generated/validators/turnType.zod.js +3 -2
- package/dist/assistant/v1/generated/validators/updateChannelRequestBody.zod.d.ts +3 -2
- package/dist/assistant/v1/generated/validators/updateChannelRequestBody.zod.js +3 -2
- package/dist/assistant/v1/generated/validators/updateFolderRequestBody.zod.d.ts +3 -2
- package/dist/assistant/v1/generated/validators/updateFolderRequestBody.zod.js +3 -2
- package/dist/assistant/v1/generated/validators/updateSettingsRequestBody.zod.d.ts +3 -2
- package/dist/assistant/v1/generated/validators/updateSettingsRequestBody.zod.js +3 -2
- package/dist/assistant/v1/generated/validators/updateTaskRequestBody.zod.d.ts +3 -2
- package/dist/assistant/v1/generated/validators/updateTaskRequestBody.zod.js +3 -2
- package/dist/assistant/v1/generated/validators/updateThreadRequestBody.zod.d.ts +3 -2
- package/dist/assistant/v1/generated/validators/updateThreadRequestBody.zod.js +3 -2
- package/dist/assistant/v1/generated/validators/updateUploadRequestBody.zod.d.ts +3 -2
- package/dist/assistant/v1/generated/validators/updateUploadRequestBody.zod.js +3 -2
- package/dist/assistant/v1/generated/validators/uploadAttachmentParams.zod.d.ts +3 -2
- package/dist/assistant/v1/generated/validators/uploadAttachmentParams.zod.js +3 -2
- package/dist/assistant/v1/generated/validators/uploadConfigurationResource.zod.d.ts +3 -2
- package/dist/assistant/v1/generated/validators/uploadConfigurationResource.zod.js +3 -2
- package/dist/assistant/v1/generated/validators/uploadListResponseBody.zod.d.ts +3 -2
- package/dist/assistant/v1/generated/validators/uploadListResponseBody.zod.js +3 -2
- package/dist/assistant/v1/generated/validators/uploadPartResource.zod.d.ts +3 -2
- package/dist/assistant/v1/generated/validators/uploadPartResource.zod.js +3 -2
- package/dist/assistant/v1/generated/validators/uploadResource.zod.d.ts +3 -2
- package/dist/assistant/v1/generated/validators/uploadResource.zod.js +3 -2
- package/dist/assistant/v1/generated/validators/uploadedResource.zod.d.ts +3 -2
- package/dist/assistant/v1/generated/validators/uploadedResource.zod.js +3 -2
- package/dist/assistant/v1/generated/validators/usage.zod.d.ts +3 -2
- package/dist/assistant/v1/generated/validators/usage.zod.js +3 -2
- package/dist/assistant/v1/generated/validators/verifyCodeRequestBody.zod.d.ts +3 -2
- package/dist/assistant/v1/generated/validators/verifyCodeRequestBody.zod.js +3 -2
- package/dist/assistant/v1/generated/validators/webhookSecretResponseBody.zod.d.ts +3 -2
- package/dist/assistant/v1/generated/validators/webhookSecretResponseBody.zod.js +3 -2
- package/dist/eventbus/v1/generated/functions.d.ts +318 -41
- package/dist/eventbus/v1/generated/functions.js +203 -16
- package/dist/eventbus/v1/generated/models.d.ts +217 -26
- package/dist/eventbus/v1/generated/models.js +4 -0
- package/dist/eventbus/v1/generated/schemas.zod.d.ts +163 -30
- package/dist/eventbus/v1/generated/schemas.zod.js +175 -32
- package/dist/eventbus/v1/generated/validators/createEventRequest.zod.d.ts +59 -14
- package/dist/eventbus/v1/generated/validators/createEventRequest.zod.js +59 -14
- package/dist/eventbus/v1/generated/validators/createNamespaceRequest.zod.d.ts +94 -0
- package/dist/eventbus/v1/generated/validators/createNamespaceRequest.zod.js +99 -0
- package/dist/eventbus/v1/generated/validators/createVersionRequest.zod.d.ts +59 -14
- package/dist/eventbus/v1/generated/validators/createVersionRequest.zod.js +59 -14
- package/dist/eventbus/v1/generated/validators/cursorPagination.zod.d.ts +59 -14
- package/dist/eventbus/v1/generated/validators/cursorPagination.zod.js +59 -14
- package/dist/eventbus/v1/generated/validators/error.zod.d.ts +59 -14
- package/dist/eventbus/v1/generated/validators/error.zod.js +59 -14
- package/dist/eventbus/v1/generated/validators/errorStatus.zod.d.ts +59 -14
- package/dist/eventbus/v1/generated/validators/errorStatus.zod.js +59 -14
- package/dist/eventbus/v1/generated/validators/eventDetail.zod.d.ts +61 -14
- package/dist/eventbus/v1/generated/validators/eventDetail.zod.js +68 -15
- package/dist/eventbus/v1/generated/validators/eventList.zod.d.ts +60 -14
- package/dist/eventbus/v1/generated/validators/eventList.zod.js +59 -14
- package/dist/eventbus/v1/generated/validators/eventMessage.zod.d.ts +99 -0
- package/dist/eventbus/v1/generated/validators/eventMessage.zod.js +104 -0
- package/dist/eventbus/v1/generated/validators/eventResource.zod.d.ts +61 -14
- package/dist/eventbus/v1/generated/validators/eventResource.zod.js +68 -15
- package/dist/eventbus/v1/generated/validators/eventStatus.zod.d.ts +59 -14
- package/dist/eventbus/v1/generated/validators/eventStatus.zod.js +59 -14
- package/dist/eventbus/v1/generated/validators/eventVersion.zod.d.ts +59 -14
- package/dist/eventbus/v1/generated/validators/eventVersion.zod.js +59 -14
- package/dist/eventbus/v1/generated/validators/fieldViolation.zod.d.ts +59 -14
- package/dist/eventbus/v1/generated/validators/fieldViolation.zod.js +59 -14
- package/dist/eventbus/v1/generated/validators/listEventsParams.zod.d.ts +59 -14
- package/dist/eventbus/v1/generated/validators/listEventsParams.zod.js +59 -14
- package/dist/eventbus/v1/generated/validators/listNamespacesParams.zod.d.ts +98 -0
- package/dist/eventbus/v1/generated/validators/listNamespacesParams.zod.js +100 -0
- package/dist/eventbus/v1/generated/validators/namespaceList.zod.d.ts +103 -0
- package/dist/eventbus/v1/generated/validators/namespaceList.zod.js +95 -0
- package/dist/eventbus/v1/generated/validators/namespaceResource.zod.d.ts +99 -0
- package/dist/eventbus/v1/generated/validators/namespaceResource.zod.js +101 -0
- package/dist/eventbus/v1/generated/validators/namespaceStatus.zod.d.ts +90 -0
- package/dist/eventbus/v1/generated/validators/namespaceStatus.zod.js +87 -0
- package/dist/eventbus/v1/generated/validators/offsetPagination.zod.d.ts +59 -14
- package/dist/eventbus/v1/generated/validators/offsetPagination.zod.js +59 -14
- package/dist/eventbus/v1/generated/validators/publication.zod.d.ts +98 -0
- package/dist/eventbus/v1/generated/validators/publication.zod.js +111 -0
- package/dist/eventbus/v1/generated/validators/publishRequest.zod.d.ts +69 -20
- package/dist/eventbus/v1/generated/validators/publishRequest.zod.js +66 -27
- package/dist/eventbus/v1/generated/validators/publishResponse.zod.d.ts +65 -18
- package/dist/eventbus/v1/generated/validators/publishResponse.zod.js +63 -20
- package/dist/eventbus/v1/generated/validators/publishedMessage.zod.d.ts +92 -0
- package/dist/eventbus/v1/generated/validators/publishedMessage.zod.js +92 -0
- package/dist/eventbus/v1/generated/validators/realtimeTicket.zod.d.ts +61 -15
- package/dist/eventbus/v1/generated/validators/realtimeTicket.zod.js +69 -17
- package/dist/eventbus/v1/generated/validators/realtimeTicketRequest.zod.d.ts +91 -0
- package/dist/eventbus/v1/generated/validators/realtimeTicketRequest.zod.js +93 -0
- package/dist/eventbus/v1/generated/validators/updateEventRequest.zod.d.ts +59 -14
- package/dist/eventbus/v1/generated/validators/updateEventRequest.zod.js +59 -14
- package/dist/eventbus/v1/generated/validators/updateNamespaceRequest.zod.d.ts +94 -0
- package/dist/eventbus/v1/generated/validators/updateNamespaceRequest.zod.js +90 -0
- package/dist/iam/v1/generated/models.d.ts +6 -0
- package/dist/iam/v1/generated/schemas.zod.d.ts +2 -0
- package/dist/iam/v1/generated/validators/applicationResource.zod.d.ts +1 -0
- package/dist/iam/v1/generated/validators/applicationResource.zod.js +3 -0
- package/dist/iam/v1/generated/validators/createApplicationRequestBody.zod.d.ts +1 -0
- package/dist/iam/v1/generated/validators/createApplicationRequestBody.zod.js +4 -0
- package/dist/iam/v1/generated/validators/createApplicationResponseBody.zod.d.ts +1 -0
- package/dist/iam/v1/generated/validators/lengthAwarePageApplicationResource.zod.d.ts +1 -0
- package/dist/iam/v1/generated/validators/updateApplicationRequestBody.zod.d.ts +1 -0
- package/dist/iam/v1/generated/validators/updateApplicationRequestBody.zod.js +4 -0
- package/dist/notification/v1/generated/functions.d.ts +3 -58
- package/dist/notification/v1/generated/functions.js +2 -64
- package/dist/notification/v1/generated/models.d.ts +0 -47
- package/dist/notification/v1/generated/schemas.zod.d.ts +2 -17
- package/dist/notification/v1/generated/schemas.zod.js +2 -15
- package/dist/routes.d.ts +58 -34
- package/dist/routes.js +65 -38
- package/package.json +1 -1
- package/dist/assistant/v1/generated/validators/itemFrame.zod.d.ts +0 -36
- package/dist/assistant/v1/generated/validators/itemFrame.zod.js +0 -32
- package/dist/assistant/v1/generated/validators/openRealtimeParams.zod.d.ts +0 -31
- package/dist/assistant/v1/generated/validators/openRealtimeParams.zod.js +0 -29
- package/dist/assistant/v1/generated/validators/realtimeClientMessage.zod.d.ts +0 -38
- package/dist/assistant/v1/generated/validators/realtimeClientMessage.zod.js +0 -42
- package/dist/assistant/v1/generated/validators/realtimeExchange.zod.d.ts +0 -285
- package/dist/assistant/v1/generated/validators/realtimeExchange.zod.js +0 -33
- package/dist/assistant/v1/generated/validators/realtimeServerMessage.zod.d.ts +0 -274
- package/dist/assistant/v1/generated/validators/realtimeServerMessage.zod.js +0 -64
- package/dist/assistant/v1/generated/validators/realtimeTicketResource.zod.d.ts +0 -32
- package/dist/assistant/v1/generated/validators/realtimeTicketResource.zod.js +0 -30
- package/dist/notification/v1/generated/validators/authorizeRealtimeChannelRequestBody.zod.d.ts +0 -70
- package/dist/notification/v1/generated/validators/authorizeRealtimeChannelRequestBody.zod.js +0 -76
- package/dist/notification/v1/generated/validators/realtimeAuthResource.zod.d.ts +0 -67
- package/dist/notification/v1/generated/validators/realtimeAuthResource.zod.js +0 -67
- package/dist/notification/v1/generated/validators/realtimeConnectionResource.zod.d.ts +0 -76
- package/dist/notification/v1/generated/validators/realtimeConnectionResource.zod.js +0 -88
package/dist/routes.d.ts
CHANGED
|
@@ -494,22 +494,6 @@ export declare const routes: readonly [{
|
|
|
494
494
|
readonly operationId: "update-settings";
|
|
495
495
|
readonly securityScheme: "ScopedToken";
|
|
496
496
|
readonly upstreamUrl: "https://assistant.leaflow.cloud";
|
|
497
|
-
}, {
|
|
498
|
-
readonly service: "assistant";
|
|
499
|
-
readonly contract: "assistant";
|
|
500
|
-
readonly method: "POST";
|
|
501
|
-
readonly path: "/api/v1/realtime/tickets";
|
|
502
|
-
readonly operationId: "create-realtime-ticket";
|
|
503
|
-
readonly securityScheme: "ScopedToken";
|
|
504
|
-
readonly upstreamUrl: "https://assistant.leaflow.cloud";
|
|
505
|
-
}, {
|
|
506
|
-
readonly service: "assistant";
|
|
507
|
-
readonly contract: "assistant";
|
|
508
|
-
readonly method: "GET";
|
|
509
|
-
readonly path: "/api/v1/realtime";
|
|
510
|
-
readonly operationId: "open-realtime";
|
|
511
|
-
readonly securityScheme: null;
|
|
512
|
-
readonly upstreamUrl: "https://assistant.leaflow.cloud";
|
|
513
497
|
}, {
|
|
514
498
|
readonly service: "assistant";
|
|
515
499
|
readonly contract: "assistant";
|
|
@@ -782,6 +766,14 @@ export declare const routes: readonly [{
|
|
|
782
766
|
readonly operationId: "submit-weixin-verify-code";
|
|
783
767
|
readonly securityScheme: "ScopedToken";
|
|
784
768
|
readonly upstreamUrl: "https://assistant.leaflow.cloud";
|
|
769
|
+
}, {
|
|
770
|
+
readonly service: "assistant";
|
|
771
|
+
readonly contract: "assistant";
|
|
772
|
+
readonly method: "POST";
|
|
773
|
+
readonly path: "/api/v1/threads/{thread}/presence";
|
|
774
|
+
readonly operationId: "renew-thread-presence";
|
|
775
|
+
readonly securityScheme: "ScopedToken";
|
|
776
|
+
readonly upstreamUrl: "https://assistant.leaflow.cloud";
|
|
785
777
|
}, {
|
|
786
778
|
readonly service: "billing";
|
|
787
779
|
readonly contract: "billing";
|
|
@@ -2757,6 +2749,46 @@ export declare const routes: readonly [{
|
|
|
2757
2749
|
readonly operationId: "delete-record-set";
|
|
2758
2750
|
readonly securityScheme: "ScopedToken";
|
|
2759
2751
|
readonly upstreamUrl: "https://dns.leaflow.cloud";
|
|
2752
|
+
}, {
|
|
2753
|
+
readonly service: "eventbus";
|
|
2754
|
+
readonly contract: "eventbus";
|
|
2755
|
+
readonly method: "GET";
|
|
2756
|
+
readonly path: "/api/v1/namespaces";
|
|
2757
|
+
readonly operationId: "list-namespaces";
|
|
2758
|
+
readonly securityScheme: "ScopedToken";
|
|
2759
|
+
readonly upstreamUrl: "https://eventbus.leaflow.cloud";
|
|
2760
|
+
}, {
|
|
2761
|
+
readonly service: "eventbus";
|
|
2762
|
+
readonly contract: "eventbus";
|
|
2763
|
+
readonly method: "POST";
|
|
2764
|
+
readonly path: "/api/v1/namespaces";
|
|
2765
|
+
readonly operationId: "create-namespace";
|
|
2766
|
+
readonly securityScheme: "ScopedToken";
|
|
2767
|
+
readonly upstreamUrl: "https://eventbus.leaflow.cloud";
|
|
2768
|
+
}, {
|
|
2769
|
+
readonly service: "eventbus";
|
|
2770
|
+
readonly contract: "eventbus";
|
|
2771
|
+
readonly method: "GET";
|
|
2772
|
+
readonly path: "/api/v1/namespaces/{namespaceName}";
|
|
2773
|
+
readonly operationId: "get-namespace";
|
|
2774
|
+
readonly securityScheme: "ScopedToken";
|
|
2775
|
+
readonly upstreamUrl: "https://eventbus.leaflow.cloud";
|
|
2776
|
+
}, {
|
|
2777
|
+
readonly service: "eventbus";
|
|
2778
|
+
readonly contract: "eventbus";
|
|
2779
|
+
readonly method: "PATCH";
|
|
2780
|
+
readonly path: "/api/v1/namespaces/{namespaceName}";
|
|
2781
|
+
readonly operationId: "update-namespace";
|
|
2782
|
+
readonly securityScheme: "ScopedToken";
|
|
2783
|
+
readonly upstreamUrl: "https://eventbus.leaflow.cloud";
|
|
2784
|
+
}, {
|
|
2785
|
+
readonly service: "eventbus";
|
|
2786
|
+
readonly contract: "eventbus";
|
|
2787
|
+
readonly method: "DELETE";
|
|
2788
|
+
readonly path: "/api/v1/namespaces/{namespaceName}";
|
|
2789
|
+
readonly operationId: "delete-namespace";
|
|
2790
|
+
readonly securityScheme: "ScopedToken";
|
|
2791
|
+
readonly upstreamUrl: "https://eventbus.leaflow.cloud";
|
|
2760
2792
|
}, {
|
|
2761
2793
|
readonly service: "eventbus";
|
|
2762
2794
|
readonly contract: "eventbus";
|
|
@@ -2809,8 +2841,8 @@ export declare const routes: readonly [{
|
|
|
2809
2841
|
readonly service: "eventbus";
|
|
2810
2842
|
readonly contract: "eventbus";
|
|
2811
2843
|
readonly method: "POST";
|
|
2812
|
-
readonly path: "/api/v1/events
|
|
2813
|
-
readonly operationId: "publish-
|
|
2844
|
+
readonly path: "/api/v1/events:publish";
|
|
2845
|
+
readonly operationId: "publish-events";
|
|
2814
2846
|
readonly securityScheme: "ScopedToken";
|
|
2815
2847
|
readonly upstreamUrl: "https://eventbus.leaflow.cloud";
|
|
2816
2848
|
}, {
|
|
@@ -2821,6 +2853,14 @@ export declare const routes: readonly [{
|
|
|
2821
2853
|
readonly operationId: "create-realtime-ticket";
|
|
2822
2854
|
readonly securityScheme: "ScopedToken";
|
|
2823
2855
|
readonly upstreamUrl: "https://eventbus.leaflow.cloud";
|
|
2856
|
+
}, {
|
|
2857
|
+
readonly service: "eventbus";
|
|
2858
|
+
readonly contract: "eventbus";
|
|
2859
|
+
readonly method: "POST";
|
|
2860
|
+
readonly path: "/api/v1/account/realtime/tickets";
|
|
2861
|
+
readonly operationId: "create-account-realtime-ticket";
|
|
2862
|
+
readonly securityScheme: "AccessToken";
|
|
2863
|
+
readonly upstreamUrl: "https://eventbus.leaflow.cloud";
|
|
2824
2864
|
}, {
|
|
2825
2865
|
readonly service: "iam";
|
|
2826
2866
|
readonly contract: "iam";
|
|
@@ -3941,22 +3981,6 @@ export declare const routes: readonly [{
|
|
|
3941
3981
|
readonly operationId: "reveal-credential";
|
|
3942
3982
|
readonly securityScheme: "ScopedToken";
|
|
3943
3983
|
readonly upstreamUrl: "https://notification.leaflow.cloud";
|
|
3944
|
-
}, {
|
|
3945
|
-
readonly service: "notification";
|
|
3946
|
-
readonly contract: "notification";
|
|
3947
|
-
readonly method: "GET";
|
|
3948
|
-
readonly path: "/api/v1/realtime";
|
|
3949
|
-
readonly operationId: "describe-realtime-connection";
|
|
3950
|
-
readonly securityScheme: "ScopedToken";
|
|
3951
|
-
readonly upstreamUrl: "https://notification.leaflow.cloud";
|
|
3952
|
-
}, {
|
|
3953
|
-
readonly service: "notification";
|
|
3954
|
-
readonly contract: "notification";
|
|
3955
|
-
readonly method: "POST";
|
|
3956
|
-
readonly path: "/api/v1/realtime/auth";
|
|
3957
|
-
readonly operationId: "authorize-realtime-channel";
|
|
3958
|
-
readonly securityScheme: "ScopedToken";
|
|
3959
|
-
readonly upstreamUrl: "https://notification.leaflow.cloud";
|
|
3960
3984
|
}, {
|
|
3961
3985
|
readonly service: "support";
|
|
3962
3986
|
readonly contract: "support";
|
package/dist/routes.js
CHANGED
|
@@ -558,24 +558,6 @@ export const routes = [
|
|
|
558
558
|
securityScheme: "ScopedToken",
|
|
559
559
|
upstreamUrl: "https://assistant.leaflow.cloud",
|
|
560
560
|
},
|
|
561
|
-
{
|
|
562
|
-
service: "assistant",
|
|
563
|
-
contract: "assistant",
|
|
564
|
-
method: "POST",
|
|
565
|
-
path: "/api/v1/realtime/tickets",
|
|
566
|
-
operationId: "create-realtime-ticket",
|
|
567
|
-
securityScheme: "ScopedToken",
|
|
568
|
-
upstreamUrl: "https://assistant.leaflow.cloud",
|
|
569
|
-
},
|
|
570
|
-
{
|
|
571
|
-
service: "assistant",
|
|
572
|
-
contract: "assistant",
|
|
573
|
-
method: "GET",
|
|
574
|
-
path: "/api/v1/realtime",
|
|
575
|
-
operationId: "open-realtime",
|
|
576
|
-
securityScheme: null,
|
|
577
|
-
upstreamUrl: "https://assistant.leaflow.cloud",
|
|
578
|
-
},
|
|
579
561
|
{
|
|
580
562
|
service: "assistant",
|
|
581
563
|
contract: "assistant",
|
|
@@ -882,6 +864,15 @@ export const routes = [
|
|
|
882
864
|
securityScheme: "ScopedToken",
|
|
883
865
|
upstreamUrl: "https://assistant.leaflow.cloud",
|
|
884
866
|
},
|
|
867
|
+
{
|
|
868
|
+
service: "assistant",
|
|
869
|
+
contract: "assistant",
|
|
870
|
+
method: "POST",
|
|
871
|
+
path: "/api/v1/threads/{thread}/presence",
|
|
872
|
+
operationId: "renew-thread-presence",
|
|
873
|
+
securityScheme: "ScopedToken",
|
|
874
|
+
upstreamUrl: "https://assistant.leaflow.cloud",
|
|
875
|
+
},
|
|
885
876
|
{
|
|
886
877
|
service: "billing",
|
|
887
878
|
contract: "billing",
|
|
@@ -3102,6 +3093,51 @@ export const routes = [
|
|
|
3102
3093
|
securityScheme: "ScopedToken",
|
|
3103
3094
|
upstreamUrl: "https://dns.leaflow.cloud",
|
|
3104
3095
|
},
|
|
3096
|
+
{
|
|
3097
|
+
service: "eventbus",
|
|
3098
|
+
contract: "eventbus",
|
|
3099
|
+
method: "GET",
|
|
3100
|
+
path: "/api/v1/namespaces",
|
|
3101
|
+
operationId: "list-namespaces",
|
|
3102
|
+
securityScheme: "ScopedToken",
|
|
3103
|
+
upstreamUrl: "https://eventbus.leaflow.cloud",
|
|
3104
|
+
},
|
|
3105
|
+
{
|
|
3106
|
+
service: "eventbus",
|
|
3107
|
+
contract: "eventbus",
|
|
3108
|
+
method: "POST",
|
|
3109
|
+
path: "/api/v1/namespaces",
|
|
3110
|
+
operationId: "create-namespace",
|
|
3111
|
+
securityScheme: "ScopedToken",
|
|
3112
|
+
upstreamUrl: "https://eventbus.leaflow.cloud",
|
|
3113
|
+
},
|
|
3114
|
+
{
|
|
3115
|
+
service: "eventbus",
|
|
3116
|
+
contract: "eventbus",
|
|
3117
|
+
method: "GET",
|
|
3118
|
+
path: "/api/v1/namespaces/{namespaceName}",
|
|
3119
|
+
operationId: "get-namespace",
|
|
3120
|
+
securityScheme: "ScopedToken",
|
|
3121
|
+
upstreamUrl: "https://eventbus.leaflow.cloud",
|
|
3122
|
+
},
|
|
3123
|
+
{
|
|
3124
|
+
service: "eventbus",
|
|
3125
|
+
contract: "eventbus",
|
|
3126
|
+
method: "PATCH",
|
|
3127
|
+
path: "/api/v1/namespaces/{namespaceName}",
|
|
3128
|
+
operationId: "update-namespace",
|
|
3129
|
+
securityScheme: "ScopedToken",
|
|
3130
|
+
upstreamUrl: "https://eventbus.leaflow.cloud",
|
|
3131
|
+
},
|
|
3132
|
+
{
|
|
3133
|
+
service: "eventbus",
|
|
3134
|
+
contract: "eventbus",
|
|
3135
|
+
method: "DELETE",
|
|
3136
|
+
path: "/api/v1/namespaces/{namespaceName}",
|
|
3137
|
+
operationId: "delete-namespace",
|
|
3138
|
+
securityScheme: "ScopedToken",
|
|
3139
|
+
upstreamUrl: "https://eventbus.leaflow.cloud",
|
|
3140
|
+
},
|
|
3105
3141
|
{
|
|
3106
3142
|
service: "eventbus",
|
|
3107
3143
|
contract: "eventbus",
|
|
@@ -3160,8 +3196,8 @@ export const routes = [
|
|
|
3160
3196
|
service: "eventbus",
|
|
3161
3197
|
contract: "eventbus",
|
|
3162
3198
|
method: "POST",
|
|
3163
|
-
path: "/api/v1/events
|
|
3164
|
-
operationId: "publish-
|
|
3199
|
+
path: "/api/v1/events:publish",
|
|
3200
|
+
operationId: "publish-events",
|
|
3165
3201
|
securityScheme: "ScopedToken",
|
|
3166
3202
|
upstreamUrl: "https://eventbus.leaflow.cloud",
|
|
3167
3203
|
},
|
|
@@ -3174,6 +3210,15 @@ export const routes = [
|
|
|
3174
3210
|
securityScheme: "ScopedToken",
|
|
3175
3211
|
upstreamUrl: "https://eventbus.leaflow.cloud",
|
|
3176
3212
|
},
|
|
3213
|
+
{
|
|
3214
|
+
service: "eventbus",
|
|
3215
|
+
contract: "eventbus",
|
|
3216
|
+
method: "POST",
|
|
3217
|
+
path: "/api/v1/account/realtime/tickets",
|
|
3218
|
+
operationId: "create-account-realtime-ticket",
|
|
3219
|
+
securityScheme: "AccessToken",
|
|
3220
|
+
upstreamUrl: "https://eventbus.leaflow.cloud",
|
|
3221
|
+
},
|
|
3177
3222
|
{
|
|
3178
3223
|
service: "iam",
|
|
3179
3224
|
contract: "iam",
|
|
@@ -4434,24 +4479,6 @@ export const routes = [
|
|
|
4434
4479
|
securityScheme: "ScopedToken",
|
|
4435
4480
|
upstreamUrl: "https://notification.leaflow.cloud",
|
|
4436
4481
|
},
|
|
4437
|
-
{
|
|
4438
|
-
service: "notification",
|
|
4439
|
-
contract: "notification",
|
|
4440
|
-
method: "GET",
|
|
4441
|
-
path: "/api/v1/realtime",
|
|
4442
|
-
operationId: "describe-realtime-connection",
|
|
4443
|
-
securityScheme: "ScopedToken",
|
|
4444
|
-
upstreamUrl: "https://notification.leaflow.cloud",
|
|
4445
|
-
},
|
|
4446
|
-
{
|
|
4447
|
-
service: "notification",
|
|
4448
|
-
contract: "notification",
|
|
4449
|
-
method: "POST",
|
|
4450
|
-
path: "/api/v1/realtime/auth",
|
|
4451
|
-
operationId: "authorize-realtime-channel",
|
|
4452
|
-
securityScheme: "ScopedToken",
|
|
4453
|
-
upstreamUrl: "https://notification.leaflow.cloud",
|
|
4454
|
-
},
|
|
4455
4482
|
{
|
|
4456
4483
|
service: "support",
|
|
4457
4484
|
contract: "support",
|
package/package.json
CHANGED
|
@@ -1,36 +0,0 @@
|
|
|
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
|
-
* over the WebSocket described under /api/v1/realtime/tickets. list-thread-messages outlines the
|
|
19
|
-
* person's messages for navigating a long conversation.
|
|
20
|
-
*
|
|
21
|
-
* Upload large files with /api/v1/uploads: read /api/v1/upload-configuration first, send exact-sized
|
|
22
|
-
* parts, then complete the upload and send its attachment id in a message.
|
|
23
|
-
* OpenAPI spec version: 2.0.0
|
|
24
|
-
*/
|
|
25
|
-
import * as zod from "zod";
|
|
26
|
-
export declare const ItemFrame: zod.ZodObject<{
|
|
27
|
-
path: zod.ZodString;
|
|
28
|
-
op: zod.ZodEnum<{
|
|
29
|
-
set: "set";
|
|
30
|
-
add: "add";
|
|
31
|
-
append: "append";
|
|
32
|
-
}>;
|
|
33
|
-
value: zod.ZodUnknown;
|
|
34
|
-
}, zod.z.core.$strict>;
|
|
35
|
-
export type ItemFrame = zod.input<typeof ItemFrame>;
|
|
36
|
-
export type ItemFrameOutput = zod.output<typeof ItemFrame>;
|
|
@@ -1,32 +0,0 @@
|
|
|
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
|
-
* over the WebSocket described under /api/v1/realtime/tickets. list-thread-messages outlines the
|
|
19
|
-
* person's messages for navigating a long conversation.
|
|
20
|
-
*
|
|
21
|
-
* Upload large files with /api/v1/uploads: read /api/v1/upload-configuration first, send exact-sized
|
|
22
|
-
* parts, then complete the upload and send its attachment id in a message.
|
|
23
|
-
* OpenAPI spec version: 2.0.0
|
|
24
|
-
*/
|
|
25
|
-
import * as zod from "zod";
|
|
26
|
-
export const ItemFrame = zod
|
|
27
|
-
.strictObject({
|
|
28
|
-
path: zod.string(),
|
|
29
|
-
op: zod.enum(["add", "set", "append"]),
|
|
30
|
-
value: zod.unknown(),
|
|
31
|
-
})
|
|
32
|
-
.describe("An edit to the transcript as returned by list-thread-items. `path` is a JSON Pointer under\n`/items`: `add` appends `value` to `/items` or replaces the item with the same id, `set`\nreplaces the value at `path`, and `append` concatenates the string `value` to the string at\n`path`, which is how answer text streams in.");
|
|
@@ -1,31 +0,0 @@
|
|
|
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
|
-
* over the WebSocket described under /api/v1/realtime/tickets. list-thread-messages outlines the
|
|
19
|
-
* person's messages for navigating a long conversation.
|
|
20
|
-
*
|
|
21
|
-
* Upload large files with /api/v1/uploads: read /api/v1/upload-configuration first, send exact-sized
|
|
22
|
-
* parts, then complete the upload and send its attachment id in a message.
|
|
23
|
-
* OpenAPI spec version: 2.0.0
|
|
24
|
-
*/
|
|
25
|
-
import * as zod from "zod";
|
|
26
|
-
export declare const openRealtimeParamsTicketMax = 4096;
|
|
27
|
-
export declare const OpenRealtimeParams: zod.ZodObject<{
|
|
28
|
-
ticket: zod.ZodString;
|
|
29
|
-
}, zod.z.core.$strict>;
|
|
30
|
-
export type OpenRealtimeParams = zod.input<typeof OpenRealtimeParams>;
|
|
31
|
-
export type OpenRealtimeParamsOutput = zod.output<typeof OpenRealtimeParams>;
|
|
@@ -1,29 +0,0 @@
|
|
|
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
|
-
* over the WebSocket described under /api/v1/realtime/tickets. list-thread-messages outlines the
|
|
19
|
-
* person's messages for navigating a long conversation.
|
|
20
|
-
*
|
|
21
|
-
* Upload large files with /api/v1/uploads: read /api/v1/upload-configuration first, send exact-sized
|
|
22
|
-
* parts, then complete the upload and send its attachment id in a message.
|
|
23
|
-
* OpenAPI spec version: 2.0.0
|
|
24
|
-
*/
|
|
25
|
-
import * as zod from "zod";
|
|
26
|
-
export const openRealtimeParamsTicketMax = 4096;
|
|
27
|
-
export const OpenRealtimeParams = zod.strictObject({
|
|
28
|
-
ticket: zod.string().max(openRealtimeParamsTicketMax),
|
|
29
|
-
});
|
|
@@ -1,38 +0,0 @@
|
|
|
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
|
-
* over the WebSocket described under /api/v1/realtime/tickets. list-thread-messages outlines the
|
|
19
|
-
* person's messages for navigating a long conversation.
|
|
20
|
-
*
|
|
21
|
-
* Upload large files with /api/v1/uploads: read /api/v1/upload-configuration first, send exact-sized
|
|
22
|
-
* parts, then complete the upload and send its attachment id in a message.
|
|
23
|
-
* OpenAPI spec version: 2.0.0
|
|
24
|
-
*/
|
|
25
|
-
import * as zod from "zod";
|
|
26
|
-
export declare const realtimeClientMessageTopicMax = 128;
|
|
27
|
-
export declare const realtimeClientMessageCursorMax = 128;
|
|
28
|
-
export declare const RealtimeClientMessage: zod.ZodObject<{
|
|
29
|
-
type: zod.ZodEnum<{
|
|
30
|
-
subscribe: "subscribe";
|
|
31
|
-
unsubscribe: "unsubscribe";
|
|
32
|
-
ping: "ping";
|
|
33
|
-
}>;
|
|
34
|
-
topic: zod.ZodOptional<zod.ZodString>;
|
|
35
|
-
cursor: zod.ZodOptional<zod.ZodString>;
|
|
36
|
-
}, zod.z.core.$strict>;
|
|
37
|
-
export type RealtimeClientMessage = zod.input<typeof RealtimeClientMessage>;
|
|
38
|
-
export type RealtimeClientMessageOutput = zod.output<typeof RealtimeClientMessage>;
|
|
@@ -1,42 +0,0 @@
|
|
|
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
|
-
* over the WebSocket described under /api/v1/realtime/tickets. list-thread-messages outlines the
|
|
19
|
-
* person's messages for navigating a long conversation.
|
|
20
|
-
*
|
|
21
|
-
* Upload large files with /api/v1/uploads: read /api/v1/upload-configuration first, send exact-sized
|
|
22
|
-
* parts, then complete the upload and send its attachment id in a message.
|
|
23
|
-
* OpenAPI spec version: 2.0.0
|
|
24
|
-
*/
|
|
25
|
-
import * as zod from "zod";
|
|
26
|
-
export const realtimeClientMessageTopicMax = 128;
|
|
27
|
-
export const realtimeClientMessageCursorMax = 128;
|
|
28
|
-
export const RealtimeClientMessage = zod
|
|
29
|
-
.strictObject({
|
|
30
|
-
type: zod.enum(["subscribe", "unsubscribe", "ping"]),
|
|
31
|
-
topic: zod
|
|
32
|
-
.string()
|
|
33
|
-
.max(realtimeClientMessageTopicMax)
|
|
34
|
-
.optional()
|
|
35
|
-
.describe("`workspace` or `thread:{id}`. For subscribe and unsubscribe."),
|
|
36
|
-
cursor: zod
|
|
37
|
-
.string()
|
|
38
|
-
.max(realtimeClientMessageCursorMax)
|
|
39
|
-
.optional()
|
|
40
|
-
.describe("For a `thread:{id}` subscription, the `streamCursor` to replay from."),
|
|
41
|
-
})
|
|
42
|
-
.describe("A message from the client. `type` determines which fields apply.");
|