@wix/auto_sdk_table-reservations_experiences 1.0.2 → 1.0.3
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 +9 -3
- package/build/cjs/index.js +256 -0
- package/build/cjs/index.js.map +1 -1
- package/build/cjs/index.typings.d.ts +10 -3177
- package/build/cjs/index.typings.js +248 -0
- package/build/cjs/index.typings.js.map +1 -1
- package/build/cjs/meta.d.ts +489 -2
- package/build/cjs/meta.js +224 -0
- package/build/cjs/meta.js.map +1 -1
- package/build/cjs/table-reservations-v1-experience-experiences.universal-_rt3Sgv3.d.ts +3854 -0
- package/build/es/index.d.mts +9 -3
- package/build/es/index.mjs +247 -0
- package/build/es/index.mjs.map +1 -1
- package/build/es/index.typings.d.mts +10 -3177
- package/build/es/index.typings.mjs +239 -0
- package/build/es/index.typings.mjs.map +1 -1
- package/build/es/meta.d.mts +489 -2
- package/build/es/meta.mjs +215 -0
- package/build/es/meta.mjs.map +1 -1
- package/build/es/table-reservations-v1-experience-experiences.universal-_rt3Sgv3.d.mts +3854 -0
- package/build/internal/cjs/index.d.ts +9 -3
- package/build/internal/cjs/index.js +256 -0
- package/build/internal/cjs/index.js.map +1 -1
- package/build/internal/cjs/index.typings.d.ts +10 -3177
- package/build/internal/cjs/index.typings.js +248 -0
- package/build/internal/cjs/index.typings.js.map +1 -1
- package/build/internal/cjs/meta.d.ts +489 -2
- package/build/internal/cjs/meta.js +224 -0
- package/build/internal/cjs/meta.js.map +1 -1
- package/build/internal/cjs/table-reservations-v1-experience-experiences.universal-_rt3Sgv3.d.ts +3854 -0
- package/build/internal/es/index.d.mts +9 -3
- package/build/internal/es/index.mjs +247 -0
- package/build/internal/es/index.mjs.map +1 -1
- package/build/internal/es/index.typings.d.mts +10 -3177
- package/build/internal/es/index.typings.mjs +239 -0
- package/build/internal/es/index.typings.mjs.map +1 -1
- package/build/internal/es/meta.d.mts +489 -2
- package/build/internal/es/meta.mjs +215 -0
- package/build/internal/es/meta.mjs.map +1 -1
- package/build/internal/es/table-reservations-v1-experience-experiences.universal-_rt3Sgv3.d.mts +3854 -0
- package/package.json +2 -2
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 { Experience, UpdateExperience, ExperiencesQueryBuilder, BulkUpdateExperienceTagsOptions, BulkUpdateExperienceTagsResponse, BulkUpdateExperienceTagsApplicationErrors, BulkUpdateExperienceTagsByFilterOptions, BulkUpdateExperienceTagsByFilterResponse, BulkUpdateExperienceTagsByFilterApplicationErrors, ExperienceCreatedEnvelope, ExperienceTagsModifiedEnvelope, ExperienceUpdatedEnvelope } from './
|
|
3
|
-
export { ActionEvent, Address, AddressHint, Alignment, AlignmentWithLiterals, AnchorData, AppEmbedData, AppEmbedDataAppDataOneOf, AppType, AppTypeWithLiterals, ApplicationError, Approval, AspectRatio, AspectRatioWithLiterals, AudioData, Background, BackgroundBackgroundOneOf, BackgroundType, BackgroundTypeWithLiterals, BaseEventMetadata, BlockquoteData, BookingData, Border, BorderColors, BulkActionMetadata, BulkUpdateExperienceTagsByFilterRequest, BulkUpdateExperienceTagsRequest, BulkUpdateExperienceTagsResult, BulletedListData, BusinessSchedule, ButtonData, ButtonDataType, ButtonDataTypeWithLiterals, ButtonStyles, CaptionData, CardStyles, Categories, CellStyle, ChangeContext, ChangeContextPayloadOneOf, CodeBlockData, CollapsibleListData, ColorData, Colors, Configuration, ConsentPolicy, CreateExperienceRequest, CreateExperienceResponse, Crop, CropWithLiterals, CursorPaging, CursorPagingMetadata, CursorQuery, CursorQueryPagingMethodOneOf, Cursors, CustomFieldDefinition, DayOfWeek, DayOfWeekWithLiterals, Decoration, DecorationDataOneOf, DecorationType, DecorationTypeWithLiterals, Design, Dimensions, Direction, DirectionWithLiterals, DisplayInfo, DividerData, DividerDataAlignment, DividerDataAlignmentWithLiterals, DocumentStyle, DomainEvent, DomainEventBodyOneOf, EmailMarketingCheckbox, EmbedData, Empty, EntityCreatedEvent, EntityDeletedEvent, EntityUpdatedEvent, Entry, EntryRecurrenceOptionsOneOf, EventData, EventMetadata, ExperiencesQueryResult, ExtendedFields, FileData, FileSource, FileSourceDataOneOf, FontSizeData, FontType, FontTypeWithLiterals, GIF, GIFData, GIFType, GIFTypeWithLiterals, GalleryData, GalleryOptions, GalleryOptionsLayout, GeoCoordinates, GetExperienceRequest, GetExperienceResponse, Gradient, HTMLData, HTMLDataDataOneOf, HeadingData, Height, IdentificationData, IdentificationDataIdOneOf, Image, ImageData, ImageDataStyles, ImageStyles, InitialExpandedItems, InitialExpandedItemsWithLiterals, Item, ItemDataOneOf, ItemMetadata, ItemStyle, Layout, LayoutCellData, LayoutType, LayoutTypeWithLiterals, LayoutWithLiterals, LineStyle, LineStyleWithLiterals, Link, LinkData, LinkDataOneOf, LinkPreviewData, LinkPreviewDataStyles, ListValue, Locale, MapData, MapSettings, MapType, MapTypeWithLiterals, MaxGuests, Media, MentionData, MessageEnvelope, Metadata, Mode, ModeWithLiterals, Multilingual, Node, NodeDataOneOf, NodeStyle, NodeType, NodeTypeWithLiterals, NoticePeriod, NullValue, NullValueWithLiterals, Oembed, OnOptions, OnOptionsOptionsOneOf, OneTimeOptions, OnlineReservations, OnlineReservationsBusinessSchedule, Option, OptionDesign, OptionLayout, OrderedListData, Orientation, OrientationWithLiterals, PDFSettings, ParagraphData, PartySize, PaymentPolicy, PaymentPolicyOptionsOneOf, PaymentPolicyType, PaymentPolicyTypeWithLiterals, PerGuestOptions, Permissions, Placement, PlacementType, PlacementTypeWithLiterals, PlacementWithLiterals, PlaybackOptions, PluginContainerData, PluginContainerDataAlignment, PluginContainerDataAlignmentWithLiterals, PluginContainerDataWidth, PluginContainerDataWidthDataOneOf, Poll, PollData, PollDataLayout, PollDesign, PollLayout, PollLayoutDirection, PollLayoutDirectionWithLiterals, PollLayoutType, PollLayoutTypeWithLiterals, Position, PositionWithLiterals, PricingData, PrivacyPolicy, PrivacyPolicyValueOneOf, Properties, PropertiesChange, QueryExperiencesRequest, QueryExperiencesResponse, Recurrence, RecurrenceWithLiterals, Rel, ReservationForm, Resizing, ResizingWithLiterals, ResolutionMethod, ResolutionMethodWithLiterals, RestoreInfo, RibbonStyles, RichContent, Settings, SiteCloned, SiteCreated, SitePropertiesEvent, SitePropertiesNotification, SortOrder, SortOrderWithLiterals, Sorting, Source, SourceWithLiterals, SpecialHourPeriod, SpecificTablesOptions, Spoiler, SpoilerData, StartDaysAndTimes, StartDaysAndTimesDayOfWeek, StartDaysAndTimesDayOfWeekWithLiterals, Styles, StylesBorder, StylesPosition, StylesPositionWithLiterals, SupportedLanguage, Table, TableAssignmentType, TableAssignmentTypeWithLiterals, TableAvailabilityType, TableAvailabilityTypeWithLiterals, TableCellData, TableCombination, TableData, TableManagement, TableManagementMode, TableManagementModeWithLiterals, TableManagementOptionsOneOf, TagList, Tags, TagsModified, Target, TargetWithLiterals, TermsAndConditions, TermsAndConditionsValueOneOf, TextAlignment, TextAlignmentWithLiterals, TextData, TextNodeStyle, TextStyle, Thumbnails, ThumbnailsAlignment, ThumbnailsAlignmentWithLiterals, TimePeriod, Translation, Type, TypeWithLiterals, Unit, UnitWithLiterals, UpdateExperienceRequest, UpdateExperienceResponse, VerticalAlignment, VerticalAlignmentWithLiterals, Video, VideoData, ViewMode, ViewModeWithLiterals, ViewRole, ViewRoleWithLiterals, VoteRole, VoteRoleWithLiterals, WebhookIdentityType, WebhookIdentityTypeWithLiterals, WeeklyOptions, Width, WidthType, WidthTypeWithLiterals, WidthWithLiterals } from './
|
|
2
|
+
import { E as Experience, U as UpdateExperience, a as ExperiencesQueryBuilder, b as ExperienceSearch, S as SearchExperiencesResponse, B as BulkUpdateExperienceTagsOptions, c as BulkUpdateExperienceTagsResponse, d as BulkUpdateExperienceTagsApplicationErrors, e as BulkUpdateExperienceTagsByFilterOptions, f as BulkUpdateExperienceTagsByFilterResponse, g as BulkUpdateExperienceTagsByFilterApplicationErrors, h as ExperienceCreatedEnvelope, i as ExperienceTagsModifiedEnvelope, j as ExperienceUpdatedEnvelope } from './table-reservations-v1-experience-experiences.universal-_rt3Sgv3.js';
|
|
3
|
+
export { dH as ActionEvent, dk as Address, dl as AddressHint, cD as Aggregation, cQ as AggregationData, cE as AggregationKindOneOf, d7 as AggregationResults, d8 as AggregationResultsResultOneOf, cX as AggregationResultsScalarResult, ac as AggregationType, eD as AggregationTypeWithLiterals, Z as Alignment, eo as AlignmentWithLiterals, bC as AnchorData, bI as AppEmbedData, bJ as AppEmbedDataAppDataOneOf, $ as AppType, eq as AppTypeWithLiterals, db as ApplicationError, au as Approval, K as AspectRatio, ek as AspectRatioWithLiterals, c0 as AudioData, bs as Background, bt as BackgroundBackgroundOneOf, F as BackgroundType, eg as BackgroundTypeWithLiterals, dL as BaseEventMetadata, c3 as BlockquoteData, bK as BookingData, aI as Border, b_ as BorderColors, dd as BulkActionMetadata, de as BulkUpdateExperienceTagsByFilterRequest, d9 as BulkUpdateExperienceTagsRequest, dc as BulkUpdateExperienceTagsResult, c2 as BulletedListData, dn as BusinessSchedule, aH as ButtonData, o as ButtonDataType, dZ as ButtonDataTypeWithLiterals, bM as ButtonStyles, c4 as CaptionData, bP as CardStyles, di as Categories, bZ as CellStyle, dv as ChangeContext, dw as ChangeContextPayloadOneOf, aT as CodeBlockData, bV as CollapsibleListData, bD as ColorData, aJ as Colors, eJ as CommonSearchWithEntityContext, ch as Configuration, dt as ConsentPolicy, cm as CreateExperienceRequest, cn as CreateExperienceResponse, C as Crop, e6 as CropWithLiterals, cw as CursorPaging, cy as CursorPagingMetadata, ct as CursorQuery, cu as CursorQueryPagingMethodOneOf, cB as CursorSearch, cC as CursorSearchPagingMethodOneOf, cz as Cursors, aB as CustomFieldDefinition, cL as DateHistogramAggregation, d3 as DateHistogramResult, d5 as DateHistogramResults, af as DayOfWeek, eG as DayOfWeekWithLiterals, bA as Decoration, bB as DecorationDataOneOf, H as DecorationType, eh as DecorationTypeWithLiterals, by as Design, bX as Dimensions, a1 as Direction, es as DirectionWithLiterals, ca as DisplayInfo, aV as DividerData, D as DividerDataAlignment, e2 as DividerDataAlignmentWithLiterals, c7 as DocumentStyle, dB as DomainEvent, dC as DomainEventBodyOneOf, aC as EmailMarketingCheckbox, bT as EmbedData, dA as Empty, dD as EntityCreatedEvent, dG as EntityDeletedEvent, dF as EntityUpdatedEvent, aq as Entry, ar as EntryRecurrenceOptionsOneOf, bL as EventData, dM as EventMetadata, dO as ExperienceSearchSpec, dN as ExperiencesQueryResult, ci as ExtendedFields, aW as FileData, aX as FileSource, aY as FileSourceDataOneOf, bG as FontSizeData, I as FontType, ei as FontTypeWithLiterals, b9 as GIF, b8 as GIFData, G as GIFType, e8 as GIFTypeWithLiterals, a_ as GalleryData, b4 as GalleryOptions, b5 as GalleryOptionsLayout, dm as GeoCoordinates, co as GetExperienceRequest, cp as GetExperienceResponse, br as Gradient, d4 as GroupByValueResults, bb as HTMLData, bc as HTMLDataDataOneOf, ba as HeadingData, aO as Height, dJ as IdentificationData, dK as IdentificationDataIdOneOf, b0 as Image, bd as ImageData, bf as ImageDataStyles, bN as ImageStyles, cG as IncludeMissingValuesOptions, a0 as InitialExpandedItems, er as InitialExpandedItemsWithLiterals, ab as Interval, eC as IntervalWithLiterals, b2 as Item, b3 as ItemDataOneOf, da as ItemMetadata, b6 as ItemStyle, _ as Layout, c5 as LayoutCellData, s as LayoutType, e4 as LayoutTypeWithLiterals, ep as LayoutWithLiterals, L as LineStyle, e0 as LineStyleWithLiterals, aQ as Link, bE as LinkData, aR as LinkDataOneOf, bg as LinkPreviewData, bh as LinkPreviewDataStyles, b$ as ListValue, dj as Locale, bi as MapData, bj as MapSettings, w as MapType, eb as MapTypeWithLiterals, av as MaxGuests, a$ as Media, bF as MentionData, dI as MessageEnvelope, c6 as Metadata, a8 as MissingValues, ez as MissingValuesWithLiterals, M as Mode, dT as ModeWithLiterals, dr as Multilingual, cO as NestedAggregation, cM as NestedAggregationItem, cN as NestedAggregationItemKindOneOf, cT as NestedAggregationResults, cU as NestedAggregationResultsResultOneOf, aa as NestedAggregationType, eB as NestedAggregationTypeWithLiterals, d0 as NestedResultValue, d1 as NestedResultValueResultOneOf, d6 as NestedResults, cY as NestedValueAggregationResult, aE as Node, aF as NodeDataOneOf, aG as NodeStyle, N as NodeType, dW as NodeTypeWithLiterals, at as NoticePeriod, a3 as NullValue, eu as NullValueWithLiterals, bU as Oembed, al as OnOptions, am as OnOptionsOptionsOneOf, ap as OneTimeOptions, cd as OnlineReservations, aw as OnlineReservationsBusinessSchedule, bn as Option, bv as OptionDesign, bq as OptionLayout, c1 as OrderedListData, O as Orientation, e5 as OrientationWithLiterals, aZ as PDFSettings, bk as ParagraphData, as as PartySize, cb as PaymentPolicy, cc as PaymentPolicyOptionsOneOf, a4 as PaymentPolicyType, ev as PaymentPolicyTypeWithLiterals, c9 as PerGuestOptions, bm as Permissions, X as Placement, ae as PlacementType, eF as PlacementTypeWithLiterals, em as PlacementWithLiterals, bS as PlaybackOptions, aK as PluginContainerData, P as PluginContainerDataAlignment, dY as PluginContainerDataAlignmentWithLiterals, aL as PluginContainerDataWidth, aM as PluginContainerDataWidthDataOneOf, bw as Poll, bl as PollData, bx as PollDataLayout, bu as PollDesign, bp as PollLayout, A as PollLayoutDirection, ef as PollLayoutDirectionWithLiterals, z as PollLayoutType, ee as PollLayoutTypeWithLiterals, J as Position, ej as PositionWithLiterals, bQ as PricingData, ax as PrivacyPolicy, ay as PrivacyPolicyValueOneOf, dh as Properties, dx as PropertiesChange, cs as QueryExperiencesRequest, cx as QueryExperiencesResponse, cJ as RangeAggregation, cS as RangeAggregationResult, cF as RangeBucket, c_ as RangeResult, cW as RangeResults, R as Recurrence, dV as RecurrenceWithLiterals, aS as Rel, ce as ReservationForm, Q as Resizing, el as ResizingWithLiterals, ag as ResolutionMethod, eH as ResolutionMethodWithLiterals, dE as RestoreInfo, d2 as Results, bO as RibbonStyles, aD as RichContent, cK as ScalarAggregation, c$ as ScalarResult, a9 as ScalarType, eA as ScalarTypeWithLiterals, cP as SearchDetails, ad as SearchDetailsMode, eE as SearchDetailsModeWithLiterals, cA as SearchExperiencesRequest, bo as Settings, dz as SiteCloned, dy as SiteCreated, dg as SitePropertiesEvent, df as SitePropertiesNotification, a7 as SortDirection, ey as SortDirectionWithLiterals, a5 as SortOrder, ew as SortOrderWithLiterals, a6 as SortType, ex as SortTypeWithLiterals, cv as Sorting, u as Source, e9 as SourceWithLiterals, dq as SpecialHourPeriod, ak as SpecificTablesOptions, aN as Spoiler, bH as SpoilerData, an as StartDaysAndTimes, n as StartDaysAndTimesDayOfWeek, dU as StartDaysAndTimesDayOfWeekWithLiterals, aP as Styles, be as StylesBorder, v as StylesPosition, ea as StylesPositionWithLiterals, ds as SupportedLanguage, ai as Table, k as TableAssignmentType, dQ as TableAssignmentTypeWithLiterals, T as TableAvailabilityType, dP as TableAvailabilityTypeWithLiterals, bY as TableCellData, aj as TableCombination, bW as TableData, cf as TableManagement, l as TableManagementMode, dR as TableManagementModeWithLiterals, cg as TableManagementOptionsOneOf, ck as TagList, cj as Tags, cl as TagsModified, p as Target, d_ as TargetWithLiterals, az as TermsAndConditions, aA as TermsAndConditionsValueOneOf, q as TextAlignment, d$ as TextAlignmentWithLiterals, bz as TextData, c8 as TextNodeStyle, aU as TextStyle, b7 as Thumbnails, t as ThumbnailsAlignment, e7 as ThumbnailsAlignmentWithLiterals, dp as TimePeriod, du as Translation, Y as Type, en as TypeWithLiterals, m as Unit, dS as UnitWithLiterals, cq as UpdateExperienceRequest, cr as UpdateExperienceResponse, cH as ValueAggregation, cI as ValueAggregationOptionsOneOf, cR as ValueAggregationResult, cZ as ValueResult, cV as ValueResults, a2 as VerticalAlignment, et as VerticalAlignmentWithLiterals, b1 as Video, bR as VideoData, V as ViewMode, e3 as ViewModeWithLiterals, x as ViewRole, ec as ViewRoleWithLiterals, y as VoteRole, ed as VoteRoleWithLiterals, ah as WebhookIdentityType, eI as WebhookIdentityTypeWithLiterals, ao as WeeklyOptions, r as Width, W as WidthType, dX as WidthTypeWithLiterals, e1 as WidthWithLiterals } from './table-reservations-v1-experience-experiences.universal-_rt3Sgv3.js';
|
|
4
4
|
|
|
5
5
|
declare function createExperience$1(httpClient: HttpClient): CreateExperienceSignature;
|
|
6
6
|
interface CreateExperienceSignature {
|
|
@@ -42,6 +42,11 @@ interface QueryExperiencesSignature {
|
|
|
42
42
|
*/
|
|
43
43
|
(): ExperiencesQueryBuilder;
|
|
44
44
|
}
|
|
45
|
+
declare function searchExperiences$1(httpClient: HttpClient): SearchExperiencesSignature;
|
|
46
|
+
interface SearchExperiencesSignature {
|
|
47
|
+
/** @param - Search query. */
|
|
48
|
+
(search: ExperienceSearch): Promise<NonNullablePaths<SearchExperiencesResponse, `experiences` | `experiences.${number}.configuration.paymentPolicy.paymentPolicyType` | `aggregationData.results` | `aggregationData.results.${number}.scalar.type` | `aggregationData.results.${number}.scalar.value` | `aggregationData.results.${number}.name` | `aggregationData.results.${number}.type` | `aggregationData.results.${number}.fieldPath`, 6>>;
|
|
49
|
+
}
|
|
45
50
|
declare function bulkUpdateExperienceTags$1(httpClient: HttpClient): BulkUpdateExperienceTagsSignature;
|
|
46
51
|
interface BulkUpdateExperienceTagsSignature {
|
|
47
52
|
/**
|
|
@@ -73,6 +78,7 @@ declare const createExperience: MaybeContext<BuildRESTFunction<typeof createExpe
|
|
|
73
78
|
declare const getExperience: MaybeContext<BuildRESTFunction<typeof getExperience$1> & typeof getExperience$1>;
|
|
74
79
|
declare const updateExperience: MaybeContext<BuildRESTFunction<typeof updateExperience$1> & typeof updateExperience$1>;
|
|
75
80
|
declare const queryExperiences: MaybeContext<BuildRESTFunction<typeof queryExperiences$1> & typeof queryExperiences$1>;
|
|
81
|
+
declare const searchExperiences: MaybeContext<BuildRESTFunction<typeof searchExperiences$1> & typeof searchExperiences$1>;
|
|
76
82
|
declare const bulkUpdateExperienceTags: MaybeContext<BuildRESTFunction<typeof bulkUpdateExperienceTags$1> & typeof bulkUpdateExperienceTags$1>;
|
|
77
83
|
declare const bulkUpdateExperienceTagsByFilter: MaybeContext<BuildRESTFunction<typeof bulkUpdateExperienceTagsByFilter$1> & typeof bulkUpdateExperienceTagsByFilter$1>;
|
|
78
84
|
/** */
|
|
@@ -82,4 +88,4 @@ declare const onExperienceTagsModified: BuildEventDefinition<typeof onExperience
|
|
|
82
88
|
/** */
|
|
83
89
|
declare const onExperienceUpdated: BuildEventDefinition<typeof onExperienceUpdated$1> & typeof onExperienceUpdated$1;
|
|
84
90
|
|
|
85
|
-
export { BulkUpdateExperienceTagsApplicationErrors, BulkUpdateExperienceTagsByFilterApplicationErrors, BulkUpdateExperienceTagsByFilterOptions, BulkUpdateExperienceTagsByFilterResponse, BulkUpdateExperienceTagsOptions, BulkUpdateExperienceTagsResponse, Experience, ExperienceCreatedEnvelope, ExperienceTagsModifiedEnvelope, ExperienceUpdatedEnvelope, ExperiencesQueryBuilder, UpdateExperience, bulkUpdateExperienceTags, bulkUpdateExperienceTagsByFilter, createExperience, getExperience, onExperienceCreated, onExperienceTagsModified, onExperienceUpdated, queryExperiences, updateExperience };
|
|
91
|
+
export { BulkUpdateExperienceTagsApplicationErrors, BulkUpdateExperienceTagsByFilterApplicationErrors, BulkUpdateExperienceTagsByFilterOptions, BulkUpdateExperienceTagsByFilterResponse, BulkUpdateExperienceTagsOptions, BulkUpdateExperienceTagsResponse, Experience, ExperienceCreatedEnvelope, ExperienceSearch, ExperienceTagsModifiedEnvelope, ExperienceUpdatedEnvelope, ExperiencesQueryBuilder, SearchExperiencesResponse, UpdateExperience, bulkUpdateExperienceTags, bulkUpdateExperienceTagsByFilter, createExperience, getExperience, onExperienceCreated, onExperienceTagsModified, onExperienceUpdated, queryExperiences, searchExperiences, updateExperience };
|
package/build/cjs/index.js
CHANGED
|
@@ -20,6 +20,7 @@ var __toCommonJS = (mod) => __copyProps(__defProp({}, "__esModule", { value: tru
|
|
|
20
20
|
// index.ts
|
|
21
21
|
var index_exports = {};
|
|
22
22
|
__export(index_exports, {
|
|
23
|
+
AggregationType: () => AggregationType,
|
|
23
24
|
Alignment: () => Alignment,
|
|
24
25
|
AppType: () => AppType,
|
|
25
26
|
AspectRatio: () => AspectRatio,
|
|
@@ -33,11 +34,14 @@ __export(index_exports, {
|
|
|
33
34
|
FontType: () => FontType,
|
|
34
35
|
GIFType: () => GIFType,
|
|
35
36
|
InitialExpandedItems: () => InitialExpandedItems,
|
|
37
|
+
Interval: () => Interval,
|
|
36
38
|
Layout: () => Layout,
|
|
37
39
|
LayoutType: () => LayoutType,
|
|
38
40
|
LineStyle: () => LineStyle,
|
|
39
41
|
MapType: () => MapType,
|
|
42
|
+
MissingValues: () => MissingValues,
|
|
40
43
|
Mode: () => Mode,
|
|
44
|
+
NestedAggregationType: () => NestedAggregationType,
|
|
41
45
|
NodeType: () => NodeType,
|
|
42
46
|
NullValue: () => NullValue,
|
|
43
47
|
Orientation: () => Orientation,
|
|
@@ -51,7 +55,11 @@ __export(index_exports, {
|
|
|
51
55
|
Recurrence: () => Recurrence,
|
|
52
56
|
Resizing: () => Resizing,
|
|
53
57
|
ResolutionMethod: () => ResolutionMethod,
|
|
58
|
+
ScalarType: () => ScalarType,
|
|
59
|
+
SearchDetailsMode: () => SearchDetailsMode,
|
|
60
|
+
SortDirection: () => SortDirection,
|
|
54
61
|
SortOrder: () => SortOrder,
|
|
62
|
+
SortType: () => SortType,
|
|
55
63
|
Source: () => Source,
|
|
56
64
|
StartDaysAndTimesDayOfWeek: () => StartDaysAndTimesDayOfWeek,
|
|
57
65
|
StylesPosition: () => StylesPosition,
|
|
@@ -78,6 +86,7 @@ __export(index_exports, {
|
|
|
78
86
|
onExperienceTagsModified: () => onExperienceTagsModified2,
|
|
79
87
|
onExperienceUpdated: () => onExperienceUpdated2,
|
|
80
88
|
queryExperiences: () => queryExperiences4,
|
|
89
|
+
searchExperiences: () => searchExperiences4,
|
|
81
90
|
updateExperience: () => updateExperience4
|
|
82
91
|
});
|
|
83
92
|
module.exports = __toCommonJS(index_exports);
|
|
@@ -688,6 +697,139 @@ function queryExperiences(payload) {
|
|
|
688
697
|
}
|
|
689
698
|
return __queryExperiences;
|
|
690
699
|
}
|
|
700
|
+
function searchExperiences(payload) {
|
|
701
|
+
function __searchExperiences({ host }) {
|
|
702
|
+
const serializedData = (0, import_transform_paths.transformPaths)(payload, [
|
|
703
|
+
{
|
|
704
|
+
transformFn: import_float.transformSDKFloatToRESTFloat,
|
|
705
|
+
paths: [
|
|
706
|
+
{ path: "search.aggregations.range.buckets.from" },
|
|
707
|
+
{ path: "search.aggregations.range.buckets.to" },
|
|
708
|
+
{
|
|
709
|
+
path: "search.aggregations.nested.nestedAggregations.range.buckets.from"
|
|
710
|
+
},
|
|
711
|
+
{
|
|
712
|
+
path: "search.aggregations.nested.nestedAggregations.range.buckets.to"
|
|
713
|
+
}
|
|
714
|
+
]
|
|
715
|
+
}
|
|
716
|
+
]);
|
|
717
|
+
const metadata = {
|
|
718
|
+
entityFqdn: "wix.table_reservations.v1.experience",
|
|
719
|
+
method: "GET",
|
|
720
|
+
methodFqn: "wix.table_reservations.experience.v1.ExperiencesService.SearchExperiences",
|
|
721
|
+
packageName: PACKAGE_NAME,
|
|
722
|
+
migrationOptions: {
|
|
723
|
+
optInTransformResponse: true
|
|
724
|
+
},
|
|
725
|
+
url: resolveWixTableReservationsExperienceV1ExperiencesServiceUrl({
|
|
726
|
+
protoPath: "/v1/experiences/search",
|
|
727
|
+
data: serializedData,
|
|
728
|
+
host
|
|
729
|
+
}),
|
|
730
|
+
params: (0, import_rest_modules.toURLSearchParams)(serializedData, true),
|
|
731
|
+
transformResponse: (payload2) => (0, import_transform_paths.transformPaths)(payload2, [
|
|
732
|
+
{
|
|
733
|
+
transformFn: import_timestamp2.transformRESTTimestampToSDKTimestamp,
|
|
734
|
+
paths: [
|
|
735
|
+
{ path: "experiences.createdDate" },
|
|
736
|
+
{ path: "experiences.updatedDate" },
|
|
737
|
+
{
|
|
738
|
+
path: "experiences.configuration.displayInfo.richContent.metadata.createdTimestamp"
|
|
739
|
+
},
|
|
740
|
+
{
|
|
741
|
+
path: "experiences.configuration.displayInfo.richContent.metadata.updatedTimestamp"
|
|
742
|
+
}
|
|
743
|
+
]
|
|
744
|
+
},
|
|
745
|
+
{
|
|
746
|
+
transformFn: import_float2.transformRESTFloatToSDKFloat,
|
|
747
|
+
paths: [
|
|
748
|
+
{
|
|
749
|
+
path: "experiences.configuration.displayInfo.richContent.nodes.galleryData.items.image.media.duration"
|
|
750
|
+
},
|
|
751
|
+
{
|
|
752
|
+
path: "experiences.configuration.displayInfo.richContent.nodes.galleryData.items.video.media.duration"
|
|
753
|
+
},
|
|
754
|
+
{
|
|
755
|
+
path: "experiences.configuration.displayInfo.richContent.nodes.galleryData.items.video.thumbnail.duration"
|
|
756
|
+
},
|
|
757
|
+
{
|
|
758
|
+
path: "experiences.configuration.displayInfo.richContent.nodes.galleryData.options.item.ratio"
|
|
759
|
+
},
|
|
760
|
+
{
|
|
761
|
+
path: "experiences.configuration.displayInfo.richContent.nodes.imageData.image.duration"
|
|
762
|
+
},
|
|
763
|
+
{
|
|
764
|
+
path: "experiences.configuration.displayInfo.richContent.nodes.mapData.mapSettings.lat"
|
|
765
|
+
},
|
|
766
|
+
{
|
|
767
|
+
path: "experiences.configuration.displayInfo.richContent.nodes.mapData.mapSettings.lng"
|
|
768
|
+
},
|
|
769
|
+
{
|
|
770
|
+
path: "experiences.configuration.displayInfo.richContent.nodes.pollData.poll.image.duration"
|
|
771
|
+
},
|
|
772
|
+
{
|
|
773
|
+
path: "experiences.configuration.displayInfo.richContent.nodes.pollData.poll.options.image.duration"
|
|
774
|
+
},
|
|
775
|
+
{
|
|
776
|
+
path: "experiences.configuration.displayInfo.richContent.nodes.pollData.design.poll.background.image.duration"
|
|
777
|
+
},
|
|
778
|
+
{
|
|
779
|
+
path: "experiences.configuration.displayInfo.richContent.nodes.appEmbedData.image.duration"
|
|
780
|
+
},
|
|
781
|
+
{
|
|
782
|
+
path: "experiences.configuration.displayInfo.richContent.nodes.videoData.video.duration"
|
|
783
|
+
},
|
|
784
|
+
{
|
|
785
|
+
path: "experiences.configuration.displayInfo.richContent.nodes.videoData.thumbnail.duration"
|
|
786
|
+
},
|
|
787
|
+
{
|
|
788
|
+
path: "experiences.configuration.displayInfo.richContent.nodes.audioData.audio.duration"
|
|
789
|
+
},
|
|
790
|
+
{
|
|
791
|
+
path: "experiences.configuration.displayInfo.richContent.nodes.audioData.coverImage.duration"
|
|
792
|
+
},
|
|
793
|
+
{ path: "aggregationData.results.ranges.results.from" },
|
|
794
|
+
{ path: "aggregationData.results.ranges.results.to" },
|
|
795
|
+
{
|
|
796
|
+
path: "aggregationData.results.groupedByValue.results.nestedResults.ranges.results.from"
|
|
797
|
+
},
|
|
798
|
+
{
|
|
799
|
+
path: "aggregationData.results.groupedByValue.results.nestedResults.ranges.results.to"
|
|
800
|
+
},
|
|
801
|
+
{
|
|
802
|
+
path: "aggregationData.results.nested.results.results.*.range.from"
|
|
803
|
+
},
|
|
804
|
+
{
|
|
805
|
+
path: "aggregationData.results.nested.results.results.*.range.to"
|
|
806
|
+
},
|
|
807
|
+
{ path: "aggregationData.results.scalar.value" },
|
|
808
|
+
{
|
|
809
|
+
path: "aggregationData.results.groupedByValue.results.nestedResults.scalar.value"
|
|
810
|
+
},
|
|
811
|
+
{
|
|
812
|
+
path: "aggregationData.results.nested.results.results.*.scalar.value"
|
|
813
|
+
}
|
|
814
|
+
]
|
|
815
|
+
}
|
|
816
|
+
]),
|
|
817
|
+
fallback: [
|
|
818
|
+
{
|
|
819
|
+
method: "POST",
|
|
820
|
+
url: resolveWixTableReservationsExperienceV1ExperiencesServiceUrl({
|
|
821
|
+
protoPath: "/v1/experiences/search",
|
|
822
|
+
data: serializedData,
|
|
823
|
+
host
|
|
824
|
+
}),
|
|
825
|
+
data: serializedData
|
|
826
|
+
}
|
|
827
|
+
]
|
|
828
|
+
};
|
|
829
|
+
return metadata;
|
|
830
|
+
}
|
|
831
|
+
return __searchExperiences;
|
|
832
|
+
}
|
|
691
833
|
function bulkUpdateExperienceTags(payload) {
|
|
692
834
|
function __bulkUpdateExperienceTags({ host }) {
|
|
693
835
|
const metadata = {
|
|
@@ -1056,6 +1198,61 @@ var SortOrder = /* @__PURE__ */ ((SortOrder2) => {
|
|
|
1056
1198
|
SortOrder2["DESC"] = "DESC";
|
|
1057
1199
|
return SortOrder2;
|
|
1058
1200
|
})(SortOrder || {});
|
|
1201
|
+
var SortType = /* @__PURE__ */ ((SortType2) => {
|
|
1202
|
+
SortType2["COUNT"] = "COUNT";
|
|
1203
|
+
SortType2["VALUE"] = "VALUE";
|
|
1204
|
+
return SortType2;
|
|
1205
|
+
})(SortType || {});
|
|
1206
|
+
var SortDirection = /* @__PURE__ */ ((SortDirection2) => {
|
|
1207
|
+
SortDirection2["DESC"] = "DESC";
|
|
1208
|
+
SortDirection2["ASC"] = "ASC";
|
|
1209
|
+
return SortDirection2;
|
|
1210
|
+
})(SortDirection || {});
|
|
1211
|
+
var MissingValues = /* @__PURE__ */ ((MissingValues2) => {
|
|
1212
|
+
MissingValues2["EXCLUDE"] = "EXCLUDE";
|
|
1213
|
+
MissingValues2["INCLUDE"] = "INCLUDE";
|
|
1214
|
+
return MissingValues2;
|
|
1215
|
+
})(MissingValues || {});
|
|
1216
|
+
var ScalarType = /* @__PURE__ */ ((ScalarType2) => {
|
|
1217
|
+
ScalarType2["UNKNOWN_SCALAR_TYPE"] = "UNKNOWN_SCALAR_TYPE";
|
|
1218
|
+
ScalarType2["COUNT_DISTINCT"] = "COUNT_DISTINCT";
|
|
1219
|
+
ScalarType2["MIN"] = "MIN";
|
|
1220
|
+
ScalarType2["MAX"] = "MAX";
|
|
1221
|
+
return ScalarType2;
|
|
1222
|
+
})(ScalarType || {});
|
|
1223
|
+
var NestedAggregationType = /* @__PURE__ */ ((NestedAggregationType2) => {
|
|
1224
|
+
NestedAggregationType2["UNKNOWN_AGGREGATION_TYPE"] = "UNKNOWN_AGGREGATION_TYPE";
|
|
1225
|
+
NestedAggregationType2["VALUE"] = "VALUE";
|
|
1226
|
+
NestedAggregationType2["RANGE"] = "RANGE";
|
|
1227
|
+
NestedAggregationType2["SCALAR"] = "SCALAR";
|
|
1228
|
+
NestedAggregationType2["DATE_HISTOGRAM"] = "DATE_HISTOGRAM";
|
|
1229
|
+
return NestedAggregationType2;
|
|
1230
|
+
})(NestedAggregationType || {});
|
|
1231
|
+
var Interval = /* @__PURE__ */ ((Interval2) => {
|
|
1232
|
+
Interval2["UNKNOWN_INTERVAL"] = "UNKNOWN_INTERVAL";
|
|
1233
|
+
Interval2["YEAR"] = "YEAR";
|
|
1234
|
+
Interval2["MONTH"] = "MONTH";
|
|
1235
|
+
Interval2["WEEK"] = "WEEK";
|
|
1236
|
+
Interval2["DAY"] = "DAY";
|
|
1237
|
+
Interval2["HOUR"] = "HOUR";
|
|
1238
|
+
Interval2["MINUTE"] = "MINUTE";
|
|
1239
|
+
Interval2["SECOND"] = "SECOND";
|
|
1240
|
+
return Interval2;
|
|
1241
|
+
})(Interval || {});
|
|
1242
|
+
var AggregationType = /* @__PURE__ */ ((AggregationType2) => {
|
|
1243
|
+
AggregationType2["UNKNOWN_AGGREGATION_TYPE"] = "UNKNOWN_AGGREGATION_TYPE";
|
|
1244
|
+
AggregationType2["VALUE"] = "VALUE";
|
|
1245
|
+
AggregationType2["RANGE"] = "RANGE";
|
|
1246
|
+
AggregationType2["SCALAR"] = "SCALAR";
|
|
1247
|
+
AggregationType2["DATE_HISTOGRAM"] = "DATE_HISTOGRAM";
|
|
1248
|
+
AggregationType2["NESTED"] = "NESTED";
|
|
1249
|
+
return AggregationType2;
|
|
1250
|
+
})(AggregationType || {});
|
|
1251
|
+
var SearchDetailsMode = /* @__PURE__ */ ((SearchDetailsMode2) => {
|
|
1252
|
+
SearchDetailsMode2["OR"] = "OR";
|
|
1253
|
+
SearchDetailsMode2["AND"] = "AND";
|
|
1254
|
+
return SearchDetailsMode2;
|
|
1255
|
+
})(SearchDetailsMode || {});
|
|
1059
1256
|
var PlacementType = /* @__PURE__ */ ((PlacementType2) => {
|
|
1060
1257
|
PlacementType2["BEFORE"] = "BEFORE";
|
|
1061
1258
|
PlacementType2["AFTER"] = "AFTER";
|
|
@@ -1320,6 +1517,48 @@ function queryExperiences2() {
|
|
|
1320
1517
|
transformationPaths: {}
|
|
1321
1518
|
});
|
|
1322
1519
|
}
|
|
1520
|
+
async function searchExperiences2(search) {
|
|
1521
|
+
const { httpClient, sideEffects } = arguments[1];
|
|
1522
|
+
const payload = (0, import_rename_all_nested_keys.renameKeysFromSDKRequestToRESTRequest)({ search }, []);
|
|
1523
|
+
const reqOpts = searchExperiences(payload);
|
|
1524
|
+
sideEffects?.onSiteCall?.();
|
|
1525
|
+
try {
|
|
1526
|
+
const result = await httpClient.request(reqOpts);
|
|
1527
|
+
sideEffects?.onSuccess?.(result);
|
|
1528
|
+
return (0, import_rename_all_nested_keys.renameKeysFromRESTResponseToSDKResponse)(
|
|
1529
|
+
(0, import_transform_paths2.transformPaths)(result.data, [
|
|
1530
|
+
{
|
|
1531
|
+
transformFn: import_image2.transformRESTImageToSDKImage,
|
|
1532
|
+
paths: [{ path: "experiences.configuration.displayInfo.coverImage" }]
|
|
1533
|
+
},
|
|
1534
|
+
{
|
|
1535
|
+
transformFn: import_page_url_v22.transformRESTPageURLV2ToSDKPageURLV2,
|
|
1536
|
+
paths: [
|
|
1537
|
+
{
|
|
1538
|
+
path: "experiences.configuration.reservationForm.privacyPolicy.url"
|
|
1539
|
+
},
|
|
1540
|
+
{
|
|
1541
|
+
path: "experiences.configuration.reservationForm.termsAndConditions.url"
|
|
1542
|
+
}
|
|
1543
|
+
]
|
|
1544
|
+
}
|
|
1545
|
+
]),
|
|
1546
|
+
["experiences.configuration.displayInfo.richContent"]
|
|
1547
|
+
);
|
|
1548
|
+
} catch (err) {
|
|
1549
|
+
const transformedError = (0, import_transform_error.transformError)(
|
|
1550
|
+
err,
|
|
1551
|
+
{
|
|
1552
|
+
spreadPathsToArguments: {},
|
|
1553
|
+
explicitPathsToArguments: { search: "$[0]" },
|
|
1554
|
+
singleArgumentUnchanged: false
|
|
1555
|
+
},
|
|
1556
|
+
["search"]
|
|
1557
|
+
);
|
|
1558
|
+
sideEffects?.onError?.(err);
|
|
1559
|
+
throw transformedError;
|
|
1560
|
+
}
|
|
1561
|
+
}
|
|
1323
1562
|
async function bulkUpdateExperienceTags2(experienceIds, options) {
|
|
1324
1563
|
const { httpClient, sideEffects } = arguments[2];
|
|
1325
1564
|
const payload = (0, import_rename_all_nested_keys.renameKeysFromSDKRequestToRESTRequest)(
|
|
@@ -1422,6 +1661,13 @@ function queryExperiences3(httpClient) {
|
|
|
1422
1661
|
{ httpClient }
|
|
1423
1662
|
);
|
|
1424
1663
|
}
|
|
1664
|
+
function searchExperiences3(httpClient) {
|
|
1665
|
+
return (search) => searchExperiences2(
|
|
1666
|
+
search,
|
|
1667
|
+
// @ts-ignore
|
|
1668
|
+
{ httpClient }
|
|
1669
|
+
);
|
|
1670
|
+
}
|
|
1425
1671
|
function bulkUpdateExperienceTags3(httpClient) {
|
|
1426
1672
|
return (experienceIds, options) => bulkUpdateExperienceTags2(
|
|
1427
1673
|
experienceIds,
|
|
@@ -1705,6 +1951,7 @@ var createExperience4 = /* @__PURE__ */ (0, import_rest_modules3.createRESTModul
|
|
|
1705
1951
|
var getExperience4 = /* @__PURE__ */ (0, import_rest_modules3.createRESTModule)(getExperience3);
|
|
1706
1952
|
var updateExperience4 = /* @__PURE__ */ (0, import_rest_modules3.createRESTModule)(updateExperience3);
|
|
1707
1953
|
var queryExperiences4 = /* @__PURE__ */ (0, import_rest_modules3.createRESTModule)(queryExperiences3);
|
|
1954
|
+
var searchExperiences4 = /* @__PURE__ */ (0, import_rest_modules3.createRESTModule)(searchExperiences3);
|
|
1708
1955
|
var bulkUpdateExperienceTags4 = /* @__PURE__ */ (0, import_rest_modules3.createRESTModule)(bulkUpdateExperienceTags3);
|
|
1709
1956
|
var bulkUpdateExperienceTagsByFilter4 = /* @__PURE__ */ (0, import_rest_modules3.createRESTModule)(bulkUpdateExperienceTagsByFilter3);
|
|
1710
1957
|
var onExperienceCreated2 = (0, import_event_definition_modules.createEventModule)(
|
|
@@ -1718,6 +1965,7 @@ var onExperienceUpdated2 = (0, import_event_definition_modules.createEventModule
|
|
|
1718
1965
|
);
|
|
1719
1966
|
// Annotate the CommonJS export names for ESM import in node:
|
|
1720
1967
|
0 && (module.exports = {
|
|
1968
|
+
AggregationType,
|
|
1721
1969
|
Alignment,
|
|
1722
1970
|
AppType,
|
|
1723
1971
|
AspectRatio,
|
|
@@ -1731,11 +1979,14 @@ var onExperienceUpdated2 = (0, import_event_definition_modules.createEventModule
|
|
|
1731
1979
|
FontType,
|
|
1732
1980
|
GIFType,
|
|
1733
1981
|
InitialExpandedItems,
|
|
1982
|
+
Interval,
|
|
1734
1983
|
Layout,
|
|
1735
1984
|
LayoutType,
|
|
1736
1985
|
LineStyle,
|
|
1737
1986
|
MapType,
|
|
1987
|
+
MissingValues,
|
|
1738
1988
|
Mode,
|
|
1989
|
+
NestedAggregationType,
|
|
1739
1990
|
NodeType,
|
|
1740
1991
|
NullValue,
|
|
1741
1992
|
Orientation,
|
|
@@ -1749,7 +2000,11 @@ var onExperienceUpdated2 = (0, import_event_definition_modules.createEventModule
|
|
|
1749
2000
|
Recurrence,
|
|
1750
2001
|
Resizing,
|
|
1751
2002
|
ResolutionMethod,
|
|
2003
|
+
ScalarType,
|
|
2004
|
+
SearchDetailsMode,
|
|
2005
|
+
SortDirection,
|
|
1752
2006
|
SortOrder,
|
|
2007
|
+
SortType,
|
|
1753
2008
|
Source,
|
|
1754
2009
|
StartDaysAndTimesDayOfWeek,
|
|
1755
2010
|
StylesPosition,
|
|
@@ -1776,6 +2031,7 @@ var onExperienceUpdated2 = (0, import_event_definition_modules.createEventModule
|
|
|
1776
2031
|
onExperienceTagsModified,
|
|
1777
2032
|
onExperienceUpdated,
|
|
1778
2033
|
queryExperiences,
|
|
2034
|
+
searchExperiences,
|
|
1779
2035
|
updateExperience
|
|
1780
2036
|
});
|
|
1781
2037
|
//# sourceMappingURL=index.js.map
|