@cognigy/rest-api-client
Version:
Cognigy REST-Client
39 lines • 1.3 kB
JavaScript
export const webrtcWidgetThemeTypes = [
"CLEAN_WHITE",
"DARK_MODE",
"AI_PURPLE",
];
export const webrtcWidgetConfigSchema = {
title: "webrtcWidgetConfigSchema",
type: "object",
properties: {
label: { type: "string" },
active: { type: "boolean" },
theme: { type: "string", enum: ["CLEAN_WHITE", "DARK_MODE", "AI_PURPLE"] },
avatarLogoUrl: { type: "string" },
tagline: { type: "string" },
transcription: {
type: "object",
properties: {
enabled: { type: "boolean" },
backgroundMode: { type: "string", enum: ["transparent", "custom"] },
backgroundColor: { type: "string" },
},
},
demoPage: {
type: "object",
properties: {
background: {
type: "object",
properties: {
mode: { type: "string", enum: ["color", "imageUrl"] },
color: { type: "string" },
imageUrl: { type: "string" },
},
},
position: { type: "string", enum: ["centered", "bottomRight"] },
},
},
},
};
//# sourceMappingURL=IWebrtcWidgetConfig.js.map