@wix/auto_sdk_table-reservations_experiences 1.0.40 → 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 +378 -0
- package/build/cjs/index.js.map +1 -1
- package/build/cjs/index.typings.d.ts +2 -2
- package/build/cjs/index.typings.js +369 -0
- package/build/cjs/index.typings.js.map +1 -1
- package/build/cjs/meta.d.ts +22 -5
- package/build/cjs/meta.js +312 -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-1Acqg8lu.d.ts → table-reservations-v1-experience-experiences.universal-y3E_tS1X.d.ts} +50 -4
- package/build/es/index.d.mts +22 -3
- package/build/es/index.mjs +377 -0
- package/build/es/index.mjs.map +1 -1
- package/build/es/index.typings.d.mts +2 -2
- package/build/es/index.typings.mjs +368 -0
- package/build/es/index.typings.mjs.map +1 -1
- package/build/es/meta.d.mts +22 -5
- package/build/es/meta.mjs +311 -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-1Acqg8lu.d.mts → table-reservations-v1-experience-experiences.universal-y3E_tS1X.d.mts} +50 -4
- package/build/internal/cjs/index.d.ts +22 -3
- package/build/internal/cjs/index.js +378 -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 +369 -0
- package/build/internal/cjs/index.typings.js.map +1 -1
- package/build/internal/cjs/meta.d.ts +22 -5
- package/build/internal/cjs/meta.js +312 -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-1Acqg8lu.d.ts → table-reservations-v1-experience-experiences.universal-y3E_tS1X.d.ts} +50 -4
- package/build/internal/es/index.d.mts +22 -3
- package/build/internal/es/index.mjs +377 -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 +368 -0
- package/build/internal/es/index.typings.mjs.map +1 -1
- package/build/internal/es/meta.d.mts +22 -5
- package/build/internal/es/meta.mjs +311 -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-1Acqg8lu.d.mts → table-reservations-v1-experience-experiences.universal-y3E_tS1X.d.mts} +50 -4
- 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 { E as Experience, G as GetExperienceBySlugResponse, U as UpdateExperience, a as UpdateExperienceApplicationErrors, b as ExperienceSearch, S as SearchExperiencesResponse, B as
|
|
3
|
-
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, ee as BulkArchiveExperiencesResult, ef as BulkUnarchiveExperiencesRequest, eg as BulkUnarchiveExperiencesResult, ec as BulkUpdateExperienceTagsByFilterRequest, ea as BulkUpdateExperienceTagsRequest, 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, dv as CursorSearch, 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, eR as ExperienceQuerySpec, eS as ExperienceSearchSpec, 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, 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, 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, eT as utils } from './table-reservations-v1-experience-experiences.universal-1Acqg8lu.js';
|
|
2
|
+
import { E as Experience, G as GetExperienceBySlugResponse, U as UpdateExperience, a as UpdateExperienceApplicationErrors, b as ExperienceSearch, S as SearchExperiencesResponse, M as MaskedExperience, B as BulkUpdateExperiencesOptions, c as BulkUpdateExperiencesResponse, d as BulkUpdateExperiencesApplicationErrors, e as BulkUpdateExperienceTagsOptions, f as BulkUpdateExperienceTagsResponse, g as BulkUpdateExperienceTagsApplicationErrors, h as BulkUpdateExperienceTagsByFilterOptions, i as BulkUpdateExperienceTagsByFilterResponse, j as BulkUpdateExperienceTagsByFilterApplicationErrors, k as BulkArchiveExperiencesResponse, l as BulkUnarchiveExperiencesResponse, m as ExperienceCreatedEnvelope, n as ExperienceTagsModifiedEnvelope, o as ExperienceUpdatedEnvelope, p as ExperiencesQueryBuilder, q as ExperienceQuery, t as typedQueryExperiences } from './table-reservations-v1-experience-experiences.universal-y3E_tS1X.js';
|
|
3
|
+
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, eg as BulkArchiveExperiencesResult, eh as BulkUnarchiveExperiencesRequest, ei as BulkUnarchiveExperiencesResult, ee as BulkUpdateExperienceTagsByFilterRequest, ec as BulkUpdateExperienceTagsRequest, ed as BulkUpdateExperienceTagsResult, e7 as BulkUpdateExperiencesRequest, 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, dz as CursorSearch, 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, eT as ExperienceQuerySpec, eU as ExperienceSearchSpec, 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, 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, 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, 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, eV as utils } from './table-reservations-v1-experience-experiences.universal-y3E_tS1X.js';
|
|
4
4
|
|
|
5
5
|
declare function createExperience$1(httpClient: HttpClient): CreateExperienceSignature;
|
|
6
6
|
interface CreateExperienceSignature {
|
|
@@ -57,6 +57,24 @@ interface SearchExperiencesSignature {
|
|
|
57
57
|
*/
|
|
58
58
|
(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>>;
|
|
59
59
|
}
|
|
60
|
+
declare function bulkUpdateExperiences$1(httpClient: HttpClient): BulkUpdateExperiencesSignature;
|
|
61
|
+
interface BulkUpdateExperiencesSignature {
|
|
62
|
+
/**
|
|
63
|
+
* Updates up to 100 experiences in a single request.
|
|
64
|
+
*
|
|
65
|
+
* Each experience is updated independently. If an update fails for one experience, the failure is reported in that experience's `itemMetadata.error` and the remaining experiences are still processed. The call returns successfully even when some updates fail.
|
|
66
|
+
*
|
|
67
|
+
* Set `returnEntity` to `true` to receive the updated experiences in the response.
|
|
68
|
+
*
|
|
69
|
+
* Archived experiences can't be updated.
|
|
70
|
+
*
|
|
71
|
+
* To update a single experience, call [Update Experience](https://dev.wix.com/docs/api-reference/business-solutions/restaurants/reservations/experiences/update-experience).
|
|
72
|
+
* @param - List of experiences to update, with the fields to update for each experience.
|
|
73
|
+
*/
|
|
74
|
+
(experiences: NonNullablePaths<MaskedExperience, `experience._id` | `experience.revision`, 3>[], options?: BulkUpdateExperiencesOptions): Promise<NonNullablePaths<BulkUpdateExperiencesResponse, `results` | `results.${number}.itemMetadata.originalIndex` | `results.${number}.itemMetadata.success` | `results.${number}.itemMetadata.error.code` | `results.${number}.itemMetadata.error.description` | `bulkActionMetadata.totalSuccesses` | `bulkActionMetadata.totalFailures` | `bulkActionMetadata.undetailedFailures`, 6> & {
|
|
75
|
+
__applicationErrorsType?: BulkUpdateExperiencesApplicationErrors;
|
|
76
|
+
}>;
|
|
77
|
+
}
|
|
60
78
|
declare function bulkUpdateExperienceTags$1(httpClient: HttpClient): BulkUpdateExperienceTagsSignature;
|
|
61
79
|
interface BulkUpdateExperienceTagsSignature {
|
|
62
80
|
/**
|
|
@@ -115,6 +133,7 @@ declare const getExperience: MaybeContext<BuildRESTFunction<typeof getExperience
|
|
|
115
133
|
declare const getExperienceBySlug: MaybeContext<BuildRESTFunction<typeof getExperienceBySlug$1> & typeof getExperienceBySlug$1>;
|
|
116
134
|
declare const updateExperience: MaybeContext<BuildRESTFunction<typeof updateExperience$1> & typeof updateExperience$1>;
|
|
117
135
|
declare const searchExperiences: MaybeContext<BuildRESTFunction<typeof searchExperiences$1> & typeof searchExperiences$1>;
|
|
136
|
+
declare const bulkUpdateExperiences: MaybeContext<BuildRESTFunction<typeof bulkUpdateExperiences$1> & typeof bulkUpdateExperiences$1>;
|
|
118
137
|
declare const bulkUpdateExperienceTags: MaybeContext<BuildRESTFunction<typeof bulkUpdateExperienceTags$1> & typeof bulkUpdateExperienceTags$1>;
|
|
119
138
|
declare const bulkUpdateExperienceTagsByFilter: MaybeContext<BuildRESTFunction<typeof bulkUpdateExperienceTagsByFilter$1> & typeof bulkUpdateExperienceTagsByFilter$1>;
|
|
120
139
|
declare const bulkArchiveExperiences: MaybeContext<BuildRESTFunction<typeof bulkArchiveExperiences$1> & typeof bulkArchiveExperiences$1>;
|
|
@@ -133,4 +152,4 @@ declare const onExperienceTagsModified: BuildEventDefinition<typeof onExperience
|
|
|
133
152
|
*/
|
|
134
153
|
declare const onExperienceUpdated: BuildEventDefinition<typeof onExperienceUpdated$1> & typeof onExperienceUpdated$1;
|
|
135
154
|
|
|
136
|
-
export { BulkArchiveExperiencesResponse, BulkUnarchiveExperiencesResponse, BulkUpdateExperienceTagsApplicationErrors, BulkUpdateExperienceTagsByFilterApplicationErrors, BulkUpdateExperienceTagsByFilterOptions, BulkUpdateExperienceTagsByFilterResponse, BulkUpdateExperienceTagsOptions, BulkUpdateExperienceTagsResponse, Experience, ExperienceCreatedEnvelope, ExperienceQuery, ExperienceSearch, ExperienceTagsModifiedEnvelope, ExperienceUpdatedEnvelope, ExperiencesQueryBuilder, GetExperienceBySlugResponse, SearchExperiencesResponse, UpdateExperience, UpdateExperienceApplicationErrors, bulkArchiveExperiences, bulkUnarchiveExperiences, bulkUpdateExperienceTags, bulkUpdateExperienceTagsByFilter, createExperience, getExperience, getExperienceBySlug, onExperienceCreated, onExperienceTagsModified, onExperienceUpdated, queryExperiences, searchExperiences, updateExperience };
|
|
155
|
+
export { BulkArchiveExperiencesResponse, BulkUnarchiveExperiencesResponse, BulkUpdateExperienceTagsApplicationErrors, BulkUpdateExperienceTagsByFilterApplicationErrors, BulkUpdateExperienceTagsByFilterOptions, BulkUpdateExperienceTagsByFilterResponse, BulkUpdateExperienceTagsOptions, BulkUpdateExperienceTagsResponse, BulkUpdateExperiencesApplicationErrors, BulkUpdateExperiencesOptions, BulkUpdateExperiencesResponse, Experience, ExperienceCreatedEnvelope, ExperienceQuery, ExperienceSearch, ExperienceTagsModifiedEnvelope, ExperienceUpdatedEnvelope, ExperiencesQueryBuilder, GetExperienceBySlugResponse, MaskedExperience, SearchExperiencesResponse, UpdateExperience, UpdateExperienceApplicationErrors, bulkArchiveExperiences, bulkUnarchiveExperiences, bulkUpdateExperienceTags, bulkUpdateExperienceTagsByFilter, bulkUpdateExperiences, createExperience, getExperience, getExperienceBySlug, onExperienceCreated, onExperienceTagsModified, onExperienceUpdated, queryExperiences, searchExperiences, updateExperience };
|
package/build/cjs/index.js
CHANGED
|
@@ -100,6 +100,7 @@ __export(index_exports, {
|
|
|
100
100
|
bulkUnarchiveExperiences: () => bulkUnarchiveExperiences4,
|
|
101
101
|
bulkUpdateExperienceTags: () => bulkUpdateExperienceTags4,
|
|
102
102
|
bulkUpdateExperienceTagsByFilter: () => bulkUpdateExperienceTagsByFilter4,
|
|
103
|
+
bulkUpdateExperiences: () => bulkUpdateExperiences4,
|
|
103
104
|
createExperience: () => createExperience4,
|
|
104
105
|
getExperience: () => getExperience4,
|
|
105
106
|
getExperienceBySlug: () => getExperienceBySlug4,
|
|
@@ -1466,6 +1467,293 @@ function searchExperiences(payload) {
|
|
|
1466
1467
|
}
|
|
1467
1468
|
return __searchExperiences;
|
|
1468
1469
|
}
|
|
1470
|
+
function bulkUpdateExperiences(payload) {
|
|
1471
|
+
function __bulkUpdateExperiences({ host }) {
|
|
1472
|
+
const serializedData = (0, import_transform_paths.transformPaths)(payload, [
|
|
1473
|
+
{
|
|
1474
|
+
transformFn: import_field_mask.transformSDKFieldMaskToRESTFieldMask,
|
|
1475
|
+
paths: [{ path: "experiences.fieldMask" }]
|
|
1476
|
+
},
|
|
1477
|
+
{
|
|
1478
|
+
transformFn: import_timestamp.transformSDKTimestampToRESTTimestamp,
|
|
1479
|
+
paths: [
|
|
1480
|
+
{ path: "experiences.experience.createdDate" },
|
|
1481
|
+
{ path: "experiences.experience.updatedDate" },
|
|
1482
|
+
{
|
|
1483
|
+
path: "experiences.experience.configuration.displayInfo.richContent.metadata.createdTimestamp"
|
|
1484
|
+
},
|
|
1485
|
+
{
|
|
1486
|
+
path: "experiences.experience.configuration.displayInfo.richContent.metadata.updatedTimestamp"
|
|
1487
|
+
}
|
|
1488
|
+
]
|
|
1489
|
+
},
|
|
1490
|
+
{
|
|
1491
|
+
transformFn: import_float.transformSDKFloatToRESTFloat,
|
|
1492
|
+
paths: [
|
|
1493
|
+
{
|
|
1494
|
+
path: "experiences.experience.configuration.displayInfo.richContent.nodes.buttonData.styles.background.gradient.centerX"
|
|
1495
|
+
},
|
|
1496
|
+
{
|
|
1497
|
+
path: "experiences.experience.configuration.displayInfo.richContent.nodes.buttonData.styles.background.gradient.centerY"
|
|
1498
|
+
},
|
|
1499
|
+
{
|
|
1500
|
+
path: "experiences.experience.configuration.displayInfo.richContent.nodes.buttonData.styles.background.gradient.stops.position"
|
|
1501
|
+
},
|
|
1502
|
+
{
|
|
1503
|
+
path: "experiences.experience.configuration.displayInfo.richContent.nodes.buttonData.styles.backgroundHover.gradient.centerX"
|
|
1504
|
+
},
|
|
1505
|
+
{
|
|
1506
|
+
path: "experiences.experience.configuration.displayInfo.richContent.nodes.buttonData.styles.backgroundHover.gradient.centerY"
|
|
1507
|
+
},
|
|
1508
|
+
{
|
|
1509
|
+
path: "experiences.experience.configuration.displayInfo.richContent.nodes.buttonData.styles.backgroundHover.gradient.stops.position"
|
|
1510
|
+
},
|
|
1511
|
+
{
|
|
1512
|
+
path: "experiences.experience.configuration.displayInfo.richContent.nodes.galleryData.items.image.media.duration"
|
|
1513
|
+
},
|
|
1514
|
+
{
|
|
1515
|
+
path: "experiences.experience.configuration.displayInfo.richContent.nodes.galleryData.items.video.media.duration"
|
|
1516
|
+
},
|
|
1517
|
+
{
|
|
1518
|
+
path: "experiences.experience.configuration.displayInfo.richContent.nodes.galleryData.items.video.thumbnail.duration"
|
|
1519
|
+
},
|
|
1520
|
+
{
|
|
1521
|
+
path: "experiences.experience.configuration.displayInfo.richContent.nodes.galleryData.options.item.ratio"
|
|
1522
|
+
},
|
|
1523
|
+
{
|
|
1524
|
+
path: "experiences.experience.configuration.displayInfo.richContent.nodes.imageData.image.duration"
|
|
1525
|
+
},
|
|
1526
|
+
{
|
|
1527
|
+
path: "experiences.experience.configuration.displayInfo.richContent.nodes.mapData.mapSettings.lat"
|
|
1528
|
+
},
|
|
1529
|
+
{
|
|
1530
|
+
path: "experiences.experience.configuration.displayInfo.richContent.nodes.mapData.mapSettings.lng"
|
|
1531
|
+
},
|
|
1532
|
+
{
|
|
1533
|
+
path: "experiences.experience.configuration.displayInfo.richContent.nodes.pollData.poll.image.duration"
|
|
1534
|
+
},
|
|
1535
|
+
{
|
|
1536
|
+
path: "experiences.experience.configuration.displayInfo.richContent.nodes.pollData.poll.options.image.duration"
|
|
1537
|
+
},
|
|
1538
|
+
{
|
|
1539
|
+
path: "experiences.experience.configuration.displayInfo.richContent.nodes.pollData.design.poll.background.image.duration"
|
|
1540
|
+
},
|
|
1541
|
+
{
|
|
1542
|
+
path: "experiences.experience.configuration.displayInfo.richContent.nodes.appEmbedData.image.duration"
|
|
1543
|
+
},
|
|
1544
|
+
{
|
|
1545
|
+
path: "experiences.experience.configuration.displayInfo.richContent.nodes.videoData.video.duration"
|
|
1546
|
+
},
|
|
1547
|
+
{
|
|
1548
|
+
path: "experiences.experience.configuration.displayInfo.richContent.nodes.videoData.thumbnail.duration"
|
|
1549
|
+
},
|
|
1550
|
+
{
|
|
1551
|
+
path: "experiences.experience.configuration.displayInfo.richContent.nodes.audioData.audio.duration"
|
|
1552
|
+
},
|
|
1553
|
+
{
|
|
1554
|
+
path: "experiences.experience.configuration.displayInfo.richContent.nodes.audioData.coverImage.duration"
|
|
1555
|
+
},
|
|
1556
|
+
{
|
|
1557
|
+
path: "experiences.experience.configuration.displayInfo.richContent.nodes.layoutData.backgroundImage.media.duration"
|
|
1558
|
+
},
|
|
1559
|
+
{
|
|
1560
|
+
path: "experiences.experience.configuration.displayInfo.richContent.nodes.layoutData.backdropImage.media.duration"
|
|
1561
|
+
},
|
|
1562
|
+
{
|
|
1563
|
+
path: "experiences.experience.configuration.displayInfo.richContent.nodes.layoutData.background.gradient.centerX"
|
|
1564
|
+
},
|
|
1565
|
+
{
|
|
1566
|
+
path: "experiences.experience.configuration.displayInfo.richContent.nodes.layoutData.background.gradient.centerY"
|
|
1567
|
+
},
|
|
1568
|
+
{
|
|
1569
|
+
path: "experiences.experience.configuration.displayInfo.richContent.nodes.layoutData.background.gradient.stops.position"
|
|
1570
|
+
},
|
|
1571
|
+
{
|
|
1572
|
+
path: "experiences.experience.configuration.displayInfo.richContent.nodes.layoutData.backdrop.gradient.centerX"
|
|
1573
|
+
},
|
|
1574
|
+
{
|
|
1575
|
+
path: "experiences.experience.configuration.displayInfo.richContent.nodes.layoutData.backdrop.gradient.centerY"
|
|
1576
|
+
},
|
|
1577
|
+
{
|
|
1578
|
+
path: "experiences.experience.configuration.displayInfo.richContent.nodes.layoutData.backdrop.gradient.stops.position"
|
|
1579
|
+
},
|
|
1580
|
+
{
|
|
1581
|
+
path: "experiences.experience.configuration.displayInfo.richContent.nodes.shapeData.shape.duration"
|
|
1582
|
+
},
|
|
1583
|
+
{
|
|
1584
|
+
path: "experiences.experience.configuration.displayInfo.richContent.nodes.cardData.background.gradient.centerX"
|
|
1585
|
+
},
|
|
1586
|
+
{
|
|
1587
|
+
path: "experiences.experience.configuration.displayInfo.richContent.nodes.cardData.background.gradient.centerY"
|
|
1588
|
+
},
|
|
1589
|
+
{
|
|
1590
|
+
path: "experiences.experience.configuration.displayInfo.richContent.nodes.cardData.background.gradient.stops.position"
|
|
1591
|
+
},
|
|
1592
|
+
{
|
|
1593
|
+
path: "experiences.experience.configuration.displayInfo.richContent.nodes.cardData.backgroundImage.media.duration"
|
|
1594
|
+
},
|
|
1595
|
+
{
|
|
1596
|
+
path: "experiences.experience.configuration.displayInfo.richContent.nodes.tocData.fontSize"
|
|
1597
|
+
},
|
|
1598
|
+
{
|
|
1599
|
+
path: "experiences.experience.configuration.displayInfo.richContent.nodes.tocData.itemSpacing"
|
|
1600
|
+
},
|
|
1601
|
+
{
|
|
1602
|
+
path: "experiences.experience.configuration.displayInfo.richContent.nodes.smartBlockCellData.shape.duration"
|
|
1603
|
+
}
|
|
1604
|
+
]
|
|
1605
|
+
}
|
|
1606
|
+
]);
|
|
1607
|
+
const metadata = {
|
|
1608
|
+
entityFqdn: "wix.table_reservations.v1.experience",
|
|
1609
|
+
method: "POST",
|
|
1610
|
+
methodFqn: "wix.table_reservations.experience.v1.ExperiencesService.BulkUpdateExperiences",
|
|
1611
|
+
packageName: PACKAGE_NAME,
|
|
1612
|
+
migrationOptions: {
|
|
1613
|
+
optInTransformResponse: true
|
|
1614
|
+
},
|
|
1615
|
+
url: resolveWixTableReservationsExperienceV1ExperiencesServiceUrl({
|
|
1616
|
+
protoPath: "/v1/bulk/experiences/update",
|
|
1617
|
+
data: serializedData,
|
|
1618
|
+
host
|
|
1619
|
+
}),
|
|
1620
|
+
data: serializedData,
|
|
1621
|
+
transformResponse: (payload2) => (0, import_transform_paths.transformPaths)(payload2, [
|
|
1622
|
+
{
|
|
1623
|
+
transformFn: import_timestamp2.transformRESTTimestampToSDKTimestamp,
|
|
1624
|
+
paths: [
|
|
1625
|
+
{ path: "results.item.createdDate" },
|
|
1626
|
+
{ path: "results.item.updatedDate" },
|
|
1627
|
+
{
|
|
1628
|
+
path: "results.item.configuration.displayInfo.richContent.metadata.createdTimestamp"
|
|
1629
|
+
},
|
|
1630
|
+
{
|
|
1631
|
+
path: "results.item.configuration.displayInfo.richContent.metadata.updatedTimestamp"
|
|
1632
|
+
}
|
|
1633
|
+
]
|
|
1634
|
+
},
|
|
1635
|
+
{
|
|
1636
|
+
transformFn: import_float2.transformRESTFloatToSDKFloat,
|
|
1637
|
+
paths: [
|
|
1638
|
+
{
|
|
1639
|
+
path: "results.item.configuration.displayInfo.richContent.nodes.buttonData.styles.background.gradient.centerX"
|
|
1640
|
+
},
|
|
1641
|
+
{
|
|
1642
|
+
path: "results.item.configuration.displayInfo.richContent.nodes.buttonData.styles.background.gradient.centerY"
|
|
1643
|
+
},
|
|
1644
|
+
{
|
|
1645
|
+
path: "results.item.configuration.displayInfo.richContent.nodes.buttonData.styles.background.gradient.stops.position"
|
|
1646
|
+
},
|
|
1647
|
+
{
|
|
1648
|
+
path: "results.item.configuration.displayInfo.richContent.nodes.buttonData.styles.backgroundHover.gradient.centerX"
|
|
1649
|
+
},
|
|
1650
|
+
{
|
|
1651
|
+
path: "results.item.configuration.displayInfo.richContent.nodes.buttonData.styles.backgroundHover.gradient.centerY"
|
|
1652
|
+
},
|
|
1653
|
+
{
|
|
1654
|
+
path: "results.item.configuration.displayInfo.richContent.nodes.buttonData.styles.backgroundHover.gradient.stops.position"
|
|
1655
|
+
},
|
|
1656
|
+
{
|
|
1657
|
+
path: "results.item.configuration.displayInfo.richContent.nodes.galleryData.items.image.media.duration"
|
|
1658
|
+
},
|
|
1659
|
+
{
|
|
1660
|
+
path: "results.item.configuration.displayInfo.richContent.nodes.galleryData.items.video.media.duration"
|
|
1661
|
+
},
|
|
1662
|
+
{
|
|
1663
|
+
path: "results.item.configuration.displayInfo.richContent.nodes.galleryData.items.video.thumbnail.duration"
|
|
1664
|
+
},
|
|
1665
|
+
{
|
|
1666
|
+
path: "results.item.configuration.displayInfo.richContent.nodes.galleryData.options.item.ratio"
|
|
1667
|
+
},
|
|
1668
|
+
{
|
|
1669
|
+
path: "results.item.configuration.displayInfo.richContent.nodes.imageData.image.duration"
|
|
1670
|
+
},
|
|
1671
|
+
{
|
|
1672
|
+
path: "results.item.configuration.displayInfo.richContent.nodes.mapData.mapSettings.lat"
|
|
1673
|
+
},
|
|
1674
|
+
{
|
|
1675
|
+
path: "results.item.configuration.displayInfo.richContent.nodes.mapData.mapSettings.lng"
|
|
1676
|
+
},
|
|
1677
|
+
{
|
|
1678
|
+
path: "results.item.configuration.displayInfo.richContent.nodes.pollData.poll.image.duration"
|
|
1679
|
+
},
|
|
1680
|
+
{
|
|
1681
|
+
path: "results.item.configuration.displayInfo.richContent.nodes.pollData.poll.options.image.duration"
|
|
1682
|
+
},
|
|
1683
|
+
{
|
|
1684
|
+
path: "results.item.configuration.displayInfo.richContent.nodes.pollData.design.poll.background.image.duration"
|
|
1685
|
+
},
|
|
1686
|
+
{
|
|
1687
|
+
path: "results.item.configuration.displayInfo.richContent.nodes.appEmbedData.image.duration"
|
|
1688
|
+
},
|
|
1689
|
+
{
|
|
1690
|
+
path: "results.item.configuration.displayInfo.richContent.nodes.videoData.video.duration"
|
|
1691
|
+
},
|
|
1692
|
+
{
|
|
1693
|
+
path: "results.item.configuration.displayInfo.richContent.nodes.videoData.thumbnail.duration"
|
|
1694
|
+
},
|
|
1695
|
+
{
|
|
1696
|
+
path: "results.item.configuration.displayInfo.richContent.nodes.audioData.audio.duration"
|
|
1697
|
+
},
|
|
1698
|
+
{
|
|
1699
|
+
path: "results.item.configuration.displayInfo.richContent.nodes.audioData.coverImage.duration"
|
|
1700
|
+
},
|
|
1701
|
+
{
|
|
1702
|
+
path: "results.item.configuration.displayInfo.richContent.nodes.layoutData.backgroundImage.media.duration"
|
|
1703
|
+
},
|
|
1704
|
+
{
|
|
1705
|
+
path: "results.item.configuration.displayInfo.richContent.nodes.layoutData.backdropImage.media.duration"
|
|
1706
|
+
},
|
|
1707
|
+
{
|
|
1708
|
+
path: "results.item.configuration.displayInfo.richContent.nodes.layoutData.background.gradient.centerX"
|
|
1709
|
+
},
|
|
1710
|
+
{
|
|
1711
|
+
path: "results.item.configuration.displayInfo.richContent.nodes.layoutData.background.gradient.centerY"
|
|
1712
|
+
},
|
|
1713
|
+
{
|
|
1714
|
+
path: "results.item.configuration.displayInfo.richContent.nodes.layoutData.background.gradient.stops.position"
|
|
1715
|
+
},
|
|
1716
|
+
{
|
|
1717
|
+
path: "results.item.configuration.displayInfo.richContent.nodes.layoutData.backdrop.gradient.centerX"
|
|
1718
|
+
},
|
|
1719
|
+
{
|
|
1720
|
+
path: "results.item.configuration.displayInfo.richContent.nodes.layoutData.backdrop.gradient.centerY"
|
|
1721
|
+
},
|
|
1722
|
+
{
|
|
1723
|
+
path: "results.item.configuration.displayInfo.richContent.nodes.layoutData.backdrop.gradient.stops.position"
|
|
1724
|
+
},
|
|
1725
|
+
{
|
|
1726
|
+
path: "results.item.configuration.displayInfo.richContent.nodes.shapeData.shape.duration"
|
|
1727
|
+
},
|
|
1728
|
+
{
|
|
1729
|
+
path: "results.item.configuration.displayInfo.richContent.nodes.cardData.background.gradient.centerX"
|
|
1730
|
+
},
|
|
1731
|
+
{
|
|
1732
|
+
path: "results.item.configuration.displayInfo.richContent.nodes.cardData.background.gradient.centerY"
|
|
1733
|
+
},
|
|
1734
|
+
{
|
|
1735
|
+
path: "results.item.configuration.displayInfo.richContent.nodes.cardData.background.gradient.stops.position"
|
|
1736
|
+
},
|
|
1737
|
+
{
|
|
1738
|
+
path: "results.item.configuration.displayInfo.richContent.nodes.cardData.backgroundImage.media.duration"
|
|
1739
|
+
},
|
|
1740
|
+
{
|
|
1741
|
+
path: "results.item.configuration.displayInfo.richContent.nodes.tocData.fontSize"
|
|
1742
|
+
},
|
|
1743
|
+
{
|
|
1744
|
+
path: "results.item.configuration.displayInfo.richContent.nodes.tocData.itemSpacing"
|
|
1745
|
+
},
|
|
1746
|
+
{
|
|
1747
|
+
path: "results.item.configuration.displayInfo.richContent.nodes.smartBlockCellData.shape.duration"
|
|
1748
|
+
}
|
|
1749
|
+
]
|
|
1750
|
+
}
|
|
1751
|
+
])
|
|
1752
|
+
};
|
|
1753
|
+
return metadata;
|
|
1754
|
+
}
|
|
1755
|
+
return __bulkUpdateExperiences;
|
|
1756
|
+
}
|
|
1469
1757
|
function bulkUpdateExperienceTags(payload) {
|
|
1470
1758
|
function __bulkUpdateExperienceTags({ host }) {
|
|
1471
1759
|
const metadata = {
|
|
@@ -1986,6 +2274,11 @@ var SmartBlockDataType = /* @__PURE__ */ ((SmartBlockDataType2) => {
|
|
|
1986
2274
|
SmartBlockDataType2["ARROW_BULLETS"] = "ARROW_BULLETS";
|
|
1987
2275
|
SmartBlockDataType2["PROCESS_STEPS"] = "PROCESS_STEPS";
|
|
1988
2276
|
SmartBlockDataType2["BAR_STATS"] = "BAR_STATS";
|
|
2277
|
+
SmartBlockDataType2["TIMELINE"] = "TIMELINE";
|
|
2278
|
+
SmartBlockDataType2["MINIMAL_TIMELINE"] = "MINIMAL_TIMELINE";
|
|
2279
|
+
SmartBlockDataType2["PILLS"] = "PILLS";
|
|
2280
|
+
SmartBlockDataType2["STAR_RATING"] = "STAR_RATING";
|
|
2281
|
+
SmartBlockDataType2["QUOTE_BOXES"] = "QUOTE_BOXES";
|
|
1989
2282
|
return SmartBlockDataType2;
|
|
1990
2283
|
})(SmartBlockDataType || {});
|
|
1991
2284
|
var ColumnSize = /* @__PURE__ */ ((ColumnSize2) => {
|
|
@@ -2466,6 +2759,81 @@ async function searchExperiences2(search) {
|
|
|
2466
2759
|
throw transformedError;
|
|
2467
2760
|
}
|
|
2468
2761
|
}
|
|
2762
|
+
async function bulkUpdateExperiences2(experiences, options) {
|
|
2763
|
+
const { httpClient, sideEffects } = arguments[2];
|
|
2764
|
+
const payload = (0, import_transform_paths2.transformPaths)(
|
|
2765
|
+
(0, import_rename_all_nested_keys.renameKeysFromSDKRequestToRESTRequest)(
|
|
2766
|
+
{ experiences, returnEntity: options?.returnEntity },
|
|
2767
|
+
["experiences.experience.configuration.displayInfo.richContent"]
|
|
2768
|
+
),
|
|
2769
|
+
[
|
|
2770
|
+
{
|
|
2771
|
+
transformFn: import_page_url_v2.transformSDKPageURLV2ToRESTPageURLV2,
|
|
2772
|
+
paths: [
|
|
2773
|
+
{ path: "experiences.experience.experiencePageUrl" },
|
|
2774
|
+
{
|
|
2775
|
+
path: "experiences.experience.configuration.reservationForm.privacyPolicy.url"
|
|
2776
|
+
},
|
|
2777
|
+
{
|
|
2778
|
+
path: "experiences.experience.configuration.reservationForm.termsAndConditions.url"
|
|
2779
|
+
}
|
|
2780
|
+
]
|
|
2781
|
+
},
|
|
2782
|
+
{
|
|
2783
|
+
transformFn: import_image.transformSDKImageToRESTImage,
|
|
2784
|
+
paths: [
|
|
2785
|
+
{
|
|
2786
|
+
path: "experiences.experience.configuration.displayInfo.coverImage"
|
|
2787
|
+
}
|
|
2788
|
+
]
|
|
2789
|
+
}
|
|
2790
|
+
]
|
|
2791
|
+
);
|
|
2792
|
+
const reqOpts = bulkUpdateExperiences(payload);
|
|
2793
|
+
sideEffects?.onSiteCall?.();
|
|
2794
|
+
try {
|
|
2795
|
+
const result = await httpClient.request(reqOpts);
|
|
2796
|
+
sideEffects?.onSuccess?.(result);
|
|
2797
|
+
return (0, import_rename_all_nested_keys.renameKeysFromRESTResponseToSDKResponse)(
|
|
2798
|
+
(0, import_transform_paths2.transformPaths)(result.data, [
|
|
2799
|
+
{
|
|
2800
|
+
transformFn: import_page_url_v22.transformRESTPageURLV2ToSDKPageURLV2,
|
|
2801
|
+
paths: [
|
|
2802
|
+
{ path: "results.item.experiencePageUrl" },
|
|
2803
|
+
{
|
|
2804
|
+
path: "results.item.configuration.reservationForm.privacyPolicy.url"
|
|
2805
|
+
},
|
|
2806
|
+
{
|
|
2807
|
+
path: "results.item.configuration.reservationForm.termsAndConditions.url"
|
|
2808
|
+
}
|
|
2809
|
+
]
|
|
2810
|
+
},
|
|
2811
|
+
{
|
|
2812
|
+
transformFn: import_image2.transformRESTImageToSDKImage,
|
|
2813
|
+
paths: [
|
|
2814
|
+
{ path: "results.item.configuration.displayInfo.coverImage" }
|
|
2815
|
+
]
|
|
2816
|
+
}
|
|
2817
|
+
]),
|
|
2818
|
+
["results.item.configuration.displayInfo.richContent"]
|
|
2819
|
+
);
|
|
2820
|
+
} catch (err) {
|
|
2821
|
+
const transformedError = (0, import_transform_error.transformError)(
|
|
2822
|
+
err,
|
|
2823
|
+
{
|
|
2824
|
+
spreadPathsToArguments: {},
|
|
2825
|
+
explicitPathsToArguments: {
|
|
2826
|
+
experiences: "$[0]",
|
|
2827
|
+
returnEntity: "$[1].returnEntity"
|
|
2828
|
+
},
|
|
2829
|
+
singleArgumentUnchanged: false
|
|
2830
|
+
},
|
|
2831
|
+
["experiences", "options"]
|
|
2832
|
+
);
|
|
2833
|
+
sideEffects?.onError?.(err);
|
|
2834
|
+
throw transformedError;
|
|
2835
|
+
}
|
|
2836
|
+
}
|
|
2469
2837
|
async function bulkUpdateExperienceTags2(experienceIds, options) {
|
|
2470
2838
|
const { httpClient, sideEffects } = arguments[2];
|
|
2471
2839
|
const payload = (0, import_rename_all_nested_keys.renameKeysFromSDKRequestToRESTRequest)(
|
|
@@ -2643,6 +3011,14 @@ function searchExperiences3(httpClient) {
|
|
|
2643
3011
|
{ httpClient }
|
|
2644
3012
|
);
|
|
2645
3013
|
}
|
|
3014
|
+
function bulkUpdateExperiences3(httpClient) {
|
|
3015
|
+
return (experiences, options) => bulkUpdateExperiences2(
|
|
3016
|
+
experiences,
|
|
3017
|
+
options,
|
|
3018
|
+
// @ts-ignore
|
|
3019
|
+
{ httpClient }
|
|
3020
|
+
);
|
|
3021
|
+
}
|
|
2646
3022
|
function bulkUpdateExperienceTags3(httpClient) {
|
|
2647
3023
|
return (experienceIds, options) => bulkUpdateExperienceTags2(
|
|
2648
3024
|
experienceIds,
|
|
@@ -3283,6 +3659,7 @@ var getExperience4 = /* @__PURE__ */ (0, import_rest_modules3.createRESTModule)(
|
|
|
3283
3659
|
var getExperienceBySlug4 = /* @__PURE__ */ (0, import_rest_modules3.createRESTModule)(getExperienceBySlug3);
|
|
3284
3660
|
var updateExperience4 = /* @__PURE__ */ (0, import_rest_modules3.createRESTModule)(updateExperience3);
|
|
3285
3661
|
var searchExperiences4 = /* @__PURE__ */ (0, import_rest_modules3.createRESTModule)(searchExperiences3);
|
|
3662
|
+
var bulkUpdateExperiences4 = /* @__PURE__ */ (0, import_rest_modules3.createRESTModule)(bulkUpdateExperiences3);
|
|
3286
3663
|
var bulkUpdateExperienceTags4 = /* @__PURE__ */ (0, import_rest_modules3.createRESTModule)(bulkUpdateExperienceTags3);
|
|
3287
3664
|
var bulkUpdateExperienceTagsByFilter4 = /* @__PURE__ */ (0, import_rest_modules3.createRESTModule)(bulkUpdateExperienceTagsByFilter3);
|
|
3288
3665
|
var bulkArchiveExperiences4 = /* @__PURE__ */ (0, import_rest_modules3.createRESTModule)(bulkArchiveExperiences3);
|
|
@@ -3379,6 +3756,7 @@ var onExperienceUpdated2 = (0, import_event_definition_modules.createEventModule
|
|
|
3379
3756
|
bulkUnarchiveExperiences,
|
|
3380
3757
|
bulkUpdateExperienceTags,
|
|
3381
3758
|
bulkUpdateExperienceTagsByFilter,
|
|
3759
|
+
bulkUpdateExperiences,
|
|
3382
3760
|
createExperience,
|
|
3383
3761
|
getExperience,
|
|
3384
3762
|
getExperienceBySlug,
|