@wix/auto_sdk_bookings_services 1.0.127 → 1.0.128
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-CxAxq7CY.d.ts → bookings-services-v2-service-services.universal-B6t2dBMg.d.ts} +28 -12
- package/build/cjs/index.d.ts +14 -14
- package/build/cjs/index.js +8 -0
- package/build/cjs/index.js.map +1 -1
- package/build/cjs/index.typings.d.ts +2 -2
- package/build/cjs/index.typings.js +8 -0
- package/build/cjs/index.typings.js.map +1 -1
- package/build/cjs/meta.d.ts +15 -1
- package/build/es/{bookings-services-v2-service-services.universal-CxAxq7CY.d.mts → bookings-services-v2-service-services.universal-B6t2dBMg.d.mts} +28 -12
- package/build/es/index.d.mts +14 -14
- package/build/es/index.mjs +7 -0
- package/build/es/index.mjs.map +1 -1
- package/build/es/index.typings.d.mts +2 -2
- package/build/es/index.typings.mjs +7 -0
- package/build/es/index.typings.mjs.map +1 -1
- package/build/es/meta.d.mts +15 -1
- package/build/internal/cjs/{bookings-services-v2-service-services.universal-CxAxq7CY.d.ts → bookings-services-v2-service-services.universal-B6t2dBMg.d.ts} +28 -12
- package/build/internal/cjs/index.d.ts +14 -14
- package/build/internal/cjs/index.js +8 -0
- package/build/internal/cjs/index.js.map +1 -1
- package/build/internal/cjs/index.typings.d.ts +2 -2
- package/build/internal/cjs/index.typings.js +8 -0
- package/build/internal/cjs/index.typings.js.map +1 -1
- package/build/internal/cjs/meta.d.ts +15 -1
- package/build/internal/es/{bookings-services-v2-service-services.universal-CxAxq7CY.d.mts → bookings-services-v2-service-services.universal-B6t2dBMg.d.mts} +28 -12
- package/build/internal/es/index.d.mts +14 -14
- package/build/internal/es/index.mjs +7 -0
- package/build/internal/es/index.mjs.map +1 -1
- package/build/internal/es/index.typings.d.mts +2 -2
- package/build/internal/es/index.typings.mjs +7 -0
- package/build/internal/es/index.typings.mjs.map +1 -1
- package/build/internal/es/meta.d.mts +15 -1
- package/package.json +2 -2
|
@@ -137,6 +137,8 @@ interface Service {
|
|
|
137
137
|
* @readonly
|
|
138
138
|
*/
|
|
139
139
|
revision?: string | null;
|
|
140
|
+
/** Taxable address used to calculate tax */
|
|
141
|
+
taxableAddress?: TaxableAddress;
|
|
140
142
|
}
|
|
141
143
|
declare enum ServiceType {
|
|
142
144
|
/** Appointment-based service. */
|
|
@@ -1426,6 +1428,18 @@ declare enum WebhookIdentityType {
|
|
|
1426
1428
|
}
|
|
1427
1429
|
/** @enumType */
|
|
1428
1430
|
type WebhookIdentityTypeWithLiterals = WebhookIdentityType | 'UNKNOWN' | 'ANONYMOUS_VISITOR' | 'MEMBER' | 'WIX_USER' | 'APP';
|
|
1431
|
+
/** `TaxableAddress` defines the taxable address used for the service. */
|
|
1432
|
+
interface TaxableAddress {
|
|
1433
|
+
/** Taxable address type. */
|
|
1434
|
+
taxableAddressType?: TaxableAddressTypeWithLiterals;
|
|
1435
|
+
}
|
|
1436
|
+
declare enum TaxableAddressType {
|
|
1437
|
+
UNKNOWN_TAXABLE_ADDRESS_TYPE = "UNKNOWN_TAXABLE_ADDRESS_TYPE",
|
|
1438
|
+
BUSINESS = "BUSINESS",
|
|
1439
|
+
BILLING = "BILLING"
|
|
1440
|
+
}
|
|
1441
|
+
/** @enumType */
|
|
1442
|
+
type TaxableAddressTypeWithLiterals = TaxableAddressType | 'UNKNOWN_TAXABLE_ADDRESS_TYPE' | 'BUSINESS' | 'BILLING';
|
|
1429
1443
|
interface CreateAddOnGroupRequest {
|
|
1430
1444
|
/** AddOnGroup to create. */
|
|
1431
1445
|
addOnGroup: AddOnGroup;
|
|
@@ -3898,7 +3912,7 @@ interface SetAddOnsForGroupOptions {
|
|
|
3898
3912
|
* @returns Created service.
|
|
3899
3913
|
* @fqn wix.bookings.services.v2.ServicesService.CreateService
|
|
3900
3914
|
*/
|
|
3901
|
-
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` | `payment.addOnOption` | `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> & {
|
|
3915
|
+
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` | `payment.addOnOption` | `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` | `taxableAddress.taxableAddressType`, 6> & {
|
|
3902
3916
|
__validationErrorsType?: CreateServiceValidationErrors;
|
|
3903
3917
|
}>;
|
|
3904
3918
|
/**
|
|
@@ -3915,7 +3929,7 @@ declare function createService(service: Service): Promise<NonNullablePaths<Servi
|
|
|
3915
3929
|
* @applicableIdentity APP
|
|
3916
3930
|
* @fqn wix.bookings.services.v2.ServicesService.BulkCreateServices
|
|
3917
3931
|
*/
|
|
3918
|
-
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.payment.addOnOption` | `results.${number}.item.bookingPolicy._id` | `bulkActionMetadata.totalSuccesses` | `bulkActionMetadata.totalFailures` | `bulkActionMetadata.undetailedFailures`, 6>>;
|
|
3932
|
+
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.payment.addOnOption` | `results.${number}.item.bookingPolicy._id` | `results.${number}.item.taxableAddress.taxableAddressType` | `bulkActionMetadata.totalSuccesses` | `bulkActionMetadata.totalFailures` | `bulkActionMetadata.undetailedFailures`, 6>>;
|
|
3919
3933
|
interface BulkCreateServicesOptions {
|
|
3920
3934
|
/** Whether to return the created service objects. */
|
|
3921
3935
|
returnEntity?: boolean;
|
|
@@ -3930,7 +3944,7 @@ interface BulkCreateServicesOptions {
|
|
|
3930
3944
|
* @returns Retrieved service.
|
|
3931
3945
|
* @fqn wix.bookings.services.v2.ServicesService.GetService
|
|
3932
3946
|
*/
|
|
3933
|
-
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` | `payment.addOnOption` | `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>>;
|
|
3947
|
+
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` | `payment.addOnOption` | `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` | `taxableAddress.taxableAddressType`, 6>>;
|
|
3934
3948
|
/**
|
|
3935
3949
|
* Updates a service.
|
|
3936
3950
|
*
|
|
@@ -3962,7 +3976,7 @@ declare function getService(serviceId: string): Promise<NonNullablePaths<Service
|
|
|
3962
3976
|
* @returns Updated service.
|
|
3963
3977
|
* @fqn wix.bookings.services.v2.ServicesService.UpdateService
|
|
3964
3978
|
*/
|
|
3965
|
-
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` | `payment.addOnOption` | `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> & {
|
|
3979
|
+
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` | `payment.addOnOption` | `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` | `taxableAddress.taxableAddressType`, 6> & {
|
|
3966
3980
|
__validationErrorsType?: UpdateServiceValidationErrors;
|
|
3967
3981
|
}>;
|
|
3968
3982
|
interface UpdateService {
|
|
@@ -4101,6 +4115,8 @@ interface UpdateService {
|
|
|
4101
4115
|
* @readonly
|
|
4102
4116
|
*/
|
|
4103
4117
|
revision?: string | null;
|
|
4118
|
+
/** Taxable address used to calculate tax */
|
|
4119
|
+
taxableAddress?: TaxableAddress;
|
|
4104
4120
|
}
|
|
4105
4121
|
/**
|
|
4106
4122
|
* Updates up to 100 services.
|
|
@@ -4120,7 +4136,7 @@ interface UpdateService {
|
|
|
4120
4136
|
* @applicableIdentity APP
|
|
4121
4137
|
* @fqn wix.bookings.services.v2.ServicesService.BulkUpdateServices
|
|
4122
4138
|
*/
|
|
4123
|
-
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.payment.addOnOption` | `results.${number}.item.bookingPolicy._id` | `bulkActionMetadata.totalSuccesses` | `bulkActionMetadata.totalFailures` | `bulkActionMetadata.undetailedFailures`, 6>>;
|
|
4139
|
+
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.payment.addOnOption` | `results.${number}.item.bookingPolicy._id` | `results.${number}.item.taxableAddress.taxableAddressType` | `bulkActionMetadata.totalSuccesses` | `bulkActionMetadata.totalFailures` | `bulkActionMetadata.undetailedFailures`, 6>>;
|
|
4124
4140
|
interface BulkUpdateServicesOptions {
|
|
4125
4141
|
/**
|
|
4126
4142
|
* Services to update.
|
|
@@ -4203,7 +4219,7 @@ interface DeleteServiceOptions {
|
|
|
4203
4219
|
* @applicableIdentity APP
|
|
4204
4220
|
* @fqn wix.bookings.services.v2.ServicesService.BulkDeleteServices
|
|
4205
4221
|
*/
|
|
4206
|
-
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.payment.addOnOption` | `results.${number}.item.bookingPolicy._id` | `bulkActionMetadata.totalSuccesses` | `bulkActionMetadata.totalFailures` | `bulkActionMetadata.undetailedFailures`, 6>>;
|
|
4222
|
+
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.payment.addOnOption` | `results.${number}.item.bookingPolicy._id` | `results.${number}.item.taxableAddress.taxableAddressType` | `bulkActionMetadata.totalSuccesses` | `bulkActionMetadata.totalFailures` | `bulkActionMetadata.undetailedFailures`, 6>>;
|
|
4207
4223
|
interface BulkDeleteServicesOptions {
|
|
4208
4224
|
/**
|
|
4209
4225
|
* Whether to preserve future sessions with participants.
|
|
@@ -4793,7 +4809,7 @@ interface QueryCategoriesOptions {
|
|
|
4793
4809
|
* @applicableIdentity APP
|
|
4794
4810
|
* @fqn wix.bookings.services.v2.ServicesService.SetServiceLocations
|
|
4795
4811
|
*/
|
|
4796
|
-
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.payment.addOnOption` | `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>>;
|
|
4812
|
+
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.payment.addOnOption` | `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` | `service.taxableAddress.taxableAddressType`, 7>>;
|
|
4797
4813
|
interface SetServiceLocationsOptions {
|
|
4798
4814
|
/**
|
|
4799
4815
|
* The action to perform on sessions currently set to a removed location. For
|
|
@@ -4829,7 +4845,7 @@ interface SetServiceLocationsOptions {
|
|
|
4829
4845
|
* @applicableIdentity APP
|
|
4830
4846
|
* @fqn wix.bookings.services.v2.ServicesService.EnablePricingPlansForService
|
|
4831
4847
|
*/
|
|
4832
|
-
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.payment.addOnOption` | `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> & {
|
|
4848
|
+
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.payment.addOnOption` | `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` | `service.taxableAddress.taxableAddressType`, 7> & {
|
|
4833
4849
|
__applicationErrorsType?: EnablePricingPlansForServiceApplicationErrors;
|
|
4834
4850
|
}>;
|
|
4835
4851
|
/**
|
|
@@ -4848,7 +4864,7 @@ declare function enablePricingPlansForService(serviceId: string, pricingPlanIds:
|
|
|
4848
4864
|
* @applicableIdentity APP
|
|
4849
4865
|
* @fqn wix.bookings.services.v2.ServicesService.DisablePricingPlansForService
|
|
4850
4866
|
*/
|
|
4851
|
-
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.payment.addOnOption` | `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> & {
|
|
4867
|
+
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.payment.addOnOption` | `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` | `service.taxableAddress.taxableAddressType`, 7> & {
|
|
4852
4868
|
__applicationErrorsType?: DisablePricingPlansForServiceApplicationErrors;
|
|
4853
4869
|
}>;
|
|
4854
4870
|
interface DisablePricingPlansForServiceOptions {
|
|
@@ -4876,7 +4892,7 @@ interface DisablePricingPlansForServiceOptions {
|
|
|
4876
4892
|
* @applicableIdentity APP
|
|
4877
4893
|
* @fqn wix.bookings.services.v2.ServicesService.SetCustomSlug
|
|
4878
4894
|
*/
|
|
4879
|
-
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.payment.addOnOption` | `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> & {
|
|
4895
|
+
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.payment.addOnOption` | `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` | `service.taxableAddress.taxableAddressType`, 7> & {
|
|
4880
4896
|
__applicationErrorsType?: SetCustomSlugApplicationErrors;
|
|
4881
4897
|
__validationErrorsType?: SetCustomSlugValidationErrors;
|
|
4882
4898
|
}>;
|
|
@@ -4980,6 +4996,6 @@ interface ValidateSlugOptions {
|
|
|
4980
4996
|
* @applicableIdentity APP
|
|
4981
4997
|
* @fqn wix.bookings.services.v2.ServicesService.CloneService
|
|
4982
4998
|
*/
|
|
4983
|
-
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.payment.addOnOption` | `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>>;
|
|
4999
|
+
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.payment.addOnOption` | `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` | `service.taxableAddress.taxableAddressType` | `errors`, 7>>;
|
|
4984
5000
|
|
|
4985
|
-
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 ReschedulePolicy 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, AddOnPaymentOptions as a8, LocationType as a9, type MediaItem as aA, type MediaItemItemOneOf as aB, type V2Category as aC, type Form as aD, type FormSettings as aE, type Payment as aF, type PaymentRateOneOf as aG, type FixedPayment as aH, type Money as aI, type CustomPayment as aJ, type VariedPayment as aK, type PaymentOptions as aL, type OnlineBooking as aM, type Conferencing as aN, type LocationOptionsOneOf as aO, type CommonAddress as aP, type CommonAddressStreetOneOf as aQ, type StreetAddress as aR, type AddressLocation as aS, type BusinessLocationOptions as aT, type CustomLocationOptions as aU, type BookingPolicy as aV, type PolicyDescription as aW, type LimitEarlyBookingPolicy as aX, type LimitLateBookingPolicy as aY, type BookAfterStartPolicy as aZ, type CancellationPolicy as a_, RankingOrder as aa, SortingMethodType as ab, WebhookIdentityType as ac, V2RequestedFields as ad, SortOrder as ae, SortType as af, SortDirection as ag, MissingValues as ah, ScalarType as ai, NestedAggregationType as aj, Interval as ak, AggregationType as al, Mode as am, RequestedFields as an, Action as ao, InvalidSlugError as ap, CloneErrors as aq, Status as ar, CategoryNotificationEvent as as, BenefitType as at, Event as au, CrudType as av, PlacementType as aw, DayOfWeek as ax, ResolutionMethod as ay, type Media as az, type DeleteAddOnGroupApplicationErrors as b, type BulkServiceResult as b$, type WaitlistPolicy as b0, type ParticipantsPolicy as b1, type ResourcesPolicy as b2, type CancellationFeePolicy as b3, type CancellationWindow as b4, type CancellationWindowFeeOneOf as b5, type SaveCreditCardPolicy as b6, type StaffSortingPolicy as b7, type StaffSortingPolicyOptionsOneOf as b8, type RankingOptions as b9, type SetCustomSlugEvent as bA, type ServicesUrlsChanged as bB, type DomainEvent as bC, type DomainEventBodyOneOf as bD, type EntityCreatedEvent as bE, type RestoreInfo as bF, type EntityUpdatedEvent as bG, type EntityDeletedEvent as bH, type ActionEvent as bI, type MessageEnvelope as bJ, type IdentificationData as bK, type IdentificationDataIdOneOf as bL, type CreateAddOnGroupRequest as bM, type DeleteAddOnGroupRequest as bN, type DeleteAddOnGroupResponse as bO, type UpdateAddOnGroupRequest as bP, type ListAddOnGroupsByServiceIdRequest as bQ, type AddOn as bR, type AddOnAddOnInfoOneOf as bS, type AddOnGroupDetail as bT, type SetAddOnsForGroupRequest as bU, type CreateServiceRequest as bV, type CreateServiceResponse as bW, type ValidateServiceRequest as bX, type ValidateServiceResponse as bY, type FieldViolation as bZ, type BulkCreateServicesRequest as b_, type CustomOptions as ba, type Schedule as bb, type AvailabilityConstraints as bc, type Duration as bd, type StaffMember as be, type StaffMediaItem as bf, type StaffMediaItemItemOneOf as bg, type StaffMemberDetails as bh, type ResourceGroup as bi, type ResourceIds as bj, type ServiceResource as bk, type ServiceResourceSelectionOneOf as bl, type ResourceType as bm, type Slug as bn, type URLs as bo, type ExtendedFields as bp, type SeoSchema as bq, type Keyword as br, type Tag as bs, type Settings as bt, type AddOnDetails as bu, type ReindexMessage as bv, type ReindexMessageActionOneOf as bw, type Upsert as bx, type Delete as by, type Schema as bz, type UpdateAddOnGroupResponse as c, type GroupByValueResults as c$, type ItemMetadata as c0, type ApplicationError as c1, type BulkActionMetadata as c2, type GetServiceRequest as c3, type GetServiceResponse as c4, type GetServiceAvailabilityConstraintsRequest as c5, type GetServiceAvailabilityConstraintsResponse as c6, type ServiceAvailabilityConstraints as c7, type SplitInterval as c8, type UpdateServiceRequest as c9, type ValueAggregationOptionsOneOf as cA, type RangeAggregation as cB, type ScalarAggregation as cC, type DateHistogramAggregation as cD, type NestedAggregationItem as cE, type NestedAggregationItemKindOneOf as cF, type NestedAggregation as cG, type GroupByAggregation as cH, type GroupByAggregationKindOneOf as cI, type SearchDetails as cJ, type CursorPagingMetadata as cK, type AggregationData as cL, type ValueAggregationResult as cM, type RangeAggregationResult as cN, type NestedAggregationResults as cO, type NestedAggregationResultsResultOneOf as cP, type ValueResults as cQ, type RangeResults as cR, type AggregationResultsScalarResult as cS, type NestedValueAggregationResult as cT, type ValueResult as cU, type RangeResult as cV, type ScalarResult as cW, type NestedResultValue as cX, type NestedResultValueResultOneOf as cY, type Results as cZ, type DateHistogramResult as c_, type UpdateServiceResponse as ca, type BulkUpdateServicesRequest as cb, type MaskedService as cc, type BulkUpdateServicesByFilterRequest as cd, type DeleteServiceRequest as ce, type ParticipantNotification as cf, type DeleteServiceResponse as cg, type BulkDeleteServicesRequest as ch, type BulkDeleteServicesByFilterRequest as ci, type QueryServicesRequest as cj, type QueryV2 as ck, type QueryV2PagingMethodOneOf as cl, type Sorting as cm, type Paging as cn, type CursorPaging as co, type QueryServicesResponse as cp, type PagingMetadataV2 as cq, type Cursors as cr, type SearchServicesRequest as cs, type CursorSearch as ct, type CursorSearchPagingMethodOneOf as cu, type Aggregation as cv, type AggregationKindOneOf as cw, type RangeBucket as cx, type IncludeMissingValuesOptions as cy, type ValueAggregation as cz, type UpdateAddOnGroupApplicationErrors as d, type SiteCreated as d$, type DateHistogramResults as d0, type NestedResults as d1, type AggregationResults as d2, type AggregationResultsResultOneOf as d3, type QueryPoliciesRequest as d4, type CursorQueryPagingMethodOneOf as d5, type BookingPolicyWithServices as d6, type QueryBookingFormsRequest as d7, type BookingForm as d8, type FormDetails as d9, type Benefit as dA, type EntryPass as dB, type Discount as dC, type DiscountDiscountOneOf as dD, type Behavior as dE, type BehaviorBehaviorOneOf as dF, type UserDomainInfoChangedEvent as dG, type HtmlSitePublished as dH, type Page as dI, type SitePropertiesNotification as dJ, type SitePropertiesEvent as dK, type Properties as dL, type Categories as dM, type Locale as dN, type Address as dO, type AddressHint as dP, type GeoCoordinates as dQ, type BusinessSchedule as dR, type TimePeriod as dS, type SpecialHourPeriod as dT, type Multilingual as dU, type SupportedLanguage as dV, type ConsentPolicy as dW, type Translation as dX, type ChangeContext as dY, type ChangeContextPayloadOneOf as dZ, type PropertiesChange as d_, type ConnectedService as da, type CountServicesRequest as db, type QueryLocationsRequest as dc, type QueryLocationsFilter as dd, type BusinessLocations as de, type CustomLocations as df, type CustomerLocations as dg, type QueryCategoriesRequest as dh, type QueryCategoriesFilter as di, type QueryServicesMultiLanguageRequest as dj, type QueryServicesMultiLanguageResponse as dk, type SetServiceLocationsRequest as dl, type RemovedLocationSessionsAction as dm, type RemovedLocationSessionsActionActionOptionsOneOf as dn, type MoveToNewLocationsOptions as dp, type EnablePricingPlansForServiceRequest as dq, type InvalidPricingPlan as dr, type DisablePricingPlansForServiceRequest as ds, type SetCustomSlugRequest as dt, type ValidateSlugRequest as du, type CloneServiceRequest as dv, type CategoryNotification as dw, type Category as dx, type Empty as dy, type BenefitNotification as dz, type ListAddOnGroupsByServiceIdResponse as e, cloneService as e$, type SiteCloned as e0, type BaseEventMetadata as e1, type EventMetadata as e2, type ServicesQueryResult as e3, type ServiceSearchSpec as e4, type ServiceTypeWithLiterals as e5, type RateTypeWithLiterals as e6, type AddOnPaymentOptionsWithLiterals as e7, type LocationTypeWithLiterals as e8, type RankingOrderWithLiterals as e9, onServiceDeleted as eA, onServiceUpdated as eB, createAddOnGroup as eC, deleteAddOnGroup as eD, updateAddOnGroup as eE, listAddOnGroupsByServiceId as eF, setAddOnsForGroup as eG, createService as eH, bulkCreateServices as eI, getService as eJ, updateService as eK, bulkUpdateServices as eL, bulkUpdateServicesByFilter as eM, deleteService as eN, bulkDeleteServices as eO, bulkDeleteServicesByFilter as eP, queryServices as eQ, queryPolicies as eR, queryBookingForms as eS, countServices as eT, queryLocations as eU, queryCategories as eV, setServiceLocations as eW, enablePricingPlansForService as eX, disablePricingPlansForService as eY, setCustomSlug as eZ, validateSlug as e_, type SortingMethodTypeWithLiterals as ea, type WebhookIdentityTypeWithLiterals as eb, type V2RequestedFieldsWithLiterals as ec, type SortOrderWithLiterals as ed, type SortTypeWithLiterals as ee, type SortDirectionWithLiterals as ef, type MissingValuesWithLiterals as eg, type ScalarTypeWithLiterals as eh, type NestedAggregationTypeWithLiterals as ei, type IntervalWithLiterals as ej, type AggregationTypeWithLiterals as ek, type ModeWithLiterals as el, type RequestedFieldsWithLiterals as em, type ActionWithLiterals as en, type InvalidSlugErrorWithLiterals as eo, type CloneErrorsWithLiterals as ep, type StatusWithLiterals as eq, type CategoryNotificationEventWithLiterals as er, type BenefitTypeWithLiterals as es, type EventWithLiterals as et, type CrudTypeWithLiterals as eu, type PlacementTypeWithLiterals as ev, type DayOfWeekWithLiterals as ew, type ResolutionMethodWithLiterals as ex, type CommonSearchWithEntityContext as ey, onServiceCreated 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 };
|
|
5001
|
+
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 CancellationPolicy 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, AddOnPaymentOptions as a8, LocationType as a9, type Media as aA, type MediaItem as aB, type MediaItemItemOneOf as aC, type V2Category as aD, type Form as aE, type FormSettings as aF, type Payment as aG, type PaymentRateOneOf as aH, type FixedPayment as aI, type Money as aJ, type CustomPayment as aK, type VariedPayment as aL, type PaymentOptions as aM, type OnlineBooking as aN, type Conferencing as aO, type LocationOptionsOneOf as aP, type CommonAddress as aQ, type CommonAddressStreetOneOf as aR, type StreetAddress as aS, type AddressLocation as aT, type BusinessLocationOptions as aU, type CustomLocationOptions as aV, type BookingPolicy as aW, type PolicyDescription as aX, type LimitEarlyBookingPolicy as aY, type LimitLateBookingPolicy as aZ, type BookAfterStartPolicy as a_, RankingOrder as aa, SortingMethodType as ab, WebhookIdentityType as ac, TaxableAddressType as ad, V2RequestedFields as ae, SortOrder as af, SortType as ag, SortDirection as ah, MissingValues as ai, ScalarType as aj, NestedAggregationType as ak, Interval as al, AggregationType as am, Mode as an, RequestedFields as ao, Action as ap, InvalidSlugError as aq, CloneErrors as ar, Status as as, CategoryNotificationEvent as at, BenefitType as au, Event as av, CrudType as aw, PlacementType as ax, DayOfWeek as ay, ResolutionMethod as az, type DeleteAddOnGroupApplicationErrors as b, type FieldViolation as b$, type ReschedulePolicy as b0, type WaitlistPolicy as b1, type ParticipantsPolicy as b2, type ResourcesPolicy as b3, type CancellationFeePolicy as b4, type CancellationWindow as b5, type CancellationWindowFeeOneOf as b6, type SaveCreditCardPolicy as b7, type StaffSortingPolicy as b8, type StaffSortingPolicyOptionsOneOf as b9, type Schema as bA, type SetCustomSlugEvent as bB, type ServicesUrlsChanged as bC, type DomainEvent as bD, type DomainEventBodyOneOf as bE, type EntityCreatedEvent as bF, type RestoreInfo as bG, type EntityUpdatedEvent as bH, type EntityDeletedEvent as bI, type ActionEvent as bJ, type MessageEnvelope as bK, type IdentificationData as bL, type IdentificationDataIdOneOf as bM, type TaxableAddress as bN, type CreateAddOnGroupRequest as bO, type DeleteAddOnGroupRequest as bP, type DeleteAddOnGroupResponse as bQ, type UpdateAddOnGroupRequest as bR, type ListAddOnGroupsByServiceIdRequest as bS, type AddOn as bT, type AddOnAddOnInfoOneOf as bU, type AddOnGroupDetail as bV, type SetAddOnsForGroupRequest as bW, type CreateServiceRequest as bX, type CreateServiceResponse as bY, type ValidateServiceRequest as bZ, type ValidateServiceResponse as b_, type RankingOptions as ba, type CustomOptions as bb, type Schedule as bc, type AvailabilityConstraints as bd, type Duration as be, type StaffMember as bf, type StaffMediaItem as bg, type StaffMediaItemItemOneOf as bh, type StaffMemberDetails as bi, type ResourceGroup as bj, type ResourceIds as bk, type ServiceResource as bl, type ServiceResourceSelectionOneOf as bm, type ResourceType as bn, type Slug as bo, type URLs as bp, type ExtendedFields as bq, type SeoSchema as br, type Keyword as bs, type Tag as bt, type Settings as bu, type AddOnDetails as bv, type ReindexMessage as bw, type ReindexMessageActionOneOf as bx, type Upsert as by, type Delete as bz, type UpdateAddOnGroupResponse as c, type Results as c$, type BulkCreateServicesRequest as c0, type BulkServiceResult as c1, type ItemMetadata as c2, type ApplicationError as c3, type BulkActionMetadata as c4, type GetServiceRequest as c5, type GetServiceResponse as c6, type GetServiceAvailabilityConstraintsRequest as c7, type GetServiceAvailabilityConstraintsResponse as c8, type ServiceAvailabilityConstraints as c9, type IncludeMissingValuesOptions as cA, type ValueAggregation as cB, type ValueAggregationOptionsOneOf as cC, type RangeAggregation as cD, type ScalarAggregation as cE, type DateHistogramAggregation as cF, type NestedAggregationItem as cG, type NestedAggregationItemKindOneOf as cH, type NestedAggregation as cI, type GroupByAggregation as cJ, type GroupByAggregationKindOneOf as cK, type SearchDetails as cL, type CursorPagingMetadata as cM, type AggregationData as cN, type ValueAggregationResult as cO, type RangeAggregationResult as cP, type NestedAggregationResults as cQ, type NestedAggregationResultsResultOneOf as cR, type ValueResults as cS, type RangeResults as cT, type AggregationResultsScalarResult as cU, type NestedValueAggregationResult as cV, type ValueResult as cW, type RangeResult as cX, type ScalarResult as cY, type NestedResultValue as cZ, type NestedResultValueResultOneOf as c_, type SplitInterval as ca, type UpdateServiceRequest as cb, type UpdateServiceResponse as cc, type BulkUpdateServicesRequest as cd, type MaskedService as ce, type BulkUpdateServicesByFilterRequest as cf, type DeleteServiceRequest as cg, type ParticipantNotification as ch, type DeleteServiceResponse as ci, type BulkDeleteServicesRequest as cj, type BulkDeleteServicesByFilterRequest as ck, type QueryServicesRequest as cl, type QueryV2 as cm, type QueryV2PagingMethodOneOf as cn, type Sorting as co, type Paging as cp, type CursorPaging as cq, type QueryServicesResponse as cr, type PagingMetadataV2 as cs, type Cursors as ct, type SearchServicesRequest as cu, type CursorSearch as cv, type CursorSearchPagingMethodOneOf as cw, type Aggregation as cx, type AggregationKindOneOf as cy, type RangeBucket as cz, type UpdateAddOnGroupApplicationErrors as d, type ChangeContextPayloadOneOf as d$, type DateHistogramResult as d0, type GroupByValueResults as d1, type DateHistogramResults as d2, type NestedResults as d3, type AggregationResults as d4, type AggregationResultsResultOneOf as d5, type QueryPoliciesRequest as d6, type CursorQueryPagingMethodOneOf as d7, type BookingPolicyWithServices as d8, type QueryBookingFormsRequest as d9, type Empty as dA, type BenefitNotification as dB, type Benefit as dC, type EntryPass as dD, type Discount as dE, type DiscountDiscountOneOf as dF, type Behavior as dG, type BehaviorBehaviorOneOf as dH, type UserDomainInfoChangedEvent as dI, type HtmlSitePublished as dJ, type Page as dK, type SitePropertiesNotification as dL, type SitePropertiesEvent as dM, type Properties as dN, type Categories as dO, type Locale as dP, type Address as dQ, type AddressHint as dR, type GeoCoordinates as dS, type BusinessSchedule as dT, type TimePeriod as dU, type SpecialHourPeriod as dV, type Multilingual as dW, type SupportedLanguage as dX, type ConsentPolicy as dY, type Translation as dZ, type ChangeContext as d_, type BookingForm as da, type FormDetails as db, type ConnectedService as dc, type CountServicesRequest as dd, type QueryLocationsRequest as de, type QueryLocationsFilter as df, type BusinessLocations as dg, type CustomLocations as dh, type CustomerLocations as di, type QueryCategoriesRequest as dj, type QueryCategoriesFilter as dk, type QueryServicesMultiLanguageRequest as dl, type QueryServicesMultiLanguageResponse as dm, type SetServiceLocationsRequest as dn, type RemovedLocationSessionsAction as dp, type RemovedLocationSessionsActionActionOptionsOneOf as dq, type MoveToNewLocationsOptions as dr, type EnablePricingPlansForServiceRequest as ds, type InvalidPricingPlan as dt, type DisablePricingPlansForServiceRequest as du, type SetCustomSlugRequest as dv, type ValidateSlugRequest as dw, type CloneServiceRequest as dx, type CategoryNotification as dy, type Category as dz, type ListAddOnGroupsByServiceIdResponse as e, disablePricingPlansForService as e$, type PropertiesChange as e0, type SiteCreated as e1, type SiteCloned as e2, type BaseEventMetadata as e3, type EventMetadata as e4, type ServicesQueryResult as e5, type ServiceSearchSpec as e6, type ServiceTypeWithLiterals as e7, type RateTypeWithLiterals as e8, type AddOnPaymentOptionsWithLiterals as e9, type ResolutionMethodWithLiterals as eA, type CommonSearchWithEntityContext as eB, onServiceCreated as eC, onServiceDeleted as eD, onServiceUpdated as eE, createAddOnGroup as eF, deleteAddOnGroup as eG, updateAddOnGroup as eH, listAddOnGroupsByServiceId as eI, setAddOnsForGroup as eJ, createService as eK, bulkCreateServices as eL, getService as eM, updateService as eN, bulkUpdateServices as eO, bulkUpdateServicesByFilter as eP, deleteService as eQ, bulkDeleteServices as eR, bulkDeleteServicesByFilter as eS, queryServices as eT, queryPolicies as eU, queryBookingForms as eV, countServices as eW, queryLocations as eX, queryCategories as eY, setServiceLocations as eZ, enablePricingPlansForService as e_, type LocationTypeWithLiterals as ea, type RankingOrderWithLiterals as eb, type SortingMethodTypeWithLiterals as ec, type WebhookIdentityTypeWithLiterals as ed, type TaxableAddressTypeWithLiterals as ee, type V2RequestedFieldsWithLiterals as ef, type SortOrderWithLiterals as eg, type SortTypeWithLiterals as eh, type SortDirectionWithLiterals as ei, type MissingValuesWithLiterals as ej, type ScalarTypeWithLiterals as ek, type NestedAggregationTypeWithLiterals as el, type IntervalWithLiterals as em, type AggregationTypeWithLiterals as en, type ModeWithLiterals as eo, type RequestedFieldsWithLiterals as ep, type ActionWithLiterals as eq, type InvalidSlugErrorWithLiterals as er, type CloneErrorsWithLiterals as es, type StatusWithLiterals as et, type CategoryNotificationEventWithLiterals as eu, type BenefitTypeWithLiterals as ev, type EventWithLiterals as ew, type CrudTypeWithLiterals as ex, type PlacementTypeWithLiterals as ey, type DayOfWeekWithLiterals as ez, type SetAddOnsForGroupResponse as f, setCustomSlug as f0, validateSlug as f1, cloneService as f2, 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 };
|
package/build/cjs/index.d.ts
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
import { HttpClient, NonNullablePaths, EventDefinition, MaybeContext, BuildRESTFunction, BuildEventDefinition } from '@wix/sdk-types';
|
|
2
|
-
import { A as AddOnGroup, C as CreateAddOnGroupOptions, a as CreateAddOnGroupResponse, D as DeleteAddOnGroupOptions, b as DeleteAddOnGroupApplicationErrors, U as UpdateAddOnGroupOptions, c as UpdateAddOnGroupResponse, d as UpdateAddOnGroupApplicationErrors, L as ListAddOnGroupsByServiceIdOptions, e as ListAddOnGroupsByServiceIdResponse, S as SetAddOnsForGroupOptions, f as SetAddOnsForGroupResponse, g as SetAddOnsForGroupApplicationErrors, h as Service, i as CreateServiceValidationErrors, B as BulkCreateServicesOptions, j as BulkCreateServicesResponse, k as UpdateService, l as UpdateServiceValidationErrors, m as BulkUpdateServicesOptions, n as BulkUpdateServicesResponse, o as BulkUpdateServicesByFilterOptions, p as BulkUpdateServicesByFilterResponse, q as DeleteServiceOptions, r as BulkDeleteServicesOptions, s as BulkDeleteServicesResponse, t as BulkDeleteServicesByFilterOptions, u as BulkDeleteServicesByFilterResponse, v as ServicesQueryBuilder, w as ServiceSearch, x as SearchServicesResponse, y as CursorQuery, Q as QueryPoliciesResponse, z as QueryBookingFormsOptions, E as QueryBookingFormsResponse, F as QueryBookingFormsApplicationErrors, G as CountServicesOptions, H as CountServicesResponse, I as QueryLocationsOptions, J as QueryLocationsResponse, K as QueryCategoriesOptions, M as QueryCategoriesResponse, N as Location, O as SetServiceLocationsOptions, P as SetServiceLocationsResponse, R as EnablePricingPlansForServiceResponse, T as EnablePricingPlansForServiceApplicationErrors, V as DisablePricingPlansForServiceOptions, W as DisablePricingPlansForServiceResponse, X as DisablePricingPlansForServiceApplicationErrors, Y as SetCustomSlugOptions, Z as SetCustomSlugResponse, _ as SetCustomSlugApplicationErrors, $ as SetCustomSlugValidationErrors, a0 as ValidateSlugOptions, a1 as ValidateSlugResponse, a2 as CloneServiceResponse, a3 as ServiceCreatedEnvelope, a4 as ServiceDeletedEnvelope, a5 as ServiceUpdatedEnvelope } from './bookings-services-v2-service-services.universal-
|
|
3
|
-
export {
|
|
2
|
+
import { A as AddOnGroup, C as CreateAddOnGroupOptions, a as CreateAddOnGroupResponse, D as DeleteAddOnGroupOptions, b as DeleteAddOnGroupApplicationErrors, U as UpdateAddOnGroupOptions, c as UpdateAddOnGroupResponse, d as UpdateAddOnGroupApplicationErrors, L as ListAddOnGroupsByServiceIdOptions, e as ListAddOnGroupsByServiceIdResponse, S as SetAddOnsForGroupOptions, f as SetAddOnsForGroupResponse, g as SetAddOnsForGroupApplicationErrors, h as Service, i as CreateServiceValidationErrors, B as BulkCreateServicesOptions, j as BulkCreateServicesResponse, k as UpdateService, l as UpdateServiceValidationErrors, m as BulkUpdateServicesOptions, n as BulkUpdateServicesResponse, o as BulkUpdateServicesByFilterOptions, p as BulkUpdateServicesByFilterResponse, q as DeleteServiceOptions, r as BulkDeleteServicesOptions, s as BulkDeleteServicesResponse, t as BulkDeleteServicesByFilterOptions, u as BulkDeleteServicesByFilterResponse, v as ServicesQueryBuilder, w as ServiceSearch, x as SearchServicesResponse, y as CursorQuery, Q as QueryPoliciesResponse, z as QueryBookingFormsOptions, E as QueryBookingFormsResponse, F as QueryBookingFormsApplicationErrors, G as CountServicesOptions, H as CountServicesResponse, I as QueryLocationsOptions, J as QueryLocationsResponse, K as QueryCategoriesOptions, M as QueryCategoriesResponse, N as Location, O as SetServiceLocationsOptions, P as SetServiceLocationsResponse, R as EnablePricingPlansForServiceResponse, T as EnablePricingPlansForServiceApplicationErrors, V as DisablePricingPlansForServiceOptions, W as DisablePricingPlansForServiceResponse, X as DisablePricingPlansForServiceApplicationErrors, Y as SetCustomSlugOptions, Z as SetCustomSlugResponse, _ as SetCustomSlugApplicationErrors, $ as SetCustomSlugValidationErrors, a0 as ValidateSlugOptions, a1 as ValidateSlugResponse, a2 as CloneServiceResponse, a3 as ServiceCreatedEnvelope, a4 as ServiceDeletedEnvelope, a5 as ServiceUpdatedEnvelope } from './bookings-services-v2-service-services.universal-B6t2dBMg.js';
|
|
3
|
+
export { ap as Action, bJ as ActionEvent, eq as ActionWithLiterals, bT as AddOn, bU as AddOnAddOnInfoOneOf, bv as AddOnDetails, bV as AddOnGroupDetail, a8 as AddOnPaymentOptions, e9 as AddOnPaymentOptionsWithLiterals, dQ as Address, dR as AddressHint, aT as AddressLocation, cx as Aggregation, cN as AggregationData, cy as AggregationKindOneOf, d4 as AggregationResults, d5 as AggregationResultsResultOneOf, cU as AggregationResultsScalarResult, am as AggregationType, en as AggregationTypeWithLiterals, c3 as ApplicationError, bd as AvailabilityConstraints, e3 as BaseEventMetadata, dG as Behavior, dH as BehaviorBehaviorOneOf, dC as Benefit, dB as BenefitNotification, au as BenefitType, ev as BenefitTypeWithLiterals, a_ as BookAfterStartPolicy, da as BookingForm, aW as BookingPolicy, d8 as BookingPolicyWithServices, c4 as BulkActionMetadata, c0 as BulkCreateServicesRequest, ck as BulkDeleteServicesByFilterRequest, cj as BulkDeleteServicesRequest, c1 as BulkServiceResult, cf as BulkUpdateServicesByFilterRequest, cd as BulkUpdateServicesRequest, aU as BusinessLocationOptions, dg as BusinessLocations, dT as BusinessSchedule, b4 as CancellationFeePolicy, a$ as CancellationPolicy, b5 as CancellationWindow, b6 as CancellationWindowFeeOneOf, dO as Categories, dz as Category, dy as CategoryNotification, at as CategoryNotificationEvent, eu as CategoryNotificationEventWithLiterals, d_ as ChangeContext, d$ as ChangeContextPayloadOneOf, ar as CloneErrors, es as CloneErrorsWithLiterals, dx as CloneServiceRequest, aQ as CommonAddress, aR as CommonAddressStreetOneOf, eB as CommonSearchWithEntityContext, aO as Conferencing, dc as ConnectedService, dY as ConsentPolicy, dd as CountServicesRequest, bO as CreateAddOnGroupRequest, bX as CreateServiceRequest, bY as CreateServiceResponse, aw as CrudType, ex as CrudTypeWithLiterals, cq as CursorPaging, cM as CursorPagingMetadata, d7 as CursorQueryPagingMethodOneOf, cv as CursorSearch, cw as CursorSearchPagingMethodOneOf, ct as Cursors, aV as CustomLocationOptions, dh as CustomLocations, bb as CustomOptions, aK as CustomPayment, di as CustomerLocations, cF as DateHistogramAggregation, d0 as DateHistogramResult, d2 as DateHistogramResults, ay as DayOfWeek, ez as DayOfWeekWithLiterals, bz as Delete, bP as DeleteAddOnGroupRequest, bQ as DeleteAddOnGroupResponse, cg as DeleteServiceRequest, ci as DeleteServiceResponse, du as DisablePricingPlansForServiceRequest, dE as Discount, dF as DiscountDiscountOneOf, bD as DomainEvent, bE as DomainEventBodyOneOf, be as Duration, dA as Empty, ds as EnablePricingPlansForServiceRequest, bF as EntityCreatedEvent, bI as EntityDeletedEvent, bH as EntityUpdatedEvent, dD as EntryPass, av as Event, e4 as EventMetadata, ew as EventWithLiterals, bq as ExtendedFields, b$ as FieldViolation, aI as FixedPayment, aE as Form, db as FormDetails, aF as FormSettings, dS as GeoCoordinates, c7 as GetServiceAvailabilityConstraintsRequest, c8 as GetServiceAvailabilityConstraintsResponse, c5 as GetServiceRequest, c6 as GetServiceResponse, cJ as GroupByAggregation, cK as GroupByAggregationKindOneOf, d1 as GroupByValueResults, dJ as HtmlSitePublished, bL as IdentificationData, bM as IdentificationDataIdOneOf, cA as IncludeMissingValuesOptions, al as Interval, em as IntervalWithLiterals, dt as InvalidPricingPlan, aq as InvalidSlugError, er as InvalidSlugErrorWithLiterals, c2 as ItemMetadata, bs as Keyword, aY as LimitEarlyBookingPolicy, aZ as LimitLateBookingPolicy, bS as ListAddOnGroupsByServiceIdRequest, dP as Locale, aP as LocationOptionsOneOf, a9 as LocationType, ea as LocationTypeWithLiterals, ce as MaskedService, aA as Media, aB as MediaItem, aC as MediaItemItemOneOf, bK as MessageEnvelope, ai as MissingValues, ej as MissingValuesWithLiterals, an as Mode, eo as ModeWithLiterals, aJ as Money, dr as MoveToNewLocationsOptions, dW as Multilingual, cI as NestedAggregation, cG as NestedAggregationItem, cH as NestedAggregationItemKindOneOf, cQ as NestedAggregationResults, cR as NestedAggregationResultsResultOneOf, ak as NestedAggregationType, el as NestedAggregationTypeWithLiterals, cZ as NestedResultValue, c_ as NestedResultValueResultOneOf, d3 as NestedResults, cV as NestedValueAggregationResult, aN as OnlineBooking, dK as Page, cp as Paging, cs as PagingMetadataV2, ch as ParticipantNotification, b2 as ParticipantsPolicy, aG as Payment, aM as PaymentOptions, aH as PaymentRateOneOf, ax as PlacementType, ey as PlacementTypeWithLiterals, aX as PolicyDescription, dN as Properties, e0 as PropertiesChange, d9 as QueryBookingFormsRequest, dk as QueryCategoriesFilter, dj as QueryCategoriesRequest, df as QueryLocationsFilter, de as QueryLocationsRequest, d6 as QueryPoliciesRequest, dl as QueryServicesMultiLanguageRequest, dm as QueryServicesMultiLanguageResponse, cl as QueryServicesRequest, cr as QueryServicesResponse, cm as QueryV2, cn as QueryV2PagingMethodOneOf, cD as RangeAggregation, cP as RangeAggregationResult, cz as RangeBucket, cX as RangeResult, cT as RangeResults, ba as RankingOptions, aa as RankingOrder, eb as RankingOrderWithLiterals, a7 as RateType, e8 as RateTypeWithLiterals, bw as ReindexMessage, bx as ReindexMessageActionOneOf, dp as RemovedLocationSessionsAction, dq as RemovedLocationSessionsActionActionOptionsOneOf, ao as RequestedFields, ep as RequestedFieldsWithLiterals, b0 as ReschedulePolicy, az as ResolutionMethod, eA as ResolutionMethodWithLiterals, bj as ResourceGroup, bk as ResourceIds, bn as ResourceType, b3 as ResourcesPolicy, bG as RestoreInfo, c$ as Results, b7 as SaveCreditCardPolicy, cE as ScalarAggregation, cY as ScalarResult, aj as ScalarType, ek as ScalarTypeWithLiterals, bc as Schedule, bA as Schema, cL as SearchDetails, cu as SearchServicesRequest, br as SeoSchema, c9 as ServiceAvailabilityConstraints, bl as ServiceResource, bm as ServiceResourceSelectionOneOf, e6 as ServiceSearchSpec, a6 as ServiceType, e7 as ServiceTypeWithLiterals, e5 as ServicesQueryResult, bC as ServicesUrlsChanged, bW as SetAddOnsForGroupRequest, bB as SetCustomSlugEvent, dv as SetCustomSlugRequest, dn as SetServiceLocationsRequest, bu as Settings, e2 as SiteCloned, e1 as SiteCreated, dM as SitePropertiesEvent, dL as SitePropertiesNotification, bo as Slug, ah as SortDirection, ei as SortDirectionWithLiterals, af as SortOrder, eg as SortOrderWithLiterals, ag as SortType, eh as SortTypeWithLiterals, co as Sorting, ab as SortingMethodType, ec as SortingMethodTypeWithLiterals, dV as SpecialHourPeriod, ca as SplitInterval, bg as StaffMediaItem, bh as StaffMediaItemItemOneOf, bf as StaffMember, bi as StaffMemberDetails, b8 as StaffSortingPolicy, b9 as StaffSortingPolicyOptionsOneOf, as as Status, et as StatusWithLiterals, aS as StreetAddress, dX as SupportedLanguage, bt as Tag, bN as TaxableAddress, ad as TaxableAddressType, ee as TaxableAddressTypeWithLiterals, dU as TimePeriod, dZ as Translation, bp as URLs, bR as UpdateAddOnGroupRequest, cb as UpdateServiceRequest, cc as UpdateServiceResponse, by as Upsert, dI as UserDomainInfoChangedEvent, aD as V2Category, ae as V2RequestedFields, ef as V2RequestedFieldsWithLiterals, bZ as ValidateServiceRequest, b_ as ValidateServiceResponse, dw as ValidateSlugRequest, cB as ValueAggregation, cC as ValueAggregationOptionsOneOf, cO as ValueAggregationResult, cW as ValueResult, cS as ValueResults, aL as VariedPayment, b1 as WaitlistPolicy, ac as WebhookIdentityType, ed as WebhookIdentityTypeWithLiterals } from './bookings-services-v2-service-services.universal-B6t2dBMg.js';
|
|
4
4
|
|
|
5
5
|
declare function createAddOnGroup$1(httpClient: HttpClient): CreateAddOnGroupSignature;
|
|
6
6
|
interface CreateAddOnGroupSignature {
|
|
@@ -104,7 +104,7 @@ interface CreateServiceSignature {
|
|
|
104
104
|
* @param - Service to create.
|
|
105
105
|
* @returns Created service.
|
|
106
106
|
*/
|
|
107
|
-
(service: Service): Promise<NonNullablePaths<Service, `type` | `media.items` | `category._id` | `form._id` | `payment.fixed.price.value` | `payment.fixed.price.currency` | `payment.rateType` | `payment.pricingPlanIds` | `payment.addOnOption` | `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> & {
|
|
107
|
+
(service: Service): Promise<NonNullablePaths<Service, `type` | `media.items` | `category._id` | `form._id` | `payment.fixed.price.value` | `payment.fixed.price.currency` | `payment.rateType` | `payment.pricingPlanIds` | `payment.addOnOption` | `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` | `taxableAddress.taxableAddressType`, 6> & {
|
|
108
108
|
__validationErrorsType?: CreateServiceValidationErrors;
|
|
109
109
|
}>;
|
|
110
110
|
}
|
|
@@ -119,7 +119,7 @@ interface BulkCreateServicesSignature {
|
|
|
119
119
|
* for more details.
|
|
120
120
|
* @param - Services to create.
|
|
121
121
|
*/
|
|
122
|
-
(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.payment.addOnOption` | `results.${number}.item.bookingPolicy._id` | `bulkActionMetadata.totalSuccesses` | `bulkActionMetadata.totalFailures` | `bulkActionMetadata.undetailedFailures`, 6>>;
|
|
122
|
+
(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.payment.addOnOption` | `results.${number}.item.bookingPolicy._id` | `results.${number}.item.taxableAddress.taxableAddressType` | `bulkActionMetadata.totalSuccesses` | `bulkActionMetadata.totalFailures` | `bulkActionMetadata.undetailedFailures`, 6>>;
|
|
123
123
|
}
|
|
124
124
|
declare function getService$1(httpClient: HttpClient): GetServiceSignature;
|
|
125
125
|
interface GetServiceSignature {
|
|
@@ -128,7 +128,7 @@ interface GetServiceSignature {
|
|
|
128
128
|
* @param - ID of the service to retrieve.
|
|
129
129
|
* @returns Retrieved service.
|
|
130
130
|
*/
|
|
131
|
-
(serviceId: string): Promise<NonNullablePaths<Service, `type` | `media.items` | `category._id` | `form._id` | `payment.fixed.price.value` | `payment.fixed.price.currency` | `payment.rateType` | `payment.pricingPlanIds` | `payment.addOnOption` | `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>>;
|
|
131
|
+
(serviceId: string): Promise<NonNullablePaths<Service, `type` | `media.items` | `category._id` | `form._id` | `payment.fixed.price.value` | `payment.fixed.price.currency` | `payment.rateType` | `payment.pricingPlanIds` | `payment.addOnOption` | `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` | `taxableAddress.taxableAddressType`, 6>>;
|
|
132
132
|
}
|
|
133
133
|
declare function updateService$1(httpClient: HttpClient): UpdateServiceSignature;
|
|
134
134
|
interface UpdateServiceSignature {
|
|
@@ -156,7 +156,7 @@ interface UpdateServiceSignature {
|
|
|
156
156
|
* @param - Service ID.
|
|
157
157
|
* @returns Updated service.
|
|
158
158
|
*/
|
|
159
|
-
(_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` | `payment.addOnOption` | `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> & {
|
|
159
|
+
(_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` | `payment.addOnOption` | `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` | `taxableAddress.taxableAddressType`, 6> & {
|
|
160
160
|
__validationErrorsType?: UpdateServiceValidationErrors;
|
|
161
161
|
}>;
|
|
162
162
|
}
|
|
@@ -173,7 +173,7 @@ interface BulkUpdateServicesSignature {
|
|
|
173
173
|
* The call succeeds even if one or more individual services can't be updated.
|
|
174
174
|
* Information about failures is returned in `bulkActionMetadata`.
|
|
175
175
|
*/
|
|
176
|
-
(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.payment.addOnOption` | `results.${number}.item.bookingPolicy._id` | `bulkActionMetadata.totalSuccesses` | `bulkActionMetadata.totalFailures` | `bulkActionMetadata.undetailedFailures`, 6>>;
|
|
176
|
+
(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.payment.addOnOption` | `results.${number}.item.bookingPolicy._id` | `results.${number}.item.taxableAddress.taxableAddressType` | `bulkActionMetadata.totalSuccesses` | `bulkActionMetadata.totalFailures` | `bulkActionMetadata.undetailedFailures`, 6>>;
|
|
177
177
|
}
|
|
178
178
|
declare function bulkUpdateServicesByFilter$1(httpClient: HttpClient): BulkUpdateServicesByFilterSignature;
|
|
179
179
|
interface BulkUpdateServicesByFilterSignature {
|
|
@@ -222,7 +222,7 @@ interface BulkDeleteServicesSignature {
|
|
|
222
222
|
* Information about failures is returned in `bulkActionMetadata`.
|
|
223
223
|
* @param - IDs of the services to delete.
|
|
224
224
|
*/
|
|
225
|
-
(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.payment.addOnOption` | `results.${number}.item.bookingPolicy._id` | `bulkActionMetadata.totalSuccesses` | `bulkActionMetadata.totalFailures` | `bulkActionMetadata.undetailedFailures`, 6>>;
|
|
225
|
+
(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.payment.addOnOption` | `results.${number}.item.bookingPolicy._id` | `results.${number}.item.taxableAddress.taxableAddressType` | `bulkActionMetadata.totalSuccesses` | `bulkActionMetadata.totalFailures` | `bulkActionMetadata.undetailedFailures`, 6>>;
|
|
226
226
|
}
|
|
227
227
|
declare function bulkDeleteServicesByFilter$1(httpClient: HttpClient): BulkDeleteServicesByFilterSignature;
|
|
228
228
|
interface BulkDeleteServicesByFilterSignature {
|
|
@@ -302,7 +302,7 @@ interface SearchServicesSignature {
|
|
|
302
302
|
*
|
|
303
303
|
* Refer to the supported filters article ([SDK](https://dev.wix.com/docs/sdk/backend-modules/bookings/services/supported-filters) | [REST](https://dev.wix.com/docs/rest/business-solutions/bookings/services/services-v2/filtering-and-sorting)) for complete filter and sorting options.
|
|
304
304
|
*/
|
|
305
|
-
(search: ServiceSearch): Promise<NonNullablePaths<SearchServicesResponse, `services` | `services.${number}.type` | `services.${number}.category._id` | `services.${number}.form._id` | `services.${number}.payment.rateType` | `services.${number}.payment.addOnOption` | `services.${number}.bookingPolicy._id` | `services.${number}.bookingPolicy.customPolicyDescription.enabled` | `services.${number}.bookingPolicy.customPolicyDescription.description` | `services.${number}.bookingPolicy.limitEarlyBookingPolicy.enabled` | `services.${number}.bookingPolicy.limitEarlyBookingPolicy.earliestBookingInMinutes` | `services.${number}.bookingPolicy.limitLateBookingPolicy.enabled` | `services.${number}.bookingPolicy.limitLateBookingPolicy.latestBookingInMinutes` | `services.${number}.bookingPolicy.bookAfterStartPolicy.enabled` | `services.${number}.bookingPolicy.cancellationPolicy.enabled` | `services.${number}.bookingPolicy.cancellationPolicy.limitLatestCancellation` | `services.${number}.bookingPolicy.cancellationPolicy.latestCancellationInMinutes` | `services.${number}.bookingPolicy.reschedulePolicy.enabled` | `services.${number}.bookingPolicy.reschedulePolicy.limitLatestReschedule` | `services.${number}.bookingPolicy.reschedulePolicy.latestRescheduleInMinutes` | `services.${number}.bookingPolicy.waitlistPolicy.enabled` | `services.${number}.bookingPolicy.waitlistPolicy.capacity` | `services.${number}.bookingPolicy.waitlistPolicy.reservationTimeInMinutes` | `services.${number}.bookingPolicy.participantsPolicy.maxParticipantsPerBooking` | `services.${number}.bookingPolicy.resourcesPolicy.enabled` | `services.${number}.bookingPolicy.resourcesPolicy.autoAssignAllowed` | `services.${number}.bookingPolicy.cancellationFeePolicy.enabled` | `services.${number}.bookingPolicy.saveCreditCardPolicy.enabled` | `services.${number}.schedule.availabilityConstraints.timeBetweenSessions` | `services.${number}.seoData.settings.preventAutoRedirect` | `aggregationData.results` | `aggregationData.results.${number}.scalar.type` | `aggregationData.results.${number}.scalar.value` | `aggregationData.results.${number}.name` | `aggregationData.results.${number}.type` | `aggregationData.results.${number}.fieldPath`, 6>>;
|
|
305
|
+
(search: ServiceSearch): Promise<NonNullablePaths<SearchServicesResponse, `services` | `services.${number}.type` | `services.${number}.category._id` | `services.${number}.form._id` | `services.${number}.payment.rateType` | `services.${number}.payment.addOnOption` | `services.${number}.bookingPolicy._id` | `services.${number}.bookingPolicy.customPolicyDescription.enabled` | `services.${number}.bookingPolicy.customPolicyDescription.description` | `services.${number}.bookingPolicy.limitEarlyBookingPolicy.enabled` | `services.${number}.bookingPolicy.limitEarlyBookingPolicy.earliestBookingInMinutes` | `services.${number}.bookingPolicy.limitLateBookingPolicy.enabled` | `services.${number}.bookingPolicy.limitLateBookingPolicy.latestBookingInMinutes` | `services.${number}.bookingPolicy.bookAfterStartPolicy.enabled` | `services.${number}.bookingPolicy.cancellationPolicy.enabled` | `services.${number}.bookingPolicy.cancellationPolicy.limitLatestCancellation` | `services.${number}.bookingPolicy.cancellationPolicy.latestCancellationInMinutes` | `services.${number}.bookingPolicy.reschedulePolicy.enabled` | `services.${number}.bookingPolicy.reschedulePolicy.limitLatestReschedule` | `services.${number}.bookingPolicy.reschedulePolicy.latestRescheduleInMinutes` | `services.${number}.bookingPolicy.waitlistPolicy.enabled` | `services.${number}.bookingPolicy.waitlistPolicy.capacity` | `services.${number}.bookingPolicy.waitlistPolicy.reservationTimeInMinutes` | `services.${number}.bookingPolicy.participantsPolicy.maxParticipantsPerBooking` | `services.${number}.bookingPolicy.resourcesPolicy.enabled` | `services.${number}.bookingPolicy.resourcesPolicy.autoAssignAllowed` | `services.${number}.bookingPolicy.cancellationFeePolicy.enabled` | `services.${number}.bookingPolicy.saveCreditCardPolicy.enabled` | `services.${number}.schedule.availabilityConstraints.timeBetweenSessions` | `services.${number}.seoData.settings.preventAutoRedirect` | `services.${number}.taxableAddress.taxableAddressType` | `aggregationData.results` | `aggregationData.results.${number}.scalar.type` | `aggregationData.results.${number}.scalar.value` | `aggregationData.results.${number}.name` | `aggregationData.results.${number}.type` | `aggregationData.results.${number}.fieldPath`, 6>>;
|
|
306
306
|
}
|
|
307
307
|
declare function queryPolicies$1(httpClient: HttpClient): QueryPoliciesSignature;
|
|
308
308
|
interface QueryPoliciesSignature {
|
|
@@ -526,7 +526,7 @@ interface SetServiceLocationsSignature {
|
|
|
526
526
|
* @param - ID of the service.
|
|
527
527
|
* @param - List of locations replacing existing service locations. Omitting an existing location removes it from the service. Specify `removedLocationSessionsAction` to determine the handling of future sessions scheduled at that location.
|
|
528
528
|
*/
|
|
529
|
-
(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.payment.addOnOption` | `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>>;
|
|
529
|
+
(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.payment.addOnOption` | `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` | `service.taxableAddress.taxableAddressType`, 7>>;
|
|
530
530
|
}
|
|
531
531
|
declare function enablePricingPlansForService$1(httpClient: HttpClient): EnablePricingPlansForServiceSignature;
|
|
532
532
|
interface EnablePricingPlansForServiceSignature {
|
|
@@ -546,7 +546,7 @@ interface EnablePricingPlansForServiceSignature {
|
|
|
546
546
|
* ([SDK](https://dev.wix.com/docs/sdk/backend-modules/pricing-plans/plans/introduction) | [REST](https://dev.wix.com/api/rest/wix-pricing-plans/pricing-plans/plans/plan-object))
|
|
547
547
|
* to add to the service's `payment.pricingPlanIds` array.
|
|
548
548
|
*/
|
|
549
|
-
(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.payment.addOnOption` | `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> & {
|
|
549
|
+
(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.payment.addOnOption` | `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` | `service.taxableAddress.taxableAddressType`, 7> & {
|
|
550
550
|
__applicationErrorsType?: EnablePricingPlansForServiceApplicationErrors;
|
|
551
551
|
}>;
|
|
552
552
|
}
|
|
@@ -563,7 +563,7 @@ interface DisablePricingPlansForServiceSignature {
|
|
|
563
563
|
* able to book the service, as they will have no payment options available.
|
|
564
564
|
* @param - ID of the service to update.
|
|
565
565
|
*/
|
|
566
|
-
(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.payment.addOnOption` | `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> & {
|
|
566
|
+
(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.payment.addOnOption` | `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` | `service.taxableAddress.taxableAddressType`, 7> & {
|
|
567
567
|
__applicationErrorsType?: DisablePricingPlansForServiceApplicationErrors;
|
|
568
568
|
}>;
|
|
569
569
|
}
|
|
@@ -579,7 +579,7 @@ interface SetCustomSlugSignature {
|
|
|
579
579
|
* - Another service has used the slug in the past.
|
|
580
580
|
* @param - ID of the service for which to update the active slug.
|
|
581
581
|
*/
|
|
582
|
-
(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.payment.addOnOption` | `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> & {
|
|
582
|
+
(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.payment.addOnOption` | `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` | `service.taxableAddress.taxableAddressType`, 7> & {
|
|
583
583
|
__applicationErrorsType?: SetCustomSlugApplicationErrors;
|
|
584
584
|
__validationErrorsType?: SetCustomSlugValidationErrors;
|
|
585
585
|
}>;
|
|
@@ -665,7 +665,7 @@ interface CloneServiceSignature {
|
|
|
665
665
|
* after cloning the service, customers will be unable to book the service.
|
|
666
666
|
* @param - ID of the service to clone.
|
|
667
667
|
*/
|
|
668
|
-
(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.payment.addOnOption` | `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>>;
|
|
668
|
+
(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.payment.addOnOption` | `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` | `service.taxableAddress.taxableAddressType` | `errors`, 7>>;
|
|
669
669
|
}
|
|
670
670
|
declare const onServiceCreated$1: EventDefinition<ServiceCreatedEnvelope, "wix.bookings.services.v2.service_created">;
|
|
671
671
|
declare const onServiceDeleted$1: EventDefinition<ServiceDeletedEnvelope, "wix.bookings.services.v2.service_deleted">;
|
package/build/cjs/index.js
CHANGED
|
@@ -47,6 +47,7 @@ __export(index_exports, {
|
|
|
47
47
|
SortType: () => SortType,
|
|
48
48
|
SortingMethodType: () => SortingMethodType,
|
|
49
49
|
Status: () => Status,
|
|
50
|
+
TaxableAddressType: () => TaxableAddressType,
|
|
50
51
|
V2RequestedFields: () => V2RequestedFields,
|
|
51
52
|
WebhookIdentityType: () => WebhookIdentityType,
|
|
52
53
|
bulkCreateServices: () => bulkCreateServices4,
|
|
@@ -1772,6 +1773,12 @@ var WebhookIdentityType = /* @__PURE__ */ ((WebhookIdentityType2) => {
|
|
|
1772
1773
|
WebhookIdentityType2["APP"] = "APP";
|
|
1773
1774
|
return WebhookIdentityType2;
|
|
1774
1775
|
})(WebhookIdentityType || {});
|
|
1776
|
+
var TaxableAddressType = /* @__PURE__ */ ((TaxableAddressType2) => {
|
|
1777
|
+
TaxableAddressType2["UNKNOWN_TAXABLE_ADDRESS_TYPE"] = "UNKNOWN_TAXABLE_ADDRESS_TYPE";
|
|
1778
|
+
TaxableAddressType2["BUSINESS"] = "BUSINESS";
|
|
1779
|
+
TaxableAddressType2["BILLING"] = "BILLING";
|
|
1780
|
+
return TaxableAddressType2;
|
|
1781
|
+
})(TaxableAddressType || {});
|
|
1775
1782
|
var V2RequestedFields = /* @__PURE__ */ ((V2RequestedFields2) => {
|
|
1776
1783
|
V2RequestedFields2["UNKNOWN_REQUESTED_FIELD"] = "UNKNOWN_REQUESTED_FIELD";
|
|
1777
1784
|
V2RequestedFields2["STAFF_MEMBER_DETAILS"] = "STAFF_MEMBER_DETAILS";
|
|
@@ -3708,6 +3715,7 @@ var onServiceUpdated2 = (0, import_event_definition_modules.createEventModule)(o
|
|
|
3708
3715
|
SortType,
|
|
3709
3716
|
SortingMethodType,
|
|
3710
3717
|
Status,
|
|
3718
|
+
TaxableAddressType,
|
|
3711
3719
|
V2RequestedFields,
|
|
3712
3720
|
WebhookIdentityType,
|
|
3713
3721
|
bulkCreateServices,
|