@leaflow/sdk 0.0.0-dev.363.gedb261b → 0.0.0-dev.367.g5d66ccc
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 +31 -53
- package/dist/assistant/v1/generated/functions.js +32 -57
- package/dist/assistant/v1/generated/models.d.ts +102 -59
- package/dist/assistant/v1/generated/models.js +10 -0
- package/dist/assistant/v1/generated/schemas.zod.d.ts +26 -20
- package/dist/assistant/v1/generated/schemas.zod.js +39 -21
- package/dist/assistant/v1/generated/validators/answerQuestionRequestBody.zod.d.ts +2 -2
- package/dist/assistant/v1/generated/validators/answerQuestionRequestBody.zod.js +2 -2
- package/dist/assistant/v1/generated/validators/approvalMode.zod.d.ts +2 -2
- package/dist/assistant/v1/generated/validators/approvalMode.zod.js +2 -2
- package/dist/assistant/v1/generated/validators/attachmentResource.zod.d.ts +2 -2
- package/dist/assistant/v1/generated/validators/attachmentResource.zod.js +2 -2
- package/dist/assistant/v1/generated/validators/bindingCodeResponseBody.zod.d.ts +2 -2
- package/dist/assistant/v1/generated/validators/bindingCodeResponseBody.zod.js +2 -2
- package/dist/assistant/v1/generated/validators/bindingResource.zod.d.ts +2 -2
- package/dist/assistant/v1/generated/validators/bindingResource.zod.js +2 -2
- package/dist/assistant/v1/generated/validators/channelResource.zod.d.ts +2 -2
- package/dist/assistant/v1/generated/validators/channelResource.zod.js +2 -2
- package/dist/assistant/v1/generated/validators/channelWithSecretResponseBody.zod.d.ts +2 -2
- package/dist/assistant/v1/generated/validators/channelWithSecretResponseBody.zod.js +2 -2
- package/dist/assistant/v1/generated/validators/checkSenderParams.zod.d.ts +2 -2
- package/dist/assistant/v1/generated/validators/checkSenderParams.zod.js +2 -2
- package/dist/assistant/v1/generated/validators/choiceResource.zod.d.ts +2 -2
- package/dist/assistant/v1/generated/validators/choiceResource.zod.js +2 -2
- package/dist/assistant/v1/generated/validators/clientActionRequest.zod.d.ts +2 -2
- package/dist/assistant/v1/generated/validators/clientActionRequest.zod.js +2 -2
- package/dist/assistant/v1/generated/validators/clientContextPart.zod.d.ts +2 -2
- package/dist/assistant/v1/generated/validators/clientContextPart.zod.js +2 -2
- package/dist/assistant/v1/generated/validators/clientContextRequest.zod.d.ts +2 -2
- package/dist/assistant/v1/generated/validators/clientContextRequest.zod.js +2 -2
- package/dist/assistant/v1/generated/validators/clientFunctionRequest.zod.d.ts +2 -2
- package/dist/assistant/v1/generated/validators/clientFunctionRequest.zod.js +2 -2
- package/dist/assistant/v1/generated/validators/completeUploadRequestBody.zod.d.ts +2 -2
- package/dist/assistant/v1/generated/validators/completeUploadRequestBody.zod.js +2 -2
- package/dist/assistant/v1/generated/validators/contextUsageResource.zod.d.ts +2 -2
- package/dist/assistant/v1/generated/validators/contextUsageResource.zod.js +2 -2
- package/dist/assistant/v1/generated/validators/createChannelRequestBody.zod.d.ts +2 -2
- package/dist/assistant/v1/generated/validators/createChannelRequestBody.zod.js +2 -2
- package/dist/assistant/v1/generated/validators/createFolderRequestBody.zod.d.ts +2 -2
- package/dist/assistant/v1/generated/validators/createFolderRequestBody.zod.js +2 -2
- package/dist/assistant/v1/generated/validators/createTaskRequestBody.zod.d.ts +2 -2
- package/dist/assistant/v1/generated/validators/createTaskRequestBody.zod.js +2 -2
- package/dist/assistant/v1/generated/validators/createThreadRequestBody.zod.d.ts +2 -2
- package/dist/assistant/v1/generated/validators/createThreadRequestBody.zod.js +2 -2
- package/dist/assistant/v1/generated/validators/createThreadResponseBody.zod.d.ts +3 -2
- package/dist/assistant/v1/generated/validators/createThreadResponseBody.zod.js +2 -2
- package/dist/assistant/v1/generated/validators/createUploadRequestBody.zod.d.ts +2 -2
- package/dist/assistant/v1/generated/validators/createUploadRequestBody.zod.js +2 -2
- package/dist/assistant/v1/generated/validators/credentialFieldResource.zod.d.ts +2 -2
- package/dist/assistant/v1/generated/validators/credentialFieldResource.zod.js +2 -2
- package/dist/assistant/v1/generated/validators/cursorPagination.zod.d.ts +2 -2
- package/dist/assistant/v1/generated/validators/cursorPagination.zod.js +2 -2
- package/dist/assistant/v1/generated/validators/decideToolCallsRequestBody.zod.d.ts +2 -2
- package/dist/assistant/v1/generated/validators/decideToolCallsRequestBody.zod.js +2 -2
- package/dist/assistant/v1/generated/validators/defaultModelResource.zod.d.ts +2 -2
- package/dist/assistant/v1/generated/validators/defaultModelResource.zod.js +2 -2
- package/dist/assistant/v1/generated/validators/error.zod.d.ts +2 -2
- package/dist/assistant/v1/generated/validators/error.zod.js +2 -2
- package/dist/assistant/v1/generated/validators/fileDiffResource.zod.d.ts +2 -2
- package/dist/assistant/v1/generated/validators/fileDiffResource.zod.js +2 -2
- package/dist/assistant/v1/generated/validators/folderCountsResource.zod.d.ts +2 -2
- package/dist/assistant/v1/generated/validators/folderCountsResource.zod.js +2 -2
- package/dist/assistant/v1/generated/validators/folderListResponseBody.zod.d.ts +2 -2
- package/dist/assistant/v1/generated/validators/folderListResponseBody.zod.js +2 -2
- package/dist/assistant/v1/generated/validators/folderResource.zod.d.ts +2 -2
- package/dist/assistant/v1/generated/validators/folderResource.zod.js +2 -2
- package/dist/assistant/v1/generated/validators/itemFrame.zod.d.ts +2 -2
- package/dist/assistant/v1/generated/validators/itemFrame.zod.js +2 -2
- package/dist/assistant/v1/generated/validators/itemSourceResource.zod.d.ts +2 -2
- package/dist/assistant/v1/generated/validators/itemSourceResource.zod.js +2 -2
- package/dist/assistant/v1/generated/validators/lastTurnResource.zod.d.ts +2 -2
- package/dist/assistant/v1/generated/validators/lastTurnResource.zod.js +2 -2
- package/dist/assistant/v1/generated/validators/lengthAwarePageBindingResource.zod.d.ts +2 -2
- package/dist/assistant/v1/generated/validators/lengthAwarePageBindingResource.zod.js +2 -2
- package/dist/assistant/v1/generated/validators/lengthAwarePageChannelResource.zod.d.ts +2 -2
- package/dist/assistant/v1/generated/validators/lengthAwarePageChannelResource.zod.js +2 -2
- package/dist/assistant/v1/generated/validators/listBindingsParams.zod.d.ts +2 -2
- package/dist/assistant/v1/generated/validators/listBindingsParams.zod.js +2 -2
- package/dist/assistant/v1/generated/validators/listChannelRejectionsParams.zod.d.ts +2 -2
- package/dist/assistant/v1/generated/validators/listChannelRejectionsParams.zod.js +2 -2
- package/dist/assistant/v1/generated/validators/listChannelsParams.zod.d.ts +2 -2
- package/dist/assistant/v1/generated/validators/listChannelsParams.zod.js +2 -2
- package/dist/assistant/v1/generated/validators/listTaskRunsParams.zod.d.ts +2 -2
- package/dist/assistant/v1/generated/validators/listTaskRunsParams.zod.js +2 -2
- package/dist/assistant/v1/generated/validators/listThreadItemsParams.zod.d.ts +2 -2
- package/dist/assistant/v1/generated/validators/listThreadItemsParams.zod.js +2 -2
- package/dist/assistant/v1/generated/validators/{commandResource.zod.d.ts → listThreadMessagesParams.zod.d.ts} +12 -9
- package/dist/assistant/v1/generated/validators/{runCommandRequestBody.zod.js → listThreadMessagesParams.zod.js} +17 -14
- package/dist/assistant/v1/generated/validators/listThreadTurnsParams.zod.d.ts +2 -2
- package/dist/assistant/v1/generated/validators/listThreadTurnsParams.zod.js +2 -2
- package/dist/assistant/v1/generated/validators/loginResource.zod.d.ts +2 -2
- package/dist/assistant/v1/generated/validators/loginResource.zod.js +2 -2
- package/dist/assistant/v1/generated/validators/memoryListResponseBody.zod.d.ts +2 -2
- package/dist/assistant/v1/generated/validators/memoryListResponseBody.zod.js +2 -2
- package/dist/assistant/v1/generated/validators/memoryResource.zod.d.ts +2 -2
- package/dist/assistant/v1/generated/validators/memoryResource.zod.js +2 -2
- package/dist/assistant/v1/generated/validators/messagePart.zod.d.ts +2 -2
- package/dist/assistant/v1/generated/validators/messagePart.zod.js +2 -2
- package/dist/assistant/v1/generated/validators/moveFolderRequestBody.zod.d.ts +2 -2
- package/dist/assistant/v1/generated/validators/moveFolderRequestBody.zod.js +2 -2
- package/dist/assistant/v1/generated/validators/offsetPagination.zod.d.ts +2 -2
- package/dist/assistant/v1/generated/validators/offsetPagination.zod.js +2 -2
- package/dist/assistant/v1/generated/validators/openRealtimeParams.zod.d.ts +2 -2
- package/dist/assistant/v1/generated/validators/openRealtimeParams.zod.js +2 -2
- package/dist/assistant/v1/generated/validators/partResource.zod.d.ts +2 -2
- package/dist/assistant/v1/generated/validators/partResource.zod.js +2 -2
- package/dist/assistant/v1/generated/validators/pendingActionResource.zod.d.ts +2 -2
- package/dist/assistant/v1/generated/validators/pendingActionResource.zod.js +2 -2
- package/dist/assistant/v1/generated/validators/placeThreadRequestBody.zod.d.ts +2 -2
- package/dist/assistant/v1/generated/validators/placeThreadRequestBody.zod.js +2 -2
- package/dist/assistant/v1/generated/validators/platformListResponseBody.zod.d.ts +2 -2
- package/dist/assistant/v1/generated/validators/platformListResponseBody.zod.js +2 -2
- package/dist/assistant/v1/generated/validators/platformResource.zod.d.ts +2 -2
- package/dist/assistant/v1/generated/validators/platformResource.zod.js +2 -2
- package/dist/assistant/v1/generated/validators/presentationResource.zod.d.ts +2 -2
- package/dist/assistant/v1/generated/validators/presentationResource.zod.js +2 -2
- package/dist/assistant/v1/generated/validators/putUploadPartHeaders.zod.d.ts +2 -2
- package/dist/assistant/v1/generated/validators/putUploadPartHeaders.zod.js +2 -2
- package/dist/assistant/v1/generated/validators/putUploadPartParams.zod.d.ts +2 -2
- package/dist/assistant/v1/generated/validators/putUploadPartParams.zod.js +2 -2
- package/dist/assistant/v1/generated/validators/questionResource.zod.d.ts +2 -2
- package/dist/assistant/v1/generated/validators/questionResource.zod.js +2 -2
- package/dist/assistant/v1/generated/validators/realtimeClientMessage.zod.d.ts +2 -2
- package/dist/assistant/v1/generated/validators/realtimeClientMessage.zod.js +2 -2
- package/dist/assistant/v1/generated/validators/realtimeExchange.zod.d.ts +9 -2
- package/dist/assistant/v1/generated/validators/realtimeExchange.zod.js +2 -2
- package/dist/assistant/v1/generated/validators/realtimeServerMessage.zod.d.ts +9 -2
- package/dist/assistant/v1/generated/validators/realtimeServerMessage.zod.js +2 -2
- package/dist/assistant/v1/generated/validators/realtimeTicketResource.zod.d.ts +2 -2
- package/dist/assistant/v1/generated/validators/realtimeTicketResource.zod.js +2 -2
- package/dist/assistant/v1/generated/validators/reasoningEffort.zod.d.ts +2 -2
- package/dist/assistant/v1/generated/validators/reasoningEffort.zod.js +2 -2
- package/dist/assistant/v1/generated/validators/rejectionListResponseBody.zod.d.ts +2 -2
- package/dist/assistant/v1/generated/validators/rejectionListResponseBody.zod.js +2 -2
- package/dist/assistant/v1/generated/validators/rejectionResource.zod.d.ts +2 -2
- package/dist/assistant/v1/generated/validators/rejectionResource.zod.js +2 -2
- package/dist/assistant/v1/generated/validators/resumeThreadRequestBody.zod.d.ts +2 -2
- package/dist/assistant/v1/generated/validators/resumeThreadRequestBody.zod.js +2 -2
- package/dist/assistant/v1/generated/validators/revertRequestBody.zod.d.ts +2 -2
- package/dist/assistant/v1/generated/validators/revertRequestBody.zod.js +2 -2
- package/dist/assistant/v1/generated/validators/revertedCountResponseBody.zod.d.ts +2 -2
- package/dist/assistant/v1/generated/validators/revertedCountResponseBody.zod.js +2 -2
- package/dist/assistant/v1/generated/validators/rotateSecretRequestBody.zod.d.ts +2 -2
- package/dist/assistant/v1/generated/validators/rotateSecretRequestBody.zod.js +2 -2
- package/dist/assistant/v1/generated/validators/searchTasksRequestBody.zod.d.ts +2 -2
- package/dist/assistant/v1/generated/validators/searchTasksRequestBody.zod.js +2 -2
- package/dist/assistant/v1/generated/validators/searchThreadsRequestBody.zod.d.ts +2 -2
- package/dist/assistant/v1/generated/validators/searchThreadsRequestBody.zod.js +2 -2
- package/dist/assistant/v1/generated/validators/sendMessageRequestBody.zod.d.ts +2 -2
- package/dist/assistant/v1/generated/validators/sendMessageRequestBody.zod.js +2 -2
- package/dist/assistant/v1/generated/validators/sendMessageResponseBody.zod.d.ts +2 -2
- package/dist/assistant/v1/generated/validators/sendMessageResponseBody.zod.js +2 -2
- package/dist/assistant/v1/generated/validators/senderCheckResource.zod.d.ts +2 -2
- package/dist/assistant/v1/generated/validators/senderCheckResource.zod.js +2 -2
- package/dist/assistant/v1/generated/validators/settingsResource.zod.d.ts +2 -2
- package/dist/assistant/v1/generated/validators/settingsResource.zod.js +2 -2
- package/dist/assistant/v1/generated/validators/skillEnabledRequestBody.zod.d.ts +2 -2
- package/dist/assistant/v1/generated/validators/skillEnabledRequestBody.zod.js +2 -2
- package/dist/assistant/v1/generated/validators/skillListResponseBody.zod.d.ts +2 -2
- package/dist/assistant/v1/generated/validators/skillListResponseBody.zod.js +2 -2
- package/dist/assistant/v1/generated/validators/skillRequestBody.zod.d.ts +2 -2
- package/dist/assistant/v1/generated/validators/skillRequestBody.zod.js +2 -2
- package/dist/assistant/v1/generated/validators/skillResource.zod.d.ts +2 -2
- package/dist/assistant/v1/generated/validators/skillResource.zod.js +2 -2
- package/dist/assistant/v1/generated/validators/subagentCountResource.zod.d.ts +2 -2
- package/dist/assistant/v1/generated/validators/subagentCountResource.zod.js +2 -2
- package/dist/assistant/v1/generated/validators/taskAction.zod.d.ts +2 -2
- package/dist/assistant/v1/generated/validators/taskAction.zod.js +2 -2
- package/dist/assistant/v1/generated/validators/taskListResponseBody.zod.d.ts +7 -2
- package/dist/assistant/v1/generated/validators/taskListResponseBody.zod.js +2 -2
- package/dist/assistant/v1/generated/validators/taskResource.zod.d.ts +7 -2
- package/dist/assistant/v1/generated/validators/taskResource.zod.js +2 -2
- package/dist/assistant/v1/generated/validators/taskRunListResponseBody.zod.d.ts +7 -2
- package/dist/assistant/v1/generated/validators/taskRunListResponseBody.zod.js +2 -2
- package/dist/assistant/v1/generated/validators/taskRunResource.zod.d.ts +7 -2
- package/dist/assistant/v1/generated/validators/taskRunResource.zod.js +5 -2
- package/dist/assistant/v1/generated/validators/taskTrigger.zod.d.ts +2 -2
- package/dist/assistant/v1/generated/validators/taskTrigger.zod.js +2 -2
- package/dist/assistant/v1/generated/validators/threadCountsResource.zod.d.ts +2 -2
- package/dist/assistant/v1/generated/validators/threadCountsResource.zod.js +2 -2
- package/dist/assistant/v1/generated/validators/threadItemListResponseBody.zod.d.ts +6 -2
- package/dist/assistant/v1/generated/validators/threadItemListResponseBody.zod.js +2 -2
- package/dist/assistant/v1/generated/validators/threadItemResource.zod.d.ts +4 -2
- package/dist/assistant/v1/generated/validators/threadItemResource.zod.js +7 -2
- package/dist/assistant/v1/generated/validators/threadListResponseBody.zod.d.ts +3 -2
- package/dist/assistant/v1/generated/validators/threadListResponseBody.zod.js +2 -2
- package/dist/assistant/v1/generated/validators/{commandListResponseBody.zod.d.ts → threadMessageListResponseBody.zod.d.ts} +15 -10
- package/dist/assistant/v1/generated/validators/{commandListResponseBody.zod.js → threadMessageListResponseBody.zod.js} +10 -5
- package/dist/assistant/v1/generated/validators/{runCommandRequestBody.zod.d.ts → threadMessageResource.zod.d.ts} +13 -9
- package/dist/assistant/v1/generated/validators/{commandResultResource.zod.js → threadMessageResource.zod.js} +20 -13
- package/dist/assistant/v1/generated/validators/threadResource.zod.d.ts +4 -2
- package/dist/assistant/v1/generated/validators/threadResource.zod.js +7 -2
- package/dist/assistant/v1/generated/validators/threadStatus.zod.d.ts +2 -2
- package/dist/assistant/v1/generated/validators/threadStatus.zod.js +2 -2
- package/dist/assistant/v1/generated/validators/threadTurnListResponseBody.zod.d.ts +3 -2
- package/dist/assistant/v1/generated/validators/threadTurnListResponseBody.zod.js +2 -2
- package/dist/assistant/v1/generated/validators/threadTurnResource.zod.d.ts +4 -2
- package/dist/assistant/v1/generated/validators/threadTurnResource.zod.js +7 -2
- package/dist/assistant/v1/generated/validators/todoResource.zod.d.ts +2 -2
- package/dist/assistant/v1/generated/validators/todoResource.zod.js +2 -2
- package/dist/assistant/v1/generated/validators/toolCallResource.zod.d.ts +3 -2
- package/dist/assistant/v1/generated/validators/toolCallResource.zod.js +11 -2
- package/dist/assistant/v1/generated/validators/toolResultRequestBody.zod.d.ts +2 -2
- package/dist/assistant/v1/generated/validators/toolResultRequestBody.zod.js +2 -2
- package/dist/assistant/v1/generated/validators/turnStartedResponseBody.zod.d.ts +2 -2
- package/dist/assistant/v1/generated/validators/turnStartedResponseBody.zod.js +2 -2
- package/dist/assistant/v1/generated/validators/turnStatus.zod.d.ts +2 -2
- package/dist/assistant/v1/generated/validators/turnStatus.zod.js +2 -2
- package/dist/assistant/v1/generated/validators/turnType.zod.d.ts +2 -2
- package/dist/assistant/v1/generated/validators/turnType.zod.js +2 -2
- package/dist/assistant/v1/generated/validators/updateChannelRequestBody.zod.d.ts +2 -2
- package/dist/assistant/v1/generated/validators/updateChannelRequestBody.zod.js +2 -2
- package/dist/assistant/v1/generated/validators/updateFolderRequestBody.zod.d.ts +2 -2
- package/dist/assistant/v1/generated/validators/updateFolderRequestBody.zod.js +2 -2
- package/dist/assistant/v1/generated/validators/updateSettingsRequestBody.zod.d.ts +2 -2
- package/dist/assistant/v1/generated/validators/updateSettingsRequestBody.zod.js +2 -2
- package/dist/assistant/v1/generated/validators/updateTaskRequestBody.zod.d.ts +2 -2
- package/dist/assistant/v1/generated/validators/updateTaskRequestBody.zod.js +2 -2
- package/dist/assistant/v1/generated/validators/updateThreadRequestBody.zod.d.ts +2 -2
- package/dist/assistant/v1/generated/validators/updateThreadRequestBody.zod.js +2 -2
- package/dist/assistant/v1/generated/validators/updateUploadRequestBody.zod.d.ts +2 -2
- package/dist/assistant/v1/generated/validators/updateUploadRequestBody.zod.js +2 -2
- package/dist/assistant/v1/generated/validators/uploadAttachmentParams.zod.d.ts +2 -2
- package/dist/assistant/v1/generated/validators/uploadAttachmentParams.zod.js +2 -2
- package/dist/assistant/v1/generated/validators/uploadConfigurationResource.zod.d.ts +2 -2
- package/dist/assistant/v1/generated/validators/uploadConfigurationResource.zod.js +2 -2
- package/dist/assistant/v1/generated/validators/uploadListResponseBody.zod.d.ts +2 -2
- package/dist/assistant/v1/generated/validators/uploadListResponseBody.zod.js +2 -2
- package/dist/assistant/v1/generated/validators/uploadPartResource.zod.d.ts +2 -2
- package/dist/assistant/v1/generated/validators/uploadPartResource.zod.js +2 -2
- package/dist/assistant/v1/generated/validators/uploadResource.zod.d.ts +2 -2
- package/dist/assistant/v1/generated/validators/uploadResource.zod.js +2 -2
- package/dist/assistant/v1/generated/validators/uploadedResource.zod.d.ts +2 -2
- package/dist/assistant/v1/generated/validators/uploadedResource.zod.js +2 -2
- package/dist/assistant/v1/generated/validators/usage.zod.d.ts +2 -2
- package/dist/assistant/v1/generated/validators/usage.zod.js +2 -2
- package/dist/assistant/v1/generated/validators/verifyCodeRequestBody.zod.d.ts +2 -2
- package/dist/assistant/v1/generated/validators/verifyCodeRequestBody.zod.js +2 -2
- package/dist/assistant/v1/generated/validators/webhookSecretResponseBody.zod.d.ts +2 -2
- package/dist/assistant/v1/generated/validators/webhookSecretResponseBody.zod.js +2 -2
- package/dist/billing/type/order/v1/generated/models.d.ts +11 -0
- package/dist/billing/type/order/v1/generated/models.js +5 -0
- package/dist/billing/type/order/v1/generated/validators/billingAccount.zod.d.ts +5 -0
- package/dist/billing/type/order/v1/generated/validators/billingAccount.zod.js +3 -0
- package/dist/billing/type/order/v1/generated/validators/billingAccountList.zod.d.ts +5 -0
- package/dist/billing/v1/generated/functions.d.ts +47 -0
- package/dist/billing/v1/generated/functions.js +37 -0
- package/dist/billing/v1/generated/models.d.ts +11 -0
- package/dist/billing/v1/generated/models.js +5 -0
- package/dist/billing/v1/generated/schemas.zod.d.ts +19 -0
- package/dist/billing/v1/generated/schemas.zod.js +19 -0
- package/dist/billing/v1/generated/validators/billingAccount.zod.d.ts +5 -0
- package/dist/billing/v1/generated/validators/billingAccount.zod.js +3 -0
- package/dist/billing/v1/generated/validators/billingAccountList.zod.d.ts +5 -0
- package/dist/canopy/v1/generated/models.d.ts +11 -0
- package/dist/canopy/v1/generated/models.js +5 -0
- package/dist/canopy/v1/generated/validators/billingAccount.zod.d.ts +5 -0
- package/dist/canopy/v1/generated/validators/billingAccount.zod.js +3 -0
- package/dist/canopy/v1/generated/validators/billingAccountList.zod.d.ts +5 -0
- package/dist/membership/v1/generated/models.d.ts +11 -0
- package/dist/membership/v1/generated/models.js +5 -0
- package/dist/membership/v1/generated/validators/billingAccount.zod.d.ts +5 -0
- package/dist/membership/v1/generated/validators/billingAccount.zod.js +3 -0
- package/dist/membership/v1/generated/validators/billingAccountList.zod.d.ts +5 -0
- package/dist/routes.d.ts +24 -16
- package/dist/routes.js +27 -18
- package/package.json +1 -1
- package/dist/assistant/v1/generated/validators/commandResource.zod.js +0 -33
- package/dist/assistant/v1/generated/validators/commandResultResource.zod.d.ts +0 -201
- package/dist/assistant/v1/generated/validators/statusReportResource.zod.d.ts +0 -108
- package/dist/assistant/v1/generated/validators/statusReportResource.zod.js +0 -48
|
@@ -15,8 +15,8 @@
|
|
|
15
15
|
* of three efforts — low, medium or high — which are sent to the model unchanged.
|
|
16
16
|
*
|
|
17
17
|
* Read a thread's state with get-thread and its transcript with list-thread-items. Follow both live
|
|
18
|
-
* over the WebSocket described under /api/v1/realtime/tickets.
|
|
19
|
-
*
|
|
18
|
+
* over the WebSocket described under /api/v1/realtime/tickets. list-thread-messages outlines the
|
|
19
|
+
* person's messages for navigating a long conversation.
|
|
20
20
|
*
|
|
21
21
|
* Upload large files with /api/v1/uploads: read /api/v1/upload-configuration first, send exact-sized
|
|
22
22
|
* parts, then complete the upload and send its attachment id in a message.
|
|
@@ -15,8 +15,8 @@
|
|
|
15
15
|
* of three efforts — low, medium or high — which are sent to the model unchanged.
|
|
16
16
|
*
|
|
17
17
|
* Read a thread's state with get-thread and its transcript with list-thread-items. Follow both live
|
|
18
|
-
* over the WebSocket described under /api/v1/realtime/tickets.
|
|
19
|
-
*
|
|
18
|
+
* over the WebSocket described under /api/v1/realtime/tickets. list-thread-messages outlines the
|
|
19
|
+
* person's messages for navigating a long conversation.
|
|
20
20
|
*
|
|
21
21
|
* Upload large files with /api/v1/uploads: read /api/v1/upload-configuration first, send exact-sized
|
|
22
22
|
* parts, then complete the upload and send its attachment id in a message.
|
|
@@ -15,8 +15,8 @@
|
|
|
15
15
|
* of three efforts — low, medium or high — which are sent to the model unchanged.
|
|
16
16
|
*
|
|
17
17
|
* Read a thread's state with get-thread and its transcript with list-thread-items. Follow both live
|
|
18
|
-
* over the WebSocket described under /api/v1/realtime/tickets.
|
|
19
|
-
*
|
|
18
|
+
* over the WebSocket described under /api/v1/realtime/tickets. list-thread-messages outlines the
|
|
19
|
+
* person's messages for navigating a long conversation.
|
|
20
20
|
*
|
|
21
21
|
* Upload large files with /api/v1/uploads: read /api/v1/upload-configuration first, send exact-sized
|
|
22
22
|
* parts, then complete the upload and send its attachment id in a message.
|
|
@@ -15,8 +15,8 @@
|
|
|
15
15
|
* of three efforts — low, medium or high — which are sent to the model unchanged.
|
|
16
16
|
*
|
|
17
17
|
* Read a thread's state with get-thread and its transcript with list-thread-items. Follow both live
|
|
18
|
-
* over the WebSocket described under /api/v1/realtime/tickets.
|
|
19
|
-
*
|
|
18
|
+
* over the WebSocket described under /api/v1/realtime/tickets. list-thread-messages outlines the
|
|
19
|
+
* person's messages for navigating a long conversation.
|
|
20
20
|
*
|
|
21
21
|
* Upload large files with /api/v1/uploads: read /api/v1/upload-configuration first, send exact-sized
|
|
22
22
|
* parts, then complete the upload and send its attachment id in a message.
|
|
@@ -15,8 +15,8 @@
|
|
|
15
15
|
* of three efforts — low, medium or high — which are sent to the model unchanged.
|
|
16
16
|
*
|
|
17
17
|
* Read a thread's state with get-thread and its transcript with list-thread-items. Follow both live
|
|
18
|
-
* over the WebSocket described under /api/v1/realtime/tickets.
|
|
19
|
-
*
|
|
18
|
+
* over the WebSocket described under /api/v1/realtime/tickets. list-thread-messages outlines the
|
|
19
|
+
* person's messages for navigating a long conversation.
|
|
20
20
|
*
|
|
21
21
|
* Upload large files with /api/v1/uploads: read /api/v1/upload-configuration first, send exact-sized
|
|
22
22
|
* parts, then complete the upload and send its attachment id in a message.
|
|
@@ -15,8 +15,8 @@
|
|
|
15
15
|
* of three efforts — low, medium or high — which are sent to the model unchanged.
|
|
16
16
|
*
|
|
17
17
|
* Read a thread's state with get-thread and its transcript with list-thread-items. Follow both live
|
|
18
|
-
* over the WebSocket described under /api/v1/realtime/tickets.
|
|
19
|
-
*
|
|
18
|
+
* over the WebSocket described under /api/v1/realtime/tickets. list-thread-messages outlines the
|
|
19
|
+
* person's messages for navigating a long conversation.
|
|
20
20
|
*
|
|
21
21
|
* Upload large files with /api/v1/uploads: read /api/v1/upload-configuration first, send exact-sized
|
|
22
22
|
* parts, then complete the upload and send its attachment id in a message.
|
|
@@ -15,8 +15,8 @@
|
|
|
15
15
|
* of three efforts — low, medium or high — which are sent to the model unchanged.
|
|
16
16
|
*
|
|
17
17
|
* Read a thread's state with get-thread and its transcript with list-thread-items. Follow both live
|
|
18
|
-
* over the WebSocket described under /api/v1/realtime/tickets.
|
|
19
|
-
*
|
|
18
|
+
* over the WebSocket described under /api/v1/realtime/tickets. list-thread-messages outlines the
|
|
19
|
+
* person's messages for navigating a long conversation.
|
|
20
20
|
*
|
|
21
21
|
* Upload large files with /api/v1/uploads: read /api/v1/upload-configuration first, send exact-sized
|
|
22
22
|
* parts, then complete the upload and send its attachment id in a message.
|
|
@@ -15,8 +15,8 @@
|
|
|
15
15
|
* of three efforts — low, medium or high — which are sent to the model unchanged.
|
|
16
16
|
*
|
|
17
17
|
* Read a thread's state with get-thread and its transcript with list-thread-items. Follow both live
|
|
18
|
-
* over the WebSocket described under /api/v1/realtime/tickets.
|
|
19
|
-
*
|
|
18
|
+
* over the WebSocket described under /api/v1/realtime/tickets. list-thread-messages outlines the
|
|
19
|
+
* person's messages for navigating a long conversation.
|
|
20
20
|
*
|
|
21
21
|
* Upload large files with /api/v1/uploads: read /api/v1/upload-configuration first, send exact-sized
|
|
22
22
|
* parts, then complete the upload and send its attachment id in a message.
|
|
@@ -15,8 +15,8 @@
|
|
|
15
15
|
* of three efforts — low, medium or high — which are sent to the model unchanged.
|
|
16
16
|
*
|
|
17
17
|
* Read a thread's state with get-thread and its transcript with list-thread-items. Follow both live
|
|
18
|
-
* over the WebSocket described under /api/v1/realtime/tickets.
|
|
19
|
-
*
|
|
18
|
+
* over the WebSocket described under /api/v1/realtime/tickets. list-thread-messages outlines the
|
|
19
|
+
* person's messages for navigating a long conversation.
|
|
20
20
|
*
|
|
21
21
|
* Upload large files with /api/v1/uploads: read /api/v1/upload-configuration first, send exact-sized
|
|
22
22
|
* parts, then complete the upload and send its attachment id in a message.
|
|
@@ -15,8 +15,8 @@
|
|
|
15
15
|
* of three efforts — low, medium or high — which are sent to the model unchanged.
|
|
16
16
|
*
|
|
17
17
|
* Read a thread's state with get-thread and its transcript with list-thread-items. Follow both live
|
|
18
|
-
* over the WebSocket described under /api/v1/realtime/tickets.
|
|
19
|
-
*
|
|
18
|
+
* over the WebSocket described under /api/v1/realtime/tickets. list-thread-messages outlines the
|
|
19
|
+
* person's messages for navigating a long conversation.
|
|
20
20
|
*
|
|
21
21
|
* Upload large files with /api/v1/uploads: read /api/v1/upload-configuration first, send exact-sized
|
|
22
22
|
* parts, then complete the upload and send its attachment id in a message.
|
|
@@ -15,8 +15,8 @@
|
|
|
15
15
|
* of three efforts — low, medium or high — which are sent to the model unchanged.
|
|
16
16
|
*
|
|
17
17
|
* Read a thread's state with get-thread and its transcript with list-thread-items. Follow both live
|
|
18
|
-
* over the WebSocket described under /api/v1/realtime/tickets.
|
|
19
|
-
*
|
|
18
|
+
* over the WebSocket described under /api/v1/realtime/tickets. list-thread-messages outlines the
|
|
19
|
+
* person's messages for navigating a long conversation.
|
|
20
20
|
*
|
|
21
21
|
* Upload large files with /api/v1/uploads: read /api/v1/upload-configuration first, send exact-sized
|
|
22
22
|
* parts, then complete the upload and send its attachment id in a message.
|
|
@@ -15,8 +15,8 @@
|
|
|
15
15
|
* of three efforts — low, medium or high — which are sent to the model unchanged.
|
|
16
16
|
*
|
|
17
17
|
* Read a thread's state with get-thread and its transcript with list-thread-items. Follow both live
|
|
18
|
-
* over the WebSocket described under /api/v1/realtime/tickets.
|
|
19
|
-
*
|
|
18
|
+
* over the WebSocket described under /api/v1/realtime/tickets. list-thread-messages outlines the
|
|
19
|
+
* person's messages for navigating a long conversation.
|
|
20
20
|
*
|
|
21
21
|
* Upload large files with /api/v1/uploads: read /api/v1/upload-configuration first, send exact-sized
|
|
22
22
|
* parts, then complete the upload and send its attachment id in a message.
|
|
@@ -15,8 +15,8 @@
|
|
|
15
15
|
* of three efforts — low, medium or high — which are sent to the model unchanged.
|
|
16
16
|
*
|
|
17
17
|
* Read a thread's state with get-thread and its transcript with list-thread-items. Follow both live
|
|
18
|
-
* over the WebSocket described under /api/v1/realtime/tickets.
|
|
19
|
-
*
|
|
18
|
+
* over the WebSocket described under /api/v1/realtime/tickets. list-thread-messages outlines the
|
|
19
|
+
* person's messages for navigating a long conversation.
|
|
20
20
|
*
|
|
21
21
|
* Upload large files with /api/v1/uploads: read /api/v1/upload-configuration first, send exact-sized
|
|
22
22
|
* parts, then complete the upload and send its attachment id in a message.
|
|
@@ -15,8 +15,8 @@
|
|
|
15
15
|
* of three efforts — low, medium or high — which are sent to the model unchanged.
|
|
16
16
|
*
|
|
17
17
|
* Read a thread's state with get-thread and its transcript with list-thread-items. Follow both live
|
|
18
|
-
* over the WebSocket described under /api/v1/realtime/tickets.
|
|
19
|
-
*
|
|
18
|
+
* over the WebSocket described under /api/v1/realtime/tickets. list-thread-messages outlines the
|
|
19
|
+
* person's messages for navigating a long conversation.
|
|
20
20
|
*
|
|
21
21
|
* Upload large files with /api/v1/uploads: read /api/v1/upload-configuration first, send exact-sized
|
|
22
22
|
* parts, then complete the upload and send its attachment id in a message.
|
|
@@ -15,8 +15,8 @@
|
|
|
15
15
|
* of three efforts — low, medium or high — which are sent to the model unchanged.
|
|
16
16
|
*
|
|
17
17
|
* Read a thread's state with get-thread and its transcript with list-thread-items. Follow both live
|
|
18
|
-
* over the WebSocket described under /api/v1/realtime/tickets.
|
|
19
|
-
*
|
|
18
|
+
* over the WebSocket described under /api/v1/realtime/tickets. list-thread-messages outlines the
|
|
19
|
+
* person's messages for navigating a long conversation.
|
|
20
20
|
*
|
|
21
21
|
* Upload large files with /api/v1/uploads: read /api/v1/upload-configuration first, send exact-sized
|
|
22
22
|
* parts, then complete the upload and send its attachment id in a message.
|
|
@@ -15,8 +15,8 @@
|
|
|
15
15
|
* of three efforts — low, medium or high — which are sent to the model unchanged.
|
|
16
16
|
*
|
|
17
17
|
* Read a thread's state with get-thread and its transcript with list-thread-items. Follow both live
|
|
18
|
-
* over the WebSocket described under /api/v1/realtime/tickets.
|
|
19
|
-
*
|
|
18
|
+
* over the WebSocket described under /api/v1/realtime/tickets. list-thread-messages outlines the
|
|
19
|
+
* person's messages for navigating a long conversation.
|
|
20
20
|
*
|
|
21
21
|
* Upload large files with /api/v1/uploads: read /api/v1/upload-configuration first, send exact-sized
|
|
22
22
|
* parts, then complete the upload and send its attachment id in a message.
|
|
@@ -15,8 +15,8 @@
|
|
|
15
15
|
* of three efforts — low, medium or high — which are sent to the model unchanged.
|
|
16
16
|
*
|
|
17
17
|
* Read a thread's state with get-thread and its transcript with list-thread-items. Follow both live
|
|
18
|
-
* over the WebSocket described under /api/v1/realtime/tickets.
|
|
19
|
-
*
|
|
18
|
+
* over the WebSocket described under /api/v1/realtime/tickets. list-thread-messages outlines the
|
|
19
|
+
* person's messages for navigating a long conversation.
|
|
20
20
|
*
|
|
21
21
|
* Upload large files with /api/v1/uploads: read /api/v1/upload-configuration first, send exact-sized
|
|
22
22
|
* parts, then complete the upload and send its attachment id in a message.
|
|
@@ -15,8 +15,8 @@
|
|
|
15
15
|
* of three efforts — low, medium or high — which are sent to the model unchanged.
|
|
16
16
|
*
|
|
17
17
|
* Read a thread's state with get-thread and its transcript with list-thread-items. Follow both live
|
|
18
|
-
* over the WebSocket described under /api/v1/realtime/tickets.
|
|
19
|
-
*
|
|
18
|
+
* over the WebSocket described under /api/v1/realtime/tickets. list-thread-messages outlines the
|
|
19
|
+
* person's messages for navigating a long conversation.
|
|
20
20
|
*
|
|
21
21
|
* Upload large files with /api/v1/uploads: read /api/v1/upload-configuration first, send exact-sized
|
|
22
22
|
* parts, then complete the upload and send its attachment id in a message.
|
|
@@ -15,8 +15,8 @@
|
|
|
15
15
|
* of three efforts — low, medium or high — which are sent to the model unchanged.
|
|
16
16
|
*
|
|
17
17
|
* Read a thread's state with get-thread and its transcript with list-thread-items. Follow both live
|
|
18
|
-
* over the WebSocket described under /api/v1/realtime/tickets.
|
|
19
|
-
*
|
|
18
|
+
* over the WebSocket described under /api/v1/realtime/tickets. list-thread-messages outlines the
|
|
19
|
+
* person's messages for navigating a long conversation.
|
|
20
20
|
*
|
|
21
21
|
* Upload large files with /api/v1/uploads: read /api/v1/upload-configuration first, send exact-sized
|
|
22
22
|
* parts, then complete the upload and send its attachment id in a message.
|
|
@@ -15,8 +15,8 @@
|
|
|
15
15
|
* of three efforts — low, medium or high — which are sent to the model unchanged.
|
|
16
16
|
*
|
|
17
17
|
* Read a thread's state with get-thread and its transcript with list-thread-items. Follow both live
|
|
18
|
-
* over the WebSocket described under /api/v1/realtime/tickets.
|
|
19
|
-
*
|
|
18
|
+
* over the WebSocket described under /api/v1/realtime/tickets. list-thread-messages outlines the
|
|
19
|
+
* person's messages for navigating a long conversation.
|
|
20
20
|
*
|
|
21
21
|
* Upload large files with /api/v1/uploads: read /api/v1/upload-configuration first, send exact-sized
|
|
22
22
|
* parts, then complete the upload and send its attachment id in a message.
|
|
@@ -15,8 +15,8 @@
|
|
|
15
15
|
* of three efforts — low, medium or high — which are sent to the model unchanged.
|
|
16
16
|
*
|
|
17
17
|
* Read a thread's state with get-thread and its transcript with list-thread-items. Follow both live
|
|
18
|
-
* over the WebSocket described under /api/v1/realtime/tickets.
|
|
19
|
-
*
|
|
18
|
+
* over the WebSocket described under /api/v1/realtime/tickets. list-thread-messages outlines the
|
|
19
|
+
* person's messages for navigating a long conversation.
|
|
20
20
|
*
|
|
21
21
|
* Upload large files with /api/v1/uploads: read /api/v1/upload-configuration first, send exact-sized
|
|
22
22
|
* parts, then complete the upload and send its attachment id in a message.
|
|
@@ -15,8 +15,8 @@
|
|
|
15
15
|
* of three efforts — low, medium or high — which are sent to the model unchanged.
|
|
16
16
|
*
|
|
17
17
|
* Read a thread's state with get-thread and its transcript with list-thread-items. Follow both live
|
|
18
|
-
* over the WebSocket described under /api/v1/realtime/tickets.
|
|
19
|
-
*
|
|
18
|
+
* over the WebSocket described under /api/v1/realtime/tickets. list-thread-messages outlines the
|
|
19
|
+
* person's messages for navigating a long conversation.
|
|
20
20
|
*
|
|
21
21
|
* Upload large files with /api/v1/uploads: read /api/v1/upload-configuration first, send exact-sized
|
|
22
22
|
* parts, then complete the upload and send its attachment id in a message.
|
|
@@ -15,8 +15,8 @@
|
|
|
15
15
|
* of three efforts — low, medium or high — which are sent to the model unchanged.
|
|
16
16
|
*
|
|
17
17
|
* Read a thread's state with get-thread and its transcript with list-thread-items. Follow both live
|
|
18
|
-
* over the WebSocket described under /api/v1/realtime/tickets.
|
|
19
|
-
*
|
|
18
|
+
* over the WebSocket described under /api/v1/realtime/tickets. list-thread-messages outlines the
|
|
19
|
+
* person's messages for navigating a long conversation.
|
|
20
20
|
*
|
|
21
21
|
* Upload large files with /api/v1/uploads: read /api/v1/upload-configuration first, send exact-sized
|
|
22
22
|
* parts, then complete the upload and send its attachment id in a message.
|
|
@@ -15,8 +15,8 @@
|
|
|
15
15
|
* of three efforts — low, medium or high — which are sent to the model unchanged.
|
|
16
16
|
*
|
|
17
17
|
* Read a thread's state with get-thread and its transcript with list-thread-items. Follow both live
|
|
18
|
-
* over the WebSocket described under /api/v1/realtime/tickets.
|
|
19
|
-
*
|
|
18
|
+
* over the WebSocket described under /api/v1/realtime/tickets. list-thread-messages outlines the
|
|
19
|
+
* person's messages for navigating a long conversation.
|
|
20
20
|
*
|
|
21
21
|
* Upload large files with /api/v1/uploads: read /api/v1/upload-configuration first, send exact-sized
|
|
22
22
|
* parts, then complete the upload and send its attachment id in a message.
|
|
@@ -15,8 +15,8 @@
|
|
|
15
15
|
* of three efforts — low, medium or high — which are sent to the model unchanged.
|
|
16
16
|
*
|
|
17
17
|
* Read a thread's state with get-thread and its transcript with list-thread-items. Follow both live
|
|
18
|
-
* over the WebSocket described under /api/v1/realtime/tickets.
|
|
19
|
-
*
|
|
18
|
+
* over the WebSocket described under /api/v1/realtime/tickets. list-thread-messages outlines the
|
|
19
|
+
* person's messages for navigating a long conversation.
|
|
20
20
|
*
|
|
21
21
|
* Upload large files with /api/v1/uploads: read /api/v1/upload-configuration first, send exact-sized
|
|
22
22
|
* parts, then complete the upload and send its attachment id in a message.
|
|
@@ -15,8 +15,8 @@
|
|
|
15
15
|
* of three efforts — low, medium or high — which are sent to the model unchanged.
|
|
16
16
|
*
|
|
17
17
|
* Read a thread's state with get-thread and its transcript with list-thread-items. Follow both live
|
|
18
|
-
* over the WebSocket described under /api/v1/realtime/tickets.
|
|
19
|
-
*
|
|
18
|
+
* over the WebSocket described under /api/v1/realtime/tickets. list-thread-messages outlines the
|
|
19
|
+
* person's messages for navigating a long conversation.
|
|
20
20
|
*
|
|
21
21
|
* Upload large files with /api/v1/uploads: read /api/v1/upload-configuration first, send exact-sized
|
|
22
22
|
* parts, then complete the upload and send its attachment id in a message.
|
|
@@ -15,8 +15,8 @@
|
|
|
15
15
|
* of three efforts — low, medium or high — which are sent to the model unchanged.
|
|
16
16
|
*
|
|
17
17
|
* Read a thread's state with get-thread and its transcript with list-thread-items. Follow both live
|
|
18
|
-
* over the WebSocket described under /api/v1/realtime/tickets.
|
|
19
|
-
*
|
|
18
|
+
* over the WebSocket described under /api/v1/realtime/tickets. list-thread-messages outlines the
|
|
19
|
+
* person's messages for navigating a long conversation.
|
|
20
20
|
*
|
|
21
21
|
* Upload large files with /api/v1/uploads: read /api/v1/upload-configuration first, send exact-sized
|
|
22
22
|
* parts, then complete the upload and send its attachment id in a message.
|
|
@@ -15,8 +15,8 @@
|
|
|
15
15
|
* of three efforts — low, medium or high — which are sent to the model unchanged.
|
|
16
16
|
*
|
|
17
17
|
* Read a thread's state with get-thread and its transcript with list-thread-items. Follow both live
|
|
18
|
-
* over the WebSocket described under /api/v1/realtime/tickets.
|
|
19
|
-
*
|
|
18
|
+
* over the WebSocket described under /api/v1/realtime/tickets. list-thread-messages outlines the
|
|
19
|
+
* person's messages for navigating a long conversation.
|
|
20
20
|
*
|
|
21
21
|
* Upload large files with /api/v1/uploads: read /api/v1/upload-configuration first, send exact-sized
|
|
22
22
|
* parts, then complete the upload and send its attachment id in a message.
|
|
@@ -15,8 +15,8 @@
|
|
|
15
15
|
* of three efforts — low, medium or high — which are sent to the model unchanged.
|
|
16
16
|
*
|
|
17
17
|
* Read a thread's state with get-thread and its transcript with list-thread-items. Follow both live
|
|
18
|
-
* over the WebSocket described under /api/v1/realtime/tickets.
|
|
19
|
-
*
|
|
18
|
+
* over the WebSocket described under /api/v1/realtime/tickets. list-thread-messages outlines the
|
|
19
|
+
* person's messages for navigating a long conversation.
|
|
20
20
|
*
|
|
21
21
|
* Upload large files with /api/v1/uploads: read /api/v1/upload-configuration first, send exact-sized
|
|
22
22
|
* parts, then complete the upload and send its attachment id in a message.
|
|
@@ -15,8 +15,8 @@
|
|
|
15
15
|
* of three efforts — low, medium or high — which are sent to the model unchanged.
|
|
16
16
|
*
|
|
17
17
|
* Read a thread's state with get-thread and its transcript with list-thread-items. Follow both live
|
|
18
|
-
* over the WebSocket described under /api/v1/realtime/tickets.
|
|
19
|
-
*
|
|
18
|
+
* over the WebSocket described under /api/v1/realtime/tickets. list-thread-messages outlines the
|
|
19
|
+
* person's messages for navigating a long conversation.
|
|
20
20
|
*
|
|
21
21
|
* Upload large files with /api/v1/uploads: read /api/v1/upload-configuration first, send exact-sized
|
|
22
22
|
* parts, then complete the upload and send its attachment id in a message.
|
|
@@ -15,8 +15,8 @@
|
|
|
15
15
|
* of three efforts — low, medium or high — which are sent to the model unchanged.
|
|
16
16
|
*
|
|
17
17
|
* Read a thread's state with get-thread and its transcript with list-thread-items. Follow both live
|
|
18
|
-
* over the WebSocket described under /api/v1/realtime/tickets.
|
|
19
|
-
*
|
|
18
|
+
* over the WebSocket described under /api/v1/realtime/tickets. list-thread-messages outlines the
|
|
19
|
+
* person's messages for navigating a long conversation.
|
|
20
20
|
*
|
|
21
21
|
* Upload large files with /api/v1/uploads: read /api/v1/upload-configuration first, send exact-sized
|
|
22
22
|
* parts, then complete the upload and send its attachment id in a message.
|
|
@@ -15,8 +15,8 @@
|
|
|
15
15
|
* of three efforts — low, medium or high — which are sent to the model unchanged.
|
|
16
16
|
*
|
|
17
17
|
* Read a thread's state with get-thread and its transcript with list-thread-items. Follow both live
|
|
18
|
-
* over the WebSocket described under /api/v1/realtime/tickets.
|
|
19
|
-
*
|
|
18
|
+
* over the WebSocket described under /api/v1/realtime/tickets. list-thread-messages outlines the
|
|
19
|
+
* person's messages for navigating a long conversation.
|
|
20
20
|
*
|
|
21
21
|
* Upload large files with /api/v1/uploads: read /api/v1/upload-configuration first, send exact-sized
|
|
22
22
|
* parts, then complete the upload and send its attachment id in a message.
|
|
@@ -718,6 +718,15 @@ export declare const BillingAccountStatus: {
|
|
|
718
718
|
readonly suspended: "suspended";
|
|
719
719
|
readonly closed: "closed";
|
|
720
720
|
};
|
|
721
|
+
/**
|
|
722
|
+
* Who suspended the account: `owner` (you), `operator` (Leaflow), or `none` while it is not suspended. Only a suspension by `owner` can be resumed by you.
|
|
723
|
+
*/
|
|
724
|
+
export type BillingAccountSuspendedBy = (typeof BillingAccountSuspendedBy)[keyof typeof BillingAccountSuspendedBy];
|
|
725
|
+
export declare const BillingAccountSuspendedBy: {
|
|
726
|
+
readonly none: "none";
|
|
727
|
+
readonly owner: "owner";
|
|
728
|
+
readonly operator: "operator";
|
|
729
|
+
};
|
|
721
730
|
export interface BillingAccount {
|
|
722
731
|
/**
|
|
723
732
|
* The active contact used for invoices, of this account; null clears it.
|
|
@@ -730,6 +739,8 @@ export interface BillingAccount {
|
|
|
730
739
|
/** Fixed when the account was opened. */
|
|
731
740
|
currency: string;
|
|
732
741
|
status: BillingAccountStatus;
|
|
742
|
+
/** Who suspended the account: `owner` (you), `operator` (Leaflow), or `none` while it is not suspended. Only a suspension by `owner` can be resumed by you. */
|
|
743
|
+
suspended_by: BillingAccountSuspendedBy;
|
|
733
744
|
/** How far past the suspension threshold the account may go before its resources are suspended; `0` means none. */
|
|
734
745
|
grace_amount?: string;
|
|
735
746
|
/** How long the account has to top up after crossing the suspension threshold, in seconds; `0` means none. Grace ends when this or grace_amount runs out. */
|
|
@@ -87,6 +87,11 @@ export const BillingAccountStatus = {
|
|
|
87
87
|
suspended: "suspended",
|
|
88
88
|
closed: "closed",
|
|
89
89
|
};
|
|
90
|
+
export const BillingAccountSuspendedBy = {
|
|
91
|
+
none: "none",
|
|
92
|
+
owner: "owner",
|
|
93
|
+
operator: "operator",
|
|
94
|
+
};
|
|
90
95
|
export const BillingScheme = {
|
|
91
96
|
per_unit: "per_unit",
|
|
92
97
|
tiered: "tiered",
|
|
@@ -16,6 +16,11 @@ export declare const BillingAccount: zod.ZodObject<{
|
|
|
16
16
|
suspended: "suspended";
|
|
17
17
|
closed: "closed";
|
|
18
18
|
}>;
|
|
19
|
+
suspended_by: zod.ZodEnum<{
|
|
20
|
+
none: "none";
|
|
21
|
+
operator: "operator";
|
|
22
|
+
owner: "owner";
|
|
23
|
+
}>;
|
|
19
24
|
grace_amount: zod.ZodOptional<zod.ZodString>;
|
|
20
25
|
grace_period_seconds: zod.ZodOptional<zod.ZodInt>;
|
|
21
26
|
closed_at: zod.ZodOptional<zod.ZodNullable<zod.z.ZodISODateTime>>;
|
|
@@ -15,6 +15,9 @@ export const BillingAccount = zod.strictObject({
|
|
|
15
15
|
name: zod.string().optional().describe("Your name for the account."),
|
|
16
16
|
currency: zod.string().describe("Fixed when the account was opened."),
|
|
17
17
|
status: zod.enum(["active", "suspended", "closed"]),
|
|
18
|
+
suspended_by: zod
|
|
19
|
+
.enum(["none", "owner", "operator"])
|
|
20
|
+
.describe("Who suspended the account: `owner` (you), `operator` (Leaflow), or `none` while it is not suspended. Only a suspension by `owner` can be resumed by you."),
|
|
18
21
|
grace_amount: zod
|
|
19
22
|
.string()
|
|
20
23
|
.optional()
|
|
@@ -17,6 +17,11 @@ export declare const BillingAccountList: zod.ZodObject<{
|
|
|
17
17
|
suspended: "suspended";
|
|
18
18
|
closed: "closed";
|
|
19
19
|
}>;
|
|
20
|
+
suspended_by: zod.ZodEnum<{
|
|
21
|
+
none: "none";
|
|
22
|
+
operator: "operator";
|
|
23
|
+
owner: "owner";
|
|
24
|
+
}>;
|
|
20
25
|
grace_amount: zod.ZodOptional<zod.ZodString>;
|
|
21
26
|
grace_period_seconds: zod.ZodOptional<zod.ZodInt>;
|
|
22
27
|
closed_at: zod.ZodOptional<zod.ZodNullable<zod.z.ZodISODateTime>>;
|
|
@@ -327,6 +327,53 @@ export declare const getUpdateBillingAccountUrl: (accountId: number) => string;
|
|
|
327
327
|
* @summary Update billing account
|
|
328
328
|
*/
|
|
329
329
|
export declare const updateBillingAccount: (accountId: number, billingAccountUpdate: BillingAccountUpdate, options?: RequestInit, fetchFn?: typeof globalThis.fetch) => Promise<updateBillingAccountResponse>;
|
|
330
|
+
export type suspendBillingAccountResponse200 = {
|
|
331
|
+
data: BillingAccount;
|
|
332
|
+
status: 200;
|
|
333
|
+
};
|
|
334
|
+
export type suspendBillingAccountResponseDefault = {
|
|
335
|
+
data: ErrorResponse;
|
|
336
|
+
status: Exclude<HTTPStatusCodes, 200>;
|
|
337
|
+
};
|
|
338
|
+
export type suspendBillingAccountResponseSuccess = suspendBillingAccountResponse200 & {
|
|
339
|
+
headers: Headers;
|
|
340
|
+
};
|
|
341
|
+
export type suspendBillingAccountResponseError = suspendBillingAccountResponseDefault & {
|
|
342
|
+
headers: Headers;
|
|
343
|
+
};
|
|
344
|
+
export type suspendBillingAccountResponse = suspendBillingAccountResponseSuccess | suspendBillingAccountResponseError;
|
|
345
|
+
export declare const getSuspendBillingAccountUrl: (accountId: number) => string;
|
|
346
|
+
/**
|
|
347
|
+
* Suspends your active billing account without closing it, also while it is in arrears. While suspended, it
|
|
348
|
+
* accepts no new purchases, renewals or project links, and the services it pays for start no new resources;
|
|
349
|
+
* running services, their charges and the handling of arrears continue, and you can still top up and pay
|
|
350
|
+
* invoices. Resume it yourself; one suspended by Leaflow can only be resumed by Leaflow. Does not create a
|
|
351
|
+
* resource.
|
|
352
|
+
* @summary Suspend billing account
|
|
353
|
+
*/
|
|
354
|
+
export declare const suspendBillingAccount: (accountId: number, options?: RequestInit, fetchFn?: typeof globalThis.fetch) => Promise<suspendBillingAccountResponse>;
|
|
355
|
+
export type resumeBillingAccountResponse200 = {
|
|
356
|
+
data: BillingAccount;
|
|
357
|
+
status: 200;
|
|
358
|
+
};
|
|
359
|
+
export type resumeBillingAccountResponseDefault = {
|
|
360
|
+
data: ErrorResponse;
|
|
361
|
+
status: Exclude<HTTPStatusCodes, 200>;
|
|
362
|
+
};
|
|
363
|
+
export type resumeBillingAccountResponseSuccess = resumeBillingAccountResponse200 & {
|
|
364
|
+
headers: Headers;
|
|
365
|
+
};
|
|
366
|
+
export type resumeBillingAccountResponseError = resumeBillingAccountResponseDefault & {
|
|
367
|
+
headers: Headers;
|
|
368
|
+
};
|
|
369
|
+
export type resumeBillingAccountResponse = resumeBillingAccountResponseSuccess | resumeBillingAccountResponseError;
|
|
370
|
+
export declare const getResumeBillingAccountUrl: (accountId: number) => string;
|
|
371
|
+
/**
|
|
372
|
+
* Resumes a billing account you suspended. Refused with `BILLING_ACCOUNT_SUSPENDED_BY_OPERATOR` when Leaflow
|
|
373
|
+
* suspended it. Does not create a resource.
|
|
374
|
+
* @summary Resume billing account
|
|
375
|
+
*/
|
|
376
|
+
export declare const resumeBillingAccount: (accountId: number, options?: RequestInit, fetchFn?: typeof globalThis.fetch) => Promise<resumeBillingAccountResponse>;
|
|
330
377
|
export type getAccountBalanceResponse200 = {
|
|
331
378
|
data: AccountBalance;
|
|
332
379
|
status: 200;
|
|
@@ -385,6 +385,43 @@ export const updateBillingAccount = async (accountId, billingAccountUpdate, opti
|
|
|
385
385
|
const data = body ? JSON.parse(body) : {};
|
|
386
386
|
return { data, status: res.status, headers: res.headers };
|
|
387
387
|
};
|
|
388
|
+
export const getSuspendBillingAccountUrl = (accountId) => {
|
|
389
|
+
return `https://billing.leaflow.cloud/api/v1/billing-accounts/${encodeURIComponent(String(accountId))}/suspend`;
|
|
390
|
+
};
|
|
391
|
+
/**
|
|
392
|
+
* Suspends your active billing account without closing it, also while it is in arrears. While suspended, it
|
|
393
|
+
* accepts no new purchases, renewals or project links, and the services it pays for start no new resources;
|
|
394
|
+
* running services, their charges and the handling of arrears continue, and you can still top up and pay
|
|
395
|
+
* invoices. Resume it yourself; one suspended by Leaflow can only be resumed by Leaflow. Does not create a
|
|
396
|
+
* resource.
|
|
397
|
+
* @summary Suspend billing account
|
|
398
|
+
*/
|
|
399
|
+
export const suspendBillingAccount = async (accountId, options, fetchFn) => {
|
|
400
|
+
const res = await (fetchFn ?? fetch)(getSuspendBillingAccountUrl(accountId), {
|
|
401
|
+
...options,
|
|
402
|
+
method: "POST",
|
|
403
|
+
});
|
|
404
|
+
const body = [204, 205, 304].includes(res.status) ? null : await res.text();
|
|
405
|
+
const data = body ? JSON.parse(body) : {};
|
|
406
|
+
return { data, status: res.status, headers: res.headers };
|
|
407
|
+
};
|
|
408
|
+
export const getResumeBillingAccountUrl = (accountId) => {
|
|
409
|
+
return `https://billing.leaflow.cloud/api/v1/billing-accounts/${encodeURIComponent(String(accountId))}/resume`;
|
|
410
|
+
};
|
|
411
|
+
/**
|
|
412
|
+
* Resumes a billing account you suspended. Refused with `BILLING_ACCOUNT_SUSPENDED_BY_OPERATOR` when Leaflow
|
|
413
|
+
* suspended it. Does not create a resource.
|
|
414
|
+
* @summary Resume billing account
|
|
415
|
+
*/
|
|
416
|
+
export const resumeBillingAccount = async (accountId, options, fetchFn) => {
|
|
417
|
+
const res = await (fetchFn ?? fetch)(getResumeBillingAccountUrl(accountId), {
|
|
418
|
+
...options,
|
|
419
|
+
method: "POST",
|
|
420
|
+
});
|
|
421
|
+
const body = [204, 205, 304].includes(res.status) ? null : await res.text();
|
|
422
|
+
const data = body ? JSON.parse(body) : {};
|
|
423
|
+
return { data, status: res.status, headers: res.headers };
|
|
424
|
+
};
|
|
388
425
|
export const getGetAccountBalanceUrl = (accountId) => {
|
|
389
426
|
return `https://billing.leaflow.cloud/api/v1/billing-accounts/${encodeURIComponent(String(accountId))}/balance`;
|
|
390
427
|
};
|
|
@@ -497,6 +497,15 @@ export declare const BillingAccountStatus: {
|
|
|
497
497
|
readonly suspended: "suspended";
|
|
498
498
|
readonly closed: "closed";
|
|
499
499
|
};
|
|
500
|
+
/**
|
|
501
|
+
* Who suspended the account: `owner` (you), `operator` (Leaflow), or `none` while it is not suspended. Only a suspension by `owner` can be resumed by you.
|
|
502
|
+
*/
|
|
503
|
+
export type BillingAccountSuspendedBy = (typeof BillingAccountSuspendedBy)[keyof typeof BillingAccountSuspendedBy];
|
|
504
|
+
export declare const BillingAccountSuspendedBy: {
|
|
505
|
+
readonly none: "none";
|
|
506
|
+
readonly owner: "owner";
|
|
507
|
+
readonly operator: "operator";
|
|
508
|
+
};
|
|
500
509
|
export interface BillingAccount {
|
|
501
510
|
/**
|
|
502
511
|
* The active contact used for invoices, of this account; null clears it.
|
|
@@ -509,6 +518,8 @@ export interface BillingAccount {
|
|
|
509
518
|
/** Fixed when the account was opened. */
|
|
510
519
|
currency: string;
|
|
511
520
|
status: BillingAccountStatus;
|
|
521
|
+
/** Who suspended the account: `owner` (you), `operator` (Leaflow), or `none` while it is not suspended. Only a suspension by `owner` can be resumed by you. */
|
|
522
|
+
suspended_by: BillingAccountSuspendedBy;
|
|
512
523
|
/** How far past the suspension threshold the account may go before its resources are suspended; `0` means none. */
|
|
513
524
|
grace_amount?: string;
|
|
514
525
|
/** How long the account has to top up after crossing the suspension threshold, in seconds; `0` means none. Grace ends when this or grace_amount runs out. */
|