@wix/auto_sdk_bookings_services 1.0.87 → 1.0.88
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/{bookings-services-v2-service-services.universal-DOOy_oaz.d.ts → bookings-services-v2-service-services.universal-COtIgsGQ.d.ts} +24 -24
- package/build/cjs/index.d.ts +27 -27
- package/build/cjs/index.js.map +1 -1
- package/build/cjs/index.typings.d.ts +2 -2
- package/build/cjs/index.typings.js.map +1 -1
- package/build/cjs/meta.d.ts +1 -1
- package/build/es/{bookings-services-v2-service-services.universal-DOOy_oaz.d.mts → bookings-services-v2-service-services.universal-COtIgsGQ.d.mts} +24 -24
- package/build/es/index.d.mts +27 -27
- package/build/es/index.mjs.map +1 -1
- package/build/es/index.typings.d.mts +2 -2
- package/build/es/index.typings.mjs.map +1 -1
- package/build/es/meta.d.mts +1 -1
- package/build/internal/cjs/{bookings-services-v2-service-services.universal-DOOy_oaz.d.ts → bookings-services-v2-service-services.universal-COtIgsGQ.d.ts} +24 -24
- package/build/internal/cjs/index.d.ts +27 -27
- 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.map +1 -1
- package/build/internal/cjs/meta.d.ts +1 -1
- package/build/internal/es/{bookings-services-v2-service-services.universal-DOOy_oaz.d.mts → bookings-services-v2-service-services.universal-COtIgsGQ.d.mts} +24 -24
- package/build/internal/es/index.d.mts +27 -27
- 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.map +1 -1
- package/build/internal/es/meta.d.mts +1 -1
- package/package.json +2 -2
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
import { bF as CreateAddOnGroupRequest$1, a as CreateAddOnGroupResponse$1, bG as DeleteAddOnGroupRequest$1, bH as DeleteAddOnGroupResponse$1, bI as UpdateAddOnGroupRequest$1, c as UpdateAddOnGroupResponse$1, bJ as ListAddOnGroupsByServiceIdRequest$1, e as ListAddOnGroupsByServiceIdResponse$1, bN as SetAddOnsForGroupRequest$1, f as SetAddOnsForGroupResponse$1, bO as CreateServiceRequest$1, bP as CreateServiceResponse$1, bT as BulkCreateServicesRequest$1, j as BulkCreateServicesResponse$1, bY as GetServiceRequest$1, bZ as GetServiceResponse$1, c2 as UpdateServiceRequest$1, c3 as UpdateServiceResponse$1, c4 as BulkUpdateServicesRequest$1, n as BulkUpdateServicesResponse$1, c6 as BulkUpdateServicesByFilterRequest$1, p as BulkUpdateServicesByFilterResponse$1, c7 as DeleteServiceRequest$1, c9 as DeleteServiceResponse$1, ca as BulkDeleteServicesRequest$1, s as BulkDeleteServicesResponse$1, cb as BulkDeleteServicesByFilterRequest$1, u as BulkDeleteServicesByFilterResponse$1, cc as QueryServicesRequest$1, ci as QueryServicesResponse$1, cl as SearchServicesRequest$1, x as SearchServicesResponse$1, cZ as QueryPoliciesRequest$1, Q as QueryPoliciesResponse$1, d0 as QueryBookingFormsRequest$1, E as QueryBookingFormsResponse$1, d4 as CountServicesRequest$1, H as CountServicesResponse$1, d5 as QueryLocationsRequest$1, J as QueryLocationsResponse$1, da as QueryCategoriesRequest$1, M as QueryCategoriesResponse$1, de as SetServiceLocationsRequest$1, P as SetServiceLocationsResponse$1, di as EnablePricingPlansForServiceRequest$1, R as EnablePricingPlansForServiceResponse$1, dk as DisablePricingPlansForServiceRequest$1, W as DisablePricingPlansForServiceResponse$1, dl as SetCustomSlugRequest$1, Z as SetCustomSlugResponse$1, dm as ValidateSlugRequest$1, a1 as ValidateSlugResponse$1, dn as CloneServiceRequest$1, a2 as CloneServiceResponse$1 } from './bookings-services-v2-service-services.universal-
|
|
1
|
+
import { bF as CreateAddOnGroupRequest$1, a as CreateAddOnGroupResponse$1, bG as DeleteAddOnGroupRequest$1, bH as DeleteAddOnGroupResponse$1, bI as UpdateAddOnGroupRequest$1, c as UpdateAddOnGroupResponse$1, bJ as ListAddOnGroupsByServiceIdRequest$1, e as ListAddOnGroupsByServiceIdResponse$1, bN as SetAddOnsForGroupRequest$1, f as SetAddOnsForGroupResponse$1, bO as CreateServiceRequest$1, bP as CreateServiceResponse$1, bT as BulkCreateServicesRequest$1, j as BulkCreateServicesResponse$1, bY as GetServiceRequest$1, bZ as GetServiceResponse$1, c2 as UpdateServiceRequest$1, c3 as UpdateServiceResponse$1, c4 as BulkUpdateServicesRequest$1, n as BulkUpdateServicesResponse$1, c6 as BulkUpdateServicesByFilterRequest$1, p as BulkUpdateServicesByFilterResponse$1, c7 as DeleteServiceRequest$1, c9 as DeleteServiceResponse$1, ca as BulkDeleteServicesRequest$1, s as BulkDeleteServicesResponse$1, cb as BulkDeleteServicesByFilterRequest$1, u as BulkDeleteServicesByFilterResponse$1, cc as QueryServicesRequest$1, ci as QueryServicesResponse$1, cl as SearchServicesRequest$1, x as SearchServicesResponse$1, cZ as QueryPoliciesRequest$1, Q as QueryPoliciesResponse$1, d0 as QueryBookingFormsRequest$1, E as QueryBookingFormsResponse$1, d4 as CountServicesRequest$1, H as CountServicesResponse$1, d5 as QueryLocationsRequest$1, J as QueryLocationsResponse$1, da as QueryCategoriesRequest$1, M as QueryCategoriesResponse$1, de as SetServiceLocationsRequest$1, P as SetServiceLocationsResponse$1, di as EnablePricingPlansForServiceRequest$1, R as EnablePricingPlansForServiceResponse$1, dk as DisablePricingPlansForServiceRequest$1, W as DisablePricingPlansForServiceResponse$1, dl as SetCustomSlugRequest$1, Z as SetCustomSlugResponse$1, dm as ValidateSlugRequest$1, a1 as ValidateSlugResponse$1, dn as CloneServiceRequest$1, a2 as CloneServiceResponse$1 } from './bookings-services-v2-service-services.universal-COtIgsGQ.js';
|
|
2
2
|
import '@wix/sdk-types';
|
|
3
3
|
|
|
4
4
|
/** The `service` object represents an offering that a business provides to its customers. */
|
|
@@ -3641,7 +3641,7 @@ declare function onServiceUpdated(handler: (event: ServiceUpdatedEnvelope) => vo
|
|
|
3641
3641
|
* @applicableIdentity APP
|
|
3642
3642
|
* @fqn wix.bookings.services.v2.AddOnGroupsService.CreateAddOnGroup
|
|
3643
3643
|
*/
|
|
3644
|
-
declare function createAddOnGroup(addOnGroup: NonNullablePaths<AddOnGroup, `name
|
|
3644
|
+
declare function createAddOnGroup(addOnGroup: NonNullablePaths<AddOnGroup, `name`, 2>, options?: CreateAddOnGroupOptions): Promise<NonNullablePaths<CreateAddOnGroupResponse, `addOnGroup.addOnIds`, 3>>;
|
|
3645
3645
|
interface CreateAddOnGroupOptions {
|
|
3646
3646
|
/**
|
|
3647
3647
|
* ID of the service to create the AddOnGroup for.
|
|
@@ -3662,7 +3662,7 @@ interface CreateAddOnGroupOptions {
|
|
|
3662
3662
|
* @applicableIdentity APP
|
|
3663
3663
|
* @fqn wix.bookings.services.v2.AddOnGroupsService.DeleteAddOnGroup
|
|
3664
3664
|
*/
|
|
3665
|
-
declare function deleteAddOnGroup(addOnGroupId: string, options: NonNullablePaths<DeleteAddOnGroupOptions, `serviceId
|
|
3665
|
+
declare function deleteAddOnGroup(addOnGroupId: string, options: NonNullablePaths<DeleteAddOnGroupOptions, `serviceId`, 2>): Promise<void & {
|
|
3666
3666
|
__applicationErrorsType?: DeleteAddOnGroupApplicationErrors;
|
|
3667
3667
|
}>;
|
|
3668
3668
|
interface DeleteAddOnGroupOptions {
|
|
@@ -3686,7 +3686,7 @@ interface DeleteAddOnGroupOptions {
|
|
|
3686
3686
|
* @applicableIdentity APP
|
|
3687
3687
|
* @fqn wix.bookings.services.v2.AddOnGroupsService.UpdateAddOnGroup
|
|
3688
3688
|
*/
|
|
3689
|
-
declare function updateAddOnGroup(addOnGroup: NonNullablePaths<AddOnGroup, `_id
|
|
3689
|
+
declare function updateAddOnGroup(addOnGroup: NonNullablePaths<AddOnGroup, `_id`, 2>, options: NonNullablePaths<UpdateAddOnGroupOptions, `serviceId`, 2>): Promise<NonNullablePaths<UpdateAddOnGroupResponse, `addOnGroup.addOnIds`, 3> & {
|
|
3690
3690
|
__applicationErrorsType?: UpdateAddOnGroupApplicationErrors;
|
|
3691
3691
|
}>;
|
|
3692
3692
|
interface UpdateAddOnGroupOptions {
|
|
@@ -3709,7 +3709,7 @@ interface UpdateAddOnGroupOptions {
|
|
|
3709
3709
|
* @applicableIdentity VISITOR
|
|
3710
3710
|
* @fqn wix.bookings.services.v2.AddOnGroupsService.ListAddOnGroupsByServiceId
|
|
3711
3711
|
*/
|
|
3712
|
-
declare function listAddOnGroupsByServiceId(serviceId: string, options?: ListAddOnGroupsByServiceIdOptions): Promise<NonNullablePaths<ListAddOnGroupsByServiceIdResponse, `addOnGroupsDetails
|
|
3712
|
+
declare function listAddOnGroupsByServiceId(serviceId: string, options?: ListAddOnGroupsByServiceIdOptions): Promise<NonNullablePaths<ListAddOnGroupsByServiceIdResponse, `addOnGroupsDetails`, 2>>;
|
|
3713
3713
|
interface ListAddOnGroupsByServiceIdOptions {
|
|
3714
3714
|
/**
|
|
3715
3715
|
* List of group ids to return. If not provided, all groups are returned.
|
|
@@ -3732,7 +3732,7 @@ interface ListAddOnGroupsByServiceIdOptions {
|
|
|
3732
3732
|
* @applicableIdentity APP
|
|
3733
3733
|
* @fqn wix.bookings.services.v2.AddOnGroupsService.SetAddOnsForGroup
|
|
3734
3734
|
*/
|
|
3735
|
-
declare function setAddOnsForGroup(serviceId: string, options: NonNullablePaths<SetAddOnsForGroupOptions, `addOnIds` | `groupId
|
|
3735
|
+
declare function setAddOnsForGroup(serviceId: string, options: NonNullablePaths<SetAddOnsForGroupOptions, `addOnIds` | `groupId`, 2>): Promise<NonNullablePaths<SetAddOnsForGroupResponse, `addOnGroup.addOnIds`, 3> & {
|
|
3736
3736
|
__applicationErrorsType?: SetAddOnsForGroupApplicationErrors;
|
|
3737
3737
|
}>;
|
|
3738
3738
|
interface SetAddOnsForGroupOptions {
|
|
@@ -3800,7 +3800,7 @@ interface SetAddOnsForGroupOptions {
|
|
|
3800
3800
|
* @returns Created service.
|
|
3801
3801
|
* @fqn wix.bookings.services.v2.ServicesService.CreateService
|
|
3802
3802
|
*/
|
|
3803
|
-
declare function createService(service: Service): Promise<NonNullablePaths<Service, `type` | `media.items` | `category._id` | `form._id` | `payment.fixed.price.value` | `payment.fixed.price.currency` | `payment.rateType` | `payment.pricingPlanIds` | `locations` | `locations.${number}.business._id` | `locations.${number}.business.name` | `locations.${number}.custom._id` | `locations.${number}._id` | `locations.${number}.type` | `bookingPolicy._id` | `bookingPolicy.customPolicyDescription.enabled` | `bookingPolicy.customPolicyDescription.description` | `bookingPolicy.limitEarlyBookingPolicy.enabled` | `bookingPolicy.limitEarlyBookingPolicy.earliestBookingInMinutes` | `bookingPolicy.limitLateBookingPolicy.enabled` | `bookingPolicy.limitLateBookingPolicy.latestBookingInMinutes` | `bookingPolicy.bookAfterStartPolicy.enabled` | `bookingPolicy.cancellationPolicy.enabled` | `bookingPolicy.cancellationPolicy.limitLatestCancellation` | `bookingPolicy.cancellationPolicy.latestCancellationInMinutes` | `bookingPolicy.reschedulePolicy.enabled` | `bookingPolicy.reschedulePolicy.limitLatestReschedule` | `bookingPolicy.reschedulePolicy.latestRescheduleInMinutes` | `bookingPolicy.waitlistPolicy.enabled` | `bookingPolicy.waitlistPolicy.capacity` | `bookingPolicy.waitlistPolicy.reservationTimeInMinutes` | `bookingPolicy.participantsPolicy.maxParticipantsPerBooking` | `bookingPolicy.resourcesPolicy.enabled` | `bookingPolicy.resourcesPolicy.autoAssignAllowed` | `bookingPolicy.cancellationFeePolicy.enabled` | `bookingPolicy.cancellationFeePolicy.cancellationWindows` | `bookingPolicy.cancellationFeePolicy.cancellationWindows.${number}.percentage` | `bookingPolicy.saveCreditCardPolicy.enabled` | `schedule.availabilityConstraints.durations` | `schedule.availabilityConstraints.durations.${number}.minutes` | `schedule.availabilityConstraints.sessionDurations` | `schedule.availabilityConstraints.timeBetweenSessions` | `staffMemberIds` | `serviceResources` | `supportedSlugs` | `supportedSlugs.${number}.name` | `seoData.tags` | `seoData.tags.${number}.type` | `seoData.tags.${number}.children` | `seoData.tags.${number}.custom` | `seoData.tags.${number}.disabled` | `seoData.settings.preventAutoRedirect` | `seoData.settings.keywords` | `seoData.settings.keywords.${number}.term` | `seoData.settings.keywords.${number}.isMain
|
|
3803
|
+
declare function createService(service: Service): Promise<NonNullablePaths<Service, `type` | `media.items` | `category._id` | `form._id` | `payment.fixed.price.value` | `payment.fixed.price.currency` | `payment.rateType` | `payment.pricingPlanIds` | `locations` | `locations.${number}.business._id` | `locations.${number}.business.name` | `locations.${number}.custom._id` | `locations.${number}._id` | `locations.${number}.type` | `bookingPolicy._id` | `bookingPolicy.customPolicyDescription.enabled` | `bookingPolicy.customPolicyDescription.description` | `bookingPolicy.limitEarlyBookingPolicy.enabled` | `bookingPolicy.limitEarlyBookingPolicy.earliestBookingInMinutes` | `bookingPolicy.limitLateBookingPolicy.enabled` | `bookingPolicy.limitLateBookingPolicy.latestBookingInMinutes` | `bookingPolicy.bookAfterStartPolicy.enabled` | `bookingPolicy.cancellationPolicy.enabled` | `bookingPolicy.cancellationPolicy.limitLatestCancellation` | `bookingPolicy.cancellationPolicy.latestCancellationInMinutes` | `bookingPolicy.reschedulePolicy.enabled` | `bookingPolicy.reschedulePolicy.limitLatestReschedule` | `bookingPolicy.reschedulePolicy.latestRescheduleInMinutes` | `bookingPolicy.waitlistPolicy.enabled` | `bookingPolicy.waitlistPolicy.capacity` | `bookingPolicy.waitlistPolicy.reservationTimeInMinutes` | `bookingPolicy.participantsPolicy.maxParticipantsPerBooking` | `bookingPolicy.resourcesPolicy.enabled` | `bookingPolicy.resourcesPolicy.autoAssignAllowed` | `bookingPolicy.cancellationFeePolicy.enabled` | `bookingPolicy.cancellationFeePolicy.cancellationWindows` | `bookingPolicy.cancellationFeePolicy.cancellationWindows.${number}.percentage` | `bookingPolicy.saveCreditCardPolicy.enabled` | `schedule.availabilityConstraints.durations` | `schedule.availabilityConstraints.durations.${number}.minutes` | `schedule.availabilityConstraints.sessionDurations` | `schedule.availabilityConstraints.timeBetweenSessions` | `staffMemberIds` | `serviceResources` | `supportedSlugs` | `supportedSlugs.${number}.name` | `seoData.tags` | `seoData.tags.${number}.type` | `seoData.tags.${number}.children` | `seoData.tags.${number}.custom` | `seoData.tags.${number}.disabled` | `seoData.settings.preventAutoRedirect` | `seoData.settings.keywords` | `seoData.settings.keywords.${number}.term` | `seoData.settings.keywords.${number}.isMain`, 6> & {
|
|
3804
3804
|
__validationErrorsType?: CreateServiceValidationErrors;
|
|
3805
3805
|
}>;
|
|
3806
3806
|
/**
|
|
@@ -3817,7 +3817,7 @@ declare function createService(service: Service): Promise<NonNullablePaths<Servi
|
|
|
3817
3817
|
* @applicableIdentity APP
|
|
3818
3818
|
* @fqn wix.bookings.services.v2.ServicesService.BulkCreateServices
|
|
3819
3819
|
*/
|
|
3820
|
-
declare function bulkCreateServices(services: Service[], options?: BulkCreateServicesOptions): Promise<NonNullablePaths<BulkCreateServicesResponse, `results` | `results.${number}.itemMetadata.originalIndex` | `results.${number}.itemMetadata.success` | `results.${number}.itemMetadata.error.code` | `results.${number}.itemMetadata.error.description` | `results.${number}.item.type` | `results.${number}.item.category._id` | `results.${number}.item.form._id` | `results.${number}.item.payment.rateType` | `results.${number}.item.bookingPolicy._id` | `bulkActionMetadata.totalSuccesses` | `bulkActionMetadata.totalFailures` | `bulkActionMetadata.undetailedFailures
|
|
3820
|
+
declare function bulkCreateServices(services: Service[], options?: BulkCreateServicesOptions): Promise<NonNullablePaths<BulkCreateServicesResponse, `results` | `results.${number}.itemMetadata.originalIndex` | `results.${number}.itemMetadata.success` | `results.${number}.itemMetadata.error.code` | `results.${number}.itemMetadata.error.description` | `results.${number}.item.type` | `results.${number}.item.category._id` | `results.${number}.item.form._id` | `results.${number}.item.payment.rateType` | `results.${number}.item.bookingPolicy._id` | `bulkActionMetadata.totalSuccesses` | `bulkActionMetadata.totalFailures` | `bulkActionMetadata.undetailedFailures`, 6>>;
|
|
3821
3821
|
interface BulkCreateServicesOptions {
|
|
3822
3822
|
/** Whether to return the created service objects. */
|
|
3823
3823
|
returnEntity?: boolean;
|
|
@@ -3833,7 +3833,7 @@ interface BulkCreateServicesOptions {
|
|
|
3833
3833
|
* @returns Retrieved service.
|
|
3834
3834
|
* @fqn wix.bookings.services.v2.ServicesService.GetService
|
|
3835
3835
|
*/
|
|
3836
|
-
declare function getService(serviceId: string): Promise<NonNullablePaths<Service, `type` | `media.items` | `category._id` | `form._id` | `payment.fixed.price.value` | `payment.fixed.price.currency` | `payment.rateType` | `payment.pricingPlanIds` | `locations` | `locations.${number}.business._id` | `locations.${number}.business.name` | `locations.${number}.custom._id` | `locations.${number}._id` | `locations.${number}.type` | `bookingPolicy._id` | `bookingPolicy.customPolicyDescription.enabled` | `bookingPolicy.customPolicyDescription.description` | `bookingPolicy.limitEarlyBookingPolicy.enabled` | `bookingPolicy.limitEarlyBookingPolicy.earliestBookingInMinutes` | `bookingPolicy.limitLateBookingPolicy.enabled` | `bookingPolicy.limitLateBookingPolicy.latestBookingInMinutes` | `bookingPolicy.bookAfterStartPolicy.enabled` | `bookingPolicy.cancellationPolicy.enabled` | `bookingPolicy.cancellationPolicy.limitLatestCancellation` | `bookingPolicy.cancellationPolicy.latestCancellationInMinutes` | `bookingPolicy.reschedulePolicy.enabled` | `bookingPolicy.reschedulePolicy.limitLatestReschedule` | `bookingPolicy.reschedulePolicy.latestRescheduleInMinutes` | `bookingPolicy.waitlistPolicy.enabled` | `bookingPolicy.waitlistPolicy.capacity` | `bookingPolicy.waitlistPolicy.reservationTimeInMinutes` | `bookingPolicy.participantsPolicy.maxParticipantsPerBooking` | `bookingPolicy.resourcesPolicy.enabled` | `bookingPolicy.resourcesPolicy.autoAssignAllowed` | `bookingPolicy.cancellationFeePolicy.enabled` | `bookingPolicy.cancellationFeePolicy.cancellationWindows` | `bookingPolicy.cancellationFeePolicy.cancellationWindows.${number}.percentage` | `bookingPolicy.saveCreditCardPolicy.enabled` | `schedule.availabilityConstraints.durations` | `schedule.availabilityConstraints.durations.${number}.minutes` | `schedule.availabilityConstraints.sessionDurations` | `schedule.availabilityConstraints.timeBetweenSessions` | `staffMemberIds` | `serviceResources` | `supportedSlugs` | `supportedSlugs.${number}.name` | `seoData.tags` | `seoData.tags.${number}.type` | `seoData.tags.${number}.children` | `seoData.tags.${number}.custom` | `seoData.tags.${number}.disabled` | `seoData.settings.preventAutoRedirect` | `seoData.settings.keywords` | `seoData.settings.keywords.${number}.term` | `seoData.settings.keywords.${number}.isMain
|
|
3836
|
+
declare function getService(serviceId: string): Promise<NonNullablePaths<Service, `type` | `media.items` | `category._id` | `form._id` | `payment.fixed.price.value` | `payment.fixed.price.currency` | `payment.rateType` | `payment.pricingPlanIds` | `locations` | `locations.${number}.business._id` | `locations.${number}.business.name` | `locations.${number}.custom._id` | `locations.${number}._id` | `locations.${number}.type` | `bookingPolicy._id` | `bookingPolicy.customPolicyDescription.enabled` | `bookingPolicy.customPolicyDescription.description` | `bookingPolicy.limitEarlyBookingPolicy.enabled` | `bookingPolicy.limitEarlyBookingPolicy.earliestBookingInMinutes` | `bookingPolicy.limitLateBookingPolicy.enabled` | `bookingPolicy.limitLateBookingPolicy.latestBookingInMinutes` | `bookingPolicy.bookAfterStartPolicy.enabled` | `bookingPolicy.cancellationPolicy.enabled` | `bookingPolicy.cancellationPolicy.limitLatestCancellation` | `bookingPolicy.cancellationPolicy.latestCancellationInMinutes` | `bookingPolicy.reschedulePolicy.enabled` | `bookingPolicy.reschedulePolicy.limitLatestReschedule` | `bookingPolicy.reschedulePolicy.latestRescheduleInMinutes` | `bookingPolicy.waitlistPolicy.enabled` | `bookingPolicy.waitlistPolicy.capacity` | `bookingPolicy.waitlistPolicy.reservationTimeInMinutes` | `bookingPolicy.participantsPolicy.maxParticipantsPerBooking` | `bookingPolicy.resourcesPolicy.enabled` | `bookingPolicy.resourcesPolicy.autoAssignAllowed` | `bookingPolicy.cancellationFeePolicy.enabled` | `bookingPolicy.cancellationFeePolicy.cancellationWindows` | `bookingPolicy.cancellationFeePolicy.cancellationWindows.${number}.percentage` | `bookingPolicy.saveCreditCardPolicy.enabled` | `schedule.availabilityConstraints.durations` | `schedule.availabilityConstraints.durations.${number}.minutes` | `schedule.availabilityConstraints.sessionDurations` | `schedule.availabilityConstraints.timeBetweenSessions` | `staffMemberIds` | `serviceResources` | `supportedSlugs` | `supportedSlugs.${number}.name` | `seoData.tags` | `seoData.tags.${number}.type` | `seoData.tags.${number}.children` | `seoData.tags.${number}.custom` | `seoData.tags.${number}.disabled` | `seoData.settings.preventAutoRedirect` | `seoData.settings.keywords` | `seoData.settings.keywords.${number}.term` | `seoData.settings.keywords.${number}.isMain`, 6>>;
|
|
3837
3837
|
/**
|
|
3838
3838
|
* Updates a service.
|
|
3839
3839
|
*
|
|
@@ -3861,7 +3861,7 @@ declare function getService(serviceId: string): Promise<NonNullablePaths<Service
|
|
|
3861
3861
|
* @returns Updated service.
|
|
3862
3862
|
* @fqn wix.bookings.services.v2.ServicesService.UpdateService
|
|
3863
3863
|
*/
|
|
3864
|
-
declare function updateService(_id: string, service: NonNullablePaths<UpdateService, `revision
|
|
3864
|
+
declare function updateService(_id: string, service: NonNullablePaths<UpdateService, `revision`, 2>): Promise<NonNullablePaths<Service, `type` | `media.items` | `category._id` | `form._id` | `payment.fixed.price.value` | `payment.fixed.price.currency` | `payment.rateType` | `payment.pricingPlanIds` | `locations` | `locations.${number}.business._id` | `locations.${number}.business.name` | `locations.${number}.custom._id` | `locations.${number}._id` | `locations.${number}.type` | `bookingPolicy._id` | `bookingPolicy.customPolicyDescription.enabled` | `bookingPolicy.customPolicyDescription.description` | `bookingPolicy.limitEarlyBookingPolicy.enabled` | `bookingPolicy.limitEarlyBookingPolicy.earliestBookingInMinutes` | `bookingPolicy.limitLateBookingPolicy.enabled` | `bookingPolicy.limitLateBookingPolicy.latestBookingInMinutes` | `bookingPolicy.bookAfterStartPolicy.enabled` | `bookingPolicy.cancellationPolicy.enabled` | `bookingPolicy.cancellationPolicy.limitLatestCancellation` | `bookingPolicy.cancellationPolicy.latestCancellationInMinutes` | `bookingPolicy.reschedulePolicy.enabled` | `bookingPolicy.reschedulePolicy.limitLatestReschedule` | `bookingPolicy.reschedulePolicy.latestRescheduleInMinutes` | `bookingPolicy.waitlistPolicy.enabled` | `bookingPolicy.waitlistPolicy.capacity` | `bookingPolicy.waitlistPolicy.reservationTimeInMinutes` | `bookingPolicy.participantsPolicy.maxParticipantsPerBooking` | `bookingPolicy.resourcesPolicy.enabled` | `bookingPolicy.resourcesPolicy.autoAssignAllowed` | `bookingPolicy.cancellationFeePolicy.enabled` | `bookingPolicy.cancellationFeePolicy.cancellationWindows` | `bookingPolicy.cancellationFeePolicy.cancellationWindows.${number}.percentage` | `bookingPolicy.saveCreditCardPolicy.enabled` | `schedule.availabilityConstraints.durations` | `schedule.availabilityConstraints.durations.${number}.minutes` | `schedule.availabilityConstraints.sessionDurations` | `schedule.availabilityConstraints.timeBetweenSessions` | `staffMemberIds` | `serviceResources` | `supportedSlugs` | `supportedSlugs.${number}.name` | `seoData.tags` | `seoData.tags.${number}.type` | `seoData.tags.${number}.children` | `seoData.tags.${number}.custom` | `seoData.tags.${number}.disabled` | `seoData.settings.preventAutoRedirect` | `seoData.settings.keywords` | `seoData.settings.keywords.${number}.term` | `seoData.settings.keywords.${number}.isMain`, 6> & {
|
|
3865
3865
|
__validationErrorsType?: UpdateServiceValidationErrors;
|
|
3866
3866
|
}>;
|
|
3867
3867
|
interface UpdateService {
|
|
@@ -4019,7 +4019,7 @@ interface UpdateService {
|
|
|
4019
4019
|
* @applicableIdentity APP
|
|
4020
4020
|
* @fqn wix.bookings.services.v2.ServicesService.BulkUpdateServices
|
|
4021
4021
|
*/
|
|
4022
|
-
declare function bulkUpdateServices(options?: NonNullablePaths<BulkUpdateServicesOptions, `services.${number}.service` | `services.${number}.service._id` | `services.${number}.service.revision
|
|
4022
|
+
declare function bulkUpdateServices(options?: NonNullablePaths<BulkUpdateServicesOptions, `services.${number}.service` | `services.${number}.service._id` | `services.${number}.service.revision`, 5>): Promise<NonNullablePaths<BulkUpdateServicesResponse, `results` | `results.${number}.itemMetadata.originalIndex` | `results.${number}.itemMetadata.success` | `results.${number}.itemMetadata.error.code` | `results.${number}.itemMetadata.error.description` | `results.${number}.item.type` | `results.${number}.item.category._id` | `results.${number}.item.form._id` | `results.${number}.item.payment.rateType` | `results.${number}.item.bookingPolicy._id` | `bulkActionMetadata.totalSuccesses` | `bulkActionMetadata.totalFailures` | `bulkActionMetadata.undetailedFailures`, 6>>;
|
|
4023
4023
|
interface BulkUpdateServicesOptions {
|
|
4024
4024
|
/**
|
|
4025
4025
|
* Services to update.
|
|
@@ -4052,7 +4052,7 @@ interface BulkUpdateServicesOptions {
|
|
|
4052
4052
|
* @applicableIdentity APP
|
|
4053
4053
|
* @fqn wix.bookings.services.v2.ServicesService.BulkUpdateServicesByFilter
|
|
4054
4054
|
*/
|
|
4055
|
-
declare function bulkUpdateServicesByFilter(filter: Record<string, any>, options: NonNullablePaths<BulkUpdateServicesByFilterOptions, `service
|
|
4055
|
+
declare function bulkUpdateServicesByFilter(filter: Record<string, any>, options: NonNullablePaths<BulkUpdateServicesByFilterOptions, `service`, 2>): Promise<NonNullablePaths<BulkUpdateServicesByFilterResponse, `jobId`, 2>>;
|
|
4056
4056
|
interface BulkUpdateServicesByFilterOptions {
|
|
4057
4057
|
/** Service to update. */
|
|
4058
4058
|
service: Service;
|
|
@@ -4102,7 +4102,7 @@ interface DeleteServiceOptions {
|
|
|
4102
4102
|
* @applicableIdentity APP
|
|
4103
4103
|
* @fqn wix.bookings.services.v2.ServicesService.BulkDeleteServices
|
|
4104
4104
|
*/
|
|
4105
|
-
declare function bulkDeleteServices(ids: string[], options?: BulkDeleteServicesOptions): Promise<NonNullablePaths<BulkDeleteServicesResponse, `results` | `results.${number}.itemMetadata.originalIndex` | `results.${number}.itemMetadata.success` | `results.${number}.itemMetadata.error.code` | `results.${number}.itemMetadata.error.description` | `results.${number}.item.type` | `results.${number}.item.category._id` | `results.${number}.item.form._id` | `results.${number}.item.payment.rateType` | `results.${number}.item.bookingPolicy._id` | `bulkActionMetadata.totalSuccesses` | `bulkActionMetadata.totalFailures` | `bulkActionMetadata.undetailedFailures
|
|
4105
|
+
declare function bulkDeleteServices(ids: string[], options?: BulkDeleteServicesOptions): Promise<NonNullablePaths<BulkDeleteServicesResponse, `results` | `results.${number}.itemMetadata.originalIndex` | `results.${number}.itemMetadata.success` | `results.${number}.itemMetadata.error.code` | `results.${number}.itemMetadata.error.description` | `results.${number}.item.type` | `results.${number}.item.category._id` | `results.${number}.item.form._id` | `results.${number}.item.payment.rateType` | `results.${number}.item.bookingPolicy._id` | `bulkActionMetadata.totalSuccesses` | `bulkActionMetadata.totalFailures` | `bulkActionMetadata.undetailedFailures`, 6>>;
|
|
4106
4106
|
interface BulkDeleteServicesOptions {
|
|
4107
4107
|
/**
|
|
4108
4108
|
* Whether to preserve future sessions with participants.
|
|
@@ -4140,7 +4140,7 @@ interface BulkDeleteServicesOptions {
|
|
|
4140
4140
|
* @applicableIdentity APP
|
|
4141
4141
|
* @fqn wix.bookings.services.v2.ServicesService.BulkDeleteServicesByFilter
|
|
4142
4142
|
*/
|
|
4143
|
-
declare function bulkDeleteServicesByFilter(filter: Record<string, any>, options?: BulkDeleteServicesByFilterOptions): Promise<NonNullablePaths<BulkDeleteServicesByFilterResponse, `jobId
|
|
4143
|
+
declare function bulkDeleteServicesByFilter(filter: Record<string, any>, options?: BulkDeleteServicesByFilterOptions): Promise<NonNullablePaths<BulkDeleteServicesByFilterResponse, `jobId`, 2>>;
|
|
4144
4144
|
interface BulkDeleteServicesByFilterOptions {
|
|
4145
4145
|
/**
|
|
4146
4146
|
* Whether to preserve future sessions with participants.
|
|
@@ -4479,7 +4479,7 @@ type ServiceSearch = {
|
|
|
4479
4479
|
* @applicableIdentity VISITOR
|
|
4480
4480
|
* @fqn wix.bookings.services.v2.ServicesService.QueryPolicies
|
|
4481
4481
|
*/
|
|
4482
|
-
declare function queryPolicies(query: CursorQuery): Promise<NonNullablePaths<QueryPoliciesResponse, `bookingPolicies` | `bookingPolicies.${number}.bookingPolicy._id` | `bookingPolicies.${number}.bookingPolicy.customPolicyDescription.enabled` | `bookingPolicies.${number}.bookingPolicy.customPolicyDescription.description` | `bookingPolicies.${number}.bookingPolicy.limitEarlyBookingPolicy.enabled` | `bookingPolicies.${number}.bookingPolicy.limitEarlyBookingPolicy.earliestBookingInMinutes` | `bookingPolicies.${number}.bookingPolicy.limitLateBookingPolicy.enabled` | `bookingPolicies.${number}.bookingPolicy.limitLateBookingPolicy.latestBookingInMinutes` | `bookingPolicies.${number}.bookingPolicy.bookAfterStartPolicy.enabled` | `bookingPolicies.${number}.bookingPolicy.cancellationPolicy.enabled` | `bookingPolicies.${number}.bookingPolicy.cancellationPolicy.limitLatestCancellation` | `bookingPolicies.${number}.bookingPolicy.cancellationPolicy.latestCancellationInMinutes` | `bookingPolicies.${number}.bookingPolicy.reschedulePolicy.enabled` | `bookingPolicies.${number}.bookingPolicy.reschedulePolicy.limitLatestReschedule` | `bookingPolicies.${number}.bookingPolicy.reschedulePolicy.latestRescheduleInMinutes` | `bookingPolicies.${number}.bookingPolicy.waitlistPolicy.enabled` | `bookingPolicies.${number}.bookingPolicy.waitlistPolicy.capacity` | `bookingPolicies.${number}.bookingPolicy.waitlistPolicy.reservationTimeInMinutes` | `bookingPolicies.${number}.bookingPolicy.participantsPolicy.maxParticipantsPerBooking` | `bookingPolicies.${number}.bookingPolicy.resourcesPolicy.enabled` | `bookingPolicies.${number}.bookingPolicy.resourcesPolicy.autoAssignAllowed` | `bookingPolicies.${number}.bookingPolicy.cancellationFeePolicy.enabled` | `bookingPolicies.${number}.bookingPolicy.saveCreditCardPolicy.enabled` | `bookingPolicies.${number}.totalServiceCount
|
|
4482
|
+
declare function queryPolicies(query: CursorQuery): Promise<NonNullablePaths<QueryPoliciesResponse, `bookingPolicies` | `bookingPolicies.${number}.bookingPolicy._id` | `bookingPolicies.${number}.bookingPolicy.customPolicyDescription.enabled` | `bookingPolicies.${number}.bookingPolicy.customPolicyDescription.description` | `bookingPolicies.${number}.bookingPolicy.limitEarlyBookingPolicy.enabled` | `bookingPolicies.${number}.bookingPolicy.limitEarlyBookingPolicy.earliestBookingInMinutes` | `bookingPolicies.${number}.bookingPolicy.limitLateBookingPolicy.enabled` | `bookingPolicies.${number}.bookingPolicy.limitLateBookingPolicy.latestBookingInMinutes` | `bookingPolicies.${number}.bookingPolicy.bookAfterStartPolicy.enabled` | `bookingPolicies.${number}.bookingPolicy.cancellationPolicy.enabled` | `bookingPolicies.${number}.bookingPolicy.cancellationPolicy.limitLatestCancellation` | `bookingPolicies.${number}.bookingPolicy.cancellationPolicy.latestCancellationInMinutes` | `bookingPolicies.${number}.bookingPolicy.reschedulePolicy.enabled` | `bookingPolicies.${number}.bookingPolicy.reschedulePolicy.limitLatestReschedule` | `bookingPolicies.${number}.bookingPolicy.reschedulePolicy.latestRescheduleInMinutes` | `bookingPolicies.${number}.bookingPolicy.waitlistPolicy.enabled` | `bookingPolicies.${number}.bookingPolicy.waitlistPolicy.capacity` | `bookingPolicies.${number}.bookingPolicy.waitlistPolicy.reservationTimeInMinutes` | `bookingPolicies.${number}.bookingPolicy.participantsPolicy.maxParticipantsPerBooking` | `bookingPolicies.${number}.bookingPolicy.resourcesPolicy.enabled` | `bookingPolicies.${number}.bookingPolicy.resourcesPolicy.autoAssignAllowed` | `bookingPolicies.${number}.bookingPolicy.cancellationFeePolicy.enabled` | `bookingPolicies.${number}.bookingPolicy.saveCreditCardPolicy.enabled` | `bookingPolicies.${number}.totalServiceCount`, 6>>;
|
|
4483
4483
|
/**
|
|
4484
4484
|
* Retrieves a list of up to 100 *booking forms*
|
|
4485
4485
|
* ([SDK](https://dev.wix.com/docs/sdk/backend-modules/forms/introduction) | [REST](https://dev.wix.com/docs/rest/crm/forms/form-schemas/form-object)),
|
|
@@ -4533,7 +4533,7 @@ declare function queryPolicies(query: CursorQuery): Promise<NonNullablePaths<Que
|
|
|
4533
4533
|
* @applicableIdentity VISITOR
|
|
4534
4534
|
* @fqn wix.bookings.services.v2.ServicesService.QueryBookingForms
|
|
4535
4535
|
*/
|
|
4536
|
-
declare function queryBookingForms(query: CursorQuery, options?: QueryBookingFormsOptions): Promise<NonNullablePaths<QueryBookingFormsResponse, `bookingForms` | `bookingForms.${number}.formDetails.formId` | `bookingForms.${number}.totalServiceCount` | `defaultBookingForm.formDetails.formId` | `defaultBookingForm.connectedServices` | `defaultBookingForm.totalServiceCount
|
|
4536
|
+
declare function queryBookingForms(query: CursorQuery, options?: QueryBookingFormsOptions): Promise<NonNullablePaths<QueryBookingFormsResponse, `bookingForms` | `bookingForms.${number}.formDetails.formId` | `bookingForms.${number}.totalServiceCount` | `defaultBookingForm.formDetails.formId` | `defaultBookingForm.connectedServices` | `defaultBookingForm.totalServiceCount`, 5> & {
|
|
4537
4537
|
__applicationErrorsType?: QueryBookingFormsApplicationErrors;
|
|
4538
4538
|
}>;
|
|
4539
4539
|
interface QueryBookingFormsOptions {
|
|
@@ -4559,7 +4559,7 @@ interface QueryBookingFormsOptions {
|
|
|
4559
4559
|
* @applicableIdentity VISITOR
|
|
4560
4560
|
* @fqn wix.bookings.services.v2.ServicesService.CountServices
|
|
4561
4561
|
*/
|
|
4562
|
-
declare function countServices(options?: CountServicesOptions): Promise<NonNullablePaths<CountServicesResponse, `count
|
|
4562
|
+
declare function countServices(options?: CountServicesOptions): Promise<NonNullablePaths<CountServicesResponse, `count`, 2>>;
|
|
4563
4563
|
interface CountServicesOptions {
|
|
4564
4564
|
/**
|
|
4565
4565
|
* Query filter to base the count on. See supported filters
|
|
@@ -4600,7 +4600,7 @@ interface CountServicesOptions {
|
|
|
4600
4600
|
* @applicableIdentity VISITOR
|
|
4601
4601
|
* @fqn wix.bookings.services.v2.ServicesService.QueryLocations
|
|
4602
4602
|
*/
|
|
4603
|
-
declare function queryLocations(options?: QueryLocationsOptions): Promise<NonNullablePaths<QueryLocationsResponse, `businessLocations.exists` | `businessLocations.locations` | `businessLocations.locations.${number}.business._id` | `businessLocations.locations.${number}.business.name` | `businessLocations.locations.${number}.custom._id` | `businessLocations.locations.${number}._id` | `businessLocations.locations.${number}.type` | `customLocations.exists` | `customerLocations.exists
|
|
4603
|
+
declare function queryLocations(options?: QueryLocationsOptions): Promise<NonNullablePaths<QueryLocationsResponse, `businessLocations.exists` | `businessLocations.locations` | `businessLocations.locations.${number}.business._id` | `businessLocations.locations.${number}.business.name` | `businessLocations.locations.${number}.custom._id` | `businessLocations.locations.${number}._id` | `businessLocations.locations.${number}.type` | `customLocations.exists` | `customerLocations.exists`, 6>>;
|
|
4604
4604
|
interface QueryLocationsOptions {
|
|
4605
4605
|
/** Filter. */
|
|
4606
4606
|
filter?: QueryLocationsFilter;
|
|
@@ -4636,7 +4636,7 @@ interface QueryLocationsOptions {
|
|
|
4636
4636
|
* @applicableIdentity VISITOR
|
|
4637
4637
|
* @fqn wix.bookings.services.v2.ServicesService.QueryCategories
|
|
4638
4638
|
*/
|
|
4639
|
-
declare function queryCategories(options?: QueryCategoriesOptions): Promise<NonNullablePaths<QueryCategoriesResponse, `categories` | `categories.${number}._id
|
|
4639
|
+
declare function queryCategories(options?: QueryCategoriesOptions): Promise<NonNullablePaths<QueryCategoriesResponse, `categories` | `categories.${number}._id`, 4>>;
|
|
4640
4640
|
interface QueryCategoriesOptions {
|
|
4641
4641
|
/** Filter. */
|
|
4642
4642
|
filter?: QueryCategoriesFilter;
|
|
@@ -4700,7 +4700,7 @@ interface QueryCategoriesOptions {
|
|
|
4700
4700
|
* @applicableIdentity APP
|
|
4701
4701
|
* @fqn wix.bookings.services.v2.ServicesService.SetServiceLocations
|
|
4702
4702
|
*/
|
|
4703
|
-
declare function setServiceLocations(serviceId: string, locations: Location[], options?: SetServiceLocationsOptions): Promise<NonNullablePaths<SetServiceLocationsResponse, `service.type` | `service.media.items` | `service.category._id` | `service.form._id` | `service.payment.fixed.price.value` | `service.payment.fixed.price.currency` | `service.payment.rateType` | `service.payment.pricingPlanIds` | `service.locations` | `service.locations.${number}.business._id` | `service.locations.${number}.business.name` | `service.locations.${number}.custom._id` | `service.locations.${number}._id` | `service.locations.${number}.type` | `service.bookingPolicy._id` | `service.bookingPolicy.customPolicyDescription.enabled` | `service.bookingPolicy.customPolicyDescription.description` | `service.bookingPolicy.limitEarlyBookingPolicy.enabled` | `service.bookingPolicy.limitEarlyBookingPolicy.earliestBookingInMinutes` | `service.bookingPolicy.limitLateBookingPolicy.enabled` | `service.bookingPolicy.limitLateBookingPolicy.latestBookingInMinutes` | `service.bookingPolicy.bookAfterStartPolicy.enabled` | `service.bookingPolicy.cancellationPolicy.enabled` | `service.bookingPolicy.cancellationPolicy.limitLatestCancellation` | `service.bookingPolicy.cancellationPolicy.latestCancellationInMinutes` | `service.bookingPolicy.reschedulePolicy.enabled` | `service.bookingPolicy.reschedulePolicy.limitLatestReschedule` | `service.bookingPolicy.reschedulePolicy.latestRescheduleInMinutes` | `service.bookingPolicy.waitlistPolicy.enabled` | `service.bookingPolicy.waitlistPolicy.capacity` | `service.bookingPolicy.waitlistPolicy.reservationTimeInMinutes` | `service.bookingPolicy.participantsPolicy.maxParticipantsPerBooking` | `service.bookingPolicy.resourcesPolicy.enabled` | `service.bookingPolicy.resourcesPolicy.autoAssignAllowed` | `service.bookingPolicy.cancellationFeePolicy.enabled` | `service.bookingPolicy.cancellationFeePolicy.cancellationWindows` | `service.bookingPolicy.cancellationFeePolicy.cancellationWindows.${number}.percentage` | `service.bookingPolicy.saveCreditCardPolicy.enabled` | `service.schedule.availabilityConstraints.durations` | `service.schedule.availabilityConstraints.durations.${number}.minutes` | `service.schedule.availabilityConstraints.sessionDurations` | `service.schedule.availabilityConstraints.timeBetweenSessions` | `service.staffMemberIds` | `service.serviceResources` | `service.supportedSlugs` | `service.supportedSlugs.${number}.name` | `service.seoData.tags` | `service.seoData.tags.${number}.type` | `service.seoData.tags.${number}.children` | `service.seoData.tags.${number}.custom` | `service.seoData.tags.${number}.disabled` | `service.seoData.settings.preventAutoRedirect` | `service.seoData.settings.keywords` | `service.seoData.settings.keywords.${number}.term` | `service.seoData.settings.keywords.${number}.isMain
|
|
4703
|
+
declare function setServiceLocations(serviceId: string, locations: Location[], options?: SetServiceLocationsOptions): Promise<NonNullablePaths<SetServiceLocationsResponse, `service.type` | `service.media.items` | `service.category._id` | `service.form._id` | `service.payment.fixed.price.value` | `service.payment.fixed.price.currency` | `service.payment.rateType` | `service.payment.pricingPlanIds` | `service.locations` | `service.locations.${number}.business._id` | `service.locations.${number}.business.name` | `service.locations.${number}.custom._id` | `service.locations.${number}._id` | `service.locations.${number}.type` | `service.bookingPolicy._id` | `service.bookingPolicy.customPolicyDescription.enabled` | `service.bookingPolicy.customPolicyDescription.description` | `service.bookingPolicy.limitEarlyBookingPolicy.enabled` | `service.bookingPolicy.limitEarlyBookingPolicy.earliestBookingInMinutes` | `service.bookingPolicy.limitLateBookingPolicy.enabled` | `service.bookingPolicy.limitLateBookingPolicy.latestBookingInMinutes` | `service.bookingPolicy.bookAfterStartPolicy.enabled` | `service.bookingPolicy.cancellationPolicy.enabled` | `service.bookingPolicy.cancellationPolicy.limitLatestCancellation` | `service.bookingPolicy.cancellationPolicy.latestCancellationInMinutes` | `service.bookingPolicy.reschedulePolicy.enabled` | `service.bookingPolicy.reschedulePolicy.limitLatestReschedule` | `service.bookingPolicy.reschedulePolicy.latestRescheduleInMinutes` | `service.bookingPolicy.waitlistPolicy.enabled` | `service.bookingPolicy.waitlistPolicy.capacity` | `service.bookingPolicy.waitlistPolicy.reservationTimeInMinutes` | `service.bookingPolicy.participantsPolicy.maxParticipantsPerBooking` | `service.bookingPolicy.resourcesPolicy.enabled` | `service.bookingPolicy.resourcesPolicy.autoAssignAllowed` | `service.bookingPolicy.cancellationFeePolicy.enabled` | `service.bookingPolicy.cancellationFeePolicy.cancellationWindows` | `service.bookingPolicy.cancellationFeePolicy.cancellationWindows.${number}.percentage` | `service.bookingPolicy.saveCreditCardPolicy.enabled` | `service.schedule.availabilityConstraints.durations` | `service.schedule.availabilityConstraints.durations.${number}.minutes` | `service.schedule.availabilityConstraints.sessionDurations` | `service.schedule.availabilityConstraints.timeBetweenSessions` | `service.staffMemberIds` | `service.serviceResources` | `service.supportedSlugs` | `service.supportedSlugs.${number}.name` | `service.seoData.tags` | `service.seoData.tags.${number}.type` | `service.seoData.tags.${number}.children` | `service.seoData.tags.${number}.custom` | `service.seoData.tags.${number}.disabled` | `service.seoData.settings.preventAutoRedirect` | `service.seoData.settings.keywords` | `service.seoData.settings.keywords.${number}.term` | `service.seoData.settings.keywords.${number}.isMain`, 7>>;
|
|
4704
4704
|
interface SetServiceLocationsOptions {
|
|
4705
4705
|
/**
|
|
4706
4706
|
* The action to perform on sessions currently set to a removed location. For
|
|
@@ -4736,7 +4736,7 @@ interface SetServiceLocationsOptions {
|
|
|
4736
4736
|
* @applicableIdentity APP
|
|
4737
4737
|
* @fqn wix.bookings.services.v2.ServicesService.EnablePricingPlansForService
|
|
4738
4738
|
*/
|
|
4739
|
-
declare function enablePricingPlansForService(serviceId: string, pricingPlanIds: string[]): Promise<NonNullablePaths<EnablePricingPlansForServiceResponse, `service.type` | `service.media.items` | `service.category._id` | `service.form._id` | `service.payment.fixed.price.value` | `service.payment.fixed.price.currency` | `service.payment.rateType` | `service.payment.pricingPlanIds` | `service.locations` | `service.locations.${number}.business._id` | `service.locations.${number}.business.name` | `service.locations.${number}.custom._id` | `service.locations.${number}._id` | `service.locations.${number}.type` | `service.bookingPolicy._id` | `service.bookingPolicy.customPolicyDescription.enabled` | `service.bookingPolicy.customPolicyDescription.description` | `service.bookingPolicy.limitEarlyBookingPolicy.enabled` | `service.bookingPolicy.limitEarlyBookingPolicy.earliestBookingInMinutes` | `service.bookingPolicy.limitLateBookingPolicy.enabled` | `service.bookingPolicy.limitLateBookingPolicy.latestBookingInMinutes` | `service.bookingPolicy.bookAfterStartPolicy.enabled` | `service.bookingPolicy.cancellationPolicy.enabled` | `service.bookingPolicy.cancellationPolicy.limitLatestCancellation` | `service.bookingPolicy.cancellationPolicy.latestCancellationInMinutes` | `service.bookingPolicy.reschedulePolicy.enabled` | `service.bookingPolicy.reschedulePolicy.limitLatestReschedule` | `service.bookingPolicy.reschedulePolicy.latestRescheduleInMinutes` | `service.bookingPolicy.waitlistPolicy.enabled` | `service.bookingPolicy.waitlistPolicy.capacity` | `service.bookingPolicy.waitlistPolicy.reservationTimeInMinutes` | `service.bookingPolicy.participantsPolicy.maxParticipantsPerBooking` | `service.bookingPolicy.resourcesPolicy.enabled` | `service.bookingPolicy.resourcesPolicy.autoAssignAllowed` | `service.bookingPolicy.cancellationFeePolicy.enabled` | `service.bookingPolicy.cancellationFeePolicy.cancellationWindows` | `service.bookingPolicy.cancellationFeePolicy.cancellationWindows.${number}.percentage` | `service.bookingPolicy.saveCreditCardPolicy.enabled` | `service.schedule.availabilityConstraints.durations` | `service.schedule.availabilityConstraints.durations.${number}.minutes` | `service.schedule.availabilityConstraints.sessionDurations` | `service.schedule.availabilityConstraints.timeBetweenSessions` | `service.staffMemberIds` | `service.serviceResources` | `service.supportedSlugs` | `service.supportedSlugs.${number}.name` | `service.seoData.tags` | `service.seoData.tags.${number}.type` | `service.seoData.tags.${number}.children` | `service.seoData.tags.${number}.custom` | `service.seoData.tags.${number}.disabled` | `service.seoData.settings.preventAutoRedirect` | `service.seoData.settings.keywords` | `service.seoData.settings.keywords.${number}.term` | `service.seoData.settings.keywords.${number}.isMain
|
|
4739
|
+
declare function enablePricingPlansForService(serviceId: string, pricingPlanIds: string[]): Promise<NonNullablePaths<EnablePricingPlansForServiceResponse, `service.type` | `service.media.items` | `service.category._id` | `service.form._id` | `service.payment.fixed.price.value` | `service.payment.fixed.price.currency` | `service.payment.rateType` | `service.payment.pricingPlanIds` | `service.locations` | `service.locations.${number}.business._id` | `service.locations.${number}.business.name` | `service.locations.${number}.custom._id` | `service.locations.${number}._id` | `service.locations.${number}.type` | `service.bookingPolicy._id` | `service.bookingPolicy.customPolicyDescription.enabled` | `service.bookingPolicy.customPolicyDescription.description` | `service.bookingPolicy.limitEarlyBookingPolicy.enabled` | `service.bookingPolicy.limitEarlyBookingPolicy.earliestBookingInMinutes` | `service.bookingPolicy.limitLateBookingPolicy.enabled` | `service.bookingPolicy.limitLateBookingPolicy.latestBookingInMinutes` | `service.bookingPolicy.bookAfterStartPolicy.enabled` | `service.bookingPolicy.cancellationPolicy.enabled` | `service.bookingPolicy.cancellationPolicy.limitLatestCancellation` | `service.bookingPolicy.cancellationPolicy.latestCancellationInMinutes` | `service.bookingPolicy.reschedulePolicy.enabled` | `service.bookingPolicy.reschedulePolicy.limitLatestReschedule` | `service.bookingPolicy.reschedulePolicy.latestRescheduleInMinutes` | `service.bookingPolicy.waitlistPolicy.enabled` | `service.bookingPolicy.waitlistPolicy.capacity` | `service.bookingPolicy.waitlistPolicy.reservationTimeInMinutes` | `service.bookingPolicy.participantsPolicy.maxParticipantsPerBooking` | `service.bookingPolicy.resourcesPolicy.enabled` | `service.bookingPolicy.resourcesPolicy.autoAssignAllowed` | `service.bookingPolicy.cancellationFeePolicy.enabled` | `service.bookingPolicy.cancellationFeePolicy.cancellationWindows` | `service.bookingPolicy.cancellationFeePolicy.cancellationWindows.${number}.percentage` | `service.bookingPolicy.saveCreditCardPolicy.enabled` | `service.schedule.availabilityConstraints.durations` | `service.schedule.availabilityConstraints.durations.${number}.minutes` | `service.schedule.availabilityConstraints.sessionDurations` | `service.schedule.availabilityConstraints.timeBetweenSessions` | `service.staffMemberIds` | `service.serviceResources` | `service.supportedSlugs` | `service.supportedSlugs.${number}.name` | `service.seoData.tags` | `service.seoData.tags.${number}.type` | `service.seoData.tags.${number}.children` | `service.seoData.tags.${number}.custom` | `service.seoData.tags.${number}.disabled` | `service.seoData.settings.preventAutoRedirect` | `service.seoData.settings.keywords` | `service.seoData.settings.keywords.${number}.term` | `service.seoData.settings.keywords.${number}.isMain`, 7> & {
|
|
4740
4740
|
__applicationErrorsType?: EnablePricingPlansForServiceApplicationErrors;
|
|
4741
4741
|
}>;
|
|
4742
4742
|
/**
|
|
@@ -4755,7 +4755,7 @@ declare function enablePricingPlansForService(serviceId: string, pricingPlanIds:
|
|
|
4755
4755
|
* @applicableIdentity APP
|
|
4756
4756
|
* @fqn wix.bookings.services.v2.ServicesService.DisablePricingPlansForService
|
|
4757
4757
|
*/
|
|
4758
|
-
declare function disablePricingPlansForService(serviceId: string, options?: DisablePricingPlansForServiceOptions): Promise<NonNullablePaths<DisablePricingPlansForServiceResponse, `service.type` | `service.media.items` | `service.category._id` | `service.form._id` | `service.payment.fixed.price.value` | `service.payment.fixed.price.currency` | `service.payment.rateType` | `service.payment.pricingPlanIds` | `service.locations` | `service.locations.${number}.business._id` | `service.locations.${number}.business.name` | `service.locations.${number}.custom._id` | `service.locations.${number}._id` | `service.locations.${number}.type` | `service.bookingPolicy._id` | `service.bookingPolicy.customPolicyDescription.enabled` | `service.bookingPolicy.customPolicyDescription.description` | `service.bookingPolicy.limitEarlyBookingPolicy.enabled` | `service.bookingPolicy.limitEarlyBookingPolicy.earliestBookingInMinutes` | `service.bookingPolicy.limitLateBookingPolicy.enabled` | `service.bookingPolicy.limitLateBookingPolicy.latestBookingInMinutes` | `service.bookingPolicy.bookAfterStartPolicy.enabled` | `service.bookingPolicy.cancellationPolicy.enabled` | `service.bookingPolicy.cancellationPolicy.limitLatestCancellation` | `service.bookingPolicy.cancellationPolicy.latestCancellationInMinutes` | `service.bookingPolicy.reschedulePolicy.enabled` | `service.bookingPolicy.reschedulePolicy.limitLatestReschedule` | `service.bookingPolicy.reschedulePolicy.latestRescheduleInMinutes` | `service.bookingPolicy.waitlistPolicy.enabled` | `service.bookingPolicy.waitlistPolicy.capacity` | `service.bookingPolicy.waitlistPolicy.reservationTimeInMinutes` | `service.bookingPolicy.participantsPolicy.maxParticipantsPerBooking` | `service.bookingPolicy.resourcesPolicy.enabled` | `service.bookingPolicy.resourcesPolicy.autoAssignAllowed` | `service.bookingPolicy.cancellationFeePolicy.enabled` | `service.bookingPolicy.cancellationFeePolicy.cancellationWindows` | `service.bookingPolicy.cancellationFeePolicy.cancellationWindows.${number}.percentage` | `service.bookingPolicy.saveCreditCardPolicy.enabled` | `service.schedule.availabilityConstraints.durations` | `service.schedule.availabilityConstraints.durations.${number}.minutes` | `service.schedule.availabilityConstraints.sessionDurations` | `service.schedule.availabilityConstraints.timeBetweenSessions` | `service.staffMemberIds` | `service.serviceResources` | `service.supportedSlugs` | `service.supportedSlugs.${number}.name` | `service.seoData.tags` | `service.seoData.tags.${number}.type` | `service.seoData.tags.${number}.children` | `service.seoData.tags.${number}.custom` | `service.seoData.tags.${number}.disabled` | `service.seoData.settings.preventAutoRedirect` | `service.seoData.settings.keywords` | `service.seoData.settings.keywords.${number}.term` | `service.seoData.settings.keywords.${number}.isMain
|
|
4758
|
+
declare function disablePricingPlansForService(serviceId: string, options?: DisablePricingPlansForServiceOptions): Promise<NonNullablePaths<DisablePricingPlansForServiceResponse, `service.type` | `service.media.items` | `service.category._id` | `service.form._id` | `service.payment.fixed.price.value` | `service.payment.fixed.price.currency` | `service.payment.rateType` | `service.payment.pricingPlanIds` | `service.locations` | `service.locations.${number}.business._id` | `service.locations.${number}.business.name` | `service.locations.${number}.custom._id` | `service.locations.${number}._id` | `service.locations.${number}.type` | `service.bookingPolicy._id` | `service.bookingPolicy.customPolicyDescription.enabled` | `service.bookingPolicy.customPolicyDescription.description` | `service.bookingPolicy.limitEarlyBookingPolicy.enabled` | `service.bookingPolicy.limitEarlyBookingPolicy.earliestBookingInMinutes` | `service.bookingPolicy.limitLateBookingPolicy.enabled` | `service.bookingPolicy.limitLateBookingPolicy.latestBookingInMinutes` | `service.bookingPolicy.bookAfterStartPolicy.enabled` | `service.bookingPolicy.cancellationPolicy.enabled` | `service.bookingPolicy.cancellationPolicy.limitLatestCancellation` | `service.bookingPolicy.cancellationPolicy.latestCancellationInMinutes` | `service.bookingPolicy.reschedulePolicy.enabled` | `service.bookingPolicy.reschedulePolicy.limitLatestReschedule` | `service.bookingPolicy.reschedulePolicy.latestRescheduleInMinutes` | `service.bookingPolicy.waitlistPolicy.enabled` | `service.bookingPolicy.waitlistPolicy.capacity` | `service.bookingPolicy.waitlistPolicy.reservationTimeInMinutes` | `service.bookingPolicy.participantsPolicy.maxParticipantsPerBooking` | `service.bookingPolicy.resourcesPolicy.enabled` | `service.bookingPolicy.resourcesPolicy.autoAssignAllowed` | `service.bookingPolicy.cancellationFeePolicy.enabled` | `service.bookingPolicy.cancellationFeePolicy.cancellationWindows` | `service.bookingPolicy.cancellationFeePolicy.cancellationWindows.${number}.percentage` | `service.bookingPolicy.saveCreditCardPolicy.enabled` | `service.schedule.availabilityConstraints.durations` | `service.schedule.availabilityConstraints.durations.${number}.minutes` | `service.schedule.availabilityConstraints.sessionDurations` | `service.schedule.availabilityConstraints.timeBetweenSessions` | `service.staffMemberIds` | `service.serviceResources` | `service.supportedSlugs` | `service.supportedSlugs.${number}.name` | `service.seoData.tags` | `service.seoData.tags.${number}.type` | `service.seoData.tags.${number}.children` | `service.seoData.tags.${number}.custom` | `service.seoData.tags.${number}.disabled` | `service.seoData.settings.preventAutoRedirect` | `service.seoData.settings.keywords` | `service.seoData.settings.keywords.${number}.term` | `service.seoData.settings.keywords.${number}.isMain`, 7> & {
|
|
4759
4759
|
__applicationErrorsType?: DisablePricingPlansForServiceApplicationErrors;
|
|
4760
4760
|
}>;
|
|
4761
4761
|
interface DisablePricingPlansForServiceOptions {
|
|
@@ -4783,7 +4783,7 @@ interface DisablePricingPlansForServiceOptions {
|
|
|
4783
4783
|
* @applicableIdentity APP
|
|
4784
4784
|
* @fqn wix.bookings.services.v2.ServicesService.SetCustomSlug
|
|
4785
4785
|
*/
|
|
4786
|
-
declare function setCustomSlug(serviceId: string, options?: SetCustomSlugOptions): Promise<NonNullablePaths<SetCustomSlugResponse, `slug.name` | `service.type` | `service.media.items` | `service.category._id` | `service.form._id` | `service.payment.fixed.price.value` | `service.payment.fixed.price.currency` | `service.payment.rateType` | `service.payment.pricingPlanIds` | `service.locations` | `service.locations.${number}.business._id` | `service.locations.${number}.business.name` | `service.locations.${number}.custom._id` | `service.locations.${number}._id` | `service.locations.${number}.type` | `service.bookingPolicy._id` | `service.bookingPolicy.customPolicyDescription.enabled` | `service.bookingPolicy.customPolicyDescription.description` | `service.bookingPolicy.limitEarlyBookingPolicy.enabled` | `service.bookingPolicy.limitEarlyBookingPolicy.earliestBookingInMinutes` | `service.bookingPolicy.limitLateBookingPolicy.enabled` | `service.bookingPolicy.limitLateBookingPolicy.latestBookingInMinutes` | `service.bookingPolicy.bookAfterStartPolicy.enabled` | `service.bookingPolicy.cancellationPolicy.enabled` | `service.bookingPolicy.cancellationPolicy.limitLatestCancellation` | `service.bookingPolicy.cancellationPolicy.latestCancellationInMinutes` | `service.bookingPolicy.reschedulePolicy.enabled` | `service.bookingPolicy.reschedulePolicy.limitLatestReschedule` | `service.bookingPolicy.reschedulePolicy.latestRescheduleInMinutes` | `service.bookingPolicy.waitlistPolicy.enabled` | `service.bookingPolicy.waitlistPolicy.capacity` | `service.bookingPolicy.waitlistPolicy.reservationTimeInMinutes` | `service.bookingPolicy.participantsPolicy.maxParticipantsPerBooking` | `service.bookingPolicy.resourcesPolicy.enabled` | `service.bookingPolicy.resourcesPolicy.autoAssignAllowed` | `service.bookingPolicy.cancellationFeePolicy.enabled` | `service.bookingPolicy.cancellationFeePolicy.cancellationWindows` | `service.bookingPolicy.cancellationFeePolicy.cancellationWindows.${number}.percentage` | `service.bookingPolicy.saveCreditCardPolicy.enabled` | `service.schedule.availabilityConstraints.durations` | `service.schedule.availabilityConstraints.durations.${number}.minutes` | `service.schedule.availabilityConstraints.sessionDurations` | `service.schedule.availabilityConstraints.timeBetweenSessions` | `service.staffMemberIds` | `service.serviceResources` | `service.supportedSlugs` | `service.supportedSlugs.${number}.name` | `service.seoData.tags` | `service.seoData.tags.${number}.type` | `service.seoData.tags.${number}.children` | `service.seoData.tags.${number}.custom` | `service.seoData.tags.${number}.disabled` | `service.seoData.settings.preventAutoRedirect` | `service.seoData.settings.keywords` | `service.seoData.settings.keywords.${number}.term` | `service.seoData.settings.keywords.${number}.isMain
|
|
4786
|
+
declare function setCustomSlug(serviceId: string, options?: SetCustomSlugOptions): Promise<NonNullablePaths<SetCustomSlugResponse, `slug.name` | `service.type` | `service.media.items` | `service.category._id` | `service.form._id` | `service.payment.fixed.price.value` | `service.payment.fixed.price.currency` | `service.payment.rateType` | `service.payment.pricingPlanIds` | `service.locations` | `service.locations.${number}.business._id` | `service.locations.${number}.business.name` | `service.locations.${number}.custom._id` | `service.locations.${number}._id` | `service.locations.${number}.type` | `service.bookingPolicy._id` | `service.bookingPolicy.customPolicyDescription.enabled` | `service.bookingPolicy.customPolicyDescription.description` | `service.bookingPolicy.limitEarlyBookingPolicy.enabled` | `service.bookingPolicy.limitEarlyBookingPolicy.earliestBookingInMinutes` | `service.bookingPolicy.limitLateBookingPolicy.enabled` | `service.bookingPolicy.limitLateBookingPolicy.latestBookingInMinutes` | `service.bookingPolicy.bookAfterStartPolicy.enabled` | `service.bookingPolicy.cancellationPolicy.enabled` | `service.bookingPolicy.cancellationPolicy.limitLatestCancellation` | `service.bookingPolicy.cancellationPolicy.latestCancellationInMinutes` | `service.bookingPolicy.reschedulePolicy.enabled` | `service.bookingPolicy.reschedulePolicy.limitLatestReschedule` | `service.bookingPolicy.reschedulePolicy.latestRescheduleInMinutes` | `service.bookingPolicy.waitlistPolicy.enabled` | `service.bookingPolicy.waitlistPolicy.capacity` | `service.bookingPolicy.waitlistPolicy.reservationTimeInMinutes` | `service.bookingPolicy.participantsPolicy.maxParticipantsPerBooking` | `service.bookingPolicy.resourcesPolicy.enabled` | `service.bookingPolicy.resourcesPolicy.autoAssignAllowed` | `service.bookingPolicy.cancellationFeePolicy.enabled` | `service.bookingPolicy.cancellationFeePolicy.cancellationWindows` | `service.bookingPolicy.cancellationFeePolicy.cancellationWindows.${number}.percentage` | `service.bookingPolicy.saveCreditCardPolicy.enabled` | `service.schedule.availabilityConstraints.durations` | `service.schedule.availabilityConstraints.durations.${number}.minutes` | `service.schedule.availabilityConstraints.sessionDurations` | `service.schedule.availabilityConstraints.timeBetweenSessions` | `service.staffMemberIds` | `service.serviceResources` | `service.supportedSlugs` | `service.supportedSlugs.${number}.name` | `service.seoData.tags` | `service.seoData.tags.${number}.type` | `service.seoData.tags.${number}.children` | `service.seoData.tags.${number}.custom` | `service.seoData.tags.${number}.disabled` | `service.seoData.settings.preventAutoRedirect` | `service.seoData.settings.keywords` | `service.seoData.settings.keywords.${number}.term` | `service.seoData.settings.keywords.${number}.isMain`, 7> & {
|
|
4787
4787
|
__applicationErrorsType?: SetCustomSlugApplicationErrors;
|
|
4788
4788
|
__validationErrorsType?: SetCustomSlugValidationErrors;
|
|
4789
4789
|
}>;
|
|
@@ -4811,7 +4811,7 @@ interface SetCustomSlugOptions {
|
|
|
4811
4811
|
* @applicableIdentity APP
|
|
4812
4812
|
* @fqn wix.bookings.services.v2.ServicesService.ValidateSlug
|
|
4813
4813
|
*/
|
|
4814
|
-
declare function validateSlug(serviceId: string, options?: ValidateSlugOptions): Promise<NonNullablePaths<ValidateSlugResponse, `valid` | `errors
|
|
4814
|
+
declare function validateSlug(serviceId: string, options?: ValidateSlugOptions): Promise<NonNullablePaths<ValidateSlugResponse, `valid` | `errors`, 2>>;
|
|
4815
4815
|
interface ValidateSlugOptions {
|
|
4816
4816
|
/**
|
|
4817
4817
|
* Custom slug to validate.
|
|
@@ -4887,6 +4887,6 @@ interface ValidateSlugOptions {
|
|
|
4887
4887
|
* @applicableIdentity APP
|
|
4888
4888
|
* @fqn wix.bookings.services.v2.ServicesService.CloneService
|
|
4889
4889
|
*/
|
|
4890
|
-
declare function cloneService(sourceServiceId: string): Promise<NonNullablePaths<CloneServiceResponse, `service.type` | `service.media.items` | `service.category._id` | `service.form._id` | `service.payment.fixed.price.value` | `service.payment.fixed.price.currency` | `service.payment.rateType` | `service.payment.pricingPlanIds` | `service.locations` | `service.locations.${number}.business._id` | `service.locations.${number}.business.name` | `service.locations.${number}.custom._id` | `service.locations.${number}._id` | `service.locations.${number}.type` | `service.bookingPolicy._id` | `service.bookingPolicy.customPolicyDescription.enabled` | `service.bookingPolicy.customPolicyDescription.description` | `service.bookingPolicy.limitEarlyBookingPolicy.enabled` | `service.bookingPolicy.limitEarlyBookingPolicy.earliestBookingInMinutes` | `service.bookingPolicy.limitLateBookingPolicy.enabled` | `service.bookingPolicy.limitLateBookingPolicy.latestBookingInMinutes` | `service.bookingPolicy.bookAfterStartPolicy.enabled` | `service.bookingPolicy.cancellationPolicy.enabled` | `service.bookingPolicy.cancellationPolicy.limitLatestCancellation` | `service.bookingPolicy.cancellationPolicy.latestCancellationInMinutes` | `service.bookingPolicy.reschedulePolicy.enabled` | `service.bookingPolicy.reschedulePolicy.limitLatestReschedule` | `service.bookingPolicy.reschedulePolicy.latestRescheduleInMinutes` | `service.bookingPolicy.waitlistPolicy.enabled` | `service.bookingPolicy.waitlistPolicy.capacity` | `service.bookingPolicy.waitlistPolicy.reservationTimeInMinutes` | `service.bookingPolicy.participantsPolicy.maxParticipantsPerBooking` | `service.bookingPolicy.resourcesPolicy.enabled` | `service.bookingPolicy.resourcesPolicy.autoAssignAllowed` | `service.bookingPolicy.cancellationFeePolicy.enabled` | `service.bookingPolicy.cancellationFeePolicy.cancellationWindows` | `service.bookingPolicy.cancellationFeePolicy.cancellationWindows.${number}.percentage` | `service.bookingPolicy.saveCreditCardPolicy.enabled` | `service.schedule.availabilityConstraints.durations` | `service.schedule.availabilityConstraints.durations.${number}.minutes` | `service.schedule.availabilityConstraints.sessionDurations` | `service.schedule.availabilityConstraints.timeBetweenSessions` | `service.staffMemberIds` | `service.serviceResources` | `service.supportedSlugs` | `service.supportedSlugs.${number}.name` | `service.seoData.tags` | `service.seoData.tags.${number}.type` | `service.seoData.tags.${number}.children` | `service.seoData.tags.${number}.custom` | `service.seoData.tags.${number}.disabled` | `service.seoData.settings.preventAutoRedirect` | `service.seoData.settings.keywords` | `service.seoData.settings.keywords.${number}.term` | `service.seoData.settings.keywords.${number}.isMain` | `errors
|
|
4890
|
+
declare function cloneService(sourceServiceId: string): Promise<NonNullablePaths<CloneServiceResponse, `service.type` | `service.media.items` | `service.category._id` | `service.form._id` | `service.payment.fixed.price.value` | `service.payment.fixed.price.currency` | `service.payment.rateType` | `service.payment.pricingPlanIds` | `service.locations` | `service.locations.${number}.business._id` | `service.locations.${number}.business.name` | `service.locations.${number}.custom._id` | `service.locations.${number}._id` | `service.locations.${number}.type` | `service.bookingPolicy._id` | `service.bookingPolicy.customPolicyDescription.enabled` | `service.bookingPolicy.customPolicyDescription.description` | `service.bookingPolicy.limitEarlyBookingPolicy.enabled` | `service.bookingPolicy.limitEarlyBookingPolicy.earliestBookingInMinutes` | `service.bookingPolicy.limitLateBookingPolicy.enabled` | `service.bookingPolicy.limitLateBookingPolicy.latestBookingInMinutes` | `service.bookingPolicy.bookAfterStartPolicy.enabled` | `service.bookingPolicy.cancellationPolicy.enabled` | `service.bookingPolicy.cancellationPolicy.limitLatestCancellation` | `service.bookingPolicy.cancellationPolicy.latestCancellationInMinutes` | `service.bookingPolicy.reschedulePolicy.enabled` | `service.bookingPolicy.reschedulePolicy.limitLatestReschedule` | `service.bookingPolicy.reschedulePolicy.latestRescheduleInMinutes` | `service.bookingPolicy.waitlistPolicy.enabled` | `service.bookingPolicy.waitlistPolicy.capacity` | `service.bookingPolicy.waitlistPolicy.reservationTimeInMinutes` | `service.bookingPolicy.participantsPolicy.maxParticipantsPerBooking` | `service.bookingPolicy.resourcesPolicy.enabled` | `service.bookingPolicy.resourcesPolicy.autoAssignAllowed` | `service.bookingPolicy.cancellationFeePolicy.enabled` | `service.bookingPolicy.cancellationFeePolicy.cancellationWindows` | `service.bookingPolicy.cancellationFeePolicy.cancellationWindows.${number}.percentage` | `service.bookingPolicy.saveCreditCardPolicy.enabled` | `service.schedule.availabilityConstraints.durations` | `service.schedule.availabilityConstraints.durations.${number}.minutes` | `service.schedule.availabilityConstraints.sessionDurations` | `service.schedule.availabilityConstraints.timeBetweenSessions` | `service.staffMemberIds` | `service.serviceResources` | `service.supportedSlugs` | `service.supportedSlugs.${number}.name` | `service.seoData.tags` | `service.seoData.tags.${number}.type` | `service.seoData.tags.${number}.children` | `service.seoData.tags.${number}.custom` | `service.seoData.tags.${number}.disabled` | `service.seoData.settings.preventAutoRedirect` | `service.seoData.settings.keywords` | `service.seoData.settings.keywords.${number}.term` | `service.seoData.settings.keywords.${number}.isMain` | `errors`, 7>>;
|
|
4891
4891
|
|
|
4892
4892
|
export { type SetCustomSlugValidationErrors as $, type AddOnGroup as A, type BulkCreateServicesOptions as B, type CreateAddOnGroupOptions as C, type DeleteAddOnGroupOptions as D, type QueryBookingFormsResponse as E, type QueryBookingFormsApplicationErrors as F, type CountServicesOptions as G, type CountServicesResponse as H, type QueryLocationsOptions as I, type QueryLocationsResponse as J, type QueryCategoriesOptions as K, type ListAddOnGroupsByServiceIdOptions as L, type QueryCategoriesResponse as M, type Location as N, type SetServiceLocationsOptions as O, type SetServiceLocationsResponse as P, type QueryPoliciesResponse as Q, type EnablePricingPlansForServiceResponse as R, type SetAddOnsForGroupOptions as S, type EnablePricingPlansForServiceApplicationErrors as T, type UpdateAddOnGroupOptions as U, type DisablePricingPlansForServiceOptions as V, type DisablePricingPlansForServiceResponse as W, type DisablePricingPlansForServiceApplicationErrors as X, type SetCustomSlugOptions as Y, type SetCustomSlugResponse as Z, type SetCustomSlugApplicationErrors as _, type CreateAddOnGroupResponse as a, type ResourcesPolicy as a$, type ValidateSlugOptions as a0, type ValidateSlugResponse as a1, type CloneServiceResponse as a2, type ServiceCreatedEnvelope as a3, type ServiceDeletedEnvelope as a4, type ServiceUpdatedEnvelope as a5, ServiceType as a6, RateType as a7, LocationType as a8, WebhookIdentityType as a9, type Form as aA, type FormSettings as aB, type Payment as aC, type PaymentRateOneOf as aD, type FixedPayment as aE, type Money as aF, type CustomPayment as aG, type VariedPayment as aH, type PaymentOptions as aI, type OnlineBooking as aJ, type Conferencing as aK, type LocationOptionsOneOf as aL, type CommonAddress as aM, type CommonAddressStreetOneOf as aN, type StreetAddress as aO, type AddressLocation as aP, type BusinessLocationOptions as aQ, type CustomLocationOptions as aR, type BookingPolicy as aS, type PolicyDescription as aT, type LimitEarlyBookingPolicy as aU, type LimitLateBookingPolicy as aV, type BookAfterStartPolicy as aW, type CancellationPolicy as aX, type ReschedulePolicy as aY, type WaitlistPolicy as aZ, type ParticipantsPolicy as a_, V2RequestedFields as aa, SortOrder as ab, SortType as ac, SortDirection as ad, MissingValues as ae, ScalarType as af, NestedAggregationType as ag, Interval as ah, AggregationType as ai, Mode as aj, RequestedFields as ak, Action as al, InvalidSlugError as am, CloneErrors as an, Status as ao, CategoryNotificationEvent as ap, BenefitType as aq, Event as ar, CrudType as as, PlacementType as at, DayOfWeek as au, ResolutionMethod as av, type Media as aw, type MediaItem as ax, type MediaItemItemOneOf as ay, type V2Category as az, type DeleteAddOnGroupApplicationErrors as b, type GetServiceAvailabilityConstraintsResponse as b$, type CancellationFeePolicy as b0, type CancellationWindow as b1, type CancellationWindowFeeOneOf as b2, type SaveCreditCardPolicy as b3, type Schedule as b4, type AvailabilityConstraints as b5, type Duration as b6, type StaffMember as b7, type StaffMediaItem as b8, type StaffMediaItemItemOneOf as b9, type EntityDeletedEvent as bA, type ActionEvent as bB, type MessageEnvelope as bC, type IdentificationData as bD, type IdentificationDataIdOneOf as bE, type CreateAddOnGroupRequest as bF, type DeleteAddOnGroupRequest as bG, type DeleteAddOnGroupResponse as bH, type UpdateAddOnGroupRequest as bI, type ListAddOnGroupsByServiceIdRequest as bJ, type AddOn as bK, type AddOnAddOnInfoOneOf as bL, type AddOnGroupDetail as bM, type SetAddOnsForGroupRequest as bN, type CreateServiceRequest as bO, type CreateServiceResponse as bP, type ValidateServiceRequest as bQ, type ValidateServiceResponse as bR, type FieldViolation as bS, type BulkCreateServicesRequest as bT, type BulkServiceResult as bU, type ItemMetadata as bV, type ApplicationError as bW, type BulkActionMetadata as bX, type GetServiceRequest as bY, type GetServiceResponse as bZ, type GetServiceAvailabilityConstraintsRequest as b_, type StaffMemberDetails as ba, type ResourceGroup as bb, type ResourceIds as bc, type ServiceResource as bd, type ServiceResourceSelectionOneOf as be, type ResourceType as bf, type Slug as bg, type URLs as bh, type ExtendedFields as bi, type SeoSchema as bj, type Keyword as bk, type Tag as bl, type Settings as bm, type AddOnDetails as bn, type ReindexMessage as bo, type ReindexMessageActionOneOf as bp, type Upsert as bq, type Delete as br, type Schema as bs, type SetCustomSlugEvent as bt, type ServicesUrlsChanged as bu, type DomainEvent as bv, type DomainEventBodyOneOf as bw, type EntityCreatedEvent as bx, type RestoreInfo as by, type EntityUpdatedEvent as bz, type UpdateAddOnGroupResponse as c, type BookingPolicyWithServices as c$, type ServiceAvailabilityConstraints as c0, type SplitInterval as c1, type UpdateServiceRequest as c2, type UpdateServiceResponse as c3, type BulkUpdateServicesRequest as c4, type MaskedService as c5, type BulkUpdateServicesByFilterRequest as c6, type DeleteServiceRequest as c7, type ParticipantNotification as c8, type DeleteServiceResponse as c9, type GroupByAggregation as cA, type GroupByAggregationKindOneOf as cB, type SearchDetails as cC, type CursorPagingMetadata as cD, type AggregationData as cE, type ValueAggregationResult as cF, type RangeAggregationResult as cG, type NestedAggregationResults as cH, type NestedAggregationResultsResultOneOf as cI, type ValueResults as cJ, type RangeResults as cK, type AggregationResultsScalarResult as cL, type NestedValueAggregationResult as cM, type ValueResult as cN, type RangeResult as cO, type ScalarResult as cP, type NestedResultValue as cQ, type NestedResultValueResultOneOf as cR, type Results as cS, type DateHistogramResult as cT, type GroupByValueResults as cU, type DateHistogramResults as cV, type NestedResults as cW, type AggregationResults as cX, type AggregationResultsResultOneOf as cY, type QueryPoliciesRequest as cZ, type CursorQueryPagingMethodOneOf as c_, type BulkDeleteServicesRequest as ca, type BulkDeleteServicesByFilterRequest as cb, type QueryServicesRequest as cc, type QueryV2 as cd, type QueryV2PagingMethodOneOf as ce, type Sorting as cf, type Paging as cg, type CursorPaging as ch, type QueryServicesResponse as ci, type PagingMetadataV2 as cj, type Cursors as ck, type SearchServicesRequest as cl, type CursorSearch as cm, type CursorSearchPagingMethodOneOf as cn, type Aggregation as co, type AggregationKindOneOf as cp, type RangeBucket as cq, type IncludeMissingValuesOptions as cr, type ValueAggregation as cs, type ValueAggregationOptionsOneOf as ct, type RangeAggregation as cu, type ScalarAggregation as cv, type DateHistogramAggregation as cw, type NestedAggregationItem as cx, type NestedAggregationItemKindOneOf as cy, type NestedAggregation as cz, type UpdateAddOnGroupApplicationErrors as d, type RateTypeWithLiterals as d$, type QueryBookingFormsRequest as d0, type BookingForm as d1, type FormDetails as d2, type ConnectedService as d3, type CountServicesRequest as d4, type QueryLocationsRequest as d5, type QueryLocationsFilter as d6, type BusinessLocations as d7, type CustomLocations as d8, type CustomerLocations as d9, type HtmlSitePublished as dA, type Page as dB, type SitePropertiesNotification as dC, type SitePropertiesEvent as dD, type Properties as dE, type Categories as dF, type Locale as dG, type Address as dH, type AddressHint as dI, type GeoCoordinates as dJ, type BusinessSchedule as dK, type TimePeriod as dL, type SpecialHourPeriod as dM, type Multilingual as dN, type SupportedLanguage as dO, type ConsentPolicy as dP, type Translation as dQ, type ChangeContext as dR, type ChangeContextPayloadOneOf as dS, type PropertiesChange as dT, type SiteCreated as dU, type SiteCloned as dV, type BaseEventMetadata as dW, type EventMetadata as dX, type ServicesQueryResult as dY, type ServiceSearchSpec as dZ, type ServiceTypeWithLiterals as d_, type QueryCategoriesRequest as da, type QueryCategoriesFilter as db, type QueryServicesMultiLanguageRequest as dc, type QueryServicesMultiLanguageResponse as dd, type SetServiceLocationsRequest as de, type RemovedLocationSessionsAction as df, type RemovedLocationSessionsActionActionOptionsOneOf as dg, type MoveToNewLocationsOptions as dh, type EnablePricingPlansForServiceRequest as di, type InvalidPricingPlan as dj, type DisablePricingPlansForServiceRequest as dk, type SetCustomSlugRequest as dl, type ValidateSlugRequest as dm, type CloneServiceRequest as dn, type CategoryNotification as dp, type Category as dq, type Empty as dr, type BenefitNotification as ds, type Benefit as dt, type EntryPass as du, type Discount as dv, type DiscountDiscountOneOf as dw, type Behavior as dx, type BehaviorBehaviorOneOf as dy, type UserDomainInfoChangedEvent as dz, type ListAddOnGroupsByServiceIdResponse as e, type LocationTypeWithLiterals as e0, type WebhookIdentityTypeWithLiterals as e1, type V2RequestedFieldsWithLiterals as e2, type SortOrderWithLiterals as e3, type SortTypeWithLiterals as e4, type SortDirectionWithLiterals as e5, type MissingValuesWithLiterals as e6, type ScalarTypeWithLiterals as e7, type NestedAggregationTypeWithLiterals as e8, type IntervalWithLiterals as e9, updateService as eA, bulkUpdateServices as eB, bulkUpdateServicesByFilter as eC, deleteService as eD, bulkDeleteServices as eE, bulkDeleteServicesByFilter as eF, queryServices as eG, queryPolicies as eH, queryBookingForms as eI, countServices as eJ, queryLocations as eK, queryCategories as eL, setServiceLocations as eM, enablePricingPlansForService as eN, disablePricingPlansForService as eO, setCustomSlug as eP, validateSlug as eQ, cloneService as eR, type AggregationTypeWithLiterals as ea, type ModeWithLiterals as eb, type RequestedFieldsWithLiterals as ec, type ActionWithLiterals as ed, type InvalidSlugErrorWithLiterals as ee, type CloneErrorsWithLiterals as ef, type StatusWithLiterals as eg, type CategoryNotificationEventWithLiterals as eh, type BenefitTypeWithLiterals as ei, type EventWithLiterals as ej, type CrudTypeWithLiterals as ek, type PlacementTypeWithLiterals as el, type DayOfWeekWithLiterals as em, type ResolutionMethodWithLiterals as en, type CommonSearchWithEntityContext as eo, onServiceCreated as ep, onServiceDeleted as eq, onServiceUpdated as er, createAddOnGroup as es, deleteAddOnGroup as et, updateAddOnGroup as eu, listAddOnGroupsByServiceId as ev, setAddOnsForGroup as ew, createService as ex, bulkCreateServices as ey, getService as ez, type SetAddOnsForGroupResponse as f, type SetAddOnsForGroupApplicationErrors as g, type Service as h, type CreateServiceValidationErrors as i, type BulkCreateServicesResponse as j, type UpdateService as k, type UpdateServiceValidationErrors as l, type BulkUpdateServicesOptions as m, type BulkUpdateServicesResponse as n, type BulkUpdateServicesByFilterOptions as o, type BulkUpdateServicesByFilterResponse as p, type DeleteServiceOptions as q, type BulkDeleteServicesOptions as r, type BulkDeleteServicesResponse as s, type BulkDeleteServicesByFilterOptions as t, type BulkDeleteServicesByFilterResponse as u, type ServicesQueryBuilder as v, type ServiceSearch as w, type SearchServicesResponse as x, type CursorQuery as y, type QueryBookingFormsOptions as z };
|