@veruna/api-contracts 13.0.0 → 13.2.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.
Files changed (88) hide show
  1. package/build/locales/validation.d.ts +16 -0
  2. package/build/locales/validation.js +16 -0
  3. package/build/locales/validation.js.map +1 -1
  4. package/build/tsconfig.tsbuildinfo +1 -1
  5. package/build/v1/chat/commands/create-reg-chat.command.d.ts +5 -0
  6. package/build/v1/chat/commands/create-unreg-chat.command.d.ts +5 -0
  7. package/build/v1/chat/commands/update-chat-title.command.d.ts +5 -0
  8. package/build/v1/chat/commands/update-chat.command.d.ts +5 -0
  9. package/build/v1/chat/queries/get-last-active-chat.query.d.ts +5 -0
  10. package/build/v1/chat/queries/get-reg-chat.query.d.ts +5 -0
  11. package/build/v1/chat/queries/get-unreg-chat.query.d.ts +5 -0
  12. package/build/v1/chat/schemas/chat-with-messages-response.schema.d.ts +5 -0
  13. package/build/v1/message/commands/create-message.command.d.ts +10 -0
  14. package/build/v1/message/queries/get-message-stream-reg.query.d.ts +5 -0
  15. package/build/v1/message/queries/get-message-stream-unreg.query.d.ts +5 -0
  16. package/build/v1/message/schemas/generation-step-type.enum.d.ts +2 -1
  17. package/build/v1/message/schemas/generation-step-type.enum.js +1 -0
  18. package/build/v1/message/schemas/generation-step-type.enum.js.map +1 -1
  19. package/build/v1/message/schemas/index.d.ts +4 -4
  20. package/build/v1/message/schemas/index.js +4 -2
  21. package/build/v1/message/schemas/index.js.map +1 -1
  22. package/build/v1/message/schemas/message-response.schema.d.ts +5 -0
  23. package/build/v1/message/schemas/message-step-response.schema.d.ts +22 -0
  24. package/build/v1/message/schemas/message-step-response.schema.js +8 -1
  25. package/build/v1/message/schemas/message-step-response.schema.js.map +1 -1
  26. package/build/v1/message/schemas/step-metadata.schema.d.ts +12 -0
  27. package/build/v1/message/schemas/step-metadata.schema.js +9 -1
  28. package/build/v1/message/schemas/step-metadata.schema.js.map +1 -1
  29. package/build/v1/message/schemas/stream-events.schema.d.ts +10 -0
  30. package/build/v1/seo-blocks/admin/commands/create-block.command.d.ts +2 -0
  31. package/build/v1/seo-blocks/admin/commands/update-block.command.d.ts +2 -0
  32. package/build/v1/seo-blocks/admin/queries/get-block.query.d.ts +1 -0
  33. package/build/v1/seo-blocks/admin/queries/get-blocks.query.d.ts +1 -0
  34. package/build/v1/seo-blocks/content-schemas/before-after-slider.block.d.ts +26 -0
  35. package/build/v1/seo-blocks/content-schemas/before-after-slider.block.js +21 -0
  36. package/build/v1/seo-blocks/content-schemas/before-after-slider.block.js.map +1 -0
  37. package/build/v1/seo-blocks/content-schemas/chat-cta.block.d.ts +8 -0
  38. package/build/v1/seo-blocks/content-schemas/chat-cta.block.js +11 -0
  39. package/build/v1/seo-blocks/content-schemas/chat-cta.block.js.map +1 -0
  40. package/build/v1/seo-blocks/content-schemas/fixed-section-markers.block.d.ts +5 -0
  41. package/build/v1/seo-blocks/content-schemas/fixed-section-markers.block.js +16 -0
  42. package/build/v1/seo-blocks/content-schemas/fixed-section-markers.block.js.map +1 -0
  43. package/build/v1/seo-blocks/content-schemas/generation-examples.block.d.ts +18 -0
  44. package/build/v1/seo-blocks/content-schemas/generation-examples.block.js +16 -0
  45. package/build/v1/seo-blocks/content-schemas/generation-examples.block.js.map +1 -0
  46. package/build/v1/seo-blocks/content-schemas/how-it-works.block.d.ts +30 -0
  47. package/build/v1/seo-blocks/content-schemas/how-it-works.block.js +21 -0
  48. package/build/v1/seo-blocks/content-schemas/how-it-works.block.js.map +1 -0
  49. package/build/v1/seo-blocks/content-schemas/index.d.ts +9 -0
  50. package/build/v1/seo-blocks/content-schemas/index.js +47 -1
  51. package/build/v1/seo-blocks/content-schemas/index.js.map +1 -1
  52. package/build/v1/seo-blocks/content-schemas/prompt-presets.block.d.ts +15 -0
  53. package/build/v1/seo-blocks/content-schemas/prompt-presets.block.js +14 -0
  54. package/build/v1/seo-blocks/content-schemas/prompt-presets.block.js.map +1 -0
  55. package/build/v1/seo-blocks/content-schemas/related-tools.block.d.ts +19 -0
  56. package/build/v1/seo-blocks/content-schemas/related-tools.block.js +20 -0
  57. package/build/v1/seo-blocks/content-schemas/related-tools.block.js.map +1 -0
  58. package/build/v1/seo-blocks/content-schemas/text-diff.block.d.ts +57 -0
  59. package/build/v1/seo-blocks/content-schemas/text-diff.block.js +22 -0
  60. package/build/v1/seo-blocks/content-schemas/text-diff.block.js.map +1 -0
  61. package/build/v1/seo-blocks/content-schemas/use-cases.block.d.ts +23 -0
  62. package/build/v1/seo-blocks/content-schemas/use-cases.block.js +18 -0
  63. package/build/v1/seo-blocks/content-schemas/use-cases.block.js.map +1 -0
  64. package/build/v1/seo-blocks/index.d.ts +1 -1
  65. package/build/v1/seo-blocks/index.js +2 -6
  66. package/build/v1/seo-blocks/index.js.map +1 -1
  67. package/build/v1/seo-blocks/schemas/admin-seo-block-sort.enum.d.ts +2 -1
  68. package/build/v1/seo-blocks/schemas/admin-seo-block-sort.enum.js +1 -0
  69. package/build/v1/seo-blocks/schemas/admin-seo-block-sort.enum.js.map +1 -1
  70. package/build/v1/seo-blocks/schemas/create-seo-block-request.schema.d.ts +1 -0
  71. package/build/v1/seo-blocks/schemas/create-seo-block-request.schema.js +6 -0
  72. package/build/v1/seo-blocks/schemas/create-seo-block-request.schema.js.map +1 -1
  73. package/build/v1/seo-blocks/schemas/seo-block-response.schema.d.ts +2 -0
  74. package/build/v1/seo-blocks/schemas/seo-block-response.schema.js +2 -0
  75. package/build/v1/seo-blocks/schemas/seo-block-response.schema.js.map +1 -1
  76. package/build/v1/seo-blocks/schemas/seo-block.constants.d.ts +1 -0
  77. package/build/v1/seo-blocks/schemas/seo-block.constants.js +2 -1
  78. package/build/v1/seo-blocks/schemas/seo-block.constants.js.map +1 -1
  79. package/build/v1/seo-blocks/schemas/update-seo-block-request.schema.d.ts +1 -0
  80. package/build/v1/seo-blocks/schemas/update-seo-block-request.schema.js +6 -0
  81. package/build/v1/seo-blocks/schemas/update-seo-block-request.schema.js.map +1 -1
  82. package/build/v1/seo-pages/admin/commands/create-page.command.d.ts +1 -0
  83. package/build/v1/seo-pages/admin/commands/update-page.command.d.ts +1 -0
  84. package/build/v1/seo-pages/admin/queries/get-page.query.d.ts +1 -0
  85. package/build/v1/seo-pages/public/queries/get-index-page.query.d.ts +1 -0
  86. package/build/v1/seo-pages/public/queries/get-page-by-alias.query.d.ts +1 -0
  87. package/build/v1/seo-pages/schemas/page-response.schema.d.ts +2 -0
  88. package/package.json +1 -1
