Huge News!Announcing our $40M Series B led by Abstract Ventures.Learn More

@botpress/webchat

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

@botpress/webchat - npm Package Compare versions

Comparing version 2.3.0 to 2.3.1

@@ -63,6 +63,2 @@ /**

audioUrl: string;
/**
* CSS className to apply to the message
*/
className?: string;
type: "audio";

@@ -81,6 +77,2 @@ [k: string]: any;

type: "card";
/**
* CSS className to apply to the message
*/
className?: string;
[k: string]: any;

@@ -98,12 +90,4 @@ } | {

}[];
/**
* CSS className to apply to the message
*/
className?: string;
[k: string]: any;
}[];
/**
* CSS className to apply to the message
*/
className?: string;
type: "carousel";

@@ -118,6 +102,2 @@ [k: string]: any;

}[];
/**
* CSS className to apply to the message
*/
className?: string;
type: "choice";

@@ -133,6 +113,2 @@ disableFreeText?: boolean;

}[];
/**
* CSS className to apply to the message
*/
className?: string;
type: "dropdown";

@@ -143,6 +119,2 @@ [k: string]: any;

title?: string;
/**
* CSS className to apply to the message
*/
className?: string;
type: "file";

@@ -152,6 +124,2 @@ [k: string]: any;

imageUrl: string;
/**
* CSS className to apply to the message
*/
className?: string;
type: "image";

@@ -164,6 +132,2 @@ [k: string]: any;

title?: string;
/**
* CSS className to apply to the message
*/
className?: string;
type: "location";

@@ -173,6 +137,2 @@ [k: string]: any;

markdown: string;
/**
* CSS className to apply to the message
*/
className?: string;
type: "markdown";

@@ -182,6 +142,2 @@ [k: string]: any;

text: string;
/**
* CSS className to apply to the message
*/
className?: string;
type: "text";

@@ -191,6 +147,2 @@ [k: string]: any;

videoUrl: string;
/**
* CSS className to apply to the message
*/
className?: string;
type: "video";

@@ -253,6 +205,2 @@ [k: string]: any;

})[];
/**
* CSS className to apply to the message
*/
className?: string;
type: "bloc";

@@ -259,0 +207,0 @@ [k: string]: any;

@@ -14,6 +14,2 @@ export interface CreateMessageRequestHeaders {

audioUrl: string;
/**
* CSS className to apply to the message
*/
className?: string;
type: "audio";

@@ -32,6 +28,2 @@ [k: string]: any;

type: "card";
/**
* CSS className to apply to the message
*/
className?: string;
[k: string]: any;

@@ -49,12 +41,4 @@ } | {

}[];
/**
* CSS className to apply to the message
*/
className?: string;
[k: string]: any;
}[];
/**
* CSS className to apply to the message
*/
className?: string;
type: "carousel";

@@ -69,6 +53,2 @@ [k: string]: any;

}[];
/**
* CSS className to apply to the message
*/
className?: string;
type: "choice";

@@ -84,6 +64,2 @@ disableFreeText?: boolean;

}[];
/**
* CSS className to apply to the message
*/
className?: string;
type: "dropdown";

@@ -94,6 +70,2 @@ [k: string]: any;

title?: string;
/**
* CSS className to apply to the message
*/
className?: string;
type: "file";

@@ -103,6 +75,2 @@ [k: string]: any;

imageUrl: string;
/**
* CSS className to apply to the message
*/
className?: string;
type: "image";

@@ -115,6 +83,2 @@ [k: string]: any;

title?: string;
/**
* CSS className to apply to the message
*/
className?: string;
type: "location";

@@ -124,6 +88,2 @@ [k: string]: any;

markdown: string;
/**
* CSS className to apply to the message
*/
className?: string;
type: "markdown";

@@ -133,6 +93,2 @@ [k: string]: any;

text: string;
/**
* CSS className to apply to the message
*/
className?: string;
type: "text";

@@ -142,6 +98,2 @@ [k: string]: any;

videoUrl: string;
/**
* CSS className to apply to the message
*/
className?: string;
type: "video";

@@ -204,6 +156,2 @@ [k: string]: any;

})[];
/**
* CSS className to apply to the message
*/
className?: string;
type: "bloc";

@@ -245,6 +193,2 @@ [k: string]: any;

audioUrl: string;
/**
* CSS className to apply to the message
*/
className?: string;
type: "audio";

@@ -263,6 +207,2 @@ [k: string]: any;

type: "card";
/**
* CSS className to apply to the message
*/
className?: string;
[k: string]: any;

@@ -280,12 +220,4 @@ } | {

}[];
/**
* CSS className to apply to the message
*/
className?: string;
[k: string]: any;
}[];
/**
* CSS className to apply to the message
*/
className?: string;
type: "carousel";

@@ -300,6 +232,2 @@ [k: string]: any;

}[];
/**
* CSS className to apply to the message
*/
className?: string;
type: "choice";

