@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 };
|
|
@@ -32,7 +32,6 @@ __export(index_typings_exports, {
|
|
|
32
32
|
Direction: () => Direction,
|
|
33
33
|
DividerDataAlignment: () => DividerDataAlignment,
|
|
34
34
|
FieldSet: () => FieldSet,
|
|
35
|
-
Filter: () => Filter,
|
|
36
35
|
FontType: () => FontType,
|
|
37
36
|
GIFType: () => GIFType,
|
|
38
37
|
ImagePosition: () => ImagePosition,
|
|
@@ -44,19 +43,18 @@ __export(index_typings_exports, {
|
|
|
44
43
|
NodeType: () => NodeType,
|
|
45
44
|
NullValue: () => NullValue,
|
|
46
45
|
Orientation: () => Orientation,
|
|
46
|
+
Origin: () => Origin,
|
|
47
47
|
Placement: () => Placement,
|
|
48
48
|
PluginContainerDataAlignment: () => PluginContainerDataAlignment,
|
|
49
49
|
PollLayoutDirection: () => PollLayoutDirection,
|
|
50
50
|
PollLayoutType: () => PollLayoutType,
|
|
51
51
|
Position: () => Position,
|
|
52
|
-
QueryBuilder: () => QueryBuilder,
|
|
53
52
|
QueryQuestionEntriesRequestContentFormat: () => QueryQuestionEntriesRequestContentFormat,
|
|
54
53
|
QueryQuestionEntriesRequestFieldSet: () => QueryQuestionEntriesRequestFieldSet,
|
|
55
54
|
QuestionStatus: () => QuestionStatus,
|
|
56
55
|
Resizing: () => Resizing,
|
|
57
56
|
ResponsivenessBehaviour: () => ResponsivenessBehaviour,
|
|
58
57
|
Scaling: () => Scaling,
|
|
59
|
-
Sort: () => Sort,
|
|
60
58
|
SortOrder: () => SortOrder,
|
|
61
59
|
Source: () => Source,
|
|
62
60
|
StylesPosition: () => StylesPosition,
|
|
@@ -82,7 +80,8 @@ __export(index_typings_exports, {
|
|
|
82
80
|
setQuestionEntryLabels: () => setQuestionEntryLabels2,
|
|
83
81
|
typedQueryQuestionEntries: () => typedQueryQuestionEntries,
|
|
84
82
|
updateExtendedFields: () => updateExtendedFields2,
|
|
85
|
-
updateQuestionEntry: () => updateQuestionEntry2
|
|
83
|
+
updateQuestionEntry: () => updateQuestionEntry2,
|
|
84
|
+
utils: () => utils
|
|
86
85
|
});
|
|
87
86
|
module.exports = __toCommonJS(index_typings_exports);
|
|
88
87
|
|
|
@@ -1524,6 +1523,11 @@ var ImagePosition = /* @__PURE__ */ ((ImagePosition2) => {
|
|
|
1524
1523
|
ImagePosition2["BOTTOM_RIGHT"] = "BOTTOM_RIGHT";
|
|
1525
1524
|
return ImagePosition2;
|
|
1526
1525
|
})(ImagePosition || {});
|
|
1526
|
+
var Origin = /* @__PURE__ */ ((Origin2) => {
|
|
1527
|
+
Origin2["IMAGE"] = "IMAGE";
|
|
1528
|
+
Origin2["LAYOUT"] = "LAYOUT";
|
|
1529
|
+
return Origin2;
|
|
1530
|
+
})(Origin || {});
|
|
1527
1531
|
var VerticalAlignmentAlignment = /* @__PURE__ */ ((VerticalAlignmentAlignment2) => {
|
|
1528
1532
|
VerticalAlignmentAlignment2["TOP"] = "TOP";
|
|
1529
1533
|
VerticalAlignmentAlignment2["MIDDLE"] = "MIDDLE";
|
|
@@ -1809,7 +1813,9 @@ async function typedQueryQuestionEntries(query, options) {
|
|
|
1809
1813
|
throw transformedError;
|
|
1810
1814
|
}
|
|
1811
1815
|
}
|
|
1812
|
-
var
|
|
1816
|
+
var utils = {
|
|
1817
|
+
...(0, import_query_builder_utils.createQueryUtils)()
|
|
1818
|
+
};
|
|
1813
1819
|
async function bulkDeleteQuestionEntries2(questionEntryIds) {
|
|
1814
1820
|
const { httpClient, sideEffects } = arguments[1];
|
|
1815
1821
|
const payload = (0, import_rename_all_nested_keys.renameKeysFromSDKRequestToRESTRequest)(
|
|
@@ -1953,7 +1959,6 @@ async function bulkUpdateQuestionEntry2(options) {
|
|
|
1953
1959
|
Direction,
|
|
1954
1960
|
DividerDataAlignment,
|
|
1955
1961
|
FieldSet,
|
|
1956
|
-
Filter,
|
|
1957
1962
|
FontType,
|
|
1958
1963
|
GIFType,
|
|
1959
1964
|
ImagePosition,
|
|
@@ -1965,19 +1970,18 @@ async function bulkUpdateQuestionEntry2(options) {
|
|
|
1965
1970
|
NodeType,
|
|
1966
1971
|
NullValue,
|
|
1967
1972
|
Orientation,
|
|
1973
|
+
Origin,
|
|
1968
1974
|
Placement,
|
|
1969
1975
|
PluginContainerDataAlignment,
|
|
1970
1976
|
PollLayoutDirection,
|
|
1971
1977
|
PollLayoutType,
|
|
1972
1978
|
Position,
|
|
1973
|
-
QueryBuilder,
|
|
1974
1979
|
QueryQuestionEntriesRequestContentFormat,
|
|
1975
1980
|
QueryQuestionEntriesRequestFieldSet,
|
|
1976
1981
|
QuestionStatus,
|
|
1977
1982
|
Resizing,
|
|
1978
1983
|
ResponsivenessBehaviour,
|
|
1979
1984
|
Scaling,
|
|
1980
|
-
Sort,
|
|
1981
1985
|
SortOrder,
|
|
1982
1986
|
Source,
|
|
1983
1987
|
StylesPosition,
|
|
@@ -2003,6 +2007,7 @@ async function bulkUpdateQuestionEntry2(options) {
|
|
|
2003
2007
|
setQuestionEntryLabels,
|
|
2004
2008
|
typedQueryQuestionEntries,
|
|
2005
2009
|
updateExtendedFields,
|
|
2006
|
-
updateQuestionEntry
|
|
2010
|
+
updateQuestionEntry,
|
|
2011
|
+
utils
|
|
2007
2012
|
});
|
|
2008
2013
|
//# sourceMappingURL=index.typings.js.map
|