@wix/auto_sdk_rich-content_ricos-conversations 1.0.0 → 1.0.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.
- package/build/cjs/index.d.ts +33 -4
- package/build/cjs/index.js +15 -0
- package/build/cjs/index.js.map +1 -1
- package/build/cjs/index.typings.d.ts +1 -1
- package/build/cjs/index.typings.js +15 -0
- package/build/cjs/index.typings.js.map +1 -1
- package/build/cjs/meta.d.ts +33 -4
- package/build/cjs/meta.js +15 -0
- package/build/cjs/meta.js.map +1 -1
- package/build/es/index.d.mts +33 -4
- package/build/es/index.mjs +14 -0
- package/build/es/index.mjs.map +1 -1
- package/build/es/index.typings.d.mts +1 -1
- package/build/es/index.typings.mjs +14 -0
- package/build/es/index.typings.mjs.map +1 -1
- package/build/es/meta.d.mts +33 -4
- package/build/es/meta.mjs +14 -0
- package/build/es/meta.mjs.map +1 -1
- package/build/internal/cjs/index.d.ts +1 -1
- package/build/internal/cjs/index.js +15 -0
- package/build/internal/cjs/index.js.map +1 -1
- package/build/internal/cjs/index.typings.d.ts +33 -4
- package/build/internal/cjs/index.typings.js +15 -0
- package/build/internal/cjs/index.typings.js.map +1 -1
- package/build/internal/cjs/meta.d.ts +33 -4
- package/build/internal/cjs/meta.js +15 -0
- package/build/internal/cjs/meta.js.map +1 -1
- package/build/internal/es/index.d.mts +1 -1
- package/build/internal/es/index.mjs +14 -0
- package/build/internal/es/index.mjs.map +1 -1
- package/build/internal/es/index.typings.d.mts +33 -4
- package/build/internal/es/index.typings.mjs +14 -0
- package/build/internal/es/index.typings.mjs.map +1 -1
- package/build/internal/es/meta.d.mts +33 -4
- package/build/internal/es/meta.mjs +14 -0
- package/build/internal/es/meta.mjs.map +1 -1
- package/package.json +2 -2
package/build/cjs/index.d.ts
CHANGED
|
@@ -21,10 +21,10 @@ interface RicosConversation extends RicosConversationUserMessageOneOf {
|
|
|
21
21
|
/** The Ricos subset of user selected content */
|
|
22
22
|
documentSelection?: RichContent;
|
|
23
23
|
/**
|
|
24
|
-
*
|
|
25
|
-
* @
|
|
24
|
+
* List of enabled tools available to the conversation
|
|
25
|
+
* @maxSize 100
|
|
26
26
|
*/
|
|
27
|
-
|
|
27
|
+
tools?: Tool[];
|
|
28
28
|
}
|
|
29
29
|
/** @oneof */
|
|
30
30
|
interface RicosConversationUserMessageOneOf {
|
|
@@ -1918,6 +1918,35 @@ interface PromptConfiguration {
|
|
|
1918
1918
|
*/
|
|
1919
1919
|
topP?: number | null;
|
|
1920
1920
|
}
|
|
1921
|
+
interface Tool extends ToolConfigurationOneOf {
|
|
1922
|
+
templateSearchConfiguration?: TemplateSearchConfiguration;
|
|
1923
|
+
name?: NameWithLiterals;
|
|
1924
|
+
}
|
|
1925
|
+
/** @oneof */
|
|
1926
|
+
interface ToolConfigurationOneOf {
|
|
1927
|
+
templateSearchConfiguration?: TemplateSearchConfiguration;
|
|
1928
|
+
}
|
|
1929
|
+
declare enum Name {
|
|
1930
|
+
UNKNOWN_NAME = "UNKNOWN_NAME",
|
|
1931
|
+
IMAGE_GENERATION = "IMAGE_GENERATION",
|
|
1932
|
+
IMAGE_SEARCH = "IMAGE_SEARCH",
|
|
1933
|
+
WEB_SEARCH = "WEB_SEARCH",
|
|
1934
|
+
READ_WIX_BLOG_POST = "READ_WIX_BLOG_POST",
|
|
1935
|
+
READ_WIX_BOOKING_SERVICE = "READ_WIX_BOOKING_SERVICE",
|
|
1936
|
+
READ_WIX_EVENT = "READ_WIX_EVENT",
|
|
1937
|
+
READ_WIX_STORES_PRODUCT = "READ_WIX_STORES_PRODUCT",
|
|
1938
|
+
ANALYZE_RESOURCE = "ANALYZE_RESOURCE",
|
|
1939
|
+
TEMPLATE_SEARCH = "TEMPLATE_SEARCH"
|
|
1940
|
+
}
|
|
1941
|
+
/** @enumType */
|
|
1942
|
+
type NameWithLiterals = Name | 'UNKNOWN_NAME' | 'IMAGE_GENERATION' | 'IMAGE_SEARCH' | 'WEB_SEARCH' | 'READ_WIX_BLOG_POST' | 'READ_WIX_BOOKING_SERVICE' | 'READ_WIX_EVENT' | 'READ_WIX_STORES_PRODUCT' | 'ANALYZE_RESOURCE' | 'TEMPLATE_SEARCH';
|
|
1943
|
+
interface TemplateSearchConfiguration {
|
|
1944
|
+
/**
|
|
1945
|
+
* @format GUID
|
|
1946
|
+
* @maxSize 100
|
|
1947
|
+
*/
|
|
1948
|
+
knowledgeBaseIds?: string[];
|
|
1949
|
+
}
|
|
1921
1950
|
/** Request message for prompting the AI assistant with streaming response delivery */
|
|
1922
1951
|
interface CreateConversationStreamedRequest {
|
|
1923
1952
|
/**
|
|
@@ -2461,4 +2490,4 @@ interface ListConversationSuggestionsOptions {
|
|
|
2461
2490
|
suggestions?: Suggestion[];
|
|
2462
2491
|
}
|
|
2463
2492
|
|
|
2464
|
-
export { Action, type ActionEvent, type ActionWithLiterals, Alignment, type AlignmentWithLiterals, type AnchorData, type AppEmbedData, type AppEmbedDataAppDataOneOf, AppType, type AppTypeWithLiterals, AspectRatio, type AspectRatioWithLiterals, type AudioData, type Background, type BackgroundBackgroundOneOf, type BackgroundImage, BackgroundType, type BackgroundTypeWithLiterals, type BlockquoteData, type BookingData, type Border, type BorderColors, type BulletedListData, type ButtonData, ButtonDataType, type ButtonDataTypeWithLiterals, type ButtonStyles, type CaptionData, type CardStyles, type CellStyle, ChunkType, type ChunkTypeWithLiterals, type CodeBlockData, type CollapsibleListData, type ColorData, type Colors, type ContinueConversationStreamedOptions, type ContinueConversationStreamedRequest, type ConversationResponse, type CreateConversationStreamedOptions, type CreateConversationStreamedRequest, type CreateRicosConversationOptions, type CreateRicosConversationRequest, type CreateRicosConversationResponse, Crop, type CropWithLiterals, type DebugOptions, type Decoration, type DecorationDataOneOf, DecorationType, type DecorationTypeWithLiterals, type Design, type Dimensions, Direction, type DirectionWithLiterals, type DividerData, DividerDataAlignment, type DividerDataAlignmentWithLiterals, type DocumentStyle, type DomainEvent, type DomainEventBodyOneOf, type EmbedData, type EntityCreatedEvent, type EntityDeletedEvent, type EntityUpdatedEvent, type EventData, type ExplainOption, type File, type FileData, type FileSource, type FileSourceDataOneOf, type FontSizeData, FontType, type FontTypeWithLiterals, type GIF, type GIFData, GIFType, type GIFTypeWithLiterals, type GalleryData, type GalleryOptions, type GalleryOptionsLayout, type Gradient, type HTMLData, type HTMLDataDataOneOf, type HeadingData, type Height, type IdentificationData, type IdentificationDataIdOneOf, type Image, type ImageData, type ImageDataStyles, ImagePosition, type ImagePositionWithLiterals, type ImageStyles, InitialExpandedItems, type InitialExpandedItemsWithLiterals, type InsertOptions, type Item, type ItemDataOneOf, type ItemStyle, Layout, type LayoutCellData, type LayoutData, LayoutType, type LayoutTypeWithLiterals, type LayoutWithLiterals, LineStyle, type LineStyleWithLiterals, type Link, type LinkData, type LinkDataOneOf, type LinkPreviewData, type LinkPreviewDataStyles, type ListConversationSuggestionsOptions, type ListConversationSuggestionsRequest, type ListConversationSuggestionsResponse, type ListValue, type MapData, type MapSettings, MapType, type MapTypeWithLiterals, type Media, type MentionData, type MessageEnvelope, type Metadata, type MetadataOptions, type Node, type NodeDataOneOf, type NodeOptions, type NodeStyle, type NodeTextOptions, NodeType, type NodeTypeWithLiterals, NullValue, type NullValueWithLiterals, type Oembed, type Option, type OptionDesign, type OptionLayout, type OrderedListData, Orientation, type OrientationWithLiterals, type PDFSettings, type ParagraphData, type PatchOptions, type Permissions, Placement, type PlacementWithLiterals, type PlaybackOptions, type PluginContainerData, PluginContainerDataAlignment, type PluginContainerDataAlignmentWithLiterals, type PluginContainerDataWidth, type PluginContainerDataWidthDataOneOf, type Poll, type PollData, type PollDataLayout, type PollDesign, type PollLayout, PollLayoutDirection, type PollLayoutDirectionWithLiterals, PollLayoutType, type PollLayoutTypeWithLiterals, Position, type PositionWithLiterals, PositionsPosition, type PositionsPositionWithLiterals, type PricingData, type ProgressOptions, type PromptConfiguration, type RangeDetails, type Rel, type ReplaceOptions, Resizing, type ResizingWithLiterals, ResponsivenessBehaviour, type ResponsivenessBehaviourWithLiterals, type RestoreInfo, type RibbonStyles, type RichContent, type RicosConversation, type RicosConversationChunk, type RicosConversationChunkTypeDataOneOf, type RicosConversationUserMessageOneOf, Scaling, type ScalingWithLiterals, type Settings, Source, type SourceWithLiterals, type Spoiler, type SpoilerData, type Styles, type StylesBorder, StylesPosition, type StylesPositionWithLiterals, type Suggestion, SuggestionAction, type SuggestionActionWithLiterals, type SuggestionOptions, type SuggestionPositionDetailsOneOf, type SummaryOptions, type TableCellData, type TableData, Target, type TargetWithLiterals, TextAlignment, type TextAlignmentWithLiterals, type TextData, type TextNodeStyle, type TextStyle, type Thumbnails, ThumbnailsAlignment, type ThumbnailsAlignmentWithLiterals, type ToolUseOptions, Type, type TypeWithLiterals, VerticalAlignment, VerticalAlignmentAlignment, type VerticalAlignmentAlignmentWithLiterals, type VerticalAlignmentWithLiterals, type Video, type VideoData, ViewMode, type ViewModeWithLiterals, ViewRole, type ViewRoleWithLiterals, VoteRole, type VoteRoleWithLiterals, WebhookIdentityType, type WebhookIdentityTypeWithLiterals, Width, WidthType, type WidthTypeWithLiterals, type WidthWithLiterals };
|
|
2493
|
+
export { Action, type ActionEvent, type ActionWithLiterals, Alignment, type AlignmentWithLiterals, type AnchorData, type AppEmbedData, type AppEmbedDataAppDataOneOf, AppType, type AppTypeWithLiterals, AspectRatio, type AspectRatioWithLiterals, type AudioData, type Background, type BackgroundBackgroundOneOf, type BackgroundImage, BackgroundType, type BackgroundTypeWithLiterals, type BlockquoteData, type BookingData, type Border, type BorderColors, type BulletedListData, type ButtonData, ButtonDataType, type ButtonDataTypeWithLiterals, type ButtonStyles, type CaptionData, type CardStyles, type CellStyle, ChunkType, type ChunkTypeWithLiterals, type CodeBlockData, type CollapsibleListData, type ColorData, type Colors, type ContinueConversationStreamedOptions, type ContinueConversationStreamedRequest, type ConversationResponse, type CreateConversationStreamedOptions, type CreateConversationStreamedRequest, type CreateRicosConversationOptions, type CreateRicosConversationRequest, type CreateRicosConversationResponse, Crop, type CropWithLiterals, type DebugOptions, type Decoration, type DecorationDataOneOf, DecorationType, type DecorationTypeWithLiterals, type Design, type Dimensions, Direction, type DirectionWithLiterals, type DividerData, DividerDataAlignment, type DividerDataAlignmentWithLiterals, type DocumentStyle, type DomainEvent, type DomainEventBodyOneOf, type EmbedData, type EntityCreatedEvent, type EntityDeletedEvent, type EntityUpdatedEvent, type EventData, type ExplainOption, type File, type FileData, type FileSource, type FileSourceDataOneOf, type FontSizeData, FontType, type FontTypeWithLiterals, type GIF, type GIFData, GIFType, type GIFTypeWithLiterals, type GalleryData, type GalleryOptions, type GalleryOptionsLayout, type Gradient, type HTMLData, type HTMLDataDataOneOf, type HeadingData, type Height, type IdentificationData, type IdentificationDataIdOneOf, type Image, type ImageData, type ImageDataStyles, ImagePosition, type ImagePositionWithLiterals, type ImageStyles, InitialExpandedItems, type InitialExpandedItemsWithLiterals, type InsertOptions, type Item, type ItemDataOneOf, type ItemStyle, Layout, type LayoutCellData, type LayoutData, LayoutType, type LayoutTypeWithLiterals, type LayoutWithLiterals, LineStyle, type LineStyleWithLiterals, type Link, type LinkData, type LinkDataOneOf, type LinkPreviewData, type LinkPreviewDataStyles, type ListConversationSuggestionsOptions, type ListConversationSuggestionsRequest, type ListConversationSuggestionsResponse, type ListValue, type MapData, type MapSettings, MapType, type MapTypeWithLiterals, type Media, type MentionData, type MessageEnvelope, type Metadata, type MetadataOptions, Name, type NameWithLiterals, type Node, type NodeDataOneOf, type NodeOptions, type NodeStyle, type NodeTextOptions, NodeType, type NodeTypeWithLiterals, NullValue, type NullValueWithLiterals, type Oembed, type Option, type OptionDesign, type OptionLayout, type OrderedListData, Orientation, type OrientationWithLiterals, type PDFSettings, type ParagraphData, type PatchOptions, type Permissions, Placement, type PlacementWithLiterals, type PlaybackOptions, type PluginContainerData, PluginContainerDataAlignment, type PluginContainerDataAlignmentWithLiterals, type PluginContainerDataWidth, type PluginContainerDataWidthDataOneOf, type Poll, type PollData, type PollDataLayout, type PollDesign, type PollLayout, PollLayoutDirection, type PollLayoutDirectionWithLiterals, PollLayoutType, type PollLayoutTypeWithLiterals, Position, type PositionWithLiterals, PositionsPosition, type PositionsPositionWithLiterals, type PricingData, type ProgressOptions, type PromptConfiguration, type RangeDetails, type Rel, type ReplaceOptions, Resizing, type ResizingWithLiterals, ResponsivenessBehaviour, type ResponsivenessBehaviourWithLiterals, type RestoreInfo, type RibbonStyles, type RichContent, type RicosConversation, type RicosConversationChunk, type RicosConversationChunkTypeDataOneOf, type RicosConversationUserMessageOneOf, Scaling, type ScalingWithLiterals, type Settings, Source, type SourceWithLiterals, type Spoiler, type SpoilerData, type Styles, type StylesBorder, StylesPosition, type StylesPositionWithLiterals, type Suggestion, SuggestionAction, type SuggestionActionWithLiterals, type SuggestionOptions, type SuggestionPositionDetailsOneOf, type SummaryOptions, type TableCellData, type TableData, Target, type TargetWithLiterals, type TemplateSearchConfiguration, TextAlignment, type TextAlignmentWithLiterals, type TextData, type TextNodeStyle, type TextStyle, type Thumbnails, ThumbnailsAlignment, type ThumbnailsAlignmentWithLiterals, type Tool, type ToolConfigurationOneOf, type ToolUseOptions, Type, type TypeWithLiterals, VerticalAlignment, VerticalAlignmentAlignment, type VerticalAlignmentAlignmentWithLiterals, type VerticalAlignmentWithLiterals, type Video, type VideoData, ViewMode, type ViewModeWithLiterals, ViewRole, type ViewRoleWithLiterals, VoteRole, type VoteRoleWithLiterals, WebhookIdentityType, type WebhookIdentityTypeWithLiterals, Width, WidthType, type WidthTypeWithLiterals, type WidthWithLiterals };
|
package/build/cjs/index.js
CHANGED
|
@@ -39,6 +39,7 @@ __export(index_exports, {
|
|
|
39
39
|
LayoutType: () => LayoutType,
|
|
40
40
|
LineStyle: () => LineStyle,
|
|
41
41
|
MapType: () => MapType,
|
|
42
|
+
Name: () => Name,
|
|
42
43
|
NodeType: () => NodeType,
|
|
43
44
|
NullValue: () => NullValue,
|
|
44
45
|
Orientation: () => Orientation,
|
|
@@ -1234,6 +1235,19 @@ var ResponsivenessBehaviour = /* @__PURE__ */ ((ResponsivenessBehaviour2) => {
|
|
|
1234
1235
|
ResponsivenessBehaviour2["WRAP"] = "WRAP";
|
|
1235
1236
|
return ResponsivenessBehaviour2;
|
|
1236
1237
|
})(ResponsivenessBehaviour || {});
|
|
1238
|
+
var Name = /* @__PURE__ */ ((Name2) => {
|
|
1239
|
+
Name2["UNKNOWN_NAME"] = "UNKNOWN_NAME";
|
|
1240
|
+
Name2["IMAGE_GENERATION"] = "IMAGE_GENERATION";
|
|
1241
|
+
Name2["IMAGE_SEARCH"] = "IMAGE_SEARCH";
|
|
1242
|
+
Name2["WEB_SEARCH"] = "WEB_SEARCH";
|
|
1243
|
+
Name2["READ_WIX_BLOG_POST"] = "READ_WIX_BLOG_POST";
|
|
1244
|
+
Name2["READ_WIX_BOOKING_SERVICE"] = "READ_WIX_BOOKING_SERVICE";
|
|
1245
|
+
Name2["READ_WIX_EVENT"] = "READ_WIX_EVENT";
|
|
1246
|
+
Name2["READ_WIX_STORES_PRODUCT"] = "READ_WIX_STORES_PRODUCT";
|
|
1247
|
+
Name2["ANALYZE_RESOURCE"] = "ANALYZE_RESOURCE";
|
|
1248
|
+
Name2["TEMPLATE_SEARCH"] = "TEMPLATE_SEARCH";
|
|
1249
|
+
return Name2;
|
|
1250
|
+
})(Name || {});
|
|
1237
1251
|
var ChunkType = /* @__PURE__ */ ((ChunkType2) => {
|
|
1238
1252
|
ChunkType2["CHUNK_TYPE_UNKNOWN"] = "CHUNK_TYPE_UNKNOWN";
|
|
1239
1253
|
ChunkType2["EXPLAIN"] = "EXPLAIN";
|
|
@@ -1471,6 +1485,7 @@ var listConversationSuggestions4 = /* @__PURE__ */ (0, import_rest_modules2.crea
|
|
|
1471
1485
|
LayoutType,
|
|
1472
1486
|
LineStyle,
|
|
1473
1487
|
MapType,
|
|
1488
|
+
Name,
|
|
1474
1489
|
NodeType,
|
|
1475
1490
|
NullValue,
|
|
1476
1491
|
Orientation,
|