@@ -117,6 +117,11 @@ export declare namespace CreateRegChatCommand {
117
117
  lastMessageAt: z.ZodString;
118
118
  }, z.core.$strip>>;
119
119
  hasMore: z.ZodBoolean;
120
+ }, z.core.$strip>, z.ZodObject<{
121
+ toolName: z.ZodString;
122
+ connectionUuid: z.ZodString;
123
+ providerKey: z.ZodNullable<z.ZodString>;
124
+ resultPreview: z.ZodNullable<z.ZodString>;
120
125
  }, z.core.$strip>]>>;
121
126
  showInUi: z.ZodBoolean;
122
127
  errorCode: z.ZodNullable<z.ZodString>;
@@ -117,6 +117,11 @@ export declare namespace CreateUnregChatCommand {
117
117
  lastMessageAt: z.ZodString;
118
118
  }, z.core.$strip>>;
119
119
  hasMore: z.ZodBoolean;
120
+ }, z.core.$strip>, z.ZodObject<{
121
+ toolName: z.ZodString;
122
+ connectionUuid: z.ZodString;
123
+ providerKey: z.ZodNullable<z.ZodString>;
124
+ resultPreview: z.ZodNullable<z.ZodString>;
120
125
  }, z.core.$strip>]>>;
121
126
  showInUi: z.ZodBoolean;
122
127
  errorCode: z.ZodNullable<z.ZodString>;
@@ -116,6 +116,11 @@ export declare namespace UpdateChatTitleCommand {
116
116
  lastMessageAt: z.ZodString;
117
117
  }, z.core.$strip>>;
118
118
  hasMore: z.ZodBoolean;
119
+ }, z.core.$strip>, z.ZodObject<{
120
+ toolName: z.ZodString;
121
+ connectionUuid: z.ZodString;
122
+ providerKey: z.ZodNullable<z.ZodString>;
123
+ resultPreview: z.ZodNullable<z.ZodString>;
119
124
  }, z.core.$strip>]>>;
120
125
  showInUi: z.ZodBoolean;
121
126
  errorCode: z.ZodNullable<z.ZodString>;
@@ -118,6 +118,11 @@ export declare namespace UpdateChatCommand {
118
118
  lastMessageAt: z.ZodString;
119
119
  }, z.core.$strip>>;
120
120
  hasMore: z.ZodBoolean;
121
+ }, z.core.$strip>, z.ZodObject<{
122
+ toolName: z.ZodString;
123
+ connectionUuid: z.ZodString;
124
+ providerKey: z.ZodNullable<z.ZodString>;
125
+ resultPreview: z.ZodNullable<z.ZodString>;
121
126
  }, z.core.$strip>]>>;
122
127
  showInUi: z.ZodBoolean;
123
128
  errorCode: z.ZodNullable<z.ZodString>;
@@ -114,6 +114,11 @@ export declare namespace GetLastActiveChatQuery {
114
114
  lastMessageAt: z.ZodString;
115
115
  }, z.core.$strip>>;
116
116
  hasMore: z.ZodBoolean;
117
+ }, z.core.$strip>, z.ZodObject<{
118
+ toolName: z.ZodString;
119
+ connectionUuid: z.ZodString;
120
+ providerKey: z.ZodNullable<z.ZodString>;
121
+ resultPreview: z.ZodNullable<z.ZodString>;
117
122
  }, z.core.$strip>]>>;
118
123
  showInUi: z.ZodBoolean;
119
124
  errorCode: z.ZodNullable<z.ZodString>;
@@ -114,6 +114,11 @@ export declare namespace GetRegChatQuery {
114
114
  lastMessageAt: z.ZodString;
115
115
  }, z.core.$strip>>;
116
116
  hasMore: z.ZodBoolean;
117
+ }, z.core.$strip>, z.ZodObject<{
118
+ toolName: z.ZodString;
119
+ connectionUuid: z.ZodString;
120
+ providerKey: z.ZodNullable<z.ZodString>;
121
+ resultPreview: z.ZodNullable<z.ZodString>;
117
122
  }, z.core.$strip>]>>;
118
123
  showInUi: z.ZodBoolean;
119
124
  errorCode: z.ZodNullable<z.ZodString>;
@@ -114,6 +114,11 @@ export declare namespace GetUnregChatQuery {
114
114
  lastMessageAt: z.ZodString;
115
115
  }, z.core.$strip>>;
116
116
  hasMore: z.ZodBoolean;
117
+ }, z.core.$strip>, z.ZodObject<{
118
+ toolName: z.ZodString;
119
+ connectionUuid: z.ZodString;
120
+ providerKey: z.ZodNullable<z.ZodString>;
121
+ resultPreview: z.ZodNullable<z.ZodString>;
117
122
  }, z.core.$strip>]>>;
118
123
  showInUi: z.ZodBoolean;
119
124
  errorCode: z.ZodNullable<z.ZodString>;
@@ -112,6 +112,11 @@ export declare const ChatWithMessagesResponseSchema: z.ZodObject<{
112
112
  lastMessageAt: z.ZodString;
113
113
  }, z.core.$strip>>;
114
114
  hasMore: z.ZodBoolean;
115
+ }, z.core.$strip>, z.ZodObject<{
116
+ toolName: z.ZodString;
117
+ connectionUuid: z.ZodString;
118
+ providerKey: z.ZodNullable<z.ZodString>;
119
+ resultPreview: z.ZodNullable<z.ZodString>;
115
120
  }, z.core.$strip>]>>;
116
121
  showInUi: z.ZodBoolean;
117
122
  errorCode: z.ZodNullable<z.ZodString>;
@@ -46,6 +46,11 @@ export declare namespace CreateMessageCommand {
46
46
  videoUrl: z.ZodString;
47
47
  }, z.core.$strip>, z.ZodObject<{
48
48
  primitiveType: z.ZodEnum<typeof import("../..").SandboxPrimitiveType>;
49
+ }, z.core.$strip>, z.ZodObject<{
50
+ toolName: z.ZodString;
51
+ connectionUuid: z.ZodString;
52
+ providerKey: z.ZodNullable<z.ZodString>;
53
+ argsPreview: z.ZodOptional<z.ZodString>;
49
54
  }, z.core.$strip>]>>;
50
55
  }, z.core.$strip>, z.ZodObject<{
51
56
  id: z.ZodNumber;
@@ -225,6 +230,11 @@ export declare namespace CreateMessageCommand {
225
230
  videoUrl: z.ZodString;
226
231
  }, z.core.$strip>, z.ZodObject<{
227
232
  primitiveType: z.ZodEnum<typeof import("../..").SandboxPrimitiveType>;
233
+ }, z.core.$strip>, z.ZodObject<{
234
+ toolName: z.ZodString;
235
+ connectionUuid: z.ZodString;
236
+ providerKey: z.ZodNullable<z.ZodString>;
237
+ argsPreview: z.ZodOptional<z.ZodString>;
228
238
  }, z.core.$strip>]>>;
229
239
  }, z.core.$strip>;
