@wix/auto_sdk_faq_question-entry 1.0.37 → 1.0.38

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.
Files changed (37) hide show
  1. package/build/cjs/index.d.ts +1 -1
  2. package/build/cjs/index.js +41 -0
  3. package/build/cjs/index.js.map +1 -1
  4. package/build/cjs/index.typings.d.ts +29 -3
  5. package/build/cjs/index.typings.js +38 -0
  6. package/build/cjs/index.typings.js.map +1 -1
  7. package/build/cjs/meta.d.ts +25 -3
  8. package/build/cjs/meta.js +30 -0
  9. package/build/cjs/meta.js.map +1 -1
  10. package/build/es/index.d.mts +1 -1
  11. package/build/es/index.mjs +38 -0
  12. package/build/es/index.mjs.map +1 -1
  13. package/build/es/index.typings.d.mts +29 -3
  14. package/build/es/index.typings.mjs +35 -0
  15. package/build/es/index.typings.mjs.map +1 -1
  16. package/build/es/meta.d.mts +25 -3
  17. package/build/es/meta.mjs +30 -0
  18. package/build/es/meta.mjs.map +1 -1
  19. package/build/internal/cjs/index.d.ts +1 -1
  20. package/build/internal/cjs/index.js +41 -0
  21. package/build/internal/cjs/index.js.map +1 -1
  22. package/build/internal/cjs/index.typings.d.ts +29 -3
  23. package/build/internal/cjs/index.typings.js +38 -0
  24. package/build/internal/cjs/index.typings.js.map +1 -1
  25. package/build/internal/cjs/meta.d.ts +25 -3
  26. package/build/internal/cjs/meta.js +30 -0
  27. package/build/internal/cjs/meta.js.map +1 -1
  28. package/build/internal/es/index.d.mts +1 -1
  29. package/build/internal/es/index.mjs +38 -0
  30. package/build/internal/es/index.mjs.map +1 -1
  31. package/build/internal/es/index.typings.d.mts +29 -3
  32. package/build/internal/es/index.typings.mjs +35 -0
  33. package/build/internal/es/index.typings.mjs.map +1 -1
  34. package/build/internal/es/meta.d.mts +25 -3
  35. package/build/internal/es/meta.mjs +30 -0
  36. package/build/internal/es/meta.mjs.map +1 -1
  37. package/package.json +4 -4
@@ -1,6 +1,6 @@
1
1
  import { HttpClient, NonNullablePaths, EventDefinition, MaybeContext, BuildRESTFunction, BuildEventDefinition } from '@wix/sdk-types';
2
2
  import { QuestionEntry, UpdateQuestionEntry, ListQuestionEntriesOptions, ListQuestionEntriesResponse, BulkDeleteQuestionEntriesResponse, UpdateExtendedFieldsOptions, UpdateExtendedFieldsResponse, SetQuestionEntryLabelsOptions, SetQuestionEntryLabelsResponse, BulkUpdateQuestionEntryOptions, BulkUpdateQuestionEntryResponse, QuestionEntryCreatedEnvelope, QuestionEntryDeletedEnvelope, QuestionEntryUpdatedEnvelope, QuestionEntryQuery, QueryQuestionEntriesOptions, typedQueryQuestionEntries, QuestionEntriesQueryBuilder } from './index.typings.js';