@@ -315,6 +243,2 @@ disableFreeText?: boolean;

}[];
/**
* CSS className to apply to the message
*/
className?: string;
type: "dropdown";

@@ -325,6 +249,2 @@ [k: string]: any;

title?: string;
/**
* CSS className to apply to the message
*/
className?: string;
type: "file";

@@ -334,6 +254,2 @@ [k: string]: any;

imageUrl: string;
/**
* CSS className to apply to the message
*/
className?: string;
type: "image";

@@ -346,6 +262,2 @@ [k: string]: any;

title?: string;
/**
* CSS className to apply to the message
*/
className?: string;
type: "location";

@@ -355,6 +267,2 @@ [k: string]: any;

markdown: string;
/**
* CSS className to apply to the message
*/
className?: string;
type: "markdown";

@@ -364,6 +272,2 @@ [k: string]: any;

text: string;
/**
* CSS className to apply to the message
*/
className?: string;
type: "text";

@@ -373,6 +277,2 @@ [k: string]: any;

videoUrl: string;
/**
* CSS className to apply to the message
*/
className?: string;
type: "video";

@@ -435,6 +335,2 @@ [k: string]: any;

})[];
/**
* CSS className to apply to the message
*/
className?: string;
type: "bloc";

@@ -441,0 +337,0 @@ [k: string]: any;

@@ -39,6 +39,2 @@ export interface GetMessageRequestHeaders {

audioUrl: string;
/**
* CSS className to apply to the message
*/
className?: string;
type: "audio";

@@ -57,6 +53,2 @@ [k: string]: any;

type: "card";
/**
* CSS className to apply to the message
*/
className?: string;
[k: string]: any;

@@ -74,12 +66,4 @@ } | {

}[];
/**
* CSS className to apply to the message
*/
className?: string;
[k: string]: any;
}[];
/**
* CSS className to apply to the message
*/
className?: string;
type: "carousel";

@@ -94,6 +78,2 @@ [k: string]: any;

}[];
/**
* CSS className to apply to the message
*/
className?: string;
type: "choice";

@@ -109,6 +89,2 @@ disableFreeText?: boolean;

}[];
/**
* CSS className to apply to the message
*/
className?: string;
type: "dropdown";

@@ -119,6 +95,2 @@ [k: string]: any;

title?: string;
/**
* CSS className to apply to the message
*/
className?: string;
type: "file";

@@ -128,6 +100,2 @@ [k: string]: any;

imageUrl: string;
/**
* CSS className to apply to the message
*/
className?: string;
type: "image";

@@ -140,6 +108,2 @@ [k: string]: any;

title?: string;
/**
* CSS className to apply to the message
*/
className?: string;
type: "location";

@@ -149,6 +113,2 @@ [k: string]: any;

markdown: string;
/**
* CSS className to apply to the message
*/
className?: string;
type: "markdown";

@@ -158,6 +118,2 @@ [k: string]: any;

text: string;
/**
* CSS className to apply to the message
*/
className?: string;
type: "text";

@@ -167,6 +123,2 @@ [k: string]: any;

videoUrl: string;
/**
* CSS className to apply to the message
*/
className?: string;
type: "video";

@@ -229,6 +181,2 @@ [k: string]: any;

})[];
/**
* CSS className to apply to the message
*/
className?: string;
type: "bloc";

@@ -235,0 +183,0 @@ [k: string]: any;

@@ -37,6 +37,2 @@ export interface ListConversationMessagesRequestHeaders {

audioUrl: string;
/**
* CSS className to apply to the message
*/
className?: string;
type: "audio";

@@ -55,6 +51,2 @@ [k: string]: any;

type: "card";
/**
* CSS className to apply to the message
*/
className?: string;
[k: string]: any;

@@ -72,12 +64,4 @@ } | {

}[];
/**
* CSS className to apply to the message
*/
className?: string;
[k: string]: any;
}[];
/**
* CSS className to apply to the message
*/
className?: string;
type: "carousel";

@@ -92,6 +76,2 @@ [k: string]: any;

}[];
/**
* CSS className to apply to the message
*/
className?: string;
type: "choice";

@@ -107,6 +87,2 @@ disableFreeText?: boolean;

}[];
/**
* CSS className to apply to the message
*/
className?: string;
type: "dropdown";

@@ -117,6 +93,2 @@ [k: string]: any;

title?: string;
/**
* CSS className to apply to the message
*/
className?: string;
type: "file";

@@ -126,6 +98,2 @@ [k: string]: any;

imageUrl: string;
/**
* CSS className to apply to the message
*/
className?: string;
type: "image";

@@ -138,6 +106,2 @@ [k: string]: any;

title?: string;
/**
* CSS className to apply to the message
*/
className?: string;
type: "location";

@@ -147,6 +111,2 @@ [k: string]: any;

