@opencx/widget 2.3.1 → 2.4.1

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.
@@ -679,9 +679,34 @@ declare const handleContactMessageOutputSchema: z.ZodDiscriminatedUnion<"success
679
679
  };
680
680
  success: false;
681
681
  }>]>;
682
+ declare const widgetVoteSchema: z.ZodObject<{
683
+ action: z.ZodEnum<["upvote", "downvote"]>;
684
+ sessionId: z.ZodString;
685
+ messagePublicId: z.ZodString;
686
+ }, "strip", z.ZodTypeAny, {
687
+ action: "upvote" | "downvote";
688
+ sessionId: string;
689
+ messagePublicId: string;
690
+ }, {
691
+ action: "upvote" | "downvote";
692
+ sessionId: string;
693
+ messagePublicId: string;
694
+ }>;
695
+ declare const widgetVoteResponseSchema: z.ZodObject<{
696
+ messagePublicId: z.ZodNullable<z.ZodString>;
697
+ success: z.ZodBoolean;
698
+ }, "strip", z.ZodTypeAny, {
699
+ success: boolean;
700
+ messagePublicId: string | null;
701
+ }, {
702
+ success: boolean;
703
+ messagePublicId: string | null;
704
+ }>;
705
+ export type WidgetVoteResponseSchema = z.infer<typeof widgetVoteResponseSchema>;
682
706
  export type HandleContactMessageOutputSchema = z.infer<typeof handleContactMessageOutputSchema>;
683
707
  export type HttpChatInputSchema = z.infer<typeof httpChatInputDto>;
684
708
  export type WidgetSessionSchema = z.infer<typeof widgetSessionSchema>;
685
709
  export type WidgetHistorySchema = z.infer<typeof widgetHistorySchema>;
686
710
  export type WidgetPreludeSchema = z.infer<typeof widgetPreludeSchema>;
711
+ export type WidgetVoteSchema = z.infer<typeof widgetVoteSchema>;
687
712
  export {};