@wix/auto_sdk_table-reservations_experiences 1.0.41 → 1.0.42
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 +22 -3
- package/build/cjs/index.js +373 -0
- package/build/cjs/index.js.map +1 -1
- package/build/cjs/index.typings.d.ts +2 -2
- package/build/cjs/index.typings.js +364 -0
- package/build/cjs/index.typings.js.map +1 -1
- package/build/cjs/meta.d.ts +10 -3
- package/build/cjs/meta.js +307 -0
- package/build/cjs/meta.js.map +1 -1
- package/build/cjs/schemas.d.ts +361 -1
- package/build/cjs/schemas.js +595 -0
- package/build/cjs/schemas.js.map +1 -1
- package/build/cjs/{table-reservations-v1-experience-experiences.universal-BYE3AFrH.d.ts → table-reservations-v1-experience-experiences.universal-y3E_tS1X.d.ts} +38 -2
- package/build/es/index.d.mts +22 -3
- package/build/es/index.mjs +372 -0
- package/build/es/index.mjs.map +1 -1
- package/build/es/index.typings.d.mts +2 -2
- package/build/es/index.typings.mjs +363 -0
- package/build/es/index.typings.mjs.map +1 -1
- package/build/es/meta.d.mts +10 -3
- package/build/es/meta.mjs +306 -0
- package/build/es/meta.mjs.map +1 -1
- package/build/es/schemas.d.mts +361 -1
- package/build/es/schemas.mjs +593 -0
- package/build/es/schemas.mjs.map +1 -1
- package/build/es/{table-reservations-v1-experience-experiences.universal-BYE3AFrH.d.mts → table-reservations-v1-experience-experiences.universal-y3E_tS1X.d.mts} +38 -2
- package/build/internal/cjs/index.d.ts +22 -3
- package/build/internal/cjs/index.js +373 -0
- package/build/internal/cjs/index.js.map +1 -1
- package/build/internal/cjs/index.typings.d.ts +2 -2
- package/build/internal/cjs/index.typings.js +364 -0
- package/build/internal/cjs/index.typings.js.map +1 -1
- package/build/internal/cjs/meta.d.ts +10 -3
- package/build/internal/cjs/meta.js +307 -0
- package/build/internal/cjs/meta.js.map +1 -1
- package/build/internal/cjs/schemas.d.ts +361 -1
- package/build/internal/cjs/schemas.js +595 -0
- package/build/internal/cjs/schemas.js.map +1 -1
- package/build/internal/cjs/{table-reservations-v1-experience-experiences.universal-BYE3AFrH.d.ts → table-reservations-v1-experience-experiences.universal-y3E_tS1X.d.ts} +38 -2
- package/build/internal/es/index.d.mts +22 -3
- package/build/internal/es/index.mjs +372 -0
- package/build/internal/es/index.mjs.map +1 -1
- package/build/internal/es/index.typings.d.mts +2 -2
- package/build/internal/es/index.typings.mjs +363 -0
- package/build/internal/es/index.typings.mjs.map +1 -1
- package/build/internal/es/meta.d.mts +10 -3
- package/build/internal/es/meta.mjs +306 -0
- package/build/internal/es/meta.mjs.map +1 -1
- package/build/internal/es/schemas.d.mts +361 -1
- package/build/internal/es/schemas.mjs +593 -0
- package/build/internal/es/schemas.mjs.map +1 -1
- package/build/internal/es/{table-reservations-v1-experience-experiences.universal-BYE3AFrH.d.mts → table-reservations-v1-experience-experiences.universal-y3E_tS1X.d.mts} +38 -2
- package/package.json +2 -2
|
@@ -1,5 +1,5 @@
|
|
|
1
|
-
import {
|
|
2
|
-
export { eM as AccountInfo, eP as AccountInfoMetadata, eI as ActionEvent, em as Address, en as AddressHint, dx as Aggregation, dK as AggregationData, dy as AggregationKindOneOf, e1 as AggregationResults, e2 as AggregationResultsResultOneOf, dR as AggregationResultsScalarResult, aA as AggregationType, f_ as AggregationTypeWithLiterals, a5 as Alignment, fv as AlignmentWithLiterals, c1 as AnchorData, d6 as App, c8 as AppEmbedData, c9 as AppEmbedDataAppDataOneOf, a7 as AppType, fx as AppTypeWithLiterals, e7 as ApplicationError, aS as Approval, a1 as AspectRatio, fr as AspectRatioWithLiterals, ct as AudioData, cC as Backdrop, ah as BackdropType, fH as BackdropTypeWithLiterals, b8 as Background, bS as BackgroundGradient, cI as BackgroundImage, s as BackgroundType, f0 as BackgroundTypeWithLiterals, cA as Banner, af as BannerPosition, fF as BannerPositionWithLiterals, eN as BaseEventMetadata, cw as BlockquoteData, ca as BookingData, b6 as Border, cq as BorderColors, cr as BorderWidths, e9 as BulkActionMetadata, ed as BulkArchiveExperiencesRequest, h as BulkArchiveExperiencesResponse, ee as BulkArchiveExperiencesResult, ef as BulkUnarchiveExperiencesRequest, i as BulkUnarchiveExperiencesResponse, eg as BulkUnarchiveExperiencesResult, d as BulkUpdateExperienceTagsApplicationErrors, g as BulkUpdateExperienceTagsByFilterApplicationErrors, e as BulkUpdateExperienceTagsByFilterOptions, ec as BulkUpdateExperienceTagsByFilterRequest, f as BulkUpdateExperienceTagsByFilterResponse, B as BulkUpdateExperienceTagsOptions, ea as BulkUpdateExperienceTagsRequest, c as BulkUpdateExperienceTagsResponse, eb as BulkUpdateExperienceTagsResult, e3 as BulkUpdateExperiencesRequest, e5 as BulkUpdateExperiencesResponse, e8 as BulkUpdateExperiencesResult, cv as BulletedListData, ep as BusinessSchedule, b3 as ButtonData, v as ButtonDataType, f4 as ButtonDataTypeWithLiterals, cc as ButtonStyles, cx as CaptionData, cG as CardData, cH as CardDataBackground, an as CardDataBackgroundType, fN as CardDataBackgroundTypeWithLiterals, cf as CardStyles, ek as Categories, cp as CellStyle, ew as ChangeContext, ex as ChangeContextPayloadOneOf, bi as CodeBlockData, cl as CollapsibleListData, c2 as ColorData, b7 as Colors, ar as ColumnSize, fR as ColumnSizeWithLiterals, g4 as CommonQueryWithEntityContext, g5 as CommonSearchWithEntityContext, cX as Configuration, eu as ConsentPolicy, de as CreateExperienceRequest, df as CreateExperienceResponse, C as Crop, fd as CropWithLiterals, dq as CursorPaging, ds as CursorPagingMetadata, dm as CursorQuery, dn as CursorQueryPagingMethodOneOf, dw as CursorSearchPagingMethodOneOf, dt as Cursors, aZ as CustomFieldDefinition, da as CustomTag, dF as DateHistogramAggregation, dZ as DateHistogramResult, d$ as DateHistogramResults, aD as DayOfWeek, g1 as DayOfWeekWithLiterals, b$ as Decoration, c0 as DecorationDataOneOf, _ as DecorationType, fo as DecorationTypeWithLiterals, bZ as Design, ak as DesignTarget, fK as DesignTargetWithLiterals, cn as Dimensions, a9 as Direction, fz as DirectionWithLiterals, cQ as DisplayInfo, bk as DividerData, D as DividerDataAlignment, f9 as DividerDataAlignmentWithLiterals, cN as DocumentStyle, eC as DomainEvent, eD as DomainEventBodyOneOf, a_ as EmailMarketingCheckbox, cj as EmbedData, eB as Empty, eE as EntityCreatedEvent, eH as EntityDeletedEvent, eG as EntityUpdatedEvent, aO as Entry, aP as EntryRecurrenceOptionsOneOf, cb as EventData, eO as EventMetadata, E as Experience, j as ExperienceCreatedEnvelope, n as ExperienceQuery, eR as ExperienceQuerySpec, eS as ExperienceSearchSpec, k as ExperienceTagsModifiedEnvelope, l as ExperienceUpdatedEnvelope, m as ExperiencesQueryBuilder, eQ as ExperiencesQueryResult, cY as ExtendedFields, d9 as File, bl as FileData, bm as FileSource, bn as FileSourceDataOneOf, c7 as FontFamilyData, c5 as FontSizeData, $ as FontType, fp as FontTypeWithLiterals, bA as GIF, bz as GIFData, F as GIFType, ff as GIFTypeWithLiterals, bp as GalleryData, bv as GalleryOptions, bw as GalleryOptionsLayout, eo as GeoCoordinates, di as GetExperienceBySlugRequest, G as GetExperienceBySlugResponse, dg as GetExperienceRequest, dh as GetExperienceResponse, b4 as Gradient, u as GradientType, f1 as GradientTypeWithLiterals, d_ as GroupByValueResults, bC as HTMLData, bD as HTMLDataDataOneOf, bB as HeadingData, bd as Height, eK as IdentificationData, eL as IdentificationDataIdOneOf, br as Image, bE as ImageData, bG as ImageDataStyles, ad as ImagePosition, am as ImagePositionPosition, fM as ImagePositionPositionWithLiterals, fD as ImagePositionWithLiterals, ac as ImageScalingScaling, fC as ImageScalingScalingWithLiterals, cd as ImageStyles, dA as IncludeMissingValuesOptions, ap as Indentation, fP as IndentationWithLiterals, a8 as InitialExpandedItems, fy as InitialExpandedItemsWithLiterals, az as Interval, fZ as IntervalWithLiterals, d4 as InvalidateCache, d5 as InvalidateCacheGetByOneOf, bt as Item, bu as ItemDataOneOf, e6 as ItemMetadata, bx as ItemStyle, d1 as Keyword, a6 as Layout, cD as LayoutCellData, cy as LayoutData, cB as LayoutDataBackground, cz as LayoutDataBackgroundImage, ag as LayoutDataBackgroundType, fG as LayoutDataBackgroundTypeWithLiterals, z as LayoutType, fb as LayoutTypeWithLiterals, fw as LayoutWithLiterals, L as LineStyle, f7 as LineStyleWithLiterals, bf as Link, c3 as LinkData, bg as LinkDataOneOf, bH as LinkPreviewData, bI as LinkPreviewDataStyles, ao as ListStyle, fO as ListStyleWithLiterals, cs as ListValue, el as Locale, bJ as MapData, bK as MapSettings, J as MapType, fi as MapTypeWithLiterals, e4 as MaskedExperience, aT as MaxGuests, bq as Media, c4 as MentionData, eJ as MessageEnvelope, cM as Metadata, aw as MissingValues, fW as MissingValuesWithLiterals, M as Mode, eY as ModeWithLiterals, es as Multilingual, dI as NestedAggregation, dG as NestedAggregationItem, dH as NestedAggregationItemKindOneOf, dN as NestedAggregationResults, dO as NestedAggregationResultsResultOneOf, ay as NestedAggregationType, fY as NestedAggregationTypeWithLiterals, dW as NestedResultValue, dX as NestedResultValueResultOneOf, e0 as NestedResults, dS as NestedValueAggregationResult, b0 as Node, b1 as NodeDataOneOf, b2 as NodeStyle, N as NodeType, e$ as NodeTypeWithLiterals, aR as NoticePeriod, ab as NullValue, fB as NullValueWithLiterals, ck as Oembed, aJ as OnOptions, aK as OnOptionsOptionsOneOf, aN as OneTimeOptions, cT as OnlineReservations, aU as OnlineReservationsBusinessSchedule, bO as Option, bW as OptionDesign, bR as OptionLayout, cu as OrderedListData, O as Orientation, fc as OrientationWithLiterals, ae as Origin, fE as OriginWithLiterals, bo as PDFSettings, d7 as Page, db as Pages, bL as ParagraphData, aQ as PartySize, cR as PaymentPolicy, cS as PaymentPolicyOptionsOneOf, as as PaymentPolicyType, fS as PaymentPolicyTypeWithLiterals, cP as PerGuestOptions, bN as Permissions, a3 as Placement, aC as PlacementType, g0 as PlacementTypeWithLiterals, ft as PlacementWithLiterals, ci as PlaybackOptions, b9 as PluginContainerData, P as PluginContainerDataAlignment, f3 as PluginContainerDataAlignmentWithLiterals, ba as PluginContainerDataWidth, bb as PluginContainerDataWidthDataOneOf, bX as Poll, bM as PollData, bY as PollDataLayout, bV as PollDesign, bT as PollDesignBackground, bU as PollDesignBackgroundBackgroundOneOf, Z as PollDesignBackgroundType, fn as PollDesignBackgroundTypeWithLiterals, bQ as PollLayout, Y as PollLayoutDirection, fm as PollLayoutDirectionWithLiterals, X as PollLayoutType, fl as PollLayoutTypeWithLiterals, bP as PollSettings, a0 as Position, fq as PositionWithLiterals, cg as PricingData, aV as PrivacyPolicy, aW as PrivacyPolicyValueOneOf, ej as Properties, ey as PropertiesChange, dl as QueryExperiencesRequest, dr as QueryExperiencesResponse, dD as RangeAggregation, dM as RangeAggregationResult, dz as RangeBucket, dU as RangeResult, dQ as RangeResults, R as Recurrence, e_ as RecurrenceWithLiterals, bh as Rel, cU as ReservationForm, a2 as Resizing, fs as ResizingWithLiterals, aE as ResolutionMethod, g2 as ResolutionMethodWithLiterals, aj as ResponsivenessBehaviour, fJ as ResponsivenessBehaviourWithLiterals, eF as RestoreInfo, dY as Results, ce as RibbonStyles, a$ as RichContent, dE as ScalarAggregation, dV as ScalarResult, ax as ScalarType, fX as ScalarTypeWithLiterals, al as Scaling, fL as ScalingWithLiterals, dJ as SearchDetails, aB as SearchDetailsMode, f$ as SearchDetailsModeWithLiterals, du as SearchExperiencesRequest, d0 as SeoSchema, c$ as SeoSettings, d3 as Settings, cE as ShapeData, cF as ShapeDataStyles, eA as SiteCloned, ez as SiteCreated, ei as SitePropertiesEvent, eh as SitePropertiesNotification, cL as SmartBlockCellData, cK as SmartBlockData, aq as SmartBlockDataType, fQ as SmartBlockDataTypeWithLiterals, av as SortDirection, fV as SortDirectionWithLiterals, at as SortOrder, fT as SortOrderWithLiterals, au as SortType, fU as SortTypeWithLiterals, dp as Sorting, H as Source, fg as SourceWithLiterals, er as SpecialHourPeriod, aI as SpecificTablesOptions, bc as Spoiler, c6 as SpoilerData, aL as StartDaysAndTimes, r as StartDaysAndTimesDayOfWeek, eZ as StartDaysAndTimesDayOfWeekWithLiterals, b5 as Stop, be as Styles, bF as StylesBorder, I as StylesPosition, fh as StylesPositionWithLiterals, et as SupportedLanguage, aG as Table, o as TableAssignmentType, eV as TableAssignmentTypeWithLiterals, T as TableAvailabilityType, eU as TableAvailabilityTypeWithLiterals, co as TableCellData, aH as TableCombination, cm as TableData, cV as TableManagement, p as TableManagementMode, eW as TableManagementModeWithLiterals, cW as TableManagementOptionsOneOf, d2 as Tag, c_ as TagList, cZ as Tags, dd as TagsModified, w as Target, f5 as TargetWithLiterals, aX as TermsAndConditions, aY as TermsAndConditionsValueOneOf, x as TextAlignment, f6 as TextAlignmentWithLiterals, b_ as TextData, cO as TextNodeStyle, bj as TextStyle, by as Thumbnails, A as ThumbnailsAlignment, fe as ThumbnailsAlignmentWithLiterals, eq as TimePeriod, cJ as TocData, ev as Translation, a4 as Type, fu as TypeWithLiterals, d8 as URI, dc as URIs, q as Unit, eX as UnitWithLiterals, U as UpdateExperience, a as UpdateExperienceApplicationErrors, dj as UpdateExperienceRequest, dk as UpdateExperienceResponse, dB as ValueAggregation, dC as ValueAggregationOptionsOneOf, dL as ValueAggregationResult, dT as ValueResult, dP as ValueResults, aa as VerticalAlignment, ai as VerticalAlignmentAlignment, fI as VerticalAlignmentAlignmentWithLiterals, fA as VerticalAlignmentWithLiterals, bs as Video, ch as VideoData, V as ViewMode, fa as ViewModeWithLiterals, K as ViewRole, fj as ViewRoleWithLiterals, Q as VoteRole, fk as VoteRoleWithLiterals, aF as WebhookIdentityType, g3 as WebhookIdentityTypeWithLiterals, aM as WeeklyOptions, y as Width, W as WidthType, f2 as WidthTypeWithLiterals, f8 as WidthWithLiterals, gg as bulkArchiveExperiences, gh as bulkUnarchiveExperiences, ge as bulkUpdateExperienceTags, gf as bulkUpdateExperienceTagsByFilter, g9 as createExperience, ga as getExperience, gb as getExperienceBySlug, g6 as onExperienceCreated, g7 as onExperienceTagsModified, g8 as onExperienceUpdated, gd as queryExperiences, t as typedQueryExperiences, gc as updateExperience, eT as utils } from './table-reservations-v1-experience-experiences.universal-BYE3AFrH.mjs';
|
|
1
|
+
import { dz as CursorSearch, S as SearchExperiencesResponse } from './table-reservations-v1-experience-experiences.universal-y3E_tS1X.mjs';
|
|
2
|
+
export { eO as AccountInfo, eR as AccountInfoMetadata, eK as ActionEvent, eo as Address, ep as AddressHint, dB as Aggregation, dO as AggregationData, dC as AggregationKindOneOf, e5 as AggregationResults, e6 as AggregationResultsResultOneOf, dV as AggregationResultsScalarResult, aE as AggregationType, g0 as AggregationTypeWithLiterals, a9 as Alignment, fx as AlignmentWithLiterals, c5 as AnchorData, da as App, cc as AppEmbedData, cd as AppEmbedDataAppDataOneOf, ab as AppType, fz as AppTypeWithLiterals, e9 as ApplicationError, aW as Approval, a5 as AspectRatio, ft as AspectRatioWithLiterals, cx as AudioData, cG as Backdrop, al as BackdropType, fJ as BackdropTypeWithLiterals, bc as Background, bW as BackgroundGradient, cM as BackgroundImage, x as BackgroundType, f2 as BackgroundTypeWithLiterals, cE as Banner, aj as BannerPosition, fH as BannerPositionWithLiterals, eP as BaseEventMetadata, cA as BlockquoteData, ce as BookingData, ba as Border, cu as BorderColors, cv as BorderWidths, eb as BulkActionMetadata, ef as BulkArchiveExperiencesRequest, k as BulkArchiveExperiencesResponse, eg as BulkArchiveExperiencesResult, eh as BulkUnarchiveExperiencesRequest, l as BulkUnarchiveExperiencesResponse, ei as BulkUnarchiveExperiencesResult, g as BulkUpdateExperienceTagsApplicationErrors, j as BulkUpdateExperienceTagsByFilterApplicationErrors, h as BulkUpdateExperienceTagsByFilterOptions, ee as BulkUpdateExperienceTagsByFilterRequest, i as BulkUpdateExperienceTagsByFilterResponse, e as BulkUpdateExperienceTagsOptions, ec as BulkUpdateExperienceTagsRequest, f as BulkUpdateExperienceTagsResponse, ed as BulkUpdateExperienceTagsResult, d as BulkUpdateExperiencesApplicationErrors, B as BulkUpdateExperiencesOptions, e7 as BulkUpdateExperiencesRequest, c as BulkUpdateExperiencesResponse, ea as BulkUpdateExperiencesResult, cz as BulletedListData, er as BusinessSchedule, b7 as ButtonData, z as ButtonDataType, f6 as ButtonDataTypeWithLiterals, cg as ButtonStyles, cB as CaptionData, cK as CardData, cL as CardDataBackground, ar as CardDataBackgroundType, fP as CardDataBackgroundTypeWithLiterals, cj as CardStyles, em as Categories, ct as CellStyle, ey as ChangeContext, ez as ChangeContextPayloadOneOf, bm as CodeBlockData, cp as CollapsibleListData, c6 as ColorData, bb as Colors, av as ColumnSize, fT as ColumnSizeWithLiterals, g6 as CommonQueryWithEntityContext, g7 as CommonSearchWithEntityContext, c$ as Configuration, ew as ConsentPolicy, di as CreateExperienceRequest, dj as CreateExperienceResponse, I as Crop, ff as CropWithLiterals, du as CursorPaging, dw as CursorPagingMetadata, dr as CursorQuery, ds as CursorQueryPagingMethodOneOf, dA as CursorSearchPagingMethodOneOf, dx as Cursors, b1 as CustomFieldDefinition, de as CustomTag, dJ as DateHistogramAggregation, e1 as DateHistogramResult, e3 as DateHistogramResults, aH as DayOfWeek, g3 as DayOfWeekWithLiterals, c3 as Decoration, c4 as DecorationDataOneOf, a2 as DecorationType, fq as DecorationTypeWithLiterals, c1 as Design, ao as DesignTarget, fM as DesignTargetWithLiterals, cr as Dimensions, ad as Direction, fB as DirectionWithLiterals, cU as DisplayInfo, bo as DividerData, F as DividerDataAlignment, fb as DividerDataAlignmentWithLiterals, cR as DocumentStyle, eE as DomainEvent, eF as DomainEventBodyOneOf, b2 as EmailMarketingCheckbox, cn as EmbedData, eD as Empty, eG as EntityCreatedEvent, eJ as EntityDeletedEvent, eI as EntityUpdatedEvent, aS as Entry, aT as EntryRecurrenceOptionsOneOf, cf as EventData, eQ as EventMetadata, E as Experience, m as ExperienceCreatedEnvelope, q as ExperienceQuery, eT as ExperienceQuerySpec, eU as ExperienceSearchSpec, n as ExperienceTagsModifiedEnvelope, o as ExperienceUpdatedEnvelope, p as ExperiencesQueryBuilder, eS as ExperiencesQueryResult, d0 as ExtendedFields, dd as File, bp as FileData, bq as FileSource, br as FileSourceDataOneOf, cb as FontFamilyData, c9 as FontSizeData, a3 as FontType, fr as FontTypeWithLiterals, bE as GIF, bD as GIFData, K as GIFType, fh as GIFTypeWithLiterals, bt as GalleryData, bz as GalleryOptions, bA as GalleryOptionsLayout, eq as GeoCoordinates, dm as GetExperienceBySlugRequest, G as GetExperienceBySlugResponse, dk as GetExperienceRequest, dl as GetExperienceResponse, b8 as Gradient, y as GradientType, f3 as GradientTypeWithLiterals, e2 as GroupByValueResults, bG as HTMLData, bH as HTMLDataDataOneOf, bF as HeadingData, bh as Height, eM as IdentificationData, eN as IdentificationDataIdOneOf, bv as Image, bI as ImageData, bK as ImageDataStyles, ah as ImagePosition, aq as ImagePositionPosition, fO as ImagePositionPositionWithLiterals, fF as ImagePositionWithLiterals, ag as ImageScalingScaling, fE as ImageScalingScalingWithLiterals, ch as ImageStyles, dE as IncludeMissingValuesOptions, at as Indentation, fR as IndentationWithLiterals, ac as InitialExpandedItems, fA as InitialExpandedItemsWithLiterals, aD as Interval, f$ as IntervalWithLiterals, d8 as InvalidateCache, d9 as InvalidateCacheGetByOneOf, bx as Item, by as ItemDataOneOf, e8 as ItemMetadata, bB as ItemStyle, d5 as Keyword, aa as Layout, cH as LayoutCellData, cC as LayoutData, cF as LayoutDataBackground, cD as LayoutDataBackgroundImage, ak as LayoutDataBackgroundType, fI as LayoutDataBackgroundTypeWithLiterals, H as LayoutType, fd as LayoutTypeWithLiterals, fy as LayoutWithLiterals, L as LineStyle, f9 as LineStyleWithLiterals, bj as Link, c7 as LinkData, bk as LinkDataOneOf, bL as LinkPreviewData, bM as LinkPreviewDataStyles, as as ListStyle, fQ as ListStyleWithLiterals, cw as ListValue, en as Locale, bN as MapData, bO as MapSettings, Y as MapType, fk as MapTypeWithLiterals, M as MaskedExperience, aX as MaxGuests, bu as Media, c8 as MentionData, eL as MessageEnvelope, cQ as Metadata, aA as MissingValues, fY as MissingValuesWithLiterals, v as Mode, e_ as ModeWithLiterals, eu as Multilingual, dM as NestedAggregation, dK as NestedAggregationItem, dL as NestedAggregationItemKindOneOf, dR as NestedAggregationResults, dS as NestedAggregationResultsResultOneOf, aC as NestedAggregationType, f_ as NestedAggregationTypeWithLiterals, d_ as NestedResultValue, d$ as NestedResultValueResultOneOf, e4 as NestedResults, dW as NestedValueAggregationResult, b4 as Node, b5 as NodeDataOneOf, b6 as NodeStyle, N as NodeType, f1 as NodeTypeWithLiterals, aV as NoticePeriod, af as NullValue, fD as NullValueWithLiterals, co as Oembed, aN as OnOptions, aO as OnOptionsOptionsOneOf, aR as OneTimeOptions, cX as OnlineReservations, aY as OnlineReservationsBusinessSchedule, bS as Option, b_ as OptionDesign, bV as OptionLayout, cy as OrderedListData, O as Orientation, fe as OrientationWithLiterals, ai as Origin, fG as OriginWithLiterals, bs as PDFSettings, db as Page, df as Pages, bP as ParagraphData, aU as PartySize, cV as PaymentPolicy, cW as PaymentPolicyOptionsOneOf, aw as PaymentPolicyType, fU as PaymentPolicyTypeWithLiterals, cT as PerGuestOptions, bR as Permissions, a7 as Placement, aG as PlacementType, g2 as PlacementTypeWithLiterals, fv as PlacementWithLiterals, cm as PlaybackOptions, bd as PluginContainerData, P as PluginContainerDataAlignment, f5 as PluginContainerDataAlignmentWithLiterals, be as PluginContainerDataWidth, bf as PluginContainerDataWidthDataOneOf, b$ as Poll, bQ as PollData, c0 as PollDataLayout, bZ as PollDesign, bX as PollDesignBackground, bY as PollDesignBackgroundBackgroundOneOf, a1 as PollDesignBackgroundType, fp as PollDesignBackgroundTypeWithLiterals, bU as PollLayout, a0 as PollLayoutDirection, fo as PollLayoutDirectionWithLiterals, $ as PollLayoutType, fn as PollLayoutTypeWithLiterals, bT as PollSettings, a4 as Position, fs as PositionWithLiterals, ck as PricingData, aZ as PrivacyPolicy, a_ as PrivacyPolicyValueOneOf, el as Properties, eA as PropertiesChange, dq as QueryExperiencesRequest, dv as QueryExperiencesResponse, dH as RangeAggregation, dQ as RangeAggregationResult, dD as RangeBucket, dY as RangeResult, dU as RangeResults, R as Recurrence, f0 as RecurrenceWithLiterals, bl as Rel, cY as ReservationForm, a6 as Resizing, fu as ResizingWithLiterals, aI as ResolutionMethod, g4 as ResolutionMethodWithLiterals, an as ResponsivenessBehaviour, fL as ResponsivenessBehaviourWithLiterals, eH as RestoreInfo, e0 as Results, ci as RibbonStyles, b3 as RichContent, dI as ScalarAggregation, dZ as ScalarResult, aB as ScalarType, fZ as ScalarTypeWithLiterals, ap as Scaling, fN as ScalingWithLiterals, dN as SearchDetails, aF as SearchDetailsMode, g1 as SearchDetailsModeWithLiterals, dy as SearchExperiencesRequest, d4 as SeoSchema, d3 as SeoSettings, d7 as Settings, cI as ShapeData, cJ as ShapeDataStyles, eC as SiteCloned, eB as SiteCreated, ek as SitePropertiesEvent, ej as SitePropertiesNotification, cP as SmartBlockCellData, cO as SmartBlockData, au as SmartBlockDataType, fS as SmartBlockDataTypeWithLiterals, az as SortDirection, fX as SortDirectionWithLiterals, ax as SortOrder, fV as SortOrderWithLiterals, ay as SortType, fW as SortTypeWithLiterals, dt as Sorting, Q as Source, fi as SourceWithLiterals, et as SpecialHourPeriod, aM as SpecificTablesOptions, bg as Spoiler, ca as SpoilerData, aP as StartDaysAndTimes, w as StartDaysAndTimesDayOfWeek, e$ as StartDaysAndTimesDayOfWeekWithLiterals, b9 as Stop, bi as Styles, bJ as StylesBorder, X as StylesPosition, fj as StylesPositionWithLiterals, ev as SupportedLanguage, aK as Table, r as TableAssignmentType, eX as TableAssignmentTypeWithLiterals, T as TableAvailabilityType, eW as TableAvailabilityTypeWithLiterals, cs as TableCellData, aL as TableCombination, cq as TableData, cZ as TableManagement, s as TableManagementMode, eY as TableManagementModeWithLiterals, c_ as TableManagementOptionsOneOf, d6 as Tag, d2 as TagList, d1 as Tags, dh as TagsModified, A as Target, f7 as TargetWithLiterals, a$ as TermsAndConditions, b0 as TermsAndConditionsValueOneOf, C as TextAlignment, f8 as TextAlignmentWithLiterals, c2 as TextData, cS as TextNodeStyle, bn as TextStyle, bC as Thumbnails, J as ThumbnailsAlignment, fg as ThumbnailsAlignmentWithLiterals, es as TimePeriod, cN as TocData, ex as Translation, a8 as Type, fw as TypeWithLiterals, dc as URI, dg as URIs, u as Unit, eZ as UnitWithLiterals, U as UpdateExperience, a as UpdateExperienceApplicationErrors, dn as UpdateExperienceRequest, dp as UpdateExperienceResponse, dF as ValueAggregation, dG as ValueAggregationOptionsOneOf, dP as ValueAggregationResult, dX as ValueResult, dT as ValueResults, ae as VerticalAlignment, am as VerticalAlignmentAlignment, fK as VerticalAlignmentAlignmentWithLiterals, fC as VerticalAlignmentWithLiterals, bw as Video, cl as VideoData, V as ViewMode, fc as ViewModeWithLiterals, Z as ViewRole, fl as ViewRoleWithLiterals, _ as VoteRole, fm as VoteRoleWithLiterals, aJ as WebhookIdentityType, g5 as WebhookIdentityTypeWithLiterals, aQ as WeeklyOptions, D as Width, W as WidthType, f4 as WidthTypeWithLiterals, fa as WidthWithLiterals, gj as bulkArchiveExperiences, gk as bulkUnarchiveExperiences, gh as bulkUpdateExperienceTags, gi as bulkUpdateExperienceTagsByFilter, gg as bulkUpdateExperiences, gb as createExperience, gc as getExperience, gd as getExperienceBySlug, g8 as onExperienceCreated, g9 as onExperienceTagsModified, ga as onExperienceUpdated, gf as queryExperiences, t as typedQueryExperiences, ge as updateExperience, eV as utils } from './table-reservations-v1-experience-experiences.universal-y3E_tS1X.mjs';
|
|
3
3
|
import '@wix/sdk-types';
|
|
4
4
|
|
|
5
5
|
/** @hidden */
|
|
@@ -1345,6 +1345,293 @@ function searchExperiences(payload) {
|
|
|
1345
1345
|
}
|
|
1346
1346
|
return __searchExperiences;
|
|
1347
1347
|
}
|
|
1348
|
+
function bulkUpdateExperiences(payload) {
|
|
1349
|
+
function __bulkUpdateExperiences({ host }) {
|
|
1350
|
+
const serializedData = transformPaths(payload, [
|
|
1351
|
+
{
|
|
1352
|
+
transformFn: transformSDKFieldMaskToRESTFieldMask,
|
|
1353
|
+
paths: [{ path: "experiences.fieldMask" }]
|
|
1354
|
+
},
|
|
1355
|
+
{
|
|
1356
|
+
transformFn: transformSDKTimestampToRESTTimestamp,
|
|
1357
|
+
paths: [
|
|
1358
|
+
{ path: "experiences.experience.createdDate" },
|
|
1359
|
+
{ path: "experiences.experience.updatedDate" },
|
|
1360
|
+
{
|
|
1361
|
+
path: "experiences.experience.configuration.displayInfo.richContent.metadata.createdTimestamp"
|
|
1362
|
+
},
|
|
1363
|
+
{
|
|
1364
|
+
path: "experiences.experience.configuration.displayInfo.richContent.metadata.updatedTimestamp"
|
|
1365
|
+
}
|
|
1366
|
+
]
|
|
1367
|
+
},
|
|
1368
|
+
{
|
|
1369
|
+
transformFn: transformSDKFloatToRESTFloat,
|
|
1370
|
+
paths: [
|
|
1371
|
+
{
|
|
1372
|
+
path: "experiences.experience.configuration.displayInfo.richContent.nodes.buttonData.styles.background.gradient.centerX"
|
|
1373
|
+
},
|
|
1374
|
+
{
|
|
1375
|
+
path: "experiences.experience.configuration.displayInfo.richContent.nodes.buttonData.styles.background.gradient.centerY"
|
|
1376
|
+
},
|
|
1377
|
+
{
|
|
1378
|
+
path: "experiences.experience.configuration.displayInfo.richContent.nodes.buttonData.styles.background.gradient.stops.position"
|
|
1379
|
+
},
|
|
1380
|
+
{
|
|
1381
|
+
path: "experiences.experience.configuration.displayInfo.richContent.nodes.buttonData.styles.backgroundHover.gradient.centerX"
|
|
1382
|
+
},
|
|
1383
|
+
{
|
|
1384
|
+
path: "experiences.experience.configuration.displayInfo.richContent.nodes.buttonData.styles.backgroundHover.gradient.centerY"
|
|
1385
|
+
},
|
|
1386
|
+
{
|
|
1387
|
+
path: "experiences.experience.configuration.displayInfo.richContent.nodes.buttonData.styles.backgroundHover.gradient.stops.position"
|
|
1388
|
+
},
|
|
1389
|
+
{
|
|
1390
|
+
path: "experiences.experience.configuration.displayInfo.richContent.nodes.galleryData.items.image.media.duration"
|
|
1391
|
+
},
|
|
1392
|
+
{
|
|
1393
|
+
path: "experiences.experience.configuration.displayInfo.richContent.nodes.galleryData.items.video.media.duration"
|
|
1394
|
+
},
|
|
1395
|
+
{
|
|
1396
|
+
path: "experiences.experience.configuration.displayInfo.richContent.nodes.galleryData.items.video.thumbnail.duration"
|
|
1397
|
+
},
|
|
1398
|
+
{
|
|
1399
|
+
path: "experiences.experience.configuration.displayInfo.richContent.nodes.galleryData.options.item.ratio"
|
|
1400
|
+
},
|
|
1401
|
+
{
|
|
1402
|
+
path: "experiences.experience.configuration.displayInfo.richContent.nodes.imageData.image.duration"
|
|
1403
|
+
},
|
|
1404
|
+
{
|
|
1405
|
+
path: "experiences.experience.configuration.displayInfo.richContent.nodes.mapData.mapSettings.lat"
|
|
1406
|
+
},
|
|
1407
|
+
{
|
|
1408
|
+
path: "experiences.experience.configuration.displayInfo.richContent.nodes.mapData.mapSettings.lng"
|
|
1409
|
+
},
|
|
1410
|
+
{
|
|
1411
|
+
path: "experiences.experience.configuration.displayInfo.richContent.nodes.pollData.poll.image.duration"
|
|
1412
|
+
},
|
|
1413
|
+
{
|
|
1414
|
+
path: "experiences.experience.configuration.displayInfo.richContent.nodes.pollData.poll.options.image.duration"
|
|
1415
|
+
},
|
|
1416
|
+
{
|
|
1417
|
+
path: "experiences.experience.configuration.displayInfo.richContent.nodes.pollData.design.poll.background.image.duration"
|
|
1418
|
+
},
|
|
1419
|
+
{
|
|
1420
|
+
path: "experiences.experience.configuration.displayInfo.richContent.nodes.appEmbedData.image.duration"
|
|
1421
|
+
},
|
|
1422
|
+
{
|
|
1423
|
+
path: "experiences.experience.configuration.displayInfo.richContent.nodes.videoData.video.duration"
|
|
1424
|
+
},
|
|
1425
|
+
{
|
|
1426
|
+
path: "experiences.experience.configuration.displayInfo.richContent.nodes.videoData.thumbnail.duration"
|
|
1427
|
+
},
|
|
1428
|
+
{
|
|
1429
|
+
path: "experiences.experience.configuration.displayInfo.richContent.nodes.audioData.audio.duration"
|
|
1430
|
+
},
|
|
1431
|
+
{
|
|
1432
|
+
path: "experiences.experience.configuration.displayInfo.richContent.nodes.audioData.coverImage.duration"
|
|
1433
|
+
},
|
|
1434
|
+
{
|
|
1435
|
+
path: "experiences.experience.configuration.displayInfo.richContent.nodes.layoutData.backgroundImage.media.duration"
|
|
1436
|
+
},
|
|
1437
|
+
{
|
|
1438
|
+
path: "experiences.experience.configuration.displayInfo.richContent.nodes.layoutData.backdropImage.media.duration"
|
|
1439
|
+
},
|
|
1440
|
+
{
|
|
1441
|
+
path: "experiences.experience.configuration.displayInfo.richContent.nodes.layoutData.background.gradient.centerX"
|
|
1442
|
+
},
|
|
1443
|
+
{
|
|
1444
|
+
path: "experiences.experience.configuration.displayInfo.richContent.nodes.layoutData.background.gradient.centerY"
|
|
1445
|
+
},
|
|
1446
|
+
{
|
|
1447
|
+
path: "experiences.experience.configuration.displayInfo.richContent.nodes.layoutData.background.gradient.stops.position"
|
|
1448
|
+
},
|
|
1449
|
+
{
|
|
1450
|
+
path: "experiences.experience.configuration.displayInfo.richContent.nodes.layoutData.backdrop.gradient.centerX"
|
|
1451
|
+
},
|
|
1452
|
+
{
|
|
1453
|
+
path: "experiences.experience.configuration.displayInfo.richContent.nodes.layoutData.backdrop.gradient.centerY"
|
|
1454
|
+
},
|
|
1455
|
+
{
|
|
1456
|
+
path: "experiences.experience.configuration.displayInfo.richContent.nodes.layoutData.backdrop.gradient.stops.position"
|
|
1457
|
+
},
|
|
1458
|
+
{
|
|
1459
|
+
path: "experiences.experience.configuration.displayInfo.richContent.nodes.shapeData.shape.duration"
|
|
1460
|
+
},
|
|
1461
|
+
{
|
|
1462
|
+
path: "experiences.experience.configuration.displayInfo.richContent.nodes.cardData.background.gradient.centerX"
|
|
1463
|
+
},
|
|
1464
|
+
{
|
|
1465
|
+
path: "experiences.experience.configuration.displayInfo.richContent.nodes.cardData.background.gradient.centerY"
|
|
1466
|
+
},
|
|
1467
|
+
{
|
|
1468
|
+
path: "experiences.experience.configuration.displayInfo.richContent.nodes.cardData.background.gradient.stops.position"
|
|
1469
|
+
},
|
|
1470
|
+
{
|
|
1471
|
+
path: "experiences.experience.configuration.displayInfo.richContent.nodes.cardData.backgroundImage.media.duration"
|
|
1472
|
+
},
|
|
1473
|
+
{
|
|
1474
|
+
path: "experiences.experience.configuration.displayInfo.richContent.nodes.tocData.fontSize"
|
|
1475
|
+
},
|
|
1476
|
+
{
|
|
1477
|
+
path: "experiences.experience.configuration.displayInfo.richContent.nodes.tocData.itemSpacing"
|
|
1478
|
+
},
|
|
1479
|
+
{
|
|
1480
|
+
path: "experiences.experience.configuration.displayInfo.richContent.nodes.smartBlockCellData.shape.duration"
|
|
1481
|
+
}
|
|
1482
|
+
]
|
|
1483
|
+
}
|
|
1484
|
+
]);
|
|
1485
|
+
const metadata = {
|
|
1486
|
+
entityFqdn: "wix.table_reservations.v1.experience",
|
|
1487
|
+
method: "POST",
|
|
1488
|
+
methodFqn: "wix.table_reservations.experience.v1.ExperiencesService.BulkUpdateExperiences",
|
|
1489
|
+
packageName: PACKAGE_NAME,
|
|
1490
|
+
migrationOptions: {
|
|
1491
|
+
optInTransformResponse: true
|
|
1492
|
+
},
|
|
1493
|
+
url: resolveWixTableReservationsExperienceV1ExperiencesServiceUrl({
|
|
1494
|
+
protoPath: "/v1/bulk/experiences/update",
|
|
1495
|
+
data: serializedData,
|
|
1496
|
+
host
|
|
1497
|
+
}),
|
|
1498
|
+
data: serializedData,
|
|
1499
|
+
transformResponse: (payload2) => transformPaths(payload2, [
|
|
1500
|
+
{
|
|
1501
|
+
transformFn: transformRESTTimestampToSDKTimestamp,
|
|
1502
|
+
paths: [
|
|
1503
|
+
{ path: "results.item.createdDate" },
|
|
1504
|
+
{ path: "results.item.updatedDate" },
|
|
1505
|
+
{
|
|
1506
|
+
path: "results.item.configuration.displayInfo.richContent.metadata.createdTimestamp"
|
|
1507
|
+
},
|
|
1508
|
+
{
|
|
1509
|
+
path: "results.item.configuration.displayInfo.richContent.metadata.updatedTimestamp"
|
|
1510
|
+
}
|
|
1511
|
+
]
|
|
1512
|
+
},
|
|
1513
|
+
{
|
|
1514
|
+
transformFn: transformRESTFloatToSDKFloat,
|
|
1515
|
+
paths: [
|
|
1516
|
+
{
|
|
1517
|
+
path: "results.item.configuration.displayInfo.richContent.nodes.buttonData.styles.background.gradient.centerX"
|
|
1518
|
+
},
|
|
1519
|
+
{
|
|
1520
|
+
path: "results.item.configuration.displayInfo.richContent.nodes.buttonData.styles.background.gradient.centerY"
|
|
1521
|
+
},
|
|
1522
|
+
{
|
|
1523
|
+
path: "results.item.configuration.displayInfo.richContent.nodes.buttonData.styles.background.gradient.stops.position"
|
|
1524
|
+
},
|
|
1525
|
+
{
|
|
1526
|
+
path: "results.item.configuration.displayInfo.richContent.nodes.buttonData.styles.backgroundHover.gradient.centerX"
|
|
1527
|
+
},
|
|
1528
|
+
{
|
|
1529
|
+
path: "results.item.configuration.displayInfo.richContent.nodes.buttonData.styles.backgroundHover.gradient.centerY"
|
|
1530
|
+
},
|
|
1531
|
+
{
|
|
1532
|
+
path: "results.item.configuration.displayInfo.richContent.nodes.buttonData.styles.backgroundHover.gradient.stops.position"
|
|
1533
|
+
},
|
|
1534
|
+
{
|
|
1535
|
+
path: "results.item.configuration.displayInfo.richContent.nodes.galleryData.items.image.media.duration"
|
|
1536
|
+
},
|
|
1537
|
+
{
|
|
1538
|
+
path: "results.item.configuration.displayInfo.richContent.nodes.galleryData.items.video.media.duration"
|
|
1539
|
+
},
|
|
1540
|
+
{
|
|
1541
|
+
path: "results.item.configuration.displayInfo.richContent.nodes.galleryData.items.video.thumbnail.duration"
|
|
1542
|
+
},
|
|
1543
|
+
{
|
|
1544
|
+
path: "results.item.configuration.displayInfo.richContent.nodes.galleryData.options.item.ratio"
|
|
1545
|
+
},
|
|
1546
|
+
{
|
|
1547
|
+
path: "results.item.configuration.displayInfo.richContent.nodes.imageData.image.duration"
|
|
1548
|
+
},
|
|
1549
|
+
{
|
|
1550
|
+
path: "results.item.configuration.displayInfo.richContent.nodes.mapData.mapSettings.lat"
|
|
1551
|
+
},
|
|
1552
|
+
{
|
|
1553
|
+
path: "results.item.configuration.displayInfo.richContent.nodes.mapData.mapSettings.lng"
|
|
1554
|
+
},
|
|
1555
|
+
{
|
|
1556
|
+
path: "results.item.configuration.displayInfo.richContent.nodes.pollData.poll.image.duration"
|
|
1557
|
+
},
|
|
1558
|
+
{
|
|
1559
|
+
path: "results.item.configuration.displayInfo.richContent.nodes.pollData.poll.options.image.duration"
|
|
1560
|
+
},
|
|
1561
|
+
{
|
|
1562
|
+
path: "results.item.configuration.displayInfo.richContent.nodes.pollData.design.poll.background.image.duration"
|
|
1563
|
+
},
|
|
1564
|
+
{
|
|
1565
|
+
path: "results.item.configuration.displayInfo.richContent.nodes.appEmbedData.image.duration"
|
|
1566
|
+
},
|
|
1567
|
+
{
|
|
1568
|
+
path: "results.item.configuration.displayInfo.richContent.nodes.videoData.video.duration"
|
|
1569
|
+
},
|
|
1570
|
+
{
|
|
1571
|
+
path: "results.item.configuration.displayInfo.richContent.nodes.videoData.thumbnail.duration"
|
|
1572
|
+
},
|
|
1573
|
+
{
|
|
1574
|
+
path: "results.item.configuration.displayInfo.richContent.nodes.audioData.audio.duration"
|
|
1575
|
+
},
|
|
1576
|
+
{
|
|
1577
|
+
path: "results.item.configuration.displayInfo.richContent.nodes.audioData.coverImage.duration"
|
|
1578
|
+
},
|
|
1579
|
+
{
|
|
1580
|
+
path: "results.item.configuration.displayInfo.richContent.nodes.layoutData.backgroundImage.media.duration"
|
|
1581
|
+
},
|
|
1582
|
+
{
|
|
1583
|
+
path: "results.item.configuration.displayInfo.richContent.nodes.layoutData.backdropImage.media.duration"
|
|
1584
|
+
},
|
|
1585
|
+
{
|
|
1586
|
+
path: "results.item.configuration.displayInfo.richContent.nodes.layoutData.background.gradient.centerX"
|
|
1587
|
+
},
|
|
1588
|
+
{
|
|
1589
|
+
path: "results.item.configuration.displayInfo.richContent.nodes.layoutData.background.gradient.centerY"
|
|
1590
|
+
},
|
|
1591
|
+
{
|
|
1592
|
+
path: "results.item.configuration.displayInfo.richContent.nodes.layoutData.background.gradient.stops.position"
|
|
1593
|
+
},
|
|
1594
|
+
{
|
|
1595
|
+
path: "results.item.configuration.displayInfo.richContent.nodes.layoutData.backdrop.gradient.centerX"
|
|
1596
|
+
},
|
|
1597
|
+
{
|
|
1598
|
+
path: "results.item.configuration.displayInfo.richContent.nodes.layoutData.backdrop.gradient.centerY"
|
|
1599
|
+
},
|
|
1600
|
+
{
|
|
1601
|
+
path: "results.item.configuration.displayInfo.richContent.nodes.layoutData.backdrop.gradient.stops.position"
|
|
1602
|
+
},
|
|
1603
|
+
{
|
|
1604
|
+
path: "results.item.configuration.displayInfo.richContent.nodes.shapeData.shape.duration"
|
|
1605
|
+
},
|
|
1606
|
+
{
|
|
1607
|
+
path: "results.item.configuration.displayInfo.richContent.nodes.cardData.background.gradient.centerX"
|
|
1608
|
+
},
|
|
1609
|
+
{
|
|
1610
|
+
path: "results.item.configuration.displayInfo.richContent.nodes.cardData.background.gradient.centerY"
|
|
1611
|
+
},
|
|
1612
|
+
{
|
|
1613
|
+
path: "results.item.configuration.displayInfo.richContent.nodes.cardData.background.gradient.stops.position"
|
|
1614
|
+
},
|
|
1615
|
+
{
|
|
1616
|
+
path: "results.item.configuration.displayInfo.richContent.nodes.cardData.backgroundImage.media.duration"
|
|
1617
|
+
},
|
|
1618
|
+
{
|
|
1619
|
+
path: "results.item.configuration.displayInfo.richContent.nodes.tocData.fontSize"
|
|
1620
|
+
},
|
|
1621
|
+
{
|
|
1622
|
+
path: "results.item.configuration.displayInfo.richContent.nodes.tocData.itemSpacing"
|
|
1623
|
+
},
|
|
1624
|
+
{
|
|
1625
|
+
path: "results.item.configuration.displayInfo.richContent.nodes.smartBlockCellData.shape.duration"
|
|
1626
|
+
}
|
|
1627
|
+
]
|
|
1628
|
+
}
|
|
1629
|
+
])
|
|
1630
|
+
};
|
|
1631
|
+
return metadata;
|
|
1632
|
+
}
|
|
1633
|
+
return __bulkUpdateExperiences;
|
|
1634
|
+
}
|
|
1348
1635
|
function bulkUpdateExperienceTags(payload) {
|
|
1349
1636
|
function __bulkUpdateExperienceTags({ host }) {
|
|
1350
1637
|
const metadata = {
|
|
@@ -2350,6 +2637,81 @@ async function searchExperiences2(search) {
|
|
|
2350
2637
|
throw transformedError;
|
|
2351
2638
|
}
|
|
2352
2639
|
}
|
|
2640
|
+
async function bulkUpdateExperiences2(experiences, options) {
|
|
2641
|
+
const { httpClient, sideEffects } = arguments[2];
|
|
2642
|
+
const payload = transformPaths2(
|
|
2643
|
+
renameKeysFromSDKRequestToRESTRequest(
|
|
2644
|
+
{ experiences, returnEntity: options?.returnEntity },
|
|
2645
|
+
["experiences.experience.configuration.displayInfo.richContent"]
|
|
2646
|
+
),
|
|
2647
|
+
[
|
|
2648
|
+
{
|
|
2649
|
+
transformFn: transformSDKPageURLV2ToRESTPageURLV2,
|
|
2650
|
+
paths: [
|
|
2651
|
+
{ path: "experiences.experience.experiencePageUrl" },
|
|
2652
|
+
{
|
|
2653
|
+
path: "experiences.experience.configuration.reservationForm.privacyPolicy.url"
|
|
2654
|
+
},
|
|
2655
|
+
{
|
|
2656
|
+
path: "experiences.experience.configuration.reservationForm.termsAndConditions.url"
|
|
2657
|
+
}
|
|
2658
|
+
]
|
|
2659
|
+
},
|
|
2660
|
+
{
|
|
2661
|
+
transformFn: transformSDKImageToRESTImage,
|
|
2662
|
+
paths: [
|
|
2663
|
+
{
|
|
2664
|
+
path: "experiences.experience.configuration.displayInfo.coverImage"
|
|
2665
|
+
}
|
|
2666
|
+
]
|
|
2667
|
+
}
|
|
2668
|
+
]
|
|
2669
|
+
);
|
|
2670
|
+
const reqOpts = bulkUpdateExperiences(payload);
|
|
2671
|
+
sideEffects?.onSiteCall?.();
|
|
2672
|
+
try {
|
|
2673
|
+
const result = await httpClient.request(reqOpts);
|
|
2674
|
+
sideEffects?.onSuccess?.(result);
|
|
2675
|
+
return renameKeysFromRESTResponseToSDKResponse(
|
|
2676
|
+
transformPaths2(result.data, [
|
|
2677
|
+
{
|
|
2678
|
+
transformFn: transformRESTPageURLV2ToSDKPageURLV2,
|
|
2679
|
+
paths: [
|
|
2680
|
+
{ path: "results.item.experiencePageUrl" },
|
|
2681
|
+
{
|
|
2682
|
+
path: "results.item.configuration.reservationForm.privacyPolicy.url"
|
|
2683
|
+
},
|
|
2684
|
+
{
|
|
2685
|
+
path: "results.item.configuration.reservationForm.termsAndConditions.url"
|
|
2686
|
+
}
|
|
2687
|
+
]
|
|
2688
|
+
},
|
|
2689
|
+
{
|
|
2690
|
+
transformFn: transformRESTImageToSDKImage,
|
|
2691
|
+
paths: [
|
|
2692
|
+
{ path: "results.item.configuration.displayInfo.coverImage" }
|
|
2693
|
+
]
|
|
2694
|
+
}
|
|
2695
|
+
]),
|
|
2696
|
+
["results.item.configuration.displayInfo.richContent"]
|
|
2697
|
+
);
|
|
2698
|
+
} catch (err) {
|
|
2699
|
+
const transformedError = sdkTransformError(
|
|
2700
|
+
err,
|
|
2701
|
+
{
|
|
2702
|
+
spreadPathsToArguments: {},
|
|
2703
|
+
explicitPathsToArguments: {
|
|
2704
|
+
experiences: "$[0]",
|
|
2705
|
+
returnEntity: "$[1].returnEntity"
|
|
2706
|
+
},
|
|
2707
|
+
singleArgumentUnchanged: false
|
|
2708
|
+
},
|
|
2709
|
+
["experiences", "options"]
|
|
2710
|
+
);
|
|
2711
|
+
sideEffects?.onError?.(err);
|
|
2712
|
+
throw transformedError;
|
|
2713
|
+
}
|
|
2714
|
+
}
|
|
2353
2715
|
async function bulkUpdateExperienceTags2(experienceIds, options) {
|
|
2354
2716
|
const { httpClient, sideEffects } = arguments[2];
|
|
2355
2717
|
const payload = renameKeysFromSDKRequestToRESTRequest(
|
|
@@ -2557,6 +2919,7 @@ export {
|
|
|
2557
2919
|
bulkUnarchiveExperiences2 as bulkUnarchiveExperiences,
|
|
2558
2920
|
bulkUpdateExperienceTags2 as bulkUpdateExperienceTags,
|
|
2559
2921
|
bulkUpdateExperienceTagsByFilter2 as bulkUpdateExperienceTagsByFilter,
|
|
2922
|
+
bulkUpdateExperiences2 as bulkUpdateExperiences,
|
|
2560
2923
|
createExperience2 as createExperience,
|
|
2561
2924
|
getExperience2 as getExperience,
|
|
2562
2925
|
getExperienceBySlug2 as getExperienceBySlug,
|