markdown: string;
/**
* CSS className to apply to the message
*/
className?: string;
type: "markdown";

@@ -156,6 +116,2 @@ [k: string]: any;

text: string;
/**
* CSS className to apply to the message
*/
className?: string;
type: "text";

@@ -165,6 +121,2 @@ [k: string]: any;

videoUrl: string;
/**
* CSS className to apply to the message
*/
className?: string;
type: "video";

@@ -227,6 +179,2 @@ [k: string]: any;

})[];
/**
* CSS className to apply to the message
*/
className?: string;
type: "bloc";

@@ -233,0 +181,0 @@ [k: string]: any;

@@ -16,3 +16,2 @@ import type { MessageCreated } from './messageCreated.t';

audioUrl: import("zod").ZodString;
className: import("zod").ZodOptional<import("zod").ZodString>;
type: import("zod").ZodLiteral<"audio">;

@@ -22,7 +21,5 @@ }, "strip", import("zod").ZodTypeAny, {

audioUrl: string;
className?: string | undefined;
}, {
type: "audio";
audioUrl: string;
className?: string | undefined;
}>, import("zod").ZodObject<{

@@ -46,3 +43,2 @@ title: import("zod").ZodString;

type: import("zod").ZodLiteral<"card">;
className: import("zod").ZodOptional<import("zod").ZodString>;
}, "strip", import("zod").ZodTypeAny, {

@@ -58,3 +54,2 @@ type: "card";

imageUrl?: string | undefined;
className?: string | undefined;
}, {

@@ -70,3 +65,2 @@ type: "card";

imageUrl?: string | undefined;
className?: string | undefined;
}>, import("zod").ZodObject<{

@@ -90,3 +84,2 @@ items: import("zod").ZodArray<import("zod").ZodObject<{

}>, "many">;
className: import("zod").ZodOptional<import("zod").ZodString>;
}, "strip", import("zod").ZodTypeAny, {

@@ -101,3 +94,2 @@ title: string;

imageUrl?: string | undefined;
className?: string | undefined;
}, {

@@ -112,5 +104,3 @@ title: string;

imageUrl?: string | undefined;
className?: string | undefined;
}>, "many">;
className: import("zod").ZodOptional<import("zod").ZodString>;
type: import("zod").ZodLiteral<"carousel">;

@@ -128,5 +118,3 @@ }, "strip", import("zod").ZodTypeAny, {

imageUrl?: string | undefined;
className?: string | undefined;
}[];
className?: string | undefined;
}, {

@@ -143,5 +131,3 @@ type: "carousel";

imageUrl?: string | undefined;
className?: string | undefined;
}[];
className?: string | undefined;
}>, import("zod").ZodObject<{

@@ -159,3 +145,2 @@ text: import("zod").ZodString;

}>, "many">;
className: import("zod").ZodOptional<import("zod").ZodString>;
type: import("zod").ZodLiteral<"choice">;

@@ -170,3 +155,2 @@ disableFreeText: import("zod").ZodOptional<import("zod").ZodBoolean>;

}[];
className?: string | undefined;
disableFreeText?: boolean | undefined;

@@ -180,3 +164,2 @@ }, {

}[];
className?: string | undefined;
disableFreeText?: boolean | undefined;

@@ -195,3 +178,2 @@ }>, import("zod").ZodObject<{

}>, "many">;
className: import("zod").ZodOptional<import("zod").ZodString>;
type: import("zod").ZodLiteral<"dropdown">;

