@wix/auto_sdk_faq_question-entry 1.0.12 → 1.0.14

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 +25 -16
  2. package/build/cjs/index.js +80 -29
  3. package/build/cjs/index.js.map +1 -1
  4. package/build/cjs/{faq-question-entry-v2-question-entry-question-entry.universal-H7icQXKK.d.ts → index.typings.d.ts} +382 -14
  5. package/build/cjs/index.typings.js +1786 -0
  6. package/build/cjs/index.typings.js.map +1 -0
  7. package/build/cjs/meta.d.ts +219 -16
  8. package/build/cjs/meta.js +8 -8
  9. package/build/cjs/meta.js.map +1 -1
  10. package/build/es/index.d.mts +25 -16
  11. package/build/es/index.mjs +72 -28
  12. package/build/es/index.mjs.map +1 -1
  13. package/build/es/{faq-question-entry-v2-question-entry-question-entry.universal-H7icQXKK.d.mts → index.typings.d.mts} +382 -14
  14. package/build/es/index.typings.mjs +1709 -0
  15. package/build/es/index.typings.mjs.map +1 -0
  16. package/build/es/meta.d.mts +219 -16
  17. package/build/es/meta.mjs +7 -7
  18. package/build/es/meta.mjs.map +1 -1
  19. package/build/internal/cjs/index.d.ts +25 -16
  20. package/build/internal/cjs/index.js +80 -29
  21. package/build/internal/cjs/index.js.map +1 -1
  22. package/build/internal/cjs/{faq-question-entry-v2-question-entry-question-entry.universal-H7icQXKK.d.ts → index.typings.d.ts} +382 -14
  23. package/build/internal/cjs/index.typings.js +1786 -0
  24. package/build/internal/cjs/index.typings.js.map +1 -0
  25. package/build/internal/cjs/meta.d.ts +219 -16
  26. package/build/internal/cjs/meta.js +8 -8
  27. package/build/internal/cjs/meta.js.map +1 -1
  28. package/build/internal/es/index.d.mts +25 -16
  29. package/build/internal/es/index.mjs +72 -28
  30. package/build/internal/es/index.mjs.map +1 -1
  31. package/build/internal/es/{faq-question-entry-v2-question-entry-question-entry.universal-H7icQXKK.d.mts → index.typings.d.mts} +382 -14
  32. package/build/internal/es/index.typings.mjs +1709 -0
  33. package/build/internal/es/index.typings.mjs.map +1 -0
  34. package/build/internal/es/meta.d.mts +219 -16
  35. package/build/internal/es/meta.mjs +7 -7
  36. package/build/internal/es/meta.mjs.map +1 -1
  37. package/package.json +3 -3
