@veruna/api-contracts 20.5.1 → 20.6.0-vd205.0
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/build/rest-api.d.ts +9 -0
- package/build/rest-api.js +9 -0
- package/build/rest-api.js.map +1 -1
- package/build/routes/s2s.routes.d.ts +9 -0
- package/build/routes/s2s.routes.js +9 -0
- package/build/routes/s2s.routes.js.map +1 -1
- package/build/tsconfig.tsbuildinfo +1 -1
- package/build/v1/ai-call/ai-cost-source.enum.d.ts +24 -18
- package/build/v1/ai-call/ai-cost-source.enum.js +15 -20
- package/build/v1/ai-call/ai-cost-source.enum.js.map +1 -1
- package/build/v1/ai-call/ai-native-usage.schema.d.ts +43 -0
- package/build/v1/ai-call/ai-native-usage.schema.js +27 -0
- package/build/v1/ai-call/ai-native-usage.schema.js.map +1 -0
- package/build/v1/ai-call/index.d.ts +1 -0
- package/build/v1/ai-call/index.js +1 -0
- package/build/v1/ai-call/index.js.map +1 -1
- package/build/v1/chat/commands/create-reg-chat.command.d.ts +51 -1
- package/build/v1/chat/commands/create-unreg-chat.command.d.ts +51 -1
- package/build/v1/chat/commands/update-chat-title.command.d.ts +51 -1
- package/build/v1/chat/commands/update-chat.command.d.ts +51 -1
- package/build/v1/chat/queries/get-last-active-chat.query.d.ts +51 -1
- package/build/v1/chat/queries/get-reg-chat.query.d.ts +51 -1
- package/build/v1/chat/queries/get-unreg-chat.query.d.ts +51 -1
- package/build/v1/chat/schemas/chat-with-messages-response.schema.d.ts +51 -1
- package/build/v1/client-file/commands/client-file-attach.command.d.ts +8 -2
- package/build/v1/client-file/commands/client-file-ocr-artifact.s2s.d.ts +68 -0
- package/build/v1/client-file/commands/client-file-ocr-artifact.s2s.js +25 -0
- package/build/v1/client-file/commands/client-file-ocr-artifact.s2s.js.map +1 -0
- package/build/v1/client-file/commands/client-file-preparation.s2s.d.ts +93 -0
- package/build/v1/client-file/commands/client-file-preparation.s2s.js +29 -0
- package/build/v1/client-file/commands/client-file-preparation.s2s.js.map +1 -0
- package/build/v1/client-file/commands/client-file-upload.command.d.ts +15 -3
- package/build/v1/client-file/commands/document-page-read.s2s.d.ts +258 -0
- package/build/v1/client-file/commands/document-page-read.s2s.js +29 -0
- package/build/v1/client-file/commands/document-page-read.s2s.js.map +1 -0
- package/build/v1/client-file/commands/document-snapshot-pages.s2s.d.ts +56 -0
- package/build/v1/client-file/commands/document-snapshot-pages.s2s.js +15 -0
- package/build/v1/client-file/commands/document-snapshot-pages.s2s.js.map +1 -0
- package/build/v1/client-file/commands/index.d.ts +4 -0
- package/build/v1/client-file/commands/index.js +4 -0
- package/build/v1/client-file/commands/index.js.map +1 -1
- package/build/v1/client-file/document-page-read.constants.d.ts +9 -0
- package/build/v1/client-file/document-page-read.constants.js +13 -0
- package/build/v1/client-file/document-page-read.constants.js.map +1 -0
- package/build/v1/client-file/file-preparation.constants.d.ts +1 -0
- package/build/v1/client-file/file-preparation.constants.js +5 -0
- package/build/v1/client-file/file-preparation.constants.js.map +1 -0
- package/build/v1/client-file/index.d.ts +2 -0
- package/build/v1/client-file/index.js +2 -0
- package/build/v1/client-file/index.js.map +1 -1
- package/build/v1/client-file/queries/client-file-list.query.d.ts +15 -3
- package/build/v1/client-file/queries/client-file-ocr-artifact.s2s.d.ts +33 -0
- package/build/v1/client-file/queries/client-file-ocr-artifact.s2s.js +17 -0
- package/build/v1/client-file/queries/client-file-ocr-artifact.s2s.js.map +1 -0
- package/build/v1/client-file/queries/client-file-preparation.s2s.d.ts +72 -0
- package/build/v1/client-file/queries/client-file-preparation.s2s.js +17 -0
- package/build/v1/client-file/queries/client-file-preparation.s2s.js.map +1 -0
- package/build/v1/client-file/queries/client-file-reading.s2s.d.ts +76 -6
- package/build/v1/client-file/queries/client-file-reading.s2s.js +3 -1
- package/build/v1/client-file/queries/client-file-reading.s2s.js.map +1 -1
- package/build/v1/client-file/queries/document-page-read.s2s.d.ts +74 -0
- package/build/v1/client-file/queries/document-page-read.s2s.js +15 -0
- package/build/v1/client-file/queries/document-page-read.s2s.js.map +1 -0
- package/build/v1/client-file/queries/index.d.ts +3 -0
- package/build/v1/client-file/queries/index.js +3 -0
- package/build/v1/client-file/queries/index.js.map +1 -1
- package/build/v1/client-file/queries/user-files-list.query.d.ts +31 -6
- package/build/v1/client-file/schemas/client-file-attach-response.schema.d.ts +16 -6
- package/build/v1/client-file/schemas/client-file-attach-response.schema.js +1 -0
- package/build/v1/client-file/schemas/client-file-attach-response.schema.js.map +1 -1
- package/build/v1/client-file/schemas/client-file-item-response.schema.d.ts +15 -6
- package/build/v1/client-file/schemas/client-file-item-response.schema.js +1 -0
- package/build/v1/client-file/schemas/client-file-item-response.schema.js.map +1 -1
- package/build/v1/client-file/schemas/client-file-list-response.schema.d.ts +15 -3
- package/build/v1/client-file/schemas/client-file-mark.enum.d.ts +1 -7
- package/build/v1/client-file/schemas/client-file-mark.enum.js +4 -9
- package/build/v1/client-file/schemas/client-file-mark.enum.js.map +1 -1
- package/build/v1/client-file/schemas/client-file-mark.schema.d.ts +9 -0
- package/build/v1/client-file/schemas/client-file-mark.schema.js +10 -0
- package/build/v1/client-file/schemas/client-file-mark.schema.js.map +1 -0
- package/build/v1/client-file/schemas/client-file-ocr-artifact.schema.d.ts +61 -0
- package/build/v1/client-file/schemas/client-file-ocr-artifact.schema.js +30 -0
- package/build/v1/client-file/schemas/client-file-ocr-artifact.schema.js.map +1 -0
- package/build/v1/client-file/schemas/client-file-pages.schema.d.ts +133 -51
- package/build/v1/client-file/schemas/client-file-pages.schema.js +47 -50
- package/build/v1/client-file/schemas/client-file-pages.schema.js.map +1 -1
- package/build/v1/client-file/schemas/client-file-preparation.schema.d.ts +165 -0
- package/build/v1/client-file/schemas/client-file-preparation.schema.js +72 -0
- package/build/v1/client-file/schemas/client-file-preparation.schema.js.map +1 -0
- package/build/v1/client-file/schemas/client-file-search.schema.d.ts +44 -0
- package/build/v1/client-file/schemas/client-file-search.schema.js +26 -1
- package/build/v1/client-file/schemas/client-file-search.schema.js.map +1 -1
- package/build/v1/client-file/schemas/client-file-status.enum.d.ts +1 -18
- package/build/v1/client-file/schemas/client-file-status.enum.js +4 -20
- package/build/v1/client-file/schemas/client-file-status.enum.js.map +1 -1
- package/build/v1/client-file/schemas/client-file-status.schema.d.ts +17 -0
- package/build/v1/client-file/schemas/client-file-status.schema.js +14 -0
- package/build/v1/client-file/schemas/client-file-status.schema.js.map +1 -0
- package/build/v1/client-file/schemas/client-file-type.enum.d.ts +1 -4
- package/build/v1/client-file/schemas/client-file-type.enum.js +4 -6
- package/build/v1/client-file/schemas/client-file-type.enum.js.map +1 -1
- package/build/v1/client-file/schemas/client-file-type.schema.d.ts +11 -0
- package/build/v1/client-file/schemas/client-file-type.schema.js +11 -0
- package/build/v1/client-file/schemas/client-file-type.schema.js.map +1 -0
- package/build/v1/client-file/schemas/client-file-upload-query.schema.d.ts +5 -2
- package/build/v1/client-file/schemas/client-file-upload-response.schema.d.ts +15 -3
- package/build/v1/client-file/schemas/document-page-read.schema.d.ts +210 -0
- package/build/v1/client-file/schemas/document-page-read.schema.js +76 -0
- package/build/v1/client-file/schemas/document-page-read.schema.js.map +1 -0
- package/build/v1/client-file/schemas/document-snapshot-pages.schema.d.ts +48 -0
- package/build/v1/client-file/schemas/document-snapshot-pages.schema.js +38 -0
- package/build/v1/client-file/schemas/document-snapshot-pages.schema.js.map +1 -0
- package/build/v1/client-file/schemas/index.d.ts +4 -0
- package/build/v1/client-file/schemas/index.js +4 -0
- package/build/v1/client-file/schemas/index.js.map +1 -1
- package/build/v1/client-file/schemas/magic-verdict.schema.d.ts +13 -0
- package/build/v1/client-file/schemas/magic-verdict.schema.js +12 -0
- package/build/v1/client-file/schemas/magic-verdict.schema.js.map +1 -0
- package/build/v1/client-file/schemas/processing-category.enum.d.ts +1 -10
- package/build/v1/client-file/schemas/processing-category.enum.js +4 -12
- package/build/v1/client-file/schemas/processing-category.enum.js.map +1 -1
- package/build/v1/client-file/schemas/processing-category.schema.d.ts +15 -0
- package/build/v1/client-file/schemas/processing-category.schema.js +13 -0
- package/build/v1/client-file/schemas/processing-category.schema.js.map +1 -0
- package/build/v1/client-file/schemas/upload-magic-type.schema.d.ts +27 -0
- package/build/v1/client-file/schemas/upload-magic-type.schema.js +19 -0
- package/build/v1/client-file/schemas/upload-magic-type.schema.js.map +1 -0
- package/build/v1/client-file/schemas/user-file-item-response.schema.d.ts +20 -8
- package/build/v1/client-file/schemas/user-files-list-request.schema.d.ts +11 -4
- package/build/v1/client-file/schemas/user-files-list-response.schema.d.ts +20 -4
- package/build/v1/client-file/upload-magic-bytes.d.ts +4 -24
- package/build/v1/client-file/upload-magic-bytes.js +49 -67
- package/build/v1/client-file/upload-magic-bytes.js.map +1 -1
- package/build/v1/message/commands/create-message.command.d.ts +229 -0
- package/build/v1/message/commands/create-message.command.js +2 -0
- package/build/v1/message/commands/create-message.command.js.map +1 -1
- package/build/v1/message/queries/get-message-stream-reg.query.d.ts +228 -0
- package/build/v1/message/queries/get-message-stream-reg.query.js +1 -0
- package/build/v1/message/queries/get-message-stream-reg.query.js.map +1 -1
- package/build/v1/message/queries/get-message-stream-unreg.query.d.ts +228 -0
- package/build/v1/message/queries/get-message-stream-unreg.query.js +1 -0
- package/build/v1/message/queries/get-message-stream-unreg.query.js.map +1 -1
- package/build/v1/message/schemas/find-in-chat-step-content.schema.d.ts +8 -0
- package/build/v1/message/schemas/find-in-chat-step-content.schema.js +11 -0
- package/build/v1/message/schemas/find-in-chat-step-content.schema.js.map +1 -0
- package/build/v1/message/schemas/index.d.ts +6 -1
- package/build/v1/message/schemas/index.js +13 -2
- package/build/v1/message/schemas/index.js.map +1 -1
- package/build/v1/message/schemas/message-attachment-response.schema.d.ts +6 -3
- package/build/v1/message/schemas/message-response.schema.d.ts +51 -1
- package/build/v1/message/schemas/message-step-response.schema.d.ts +144 -0
- package/build/v1/message/schemas/message-step-response.schema.js +4 -0
- package/build/v1/message/schemas/message-step-response.schema.js.map +1 -1
- package/build/v1/message/schemas/message-stream-frame.schema.d.ts +218 -0
- package/build/v1/message/schemas/message-stream-frame.schema.js +9 -0
- package/build/v1/message/schemas/message-stream-frame.schema.js.map +1 -0
- package/build/v1/message/schemas/preparation-status.enum.d.ts +4 -0
- package/build/v1/message/schemas/preparation-status.enum.js +9 -0
- package/build/v1/message/schemas/preparation-status.enum.js.map +1 -0
- package/build/v1/message/schemas/send-file-step-content.schema.d.ts +1 -0
- package/build/v1/message/schemas/send-file-step-content.schema.js +2 -0
- package/build/v1/message/schemas/send-file-step-content.schema.js.map +1 -1
- package/build/v1/message/schemas/stream-event-type.enum.d.ts +2 -0
- package/build/v1/message/schemas/stream-event-type.enum.js +2 -0
- package/build/v1/message/schemas/stream-event-type.enum.js.map +1 -1
- package/build/v1/message/schemas/stream-events.schema.d.ts +27 -0
- package/build/v1/message/schemas/stream-events.schema.js +11 -1
- package/build/v1/message/schemas/stream-events.schema.js.map +1 -1
- package/build/v1/message/schemas/transport-heartbeat.schema.d.ts +16 -0
- package/build/v1/message/schemas/transport-heartbeat.schema.js +16 -0
- package/build/v1/message/schemas/transport-heartbeat.schema.js.map +1 -0
- package/build/v1/message/schemas/view-file-step-content.schema.d.ts +76 -0
- package/build/v1/message/schemas/view-file-step-content.schema.js +41 -0
- package/build/v1/message/schemas/view-file-step-content.schema.js.map +1 -0
- package/build/v1/s2s/queries/list-client-files.query.d.ts +15 -3
- package/build-esm/.tsbuildinfo +1 -1
- package/build-esm/rest-api.js +9 -0
- package/build-esm/rest-api.js.map +1 -1
- package/build-esm/routes/s2s.routes.js +9 -0
- package/build-esm/routes/s2s.routes.js.map +1 -1
- package/build-esm/v1/ai-call/ai-cost-source.enum.js +14 -19
- package/build-esm/v1/ai-call/ai-cost-source.enum.js.map +1 -1
- package/build-esm/v1/ai-call/ai-native-usage.schema.js +24 -0
- package/build-esm/v1/ai-call/ai-native-usage.schema.js.map +1 -0
- package/build-esm/v1/ai-call/index.js +1 -0
- package/build-esm/v1/ai-call/index.js.map +1 -1
- package/build-esm/v1/client-file/commands/client-file-ocr-artifact.s2s.js +22 -0
- package/build-esm/v1/client-file/commands/client-file-ocr-artifact.s2s.js.map +1 -0
- package/build-esm/v1/client-file/commands/client-file-preparation.s2s.js +26 -0
- package/build-esm/v1/client-file/commands/client-file-preparation.s2s.js.map +1 -0
- package/build-esm/v1/client-file/commands/document-page-read.s2s.js +26 -0
- package/build-esm/v1/client-file/commands/document-page-read.s2s.js.map +1 -0
- package/build-esm/v1/client-file/commands/document-snapshot-pages.s2s.js +12 -0
- package/build-esm/v1/client-file/commands/document-snapshot-pages.s2s.js.map +1 -0
- package/build-esm/v1/client-file/commands/index.js +4 -0
- package/build-esm/v1/client-file/commands/index.js.map +1 -1
- package/build-esm/v1/client-file/document-page-read.constants.js +10 -0
- package/build-esm/v1/client-file/document-page-read.constants.js.map +1 -0
- package/build-esm/v1/client-file/file-preparation.constants.js +2 -0
- package/build-esm/v1/client-file/file-preparation.constants.js.map +1 -0
- package/build-esm/v1/client-file/index.js +2 -0
- package/build-esm/v1/client-file/index.js.map +1 -1
- package/build-esm/v1/client-file/queries/client-file-ocr-artifact.s2s.js +14 -0
- package/build-esm/v1/client-file/queries/client-file-ocr-artifact.s2s.js.map +1 -0
- package/build-esm/v1/client-file/queries/client-file-preparation.s2s.js +14 -0
- package/build-esm/v1/client-file/queries/client-file-preparation.s2s.js.map +1 -0
- package/build-esm/v1/client-file/queries/client-file-reading.s2s.js +5 -3
- package/build-esm/v1/client-file/queries/client-file-reading.s2s.js.map +1 -1
- package/build-esm/v1/client-file/queries/document-page-read.s2s.js +12 -0
- package/build-esm/v1/client-file/queries/document-page-read.s2s.js.map +1 -0
- package/build-esm/v1/client-file/queries/index.js +3 -0
- package/build-esm/v1/client-file/queries/index.js.map +1 -1
- package/build-esm/v1/client-file/schemas/client-file-attach-response.schema.js +1 -0
- package/build-esm/v1/client-file/schemas/client-file-attach-response.schema.js.map +1 -1
- package/build-esm/v1/client-file/schemas/client-file-item-response.schema.js +1 -0
- package/build-esm/v1/client-file/schemas/client-file-item-response.schema.js.map +1 -1
- package/build-esm/v1/client-file/schemas/client-file-mark.enum.js +1 -8
- package/build-esm/v1/client-file/schemas/client-file-mark.enum.js.map +1 -1
- package/build-esm/v1/client-file/schemas/client-file-mark.schema.js +7 -0
- package/build-esm/v1/client-file/schemas/client-file-mark.schema.js.map +1 -0
- package/build-esm/v1/client-file/schemas/client-file-ocr-artifact.schema.js +27 -0
- package/build-esm/v1/client-file/schemas/client-file-ocr-artifact.schema.js.map +1 -0
- package/build-esm/v1/client-file/schemas/client-file-pages.schema.js +42 -45
- package/build-esm/v1/client-file/schemas/client-file-pages.schema.js.map +1 -1
- package/build-esm/v1/client-file/schemas/client-file-preparation.schema.js +69 -0
- package/build-esm/v1/client-file/schemas/client-file-preparation.schema.js.map +1 -0
- package/build-esm/v1/client-file/schemas/client-file-search.schema.js +25 -0
- package/build-esm/v1/client-file/schemas/client-file-search.schema.js.map +1 -1
- package/build-esm/v1/client-file/schemas/client-file-status.enum.js +1 -19
- package/build-esm/v1/client-file/schemas/client-file-status.enum.js.map +1 -1
- package/build-esm/v1/client-file/schemas/client-file-status.schema.js +11 -0
- package/build-esm/v1/client-file/schemas/client-file-status.schema.js.map +1 -0
- package/build-esm/v1/client-file/schemas/client-file-type.enum.js +1 -5
- package/build-esm/v1/client-file/schemas/client-file-type.enum.js.map +1 -1
- package/build-esm/v1/client-file/schemas/client-file-type.schema.js +8 -0
- package/build-esm/v1/client-file/schemas/client-file-type.schema.js.map +1 -0
- package/build-esm/v1/client-file/schemas/document-page-read.schema.js +73 -0
- package/build-esm/v1/client-file/schemas/document-page-read.schema.js.map +1 -0
- package/build-esm/v1/client-file/schemas/document-snapshot-pages.schema.js +35 -0
- package/build-esm/v1/client-file/schemas/document-snapshot-pages.schema.js.map +1 -0
- package/build-esm/v1/client-file/schemas/index.js +4 -0
- package/build-esm/v1/client-file/schemas/index.js.map +1 -1
- package/build-esm/v1/client-file/schemas/magic-verdict.schema.js +9 -0
- package/build-esm/v1/client-file/schemas/magic-verdict.schema.js.map +1 -0
- package/build-esm/v1/client-file/schemas/processing-category.enum.js +1 -11
- package/build-esm/v1/client-file/schemas/processing-category.enum.js.map +1 -1
- package/build-esm/v1/client-file/schemas/processing-category.schema.js +10 -0
- package/build-esm/v1/client-file/schemas/processing-category.schema.js.map +1 -0
- package/build-esm/v1/client-file/schemas/upload-magic-type.schema.js +16 -0
- package/build-esm/v1/client-file/schemas/upload-magic-type.schema.js.map +1 -0
- package/build-esm/v1/client-file/upload-magic-bytes.js +4 -26
- package/build-esm/v1/client-file/upload-magic-bytes.js.map +1 -1
- package/build-esm/v1/message/commands/create-message.command.js +3 -1
- package/build-esm/v1/message/commands/create-message.command.js.map +1 -1
- package/build-esm/v1/message/queries/get-message-stream-reg.query.js +2 -1
- package/build-esm/v1/message/queries/get-message-stream-reg.query.js.map +1 -1
- package/build-esm/v1/message/queries/get-message-stream-unreg.query.js +2 -1
- package/build-esm/v1/message/queries/get-message-stream-unreg.query.js.map +1 -1
- package/build-esm/v1/message/schemas/find-in-chat-step-content.schema.js +8 -0
- package/build-esm/v1/message/schemas/find-in-chat-step-content.schema.js.map +1 -0
- package/build-esm/v1/message/schemas/index.js +6 -1
- package/build-esm/v1/message/schemas/index.js.map +1 -1
- package/build-esm/v1/message/schemas/message-step-response.schema.js +4 -0
- package/build-esm/v1/message/schemas/message-step-response.schema.js.map +1 -1
- package/build-esm/v1/message/schemas/message-stream-frame.schema.js +6 -0
- package/build-esm/v1/message/schemas/message-stream-frame.schema.js.map +1 -0
- package/build-esm/v1/message/schemas/preparation-status.enum.js +6 -0
- package/build-esm/v1/message/schemas/preparation-status.enum.js.map +1 -0
- package/build-esm/v1/message/schemas/send-file-step-content.schema.js +2 -0
- package/build-esm/v1/message/schemas/send-file-step-content.schema.js.map +1 -1
- package/build-esm/v1/message/schemas/stream-event-type.enum.js +2 -0
- package/build-esm/v1/message/schemas/stream-event-type.enum.js.map +1 -1
- package/build-esm/v1/message/schemas/stream-events.schema.js +10 -0
- package/build-esm/v1/message/schemas/stream-events.schema.js.map +1 -1
- package/build-esm/v1/message/schemas/transport-heartbeat.schema.js +13 -0
- package/build-esm/v1/message/schemas/transport-heartbeat.schema.js.map +1 -0
- package/build-esm/v1/message/schemas/view-file-step-content.schema.js +38 -0
- package/build-esm/v1/message/schemas/view-file-step-content.schema.js.map +1 -0
- package/package.json +10 -10
|
@@ -7,6 +7,18 @@ import { HttpMethod } from '../../../shared/http-method.enum';
|
|
|
7
7
|
export declare namespace GetMessageStreamRegQuery {
|
|
8
8
|
const Request: z.ZodObject<{}, z.core.$strip>;
|
|
9
9
|
const Response: z.ZodDiscriminatedUnion<[z.ZodObject<{
|
|
10
|
+
id: z.ZodNumber;
|
|
11
|
+
chatId: z.ZodString;
|
|
12
|
+
messageId: z.ZodString;
|
|
13
|
+
type: z.ZodLiteral<import("../schemas").StreamEventType.PREPARATION_STATUS>;
|
|
14
|
+
status: z.ZodEnum<typeof import("../schemas").PreparationStatus>;
|
|
15
|
+
phase: z.ZodOptional<z.ZodEnum<{
|
|
16
|
+
FILES: "FILES";
|
|
17
|
+
OCR: "OCR";
|
|
18
|
+
}>>;
|
|
19
|
+
processedPages: z.ZodOptional<z.ZodNumber>;
|
|
20
|
+
plannedPages: z.ZodOptional<z.ZodNumber>;
|
|
21
|
+
}, z.core.$strip>, z.ZodObject<{
|
|
10
22
|
id: z.ZodNumber;
|
|
11
23
|
chatId: z.ZodString;
|
|
12
24
|
messageId: z.ZodString;
|
|
@@ -206,10 +218,226 @@ export declare namespace GetMessageStreamRegQuery {
|
|
|
206
218
|
type: z.ZodLiteral<import("../schemas").StreamEventType.ERROR>;
|
|
207
219
|
chargedTokens: z.ZodOptional<z.ZodNumber>;
|
|
208
220
|
}, z.core.$strip>], "type">;
|
|
221
|
+
const Frame: z.ZodUnion<readonly [z.ZodDiscriminatedUnion<[z.ZodObject<{
|
|
222
|
+
id: z.ZodNumber;
|
|
223
|
+
chatId: z.ZodString;
|
|
224
|
+
messageId: z.ZodString;
|
|
225
|
+
type: z.ZodLiteral<import("../schemas").StreamEventType.PREPARATION_STATUS>;
|
|
226
|
+
status: z.ZodEnum<typeof import("../schemas").PreparationStatus>;
|
|
227
|
+
phase: z.ZodOptional<z.ZodEnum<{
|
|
228
|
+
FILES: "FILES";
|
|
229
|
+
OCR: "OCR";
|
|
230
|
+
}>>;
|
|
231
|
+
processedPages: z.ZodOptional<z.ZodNumber>;
|
|
232
|
+
plannedPages: z.ZodOptional<z.ZodNumber>;
|
|
233
|
+
}, z.core.$strip>, z.ZodObject<{
|
|
234
|
+
id: z.ZodNumber;
|
|
235
|
+
chatId: z.ZodString;
|
|
236
|
+
messageId: z.ZodString;
|
|
237
|
+
type: z.ZodLiteral<import("../schemas").StreamEventType.GENERATION_STATUS>;
|
|
238
|
+
status: z.ZodEnum<typeof import("../schemas").GenerationStatus>;
|
|
239
|
+
modelId: z.ZodString;
|
|
240
|
+
}, z.core.$strip>, z.ZodObject<{
|
|
241
|
+
id: z.ZodNumber;
|
|
242
|
+
chatId: z.ZodString;
|
|
243
|
+
messageId: z.ZodString;
|
|
244
|
+
type: z.ZodLiteral<import("../schemas").StreamEventType.STEP_START>;
|
|
245
|
+
stepType: z.ZodEnum<typeof import("../schemas").GenerationStepType>;
|
|
246
|
+
stepId: z.ZodString;
|
|
247
|
+
stepIndex: z.ZodNumber;
|
|
248
|
+
modelUuid: z.ZodDefault<z.ZodNullable<z.ZodString>>;
|
|
249
|
+
metadata: z.ZodOptional<z.ZodUnion<readonly [z.ZodObject<{
|
|
250
|
+
path: z.ZodString;
|
|
251
|
+
filename: z.ZodString;
|
|
252
|
+
}, z.core.$strip>, z.ZodObject<{
|
|
253
|
+
queries: z.ZodArray<z.ZodString>;
|
|
254
|
+
}, z.core.$strip>, z.ZodObject<{
|
|
255
|
+
query: z.ZodString;
|
|
256
|
+
}, z.core.$strip>, z.ZodObject<{
|
|
257
|
+
sourceResolution: z.ZodString;
|
|
258
|
+
sourceImageCount: z.ZodNumber;
|
|
259
|
+
}, z.core.$strip>, z.ZodObject<{
|
|
260
|
+
videoUrl: z.ZodString;
|
|
261
|
+
}, z.core.$strip>, z.ZodObject<{
|
|
262
|
+
primitiveType: z.ZodEnum<typeof import("../..").SandboxPrimitiveType>;
|
|
263
|
+
}, z.core.$strip>, z.ZodObject<{
|
|
264
|
+
toolName: z.ZodString;
|
|
265
|
+
connectionUuid: z.ZodString;
|
|
266
|
+
providerKey: z.ZodNullable<z.ZodString>;
|
|
267
|
+
argsPreview: z.ZodOptional<z.ZodString>;
|
|
268
|
+
}, z.core.$strip>]>>;
|
|
269
|
+
}, z.core.$strip>, z.ZodObject<{
|
|
270
|
+
id: z.ZodNumber;
|
|
271
|
+
chatId: z.ZodString;
|
|
272
|
+
messageId: z.ZodString;
|
|
273
|
+
type: z.ZodLiteral<import("../schemas").StreamEventType.STEP_CHUNK>;
|
|
274
|
+
stepType: z.ZodEnum<typeof import("../schemas").GenerationStepType>;
|
|
275
|
+
stepId: z.ZodString;
|
|
276
|
+
chunk: z.ZodString;
|
|
277
|
+
modelUuid: z.ZodDefault<z.ZodNullable<z.ZodString>>;
|
|
278
|
+
metadata: z.ZodOptional<z.ZodDiscriminatedUnion<[z.ZodObject<{
|
|
279
|
+
kind: z.ZodLiteral<import("../schemas").StepChunkKind.ARGS>;
|
|
280
|
+
primitiveType: z.ZodEnum<typeof import("../..").SandboxPrimitiveType>;
|
|
281
|
+
}, z.core.$strip>, z.ZodObject<{
|
|
282
|
+
kind: z.ZodLiteral<import("../schemas").StepChunkKind.DESCRIBE>;
|
|
283
|
+
primitiveType: z.ZodEnum<typeof import("../..").SandboxPrimitiveType>;
|
|
284
|
+
}, z.core.$strip>, z.ZodObject<{
|
|
285
|
+
kind: z.ZodLiteral<import("../schemas").StepChunkKind.BASH>;
|
|
286
|
+
stream: z.ZodEnum<typeof import("../schemas").BashChunkStream>;
|
|
287
|
+
}, z.core.$strip>, z.ZodObject<{
|
|
288
|
+
kind: z.ZodLiteral<import("../schemas").StepChunkKind.CREATE_FILE>;
|
|
289
|
+
path: z.ZodString;
|
|
290
|
+
totalLines: z.ZodNumber;
|
|
291
|
+
bytesWritten: z.ZodNumber;
|
|
292
|
+
overwrite: z.ZodBoolean;
|
|
293
|
+
preview: z.ZodObject<{
|
|
294
|
+
lines: z.ZodArray<z.ZodString>;
|
|
295
|
+
truncated: z.ZodBoolean;
|
|
296
|
+
}, z.core.$strip>;
|
|
297
|
+
}, z.core.$strip>, z.ZodObject<{
|
|
298
|
+
kind: z.ZodLiteral<import("../schemas").StepChunkKind.STR_REPLACE>;
|
|
299
|
+
path: z.ZodString;
|
|
300
|
+
linesAdded: z.ZodNumber;
|
|
301
|
+
linesRemoved: z.ZodNumber;
|
|
302
|
+
linesBefore: z.ZodNumber;
|
|
303
|
+
linesAfter: z.ZodNumber;
|
|
304
|
+
hunk: z.ZodObject<{
|
|
305
|
+
startLine: z.ZodNumber;
|
|
306
|
+
contextBefore: z.ZodArray<z.ZodString>;
|
|
307
|
+
oldLines: z.ZodArray<z.ZodString>;
|
|
308
|
+
newLines: z.ZodArray<z.ZodString>;
|
|
309
|
+
contextAfter: z.ZodArray<z.ZodString>;
|
|
310
|
+
truncated: z.ZodBoolean;
|
|
311
|
+
}, z.core.$strip>;
|
|
312
|
+
}, z.core.$strip>, z.ZodObject<{
|
|
313
|
+
kind: z.ZodLiteral<import("../schemas").StepChunkKind.VIEW>;
|
|
314
|
+
path: z.ZodString;
|
|
315
|
+
view: z.ZodDiscriminatedUnion<[z.ZodObject<{
|
|
316
|
+
type: z.ZodLiteral<import("../..").SandboxViewKind.DIRECTORY>;
|
|
317
|
+
entryCount: z.ZodNumber;
|
|
318
|
+
}, z.core.$strip>, z.ZodObject<{
|
|
319
|
+
type: z.ZodLiteral<import("../..").SandboxViewKind.TEXT>;
|
|
320
|
+
startLine: z.ZodNumber;
|
|
321
|
+
endLine: z.ZodNumber;
|
|
322
|
+
totalLines: z.ZodNumber;
|
|
323
|
+
truncated: z.ZodBoolean;
|
|
324
|
+
}, z.core.$strip>, z.ZodObject<{
|
|
325
|
+
type: z.ZodLiteral<import("../..").SandboxViewKind.IMAGE>;
|
|
326
|
+
}, z.core.$strip>, z.ZodObject<{
|
|
327
|
+
type: z.ZodLiteral<import("../..").SandboxViewKind.PDF>;
|
|
328
|
+
pagesShown: z.ZodNumber;
|
|
329
|
+
}, z.core.$strip>], "type">;
|
|
330
|
+
}, z.core.$strip>], "kind">>;
|
|
331
|
+
}, z.core.$strip>, z.ZodObject<{
|
|
332
|
+
id: z.ZodNumber;
|
|
333
|
+
chatId: z.ZodString;
|
|
334
|
+
messageId: z.ZodString;
|
|
335
|
+
type: z.ZodLiteral<import("../schemas").StreamEventType.STEP_ERROR>;
|
|
336
|
+
stepType: z.ZodEnum<typeof import("../schemas").GenerationStepType>;
|
|
337
|
+
stepId: z.ZodString;
|
|
338
|
+
stepIndex: z.ZodNumber;
|
|
339
|
+
modelUuid: z.ZodDefault<z.ZodNullable<z.ZodString>>;
|
|
340
|
+
errorCode: z.ZodString;
|
|
341
|
+
errorMessage: z.ZodOptional<z.ZodString>;
|
|
342
|
+
}, z.core.$strip>, z.ZodObject<{
|
|
343
|
+
id: z.ZodNumber;
|
|
344
|
+
chatId: z.ZodString;
|
|
345
|
+
messageId: z.ZodString;
|
|
346
|
+
type: z.ZodLiteral<import("../schemas").StreamEventType.STEP_DONE>;
|
|
347
|
+
stepType: z.ZodEnum<typeof import("../schemas").GenerationStepType>;
|
|
348
|
+
stepId: z.ZodString;
|
|
349
|
+
stepIndex: z.ZodNumber;
|
|
350
|
+
modelUuid: z.ZodDefault<z.ZodNullable<z.ZodString>>;
|
|
351
|
+
fullContent: z.ZodOptional<z.ZodString>;
|
|
352
|
+
structuredContent: z.ZodOptional<z.ZodRecord<z.ZodString, z.ZodUnknown>>;
|
|
353
|
+
metadata: z.ZodOptional<z.ZodUnion<readonly [z.ZodObject<{
|
|
354
|
+
imageUrl: z.ZodString;
|
|
355
|
+
}, z.core.$strip>, z.ZodObject<{
|
|
356
|
+
imageUrls: z.ZodArray<z.ZodString>;
|
|
357
|
+
}, z.core.$strip>, z.ZodObject<{}, z.core.$strip>]>>;
|
|
358
|
+
}, z.core.$strip>, z.ZodObject<{
|
|
359
|
+
id: z.ZodNumber;
|
|
360
|
+
chatId: z.ZodString;
|
|
361
|
+
messageId: z.ZodString;
|
|
362
|
+
type: z.ZodLiteral<import("../schemas").StreamEventType.IMAGE>;
|
|
363
|
+
imageBase64: z.ZodString;
|
|
364
|
+
imageMimeType: z.ZodString;
|
|
365
|
+
imageIndex: z.ZodNumber;
|
|
366
|
+
}, z.core.$strip>, z.ZodObject<{
|
|
367
|
+
id: z.ZodNumber;
|
|
368
|
+
chatId: z.ZodString;
|
|
369
|
+
messageId: z.ZodString;
|
|
370
|
+
type: z.ZodLiteral<import("../schemas").StreamEventType.IMAGE_GENERATION_ERROR>;
|
|
371
|
+
}, z.core.$strip>, z.ZodObject<{
|
|
372
|
+
id: z.ZodNumber;
|
|
373
|
+
chatId: z.ZodString;
|
|
374
|
+
messageId: z.ZodString;
|
|
375
|
+
type: z.ZodLiteral<import("../schemas").StreamEventType.CITATIONS>;
|
|
376
|
+
citations: z.ZodArray<z.ZodObject<{
|
|
377
|
+
url: z.ZodString;
|
|
378
|
+
title: z.ZodString;
|
|
379
|
+
content: z.ZodOptional<z.ZodString>;
|
|
380
|
+
startIndex: z.ZodNumber;
|
|
381
|
+
endIndex: z.ZodNumber;
|
|
382
|
+
}, z.core.$strip>>;
|
|
383
|
+
}, z.core.$strip>, z.ZodObject<{
|
|
384
|
+
type: z.ZodLiteral<import("../schemas").StreamEventType.HEARTBEAT>;
|
|
385
|
+
timestamp: z.ZodString;
|
|
386
|
+
}, z.core.$strip>, z.ZodObject<{
|
|
387
|
+
id: z.ZodNumber;
|
|
388
|
+
chatId: z.ZodString;
|
|
389
|
+
messageId: z.ZodString;
|
|
390
|
+
type: z.ZodLiteral<import("../schemas").StreamEventType.BILLING_ESTIMATE>;
|
|
391
|
+
holdId: z.ZodString;
|
|
392
|
+
estimatedTokens: z.ZodNumber;
|
|
393
|
+
}, z.core.$strip>, z.ZodObject<{
|
|
394
|
+
id: z.ZodNumber;
|
|
395
|
+
chatId: z.ZodString;
|
|
396
|
+
messageId: z.ZodString;
|
|
397
|
+
type: z.ZodLiteral<import("../schemas").StreamEventType.STEP_BILLED>;
|
|
398
|
+
holdId: z.ZodString;
|
|
399
|
+
stepId: z.ZodString;
|
|
400
|
+
stepTokens: z.ZodNumber;
|
|
401
|
+
heldTokens: z.ZodNumber;
|
|
402
|
+
requestedTokens: z.ZodOptional<z.ZodNumber>;
|
|
403
|
+
discountTokens: z.ZodOptional<z.ZodNumber>;
|
|
404
|
+
}, z.core.$strip>, z.ZodObject<{
|
|
405
|
+
id: z.ZodNumber;
|
|
406
|
+
chatId: z.ZodString;
|
|
407
|
+
messageId: z.ZodString;
|
|
408
|
+
errorCategory: z.ZodOptional<z.ZodNullable<z.ZodEnum<typeof import("../schemas").MessageErrorCategory>>>;
|
|
409
|
+
errorActions: z.ZodOptional<z.ZodArray<z.ZodEnum<typeof import("../schemas").MessageErrorAction>>>;
|
|
410
|
+
type: z.ZodLiteral<import("../schemas").StreamEventType.DONE>;
|
|
411
|
+
chargedTokens: z.ZodOptional<z.ZodNumber>;
|
|
412
|
+
}, z.core.$strip>, z.ZodObject<{
|
|
413
|
+
id: z.ZodNumber;
|
|
414
|
+
chatId: z.ZodString;
|
|
415
|
+
messageId: z.ZodString;
|
|
416
|
+
errorCategory: z.ZodOptional<z.ZodNullable<z.ZodEnum<typeof import("../schemas").MessageErrorCategory>>>;
|
|
417
|
+
errorActions: z.ZodOptional<z.ZodArray<z.ZodEnum<typeof import("../schemas").MessageErrorAction>>>;
|
|
418
|
+
type: z.ZodLiteral<import("../schemas").StreamEventType.CANCELLED>;
|
|
419
|
+
chargedTokens: z.ZodOptional<z.ZodNumber>;
|
|
420
|
+
reason: z.ZodOptional<z.ZodEnum<typeof import("../schemas").StreamCancellationReason>>;
|
|
421
|
+
failedStepType: z.ZodOptional<z.ZodEnum<typeof import("../schemas").GenerationStepType>>;
|
|
422
|
+
requiredTokens: z.ZodOptional<z.ZodNumber>;
|
|
423
|
+
shortfallTokens: z.ZodOptional<z.ZodNumber>;
|
|
424
|
+
}, z.core.$strip>, z.ZodObject<{
|
|
425
|
+
id: z.ZodNumber;
|
|
426
|
+
chatId: z.ZodString;
|
|
427
|
+
messageId: z.ZodString;
|
|
428
|
+
errorCategory: z.ZodOptional<z.ZodNullable<z.ZodEnum<typeof import("../schemas").MessageErrorCategory>>>;
|
|
429
|
+
errorActions: z.ZodOptional<z.ZodArray<z.ZodEnum<typeof import("../schemas").MessageErrorAction>>>;
|
|
430
|
+
type: z.ZodLiteral<import("../schemas").StreamEventType.ERROR>;
|
|
431
|
+
chargedTokens: z.ZodOptional<z.ZodNumber>;
|
|
432
|
+
}, z.core.$strip>], "type">, z.ZodObject<{
|
|
433
|
+
type: z.ZodLiteral<"heartbeat">;
|
|
434
|
+
timestamp: z.ZodString;
|
|
435
|
+
}, z.core.$strip>]>;
|
|
209
436
|
const URL: (chatId: string, messageId: string) => string;
|
|
210
437
|
const METHOD = HttpMethod.GET;
|
|
211
438
|
const CONTENT_TYPE: "application/x-ndjson";
|
|
212
439
|
const IS_STREAM: true;
|
|
213
440
|
type RequestType = z.infer<typeof Request>;
|
|
214
441
|
type ResponseType = z.infer<typeof Response>;
|
|
442
|
+
type FrameType = z.infer<typeof Frame>;
|
|
215
443
|
}
|
|
@@ -13,6 +13,7 @@ var GetMessageStreamRegQuery;
|
|
|
13
13
|
(function (GetMessageStreamRegQuery) {
|
|
14
14
|
GetMessageStreamRegQuery.Request = zod_1.z.object({});
|
|
15
15
|
GetMessageStreamRegQuery.Response = schemas_1.StreamEventSchema;
|
|
16
|
+
GetMessageStreamRegQuery.Frame = schemas_1.MessageStreamFrameSchema;
|
|
16
17
|
GetMessageStreamRegQuery.URL = (chatId, messageId) => rest_api_1.REST_API.V1.MESSAGE.REG.STREAM(chatId, messageId);
|
|
17
18
|
GetMessageStreamRegQuery.METHOD = http_method_enum_1.HttpMethod.GET;
|
|
18
19
|
GetMessageStreamRegQuery.CONTENT_TYPE = 'application/x-ndjson';
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"get-message-stream-reg.query.js","sourceRoot":"","sources":["../../../../v1/message/queries/get-message-stream-reg.query.ts"],"names":[],"mappings":";;;AAAA,6BAAwB;AACxB,
|
|
1
|
+
{"version":3,"file":"get-message-stream-reg.query.js","sourceRoot":"","sources":["../../../../v1/message/queries/get-message-stream-reg.query.ts"],"names":[],"mappings":";;;AAAA,6BAAwB;AACxB,wCAAyE;AACzE,gDAA6C;AAC7C,uEAA8D;AAE9D;;;GAGG;AACH,IAAiB,wBAAwB,CAcxC;AAdD,WAAiB,wBAAwB;IACxB,gCAAO,GAAG,OAAC,CAAC,MAAM,CAAC,EAAE,CAAC,CAAC;IACvB,iCAAQ,GAAG,2BAAiB,CAAC;IAC7B,8BAAK,GAAG,kCAAwB,CAAC;IAEjC,4BAAG,GAAG,CAAC,MAAc,EAAE,SAAiB,EAAE,EAAE,CACrD,mBAAQ,CAAC,EAAE,CAAC,OAAO,CAAC,GAAG,CAAC,MAAM,CAAC,MAAM,EAAE,SAAS,CAAC,CAAC;IACzC,+BAAM,GAAG,6BAAU,CAAC,GAAG,CAAC;IACxB,qCAAY,GAAG,sBAA+B,CAAC;IAC/C,kCAAS,GAAG,IAAa,CAAC;AAK3C,CAAC,EAdgB,wBAAwB,wCAAxB,wBAAwB,QAcxC"}
|
|
@@ -7,6 +7,18 @@ import { HttpMethod } from '../../../shared/http-method.enum';
|
|
|
7
7
|
export declare namespace GetMessageStreamUnregQuery {
|
|
8
8
|
const Request: z.ZodObject<{}, z.core.$strip>;
|
|
9
9
|
const Response: z.ZodDiscriminatedUnion<[z.ZodObject<{
|
|
10
|
+
id: z.ZodNumber;
|
|
11
|
+
chatId: z.ZodString;
|
|
12
|
+
messageId: z.ZodString;
|
|
13
|
+
type: z.ZodLiteral<import("../schemas").StreamEventType.PREPARATION_STATUS>;
|
|
14
|
+
status: z.ZodEnum<typeof import("../schemas").PreparationStatus>;
|
|
15
|
+
phase: z.ZodOptional<z.ZodEnum<{
|
|
16
|
+
FILES: "FILES";
|
|
17
|
+
OCR: "OCR";
|
|
18
|
+
}>>;
|
|
19
|
+
processedPages: z.ZodOptional<z.ZodNumber>;
|
|
20
|
+
plannedPages: z.ZodOptional<z.ZodNumber>;
|
|
21
|
+
}, z.core.$strip>, z.ZodObject<{
|
|
10
22
|
id: z.ZodNumber;
|
|
11
23
|
chatId: z.ZodString;
|
|
12
24
|
messageId: z.ZodString;
|
|
@@ -206,10 +218,226 @@ export declare namespace GetMessageStreamUnregQuery {
|
|
|
206
218
|
type: z.ZodLiteral<import("../schemas").StreamEventType.ERROR>;
|
|
207
219
|
chargedTokens: z.ZodOptional<z.ZodNumber>;
|
|
208
220
|
}, z.core.$strip>], "type">;
|
|
221
|
+
const Frame: z.ZodUnion<readonly [z.ZodDiscriminatedUnion<[z.ZodObject<{
|
|
222
|
+
id: z.ZodNumber;
|
|
223
|
+
chatId: z.ZodString;
|
|
224
|
+
messageId: z.ZodString;
|
|
225
|
+
type: z.ZodLiteral<import("../schemas").StreamEventType.PREPARATION_STATUS>;
|
|
226
|
+
status: z.ZodEnum<typeof import("../schemas").PreparationStatus>;
|
|
227
|
+
phase: z.ZodOptional<z.ZodEnum<{
|
|
228
|
+
FILES: "FILES";
|
|
229
|
+
OCR: "OCR";
|
|
230
|
+
}>>;
|
|
231
|
+
processedPages: z.ZodOptional<z.ZodNumber>;
|
|
232
|
+
plannedPages: z.ZodOptional<z.ZodNumber>;
|
|
233
|
+
}, z.core.$strip>, z.ZodObject<{
|
|
234
|
+
id: z.ZodNumber;
|
|
235
|
+
chatId: z.ZodString;
|
|
236
|
+
messageId: z.ZodString;
|
|
237
|
+
type: z.ZodLiteral<import("../schemas").StreamEventType.GENERATION_STATUS>;
|
|
238
|
+
status: z.ZodEnum<typeof import("../schemas").GenerationStatus>;
|
|
239
|
+
modelId: z.ZodString;
|
|
240
|
+
}, z.core.$strip>, z.ZodObject<{
|
|
241
|
+
id: z.ZodNumber;
|
|
242
|
+
chatId: z.ZodString;
|
|
243
|
+
messageId: z.ZodString;
|
|
244
|
+
type: z.ZodLiteral<import("../schemas").StreamEventType.STEP_START>;
|
|
245
|
+
stepType: z.ZodEnum<typeof import("../schemas").GenerationStepType>;
|
|
246
|
+
stepId: z.ZodString;
|
|
247
|
+
stepIndex: z.ZodNumber;
|
|
248
|
+
modelUuid: z.ZodDefault<z.ZodNullable<z.ZodString>>;
|
|
249
|
+
metadata: z.ZodOptional<z.ZodUnion<readonly [z.ZodObject<{
|
|
250
|
+
path: z.ZodString;
|
|
251
|
+
filename: z.ZodString;
|
|
252
|
+
}, z.core.$strip>, z.ZodObject<{
|
|
253
|
+
queries: z.ZodArray<z.ZodString>;
|
|
254
|
+
}, z.core.$strip>, z.ZodObject<{
|
|
255
|
+
query: z.ZodString;
|
|
256
|
+
}, z.core.$strip>, z.ZodObject<{
|
|
257
|
+
sourceResolution: z.ZodString;
|
|
258
|
+
sourceImageCount: z.ZodNumber;
|
|
259
|
+
}, z.core.$strip>, z.ZodObject<{
|
|
260
|
+
videoUrl: z.ZodString;
|
|
261
|
+
}, z.core.$strip>, z.ZodObject<{
|
|
262
|
+
primitiveType: z.ZodEnum<typeof import("../..").SandboxPrimitiveType>;
|
|
263
|
+
}, z.core.$strip>, z.ZodObject<{
|
|
264
|
+
toolName: z.ZodString;
|
|
265
|
+
connectionUuid: z.ZodString;
|
|
266
|
+
providerKey: z.ZodNullable<z.ZodString>;
|
|
267
|
+
argsPreview: z.ZodOptional<z.ZodString>;
|
|
268
|
+
}, z.core.$strip>]>>;
|
|
269
|
+
}, z.core.$strip>, z.ZodObject<{
|
|
270
|
+
id: z.ZodNumber;
|
|
271
|
+
chatId: z.ZodString;
|
|
272
|
+
messageId: z.ZodString;
|
|
273
|
+
type: z.ZodLiteral<import("../schemas").StreamEventType.STEP_CHUNK>;
|
|
274
|
+
stepType: z.ZodEnum<typeof import("../schemas").GenerationStepType>;
|
|
275
|
+
stepId: z.ZodString;
|
|
276
|
+
chunk: z.ZodString;
|
|
277
|
+
modelUuid: z.ZodDefault<z.ZodNullable<z.ZodString>>;
|
|
278
|
+
metadata: z.ZodOptional<z.ZodDiscriminatedUnion<[z.ZodObject<{
|
|
279
|
+
kind: z.ZodLiteral<import("../schemas").StepChunkKind.ARGS>;
|
|
280
|
+
primitiveType: z.ZodEnum<typeof import("../..").SandboxPrimitiveType>;
|
|
281
|
+
}, z.core.$strip>, z.ZodObject<{
|
|
282
|
+
kind: z.ZodLiteral<import("../schemas").StepChunkKind.DESCRIBE>;
|
|
283
|
+
primitiveType: z.ZodEnum<typeof import("../..").SandboxPrimitiveType>;
|
|
284
|
+
}, z.core.$strip>, z.ZodObject<{
|
|
285
|
+
kind: z.ZodLiteral<import("../schemas").StepChunkKind.BASH>;
|
|
286
|
+
stream: z.ZodEnum<typeof import("../schemas").BashChunkStream>;
|
|
287
|
+
}, z.core.$strip>, z.ZodObject<{
|
|
288
|
+
kind: z.ZodLiteral<import("../schemas").StepChunkKind.CREATE_FILE>;
|
|
289
|
+
path: z.ZodString;
|
|
290
|
+
totalLines: z.ZodNumber;
|
|
291
|
+
bytesWritten: z.ZodNumber;
|
|
292
|
+
overwrite: z.ZodBoolean;
|
|
293
|
+
preview: z.ZodObject<{
|
|
294
|
+
lines: z.ZodArray<z.ZodString>;
|
|
295
|
+
truncated: z.ZodBoolean;
|
|
296
|
+
}, z.core.$strip>;
|
|
297
|
+
}, z.core.$strip>, z.ZodObject<{
|
|
298
|
+
kind: z.ZodLiteral<import("../schemas").StepChunkKind.STR_REPLACE>;
|
|
299
|
+
path: z.ZodString;
|
|
300
|
+
linesAdded: z.ZodNumber;
|
|
301
|
+
linesRemoved: z.ZodNumber;
|
|
302
|
+
linesBefore: z.ZodNumber;
|
|
303
|
+
linesAfter: z.ZodNumber;
|
|
304
|
+
hunk: z.ZodObject<{
|
|
305
|
+
startLine: z.ZodNumber;
|
|
306
|
+
contextBefore: z.ZodArray<z.ZodString>;
|
|
307
|
+
oldLines: z.ZodArray<z.ZodString>;
|
|
308
|
+
newLines: z.ZodArray<z.ZodString>;
|
|
309
|
+
contextAfter: z.ZodArray<z.ZodString>;
|
|
310
|
+
truncated: z.ZodBoolean;
|
|
311
|
+
}, z.core.$strip>;
|
|
312
|
+
}, z.core.$strip>, z.ZodObject<{
|
|
313
|
+
kind: z.ZodLiteral<import("../schemas").StepChunkKind.VIEW>;
|
|
314
|
+
path: z.ZodString;
|
|
315
|
+
view: z.ZodDiscriminatedUnion<[z.ZodObject<{
|
|
316
|
+
type: z.ZodLiteral<import("../..").SandboxViewKind.DIRECTORY>;
|
|
317
|
+
entryCount: z.ZodNumber;
|
|
318
|
+
}, z.core.$strip>, z.ZodObject<{
|
|
319
|
+
type: z.ZodLiteral<import("../..").SandboxViewKind.TEXT>;
|
|
320
|
+
startLine: z.ZodNumber;
|
|
321
|
+
endLine: z.ZodNumber;
|
|
322
|
+
totalLines: z.ZodNumber;
|
|
323
|
+
truncated: z.ZodBoolean;
|
|
324
|
+
}, z.core.$strip>, z.ZodObject<{
|
|
325
|
+
type: z.ZodLiteral<import("../..").SandboxViewKind.IMAGE>;
|
|
326
|
+
}, z.core.$strip>, z.ZodObject<{
|
|
327
|
+
type: z.ZodLiteral<import("../..").SandboxViewKind.PDF>;
|
|
328
|
+
pagesShown: z.ZodNumber;
|
|
329
|
+
}, z.core.$strip>], "type">;
|
|
330
|
+
}, z.core.$strip>], "kind">>;
|
|
331
|
+
}, z.core.$strip>, z.ZodObject<{
|
|
332
|
+
id: z.ZodNumber;
|
|
333
|
+
chatId: z.ZodString;
|
|
334
|
+
messageId: z.ZodString;
|
|
335
|
+
type: z.ZodLiteral<import("../schemas").StreamEventType.STEP_ERROR>;
|
|
336
|
+
stepType: z.ZodEnum<typeof import("../schemas").GenerationStepType>;
|
|
337
|
+
stepId: z.ZodString;
|
|
338
|
+
stepIndex: z.ZodNumber;
|
|
339
|
+
modelUuid: z.ZodDefault<z.ZodNullable<z.ZodString>>;
|
|
340
|
+
errorCode: z.ZodString;
|
|
341
|
+
errorMessage: z.ZodOptional<z.ZodString>;
|
|
342
|
+
}, z.core.$strip>, z.ZodObject<{
|
|
343
|
+
id: z.ZodNumber;
|
|
344
|
+
chatId: z.ZodString;
|
|
345
|
+
messageId: z.ZodString;
|
|
346
|
+
type: z.ZodLiteral<import("../schemas").StreamEventType.STEP_DONE>;
|
|
347
|
+
stepType: z.ZodEnum<typeof import("../schemas").GenerationStepType>;
|
|
348
|
+
stepId: z.ZodString;
|
|
349
|
+
stepIndex: z.ZodNumber;
|
|
350
|
+
modelUuid: z.ZodDefault<z.ZodNullable<z.ZodString>>;
|
|
351
|
+
fullContent: z.ZodOptional<z.ZodString>;
|
|
352
|
+
structuredContent: z.ZodOptional<z.ZodRecord<z.ZodString, z.ZodUnknown>>;
|
|
353
|
+
metadata: z.ZodOptional<z.ZodUnion<readonly [z.ZodObject<{
|
|
354
|
+
imageUrl: z.ZodString;
|
|
355
|
+
}, z.core.$strip>, z.ZodObject<{
|
|
356
|
+
imageUrls: z.ZodArray<z.ZodString>;
|
|
357
|
+
}, z.core.$strip>, z.ZodObject<{}, z.core.$strip>]>>;
|
|
358
|
+
}, z.core.$strip>, z.ZodObject<{
|
|
359
|
+
id: z.ZodNumber;
|
|
360
|
+
chatId: z.ZodString;
|
|
361
|
+
messageId: z.ZodString;
|
|
362
|
+
type: z.ZodLiteral<import("../schemas").StreamEventType.IMAGE>;
|
|
363
|
+
imageBase64: z.ZodString;
|
|
364
|
+
imageMimeType: z.ZodString;
|
|
365
|
+
imageIndex: z.ZodNumber;
|
|
366
|
+
}, z.core.$strip>, z.ZodObject<{
|
|
367
|
+
id: z.ZodNumber;
|
|
368
|
+
chatId: z.ZodString;
|
|
369
|
+
messageId: z.ZodString;
|
|
370
|
+
type: z.ZodLiteral<import("../schemas").StreamEventType.IMAGE_GENERATION_ERROR>;
|
|
371
|
+
}, z.core.$strip>, z.ZodObject<{
|
|
372
|
+
id: z.ZodNumber;
|
|
373
|
+
chatId: z.ZodString;
|
|
374
|
+
messageId: z.ZodString;
|
|
375
|
+
type: z.ZodLiteral<import("../schemas").StreamEventType.CITATIONS>;
|
|
376
|
+
citations: z.ZodArray<z.ZodObject<{
|
|
377
|
+
url: z.ZodString;
|
|
378
|
+
title: z.ZodString;
|
|
379
|
+
content: z.ZodOptional<z.ZodString>;
|
|
380
|
+
startIndex: z.ZodNumber;
|
|
381
|
+
endIndex: z.ZodNumber;
|
|
382
|
+
}, z.core.$strip>>;
|
|
383
|
+
}, z.core.$strip>, z.ZodObject<{
|
|
384
|
+
type: z.ZodLiteral<import("../schemas").StreamEventType.HEARTBEAT>;
|
|
385
|
+
timestamp: z.ZodString;
|
|
386
|
+
}, z.core.$strip>, z.ZodObject<{
|
|
387
|
+
id: z.ZodNumber;
|
|
388
|
+
chatId: z.ZodString;
|
|
389
|
+
messageId: z.ZodString;
|
|
390
|
+
type: z.ZodLiteral<import("../schemas").StreamEventType.BILLING_ESTIMATE>;
|
|
391
|
+
holdId: z.ZodString;
|
|
392
|
+
estimatedTokens: z.ZodNumber;
|
|
393
|
+
}, z.core.$strip>, z.ZodObject<{
|
|
394
|
+
id: z.ZodNumber;
|
|
395
|
+
chatId: z.ZodString;
|
|
396
|
+
messageId: z.ZodString;
|
|
397
|
+
type: z.ZodLiteral<import("../schemas").StreamEventType.STEP_BILLED>;
|
|
398
|
+
holdId: z.ZodString;
|
|
399
|
+
stepId: z.ZodString;
|
|
400
|
+
stepTokens: z.ZodNumber;
|
|
401
|
+
heldTokens: z.ZodNumber;
|
|
402
|
+
requestedTokens: z.ZodOptional<z.ZodNumber>;
|
|
403
|
+
discountTokens: z.ZodOptional<z.ZodNumber>;
|
|
404
|
+
}, z.core.$strip>, z.ZodObject<{
|
|
405
|
+
id: z.ZodNumber;
|
|
406
|
+
chatId: z.ZodString;
|
|
407
|
+
messageId: z.ZodString;
|
|
408
|
+
errorCategory: z.ZodOptional<z.ZodNullable<z.ZodEnum<typeof import("../schemas").MessageErrorCategory>>>;
|
|
409
|
+
errorActions: z.ZodOptional<z.ZodArray<z.ZodEnum<typeof import("../schemas").MessageErrorAction>>>;
|
|
410
|
+
type: z.ZodLiteral<import("../schemas").StreamEventType.DONE>;
|
|
411
|
+
chargedTokens: z.ZodOptional<z.ZodNumber>;
|
|
412
|
+
}, z.core.$strip>, z.ZodObject<{
|
|
413
|
+
id: z.ZodNumber;
|
|
414
|
+
chatId: z.ZodString;
|
|
415
|
+
messageId: z.ZodString;
|
|
416
|
+
errorCategory: z.ZodOptional<z.ZodNullable<z.ZodEnum<typeof import("../schemas").MessageErrorCategory>>>;
|
|
417
|
+
errorActions: z.ZodOptional<z.ZodArray<z.ZodEnum<typeof import("../schemas").MessageErrorAction>>>;
|
|
418
|
+
type: z.ZodLiteral<import("../schemas").StreamEventType.CANCELLED>;
|
|
419
|
+
chargedTokens: z.ZodOptional<z.ZodNumber>;
|
|
420
|
+
reason: z.ZodOptional<z.ZodEnum<typeof import("../schemas").StreamCancellationReason>>;
|
|
421
|
+
failedStepType: z.ZodOptional<z.ZodEnum<typeof import("../schemas").GenerationStepType>>;
|
|
422
|
+
requiredTokens: z.ZodOptional<z.ZodNumber>;
|
|
423
|
+
shortfallTokens: z.ZodOptional<z.ZodNumber>;
|
|
424
|
+
}, z.core.$strip>, z.ZodObject<{
|
|
425
|
+
id: z.ZodNumber;
|
|
426
|
+
chatId: z.ZodString;
|
|
427
|
+
messageId: z.ZodString;
|
|
428
|
+
errorCategory: z.ZodOptional<z.ZodNullable<z.ZodEnum<typeof import("../schemas").MessageErrorCategory>>>;
|
|
429
|
+
errorActions: z.ZodOptional<z.ZodArray<z.ZodEnum<typeof import("../schemas").MessageErrorAction>>>;
|
|
430
|
+
type: z.ZodLiteral<import("../schemas").StreamEventType.ERROR>;
|
|
431
|
+
chargedTokens: z.ZodOptional<z.ZodNumber>;
|
|
432
|
+
}, z.core.$strip>], "type">, z.ZodObject<{
|
|
433
|
+
type: z.ZodLiteral<"heartbeat">;
|
|
434
|
+
timestamp: z.ZodString;
|
|
435
|
+
}, z.core.$strip>]>;
|
|
209
436
|
const URL: (chatId: string, messageId: string) => string;
|
|
210
437
|
const METHOD = HttpMethod.GET;
|
|
211
438
|
const CONTENT_TYPE: "application/x-ndjson";
|
|
212
439
|
const IS_STREAM: true;
|
|
213
440
|
type RequestType = z.infer<typeof Request>;
|
|
214
441
|
type ResponseType = z.infer<typeof Response>;
|
|
442
|
+
type FrameType = z.infer<typeof Frame>;
|
|
215
443
|
}
|
|
@@ -13,6 +13,7 @@ var GetMessageStreamUnregQuery;
|
|
|
13
13
|
(function (GetMessageStreamUnregQuery) {
|
|
14
14
|
GetMessageStreamUnregQuery.Request = zod_1.z.object({});
|
|
15
15
|
GetMessageStreamUnregQuery.Response = schemas_1.StreamEventSchema;
|
|
16
|
+
GetMessageStreamUnregQuery.Frame = schemas_1.MessageStreamFrameSchema;
|
|
16
17
|
GetMessageStreamUnregQuery.URL = (chatId, messageId) => rest_api_1.REST_API.V1.MESSAGE.UNREG.STREAM(chatId, messageId);
|
|
17
18
|
GetMessageStreamUnregQuery.METHOD = http_method_enum_1.HttpMethod.GET;
|
|
18
19
|
GetMessageStreamUnregQuery.CONTENT_TYPE = 'application/x-ndjson';
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"get-message-stream-unreg.query.js","sourceRoot":"","sources":["../../../../v1/message/queries/get-message-stream-unreg.query.ts"],"names":[],"mappings":";;;AAAA,6BAAwB;AACxB,
|
|
1
|
+
{"version":3,"file":"get-message-stream-unreg.query.js","sourceRoot":"","sources":["../../../../v1/message/queries/get-message-stream-unreg.query.ts"],"names":[],"mappings":";;;AAAA,6BAAwB;AACxB,wCAAyE;AACzE,gDAA6C;AAC7C,uEAA8D;AAE9D;;;GAGG;AACH,IAAiB,0BAA0B,CAc1C;AAdD,WAAiB,0BAA0B;IAC1B,kCAAO,GAAG,OAAC,CAAC,MAAM,CAAC,EAAE,CAAC,CAAC;IACvB,mCAAQ,GAAG,2BAAiB,CAAC;IAC7B,gCAAK,GAAG,kCAAwB,CAAC;IAEjC,8BAAG,GAAG,CAAC,MAAc,EAAE,SAAiB,EAAE,EAAE,CACrD,mBAAQ,CAAC,EAAE,CAAC,OAAO,CAAC,KAAK,CAAC,MAAM,CAAC,MAAM,EAAE,SAAS,CAAC,CAAC;IAC3C,iCAAM,GAAG,6BAAU,CAAC,GAAG,CAAC;IACxB,uCAAY,GAAG,sBAA+B,CAAC;IAC/C,oCAAS,GAAG,IAAa,CAAC;AAK3C,CAAC,EAdgB,0BAA0B,0CAA1B,0BAA0B,QAc1C"}
|
|
@@ -0,0 +1,8 @@
|
|
|
1
|
+
import { z } from 'zod';
|
|
2
|
+
/** Existing stored file-registry search observation; no model-facing snippets or internals. */
|
|
3
|
+
export declare const FindInChatStepContentSchema: z.ZodObject<{
|
|
4
|
+
query: z.ZodString;
|
|
5
|
+
matchCount: z.ZodNumber;
|
|
6
|
+
attachmentIds: z.ZodArray<z.ZodString>;
|
|
7
|
+
}, z.core.$strip>;
|
|
8
|
+
export type FindInChatStepContent = z.infer<typeof FindInChatStepContentSchema>;
|
|
@@ -0,0 +1,11 @@
|
|
|
1
|
+
"use strict";
|
|
2
|
+
Object.defineProperty(exports, "__esModule", { value: true });
|
|
3
|
+
exports.FindInChatStepContentSchema = void 0;
|
|
4
|
+
const zod_1 = require("zod");
|
|
5
|
+
/** Existing stored file-registry search observation; no model-facing snippets or internals. */
|
|
6
|
+
exports.FindInChatStepContentSchema = zod_1.z.object({
|
|
7
|
+
query: zod_1.z.string().max(1000),
|
|
8
|
+
matchCount: zod_1.z.number().int().nonnegative(),
|
|
9
|
+
attachmentIds: zod_1.z.array(zod_1.z.string().max(128)).max(1000),
|
|
10
|
+
});
|
|
11
|
+
//# sourceMappingURL=find-in-chat-step-content.schema.js.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"find-in-chat-step-content.schema.js","sourceRoot":"","sources":["../../../../v1/message/schemas/find-in-chat-step-content.schema.ts"],"names":[],"mappings":";;;AAAA,6BAAwB;AAExB,+FAA+F;AAClF,QAAA,2BAA2B,GAAG,OAAC,CAAC,MAAM,CAAC;IAChD,KAAK,EAAE,OAAC,CAAC,MAAM,EAAE,CAAC,GAAG,CAAC,IAAI,CAAC;IAC3B,UAAU,EAAE,OAAC,CAAC,MAAM,EAAE,CAAC,GAAG,EAAE,CAAC,WAAW,EAAE;IAC1C,aAAa,EAAE,OAAC,CAAC,KAAK,CAAC,OAAC,CAAC,MAAM,EAAE,CAAC,GAAG,CAAC,GAAG,CAAC,CAAC,CAAC,GAAG,CAAC,IAAI,CAAC;CACxD,CAAC,CAAC"}
|
|
@@ -1,3 +1,5 @@
|
|
|
1
|
+
export * from './find-in-chat-step-content.schema';
|
|
2
|
+
export * from './view-file-step-content.schema';
|
|
1
3
|
export * from './send-file-step-content.schema';
|
|
2
4
|
export * from './search-file-step-content.schema';
|
|
3
5
|
export { MessageRole } from './message-role.enum';
|
|
@@ -13,7 +15,10 @@ export type { MessageAttachmentResponse, MessageAttachmentsResponse, AttachmentM
|
|
|
13
15
|
export { MessageCitationResponseSchema, MessageCitationsResponseSchema, } from './message-citation-response.schema';
|
|
14
16
|
export type { MessageCitationResponse, MessageCitationsResponse, } from './message-citation-response.schema';
|
|
15
17
|
export { StreamEventType } from './stream-event-type.enum';
|
|
16
|
-
export {
|
|
18
|
+
export { PreparationStatus } from './preparation-status.enum';
|
|
19
|
+
export { MessageStreamFrameSchema, type MessageStreamFrame } from './message-stream-frame.schema';
|
|
20
|
+
export { TransportHeartbeatSchema, CompatibleTransportHeartbeatSchema, type TransportHeartbeat, } from './transport-heartbeat.schema';
|
|
21
|
+
export { StreamEventSchema, StreamGenerationStatusEventSchema, StreamPreparationStatusEventSchema, StreamStepStartEventSchema, StreamStepChunkEventSchema, StreamStepErrorEventSchema, StreamStepDoneEventSchema, StreamStepBilledEventSchema, StreamBillingEstimateEventSchema, StreamImageEventSchema, StreamImageGenerationErrorEventSchema, StreamCitationsEventSchema, StreamHeartbeatEventSchema, StreamDoneEventSchema, StreamCancelledEventSchema, StreamErrorEventSchema, StreamCancellationReason, } from './stream-events.schema';
|
|
17
22
|
export { CitationStatus } from './citation-status.enum';
|
|
18
23
|
export { CitationSchema, type Citation } from './citation.schema';
|
|
19
24
|
export { SendFileStepStartMetadataSchema, StepStartMetadataSchema, StepDoneMetadataSchema, WebSearchStepStartMetadataSchema, ConversationSearchStepStartMetadataSchema, ImageEditStepStartMetadataSchema, VideoAnalysisStepStartMetadataSchema, CodeExecutionStepStartMetadataSchema, ConnectorToolStepStartMetadataSchema, UploadStepDoneMetadataSchema, StepStartMetadataByType, StepDoneMetadataByType, } from './step-metadata.schema';
|
|
@@ -14,8 +14,11 @@ var __exportStar = (this && this.__exportStar) || function(m, exports) {
|
|
|
14
14
|
for (var p in m) if (p !== "default" && !Object.prototype.hasOwnProperty.call(exports, p)) __createBinding(exports, m, p);
|
|
15
15
|
};
|
|
16
16
|
Object.defineProperty(exports, "__esModule", { value: true });
|
|
17
|
-
exports.
|
|
18
|
-
exports.
|
|
17
|
+
exports.SendFileStepStartMetadataSchema = exports.CitationSchema = exports.CitationStatus = exports.StreamCancellationReason = exports.StreamErrorEventSchema = exports.StreamCancelledEventSchema = exports.StreamDoneEventSchema = exports.StreamHeartbeatEventSchema = exports.StreamCitationsEventSchema = exports.StreamImageGenerationErrorEventSchema = exports.StreamImageEventSchema = exports.StreamBillingEstimateEventSchema = exports.StreamStepBilledEventSchema = exports.StreamStepDoneEventSchema = exports.StreamStepErrorEventSchema = exports.StreamStepChunkEventSchema = exports.StreamStepStartEventSchema = exports.StreamPreparationStatusEventSchema = exports.StreamGenerationStatusEventSchema = exports.StreamEventSchema = exports.CompatibleTransportHeartbeatSchema = exports.TransportHeartbeatSchema = exports.MessageStreamFrameSchema = exports.PreparationStatus = exports.StreamEventType = exports.MessageCitationsResponseSchema = exports.MessageCitationResponseSchema = exports.AttachmentMetaResponseSchema = exports.MessageAttachmentsResponseSchema = exports.MessageAttachmentResponseSchema = exports.ConnectorToolStepContentSchema = exports.VideoAnalysisStepContentSchema = exports.ConversationSearchStepContentSchema = exports.ConversationSearchResultItemSchema = exports.MemoryStepContentSchema = exports.CodeExecutionStepContentResponseSchema = exports.UploadStepContentSchema = exports.ImageGenStepContentSchema = exports.WebSearchStepContentSchema = exports.WebSearchCitationSchema = exports.TextStepContentSchema = exports.StepContentResponseSchema = exports.MessageStepsResponseSchema = exports.MessageStepResponseSchema = exports.MessageResponseSchema = exports.CreateMessageResponseSchema = exports.CreateMessageRequestSchema = exports.UserRating = exports.MessageStatus = exports.MessageRole = void 0;
|
|
18
|
+
exports.DeleteMessageResponseSchema = exports.DeleteMessageParamsSchema = exports.RateMessageParamsSchema = exports.RateMessageResponseSchema = exports.RateMessageRequestSchema = exports.GenerationStepSchema = exports.FollowupSuggestionsStepContentSchema = exports.FOLLOWUP_SUGGESTION_MAX_CHARS = exports.FOLLOWUP_SUGGESTIONS_MAX_COUNT = exports.FileTruncatedStepContentSchema = exports.TruncationUnit = exports.CapabilityLockedStepContentSchema = exports.LockedCapability = exports.BudgetPromoBudgetCutoffSchema = exports.BudgetPromoDiscountAppliedSchema = exports.BudgetPromoStepContentSchema = exports.BudgetPromoKind = exports.CardMessageKey = exports.CardCta = exports.MessageStepStatus = exports.isModelAttributedStepType = exports.MODEL_ATTRIBUTED_STEP_TYPES = exports.GenerationStepType = exports.AttachmentsSchema = exports.AttachmentSchema = exports.AttachmentStatus = exports.AttachmentType = exports.AttachmentSource = exports.ViewChunkMetadataSchema = exports.StrReplaceChunkMetadataSchema = exports.CreateFileChunkMetadataSchema = exports.BashChunkMetadataSchema = exports.DescribeChunkMetadataSchema = exports.ArgsChunkMetadataSchema = exports.StepChunkMetadataSchema = exports.STEP_CHUNK_LINES_MAX_ITEMS = exports.STEP_CHUNK_LINE_MAX_LENGTH = exports.BashChunkStream = exports.StepChunkKind = exports.StepDoneMetadataByType = exports.StepStartMetadataByType = exports.UploadStepDoneMetadataSchema = exports.ConnectorToolStepStartMetadataSchema = exports.CodeExecutionStepStartMetadataSchema = exports.VideoAnalysisStepStartMetadataSchema = exports.ImageEditStepStartMetadataSchema = exports.ConversationSearchStepStartMetadataSchema = exports.WebSearchStepStartMetadataSchema = exports.StepDoneMetadataSchema = exports.StepStartMetadataSchema = void 0;
|
|
19
|
+
exports.ErrorMetaSchema = exports.GenerationStatus = exports.MessageErrorAction = exports.MessageErrorCategory = exports.CancelStreamResponseSchema = void 0;
|
|
20
|
+
__exportStar(require("./find-in-chat-step-content.schema"), exports);
|
|
21
|
+
__exportStar(require("./view-file-step-content.schema"), exports);
|
|
19
22
|
__exportStar(require("./send-file-step-content.schema"), exports);
|
|
20
23
|
__exportStar(require("./search-file-step-content.schema"), exports);
|
|
21
24
|
var message_role_enum_1 = require("./message-role.enum");
|
|
@@ -54,9 +57,17 @@ Object.defineProperty(exports, "MessageCitationResponseSchema", { enumerable: tr
|
|
|
54
57
|
Object.defineProperty(exports, "MessageCitationsResponseSchema", { enumerable: true, get: function () { return message_citation_response_schema_1.MessageCitationsResponseSchema; } });
|
|
55
58
|
var stream_event_type_enum_1 = require("./stream-event-type.enum");
|
|
56
59
|
Object.defineProperty(exports, "StreamEventType", { enumerable: true, get: function () { return stream_event_type_enum_1.StreamEventType; } });
|
|
60
|
+
var preparation_status_enum_1 = require("./preparation-status.enum");
|
|
61
|
+
Object.defineProperty(exports, "PreparationStatus", { enumerable: true, get: function () { return preparation_status_enum_1.PreparationStatus; } });
|
|
62
|
+
var message_stream_frame_schema_1 = require("./message-stream-frame.schema");
|
|
63
|
+
Object.defineProperty(exports, "MessageStreamFrameSchema", { enumerable: true, get: function () { return message_stream_frame_schema_1.MessageStreamFrameSchema; } });
|
|
64
|
+
var transport_heartbeat_schema_1 = require("./transport-heartbeat.schema");
|
|
65
|
+
Object.defineProperty(exports, "TransportHeartbeatSchema", { enumerable: true, get: function () { return transport_heartbeat_schema_1.TransportHeartbeatSchema; } });
|
|
66
|
+
Object.defineProperty(exports, "CompatibleTransportHeartbeatSchema", { enumerable: true, get: function () { return transport_heartbeat_schema_1.CompatibleTransportHeartbeatSchema; } });
|
|
57
67
|
var stream_events_schema_1 = require("./stream-events.schema");
|
|
58
68
|
Object.defineProperty(exports, "StreamEventSchema", { enumerable: true, get: function () { return stream_events_schema_1.StreamEventSchema; } });
|
|
59
69
|
Object.defineProperty(exports, "StreamGenerationStatusEventSchema", { enumerable: true, get: function () { return stream_events_schema_1.StreamGenerationStatusEventSchema; } });
|
|
70
|
+
Object.defineProperty(exports, "StreamPreparationStatusEventSchema", { enumerable: true, get: function () { return stream_events_schema_1.StreamPreparationStatusEventSchema; } });
|
|
60
71
|
Object.defineProperty(exports, "StreamStepStartEventSchema", { enumerable: true, get: function () { return stream_events_schema_1.StreamStepStartEventSchema; } });
|
|
61
72
|
Object.defineProperty(exports, "StreamStepChunkEventSchema", { enumerable: true, get: function () { return stream_events_schema_1.StreamStepChunkEventSchema; } });
|
|
62
73
|
Object.defineProperty(exports, "StreamStepErrorEventSchema", { enumerable: true, get: function () { return stream_events_schema_1.StreamStepErrorEventSchema; } });
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"index.js","sourceRoot":"","sources":["../../../../v1/message/schemas/index.ts"],"names":[],"mappings":"
|
|
1
|
+
{"version":3,"file":"index.js","sourceRoot":"","sources":["../../../../v1/message/schemas/index.ts"],"names":[],"mappings":";;;;;;;;;;;;;;;;;;;AAAA,qEAAmD;AACnD,kEAAgD;AAChD,kEAAgD;AAChD,oEAAkD;AAClD,yDAAkD;AAAzC,gHAAA,WAAW,OAAA;AACpB,6DAAsD;AAA7C,oHAAA,aAAa,OAAA;AACtB,uDAAgD;AAAvC,8GAAA,UAAU,OAAA;AACnB,iFAA6E;AAApE,2IAAA,0BAA0B,OAAA;AACnC,mFAA+E;AAAtE,6IAAA,2BAA2B,OAAA;AACpC,qEAAkE;AAAzD,gIAAA,qBAAqB,OAAA;AAC9B,+EAewC;AAdpC,yIAAA,yBAAyB,OAAA;AACzB,0IAAA,0BAA0B,OAAA;AAC1B,yIAAA,yBAAyB,OAAA;AACzB,qIAAA,qBAAqB,OAAA;AACrB,uIAAA,uBAAuB,OAAA;AACvB,0IAAA,0BAA0B,OAAA;AAC1B,yIAAA,yBAAyB,OAAA;AACzB,uIAAA,uBAAuB,OAAA;AACvB,sJAAA,sCAAsC,OAAA;AACtC,uIAAA,uBAAuB,OAAA;AACvB,kJAAA,kCAAkC,OAAA;AAClC,mJAAA,mCAAmC,OAAA;AACnC,8IAAA,8BAA8B,OAAA;AAC9B,8IAAA,8BAA8B,OAAA;AAkBlC,2FAI8C;AAH1C,qJAAA,+BAA+B,OAAA;AAC/B,sJAAA,gCAAgC,OAAA;AAChC,kJAAA,4BAA4B,OAAA;AAOhC,uFAG4C;AAFxC,iJAAA,6BAA6B,OAAA;AAC7B,kJAAA,8BAA8B,OAAA;AAMlC,mEAA2D;AAAlD,yHAAA,eAAe,OAAA;AACxB,qEAA8D;AAArD,4HAAA,iBAAiB,OAAA;AAC1B,6EAAkG;AAAzF,uIAAA,wBAAwB,OAAA;AACjC,2EAIsC;AAHlC,sIAAA,wBAAwB,OAAA;AACxB,gJAAA,kCAAkC,OAAA;AAGtC,+DAkBgC;AAjB5B,yHAAA,iBAAiB,OAAA;AACjB,yIAAA,iCAAiC,OAAA;AACjC,0IAAA,kCAAkC,OAAA;AAClC,kIAAA,0BAA0B,OAAA;AAC1B,kIAAA,0BAA0B,OAAA;AAC1B,kIAAA,0BAA0B,OAAA;AAC1B,iIAAA,yBAAyB,OAAA;AACzB,mIAAA,2BAA2B,OAAA;AAC3B,wIAAA,gCAAgC,OAAA;AAChC,8HAAA,sBAAsB,OAAA;AACtB,6IAAA,qCAAqC,OAAA;AACrC,kIAAA,0BAA0B,OAAA;AAC1B,kIAAA,0BAA0B,OAAA;AAC1B,6HAAA,qBAAqB,OAAA;AACrB,kIAAA,0BAA0B,OAAA;AAC1B,8HAAA,sBAAsB,OAAA;AACtB,gIAAA,wBAAwB,OAAA;AAE5B,+DAAwD;AAA/C,sHAAA,cAAc,OAAA;AACvB,qDAAkE;AAAzD,iHAAA,cAAc,OAAA;AACvB,+DAagC;AAZ5B,uIAAA,+BAA+B,OAAA;AAC/B,+HAAA,uBAAuB,OAAA;AACvB,8HAAA,sBAAsB,OAAA;AACtB,wIAAA,gCAAgC,OAAA;AAChC,iJAAA,yCAAyC,OAAA;AACzC,wIAAA,gCAAgC,OAAA;AAChC,4IAAA,oCAAoC,OAAA;AACpC,4IAAA,oCAAoC,OAAA;AACpC,4IAAA,oCAAoC,OAAA;AACpC,oIAAA,4BAA4B,OAAA;AAC5B,+HAAA,uBAAuB,OAAA;AACvB,8HAAA,sBAAsB,OAAA;AAa1B,+DAAuD;AAA9C,qHAAA,aAAa,OAAA;AACtB,mEAA2D;AAAlD,yHAAA,eAAe,OAAA;AACxB,2EAUsC;AATlC,wIAAA,0BAA0B,OAAA;AAC1B,wIAAA,0BAA0B,OAAA;AAC1B,qIAAA,uBAAuB,OAAA;AACvB,qIAAA,uBAAuB,OAAA;AACvB,yIAAA,2BAA2B,OAAA;AAC3B,qIAAA,uBAAuB,OAAA;AACvB,2IAAA,6BAA6B,OAAA;AAC7B,2IAAA,6BAA6B,OAAA;AAC7B,qIAAA,uBAAuB,OAAA;AAW3B,mEAA4D;AAAnD,0HAAA,gBAAgB,OAAA;AACzB,+DAAwD;AAA/C,sHAAA,cAAc,OAAA;AACvB,mEAA4D;AAAnD,0HAAA,gBAAgB,OAAA;AACzB,yEAAkF;AAAzE,6HAAA,gBAAgB,OAAA;AAAE,8HAAA,iBAAiB,OAAA;AAE5C,yEAAiE;AAAxD,+HAAA,kBAAkB,OAAA;AAC3B,yFAG6C;AAFzC,gJAAA,2BAA2B,OAAA;AAC3B,8IAAA,yBAAyB,OAAA;AAE7B,uEAA+D;AAAtD,6HAAA,iBAAiB,OAAA;AAC1B,qDAA4D;AAAnD,0GAAA,OAAO,OAAA;AAAE,iHAAA,cAAc,OAAA;AAChC,uFAK4C;AAJxC,mIAAA,eAAe,OAAA;AACf,gJAAA,4BAA4B,OAAA;AAC5B,oJAAA,gCAAgC,OAAA;AAChC,iJAAA,6BAA6B,OAAA;AAGjC,iGAGiD;AAF7C,yIAAA,gBAAgB,OAAA;AAChB,0JAAA,iCAAiC,OAAA;AAGrC,2FAG8C;AAF1C,oIAAA,cAAc,OAAA;AACd,oJAAA,8BAA8B,OAAA;AAGlC,uGAIoD;AAHhD,0JAAA,8BAA8B,OAAA;AAC9B,yJAAA,6BAA6B,OAAA;AAC7B,gKAAA,oCAAoC,OAAA;AAGxC,mEAAgE;AAAvD,8HAAA,oBAAoB,OAAA;AAE7B,6DAI+B;AAH3B,+HAAA,wBAAwB,OAAA;AACxB,gIAAA,yBAAyB,OAAA;AACzB,8HAAA,uBAAuB,OAAA;AAO3B,iEAAiG;AAAxF,kIAAA,yBAAyB,OAAA;AAAE,oIAAA,2BAA2B,OAAA;AAE/D,iFAA6E;AAApE,2IAAA,0BAA0B,OAAA;AAGnC,6EAAqE;AAA5D,mIAAA,oBAAoB,OAAA;AAE7B,yEAAiE;AAAxD,+HAAA,kBAAkB,OAAA;AAE3B,mEAA4D;AAAnD,0HAAA,gBAAgB,OAAA;AACzB,yDAAsD;AAA7C,oHAAA,eAAe,OAAA"}
|