@leaflow/sdk 0.0.0-dev.482.g339e5e7 → 0.0.0-dev.484.g7d5e731
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/dist/assistant/v1/generated/functions.d.ts +104 -2
- package/dist/assistant/v1/generated/functions.js +115 -2
- package/dist/assistant/v1/generated/models.d.ts +102 -0
- package/dist/assistant/v1/generated/models.js +13 -0
- package/dist/assistant/v1/generated/schemas.zod.d.ts +36 -1
- package/dist/assistant/v1/generated/schemas.zod.js +35 -1
- package/dist/assistant/v1/generated/validators/answerQuestionRequestBody.zod.d.ts +3 -0
- package/dist/assistant/v1/generated/validators/answerQuestionRequestBody.zod.js +3 -0
- package/dist/assistant/v1/generated/validators/approvalMode.zod.d.ts +3 -0
- package/dist/assistant/v1/generated/validators/approvalMode.zod.js +3 -0
- package/dist/assistant/v1/generated/validators/attachmentCountsResource.zod.d.ts +35 -0
- package/dist/assistant/v1/generated/validators/attachmentCountsResource.zod.js +35 -0
- package/dist/assistant/v1/generated/validators/attachmentFileResource.zod.d.ts +47 -0
- package/dist/assistant/v1/generated/validators/attachmentFileResource.zod.js +44 -0
- package/dist/assistant/v1/generated/validators/attachmentListResponseBody.zod.d.ts +54 -0
- package/dist/assistant/v1/generated/validators/attachmentListResponseBody.zod.js +38 -0
- package/dist/assistant/v1/generated/validators/attachmentResource.zod.d.ts +3 -0
- package/dist/assistant/v1/generated/validators/attachmentResource.zod.js +3 -0
- package/dist/assistant/v1/generated/validators/bindingCodeResponseBody.zod.d.ts +3 -0
- package/dist/assistant/v1/generated/validators/bindingCodeResponseBody.zod.js +3 -0
- package/dist/assistant/v1/generated/validators/bindingResource.zod.d.ts +3 -0
- package/dist/assistant/v1/generated/validators/bindingResource.zod.js +3 -0
- package/dist/assistant/v1/generated/validators/channelResource.zod.d.ts +3 -0
- package/dist/assistant/v1/generated/validators/channelResource.zod.js +3 -0
- package/dist/assistant/v1/generated/validators/channelWithSecretResponseBody.zod.d.ts +3 -0
- package/dist/assistant/v1/generated/validators/channelWithSecretResponseBody.zod.js +3 -0
- package/dist/assistant/v1/generated/validators/checkSenderParams.zod.d.ts +3 -0
- package/dist/assistant/v1/generated/validators/checkSenderParams.zod.js +3 -0
- package/dist/assistant/v1/generated/validators/choiceResource.zod.d.ts +3 -0
- package/dist/assistant/v1/generated/validators/choiceResource.zod.js +3 -0
- package/dist/assistant/v1/generated/validators/clientActionRequest.zod.d.ts +3 -0
- package/dist/assistant/v1/generated/validators/clientActionRequest.zod.js +3 -0
- package/dist/assistant/v1/generated/validators/clientContextPart.zod.d.ts +3 -0
- package/dist/assistant/v1/generated/validators/clientContextPart.zod.js +3 -0
- package/dist/assistant/v1/generated/validators/clientContextRequest.zod.d.ts +3 -0
- package/dist/assistant/v1/generated/validators/clientContextRequest.zod.js +3 -0
- package/dist/assistant/v1/generated/validators/clientFunctionRequest.zod.d.ts +3 -0
- package/dist/assistant/v1/generated/validators/clientFunctionRequest.zod.js +3 -0
- package/dist/assistant/v1/generated/validators/completeUploadRequestBody.zod.d.ts +3 -0
- package/dist/assistant/v1/generated/validators/completeUploadRequestBody.zod.js +3 -0
- package/dist/assistant/v1/generated/validators/contextUsageResource.zod.d.ts +3 -0
- package/dist/assistant/v1/generated/validators/contextUsageResource.zod.js +3 -0
- package/dist/assistant/v1/generated/validators/createChannelRequestBody.zod.d.ts +3 -0
- package/dist/assistant/v1/generated/validators/createChannelRequestBody.zod.js +3 -0
- package/dist/assistant/v1/generated/validators/createFolderRequestBody.zod.d.ts +3 -0
- package/dist/assistant/v1/generated/validators/createFolderRequestBody.zod.js +3 -0
- package/dist/assistant/v1/generated/validators/createTaskRequestBody.zod.d.ts +3 -0
- package/dist/assistant/v1/generated/validators/createTaskRequestBody.zod.js +3 -0
- package/dist/assistant/v1/generated/validators/createThreadRequestBody.zod.d.ts +3 -0
- package/dist/assistant/v1/generated/validators/createThreadRequestBody.zod.js +3 -0
- package/dist/assistant/v1/generated/validators/createThreadResponseBody.zod.d.ts +3 -0
- package/dist/assistant/v1/generated/validators/createThreadResponseBody.zod.js +3 -0
- package/dist/assistant/v1/generated/validators/createUploadRequestBody.zod.d.ts +3 -0
- package/dist/assistant/v1/generated/validators/createUploadRequestBody.zod.js +3 -0
- package/dist/assistant/v1/generated/validators/credentialFieldResource.zod.d.ts +3 -0
- package/dist/assistant/v1/generated/validators/credentialFieldResource.zod.js +3 -0
- package/dist/assistant/v1/generated/validators/cursorPagination.zod.d.ts +3 -0
- package/dist/assistant/v1/generated/validators/cursorPagination.zod.js +3 -0
- package/dist/assistant/v1/generated/validators/decideToolCallsRequestBody.zod.d.ts +3 -0
- package/dist/assistant/v1/generated/validators/decideToolCallsRequestBody.zod.js +3 -0
- package/dist/assistant/v1/generated/validators/defaultModelResource.zod.d.ts +3 -0
- package/dist/assistant/v1/generated/validators/defaultModelResource.zod.js +3 -0
- package/dist/assistant/v1/generated/validators/error.zod.d.ts +3 -0
- package/dist/assistant/v1/generated/validators/error.zod.js +3 -0
- package/dist/assistant/v1/generated/validators/errorStatus.zod.d.ts +3 -0
- package/dist/assistant/v1/generated/validators/errorStatus.zod.js +3 -0
- package/dist/assistant/v1/generated/validators/fieldViolation.zod.d.ts +3 -0
- package/dist/assistant/v1/generated/validators/fieldViolation.zod.js +3 -0
- package/dist/assistant/v1/generated/validators/fileDiffResource.zod.d.ts +3 -0
- package/dist/assistant/v1/generated/validators/fileDiffResource.zod.js +3 -0
- package/dist/assistant/v1/generated/validators/folderCountsResource.zod.d.ts +3 -0
- package/dist/assistant/v1/generated/validators/folderCountsResource.zod.js +3 -0
- package/dist/assistant/v1/generated/validators/folderListResponseBody.zod.d.ts +3 -0
- package/dist/assistant/v1/generated/validators/folderListResponseBody.zod.js +3 -0
- package/dist/assistant/v1/generated/validators/folderResource.zod.d.ts +3 -0
- package/dist/assistant/v1/generated/validators/folderResource.zod.js +3 -0
- package/dist/assistant/v1/generated/validators/itemSourceResource.zod.d.ts +3 -0
- package/dist/assistant/v1/generated/validators/itemSourceResource.zod.js +3 -0
- package/dist/assistant/v1/generated/validators/lastTurnResource.zod.d.ts +3 -0
- package/dist/assistant/v1/generated/validators/lastTurnResource.zod.js +3 -0
- package/dist/assistant/v1/generated/validators/lengthAwarePageBindingResource.zod.d.ts +3 -0
- package/dist/assistant/v1/generated/validators/lengthAwarePageBindingResource.zod.js +3 -0
- package/dist/assistant/v1/generated/validators/lengthAwarePageChannelResource.zod.d.ts +3 -0
- package/dist/assistant/v1/generated/validators/lengthAwarePageChannelResource.zod.js +3 -0
- package/dist/assistant/v1/generated/validators/listBindingsParams.zod.d.ts +3 -0
- package/dist/assistant/v1/generated/validators/listBindingsParams.zod.js +3 -0
- package/dist/assistant/v1/generated/validators/listChannelRejectionsParams.zod.d.ts +3 -0
- package/dist/assistant/v1/generated/validators/listChannelRejectionsParams.zod.js +3 -0
- package/dist/assistant/v1/generated/validators/listChannelsParams.zod.d.ts +3 -0
- package/dist/assistant/v1/generated/validators/listChannelsParams.zod.js +3 -0
- package/dist/assistant/v1/generated/validators/listTaskRunsParams.zod.d.ts +3 -0
- package/dist/assistant/v1/generated/validators/listTaskRunsParams.zod.js +3 -0
- package/dist/assistant/v1/generated/validators/listThreadItemsParams.zod.d.ts +3 -0
- package/dist/assistant/v1/generated/validators/listThreadItemsParams.zod.js +3 -0
- package/dist/assistant/v1/generated/validators/listThreadMessagesParams.zod.d.ts +3 -0
- package/dist/assistant/v1/generated/validators/listThreadMessagesParams.zod.js +3 -0
- package/dist/assistant/v1/generated/validators/listThreadTurnsParams.zod.d.ts +3 -0
- package/dist/assistant/v1/generated/validators/listThreadTurnsParams.zod.js +3 -0
- package/dist/assistant/v1/generated/validators/loginResource.zod.d.ts +3 -0
- package/dist/assistant/v1/generated/validators/loginResource.zod.js +3 -0
- package/dist/assistant/v1/generated/validators/memoryListResponseBody.zod.d.ts +3 -0
- package/dist/assistant/v1/generated/validators/memoryListResponseBody.zod.js +3 -0
- package/dist/assistant/v1/generated/validators/memoryResource.zod.d.ts +3 -0
- package/dist/assistant/v1/generated/validators/memoryResource.zod.js +3 -0
- package/dist/assistant/v1/generated/validators/messagePart.zod.d.ts +3 -0
- package/dist/assistant/v1/generated/validators/messagePart.zod.js +3 -0
- package/dist/assistant/v1/generated/validators/moveFolderRequestBody.zod.d.ts +3 -0
- package/dist/assistant/v1/generated/validators/moveFolderRequestBody.zod.js +3 -0
- package/dist/assistant/v1/generated/validators/offsetPagination.zod.d.ts +3 -0
- package/dist/assistant/v1/generated/validators/offsetPagination.zod.js +3 -0
- package/dist/assistant/v1/generated/validators/partResource.zod.d.ts +3 -0
- package/dist/assistant/v1/generated/validators/partResource.zod.js +3 -0
- package/dist/assistant/v1/generated/validators/pendingActionResource.zod.d.ts +3 -0
- package/dist/assistant/v1/generated/validators/pendingActionResource.zod.js +3 -0
- package/dist/assistant/v1/generated/validators/placeThreadRequestBody.zod.d.ts +3 -0
- package/dist/assistant/v1/generated/validators/placeThreadRequestBody.zod.js +3 -0
- package/dist/assistant/v1/generated/validators/platformListResponseBody.zod.d.ts +3 -0
- package/dist/assistant/v1/generated/validators/platformListResponseBody.zod.js +3 -0
- package/dist/assistant/v1/generated/validators/platformResource.zod.d.ts +3 -0
- package/dist/assistant/v1/generated/validators/platformResource.zod.js +3 -0
- package/dist/assistant/v1/generated/validators/presentationResource.zod.d.ts +3 -0
- package/dist/assistant/v1/generated/validators/presentationResource.zod.js +3 -0
- package/dist/assistant/v1/generated/validators/putUploadPartHeaders.zod.d.ts +3 -0
- package/dist/assistant/v1/generated/validators/putUploadPartHeaders.zod.js +3 -0
- package/dist/assistant/v1/generated/validators/putUploadPartParams.zod.d.ts +3 -0
- package/dist/assistant/v1/generated/validators/putUploadPartParams.zod.js +3 -0
- package/dist/assistant/v1/generated/validators/questionResource.zod.d.ts +3 -0
- package/dist/assistant/v1/generated/validators/questionResource.zod.js +3 -0
- package/dist/assistant/v1/generated/validators/reasoningEffort.zod.d.ts +3 -0
- package/dist/assistant/v1/generated/validators/reasoningEffort.zod.js +3 -0
- package/dist/assistant/v1/generated/validators/rejectionListResponseBody.zod.d.ts +3 -0
- package/dist/assistant/v1/generated/validators/rejectionListResponseBody.zod.js +3 -0
- package/dist/assistant/v1/generated/validators/rejectionResource.zod.d.ts +3 -0
- package/dist/assistant/v1/generated/validators/rejectionResource.zod.js +3 -0
- package/dist/assistant/v1/generated/validators/resumeThreadRequestBody.zod.d.ts +3 -0
- package/dist/assistant/v1/generated/validators/resumeThreadRequestBody.zod.js +3 -0
- package/dist/assistant/v1/generated/validators/revertRequestBody.zod.d.ts +3 -0
- package/dist/assistant/v1/generated/validators/revertRequestBody.zod.js +3 -0
- package/dist/assistant/v1/generated/validators/revertedCountResponseBody.zod.d.ts +3 -0
- package/dist/assistant/v1/generated/validators/revertedCountResponseBody.zod.js +3 -0
- package/dist/assistant/v1/generated/validators/rotateSecretRequestBody.zod.d.ts +3 -0
- package/dist/assistant/v1/generated/validators/rotateSecretRequestBody.zod.js +3 -0
- package/dist/assistant/v1/generated/validators/searchAttachmentsRequestBody.zod.d.ts +51 -0
- package/dist/assistant/v1/generated/validators/searchAttachmentsRequestBody.zod.js +65 -0
- package/dist/assistant/v1/generated/validators/searchTasksRequestBody.zod.d.ts +3 -0
- package/dist/assistant/v1/generated/validators/searchTasksRequestBody.zod.js +3 -0
- package/dist/assistant/v1/generated/validators/searchThreadsRequestBody.zod.d.ts +3 -0
- package/dist/assistant/v1/generated/validators/searchThreadsRequestBody.zod.js +3 -0
- package/dist/assistant/v1/generated/validators/sendMessageRequestBody.zod.d.ts +3 -0
- package/dist/assistant/v1/generated/validators/sendMessageRequestBody.zod.js +3 -0
- package/dist/assistant/v1/generated/validators/sendMessageResponseBody.zod.d.ts +3 -0
- package/dist/assistant/v1/generated/validators/sendMessageResponseBody.zod.js +3 -0
- package/dist/assistant/v1/generated/validators/senderCheckResource.zod.d.ts +3 -0
- package/dist/assistant/v1/generated/validators/senderCheckResource.zod.js +3 -0
- package/dist/assistant/v1/generated/validators/settingsResource.zod.d.ts +3 -0
- package/dist/assistant/v1/generated/validators/settingsResource.zod.js +3 -0
- package/dist/assistant/v1/generated/validators/skillEnabledRequestBody.zod.d.ts +3 -0
- package/dist/assistant/v1/generated/validators/skillEnabledRequestBody.zod.js +3 -0
- package/dist/assistant/v1/generated/validators/skillListResponseBody.zod.d.ts +3 -0
- package/dist/assistant/v1/generated/validators/skillListResponseBody.zod.js +3 -0
- package/dist/assistant/v1/generated/validators/skillRequestBody.zod.d.ts +3 -0
- package/dist/assistant/v1/generated/validators/skillRequestBody.zod.js +3 -0
- package/dist/assistant/v1/generated/validators/skillResource.zod.d.ts +3 -0
- package/dist/assistant/v1/generated/validators/skillResource.zod.js +3 -0
- package/dist/assistant/v1/generated/validators/subagentCountResource.zod.d.ts +3 -0
- package/dist/assistant/v1/generated/validators/subagentCountResource.zod.js +3 -0
- package/dist/assistant/v1/generated/validators/taskAction.zod.d.ts +3 -0
- package/dist/assistant/v1/generated/validators/taskAction.zod.js +3 -0
- package/dist/assistant/v1/generated/validators/taskListResponseBody.zod.d.ts +3 -0
- package/dist/assistant/v1/generated/validators/taskListResponseBody.zod.js +3 -0
- package/dist/assistant/v1/generated/validators/taskResource.zod.d.ts +3 -0
- package/dist/assistant/v1/generated/validators/taskResource.zod.js +3 -0
- package/dist/assistant/v1/generated/validators/taskRunEvent.zod.d.ts +3 -0
- package/dist/assistant/v1/generated/validators/taskRunEvent.zod.js +3 -0
- package/dist/assistant/v1/generated/validators/taskRunListResponseBody.zod.d.ts +3 -0
- package/dist/assistant/v1/generated/validators/taskRunListResponseBody.zod.js +3 -0
- package/dist/assistant/v1/generated/validators/taskRunResource.zod.d.ts +3 -0
- package/dist/assistant/v1/generated/validators/taskRunResource.zod.js +3 -0
- package/dist/assistant/v1/generated/validators/taskTrigger.zod.d.ts +3 -0
- package/dist/assistant/v1/generated/validators/taskTrigger.zod.js +3 -0
- package/dist/assistant/v1/generated/validators/threadCountsResource.zod.d.ts +3 -0
- package/dist/assistant/v1/generated/validators/threadCountsResource.zod.js +3 -0
- package/dist/assistant/v1/generated/validators/threadItemListResponseBody.zod.d.ts +3 -0
- package/dist/assistant/v1/generated/validators/threadItemListResponseBody.zod.js +3 -0
- package/dist/assistant/v1/generated/validators/threadItemResource.zod.d.ts +3 -0
- package/dist/assistant/v1/generated/validators/threadItemResource.zod.js +3 -0
- package/dist/assistant/v1/generated/validators/threadListResponseBody.zod.d.ts +3 -0
- package/dist/assistant/v1/generated/validators/threadListResponseBody.zod.js +3 -0
- package/dist/assistant/v1/generated/validators/threadMessageListResponseBody.zod.d.ts +3 -0
- package/dist/assistant/v1/generated/validators/threadMessageListResponseBody.zod.js +3 -0
- package/dist/assistant/v1/generated/validators/threadMessageResource.zod.d.ts +3 -0
- package/dist/assistant/v1/generated/validators/threadMessageResource.zod.js +3 -0
- package/dist/assistant/v1/generated/validators/threadResource.zod.d.ts +3 -0
- package/dist/assistant/v1/generated/validators/threadResource.zod.js +3 -0
- package/dist/assistant/v1/generated/validators/threadStatus.zod.d.ts +3 -0
- package/dist/assistant/v1/generated/validators/threadStatus.zod.js +3 -0
- package/dist/assistant/v1/generated/validators/threadTurnListResponseBody.zod.d.ts +3 -0
- package/dist/assistant/v1/generated/validators/threadTurnListResponseBody.zod.js +3 -0
- package/dist/assistant/v1/generated/validators/threadTurnResource.zod.d.ts +3 -0
- package/dist/assistant/v1/generated/validators/threadTurnResource.zod.js +3 -0
- package/dist/assistant/v1/generated/validators/todoResource.zod.d.ts +3 -0
- package/dist/assistant/v1/generated/validators/todoResource.zod.js +3 -0
- package/dist/assistant/v1/generated/validators/toolCallResource.zod.d.ts +3 -0
- package/dist/assistant/v1/generated/validators/toolCallResource.zod.js +3 -0
- package/dist/assistant/v1/generated/validators/toolResultRequestBody.zod.d.ts +3 -0
- package/dist/assistant/v1/generated/validators/toolResultRequestBody.zod.js +3 -0
- package/dist/assistant/v1/generated/validators/turnStartedResponseBody.zod.d.ts +3 -0
- package/dist/assistant/v1/generated/validators/turnStartedResponseBody.zod.js +3 -0
- package/dist/assistant/v1/generated/validators/turnStatus.zod.d.ts +3 -0
- package/dist/assistant/v1/generated/validators/turnStatus.zod.js +3 -0
- package/dist/assistant/v1/generated/validators/turnType.zod.d.ts +3 -0
- package/dist/assistant/v1/generated/validators/turnType.zod.js +3 -0
- package/dist/assistant/v1/generated/validators/updateAttachmentRequestBody.zod.d.ts +35 -0
- package/dist/assistant/v1/generated/validators/updateAttachmentRequestBody.zod.js +33 -0
- package/dist/assistant/v1/generated/validators/updateChannelRequestBody.zod.d.ts +3 -0
- package/dist/assistant/v1/generated/validators/updateChannelRequestBody.zod.js +3 -0
- package/dist/assistant/v1/generated/validators/updateFolderRequestBody.zod.d.ts +3 -0
- package/dist/assistant/v1/generated/validators/updateFolderRequestBody.zod.js +3 -0
- package/dist/assistant/v1/generated/validators/updateSettingsRequestBody.zod.d.ts +3 -0
- package/dist/assistant/v1/generated/validators/updateSettingsRequestBody.zod.js +3 -0
- package/dist/assistant/v1/generated/validators/updateTaskRequestBody.zod.d.ts +3 -0
- package/dist/assistant/v1/generated/validators/updateTaskRequestBody.zod.js +3 -0
- package/dist/assistant/v1/generated/validators/updateThreadRequestBody.zod.d.ts +3 -0
- package/dist/assistant/v1/generated/validators/updateThreadRequestBody.zod.js +3 -0
- package/dist/assistant/v1/generated/validators/updateUploadRequestBody.zod.d.ts +3 -0
- package/dist/assistant/v1/generated/validators/updateUploadRequestBody.zod.js +3 -0
- package/dist/assistant/v1/generated/validators/uploadAttachmentParams.zod.d.ts +3 -0
- package/dist/assistant/v1/generated/validators/uploadAttachmentParams.zod.js +3 -0
- package/dist/assistant/v1/generated/validators/uploadConfigurationResource.zod.d.ts +3 -0
- package/dist/assistant/v1/generated/validators/uploadConfigurationResource.zod.js +3 -0
- package/dist/assistant/v1/generated/validators/uploadListResponseBody.zod.d.ts +3 -0
- package/dist/assistant/v1/generated/validators/uploadListResponseBody.zod.js +3 -0
- package/dist/assistant/v1/generated/validators/uploadPartResource.zod.d.ts +3 -0
- package/dist/assistant/v1/generated/validators/uploadPartResource.zod.js +3 -0
- package/dist/assistant/v1/generated/validators/uploadResource.zod.d.ts +3 -0
- package/dist/assistant/v1/generated/validators/uploadResource.zod.js +3 -0
- package/dist/assistant/v1/generated/validators/uploadedResource.zod.d.ts +3 -0
- package/dist/assistant/v1/generated/validators/uploadedResource.zod.js +3 -0
- package/dist/assistant/v1/generated/validators/usage.zod.d.ts +3 -0
- package/dist/assistant/v1/generated/validators/usage.zod.js +3 -0
- package/dist/assistant/v1/generated/validators/verifyCodeRequestBody.zod.d.ts +3 -0
- package/dist/assistant/v1/generated/validators/verifyCodeRequestBody.zod.js +3 -0
- package/dist/assistant/v1/generated/validators/webhookSecretResponseBody.zod.d.ts +3 -0
- package/dist/assistant/v1/generated/validators/webhookSecretResponseBody.zod.js +3 -0
- package/dist/routes.d.ts +32 -0
- package/dist/routes.js +36 -0
- package/package.json +1 -1
|
@@ -21,6 +21,9 @@
|
|
|
21
21
|
*
|
|
22
22
|
* Upload large files with /api/v1/uploads: read /api/v1/upload-configuration first, send exact-sized
|
|
23
23
|
* parts, then complete the upload and send its attachment id in a message.
|
|
24
|
+
*
|
|
25
|
+
* Files uploaded that way are listed by search-attachments. Renaming or removing one does not change
|
|
26
|
+
* the conversations that already use it; downloading keeps working.
|
|
24
27
|
* OpenAPI spec version: 2.0.0
|
|
25
28
|
*/
|
|
26
29
|
import * as zod from "zod";
|
|
@@ -21,6 +21,9 @@
|
|
|
21
21
|
*
|
|
22
22
|
* Upload large files with /api/v1/uploads: read /api/v1/upload-configuration first, send exact-sized
|
|
23
23
|
* parts, then complete the upload and send its attachment id in a message.
|
|
24
|
+
*
|
|
25
|
+
* Files uploaded that way are listed by search-attachments. Renaming or removing one does not change
|
|
26
|
+
* the conversations that already use it; downloading keeps working.
|
|
24
27
|
* OpenAPI spec version: 2.0.0
|
|
25
28
|
*/
|
|
26
29
|
import * as zod from "zod";
|
|
@@ -21,6 +21,9 @@
|
|
|
21
21
|
*
|
|
22
22
|
* Upload large files with /api/v1/uploads: read /api/v1/upload-configuration first, send exact-sized
|
|
23
23
|
* parts, then complete the upload and send its attachment id in a message.
|
|
24
|
+
*
|
|
25
|
+
* Files uploaded that way are listed by search-attachments. Renaming or removing one does not change
|
|
26
|
+
* the conversations that already use it; downloading keeps working.
|
|
24
27
|
* OpenAPI spec version: 2.0.0
|
|
25
28
|
*/
|
|
26
29
|
import * as zod from "zod";
|
|
@@ -21,6 +21,9 @@
|
|
|
21
21
|
*
|
|
22
22
|
* Upload large files with /api/v1/uploads: read /api/v1/upload-configuration first, send exact-sized
|
|
23
23
|
* parts, then complete the upload and send its attachment id in a message.
|
|
24
|
+
*
|
|
25
|
+
* Files uploaded that way are listed by search-attachments. Renaming or removing one does not change
|
|
26
|
+
* the conversations that already use it; downloading keeps working.
|
|
24
27
|
* OpenAPI spec version: 2.0.0
|
|
25
28
|
*/
|
|
26
29
|
import * as zod from "zod";
|
|
@@ -21,6 +21,9 @@
|
|
|
21
21
|
*
|
|
22
22
|
* Upload large files with /api/v1/uploads: read /api/v1/upload-configuration first, send exact-sized
|
|
23
23
|
* parts, then complete the upload and send its attachment id in a message.
|
|
24
|
+
*
|
|
25
|
+
* Files uploaded that way are listed by search-attachments. Renaming or removing one does not change
|
|
26
|
+
* the conversations that already use it; downloading keeps working.
|
|
24
27
|
* OpenAPI spec version: 2.0.0
|
|
25
28
|
*/
|
|
26
29
|
import * as zod from "zod";
|
|
@@ -21,6 +21,9 @@
|
|
|
21
21
|
*
|
|
22
22
|
* Upload large files with /api/v1/uploads: read /api/v1/upload-configuration first, send exact-sized
|
|
23
23
|
* parts, then complete the upload and send its attachment id in a message.
|
|
24
|
+
*
|
|
25
|
+
* Files uploaded that way are listed by search-attachments. Renaming or removing one does not change
|
|
26
|
+
* the conversations that already use it; downloading keeps working.
|
|
24
27
|
* OpenAPI spec version: 2.0.0
|
|
25
28
|
*/
|
|
26
29
|
import * as zod from "zod";
|
|
@@ -21,6 +21,9 @@
|
|
|
21
21
|
*
|
|
22
22
|
* Upload large files with /api/v1/uploads: read /api/v1/upload-configuration first, send exact-sized
|
|
23
23
|
* parts, then complete the upload and send its attachment id in a message.
|
|
24
|
+
*
|
|
25
|
+
* Files uploaded that way are listed by search-attachments. Renaming or removing one does not change
|
|
26
|
+
* the conversations that already use it; downloading keeps working.
|
|
24
27
|
* OpenAPI spec version: 2.0.0
|
|
25
28
|
*/
|
|
26
29
|
import * as zod from "zod";
|
|
@@ -21,6 +21,9 @@
|
|
|
21
21
|
*
|
|
22
22
|
* Upload large files with /api/v1/uploads: read /api/v1/upload-configuration first, send exact-sized
|
|
23
23
|
* parts, then complete the upload and send its attachment id in a message.
|
|
24
|
+
*
|
|
25
|
+
* Files uploaded that way are listed by search-attachments. Renaming or removing one does not change
|
|
26
|
+
* the conversations that already use it; downloading keeps working.
|
|
24
27
|
* OpenAPI spec version: 2.0.0
|
|
25
28
|
*/
|
|
26
29
|
import * as zod from "zod";
|
|
@@ -21,6 +21,9 @@
|
|
|
21
21
|
*
|
|
22
22
|
* Upload large files with /api/v1/uploads: read /api/v1/upload-configuration first, send exact-sized
|
|
23
23
|
* parts, then complete the upload and send its attachment id in a message.
|
|
24
|
+
*
|
|
25
|
+
* Files uploaded that way are listed by search-attachments. Renaming or removing one does not change
|
|
26
|
+
* the conversations that already use it; downloading keeps working.
|
|
24
27
|
* OpenAPI spec version: 2.0.0
|
|
25
28
|
*/
|
|
26
29
|
import * as zod from "zod";
|
|
@@ -21,6 +21,9 @@
|
|
|
21
21
|
*
|
|
22
22
|
* Upload large files with /api/v1/uploads: read /api/v1/upload-configuration first, send exact-sized
|
|
23
23
|
* parts, then complete the upload and send its attachment id in a message.
|
|
24
|
+
*
|
|
25
|
+
* Files uploaded that way are listed by search-attachments. Renaming or removing one does not change
|
|
26
|
+
* the conversations that already use it; downloading keeps working.
|
|
24
27
|
* OpenAPI spec version: 2.0.0
|
|
25
28
|
*/
|
|
26
29
|
import * as zod from "zod";
|
|
@@ -21,6 +21,9 @@
|
|
|
21
21
|
*
|
|
22
22
|
* Upload large files with /api/v1/uploads: read /api/v1/upload-configuration first, send exact-sized
|
|
23
23
|
* parts, then complete the upload and send its attachment id in a message.
|
|
24
|
+
*
|
|
25
|
+
* Files uploaded that way are listed by search-attachments. Renaming or removing one does not change
|
|
26
|
+
* the conversations that already use it; downloading keeps working.
|
|
24
27
|
* OpenAPI spec version: 2.0.0
|
|
25
28
|
*/
|
|
26
29
|
import * as zod from "zod";
|
|
@@ -21,6 +21,9 @@
|
|
|
21
21
|
*
|
|
22
22
|
* Upload large files with /api/v1/uploads: read /api/v1/upload-configuration first, send exact-sized
|
|
23
23
|
* parts, then complete the upload and send its attachment id in a message.
|
|
24
|
+
*
|
|
25
|
+
* Files uploaded that way are listed by search-attachments. Renaming or removing one does not change
|
|
26
|
+
* the conversations that already use it; downloading keeps working.
|
|
24
27
|
* OpenAPI spec version: 2.0.0
|
|
25
28
|
*/
|
|
26
29
|
import * as zod from "zod";
|
|
@@ -21,6 +21,9 @@
|
|
|
21
21
|
*
|
|
22
22
|
* Upload large files with /api/v1/uploads: read /api/v1/upload-configuration first, send exact-sized
|
|
23
23
|
* parts, then complete the upload and send its attachment id in a message.
|
|
24
|
+
*
|
|
25
|
+
* Files uploaded that way are listed by search-attachments. Renaming or removing one does not change
|
|
26
|
+
* the conversations that already use it; downloading keeps working.
|
|
24
27
|
* OpenAPI spec version: 2.0.0
|
|
25
28
|
*/
|
|
26
29
|
import * as zod from "zod";
|
|
@@ -21,6 +21,9 @@
|
|
|
21
21
|
*
|
|
22
22
|
* Upload large files with /api/v1/uploads: read /api/v1/upload-configuration first, send exact-sized
|
|
23
23
|
* parts, then complete the upload and send its attachment id in a message.
|
|
24
|
+
*
|
|
25
|
+
* Files uploaded that way are listed by search-attachments. Renaming or removing one does not change
|
|
26
|
+
* the conversations that already use it; downloading keeps working.
|
|
24
27
|
* OpenAPI spec version: 2.0.0
|
|
25
28
|
*/
|
|
26
29
|
import * as zod from "zod";
|
|
@@ -21,6 +21,9 @@
|
|
|
21
21
|
*
|
|
22
22
|
* Upload large files with /api/v1/uploads: read /api/v1/upload-configuration first, send exact-sized
|
|
23
23
|
* parts, then complete the upload and send its attachment id in a message.
|
|
24
|
+
*
|
|
25
|
+
* Files uploaded that way are listed by search-attachments. Renaming or removing one does not change
|
|
26
|
+
* the conversations that already use it; downloading keeps working.
|
|
24
27
|
* OpenAPI spec version: 2.0.0
|
|
25
28
|
*/
|
|
26
29
|
import * as zod from "zod";
|
|
@@ -21,6 +21,9 @@
|
|
|
21
21
|
*
|
|
22
22
|
* Upload large files with /api/v1/uploads: read /api/v1/upload-configuration first, send exact-sized
|
|
23
23
|
* parts, then complete the upload and send its attachment id in a message.
|
|
24
|
+
*
|
|
25
|
+
* Files uploaded that way are listed by search-attachments. Renaming or removing one does not change
|
|
26
|
+
* the conversations that already use it; downloading keeps working.
|
|
24
27
|
* OpenAPI spec version: 2.0.0
|
|
25
28
|
*/
|
|
26
29
|
import * as zod from "zod";
|
|
@@ -21,6 +21,9 @@
|
|
|
21
21
|
*
|
|
22
22
|
* Upload large files with /api/v1/uploads: read /api/v1/upload-configuration first, send exact-sized
|
|
23
23
|
* parts, then complete the upload and send its attachment id in a message.
|
|
24
|
+
*
|
|
25
|
+
* Files uploaded that way are listed by search-attachments. Renaming or removing one does not change
|
|
26
|
+
* the conversations that already use it; downloading keeps working.
|
|
24
27
|
* OpenAPI spec version: 2.0.0
|
|
25
28
|
*/
|
|
26
29
|
import * as zod from "zod";
|
|
@@ -21,6 +21,9 @@
|
|
|
21
21
|
*
|
|
22
22
|
* Upload large files with /api/v1/uploads: read /api/v1/upload-configuration first, send exact-sized
|
|
23
23
|
* parts, then complete the upload and send its attachment id in a message.
|
|
24
|
+
*
|
|
25
|
+
* Files uploaded that way are listed by search-attachments. Renaming or removing one does not change
|
|
26
|
+
* the conversations that already use it; downloading keeps working.
|
|
24
27
|
* OpenAPI spec version: 2.0.0
|
|
25
28
|
*/
|
|
26
29
|
import * as zod from "zod";
|
|
@@ -21,6 +21,9 @@
|
|
|
21
21
|
*
|
|
22
22
|
* Upload large files with /api/v1/uploads: read /api/v1/upload-configuration first, send exact-sized
|
|
23
23
|
* parts, then complete the upload and send its attachment id in a message.
|
|
24
|
+
*
|
|
25
|
+
* Files uploaded that way are listed by search-attachments. Renaming or removing one does not change
|
|
26
|
+
* the conversations that already use it; downloading keeps working.
|
|
24
27
|
* OpenAPI spec version: 2.0.0
|
|
25
28
|
*/
|
|
26
29
|
import * as zod from "zod";
|
|
@@ -21,6 +21,9 @@
|
|
|
21
21
|
*
|
|
22
22
|
* Upload large files with /api/v1/uploads: read /api/v1/upload-configuration first, send exact-sized
|
|
23
23
|
* parts, then complete the upload and send its attachment id in a message.
|
|
24
|
+
*
|
|
25
|
+
* Files uploaded that way are listed by search-attachments. Renaming or removing one does not change
|
|
26
|
+
* the conversations that already use it; downloading keeps working.
|
|
24
27
|
* OpenAPI spec version: 2.0.0
|
|
25
28
|
*/
|
|
26
29
|
import * as zod from "zod";
|
|
@@ -21,6 +21,9 @@
|
|
|
21
21
|
*
|
|
22
22
|
* Upload large files with /api/v1/uploads: read /api/v1/upload-configuration first, send exact-sized
|
|
23
23
|
* parts, then complete the upload and send its attachment id in a message.
|
|
24
|
+
*
|
|
25
|
+
* Files uploaded that way are listed by search-attachments. Renaming or removing one does not change
|
|
26
|
+
* the conversations that already use it; downloading keeps working.
|
|
24
27
|
* OpenAPI spec version: 2.0.0
|
|
25
28
|
*/
|
|
26
29
|
import * as zod from "zod";
|
|
@@ -21,6 +21,9 @@
|
|
|
21
21
|
*
|
|
22
22
|
* Upload large files with /api/v1/uploads: read /api/v1/upload-configuration first, send exact-sized
|
|
23
23
|
* parts, then complete the upload and send its attachment id in a message.
|
|
24
|
+
*
|
|
25
|
+
* Files uploaded that way are listed by search-attachments. Renaming or removing one does not change
|
|
26
|
+
* the conversations that already use it; downloading keeps working.
|
|
24
27
|
* OpenAPI spec version: 2.0.0
|
|
25
28
|
*/
|
|
26
29
|
import * as zod from "zod";
|
|
@@ -21,6 +21,9 @@
|
|
|
21
21
|
*
|
|
22
22
|
* Upload large files with /api/v1/uploads: read /api/v1/upload-configuration first, send exact-sized
|
|
23
23
|
* parts, then complete the upload and send its attachment id in a message.
|
|
24
|
+
*
|
|
25
|
+
* Files uploaded that way are listed by search-attachments. Renaming or removing one does not change
|
|
26
|
+
* the conversations that already use it; downloading keeps working.
|
|
24
27
|
* OpenAPI spec version: 2.0.0
|
|
25
28
|
*/
|
|
26
29
|
import * as zod from "zod";
|
|
@@ -21,6 +21,9 @@
|
|
|
21
21
|
*
|
|
22
22
|
* Upload large files with /api/v1/uploads: read /api/v1/upload-configuration first, send exact-sized
|
|
23
23
|
* parts, then complete the upload and send its attachment id in a message.
|
|
24
|
+
*
|
|
25
|
+
* Files uploaded that way are listed by search-attachments. Renaming or removing one does not change
|
|
26
|
+
* the conversations that already use it; downloading keeps working.
|
|
24
27
|
* OpenAPI spec version: 2.0.0
|
|
25
28
|
*/
|
|
26
29
|
import * as zod from "zod";
|
|
@@ -21,6 +21,9 @@
|
|
|
21
21
|
*
|
|
22
22
|
* Upload large files with /api/v1/uploads: read /api/v1/upload-configuration first, send exact-sized
|
|
23
23
|
* parts, then complete the upload and send its attachment id in a message.
|
|
24
|
+
*
|
|
25
|
+
* Files uploaded that way are listed by search-attachments. Renaming or removing one does not change
|
|
26
|
+
* the conversations that already use it; downloading keeps working.
|
|
24
27
|
* OpenAPI spec version: 2.0.0
|
|
25
28
|
*/
|
|
26
29
|
import * as zod from "zod";
|
|
@@ -21,6 +21,9 @@
|
|
|
21
21
|
*
|
|
22
22
|
* Upload large files with /api/v1/uploads: read /api/v1/upload-configuration first, send exact-sized
|
|
23
23
|
* parts, then complete the upload and send its attachment id in a message.
|
|
24
|
+
*
|
|
25
|
+
* Files uploaded that way are listed by search-attachments. Renaming or removing one does not change
|
|
26
|
+
* the conversations that already use it; downloading keeps working.
|
|
24
27
|
* OpenAPI spec version: 2.0.0
|
|
25
28
|
*/
|
|
26
29
|
import * as zod from "zod";
|
|
@@ -21,6 +21,9 @@
|
|
|
21
21
|
*
|
|
22
22
|
* Upload large files with /api/v1/uploads: read /api/v1/upload-configuration first, send exact-sized
|
|
23
23
|
* parts, then complete the upload and send its attachment id in a message.
|
|
24
|
+
*
|
|
25
|
+
* Files uploaded that way are listed by search-attachments. Renaming or removing one does not change
|
|
26
|
+
* the conversations that already use it; downloading keeps working.
|
|
24
27
|
* OpenAPI spec version: 2.0.0
|
|
25
28
|
*/
|
|
26
29
|
import * as zod from "zod";
|
|
@@ -21,6 +21,9 @@
|
|
|
21
21
|
*
|
|
22
22
|
* Upload large files with /api/v1/uploads: read /api/v1/upload-configuration first, send exact-sized
|
|
23
23
|
* parts, then complete the upload and send its attachment id in a message.
|
|
24
|
+
*
|
|
25
|
+
* Files uploaded that way are listed by search-attachments. Renaming or removing one does not change
|
|
26
|
+
* the conversations that already use it; downloading keeps working.
|
|
24
27
|
* OpenAPI spec version: 2.0.0
|
|
25
28
|
*/
|
|
26
29
|
import * as zod from "zod";
|
|
@@ -21,6 +21,9 @@
|
|
|
21
21
|
*
|
|
22
22
|
* Upload large files with /api/v1/uploads: read /api/v1/upload-configuration first, send exact-sized
|
|
23
23
|
* parts, then complete the upload and send its attachment id in a message.
|
|
24
|
+
*
|
|
25
|
+
* Files uploaded that way are listed by search-attachments. Renaming or removing one does not change
|
|
26
|
+
* the conversations that already use it; downloading keeps working.
|
|
24
27
|
* OpenAPI spec version: 2.0.0
|
|
25
28
|
*/
|
|
26
29
|
import * as zod from "zod";
|
|
@@ -21,6 +21,9 @@
|
|
|
21
21
|
*
|
|
22
22
|
* Upload large files with /api/v1/uploads: read /api/v1/upload-configuration first, send exact-sized
|
|
23
23
|
* parts, then complete the upload and send its attachment id in a message.
|
|
24
|
+
*
|
|
25
|
+
* Files uploaded that way are listed by search-attachments. Renaming or removing one does not change
|
|
26
|
+
* the conversations that already use it; downloading keeps working.
|
|
24
27
|
* OpenAPI spec version: 2.0.0
|
|
25
28
|
*/
|
|
26
29
|
import * as zod from "zod";
|
|
@@ -0,0 +1,51 @@
|
|
|
1
|
+
/**
|
|
2
|
+
* Generated by orval 🍺
|
|
3
|
+
* Do not edit manually.
|
|
4
|
+
* Leaflow Assistant API
|
|
5
|
+
* Conversations with agents that operate the Leaflow platform, plus their folders, tasks, files and
|
|
6
|
+
* chat-app channels.
|
|
7
|
+
*
|
|
8
|
+
* A conversation is a thread. A person talks to the main thread; the agent in it can start subagents,
|
|
9
|
+
* which are threads too and run on their own: stopping the main thread does not stop them, and each
|
|
10
|
+
* subagent tells its parent when it ends. A thread runs in turns; each turn records the model and
|
|
11
|
+
* reasoning effort it used and its token usage.
|
|
12
|
+
*
|
|
13
|
+
* Models come from the Canopy catalogue. A new thread uses the model it names, the caller's default
|
|
14
|
+
* from /api/v1/settings, or the first catalogue model that can run an agent. Reasoning models take one
|
|
15
|
+
* of three efforts — low, medium or high — which are sent to the model unchanged.
|
|
16
|
+
*
|
|
17
|
+
* Read a thread's state with get-thread and its transcript with list-thread-items. Follow both live
|
|
18
|
+
* through EventBus by subscribing to assistant.thread.frame and assistant.resource.updated; after a
|
|
19
|
+
* reconnection or an assistant.workspace.invalidated message, read them again. list-thread-messages
|
|
20
|
+
* outlines the person's messages for navigating a long conversation.
|
|
21
|
+
*
|
|
22
|
+
* Upload large files with /api/v1/uploads: read /api/v1/upload-configuration first, send exact-sized
|
|
23
|
+
* parts, then complete the upload and send its attachment id in a message.
|
|
24
|
+
*
|
|
25
|
+
* Files uploaded that way are listed by search-attachments. Renaming or removing one does not change
|
|
26
|
+
* the conversations that already use it; downloading keeps working.
|
|
27
|
+
* OpenAPI spec version: 2.0.0
|
|
28
|
+
*/
|
|
29
|
+
import * as zod from "zod";
|
|
30
|
+
export declare const searchAttachmentsRequestBodyIdsMax = 200;
|
|
31
|
+
export declare const searchAttachmentsRequestBodyQMax = 100;
|
|
32
|
+
export declare const searchAttachmentsRequestBodyCursorMax = 1024;
|
|
33
|
+
export declare const searchAttachmentsRequestBodyLimitDefault = 50;
|
|
34
|
+
export declare const searchAttachmentsRequestBodyLimitMax = 200;
|
|
35
|
+
export declare const SearchAttachmentsRequestBody: zod.ZodObject<{
|
|
36
|
+
ids: zod.ZodOptional<zod.ZodArray<zod.ZodString>>;
|
|
37
|
+
q: zod.ZodOptional<zod.ZodString>;
|
|
38
|
+
type: zod.ZodOptional<zod.ZodEnum<{
|
|
39
|
+
text: "text";
|
|
40
|
+
image: "image";
|
|
41
|
+
binary: "binary";
|
|
42
|
+
}>>;
|
|
43
|
+
draft: zod.ZodOptional<zod.ZodBoolean>;
|
|
44
|
+
cursor: zod.ZodOptional<zod.ZodString>;
|
|
45
|
+
limit: zod.ZodDefault<zod.ZodInt>;
|
|
46
|
+
include: zod.ZodOptional<zod.ZodArray<zod.ZodEnum<{
|
|
47
|
+
counts: "counts";
|
|
48
|
+
}>>>;
|
|
49
|
+
}, zod.z.core.$strict>;
|
|
50
|
+
export type SearchAttachmentsRequestBody = zod.input<typeof SearchAttachmentsRequestBody>;
|
|
51
|
+
export type SearchAttachmentsRequestBodyOutput = zod.output<typeof SearchAttachmentsRequestBody>;
|
|
@@ -0,0 +1,65 @@
|
|
|
1
|
+
/**
|
|
2
|
+
* Generated by orval 🍺
|
|
3
|
+
* Do not edit manually.
|
|
4
|
+
* Leaflow Assistant API
|
|
5
|
+
* Conversations with agents that operate the Leaflow platform, plus their folders, tasks, files and
|
|
6
|
+
* chat-app channels.
|
|
7
|
+
*
|
|
8
|
+
* A conversation is a thread. A person talks to the main thread; the agent in it can start subagents,
|
|
9
|
+
* which are threads too and run on their own: stopping the main thread does not stop them, and each
|
|
10
|
+
* subagent tells its parent when it ends. A thread runs in turns; each turn records the model and
|
|
11
|
+
* reasoning effort it used and its token usage.
|
|
12
|
+
*
|
|
13
|
+
* Models come from the Canopy catalogue. A new thread uses the model it names, the caller's default
|
|
14
|
+
* from /api/v1/settings, or the first catalogue model that can run an agent. Reasoning models take one
|
|
15
|
+
* of three efforts — low, medium or high — which are sent to the model unchanged.
|
|
16
|
+
*
|
|
17
|
+
* Read a thread's state with get-thread and its transcript with list-thread-items. Follow both live
|
|
18
|
+
* through EventBus by subscribing to assistant.thread.frame and assistant.resource.updated; after a
|
|
19
|
+
* reconnection or an assistant.workspace.invalidated message, read them again. list-thread-messages
|
|
20
|
+
* outlines the person's messages for navigating a long conversation.
|
|
21
|
+
*
|
|
22
|
+
* Upload large files with /api/v1/uploads: read /api/v1/upload-configuration first, send exact-sized
|
|
23
|
+
* parts, then complete the upload and send its attachment id in a message.
|
|
24
|
+
*
|
|
25
|
+
* Files uploaded that way are listed by search-attachments. Renaming or removing one does not change
|
|
26
|
+
* the conversations that already use it; downloading keeps working.
|
|
27
|
+
* OpenAPI spec version: 2.0.0
|
|
28
|
+
*/
|
|
29
|
+
import * as zod from "zod";
|
|
30
|
+
export const searchAttachmentsRequestBodyIdsMax = 200;
|
|
31
|
+
export const searchAttachmentsRequestBodyQMax = 100;
|
|
32
|
+
export const searchAttachmentsRequestBodyCursorMax = 1024;
|
|
33
|
+
export const searchAttachmentsRequestBodyLimitDefault = 50;
|
|
34
|
+
export const searchAttachmentsRequestBodyLimitMax = 200;
|
|
35
|
+
export const SearchAttachmentsRequestBody = zod.strictObject({
|
|
36
|
+
ids: zod
|
|
37
|
+
.array(zod.string())
|
|
38
|
+
.min(1)
|
|
39
|
+
.max(searchAttachmentsRequestBodyIdsMax)
|
|
40
|
+
.optional()
|
|
41
|
+
.describe("Read these attachments. Cannot be combined with cursor."),
|
|
42
|
+
q: zod
|
|
43
|
+
.string()
|
|
44
|
+
.max(searchAttachmentsRequestBodyQMax)
|
|
45
|
+
.optional()
|
|
46
|
+
.describe("Matches filenames, case-insensitively."),
|
|
47
|
+
type: zod
|
|
48
|
+
.enum(["image", "text", "binary"])
|
|
49
|
+
.optional()
|
|
50
|
+
.describe("How the assistant sees the file."),
|
|
51
|
+
draft: zod
|
|
52
|
+
.boolean()
|
|
53
|
+
.optional()
|
|
54
|
+
.describe("True for uploads no message references, false for the rest."),
|
|
55
|
+
cursor: zod.string().max(searchAttachmentsRequestBodyCursorMax).optional(),
|
|
56
|
+
limit: zod
|
|
57
|
+
.int()
|
|
58
|
+
.min(1)
|
|
59
|
+
.max(searchAttachmentsRequestBodyLimitMax)
|
|
60
|
+
.default(searchAttachmentsRequestBodyLimitDefault),
|
|
61
|
+
include: zod
|
|
62
|
+
.array(zod.enum(["counts"]))
|
|
63
|
+
.optional()
|
|
64
|
+
.describe("Optional parts of the response. `counts` adds `counts`."),
|
|
65
|
+
});
|
|
@@ -21,6 +21,9 @@
|
|
|
21
21
|
*
|
|
22
22
|
* Upload large files with /api/v1/uploads: read /api/v1/upload-configuration first, send exact-sized
|
|
23
23
|
* parts, then complete the upload and send its attachment id in a message.
|
|
24
|
+
*
|
|
25
|
+
* Files uploaded that way are listed by search-attachments. Renaming or removing one does not change
|
|
26
|
+
* the conversations that already use it; downloading keeps working.
|
|
24
27
|
* OpenAPI spec version: 2.0.0
|
|
25
28
|
*/
|
|
26
29
|
import * as zod from "zod";
|
|
@@ -21,6 +21,9 @@
|
|
|
21
21
|
*
|
|
22
22
|
* Upload large files with /api/v1/uploads: read /api/v1/upload-configuration first, send exact-sized
|
|
23
23
|
* parts, then complete the upload and send its attachment id in a message.
|
|
24
|
+
*
|
|
25
|
+
* Files uploaded that way are listed by search-attachments. Renaming or removing one does not change
|
|
26
|
+
* the conversations that already use it; downloading keeps working.
|
|
24
27
|
* OpenAPI spec version: 2.0.0
|
|
25
28
|
*/
|
|
26
29
|
import * as zod from "zod";
|
|
@@ -21,6 +21,9 @@
|
|
|
21
21
|
*
|
|
22
22
|
* Upload large files with /api/v1/uploads: read /api/v1/upload-configuration first, send exact-sized
|
|
23
23
|
* parts, then complete the upload and send its attachment id in a message.
|
|
24
|
+
*
|
|
25
|
+
* Files uploaded that way are listed by search-attachments. Renaming or removing one does not change
|
|
26
|
+
* the conversations that already use it; downloading keeps working.
|
|
24
27
|
* OpenAPI spec version: 2.0.0
|
|
25
28
|
*/
|
|
26
29
|
import * as zod from "zod";
|
|
@@ -21,6 +21,9 @@
|
|
|
21
21
|
*
|
|
22
22
|
* Upload large files with /api/v1/uploads: read /api/v1/upload-configuration first, send exact-sized
|
|
23
23
|
* parts, then complete the upload and send its attachment id in a message.
|
|
24
|
+
*
|
|
25
|
+
* Files uploaded that way are listed by search-attachments. Renaming or removing one does not change
|
|
26
|
+
* the conversations that already use it; downloading keeps working.
|
|
24
27
|
* OpenAPI spec version: 2.0.0
|
|
25
28
|
*/
|
|
26
29
|
import * as zod from "zod";
|
|
@@ -21,6 +21,9 @@
|
|
|
21
21
|
*
|
|
22
22
|
* Upload large files with /api/v1/uploads: read /api/v1/upload-configuration first, send exact-sized
|
|
23
23
|
* parts, then complete the upload and send its attachment id in a message.
|
|
24
|
+
*
|
|
25
|
+
* Files uploaded that way are listed by search-attachments. Renaming or removing one does not change
|
|
26
|
+
* the conversations that already use it; downloading keeps working.
|
|
24
27
|
* OpenAPI spec version: 2.0.0
|
|
25
28
|
*/
|
|
26
29
|
import * as zod from "zod";
|
|
@@ -21,6 +21,9 @@
|
|
|
21
21
|
*
|
|
22
22
|
* Upload large files with /api/v1/uploads: read /api/v1/upload-configuration first, send exact-sized
|
|
23
23
|
* parts, then complete the upload and send its attachment id in a message.
|
|
24
|
+
*
|
|
25
|
+
* Files uploaded that way are listed by search-attachments. Renaming or removing one does not change
|
|
26
|
+
* the conversations that already use it; downloading keeps working.
|
|
24
27
|
* OpenAPI spec version: 2.0.0
|
|
25
28
|
*/
|
|
26
29
|
import * as zod from "zod";
|
|
@@ -21,6 +21,9 @@
|
|
|
21
21
|
*
|
|
22
22
|
* Upload large files with /api/v1/uploads: read /api/v1/upload-configuration first, send exact-sized
|
|
23
23
|
* parts, then complete the upload and send its attachment id in a message.
|
|
24
|
+
*
|
|
25
|
+
* Files uploaded that way are listed by search-attachments. Renaming or removing one does not change
|
|
26
|
+
* the conversations that already use it; downloading keeps working.
|
|
24
27
|
* OpenAPI spec version: 2.0.0
|
|
25
28
|
*/
|
|
26
29
|
import * as zod from "zod";
|
|
@@ -21,6 +21,9 @@
|
|
|
21
21
|
*
|
|
22
22
|
* Upload large files with /api/v1/uploads: read /api/v1/upload-configuration first, send exact-sized
|
|
23
23
|
* parts, then complete the upload and send its attachment id in a message.
|
|
24
|
+
*
|
|
25
|
+
* Files uploaded that way are listed by search-attachments. Renaming or removing one does not change
|
|
26
|
+
* the conversations that already use it; downloading keeps working.
|
|
24
27
|
* OpenAPI spec version: 2.0.0
|
|
25
28
|
*/
|
|
26
29
|
import * as zod from "zod";
|
|
@@ -21,6 +21,9 @@
|
|
|
21
21
|
*
|
|
22
22
|
* Upload large files with /api/v1/uploads: read /api/v1/upload-configuration first, send exact-sized
|
|
23
23
|
* parts, then complete the upload and send its attachment id in a message.
|
|
24
|
+
*
|
|
25
|
+
* Files uploaded that way are listed by search-attachments. Renaming or removing one does not change
|
|
26
|
+
* the conversations that already use it; downloading keeps working.
|
|
24
27
|
* OpenAPI spec version: 2.0.0
|
|
25
28
|
*/
|
|
26
29
|
import * as zod from "zod";
|
|
@@ -21,6 +21,9 @@
|
|
|
21
21
|
*
|
|
22
22
|
* Upload large files with /api/v1/uploads: read /api/v1/upload-configuration first, send exact-sized
|
|
23
23
|
* parts, then complete the upload and send its attachment id in a message.
|
|
24
|
+
*
|
|
25
|
+
* Files uploaded that way are listed by search-attachments. Renaming or removing one does not change
|
|
26
|
+
* the conversations that already use it; downloading keeps working.
|
|
24
27
|
* OpenAPI spec version: 2.0.0
|
|
25
28
|
*/
|
|
26
29
|
import * as zod from "zod";
|
|
@@ -21,6 +21,9 @@
|
|
|
21
21
|
*
|
|
22
22
|
* Upload large files with /api/v1/uploads: read /api/v1/upload-configuration first, send exact-sized
|
|
23
23
|
* parts, then complete the upload and send its attachment id in a message.
|
|
24
|
+
*
|
|
25
|
+
* Files uploaded that way are listed by search-attachments. Renaming or removing one does not change
|
|
26
|
+
* the conversations that already use it; downloading keeps working.
|
|
24
27
|
* OpenAPI spec version: 2.0.0
|
|
25
28
|
*/
|
|
26
29
|
import * as zod from "zod";
|
|
@@ -21,6 +21,9 @@
|
|
|
21
21
|
*
|
|
22
22
|
* Upload large files with /api/v1/uploads: read /api/v1/upload-configuration first, send exact-sized
|
|
23
23
|
* parts, then complete the upload and send its attachment id in a message.
|
|
24
|
+
*
|
|
25
|
+
* Files uploaded that way are listed by search-attachments. Renaming or removing one does not change
|
|
26
|
+
* the conversations that already use it; downloading keeps working.
|
|
24
27
|
* OpenAPI spec version: 2.0.0
|
|
25
28
|
*/
|
|
26
29
|
import * as zod from "zod";
|
|
@@ -21,6 +21,9 @@
|
|
|
21
21
|
*
|
|
22
22
|
* Upload large files with /api/v1/uploads: read /api/v1/upload-configuration first, send exact-sized
|
|
23
23
|
* parts, then complete the upload and send its attachment id in a message.
|
|
24
|
+
*
|
|
25
|
+
* Files uploaded that way are listed by search-attachments. Renaming or removing one does not change
|
|
26
|
+
* the conversations that already use it; downloading keeps working.
|
|
24
27
|
* OpenAPI spec version: 2.0.0
|
|
25
28
|
*/
|
|
26
29
|
import * as zod from "zod";
|
|
@@ -21,6 +21,9 @@
|
|
|
21
21
|
*
|
|
22
22
|
* Upload large files with /api/v1/uploads: read /api/v1/upload-configuration first, send exact-sized
|
|
23
23
|
* parts, then complete the upload and send its attachment id in a message.
|
|
24
|
+
*
|
|
25
|
+
* Files uploaded that way are listed by search-attachments. Renaming or removing one does not change
|
|
26
|
+
* the conversations that already use it; downloading keeps working.
|
|
24
27
|
* OpenAPI spec version: 2.0.0
|
|
25
28
|
*/
|
|
26
29
|
import * as zod from "zod";
|
|
@@ -21,6 +21,9 @@
|
|
|
21
21
|
*
|
|
22
22
|
* Upload large files with /api/v1/uploads: read /api/v1/upload-configuration first, send exact-sized
|
|
23
23
|
* parts, then complete the upload and send its attachment id in a message.
|
|
24
|
+
*
|
|
25
|
+
* Files uploaded that way are listed by search-attachments. Renaming or removing one does not change
|
|
26
|
+
* the conversations that already use it; downloading keeps working.
|
|
24
27
|
* OpenAPI spec version: 2.0.0
|
|
25
28
|
*/
|
|
26
29
|
import * as zod from "zod";
|
|
@@ -21,6 +21,9 @@
|
|
|
21
21
|
*
|
|
22
22
|
* Upload large files with /api/v1/uploads: read /api/v1/upload-configuration first, send exact-sized
|
|
23
23
|
* parts, then complete the upload and send its attachment id in a message.
|
|
24
|
+
*
|
|
25
|
+
* Files uploaded that way are listed by search-attachments. Renaming or removing one does not change
|
|
26
|
+
* the conversations that already use it; downloading keeps working.
|
|
24
27
|
* OpenAPI spec version: 2.0.0
|
|
25
28
|
*/
|
|
26
29
|
import * as zod from "zod";
|