@@ -1,7 +1,8 @@
1
- import { HttpClient, EventDefinition, MaybeContext, BuildRESTFunction, BuildEventDefinition } from '@wix/sdk-types';
2
- import { Q as QuestionEntry, U as UpdateQuestionEntry, L as ListQuestionEntriesOptions, a as ListQuestionEntriesResponse, b as QueryQuestionEntriesOptions, c as QuestionEntriesQueryBuilder, B as BulkDeleteQuestionEntryResponse, d as UpdateExtendedFieldsOptions, e as UpdateExtendedFieldsResponse, S as SetQuestionEntryLabelsOptions, f as SetQuestionEntryLabelsResponse, g as BulkUpdateQuestionEntryOptions, h as BulkUpdateQuestionEntryResponse, i as QuestionEntryCreatedEnvelope, j as QuestionEntryDeletedEnvelope, k as QuestionEntryUpdatedEnvelope } from './faq-question-entry-v2-question-entry-question-entry.universal-H7icQXKK.js';
3
- export { c0 as ActionEvent, A as Alignment, a$ as AnchorData, b5 as AppEmbedData, b6 as AppEmbedDataAppDataOneOf, y as AppType, bP as ApplicationError, bk as AudioData, aR as Background, aS as BackgroundBackgroundOneOf, x as BackgroundType, c5 as BaseEventMetadata, bn as BlockquoteData, b7 as BookingData, a5 as Border, bi as BorderColors, bQ as BulkActionMetadata, bN as BulkDeleteQuestionEntryRequest, bT as BulkUpdateQuestionEntryRequest, bV as BulkUpdateQuestionEntryResult, bm as BulletedListData, a4 as ButtonData, bo as CaptionData, bh as CellStyle, ag as CodeBlockData, bd as CollapsibleListData, b0 as ColorData, a6 as Colors, K as ContentFormat, bv as CreateQuestionEntryRequest, bw as CreateQuestionEntryResponse, C as Crop, bE as CursorPaging, bM as CursorPagingMetadata, bI as CursorQuery, bJ as CursorQueryPagingMethodOneOf, bG as Cursors, aZ as Decoration, a_ as DecorationDataOneOf, D as DecorationType, bB as DeleteQuestionEntryRequest, bC as DeleteQuestionEntryResponse, aX as Design, bf as Dimensions, z as Direction, ai as DividerData, br as DocumentStyle, bW as DomainEvent, bX as DomainEventBodyOneOf, bb as EmbedData, c1 as Empty, bY as EntityCreatedEvent, b$ as EntityDeletedEvent, b_ as EntityUpdatedEvent, b8 as EventData, c6 as EventMetadata, bu as ExtendedFields, R as FieldSet, aj as FileData, ak as FileSource, al as FileSourceDataOneOf, b3 as FontSizeData, F as FontType, ay as GIF, ax as GIFData, G as GIFType, an as GalleryData, at as GalleryOptions, bx as GetQuestionEntryRequest, by as GetQuestionEntryResponse, aQ as Gradient, aA as HTMLData, aB as HTMLDataDataOneOf, az as HeadingData, ab as Height, c3 as IdentificationData, c4 as IdentificationDataIdOneOf, ap as Image, aC as ImageData, aE as ImageDataStyles, I as InitialExpandedItems, ar as Item, as as ItemDataOneOf, bO as ItemMetadata, av as ItemStyle, bt as Label, au as Layout, bp as LayoutCellData, p as LayoutType, n as LineStyle, ad as Link, b1 as LinkData, ae as LinkDataOneOf, aF as LinkPreviewData, aG as LinkPreviewDataStyles, bD as ListQuestionEntriesRequest, bj as ListValue, aH as MapData, aI as MapSettings, M as MapType, bU as MaskedQuestionEntry, ao as Media, b2 as MentionData, c2 as MessageEnvelope, bq as Metadata, a1 as Node, a2 as NodeDataOneOf, a3 as NodeStyle, N as NodeType, H as NullValue, bc as Oembed, aM as Option, aU as OptionDesign, aP as OptionLayout, bl as OrderedListData, O as Orientation, am as PDFSettings, bF as PagingMetadataV2, aJ as ParagraphData, aL as Permissions, ba as PlaybackOptions, a7 as PluginContainerData, P as PluginContainerDataAlignment, a8 as PluginContainerDataWidth, a9 as PluginContainerDataWidthDataOneOf, aV as Poll, aK as PollData, aW as PollDataLayout, aT as PollDesign, aO as PollLayout, w as PollLayoutDirection, v as PollLayoutType, s as Position, bH as QueryQuestionEntriesRequest, Y as QueryQuestionEntriesRequestContentFormat, Z as QueryQuestionEntriesRequestFieldSet, bL as QueryQuestionEntriesResponse, c7 as QuestionEntriesQueryResult, $ as QuestionEntryAnswerOneOf, J as QuestionStatus, af as Rel, bZ as RestoreInfo, a0 as RichContent, bS as SetQuestionEntryLabelsRequest, aN as Settings, X as SortOrder, bK as Sorting, r as Source, aa as Spoiler, b4 as SpoilerData, ac as Styles, aD as StylesBorder, bg as TableCellData, be as TableData, l as Target, m as TextAlignment, aY as TextData, bs as TextNodeStyle, ah as TextStyle, aw as Thumbnails, q as ThumbnailsAlignment, T as Type, bR as UpdateExtendedFieldsRequest, bz as UpdateQuestionEntryRequest, bA as UpdateQuestionEntryResponse, E as VerticalAlignment, aq as Video, b9 as VideoData, V as ViewMode, t as ViewRole, u as VoteRole, _ as WebhookIdentityType, o as Width, W as WidthType } from './faq-question-entry-v2-question-entry-question-entry.universal-H7icQXKK.js';
1
+ import { HttpClient, NonNullablePaths, EventDefinition, MaybeContext, BuildRESTFunction, BuildEventDefinition } from '@wix/sdk-types';
2
+ import { QuestionEntry, UpdateQuestionEntry, ListQuestionEntriesOptions, ListQuestionEntriesResponse, QueryQuestionEntriesOptions, QuestionEntriesQueryBuilder, BulkDeleteQuestionEntriesResponse, UpdateExtendedFieldsOptions, UpdateExtendedFieldsResponse, SetQuestionEntryLabelsOptions, SetQuestionEntryLabelsResponse, BulkUpdateQuestionEntryOptions, BulkUpdateQuestionEntryResponse, QuestionEntryCreatedEnvelope, QuestionEntryDeletedEnvelope, QuestionEntryUpdatedEnvelope } from './index.typings.js';
3
+ export { ActionEvent, Alignment, AnchorData, AppEmbedData, AppEmbedDataAppDataOneOf, AppType, ApplicationError, AspectRatio, AudioData, Background, BackgroundBackgroundOneOf, BackgroundType, BaseEventMetadata, BlockquoteData, BookingData, Border, BorderColors, BulkActionMetadata, BulkDeleteQuestionEntriesRequest, BulkUpdateQuestionEntryRequest, BulkUpdateQuestionEntryResult, BulletedListData, ButtonData, ButtonDataType, ButtonStyles, CaptionData, CardStyles, CellStyle, CodeBlockData, CollapsibleListData, ColorData, Colors, ContentFormat, CreateQuestionEntryRequest, CreateQuestionEntryResponse, Crop, CursorPaging, CursorPagingMetadata, CursorQuery, CursorQueryPagingMethodOneOf, Cursors, Decoration, DecorationDataOneOf, DecorationType, DeleteQuestionEntryRequest, DeleteQuestionEntryResponse, Design, Dimensions, Direction, DividerData, DividerDataAlignment, DocumentStyle, DomainEvent, DomainEventBodyOneOf, EmbedData, Empty, EntityCreatedEvent, EntityDeletedEvent, EntityUpdatedEvent, EventData, EventMetadata, ExtendedFields, FieldSet, FileData, FileSource, FileSourceDataOneOf, FontSizeData, FontType, GIF, GIFData, GIFType, GalleryData, GalleryOptions, GalleryOptionsLayout, GetQuestionEntryRequest, GetQuestionEntryResponse, Gradient, HTMLData, HTMLDataDataOneOf, HeadingData, Height, IdentificationData, IdentificationDataIdOneOf, Image, ImageData, ImageDataStyles, ImageStyles, InitialExpandedItems, Item, ItemDataOneOf, ItemMetadata, ItemStyle, Label, Layout, LayoutCellData, LayoutType, LineStyle, Link, LinkData, LinkDataOneOf, LinkPreviewData, LinkPreviewDataStyles, ListQuestionEntriesRequest, ListValue, MapData, MapSettings, MapType, MaskedQuestionEntry, Media, MentionData, MessageEnvelope, Metadata, Node, NodeDataOneOf, NodeStyle, NodeType, NullValue, Oembed, Option, OptionDesign, OptionLayout, OrderedListData, Orientation, PDFSettings, PagingMetadataV2, ParagraphData, Permissions, Placement, PlaybackOptions, PluginContainerData, PluginContainerDataAlignment, PluginContainerDataWidth, PluginContainerDataWidthDataOneOf, Poll, PollData, PollDataLayout, PollDesign, PollLayout, PollLayoutDirection, PollLayoutType, Position, QueryQuestionEntriesRequest, QueryQuestionEntriesRequestContentFormat, QueryQuestionEntriesRequestFieldSet, QueryQuestionEntriesResponse, QuestionEntriesQueryResult, QuestionEntryAnswerOneOf, QuestionStatus, Rel, Resizing, RestoreInfo, RibbonStyles, RichContent, SetQuestionEntryLabelsRequest, Settings, SortOrder, Sorting, Source, Spoiler, SpoilerData, Styles, StylesBorder, StylesPosition, TableCellData, TableData, Target, TextAlignment, TextData, TextNodeStyle, TextStyle, Thumbnails, ThumbnailsAlignment, Type, UpdateExtendedFieldsRequest, UpdateQuestionEntryRequest, UpdateQuestionEntryResponse, VerticalAlignment, Video, VideoData, ViewMode, ViewRole, VoteRole, WebhookIdentityType, Width, WidthType } from './index.typings.js';
4
4
 