3
- export { AccountInfo, AccountInfoMetadata, ActionEvent, Alignment, AlignmentWithLiterals, AnchorData, AppEmbedData, AppEmbedDataAppDataOneOf, AppType, AppTypeWithLiterals, ApplicationError, AspectRatio, AspectRatioWithLiterals, AudioData, Background, BackgroundBackgroundOneOf, BackgroundImage, BackgroundType, BackgroundTypeWithLiterals, BaseEventMetadata, BlockquoteData, BookingData, Border, BorderColors, BorderWidths, BulkActionMetadata, BulkDeleteQuestionEntriesRequest, BulkUpdateQuestionEntryRequest, BulkUpdateQuestionEntryResult, BulletedListData, ButtonData, ButtonDataType, ButtonDataTypeWithLiterals, ButtonStyles, CaptionData, CardStyles, CellStyle, CodeBlockData, CollapsibleListData, ColorData, Colors, CommonQueryWithEntityContext, ContentFormat, ContentFormatWithLiterals, CreateQuestionEntryRequest, CreateQuestionEntryResponse, Crop, CropWithLiterals, CursorPaging, CursorPagingMetadata, CursorQuery, CursorQueryPagingMethodOneOf, Cursors, Decoration, DecorationDataOneOf, DecorationType, DecorationTypeWithLiterals, DeleteQuestionEntryRequest, DeleteQuestionEntryResponse, Design, DesignTarget, DesignTargetWithLiterals, Dimensions, Direction, DirectionWithLiterals, DividerData, DividerDataAlignment, DividerDataAlignmentWithLiterals, DocumentStyle, DomainEvent, DomainEventBodyOneOf, EmbedData, Empty, EntityCreatedEvent, EntityDeletedEvent, EntityUpdatedEvent, EventData, EventMetadata, ExtendedFields, FieldSet, FieldSetWithLiterals, FileData, FileSource, FileSourceDataOneOf, FontFamilyData, 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, QuestionEntryQuerySpec, 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';
3
+ export { AccountInfo, AccountInfoMetadata, ActionEvent, Alignment, AlignmentWithLiterals, AnchorData, AppEmbedData, AppEmbedDataAppDataOneOf, AppType, AppTypeWithLiterals, ApplicationError, AspectRatio, AspectRatioWithLiterals, AudioData, Background, BackgroundBackgroundOneOf, BackgroundImage, BackgroundType, BackgroundTypeWithLiterals, BaseEventMetadata, BlockquoteData, BookingData, Border, BorderColors, BorderWidths, BulkActionMetadata, BulkDeleteQuestionEntriesRequest, BulkUpdateQuestionEntryRequest, BulkUpdateQuestionEntryResult, BulletedListData, ButtonData, ButtonDataType, ButtonDataTypeWithLiterals, ButtonStyles, CaptionData, CardStyles, CellStyle, CodeBlockData, CollapsibleListData, ColorData, Colors, CommonQueryWithEntityContext, ContentFormat, ContentFormatWithLiterals, CreateQuestionEntryRequest, CreateQuestionEntryResponse, Crop, CropWithLiterals, CursorPaging, CursorPagingMetadata, CursorQuery, CursorQueryPagingMethodOneOf, Cursors, Decoration, DecorationDataOneOf, DecorationType, DecorationTypeWithLiterals, DeleteQuestionEntryRequest, DeleteQuestionEntryResponse, Design, DesignTarget, DesignTargetWithLiterals, Dimensions, Direction, DirectionWithLiterals, DividerData, DividerDataAlignment, DividerDataAlignmentWithLiterals, DocumentStyle, DomainEvent, DomainEventBodyOneOf, EmbedData, Empty, EntityCreatedEvent, EntityDeletedEvent, EntityUpdatedEvent, EventData, EventMetadata, ExtendedFields, FieldSet, FieldSetWithLiterals, FileData, FileSource, FileSourceDataOneOf, Filter, FontFamilyData, 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, QueryBuilder, QueryQuestionEntriesRequest, QueryQuestionEntriesRequestContentFormat, QueryQuestionEntriesRequestContentFormatWithLiterals, QueryQuestionEntriesRequestFieldSet, QueryQuestionEntriesRequestFieldSetWithLiterals, QueryQuestionEntriesResponse, QuestionEntriesQueryResult, QuestionEntryAnswerOneOf, QuestionEntryQuerySpec, QuestionStatus, QuestionStatusWithLiterals, Rel, Resizing, ResizingWithLiterals, ResponsivenessBehaviour, ResponsivenessBehaviourWithLiterals, RestoreInfo, RibbonStyles, RichContent, Scaling, ScalingWithLiterals, SetQuestionEntryLabelsRequest, Settings, ShapeData, ShapeDataStyles, Sort, 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 {
@@ -32,6 +32,7 @@ __export(index_exports, {
32
32
  Direction: () => Direction,
33
33
  DividerDataAlignment: () => DividerDataAlignment,
34
34
  FieldSet: () => FieldSet,
35
+ Filter: () => Filter,
35
36
  FontType: () => FontType,
36
37
  GIFType: () => GIFType,
37
38
  ImagePosition: () => ImagePosition,
@@ -48,12 +49,14 @@ __export(index_exports, {
48
49
  PollLayoutDirection: () => PollLayoutDirection,
49
50
  PollLayoutType: () => PollLayoutType,
50
51
  Position: () => Position,
52
+ QueryBuilder: () => QueryBuilder,
51
53
  QueryQuestionEntriesRequestContentFormat: () => QueryQuestionEntriesRequestContentFormat,
52
54
  QueryQuestionEntriesRequestFieldSet: () => QueryQuestionEntriesRequestFieldSet,
53
55
  QuestionStatus: () => QuestionStatus,
54
56
  Resizing: () => Resizing,
55
57
  ResponsivenessBehaviour: () => ResponsivenessBehaviour,
56
58
  Scaling: () => Scaling,
59
+ Sort: () => Sort,
57
60
  SortOrder: () => SortOrder,
58
61
  Source: () => Source,
59
62
  StylesPosition: () => StylesPosition,
@@ -301,6 +304,7 @@ function createQuestionEntry(payload) {
301
304
  {
302
305
  path: "questionEntry.richContent.nodes.layoutData.backdropImage.media.duration"
303
306
  },
307
+ { path: "questionEntry.richContent.nodes.shapeData.shape.duration" },
304
308
  { path: "questionEntry.labels.sortOrder" }
305
309
  ]
306
310
  }
@@ -384,6 +388,9 @@ function createQuestionEntry(payload) {
384
388
  {
385
389
  path: "questionEntry.richContent.nodes.layoutData.backdropImage.media.duration"
386
390
  },
391
+ {
392
+ path: "questionEntry.richContent.nodes.shapeData.shape.duration"
393
+ },
387
394
  { path: "questionEntry.labels.sortOrder" }
388
395
  ]
389
396
  }
@@ -474,6 +481,9 @@ function getQuestionEntry(payload) {
474
481
  {
475
482
  path: "questionEntry.richContent.nodes.layoutData.backdropImage.media.duration"
476
483
  },
484
+ {
485
+ path: "questionEntry.richContent.nodes.shapeData.shape.duration"
486
+ },
477
487
  { path: "questionEntry.labels.sortOrder" }
478
488
  ]
479
489
  }
@@ -544,6 +554,7 @@ function updateQuestionEntry(payload) {
544
554
  {
545
555
  path: "questionEntry.richContent.nodes.layoutData.backdropImage.media.duration"
546
556
  },
557
+ { path: "questionEntry.richContent.nodes.shapeData.shape.duration" },
547
558
  { path: "questionEntry.labels.sortOrder" }
548
559
  ]
549
560
  }
@@ -627,6 +638,9 @@ function updateQuestionEntry(payload) {
627
638
  {
628
639
  path: "questionEntry.richContent.nodes.layoutData.backdropImage.media.duration"
629
640
  },
641
+ {
642
+ path: "questionEntry.richContent.nodes.shapeData.shape.duration"
643
+ },
630
644
  { path: "questionEntry.labels.sortOrder" }
631
645
  ]
632
646
  }
@@ -738,6 +752,9 @@ function listQuestionEntries(payload) {
738
752
  {
739
753
  path: "questionEntries.richContent.nodes.layoutData.backdropImage.media.duration"
740
754
  },
755
+ {
756
+ path: "questionEntries.richContent.nodes.shapeData.shape.duration"
757
+ },
741
758
  { path: "questionEntries.labels.sortOrder" }
742
759
  ]
743
760
  }
@@ -828,6 +845,9 @@ function queryQuestionEntries(payload) {
828
845
  {
829
846
  path: "questionEntries.richContent.nodes.layoutData.backdropImage.media.duration"
830
847
  },
848
+ {
849
+ path: "questionEntries.richContent.nodes.shapeData.shape.duration"
850
+ },
831
851
  { path: "questionEntries.labels.sortOrder" }
832
852
  ]
833
853
  }
