@wix/auto_sdk_faq_question-entry 1.0.23 → 1.0.25
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 +10 -13
- package/build/cjs/index.js +170 -1
- package/build/cjs/index.js.map +1 -1
- package/build/cjs/index.typings.d.ts +115 -3
- package/build/cjs/index.typings.js +133 -0
- package/build/cjs/index.typings.js.map +1 -1
- package/build/cjs/meta.d.ts +109 -3
- package/build/cjs/meta.js +103 -0
- package/build/cjs/meta.js.map +1 -1
- package/build/es/index.d.mts +10 -13
- package/build/es/index.mjs +166 -1
- package/build/es/index.mjs.map +1 -1
- package/build/es/index.typings.d.mts +115 -3
- package/build/es/index.typings.mjs +128 -0
- package/build/es/index.typings.mjs.map +1 -1
- package/build/es/meta.d.mts +109 -3
- package/build/es/meta.mjs +99 -0
- package/build/es/meta.mjs.map +1 -1
- package/build/internal/cjs/index.d.ts +10 -13
- package/build/internal/cjs/index.js +170 -1
- package/build/internal/cjs/index.js.map +1 -1
- package/build/internal/cjs/index.typings.d.ts +115 -3
- package/build/internal/cjs/index.typings.js +133 -0
- package/build/internal/cjs/index.typings.js.map +1 -1
- package/build/internal/cjs/meta.d.ts +109 -3
- package/build/internal/cjs/meta.js +103 -0
- package/build/internal/cjs/meta.js.map +1 -1
- package/build/internal/es/index.d.mts +10 -13
- package/build/internal/es/index.mjs +166 -1
- package/build/internal/es/index.mjs.map +1 -1
- package/build/internal/es/index.typings.d.mts +115 -3
- package/build/internal/es/index.typings.mjs +128 -0
- package/build/internal/es/index.typings.mjs.map +1 -1
- package/build/internal/es/meta.d.mts +109 -3
- package/build/internal/es/meta.mjs +99 -0
- package/build/internal/es/meta.mjs.map +1 -1
- package/package.json +3 -3
package/build/cjs/index.d.ts
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
import { HttpClient, NonNullablePaths, EventDefinition, MaybeContext, BuildRESTFunction, BuildEventDefinition } from '@wix/sdk-types';
|
|
2
|
-
import { QuestionEntry, UpdateQuestionEntry, ListQuestionEntriesOptions, ListQuestionEntriesResponse,
|
|
3
|
-
export { ActionEvent, Alignment, AlignmentWithLiterals, AnchorData, AppEmbedData, AppEmbedDataAppDataOneOf, AppType, AppTypeWithLiterals, ApplicationError, AspectRatio, AspectRatioWithLiterals, AudioData, Background, BackgroundBackgroundOneOf, BackgroundType, BackgroundTypeWithLiterals, BaseEventMetadata, BlockquoteData, BookingData, Border, BorderColors, BulkActionMetadata, BulkDeleteQuestionEntriesRequest, BulkUpdateQuestionEntryRequest, BulkUpdateQuestionEntryResult, BulletedListData, ButtonData, ButtonDataType, ButtonDataTypeWithLiterals, ButtonStyles, CaptionData, CardStyles, CellStyle, CodeBlockData, CollapsibleListData, ColorData, Colors, ContentFormat, ContentFormatWithLiterals, CreateQuestionEntryRequest, CreateQuestionEntryResponse, Crop, CropWithLiterals, CursorPaging, CursorPagingMetadata,
|
|
2
|
+
import { QuestionEntry, UpdateQuestionEntry, ListQuestionEntriesOptions, ListQuestionEntriesResponse, BulkDeleteQuestionEntriesResponse, UpdateExtendedFieldsOptions, UpdateExtendedFieldsResponse, SetQuestionEntryLabelsOptions, SetQuestionEntryLabelsResponse, BulkUpdateQuestionEntryOptions, BulkUpdateQuestionEntryResponse, QuestionEntryCreatedEnvelope, QuestionEntryDeletedEnvelope, QuestionEntryUpdatedEnvelope, CursorQuery, typedQueryQuestionEntries, QueryQuestionEntriesOptions, QuestionEntriesQueryBuilder } from './index.typings.js';
|
|
3
|
+
export { ActionEvent, Alignment, AlignmentWithLiterals, AnchorData, AppEmbedData, AppEmbedDataAppDataOneOf, AppType, AppTypeWithLiterals, ApplicationError, AspectRatio, AspectRatioWithLiterals, AudioData, Background, BackgroundBackgroundOneOf, BackgroundImage, BackgroundType, BackgroundTypeWithLiterals, BaseEventMetadata, BlockquoteData, BookingData, Border, BorderColors, BulkActionMetadata, BulkDeleteQuestionEntriesRequest, BulkUpdateQuestionEntryRequest, BulkUpdateQuestionEntryResult, BulletedListData, ButtonData, ButtonDataType, ButtonDataTypeWithLiterals, ButtonStyles, CaptionData, CardStyles, CellStyle, CodeBlockData, CollapsibleListData, ColorData, Colors, ContentFormat, ContentFormatWithLiterals, CreateQuestionEntryRequest, CreateQuestionEntryResponse, Crop, CropWithLiterals, CursorPaging, CursorPagingMetadata, CursorQueryPagingMethodOneOf, Cursors, Decoration, DecorationDataOneOf, DecorationType, DecorationTypeWithLiterals, DeleteQuestionEntryRequest, DeleteQuestionEntryResponse, Design, Dimensions, Direction, DirectionWithLiterals, DividerData, DividerDataAlignment, DividerDataAlignmentWithLiterals, DocumentStyle, DomainEvent, DomainEventBodyOneOf, EmbedData, Empty, EntityCreatedEvent, EntityDeletedEvent, EntityUpdatedEvent, EventData, EventMetadata, ExtendedFields, FieldSet, FieldSetWithLiterals, FileData, FileSource, FileSourceDataOneOf, FontSizeData, FontType, FontTypeWithLiterals, GIF, GIFData, GIFType, GIFTypeWithLiterals, GalleryData, GalleryOptions, GalleryOptionsLayout, GetQuestionEntryRequest, GetQuestionEntryResponse, Gradient, HTMLData, HTMLDataDataOneOf, HeadingData, Height, IdentificationData, IdentificationDataIdOneOf, Image, ImageData, ImageDataStyles, ImagePosition, ImagePositionWithLiterals, ImageStyles, InitialExpandedItems, InitialExpandedItemsWithLiterals, Item, ItemDataOneOf, ItemMetadata, ItemStyle, Label, Layout, LayoutCellData, LayoutData, LayoutType, LayoutTypeWithLiterals, LayoutWithLiterals, LineStyle, LineStyleWithLiterals, Link, LinkData, LinkDataOneOf, LinkPreviewData, LinkPreviewDataStyles, ListQuestionEntriesRequest, ListValue, MapData, MapSettings, MapType, MapTypeWithLiterals, MaskedQuestionEntry, Media, MentionData, MessageEnvelope, Metadata, Node, NodeDataOneOf, NodeStyle, NodeType, NodeTypeWithLiterals, NullValue, NullValueWithLiterals, Oembed, Option, OptionDesign, OptionLayout, OrderedListData, Orientation, OrientationWithLiterals, PDFSettings, PagingMetadataV2, ParagraphData, Permissions, Placement, PlacementWithLiterals, PlaybackOptions, PluginContainerData, PluginContainerDataAlignment, PluginContainerDataAlignmentWithLiterals, PluginContainerDataWidth, PluginContainerDataWidthDataOneOf, Poll, PollData, PollDataLayout, PollDesign, PollLayout, PollLayoutDirection, PollLayoutDirectionWithLiterals, PollLayoutType, PollLayoutTypeWithLiterals, Position, PositionWithLiterals, PricingData, QueryQuestionEntriesRequest, QueryQuestionEntriesRequestContentFormat, QueryQuestionEntriesRequestContentFormatWithLiterals, QueryQuestionEntriesRequestFieldSet, QueryQuestionEntriesRequestFieldSetWithLiterals, QueryQuestionEntriesResponse, QuestionEntriesQueryResult, QuestionEntryAnswerOneOf, QuestionStatus, QuestionStatusWithLiterals, Rel, Resizing, ResizingWithLiterals, ResponsivenessBehaviour, ResponsivenessBehaviourWithLiterals, RestoreInfo, RibbonStyles, RichContent, Scaling, ScalingWithLiterals, SetQuestionEntryLabelsRequest, Settings, SortOrder, SortOrderWithLiterals, Sorting, Source, SourceWithLiterals, Spoiler, SpoilerData, Styles, StylesBorder, StylesPosition, StylesPositionWithLiterals, TableCellData, TableData, Target, TargetWithLiterals, TextAlignment, TextAlignmentWithLiterals, TextData, TextNodeStyle, TextStyle, Thumbnails, ThumbnailsAlignment, ThumbnailsAlignmentWithLiterals, Type, TypeWithLiterals, UpdateExtendedFieldsRequest, UpdateQuestionEntryRequest, UpdateQuestionEntryResponse, VerticalAlignment, VerticalAlignmentAlignment, VerticalAlignmentAlignmentWithLiterals, VerticalAlignmentWithLiterals, Video, VideoData, ViewMode, ViewModeWithLiterals, ViewRole, ViewRoleWithLiterals, VoteRole, VoteRoleWithLiterals, WebhookIdentityType, WebhookIdentityTypeWithLiterals, Width, WidthType, WidthTypeWithLiterals, WidthWithLiterals } from './index.typings.js';
|
|
4
4
|
|
|
5
5
|
declare function createQuestionEntry$1(httpClient: HttpClient): CreateQuestionEntrySignature;
|
|
6
6
|
interface CreateQuestionEntrySignature {
|
|
@@ -63,15 +63,6 @@ interface ListQuestionEntriesSignature {
|
|
|
63
63
|
*/
|
|
64
64
|
(options?: ListQuestionEntriesOptions): Promise<NonNullablePaths<ListQuestionEntriesResponse, `questionEntries` | `questionEntries.${number}.draftjs` | `questionEntries.${number}.plainText`, 4>>;
|
|
65
65
|
}
|
|
66
|
-
declare function queryQuestionEntries$1(httpClient: HttpClient): QueryQuestionEntriesSignature;
|
|
67
|
-
interface QueryQuestionEntriesSignature {
|
|
68
|
-
/**
|
|
69
|
-
* Retrieves question entries, given the provided paging, filtering, and sorting.
|
|
70
|
-
*
|
|
71
|
-
* For field support for filters and sorting, see [Question Entries V2: Supported Filters and Sorting](https://dev.wix.com/docs/rest/business-management/faq-app/faq/question-entry-v2/supported-filters).
|
|
72
|
-
*/
|
|
73
|
-
(options?: QueryQuestionEntriesOptions): QuestionEntriesQueryBuilder;
|
|
74
|
-
}
|
|
75
66
|
declare function bulkDeleteQuestionEntries$1(httpClient: HttpClient): BulkDeleteQuestionEntriesSignature;
|
|
76
67
|
interface BulkDeleteQuestionEntriesSignature {
|
|
77
68
|
/**
|
|
@@ -121,16 +112,22 @@ declare const onQuestionEntryCreated$1: EventDefinition<QuestionEntryCreatedEnve
|
|
|
121
112
|
declare const onQuestionEntryDeleted$1: EventDefinition<QuestionEntryDeletedEnvelope, "wix.faq.question_entry.v2.question_entry_deleted">;
|
|
122
113
|
declare const onQuestionEntryUpdated$1: EventDefinition<QuestionEntryUpdatedEnvelope, "wix.faq.question_entry.v2.question_entry_updated">;
|
|
123
114
|
|
|
115
|
+
declare function customQueryQuestionEntries(httpClient: HttpClient): {
|
|
116
|
+
(query: CursorQuery): ReturnType<typeof typedQueryQuestionEntries>;
|
|
117
|
+
(query: CursorQuery, options: QueryQuestionEntriesOptions): ReturnType<typeof typedQueryQuestionEntries>;
|
|
118
|
+
(): QuestionEntriesQueryBuilder;
|
|
119
|
+
(options: QueryQuestionEntriesOptions): QuestionEntriesQueryBuilder;
|
|
120
|
+
};
|
|
124
121
|
declare const createQuestionEntry: MaybeContext<BuildRESTFunction<typeof createQuestionEntry$1> & typeof createQuestionEntry$1>;
|
|
125
122
|
declare const getQuestionEntry: MaybeContext<BuildRESTFunction<typeof getQuestionEntry$1> & typeof getQuestionEntry$1>;
|
|
126
123
|
declare const updateQuestionEntry: MaybeContext<BuildRESTFunction<typeof updateQuestionEntry$1> & typeof updateQuestionEntry$1>;
|
|
127
124
|
declare const deleteQuestionEntry: MaybeContext<BuildRESTFunction<typeof deleteQuestionEntry$1> & typeof deleteQuestionEntry$1>;
|
|
128
125
|
declare const listQuestionEntries: MaybeContext<BuildRESTFunction<typeof listQuestionEntries$1> & typeof listQuestionEntries$1>;
|
|
129
|
-
declare const queryQuestionEntries: MaybeContext<BuildRESTFunction<typeof queryQuestionEntries$1> & typeof queryQuestionEntries$1>;
|
|
130
126
|
declare const bulkDeleteQuestionEntries: MaybeContext<BuildRESTFunction<typeof bulkDeleteQuestionEntries$1> & typeof bulkDeleteQuestionEntries$1>;
|
|
131
127
|
declare const updateExtendedFields: MaybeContext<BuildRESTFunction<typeof updateExtendedFields$1> & typeof updateExtendedFields$1>;
|
|
132
128
|
declare const setQuestionEntryLabels: MaybeContext<BuildRESTFunction<typeof setQuestionEntryLabels$1> & typeof setQuestionEntryLabels$1>;
|
|
133
129
|
declare const bulkUpdateQuestionEntry: MaybeContext<BuildRESTFunction<typeof bulkUpdateQuestionEntry$1> & typeof bulkUpdateQuestionEntry$1>;
|
|
130
|
+
declare const queryQuestionEntries: MaybeContext<BuildRESTFunction<typeof customQueryQuestionEntries> & typeof customQueryQuestionEntries>;
|
|
134
131
|
/**
|
|
135
132
|
* Triggered when a question entry is created.
|
|
136
133
|
*/
|
|
@@ -142,4 +139,4 @@ declare const onQuestionEntryDeleted: BuildEventDefinition<typeof onQuestionEntr
|
|
|
142
139
|
*/
|
|
143
140
|
declare const onQuestionEntryUpdated: BuildEventDefinition<typeof onQuestionEntryUpdated$1> & typeof onQuestionEntryUpdated$1;
|
|
144
141
|
|
|
145
|
-
export { BulkDeleteQuestionEntriesResponse, BulkUpdateQuestionEntryOptions, BulkUpdateQuestionEntryResponse, ListQuestionEntriesOptions, ListQuestionEntriesResponse, QueryQuestionEntriesOptions, QuestionEntriesQueryBuilder, QuestionEntry, QuestionEntryCreatedEnvelope, QuestionEntryDeletedEnvelope, QuestionEntryUpdatedEnvelope, SetQuestionEntryLabelsOptions, SetQuestionEntryLabelsResponse, UpdateExtendedFieldsOptions, UpdateExtendedFieldsResponse, UpdateQuestionEntry, bulkDeleteQuestionEntries, bulkUpdateQuestionEntry, createQuestionEntry, deleteQuestionEntry, getQuestionEntry, listQuestionEntries, onQuestionEntryCreated, onQuestionEntryDeleted, onQuestionEntryUpdated, queryQuestionEntries, setQuestionEntryLabels, updateExtendedFields, updateQuestionEntry };
|
|
142
|
+
export { BulkDeleteQuestionEntriesResponse, BulkUpdateQuestionEntryOptions, BulkUpdateQuestionEntryResponse, CursorQuery, ListQuestionEntriesOptions, ListQuestionEntriesResponse, QueryQuestionEntriesOptions, QuestionEntriesQueryBuilder, QuestionEntry, QuestionEntryCreatedEnvelope, QuestionEntryDeletedEnvelope, QuestionEntryUpdatedEnvelope, SetQuestionEntryLabelsOptions, SetQuestionEntryLabelsResponse, UpdateExtendedFieldsOptions, UpdateExtendedFieldsResponse, UpdateQuestionEntry, bulkDeleteQuestionEntries, bulkUpdateQuestionEntry, createQuestionEntry, deleteQuestionEntry, getQuestionEntry, listQuestionEntries, onQuestionEntryCreated, onQuestionEntryDeleted, onQuestionEntryUpdated, queryQuestionEntries, setQuestionEntryLabels, updateExtendedFields, updateQuestionEntry };
|
package/build/cjs/index.js
CHANGED
|
@@ -33,6 +33,7 @@ __export(index_exports, {
|
|
|
33
33
|
FieldSet: () => FieldSet,
|
|
34
34
|
FontType: () => FontType,
|
|
35
35
|
GIFType: () => GIFType,
|
|
36
|
+
ImagePosition: () => ImagePosition,
|
|
36
37
|
InitialExpandedItems: () => InitialExpandedItems,
|
|
37
38
|
Layout: () => Layout,
|
|
38
39
|
LayoutType: () => LayoutType,
|
|
@@ -50,6 +51,8 @@ __export(index_exports, {
|
|
|
50
51
|
QueryQuestionEntriesRequestFieldSet: () => QueryQuestionEntriesRequestFieldSet,
|
|
51
52
|
QuestionStatus: () => QuestionStatus,
|
|
52
53
|
Resizing: () => Resizing,
|
|
54
|
+
ResponsivenessBehaviour: () => ResponsivenessBehaviour,
|
|
55
|
+
Scaling: () => Scaling,
|
|
53
56
|
SortOrder: () => SortOrder,
|
|
54
57
|
Source: () => Source,
|
|
55
58
|
StylesPosition: () => StylesPosition,
|
|
@@ -58,6 +61,7 @@ __export(index_exports, {
|
|
|
58
61
|
ThumbnailsAlignment: () => ThumbnailsAlignment,
|
|
59
62
|
Type: () => Type,
|
|
60
63
|
VerticalAlignment: () => VerticalAlignment,
|
|
64
|
+
VerticalAlignmentAlignment: () => VerticalAlignmentAlignment,
|
|
61
65
|
ViewMode: () => ViewMode,
|
|
62
66
|
ViewRole: () => ViewRole,
|
|
63
67
|
VoteRole: () => VoteRole,
|
|
@@ -278,6 +282,12 @@ function createQuestionEntry(payload) {
|
|
|
278
282
|
{
|
|
279
283
|
path: "questionEntry.richContent.nodes.audioData.coverImage.duration"
|
|
280
284
|
},
|
|
285
|
+
{
|
|
286
|
+
path: "questionEntry.richContent.nodes.layoutData.backgroundImage.media.duration"
|
|
287
|
+
},
|
|
288
|
+
{
|
|
289
|
+
path: "questionEntry.richContent.nodes.layoutData.backdropImage.media.duration"
|
|
290
|
+
},
|
|
281
291
|
{ path: "questionEntry.labels.sortOrder" }
|
|
282
292
|
]
|
|
283
293
|
}
|
|
@@ -355,6 +365,12 @@ function createQuestionEntry(payload) {
|
|
|
355
365
|
{
|
|
356
366
|
path: "questionEntry.richContent.nodes.audioData.coverImage.duration"
|
|
357
367
|
},
|
|
368
|
+
{
|
|
369
|
+
path: "questionEntry.richContent.nodes.layoutData.backgroundImage.media.duration"
|
|
370
|
+
},
|
|
371
|
+
{
|
|
372
|
+
path: "questionEntry.richContent.nodes.layoutData.backdropImage.media.duration"
|
|
373
|
+
},
|
|
358
374
|
{ path: "questionEntry.labels.sortOrder" }
|
|
359
375
|
]
|
|
360
376
|
}
|
|
@@ -439,6 +455,12 @@ function getQuestionEntry(payload) {
|
|
|
439
455
|
{
|
|
440
456
|
path: "questionEntry.richContent.nodes.audioData.coverImage.duration"
|
|
441
457
|
},
|
|
458
|
+
{
|
|
459
|
+
path: "questionEntry.richContent.nodes.layoutData.backgroundImage.media.duration"
|
|
460
|
+
},
|
|
461
|
+
{
|
|
462
|
+
path: "questionEntry.richContent.nodes.layoutData.backdropImage.media.duration"
|
|
463
|
+
},
|
|
442
464
|
{ path: "questionEntry.labels.sortOrder" }
|
|
443
465
|
]
|
|
444
466
|
}
|
|
@@ -503,6 +525,12 @@ function updateQuestionEntry(payload) {
|
|
|
503
525
|
{
|
|
504
526
|
path: "questionEntry.richContent.nodes.audioData.coverImage.duration"
|
|
505
527
|
},
|
|
528
|
+
{
|
|
529
|
+
path: "questionEntry.richContent.nodes.layoutData.backgroundImage.media.duration"
|
|
530
|
+
},
|
|
531
|
+
{
|
|
532
|
+
path: "questionEntry.richContent.nodes.layoutData.backdropImage.media.duration"
|
|
533
|
+
},
|
|
506
534
|
{ path: "questionEntry.labels.sortOrder" }
|
|
507
535
|
]
|
|
508
536
|
}
|
|
@@ -580,6 +608,12 @@ function updateQuestionEntry(payload) {
|
|
|
580
608
|
{
|
|
581
609
|
path: "questionEntry.richContent.nodes.audioData.coverImage.duration"
|
|
582
610
|
},
|
|
611
|
+
{
|
|
612
|
+
path: "questionEntry.richContent.nodes.layoutData.backgroundImage.media.duration"
|
|
613
|
+
},
|
|
614
|
+
{
|
|
615
|
+
path: "questionEntry.richContent.nodes.layoutData.backdropImage.media.duration"
|
|
616
|
+
},
|
|
583
617
|
{ path: "questionEntry.labels.sortOrder" }
|
|
584
618
|
]
|
|
585
619
|
}
|
|
@@ -685,6 +719,12 @@ function listQuestionEntries(payload) {
|
|
|
685
719
|
{
|
|
686
720
|
path: "questionEntries.richContent.nodes.audioData.coverImage.duration"
|
|
687
721
|
},
|
|
722
|
+
{
|
|
723
|
+
path: "questionEntries.richContent.nodes.layoutData.backgroundImage.media.duration"
|
|
724
|
+
},
|
|
725
|
+
{
|
|
726
|
+
path: "questionEntries.richContent.nodes.layoutData.backdropImage.media.duration"
|
|
727
|
+
},
|
|
688
728
|
{ path: "questionEntries.labels.sortOrder" }
|
|
689
729
|
]
|
|
690
730
|
}
|
|
@@ -769,6 +809,12 @@ function queryQuestionEntries(payload) {
|
|
|
769
809
|
{
|
|
770
810
|
path: "questionEntries.richContent.nodes.audioData.coverImage.duration"
|
|
771
811
|
},
|
|
812
|
+
{
|
|
813
|
+
path: "questionEntries.richContent.nodes.layoutData.backgroundImage.media.duration"
|
|
814
|
+
},
|
|
815
|
+
{
|
|
816
|
+
path: "questionEntries.richContent.nodes.layoutData.backdropImage.media.duration"
|
|
817
|
+
},
|
|
772
818
|
{ path: "questionEntries.labels.sortOrder" }
|
|
773
819
|
]
|
|
774
820
|
}
|
|
@@ -874,6 +920,12 @@ function updateExtendedFields(payload) {
|
|
|
874
920
|
{
|
|
875
921
|
path: "questionEntry.richContent.nodes.audioData.coverImage.duration"
|
|
876
922
|
},
|
|
923
|
+
{
|
|
924
|
+
path: "questionEntry.richContent.nodes.layoutData.backgroundImage.media.duration"
|
|
925
|
+
},
|
|
926
|
+
{
|
|
927
|
+
path: "questionEntry.richContent.nodes.layoutData.backdropImage.media.duration"
|
|
928
|
+
},
|
|
877
929
|
{ path: "questionEntry.labels.sortOrder" }
|
|
878
930
|
]
|
|
879
931
|
}
|
|
@@ -964,6 +1016,12 @@ function setQuestionEntryLabels(payload) {
|
|
|
964
1016
|
{
|
|
965
1017
|
path: "questionEntry.richContent.nodes.audioData.coverImage.duration"
|
|
966
1018
|
},
|
|
1019
|
+
{
|
|
1020
|
+
path: "questionEntry.richContent.nodes.layoutData.backgroundImage.media.duration"
|
|
1021
|
+
},
|
|
1022
|
+
{
|
|
1023
|
+
path: "questionEntry.richContent.nodes.layoutData.backdropImage.media.duration"
|
|
1024
|
+
},
|
|
967
1025
|
{ path: "questionEntry.labels.sortOrder" }
|
|
968
1026
|
]
|
|
969
1027
|
}
|
|
@@ -1042,6 +1100,12 @@ function bulkUpdateQuestionEntry(payload) {
|
|
|
1042
1100
|
{
|
|
1043
1101
|
path: "questionEntries.questionEntry.richContent.nodes.audioData.coverImage.duration"
|
|
1044
1102
|
},
|
|
1103
|
+
{
|
|
1104
|
+
path: "questionEntries.questionEntry.richContent.nodes.layoutData.backgroundImage.media.duration"
|
|
1105
|
+
},
|
|
1106
|
+
{
|
|
1107
|
+
path: "questionEntries.questionEntry.richContent.nodes.layoutData.backdropImage.media.duration"
|
|
1108
|
+
},
|
|
1045
1109
|
{ path: "questionEntries.questionEntry.labels.sortOrder" }
|
|
1046
1110
|
]
|
|
1047
1111
|
}
|
|
@@ -1123,6 +1187,12 @@ function bulkUpdateQuestionEntry(payload) {
|
|
|
1123
1187
|
{
|
|
1124
1188
|
path: "results.questionEntry.richContent.nodes.audioData.coverImage.duration"
|
|
1125
1189
|
},
|
|
1190
|
+
{
|
|
1191
|
+
path: "results.questionEntry.richContent.nodes.layoutData.backgroundImage.media.duration"
|
|
1192
|
+
},
|
|
1193
|
+
{
|
|
1194
|
+
path: "results.questionEntry.richContent.nodes.layoutData.backdropImage.media.duration"
|
|
1195
|
+
},
|
|
1126
1196
|
{ path: "results.questionEntry.labels.sortOrder" }
|
|
1127
1197
|
]
|
|
1128
1198
|
}
|
|
@@ -1397,6 +1467,35 @@ var NullValue = /* @__PURE__ */ ((NullValue2) => {
|
|
|
1397
1467
|
NullValue2["NULL_VALUE"] = "NULL_VALUE";
|
|
1398
1468
|
return NullValue2;
|
|
1399
1469
|
})(NullValue || {});
|
|
1470
|
+
var Scaling = /* @__PURE__ */ ((Scaling2) => {
|
|
1471
|
+
Scaling2["AUTO"] = "AUTO";
|
|
1472
|
+
Scaling2["CONTAIN"] = "CONTAIN";
|
|
1473
|
+
Scaling2["COVER"] = "COVER";
|
|
1474
|
+
return Scaling2;
|
|
1475
|
+
})(Scaling || {});
|
|
1476
|
+
var ImagePosition = /* @__PURE__ */ ((ImagePosition2) => {
|
|
1477
|
+
ImagePosition2["CENTER"] = "CENTER";
|
|
1478
|
+
ImagePosition2["CENTER_LEFT"] = "CENTER_LEFT";
|
|
1479
|
+
ImagePosition2["CENTER_RIGHT"] = "CENTER_RIGHT";
|
|
1480
|
+
ImagePosition2["TOP"] = "TOP";
|
|
1481
|
+
ImagePosition2["TOP_LEFT"] = "TOP_LEFT";
|
|
1482
|
+
ImagePosition2["TOP_RIGHT"] = "TOP_RIGHT";
|
|
1483
|
+
ImagePosition2["BOTTOM"] = "BOTTOM";
|
|
1484
|
+
ImagePosition2["BOTTOM_LEFT"] = "BOTTOM_LEFT";
|
|
1485
|
+
ImagePosition2["BOTTOM_RIGHT"] = "BOTTOM_RIGHT";
|
|
1486
|
+
return ImagePosition2;
|
|
1487
|
+
})(ImagePosition || {});
|
|
1488
|
+
var VerticalAlignmentAlignment = /* @__PURE__ */ ((VerticalAlignmentAlignment2) => {
|
|
1489
|
+
VerticalAlignmentAlignment2["TOP"] = "TOP";
|
|
1490
|
+
VerticalAlignmentAlignment2["MIDDLE"] = "MIDDLE";
|
|
1491
|
+
VerticalAlignmentAlignment2["BOTTOM"] = "BOTTOM";
|
|
1492
|
+
return VerticalAlignmentAlignment2;
|
|
1493
|
+
})(VerticalAlignmentAlignment || {});
|
|
1494
|
+
var ResponsivenessBehaviour = /* @__PURE__ */ ((ResponsivenessBehaviour2) => {
|
|
1495
|
+
ResponsivenessBehaviour2["STACK"] = "STACK";
|
|
1496
|
+
ResponsivenessBehaviour2["WRAP"] = "WRAP";
|
|
1497
|
+
return ResponsivenessBehaviour2;
|
|
1498
|
+
})(ResponsivenessBehaviour || {});
|
|
1400
1499
|
var QuestionStatus = /* @__PURE__ */ ((QuestionStatus2) => {
|
|
1401
1500
|
QuestionStatus2["UNKNOWN"] = "UNKNOWN";
|
|
1402
1501
|
QuestionStatus2["VISIBLE"] = "VISIBLE";
|
|
@@ -1638,6 +1737,34 @@ function queryQuestionEntries2(options) {
|
|
|
1638
1737
|
transformationPaths: {}
|
|
1639
1738
|
});
|
|
1640
1739
|
}
|
|
1740
|
+
async function typedQueryQuestionEntries(query, options) {
|
|
1741
|
+
const { httpClient, sideEffects } = arguments[2];
|
|
1742
|
+
const payload = (0, import_rename_all_nested_keys.renameKeysFromSDKRequestToRESTRequest)(
|
|
1743
|
+
{ query, ...options },
|
|
1744
|
+
[]
|
|
1745
|
+
);
|
|
1746
|
+
const reqOpts = queryQuestionEntries(payload);
|
|
1747
|
+
sideEffects?.onSiteCall?.();
|
|
1748
|
+
try {
|
|
1749
|
+
const result = await httpClient.request(reqOpts);
|
|
1750
|
+
sideEffects?.onSuccess?.(result);
|
|
1751
|
+
return (0, import_rename_all_nested_keys.renameKeysFromRESTResponseToSDKResponse)(result.data, [
|
|
1752
|
+
"questionEntries.richContent"
|
|
1753
|
+
]);
|
|
1754
|
+
} catch (err) {
|
|
1755
|
+
const transformedError = (0, import_transform_error.transformError)(
|
|
1756
|
+
err,
|
|
1757
|
+
{
|
|
1758
|
+
spreadPathsToArguments: {},
|
|
1759
|
+
explicitPathsToArguments: { query: "$[0]" },
|
|
1760
|
+
singleArgumentUnchanged: false
|
|
1761
|
+
},
|
|
1762
|
+
["query", "options"]
|
|
1763
|
+
);
|
|
1764
|
+
sideEffects?.onError?.(err);
|
|
1765
|
+
throw transformedError;
|
|
1766
|
+
}
|
|
1767
|
+
}
|
|
1641
1768
|
async function bulkDeleteQuestionEntries2(questionEntryIds) {
|
|
1642
1769
|
const { httpClient, sideEffects } = arguments[1];
|
|
1643
1770
|
const payload = (0, import_rename_all_nested_keys.renameKeysFromSDKRequestToRESTRequest)(
|
|
@@ -1812,6 +1939,14 @@ function queryQuestionEntries3(httpClient) {
|
|
|
1812
1939
|
{ httpClient }
|
|
1813
1940
|
);
|
|
1814
1941
|
}
|
|
1942
|
+
function typedQueryQuestionEntries2(httpClient) {
|
|
1943
|
+
return (query, options) => typedQueryQuestionEntries(
|
|
1944
|
+
query,
|
|
1945
|
+
options,
|
|
1946
|
+
// @ts-ignore
|
|
1947
|
+
{ httpClient }
|
|
1948
|
+
);
|
|
1949
|
+
}
|
|
1815
1950
|
function bulkDeleteQuestionEntries3(httpClient) {
|
|
1816
1951
|
return (questionEntryIds) => bulkDeleteQuestionEntries2(
|
|
1817
1952
|
questionEntryIds,
|
|
@@ -1887,6 +2022,12 @@ var onQuestionEntryCreated = (0, import_sdk_types.EventDefinition)(
|
|
|
1887
2022
|
{ path: "entity.richContent.nodes.videoData.thumbnail.duration" },
|
|
1888
2023
|
{ path: "entity.richContent.nodes.audioData.audio.duration" },
|
|
1889
2024
|
{ path: "entity.richContent.nodes.audioData.coverImage.duration" },
|
|
2025
|
+
{
|
|
2026
|
+
path: "entity.richContent.nodes.layoutData.backgroundImage.media.duration"
|
|
2027
|
+
},
|
|
2028
|
+
{
|
|
2029
|
+
path: "entity.richContent.nodes.layoutData.backdropImage.media.duration"
|
|
2030
|
+
},
|
|
1890
2031
|
{ path: "entity.labels.sortOrder" }
|
|
1891
2032
|
]
|
|
1892
2033
|
}
|
|
@@ -1945,6 +2086,12 @@ var onQuestionEntryDeleted = (0, import_sdk_types.EventDefinition)(
|
|
|
1945
2086
|
{
|
|
1946
2087
|
path: "undefined.richContent.nodes.audioData.coverImage.duration"
|
|
1947
2088
|
},
|
|
2089
|
+
{
|
|
2090
|
+
path: "undefined.richContent.nodes.layoutData.backgroundImage.media.duration"
|
|
2091
|
+
},
|
|
2092
|
+
{
|
|
2093
|
+
path: "undefined.richContent.nodes.layoutData.backdropImage.media.duration"
|
|
2094
|
+
},
|
|
1948
2095
|
{ path: "undefined.labels.sortOrder" }
|
|
1949
2096
|
]
|
|
1950
2097
|
}
|
|
@@ -1995,6 +2142,12 @@ var onQuestionEntryUpdated = (0, import_sdk_types.EventDefinition)(
|
|
|
1995
2142
|
{ path: "entity.richContent.nodes.videoData.thumbnail.duration" },
|
|
1996
2143
|
{ path: "entity.richContent.nodes.audioData.audio.duration" },
|
|
1997
2144
|
{ path: "entity.richContent.nodes.audioData.coverImage.duration" },
|
|
2145
|
+
{
|
|
2146
|
+
path: "entity.richContent.nodes.layoutData.backgroundImage.media.duration"
|
|
2147
|
+
},
|
|
2148
|
+
{
|
|
2149
|
+
path: "entity.richContent.nodes.layoutData.backdropImage.media.duration"
|
|
2150
|
+
},
|
|
1998
2151
|
{ path: "entity.labels.sortOrder" }
|
|
1999
2152
|
]
|
|
2000
2153
|
}
|
|
@@ -2005,16 +2158,28 @@ var onQuestionEntryUpdated = (0, import_sdk_types.EventDefinition)(
|
|
|
2005
2158
|
// src/faq-question-entry-v2-question-entry-question-entry.context.ts
|
|
2006
2159
|
var import_rest_modules3 = require("@wix/sdk-runtime/rest-modules");
|
|
2007
2160
|
var import_event_definition_modules = require("@wix/sdk-runtime/event-definition-modules");
|
|
2161
|
+
var import_query_method_router = require("@wix/sdk-runtime/query-method-router");
|
|
2162
|
+
function customQueryQuestionEntries(httpClient) {
|
|
2163
|
+
const router = (0, import_query_method_router.createQueryOverloadRouter)({
|
|
2164
|
+
builderQueryFunction: (options) => queryQuestionEntries3(httpClient)(options),
|
|
2165
|
+
typedQueryFunction: (query, options) => typedQueryQuestionEntries2(httpClient)(query, options),
|
|
2166
|
+
hasOptionsParameter: true
|
|
2167
|
+
});
|
|
2168
|
+
function overloadedQuery(queryOrOptions, options) {
|
|
2169
|
+
return router(...arguments);
|
|
2170
|
+
}
|
|
2171
|
+
return overloadedQuery;
|
|
2172
|
+
}
|
|
2008
2173
|
var createQuestionEntry4 = /* @__PURE__ */ (0, import_rest_modules3.createRESTModule)(createQuestionEntry3);
|
|
2009
2174
|
var getQuestionEntry4 = /* @__PURE__ */ (0, import_rest_modules3.createRESTModule)(getQuestionEntry3);
|
|
2010
2175
|
var updateQuestionEntry4 = /* @__PURE__ */ (0, import_rest_modules3.createRESTModule)(updateQuestionEntry3);
|
|
2011
2176
|
var deleteQuestionEntry4 = /* @__PURE__ */ (0, import_rest_modules3.createRESTModule)(deleteQuestionEntry3);
|
|
2012
2177
|
var listQuestionEntries4 = /* @__PURE__ */ (0, import_rest_modules3.createRESTModule)(listQuestionEntries3);
|
|
2013
|
-
var queryQuestionEntries4 = /* @__PURE__ */ (0, import_rest_modules3.createRESTModule)(queryQuestionEntries3);
|
|
2014
2178
|
var bulkDeleteQuestionEntries4 = /* @__PURE__ */ (0, import_rest_modules3.createRESTModule)(bulkDeleteQuestionEntries3);
|
|
2015
2179
|
var updateExtendedFields4 = /* @__PURE__ */ (0, import_rest_modules3.createRESTModule)(updateExtendedFields3);
|
|
2016
2180
|
var setQuestionEntryLabels4 = /* @__PURE__ */ (0, import_rest_modules3.createRESTModule)(setQuestionEntryLabels3);
|
|
2017
2181
|
var bulkUpdateQuestionEntry4 = /* @__PURE__ */ (0, import_rest_modules3.createRESTModule)(bulkUpdateQuestionEntry3);
|
|
2182
|
+
var queryQuestionEntries4 = /* @__PURE__ */ (0, import_rest_modules3.createRESTModule)(customQueryQuestionEntries);
|
|
2018
2183
|
var onQuestionEntryCreated2 = (0, import_event_definition_modules.createEventModule)(
|
|
2019
2184
|
onQuestionEntryCreated
|
|
2020
2185
|
);
|
|
@@ -2039,6 +2204,7 @@ var onQuestionEntryUpdated2 = (0, import_event_definition_modules.createEventMod
|
|
|
2039
2204
|
FieldSet,
|
|
2040
2205
|
FontType,
|
|
2041
2206
|
GIFType,
|
|
2207
|
+
ImagePosition,
|
|
2042
2208
|
InitialExpandedItems,
|
|
2043
2209
|
Layout,
|
|
2044
2210
|
LayoutType,
|
|
@@ -2056,6 +2222,8 @@ var onQuestionEntryUpdated2 = (0, import_event_definition_modules.createEventMod
|
|
|
2056
2222
|
QueryQuestionEntriesRequestFieldSet,
|
|
2057
2223
|
QuestionStatus,
|
|
2058
2224
|
Resizing,
|
|
2225
|
+
ResponsivenessBehaviour,
|
|
2226
|
+
Scaling,
|
|
2059
2227
|
SortOrder,
|
|
2060
2228
|
Source,
|
|
2061
2229
|
StylesPosition,
|
|
@@ -2064,6 +2232,7 @@ var onQuestionEntryUpdated2 = (0, import_event_definition_modules.createEventMod
|
|
|
2064
2232
|
ThumbnailsAlignment,
|
|
2065
2233
|
Type,
|
|
2066
2234
|
VerticalAlignment,
|
|
2235
|
+
VerticalAlignmentAlignment,
|
|
2067
2236
|
ViewMode,
|
|
2068
2237
|
ViewRole,
|
|
2069
2238
|
VoteRole,
|