@wix/auto_sdk_bookings_services 1.0.232 → 1.0.234
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-ChxNzFxH.d.ts → bookings-services-v2-service-services.universal-CKfqET6d.d.ts} +35 -17
- package/build/cjs/index.d.ts +11 -11
- package/build/cjs/index.js +11 -13
- package/build/cjs/index.js.map +1 -1
- package/build/cjs/index.typings.d.ts +2 -2
- package/build/cjs/index.typings.js +9 -12
- package/build/cjs/index.typings.js.map +1 -1
- package/build/cjs/meta.d.ts +14 -10
- package/build/cjs/meta.js +0 -7
- package/build/cjs/meta.js.map +1 -1
- package/build/cjs/schemas.d.ts +223 -0
- package/build/cjs/schemas.js +514 -2
- package/build/cjs/schemas.js.map +1 -1
- package/build/es/{bookings-services-v2-service-services.universal-ChxNzFxH.d.mts → bookings-services-v2-service-services.universal-CKfqET6d.d.mts} +35 -17
- package/build/es/index.d.mts +11 -11
- package/build/es/index.mjs +11 -12
- package/build/es/index.mjs.map +1 -1
- package/build/es/index.typings.d.mts +2 -2
- package/build/es/index.typings.mjs +9 -11
- package/build/es/index.typings.mjs.map +1 -1
- package/build/es/meta.d.mts +14 -10
- package/build/es/meta.mjs +0 -6
- package/build/es/meta.mjs.map +1 -1
- package/build/es/schemas.d.mts +223 -0
- package/build/es/schemas.mjs +514 -2
- package/build/es/schemas.mjs.map +1 -1
- package/build/internal/cjs/{bookings-services-v2-service-services.universal-BwC5_Csn.d.ts → bookings-services-v2-service-services.universal-BttseWU4.d.ts} +35 -27
- package/build/internal/cjs/index.d.ts +11 -11
- package/build/internal/cjs/index.js +11 -13
- 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 +9 -12
- package/build/internal/cjs/index.typings.js.map +1 -1
- package/build/internal/cjs/meta.d.ts +14 -10
- package/build/internal/cjs/meta.js +0 -7
- package/build/internal/cjs/meta.js.map +1 -1
- package/build/internal/cjs/schemas.d.ts +223 -0
- package/build/internal/cjs/schemas.js +514 -2
- package/build/internal/cjs/schemas.js.map +1 -1
- package/build/internal/es/{bookings-services-v2-service-services.universal-BwC5_Csn.d.mts → bookings-services-v2-service-services.universal-BttseWU4.d.mts} +35 -27
- package/build/internal/es/index.d.mts +11 -11
- package/build/internal/es/index.mjs +11 -12
- 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 +9 -11
- package/build/internal/es/index.typings.mjs.map +1 -1
- package/build/internal/es/meta.d.mts +14 -10
- package/build/internal/es/meta.mjs +0 -6
- package/build/internal/es/meta.mjs.map +1 -1
- package/build/internal/es/schemas.d.mts +223 -0
- package/build/internal/es/schemas.mjs +514 -2
- package/build/internal/es/schemas.mjs.map +1 -1
- package/package.json +2 -2
|
@@ -114,6 +114,8 @@ interface Service {
|
|
|
114
114
|
* @format GUID
|
|
115
115
|
*/
|
|
116
116
|
staffMemberIds?: string[];
|
|
117
|
+
/** Staff members details. Returned only if `STAFF_MEMBER_DETAILS` conditional field was specified. */
|
|
118
|
+
staffMemberDetails?: StaffMemberDetails;
|
|
117
119
|
/**
|
|
118
120
|
* Information about which resources must be available so customers can book the service.
|
|
119
121
|
* For example, a meeting room or equipment.
|
|
@@ -1262,14 +1264,6 @@ interface DailyConfig {
|
|
|
1262
1264
|
*/
|
|
1263
1265
|
maxDurationInDays?: number;
|
|
1264
1266
|
}
|
|
1265
|
-
declare enum LocationsSource {
|
|
1266
|
-
/** Locations come from the service's `locations` field. Default behavior. */
|
|
1267
|
-
SERVICE_BASED = "SERVICE_BASED",
|
|
1268
|
-
/** Locations are resolved from the assigned resources' location options. */
|
|
1269
|
-
RESOURCE_BASED = "RESOURCE_BASED"
|
|
1270
|
-
}
|
|
1271
|
-
/** @enumType */
|
|
1272
|
-
type LocationsSourceWithLiterals = LocationsSource | 'SERVICE_BASED' | 'RESOURCE_BASED';
|
|
1273
1267
|
interface StaffMember {
|
|
1274
1268
|
/**
|
|
1275
1269
|
* ID of the [resource](https://dev.wix.com/docs/api-reference/business-solutions/bookings/resources/resources-v2/introduction) associated with the staff member providing the service.
|
|
@@ -2709,6 +2703,11 @@ interface GetServiceRequest {
|
|
|
2709
2703
|
* @format GUID
|
|
2710
2704
|
*/
|
|
2711
2705
|
serviceId: string;
|
|
2706
|
+
/**
|
|
2707
|
+
* Conditional fields to return.
|
|
2708
|
+
* @maxSize 5
|
|
2709
|
+
*/
|
|
2710
|
+
conditionalFields?: V2RequestedFieldsWithLiterals[];
|
|
2712
2711
|
}
|
|
2713
2712
|
declare enum V2RequestedFields {
|
|
2714
2713
|
/** When passed, `service.staffMemberDetails` is returned. */
|
|
@@ -2921,6 +2920,11 @@ interface BulkDeleteServicesByFilterResponse {
|
|
|
2921
2920
|
interface QueryServicesRequest {
|
|
2922
2921
|
/** WQL expression. */
|
|
2923
2922
|
query: QueryV2;
|
|
2923
|
+
/**
|
|
2924
|
+
* Conditional fields to return.
|
|
2925
|
+
* @maxSize 5
|
|
2926
|
+
*/
|
|
2927
|
+
conditionalFields?: V2RequestedFieldsWithLiterals[];
|
|
2924
2928
|
}
|
|
2925
2929
|
interface QueryV2 extends QueryV2PagingMethodOneOf {
|
|
2926
2930
|
/** Paging options to limit and skip the number of items. */
|
|
@@ -5089,7 +5093,7 @@ declare function onServiceUpdated(handler: (event: ServiceUpdatedEnvelope) => vo
|
|
|
5089
5093
|
* @returns Created service.
|
|
5090
5094
|
* @fqn wix.bookings.services.v2.ServicesService.CreateService
|
|
5091
5095
|
*/
|
|
5092
|
-
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` | `payment.discountInfo.discountName` | `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` | `addOnGroups` | `addOnDetails` | `taxableAddress.taxableAddressType`, 6> & {
|
|
5096
|
+
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` | `payment.discountInfo.discountName` | `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` | `staffMemberDetails.staffMembers` | `staffMemberDetails.staffMembers.${number}.staffMemberId` | `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` | `addOnGroups` | `addOnDetails` | `taxableAddress.taxableAddressType`, 6> & {
|
|
5093
5097
|
__validationErrorsType?: CreateServiceValidationErrors;
|
|
5094
5098
|
}>;
|
|
5095
5099
|
/**
|
|
@@ -5119,7 +5123,14 @@ interface BulkCreateServicesOptions {
|
|
|
5119
5123
|
* @returns Retrieved service.
|
|
5120
5124
|
* @fqn wix.bookings.services.v2.ServicesService.GetService
|
|
5121
5125
|
*/
|
|
5122
|
-
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` | `payment.discountInfo.discountName` | `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` | `addOnGroups` | `addOnDetails` | `taxableAddress.taxableAddressType`, 6>>;
|
|
5126
|
+
declare function getService(serviceId: string, options?: GetServiceOptions): Promise<NonNullablePaths<Service, `type` | `media.items` | `category._id` | `form._id` | `payment.fixed.price.value` | `payment.fixed.price.currency` | `payment.rateType` | `payment.pricingPlanIds` | `payment.addOnOption` | `payment.discountInfo.discountName` | `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` | `staffMemberDetails.staffMembers` | `staffMemberDetails.staffMembers.${number}.staffMemberId` | `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` | `addOnGroups` | `addOnDetails` | `taxableAddress.taxableAddressType`, 6>>;
|
|
5127
|
+
interface GetServiceOptions {
|
|
5128
|
+
/**
|
|
5129
|
+
* Conditional fields to return.
|
|
5130
|
+
* @maxSize 5
|
|
5131
|
+
*/
|
|
5132
|
+
conditionalFields?: V2RequestedFieldsWithLiterals[];
|
|
5133
|
+
}
|
|
5123
5134
|
/**
|
|
5124
5135
|
* Updates a service.
|
|
5125
5136
|
*
|
|
@@ -5155,7 +5166,7 @@ declare function getService(serviceId: string): Promise<NonNullablePaths<Service
|
|
|
5155
5166
|
* @returns Updated service.
|
|
5156
5167
|
* @fqn wix.bookings.services.v2.ServicesService.UpdateService
|
|
5157
5168
|
*/
|
|
5158
|
-
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` | `payment.discountInfo.discountName` | `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` | `addOnGroups` | `addOnDetails` | `taxableAddress.taxableAddressType`, 6> & {
|
|
5169
|
+
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` | `payment.discountInfo.discountName` | `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` | `staffMemberDetails.staffMembers` | `staffMemberDetails.staffMembers.${number}.staffMemberId` | `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` | `addOnGroups` | `addOnDetails` | `taxableAddress.taxableAddressType`, 6> & {
|
|
5159
5170
|
__validationErrorsType?: UpdateServiceValidationErrors;
|
|
5160
5171
|
}>;
|
|
5161
5172
|
interface UpdateService {
|
|
@@ -5270,6 +5281,8 @@ interface UpdateService {
|
|
|
5270
5281
|
* @format GUID
|
|
5271
5282
|
*/
|
|
5272
5283
|
staffMemberIds?: string[];
|
|
5284
|
+
/** Staff members details. Returned only if `STAFF_MEMBER_DETAILS` conditional field was specified. */
|
|
5285
|
+
staffMemberDetails?: StaffMemberDetails;
|
|
5273
5286
|
/**
|
|
5274
5287
|
* Information about which resources must be available so customers can book the service.
|
|
5275
5288
|
* For example, a meeting room or equipment.
|
|
@@ -5495,6 +5508,11 @@ interface BulkDeleteServicesByFilterOptions {
|
|
|
5495
5508
|
*/
|
|
5496
5509
|
declare function queryServices(options?: QueryServicesOptions): ServicesQueryBuilder;
|
|
5497
5510
|
interface QueryServicesOptions {
|
|
5511
|
+
/**
|
|
5512
|
+
* Conditional fields to return.
|
|
5513
|
+
* @maxSize 5
|
|
5514
|
+
*/
|
|
5515
|
+
conditionalFields?: V2RequestedFieldsWithLiterals[] | undefined;
|
|
5498
5516
|
}
|
|
5499
5517
|
interface QueryOffsetResult {
|
|
5500
5518
|
currentPage: number | undefined;
|
|
@@ -6086,7 +6104,7 @@ interface QueryCategoriesOptions {
|
|
|
6086
6104
|
* @applicableIdentity APP
|
|
6087
6105
|
* @fqn wix.bookings.services.v2.ServicesService.SetServiceLocations
|
|
6088
6106
|
*/
|
|
6089
|
-
declare function setServiceLocations(serviceId: string, 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.payment.discountInfo.discountName` | `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.addOnGroups` | `service.addOnDetails` | `service.taxableAddress.taxableAddressType`, 7>>;
|
|
6107
|
+
declare function setServiceLocations(serviceId: string, 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.payment.discountInfo.discountName` | `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.staffMemberDetails.staffMembers` | `service.staffMemberDetails.staffMembers.${number}.staffMemberId` | `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.addOnGroups` | `service.addOnDetails` | `service.taxableAddress.taxableAddressType`, 7>>;
|
|
6090
6108
|
interface SetServiceLocationsOptions {
|
|
6091
6109
|
/**
|
|
6092
6110
|
* 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.
|
|
@@ -6123,7 +6141,7 @@ interface SetServiceLocationsOptions {
|
|
|
6123
6141
|
* @applicableIdentity APP
|
|
6124
6142
|
* @fqn wix.bookings.services.v2.ServicesService.EnablePricingPlansForService
|
|
6125
6143
|
*/
|
|
6126
|
-
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.payment.discountInfo.discountName` | `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.addOnGroups` | `service.addOnDetails` | `service.taxableAddress.taxableAddressType`, 7> & {
|
|
6144
|
+
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.payment.discountInfo.discountName` | `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.staffMemberDetails.staffMembers` | `service.staffMemberDetails.staffMembers.${number}.staffMemberId` | `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.addOnGroups` | `service.addOnDetails` | `service.taxableAddress.taxableAddressType`, 7> & {
|
|
6127
6145
|
__applicationErrorsType?: EnablePricingPlansForServiceApplicationErrors;
|
|
6128
6146
|
}>;
|
|
6129
6147
|
/**
|
|
@@ -6140,7 +6158,7 @@ declare function enablePricingPlansForService(serviceId: string, pricingPlanIds:
|
|
|
6140
6158
|
* @applicableIdentity APP
|
|
6141
6159
|
* @fqn wix.bookings.services.v2.ServicesService.DisablePricingPlansForService
|
|
6142
6160
|
*/
|
|
6143
|
-
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.payment.discountInfo.discountName` | `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.addOnGroups` | `service.addOnDetails` | `service.taxableAddress.taxableAddressType`, 7> & {
|
|
6161
|
+
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.payment.discountInfo.discountName` | `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.staffMemberDetails.staffMembers` | `service.staffMemberDetails.staffMembers.${number}.staffMemberId` | `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.addOnGroups` | `service.addOnDetails` | `service.taxableAddress.taxableAddressType`, 7> & {
|
|
6144
6162
|
__applicationErrorsType?: DisablePricingPlansForServiceApplicationErrors;
|
|
6145
6163
|
}>;
|
|
6146
6164
|
interface DisablePricingPlansForServiceOptions {
|
|
@@ -6168,7 +6186,7 @@ interface DisablePricingPlansForServiceOptions {
|
|
|
6168
6186
|
* @applicableIdentity APP
|
|
6169
6187
|
* @fqn wix.bookings.services.v2.ServicesService.SetCustomSlug
|
|
6170
6188
|
*/
|
|
6171
|
-
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.payment.discountInfo.discountName` | `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.addOnGroups` | `service.addOnDetails` | `service.taxableAddress.taxableAddressType`, 7> & {
|
|
6189
|
+
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.payment.discountInfo.discountName` | `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.staffMemberDetails.staffMembers` | `service.staffMemberDetails.staffMembers.${number}.staffMemberId` | `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.addOnGroups` | `service.addOnDetails` | `service.taxableAddress.taxableAddressType`, 7> & {
|
|
6172
6190
|
__applicationErrorsType?: SetCustomSlugApplicationErrors;
|
|
6173
6191
|
__validationErrorsType?: SetCustomSlugValidationErrors;
|
|
6174
6192
|
}>;
|
|
@@ -6262,7 +6280,7 @@ interface ValidateSlugOptions {
|
|
|
6262
6280
|
* @applicableIdentity APP
|
|
6263
6281
|
* @fqn wix.bookings.services.v2.ServicesService.CloneService
|
|
6264
6282
|
*/
|
|
6265
|
-
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.payment.discountInfo.discountName` | `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.addOnGroups` | `service.addOnDetails` | `service.taxableAddress.taxableAddressType` | `errors`, 7>>;
|
|
6283
|
+
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.payment.discountInfo.discountName` | `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.staffMemberDetails.staffMembers` | `service.staffMemberDetails.staffMembers.${number}.staffMemberId` | `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.addOnGroups` | `service.addOnDetails` | `service.taxableAddress.taxableAddressType` | `errors`, 7>>;
|
|
6266
6284
|
/**
|
|
6267
6285
|
* Creates a new add-on group for a service and updates the service's `addOnGroups` array.
|
|
6268
6286
|
* @param addOnGroup - Add-on group to create.
|
|
@@ -6404,4 +6422,4 @@ interface SetAddOnsForGroupOptions {
|
|
|
6404
6422
|
addOnIds: string[] | null;
|
|
6405
6423
|
}
|
|
6406
6424
|
|
|
6407
|
-
export { type SetAddOnsForGroupOptions as $, type DisablePricingPlansForServiceResponse as A, type BulkCreateServicesOptions as B, type CreateServiceValidationErrors as C, type DeleteServiceOptions as D, type EnablePricingPlansForServiceResponse as E, type DisablePricingPlansForServiceApplicationErrors as F, type SetCustomSlugOptions as G, type SetCustomSlugResponse as H, type SetCustomSlugApplicationErrors as I, type SetCustomSlugValidationErrors as J, type ValidateSlugResponse as K, type CloneServiceResponse as L, type AddOnGroup as M, type CreateAddOnGroupOptions as N, type CreateAddOnGroupResponse as O, type CreateAddOnGroupApplicationErrors as P, type QueryPoliciesResponse as Q, type DeleteAddOnGroupOptions as R, type Service as S, type DeleteAddOnGroupApplicationErrors as T, type UpdateService as U, type ValidateSlugOptions as V, type UpdateAddOnGroupOptions as W, type UpdateAddOnGroupResponse as X, type UpdateAddOnGroupApplicationErrors as Y, type ListAddOnGroupsByServiceIdOptions as Z, type ListAddOnGroupsByServiceIdResponse as _, type BulkCreateServicesResponse as a, type PaymentRateOneOf as a$, type SetAddOnsForGroupResponse as a0, type SetAddOnsForGroupApplicationErrors as a1, type ServiceCreatedEnvelope as a2, type ServiceDeletedEnvelope as a3, type ServiceUpdatedEnvelope as a4, type ServiceQuery as a5, type QueryServicesOptions as a6, typedQueryServices as a7, type ServicesQueryBuilder as a8, ServiceType as a9, SortType as aA, SortDirection as aB, MissingValues as aC, ScalarType as aD, NestedAggregationType as aE, Interval as aF, AggregationType as aG, Mode as aH, RequestedFields as aI, Action as aJ, InvalidSlugError as aK, CloneErrors as aL, Status as aM, CategoryNotificationEvent as aN, BenefitType as aO, Event as aP, CrudType as aQ, PlacementType as aR, DayOfWeek as aS, ResolutionMethod as aT, type Media as aU, type MediaItem as aV, type MediaItemItemOneOf as aW, type V2Category as aX, type Form as aY, type FormSettings as aZ, type Payment as a_, RateType as aa, FrequencyType as ab, FirstChargeDateType as ac, AddOnPaymentOptions as ad, LocationTypeEnumLocationType as ae, RankingOrder as af, SortingMethodType as ag, Timing as ah, CompletionRequirement as ai, UnitType as aj, LocationsSource as ak, TaxableAddressType as al, MultiServiceBookingType as am, ResourceTransparency as an, LocationType as ao, SelectionMethod as ap, ValueType as aq, BookingStatus as ar, PaymentStatus as as, SelectedPaymentOption as at, Platform as au, Actor as av, IdentityType as aw, WebhookIdentityType as ax, V2RequestedFields as ay, SortOrder as az, type UpdateServiceValidationErrors as b, type SetCustomSlugEvent as b$, type FixedPayment as b0, type Money as b1, type CustomPayment as b2, type VariedPayment as b3, type SubscriptionPayment as b4, type FullUpfrontPayment as b5, type PaymentOptions as b6, type DiscountInfo as b7, type OnlineBooking as b8, type Conferencing as b9, type IntakeFormPolicy as bA, type Schedule as bB, type AvailabilityConstraints as bC, type V2Duration as bD, type DurationRange as bE, type DurationRangeConfigOneOf as bF, type HourlyConfig as bG, type DailyConfig as bH, type StaffMember as bI, type StaffMediaItem as bJ, type StaffMediaItemItemOneOf as bK, type StaffMemberDetails as bL, type ResourceGroup as bM, type ResourceIds as bN, type ServiceResource as bO, type ServiceResourceSelectionOneOf as bP, type ResourceType as bQ, type Slug as bR, type URLs as bS, type ExtendedFields as bT, type SeoSchema as bU, type Keyword as bV, type Tag as bW, type Settings as bX, type AddOnDetails as bY, type TaxableAddress as bZ, type V2PhoneCall as b_, type V2Location as ba, type V2LocationOptionsOneOf as bb, type CommonAddress as bc, type CommonAddressStreetOneOf as bd, type CommonStreetAddress as be, type CommonAddressLocation as bf, type BusinessLocationOptions as bg, type CustomLocationOptions as bh, type BookingPolicy as bi, type PolicyDescription as bj, type LimitEarlyBookingPolicy as bk, type LimitLateBookingPolicy as bl, type BookAfterStartPolicy as bm, type CancellationPolicy as bn, type ReschedulePolicy as bo, type WaitlistPolicy as bp, type ParticipantsPolicy as bq, type ResourcesPolicy as br, type CancellationFeePolicy as bs, type CancellationWindow as bt, type CancellationWindowFeeOneOf as bu, type SaveCreditCardPolicy as bv, type StaffSortingPolicy as bw, type StaffSortingPolicyOptionsOneOf as bx, type RankingOptions as by, type CustomOptions as bz, type BulkUpdateServicesOptions as c, type BulkUpdateServicesByFilterRequest as c$, type ServicesUrlsChanged as c0, type DummyRequest as c1, type DummyResponse as c2, type Booking as c3, type BookingParticipantsInfoOneOf as c4, type BookedEntity as c5, type BookedEntityItemOneOf as c6, type BookedSlot as c7, type BookedResource as c8, type Location as c9, type EntityUpdatedEvent as cA, type EntityDeletedEvent as cB, type ActionEvent as cC, type MessageEnvelope as cD, type IdentificationData as cE, type IdentificationDataIdOneOf as cF, type AccountInfo as cG, type CreateServiceRequest as cH, type CreateServiceResponse as cI, type ValidateServiceRequest as cJ, type ValidateServiceResponse as cK, type FieldViolation as cL, type BulkCreateServicesRequest as cM, type BulkServiceResult as cN, type ItemMetadata as cO, type ApplicationError as cP, type BulkActionMetadata as cQ, type GetServiceRequest as cR, type GetServiceResponse as cS, type GetServiceAvailabilityConstraintsRequest as cT, type GetServiceAvailabilityConstraintsResponse as cU, type ServiceAvailabilityConstraints as cV, type SplitInterval as cW, type UpdateServiceRequest as cX, type UpdateServiceResponse as cY, type BulkUpdateServicesRequest as cZ, type MaskedService as c_, type PhoneCall as ca, type ResourceSelection as cb, type BookedSchedule as cc, type ContactDetails as cd, type Address as ce, type AddressStreetOneOf as cf, type StreetAddress as cg, type AddressLocation as ch, type Subdivision as ci, type CustomFormField as cj, type BookingSource as ck, type ParticipantNotification as cl, type CommonIdentificationData as cm, type CommonIdentificationDataIdOneOf as cn, type FlowControlSettings as co, type ParticipantChoices as cp, type ServiceChoices as cq, type ServiceChoice as cr, type ServiceChoiceChoiceOneOf as cs, type Duration as ct, type MultiServiceBookingInfo as cu, type BookedAddOn as cv, type DomainEvent as cw, type DomainEventBodyOneOf as cx, type EntityCreatedEvent as cy, type RestoreInfo as cz, type BulkUpdateServicesResponse as d, type ConnectedService as d$, type DeleteServiceRequest as d0, type V2ParticipantNotification as d1, type DeleteServiceResponse as d2, type BulkDeleteServicesRequest as d3, type BulkDeleteServicesByFilterRequest as d4, type QueryServicesRequest as d5, type QueryV2 as d6, type QueryV2PagingMethodOneOf as d7, type Sorting as d8, type Paging as d9, type RangeAggregationResult as dA, type NestedAggregationResults as dB, type NestedAggregationResultsResultOneOf as dC, type ValueResults as dD, type RangeResults as dE, type AggregationResultsScalarResult as dF, type NestedValueAggregationResult as dG, type ValueResult as dH, type RangeResult as dI, type ScalarResult as dJ, type ScalarDateResult as dK, type NestedResultValue as dL, type NestedResultValueResultOneOf as dM, type Results as dN, type DateHistogramResult as dO, type GroupByValueResults as dP, type DateHistogramResults as dQ, type NestedResults as dR, type AggregationResultsScalarDateResult as dS, type AggregationResults as dT, type AggregationResultsResultOneOf as dU, type QueryPoliciesRequest as dV, type CursorQueryPagingMethodOneOf as dW, type BookingPolicyWithServices as dX, type QueryBookingFormsRequest as dY, type BookingForm as dZ, type FormDetails as d_, type CursorPaging as da, type QueryServicesResponse as db, type PagingMetadataV2 as dc, type Cursors as dd, type SearchServicesRequest as de, type CursorSearch as df, type CursorSearchPagingMethodOneOf as dg, type Aggregation as dh, type AggregationKindOneOf as di, type RangeBucket as dj, type IncludeMissingValuesOptions as dk, type ValueAggregation as dl, type ValueAggregationOptionsOneOf as dm, type RangeAggregation as dn, type ScalarAggregation as dp, type DateHistogramAggregation as dq, type NestedAggregationItem as dr, type NestedAggregationItemKindOneOf as ds, type NestedAggregation as dt, type GroupByAggregation as du, type GroupByAggregationKindOneOf as dv, type SearchDetails as dw, type CursorPagingMetadata as dx, type AggregationData as dy, type ValueAggregationResult as dz, type BulkUpdateServicesByFilterOptions as e, type BaseEventMetadata as e$, type CountServicesRequest as e0, type QueryLocationsRequest as e1, type QueryLocationsFilter as e2, type BusinessLocations as e3, type CustomLocations as e4, type CustomerLocations as e5, type QueryCategoriesRequest as e6, type QueryCategoriesFilter as e7, type QueryServicesMultiLanguageRequest as e8, type QueryServicesMultiLanguageResponse as e9, type Properties as eA, type Categories as eB, type Locale as eC, type V4Address as eD, type AddressHint as eE, type GeoCoordinates as eF, type BusinessSchedule as eG, type TimePeriod as eH, type SpecialHourPeriod as eI, type Multilingual as eJ, type SupportedLanguage as eK, type ConsentPolicy as eL, type Translation as eM, type ChangeContext as eN, type ChangeContextPayloadOneOf as eO, type PropertiesChange as eP, type SiteCreated as eQ, type SiteCloned as eR, type CreateAddOnGroupRequest as eS, type DeleteAddOnGroupRequest as eT, type DeleteAddOnGroupResponse as eU, type UpdateAddOnGroupRequest as eV, type ListAddOnGroupsByServiceIdRequest as eW, type AddOn as eX, type AddOnAddOnInfoOneOf as eY, type AddOnGroupDetail as eZ, type SetAddOnsForGroupRequest as e_, type SetServiceLocationsRequest as ea, type RemovedLocationSessionsAction as eb, type RemovedLocationSessionsActionActionOptionsOneOf as ec, type MoveToNewLocationsOptions as ed, type EnablePricingPlansForServiceRequest as ee, type PricingPlanSelection as ef, type InvalidPricingPlan as eg, type DisablePricingPlansForServiceRequest as eh, type SetCustomSlugRequest as ei, type ValidateSlugRequest as ej, type CloneServiceRequest as ek, type CategoryNotification as el, type Category as em, type Empty as en, type BenefitNotification as eo, type Benefit as ep, type EntryPass as eq, type Discount as er, type DiscountDiscountOneOf as es, type Behavior as et, type BehaviorBehaviorOneOf as eu, type UserDomainInfoChangedEvent as ev, type HtmlSitePublished as ew, type Page as ex, type SitePropertiesNotification as ey, type SitePropertiesEvent as ez, type BulkUpdateServicesByFilterResponse as f, bulkUpdateServicesByFilter as f$, type EventMetadata as f0, type AccountInfoMetadata as f1, type ServicesQueryResult as f2, type ServiceQuerySpec as f3, type ServiceSearchSpec as f4, utils as f5, type ServiceTypeWithLiterals as f6, type RateTypeWithLiterals as f7, type FrequencyTypeWithLiterals as f8, type FirstChargeDateTypeWithLiterals as f9, type ScalarTypeWithLiterals as fA, type NestedAggregationTypeWithLiterals as fB, type IntervalWithLiterals as fC, type AggregationTypeWithLiterals as fD, type ModeWithLiterals as fE, type RequestedFieldsWithLiterals as fF, type ActionWithLiterals as fG, type InvalidSlugErrorWithLiterals as fH, type CloneErrorsWithLiterals as fI, type StatusWithLiterals as fJ, type CategoryNotificationEventWithLiterals as fK, type BenefitTypeWithLiterals as fL, type EventWithLiterals as fM, type CrudTypeWithLiterals as fN, type PlacementTypeWithLiterals as fO, type DayOfWeekWithLiterals as fP, type ResolutionMethodWithLiterals as fQ, type CommonQueryWithEntityContext as fR, type CommonSearchWithEntityContext as fS, onServiceCreated as fT, onServiceDeleted as fU, onServiceUpdated as fV, createService as fW, bulkCreateServices as fX, getService as fY, updateService as fZ, bulkUpdateServices as f_, type AddOnPaymentOptionsWithLiterals as fa, type LocationTypeEnumLocationTypeWithLiterals as fb, type RankingOrderWithLiterals as fc, type SortingMethodTypeWithLiterals as fd, type TimingWithLiterals as fe, type CompletionRequirementWithLiterals as ff, type UnitTypeWithLiterals as fg, type LocationsSourceWithLiterals as fh, type TaxableAddressTypeWithLiterals as fi, type MultiServiceBookingTypeWithLiterals as fj, type ResourceTransparencyWithLiterals as fk, type LocationTypeWithLiterals as fl, type SelectionMethodWithLiterals as fm, type ValueTypeWithLiterals as fn, type BookingStatusWithLiterals as fo, type PaymentStatusWithLiterals as fp, type SelectedPaymentOptionWithLiterals as fq, type PlatformWithLiterals as fr, type ActorWithLiterals as fs, type IdentityTypeWithLiterals as ft, type WebhookIdentityTypeWithLiterals as fu, type V2RequestedFieldsWithLiterals as fv, type SortOrderWithLiterals as fw, type SortTypeWithLiterals as fx, type SortDirectionWithLiterals as fy, type MissingValuesWithLiterals as fz, type BulkDeleteServicesOptions as g, deleteService as g0, bulkDeleteServices as g1, bulkDeleteServicesByFilter as g2, queryServices as g3, queryPolicies as g4, queryBookingForms as g5, countServices as g6, queryLocations as g7, queryCategories as g8, setServiceLocations as g9, enablePricingPlansForService as ga, disablePricingPlansForService as gb, setCustomSlug as gc, validateSlug as gd, cloneService as ge, createAddOnGroup as gf, deleteAddOnGroup as gg, updateAddOnGroup as gh, listAddOnGroupsByServiceId as gi, setAddOnsForGroup as gj, type BulkDeleteServicesResponse as h, type BulkDeleteServicesByFilterOptions as i, type BulkDeleteServicesByFilterResponse as j, type ServiceSearch as k, type SearchServicesResponse as l, type CursorQuery as m, type QueryBookingFormsOptions as n, type QueryBookingFormsResponse as o, type QueryBookingFormsApplicationErrors as p, type CountServicesOptions as q, type CountServicesResponse as r, type QueryLocationsOptions as s, type QueryLocationsResponse as t, type QueryCategoriesOptions as u, type QueryCategoriesResponse as v, type SetServiceLocationsOptions as w, type SetServiceLocationsResponse as x, type EnablePricingPlansForServiceApplicationErrors as y, type DisablePricingPlansForServiceOptions as z };
|
|
6425
|
+
export { type ListAddOnGroupsByServiceIdResponse as $, type DisablePricingPlansForServiceResponse as A, type BulkCreateServicesOptions as B, type CreateServiceValidationErrors as C, type DeleteServiceOptions as D, type EnablePricingPlansForServiceResponse as E, type DisablePricingPlansForServiceApplicationErrors as F, type GetServiceOptions as G, type SetCustomSlugOptions as H, type SetCustomSlugResponse as I, type SetCustomSlugApplicationErrors as J, type SetCustomSlugValidationErrors as K, type ValidateSlugResponse as L, type CloneServiceResponse as M, type AddOnGroup as N, type CreateAddOnGroupOptions as O, type CreateAddOnGroupResponse as P, type QueryPoliciesResponse as Q, type CreateAddOnGroupApplicationErrors as R, type Service as S, type DeleteAddOnGroupOptions as T, type UpdateService as U, type ValidateSlugOptions as V, type DeleteAddOnGroupApplicationErrors as W, type UpdateAddOnGroupOptions as X, type UpdateAddOnGroupResponse as Y, type UpdateAddOnGroupApplicationErrors as Z, type ListAddOnGroupsByServiceIdOptions as _, type BulkCreateServicesResponse as a, type PaymentRateOneOf as a$, type SetAddOnsForGroupOptions as a0, type SetAddOnsForGroupResponse as a1, type SetAddOnsForGroupApplicationErrors as a2, type ServiceCreatedEnvelope as a3, type ServiceDeletedEnvelope as a4, type ServiceUpdatedEnvelope as a5, type ServiceQuery as a6, type QueryServicesOptions as a7, typedQueryServices as a8, type ServicesQueryBuilder as a9, SortType as aA, SortDirection as aB, MissingValues as aC, ScalarType as aD, NestedAggregationType as aE, Interval as aF, AggregationType as aG, Mode as aH, RequestedFields as aI, Action as aJ, InvalidSlugError as aK, CloneErrors as aL, Status as aM, CategoryNotificationEvent as aN, BenefitType as aO, Event as aP, CrudType as aQ, PlacementType as aR, DayOfWeek as aS, ResolutionMethod as aT, type Media as aU, type MediaItem as aV, type MediaItemItemOneOf as aW, type V2Category as aX, type Form as aY, type FormSettings as aZ, type Payment as a_, ServiceType as aa, RateType as ab, FrequencyType as ac, FirstChargeDateType as ad, AddOnPaymentOptions as ae, LocationTypeEnumLocationType as af, RankingOrder as ag, SortingMethodType as ah, Timing as ai, CompletionRequirement as aj, UnitType as ak, TaxableAddressType as al, MultiServiceBookingType as am, ResourceTransparency as an, LocationType as ao, SelectionMethod as ap, ValueType as aq, BookingStatus as ar, PaymentStatus as as, SelectedPaymentOption as at, Platform as au, Actor as av, IdentityType as aw, WebhookIdentityType as ax, V2RequestedFields as ay, SortOrder as az, type UpdateServiceValidationErrors as b, type SetCustomSlugEvent as b$, type FixedPayment as b0, type Money as b1, type CustomPayment as b2, type VariedPayment as b3, type SubscriptionPayment as b4, type FullUpfrontPayment as b5, type PaymentOptions as b6, type DiscountInfo as b7, type OnlineBooking as b8, type Conferencing as b9, type IntakeFormPolicy as bA, type Schedule as bB, type AvailabilityConstraints as bC, type V2Duration as bD, type DurationRange as bE, type DurationRangeConfigOneOf as bF, type HourlyConfig as bG, type DailyConfig as bH, type StaffMember as bI, type StaffMediaItem as bJ, type StaffMediaItemItemOneOf as bK, type StaffMemberDetails as bL, type ResourceGroup as bM, type ResourceIds as bN, type ServiceResource as bO, type ServiceResourceSelectionOneOf as bP, type ResourceType as bQ, type Slug as bR, type URLs as bS, type ExtendedFields as bT, type SeoSchema as bU, type Keyword as bV, type Tag as bW, type Settings as bX, type AddOnDetails as bY, type TaxableAddress as bZ, type V2PhoneCall as b_, type V2Location as ba, type V2LocationOptionsOneOf as bb, type CommonAddress as bc, type CommonAddressStreetOneOf as bd, type CommonStreetAddress as be, type CommonAddressLocation as bf, type BusinessLocationOptions as bg, type CustomLocationOptions as bh, type BookingPolicy as bi, type PolicyDescription as bj, type LimitEarlyBookingPolicy as bk, type LimitLateBookingPolicy as bl, type BookAfterStartPolicy as bm, type CancellationPolicy as bn, type ReschedulePolicy as bo, type WaitlistPolicy as bp, type ParticipantsPolicy as bq, type ResourcesPolicy as br, type CancellationFeePolicy as bs, type CancellationWindow as bt, type CancellationWindowFeeOneOf as bu, type SaveCreditCardPolicy as bv, type StaffSortingPolicy as bw, type StaffSortingPolicyOptionsOneOf as bx, type RankingOptions as by, type CustomOptions as bz, type BulkUpdateServicesOptions as c, type BulkUpdateServicesByFilterRequest as c$, type ServicesUrlsChanged as c0, type DummyRequest as c1, type DummyResponse as c2, type Booking as c3, type BookingParticipantsInfoOneOf as c4, type BookedEntity as c5, type BookedEntityItemOneOf as c6, type BookedSlot as c7, type BookedResource as c8, type Location as c9, type EntityUpdatedEvent as cA, type EntityDeletedEvent as cB, type ActionEvent as cC, type MessageEnvelope as cD, type IdentificationData as cE, type IdentificationDataIdOneOf as cF, type AccountInfo as cG, type CreateServiceRequest as cH, type CreateServiceResponse as cI, type ValidateServiceRequest as cJ, type ValidateServiceResponse as cK, type FieldViolation as cL, type BulkCreateServicesRequest as cM, type BulkServiceResult as cN, type ItemMetadata as cO, type ApplicationError as cP, type BulkActionMetadata as cQ, type GetServiceRequest as cR, type GetServiceResponse as cS, type GetServiceAvailabilityConstraintsRequest as cT, type GetServiceAvailabilityConstraintsResponse as cU, type ServiceAvailabilityConstraints as cV, type SplitInterval as cW, type UpdateServiceRequest as cX, type UpdateServiceResponse as cY, type BulkUpdateServicesRequest as cZ, type MaskedService as c_, type PhoneCall as ca, type ResourceSelection as cb, type BookedSchedule as cc, type ContactDetails as cd, type Address as ce, type AddressStreetOneOf as cf, type StreetAddress as cg, type AddressLocation as ch, type Subdivision as ci, type CustomFormField as cj, type BookingSource as ck, type ParticipantNotification as cl, type CommonIdentificationData as cm, type CommonIdentificationDataIdOneOf as cn, type FlowControlSettings as co, type ParticipantChoices as cp, type ServiceChoices as cq, type ServiceChoice as cr, type ServiceChoiceChoiceOneOf as cs, type Duration as ct, type MultiServiceBookingInfo as cu, type BookedAddOn as cv, type DomainEvent as cw, type DomainEventBodyOneOf as cx, type EntityCreatedEvent as cy, type RestoreInfo as cz, type BulkUpdateServicesResponse as d, type ConnectedService as d$, type DeleteServiceRequest as d0, type V2ParticipantNotification as d1, type DeleteServiceResponse as d2, type BulkDeleteServicesRequest as d3, type BulkDeleteServicesByFilterRequest as d4, type QueryServicesRequest as d5, type QueryV2 as d6, type QueryV2PagingMethodOneOf as d7, type Sorting as d8, type Paging as d9, type RangeAggregationResult as dA, type NestedAggregationResults as dB, type NestedAggregationResultsResultOneOf as dC, type ValueResults as dD, type RangeResults as dE, type AggregationResultsScalarResult as dF, type NestedValueAggregationResult as dG, type ValueResult as dH, type RangeResult as dI, type ScalarResult as dJ, type ScalarDateResult as dK, type NestedResultValue as dL, type NestedResultValueResultOneOf as dM, type Results as dN, type DateHistogramResult as dO, type GroupByValueResults as dP, type DateHistogramResults as dQ, type NestedResults as dR, type AggregationResultsScalarDateResult as dS, type AggregationResults as dT, type AggregationResultsResultOneOf as dU, type QueryPoliciesRequest as dV, type CursorQueryPagingMethodOneOf as dW, type BookingPolicyWithServices as dX, type QueryBookingFormsRequest as dY, type BookingForm as dZ, type FormDetails as d_, type CursorPaging as da, type QueryServicesResponse as db, type PagingMetadataV2 as dc, type Cursors as dd, type SearchServicesRequest as de, type CursorSearch as df, type CursorSearchPagingMethodOneOf as dg, type Aggregation as dh, type AggregationKindOneOf as di, type RangeBucket as dj, type IncludeMissingValuesOptions as dk, type ValueAggregation as dl, type ValueAggregationOptionsOneOf as dm, type RangeAggregation as dn, type ScalarAggregation as dp, type DateHistogramAggregation as dq, type NestedAggregationItem as dr, type NestedAggregationItemKindOneOf as ds, type NestedAggregation as dt, type GroupByAggregation as du, type GroupByAggregationKindOneOf as dv, type SearchDetails as dw, type CursorPagingMetadata as dx, type AggregationData as dy, type ValueAggregationResult as dz, type BulkUpdateServicesByFilterOptions as e, type BaseEventMetadata as e$, type CountServicesRequest as e0, type QueryLocationsRequest as e1, type QueryLocationsFilter as e2, type BusinessLocations as e3, type CustomLocations as e4, type CustomerLocations as e5, type QueryCategoriesRequest as e6, type QueryCategoriesFilter as e7, type QueryServicesMultiLanguageRequest as e8, type QueryServicesMultiLanguageResponse as e9, type Properties as eA, type Categories as eB, type Locale as eC, type V4Address as eD, type AddressHint as eE, type GeoCoordinates as eF, type BusinessSchedule as eG, type TimePeriod as eH, type SpecialHourPeriod as eI, type Multilingual as eJ, type SupportedLanguage as eK, type ConsentPolicy as eL, type Translation as eM, type ChangeContext as eN, type ChangeContextPayloadOneOf as eO, type PropertiesChange as eP, type SiteCreated as eQ, type SiteCloned as eR, type CreateAddOnGroupRequest as eS, type DeleteAddOnGroupRequest as eT, type DeleteAddOnGroupResponse as eU, type UpdateAddOnGroupRequest as eV, type ListAddOnGroupsByServiceIdRequest as eW, type AddOn as eX, type AddOnAddOnInfoOneOf as eY, type AddOnGroupDetail as eZ, type SetAddOnsForGroupRequest as e_, type SetServiceLocationsRequest as ea, type RemovedLocationSessionsAction as eb, type RemovedLocationSessionsActionActionOptionsOneOf as ec, type MoveToNewLocationsOptions as ed, type EnablePricingPlansForServiceRequest as ee, type PricingPlanSelection as ef, type InvalidPricingPlan as eg, type DisablePricingPlansForServiceRequest as eh, type SetCustomSlugRequest as ei, type ValidateSlugRequest as ej, type CloneServiceRequest as ek, type CategoryNotification as el, type Category as em, type Empty as en, type BenefitNotification as eo, type Benefit as ep, type EntryPass as eq, type Discount as er, type DiscountDiscountOneOf as es, type Behavior as et, type BehaviorBehaviorOneOf as eu, type UserDomainInfoChangedEvent as ev, type HtmlSitePublished as ew, type Page as ex, type SitePropertiesNotification as ey, type SitePropertiesEvent as ez, type BulkUpdateServicesByFilterResponse as f, deleteService as f$, type EventMetadata as f0, type AccountInfoMetadata as f1, type ServicesQueryResult as f2, type ServiceQuerySpec as f3, type ServiceSearchSpec as f4, utils as f5, type ServiceTypeWithLiterals as f6, type RateTypeWithLiterals as f7, type FrequencyTypeWithLiterals as f8, type FirstChargeDateTypeWithLiterals as f9, type NestedAggregationTypeWithLiterals as fA, type IntervalWithLiterals as fB, type AggregationTypeWithLiterals as fC, type ModeWithLiterals as fD, type RequestedFieldsWithLiterals as fE, type ActionWithLiterals as fF, type InvalidSlugErrorWithLiterals as fG, type CloneErrorsWithLiterals as fH, type StatusWithLiterals as fI, type CategoryNotificationEventWithLiterals as fJ, type BenefitTypeWithLiterals as fK, type EventWithLiterals as fL, type CrudTypeWithLiterals as fM, type PlacementTypeWithLiterals as fN, type DayOfWeekWithLiterals as fO, type ResolutionMethodWithLiterals as fP, type CommonQueryWithEntityContext as fQ, type CommonSearchWithEntityContext as fR, onServiceCreated as fS, onServiceDeleted as fT, onServiceUpdated as fU, createService as fV, bulkCreateServices as fW, getService as fX, updateService as fY, bulkUpdateServices as fZ, bulkUpdateServicesByFilter as f_, type AddOnPaymentOptionsWithLiterals as fa, type LocationTypeEnumLocationTypeWithLiterals as fb, type RankingOrderWithLiterals as fc, type SortingMethodTypeWithLiterals as fd, type TimingWithLiterals as fe, type CompletionRequirementWithLiterals as ff, type UnitTypeWithLiterals as fg, type TaxableAddressTypeWithLiterals as fh, type MultiServiceBookingTypeWithLiterals as fi, type ResourceTransparencyWithLiterals as fj, type LocationTypeWithLiterals as fk, type SelectionMethodWithLiterals as fl, type ValueTypeWithLiterals as fm, type BookingStatusWithLiterals as fn, type PaymentStatusWithLiterals as fo, type SelectedPaymentOptionWithLiterals as fp, type PlatformWithLiterals as fq, type ActorWithLiterals as fr, type IdentityTypeWithLiterals as fs, type WebhookIdentityTypeWithLiterals as ft, type V2RequestedFieldsWithLiterals as fu, type SortOrderWithLiterals as fv, type SortTypeWithLiterals as fw, type SortDirectionWithLiterals as fx, type MissingValuesWithLiterals as fy, type ScalarTypeWithLiterals as fz, type BulkDeleteServicesOptions as g, bulkDeleteServices as g0, bulkDeleteServicesByFilter as g1, queryServices as g2, queryPolicies as g3, queryBookingForms as g4, countServices as g5, queryLocations as g6, queryCategories as g7, setServiceLocations as g8, enablePricingPlansForService as g9, disablePricingPlansForService as ga, setCustomSlug as gb, validateSlug as gc, cloneService as gd, createAddOnGroup as ge, deleteAddOnGroup as gf, updateAddOnGroup as gg, listAddOnGroupsByServiceId as gh, setAddOnsForGroup as gi, type BulkDeleteServicesResponse as h, type BulkDeleteServicesByFilterOptions as i, type BulkDeleteServicesByFilterResponse as j, type ServiceSearch as k, type SearchServicesResponse as l, type CursorQuery as m, type QueryBookingFormsOptions as n, type QueryBookingFormsResponse as o, type QueryBookingFormsApplicationErrors as p, type CountServicesOptions as q, type CountServicesResponse as r, type QueryLocationsOptions as s, type QueryLocationsResponse as t, type QueryCategoriesOptions as u, type QueryCategoriesResponse as v, type SetServiceLocationsOptions as w, type SetServiceLocationsResponse as x, type EnablePricingPlansForServiceApplicationErrors as y, type DisablePricingPlansForServiceOptions 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 { S as Service, C as CreateServiceValidationErrors, B as BulkCreateServicesOptions, a as BulkCreateServicesResponse, U as UpdateService, b as UpdateServiceValidationErrors, c as BulkUpdateServicesOptions, d as BulkUpdateServicesResponse, e as BulkUpdateServicesByFilterOptions, f as BulkUpdateServicesByFilterResponse, D as DeleteServiceOptions, g as BulkDeleteServicesOptions, h as BulkDeleteServicesResponse, i as BulkDeleteServicesByFilterOptions, j as BulkDeleteServicesByFilterResponse, k as ServiceSearch, l as SearchServicesResponse, m as CursorQuery, Q as QueryPoliciesResponse, n as QueryBookingFormsOptions, o as QueryBookingFormsResponse, p as QueryBookingFormsApplicationErrors, q as CountServicesOptions, r as CountServicesResponse, s as QueryLocationsOptions, t as QueryLocationsResponse, u as QueryCategoriesOptions, v as QueryCategoriesResponse, w as SetServiceLocationsOptions, x as SetServiceLocationsResponse, E as EnablePricingPlansForServiceResponse, y as EnablePricingPlansForServiceApplicationErrors, z as DisablePricingPlansForServiceOptions, A as DisablePricingPlansForServiceResponse, F as DisablePricingPlansForServiceApplicationErrors,
|
|
3
|
-
export { cG as AccountInfo, f1 as AccountInfoMetadata, aJ as Action, cC as ActionEvent,
|
|
2
|
+
import { S as Service, C as CreateServiceValidationErrors, B as BulkCreateServicesOptions, a as BulkCreateServicesResponse, G as GetServiceOptions, U as UpdateService, b as UpdateServiceValidationErrors, c as BulkUpdateServicesOptions, d as BulkUpdateServicesResponse, e as BulkUpdateServicesByFilterOptions, f as BulkUpdateServicesByFilterResponse, D as DeleteServiceOptions, g as BulkDeleteServicesOptions, h as BulkDeleteServicesResponse, i as BulkDeleteServicesByFilterOptions, j as BulkDeleteServicesByFilterResponse, k as ServiceSearch, l as SearchServicesResponse, m as CursorQuery, Q as QueryPoliciesResponse, n as QueryBookingFormsOptions, o as QueryBookingFormsResponse, p as QueryBookingFormsApplicationErrors, q as CountServicesOptions, r as CountServicesResponse, s as QueryLocationsOptions, t as QueryLocationsResponse, u as QueryCategoriesOptions, v as QueryCategoriesResponse, w as SetServiceLocationsOptions, x as SetServiceLocationsResponse, E as EnablePricingPlansForServiceResponse, y as EnablePricingPlansForServiceApplicationErrors, z as DisablePricingPlansForServiceOptions, A as DisablePricingPlansForServiceResponse, F as DisablePricingPlansForServiceApplicationErrors, H as SetCustomSlugOptions, I as SetCustomSlugResponse, J as SetCustomSlugApplicationErrors, K as SetCustomSlugValidationErrors, V as ValidateSlugOptions, L as ValidateSlugResponse, M as CloneServiceResponse, N as AddOnGroup, O as CreateAddOnGroupOptions, P as CreateAddOnGroupResponse, R as CreateAddOnGroupApplicationErrors, T as DeleteAddOnGroupOptions, W as DeleteAddOnGroupApplicationErrors, X as UpdateAddOnGroupOptions, Y as UpdateAddOnGroupResponse, Z as UpdateAddOnGroupApplicationErrors, _ as ListAddOnGroupsByServiceIdOptions, $ as ListAddOnGroupsByServiceIdResponse, a0 as SetAddOnsForGroupOptions, a1 as SetAddOnsForGroupResponse, a2 as SetAddOnsForGroupApplicationErrors, a3 as ServiceCreatedEnvelope, a4 as ServiceDeletedEnvelope, a5 as ServiceUpdatedEnvelope, a6 as ServiceQuery, a7 as QueryServicesOptions, a8 as typedQueryServices, a9 as ServicesQueryBuilder } from './bookings-services-v2-service-services.universal-CKfqET6d.js';
|
|
3
|
+
export { cG as AccountInfo, f1 as AccountInfoMetadata, aJ as Action, cC as ActionEvent, fF as ActionWithLiterals, av as Actor, fr as ActorWithLiterals, eX as AddOn, eY as AddOnAddOnInfoOneOf, bY as AddOnDetails, eZ as AddOnGroupDetail, ae as AddOnPaymentOptions, fa as AddOnPaymentOptionsWithLiterals, ce as Address, eE as AddressHint, ch as AddressLocation, cf as AddressStreetOneOf, dh as Aggregation, dy as AggregationData, di as AggregationKindOneOf, dT as AggregationResults, dU as AggregationResultsResultOneOf, dS as AggregationResultsScalarDateResult, dF as AggregationResultsScalarResult, aG as AggregationType, fC as AggregationTypeWithLiterals, cP as ApplicationError, bC as AvailabilityConstraints, e$ as BaseEventMetadata, et as Behavior, eu as BehaviorBehaviorOneOf, ep as Benefit, eo as BenefitNotification, aO as BenefitType, fK as BenefitTypeWithLiterals, bm as BookAfterStartPolicy, cv as BookedAddOn, c5 as BookedEntity, c6 as BookedEntityItemOneOf, c8 as BookedResource, cc as BookedSchedule, c7 as BookedSlot, c3 as Booking, dZ as BookingForm, c4 as BookingParticipantsInfoOneOf, bi as BookingPolicy, dX as BookingPolicyWithServices, ck as BookingSource, ar as BookingStatus, fn as BookingStatusWithLiterals, cQ as BulkActionMetadata, cM as BulkCreateServicesRequest, d4 as BulkDeleteServicesByFilterRequest, d3 as BulkDeleteServicesRequest, cN as BulkServiceResult, c$ as BulkUpdateServicesByFilterRequest, cZ as BulkUpdateServicesRequest, bg as BusinessLocationOptions, e3 as BusinessLocations, eG as BusinessSchedule, bs as CancellationFeePolicy, bn as CancellationPolicy, bt as CancellationWindow, bu as CancellationWindowFeeOneOf, eB as Categories, em as Category, el as CategoryNotification, aN as CategoryNotificationEvent, fJ as CategoryNotificationEventWithLiterals, eN as ChangeContext, eO as ChangeContextPayloadOneOf, aL as CloneErrors, fH as CloneErrorsWithLiterals, ek as CloneServiceRequest, bc as CommonAddress, bf as CommonAddressLocation, bd as CommonAddressStreetOneOf, cm as CommonIdentificationData, cn as CommonIdentificationDataIdOneOf, fQ as CommonQueryWithEntityContext, fR as CommonSearchWithEntityContext, be as CommonStreetAddress, aj as CompletionRequirement, ff as CompletionRequirementWithLiterals, b9 as Conferencing, d$ as ConnectedService, eL as ConsentPolicy, cd as ContactDetails, e0 as CountServicesRequest, eS as CreateAddOnGroupRequest, cH as CreateServiceRequest, cI as CreateServiceResponse, aQ as CrudType, fM as CrudTypeWithLiterals, da as CursorPaging, dx as CursorPagingMetadata, dW as CursorQueryPagingMethodOneOf, df as CursorSearch, dg as CursorSearchPagingMethodOneOf, dd as Cursors, cj as CustomFormField, bh as CustomLocationOptions, e4 as CustomLocations, bz as CustomOptions, b2 as CustomPayment, e5 as CustomerLocations, bH as DailyConfig, dq as DateHistogramAggregation, dO as DateHistogramResult, dQ as DateHistogramResults, aS as DayOfWeek, fO as DayOfWeekWithLiterals, eT as DeleteAddOnGroupRequest, eU as DeleteAddOnGroupResponse, d0 as DeleteServiceRequest, d2 as DeleteServiceResponse, eh as DisablePricingPlansForServiceRequest, er as Discount, es as DiscountDiscountOneOf, b7 as DiscountInfo, cw as DomainEvent, cx as DomainEventBodyOneOf, c1 as DummyRequest, c2 as DummyResponse, ct as Duration, bE as DurationRange, bF as DurationRangeConfigOneOf, en as Empty, ee as EnablePricingPlansForServiceRequest, cy as EntityCreatedEvent, cB as EntityDeletedEvent, cA as EntityUpdatedEvent, eq as EntryPass, aP as Event, f0 as EventMetadata, fL as EventWithLiterals, bT as ExtendedFields, cL as FieldViolation, ad as FirstChargeDateType, f9 as FirstChargeDateTypeWithLiterals, b0 as FixedPayment, co as FlowControlSettings, aY as Form, d_ as FormDetails, aZ as FormSettings, ac as FrequencyType, f8 as FrequencyTypeWithLiterals, b5 as FullUpfrontPayment, eF as GeoCoordinates, cT as GetServiceAvailabilityConstraintsRequest, cU as GetServiceAvailabilityConstraintsResponse, cR as GetServiceRequest, cS as GetServiceResponse, du as GroupByAggregation, dv as GroupByAggregationKindOneOf, dP as GroupByValueResults, bG as HourlyConfig, ew as HtmlSitePublished, cE as IdentificationData, cF as IdentificationDataIdOneOf, aw as IdentityType, fs as IdentityTypeWithLiterals, dk as IncludeMissingValuesOptions, bA as IntakeFormPolicy, aF as Interval, fB as IntervalWithLiterals, eg as InvalidPricingPlan, aK as InvalidSlugError, fG as InvalidSlugErrorWithLiterals, cO as ItemMetadata, bV as Keyword, bk as LimitEarlyBookingPolicy, bl as LimitLateBookingPolicy, eW as ListAddOnGroupsByServiceIdRequest, eC as Locale, c9 as Location, ao as LocationType, af as LocationTypeEnumLocationType, fb as LocationTypeEnumLocationTypeWithLiterals, fk as LocationTypeWithLiterals, c_ as MaskedService, aU as Media, aV as MediaItem, aW as MediaItemItemOneOf, cD as MessageEnvelope, aC as MissingValues, fy as MissingValuesWithLiterals, aH as Mode, fD as ModeWithLiterals, b1 as Money, ed as MoveToNewLocationsOptions, cu as MultiServiceBookingInfo, am as MultiServiceBookingType, fi as MultiServiceBookingTypeWithLiterals, eJ as Multilingual, dt as NestedAggregation, dr as NestedAggregationItem, ds as NestedAggregationItemKindOneOf, dB as NestedAggregationResults, dC as NestedAggregationResultsResultOneOf, aE as NestedAggregationType, fA as NestedAggregationTypeWithLiterals, dL as NestedResultValue, dM as NestedResultValueResultOneOf, dR as NestedResults, dG as NestedValueAggregationResult, b8 as OnlineBooking, ex as Page, d9 as Paging, dc as PagingMetadataV2, cp as ParticipantChoices, cl as ParticipantNotification, bq as ParticipantsPolicy, a_ as Payment, b6 as PaymentOptions, a$ as PaymentRateOneOf, as as PaymentStatus, fo as PaymentStatusWithLiterals, ca as PhoneCall, aR as PlacementType, fN as PlacementTypeWithLiterals, au as Platform, fq as PlatformWithLiterals, bj as PolicyDescription, ef as PricingPlanSelection, eA as Properties, eP as PropertiesChange, dY as QueryBookingFormsRequest, e7 as QueryCategoriesFilter, e6 as QueryCategoriesRequest, e2 as QueryLocationsFilter, e1 as QueryLocationsRequest, dV as QueryPoliciesRequest, e8 as QueryServicesMultiLanguageRequest, e9 as QueryServicesMultiLanguageResponse, d5 as QueryServicesRequest, db as QueryServicesResponse, d6 as QueryV2, d7 as QueryV2PagingMethodOneOf, dn as RangeAggregation, dA as RangeAggregationResult, dj as RangeBucket, dI as RangeResult, dE as RangeResults, by as RankingOptions, ag as RankingOrder, fc as RankingOrderWithLiterals, ab as RateType, f7 as RateTypeWithLiterals, eb as RemovedLocationSessionsAction, ec as RemovedLocationSessionsActionActionOptionsOneOf, aI as RequestedFields, fE as RequestedFieldsWithLiterals, bo as ReschedulePolicy, aT as ResolutionMethod, fP as ResolutionMethodWithLiterals, bM as ResourceGroup, bN as ResourceIds, cb as ResourceSelection, an as ResourceTransparency, fj as ResourceTransparencyWithLiterals, bQ as ResourceType, br as ResourcesPolicy, cz as RestoreInfo, dN as Results, bv as SaveCreditCardPolicy, dp as ScalarAggregation, dK as ScalarDateResult, dJ as ScalarResult, aD as ScalarType, fz as ScalarTypeWithLiterals, bB as Schedule, dw as SearchDetails, de as SearchServicesRequest, at as SelectedPaymentOption, fp as SelectedPaymentOptionWithLiterals, ap as SelectionMethod, fl as SelectionMethodWithLiterals, bU as SeoSchema, cV as ServiceAvailabilityConstraints, cr as ServiceChoice, cs as ServiceChoiceChoiceOneOf, cq as ServiceChoices, f3 as ServiceQuerySpec, bO as ServiceResource, bP as ServiceResourceSelectionOneOf, f4 as ServiceSearchSpec, aa as ServiceType, f6 as ServiceTypeWithLiterals, f2 as ServicesQueryResult, c0 as ServicesUrlsChanged, e_ as SetAddOnsForGroupRequest, b$ as SetCustomSlugEvent, ei as SetCustomSlugRequest, ea as SetServiceLocationsRequest, bX as Settings, eR as SiteCloned, eQ as SiteCreated, ez as SitePropertiesEvent, ey as SitePropertiesNotification, bR as Slug, aB as SortDirection, fx as SortDirectionWithLiterals, az as SortOrder, fv as SortOrderWithLiterals, aA as SortType, fw as SortTypeWithLiterals, d8 as Sorting, ah as SortingMethodType, fd as SortingMethodTypeWithLiterals, eI as SpecialHourPeriod, cW as SplitInterval, bJ as StaffMediaItem, bK as StaffMediaItemItemOneOf, bI as StaffMember, bL as StaffMemberDetails, bw as StaffSortingPolicy, bx as StaffSortingPolicyOptionsOneOf, aM as Status, fI as StatusWithLiterals, cg as StreetAddress, ci as Subdivision, b4 as SubscriptionPayment, eK as SupportedLanguage, bW as Tag, bZ as TaxableAddress, al as TaxableAddressType, fh as TaxableAddressTypeWithLiterals, eH as TimePeriod, ai as Timing, fe as TimingWithLiterals, eM as Translation, bS as URLs, ak as UnitType, fg as UnitTypeWithLiterals, eV as UpdateAddOnGroupRequest, cX as UpdateServiceRequest, cY as UpdateServiceResponse, ev as UserDomainInfoChangedEvent, aX as V2Category, bD as V2Duration, ba as V2Location, bb as V2LocationOptionsOneOf, d1 as V2ParticipantNotification, b_ as V2PhoneCall, ay as V2RequestedFields, fu as V2RequestedFieldsWithLiterals, eD as V4Address, cJ as ValidateServiceRequest, cK as ValidateServiceResponse, ej as ValidateSlugRequest, dl as ValueAggregation, dm as ValueAggregationOptionsOneOf, dz as ValueAggregationResult, dH as ValueResult, dD as ValueResults, aq as ValueType, fm as ValueTypeWithLiterals, b3 as VariedPayment, bp as WaitlistPolicy, ax as WebhookIdentityType, ft as WebhookIdentityTypeWithLiterals, f5 as utils } from './bookings-services-v2-service-services.universal-CKfqET6d.js';
|
|
4
4
|
|
|
5
5
|
declare function createService$1(httpClient: HttpClient): CreateServiceSignature;
|
|
6
6
|
interface CreateServiceSignature {
|
|
@@ -113,7 +113,7 @@ interface CreateServiceSignature {
|
|
|
113
113
|
* @param - Service to create.
|
|
114
114
|
* @returns Created service.
|
|
115
115
|
*/
|
|
116
|
-
(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` | `payment.discountInfo.discountName` | `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` | `addOnGroups` | `addOnDetails` | `taxableAddress.taxableAddressType`, 6> & {
|
|
116
|
+
(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` | `payment.discountInfo.discountName` | `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` | `staffMemberDetails.staffMembers` | `staffMemberDetails.staffMembers.${number}.staffMemberId` | `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` | `addOnGroups` | `addOnDetails` | `taxableAddress.taxableAddressType`, 6> & {
|
|
117
117
|
__validationErrorsType?: CreateServiceValidationErrors;
|
|
118
118
|
}>;
|
|
119
119
|
}
|
|
@@ -135,7 +135,7 @@ interface GetServiceSignature {
|
|
|
135
135
|
* @param - ID of the service to retrieve.
|
|
136
136
|
* @returns Retrieved service.
|
|
137
137
|
*/
|
|
138
|
-
(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` | `payment.discountInfo.discountName` | `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` | `addOnGroups` | `addOnDetails` | `taxableAddress.taxableAddressType`, 6>>;
|
|
138
|
+
(serviceId: string, options?: GetServiceOptions): Promise<NonNullablePaths<Service, `type` | `media.items` | `category._id` | `form._id` | `payment.fixed.price.value` | `payment.fixed.price.currency` | `payment.rateType` | `payment.pricingPlanIds` | `payment.addOnOption` | `payment.discountInfo.discountName` | `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` | `staffMemberDetails.staffMembers` | `staffMemberDetails.staffMembers.${number}.staffMemberId` | `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` | `addOnGroups` | `addOnDetails` | `taxableAddress.taxableAddressType`, 6>>;
|
|
139
139
|
}
|
|
140
140
|
declare function updateService$1(httpClient: HttpClient): UpdateServiceSignature;
|
|
141
141
|
interface UpdateServiceSignature {
|
|
@@ -167,7 +167,7 @@ interface UpdateServiceSignature {
|
|
|
167
167
|
* @param - Service ID.
|
|
168
168
|
* @returns Updated service.
|
|
169
169
|
*/
|
|
170
|
-
(_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` | `payment.discountInfo.discountName` | `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` | `addOnGroups` | `addOnDetails` | `taxableAddress.taxableAddressType`, 6> & {
|
|
170
|
+
(_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` | `payment.discountInfo.discountName` | `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` | `staffMemberDetails.staffMembers` | `staffMemberDetails.staffMembers.${number}.staffMemberId` | `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` | `addOnGroups` | `addOnDetails` | `taxableAddress.taxableAddressType`, 6> & {
|
|
171
171
|
__validationErrorsType?: UpdateServiceValidationErrors;
|
|
172
172
|
}>;
|
|
173
173
|
}
|
|
@@ -474,7 +474,7 @@ interface SetServiceLocationsSignature {
|
|
|
474
474
|
* message.
|
|
475
475
|
* @param - ID of the service.
|
|
476
476
|
*/
|
|
477
|
-
(serviceId: string, 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.payment.discountInfo.discountName` | `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.addOnGroups` | `service.addOnDetails` | `service.taxableAddress.taxableAddressType`, 7>>;
|
|
477
|
+
(serviceId: string, 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.payment.discountInfo.discountName` | `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.staffMemberDetails.staffMembers` | `service.staffMemberDetails.staffMembers.${number}.staffMemberId` | `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.addOnGroups` | `service.addOnDetails` | `service.taxableAddress.taxableAddressType`, 7>>;
|
|
478
478
|
}
|
|
479
479
|
declare function enablePricingPlansForService$1(httpClient: HttpClient): EnablePricingPlansForServiceSignature;
|
|
480
480
|
interface EnablePricingPlansForServiceSignature {
|
|
@@ -490,7 +490,7 @@ interface EnablePricingPlansForServiceSignature {
|
|
|
490
490
|
* to add to the service's `payment.pricingPlanIds` array.
|
|
491
491
|
* Maintained for backward compatibility. Use `pricing_plan_selections` for explicit benefit selection.
|
|
492
492
|
*/
|
|
493
|
-
(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.payment.discountInfo.discountName` | `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.addOnGroups` | `service.addOnDetails` | `service.taxableAddress.taxableAddressType`, 7> & {
|
|
493
|
+
(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.payment.discountInfo.discountName` | `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.staffMemberDetails.staffMembers` | `service.staffMemberDetails.staffMembers.${number}.staffMemberId` | `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.addOnGroups` | `service.addOnDetails` | `service.taxableAddress.taxableAddressType`, 7> & {
|
|
494
494
|
__applicationErrorsType?: EnablePricingPlansForServiceApplicationErrors;
|
|
495
495
|
}>;
|
|
496
496
|
}
|
|
@@ -505,7 +505,7 @@ interface DisablePricingPlansForServiceSignature {
|
|
|
505
505
|
* able to book the service, as they will have no payment options available.
|
|
506
506
|
* @param - ID of the service to update.
|
|
507
507
|
*/
|
|
508
|
-
(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.payment.discountInfo.discountName` | `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.addOnGroups` | `service.addOnDetails` | `service.taxableAddress.taxableAddressType`, 7> & {
|
|
508
|
+
(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.payment.discountInfo.discountName` | `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.staffMemberDetails.staffMembers` | `service.staffMemberDetails.staffMembers.${number}.staffMemberId` | `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.addOnGroups` | `service.addOnDetails` | `service.taxableAddress.taxableAddressType`, 7> & {
|
|
509
509
|
__applicationErrorsType?: DisablePricingPlansForServiceApplicationErrors;
|
|
510
510
|
}>;
|
|
511
511
|
}
|
|
@@ -521,7 +521,7 @@ interface SetCustomSlugSignature {
|
|
|
521
521
|
* - Another service has used the slug in the past.
|
|
522
522
|
* @param - ID of the service for which to update the active slug.
|
|
523
523
|
*/
|
|
524
|
-
(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.payment.discountInfo.discountName` | `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.addOnGroups` | `service.addOnDetails` | `service.taxableAddress.taxableAddressType`, 7> & {
|
|
524
|
+
(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.payment.discountInfo.discountName` | `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.staffMemberDetails.staffMembers` | `service.staffMemberDetails.staffMembers.${number}.staffMemberId` | `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.addOnGroups` | `service.addOnDetails` | `service.taxableAddress.taxableAddressType`, 7> & {
|
|
525
525
|
__applicationErrorsType?: SetCustomSlugApplicationErrors;
|
|
526
526
|
__validationErrorsType?: SetCustomSlugValidationErrors;
|
|
527
527
|
}>;
|
|
@@ -597,7 +597,7 @@ interface CloneServiceSignature {
|
|
|
597
597
|
* after cloning the service, customers will be unable to book the service.
|
|
598
598
|
* @param - ID of the service to clone.
|
|
599
599
|
*/
|
|
600
|
-
(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.payment.discountInfo.discountName` | `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.addOnGroups` | `service.addOnDetails` | `service.taxableAddress.taxableAddressType` | `errors`, 7>>;
|
|
600
|
+
(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.payment.discountInfo.discountName` | `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.staffMemberDetails.staffMembers` | `service.staffMemberDetails.staffMembers.${number}.staffMemberId` | `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.addOnGroups` | `service.addOnDetails` | `service.taxableAddress.taxableAddressType` | `errors`, 7>>;
|
|
601
601
|
}
|
|
602
602
|
declare function createAddOnGroup$1(httpClient: HttpClient): CreateAddOnGroupSignature;
|
|
603
603
|
interface CreateAddOnGroupSignature {
|
|
@@ -723,4 +723,4 @@ declare const onServiceDeleted: BuildEventDefinition<typeof onServiceDeleted$1>
|
|
|
723
723
|
*/
|
|
724
724
|
declare const onServiceUpdated: BuildEventDefinition<typeof onServiceUpdated$1> & typeof onServiceUpdated$1;
|
|
725
725
|
|
|
726
|
-
export { AddOnGroup, BulkCreateServicesOptions, BulkCreateServicesResponse, BulkDeleteServicesByFilterOptions, BulkDeleteServicesByFilterResponse, BulkDeleteServicesOptions, BulkDeleteServicesResponse, BulkUpdateServicesByFilterOptions, BulkUpdateServicesByFilterResponse, BulkUpdateServicesOptions, BulkUpdateServicesResponse, CloneServiceResponse, CountServicesOptions, CountServicesResponse, CreateAddOnGroupApplicationErrors, CreateAddOnGroupOptions, CreateAddOnGroupResponse, CreateServiceValidationErrors, CursorQuery, DeleteAddOnGroupApplicationErrors, DeleteAddOnGroupOptions, DeleteServiceOptions, DisablePricingPlansForServiceApplicationErrors, DisablePricingPlansForServiceOptions, DisablePricingPlansForServiceResponse, EnablePricingPlansForServiceApplicationErrors, EnablePricingPlansForServiceResponse, ListAddOnGroupsByServiceIdOptions, ListAddOnGroupsByServiceIdResponse, QueryBookingFormsApplicationErrors, QueryBookingFormsOptions, QueryBookingFormsResponse, QueryCategoriesOptions, QueryCategoriesResponse, QueryLocationsOptions, QueryLocationsResponse, QueryPoliciesResponse, QueryServicesOptions, SearchServicesResponse, Service, ServiceCreatedEnvelope, ServiceDeletedEnvelope, ServiceQuery, ServiceSearch, ServiceUpdatedEnvelope, ServicesQueryBuilder, SetAddOnsForGroupApplicationErrors, SetAddOnsForGroupOptions, SetAddOnsForGroupResponse, SetCustomSlugApplicationErrors, SetCustomSlugOptions, SetCustomSlugResponse, SetCustomSlugValidationErrors, SetServiceLocationsOptions, SetServiceLocationsResponse, UpdateAddOnGroupApplicationErrors, UpdateAddOnGroupOptions, UpdateAddOnGroupResponse, UpdateService, UpdateServiceValidationErrors, ValidateSlugOptions, ValidateSlugResponse, bulkCreateServices, bulkDeleteServices, bulkDeleteServicesByFilter, bulkUpdateServices, bulkUpdateServicesByFilter, cloneService, countServices, createAddOnGroup, createService, deleteAddOnGroup, deleteService, disablePricingPlansForService, enablePricingPlansForService, getService, listAddOnGroupsByServiceId, onServiceCreated, onServiceDeleted, onServiceUpdated, queryBookingForms, queryCategories, queryLocations, queryPolicies, queryServices, searchServices, setAddOnsForGroup, setCustomSlug, setServiceLocations, updateAddOnGroup, updateService, validateSlug };
|
|
726
|
+
export { AddOnGroup, BulkCreateServicesOptions, BulkCreateServicesResponse, BulkDeleteServicesByFilterOptions, BulkDeleteServicesByFilterResponse, BulkDeleteServicesOptions, BulkDeleteServicesResponse, BulkUpdateServicesByFilterOptions, BulkUpdateServicesByFilterResponse, BulkUpdateServicesOptions, BulkUpdateServicesResponse, CloneServiceResponse, CountServicesOptions, CountServicesResponse, CreateAddOnGroupApplicationErrors, CreateAddOnGroupOptions, CreateAddOnGroupResponse, CreateServiceValidationErrors, CursorQuery, DeleteAddOnGroupApplicationErrors, DeleteAddOnGroupOptions, DeleteServiceOptions, DisablePricingPlansForServiceApplicationErrors, DisablePricingPlansForServiceOptions, DisablePricingPlansForServiceResponse, EnablePricingPlansForServiceApplicationErrors, EnablePricingPlansForServiceResponse, GetServiceOptions, ListAddOnGroupsByServiceIdOptions, ListAddOnGroupsByServiceIdResponse, QueryBookingFormsApplicationErrors, QueryBookingFormsOptions, QueryBookingFormsResponse, QueryCategoriesOptions, QueryCategoriesResponse, QueryLocationsOptions, QueryLocationsResponse, QueryPoliciesResponse, QueryServicesOptions, SearchServicesResponse, Service, ServiceCreatedEnvelope, ServiceDeletedEnvelope, ServiceQuery, ServiceSearch, ServiceUpdatedEnvelope, ServicesQueryBuilder, SetAddOnsForGroupApplicationErrors, SetAddOnsForGroupOptions, SetAddOnsForGroupResponse, SetCustomSlugApplicationErrors, SetCustomSlugOptions, SetCustomSlugResponse, SetCustomSlugValidationErrors, SetServiceLocationsOptions, SetServiceLocationsResponse, UpdateAddOnGroupApplicationErrors, UpdateAddOnGroupOptions, UpdateAddOnGroupResponse, UpdateService, UpdateServiceValidationErrors, ValidateSlugOptions, ValidateSlugResponse, bulkCreateServices, bulkDeleteServices, bulkDeleteServicesByFilter, bulkUpdateServices, bulkUpdateServicesByFilter, cloneService, countServices, createAddOnGroup, createService, deleteAddOnGroup, deleteService, disablePricingPlansForService, enablePricingPlansForService, getService, listAddOnGroupsByServiceId, onServiceCreated, onServiceDeleted, onServiceUpdated, queryBookingForms, queryCategories, queryLocations, queryPolicies, queryServices, searchServices, setAddOnsForGroup, setCustomSlug, setServiceLocations, updateAddOnGroup, updateService, validateSlug };
|