@wix/auto_sdk_faq_question-entry 1.0.38 → 1.0.40
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 +1 -1
- package/build/cjs/index.js +14 -9
- package/build/cjs/index.js.map +1 -1
- package/build/cjs/index.typings.d.ts +20 -4
- package/build/cjs/index.typings.js +14 -9
- package/build/cjs/index.typings.js.map +1 -1
- package/build/cjs/meta.d.ts +15 -1
- package/build/cjs/meta.js +7 -0
- package/build/cjs/meta.js.map +1 -1
- package/build/es/index.d.mts +1 -1
- package/build/es/index.mjs +11 -5
- package/build/es/index.mjs.map +1 -1
- package/build/es/index.typings.d.mts +20 -4
- package/build/es/index.typings.mjs +11 -5
- package/build/es/index.typings.mjs.map +1 -1
- package/build/es/meta.d.mts +15 -1
- package/build/es/meta.mjs +6 -0
- package/build/es/meta.mjs.map +1 -1
- package/build/internal/cjs/index.d.ts +1 -1
- package/build/internal/cjs/index.js +14 -9
- package/build/internal/cjs/index.js.map +1 -1
- package/build/internal/cjs/index.typings.d.ts +20 -4
- package/build/internal/cjs/index.typings.js +14 -9
- package/build/internal/cjs/index.typings.js.map +1 -1
- package/build/internal/cjs/meta.d.ts +15 -1
- package/build/internal/cjs/meta.js +7 -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 +11 -5
- package/build/internal/es/index.mjs.map +1 -1
- package/build/internal/es/index.typings.d.mts +20 -4
- package/build/internal/es/index.typings.mjs +11 -5
- package/build/internal/es/index.typings.mjs.map +1 -1
- package/build/internal/es/meta.d.mts +15 -1
- package/build/internal/es/meta.mjs +6 -0
- package/build/internal/es/meta.mjs.map +1 -1
- package/package.json +4 -4
|
@@ -1866,6 +1866,8 @@ interface LayoutData {
|
|
|
1866
1866
|
containerData?: PluginContainerData;
|
|
1867
1867
|
/** Defines where selected design propertied applies to */
|
|
1868
1868
|
designTarget?: DesignTargetWithLiterals;
|
|
1869
|
+
/** Banner configuration. When present, this layout is displayed as a banner. */
|
|
1870
|
+
banner?: Banner;
|
|
1869
1871
|
}
|
|
1870
1872
|
declare enum Scaling {
|
|
1871
1873
|
/** Auto image scaling */
|
|
@@ -1899,6 +1901,14 @@ declare enum ImagePosition {
|
|
|
1899
1901
|
}
|
|
1900
1902
|
/** @enumType */
|
|
1901
1903
|
type ImagePositionWithLiterals = ImagePosition | 'CENTER' | 'CENTER_LEFT' | 'CENTER_RIGHT' | 'TOP' | 'TOP_LEFT' | 'TOP_RIGHT' | 'BOTTOM' | 'BOTTOM_LEFT' | 'BOTTOM_RIGHT';
|
|
1904
|
+
declare enum Origin {
|
|
1905
|
+
/** Banner originated from an image */
|
|
1906
|
+
IMAGE = "IMAGE",
|
|
1907
|
+
/** Banner originated from a layout */
|
|
1908
|
+
LAYOUT = "LAYOUT"
|
|
1909
|
+
}
|
|
1910
|
+
/** @enumType */
|
|
1911
|
+
type OriginWithLiterals = Origin | 'IMAGE' | 'LAYOUT';
|
|
1902
1912
|
interface BackgroundImage {
|
|
1903
1913
|
/** Background image. */
|
|
1904
1914
|
media?: Media;
|
|
@@ -1935,6 +1945,10 @@ declare enum DesignTarget {
|
|
|
1935
1945
|
}
|
|
1936
1946
|
/** @enumType */
|
|
1937
1947
|
type DesignTargetWithLiterals = DesignTarget | 'LAYOUT' | 'CELL';
|
|
1948
|
+
interface Banner {
|
|
1949
|
+
/** Origin of the banner */
|
|
1950
|
+
origin?: OriginWithLiterals;
|
|
1951
|
+
}
|
|
1938
1952
|
interface LayoutCellData {
|
|
1939
1953
|
/** Size of the cell in 12 columns grid. */
|
|
1940
1954
|
colSpan?: number | null;
|
|
@@ -2926,9 +2940,11 @@ type QuestionEntryQuery = {
|
|
|
2926
2940
|
order?: NonNullable<CommonQueryWithEntityContext['sort']>[number]['order'];
|
|
2927
2941
|
}[];
|
|
2928
2942
|
};
|
|
2929
|
-
declare const
|
|
2930
|
-
|
|
2931
|
-
|
|
2943
|
+
declare const utils: {
|
|
2944
|
+
QueryBuilder: () => _wix_sdk_types.QueryBuilder<QuestionEntry, QuestionEntryQuerySpec, QuestionEntryQuery>;
|
|
2945
|
+
Filter: _wix_sdk_types.FilterFactory<QuestionEntry, QuestionEntryQuerySpec>;
|
|
2946
|
+
Sort: _wix_sdk_types.SortFactory<QuestionEntryQuerySpec>;
|
|
2947
|
+
};
|
|
2932
2948
|
/**
|
|
2933
2949
|
* Deletes multiple question entries.
|
|
2934
2950
|
*
|
|
@@ -3009,4 +3025,4 @@ interface BulkUpdateQuestionEntryOptions {
|
|
|
3009
3025
|
returnFullEntity?: boolean | null;
|
|
3010
3026
|
}
|
|
3011
3027
|
|
|
3012
|
-
export { type AccountInfo, type AccountInfoMetadata, type ActionEvent, Alignment, type AlignmentWithLiterals, type AnchorData, type AppEmbedData, type AppEmbedDataAppDataOneOf, AppType, type AppTypeWithLiterals, type ApplicationError, AspectRatio, type AspectRatioWithLiterals, type AudioData, type Background, type BackgroundBackgroundOneOf, type BackgroundImage, BackgroundType, type BackgroundTypeWithLiterals, type BaseEventMetadata, type BlockquoteData, type BookingData, type Border, type BorderColors, type BorderWidths, type BulkActionMetadata, type BulkDeleteQuestionEntriesRequest, type BulkDeleteQuestionEntriesResponse, type BulkUpdateQuestionEntryOptions, type BulkUpdateQuestionEntryRequest, type BulkUpdateQuestionEntryResponse, type BulkUpdateQuestionEntryResult, type BulletedListData, type ButtonData, ButtonDataType, type ButtonDataTypeWithLiterals, type ButtonStyles, type CaptionData, type CardStyles, type CellStyle, type CodeBlockData, type CollapsibleListData, type ColorData, type Colors, type CommonQueryWithEntityContext, ContentFormat, type ContentFormatWithLiterals, type CreateQuestionEntryRequest, type CreateQuestionEntryResponse, Crop, type CropWithLiterals, type CursorPaging, type CursorPagingMetadata, type CursorQuery, type CursorQueryPagingMethodOneOf, type Cursors, type Decoration, type DecorationDataOneOf, DecorationType, type DecorationTypeWithLiterals, type DeleteQuestionEntryRequest, type DeleteQuestionEntryResponse, type Design, DesignTarget, type DesignTargetWithLiterals, type Dimensions, Direction, type DirectionWithLiterals, type DividerData, DividerDataAlignment, type DividerDataAlignmentWithLiterals, type DocumentStyle, type DomainEvent, type DomainEventBodyOneOf, type EmbedData, type Empty, type EntityCreatedEvent, type EntityDeletedEvent, type EntityUpdatedEvent, type EventData, type EventMetadata, type ExtendedFields, FieldSet, type FieldSetWithLiterals, type FileData, type FileSource, type FileSourceDataOneOf,
|
|
3028
|
+
export { type AccountInfo, type AccountInfoMetadata, type ActionEvent, Alignment, type AlignmentWithLiterals, type AnchorData, type AppEmbedData, type AppEmbedDataAppDataOneOf, AppType, type AppTypeWithLiterals, type ApplicationError, AspectRatio, type AspectRatioWithLiterals, type AudioData, type Background, type BackgroundBackgroundOneOf, type BackgroundImage, BackgroundType, type BackgroundTypeWithLiterals, type Banner, type BaseEventMetadata, type BlockquoteData, type BookingData, type Border, type BorderColors, type BorderWidths, type BulkActionMetadata, type BulkDeleteQuestionEntriesRequest, type BulkDeleteQuestionEntriesResponse, type BulkUpdateQuestionEntryOptions, type BulkUpdateQuestionEntryRequest, type BulkUpdateQuestionEntryResponse, type BulkUpdateQuestionEntryResult, type BulletedListData, type ButtonData, ButtonDataType, type ButtonDataTypeWithLiterals, type ButtonStyles, type CaptionData, type CardStyles, type CellStyle, type CodeBlockData, type CollapsibleListData, type ColorData, type Colors, type CommonQueryWithEntityContext, ContentFormat, type ContentFormatWithLiterals, type CreateQuestionEntryRequest, type CreateQuestionEntryResponse, Crop, type CropWithLiterals, type CursorPaging, type CursorPagingMetadata, type CursorQuery, type CursorQueryPagingMethodOneOf, type Cursors, type Decoration, type DecorationDataOneOf, DecorationType, type DecorationTypeWithLiterals, type DeleteQuestionEntryRequest, type DeleteQuestionEntryResponse, type Design, DesignTarget, type DesignTargetWithLiterals, type Dimensions, Direction, type DirectionWithLiterals, type DividerData, DividerDataAlignment, type DividerDataAlignmentWithLiterals, type DocumentStyle, type DomainEvent, type DomainEventBodyOneOf, type EmbedData, type Empty, type EntityCreatedEvent, type EntityDeletedEvent, type EntityUpdatedEvent, type EventData, type EventMetadata, type ExtendedFields, FieldSet, type FieldSetWithLiterals, type FileData, type FileSource, type FileSourceDataOneOf, type FontFamilyData, type FontSizeData, FontType, type FontTypeWithLiterals, type GIF, type GIFData, GIFType, type GIFTypeWithLiterals, type GalleryData, type GalleryOptions, type GalleryOptionsLayout, type GetQuestionEntryRequest, type GetQuestionEntryResponse, 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 Item, type ItemDataOneOf, type ItemMetadata, type ItemStyle, type Label, Layout, type LayoutCellData, type LayoutData, LayoutType, type LayoutTypeWithLiterals, type LayoutWithLiterals, LineStyle, type LineStyleWithLiterals, type Link, type LinkData, type LinkDataOneOf, type LinkPreviewData, type LinkPreviewDataStyles, type ListQuestionEntriesOptions, type ListQuestionEntriesRequest, type ListQuestionEntriesResponse, type ListValue, type MapData, type MapSettings, MapType, type MapTypeWithLiterals, type MaskedQuestionEntry, type Media, type MentionData, type MessageEnvelope, type Metadata, type Node, type NodeDataOneOf, type NodeStyle, NodeType, type NodeTypeWithLiterals, NullValue, type NullValueWithLiterals, type Oembed, type Option, type OptionDesign, type OptionLayout, type OrderedListData, Orientation, type OrientationWithLiterals, Origin, type OriginWithLiterals, type PDFSettings, type PagingMetadataV2, type ParagraphData, 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, type PricingData, type QueryQuestionEntriesOptions, type QueryQuestionEntriesRequest, QueryQuestionEntriesRequestContentFormat, type QueryQuestionEntriesRequestContentFormatWithLiterals, QueryQuestionEntriesRequestFieldSet, type QueryQuestionEntriesRequestFieldSetWithLiterals, type QueryQuestionEntriesResponse, type QuestionEntriesQueryBuilder, type QuestionEntriesQueryResult, type QuestionEntry, type QuestionEntryAnswerOneOf, type QuestionEntryCreatedEnvelope, type QuestionEntryDeletedEnvelope, type QuestionEntryQuery, type QuestionEntryQuerySpec, type QuestionEntryUpdatedEnvelope, QuestionStatus, type QuestionStatusWithLiterals, type Rel, Resizing, type ResizingWithLiterals, ResponsivenessBehaviour, type ResponsivenessBehaviourWithLiterals, type RestoreInfo, type RibbonStyles, type RichContent, Scaling, type ScalingWithLiterals, type SetQuestionEntryLabelsOptions, type SetQuestionEntryLabelsRequest, type SetQuestionEntryLabelsResponse, type Settings, type ShapeData, type ShapeDataStyles, SortOrder, type SortOrderWithLiterals, type Sorting, Source, type SourceWithLiterals, type Spoiler, type SpoilerData, type Styles, type StylesBorder, StylesPosition, type StylesPositionWithLiterals, type TableCellData, type TableData, Target, type TargetWithLiterals, TextAlignment, type TextAlignmentWithLiterals, type TextData, type TextNodeStyle, type TextStyle, type Thumbnails, ThumbnailsAlignment, type ThumbnailsAlignmentWithLiterals, Type, type TypeWithLiterals, type UpdateExtendedFieldsOptions, type UpdateExtendedFieldsRequest, type UpdateExtendedFieldsResponse, type UpdateQuestionEntry, type UpdateQuestionEntryRequest, type UpdateQuestionEntryResponse, 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, bulkDeleteQuestionEntries, bulkUpdateQuestionEntry, createQuestionEntry, deleteQuestionEntry, getQuestionEntry, listQuestionEntries, onQuestionEntryCreated, onQuestionEntryDeleted, onQuestionEntryUpdated, queryQuestionEntries, setQuestionEntryLabels, typedQueryQuestionEntries, updateExtendedFields, updateQuestionEntry, utils };
|
|
@@ -1439,6 +1439,11 @@ var ImagePosition = /* @__PURE__ */ ((ImagePosition2) => {
|
|
|
1439
1439
|
ImagePosition2["BOTTOM_RIGHT"] = "BOTTOM_RIGHT";
|
|
1440
1440
|
return ImagePosition2;
|
|
1441
1441
|
})(ImagePosition || {});
|
|
1442
|
+
var Origin = /* @__PURE__ */ ((Origin2) => {
|
|
1443
|
+
Origin2["IMAGE"] = "IMAGE";
|
|
1444
|
+
Origin2["LAYOUT"] = "LAYOUT";
|
|
1445
|
+
return Origin2;
|
|
1446
|
+
})(Origin || {});
|
|
1442
1447
|
var VerticalAlignmentAlignment = /* @__PURE__ */ ((VerticalAlignmentAlignment2) => {
|
|
1443
1448
|
VerticalAlignmentAlignment2["TOP"] = "TOP";
|
|
1444
1449
|
VerticalAlignmentAlignment2["MIDDLE"] = "MIDDLE";
|
|
@@ -1724,7 +1729,9 @@ async function typedQueryQuestionEntries(query, options) {
|
|
|
1724
1729
|
throw transformedError;
|
|
1725
1730
|
}
|
|
1726
1731
|
}
|
|
1727
|
-
var
|
|
1732
|
+
var utils = {
|
|
1733
|
+
...createQueryUtils()
|
|
1734
|
+
};
|
|
1728
1735
|
async function bulkDeleteQuestionEntries2(questionEntryIds) {
|
|
1729
1736
|
const { httpClient, sideEffects } = arguments[1];
|
|
1730
1737
|
const payload = renameKeysFromSDKRequestToRESTRequest(
|
|
@@ -1867,7 +1874,6 @@ export {
|
|
|
1867
1874
|
Direction,
|
|
1868
1875
|
DividerDataAlignment,
|
|
1869
1876
|
FieldSet,
|
|
1870
|
-
Filter,
|
|
1871
1877
|
FontType,
|
|
1872
1878
|
GIFType,
|
|
1873
1879
|
ImagePosition,
|
|
@@ -1879,19 +1885,18 @@ export {
|
|
|
1879
1885
|
NodeType,
|
|
1880
1886
|
NullValue,
|
|
1881
1887
|
Orientation,
|
|
1888
|
+
Origin,
|
|
1882
1889
|
Placement,
|
|
1883
1890
|
PluginContainerDataAlignment,
|
|
1884
1891
|
PollLayoutDirection,
|
|
1885
1892
|
PollLayoutType,
|
|
1886
1893
|
Position,
|
|
1887
|
-
QueryBuilder,
|
|
1888
1894
|
QueryQuestionEntriesRequestContentFormat,
|
|
1889
1895
|
QueryQuestionEntriesRequestFieldSet,
|
|
1890
1896
|
QuestionStatus,
|
|
1891
1897
|
Resizing,
|
|
1892
1898
|
ResponsivenessBehaviour,
|
|
1893
1899
|
Scaling,
|
|
1894
|
-
Sort,
|
|
1895
1900
|
SortOrder,
|
|
1896
1901
|
Source,
|
|
1897
1902
|
StylesPosition,
|
|
@@ -1917,6 +1922,7 @@ export {
|
|
|
1917
1922
|
setQuestionEntryLabels2 as setQuestionEntryLabels,
|
|
1918
1923
|
typedQueryQuestionEntries,
|
|
1919
1924
|
updateExtendedFields2 as updateExtendedFields,
|
|
1920
|
-
updateQuestionEntry2 as updateQuestionEntry
|
|
1925
|
+
updateQuestionEntry2 as updateQuestionEntry,
|
|
1926
|
+
utils
|
|
1921
1927
|
};
|
|
1922
1928
|
//# sourceMappingURL=index.typings.mjs.map
|