5
+ type QuestionEntryNonNullablePaths = `draftjs` | `plainText` | `labels` | `labels.${number}.title` | `status`;
5
6
  declare function createQuestionEntry$1(httpClient: HttpClient): CreateQuestionEntrySignature;
6
7
  interface CreateQuestionEntrySignature {
7
8
  /**
@@ -9,7 +10,7 @@ interface CreateQuestionEntrySignature {
9
10
  * @param - QuestionEntry to be created.
10
11
  * @returns The created QuestionEntry.
11
12
  */
12
- (questionEntry: QuestionEntry): Promise<QuestionEntry>;
13
+ (questionEntry: NonNullablePaths<QuestionEntry, `question`>): Promise<NonNullablePaths<QuestionEntry, QuestionEntryNonNullablePaths>>;
13
14
  }
14
15
  declare function getQuestionEntry$1(httpClient: HttpClient): GetQuestionEntrySignature;
15
16
  interface GetQuestionEntrySignature {
@@ -18,7 +19,7 @@ interface GetQuestionEntrySignature {
18
19
  * @param - ID of the QuestionEntry to retrieve.
19
20
  * @returns The requested QuestionEntry.
20
21
  */
21
- (questionEntryId: string): Promise<QuestionEntry>;
22
+ (questionEntryId: string): Promise<NonNullablePaths<QuestionEntry, QuestionEntryNonNullablePaths>>;
22
23
  }
23
24
  declare function updateQuestionEntry$1(httpClient: HttpClient): UpdateQuestionEntrySignature;
24
25
  interface UpdateQuestionEntrySignature {
@@ -31,7 +32,7 @@ interface UpdateQuestionEntrySignature {
31
32
  * @param - QuestionEntry ID.
32
33
  * @returns Updated QuestionEntry.
33
34
  */
34
- (_id: string, questionEntry: UpdateQuestionEntry): Promise<QuestionEntry>;
35
+ (_id: string, questionEntry: NonNullablePaths<UpdateQuestionEntry, `revision`>): Promise<NonNullablePaths<QuestionEntry, QuestionEntryNonNullablePaths>>;
35
36
  }
36
37
  declare function deleteQuestionEntry$1(httpClient: HttpClient): DeleteQuestionEntrySignature;
37
38
  interface DeleteQuestionEntrySignature {
@@ -48,22 +49,24 @@ interface ListQuestionEntriesSignature {
48
49
  * Retrieves up to 100 question entries, given the provided filtering, paging, and sorting.
49
50
  * Use the `fieldSet` parameter to set whether sharing links are included in the response.
50
51
  */
51
- (options?: ListQuestionEntriesOptions | undefined): Promise<ListQuestionEntriesResponse>;
52
+ (options?: ListQuestionEntriesOptions): Promise<NonNullablePaths<ListQuestionEntriesResponse, {
53
+ [P in QuestionEntryNonNullablePaths]: `questionEntries.${number}.${P}`;
54
+ }[QuestionEntryNonNullablePaths]>>;
52
55
  }
53
56
  declare function queryQuestionEntries$1(httpClient: HttpClient): QueryQuestionEntriesSignature;
54
57
  interface QueryQuestionEntriesSignature {
55
58
  /**
56
59
  * Retrieves a list of QuestionEntries, given the provided [paging, filtering, and sorting].
57
60
  */
58
- (options?: QueryQuestionEntriesOptions | undefined): QuestionEntriesQueryBuilder;
61
+ (options?: QueryQuestionEntriesOptions): QuestionEntriesQueryBuilder;
59
62
  }
60
- declare function bulkDeleteQuestionEntry$1(httpClient: HttpClient): BulkDeleteQuestionEntrySignature;
61
- interface BulkDeleteQuestionEntrySignature {
63
+ declare function bulkDeleteQuestionEntries$1(httpClient: HttpClient): BulkDeleteQuestionEntriesSignature;
64
+ interface BulkDeleteQuestionEntriesSignature {
62
65
  /**
63
66
  * Deletes multiple QuestionEntries in a single request. Works synchronously.
64
67
  * @param - QuestionEntry ids to be deleted.
65
68
  */
66
- (questionEntryIds: string[]): Promise<BulkDeleteQuestionEntryResponse>;
69
+ (questionEntryIds: string[]): Promise<NonNullablePaths<BulkDeleteQuestionEntriesResponse, `itemMetadata` | `itemMetadata.${number}.originalIndex` | `itemMetadata.${number}.success` | `itemMetadata.${number}.error.code` | `itemMetadata.${number}.error.description` | `bulkActionMetadata.totalSuccesses` | `bulkActionMetadata.totalFailures` | `bulkActionMetadata.undetailedFailures`>>;
67
70
  }
68
71
  declare function updateExtendedFields$1(httpClient: HttpClient): UpdateExtendedFieldsSignature;
69
72
  interface UpdateExtendedFieldsSignature {
@@ -72,7 +75,9 @@ interface UpdateExtendedFieldsSignature {
72
75
  * @param - ID of the entity to update.
73
76
  * @param - Identifier for the app whose extended fields are being updated.
74
77
  */
75
- (_id: string, namespace: string, options: UpdateExtendedFieldsOptions): Promise<UpdateExtendedFieldsResponse>;
78
+ (_id: string, namespace: string, options: NonNullablePaths<UpdateExtendedFieldsOptions, `namespaceData`>): Promise<NonNullablePaths<UpdateExtendedFieldsResponse, {
79
+ [P in QuestionEntryNonNullablePaths]: `questionEntry.${P}`;
80
+ }[QuestionEntryNonNullablePaths]>>;
76
81
  }
77
82
  declare function setQuestionEntryLabels$1(httpClient: HttpClient): SetQuestionEntryLabelsSignature;
78
83
  interface SetQuestionEntryLabelsSignature {
@@ -81,7 +86,9 @@ interface SetQuestionEntryLabelsSignature {
81
86
  * Note: If 'labels' field is empty in the request, it will clear all existing labels for the question entry.
82
87
  * @param - ID of question entry to add labels to.
83
88
  */
84
- (questionEntryId: string, options?: SetQuestionEntryLabelsOptions | undefined): Promise<SetQuestionEntryLabelsResponse>;
89
+ (questionEntryId: string, options?: SetQuestionEntryLabelsOptions): Promise<NonNullablePaths<SetQuestionEntryLabelsResponse, {
90
+ [P in QuestionEntryNonNullablePaths]: `questionEntry.${P}`;
91
+ }[QuestionEntryNonNullablePaths]>>;
85
92
  }
86
93
  declare function bulkUpdateQuestionEntry$1(httpClient: HttpClient): BulkUpdateQuestionEntrySignature;
87
94
  interface BulkUpdateQuestionEntrySignature {
@@ -92,7 +99,9 @@ interface BulkUpdateQuestionEntrySignature {
92
99
  * 2. bulkSetQuestionStatus - Updates multiple question entries' statuses.
93
100
  * 3. bulkUpdateLabelOrder - Updates a question entry's labels order.
94
101
  */
95
- (options?: BulkUpdateQuestionEntryOptions | undefined): Promise<BulkUpdateQuestionEntryResponse>;
102
+ (options?: NonNullablePaths<BulkUpdateQuestionEntryOptions, `questionEntries.${number}.questionEntry` | `questionEntries.${number}.questionEntry._id` | `questionEntries.${number}.questionEntry.revision`>): Promise<NonNullablePaths<BulkUpdateQuestionEntryResponse, `results` | `results.${number}.itemMetadata.originalIndex` | `results.${number}.itemMetadata.success` | `results.${number}.itemMetadata.error.code` | `results.${number}.itemMetadata.error.description` | {
103
+ [P in QuestionEntryNonNullablePaths]: `results.${number}.questionEntry.${P}`;
104
+ }[QuestionEntryNonNullablePaths] | `bulkActionMetadata.totalSuccesses` | `bulkActionMetadata.totalFailures` | `bulkActionMetadata.undetailedFailures`>>;
96
105
  }
97
106
  declare const onQuestionEntryCreated$1: EventDefinition<QuestionEntryCreatedEnvelope, "wix.faq.question_entry.v2.question_entry_created">;
98
107
  declare const onQuestionEntryDeleted$1: EventDefinition<QuestionEntryDeletedEnvelope, "wix.faq.question_entry.v2.question_entry_deleted">;
@@ -104,7 +113,7 @@ declare const updateQuestionEntry: MaybeContext<BuildRESTFunction<typeof updateQ
104
113
  declare const deleteQuestionEntry: MaybeContext<BuildRESTFunction<typeof deleteQuestionEntry$1> & typeof deleteQuestionEntry$1>;
105
114
  declare const listQuestionEntries: MaybeContext<BuildRESTFunction<typeof listQuestionEntries$1> & typeof listQuestionEntries$1>;
106
115
  declare const queryQuestionEntries: MaybeContext<BuildRESTFunction<typeof queryQuestionEntries$1> & typeof queryQuestionEntries$1>;
107
- declare const bulkDeleteQuestionEntry: MaybeContext<BuildRESTFunction<typeof bulkDeleteQuestionEntry$1> & typeof bulkDeleteQuestionEntry$1>;
116
+ declare const bulkDeleteQuestionEntries: MaybeContext<BuildRESTFunction<typeof bulkDeleteQuestionEntries$1> & typeof bulkDeleteQuestionEntries$1>;
108
117
  declare const updateExtendedFields: MaybeContext<BuildRESTFunction<typeof updateExtendedFields$1> & typeof updateExtendedFields$1>;
109
118
  declare const setQuestionEntryLabels: MaybeContext<BuildRESTFunction<typeof setQuestionEntryLabels$1> & typeof setQuestionEntryLabels$1>;
110
119
  declare const bulkUpdateQuestionEntry: MaybeContext<BuildRESTFunction<typeof bulkUpdateQuestionEntry$1> & typeof bulkUpdateQuestionEntry$1>;
@@ -115,4 +124,4 @@ declare const onQuestionEntryDeleted: BuildEventDefinition<typeof onQuestionEntr
115
124
  /** */
116
125
  declare const onQuestionEntryUpdated: BuildEventDefinition<typeof onQuestionEntryUpdated$1>;
117
126
 
118
- export { BulkDeleteQuestionEntryResponse, BulkUpdateQuestionEntryOptions, BulkUpdateQuestionEntryResponse, ListQuestionEntriesOptions, ListQuestionEntriesResponse, QueryQuestionEntriesOptions, QuestionEntriesQueryBuilder, QuestionEntry, QuestionEntryCreatedEnvelope, QuestionEntryDeletedEnvelope, QuestionEntryUpdatedEnvelope, SetQuestionEntryLabelsOptions, SetQuestionEntryLabelsResponse, UpdateExtendedFieldsOptions, UpdateExtendedFieldsResponse, UpdateQuestionEntry, bulkDeleteQuestionEntry, bulkUpdateQuestionEntry, createQuestionEntry, deleteQuestionEntry, getQuestionEntry, listQuestionEntries, onQuestionEntryCreated, onQuestionEntryDeleted, onQuestionEntryUpdated, queryQuestionEntries, setQuestionEntryLabels, updateExtendedFields, updateQuestionEntry };
127
+ 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 };
@@ -22,21 +22,26 @@ var index_exports = {};
22
22
  __export(index_exports, {
23
23
  Alignment: () => Alignment,
24
24
  AppType: () => AppType,
25
+ AspectRatio: () => AspectRatio,
25
26
  BackgroundType: () => BackgroundType,
27
+ ButtonDataType: () => ButtonDataType,
26
28
  ContentFormat: () => ContentFormat,
27
29
  Crop: () => Crop,
28
30
  DecorationType: () => DecorationType,
29
31
  Direction: () => Direction,
32
+ DividerDataAlignment: () => DividerDataAlignment,
30
33
  FieldSet: () => FieldSet,
31
34
  FontType: () => FontType,
32
35
  GIFType: () => GIFType,
33
36
  InitialExpandedItems: () => InitialExpandedItems,
37
+ Layout: () => Layout,
34
38
  LayoutType: () => LayoutType,
35
39
  LineStyle: () => LineStyle,
36
40
  MapType: () => MapType,
37
41
  NodeType: () => NodeType,
38
42
  NullValue: () => NullValue,
39
43
  Orientation: () => Orientation,
44
+ Placement: () => Placement,
40
45
  PluginContainerDataAlignment: () => PluginContainerDataAlignment,
41
46
  PollLayoutDirection: () => PollLayoutDirection,
42
47
  PollLayoutType: () => PollLayoutType,
@@ -44,8 +49,10 @@ __export(index_exports, {
44
49
  QueryQuestionEntriesRequestContentFormat: () => QueryQuestionEntriesRequestContentFormat,
45
50
  QueryQuestionEntriesRequestFieldSet: () => QueryQuestionEntriesRequestFieldSet,
46
51
  QuestionStatus: () => QuestionStatus,
52
+ Resizing: () => Resizing,
47
53
  SortOrder: () => SortOrder,
48
54
  Source: () => Source,
55
+ StylesPosition: () => StylesPosition,
49
56
  Target: () => Target,
50
57
  TextAlignment: () => TextAlignment,
51
58
  ThumbnailsAlignment: () => ThumbnailsAlignment,
@@ -57,7 +64,7 @@ __export(index_exports, {
57
64
  WebhookIdentityType: () => WebhookIdentityType,
58
65
  Width: () => Width,
59
66
  WidthType: () => WidthType,
60
- bulkDeleteQuestionEntry: () => bulkDeleteQuestionEntry4,
67
+ bulkDeleteQuestionEntries: () => bulkDeleteQuestionEntries4,
61
68
  bulkUpdateQuestionEntry: () => bulkUpdateQuestionEntry4,
62
69
  createQuestionEntry: () => createQuestionEntry4,
63
70
  deleteQuestionEntry: () => deleteQuestionEntry4,
@@ -753,12 +760,12 @@ function queryQuestionEntries(payload) {
753
760
  }
754
761
  return __queryQuestionEntries;
755
762
  }
756
- function bulkDeleteQuestionEntry(payload) {
757
- function __bulkDeleteQuestionEntry({ host }) {
763
+ function bulkDeleteQuestionEntries(payload) {
764
+ function __bulkDeleteQuestionEntries({ host }) {
758
765
  const metadata = {
759
766
  entityFqdn: "wix.faq.question_entry.v2.question_entry",
760
767
  method: "POST",
761
- methodFqn: "wix.faq.questionentry.v2.QuestionEntryService.BulkDeleteQuestionEntry",
768
+ methodFqn: "wix.faq.questionentry.v2.QuestionEntryService.BulkDeleteQuestionEntries",
762
769
  packageName: PACKAGE_NAME,
763
770
  url: resolveWixFaqQuestionentryV2QuestionEntryServiceUrl({
764
771
  protoPath: "/v2/bulk/question-entries/delete",
@@ -769,7 +776,7 @@ function bulkDeleteQuestionEntry(payload) {
769
776
  };
770
777
  return metadata;
771
778
  }
772
- return __bulkDeleteQuestionEntry;
779
+ return __bulkDeleteQuestionEntries;
773
780
  }
774
781
  function updateExtendedFields(payload) {
775
782
  function __updateExtendedFields({ host }) {
@@ -1147,11 +1154,11 @@ var PluginContainerDataAlignment = /* @__PURE__ */ ((PluginContainerDataAlignmen
1147
1154
  PluginContainerDataAlignment2["RIGHT"] = "RIGHT";
1148
1155
  return PluginContainerDataAlignment2;
1149
1156
  })(PluginContainerDataAlignment || {});
1150
- var Type = /* @__PURE__ */ ((Type2) => {
1151
- Type2["LINK"] = "LINK";
1152
- Type2["ACTION"] = "ACTION";
1153
- return Type2;
1154
- })(Type || {});
1157
+ var ButtonDataType = /* @__PURE__ */ ((ButtonDataType2) => {
1158
+ ButtonDataType2["LINK"] = "LINK";
1159
+ ButtonDataType2["ACTION"] = "ACTION";
1160
+ return ButtonDataType2;
1161
+ })(ButtonDataType || {});
1155
1162
  var Target = /* @__PURE__ */ ((Target2) => {
1156
1163
  Target2["SELF"] = "SELF";
1157
1164
  Target2["BLANK"] = "BLANK";
@@ -1180,12 +1187,12 @@ var Width = /* @__PURE__ */ ((Width2) => {
1180
1187
  Width2["SMALL"] = "SMALL";
1181
1188
  return Width2;
1182
1189
  })(Width || {});
1183
- var Alignment = /* @__PURE__ */ ((Alignment2) => {
1184
- Alignment2["CENTER"] = "CENTER";
1185
- Alignment2["LEFT"] = "LEFT";
1186
- Alignment2["RIGHT"] = "RIGHT";
1187
- return Alignment2;
1188
- })(Alignment || {});
1190
+ var DividerDataAlignment = /* @__PURE__ */ ((DividerDataAlignment2) => {
1191
+ DividerDataAlignment2["CENTER"] = "CENTER";
1192
+ DividerDataAlignment2["LEFT"] = "LEFT";
1193
+ DividerDataAlignment2["RIGHT"] = "RIGHT";
1194
+ return DividerDataAlignment2;
1195
+ })(DividerDataAlignment || {});
1189
1196
  var ViewMode = /* @__PURE__ */ ((ViewMode2) => {
1190
1197
  ViewMode2["NONE"] = "NONE";
1191
1198
  ViewMode2["FULL"] = "FULL";
@@ -1233,13 +1240,13 @@ var Source = /* @__PURE__ */ ((Source2) => {
1233
1240
  Source2["ADSENSE"] = "ADSENSE";
1234
1241
  return Source2;
1235
1242
  })(Source || {});
1236
- var Position = /* @__PURE__ */ ((Position2) => {
1237
- Position2["START"] = "START";
1238
- Position2["END"] = "END";
1239
- Position2["TOP"] = "TOP";
1240
- Position2["HIDDEN"] = "HIDDEN";
1241
- return Position2;
1242
- })(Position || {});
1243
+ var StylesPosition = /* @__PURE__ */ ((StylesPosition2) => {
1244
+ StylesPosition2["START"] = "START";
1245
+ StylesPosition2["END"] = "END";
1246
+ StylesPosition2["TOP"] = "TOP";
1247
+ StylesPosition2["HIDDEN"] = "HIDDEN";
1248
+ return StylesPosition2;
1249
+ })(StylesPosition || {});
1243
1250
  var MapType = /* @__PURE__ */ ((MapType2) => {
1244
1251
  MapType2["ROADMAP"] = "ROADMAP";
1245
1252
  MapType2["SATELITE"] = "SATELITE";
@@ -1295,6 +1302,43 @@ var FontType = /* @__PURE__ */ ((FontType2) => {
1295
1302
  FontType2["EM"] = "EM";
1296
1303
  return FontType2;
1297
1304
  })(FontType || {});
1305
+ var Position = /* @__PURE__ */ ((Position2) => {
1306
+ Position2["START"] = "START";
1307
+ Position2["END"] = "END";
1308
+ Position2["TOP"] = "TOP";
1309
+ return Position2;
1310
+ })(Position || {});
1311
+ var AspectRatio = /* @__PURE__ */ ((AspectRatio2) => {
1312
+ AspectRatio2["SQUARE"] = "SQUARE";
1313
+ AspectRatio2["RECTANGLE"] = "RECTANGLE";
1314
+ return AspectRatio2;
1315
+ })(AspectRatio || {});
1316
+ var Resizing = /* @__PURE__ */ ((Resizing2) => {
1317
+ Resizing2["FILL"] = "FILL";
1318
+ Resizing2["FIT"] = "FIT";
1319
+ return Resizing2;
1320
+ })(Resizing || {});
1321
+ var Placement = /* @__PURE__ */ ((Placement2) => {
1322
+ Placement2["IMAGE"] = "IMAGE";
1323
+ Placement2["PRODUCT_INFO"] = "PRODUCT_INFO";
1324
+ return Placement2;
1325
+ })(Placement || {});
1326
+ var Type = /* @__PURE__ */ ((Type2) => {
1327
+ Type2["CONTAINED"] = "CONTAINED";
1328
+ Type2["FRAMELESS"] = "FRAMELESS";
1329
+ return Type2;
1330
+ })(Type || {});
1331
+ var Alignment = /* @__PURE__ */ ((Alignment2) => {
1332
+ Alignment2["START"] = "START";
1333
+ Alignment2["CENTER"] = "CENTER";
1334
+ Alignment2["END"] = "END";
1335
+ return Alignment2;
1336
+ })(Alignment || {});
1337
+ var Layout = /* @__PURE__ */ ((Layout2) => {
1338
+ Layout2["STACKED"] = "STACKED";
1339
+ Layout2["SIDE_BY_SIDE"] = "SIDE_BY_SIDE";
1340
+ return Layout2;
1341
+ })(Layout || {});
1298
1342
  var AppType = /* @__PURE__ */ ((AppType2) => {
1299
1343
  AppType2["PRODUCT"] = "PRODUCT";
1300
1344
  AppType2["EVENT"] = "EVENT";
@@ -1563,13 +1607,13 @@ function queryQuestionEntries2(options) {
1563
1607
  transformationPaths: {}
1564
1608
  });
1565
1609
  }
1566
- async function bulkDeleteQuestionEntry2(questionEntryIds) {
1610
+ async function bulkDeleteQuestionEntries2(questionEntryIds) {
1567
1611
  const { httpClient, sideEffects } = arguments[1];
1568
1612
  const payload = (0, import_rename_all_nested_keys.renameKeysFromSDKRequestToRESTRequest)(
1569
1613
  { questionEntryIds },
1570
1614
  []
1571
1615
  );
1572
- const reqOpts = bulkDeleteQuestionEntry(
1616
+ const reqOpts = bulkDeleteQuestionEntries(
1573
1617
  payload
1574
1618
  );
1575
1619
  sideEffects?.onSiteCall?.();
@@ -1737,8 +1781,8 @@ function queryQuestionEntries3(httpClient) {
1737
1781
  { httpClient }
1738
1782
  );
1739
1783
  }
1740
- function bulkDeleteQuestionEntry3(httpClient) {
1741
- return (questionEntryIds) => bulkDeleteQuestionEntry2(
1784
+ function bulkDeleteQuestionEntries3(httpClient) {
1785
+ return (questionEntryIds) => bulkDeleteQuestionEntries2(
1742
1786
  questionEntryIds,
1743
1787
  // @ts-ignore
1744
1788
  { httpClient }
@@ -1936,7 +1980,7 @@ var updateQuestionEntry4 = /* @__PURE__ */ (0, import_rest_modules3.createRESTMo
1936
1980
  var deleteQuestionEntry4 = /* @__PURE__ */ (0, import_rest_modules3.createRESTModule)(deleteQuestionEntry3);
1937
1981
  var listQuestionEntries4 = /* @__PURE__ */ (0, import_rest_modules3.createRESTModule)(listQuestionEntries3);
1938
1982
  var queryQuestionEntries4 = /* @__PURE__ */ (0, import_rest_modules3.createRESTModule)(queryQuestionEntries3);
1939
- var bulkDeleteQuestionEntry4 = /* @__PURE__ */ (0, import_rest_modules3.createRESTModule)(bulkDeleteQuestionEntry3);
1983
+ var bulkDeleteQuestionEntries4 = /* @__PURE__ */ (0, import_rest_modules3.createRESTModule)(bulkDeleteQuestionEntries3);
1940
1984
  var updateExtendedFields4 = /* @__PURE__ */ (0, import_rest_modules3.createRESTModule)(updateExtendedFields3);
1941
1985
  var setQuestionEntryLabels4 = /* @__PURE__ */ (0, import_rest_modules3.createRESTModule)(setQuestionEntryLabels3);
1942
1986
  var bulkUpdateQuestionEntry4 = /* @__PURE__ */ (0, import_rest_modules3.createRESTModule)(bulkUpdateQuestionEntry3);
@@ -1947,21 +1991,26 @@ var onQuestionEntryUpdated2 = (0, import_event_definition_modules.createEventMod
1947
1991
  0 && (module.exports = {
1948
1992
  Alignment,
1949
1993
  AppType,
1994
+ AspectRatio,
1950
1995
  BackgroundType,
1996
+ ButtonDataType,
1951
1997
  ContentFormat,
1952
1998
  Crop,
1953
1999
  DecorationType,
1954
2000
  Direction,
2001
+ DividerDataAlignment,
1955
2002
  FieldSet,
1956
2003
  FontType,
1957
2004
  GIFType,
1958
2005
  InitialExpandedItems,
2006
+ Layout,
1959
2007
  LayoutType,
1960
2008
  LineStyle,
1961
2009
  MapType,
1962
2010
  NodeType,
1963
2011
  NullValue,
1964
2012
  Orientation,
2013
+ Placement,
1965
2014
  PluginContainerDataAlignment,
1966
2015
  PollLayoutDirection,
1967
2016
  PollLayoutType,
@@ -1969,8 +2018,10 @@ var onQuestionEntryUpdated2 = (0, import_event_definition_modules.createEventMod
1969
2018
  QueryQuestionEntriesRequestContentFormat,
1970
2019
  QueryQuestionEntriesRequestFieldSet,
1971
2020
  QuestionStatus,
2021
+ Resizing,
1972
2022
  SortOrder,
1973
2023
  Source,
2024
+ StylesPosition,
1974
2025
  Target,
1975
2026
  TextAlignment,
1976
2027
  ThumbnailsAlignment,
@@ -1982,7 +2033,7 @@ var onQuestionEntryUpdated2 = (0, import_event_definition_modules.createEventMod
1982
2033
  WebhookIdentityType,
1983
2034
  Width,
1984
2035
  WidthType,
1985
- bulkDeleteQuestionEntry,
2036
+ bulkDeleteQuestionEntries,
1986
2037
  bulkUpdateQuestionEntry,
1987
2038
  createQuestionEntry,
1988
2039
  deleteQuestionEntry,