@wix/auto_sdk_table-reservations_experiences 1.0.36 → 1.0.37
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 +39 -27
- package/build/cjs/index.js +2977 -32
- package/build/cjs/index.js.map +1 -1
- package/build/cjs/index.typings.d.ts +2 -3
- package/build/cjs/index.typings.js +2955 -10
- package/build/cjs/index.typings.js.map +1 -1
- package/build/cjs/meta.d.ts +7 -7
- package/build/cjs/meta.js.map +1 -1
- package/build/cjs/schemas.d.ts +3 -3
- package/build/cjs/schemas.js +2 -2
- package/build/cjs/schemas.js.map +1 -1
- package/build/cjs/{table-reservations-v1-experience-experiences.universal-BAFNaOzr.d.ts → table-reservations-v1-experience-experiences.universal-CHddGarE.d.ts} +20 -58
- package/build/es/index.d.mts +39 -27
- package/build/es/index.mjs +2967 -32
- package/build/es/index.mjs.map +1 -1
- package/build/es/index.typings.d.mts +2 -3
- package/build/es/index.typings.mjs +2945 -10
- package/build/es/index.typings.mjs.map +1 -1
- package/build/es/meta.d.mts +7 -7
- package/build/es/meta.mjs.map +1 -1
- package/build/es/schemas.d.mts +3 -3
- package/build/es/schemas.mjs +2 -2
- package/build/es/schemas.mjs.map +1 -1
- package/build/es/{table-reservations-v1-experience-experiences.universal-BAFNaOzr.d.mts → table-reservations-v1-experience-experiences.universal-CHddGarE.d.mts} +20 -58
- package/build/internal/cjs/index.d.ts +39 -27
- package/build/internal/cjs/index.js +2977 -32
- package/build/internal/cjs/index.js.map +1 -1
- package/build/internal/cjs/index.typings.d.ts +2 -3
- package/build/internal/cjs/index.typings.js +2955 -10
- package/build/internal/cjs/index.typings.js.map +1 -1
- package/build/internal/cjs/meta.d.ts +7 -7
- package/build/internal/cjs/meta.js.map +1 -1
- package/build/internal/cjs/schemas.d.ts +3 -3
- package/build/internal/cjs/schemas.js +2 -2
- package/build/internal/cjs/schemas.js.map +1 -1
- package/build/internal/cjs/{table-reservations-v1-experience-experiences.universal-BAFNaOzr.d.ts → table-reservations-v1-experience-experiences.universal-CHddGarE.d.ts} +20 -58
- package/build/internal/es/index.d.mts +39 -27
- package/build/internal/es/index.mjs +2967 -32
- package/build/internal/es/index.mjs.map +1 -1
- package/build/internal/es/index.typings.d.mts +2 -3
- package/build/internal/es/index.typings.mjs +2945 -10
- package/build/internal/es/index.typings.mjs.map +1 -1
- package/build/internal/es/meta.d.mts +7 -7
- package/build/internal/es/meta.mjs.map +1 -1
- package/build/internal/es/schemas.d.mts +3 -3
- package/build/internal/es/schemas.mjs +2 -2
- package/build/internal/es/schemas.mjs.map +1 -1
- package/build/internal/es/{table-reservations-v1-experience-experiences.universal-BAFNaOzr.d.mts → table-reservations-v1-experience-experiences.universal-CHddGarE.d.mts} +20 -58
- package/package.json +2 -2
|
@@ -3673,7 +3673,7 @@ interface BulkUpdateExperienceTagsByFilterResponse {
|
|
|
3673
3673
|
}
|
|
3674
3674
|
interface BulkArchiveExperiencesRequest {
|
|
3675
3675
|
/**
|
|
3676
|
-
* IDs of experiences to archive.
|
|
3676
|
+
* IDs of the experiences to archive.
|
|
3677
3677
|
* @minSize 1
|
|
3678
3678
|
* @maxSize 100
|
|
3679
3679
|
* @format GUID
|
|
@@ -3682,12 +3682,12 @@ interface BulkArchiveExperiencesRequest {
|
|
|
3682
3682
|
}
|
|
3683
3683
|
interface BulkArchiveExperiencesResponse {
|
|
3684
3684
|
/**
|
|
3685
|
-
*
|
|
3685
|
+
* Experiences updated by the bulk action.
|
|
3686
3686
|
* @minSize 1
|
|
3687
3687
|
* @maxSize 100
|
|
3688
3688
|
*/
|
|
3689
3689
|
results?: BulkArchiveExperiencesResult[];
|
|
3690
|
-
/**
|
|
3690
|
+
/** Bulk action metadata. */
|
|
3691
3691
|
bulkActionMetadata?: BulkActionMetadata;
|
|
3692
3692
|
}
|
|
3693
3693
|
interface BulkArchiveExperiencesResult {
|
|
@@ -3696,7 +3696,7 @@ interface BulkArchiveExperiencesResult {
|
|
|
3696
3696
|
}
|
|
3697
3697
|
interface BulkUnarchiveExperiencesRequest {
|
|
3698
3698
|
/**
|
|
3699
|
-
*
|
|
3699
|
+
* IDs of the experiences to unarchive.
|
|
3700
3700
|
* @minSize 1
|
|
3701
3701
|
* @maxSize 100
|
|
3702
3702
|
* @format GUID
|
|
@@ -3705,12 +3705,12 @@ interface BulkUnarchiveExperiencesRequest {
|
|
|
3705
3705
|
}
|
|
3706
3706
|
interface BulkUnarchiveExperiencesResponse {
|
|
3707
3707
|
/**
|
|
3708
|
-
*
|
|
3708
|
+
* Experiences updated by the bulk action.
|
|
3709
3709
|
* @minSize 1
|
|
3710
3710
|
* @maxSize 100
|
|
3711
3711
|
*/
|
|
3712
3712
|
results?: BulkUnarchiveExperiencesResult[];
|
|
3713
|
-
/**
|
|
3713
|
+
/** Bulk action metadata. */
|
|
3714
3714
|
bulkActionMetadata?: BulkActionMetadata;
|
|
3715
3715
|
}
|
|
3716
3716
|
interface BulkUnarchiveExperiencesResult {
|
|
@@ -4248,7 +4248,6 @@ interface ExperienceCreatedEnvelope {
|
|
|
4248
4248
|
* @webhook
|
|
4249
4249
|
* @eventType wix.table_reservations.v1.experience_created
|
|
4250
4250
|
* @slug created
|
|
4251
|
-
* @documentationMaturity preview
|
|
4252
4251
|
*/
|
|
4253
4252
|
declare function onExperienceCreated(handler: (event: ExperienceCreatedEnvelope) => void | Promise<void>): void;
|
|
4254
4253
|
interface ExperienceTagsModifiedEnvelope {
|
|
@@ -4263,7 +4262,6 @@ interface ExperienceTagsModifiedEnvelope {
|
|
|
4263
4262
|
* @webhook
|
|
4264
4263
|
* @eventType wix.table_reservations.v1.experience_tags_modified
|
|
4265
4264
|
* @slug tags_modified
|
|
4266
|
-
* @documentationMaturity preview
|
|
4267
4265
|
*/
|
|
4268
4266
|
declare function onExperienceTagsModified(handler: (event: ExperienceTagsModifiedEnvelope) => void | Promise<void>): void;
|
|
4269
4267
|
interface ExperienceUpdatedEnvelope {
|
|
@@ -4280,14 +4278,12 @@ interface ExperienceUpdatedEnvelope {
|
|
|
4280
4278
|
* @webhook
|
|
4281
4279
|
* @eventType wix.table_reservations.v1.experience_updated
|
|
4282
4280
|
* @slug updated
|
|
4283
|
-
* @documentationMaturity preview
|
|
4284
4281
|
*/
|
|
4285
4282
|
declare function onExperienceUpdated(handler: (event: ExperienceUpdatedEnvelope) => void | Promise<void>): void;
|
|
4286
4283
|
/**
|
|
4287
4284
|
* Creates an experience.
|
|
4288
4285
|
* @param experience - Experience to create.
|
|
4289
4286
|
* @public
|
|
4290
|
-
* @documentationMaturity preview
|
|
4291
4287
|
* @requiredField experience
|
|
4292
4288
|
* @requiredField experience.configuration
|
|
4293
4289
|
* @requiredField experience.configuration.displayInfo
|
|
@@ -4316,7 +4312,6 @@ declare function createExperience(experience: NonNullablePaths<Experience, `conf
|
|
|
4316
4312
|
* Retrieves an experience.
|
|
4317
4313
|
* @param experienceId - ID of the experience to retrieve.
|
|
4318
4314
|
* @public
|
|
4319
|
-
* @documentationMaturity preview
|
|
4320
4315
|
* @requiredField experienceId
|
|
4321
4316
|
* @permissionId TABLE_RESERVATIONS.EXPERIENCE_READ
|
|
4322
4317
|
* @permissionId TABLE_RESERVATIONS.EXPERIENCE_READ_FULL
|
|
@@ -4331,7 +4326,6 @@ declare function getExperience(experienceId: string): Promise<NonNullablePaths<E
|
|
|
4331
4326
|
* The slug is a URL-friendly identifier for the experience page, derived from the experience display name in kebab-case format. For example, "wine-tasting-event".
|
|
4332
4327
|
* @param slug - Slug of the experience to retrieve.
|
|
4333
4328
|
* @public
|
|
4334
|
-
* @documentationMaturity preview
|
|
4335
4329
|
* @requiredField slug
|
|
4336
4330
|
* @permissionId TABLE_RESERVATIONS.EXPERIENCE_READ
|
|
4337
4331
|
* @permissionId TABLE_RESERVATIONS.EXPERIENCE_READ_FULL
|
|
@@ -4347,7 +4341,6 @@ declare function getExperienceBySlug(slug: string): Promise<NonNullablePaths<Get
|
|
|
4347
4341
|
* This ensures you're working with the latest experience information and prevents unintended overwrites.
|
|
4348
4342
|
* @param _id - Experience ID.
|
|
4349
4343
|
* @public
|
|
4350
|
-
* @documentationMaturity preview
|
|
4351
4344
|
* @requiredField _id
|
|
4352
4345
|
* @requiredField experience
|
|
4353
4346
|
* @requiredField experience.revision
|
|
@@ -4416,7 +4409,6 @@ interface UpdateExperience {
|
|
|
4416
4409
|
* For a detailed list of supported operations, see the [Supported Filters and Sorting](https://dev.wix.com/docs/api-reference/business-solutions/restaurants/wix-restaurants-new/reservations/experiences/sorting-and-filtering) article.
|
|
4417
4410
|
* To learn how to query reservation locations, see [API Query Language](https://dev.wix.com/api/rest/getting-started/api-query-language).
|
|
4418
4411
|
* @public
|
|
4419
|
-
* @documentationMaturity preview
|
|
4420
4412
|
* @permissionId TABLE_RESERVATIONS.EXPERIENCE_READ
|
|
4421
4413
|
* @permissionId TABLE_RESERVATIONS.EXPERIENCE_READ_FULL
|
|
4422
4414
|
* @applicableIdentity APP
|
|
@@ -4439,70 +4431,50 @@ interface ExperiencesQueryResult extends QueryCursorResult {
|
|
|
4439
4431
|
interface ExperiencesQueryBuilder {
|
|
4440
4432
|
/** @param propertyName - Property whose value is compared with `value`.
|
|
4441
4433
|
* @param value - Value to compare against.
|
|
4442
|
-
* @documentationMaturity preview
|
|
4443
4434
|
*/
|
|
4444
4435
|
eq: (propertyName: '_id' | 'reservationLocationId' | '_createdDate' | '_updatedDate' | 'configuration.displayInfo.name' | 'configuration.onlineReservations.businessSchedule.entries.weeklyOptions.startDate' | 'configuration.onlineReservations.businessSchedule.entries.weeklyOptions.endDate' | 'configuration.onlineReservations.businessSchedule.entries.oneTimeOptions.startDate' | 'configuration.visible' | 'configuration.tableManagement.onOptions.specificTablesOptions.reservedForExperience' | 'tags.privateTags.tagIds' | 'tags.publicTags.tagIds', value: any) => ExperiencesQueryBuilder;
|
|
4445
4436
|
/** @param propertyName - Property whose value is compared with `value`.
|
|
4446
4437
|
* @param value - Value to compare against.
|
|
4447
|
-
* @documentationMaturity preview
|
|
4448
4438
|
*/
|
|
4449
4439
|
ne: (propertyName: '_id' | 'reservationLocationId' | '_createdDate' | '_updatedDate' | 'configuration.displayInfo.name' | 'configuration.onlineReservations.businessSchedule.entries.weeklyOptions.startDate' | 'configuration.onlineReservations.businessSchedule.entries.weeklyOptions.endDate' | 'configuration.onlineReservations.businessSchedule.entries.oneTimeOptions.startDate' | 'configuration.visible' | 'configuration.tableManagement.onOptions.specificTablesOptions.reservedForExperience' | 'tags.privateTags.tagIds' | 'tags.publicTags.tagIds', value: any) => ExperiencesQueryBuilder;
|
|
4450
4440
|
/** @param propertyName - Property whose value is compared with `value`.
|
|
4451
4441
|
* @param value - Value to compare against.
|
|
4452
|
-
* @documentationMaturity preview
|
|
4453
4442
|
*/
|
|
4454
4443
|
ge: (propertyName: '_id' | 'reservationLocationId' | '_createdDate' | '_updatedDate' | 'configuration.displayInfo.name' | 'configuration.onlineReservations.businessSchedule.entries.weeklyOptions.startDate' | 'configuration.onlineReservations.businessSchedule.entries.weeklyOptions.endDate' | 'configuration.onlineReservations.businessSchedule.entries.oneTimeOptions.startDate', value: any) => ExperiencesQueryBuilder;
|
|
4455
4444
|
/** @param propertyName - Property whose value is compared with `value`.
|
|
4456
4445
|
* @param value - Value to compare against.
|
|
4457
|
-
* @documentationMaturity preview
|
|
4458
4446
|
*/
|
|
4459
4447
|
gt: (propertyName: '_id' | 'reservationLocationId' | '_createdDate' | '_updatedDate' | 'configuration.displayInfo.name' | 'configuration.onlineReservations.businessSchedule.entries.weeklyOptions.startDate' | 'configuration.onlineReservations.businessSchedule.entries.weeklyOptions.endDate' | 'configuration.onlineReservations.businessSchedule.entries.oneTimeOptions.startDate', value: any) => ExperiencesQueryBuilder;
|
|
4460
4448
|
/** @param propertyName - Property whose value is compared with `value`.
|
|
4461
4449
|
* @param value - Value to compare against.
|
|
4462
|
-
* @documentationMaturity preview
|
|
4463
4450
|
*/
|
|
4464
4451
|
le: (propertyName: '_id' | 'reservationLocationId' | '_createdDate' | '_updatedDate' | 'configuration.displayInfo.name' | 'configuration.onlineReservations.businessSchedule.entries.weeklyOptions.startDate' | 'configuration.onlineReservations.businessSchedule.entries.weeklyOptions.endDate' | 'configuration.onlineReservations.businessSchedule.entries.oneTimeOptions.startDate', value: any) => ExperiencesQueryBuilder;
|
|
4465
4452
|
/** @param propertyName - Property whose value is compared with `value`.
|
|
4466
4453
|
* @param value - Value to compare against.
|
|
4467
|
-
* @documentationMaturity preview
|
|
4468
4454
|
*/
|
|
4469
4455
|
lt: (propertyName: '_id' | 'reservationLocationId' | '_createdDate' | '_updatedDate' | 'configuration.displayInfo.name' | 'configuration.onlineReservations.businessSchedule.entries.weeklyOptions.startDate' | 'configuration.onlineReservations.businessSchedule.entries.weeklyOptions.endDate' | 'configuration.onlineReservations.businessSchedule.entries.oneTimeOptions.startDate', value: any) => ExperiencesQueryBuilder;
|
|
4470
4456
|
/** @param propertyName - Property whose value is compared with `string`.
|
|
4471
4457
|
* @param string - String to compare against. Case-insensitive.
|
|
4472
|
-
* @documentationMaturity preview
|
|
4473
4458
|
*/
|
|
4474
4459
|
startsWith: (propertyName: '_id' | 'reservationLocationId' | 'configuration.displayInfo.name' | 'configuration.onlineReservations.businessSchedule.entries.weeklyOptions.startDate' | 'configuration.onlineReservations.businessSchedule.entries.weeklyOptions.endDate' | 'configuration.onlineReservations.businessSchedule.entries.oneTimeOptions.startDate', value: string) => ExperiencesQueryBuilder;
|
|
4475
4460
|
/** @param propertyName - Property whose value is compared with `values`.
|
|
4476
4461
|
* @param values - List of values to compare against.
|
|
4477
|
-
* @documentationMaturity preview
|
|
4478
4462
|
*/
|
|
4479
4463
|
hasSome: (propertyName: '_id' | 'reservationLocationId' | '_createdDate' | '_updatedDate' | 'configuration.displayInfo.name' | 'configuration.onlineReservations.businessSchedule.entries.weeklyOptions.startDate' | 'configuration.onlineReservations.businessSchedule.entries.weeklyOptions.endDate' | 'configuration.onlineReservations.businessSchedule.entries.oneTimeOptions.startDate' | 'configuration.visible' | 'configuration.tableManagement.onOptions.specificTablesOptions.reservedForExperience' | 'tags.privateTags.tagIds' | 'tags.publicTags.tagIds', value: any[]) => ExperiencesQueryBuilder;
|
|
4480
4464
|
/** @param propertyName - Property whose value is compared with `values`.
|
|
4481
4465
|
* @param values - List of values to compare against.
|
|
4482
|
-
* @documentationMaturity preview
|
|
4483
4466
|
*/
|
|
4484
4467
|
hasAll: (propertyName: 'tags.privateTags.tagIds' | 'tags.publicTags.tagIds', value: any[]) => ExperiencesQueryBuilder;
|
|
4485
|
-
/** @documentationMaturity preview */
|
|
4486
4468
|
in: (propertyName: '_id' | 'reservationLocationId' | '_createdDate' | '_updatedDate' | 'configuration.displayInfo.name' | 'configuration.onlineReservations.businessSchedule.entries.weeklyOptions.startDate' | 'configuration.onlineReservations.businessSchedule.entries.weeklyOptions.endDate' | 'configuration.onlineReservations.businessSchedule.entries.oneTimeOptions.startDate' | 'configuration.visible' | 'configuration.tableManagement.onOptions.specificTablesOptions.reservedForExperience' | 'tags.privateTags.tagIds' | 'tags.publicTags.tagIds', value: any) => ExperiencesQueryBuilder;
|
|
4487
|
-
/** @documentationMaturity preview */
|
|
4488
4469
|
exists: (propertyName: '_id' | 'reservationLocationId' | '_createdDate' | '_updatedDate' | 'configuration.displayInfo.name' | 'configuration.onlineReservations.businessSchedule.entries.weeklyOptions.startDate' | 'configuration.onlineReservations.businessSchedule.entries.weeklyOptions.endDate' | 'configuration.onlineReservations.businessSchedule.entries.oneTimeOptions.startDate' | 'configuration.visible' | 'configuration.tableManagement.onOptions.specificTablesOptions.reservedForExperience' | 'tags.privateTags.tagIds' | 'tags.publicTags.tagIds', value: boolean) => ExperiencesQueryBuilder;
|
|
4489
|
-
/** @param propertyNames - Properties used in the sort. To sort by multiple properties, pass properties as additional arguments.
|
|
4490
|
-
* @documentationMaturity preview
|
|
4491
|
-
*/
|
|
4470
|
+
/** @param propertyNames - Properties used in the sort. To sort by multiple properties, pass properties as additional arguments. */
|
|
4492
4471
|
ascending: (...propertyNames: Array<'_id' | 'reservationLocationId' | '_createdDate' | '_updatedDate' | 'configuration.displayInfo.name' | 'configuration.onlineReservations.businessSchedule.entries.weeklyOptions.startDate' | 'configuration.onlineReservations.businessSchedule.entries.weeklyOptions.endDate' | 'configuration.onlineReservations.businessSchedule.entries.oneTimeOptions.startDate' | 'configuration.visible' | 'configuration.tableManagement.onOptions.specificTablesOptions.reservedForExperience' | 'tags.privateTags.tagIds' | 'tags.publicTags.tagIds'>) => ExperiencesQueryBuilder;
|
|
4493
|
-
/** @param propertyNames - Properties used in the sort. To sort by multiple properties, pass properties as additional arguments.
|
|
4494
|
-
* @documentationMaturity preview
|
|
4495
|
-
*/
|
|
4472
|
+
/** @param propertyNames - Properties used in the sort. To sort by multiple properties, pass properties as additional arguments. */
|
|
4496
4473
|
descending: (...propertyNames: Array<'_id' | 'reservationLocationId' | '_createdDate' | '_updatedDate' | 'configuration.displayInfo.name' | 'configuration.onlineReservations.businessSchedule.entries.weeklyOptions.startDate' | 'configuration.onlineReservations.businessSchedule.entries.weeklyOptions.endDate' | 'configuration.onlineReservations.businessSchedule.entries.oneTimeOptions.startDate' | 'configuration.visible' | 'configuration.tableManagement.onOptions.specificTablesOptions.reservedForExperience' | 'tags.privateTags.tagIds' | 'tags.publicTags.tagIds'>) => ExperiencesQueryBuilder;
|
|
4497
|
-
/** @param limit - Number of items to return, which is also the `pageSize` of the results object.
|
|
4498
|
-
* @documentationMaturity preview
|
|
4499
|
-
*/
|
|
4474
|
+
/** @param limit - Number of items to return, which is also the `pageSize` of the results object. */
|
|
4500
4475
|
limit: (limit: number) => ExperiencesQueryBuilder;
|
|
4501
|
-
/** @param cursor - A pointer to specific record
|
|
4502
|
-
* @documentationMaturity preview
|
|
4503
|
-
*/
|
|
4476
|
+
/** @param cursor - A pointer to specific record */
|
|
4504
4477
|
skipTo: (cursor: string) => ExperiencesQueryBuilder;
|
|
4505
|
-
/** @documentationMaturity preview */
|
|
4506
4478
|
find: () => Promise<ExperiencesQueryResult>;
|
|
4507
4479
|
}
|
|
4508
4480
|
/**
|
|
@@ -4779,7 +4751,6 @@ type ExperienceSearch = {
|
|
|
4779
4751
|
* Synchronously updates [tags](https://dev.wix.com/docs/api-reference/business-management/tags/introduction) on multiple experiences by experience IDs. A tag that appears in both assign and unassign lists is assigned.
|
|
4780
4752
|
* @param experienceIds - List of experience IDs to update tags for.
|
|
4781
4753
|
* @public
|
|
4782
|
-
* @documentationMaturity preview
|
|
4783
4754
|
* @requiredField experienceIds
|
|
4784
4755
|
* @permissionId TABLE_RESERVATIONS.EXPERIENCE_UPDATE_TAGS
|
|
4785
4756
|
* @applicableIdentity APP
|
|
@@ -4798,7 +4769,6 @@ interface BulkUpdateExperienceTagsOptions {
|
|
|
4798
4769
|
* Asynchronously updates [tags](https://dev.wix.com/docs/api-reference/business-management/tags/introduction) on multiple experiences using filter criteria. An empty filter updates all experiences. A tag that appears in both assign and unassign lists is assigned.
|
|
4799
4770
|
* @param filter - Filter criteria to select experiences for tag updates.
|
|
4800
4771
|
* @public
|
|
4801
|
-
* @documentationMaturity preview
|
|
4802
4772
|
* @requiredField filter
|
|
4803
4773
|
* @permissionId TABLE_RESERVATIONS.EXPERIENCE_UPDATE_TAGS
|
|
4804
4774
|
* @applicableIdentity APP
|
|
@@ -4814,14 +4784,13 @@ interface BulkUpdateExperienceTagsByFilterOptions {
|
|
|
4814
4784
|
unassignTags?: Tags;
|
|
4815
4785
|
}
|
|
4816
4786
|
/**
|
|
4817
|
-
* Archives multiple experiences
|
|
4787
|
+
* Archives multiple experiences.
|
|
4788
|
+
*
|
|
4789
|
+
* Archiving an experience sets `configuration.visible` to `false`, preventing it from appearing on the live site and from accepting new reservations.
|
|
4818
4790
|
*
|
|
4819
|
-
*
|
|
4820
|
-
*
|
|
4821
|
-
* and are not discoverable by customers.
|
|
4822
|
-
* @param experienceIds - IDs of experiences to archive.
|
|
4791
|
+
* To unarchive experiences, call [Bulk Unarchive Experiences](https://dev.wix.com/docs/api-reference/business-solutions/restaurants/reservations/experiences/bulk-unarchive-experiences).
|
|
4792
|
+
* @param experienceIds - IDs of the experiences to archive.
|
|
4823
4793
|
* @public
|
|
4824
|
-
* @documentationMaturity preview
|
|
4825
4794
|
* @requiredField experienceIds
|
|
4826
4795
|
* @permissionId TABLE_RESERVATIONS.EXPERIENCE_ARCHIVE
|
|
4827
4796
|
* @applicableIdentity APP
|
|
@@ -4829,21 +4798,14 @@ interface BulkUpdateExperienceTagsByFilterOptions {
|
|
|
4829
4798
|
*/
|
|
4830
4799
|
declare function bulkArchiveExperiences(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>>;
|
|
4831
4800
|
/**
|
|
4832
|
-
* Unarchives multiple experiences
|
|
4801
|
+
* Unarchives multiple experiences.
|
|
4833
4802
|
*
|
|
4834
|
-
*
|
|
4835
|
-
*
|
|
4836
|
-
* explicitly update `configuration.visible` to `true` if you want the experience to appear
|
|
4837
|
-
* on the live site again. This safety measure prevents accidentally publishing experiences
|
|
4838
|
-
* that may need review or updates before being made publicly available.
|
|
4803
|
+
* Unarchiving an experience only sets the archived status to `false`. It doesn't restore `configuration.visible` to its previous state.
|
|
4804
|
+
* To make the experience appear on the live site again, call [Update Experience](https://dev.wix.com/docs/api-reference/business-solutions/restaurants/reservations/experiences/update-experience) to set `configuration.visible` to `true`.
|
|
4839
4805
|
*
|
|
4840
|
-
*
|
|
4841
|
-
*
|
|
4842
|
-
* 2. Review and update the experience as needed
|
|
4843
|
-
* 3. Call `UpdateExperience` to set `configuration.visible = true` when ready to publish
|
|
4844
|
-
* @param experienceIds - Experience IDs to unarchive.
|
|
4806
|
+
* To archive experiences, call [Bulk Archive Experiences](https://dev.wix.com/docs/api-reference/business-solutions/restaurants/reservations/experiences/bulk-archive-experiences).
|
|
4807
|
+
* @param experienceIds - IDs of the experiences to unarchive.
|
|
4845
4808
|
* @public
|
|
4846
|
-
* @documentationMaturity preview
|
|
4847
4809
|
* @requiredField experienceIds
|
|
4848
4810
|
* @permissionId TABLE_RESERVATIONS.EXPERIENCE_UNARCHIVE
|
|
4849
4811
|
* @applicableIdentity APP
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@wix/auto_sdk_table-reservations_experiences",
|
|
3
|
-
"version": "1.0.
|
|
3
|
+
"version": "1.0.37",
|
|
4
4
|
"license": "MIT",
|
|
5
5
|
"publishConfig": {
|
|
6
6
|
"registry": "https://registry.npmjs.org/",
|
|
@@ -57,5 +57,5 @@
|
|
|
57
57
|
"fqdn": "wix.table_reservations.v1.experience"
|
|
58
58
|
}
|
|
59
59
|
},
|
|
60
|
-
"falconPackageHash": "
|
|
60
|
+
"falconPackageHash": "f5667c38792b1e5498106c973c1fd5743bd83d4e877652e279a7e74d"
|
|
61
61
|
}
|