@@ -205,3 +187,2 @@ }, "strip", import("zod").ZodTypeAny, {

}[];
className?: string | undefined;
}, {

@@ -214,7 +195,5 @@ type: "dropdown";

}[];
className?: string | undefined;
}>, import("zod").ZodObject<{
fileUrl: import("zod").ZodString;
title: import("zod").ZodOptional<import("zod").ZodString>;
className: import("zod").ZodOptional<import("zod").ZodString>;
type: import("zod").ZodLiteral<"file">;

@@ -225,3 +204,2 @@ }, "strip", import("zod").ZodTypeAny, {

title?: string | undefined;
className?: string | undefined;
}, {

@@ -231,6 +209,4 @@ type: "file";

title?: string | undefined;
className?: string | undefined;
}>, import("zod").ZodObject<{
imageUrl: import("zod").ZodString;
className: import("zod").ZodOptional<import("zod").ZodString>;
type: import("zod").ZodLiteral<"image">;

@@ -240,7 +216,5 @@ }, "strip", import("zod").ZodTypeAny, {

imageUrl: string;
className?: string | undefined;
}, {
type: "image";
imageUrl: string;
className?: string | undefined;
}>, import("zod").ZodObject<{

@@ -251,3 +225,2 @@ latitude: import("zod").ZodNumber;

title: import("zod").ZodOptional<import("zod").ZodString>;
className: import("zod").ZodOptional<import("zod").ZodString>;
type: import("zod").ZodLiteral<"location">;

@@ -260,3 +233,2 @@ }, "strip", import("zod").ZodTypeAny, {

title?: string | undefined;
className?: string | undefined;
}, {

@@ -268,6 +240,4 @@ type: "location";

title?: string | undefined;
className?: string | undefined;
}>, import("zod").ZodObject<{
markdown: import("zod").ZodString;
className: import("zod").ZodOptional<import("zod").ZodString>;
type: import("zod").ZodLiteral<"markdown">;

@@ -277,10 +247,7 @@ }, "strip", import("zod").ZodTypeAny, {

markdown: string;
className?: string | undefined;
}, {
type: "markdown";
markdown: string;
className?: string | undefined;
}>, import("zod").ZodObject<{
text: import("zod").ZodString;
className: import("zod").ZodOptional<import("zod").ZodString>;
type: import("zod").ZodLiteral<"text">;

@@ -290,10 +257,7 @@ }, "strip", import("zod").ZodTypeAny, {

text: string;
className?: string | undefined;
}, {
type: "text";
text: string;
className?: string | undefined;
}>, import("zod").ZodObject<{
videoUrl: import("zod").ZodString;
className: import("zod").ZodOptional<import("zod").ZodString>;
type: import("zod").ZodLiteral<"video">;

@@ -303,7 +267,5 @@ }, "strip", import("zod").ZodTypeAny, {

videoUrl: string;
className?: string | undefined;
}, {
type: "video";
videoUrl: string;
className?: string | undefined;
}>, import("zod").ZodObject<{

@@ -464,3 +426,2 @@ items: import("zod").ZodArray<import("zod").ZodUnion<[import("zod").ZodObject<{

}>]>, "many">;
className: import("zod").ZodOptional<import("zod").ZodString>;
type: import("zod").ZodLiteral<"bloc">;

@@ -509,3 +470,2 @@ }, "strip", import("zod").ZodTypeAny, {

})[];
className?: string | undefined;
}, {

@@ -553,3 +513,2 @@ type: "bloc";

})[];
className?: string | undefined;
}>]>;

@@ -562,3 +521,2 @@ userId: import("zod").ZodString;

audioUrl: string;
className?: string | undefined;
} | {

@@ -574,3 +532,2 @@ type: "card";

imageUrl?: string | undefined;
className?: string | undefined;
} | {

@@ -587,5 +544,3 @@ type: "carousel";

imageUrl?: string | undefined;
className?: string | undefined;
}[];
className?: string | undefined;
} | {

@@ -598,3 +553,2 @@ type: "choice";

}[];
className?: string | undefined;
disableFreeText?: boolean | undefined;

@@ -608,3 +562,2 @@ } | {

}[];
className?: string | undefined;
} | {

@@ -614,7 +567,5 @@ type: "file";

title?: string | undefined;
className?: string | undefined;
} | {
type: "image";
imageUrl: string;
className?: string | undefined;
} | {

@@ -626,15 +577,11 @@ type: "location";

title?: string | undefined;
className?: string | undefined;
} | {
type: "markdown";
markdown: string;
className?: string | undefined;
} | {
type: "text";
text: string;
className?: string | undefined;
} | {
type: "video";
videoUrl: string;
className?: string | undefined;
} | {

@@ -682,3 +629,2 @@ type: "bloc";

})[];
className?: string | undefined;
};

@@ -693,3 +639,2 @@ id: string;

audioUrl: string;
className?: string | undefined;
} | {

@@ -705,3 +650,2 @@ type: "card";

imageUrl?: string | undefined;
className?: string | undefined;
} | {

@@ -718,5 +662,3 @@ type: "carousel";

imageUrl?: string | undefined;
className?: string | undefined;
}[];
className?: string | undefined;
} | {

@@ -729,3 +671,2 @@ type: "choice";

}[];
className?: string | undefined;
disableFreeText?: boolean | undefined;

@@ -739,3 +680,2 @@ } | {

}[];
className?: string | undefined;
} | {

@@ -745,7 +685,5 @@ type: "file";

title?: string | undefined;
className?: string | undefined;
} | {
type: "image";
imageUrl: string;
className?: string | undefined;
} | {

@@ -757,15 +695,11 @@ type: "location";

title?: string | undefined;
className?: string | undefined;
} | {
type: "markdown";
markdown: string;
className?: string | undefined;
} | {
type: "text";
text: string;
className?: string | undefined;
} | {
type: "video";
videoUrl: string;
className?: string | undefined;
} | {

@@ -813,3 +747,2 @@ type: "bloc";

})[];
className?: string | undefined;
};

@@ -827,3 +760,2 @@ id: string;

