🚑 Revert resultId optional in startChat response
This commit is contained in:
@ -1539,7 +1539,6 @@
|
|||||||
},
|
},
|
||||||
"required": [
|
"required": [
|
||||||
"sessionId",
|
"sessionId",
|
||||||
"resultId",
|
|
||||||
"typebot",
|
"typebot",
|
||||||
"messages"
|
"messages"
|
||||||
]
|
]
|
||||||
|
@ -74,7 +74,7 @@ export const startChat = publicProcedure
|
|||||||
},
|
},
|
||||||
messages,
|
messages,
|
||||||
input,
|
input,
|
||||||
resultId: resultId as string,
|
resultId,
|
||||||
dynamicTheme,
|
dynamicTheme,
|
||||||
logs,
|
logs,
|
||||||
clientSideActions,
|
clientSideActions,
|
||||||
|
@ -317,7 +317,7 @@ export const startChatResponseSchema = z
|
|||||||
sessionId: z
|
sessionId: z
|
||||||
.string()
|
.string()
|
||||||
.describe('To save and use for /continueChat requests.'),
|
.describe('To save and use for /continueChat requests.'),
|
||||||
resultId: z.string(),
|
resultId: z.string().optional(),
|
||||||
typebot: z.object({
|
typebot: z.object({
|
||||||
id: z.string(),
|
id: z.string(),
|
||||||
theme: themeSchema,
|
theme: themeSchema,
|
||||||
|
Reference in New Issue
Block a user