@rudderhq/cli 0.2.7-canary.12 → 0.2.7-canary.13
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/dist/index.js +19 -1
- package/dist/index.js.map +2 -2
- package/package.json +1 -1
package/dist/index.js
CHANGED
|
@@ -747,7 +747,7 @@ var init_resource = __esm({
|
|
|
747
747
|
|
|
748
748
|
// ../packages/shared/dist/validators/chat.js
|
|
749
749
|
import { z as z8 } from "zod";
|
|
750
|
-
var chatConversationStatusSchema, chatIssueCreationModeSchema, chatMessageRoleSchema, chatMessageKindSchema, chatMessageStatusSchema, chatContextEntityTypeSchema, createChatContextLinkSchema, createChatConversationSchema, setChatProjectContextSchema, updateChatConversationSchema, addChatMessageSchema, chatRichReferenceDisplaySchema, chatIssueIdentifierSchema, chatAskUserIdentifierSchema, chatAskUserOptionSchema, chatAskUserQuestionSchema, chatAskUserRequestSchema, chatIssueRichReferenceSchema, chatIssueCommentRichReferenceSchema, chatRichReferenceSchema, chatRichReferencesSchema, createChatAttachmentMetadataSchema, chatIssueProposalSchema, convertChatToIssueSchema, chatOperationProposalSchema, resolveChatOperationProposalSchema, updateChatConversationUserStateSchema;
|
|
750
|
+
var chatConversationStatusSchema, chatIssueCreationModeSchema, chatMessageRoleSchema, chatMessageKindSchema, chatMessageStatusSchema, chatContextEntityTypeSchema, createChatContextLinkSchema, createChatConversationSchema, setChatProjectContextSchema, updateChatConversationSchema, addChatMessageSchema, chatRichReferenceDisplaySchema, chatIssueIdentifierSchema, chatAskUserIdentifierSchema, chatAskUserOptionSchema, chatAskUserQuestionSchema, chatAskUserRequestSchema, chatIssueRichReferenceSchema, chatIssueCommentRichReferenceSchema, chatRichReferenceSchema, chatRichReferencesSchema, chatAutomationCreateSchema, createChatAttachmentMetadataSchema, chatIssueProposalSchema, convertChatToIssueSchema, chatOperationProposalSchema, resolveChatOperationProposalSchema, updateChatConversationUserStateSchema;
|
|
751
751
|
var init_chat = __esm({
|
|
752
752
|
"../packages/shared/dist/validators/chat.js"() {
|
|
753
753
|
"use strict";
|
|
@@ -852,6 +852,24 @@ var init_chat = __esm({
|
|
|
852
852
|
chatIssueCommentRichReferenceSchema
|
|
853
853
|
]);
|
|
854
854
|
chatRichReferencesSchema = z8.array(chatRichReferenceSchema).max(5);
|
|
855
|
+
chatAutomationCreateSchema = z8.object({
|
|
856
|
+
title: z8.string().trim().min(1).max(200),
|
|
857
|
+
description: z8.string().trim().max(2e4).optional().nullable(),
|
|
858
|
+
projectId: z8.string().uuid().optional().nullable(),
|
|
859
|
+
goalId: z8.string().uuid().optional().nullable(),
|
|
860
|
+
parentIssueId: z8.string().uuid().optional().nullable(),
|
|
861
|
+
priority: z8.enum(["critical", "high", "medium", "low"]).optional().default("medium"),
|
|
862
|
+
status: z8.enum(AUTOMATION_STATUSES).optional().default("active"),
|
|
863
|
+
concurrencyPolicy: z8.enum(AUTOMATION_CONCURRENCY_POLICIES).optional().default("coalesce_if_active"),
|
|
864
|
+
catchUpPolicy: z8.enum(AUTOMATION_CATCH_UP_POLICIES).optional().default("skip_missed"),
|
|
865
|
+
outputMode: z8.enum(AUTOMATION_OUTPUT_MODES).optional().default("chat_output"),
|
|
866
|
+
schedule: z8.object({
|
|
867
|
+
cronExpression: z8.string().trim().min(1),
|
|
868
|
+
timezone: z8.string().trim().min(1),
|
|
869
|
+
label: z8.string().trim().max(120).optional().nullable(),
|
|
870
|
+
enabled: z8.boolean().optional().default(true)
|
|
871
|
+
})
|
|
872
|
+
});
|
|
855
873
|
createChatAttachmentMetadataSchema = z8.object({
|
|
856
874
|
messageId: z8.string().uuid()
|
|
857
875
|
});
|