audioUrl: string;
className?: string | undefined;
} | {

@@ -839,3 +771,2 @@ type: "card";

imageUrl?: string | undefined;
className?: string | undefined;
} | {

@@ -852,5 +783,3 @@ type: "carousel";

imageUrl?: string | undefined;
className?: string | undefined;
}[];
className?: string | undefined;
} | {

@@ -863,3 +792,2 @@ type: "choice";

}[];
className?: string | undefined;
disableFreeText?: boolean | undefined;

@@ -873,3 +801,2 @@ } | {

}[];
className?: string | undefined;
} | {

@@ -879,7 +806,5 @@ type: "file";

title?: string | undefined;
className?: string | undefined;
} | {
type: "image";
imageUrl: string;
className?: string | undefined;
} | {

@@ -891,15 +816,11 @@ type: "location";

title?: string | undefined;
className?: string | undefined;
} | {
type: "markdown";
markdown: string;
className?: string | undefined;
} | {
type: "text";
text: string;
className?: string | undefined;
} | {
type: "video";
videoUrl: string;
className?: string | undefined;
} | {

@@ -947,3 +868,2 @@ type: "bloc";

})[];
className?: string | undefined;
};

@@ -961,3 +881,2 @@ id: string;

audioUrl: string;
className?: string | undefined;
} | {

@@ -973,3 +892,2 @@ type: "card";

imageUrl?: string | undefined;
className?: string | undefined;
} | {

@@ -986,5 +904,3 @@ type: "carousel";

imageUrl?: string | undefined;
className?: string | undefined;
}[];
className?: string | undefined;
} | {

@@ -997,3 +913,2 @@ type: "choice";

}[];
className?: string | undefined;
disableFreeText?: boolean | undefined;

@@ -1007,3 +922,2 @@ } | {

}[];
className?: string | undefined;
} | {

@@ -1013,7 +927,5 @@ type: "file";

title?: string | undefined;
className?: string | undefined;
} | {
type: "image";
imageUrl: string;
className?: string | undefined;
} | {

@@ -1025,15 +937,11 @@ type: "location";

title?: string | undefined;
className?: string | undefined;
} | {
type: "markdown";
markdown: string;
className?: string | undefined;
} | {
type: "text";
text: string;
className?: string | undefined;
} | {
type: "video";
videoUrl: string;
className?: string | undefined;
} | {

@@ -1081,3 +989,2 @@ type: "bloc";

})[];
className?: string | undefined;
};

@@ -1084,0 +991,0 @@ id: string;

@@ -20,6 +20,2 @@ export interface MessageCreated {

audioUrl: string;
/**
* CSS className to apply to the message
*/
className?: string;
type: "audio";

@@ -38,6 +34,2 @@ [k: string]: any;

type: "card";
/**
* CSS className to apply to the message
*/
className?: string;
[k: string]: any;

@@ -55,12 +47,4 @@ } | {

}[];
/**
* CSS className to apply to the message
*/
className?: string;
[k: string]: any;
}[];
/**
* CSS className to apply to the message
*/
className?: string;
type: "carousel";

@@ -75,6 +59,2 @@ [k: string]: any;

}[];
/**
* CSS className to apply to the message
*/
className?: string;
type: "choice";

@@ -90,6 +70,2 @@ disableFreeText?: boolean;

}[];
/**
* CSS className to apply to the message
*/
className?: string;
type: "dropdown";

@@ -100,6 +76,2 @@ [k: string]: any;

title?: string;
/**
* CSS className to apply to the message
*/
className?: string;
type: "file";

@@ -109,6 +81,2 @@ [k: string]: any;

imageUrl: string;
/**
* CSS className to apply to the message
*/
className?: string;
type: "image";

@@ -121,6 +89,2 @@ [k: string]: any;

title?: string;
/**
* CSS className to apply to the message
*/
className?: string;
type: "location";

@@ -130,6 +94,2 @@ [k: string]: any;

markdown: string;
/**
* CSS className to apply to the message
*/
className?: string;
type: "markdown";

@@ -139,6 +99,2 @@ [k: string]: any;

text: string;
/**
* CSS className to apply to the message
*/
className?: string;
type: "text";

@@ -148,6 +104,2 @@ [k: string]: any;

videoUrl: string;
/**
* CSS className to apply to the message
*/
className?: string;
type: "video";

@@ -210,6 +162,2 @@ [k: string]: any;

})[];
/**
* CSS className to apply to the message
*/
className?: string;
type: "bloc";

@@ -216,0 +164,0 @@ [k: string]: any;

@@ -9,3 +9,2 @@ import { z } from "zod";

audioUrl: z.ZodString;
className: z.ZodOptional<z.ZodString>;
type: z.ZodLiteral<"audio">;