230
240
  const StepChunkEvent: z.ZodObject<{
@@ -22,6 +22,11 @@ export declare namespace GetMessageStreamRegQuery {
22
22
  videoUrl: z.ZodString;
23
23
  }, z.core.$strip>, z.ZodObject<{
24
24
  primitiveType: z.ZodEnum<typeof import("../..").SandboxPrimitiveType>;
25
+ }, z.core.$strip>, z.ZodObject<{
26
+ toolName: z.ZodString;
27
+ connectionUuid: z.ZodString;
28
+ providerKey: z.ZodNullable<z.ZodString>;
29
+ argsPreview: z.ZodOptional<z.ZodString>;
25
30
  }, z.core.$strip>]>>;
26
31
  }, z.core.$strip>, z.ZodObject<{
27
32
  id: z.ZodNumber;
@@ -22,6 +22,11 @@ export declare namespace GetMessageStreamUnregQuery {
22
22
  videoUrl: z.ZodString;
23
23
  }, z.core.$strip>, z.ZodObject<{
24
24
  primitiveType: z.ZodEnum<typeof import("../..").SandboxPrimitiveType>;
25
+ }, z.core.$strip>, z.ZodObject<{
26
+ toolName: z.ZodString;
27
+ connectionUuid: z.ZodString;
28
+ providerKey: z.ZodNullable<z.ZodString>;
29
+ argsPreview: z.ZodOptional<z.ZodString>;
25
30
  }, z.core.$strip>]>>;
26
31
  }, z.core.$strip>, z.ZodObject<{
27
32
  id: z.ZodNumber;
@@ -16,5 +16,6 @@ export declare enum GenerationStepType {
16
16
  BUDGET_PROMO = "BUDGET_PROMO",
17
17
  MEMORY = "MEMORY",
18
18
  CONVERSATION_SEARCH = "CONVERSATION_SEARCH",
19
- RECENT_CHATS = "RECENT_CHATS"
19
+ RECENT_CHATS = "RECENT_CHATS",
20
+ CONNECTOR_TOOL = "CONNECTOR_TOOL"
20
21
  }
@@ -21,5 +21,6 @@ var GenerationStepType;
21
21
  GenerationStepType["MEMORY"] = "MEMORY";
22
22
  GenerationStepType["CONVERSATION_SEARCH"] = "CONVERSATION_SEARCH";
23
23
  GenerationStepType["RECENT_CHATS"] = "RECENT_CHATS";
24
+ GenerationStepType["CONNECTOR_TOOL"] = "CONNECTOR_TOOL";
24
25
  })(GenerationStepType || (exports.GenerationStepType = GenerationStepType = {}));
25
26
  //# sourceMappingURL=generation-step-type.enum.js.map
@@ -1 +1 @@
1
- {"version":3,"file":"generation-step-type.enum.js","sourceRoot":"","sources":["../../../../v1/message/schemas/generation-step-type.enum.ts"],"names":[],"mappings":";;;AAGA,IAAY,kBA8CX;AA9CD,WAAY,kBAAkB;IAE1B,6CAAuB,CAAA;IAEvB,6DAAuC,CAAA;IAEvC,uEAAiD,CAAA;IAEjD,yDAAmC,CAAA;IAEnC,2DAAqC,CAAA;IAErC,+CAAyB,CAAA;IAEzB,uCAAiB,CAAA;IAEjB,+CAAyB,CAAA;IAEzB,uDAAiC,CAAA;IAEjC,+DAAyC,CAAA;IAEzC,uDAAiC,CAAA;IAEjC,6CAAuB,CAAA;IAEvB,mDAA6B,CAAA;IAE7B,6CAAuB,CAAA;IAWvB,mDAA6B,CAAA;IAE7B,uCAAiB,CAAA;IAEjB,iEAA2C,CAAA;IAE3C,mDAA6B,CAAA;AACjC,CAAC,EA9CW,kBAAkB,kCAAlB,kBAAkB,QA8C7B"}
1
+ {"version":3,"file":"generation-step-type.enum.js","sourceRoot":"","sources":["../../../../v1/message/schemas/generation-step-type.enum.ts"],"names":[],"mappings":";;;AAGA,IAAY,kBAqDX;AArDD,WAAY,kBAAkB;IAE1B,6CAAuB,CAAA;IAEvB,6DAAuC,CAAA;IAEvC,uEAAiD,CAAA;IAEjD,yDAAmC,CAAA;IAEnC,2DAAqC,CAAA;IAErC,+CAAyB,CAAA;IAEzB,uCAAiB,CAAA;IAEjB,+CAAyB,CAAA;IAEzB,uDAAiC,CAAA;IAEjC,+DAAyC,CAAA;IAEzC,uDAAiC,CAAA;IAEjC,6CAAuB,CAAA;IAEvB,mDAA6B,CAAA;IAE7B,6CAAuB,CAAA;IAWvB,mDAA6B,CAAA;IAE7B,uCAAiB,CAAA;IAEjB,iEAA2C,CAAA;IAE3C,mDAA6B,CAAA;IAO7B,uDAAiC,CAAA;AACrC,CAAC,EArDW,kBAAkB,kCAAlB,kBAAkB,QAqD7B"}
@@ -4,8 +4,8 @@ export { UserRating } from './user-rating.enum';
4
4
  export { CreateMessageRequestSchema } from './create-message-request.schema';
5
5
  export { CreateMessageResponseSchema } from './create-message-response.schema';
6
6
  export { MessageResponseSchema } from './message-response.schema';
7
- export { MessageStepResponseSchema, MessageStepsResponseSchema, StepContentResponseSchema, TextStepContentSchema, WebSearchCitationSchema, WebSearchStepContentSchema, ImageGenStepContentSchema, UploadStepContentSchema, CodeExecutionStepContentResponseSchema, MemoryStepContentSchema, ConversationSearchResultItemSchema, ConversationSearchStepContentSchema, VideoAnalysisStepContentSchema, } from './message-step-response.schema';
8
- export type { MessageStepResponse, MessageStepsResponse, StepContentResponse, TextStepContent, WebSearchCitation, WebSearchStepContent, ImageGenStepContent, UploadStepContent, CodeExecutionStepContentResponse, MemoryStepContent, ConversationSearchResultItem, ConversationSearchStepContent, VideoAnalysisStepContent, } from './message-step-response.schema';
7
+ export { MessageStepResponseSchema, MessageStepsResponseSchema, StepContentResponseSchema, TextStepContentSchema, WebSearchCitationSchema, WebSearchStepContentSchema, ImageGenStepContentSchema, UploadStepContentSchema, CodeExecutionStepContentResponseSchema, MemoryStepContentSchema, ConversationSearchResultItemSchema, ConversationSearchStepContentSchema, VideoAnalysisStepContentSchema, ConnectorToolStepContentSchema, } from './message-step-response.schema';
8
+ export type { MessageStepResponse, MessageStepsResponse, StepContentResponse, TextStepContent, WebSearchCitation, WebSearchStepContent, ImageGenStepContent, UploadStepContent, CodeExecutionStepContentResponse, MemoryStepContent, ConversationSearchResultItem, ConversationSearchStepContent, VideoAnalysisStepContent, ConnectorToolStepContent, } from './message-step-response.schema';
9
9
  export { MessageAttachmentResponseSchema, MessageAttachmentsResponseSchema, AttachmentMetaResponseSchema, } from './message-attachment-response.schema';
10
10
  export type { MessageAttachmentResponse, MessageAttachmentsResponse, AttachmentMetaResponse, } from './message-attachment-response.schema';
11
11
  export { MessageCitationResponseSchema, MessageCitationsResponseSchema, } from './message-citation-response.schema';
