@leaflow/sdk 0.210.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/routes.d.ts +76 -12
- package/dist/routes.js +84 -12
- package/package.json +1 -1
|
@@ -20,14 +20,15 @@
|
|
|
20
20
|
* outlines the person's messages for navigating a long conversation.
|
|
21
21
|
*
|
|
22
22
|
* Upload large files with /api/v1/uploads: read /api/v1/upload-configuration first, send exact-sized
|
|
23
|
-
* parts, then complete the upload and send its
|
|
23
|
+
* parts, then complete the upload and send its file id in a message.
|
|
24
24
|
*
|
|
25
|
-
* Files
|
|
26
|
-
* the conversations that already use it; downloading keeps working.
|
|
25
|
+
* Files the person attached are listed by search-files. Renaming or removing one does not change
|
|
26
|
+
* the conversations that already use it; downloading keeps working. Files the assistant hands over
|
|
27
|
+
* are artifacts: they appear on the tool call that created them and are listed by list-artifacts.
|
|
27
28
|
* OpenAPI spec version: 2.0.0
|
|
28
29
|
*/
|
|
29
30
|
import * as zod from "zod";
|
|
30
|
-
export const
|
|
31
|
-
export const
|
|
32
|
-
filename: zod.string().max(
|
|
31
|
+
export const uploadFileParamsFilenameMax = 255;
|
|
32
|
+
export const UploadFileParams = zod.strictObject({
|
|
33
|
+
filename: zod.string().max(uploadFileParamsFilenameMax).optional(),
|
|
33
34
|
});
|
|
@@ -20,10 +20,11 @@
|
|
|
20
20
|
* outlines the person's messages for navigating a long conversation.
|
|
21
21
|
*
|
|
22
22
|
* Upload large files with /api/v1/uploads: read /api/v1/upload-configuration first, send exact-sized
|
|
23
|
-
* parts, then complete the upload and send its
|
|
23
|
+
* parts, then complete the upload and send its file id in a message.
|
|
24
24
|
*
|
|
25
|
-
* Files
|
|
26
|
-
* the conversations that already use it; downloading keeps working.
|
|
25
|
+
* Files the person attached are listed by search-files. Renaming or removing one does not change
|
|
26
|
+
* the conversations that already use it; downloading keeps working. Files the assistant hands over
|
|
27
|
+
* are artifacts: they appear on the tool call that created them and are listed by list-artifacts.
|
|
27
28
|
* OpenAPI spec version: 2.0.0
|
|
28
29
|
*/
|
|
29
30
|
import * as zod from "zod";
|
|
@@ -36,7 +37,7 @@ export declare const UploadListResponseBody: zod.ZodObject<{
|
|
|
36
37
|
policyId: zod.ZodString;
|
|
37
38
|
expiresAt: zod.z.ZodISODateTime;
|
|
38
39
|
status: zod.ZodString;
|
|
39
|
-
|
|
40
|
+
fileId: zod.ZodNullable<zod.ZodString>;
|
|
40
41
|
parts: zod.ZodArray<zod.ZodObject<{
|
|
41
42
|
number: zod.ZodInt;
|
|
42
43
|
byteSize: zod.ZodInt;
|
|
@@ -20,10 +20,11 @@
|
|
|
20
20
|
* outlines the person's messages for navigating a long conversation.
|
|
21
21
|
*
|
|
22
22
|
* Upload large files with /api/v1/uploads: read /api/v1/upload-configuration first, send exact-sized
|
|
23
|
-
* parts, then complete the upload and send its
|
|
23
|
+
* parts, then complete the upload and send its file id in a message.
|
|
24
24
|
*
|
|
25
|
-
* Files
|
|
26
|
-
* the conversations that already use it; downloading keeps working.
|
|
25
|
+
* Files the person attached are listed by search-files. Renaming or removing one does not change
|
|
26
|
+
* the conversations that already use it; downloading keeps working. Files the assistant hands over
|
|
27
|
+
* are artifacts: they appear on the tool call that created them and are listed by list-artifacts.
|
|
27
28
|
* OpenAPI spec version: 2.0.0
|
|
28
29
|
*/
|
|
29
30
|
import * as zod from "zod";
|
|
@@ -20,10 +20,11 @@
|
|
|
20
20
|
* outlines the person's messages for navigating a long conversation.
|
|
21
21
|
*
|
|
22
22
|
* Upload large files with /api/v1/uploads: read /api/v1/upload-configuration first, send exact-sized
|
|
23
|
-
* parts, then complete the upload and send its
|
|
23
|
+
* parts, then complete the upload and send its file id in a message.
|
|
24
24
|
*
|
|
25
|
-
* Files
|
|
26
|
-
* the conversations that already use it; downloading keeps working.
|
|
25
|
+
* Files the person attached are listed by search-files. Renaming or removing one does not change
|
|
26
|
+
* the conversations that already use it; downloading keeps working. Files the assistant hands over
|
|
27
|
+
* are artifacts: they appear on the tool call that created them and are listed by list-artifacts.
|
|
27
28
|
* OpenAPI spec version: 2.0.0
|
|
28
29
|
*/
|
|
29
30
|
import * as zod from "zod";
|
|
@@ -20,10 +20,11 @@
|
|
|
20
20
|
* outlines the person's messages for navigating a long conversation.
|
|
21
21
|
*
|
|
22
22
|
* Upload large files with /api/v1/uploads: read /api/v1/upload-configuration first, send exact-sized
|
|
23
|
-
* parts, then complete the upload and send its
|
|
23
|
+
* parts, then complete the upload and send its file id in a message.
|
|
24
24
|
*
|
|
25
|
-
* Files
|
|
26
|
-
* the conversations that already use it; downloading keeps working.
|
|
25
|
+
* Files the person attached are listed by search-files. Renaming or removing one does not change
|
|
26
|
+
* the conversations that already use it; downloading keeps working. Files the assistant hands over
|
|
27
|
+
* are artifacts: they appear on the tool call that created them and are listed by list-artifacts.
|
|
27
28
|
* OpenAPI spec version: 2.0.0
|
|
28
29
|
*/
|
|
29
30
|
import * as zod from "zod";
|
|
@@ -20,10 +20,11 @@
|
|
|
20
20
|
* outlines the person's messages for navigating a long conversation.
|
|
21
21
|
*
|
|
22
22
|
* Upload large files with /api/v1/uploads: read /api/v1/upload-configuration first, send exact-sized
|
|
23
|
-
* parts, then complete the upload and send its
|
|
23
|
+
* parts, then complete the upload and send its file id in a message.
|
|
24
24
|
*
|
|
25
|
-
* Files
|
|
26
|
-
* the conversations that already use it; downloading keeps working.
|
|
25
|
+
* Files the person attached are listed by search-files. Renaming or removing one does not change
|
|
26
|
+
* the conversations that already use it; downloading keeps working. Files the assistant hands over
|
|
27
|
+
* are artifacts: they appear on the tool call that created them and are listed by list-artifacts.
|
|
27
28
|
* OpenAPI spec version: 2.0.0
|
|
28
29
|
*/
|
|
29
30
|
import * as zod from "zod";
|
|
@@ -35,7 +36,7 @@ export declare const UploadResource: zod.ZodObject<{
|
|
|
35
36
|
policyId: zod.ZodString;
|
|
36
37
|
expiresAt: zod.z.ZodISODateTime;
|
|
37
38
|
status: zod.ZodString;
|
|
38
|
-
|
|
39
|
+
fileId: zod.ZodNullable<zod.ZodString>;
|
|
39
40
|
parts: zod.ZodArray<zod.ZodObject<{
|
|
40
41
|
number: zod.ZodInt;
|
|
41
42
|
byteSize: zod.ZodInt;
|
|
@@ -20,10 +20,11 @@
|
|
|
20
20
|
* outlines the person's messages for navigating a long conversation.
|
|
21
21
|
*
|
|
22
22
|
* Upload large files with /api/v1/uploads: read /api/v1/upload-configuration first, send exact-sized
|
|
23
|
-
* parts, then complete the upload and send its
|
|
23
|
+
* parts, then complete the upload and send its file id in a message.
|
|
24
24
|
*
|
|
25
|
-
* Files
|
|
26
|
-
* the conversations that already use it; downloading keeps working.
|
|
25
|
+
* Files the person attached are listed by search-files. Renaming or removing one does not change
|
|
26
|
+
* the conversations that already use it; downloading keeps working. Files the assistant hands over
|
|
27
|
+
* are artifacts: they appear on the tool call that created them and are listed by list-artifacts.
|
|
27
28
|
* OpenAPI spec version: 2.0.0
|
|
28
29
|
*/
|
|
29
30
|
import * as zod from "zod";
|
|
@@ -36,6 +37,9 @@ export const UploadResource = zod.strictObject({
|
|
|
36
37
|
policyId: zod.string(),
|
|
37
38
|
expiresAt: zod.iso.datetime({ offset: true }),
|
|
38
39
|
status: zod.string(),
|
|
39
|
-
|
|
40
|
+
fileId: zod
|
|
41
|
+
.string()
|
|
42
|
+
.nullable()
|
|
43
|
+
.describe("The file the upload became. Null until the upload is complete."),
|
|
40
44
|
parts: zod.array(UploadPartResource),
|
|
41
45
|
});
|
|
@@ -20,10 +20,11 @@
|
|
|
20
20
|
* outlines the person's messages for navigating a long conversation.
|
|
21
21
|
*
|
|
22
22
|
* Upload large files with /api/v1/uploads: read /api/v1/upload-configuration first, send exact-sized
|
|
23
|
-
* parts, then complete the upload and send its
|
|
23
|
+
* parts, then complete the upload and send its file id in a message.
|
|
24
24
|
*
|
|
25
|
-
* Files
|
|
26
|
-
* the conversations that already use it; downloading keeps working.
|
|
25
|
+
* Files the person attached are listed by search-files. Renaming or removing one does not change
|
|
26
|
+
* the conversations that already use it; downloading keeps working. Files the assistant hands over
|
|
27
|
+
* are artifacts: they appear on the tool call that created them and are listed by list-artifacts.
|
|
27
28
|
* OpenAPI spec version: 2.0.0
|
|
28
29
|
*/
|
|
29
30
|
import * as zod from "zod";
|
|
@@ -20,10 +20,11 @@
|
|
|
20
20
|
* outlines the person's messages for navigating a long conversation.
|
|
21
21
|
*
|
|
22
22
|
* Upload large files with /api/v1/uploads: read /api/v1/upload-configuration first, send exact-sized
|
|
23
|
-
* parts, then complete the upload and send its
|
|
23
|
+
* parts, then complete the upload and send its file id in a message.
|
|
24
24
|
*
|
|
25
|
-
* Files
|
|
26
|
-
* the conversations that already use it; downloading keeps working.
|
|
25
|
+
* Files the person attached are listed by search-files. Renaming or removing one does not change
|
|
26
|
+
* the conversations that already use it; downloading keeps working. Files the assistant hands over
|
|
27
|
+
* are artifacts: they appear on the tool call that created them and are listed by list-artifacts.
|
|
27
28
|
* OpenAPI spec version: 2.0.0
|
|
28
29
|
*/
|
|
29
30
|
import * as zod from "zod";
|
|
@@ -20,10 +20,11 @@
|
|
|
20
20
|
* outlines the person's messages for navigating a long conversation.
|
|
21
21
|
*
|
|
22
22
|
* Upload large files with /api/v1/uploads: read /api/v1/upload-configuration first, send exact-sized
|
|
23
|
-
* parts, then complete the upload and send its
|
|
23
|
+
* parts, then complete the upload and send its file id in a message.
|
|
24
24
|
*
|
|
25
|
-
* Files
|
|
26
|
-
* the conversations that already use it; downloading keeps working.
|
|
25
|
+
* Files the person attached are listed by search-files. Renaming or removing one does not change
|
|
26
|
+
* the conversations that already use it; downloading keeps working. Files the assistant hands over
|
|
27
|
+
* are artifacts: they appear on the tool call that created them and are listed by list-artifacts.
|
|
27
28
|
* OpenAPI spec version: 2.0.0
|
|
28
29
|
*/
|
|
29
30
|
import * as zod from "zod";
|
|
@@ -20,10 +20,11 @@
|
|
|
20
20
|
* outlines the person's messages for navigating a long conversation.
|
|
21
21
|
*
|
|
22
22
|
* Upload large files with /api/v1/uploads: read /api/v1/upload-configuration first, send exact-sized
|
|
23
|
-
* parts, then complete the upload and send its
|
|
23
|
+
* parts, then complete the upload and send its file id in a message.
|
|
24
24
|
*
|
|
25
|
-
* Files
|
|
26
|
-
* the conversations that already use it; downloading keeps working.
|
|
25
|
+
* Files the person attached are listed by search-files. Renaming or removing one does not change
|
|
26
|
+
* the conversations that already use it; downloading keeps working. Files the assistant hands over
|
|
27
|
+
* are artifacts: they appear on the tool call that created them and are listed by list-artifacts.
|
|
27
28
|
* OpenAPI spec version: 2.0.0
|
|
28
29
|
*/
|
|
29
30
|
import * as zod from "zod";
|
|
@@ -20,10 +20,11 @@
|
|
|
20
20
|
* outlines the person's messages for navigating a long conversation.
|
|
21
21
|
*
|
|
22
22
|
* Upload large files with /api/v1/uploads: read /api/v1/upload-configuration first, send exact-sized
|
|
23
|
-
* parts, then complete the upload and send its
|
|
23
|
+
* parts, then complete the upload and send its file id in a message.
|
|
24
24
|
*
|
|
25
|
-
* Files
|
|
26
|
-
* the conversations that already use it; downloading keeps working.
|
|
25
|
+
* Files the person attached are listed by search-files. Renaming or removing one does not change
|
|
26
|
+
* the conversations that already use it; downloading keeps working. Files the assistant hands over
|
|
27
|
+
* are artifacts: they appear on the tool call that created them and are listed by list-artifacts.
|
|
27
28
|
* OpenAPI spec version: 2.0.0
|
|
28
29
|
*/
|
|
29
30
|
import * as zod from "zod";
|
|
@@ -20,10 +20,11 @@
|
|
|
20
20
|
* outlines the person's messages for navigating a long conversation.
|
|
21
21
|
*
|
|
22
22
|
* Upload large files with /api/v1/uploads: read /api/v1/upload-configuration first, send exact-sized
|
|
23
|
-
* parts, then complete the upload and send its
|
|
23
|
+
* parts, then complete the upload and send its file id in a message.
|
|
24
24
|
*
|
|
25
|
-
* Files
|
|
26
|
-
* the conversations that already use it; downloading keeps working.
|
|
25
|
+
* Files the person attached are listed by search-files. Renaming or removing one does not change
|
|
26
|
+
* the conversations that already use it; downloading keeps working. Files the assistant hands over
|
|
27
|
+
* are artifacts: they appear on the tool call that created them and are listed by list-artifacts.
|
|
27
28
|
* OpenAPI spec version: 2.0.0
|
|
28
29
|
*/
|
|
29
30
|
import * as zod from "zod";
|
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";
|
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",
|