@@ -15,7 +14,5 @@ }, "strip", z.ZodTypeAny, {

audioUrl: string;
className?: string | undefined;
}, {
type: "audio";
audioUrl: string;
className?: string | undefined;
}>, z.ZodObject<{

@@ -39,3 +36,2 @@ title: z.ZodString;

type: z.ZodLiteral<"card">;
className: z.ZodOptional<z.ZodString>;
}, "strip", z.ZodTypeAny, {

@@ -51,3 +47,2 @@ type: "card";

imageUrl?: string | undefined;
className?: string | undefined;
}, {

@@ -63,3 +58,2 @@ type: "card";

imageUrl?: string | undefined;
className?: string | undefined;
}>, z.ZodObject<{

@@ -83,3 +77,2 @@ items: z.ZodArray<z.ZodObject<{

}>, "many">;
className: z.ZodOptional<z.ZodString>;
}, "strip", z.ZodTypeAny, {

@@ -94,3 +87,2 @@ title: string;

imageUrl?: string | undefined;
className?: string | undefined;
}, {

@@ -105,5 +97,3 @@ title: string;

imageUrl?: string | undefined;
className?: string | undefined;
}>, "many">;
className: z.ZodOptional<z.ZodString>;
type: z.ZodLiteral<"carousel">;

@@ -121,5 +111,3 @@ }, "strip", z.ZodTypeAny, {

imageUrl?: string | undefined;
className?: string | undefined;
}[];
className?: string | undefined;
}, {

@@ -136,5 +124,3 @@ type: "carousel";

imageUrl?: string | undefined;
className?: string | undefined;
}[];
className?: string | undefined;
}>, z.ZodObject<{

@@ -152,3 +138,2 @@ text: z.ZodString;

}>, "many">;
className: z.ZodOptional<z.ZodString>;
type: z.ZodLiteral<"choice">;

@@ -163,3 +148,2 @@ disableFreeText: z.ZodOptional<z.ZodBoolean>;

}[];
className?: string | undefined;
disableFreeText?: boolean | undefined;

@@ -173,3 +157,2 @@ }, {

}[];
className?: string | undefined;
disableFreeText?: boolean | undefined;

@@ -188,3 +171,2 @@ }>, z.ZodObject<{

}>, "many">;
className: z.ZodOptional<z.ZodString>;
type: z.ZodLiteral<"dropdown">;

@@ -198,3 +180,2 @@ }, "strip", z.ZodTypeAny, {

}[];
className?: string | undefined;
}, {

@@ -207,7 +188,5 @@ type: "dropdown";

}[];
className?: string | undefined;
}>, z.ZodObject<{
fileUrl: z.ZodString;
title: z.ZodOptional<z.ZodString>;
className: z.ZodOptional<z.ZodString>;
type: z.ZodLiteral<"file">;

@@ -218,3 +197,2 @@ }, "strip", z.ZodTypeAny, {

title?: string | undefined;
className?: string | undefined;
}, {

@@ -224,6 +202,4 @@ type: "file";

title?: string | undefined;
className?: string | undefined;
}>, z.ZodObject<{
imageUrl: z.ZodString;
className: z.ZodOptional<z.ZodString>;
type: z.ZodLiteral<"image">;

@@ -233,7 +209,5 @@ }, "strip", z.ZodTypeAny, {

imageUrl: string;
className?: string | undefined;
}, {
type: "image";
imageUrl: string;
className?: string | undefined;
}>, z.ZodObject<{

@@ -244,3 +218,2 @@ latitude: z.ZodNumber;

title: z.ZodOptional<z.ZodString>;
className: z.ZodOptional<z.ZodString>;
type: z.ZodLiteral<"location">;

@@ -253,3 +226,2 @@ }, "strip", z.ZodTypeAny, {

title?: string | undefined;
className?: string | undefined;
}, {

@@ -261,6 +233,4 @@ type: "location";

title?: string | undefined;
className?: string | undefined;
}>, z.ZodObject<{
markdown: z.ZodString;
className: z.ZodOptional<z.ZodString>;
type: z.ZodLiteral<"markdown">;

@@ -270,10 +240,7 @@ }, "strip", z.ZodTypeAny, {

markdown: string;
className?: string | undefined;
}, {
type: "markdown";
markdown: string;
className?: string | undefined;
}>, z.ZodObject<{
text: z.ZodString;
className: z.ZodOptional<z.ZodString>;
type: z.ZodLiteral<"text">;

@@ -283,10 +250,7 @@ }, "strip", z.ZodTypeAny, {

text: string;
className?: string | undefined;
}, {
type: "text";
text: string;
className?: string | undefined;
}>, z.ZodObject<{
videoUrl: z.ZodString;
className: z.ZodOptional<z.ZodString>;
type: z.ZodLiteral<"video">;

@@ -296,7 +260,5 @@ }, "strip", z.ZodTypeAny, {

videoUrl: string;
className?: string | undefined;
}, {
type: "video";
videoUrl: string;
className?: string | undefined;
}>, z.ZodObject<{

@@ -457,3 +419,2 @@ items: z.ZodArray<z.ZodUnion<[z.ZodObject<{

}>]>, "many">;
className: z.ZodOptional<z.ZodString>;
type: z.ZodLiteral<"bloc">;

@@ -502,3 +463,2 @@ }, "strip", z.ZodTypeAny, {

})[];
className?: string | undefined;
}, {

@@ -546,3 +506,2 @@ type: "bloc";

})[];
className?: string | undefined;
}>]>;

