@wix/auto_sdk_table-reservations_experiences 1.0.32 → 1.0.34
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 +36 -3
- package/build/cjs/index.js +859 -24
- package/build/cjs/index.js.map +1 -1
- package/build/cjs/index.typings.d.ts +2 -2
- package/build/cjs/index.typings.js +623 -20
- package/build/cjs/index.typings.js.map +1 -1
- package/build/cjs/meta.d.ts +283 -45
- package/build/cjs/meta.js +607 -20
- package/build/cjs/meta.js.map +1 -1
- package/build/cjs/{table-reservations-v1-experience-experiences.universal-CmEg4KfI.d.ts → table-reservations-v1-experience-experiences.universal-D6mHSKCq.d.ts} +325 -51
- package/build/es/index.d.mts +36 -3
- package/build/es/index.mjs +848 -24
- package/build/es/index.mjs.map +1 -1
- package/build/es/index.typings.d.mts +2 -2
- package/build/es/index.typings.mjs +612 -20
- package/build/es/index.typings.mjs.map +1 -1
- package/build/es/meta.d.mts +283 -45
- package/build/es/meta.mjs +596 -20
- package/build/es/meta.mjs.map +1 -1
- package/build/es/{table-reservations-v1-experience-experiences.universal-CmEg4KfI.d.mts → table-reservations-v1-experience-experiences.universal-D6mHSKCq.d.mts} +325 -51
- package/build/internal/cjs/index.d.ts +36 -3
- package/build/internal/cjs/index.js +859 -24
- 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 +623 -20
- package/build/internal/cjs/index.typings.js.map +1 -1
- package/build/internal/cjs/meta.d.ts +283 -45
- package/build/internal/cjs/meta.js +607 -20
- package/build/internal/cjs/meta.js.map +1 -1
- package/build/internal/cjs/{table-reservations-v1-experience-experiences.universal-CmEg4KfI.d.ts → table-reservations-v1-experience-experiences.universal-D6mHSKCq.d.ts} +325 -51
- package/build/internal/es/index.d.mts +36 -3
- package/build/internal/es/index.mjs +848 -24
- 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 +612 -20
- package/build/internal/es/index.typings.mjs.map +1 -1
- package/build/internal/es/meta.d.mts +283 -45
- package/build/internal/es/meta.mjs +596 -20
- package/build/internal/es/meta.mjs.map +1 -1
- package/build/internal/es/{table-reservations-v1-experience-experiences.universal-CmEg4KfI.d.mts → table-reservations-v1-experience-experiences.universal-D6mHSKCq.d.mts} +325 -51
- package/package.json +4 -4
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 BulkUpdateExperienceTagsOptions, c as BulkUpdateExperienceTagsResponse, d as BulkUpdateExperienceTagsApplicationErrors, e as BulkUpdateExperienceTagsByFilterOptions, f as BulkUpdateExperienceTagsByFilterResponse, g as BulkUpdateExperienceTagsByFilterApplicationErrors, h as
|
|
3
|
-
export {
|
|
2
|
+
import { E as Experience, G as GetExperienceBySlugResponse, U as UpdateExperience, a as UpdateExperienceApplicationErrors, b as ExperienceSearch, S as SearchExperiencesResponse, B as BulkUpdateExperienceTagsOptions, c as BulkUpdateExperienceTagsResponse, d as BulkUpdateExperienceTagsApplicationErrors, e as BulkUpdateExperienceTagsByFilterOptions, f as BulkUpdateExperienceTagsByFilterResponse, g as BulkUpdateExperienceTagsByFilterApplicationErrors, h as BulkArchiveExperiencesResponse, i as BulkUnarchiveExperiencesResponse, j as ExperienceCreatedEnvelope, k as ExperienceTagsModifiedEnvelope, l as ExperienceUpdatedEnvelope, m as ExperiencesQueryBuilder, n as ExperienceQuery, t as typedQueryExperiences } from './table-reservations-v1-experience-experiences.universal-D6mHSKCq.js';
|
|
3
|
+
export { eD as AccountInfo, eG as AccountInfoMetadata, ez as ActionEvent, ed as Address, ee as AddressHint, ds as Aggregation, dF as AggregationData, dt as AggregationKindOneOf, dY as AggregationResults, dZ as AggregationResultsResultOneOf, dM as AggregationResultsScalarResult, ax as AggregationType, fO as AggregationTypeWithLiterals, a5 as Alignment, fm as AlignmentWithLiterals, b_ as AnchorData, d1 as App, c5 as AppEmbedData, c6 as AppEmbedDataAppDataOneOf, a7 as AppType, fo as AppTypeWithLiterals, e0 as ApplicationError, aP as Approval, a1 as AspectRatio, fi as AspectRatioWithLiterals, cq as AudioData, cz as Backdrop, ag as BackdropType, fx as BackdropTypeWithLiterals, b5 as Background, bP as BackgroundGradient, cF as BackgroundImage, s as BackgroundType, eT as BackgroundTypeWithLiterals, cx as Banner, eE as BaseEventMetadata, ct as BlockquoteData, c7 as BookingData, b3 as Border, cn as BorderColors, co as BorderWidths, e2 as BulkActionMetadata, e4 as BulkArchiveExperiencesRequest, e5 as BulkArchiveExperiencesResult, e6 as BulkUnarchiveExperiencesRequest, e7 as BulkUnarchiveExperiencesResult, e3 as BulkUpdateExperienceTagsByFilterRequest, d_ as BulkUpdateExperienceTagsRequest, e1 as BulkUpdateExperienceTagsResult, cs as BulletedListData, eg as BusinessSchedule, b0 as ButtonData, v as ButtonDataType, eX as ButtonDataTypeWithLiterals, c9 as ButtonStyles, cu as CaptionData, cD as CardData, cE as CardDataBackground, am as CardDataBackgroundType, fD as CardDataBackgroundTypeWithLiterals, cc as CardStyles, eb as Categories, cm as CellStyle, en as ChangeContext, eo as ChangeContextPayloadOneOf, bf as CodeBlockData, ci as CollapsibleListData, b$ as ColorData, b4 as Colors, fU as CommonQueryWithEntityContext, fV as CommonSearchWithEntityContext, cS as Configuration, el as ConsentPolicy, d9 as CreateExperienceRequest, da as CreateExperienceResponse, C as Crop, f4 as CropWithLiterals, dk as CursorPaging, dm as CursorPagingMetadata, dh as CursorQuery, di as CursorQueryPagingMethodOneOf, dq as CursorSearch, dr as CursorSearchPagingMethodOneOf, dn as Cursors, aW as CustomFieldDefinition, d5 as CustomTag, dA as DateHistogramAggregation, dU as DateHistogramResult, dW as DateHistogramResults, aA as DayOfWeek, fR as DayOfWeekWithLiterals, bY as Decoration, bZ as DecorationDataOneOf, _ as DecorationType, ff as DecorationTypeWithLiterals, bW as Design, aj as DesignTarget, fA as DesignTargetWithLiterals, ck as Dimensions, a9 as Direction, fq as DirectionWithLiterals, cL as DisplayInfo, bh as DividerData, D as DividerDataAlignment, f0 as DividerDataAlignmentWithLiterals, cI as DocumentStyle, et as DomainEvent, eu as DomainEventBodyOneOf, aX as EmailMarketingCheckbox, cg as EmbedData, es as Empty, ev as EntityCreatedEvent, ey as EntityDeletedEvent, ex as EntityUpdatedEvent, aL as Entry, aM as EntryRecurrenceOptionsOneOf, c8 as EventData, eF as EventMetadata, eI as ExperienceQuerySpec, eJ as ExperienceSearchSpec, eH as ExperiencesQueryResult, cT as ExtendedFields, d4 as File, bi as FileData, bj as FileSource, bk as FileSourceDataOneOf, c4 as FontFamilyData, c2 as FontSizeData, $ as FontType, fg as FontTypeWithLiterals, bx as GIF, bw as GIFData, F as GIFType, f6 as GIFTypeWithLiterals, bm as GalleryData, bs as GalleryOptions, bt as GalleryOptionsLayout, ef as GeoCoordinates, dd as GetExperienceBySlugRequest, db as GetExperienceRequest, dc as GetExperienceResponse, b1 as Gradient, u as GradientType, eU as GradientTypeWithLiterals, dV as GroupByValueResults, bz as HTMLData, bA as HTMLDataDataOneOf, by as HeadingData, ba as Height, eB as IdentificationData, eC as IdentificationDataIdOneOf, bo as Image, bB as ImageData, bD as ImageDataStyles, ad as ImagePosition, al as ImagePositionPosition, fC as ImagePositionPositionWithLiterals, fu as ImagePositionWithLiterals, ac as ImageScalingScaling, ft as ImageScalingScalingWithLiterals, ca as ImageStyles, dv as IncludeMissingValuesOptions, ao as Indentation, fF as IndentationWithLiterals, a8 as InitialExpandedItems, fp as InitialExpandedItemsWithLiterals, aw as Interval, fN as IntervalWithLiterals, c$ as InvalidateCache, d0 as InvalidateCacheGetByOneOf, bq as Item, br as ItemDataOneOf, d$ as ItemMetadata, bu as ItemStyle, cY as Keyword, a6 as Layout, cA as LayoutCellData, cv as LayoutData, cy as LayoutDataBackground, cw as LayoutDataBackgroundImage, af as LayoutDataBackgroundType, fw as LayoutDataBackgroundTypeWithLiterals, z as LayoutType, f2 as LayoutTypeWithLiterals, fn as LayoutWithLiterals, L as LineStyle, e_ as LineStyleWithLiterals, bc as Link, c0 as LinkData, bd as LinkDataOneOf, bE as LinkPreviewData, bF as LinkPreviewDataStyles, an as ListStyle, fE as ListStyleWithLiterals, cp as ListValue, ec as Locale, bG as MapData, bH as MapSettings, J as MapType, f9 as MapTypeWithLiterals, aQ as MaxGuests, bn as Media, c1 as MentionData, eA as MessageEnvelope, cH as Metadata, at as MissingValues, fK as MissingValuesWithLiterals, M as Mode, eP as ModeWithLiterals, ej as Multilingual, dD as NestedAggregation, dB as NestedAggregationItem, dC as NestedAggregationItemKindOneOf, dI as NestedAggregationResults, dJ as NestedAggregationResultsResultOneOf, av as NestedAggregationType, fM as NestedAggregationTypeWithLiterals, dR as NestedResultValue, dS as NestedResultValueResultOneOf, dX as NestedResults, dN as NestedValueAggregationResult, aZ as Node, a_ as NodeDataOneOf, a$ as NodeStyle, N as NodeType, eS as NodeTypeWithLiterals, aO as NoticePeriod, ab as NullValue, fs as NullValueWithLiterals, ch as Oembed, aG as OnOptions, aH as OnOptionsOptionsOneOf, aK as OneTimeOptions, cO as OnlineReservations, aR as OnlineReservationsBusinessSchedule, bL as Option, bT as OptionDesign, bO as OptionLayout, cr as OrderedListData, O as Orientation, f3 as OrientationWithLiterals, ae as Origin, fv as OriginWithLiterals, bl as PDFSettings, d2 as Page, d6 as Pages, bI as ParagraphData, aN as PartySize, cM as PaymentPolicy, cN as PaymentPolicyOptionsOneOf, ap as PaymentPolicyType, fG as PaymentPolicyTypeWithLiterals, cK as PerGuestOptions, bK as Permissions, a3 as Placement, az as PlacementType, fQ as PlacementTypeWithLiterals, fk as PlacementWithLiterals, cf as PlaybackOptions, b6 as PluginContainerData, P as PluginContainerDataAlignment, eW as PluginContainerDataAlignmentWithLiterals, b7 as PluginContainerDataWidth, b8 as PluginContainerDataWidthDataOneOf, bU as Poll, bJ as PollData, bV as PollDataLayout, bS as PollDesign, bQ as PollDesignBackground, bR as PollDesignBackgroundBackgroundOneOf, Z as PollDesignBackgroundType, fe as PollDesignBackgroundTypeWithLiterals, bN as PollLayout, Y as PollLayoutDirection, fd as PollLayoutDirectionWithLiterals, X as PollLayoutType, fc as PollLayoutTypeWithLiterals, bM as PollSettings, a0 as Position, fh as PositionWithLiterals, cd as PricingData, aS as PrivacyPolicy, aT as PrivacyPolicyValueOneOf, ea as Properties, ep as PropertiesChange, dg as QueryExperiencesRequest, dl as QueryExperiencesResponse, dy as RangeAggregation, dH as RangeAggregationResult, du as RangeBucket, dP as RangeResult, dL as RangeResults, R as Recurrence, eR as RecurrenceWithLiterals, be as Rel, cP as ReservationForm, a2 as Resizing, fj as ResizingWithLiterals, aB as ResolutionMethod, fS as ResolutionMethodWithLiterals, ai as ResponsivenessBehaviour, fz as ResponsivenessBehaviourWithLiterals, ew as RestoreInfo, dT as Results, cb as RibbonStyles, aY as RichContent, dz as ScalarAggregation, dQ as ScalarResult, au as ScalarType, fL as ScalarTypeWithLiterals, ak as Scaling, fB as ScalingWithLiterals, dE as SearchDetails, ay as SearchDetailsMode, fP as SearchDetailsModeWithLiterals, dp as SearchExperiencesRequest, cX as SeoSchema, cW as SeoSettings, c_ as Settings, cB as ShapeData, cC as ShapeDataStyles, er as SiteCloned, eq as SiteCreated, e9 as SitePropertiesEvent, e8 as SitePropertiesNotification, as as SortDirection, fJ as SortDirectionWithLiterals, aq as SortOrder, fH as SortOrderWithLiterals, ar as SortType, fI as SortTypeWithLiterals, dj as Sorting, H as Source, f7 as SourceWithLiterals, ei as SpecialHourPeriod, aF as SpecificTablesOptions, b9 as Spoiler, c3 as SpoilerData, aI as StartDaysAndTimes, r as StartDaysAndTimesDayOfWeek, eQ as StartDaysAndTimesDayOfWeekWithLiterals, b2 as Stop, bb as Styles, bC as StylesBorder, I as StylesPosition, f8 as StylesPositionWithLiterals, ek as SupportedLanguage, aD as Table, o as TableAssignmentType, eM as TableAssignmentTypeWithLiterals, T as TableAvailabilityType, eL as TableAvailabilityTypeWithLiterals, cl as TableCellData, aE as TableCombination, cj as TableData, cQ as TableManagement, p as TableManagementMode, eN as TableManagementModeWithLiterals, cR as TableManagementOptionsOneOf, cZ as Tag, cV as TagList, cU as Tags, d8 as TagsModified, w as Target, eY as TargetWithLiterals, aU as TermsAndConditions, aV as TermsAndConditionsValueOneOf, x as TextAlignment, eZ as TextAlignmentWithLiterals, bX as TextData, cJ as TextNodeStyle, bg as TextStyle, bv as Thumbnails, A as ThumbnailsAlignment, f5 as ThumbnailsAlignmentWithLiterals, eh as TimePeriod, cG as TocData, em as Translation, a4 as Type, fl as TypeWithLiterals, d3 as URI, d7 as URIs, q as Unit, eO as UnitWithLiterals, de as UpdateExperienceRequest, df as UpdateExperienceResponse, dw as ValueAggregation, dx as ValueAggregationOptionsOneOf, dG as ValueAggregationResult, dO as ValueResult, dK as ValueResults, aa as VerticalAlignment, ah as VerticalAlignmentAlignment, fy as VerticalAlignmentAlignmentWithLiterals, fr as VerticalAlignmentWithLiterals, bp as Video, ce as VideoData, V as ViewMode, f1 as ViewModeWithLiterals, K as ViewRole, fa as ViewRoleWithLiterals, Q as VoteRole, fb as VoteRoleWithLiterals, aC as WebhookIdentityType, fT as WebhookIdentityTypeWithLiterals, aJ as WeeklyOptions, y as Width, W as WidthType, eV as WidthTypeWithLiterals, e$ as WidthWithLiterals, eK as utils } from './table-reservations-v1-experience-experiences.universal-D6mHSKCq.js';
|
|
4
4
|
|
|
5
5
|
declare function createExperience$1(httpClient: HttpClient): CreateExperienceSignature;
|
|
6
6
|
interface CreateExperienceSignature {
|
|
@@ -75,6 +75,37 @@ interface BulkUpdateExperienceTagsByFilterSignature {
|
|
|
75
75
|
__applicationErrorsType?: BulkUpdateExperienceTagsByFilterApplicationErrors;
|
|
76
76
|
}>;
|
|
77
77
|
}
|
|
78
|
+
declare function bulkArchiveExperiences$1(httpClient: HttpClient): BulkArchiveExperiencesSignature;
|
|
79
|
+
interface BulkArchiveExperiencesSignature {
|
|
80
|
+
/**
|
|
81
|
+
* Archives multiple experiences at once.
|
|
82
|
+
*
|
|
83
|
+
* **Important:** Archiving an experience automatically sets `configuration.visible` to `false`,
|
|
84
|
+
* hiding it from the live site. This ensures archived experiences cannot accept new reservations
|
|
85
|
+
* and are not discoverable by customers.
|
|
86
|
+
* @param - IDs of experiences to archive.
|
|
87
|
+
*/
|
|
88
|
+
(experienceIds: string[]): Promise<NonNullablePaths<BulkArchiveExperiencesResponse, `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>>;
|
|
89
|
+
}
|
|
90
|
+
declare function bulkUnarchiveExperiences$1(httpClient: HttpClient): BulkUnarchiveExperiencesSignature;
|
|
91
|
+
interface BulkUnarchiveExperiencesSignature {
|
|
92
|
+
/**
|
|
93
|
+
* Unarchives multiple experiences at once.
|
|
94
|
+
*
|
|
95
|
+
* **Important:** Unarchiving only sets `archived` to `false`. It does NOT restore the
|
|
96
|
+
* `configuration.visible` setting to its pre-archived state. After unarchiving, you must
|
|
97
|
+
* explicitly update `configuration.visible` to `true` if you want the experience to appear
|
|
98
|
+
* on the live site again. This safety measure prevents accidentally publishing experiences
|
|
99
|
+
* that may need review or updates before being made publicly available.
|
|
100
|
+
*
|
|
101
|
+
* **Example workflow:**
|
|
102
|
+
* 1. Call `BulkUnarchiveExperiences` to restore dashboard access
|
|
103
|
+
* 2. Review and update the experience as needed
|
|
104
|
+
* 3. Call `UpdateExperience` to set `configuration.visible = true` when ready to publish
|
|
105
|
+
* @param - Experience IDs to unarchive.
|
|
106
|
+
*/
|
|
107
|
+
(experienceIds: string[]): Promise<NonNullablePaths<BulkUnarchiveExperiencesResponse, `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>>;
|
|
108
|
+
}
|
|
78
109
|
declare const onExperienceCreated$1: EventDefinition<ExperienceCreatedEnvelope, "wix.table_reservations.v1.experience_created">;
|
|
79
110
|
declare const onExperienceTagsModified$1: EventDefinition<ExperienceTagsModifiedEnvelope, "wix.table_reservations.v1.experience_tags_modified">;
|
|
80
111
|
declare const onExperienceUpdated$1: EventDefinition<ExperienceUpdatedEnvelope, "wix.table_reservations.v1.experience_updated">;
|
|
@@ -90,6 +121,8 @@ declare const updateExperience: MaybeContext<BuildRESTFunction<typeof updateExpe
|
|
|
90
121
|
declare const searchExperiences: MaybeContext<BuildRESTFunction<typeof searchExperiences$1> & typeof searchExperiences$1>;
|
|
91
122
|
declare const bulkUpdateExperienceTags: MaybeContext<BuildRESTFunction<typeof bulkUpdateExperienceTags$1> & typeof bulkUpdateExperienceTags$1>;
|
|
92
123
|
declare const bulkUpdateExperienceTagsByFilter: MaybeContext<BuildRESTFunction<typeof bulkUpdateExperienceTagsByFilter$1> & typeof bulkUpdateExperienceTagsByFilter$1>;
|
|
124
|
+
declare const bulkArchiveExperiences: MaybeContext<BuildRESTFunction<typeof bulkArchiveExperiences$1> & typeof bulkArchiveExperiences$1>;
|
|
125
|
+
declare const bulkUnarchiveExperiences: MaybeContext<BuildRESTFunction<typeof bulkUnarchiveExperiences$1> & typeof bulkUnarchiveExperiences$1>;
|
|
93
126
|
declare const queryExperiences: MaybeContext<BuildRESTFunction<typeof customQueryExperiences> & typeof customQueryExperiences>;
|
|
94
127
|
/**
|
|
95
128
|
* Triggered when an experience is created.
|
|
@@ -104,4 +137,4 @@ declare const onExperienceTagsModified: BuildEventDefinition<typeof onExperience
|
|
|
104
137
|
*/
|
|
105
138
|
declare const onExperienceUpdated: BuildEventDefinition<typeof onExperienceUpdated$1> & typeof onExperienceUpdated$1;
|
|
106
139
|
|
|
107
|
-
export { BulkUpdateExperienceTagsApplicationErrors, BulkUpdateExperienceTagsByFilterApplicationErrors, BulkUpdateExperienceTagsByFilterOptions, BulkUpdateExperienceTagsByFilterResponse, BulkUpdateExperienceTagsOptions, BulkUpdateExperienceTagsResponse, Experience, ExperienceCreatedEnvelope, ExperienceQuery, ExperienceSearch, ExperienceTagsModifiedEnvelope, ExperienceUpdatedEnvelope, ExperiencesQueryBuilder, GetExperienceBySlugResponse, SearchExperiencesResponse, UpdateExperience, UpdateExperienceApplicationErrors, bulkUpdateExperienceTags, bulkUpdateExperienceTagsByFilter, createExperience, getExperience, getExperienceBySlug, onExperienceCreated, onExperienceTagsModified, onExperienceUpdated, queryExperiences, searchExperiences, updateExperience };
|
|
140
|
+
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 };
|