@@ -939,6 +959,9 @@ function updateExtendedFields(payload) {
939
959
  {
940
960
  path: "questionEntry.richContent.nodes.layoutData.backdropImage.media.duration"
941
961
  },
962
+ {
963
+ path: "questionEntry.richContent.nodes.shapeData.shape.duration"
964
+ },
942
965
  { path: "questionEntry.labels.sortOrder" }
943
966
  ]
944
967
  }
@@ -1035,6 +1058,9 @@ function setQuestionEntryLabels(payload) {
1035
1058
  {
1036
1059
  path: "questionEntry.richContent.nodes.layoutData.backdropImage.media.duration"
1037
1060
  },
1061
+ {
1062
+ path: "questionEntry.richContent.nodes.shapeData.shape.duration"
1063
+ },
1038
1064
  { path: "questionEntry.labels.sortOrder" }
1039
1065
  ]
1040
1066
  }
@@ -1119,6 +1145,9 @@ function bulkUpdateQuestionEntry(payload) {
1119
1145
  {
1120
1146
  path: "questionEntries.questionEntry.richContent.nodes.layoutData.backdropImage.media.duration"
1121
1147
  },
1148
+ {
1149
+ path: "questionEntries.questionEntry.richContent.nodes.shapeData.shape.duration"
1150
+ },
1122
1151
  { path: "questionEntries.questionEntry.labels.sortOrder" }
1123
1152
  ]
1124
1153
  }