@@ -14,8 +14,8 @@ export { StreamEventType } from './stream-event-type.enum';
14
14
  export { StreamEventSchema, StreamStepStartEventSchema, StreamStepChunkEventSchema, StreamStepErrorEventSchema, StreamStepDoneEventSchema, StreamStepBilledEventSchema, StreamBillingEstimateEventSchema, StreamImageEventSchema, StreamImageGenerationErrorEventSchema, StreamCitationsEventSchema, StreamHeartbeatEventSchema, StreamDoneEventSchema, StreamCancelledEventSchema, StreamErrorEventSchema, StreamCancellationReason, } from './stream-events.schema';
15
15
  export { CitationStatus } from './citation-status.enum';
16
16
  export { CitationSchema, type Citation } from './citation.schema';
17
- export { StepStartMetadataSchema, StepDoneMetadataSchema, WebSearchStepStartMetadataSchema, ConversationSearchStepStartMetadataSchema, ImageEditStepStartMetadataSchema, VideoAnalysisStepStartMetadataSchema, CodeExecutionStepStartMetadataSchema, UploadStepDoneMetadataSchema, StepStartMetadataByType, StepDoneMetadataByType, } from './step-metadata.schema';
18
- export type { WebSearchStepStartMetadata, ConversationSearchStepStartMetadata, ImageEditStepStartMetadata, VideoAnalysisStepStartMetadata, CodeExecutionStepStartMetadata, UploadStepDoneMetadata, StepStartMetadata, StepDoneMetadata, } from './step-metadata.schema';
17
+ export { StepStartMetadataSchema, StepDoneMetadataSchema, WebSearchStepStartMetadataSchema, ConversationSearchStepStartMetadataSchema, ImageEditStepStartMetadataSchema, VideoAnalysisStepStartMetadataSchema, CodeExecutionStepStartMetadataSchema, ConnectorToolStepStartMetadataSchema, UploadStepDoneMetadataSchema, StepStartMetadataByType, StepDoneMetadataByType, } from './step-metadata.schema';
18
+ export type { WebSearchStepStartMetadata, ConversationSearchStepStartMetadata, ImageEditStepStartMetadata, VideoAnalysisStepStartMetadata, CodeExecutionStepStartMetadata, ConnectorToolStepStartMetadata, UploadStepDoneMetadata, StepStartMetadata, StepDoneMetadata, } from './step-metadata.schema';
19
19
  export { StepChunkKind } from './step-chunk-kind.enum';
20
20
  export { BashChunkStream } from './bash-chunk-stream.enum';
21
21
  export { STEP_CHUNK_LINE_MAX_LENGTH, STEP_CHUNK_LINES_MAX_ITEMS, StepChunkMetadataSchema, ArgsChunkMetadataSchema, DescribeChunkMetadataSchema, BashChunkMetadataSchema, CreateFileChunkMetadataSchema, StrReplaceChunkMetadataSchema, ViewChunkMetadataSchema, } from './step-chunk-metadata.schema';
@@ -1,7 +1,7 @@
1
1
  "use strict";
2
2
  Object.defineProperty(exports, "__esModule", { value: true });
3
- exports.UploadStepDoneMetadataSchema = exports.CodeExecutionStepStartMetadataSchema = exports.VideoAnalysisStepStartMetadataSchema = exports.ImageEditStepStartMetadataSchema = exports.ConversationSearchStepStartMetadataSchema = exports.WebSearchStepStartMetadataSchema = exports.StepDoneMetadataSchema = exports.StepStartMetadataSchema = 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.StreamEventSchema = exports.StreamEventType = exports.MessageCitationsResponseSchema = exports.MessageCitationResponseSchema = exports.AttachmentMetaResponseSchema = exports.MessageAttachmentsResponseSchema = exports.MessageAttachmentResponseSchema = 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;
4
- exports.CancelStreamResponseSchema = exports.DeleteMessageResponseSchema = exports.DeleteMessageParamsSchema = exports.RateMessageParamsSchema = exports.RateMessageResponseSchema = exports.RateMessageRequestSchema = exports.GenerationStepSchema = exports.BudgetPromoBudgetCutoffSchema = exports.BudgetPromoDiscountAppliedSchema = exports.BudgetPromoStepContentSchema = exports.BudgetPromoMessageKey = exports.BudgetPromoCta = exports.BudgetPromoKind = 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 = void 0;
3
+ exports.CodeExecutionStepStartMetadataSchema = exports.VideoAnalysisStepStartMetadataSchema = exports.ImageEditStepStartMetadataSchema = exports.ConversationSearchStepStartMetadataSchema = exports.WebSearchStepStartMetadataSchema = exports.StepDoneMetadataSchema = exports.StepStartMetadataSchema = 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.StreamEventSchema = 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;
4
+ exports.CancelStreamResponseSchema = exports.DeleteMessageResponseSchema = exports.DeleteMessageParamsSchema = exports.RateMessageParamsSchema = exports.RateMessageResponseSchema = exports.RateMessageRequestSchema = exports.GenerationStepSchema = exports.BudgetPromoBudgetCutoffSchema = exports.BudgetPromoDiscountAppliedSchema = exports.BudgetPromoStepContentSchema = exports.BudgetPromoMessageKey = exports.BudgetPromoCta = exports.BudgetPromoKind = 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 = void 0;
5
5
  var message_role_enum_1 = require("./message-role.enum");
6
6
  Object.defineProperty(exports, "MessageRole", { enumerable: true, get: function () { return message_role_enum_1.MessageRole; } });
7
7
  var message_status_enum_1 = require("./message-status.enum");