@@ -555,3 +514,2 @@ userId: z.ZodString;

audioUrl: string;
className?: string | undefined;
} | {

@@ -567,3 +525,2 @@ type: "card";

imageUrl?: string | undefined;
className?: string | undefined;
} | {

@@ -580,5 +537,3 @@ type: "carousel";

imageUrl?: string | undefined;
className?: string | undefined;
}[];
className?: string | undefined;
} | {

@@ -591,3 +546,2 @@ type: "choice";

}[];
className?: string | undefined;
disableFreeText?: boolean | undefined;

@@ -601,3 +555,2 @@ } | {

}[];
className?: string | undefined;
} | {

@@ -607,7 +560,5 @@ type: "file";

title?: string | undefined;
className?: string | undefined;
} | {
type: "image";
imageUrl: string;
className?: string | undefined;
} | {

@@ -619,15 +570,11 @@ type: "location";

title?: string | undefined;
className?: string | undefined;
} | {
type: "markdown";
markdown: string;
className?: string | undefined;
} | {
type: "text";
text: string;
className?: string | undefined;
} | {
type: "video";
videoUrl: string;
className?: string | undefined;
} | {

@@ -675,3 +622,2 @@ type: "bloc";

})[];
className?: string | undefined;
};

@@ -686,3 +632,2 @@ id: string;

audioUrl: string;
className?: string | undefined;
} | {

@@ -698,3 +643,2 @@ type: "card";

imageUrl?: string | undefined;
className?: string | undefined;
} | {

@@ -711,5 +655,3 @@ type: "carousel";

imageUrl?: string | undefined;
className?: string | undefined;
}[];
className?: string | undefined;
} | {

@@ -722,3 +664,2 @@ type: "choice";

}[];
className?: string | undefined;
disableFreeText?: boolean | undefined;

@@ -732,3 +673,2 @@ } | {

}[];
className?: string | undefined;
} | {

@@ -738,7 +678,5 @@ type: "file";

title?: string | undefined;
className?: string | undefined;
} | {
type: "image";
imageUrl: string;
className?: string | undefined;
} | {

@@ -750,15 +688,11 @@ type: "location";

title?: string | undefined;
className?: string | undefined;
} | {
type: "markdown";
markdown: string;
className?: string | undefined;
} | {
type: "text";
text: string;
className?: string | undefined;
} | {
type: "video";
videoUrl: string;
className?: string | undefined;
} | {

@@ -806,3 +740,2 @@ type: "bloc";

})[];
className?: string | undefined;
};

@@ -820,3 +753,2 @@ id: string;

audioUrl: string;
className?: string | undefined;
} | {

@@ -832,3 +764,2 @@ type: "card";

imageUrl?: string | undefined;
className?: string | undefined;
} | {

@@ -845,5 +776,3 @@ type: "carousel";

imageUrl?: string | undefined;
className?: string | undefined;
}[];
className?: string | undefined;
} | {

@@ -856,3 +785,2 @@ type: "choice";

}[];
className?: string | undefined;
disableFreeText?: boolean | undefined;

@@ -866,3 +794,2 @@ } | {

}[];
className?: string | undefined;
} | {

@@ -872,7 +799,5 @@ type: "file";

title?: string | undefined;
className?: string | undefined;
} | {
type: "image";
imageUrl: string;
className?: string | undefined;
} | {

@@ -884,15 +809,11 @@ type: "location";

title?: string | undefined;
className?: string | undefined;
} | {
type: "markdown";
markdown: string;
className?: string | undefined;
} | {
type: "text";
text: string;
className?: string | undefined;
} | {
type: "video";
videoUrl: string;
className?: string | undefined;
} | {

@@ -940,3 +861,2 @@ type: "bloc";

})[];
className?: string | undefined;
};

@@ -954,3 +874,2 @@ id: string;

audioUrl: string;
className?: string | undefined;
} | {

@@ -966,3 +885,2 @@ type: "card";

imageUrl?: string | undefined;
className?: string | undefined;
} | {

@@ -979,5 +897,3 @@ type: "carousel";

imageUrl?: string | undefined;
className?: string | undefined;
}[];
className?: string | undefined;
} | {

@@ -990,3 +906,2 @@ type: "choice";

}[];
className?: string | undefined;
disableFreeText?: boolean | undefined;

