@leaflow/sdk 0.209.0 → 0.211.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 +243 -67
- package/dist/assistant/v1/generated/functions.js +248 -44
- package/dist/assistant/v1/generated/models.d.ts +302 -230
- package/dist/assistant/v1/generated/models.js +9 -19
- package/dist/assistant/v1/generated/schemas.zod.d.ts +119 -29
- package/dist/assistant/v1/generated/schemas.zod.js +139 -29
- package/dist/assistant/v1/generated/validators/answerQuestionRequestBody.zod.d.ts +4 -3
- package/dist/assistant/v1/generated/validators/answerQuestionRequestBody.zod.js +4 -3
- package/dist/assistant/v1/generated/validators/approvalMode.zod.d.ts +4 -3
- package/dist/assistant/v1/generated/validators/approvalMode.zod.js +4 -3
- package/dist/assistant/v1/generated/validators/artifactListResponseBody.zod.d.ts +68 -0
- package/dist/assistant/v1/generated/validators/artifactListResponseBody.zod.js +35 -0
- package/dist/assistant/v1/generated/validators/artifactResource.zod.d.ts +65 -0
- package/dist/assistant/v1/generated/validators/{attachmentResource.zod.js → artifactResource.zod.js} +13 -14
- package/dist/assistant/v1/generated/validators/artifactVersionListResponseBody.zod.d.ts +61 -0
- package/dist/assistant/v1/generated/validators/artifactVersionListResponseBody.zod.js +35 -0
- package/dist/assistant/v1/generated/validators/{uploadedResource.zod.d.ts → artifactVersionResource.zod.d.ts} +30 -16
- package/dist/assistant/v1/generated/validators/{attachmentFileResource.zod.js → artifactVersionResource.zod.js} +23 -16
- package/dist/assistant/v1/generated/validators/bindingCodeResponseBody.zod.d.ts +4 -3
- package/dist/assistant/v1/generated/validators/bindingCodeResponseBody.zod.js +4 -3
- package/dist/assistant/v1/generated/validators/bindingResource.zod.d.ts +4 -3
- package/dist/assistant/v1/generated/validators/bindingResource.zod.js +4 -3
- package/dist/assistant/v1/generated/validators/channelResource.zod.d.ts +4 -3
- package/dist/assistant/v1/generated/validators/channelResource.zod.js +4 -3
- package/dist/assistant/v1/generated/validators/channelWithSecretResponseBody.zod.d.ts +4 -3
- package/dist/assistant/v1/generated/validators/channelWithSecretResponseBody.zod.js +4 -3
- package/dist/assistant/v1/generated/validators/checkSenderParams.zod.d.ts +4 -3
- package/dist/assistant/v1/generated/validators/checkSenderParams.zod.js +4 -3
- package/dist/assistant/v1/generated/validators/choiceResource.zod.d.ts +4 -3
- package/dist/assistant/v1/generated/validators/choiceResource.zod.js +4 -3
- package/dist/assistant/v1/generated/validators/clientActionRequest.zod.d.ts +4 -3
- package/dist/assistant/v1/generated/validators/clientActionRequest.zod.js +4 -3
- package/dist/assistant/v1/generated/validators/clientContextPart.zod.d.ts +4 -3
- package/dist/assistant/v1/generated/validators/clientContextPart.zod.js +4 -3
- package/dist/assistant/v1/generated/validators/clientContextRequest.zod.d.ts +4 -3
- package/dist/assistant/v1/generated/validators/clientContextRequest.zod.js +4 -3
- package/dist/assistant/v1/generated/validators/clientFunctionRequest.zod.d.ts +4 -3
- package/dist/assistant/v1/generated/validators/clientFunctionRequest.zod.js +4 -3
- package/dist/assistant/v1/generated/validators/completeUploadRequestBody.zod.d.ts +4 -3
- package/dist/assistant/v1/generated/validators/completeUploadRequestBody.zod.js +4 -3
- package/dist/assistant/v1/generated/validators/contextUsageResource.zod.d.ts +4 -3
- package/dist/assistant/v1/generated/validators/contextUsageResource.zod.js +4 -3
- package/dist/assistant/v1/generated/validators/createArtifactRequestBody.zod.d.ts +38 -0
- package/dist/assistant/v1/generated/validators/createArtifactRequestBody.zod.js +36 -0
- package/dist/assistant/v1/generated/validators/createArtifactVersionRequestBody.zod.d.ts +36 -0
- package/dist/assistant/v1/generated/validators/createArtifactVersionRequestBody.zod.js +34 -0
- package/dist/assistant/v1/generated/validators/createChannelRequestBody.zod.d.ts +4 -3
- package/dist/assistant/v1/generated/validators/createChannelRequestBody.zod.js +4 -3
- package/dist/assistant/v1/generated/validators/createFolderRequestBody.zod.d.ts +4 -3
- package/dist/assistant/v1/generated/validators/createFolderRequestBody.zod.js +4 -3
- package/dist/assistant/v1/generated/validators/createTaskRequestBody.zod.d.ts +4 -3
- package/dist/assistant/v1/generated/validators/createTaskRequestBody.zod.js +4 -3
- package/dist/assistant/v1/generated/validators/createThreadRequestBody.zod.d.ts +5 -4
- package/dist/assistant/v1/generated/validators/createThreadRequestBody.zod.js +4 -3
- package/dist/assistant/v1/generated/validators/createThreadResponseBody.zod.d.ts +4 -3
- package/dist/assistant/v1/generated/validators/createThreadResponseBody.zod.js +4 -3
- package/dist/assistant/v1/generated/validators/createUploadRequestBody.zod.d.ts +4 -3
- package/dist/assistant/v1/generated/validators/createUploadRequestBody.zod.js +4 -3
- package/dist/assistant/v1/generated/validators/credentialFieldResource.zod.d.ts +4 -3
- package/dist/assistant/v1/generated/validators/credentialFieldResource.zod.js +4 -3
- package/dist/assistant/v1/generated/validators/cursorPagination.zod.d.ts +4 -3
- package/dist/assistant/v1/generated/validators/cursorPagination.zod.js +4 -3
- package/dist/assistant/v1/generated/validators/decideToolCallsRequestBody.zod.d.ts +4 -3
- package/dist/assistant/v1/generated/validators/decideToolCallsRequestBody.zod.js +4 -3
- package/dist/assistant/v1/generated/validators/defaultModelResource.zod.d.ts +4 -3
- package/dist/assistant/v1/generated/validators/defaultModelResource.zod.js +4 -3
- package/dist/assistant/v1/generated/validators/error.zod.d.ts +4 -3
- package/dist/assistant/v1/generated/validators/error.zod.js +4 -3
- package/dist/assistant/v1/generated/validators/errorStatus.zod.d.ts +4 -3
- package/dist/assistant/v1/generated/validators/errorStatus.zod.js +4 -3
- package/dist/assistant/v1/generated/validators/fieldViolation.zod.d.ts +4 -3
- package/dist/assistant/v1/generated/validators/fieldViolation.zod.js +4 -3
- package/dist/assistant/v1/generated/validators/{attachmentCountsResource.zod.d.ts → fileCountsResource.zod.d.ts} +7 -6
- package/dist/assistant/v1/generated/validators/{attachmentCountsResource.zod.js → fileCountsResource.zod.js} +5 -4
- package/dist/assistant/v1/generated/validators/fileDiffResource.zod.d.ts +4 -3
- package/dist/assistant/v1/generated/validators/fileDiffResource.zod.js +4 -3
- package/dist/assistant/v1/generated/validators/{attachmentListResponseBody.zod.d.ts → fileListResponseBody.zod.d.ts} +15 -14
- package/dist/assistant/v1/generated/validators/{attachmentListResponseBody.zod.js → fileListResponseBody.zod.js} +9 -8
- package/dist/assistant/v1/generated/validators/{attachmentFileResource.zod.d.ts → fileResource.zod.d.ts} +14 -13
- package/dist/assistant/v1/generated/validators/{uploadedResource.zod.js → fileResource.zod.js} +25 -15
- package/dist/assistant/v1/generated/validators/folderCountsResource.zod.d.ts +4 -3
- package/dist/assistant/v1/generated/validators/folderCountsResource.zod.js +4 -3
- package/dist/assistant/v1/generated/validators/folderListResponseBody.zod.d.ts +4 -3
- package/dist/assistant/v1/generated/validators/folderListResponseBody.zod.js +4 -3
- package/dist/assistant/v1/generated/validators/folderResource.zod.d.ts +4 -3
- package/dist/assistant/v1/generated/validators/folderResource.zod.js +4 -3
- package/dist/assistant/v1/generated/validators/itemSourceResource.zod.d.ts +4 -3
- package/dist/assistant/v1/generated/validators/itemSourceResource.zod.js +4 -3
- package/dist/assistant/v1/generated/validators/lastTurnResource.zod.d.ts +4 -3
- package/dist/assistant/v1/generated/validators/lastTurnResource.zod.js +4 -3
- package/dist/assistant/v1/generated/validators/lengthAwarePageBindingResource.zod.d.ts +4 -3
- package/dist/assistant/v1/generated/validators/lengthAwarePageBindingResource.zod.js +4 -3
- package/dist/assistant/v1/generated/validators/lengthAwarePageChannelResource.zod.d.ts +4 -3
- package/dist/assistant/v1/generated/validators/lengthAwarePageChannelResource.zod.js +4 -3
- package/dist/assistant/v1/generated/validators/listArtifactVersionsParams.zod.d.ts +39 -0
- package/dist/assistant/v1/generated/validators/listArtifactVersionsParams.zod.js +41 -0
- package/dist/assistant/v1/generated/validators/listArtifactsParams.zod.d.ts +41 -0
- package/dist/assistant/v1/generated/validators/listArtifactsParams.zod.js +39 -0
- package/dist/assistant/v1/generated/validators/listBindingsParams.zod.d.ts +4 -3
- package/dist/assistant/v1/generated/validators/listBindingsParams.zod.js +4 -3
- package/dist/assistant/v1/generated/validators/listChannelRejectionsParams.zod.d.ts +4 -3
- package/dist/assistant/v1/generated/validators/listChannelRejectionsParams.zod.js +4 -3
- package/dist/assistant/v1/generated/validators/listChannelsParams.zod.d.ts +4 -3
- package/dist/assistant/v1/generated/validators/listChannelsParams.zod.js +4 -3
- package/dist/assistant/v1/generated/validators/listTaskRunsParams.zod.d.ts +4 -3
- package/dist/assistant/v1/generated/validators/listTaskRunsParams.zod.js +4 -3
- package/dist/assistant/v1/generated/validators/listThreadItemsParams.zod.d.ts +4 -3
- package/dist/assistant/v1/generated/validators/listThreadItemsParams.zod.js +4 -3
- package/dist/assistant/v1/generated/validators/listThreadMessagesParams.zod.d.ts +4 -3
- package/dist/assistant/v1/generated/validators/listThreadMessagesParams.zod.js +4 -3
- package/dist/assistant/v1/generated/validators/listThreadTurnsParams.zod.d.ts +4 -3
- package/dist/assistant/v1/generated/validators/listThreadTurnsParams.zod.js +4 -3
- package/dist/assistant/v1/generated/validators/loginResource.zod.d.ts +4 -3
- package/dist/assistant/v1/generated/validators/loginResource.zod.js +4 -3
- package/dist/assistant/v1/generated/validators/memoryListResponseBody.zod.d.ts +4 -3
- package/dist/assistant/v1/generated/validators/memoryListResponseBody.zod.js +4 -3
- package/dist/assistant/v1/generated/validators/memoryResource.zod.d.ts +4 -3
- package/dist/assistant/v1/generated/validators/memoryResource.zod.js +4 -3
- package/dist/assistant/v1/generated/validators/messagePart.zod.d.ts +5 -4
- package/dist/assistant/v1/generated/validators/messagePart.zod.js +7 -6
- package/dist/assistant/v1/generated/validators/moveFolderRequestBody.zod.d.ts +4 -3
- package/dist/assistant/v1/generated/validators/moveFolderRequestBody.zod.js +4 -3
- package/dist/assistant/v1/generated/validators/offsetPagination.zod.d.ts +4 -3
- package/dist/assistant/v1/generated/validators/offsetPagination.zod.js +4 -3
- package/dist/assistant/v1/generated/validators/partResource.zod.d.ts +20 -4
- package/dist/assistant/v1/generated/validators/partResource.zod.js +8 -7
- package/dist/assistant/v1/generated/validators/pendingActionResource.zod.d.ts +4 -3
- package/dist/assistant/v1/generated/validators/pendingActionResource.zod.js +4 -3
- package/dist/assistant/v1/generated/validators/placeThreadRequestBody.zod.d.ts +4 -3
- package/dist/assistant/v1/generated/validators/placeThreadRequestBody.zod.js +4 -3
- package/dist/assistant/v1/generated/validators/platformListResponseBody.zod.d.ts +4 -3
- package/dist/assistant/v1/generated/validators/platformListResponseBody.zod.js +4 -3
- package/dist/assistant/v1/generated/validators/platformResource.zod.d.ts +4 -3
- package/dist/assistant/v1/generated/validators/platformResource.zod.js +4 -3
- package/dist/assistant/v1/generated/validators/presentationResource.zod.d.ts +4 -3
- package/dist/assistant/v1/generated/validators/presentationResource.zod.js +4 -3
- package/dist/assistant/v1/generated/validators/putUploadPartHeaders.zod.d.ts +4 -3
- package/dist/assistant/v1/generated/validators/putUploadPartHeaders.zod.js +4 -3
- package/dist/assistant/v1/generated/validators/putUploadPartParams.zod.d.ts +4 -3
- package/dist/assistant/v1/generated/validators/putUploadPartParams.zod.js +4 -3
- package/dist/assistant/v1/generated/validators/questionResource.zod.d.ts +4 -3
- package/dist/assistant/v1/generated/validators/questionResource.zod.js +4 -3
- package/dist/assistant/v1/generated/validators/reasoningEffort.zod.d.ts +4 -3
- package/dist/assistant/v1/generated/validators/reasoningEffort.zod.js +4 -3
- package/dist/assistant/v1/generated/validators/rejectionListResponseBody.zod.d.ts +4 -3
- package/dist/assistant/v1/generated/validators/rejectionListResponseBody.zod.js +4 -3
- package/dist/assistant/v1/generated/validators/rejectionResource.zod.d.ts +4 -3
- package/dist/assistant/v1/generated/validators/rejectionResource.zod.js +4 -3
- package/dist/assistant/v1/generated/validators/resumeThreadRequestBody.zod.d.ts +4 -3
- package/dist/assistant/v1/generated/validators/resumeThreadRequestBody.zod.js +4 -3
- package/dist/assistant/v1/generated/validators/revertRequestBody.zod.d.ts +4 -3
- package/dist/assistant/v1/generated/validators/revertRequestBody.zod.js +4 -3
- package/dist/assistant/v1/generated/validators/revertedCountResponseBody.zod.d.ts +4 -3
- package/dist/assistant/v1/generated/validators/revertedCountResponseBody.zod.js +4 -3
- package/dist/assistant/v1/generated/validators/rotateSecretRequestBody.zod.d.ts +4 -3
- package/dist/assistant/v1/generated/validators/rotateSecretRequestBody.zod.js +4 -3
- package/dist/assistant/v1/generated/validators/{searchAttachmentsRequestBody.zod.d.ts → searchFilesRequestBody.zod.d.ts} +12 -11
- package/dist/assistant/v1/generated/validators/{searchAttachmentsRequestBody.zod.js → searchFilesRequestBody.zod.js} +17 -16
- package/dist/assistant/v1/generated/validators/searchTasksRequestBody.zod.d.ts +4 -3
- package/dist/assistant/v1/generated/validators/searchTasksRequestBody.zod.js +4 -3
- package/dist/assistant/v1/generated/validators/searchThreadsRequestBody.zod.d.ts +4 -3
- package/dist/assistant/v1/generated/validators/searchThreadsRequestBody.zod.js +4 -3
- package/dist/assistant/v1/generated/validators/sendMessageRequestBody.zod.d.ts +5 -4
- package/dist/assistant/v1/generated/validators/sendMessageRequestBody.zod.js +4 -3
- package/dist/assistant/v1/generated/validators/sendMessageResponseBody.zod.d.ts +4 -3
- package/dist/assistant/v1/generated/validators/sendMessageResponseBody.zod.js +4 -3
- package/dist/assistant/v1/generated/validators/senderCheckResource.zod.d.ts +4 -3
- package/dist/assistant/v1/generated/validators/senderCheckResource.zod.js +4 -3
- package/dist/assistant/v1/generated/validators/settingsResource.zod.d.ts +4 -3
- package/dist/assistant/v1/generated/validators/settingsResource.zod.js +4 -3
- package/dist/assistant/v1/generated/validators/skillEnabledRequestBody.zod.d.ts +4 -3
- package/dist/assistant/v1/generated/validators/skillEnabledRequestBody.zod.js +4 -3
- package/dist/assistant/v1/generated/validators/skillListResponseBody.zod.d.ts +4 -3
- package/dist/assistant/v1/generated/validators/skillListResponseBody.zod.js +4 -3
- package/dist/assistant/v1/generated/validators/skillRequestBody.zod.d.ts +4 -3
- package/dist/assistant/v1/generated/validators/skillRequestBody.zod.js +4 -3
- package/dist/assistant/v1/generated/validators/skillResource.zod.d.ts +4 -3
- package/dist/assistant/v1/generated/validators/skillResource.zod.js +4 -3
- package/dist/assistant/v1/generated/validators/subagentCountResource.zod.d.ts +4 -3
- package/dist/assistant/v1/generated/validators/subagentCountResource.zod.js +4 -3
- package/dist/assistant/v1/generated/validators/taskAction.zod.d.ts +4 -3
- package/dist/assistant/v1/generated/validators/taskAction.zod.js +4 -3
- package/dist/assistant/v1/generated/validators/taskListResponseBody.zod.d.ts +4 -3
- package/dist/assistant/v1/generated/validators/taskListResponseBody.zod.js +4 -3
- package/dist/assistant/v1/generated/validators/taskResource.zod.d.ts +4 -3
- package/dist/assistant/v1/generated/validators/taskResource.zod.js +4 -3
- package/dist/assistant/v1/generated/validators/taskRunEvent.zod.d.ts +4 -3
- package/dist/assistant/v1/generated/validators/taskRunEvent.zod.js +4 -3
- package/dist/assistant/v1/generated/validators/taskRunListResponseBody.zod.d.ts +4 -3
- package/dist/assistant/v1/generated/validators/taskRunListResponseBody.zod.js +4 -3
- package/dist/assistant/v1/generated/validators/taskRunResource.zod.d.ts +4 -3
- package/dist/assistant/v1/generated/validators/taskRunResource.zod.js +4 -3
- package/dist/assistant/v1/generated/validators/taskTrigger.zod.d.ts +4 -3
- package/dist/assistant/v1/generated/validators/taskTrigger.zod.js +4 -3
- package/dist/assistant/v1/generated/validators/threadCountsResource.zod.d.ts +4 -3
- package/dist/assistant/v1/generated/validators/threadCountsResource.zod.js +4 -3
- package/dist/assistant/v1/generated/validators/threadItemListResponseBody.zod.d.ts +120 -29
- package/dist/assistant/v1/generated/validators/threadItemListResponseBody.zod.js +4 -3
- package/dist/assistant/v1/generated/validators/threadItemResource.zod.d.ts +62 -16
- package/dist/assistant/v1/generated/validators/threadItemResource.zod.js +5 -6
- package/dist/assistant/v1/generated/validators/threadListResponseBody.zod.d.ts +4 -3
- package/dist/assistant/v1/generated/validators/threadListResponseBody.zod.js +4 -3
- package/dist/assistant/v1/generated/validators/threadMessageListResponseBody.zod.d.ts +4 -3
- package/dist/assistant/v1/generated/validators/threadMessageListResponseBody.zod.js +4 -3
- package/dist/assistant/v1/generated/validators/threadMessageResource.zod.d.ts +4 -3
- package/dist/assistant/v1/generated/validators/threadMessageResource.zod.js +4 -3
- package/dist/assistant/v1/generated/validators/threadResource.zod.d.ts +4 -3
- package/dist/assistant/v1/generated/validators/threadResource.zod.js +4 -3
- package/dist/assistant/v1/generated/validators/threadStatus.zod.d.ts +4 -3
- package/dist/assistant/v1/generated/validators/threadStatus.zod.js +4 -3
- package/dist/assistant/v1/generated/validators/threadTurnListResponseBody.zod.d.ts +4 -3
- package/dist/assistant/v1/generated/validators/threadTurnListResponseBody.zod.js +4 -3
- package/dist/assistant/v1/generated/validators/threadTurnResource.zod.d.ts +4 -3
- package/dist/assistant/v1/generated/validators/threadTurnResource.zod.js +4 -3
- package/dist/assistant/v1/generated/validators/todoResource.zod.d.ts +4 -3
- package/dist/assistant/v1/generated/validators/todoResource.zod.js +4 -3
- package/dist/assistant/v1/generated/validators/toolCallResource.zod.d.ts +46 -3
- package/dist/assistant/v1/generated/validators/toolCallResource.zod.js +12 -3
- package/dist/assistant/v1/generated/validators/toolResultRequestBody.zod.d.ts +4 -3
- package/dist/assistant/v1/generated/validators/toolResultRequestBody.zod.js +4 -3
- package/dist/assistant/v1/generated/validators/turnStartedResponseBody.zod.d.ts +4 -3
- package/dist/assistant/v1/generated/validators/turnStartedResponseBody.zod.js +4 -3
- package/dist/assistant/v1/generated/validators/turnStatus.zod.d.ts +4 -3
- package/dist/assistant/v1/generated/validators/turnStatus.zod.js +4 -3
- package/dist/assistant/v1/generated/validators/turnType.zod.d.ts +4 -3
- package/dist/assistant/v1/generated/validators/turnType.zod.js +4 -3
- package/dist/assistant/v1/generated/validators/{attachmentResource.zod.d.ts → updateArtifactRequestBody.zod.d.ts} +9 -16
- package/dist/assistant/v1/generated/validators/updateArtifactRequestBody.zod.js +34 -0
- package/dist/assistant/v1/generated/validators/updateChannelRequestBody.zod.d.ts +4 -3
- package/dist/assistant/v1/generated/validators/updateChannelRequestBody.zod.js +4 -3
- package/dist/assistant/v1/generated/validators/{updateAttachmentRequestBody.zod.d.ts → updateFileRequestBody.zod.d.ts} +8 -7
- package/dist/assistant/v1/generated/validators/{updateAttachmentRequestBody.zod.js → updateFileRequestBody.zod.js} +7 -6
- package/dist/assistant/v1/generated/validators/updateFolderRequestBody.zod.d.ts +4 -3
- package/dist/assistant/v1/generated/validators/updateFolderRequestBody.zod.js +4 -3
- package/dist/assistant/v1/generated/validators/updateSettingsRequestBody.zod.d.ts +4 -3
- package/dist/assistant/v1/generated/validators/updateSettingsRequestBody.zod.js +4 -3
- package/dist/assistant/v1/generated/validators/updateTaskRequestBody.zod.d.ts +4 -3
- package/dist/assistant/v1/generated/validators/updateTaskRequestBody.zod.js +4 -3
- package/dist/assistant/v1/generated/validators/updateThreadRequestBody.zod.d.ts +4 -3
- package/dist/assistant/v1/generated/validators/updateThreadRequestBody.zod.js +4 -3
- package/dist/assistant/v1/generated/validators/updateUploadRequestBody.zod.d.ts +4 -3
- package/dist/assistant/v1/generated/validators/updateUploadRequestBody.zod.js +4 -3
- package/dist/assistant/v1/generated/validators/uploadConfigurationResource.zod.d.ts +4 -3
- package/dist/assistant/v1/generated/validators/uploadConfigurationResource.zod.js +4 -3
- package/dist/assistant/v1/generated/validators/{uploadAttachmentParams.zod.d.ts → uploadFileParams.zod.d.ts} +8 -7
- package/dist/assistant/v1/generated/validators/{uploadAttachmentParams.zod.js → uploadFileParams.zod.js} +7 -6
- package/dist/assistant/v1/generated/validators/uploadListResponseBody.zod.d.ts +5 -4
- package/dist/assistant/v1/generated/validators/uploadListResponseBody.zod.js +4 -3
- package/dist/assistant/v1/generated/validators/uploadPartResource.zod.d.ts +4 -3
- package/dist/assistant/v1/generated/validators/uploadPartResource.zod.js +4 -3
- package/dist/assistant/v1/generated/validators/uploadResource.zod.d.ts +5 -4
- package/dist/assistant/v1/generated/validators/uploadResource.zod.js +8 -4
- package/dist/assistant/v1/generated/validators/usage.zod.d.ts +4 -3
- package/dist/assistant/v1/generated/validators/usage.zod.js +4 -3
- package/dist/assistant/v1/generated/validators/verifyCodeRequestBody.zod.d.ts +4 -3
- package/dist/assistant/v1/generated/validators/verifyCodeRequestBody.zod.js +4 -3
- package/dist/assistant/v1/generated/validators/webhookSecretResponseBody.zod.d.ts +4 -3
- package/dist/assistant/v1/generated/validators/webhookSecretResponseBody.zod.js +4 -3
- package/dist/canopy/v1/generated/functions.d.ts +73 -1
- package/dist/canopy/v1/generated/functions.js +92 -6
- package/dist/canopy/v1/generated/models.d.ts +148 -12
- package/dist/canopy/v1/generated/models.js +13 -0
- package/dist/canopy/v1/generated/schemas.zod.d.ts +49 -0
- package/dist/canopy/v1/generated/schemas.zod.js +28 -0
- package/dist/canopy/v1/generated/validators/cursorPageRequestResource.zod.d.ts +10 -0
- package/dist/canopy/v1/generated/validators/getVideoContentHeaders.zod.d.ts +46 -0
- package/dist/canopy/v1/generated/validators/getVideoContentHeaders.zod.js +44 -0
- package/dist/canopy/v1/generated/validators/mediaUsageDetails.zod.d.ts +61 -0
- package/dist/canopy/v1/generated/validators/mediaUsageDetails.zod.js +67 -0
- package/dist/canopy/v1/generated/validators/requestResource.zod.d.ts +10 -0
- package/dist/canopy/v1/generated/validators/requestResource.zod.js +2 -0
- package/dist/canopy/v1/generated/validators/videoCreateRequest.zod.d.ts +67 -0
- package/dist/canopy/v1/generated/validators/videoCreateRequest.zod.js +70 -0
- package/dist/canopy/v1/generated/validators/videoReferenceMedia.zod.d.ts +53 -0
- package/dist/canopy/v1/generated/validators/videoReferenceMedia.zod.js +53 -0
- package/dist/canopy/v1/generated/validators/videoTask.zod.d.ts +71 -0
- package/dist/canopy/v1/generated/validators/videoTask.zod.js +64 -0
- package/dist/canopy/v1/generated/validators/videoUsage.zod.d.ts +54 -0
- package/dist/canopy/v1/generated/validators/videoUsage.zod.js +62 -0
- package/dist/routes.d.ts +100 -12
- package/dist/routes.js +111 -12
- package/package.json +1 -1
|
@@ -0,0 +1,71 @@
|
|
|
1
|
+
/**
|
|
2
|
+
* Generated by orval 🍺
|
|
3
|
+
* Do not edit manually.
|
|
4
|
+
* Leaflow Canopy API
|
|
5
|
+
* Canopy model inference, API keys, model catalogue, service enablement and recorded usage.
|
|
6
|
+
*
|
|
7
|
+
* Project inference is served on this host in each provider's own protocol:
|
|
8
|
+
*
|
|
9
|
+
* - OpenAI: `/v1/chat/completions`, `/v1/responses` and `/v1/embeddings`; use
|
|
10
|
+
* `https://canopy.leaflow.cloud/v1` as the OpenAI SDK base URL.
|
|
11
|
+
* - Anthropic: `/v1/messages`; use `https://canopy.leaflow.cloud` as the Anthropic SDK base URL.
|
|
12
|
+
* - Gemini: `/v1beta/models/{model}:generateContent` and `:streamGenerateContent`.
|
|
13
|
+
*
|
|
14
|
+
* Canopy does not convert between protocols. A request is accepted only for a model whose
|
|
15
|
+
* `supported_endpoints` lists the endpoint it was sent to, and it is forwarded unchanged except for
|
|
16
|
+
* the model name and the credentials. Reasoning settings such as `reasoning_effort` are passed
|
|
17
|
+
* through as written; a model's `capabilities` lists the values its upstream accepts.
|
|
18
|
+
*
|
|
19
|
+
* Management operations use `/api/v1`. The management model catalogue names how each model is billed in Billing;
|
|
20
|
+
* `/v1/models` returns the OpenAI model format with Canopy capabilities and parameter limits.
|
|
21
|
+
*
|
|
22
|
+
* ## Authentication
|
|
23
|
+
*
|
|
24
|
+
* Every request carries a scoped token; see the `bearerAuth` security scheme.
|
|
25
|
+
*
|
|
26
|
+
* Management and project inference accept the same verified IAM scoped token. The token is the
|
|
27
|
+
* sole billing project authority; `OpenAI-Project` and historical identity headers cannot
|
|
28
|
+
* override it. These endpoints do not accept a Canopy API key. The separate API-key gateway
|
|
29
|
+
* accepts Canopy API keys and serves the same endpoints.
|
|
30
|
+
*
|
|
31
|
+
* ## Conventions
|
|
32
|
+
*
|
|
33
|
+
* - **The plaintext of an API key is returned once.** The `secret` appears in the response that issues it and is returned by no other endpoint. A key that has been lost has to be revoked and reissued.
|
|
34
|
+
* - **Disabling and revoking are distinct.** A disabled key may be enabled again at any time, while a revocation is irreversible and is intended for a key that has been exposed. Neither removes the record, and the usage the key accrued remains readable.
|
|
35
|
+
* - **A usage query must carry a time range**, spanning no more than 31 days, or 400 days for the usage timeline. `from` and `to` carry a timezone offset, which the server does not infer.
|
|
36
|
+
* - **The request and response bodies do not appear in the ledger.** They are not recorded. Quote the `upstream_request_id` from the response when reporting a problem.
|
|
37
|
+
* - **Usage may be estimated.** The upstream provider does not report usage on every request. Where it does not, `usage_source` is `estimated` and the figures are derived from the character classes of the payload, to within roughly fifteen per cent.
|
|
38
|
+
* - **The service is enabled before use.** A project enables the model platform once, through `create-service`; the forwarding endpoints refuse its requests until the service is `active`. Requests are then billed under the service's subscription by the tokens they use, at the rates Billing holds for each model's `billing`.
|
|
39
|
+
* OpenAPI spec version: 1.0.0
|
|
40
|
+
*/
|
|
41
|
+
import * as zod from "zod";
|
|
42
|
+
export declare const VideoTask: zod.ZodObject<{
|
|
43
|
+
id: zod.ZodString;
|
|
44
|
+
object: zod.ZodString;
|
|
45
|
+
status: zod.ZodEnum<{
|
|
46
|
+
completed: "completed";
|
|
47
|
+
failed: "failed";
|
|
48
|
+
in_progress: "in_progress";
|
|
49
|
+
queued: "queued";
|
|
50
|
+
}>;
|
|
51
|
+
model: zod.ZodOptional<zod.ZodString>;
|
|
52
|
+
usage: zod.ZodOptional<zod.ZodObject<{
|
|
53
|
+
seconds: zod.ZodOptional<zod.ZodNumber>;
|
|
54
|
+
resolution: zod.ZodOptional<zod.ZodString>;
|
|
55
|
+
input_seconds: zod.ZodOptional<zod.ZodNumber>;
|
|
56
|
+
output_seconds: zod.ZodOptional<zod.ZodNumber>;
|
|
57
|
+
billable_seconds: zod.ZodOptional<zod.ZodNumber>;
|
|
58
|
+
}, zod.z.core.$strict>>;
|
|
59
|
+
seconds: zod.ZodOptional<zod.ZodString>;
|
|
60
|
+
size: zod.ZodOptional<zod.ZodString>;
|
|
61
|
+
created_at: zod.ZodOptional<zod.ZodInt>;
|
|
62
|
+
completed_at: zod.ZodOptional<zod.ZodInt>;
|
|
63
|
+
expires_at: zod.ZodOptional<zod.ZodInt>;
|
|
64
|
+
progress: zod.ZodOptional<zod.ZodInt>;
|
|
65
|
+
error: zod.ZodOptional<zod.ZodObject<{
|
|
66
|
+
code: zod.ZodOptional<zod.ZodString>;
|
|
67
|
+
message: zod.ZodOptional<zod.ZodString>;
|
|
68
|
+
}, zod.z.core.$strict>>;
|
|
69
|
+
}, zod.z.core.$strict>;
|
|
70
|
+
export type VideoTask = zod.input<typeof VideoTask>;
|
|
71
|
+
export type VideoTaskOutput = zod.output<typeof VideoTask>;
|
|
@@ -0,0 +1,64 @@
|
|
|
1
|
+
/**
|
|
2
|
+
* Generated by orval 🍺
|
|
3
|
+
* Do not edit manually.
|
|
4
|
+
* Leaflow Canopy API
|
|
5
|
+
* Canopy model inference, API keys, model catalogue, service enablement and recorded usage.
|
|
6
|
+
*
|
|
7
|
+
* Project inference is served on this host in each provider's own protocol:
|
|
8
|
+
*
|
|
9
|
+
* - OpenAI: `/v1/chat/completions`, `/v1/responses` and `/v1/embeddings`; use
|
|
10
|
+
* `https://canopy.leaflow.cloud/v1` as the OpenAI SDK base URL.
|
|
11
|
+
* - Anthropic: `/v1/messages`; use `https://canopy.leaflow.cloud` as the Anthropic SDK base URL.
|
|
12
|
+
* - Gemini: `/v1beta/models/{model}:generateContent` and `:streamGenerateContent`.
|
|
13
|
+
*
|
|
14
|
+
* Canopy does not convert between protocols. A request is accepted only for a model whose
|
|
15
|
+
* `supported_endpoints` lists the endpoint it was sent to, and it is forwarded unchanged except for
|
|
16
|
+
* the model name and the credentials. Reasoning settings such as `reasoning_effort` are passed
|
|
17
|
+
* through as written; a model's `capabilities` lists the values its upstream accepts.
|
|
18
|
+
*
|
|
19
|
+
* Management operations use `/api/v1`. The management model catalogue names how each model is billed in Billing;
|
|
20
|
+
* `/v1/models` returns the OpenAI model format with Canopy capabilities and parameter limits.
|
|
21
|
+
*
|
|
22
|
+
* ## Authentication
|
|
23
|
+
*
|
|
24
|
+
* Every request carries a scoped token; see the `bearerAuth` security scheme.
|
|
25
|
+
*
|
|
26
|
+
* Management and project inference accept the same verified IAM scoped token. The token is the
|
|
27
|
+
* sole billing project authority; `OpenAI-Project` and historical identity headers cannot
|
|
28
|
+
* override it. These endpoints do not accept a Canopy API key. The separate API-key gateway
|
|
29
|
+
* accepts Canopy API keys and serves the same endpoints.
|
|
30
|
+
*
|
|
31
|
+
* ## Conventions
|
|
32
|
+
*
|
|
33
|
+
* - **The plaintext of an API key is returned once.** The `secret` appears in the response that issues it and is returned by no other endpoint. A key that has been lost has to be revoked and reissued.
|
|
34
|
+
* - **Disabling and revoking are distinct.** A disabled key may be enabled again at any time, while a revocation is irreversible and is intended for a key that has been exposed. Neither removes the record, and the usage the key accrued remains readable.
|
|
35
|
+
* - **A usage query must carry a time range**, spanning no more than 31 days, or 400 days for the usage timeline. `from` and `to` carry a timezone offset, which the server does not infer.
|
|
36
|
+
* - **The request and response bodies do not appear in the ledger.** They are not recorded. Quote the `upstream_request_id` from the response when reporting a problem.
|
|
37
|
+
* - **Usage may be estimated.** The upstream provider does not report usage on every request. Where it does not, `usage_source` is `estimated` and the figures are derived from the character classes of the payload, to within roughly fifteen per cent.
|
|
38
|
+
* - **The service is enabled before use.** A project enables the model platform once, through `create-service`; the forwarding endpoints refuse its requests until the service is `active`. Requests are then billed under the service's subscription by the tokens they use, at the rates Billing holds for each model's `billing`.
|
|
39
|
+
* OpenAPI spec version: 1.0.0
|
|
40
|
+
*/
|
|
41
|
+
import * as zod from "zod";
|
|
42
|
+
import { VideoUsage } from "./videoUsage.zod.js";
|
|
43
|
+
export const VideoTask = zod.strictObject({
|
|
44
|
+
id: zod.string(),
|
|
45
|
+
object: zod.string(),
|
|
46
|
+
status: zod.enum(["queued", "in_progress", "completed", "failed"]),
|
|
47
|
+
model: zod.string().optional(),
|
|
48
|
+
usage: VideoUsage.optional(),
|
|
49
|
+
seconds: zod
|
|
50
|
+
.string()
|
|
51
|
+
.optional()
|
|
52
|
+
.describe("Output duration, not the duration of input references."),
|
|
53
|
+
size: zod.string().optional(),
|
|
54
|
+
created_at: zod.int().optional(),
|
|
55
|
+
completed_at: zod.int().optional(),
|
|
56
|
+
expires_at: zod.int().optional(),
|
|
57
|
+
progress: zod.int().optional(),
|
|
58
|
+
error: zod
|
|
59
|
+
.strictObject({
|
|
60
|
+
code: zod.string().optional(),
|
|
61
|
+
message: zod.string().optional(),
|
|
62
|
+
})
|
|
63
|
+
.optional(),
|
|
64
|
+
});
|
|
@@ -0,0 +1,54 @@
|
|
|
1
|
+
/**
|
|
2
|
+
* Generated by orval 🍺
|
|
3
|
+
* Do not edit manually.
|
|
4
|
+
* Leaflow Canopy API
|
|
5
|
+
* Canopy model inference, API keys, model catalogue, service enablement and recorded usage.
|
|
6
|
+
*
|
|
7
|
+
* Project inference is served on this host in each provider's own protocol:
|
|
8
|
+
*
|
|
9
|
+
* - OpenAI: `/v1/chat/completions`, `/v1/responses` and `/v1/embeddings`; use
|
|
10
|
+
* `https://canopy.leaflow.cloud/v1` as the OpenAI SDK base URL.
|
|
11
|
+
* - Anthropic: `/v1/messages`; use `https://canopy.leaflow.cloud` as the Anthropic SDK base URL.
|
|
12
|
+
* - Gemini: `/v1beta/models/{model}:generateContent` and `:streamGenerateContent`.
|
|
13
|
+
*
|
|
14
|
+
* Canopy does not convert between protocols. A request is accepted only for a model whose
|
|
15
|
+
* `supported_endpoints` lists the endpoint it was sent to, and it is forwarded unchanged except for
|
|
16
|
+
* the model name and the credentials. Reasoning settings such as `reasoning_effort` are passed
|
|
17
|
+
* through as written; a model's `capabilities` lists the values its upstream accepts.
|
|
18
|
+
*
|
|
19
|
+
* Management operations use `/api/v1`. The management model catalogue names how each model is billed in Billing;
|
|
20
|
+
* `/v1/models` returns the OpenAI model format with Canopy capabilities and parameter limits.
|
|
21
|
+
*
|
|
22
|
+
* ## Authentication
|
|
23
|
+
*
|
|
24
|
+
* Every request carries a scoped token; see the `bearerAuth` security scheme.
|
|
25
|
+
*
|
|
26
|
+
* Management and project inference accept the same verified IAM scoped token. The token is the
|
|
27
|
+
* sole billing project authority; `OpenAI-Project` and historical identity headers cannot
|
|
28
|
+
* override it. These endpoints do not accept a Canopy API key. The separate API-key gateway
|
|
29
|
+
* accepts Canopy API keys and serves the same endpoints.
|
|
30
|
+
*
|
|
31
|
+
* ## Conventions
|
|
32
|
+
*
|
|
33
|
+
* - **The plaintext of an API key is returned once.** The `secret` appears in the response that issues it and is returned by no other endpoint. A key that has been lost has to be revoked and reissued.
|
|
34
|
+
* - **Disabling and revoking are distinct.** A disabled key may be enabled again at any time, while a revocation is irreversible and is intended for a key that has been exposed. Neither removes the record, and the usage the key accrued remains readable.
|
|
35
|
+
* - **A usage query must carry a time range**, spanning no more than 31 days, or 400 days for the usage timeline. `from` and `to` carry a timezone offset, which the server does not infer.
|
|
36
|
+
* - **The request and response bodies do not appear in the ledger.** They are not recorded. Quote the `upstream_request_id` from the response when reporting a problem.
|
|
37
|
+
* - **Usage may be estimated.** The upstream provider does not report usage on every request. Where it does not, `usage_source` is `estimated` and the figures are derived from the character classes of the payload, to within roughly fifteen per cent.
|
|
38
|
+
* - **The service is enabled before use.** A project enables the model platform once, through `create-service`; the forwarding endpoints refuse its requests until the service is `active`. Requests are then billed under the service's subscription by the tokens they use, at the rates Billing holds for each model's `billing`.
|
|
39
|
+
* OpenAPI spec version: 1.0.0
|
|
40
|
+
*/
|
|
41
|
+
import * as zod from "zod";
|
|
42
|
+
export declare const videoUsageSecondsMin = 0;
|
|
43
|
+
export declare const videoUsageInputSecondsMin = 0;
|
|
44
|
+
export declare const videoUsageOutputSecondsMin = 0;
|
|
45
|
+
export declare const videoUsageBillableSecondsMin = 0;
|
|
46
|
+
export declare const VideoUsage: zod.ZodObject<{
|
|
47
|
+
seconds: zod.ZodOptional<zod.ZodNumber>;
|
|
48
|
+
resolution: zod.ZodOptional<zod.ZodString>;
|
|
49
|
+
input_seconds: zod.ZodOptional<zod.ZodNumber>;
|
|
50
|
+
output_seconds: zod.ZodOptional<zod.ZodNumber>;
|
|
51
|
+
billable_seconds: zod.ZodOptional<zod.ZodNumber>;
|
|
52
|
+
}, zod.z.core.$strict>;
|
|
53
|
+
export type VideoUsage = zod.input<typeof VideoUsage>;
|
|
54
|
+
export type VideoUsageOutput = zod.output<typeof VideoUsage>;
|
|
@@ -0,0 +1,62 @@
|
|
|
1
|
+
/**
|
|
2
|
+
* Generated by orval 🍺
|
|
3
|
+
* Do not edit manually.
|
|
4
|
+
* Leaflow Canopy API
|
|
5
|
+
* Canopy model inference, API keys, model catalogue, service enablement and recorded usage.
|
|
6
|
+
*
|
|
7
|
+
* Project inference is served on this host in each provider's own protocol:
|
|
8
|
+
*
|
|
9
|
+
* - OpenAI: `/v1/chat/completions`, `/v1/responses` and `/v1/embeddings`; use
|
|
10
|
+
* `https://canopy.leaflow.cloud/v1` as the OpenAI SDK base URL.
|
|
11
|
+
* - Anthropic: `/v1/messages`; use `https://canopy.leaflow.cloud` as the Anthropic SDK base URL.
|
|
12
|
+
* - Gemini: `/v1beta/models/{model}:generateContent` and `:streamGenerateContent`.
|
|
13
|
+
*
|
|
14
|
+
* Canopy does not convert between protocols. A request is accepted only for a model whose
|
|
15
|
+
* `supported_endpoints` lists the endpoint it was sent to, and it is forwarded unchanged except for
|
|
16
|
+
* the model name and the credentials. Reasoning settings such as `reasoning_effort` are passed
|
|
17
|
+
* through as written; a model's `capabilities` lists the values its upstream accepts.
|
|
18
|
+
*
|
|
19
|
+
* Management operations use `/api/v1`. The management model catalogue names how each model is billed in Billing;
|
|
20
|
+
* `/v1/models` returns the OpenAI model format with Canopy capabilities and parameter limits.
|
|
21
|
+
*
|
|
22
|
+
* ## Authentication
|
|
23
|
+
*
|
|
24
|
+
* Every request carries a scoped token; see the `bearerAuth` security scheme.
|
|
25
|
+
*
|
|
26
|
+
* Management and project inference accept the same verified IAM scoped token. The token is the
|
|
27
|
+
* sole billing project authority; `OpenAI-Project` and historical identity headers cannot
|
|
28
|
+
* override it. These endpoints do not accept a Canopy API key. The separate API-key gateway
|
|
29
|
+
* accepts Canopy API keys and serves the same endpoints.
|
|
30
|
+
*
|
|
31
|
+
* ## Conventions
|
|
32
|
+
*
|
|
33
|
+
* - **The plaintext of an API key is returned once.** The `secret` appears in the response that issues it and is returned by no other endpoint. A key that has been lost has to be revoked and reissued.
|
|
34
|
+
* - **Disabling and revoking are distinct.** A disabled key may be enabled again at any time, while a revocation is irreversible and is intended for a key that has been exposed. Neither removes the record, and the usage the key accrued remains readable.
|
|
35
|
+
* - **A usage query must carry a time range**, spanning no more than 31 days, or 400 days for the usage timeline. `from` and `to` carry a timezone offset, which the server does not infer.
|
|
36
|
+
* - **The request and response bodies do not appear in the ledger.** They are not recorded. Quote the `upstream_request_id` from the response when reporting a problem.
|
|
37
|
+
* - **Usage may be estimated.** The upstream provider does not report usage on every request. Where it does not, `usage_source` is `estimated` and the figures are derived from the character classes of the payload, to within roughly fifteen per cent.
|
|
38
|
+
* - **The service is enabled before use.** A project enables the model platform once, through `create-service`; the forwarding endpoints refuse its requests until the service is `active`. Requests are then billed under the service's subscription by the tokens they use, at the rates Billing holds for each model's `billing`.
|
|
39
|
+
* OpenAPI spec version: 1.0.0
|
|
40
|
+
*/
|
|
41
|
+
import * as zod from "zod";
|
|
42
|
+
export const videoUsageSecondsMin = 0;
|
|
43
|
+
export const videoUsageInputSecondsMin = 0;
|
|
44
|
+
export const videoUsageOutputSecondsMin = 0;
|
|
45
|
+
export const videoUsageBillableSecondsMin = 0;
|
|
46
|
+
export const VideoUsage = zod
|
|
47
|
+
.strictObject({
|
|
48
|
+
seconds: zod
|
|
49
|
+
.number()
|
|
50
|
+
.min(videoUsageSecondsMin)
|
|
51
|
+
.optional()
|
|
52
|
+
.describe("Output duration, kept for compatibility."),
|
|
53
|
+
resolution: zod.string().optional(),
|
|
54
|
+
input_seconds: zod.number().min(videoUsageInputSecondsMin).optional(),
|
|
55
|
+
output_seconds: zod.number().min(videoUsageOutputSecondsMin).optional(),
|
|
56
|
+
billable_seconds: zod
|
|
57
|
+
.number()
|
|
58
|
+
.min(videoUsageBillableSecondsMin)
|
|
59
|
+
.optional()
|
|
60
|
+
.describe("Total measured input and output video duration, not a monetary quote."),
|
|
61
|
+
})
|
|
62
|
+
.describe("Provider measurements on a task; only completed tasks are settled.");
|
package/dist/routes.d.ts
CHANGED
|
@@ -570,48 +570,48 @@ export declare const routes: readonly [{
|
|
|
570
570
|
readonly service: "assistant";
|
|
571
571
|
readonly contract: "assistant";
|
|
572
572
|
readonly method: "POST";
|
|
573
|
-
readonly path: "/api/v1/
|
|
574
|
-
readonly operationId: "upload-
|
|
573
|
+
readonly path: "/api/v1/files";
|
|
574
|
+
readonly operationId: "upload-file";
|
|
575
575
|
readonly securityScheme: "ScopedToken";
|
|
576
576
|
readonly upstreamUrl: "https://assistant.leaflow.cloud";
|
|
577
577
|
}, {
|
|
578
578
|
readonly service: "assistant";
|
|
579
579
|
readonly contract: "assistant";
|
|
580
580
|
readonly method: "QUERY";
|
|
581
|
-
readonly path: "/api/v1/
|
|
582
|
-
readonly operationId: "search-
|
|
581
|
+
readonly path: "/api/v1/files";
|
|
582
|
+
readonly operationId: "search-files";
|
|
583
583
|
readonly securityScheme: "ScopedToken";
|
|
584
584
|
readonly upstreamUrl: "https://assistant.leaflow.cloud";
|
|
585
585
|
}, {
|
|
586
586
|
readonly service: "assistant";
|
|
587
587
|
readonly contract: "assistant";
|
|
588
588
|
readonly method: "GET";
|
|
589
|
-
readonly path: "/api/v1/
|
|
590
|
-
readonly operationId: "get-
|
|
589
|
+
readonly path: "/api/v1/files/{file}";
|
|
590
|
+
readonly operationId: "get-file";
|
|
591
591
|
readonly securityScheme: "ScopedToken";
|
|
592
592
|
readonly upstreamUrl: "https://assistant.leaflow.cloud";
|
|
593
593
|
}, {
|
|
594
594
|
readonly service: "assistant";
|
|
595
595
|
readonly contract: "assistant";
|
|
596
596
|
readonly method: "PATCH";
|
|
597
|
-
readonly path: "/api/v1/
|
|
598
|
-
readonly operationId: "update-
|
|
597
|
+
readonly path: "/api/v1/files/{file}";
|
|
598
|
+
readonly operationId: "update-file";
|
|
599
599
|
readonly securityScheme: "ScopedToken";
|
|
600
600
|
readonly upstreamUrl: "https://assistant.leaflow.cloud";
|
|
601
601
|
}, {
|
|
602
602
|
readonly service: "assistant";
|
|
603
603
|
readonly contract: "assistant";
|
|
604
604
|
readonly method: "DELETE";
|
|
605
|
-
readonly path: "/api/v1/
|
|
606
|
-
readonly operationId: "delete-
|
|
605
|
+
readonly path: "/api/v1/files/{file}";
|
|
606
|
+
readonly operationId: "delete-file";
|
|
607
607
|
readonly securityScheme: "ScopedToken";
|
|
608
608
|
readonly upstreamUrl: "https://assistant.leaflow.cloud";
|
|
609
609
|
}, {
|
|
610
610
|
readonly service: "assistant";
|
|
611
611
|
readonly contract: "assistant";
|
|
612
612
|
readonly method: "GET";
|
|
613
|
-
readonly path: "/api/v1/
|
|
614
|
-
readonly operationId: "download-
|
|
613
|
+
readonly path: "/api/v1/files/{file}:download";
|
|
614
|
+
readonly operationId: "download-file";
|
|
615
615
|
readonly securityScheme: "ScopedToken";
|
|
616
616
|
readonly upstreamUrl: "https://assistant.leaflow.cloud";
|
|
617
617
|
}, {
|
|
@@ -686,6 +686,70 @@ export declare const routes: readonly [{
|
|
|
686
686
|
readonly operationId: "put-upload-part";
|
|
687
687
|
readonly securityScheme: "ScopedToken";
|
|
688
688
|
readonly upstreamUrl: "https://assistant.leaflow.cloud";
|
|
689
|
+
}, {
|
|
690
|
+
readonly service: "assistant";
|
|
691
|
+
readonly contract: "assistant";
|
|
692
|
+
readonly method: "GET";
|
|
693
|
+
readonly path: "/api/v1/artifacts";
|
|
694
|
+
readonly operationId: "list-artifacts";
|
|
695
|
+
readonly securityScheme: "ScopedToken";
|
|
696
|
+
readonly upstreamUrl: "https://assistant.leaflow.cloud";
|
|
697
|
+
}, {
|
|
698
|
+
readonly service: "assistant";
|
|
699
|
+
readonly contract: "assistant";
|
|
700
|
+
readonly method: "POST";
|
|
701
|
+
readonly path: "/api/v1/artifacts";
|
|
702
|
+
readonly operationId: "create-artifact";
|
|
703
|
+
readonly securityScheme: "ScopedToken";
|
|
704
|
+
readonly upstreamUrl: "https://assistant.leaflow.cloud";
|
|
705
|
+
}, {
|
|
706
|
+
readonly service: "assistant";
|
|
707
|
+
readonly contract: "assistant";
|
|
708
|
+
readonly method: "GET";
|
|
709
|
+
readonly path: "/api/v1/artifacts/{artifact}";
|
|
710
|
+
readonly operationId: "get-artifact";
|
|
711
|
+
readonly securityScheme: "ScopedToken";
|
|
712
|
+
readonly upstreamUrl: "https://assistant.leaflow.cloud";
|
|
713
|
+
}, {
|
|
714
|
+
readonly service: "assistant";
|
|
715
|
+
readonly contract: "assistant";
|
|
716
|
+
readonly method: "PATCH";
|
|
717
|
+
readonly path: "/api/v1/artifacts/{artifact}";
|
|
718
|
+
readonly operationId: "update-artifact";
|
|
719
|
+
readonly securityScheme: "ScopedToken";
|
|
720
|
+
readonly upstreamUrl: "https://assistant.leaflow.cloud";
|
|
721
|
+
}, {
|
|
722
|
+
readonly service: "assistant";
|
|
723
|
+
readonly contract: "assistant";
|
|
724
|
+
readonly method: "DELETE";
|
|
725
|
+
readonly path: "/api/v1/artifacts/{artifact}";
|
|
726
|
+
readonly operationId: "delete-artifact";
|
|
727
|
+
readonly securityScheme: "ScopedToken";
|
|
728
|
+
readonly upstreamUrl: "https://assistant.leaflow.cloud";
|
|
729
|
+
}, {
|
|
730
|
+
readonly service: "assistant";
|
|
731
|
+
readonly contract: "assistant";
|
|
732
|
+
readonly method: "GET";
|
|
733
|
+
readonly path: "/api/v1/artifacts/{artifact}/versions";
|
|
734
|
+
readonly operationId: "list-artifact-versions";
|
|
735
|
+
readonly securityScheme: "ScopedToken";
|
|
736
|
+
readonly upstreamUrl: "https://assistant.leaflow.cloud";
|
|
737
|
+
}, {
|
|
738
|
+
readonly service: "assistant";
|
|
739
|
+
readonly contract: "assistant";
|
|
740
|
+
readonly method: "POST";
|
|
741
|
+
readonly path: "/api/v1/artifacts/{artifact}/versions";
|
|
742
|
+
readonly operationId: "create-artifact-version";
|
|
743
|
+
readonly securityScheme: "ScopedToken";
|
|
744
|
+
readonly upstreamUrl: "https://assistant.leaflow.cloud";
|
|
745
|
+
}, {
|
|
746
|
+
readonly service: "assistant";
|
|
747
|
+
readonly contract: "assistant";
|
|
748
|
+
readonly method: "GET";
|
|
749
|
+
readonly path: "/api/v1/artifacts/{artifact}/versions/{version}";
|
|
750
|
+
readonly operationId: "get-artifact-version";
|
|
751
|
+
readonly securityScheme: "ScopedToken";
|
|
752
|
+
readonly upstreamUrl: "https://assistant.leaflow.cloud";
|
|
689
753
|
}, {
|
|
690
754
|
readonly service: "assistant";
|
|
691
755
|
readonly contract: "assistant";
|
|
@@ -1599,6 +1663,30 @@ export declare const routes: readonly [{
|
|
|
1599
1663
|
readonly operationId: "get-statement-usage";
|
|
1600
1664
|
readonly securityScheme: "AccessToken";
|
|
1601
1665
|
readonly upstreamUrl: "https://billing.leaflow.cloud";
|
|
1666
|
+
}, {
|
|
1667
|
+
readonly service: "canopy";
|
|
1668
|
+
readonly contract: "canopy";
|
|
1669
|
+
readonly method: "POST";
|
|
1670
|
+
readonly path: "/v1/videos";
|
|
1671
|
+
readonly operationId: "create-video";
|
|
1672
|
+
readonly securityScheme: "ScopedToken";
|
|
1673
|
+
readonly upstreamUrl: "https://canopy.leaflow.cloud";
|
|
1674
|
+
}, {
|
|
1675
|
+
readonly service: "canopy";
|
|
1676
|
+
readonly contract: "canopy";
|
|
1677
|
+
readonly method: "GET";
|
|
1678
|
+
readonly path: "/v1/videos/{video}";
|
|
1679
|
+
readonly operationId: "get-video";
|
|
1680
|
+
readonly securityScheme: "ScopedToken";
|
|
1681
|
+
readonly upstreamUrl: "https://canopy.leaflow.cloud";
|
|
1682
|
+
}, {
|
|
1683
|
+
readonly service: "canopy";
|
|
1684
|
+
readonly contract: "canopy";
|
|
1685
|
+
readonly method: "GET";
|
|
1686
|
+
readonly path: "/v1/videos/{video}/content";
|
|
1687
|
+
readonly operationId: "get-video-content";
|
|
1688
|
+
readonly securityScheme: "ScopedToken";
|
|
1689
|
+
readonly upstreamUrl: "https://canopy.leaflow.cloud";
|
|
1602
1690
|
}, {
|
|
1603
1691
|
readonly service: "canopy";
|
|
1604
1692
|
readonly contract: "canopy";
|
package/dist/routes.js
CHANGED
|
@@ -643,8 +643,8 @@ export const routes = [
|
|
|
643
643
|
service: "assistant",
|
|
644
644
|
contract: "assistant",
|
|
645
645
|
method: "POST",
|
|
646
|
-
path: "/api/v1/
|
|
647
|
-
operationId: "upload-
|
|
646
|
+
path: "/api/v1/files",
|
|
647
|
+
operationId: "upload-file",
|
|
648
648
|
securityScheme: "ScopedToken",
|
|
649
649
|
upstreamUrl: "https://assistant.leaflow.cloud",
|
|
650
650
|
},
|
|
@@ -652,8 +652,8 @@ export const routes = [
|
|
|
652
652
|
service: "assistant",
|
|
653
653
|
contract: "assistant",
|
|
654
654
|
method: "QUERY",
|
|
655
|
-
path: "/api/v1/
|
|
656
|
-
operationId: "search-
|
|
655
|
+
path: "/api/v1/files",
|
|
656
|
+
operationId: "search-files",
|
|
657
657
|
securityScheme: "ScopedToken",
|
|
658
658
|
upstreamUrl: "https://assistant.leaflow.cloud",
|
|
659
659
|
},
|
|
@@ -661,8 +661,8 @@ export const routes = [
|
|
|
661
661
|
service: "assistant",
|
|
662
662
|
contract: "assistant",
|
|
663
663
|
method: "GET",
|
|
664
|
-
path: "/api/v1/
|
|
665
|
-
operationId: "get-
|
|
664
|
+
path: "/api/v1/files/{file}",
|
|
665
|
+
operationId: "get-file",
|
|
666
666
|
securityScheme: "ScopedToken",
|
|
667
667
|
upstreamUrl: "https://assistant.leaflow.cloud",
|
|
668
668
|
},
|
|
@@ -670,8 +670,8 @@ export const routes = [
|
|
|
670
670
|
service: "assistant",
|
|
671
671
|
contract: "assistant",
|
|
672
672
|
method: "PATCH",
|
|
673
|
-
path: "/api/v1/
|
|
674
|
-
operationId: "update-
|
|
673
|
+
path: "/api/v1/files/{file}",
|
|
674
|
+
operationId: "update-file",
|
|
675
675
|
securityScheme: "ScopedToken",
|
|
676
676
|
upstreamUrl: "https://assistant.leaflow.cloud",
|
|
677
677
|
},
|
|
@@ -679,8 +679,8 @@ export const routes = [
|
|
|
679
679
|
service: "assistant",
|
|
680
680
|
contract: "assistant",
|
|
681
681
|
method: "DELETE",
|
|
682
|
-
path: "/api/v1/
|
|
683
|
-
operationId: "delete-
|
|
682
|
+
path: "/api/v1/files/{file}",
|
|
683
|
+
operationId: "delete-file",
|
|
684
684
|
securityScheme: "ScopedToken",
|
|
685
685
|
upstreamUrl: "https://assistant.leaflow.cloud",
|
|
686
686
|
},
|
|
@@ -688,8 +688,8 @@ export const routes = [
|
|
|
688
688
|
service: "assistant",
|
|
689
689
|
contract: "assistant",
|
|
690
690
|
method: "GET",
|
|
691
|
-
path: "/api/v1/
|
|
692
|
-
operationId: "download-
|
|
691
|
+
path: "/api/v1/files/{file}:download",
|
|
692
|
+
operationId: "download-file",
|
|
693
693
|
securityScheme: "ScopedToken",
|
|
694
694
|
upstreamUrl: "https://assistant.leaflow.cloud",
|
|
695
695
|
},
|
|
@@ -774,6 +774,78 @@ export const routes = [
|
|
|
774
774
|
securityScheme: "ScopedToken",
|
|
775
775
|
upstreamUrl: "https://assistant.leaflow.cloud",
|
|
776
776
|
},
|
|
777
|
+
{
|
|
778
|
+
service: "assistant",
|
|
779
|
+
contract: "assistant",
|
|
780
|
+
method: "GET",
|
|
781
|
+
path: "/api/v1/artifacts",
|
|
782
|
+
operationId: "list-artifacts",
|
|
783
|
+
securityScheme: "ScopedToken",
|
|
784
|
+
upstreamUrl: "https://assistant.leaflow.cloud",
|
|
785
|
+
},
|
|
786
|
+
{
|
|
787
|
+
service: "assistant",
|
|
788
|
+
contract: "assistant",
|
|
789
|
+
method: "POST",
|
|
790
|
+
path: "/api/v1/artifacts",
|
|
791
|
+
operationId: "create-artifact",
|
|
792
|
+
securityScheme: "ScopedToken",
|
|
793
|
+
upstreamUrl: "https://assistant.leaflow.cloud",
|
|
794
|
+
},
|
|
795
|
+
{
|
|
796
|
+
service: "assistant",
|
|
797
|
+
contract: "assistant",
|
|
798
|
+
method: "GET",
|
|
799
|
+
path: "/api/v1/artifacts/{artifact}",
|
|
800
|
+
operationId: "get-artifact",
|
|
801
|
+
securityScheme: "ScopedToken",
|
|
802
|
+
upstreamUrl: "https://assistant.leaflow.cloud",
|
|
803
|
+
},
|
|
804
|
+
{
|
|
805
|
+
service: "assistant",
|
|
806
|
+
contract: "assistant",
|
|
807
|
+
method: "PATCH",
|
|
808
|
+
path: "/api/v1/artifacts/{artifact}",
|
|
809
|
+
operationId: "update-artifact",
|
|
810
|
+
securityScheme: "ScopedToken",
|
|
811
|
+
upstreamUrl: "https://assistant.leaflow.cloud",
|
|
812
|
+
},
|
|
813
|
+
{
|
|
814
|
+
service: "assistant",
|
|
815
|
+
contract: "assistant",
|
|
816
|
+
method: "DELETE",
|
|
817
|
+
path: "/api/v1/artifacts/{artifact}",
|
|
818
|
+
operationId: "delete-artifact",
|
|
819
|
+
securityScheme: "ScopedToken",
|
|
820
|
+
upstreamUrl: "https://assistant.leaflow.cloud",
|
|
821
|
+
},
|
|
822
|
+
{
|
|
823
|
+
service: "assistant",
|
|
824
|
+
contract: "assistant",
|
|
825
|
+
method: "GET",
|
|
826
|
+
path: "/api/v1/artifacts/{artifact}/versions",
|
|
827
|
+
operationId: "list-artifact-versions",
|
|
828
|
+
securityScheme: "ScopedToken",
|
|
829
|
+
upstreamUrl: "https://assistant.leaflow.cloud",
|
|
830
|
+
},
|
|
831
|
+
{
|
|
832
|
+
service: "assistant",
|
|
833
|
+
contract: "assistant",
|
|
834
|
+
method: "POST",
|
|
835
|
+
path: "/api/v1/artifacts/{artifact}/versions",
|
|
836
|
+
operationId: "create-artifact-version",
|
|
837
|
+
securityScheme: "ScopedToken",
|
|
838
|
+
upstreamUrl: "https://assistant.leaflow.cloud",
|
|
839
|
+
},
|
|
840
|
+
{
|
|
841
|
+
service: "assistant",
|
|
842
|
+
contract: "assistant",
|
|
843
|
+
method: "GET",
|
|
844
|
+
path: "/api/v1/artifacts/{artifact}/versions/{version}",
|
|
845
|
+
operationId: "get-artifact-version",
|
|
846
|
+
securityScheme: "ScopedToken",
|
|
847
|
+
upstreamUrl: "https://assistant.leaflow.cloud",
|
|
848
|
+
},
|
|
777
849
|
{
|
|
778
850
|
service: "assistant",
|
|
779
851
|
contract: "assistant",
|
|
@@ -1801,6 +1873,33 @@ export const routes = [
|
|
|
1801
1873
|
securityScheme: "AccessToken",
|
|
1802
1874
|
upstreamUrl: "https://billing.leaflow.cloud",
|
|
1803
1875
|
},
|
|
1876
|
+
{
|
|
1877
|
+
service: "canopy",
|
|
1878
|
+
contract: "canopy",
|
|
1879
|
+
method: "POST",
|
|
1880
|
+
path: "/v1/videos",
|
|
1881
|
+
operationId: "create-video",
|
|
1882
|
+
securityScheme: "ScopedToken",
|
|
1883
|
+
upstreamUrl: "https://canopy.leaflow.cloud",
|
|
1884
|
+
},
|
|
1885
|
+
{
|
|
1886
|
+
service: "canopy",
|
|
1887
|
+
contract: "canopy",
|
|
1888
|
+
method: "GET",
|
|
1889
|
+
path: "/v1/videos/{video}",
|
|
1890
|
+
operationId: "get-video",
|
|
1891
|
+
securityScheme: "ScopedToken",
|
|
1892
|
+
upstreamUrl: "https://canopy.leaflow.cloud",
|
|
1893
|
+
},
|
|
1894
|
+
{
|
|
1895
|
+
service: "canopy",
|
|
1896
|
+
contract: "canopy",
|
|
1897
|
+
method: "GET",
|
|
1898
|
+
path: "/v1/videos/{video}/content",
|
|
1899
|
+
operationId: "get-video-content",
|
|
1900
|
+
securityScheme: "ScopedToken",
|
|
1901
|
+
upstreamUrl: "https://canopy.leaflow.cloud",
|
|
1902
|
+
},
|
|
1804
1903
|
{
|
|
1805
1904
|
service: "canopy",
|
|
1806
1905
|
contract: "canopy",
|