@leaflow/sdk 0.0.0-dev.482.g339e5e7 → 0.0.0-dev.486.g11ddd51
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/billing/v1/generated/models.d.ts +8 -0
- package/dist/billing/v1/generated/schemas.zod.d.ts +8 -0
- package/dist/billing/v1/generated/schemas.zod.js +2 -0
- package/dist/billing/v1/generated/validators/listPricesByPlanParams.zod.d.ts +8 -0
- package/dist/billing/v1/generated/validators/listPricesByPlanParams.zod.js +4 -0
- package/dist/routes.d.ts +32 -0
- package/dist/routes.js +36 -0
- package/package.json +1 -1
|
@@ -0,0 +1,33 @@
|
|
|
1
|
+
/**
|
|
2
|
+
* Generated by orval 🍺
|
|
3
|
+
* Do not edit manually.
|
|
4
|
+
* Leaflow Assistant API
|
|
5
|
+
* Conversations with agents that operate the Leaflow platform, plus their folders, tasks, files and
|
|
6
|
+
* chat-app channels.
|
|
7
|
+
*
|
|
8
|
+
* A conversation is a thread. A person talks to the main thread; the agent in it can start subagents,
|
|
9
|
+
* which are threads too and run on their own: stopping the main thread does not stop them, and each
|
|
10
|
+
* subagent tells its parent when it ends. A thread runs in turns; each turn records the model and
|
|
11
|
+
* reasoning effort it used and its token usage.
|
|
12
|
+
*
|
|
13
|
+
* Models come from the Canopy catalogue. A new thread uses the model it names, the caller's default
|
|
14
|
+
* from /api/v1/settings, or the first catalogue model that can run an agent. Reasoning models take one
|
|
15
|
+
* of three efforts — low, medium or high — which are sent to the model unchanged.
|
|
16
|
+
*
|
|
17
|
+
* Read a thread's state with get-thread and its transcript with list-thread-items. Follow both live
|
|
18
|
+
* through EventBus by subscribing to assistant.thread.frame and assistant.resource.updated; after a
|
|
19
|
+
* reconnection or an assistant.workspace.invalidated message, read them again. list-thread-messages
|
|
20
|
+
* outlines the person's messages for navigating a long conversation.
|
|
21
|
+
*
|
|
22
|
+
* Upload large files with /api/v1/uploads: read /api/v1/upload-configuration first, send exact-sized
|
|
23
|
+
* parts, then complete the upload and send its attachment id in a message.
|
|
24
|
+
*
|
|
25
|
+
* Files uploaded that way are listed by search-attachments. Renaming or removing one does not change
|
|
26
|
+
* the conversations that already use it; downloading keeps working.
|
|
27
|
+
* OpenAPI spec version: 2.0.0
|
|
28
|
+
*/
|
|
29
|
+
import * as zod from "zod";
|
|
30
|
+
export const updateAttachmentRequestBodyFilenameMax = 255;
|
|
31
|
+
export const UpdateAttachmentRequestBody = zod.strictObject({
|
|
32
|
+
filename: zod.string().min(1).max(updateAttachmentRequestBodyFilenameMax),
|
|
33
|
+
});
|
|
@@ -21,6 +21,9 @@
|
|
|
21
21
|
*
|
|
22
22
|
* Upload large files with /api/v1/uploads: read /api/v1/upload-configuration first, send exact-sized
|
|
23
23
|
* parts, then complete the upload and send its attachment id in a message.
|
|
24
|
+
*
|
|
25
|
+
* Files uploaded that way are listed by search-attachments. Renaming or removing one does not change
|
|
26
|
+
* the conversations that already use it; downloading keeps working.
|
|
24
27
|
* OpenAPI spec version: 2.0.0
|
|
25
28
|
*/
|
|
26
29
|
import * as zod from "zod";
|
|
@@ -21,6 +21,9 @@
|
|
|
21
21
|
*
|
|
22
22
|
* Upload large files with /api/v1/uploads: read /api/v1/upload-configuration first, send exact-sized
|
|
23
23
|
* parts, then complete the upload and send its attachment id in a message.
|
|
24
|
+
*
|
|
25
|
+
* Files uploaded that way are listed by search-attachments. Renaming or removing one does not change
|
|
26
|
+
* the conversations that already use it; downloading keeps working.
|
|
24
27
|
* OpenAPI spec version: 2.0.0
|
|
25
28
|
*/
|
|
26
29
|
import * as zod from "zod";
|
|
@@ -21,6 +21,9 @@
|
|
|
21
21
|
*
|
|
22
22
|
* Upload large files with /api/v1/uploads: read /api/v1/upload-configuration first, send exact-sized
|
|
23
23
|
* parts, then complete the upload and send its attachment id in a message.
|
|
24
|
+
*
|
|
25
|
+
* Files uploaded that way are listed by search-attachments. Renaming or removing one does not change
|
|
26
|
+
* the conversations that already use it; downloading keeps working.
|
|
24
27
|
* OpenAPI spec version: 2.0.0
|
|
25
28
|
*/
|
|
26
29
|
import * as zod from "zod";
|
|
@@ -21,6 +21,9 @@
|
|
|
21
21
|
*
|
|
22
22
|
* Upload large files with /api/v1/uploads: read /api/v1/upload-configuration first, send exact-sized
|
|
23
23
|
* parts, then complete the upload and send its attachment id in a message.
|
|
24
|
+
*
|
|
25
|
+
* Files uploaded that way are listed by search-attachments. Renaming or removing one does not change
|
|
26
|
+
* the conversations that already use it; downloading keeps working.
|
|
24
27
|
* OpenAPI spec version: 2.0.0
|
|
25
28
|
*/
|
|
26
29
|
import * as zod from "zod";
|
|
@@ -21,6 +21,9 @@
|
|
|
21
21
|
*
|
|
22
22
|
* Upload large files with /api/v1/uploads: read /api/v1/upload-configuration first, send exact-sized
|
|
23
23
|
* parts, then complete the upload and send its attachment id in a message.
|
|
24
|
+
*
|
|
25
|
+
* Files uploaded that way are listed by search-attachments. Renaming or removing one does not change
|
|
26
|
+
* the conversations that already use it; downloading keeps working.
|
|
24
27
|
* OpenAPI spec version: 2.0.0
|
|
25
28
|
*/
|
|
26
29
|
import * as zod from "zod";
|
|
@@ -21,6 +21,9 @@
|
|
|
21
21
|
*
|
|
22
22
|
* Upload large files with /api/v1/uploads: read /api/v1/upload-configuration first, send exact-sized
|
|
23
23
|
* parts, then complete the upload and send its attachment id in a message.
|
|
24
|
+
*
|
|
25
|
+
* Files uploaded that way are listed by search-attachments. Renaming or removing one does not change
|
|
26
|
+
* the conversations that already use it; downloading keeps working.
|
|
24
27
|
* OpenAPI spec version: 2.0.0
|
|
25
28
|
*/
|
|
26
29
|
import * as zod from "zod";
|
|
@@ -21,6 +21,9 @@
|
|
|
21
21
|
*
|
|
22
22
|
* Upload large files with /api/v1/uploads: read /api/v1/upload-configuration first, send exact-sized
|
|
23
23
|
* parts, then complete the upload and send its attachment id in a message.
|
|
24
|
+
*
|
|
25
|
+
* Files uploaded that way are listed by search-attachments. Renaming or removing one does not change
|
|
26
|
+
* the conversations that already use it; downloading keeps working.
|
|
24
27
|
* OpenAPI spec version: 2.0.0
|
|
25
28
|
*/
|
|
26
29
|
import * as zod from "zod";
|
|
@@ -21,6 +21,9 @@
|
|
|
21
21
|
*
|
|
22
22
|
* Upload large files with /api/v1/uploads: read /api/v1/upload-configuration first, send exact-sized
|
|
23
23
|
* parts, then complete the upload and send its attachment id in a message.
|
|
24
|
+
*
|
|
25
|
+
* Files uploaded that way are listed by search-attachments. Renaming or removing one does not change
|
|
26
|
+
* the conversations that already use it; downloading keeps working.
|
|
24
27
|
* OpenAPI spec version: 2.0.0
|
|
25
28
|
*/
|
|
26
29
|
import * as zod from "zod";
|
|
@@ -21,6 +21,9 @@
|
|
|
21
21
|
*
|
|
22
22
|
* Upload large files with /api/v1/uploads: read /api/v1/upload-configuration first, send exact-sized
|
|
23
23
|
* parts, then complete the upload and send its attachment id in a message.
|
|
24
|
+
*
|
|
25
|
+
* Files uploaded that way are listed by search-attachments. Renaming or removing one does not change
|
|
26
|
+
* the conversations that already use it; downloading keeps working.
|
|
24
27
|
* OpenAPI spec version: 2.0.0
|
|
25
28
|
*/
|
|
26
29
|
import * as zod from "zod";
|
|
@@ -21,6 +21,9 @@
|
|
|
21
21
|
*
|
|
22
22
|
* Upload large files with /api/v1/uploads: read /api/v1/upload-configuration first, send exact-sized
|
|
23
23
|
* parts, then complete the upload and send its attachment id in a message.
|
|
24
|
+
*
|
|
25
|
+
* Files uploaded that way are listed by search-attachments. Renaming or removing one does not change
|
|
26
|
+
* the conversations that already use it; downloading keeps working.
|
|
24
27
|
* OpenAPI spec version: 2.0.0
|
|
25
28
|
*/
|
|
26
29
|
import * as zod from "zod";
|
|
@@ -21,6 +21,9 @@
|
|
|
21
21
|
*
|
|
22
22
|
* Upload large files with /api/v1/uploads: read /api/v1/upload-configuration first, send exact-sized
|
|
23
23
|
* parts, then complete the upload and send its attachment id in a message.
|
|
24
|
+
*
|
|
25
|
+
* Files uploaded that way are listed by search-attachments. Renaming or removing one does not change
|
|
26
|
+
* the conversations that already use it; downloading keeps working.
|
|
24
27
|
* OpenAPI spec version: 2.0.0
|
|
25
28
|
*/
|
|
26
29
|
import * as zod from "zod";
|
|
@@ -21,6 +21,9 @@
|
|
|
21
21
|
*
|
|
22
22
|
* Upload large files with /api/v1/uploads: read /api/v1/upload-configuration first, send exact-sized
|
|
23
23
|
* parts, then complete the upload and send its attachment id in a message.
|
|
24
|
+
*
|
|
25
|
+
* Files uploaded that way are listed by search-attachments. Renaming or removing one does not change
|
|
26
|
+
* the conversations that already use it; downloading keeps working.
|
|
24
27
|
* OpenAPI spec version: 2.0.0
|
|
25
28
|
*/
|
|
26
29
|
import * as zod from "zod";
|
|
@@ -21,6 +21,9 @@
|
|
|
21
21
|
*
|
|
22
22
|
* Upload large files with /api/v1/uploads: read /api/v1/upload-configuration first, send exact-sized
|
|
23
23
|
* parts, then complete the upload and send its attachment id in a message.
|
|
24
|
+
*
|
|
25
|
+
* Files uploaded that way are listed by search-attachments. Renaming or removing one does not change
|
|
26
|
+
* the conversations that already use it; downloading keeps working.
|
|
24
27
|
* OpenAPI spec version: 2.0.0
|
|
25
28
|
*/
|
|
26
29
|
import * as zod from "zod";
|
|
@@ -21,6 +21,9 @@
|
|
|
21
21
|
*
|
|
22
22
|
* Upload large files with /api/v1/uploads: read /api/v1/upload-configuration first, send exact-sized
|
|
23
23
|
* parts, then complete the upload and send its attachment id in a message.
|
|
24
|
+
*
|
|
25
|
+
* Files uploaded that way are listed by search-attachments. Renaming or removing one does not change
|
|
26
|
+
* the conversations that already use it; downloading keeps working.
|
|
24
27
|
* OpenAPI spec version: 2.0.0
|
|
25
28
|
*/
|
|
26
29
|
import * as zod from "zod";
|
|
@@ -21,6 +21,9 @@
|
|
|
21
21
|
*
|
|
22
22
|
* Upload large files with /api/v1/uploads: read /api/v1/upload-configuration first, send exact-sized
|
|
23
23
|
* parts, then complete the upload and send its attachment id in a message.
|
|
24
|
+
*
|
|
25
|
+
* Files uploaded that way are listed by search-attachments. Renaming or removing one does not change
|
|
26
|
+
* the conversations that already use it; downloading keeps working.
|
|
24
27
|
* OpenAPI spec version: 2.0.0
|
|
25
28
|
*/
|
|
26
29
|
import * as zod from "zod";
|
|
@@ -21,6 +21,9 @@
|
|
|
21
21
|
*
|
|
22
22
|
* Upload large files with /api/v1/uploads: read /api/v1/upload-configuration first, send exact-sized
|
|
23
23
|
* parts, then complete the upload and send its attachment id in a message.
|
|
24
|
+
*
|
|
25
|
+
* Files uploaded that way are listed by search-attachments. Renaming or removing one does not change
|
|
26
|
+
* the conversations that already use it; downloading keeps working.
|
|
24
27
|
* OpenAPI spec version: 2.0.0
|
|
25
28
|
*/
|
|
26
29
|
import * as zod from "zod";
|
|
@@ -21,6 +21,9 @@
|
|
|
21
21
|
*
|
|
22
22
|
* Upload large files with /api/v1/uploads: read /api/v1/upload-configuration first, send exact-sized
|
|
23
23
|
* parts, then complete the upload and send its attachment id in a message.
|
|
24
|
+
*
|
|
25
|
+
* Files uploaded that way are listed by search-attachments. Renaming or removing one does not change
|
|
26
|
+
* the conversations that already use it; downloading keeps working.
|
|
24
27
|
* OpenAPI spec version: 2.0.0
|
|
25
28
|
*/
|
|
26
29
|
import * as zod from "zod";
|
|
@@ -21,6 +21,9 @@
|
|
|
21
21
|
*
|
|
22
22
|
* Upload large files with /api/v1/uploads: read /api/v1/upload-configuration first, send exact-sized
|
|
23
23
|
* parts, then complete the upload and send its attachment id in a message.
|
|
24
|
+
*
|
|
25
|
+
* Files uploaded that way are listed by search-attachments. Renaming or removing one does not change
|
|
26
|
+
* the conversations that already use it; downloading keeps working.
|
|
24
27
|
* OpenAPI spec version: 2.0.0
|
|
25
28
|
*/
|
|
26
29
|
import * as zod from "zod";
|
|
@@ -21,6 +21,9 @@
|
|
|
21
21
|
*
|
|
22
22
|
* Upload large files with /api/v1/uploads: read /api/v1/upload-configuration first, send exact-sized
|
|
23
23
|
* parts, then complete the upload and send its attachment id in a message.
|
|
24
|
+
*
|
|
25
|
+
* Files uploaded that way are listed by search-attachments. Renaming or removing one does not change
|
|
26
|
+
* the conversations that already use it; downloading keeps working.
|
|
24
27
|
* OpenAPI spec version: 2.0.0
|
|
25
28
|
*/
|
|
26
29
|
import * as zod from "zod";
|
|
@@ -21,6 +21,9 @@
|
|
|
21
21
|
*
|
|
22
22
|
* Upload large files with /api/v1/uploads: read /api/v1/upload-configuration first, send exact-sized
|
|
23
23
|
* parts, then complete the upload and send its attachment id in a message.
|
|
24
|
+
*
|
|
25
|
+
* Files uploaded that way are listed by search-attachments. Renaming or removing one does not change
|
|
26
|
+
* the conversations that already use it; downloading keeps working.
|
|
24
27
|
* OpenAPI spec version: 2.0.0
|
|
25
28
|
*/
|
|
26
29
|
import * as zod from "zod";
|
|
@@ -21,6 +21,9 @@
|
|
|
21
21
|
*
|
|
22
22
|
* Upload large files with /api/v1/uploads: read /api/v1/upload-configuration first, send exact-sized
|
|
23
23
|
* parts, then complete the upload and send its attachment id in a message.
|
|
24
|
+
*
|
|
25
|
+
* Files uploaded that way are listed by search-attachments. Renaming or removing one does not change
|
|
26
|
+
* the conversations that already use it; downloading keeps working.
|
|
24
27
|
* OpenAPI spec version: 2.0.0
|
|
25
28
|
*/
|
|
26
29
|
import * as zod from "zod";
|
|
@@ -21,6 +21,9 @@
|
|
|
21
21
|
*
|
|
22
22
|
* Upload large files with /api/v1/uploads: read /api/v1/upload-configuration first, send exact-sized
|
|
23
23
|
* parts, then complete the upload and send its attachment id in a message.
|
|
24
|
+
*
|
|
25
|
+
* Files uploaded that way are listed by search-attachments. Renaming or removing one does not change
|
|
26
|
+
* the conversations that already use it; downloading keeps working.
|
|
24
27
|
* OpenAPI spec version: 2.0.0
|
|
25
28
|
*/
|
|
26
29
|
import * as zod from "zod";
|
|
@@ -21,6 +21,9 @@
|
|
|
21
21
|
*
|
|
22
22
|
* Upload large files with /api/v1/uploads: read /api/v1/upload-configuration first, send exact-sized
|
|
23
23
|
* parts, then complete the upload and send its attachment id in a message.
|
|
24
|
+
*
|
|
25
|
+
* Files uploaded that way are listed by search-attachments. Renaming or removing one does not change
|
|
26
|
+
* the conversations that already use it; downloading keeps working.
|
|
24
27
|
* OpenAPI spec version: 2.0.0
|
|
25
28
|
*/
|
|
26
29
|
import * as zod from "zod";
|
|
@@ -21,6 +21,9 @@
|
|
|
21
21
|
*
|
|
22
22
|
* Upload large files with /api/v1/uploads: read /api/v1/upload-configuration first, send exact-sized
|
|
23
23
|
* parts, then complete the upload and send its attachment id in a message.
|
|
24
|
+
*
|
|
25
|
+
* Files uploaded that way are listed by search-attachments. Renaming or removing one does not change
|
|
26
|
+
* the conversations that already use it; downloading keeps working.
|
|
24
27
|
* OpenAPI spec version: 2.0.0
|
|
25
28
|
*/
|
|
26
29
|
import * as zod from "zod";
|
|
@@ -21,6 +21,9 @@
|
|
|
21
21
|
*
|
|
22
22
|
* Upload large files with /api/v1/uploads: read /api/v1/upload-configuration first, send exact-sized
|
|
23
23
|
* parts, then complete the upload and send its attachment id in a message.
|
|
24
|
+
*
|
|
25
|
+
* Files uploaded that way are listed by search-attachments. Renaming or removing one does not change
|
|
26
|
+
* the conversations that already use it; downloading keeps working.
|
|
24
27
|
* OpenAPI spec version: 2.0.0
|
|
25
28
|
*/
|
|
26
29
|
import * as zod from "zod";
|
|
@@ -21,6 +21,9 @@
|
|
|
21
21
|
*
|
|
22
22
|
* Upload large files with /api/v1/uploads: read /api/v1/upload-configuration first, send exact-sized
|
|
23
23
|
* parts, then complete the upload and send its attachment id in a message.
|
|
24
|
+
*
|
|
25
|
+
* Files uploaded that way are listed by search-attachments. Renaming or removing one does not change
|
|
26
|
+
* the conversations that already use it; downloading keeps working.
|
|
24
27
|
* OpenAPI spec version: 2.0.0
|
|
25
28
|
*/
|
|
26
29
|
import * as zod from "zod";
|
|
@@ -21,6 +21,9 @@
|
|
|
21
21
|
*
|
|
22
22
|
* Upload large files with /api/v1/uploads: read /api/v1/upload-configuration first, send exact-sized
|
|
23
23
|
* parts, then complete the upload and send its attachment id in a message.
|
|
24
|
+
*
|
|
25
|
+
* Files uploaded that way are listed by search-attachments. Renaming or removing one does not change
|
|
26
|
+
* the conversations that already use it; downloading keeps working.
|
|
24
27
|
* OpenAPI spec version: 2.0.0
|
|
25
28
|
*/
|
|
26
29
|
import * as zod from "zod";
|
|
@@ -21,6 +21,9 @@
|
|
|
21
21
|
*
|
|
22
22
|
* Upload large files with /api/v1/uploads: read /api/v1/upload-configuration first, send exact-sized
|
|
23
23
|
* parts, then complete the upload and send its attachment id in a message.
|
|
24
|
+
*
|
|
25
|
+
* Files uploaded that way are listed by search-attachments. Renaming or removing one does not change
|
|
26
|
+
* the conversations that already use it; downloading keeps working.
|
|
24
27
|
* OpenAPI spec version: 2.0.0
|
|
25
28
|
*/
|
|
26
29
|
import * as zod from "zod";
|
|
@@ -21,6 +21,9 @@
|
|
|
21
21
|
*
|
|
22
22
|
* Upload large files with /api/v1/uploads: read /api/v1/upload-configuration first, send exact-sized
|
|
23
23
|
* parts, then complete the upload and send its attachment id in a message.
|
|
24
|
+
*
|
|
25
|
+
* Files uploaded that way are listed by search-attachments. Renaming or removing one does not change
|
|
26
|
+
* the conversations that already use it; downloading keeps working.
|
|
24
27
|
* OpenAPI spec version: 2.0.0
|
|
25
28
|
*/
|
|
26
29
|
import * as zod from "zod";
|
|
@@ -21,6 +21,9 @@
|
|
|
21
21
|
*
|
|
22
22
|
* Upload large files with /api/v1/uploads: read /api/v1/upload-configuration first, send exact-sized
|
|
23
23
|
* parts, then complete the upload and send its attachment id in a message.
|
|
24
|
+
*
|
|
25
|
+
* Files uploaded that way are listed by search-attachments. Renaming or removing one does not change
|
|
26
|
+
* the conversations that already use it; downloading keeps working.
|
|
24
27
|
* OpenAPI spec version: 2.0.0
|
|
25
28
|
*/
|
|
26
29
|
import * as zod from "zod";
|
|
@@ -4127,6 +4127,14 @@ export type ListPricesByPlanParams = {
|
|
|
4127
4127
|
*/
|
|
4128
4128
|
page_size?: number;
|
|
4129
4129
|
currency?: string;
|
|
4130
|
+
/**
|
|
4131
|
+
* Narrows to one price type.
|
|
4132
|
+
*/
|
|
4133
|
+
type?: PriceType;
|
|
4134
|
+
/**
|
|
4135
|
+
* Narrows to one usage type.
|
|
4136
|
+
*/
|
|
4137
|
+
usage_type?: UsageType;
|
|
4130
4138
|
};
|
|
4131
4139
|
export type ListPricesByPlanHeaders = {
|
|
4132
4140
|
/**
|
|
@@ -1163,6 +1163,14 @@ export declare const ListPricesByPlanQueryParams: zod.ZodObject<{
|
|
|
1163
1163
|
page: zod.ZodDefault<zod.ZodInt>;
|
|
1164
1164
|
page_size: zod.ZodDefault<zod.ZodInt>;
|
|
1165
1165
|
currency: zod.ZodOptional<zod.ZodString>;
|
|
1166
|
+
type: zod.ZodOptional<zod.ZodEnum<{
|
|
1167
|
+
one_time: "one_time";
|
|
1168
|
+
recurring: "recurring";
|
|
1169
|
+
}>>;
|
|
1170
|
+
usage_type: zod.ZodOptional<zod.ZodEnum<{
|
|
1171
|
+
licensed: "licensed";
|
|
1172
|
+
metered: "metered";
|
|
1173
|
+
}>>;
|
|
1166
1174
|
}, zod.z.core.$strict>;
|
|
1167
1175
|
export declare const ListPricesByPlanHeader: zod.ZodObject<{
|
|
1168
1176
|
"If-None-Match": zod.ZodOptional<zod.ZodString>;
|
|
@@ -1526,6 +1526,8 @@ export const ListPricesByPlanQueryParams = zod.strictObject({
|
|
|
1526
1526
|
.default(listPricesByPlanQueryPageSizeDefault)
|
|
1527
1527
|
.describe("Items per page. Defaults to 50; at most 200."),
|
|
1528
1528
|
currency: zod.string().optional(),
|
|
1529
|
+
type: zod.enum(["one_time", "recurring"]).optional().describe("Narrows to one price type."),
|
|
1530
|
+
usage_type: zod.enum(["licensed", "metered"]).optional().describe("Narrows to one usage type."),
|
|
1529
1531
|
});
|
|
1530
1532
|
export const ListPricesByPlanHeader = zod.strictObject({
|
|
1531
1533
|
"If-None-Match": zod
|
|
@@ -14,6 +14,14 @@ export declare const ListPricesByPlanParams: zod.ZodObject<{
|
|
|
14
14
|
page: zod.ZodDefault<zod.ZodInt>;
|
|
15
15
|
page_size: zod.ZodDefault<zod.ZodInt>;
|
|
16
16
|
currency: zod.ZodOptional<zod.ZodString>;
|
|
17
|
+
type: zod.ZodOptional<zod.ZodEnum<{
|
|
18
|
+
one_time: "one_time";
|
|
19
|
+
recurring: "recurring";
|
|
20
|
+
}>>;
|
|
21
|
+
usage_type: zod.ZodOptional<zod.ZodEnum<{
|
|
22
|
+
licensed: "licensed";
|
|
23
|
+
metered: "metered";
|
|
24
|
+
}>>;
|
|
17
25
|
}, zod.z.core.$strict>;
|
|
18
26
|
export type ListPricesByPlanParams = zod.input<typeof ListPricesByPlanParams>;
|
|
19
27
|
export type ListPricesByPlanParamsOutput = zod.output<typeof ListPricesByPlanParams>;
|
|
@@ -6,6 +6,8 @@
|
|
|
6
6
|
* OpenAPI spec version: v1
|
|
7
7
|
*/
|
|
8
8
|
import * as zod from "zod";
|
|
9
|
+
import { PriceType } from "./priceType.zod.js";
|
|
10
|
+
import { UsageType } from "./usageType.zod.js";
|
|
9
11
|
export const listPricesByPlanParamsPageDefault = 1;
|
|
10
12
|
export const listPricesByPlanParamsPageMax = 2147483647;
|
|
11
13
|
export const listPricesByPlanParamsPageSizeDefault = 50;
|
|
@@ -22,4 +24,6 @@ export const ListPricesByPlanParams = zod.strictObject({
|
|
|
22
24
|
.max(listPricesByPlanParamsPageSizeMax)
|
|
23
25
|
.default(listPricesByPlanParamsPageSizeDefault),
|
|
24
26
|
currency: zod.string().optional(),
|
|
27
|
+
type: PriceType.optional(),
|
|
28
|
+
usage_type: UsageType.optional(),
|
|
25
29
|
});
|
package/dist/routes.d.ts
CHANGED
|
@@ -542,11 +542,43 @@ export declare const routes: readonly [{
|
|
|
542
542
|
readonly operationId: "upload-attachment";
|
|
543
543
|
readonly securityScheme: "ScopedToken";
|
|
544
544
|
readonly upstreamUrl: "https://assistant.leaflow.cloud";
|
|
545
|
+
}, {
|
|
546
|
+
readonly service: "assistant";
|
|
547
|
+
readonly contract: "assistant";
|
|
548
|
+
readonly method: "QUERY";
|
|
549
|
+
readonly path: "/api/v1/attachments";
|
|
550
|
+
readonly operationId: "search-attachments";
|
|
551
|
+
readonly securityScheme: "ScopedToken";
|
|
552
|
+
readonly upstreamUrl: "https://assistant.leaflow.cloud";
|
|
545
553
|
}, {
|
|
546
554
|
readonly service: "assistant";
|
|
547
555
|
readonly contract: "assistant";
|
|
548
556
|
readonly method: "GET";
|
|
549
557
|
readonly path: "/api/v1/attachments/{attachment}";
|
|
558
|
+
readonly operationId: "get-attachment";
|
|
559
|
+
readonly securityScheme: "ScopedToken";
|
|
560
|
+
readonly upstreamUrl: "https://assistant.leaflow.cloud";
|
|
561
|
+
}, {
|
|
562
|
+
readonly service: "assistant";
|
|
563
|
+
readonly contract: "assistant";
|
|
564
|
+
readonly method: "PATCH";
|
|
565
|
+
readonly path: "/api/v1/attachments/{attachment}";
|
|
566
|
+
readonly operationId: "update-attachment";
|
|
567
|
+
readonly securityScheme: "ScopedToken";
|
|
568
|
+
readonly upstreamUrl: "https://assistant.leaflow.cloud";
|
|
569
|
+
}, {
|
|
570
|
+
readonly service: "assistant";
|
|
571
|
+
readonly contract: "assistant";
|
|
572
|
+
readonly method: "DELETE";
|
|
573
|
+
readonly path: "/api/v1/attachments/{attachment}";
|
|
574
|
+
readonly operationId: "delete-attachment";
|
|
575
|
+
readonly securityScheme: "ScopedToken";
|
|
576
|
+
readonly upstreamUrl: "https://assistant.leaflow.cloud";
|
|
577
|
+
}, {
|
|
578
|
+
readonly service: "assistant";
|
|
579
|
+
readonly contract: "assistant";
|
|
580
|
+
readonly method: "GET";
|
|
581
|
+
readonly path: "/api/v1/attachments/{attachment}:download";
|
|
550
582
|
readonly operationId: "download-attachment";
|
|
551
583
|
readonly securityScheme: "ScopedToken";
|
|
552
584
|
readonly upstreamUrl: "https://assistant.leaflow.cloud";
|
package/dist/routes.js
CHANGED
|
@@ -612,11 +612,47 @@ export const routes = [
|
|
|
612
612
|
securityScheme: "ScopedToken",
|
|
613
613
|
upstreamUrl: "https://assistant.leaflow.cloud",
|
|
614
614
|
},
|
|
615
|
+
{
|
|
616
|
+
service: "assistant",
|
|
617
|
+
contract: "assistant",
|
|
618
|
+
method: "QUERY",
|
|
619
|
+
path: "/api/v1/attachments",
|
|
620
|
+
operationId: "search-attachments",
|
|
621
|
+
securityScheme: "ScopedToken",
|
|
622
|
+
upstreamUrl: "https://assistant.leaflow.cloud",
|
|
623
|
+
},
|
|
615
624
|
{
|
|
616
625
|
service: "assistant",
|
|
617
626
|
contract: "assistant",
|
|
618
627
|
method: "GET",
|
|
619
628
|
path: "/api/v1/attachments/{attachment}",
|
|
629
|
+
operationId: "get-attachment",
|
|
630
|
+
securityScheme: "ScopedToken",
|
|
631
|
+
upstreamUrl: "https://assistant.leaflow.cloud",
|
|
632
|
+
},
|
|
633
|
+
{
|
|
634
|
+
service: "assistant",
|
|
635
|
+
contract: "assistant",
|
|
636
|
+
method: "PATCH",
|
|
637
|
+
path: "/api/v1/attachments/{attachment}",
|
|
638
|
+
operationId: "update-attachment",
|
|
639
|
+
securityScheme: "ScopedToken",
|
|
640
|
+
upstreamUrl: "https://assistant.leaflow.cloud",
|
|
641
|
+
},
|
|
642
|
+
{
|
|
643
|
+
service: "assistant",
|
|
644
|
+
contract: "assistant",
|
|
645
|
+
method: "DELETE",
|
|
646
|
+
path: "/api/v1/attachments/{attachment}",
|
|
647
|
+
operationId: "delete-attachment",
|
|
648
|
+
securityScheme: "ScopedToken",
|
|
649
|
+
upstreamUrl: "https://assistant.leaflow.cloud",
|
|
650
|
+
},
|
|
651
|
+
{
|
|
652
|
+
service: "assistant",
|
|
653
|
+
contract: "assistant",
|
|
654
|
+
method: "GET",
|
|
655
|
+
path: "/api/v1/attachments/{attachment}:download",
|
|
620
656
|
operationId: "download-attachment",
|
|
621
657
|
securityScheme: "ScopedToken",
|
|
622
658
|
upstreamUrl: "https://assistant.leaflow.cloud",
|