@@ -1000,3 +915,2 @@ } | {

}[];
className?: string | undefined;
} | {

@@ -1006,7 +920,5 @@ type: "file";

title?: string | undefined;
className?: string | undefined;
} | {
type: "image";
imageUrl: string;
className?: string | undefined;
} | {

@@ -1018,15 +930,11 @@ type: "location";

title?: string | undefined;
className?: string | undefined;
} | {
type: "markdown";
markdown: string;
className?: string | undefined;
} | {
type: "text";
text: string;
className?: string | undefined;
} | {
type: "video";
videoUrl: string;
className?: string | undefined;
} | {

@@ -1074,3 +982,2 @@ type: "bloc";

})[];
className?: string | undefined;
};

@@ -1077,0 +984,0 @@ id: string;

export declare const webchatClasses: {
readonly container: {
readonly className: "bpContainer";
readonly className: "bpReset bpContainer";
};
readonly modal: {
readonly container: {
readonly className: "bpModalContainer";
readonly className: "bpReset bpModalContainer";
};

@@ -14,7 +14,7 @@ readonly overlay: {

readonly container: {
readonly className: "bpModalDialogContainer";
readonly className: "bpReset bpModalDialogContainer";
};
readonly title: {
readonly container: {
readonly className: "bpModalDialogTitleContainer";
readonly className: "bpReset bpModalDialogTitleContainer";
};

@@ -43,3 +43,3 @@ readonly text: {

readonly container: {
readonly className: "bpFabContainer";
readonly className: "bpReset bpFabContainer";
};

@@ -52,3 +52,3 @@ readonly icon: {

readonly container: {
readonly className: "bpNotificationContainer";
readonly className: "bpReset bpNotificationContainer";
};

@@ -70,7 +70,7 @@ readonly title: {

readonly container: {
readonly className: "bpHeaderContainer";
readonly className: "bpReset bpHeaderContainer";
};
readonly content: {
readonly container: {
readonly className: "bpHeaderContentContainer";
readonly className: "bpReset bpHeaderContentContainer";
};

@@ -85,3 +85,3 @@ readonly title: {

readonly container: {
readonly className: "bpHeaderContentAvatarContainer";
readonly className: "bpReset bpHeaderContentAvatarContainer";
};

@@ -97,3 +97,3 @@ readonly image: {

readonly container: {
readonly className: "bpHeaderContentActionsContainer";
readonly className: "bpReset bpHeaderContentActionsContainer";
};

@@ -107,7 +107,7 @@ readonly icons: {

readonly container: {
readonly className: "bpHeaderExpandedContentContainer";
readonly className: "bpReset bpHeaderExpandedContentContainer";
};
readonly descriptionItems: {
readonly container: {
readonly className: "bpHeaderExpandedContentDescriptionItemsContainer";
readonly className: "bpReset bpHeaderExpandedContentDescriptionItemsContainer";
};

@@ -134,3 +134,3 @@ readonly icon: {

readonly container: {
readonly className: "bpComposerContainer";
readonly className: "bpReset bpComposerContainer";
};

@@ -145,3 +145,3 @@ readonly poweredBy: {

readonly container: {
readonly className: "bpComposerButtonContainer";
readonly className: "bpReset bpComposerButtonContainer";
};

@@ -157,3 +157,3 @@ readonly icon: {

readonly container: {
readonly className: "bpComposerUploadButtonContainer";
readonly className: "bpReset bpComposerUploadButtonContainer";
};

@@ -166,3 +166,3 @@ };

readonly container: {
readonly className: "bpComposerVoiceButtonContainer";
readonly className: "bpReset bpComposerVoiceButtonContainer";
};

@@ -174,3 +174,3 @@ };

readonly container: {
readonly className: "bpMessageListScrollDownButtonContainer";
readonly className: "bpReset bpMessageListScrollDownButtonContainer";
};

@@ -185,3 +185,3 @@ readonly button: {

readonly container: {
readonly className: "bpMessageListContainer";
readonly className: "bpReset bpMessageListContainer";
};

@@ -193,3 +193,3 @@ readonly viewPort: {

readonly container: {
readonly className: "bpMessageListMarqueeContainer";
readonly className: "bpReset bpMessageListMarqueeContainer";
};

@@ -207,3 +207,3 @@ readonly content: {

readonly container: {
readonly className: "bpMessageListMarqueeAvatarContainer";
readonly className: "bpReset bpMessageListMarqueeAvatarContainer";
};

@@ -224,7 +224,7 @@ readonly image: {

readonly container: {
readonly className: "bpMessageContainer";
readonly className: "bpReset bpMessageContainer";
};
readonly avatar: {
readonly container: {
readonly className: "bpMessageAvatarContainer";
readonly className: "bpReset bpMessageAvatarContainer";
};

@@ -231,0 +231,0 @@ readonly image: {

{
"name": "@botpress/webchat",
"version": "2.3.0",
"version": "2.3.1",
"type": "module",

@@ -5,0 +5,0 @@ "license": "MIT",

Sorry, the diff of this file is not supported yet

Sorry, the diff of this file is too big to display

Sorry, the diff of this file is not supported yet

Sorry, the diff of this file is not supported yet