@@ -1206,6 +1235,9 @@ function bulkUpdateQuestionEntry(payload) {
1206
1235
  {
1207
1236
  path: "results.questionEntry.richContent.nodes.layoutData.backdropImage.media.duration"
1208
1237
  },
1238
+ {
1239
+ path: "results.questionEntry.richContent.nodes.shapeData.shape.duration"
1240
+ },
1209
1241
  { path: "results.questionEntry.labels.sortOrder" }
1210
1242
  ]
1211
1243
  }
@@ -1218,6 +1250,7 @@ function bulkUpdateQuestionEntry(payload) {
1218
1250
 
1219
1251
  // src/faq-question-entry-v2-question-entry-question-entry.universal.ts
1220
1252
  var import_transform_paths2 = require("@wix/sdk-runtime/transformations/transform-paths");
1253
+ var import_query_builder_utils = require("@wix/sdk-runtime/query-builder-utils");
1221
1254
  var NodeType = /* @__PURE__ */ ((NodeType2) => {
1222
1255
  NodeType2["PARAGRAPH"] = "PARAGRAPH";
1223
1256
  NodeType2["TEXT"] = "TEXT";
@@ -1252,6 +1285,7 @@ var NodeType = /* @__PURE__ */ ((NodeType2) => {
1252
1285
  NodeType2["CAPTION"] = "CAPTION";
1253
1286
  NodeType2["LAYOUT"] = "LAYOUT";
1254
1287
  NodeType2["LAYOUT_CELL"] = "LAYOUT_CELL";
1288
+ NodeType2["SHAPE"] = "SHAPE";
1255
1289
  return NodeType2;
1256
1290
  })(NodeType || {});
1257
1291
  var WidthType = /* @__PURE__ */ ((WidthType2) => {
@@ -1784,6 +1818,7 @@ async function typedQueryQuestionEntries(query, options) {
1784
1818
  throw transformedError;
1785
1819
  }
1786
1820
  }
1821
+ var { QueryBuilder, Filter, Sort } = (0, import_query_builder_utils.createQueryUtils)();
1787
1822
  async function bulkDeleteQuestionEntries2(questionEntryIds) {
1788
1823
  const { httpClient, sideEffects } = arguments[1];
1789
1824
  const payload = (0, import_rename_all_nested_keys.renameKeysFromSDKRequestToRESTRequest)(
@@ -2047,6 +2082,7 @@ var onQuestionEntryCreated = (0, import_sdk_types.EventDefinition)(
2047
2082
  {
2048
2083
  path: "entity.richContent.nodes.layoutData.backdropImage.media.duration"
2049
2084
  },
2085
+ { path: "entity.richContent.nodes.shapeData.shape.duration" },
2050
2086
  { path: "entity.labels.sortOrder" }
2051
2087
  ]
2052
2088
  }
@@ -2111,6 +2147,7 @@ var onQuestionEntryDeleted = (0, import_sdk_types.EventDefinition)(
2111
2147
  {
2112
2148
  path: "undefined.richContent.nodes.layoutData.backdropImage.media.duration"
2113
2149
  },
2150
+ { path: "undefined.richContent.nodes.shapeData.shape.duration" },
2114
2151
  { path: "undefined.labels.sortOrder" }
2115
2152
  ]
2116
2153
  }
@@ -2167,6 +2204,7 @@ var onQuestionEntryUpdated = (0, import_sdk_types.EventDefinition)(
2167
2204
  {
2168
2205
  path: "entity.richContent.nodes.layoutData.backdropImage.media.duration"
2169
2206
  },
2207
+ { path: "entity.richContent.nodes.shapeData.shape.duration" },
2170
2208
  { path: "entity.labels.sortOrder" }
2171
2209
  ]
2172
2210
  }
@@ -2222,6 +2260,7 @@ var onQuestionEntryUpdated2 = (0, import_event_definition_modules.createEventMod
2222
2260
  Direction,
2223
2261
  DividerDataAlignment,
2224
2262
  FieldSet,
2263
+ Filter,
2225
2264
  FontType,
2226
2265
  GIFType,
2227
2266
  ImagePosition,
@@ -2238,12 +2277,14 @@ var onQuestionEntryUpdated2 = (0, import_event_definition_modules.createEventMod
2238
2277
  PollLayoutDirection,
2239
2278
  PollLayoutType,
2240
2279
  Position,
2280
+ QueryBuilder,
2241
2281
  QueryQuestionEntriesRequestContentFormat,
2242
2282
  QueryQuestionEntriesRequestFieldSet,
2243
2283
  QuestionStatus,
2244
2284
  Resizing,
2245
2285
  ResponsivenessBehaviour,
2246
2286
  Scaling,
2287
+ Sort,
2247
2288
  SortOrder,
2248
2289
  Source,
2249
2290
  StylesPosition,