@@ -28,6 +28,7 @@ Object.defineProperty(exports, "MemoryStepContentSchema", { enumerable: true, ge
28
28
  Object.defineProperty(exports, "ConversationSearchResultItemSchema", { enumerable: true, get: function () { return message_step_response_schema_1.ConversationSearchResultItemSchema; } });
29
29
  Object.defineProperty(exports, "ConversationSearchStepContentSchema", { enumerable: true, get: function () { return message_step_response_schema_1.ConversationSearchStepContentSchema; } });
30
30
  Object.defineProperty(exports, "VideoAnalysisStepContentSchema", { enumerable: true, get: function () { return message_step_response_schema_1.VideoAnalysisStepContentSchema; } });
31
+ Object.defineProperty(exports, "ConnectorToolStepContentSchema", { enumerable: true, get: function () { return message_step_response_schema_1.ConnectorToolStepContentSchema; } });
31
32
  var message_attachment_response_schema_1 = require("./message-attachment-response.schema");
32
33
  Object.defineProperty(exports, "MessageAttachmentResponseSchema", { enumerable: true, get: function () { return message_attachment_response_schema_1.MessageAttachmentResponseSchema; } });
33
34
  Object.defineProperty(exports, "MessageAttachmentsResponseSchema", { enumerable: true, get: function () { return message_attachment_response_schema_1.MessageAttachmentsResponseSchema; } });
@@ -65,6 +66,7 @@ Object.defineProperty(exports, "ConversationSearchStepStartMetadataSchema", { en
65
66
  Object.defineProperty(exports, "ImageEditStepStartMetadataSchema", { enumerable: true, get: function () { return step_metadata_schema_1.ImageEditStepStartMetadataSchema; } });
66
67
  Object.defineProperty(exports, "VideoAnalysisStepStartMetadataSchema", { enumerable: true, get: function () { return step_metadata_schema_1.VideoAnalysisStepStartMetadataSchema; } });
67
68
  Object.defineProperty(exports, "CodeExecutionStepStartMetadataSchema", { enumerable: true, get: function () { return step_metadata_schema_1.CodeExecutionStepStartMetadataSchema; } });
69
+ Object.defineProperty(exports, "ConnectorToolStepStartMetadataSchema", { enumerable: true, get: function () { return step_metadata_schema_1.ConnectorToolStepStartMetadataSchema; } });
68
70
  Object.defineProperty(exports, "UploadStepDoneMetadataSchema", { enumerable: true, get: function () { return step_metadata_schema_1.UploadStepDoneMetadataSchema; } });
69
71
  Object.defineProperty(exports, "StepStartMetadataByType", { enumerable: true, get: function () { return step_metadata_schema_1.StepStartMetadataByType; } });
70
72
  Object.defineProperty(exports, "StepDoneMetadataByType", { enumerable: true, get: function () { return step_metadata_schema_1.StepDoneMetadataByType; } });
@@ -1 +1 @@
1
- {"version":3,"file":"index.js","sourceRoot":"","sources":["../../../../v1/message/schemas/index.ts"],"names":[],"mappings":";;;;AAAA,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,+EAcwC;AAbpC,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;AAiBlC,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,+DAgBgC;AAf5B,yHAAA,iBAAiB,OAAA;AACjB,kIAAA,0BAA0B,OAAA;A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z.core.$strip>>;
108
108
  hasMore: z.ZodBoolean;
109
+ }, z.core.$strip>, z.ZodObject<{
110
+ toolName: z.ZodString;
111
+ connectionUuid: z.ZodString;
112
+ providerKey: z.ZodNullable<z.ZodString>;
113
+ resultPreview: z.ZodNullable<z.ZodString>;
109
114
  }, z.core.$strip>]>>;
110
115
  showInUi: z.ZodBoolean;
111
116
  errorCode: z.ZodNullable<z.ZodString>;
@@ -113,6 +113,12 @@ export declare const VideoAnalysisStepContentSchema: z.ZodObject<{
113
113
  content: z.ZodString;
114
114
  videoUrl: z.ZodString;
115
115
  }, z.core.$strip>;
116
+ export declare const ConnectorToolStepContentSchema: z.ZodObject<{
117
+ toolName: z.ZodString;
118
+ connectionUuid: z.ZodString;
119
+ providerKey: z.ZodNullable<z.ZodString>;
120
+ resultPreview: z.ZodNullable<z.ZodString>;
121
+ }, z.core.$strip>;
116
122
  export declare const StepContentResponseSchema: z.ZodUnion<readonly [z.ZodObject<{
117
123
  content: z.ZodString;
118
124
  videoUrl: z.ZodString;
@@ -204,6 +210,11 @@ export declare const StepContentResponseSchema: z.ZodUnion<readonly [z.ZodObject
204
210
  lastMessageAt: z.ZodString;
205
211
  }, z.core.$strip>>;
206
212
  hasMore: z.ZodBoolean;
213
+ }, z.core.$strip>, z.ZodObject<{
214
+ toolName: z.ZodString;
215
+ connectionUuid: z.ZodString;
216
+ providerKey: z.ZodNullable<z.ZodString>;
217
+ resultPreview: z.ZodNullable<z.ZodString>;
207
218
  }, z.core.$strip>]>;
208
219
  export declare const MessageStepResponseSchema: z.ZodObject<{
209
220
  uuid: z.ZodString;
@@ -301,6 +312,11 @@ export declare const MessageStepResponseSchema: z.ZodObject<{
301
312
  lastMessageAt: z.ZodString;
302
313
  }, z.core.$strip>>;
303
314
  hasMore: z.ZodBoolean;
315
+ }, z.core.$strip>, z.ZodObject<{
316
+ toolName: z.ZodString;
317
+ connectionUuid: z.ZodString;
318
+ providerKey: z.ZodNullable<z.ZodString>;
319
+ resultPreview: z.ZodNullable<z.ZodString>;
304
320
  }, z.core.$strip>]>>;
305
321
  showInUi: z.ZodBoolean;
306
322
  errorCode: z.ZodNullable<z.ZodString>;
@@ -321,6 +337,7 @@ export type MemoryStepContent = z.infer<typeof MemoryStepContentSchema>;
321
337
  export type ConversationSearchResultItem = z.infer<typeof ConversationSearchResultItemSchema>;
322
338
  export type ConversationSearchStepContent = z.infer<typeof ConversationSearchStepContentSchema>;
323
339
  export type VideoAnalysisStepContent = z.infer<typeof VideoAnalysisStepContentSchema>;
340
+ export type ConnectorToolStepContent = z.infer<typeof ConnectorToolStepContentSchema>;
324
341
  export declare const MessageStepsResponseSchema: z.ZodArray<z.ZodObject<{
325
342
  uuid: z.ZodString;
326
343
  type: z.ZodEnum<typeof GenerationStepType>;
@@ -417,6 +434,11 @@ export declare const MessageStepsResponseSchema: z.ZodArray<z.ZodObject<{
417
434
  lastMessageAt: z.ZodString;
418
435
  }, z.core.$strip>>;
419
436
  hasMore: z.ZodBoolean;
437
+ }, z.core.$strip>, z.ZodObject<{
438
+ toolName: z.ZodString;
439
+ connectionUuid: z.ZodString;
440
+ providerKey: z.ZodNullable<z.ZodString>;
441
+ resultPreview: z.ZodNullable<z.ZodString>;
420
442
  }, z.core.$strip>]>>;
421
443
  showInUi: z.ZodBoolean;
422
444
  errorCode: z.ZodNullable<z.ZodString>;
@@ -1,6 +1,6 @@
1
1
  "use strict";
2
2
  Object.defineProperty(exports, "__esModule", { value: true });
3
- exports.MessageStepsResponseSchema = exports.MessageStepResponseSchema = exports.StepContentResponseSchema = exports.VideoAnalysisStepContentSchema = exports.ConversationSearchStepContentSchema = exports.ConversationSearchResultItemSchema = exports.MemoryStepContentSchema = exports.CodeExecutionStepContentResponseSchema = exports.UploadStepContentSchema = exports.ImageGenStepContentSchema = exports.WebSearchStepContentSchema = exports.WebSearchCitationSchema = exports.TextStepContentSchema = void 0;
3
+ exports.MessageStepsResponseSchema = exports.MessageStepResponseSchema = exports.StepContentResponseSchema = exports.ConnectorToolStepContentSchema = exports.VideoAnalysisStepContentSchema = exports.ConversationSearchStepContentSchema = exports.ConversationSearchResultItemSchema = exports.MemoryStepContentSchema = exports.CodeExecutionStepContentResponseSchema = exports.UploadStepContentSchema = exports.ImageGenStepContentSchema = exports.WebSearchStepContentSchema = exports.WebSearchCitationSchema = exports.TextStepContentSchema = void 0;
4
4
  const zod_1 = require("zod");
5
5
  const primitive_completion_schema_1 = require("../../tool/sandbox/primitive-completion.schema");
6
6
  const generation_step_type_enum_1 = require("./generation-step-type.enum");
@@ -64,6 +64,12 @@ exports.VideoAnalysisStepContentSchema = zod_1.z.object({
64
64
  content: zod_1.z.string(),
65
65
  videoUrl: zod_1.z.string().url(),
66
66
  });
67
+ exports.ConnectorToolStepContentSchema = zod_1.z.object({
68
+ toolName: zod_1.z.string(),
69
+ connectionUuid: zod_1.z.string(),
70
+ providerKey: zod_1.z.string().nullable(),
71
+ resultPreview: zod_1.z.string().nullable(),
72
+ });
67
73
  exports.StepContentResponseSchema = zod_1.z.union([
68
74
  exports.VideoAnalysisStepContentSchema,
69
75
  exports.TextStepContentSchema,
@@ -73,6 +79,7 @@ exports.StepContentResponseSchema = zod_1.z.union([
73
79
  exports.CodeExecutionStepContentResponseSchema,
74
80
  exports.MemoryStepContentSchema,
75
81
  exports.ConversationSearchStepContentSchema,
82
+ exports.ConnectorToolStepContentSchema,
76
83
  ]);
77
84
  exports.MessageStepResponseSchema = zod_1.z.object({
78
85
  uuid: zod_1.z.string().uuid(),
@@ -1 +1 @@
1
- {"version":3,"file":"message-step-response.schema.js","sourceRoot":"","sources":["../../../../v1/message/schemas/message-step-response.schema.ts"],"names":[],"mappings":";;;AAAA,6BAAwB;AACxB,gGAAkG;AAClG,2EAAiE;AACjE,yEAA+D;AAC/D,4FAAkF;AAKrE,QAAA,qBAAqB,GAAG,OAAC,CAAC,MAAM,CAAC;IAC1C,OAAO,EAAE,OAAC,CAAC,MAAM,EAAE;CACtB,CAAC,CAAC;AAKU,QAAA,uBAAuB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uB;IACvB,8CAAsC;IACtC,+BAAuB;IACvB,2CAAmC;CACtC,CAAC,CAAC;AAMU,QAAA,yBAAyB,GAAG,OAAC,CAAC,MAAM,CAAC;IAE9C,IAAI,EAAE,OAAC,CAAC,MAAM,EAAE,CAAC,IAAI,EAAE;IAEvB,IAAI,EAAE,OAAC,CAAC,IAAI,CAAC,8CAAkB,CAAC;IAEhC,MAAM,EAAE,OAAC,CAAC,IAAI,CAAC,4CAAiB,CAAC;IASjC,SAAS,EAAE,OAAC,CAAC,MAAM,EAAE,CAAC,IAAI,EAAE,CAAC,QAAQ,EAAE;IAEvC,OAAO,EAAE,iCAAyB,CAAC,QAAQ,EAAE;IAE7C,QAAQ,EAAE,OAAC,CAAC,OAAO,EAAE;IASrB,SAAS,EAAE,OAAC,CAAC,MAAM,EAAE,CAAC,QAAQ,EAAE;IAEhC,SAAS,EAAE,OAAC,CAAC,MAAM,EAAE,CAAC,QAAQ,EAAE;IAEhC,WAAW,EAAE,OAAC,CAAC,MAAM,EAAE,CAAC,QAAQ,EAAE;IAWlC,aAAa,EAAE,OAAC,CAAC,MAAM,EAAE,CAAC,GAAG,EAAE,CAAC,WAAW,EAAE,CAAC,QAAQ,EAAE;IAiBxD,sBAAsB,EAAE,OAAC,CAAC,MAAM,EAAE,CAAC,GAAG,EAAE,CAAC,WAAW,EAAE,CAAC,QAAQ,EAAE;CACpE,CAAC,CAAC;AAkBU,QAAA,0BAA0B,GAAG,OAAC,CAAC,KAAK,CAAC,iCAAyB,CAAC,CAAC"}
1
+ {"version":3,"file":"message-step-response.schema.js","sourceRoot":"","sources":["../../../../v1/message/schemas/message-step-response.schema.ts"],"names":[],"mappings":";;;AAAA,6BAAwB;AACxB,gGAAkG;AAClG,2EAAiE;AACjE,yEAA+D;AAC/D,4FAAkF;AAKrE,QAAA,qBAAqB,GAAG,OAAC,CAAC,MAAM,CAAC;IAC1C,OAAO,EAAE,OAAC,CAAC,MAAM,EAAE;CACtB,CAAC,CAAC;AAKU,QAA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AAC,CAAC"}
@@ -17,6 +17,12 @@ export declare const VideoAnalysisStepStartMetadataSchema: z.ZodObject<{
17
17
  export declare const CodeExecutionStepStartMetadataSchema: z.ZodObject<{
18
18
  primitiveType: z.ZodEnum<typeof SandboxPrimitiveType>;
19
19
  }, z.core.$strip>;
20
+ export declare const ConnectorToolStepStartMetadataSchema: z.ZodObject<{
21
+ toolName: z.ZodString;
22
+ connectionUuid: z.ZodString;
23
+ providerKey: z.ZodNullable<z.ZodString>;
24
+ argsPreview: z.ZodOptional<z.ZodString>;
25
+ }, z.core.$strip>;
20
26
  export declare const StepStartMetadataByType: Partial<Record<GenerationStepType, z.ZodTypeAny>>;
21
27
  export declare const StepStartMetadataSchema: z.ZodOptional<z.ZodUnion<readonly [z.ZodObject<{
22
28
  queries: z.ZodArray<z.ZodString>;
@@ -29,6 +35,11 @@ export declare const StepStartMetadataSchema: z.ZodOptional<z.ZodUnion<readonly
29
35
  videoUrl: z.ZodString;
30
36
  }, z.core.$strip>, z.ZodObject<{
31
37
  primitiveType: z.ZodEnum<typeof SandboxPrimitiveType>;
38
+ }, z.core.$strip>, z.ZodObject<{
39
+ toolName: z.ZodString;
40
+ connectionUuid: z.ZodString;
41
+ providerKey: z.ZodNullable<z.ZodString>;
42
+ argsPreview: z.ZodOptional<z.ZodString>;
32
43
  }, z.core.$strip>]>>;
33
44
  export declare const UploadStepDoneMetadataSchema: z.ZodUnion<readonly [z.ZodObject<{
34
45
  imageUrl: z.ZodString;
@@ -46,6 +57,7 @@ export type ConversationSearchStepStartMetadata = z.infer<typeof ConversationSea
46
57
  export type ImageEditStepStartMetadata = z.infer<typeof ImageEditStepStartMetadataSchema>;
47
58
  export type VideoAnalysisStepStartMetadata = z.infer<typeof VideoAnalysisStepStartMetadataSchema>;
48
59
  export type CodeExecutionStepStartMetadata = z.infer<typeof CodeExecutionStepStartMetadataSchema>;
60
+ export type ConnectorToolStepStartMetadata = z.infer<typeof ConnectorToolStepStartMetadataSchema>;
49
61
  export type UploadStepDoneMetadata = z.infer<typeof UploadStepDoneMetadataSchema>;
50
62
  export type StepStartMetadata = NonNullable<z.infer<typeof StepStartMetadataSchema>>;
51
63
  export type StepDoneMetadata = NonNullable<z.infer<typeof StepDoneMetadataSchema>>;
@@ -1,6 +1,6 @@
1
1
  "use strict";
2
2
  Object.defineProperty(exports, "__esModule", { value: true });
3
- exports.StepDoneMetadataSchema = exports.StepDoneMetadataByType = exports.UploadStepDoneMetadataSchema = exports.StepStartMetadataSchema = exports.StepStartMetadataByType = exports.CodeExecutionStepStartMetadataSchema = exports.VideoAnalysisStepStartMetadataSchema = exports.ImageEditStepStartMetadataSchema = exports.ConversationSearchStepStartMetadataSchema = exports.WebSearchStepStartMetadataSchema = void 0;
3
+ exports.StepDoneMetadataSchema = exports.StepDoneMetadataByType = exports.UploadStepDoneMetadataSchema = exports.StepStartMetadataSchema = exports.StepStartMetadataByType = exports.ConnectorToolStepStartMetadataSchema = exports.CodeExecutionStepStartMetadataSchema = exports.VideoAnalysisStepStartMetadataSchema = exports.ImageEditStepStartMetadataSchema = exports.ConversationSearchStepStartMetadataSchema = exports.WebSearchStepStartMetadataSchema = void 0;
4
4
  const zod_1 = require("zod");
5
5
  const sandbox_primitive_type_enum_1 = require("../../tool/sandbox/sandbox-primitive-type.enum");
6
6
  const generation_step_type_enum_1 = require("./generation-step-type.enum");
@@ -20,12 +20,19 @@ exports.VideoAnalysisStepStartMetadataSchema = zod_1.z.object({
20
20
  exports.CodeExecutionStepStartMetadataSchema = zod_1.z.object({
21
21
  primitiveType: zod_1.z.enum(sandbox_primitive_type_enum_1.SandboxPrimitiveType),
22
22
  });
23
+ exports.ConnectorToolStepStartMetadataSchema = zod_1.z.object({
24
+ toolName: zod_1.z.string(),
25
+ connectionUuid: zod_1.z.string(),
26
+ providerKey: zod_1.z.string().nullable(),
27
+ argsPreview: zod_1.z.string().optional(),
28
+ });
23
29
  exports.StepStartMetadataByType = {
24
30
  [generation_step_type_enum_1.GenerationStepType.WEB_SEARCH]: exports.WebSearchStepStartMetadataSchema,
25
31
  [generation_step_type_enum_1.GenerationStepType.CONVERSATION_SEARCH]: exports.ConversationSearchStepStartMetadataSchema,
26
32
  [generation_step_type_enum_1.GenerationStepType.IMAGE_EDIT]: exports.ImageEditStepStartMetadataSchema,
27
33
  [generation_step_type_enum_1.GenerationStepType.VIDEO_ANALYSIS]: exports.VideoAnalysisStepStartMetadataSchema,
28
34
  [generation_step_type_enum_1.GenerationStepType.CODE_EXECUTION]: exports.CodeExecutionStepStartMetadataSchema,
35
+ [generation_step_type_enum_1.GenerationStepType.CONNECTOR_TOOL]: exports.ConnectorToolStepStartMetadataSchema,
29
36
  };
30
37
  exports.StepStartMetadataSchema = zod_1.z
31
38
  .union([
@@ -34,6 +41,7 @@ exports.StepStartMetadataSchema = zod_1.z
34
41
  exports.ImageEditStepStartMetadataSchema,
35
42
  exports.VideoAnalysisStepStartMetadataSchema,
36
43
  exports.CodeExecutionStepStartMetadataSchema,
44
+ exports.ConnectorToolStepStartMetadataSchema,
37
45
  ])
38
46
  .optional();
39
47
  exports.UploadStepDoneMetadataSchema = zod_1.z.union([
@@ -1 +1 @@
1
- {"version":3,"file":"step-metadata.schema.js","sourceRoot":"","sources":["../../../../v1/message/schemas/step-metadata.schema.ts"],"names":[],"mappings":";;;AAAA,6BAAwB;AACxB,gGAAsF;AACtF,2EAAiE;AASpD,QAAA,gCAAgC,GAAG,OAAC,CAAC,MAAM,CAAC;IACrD,OAAO,EAAE,OAAC,CAAC,KAAK,CAAC,OAAC,CAAC,MAAM,EAAE,CAAC;CAC/B,CAAC,CAAC;AAOU,QAAA,yCAAyC,GAAG,OAAC,CAAC,MAAM,CAAC;IAC9D,KAAK,EAAE,OAAC,CAAC,MAAM,EAAE;CACpB,CAAC,CAAC;AAKU,QAAA,gCAAgC,GAAG,OAAC,CAAC,MAAM,CAAC;IACrD,gBAAgB,EAAE,OAAC,CAAC,MAAM,EAAE;IAC5B,gBAAgB,EAAE,OAAC,CAAC,MA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CAAC,EAAE,wCAAgC;IACjE,CAAC,8CAAkB,CAAC,mBAAmB,CAAC,EAAE,iDAAyC;IACnF,CAAC,8CAAkB,CAAC,UAAU,CAAC,EAAE,wCAAgC;IACjE,CAAC,8CAAkB,CAAC,cAAc,CAAC,EAAE,4CAAoC;IACzE,CAAC,8CAAkB,CAAC,cAAc,CAAC,EAAE,4CAAoC;IACzE,CAAC,8CAAkB,CAAC,cAAc,CAAC,EAAE,4CAAoC;CAC5E,CAAC;AAMW,QAAA,uBAAuB,GAAG,OAAC;KACnC,KAAK,CAAC;IACH,wCAAgC;IAChC,iDAAyC;IACzC,wCAAgC;IAChC,4CAAoC;IACpC,4CAAoC;IACpC,4CAAoC;CACvC,CAAC;KACD,QAAQ,EAAE,CAAC;AASH,QAAA,4BAA4B,GAAG,OAAC,CAAC,KAAK,CAAC;IAChD,OAAC,CAAC,MAAM,CAAC,EAAE,QAAQ,EAAE,OAAC,CAAC,MAAM,EAAE,CAAC,GAAG,EAAE,EAAE,CAAC;IACxC,OAAC,CAAC,MAAM,CAAC,EAAE,SAAS,EAAE,OAAC,CAAC,KAAK,CAAC,OAAC,CAAC,MAAM,EAAE,CAAC,GAAG,EAAE,CAAC,EAAE,CAAC;IAClD,OAAC,CAAC,MAAM,CAAC,EAAE,CAAC;CACf,CAAC,CAAC;AAMU,QAAA,sBAAsB,GAE/B;IACA,CAAC,8CAAkB,CAAC,MAAM,CAAC,EAAE,oCAA4B;CAC5D,CAAC;AAKW,QAAA,sBAAsB,GAAG,oCAA4B,CAAC,QAAQ,EAAE,CAAC"}
@@ -21,6 +21,11 @@ export declare const StreamStepStartEventSchema: z.ZodObject<{
21
21
  videoUrl: z.ZodString;
22
22
  }, z.core.$strip>, z.ZodObject<{
23
23
  primitiveType: z.ZodEnum<typeof import("../..").SandboxPrimitiveType>;
24
+ }, z.core.$strip>, z.ZodObject<{
25
+ toolName: z.ZodString;
26
+ connectionUuid: z.ZodString;
27
+ providerKey: z.ZodNullable<z.ZodString>;
28
+ argsPreview: z.ZodOptional<z.ZodString>;
24
29
  }, z.core.$strip>]>>;
25
30
  }, z.core.$strip>;
26
31
  export declare const StreamStepChunkEventSchema: z.ZodObject<{
@@ -217,6 +222,11 @@ export declare const StreamEventSchema: z.ZodDiscriminatedUnion<[z.ZodObject<{
217
222
  videoUrl: z.ZodString;
218
223
  }, z.core.$strip>, z.ZodObject<{
219
224
  primitiveType: z.ZodEnum<typeof import("../..").SandboxPrimitiveType>;
225
+ }, z.core.$strip>, z.ZodObject<{
226
+ toolName: z.ZodString;
227
+ connectionUuid: z.ZodString;
228
+ providerKey: z.ZodNullable<z.ZodString>;
229
+ argsPreview: z.ZodOptional<z.ZodString>;
220
230
  }, z.core.$strip>]>>;
221
231
  }, z.core.$strip>, z.ZodObject<{
222
232
  id: z.ZodNumber;
@@ -5,6 +5,7 @@ export declare namespace AdminSeoBlockCreateBlockCommand {
5
5
  type: z.ZodString;
6
6
  status: z.ZodDefault<z.ZodEnum<typeof import("../../schemas").SeoBlockStatus>>;
7
7
  content: z.ZodRecord<z.ZodString, z.ZodUnknown>;
8
+ order: z.ZodDefault<z.ZodNumber>;
8
9
  pageUuids: z.ZodOptional<z.ZodArray<z.ZodString>>;
9
10
  }, z.core.$strip>;
10
11
  const Response: z.ZodObject<{
@@ -12,6 +13,7 @@ export declare namespace AdminSeoBlockCreateBlockCommand {
12
13
  type: z.ZodString;
13
14
  status: z.ZodEnum<typeof import("../../schemas").SeoBlockStatus>;
14
15
  content: z.ZodRecord<z.ZodString, z.ZodUnknown>;
16
+ order: z.ZodNumber;
15
17
  pageUuids: z.ZodArray<z.ZodString>;
16
18
  deletedAt: z.ZodNullable<z.ZodString>;
17
19
  createdAt: z.ZodString;
@@ -5,6 +5,7 @@ export declare namespace AdminSeoBlockUpdateBlockCommand {
5
5
  type: z.ZodOptional<z.ZodString>;
6
6
  status: z.ZodOptional<z.ZodEnum<typeof import("../../schemas").SeoBlockStatus>>;
7
7
  content: z.ZodOptional<z.ZodRecord<z.ZodString, z.ZodUnknown>>;
8
+ order: z.ZodOptional<z.ZodNumber>;
8
9
  pageUuids: z.ZodOptional<z.ZodArray<z.ZodString>>;
9
10
  }, z.core.$strip>;
10
11
  const Response: z.ZodObject<{
@@ -12,6 +13,7 @@ export declare namespace AdminSeoBlockUpdateBlockCommand {
12
13
  type: z.ZodString;
13
14
  status: z.ZodEnum<typeof import("../../schemas").SeoBlockStatus>;
14
15
  content: z.ZodRecord<z.ZodString, z.ZodUnknown>;
16
+ order: z.ZodNumber;
15
17
  pageUuids: z.ZodArray<z.ZodString>;
16
18
  deletedAt: z.ZodNullable<z.ZodString>;
17
19
  createdAt: z.ZodString;
@@ -7,6 +7,7 @@ export declare namespace AdminSeoBlockGetBlockQuery {
7
7
  type: z.ZodString;
8
8
  status: z.ZodEnum<typeof import("../../schemas").SeoBlockStatus>;
9
9
  content: z.ZodRecord<z.ZodString, z.ZodUnknown>;
10
+ order: z.ZodNumber;
10
11
  pageUuids: z.ZodArray<z.ZodString>;
11
12
  deletedAt: z.ZodNullable<z.ZodString>;
12
13
  createdAt: z.ZodString;
@@ -17,6 +17,7 @@ export declare namespace AdminSeoBlockGetBlocksQuery {
17
17
  type: z.ZodString;
18
18
  status: z.ZodEnum<typeof import("../../schemas").SeoBlockStatus>;
19
19
  content: z.ZodRecord<z.ZodString, z.ZodUnknown>;
20
+ order: z.ZodNumber;
20
21
  pageUuids: z.ZodArray<z.ZodString>;
21
22
  deletedAt: z.ZodNullable<z.ZodString>;
22
23
  createdAt: z.ZodString;
@@ -0,0 +1,26 @@
1
+ import { z } from 'zod';
2
+ export declare const BeforeAfterExampleSchema: z.ZodObject<{
3
+ label: z.ZodString;
4
+ beforeSrc: z.ZodString;
5
+ beforeAlt: z.ZodString;
6
+ afterSrc: z.ZodString;
7
+ afterAlt: z.ZodString;
8
+ prompt: z.ZodOptional<z.ZodString>;
9
+ }, z.core.$strip>;
10
+ export declare const BeforeAfterSliderBlockContentSchema: z.ZodObject<{
11
+ title: z.ZodString;
12
+ subtitle: z.ZodOptional<z.ZodString>;
13
+ examples: z.ZodArray<z.ZodObject<{
14
+ label: z.ZodString;
15
+ beforeSrc: z.ZodString;
16
+ beforeAlt: z.ZodString;
17
+ afterSrc: z.ZodString;
18
+ afterAlt: z.ZodString;
19
+ prompt: z.ZodOptional<z.ZodString>;
20
+ }, z.core.$strip>>;
21
+ initialPosition: z.ZodOptional<z.ZodNumber>;
22
+ beforeLabel: z.ZodOptional<z.ZodString>;
23
+ afterLabel: z.ZodOptional<z.ZodString>;
24
+ }, z.core.$strip>;
25
+ export type BeforeAfterExample = z.infer<typeof BeforeAfterExampleSchema>;
26
+ export type BeforeAfterSliderBlockContent = z.infer<typeof BeforeAfterSliderBlockContentSchema>;
@@ -0,0 +1,21 @@
1
+ "use strict";
2
+ Object.defineProperty(exports, "__esModule", { value: true });
3
+ exports.BeforeAfterSliderBlockContentSchema = exports.BeforeAfterExampleSchema = void 0;
4
+ const zod_1 = require("zod");
5
+ exports.BeforeAfterExampleSchema = zod_1.z.object({
6
+ label: zod_1.z.string().min(1).max(60),
7
+ beforeSrc: zod_1.z.string().min(1).max(500),
8
+ beforeAlt: zod_1.z.string().min(1).max(300),
9
+ afterSrc: zod_1.z.string().min(1).max(500),
10
+ afterAlt: zod_1.z.string().min(1).max(300),
11
+ prompt: zod_1.z.string().min(1).max(500).optional(),
12
+ });
13
+ exports.BeforeAfterSliderBlockContentSchema = zod_1.z.object({
14
+ title: zod_1.z.string().min(1).max(300),
15
+ subtitle: zod_1.z.string().min(1).max(500).optional(),
16
+ examples: zod_1.z.array(exports.BeforeAfterExampleSchema).min(1).max(6),
17
+ initialPosition: zod_1.z.number().int().min(0).max(100).optional(),
18
+ beforeLabel: zod_1.z.string().min(1).max(40).optional(),
19
+ afterLabel: zod_1.z.string().min(1).max(40).optional(),
20
+ });
21
+ //# sourceMappingURL=before-after-slider.block.js.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"before-after-slider.block.js","sourceRoot":"","sources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E,CAAC,GAAG,CAAC,CAAC,CAAC,CAAC,GAAG,CAAC,GAAG,CAAC,CAAC,QAAQ,EAAE;IAE5D,WAAW,EAAE,OAAC,CAAC,MAAM,EAAE,CAAC,GAAG,CAAC,CAAC,CAAC,CAAC,GAAG,CAAC,EAAE,CAAC,CAAC,QAAQ,EAAE;IAEjD,UAAU,EAAE,OAAC,CAAC,MAAM,EAAE,CAAC,GAAG,CAAC,CAAC,CAAC,CAAC,GAAG,CAAC,EAAE,CAAC,CAAC,QAAQ,EAAE;CACnD,CAAC,CAAC"}
@@ -0,0 +1,8 @@
1
+ import { z } from 'zod';
2
+ export declare const ChatCtaBlockContentSchema: z.ZodObject<{
3
+ title: z.ZodString;
4
+ subtitle: z.ZodOptional<z.ZodString>;
5
+ ctaLabel: z.ZodString;
6
+ ctaHref: z.ZodOptional<z.ZodString>;
7
+ }, z.core.$strip>;
8
+ export type ChatCtaBlockContent = z.infer<typeof ChatCtaBlockContentSchema>;
@@ -0,0 +1,11 @@
1
+ "use strict";
2
+ Object.defineProperty(exports, "__esModule", { value: true });
3
+ exports.ChatCtaBlockContentSchema = void 0;
4
+ const zod_1 = require("zod");
5
+ exports.ChatCtaBlockContentSchema = zod_1.z.object({
6
+ title: zod_1.z.string().min(1).max(300),
7
+ subtitle: zod_1.z.string().min(1).max(500).optional(),
8
+ ctaLabel: zod_1.z.string().min(1).max(80),
9
+ ctaHref: zod_1.z.string().min(1).max(300).optional(),
10
+ });
11
+ //# sourceMappingURL=chat-cta.block.js.map