@wix/auto_sdk_bookings_services 1.0.212 → 1.0.214
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/{internal/cjs/bookings-services-v2-service-services.universal-D8mHLu60.d.ts → cjs/bookings-services-v2-service-services.universal-DCFqBaaN.d.ts} +31 -43
- package/build/cjs/index.d.ts +10 -10
- package/build/cjs/index.js.map +1 -1
- package/build/cjs/index.typings.d.ts +2 -2
- package/build/cjs/index.typings.js.map +1 -1
- package/build/cjs/meta.d.ts +14 -5
- package/build/cjs/meta.js.map +1 -1
- package/build/cjs/schemas.d.ts +7470 -0
- package/build/cjs/schemas.js +14175 -0
- package/build/cjs/schemas.js.map +1 -0
- package/build/{internal/es/bookings-services-v2-service-services.universal-D8mHLu60.d.mts → es/bookings-services-v2-service-services.universal-DCFqBaaN.d.mts} +31 -43
- package/build/es/index.d.mts +10 -10
- package/build/es/index.mjs.map +1 -1
- package/build/es/index.typings.d.mts +2 -2
- package/build/es/index.typings.mjs.map +1 -1
- package/build/es/meta.d.mts +14 -5
- package/build/es/meta.mjs.map +1 -1
- package/build/es/schemas.d.mts +7470 -0
- package/build/es/schemas.mjs +14085 -0
- package/build/es/schemas.mjs.map +1 -0
- package/build/{cjs/bookings-services-v2-service-services.universal-CaGsi0am.d.ts → internal/cjs/bookings-services-v2-service-services.universal-DccXnV-z.d.ts} +58 -16
- package/build/internal/cjs/index.d.ts +10 -10
- package/build/internal/cjs/index.js.map +1 -1
- package/build/internal/cjs/index.typings.d.ts +2 -2
- package/build/internal/cjs/index.typings.js.map +1 -1
- package/build/internal/cjs/meta.d.ts +14 -5
- package/build/internal/cjs/meta.js.map +1 -1
- package/build/internal/cjs/schemas.d.ts +7470 -0
- package/build/internal/cjs/schemas.js +14175 -0
- package/build/internal/cjs/schemas.js.map +1 -0
- package/build/{es/bookings-services-v2-service-services.universal-CaGsi0am.d.mts → internal/es/bookings-services-v2-service-services.universal-DccXnV-z.d.mts} +58 -16
- package/build/internal/es/index.d.mts +10 -10
- package/build/internal/es/index.mjs.map +1 -1
- package/build/internal/es/index.typings.d.mts +2 -2
- package/build/internal/es/index.typings.mjs.map +1 -1
- package/build/internal/es/meta.d.mts +14 -5
- package/build/internal/es/meta.mjs.map +1 -1
- package/build/internal/es/schemas.d.mts +7470 -0
- package/build/internal/es/schemas.mjs +14085 -0
- package/build/internal/es/schemas.mjs.map +1 -0
- package/package.json +11 -4
- package/schemas/package.json +3 -0
|
@@ -101,13 +101,14 @@ interface Service {
|
|
|
101
101
|
*/
|
|
102
102
|
schedule?: Schedule;
|
|
103
103
|
/**
|
|
104
|
-
* IDs of the [resources](https://dev.wix.com/docs/api-reference/business-solutions/bookings/resources/resources-v2/introduction)
|
|
104
|
+
* IDs of the [resources](https://dev.wix.com/docs/api-reference/business-solutions/bookings/resources/resources-v2/introduction) associated with the [staff members](https://dev.wix.com/docs/api-reference/business-solutions/bookings/staff-members/staff-members/introduction) providing the service.
|
|
105
105
|
* Note that these are the resource IDs, not the staff member IDs.
|
|
106
106
|
*
|
|
107
107
|
* For appointment-based services, set this field when creating or updating the service.
|
|
108
|
-
* For classes and courses, this field is read-only and is automatically derived from
|
|
109
|
-
*
|
|
110
|
-
*
|
|
108
|
+
* For classes and courses, this field is read-only and is automatically derived from staff assigned to the service's recurring scheduled sessions.
|
|
109
|
+
* Staff assigned only to single, non-recurring events are not included.
|
|
110
|
+
* Once all of a staff member's upcoming recurring sessions have ended, their ID is removed from this field.
|
|
111
|
+
* To retrieve the full list of staff for classes or courses, query the service's calendar events instead.
|
|
111
112
|
* Learn more about [retrieving staff for classes and courses](https://dev.wix.com/docs/api-reference/business-solutions/bookings/services/services-v2/sample-flows#retrieve-staff-members-for-a-class-or-course).
|
|
112
113
|
* @maxSize 220
|
|
113
114
|
* @format GUID
|
|
@@ -171,6 +172,11 @@ interface Service {
|
|
|
171
172
|
addOnDetails?: AddOnDetails[];
|
|
172
173
|
/** Taxable address used to calculate tax */
|
|
173
174
|
taxableAddress?: TaxableAddress;
|
|
175
|
+
/**
|
|
176
|
+
* IDs of tags from Wix Tags service associated with this service.
|
|
177
|
+
* @maxSize 3
|
|
178
|
+
*/
|
|
179
|
+
connectedProductTagIds?: string[];
|
|
174
180
|
}
|
|
175
181
|
declare enum ServiceType {
|
|
176
182
|
/** Appointment-based service. */
|
|
@@ -253,13 +259,6 @@ interface Payment extends PaymentRateOneOf {
|
|
|
253
259
|
* Required when: `rateType` is `VARIED`
|
|
254
260
|
*/
|
|
255
261
|
varied?: VariedPayment;
|
|
256
|
-
/**
|
|
257
|
-
* The details for the subscription pricing of the service.
|
|
258
|
-
*
|
|
259
|
-
* Required when: `rateType` is `SUBSCRIPTION`
|
|
260
|
-
* @internal
|
|
261
|
-
*/
|
|
262
|
-
subscription?: SubscriptionPayment;
|
|
263
262
|
/** The rate the customer is expected to pay for the service. */
|
|
264
263
|
rateType?: RateTypeWithLiterals;
|
|
265
264
|
/** The payment options a customer can use to pay for the service. */
|
|
@@ -277,19 +276,6 @@ interface Payment extends PaymentRateOneOf {
|
|
|
277
276
|
* If customers pay for the booking using any method other than a pricing plan, the value of this field is ignored.
|
|
278
277
|
*/
|
|
279
278
|
addOnOption?: AddOnPaymentOptionsWithLiterals;
|
|
280
|
-
/**
|
|
281
|
-
* Estimated discount information for the service based on active [eCommerce discounts](https://dev.wix.com/docs/rest/business-solutions/e-commerce/extensions/discounts/introduction).
|
|
282
|
-
* The final discount is determined during eCommerce checkout and may differ from the estimate,
|
|
283
|
-
* for example when discounts depend on cart totals.
|
|
284
|
-
*
|
|
285
|
-
* A discount is considered active when its start time has passed and its end time hasn't.
|
|
286
|
-
* If multiple active discounts apply, the most recently created one is returned.
|
|
287
|
-
*
|
|
288
|
-
* Returned only when `DISCOUNT_INFO_DETAILS` is requested.
|
|
289
|
-
* @internal
|
|
290
|
-
* @readonly
|
|
291
|
-
*/
|
|
292
|
-
discountInfo?: DiscountInfo;
|
|
293
279
|
}
|
|
294
280
|
/** @oneof */
|
|
295
281
|
interface PaymentRateOneOf {
|
|
@@ -312,13 +298,6 @@ interface PaymentRateOneOf {
|
|
|
312
298
|
* Required when: `rateType` is `VARIED`
|
|
313
299
|
*/
|
|
314
300
|
varied?: VariedPayment;
|
|
315
|
-
/**
|
|
316
|
-
* The details for the subscription pricing of the service.
|
|
317
|
-
*
|
|
318
|
-
* Required when: `rateType` is `SUBSCRIPTION`
|
|
319
|
-
* @internal
|
|
320
|
-
*/
|
|
321
|
-
subscription?: SubscriptionPayment;
|
|
322
301
|
}
|
|
323
302
|
declare enum RateType {
|
|
324
303
|
/** The service has a fixed price. */
|
|
@@ -1216,6 +1195,9 @@ interface V2Duration {
|
|
|
1216
1195
|
interface StaffMember {
|
|
1217
1196
|
/**
|
|
1218
1197
|
* 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.
|
|
1198
|
+
* Despite the field name, this is the resource ID, not the staff member ID.
|
|
1199
|
+
* This value matches the staff member's `resourceId` from the [Staff Members API](https://dev.wix.com/docs/api-reference/business-solutions/bookings/staff-members/staff-members/introduction)
|
|
1200
|
+
* and corresponds to the IDs in the service's `staffMemberIds` field.
|
|
1219
1201
|
* @format GUID
|
|
1220
1202
|
* @readonly
|
|
1221
1203
|
*/
|
|
@@ -4991,7 +4973,7 @@ declare function onServiceUpdated(handler: (event: ServiceUpdatedEnvelope) => vo
|
|
|
4991
4973
|
* @returns Created service.
|
|
4992
4974
|
* @fqn wix.bookings.services.v2.ServicesService.CreateService
|
|
4993
4975
|
*/
|
|
4994
|
-
declare function createService(service: Service): Promise<NonNullablePaths<Service, `type` | `media.items` | `category._id` | `form._id` | `payment.fixed.price.value` | `payment.fixed.price.currency` | `payment.rateType` | `payment.pricingPlanIds` | `payment.addOnOption` | `locations` | `locations.${number}.business._id` | `locations.${number}.business.name` | `locations.${number}.custom._id` | `locations.${number}._id` | `locations.${number}.type` | `bookingPolicy._id` | `bookingPolicy.customPolicyDescription.enabled` | `bookingPolicy.customPolicyDescription.description` | `bookingPolicy.limitEarlyBookingPolicy.enabled` | `bookingPolicy.limitEarlyBookingPolicy.earliestBookingInMinutes` | `bookingPolicy.limitLateBookingPolicy.enabled` | `bookingPolicy.limitLateBookingPolicy.latestBookingInMinutes` | `bookingPolicy.bookAfterStartPolicy.enabled` | `bookingPolicy.cancellationPolicy.enabled` | `bookingPolicy.cancellationPolicy.limitLatestCancellation` | `bookingPolicy.cancellationPolicy.latestCancellationInMinutes` | `bookingPolicy.reschedulePolicy.enabled` | `bookingPolicy.reschedulePolicy.limitLatestReschedule` | `bookingPolicy.reschedulePolicy.latestRescheduleInMinutes` | `bookingPolicy.waitlistPolicy.enabled` | `bookingPolicy.waitlistPolicy.capacity` | `bookingPolicy.waitlistPolicy.reservationTimeInMinutes` | `bookingPolicy.participantsPolicy.maxParticipantsPerBooking` | `bookingPolicy.resourcesPolicy.enabled` | `bookingPolicy.resourcesPolicy.autoAssignAllowed` | `bookingPolicy.cancellationFeePolicy.enabled` | `bookingPolicy.cancellationFeePolicy.cancellationWindows` | `bookingPolicy.cancellationFeePolicy.cancellationWindows.${number}.percentage` | `bookingPolicy.saveCreditCardPolicy.enabled` | `schedule.availabilityConstraints.durations` | `schedule.availabilityConstraints.durations.${number}.minutes` | `schedule.availabilityConstraints.sessionDurations` | `schedule.availabilityConstraints.timeBetweenSessions` | `staffMemberIds` | `serviceResources` | `supportedSlugs` | `supportedSlugs.${number}.name` | `seoData.tags` | `seoData.tags.${number}.type` | `seoData.tags.${number}.children` | `seoData.tags.${number}.custom` | `seoData.tags.${number}.disabled` | `seoData.settings.preventAutoRedirect` | `seoData.settings.keywords` | `seoData.settings.keywords.${number}.term` | `seoData.settings.keywords.${number}.isMain` | `addOnGroups` | `addOnDetails` | `taxableAddress.taxableAddressType`, 6> & {
|
|
4976
|
+
declare function createService(service: Service): Promise<NonNullablePaths<Service, `type` | `media.items` | `category._id` | `form._id` | `payment.fixed.price.value` | `payment.fixed.price.currency` | `payment.rateType` | `payment.pricingPlanIds` | `payment.addOnOption` | `locations` | `locations.${number}.business._id` | `locations.${number}.business.name` | `locations.${number}.custom._id` | `locations.${number}._id` | `locations.${number}.type` | `bookingPolicy._id` | `bookingPolicy.customPolicyDescription.enabled` | `bookingPolicy.customPolicyDescription.description` | `bookingPolicy.limitEarlyBookingPolicy.enabled` | `bookingPolicy.limitEarlyBookingPolicy.earliestBookingInMinutes` | `bookingPolicy.limitLateBookingPolicy.enabled` | `bookingPolicy.limitLateBookingPolicy.latestBookingInMinutes` | `bookingPolicy.bookAfterStartPolicy.enabled` | `bookingPolicy.cancellationPolicy.enabled` | `bookingPolicy.cancellationPolicy.limitLatestCancellation` | `bookingPolicy.cancellationPolicy.latestCancellationInMinutes` | `bookingPolicy.reschedulePolicy.enabled` | `bookingPolicy.reschedulePolicy.limitLatestReschedule` | `bookingPolicy.reschedulePolicy.latestRescheduleInMinutes` | `bookingPolicy.waitlistPolicy.enabled` | `bookingPolicy.waitlistPolicy.capacity` | `bookingPolicy.waitlistPolicy.reservationTimeInMinutes` | `bookingPolicy.participantsPolicy.maxParticipantsPerBooking` | `bookingPolicy.resourcesPolicy.enabled` | `bookingPolicy.resourcesPolicy.autoAssignAllowed` | `bookingPolicy.cancellationFeePolicy.enabled` | `bookingPolicy.cancellationFeePolicy.cancellationWindows` | `bookingPolicy.cancellationFeePolicy.cancellationWindows.${number}.percentage` | `bookingPolicy.saveCreditCardPolicy.enabled` | `schedule.availabilityConstraints.durations` | `schedule.availabilityConstraints.durations.${number}.minutes` | `schedule.availabilityConstraints.sessionDurations` | `schedule.availabilityConstraints.timeBetweenSessions` | `staffMemberIds` | `serviceResources` | `supportedSlugs` | `supportedSlugs.${number}.name` | `seoData.tags` | `seoData.tags.${number}.type` | `seoData.tags.${number}.children` | `seoData.tags.${number}.custom` | `seoData.tags.${number}.disabled` | `seoData.settings.preventAutoRedirect` | `seoData.settings.keywords` | `seoData.settings.keywords.${number}.term` | `seoData.settings.keywords.${number}.isMain` | `addOnGroups` | `addOnDetails` | `taxableAddress.taxableAddressType` | `connectedProductTagIds`, 6> & {
|
|
4995
4977
|
__validationErrorsType?: CreateServiceValidationErrors;
|
|
4996
4978
|
}>;
|
|
4997
4979
|
/**
|
|
@@ -5021,7 +5003,7 @@ interface BulkCreateServicesOptions {
|
|
|
5021
5003
|
* @returns Retrieved service.
|
|
5022
5004
|
* @fqn wix.bookings.services.v2.ServicesService.GetService
|
|
5023
5005
|
*/
|
|
5024
|
-
declare function getService(serviceId: string): Promise<NonNullablePaths<Service, `type` | `media.items` | `category._id` | `form._id` | `payment.fixed.price.value` | `payment.fixed.price.currency` | `payment.rateType` | `payment.pricingPlanIds` | `payment.addOnOption` | `locations` | `locations.${number}.business._id` | `locations.${number}.business.name` | `locations.${number}.custom._id` | `locations.${number}._id` | `locations.${number}.type` | `bookingPolicy._id` | `bookingPolicy.customPolicyDescription.enabled` | `bookingPolicy.customPolicyDescription.description` | `bookingPolicy.limitEarlyBookingPolicy.enabled` | `bookingPolicy.limitEarlyBookingPolicy.earliestBookingInMinutes` | `bookingPolicy.limitLateBookingPolicy.enabled` | `bookingPolicy.limitLateBookingPolicy.latestBookingInMinutes` | `bookingPolicy.bookAfterStartPolicy.enabled` | `bookingPolicy.cancellationPolicy.enabled` | `bookingPolicy.cancellationPolicy.limitLatestCancellation` | `bookingPolicy.cancellationPolicy.latestCancellationInMinutes` | `bookingPolicy.reschedulePolicy.enabled` | `bookingPolicy.reschedulePolicy.limitLatestReschedule` | `bookingPolicy.reschedulePolicy.latestRescheduleInMinutes` | `bookingPolicy.waitlistPolicy.enabled` | `bookingPolicy.waitlistPolicy.capacity` | `bookingPolicy.waitlistPolicy.reservationTimeInMinutes` | `bookingPolicy.participantsPolicy.maxParticipantsPerBooking` | `bookingPolicy.resourcesPolicy.enabled` | `bookingPolicy.resourcesPolicy.autoAssignAllowed` | `bookingPolicy.cancellationFeePolicy.enabled` | `bookingPolicy.cancellationFeePolicy.cancellationWindows` | `bookingPolicy.cancellationFeePolicy.cancellationWindows.${number}.percentage` | `bookingPolicy.saveCreditCardPolicy.enabled` | `schedule.availabilityConstraints.durations` | `schedule.availabilityConstraints.durations.${number}.minutes` | `schedule.availabilityConstraints.sessionDurations` | `schedule.availabilityConstraints.timeBetweenSessions` | `staffMemberIds` | `serviceResources` | `supportedSlugs` | `supportedSlugs.${number}.name` | `seoData.tags` | `seoData.tags.${number}.type` | `seoData.tags.${number}.children` | `seoData.tags.${number}.custom` | `seoData.tags.${number}.disabled` | `seoData.settings.preventAutoRedirect` | `seoData.settings.keywords` | `seoData.settings.keywords.${number}.term` | `seoData.settings.keywords.${number}.isMain` | `addOnGroups` | `addOnDetails` | `taxableAddress.taxableAddressType`, 6>>;
|
|
5006
|
+
declare function getService(serviceId: string): Promise<NonNullablePaths<Service, `type` | `media.items` | `category._id` | `form._id` | `payment.fixed.price.value` | `payment.fixed.price.currency` | `payment.rateType` | `payment.pricingPlanIds` | `payment.addOnOption` | `locations` | `locations.${number}.business._id` | `locations.${number}.business.name` | `locations.${number}.custom._id` | `locations.${number}._id` | `locations.${number}.type` | `bookingPolicy._id` | `bookingPolicy.customPolicyDescription.enabled` | `bookingPolicy.customPolicyDescription.description` | `bookingPolicy.limitEarlyBookingPolicy.enabled` | `bookingPolicy.limitEarlyBookingPolicy.earliestBookingInMinutes` | `bookingPolicy.limitLateBookingPolicy.enabled` | `bookingPolicy.limitLateBookingPolicy.latestBookingInMinutes` | `bookingPolicy.bookAfterStartPolicy.enabled` | `bookingPolicy.cancellationPolicy.enabled` | `bookingPolicy.cancellationPolicy.limitLatestCancellation` | `bookingPolicy.cancellationPolicy.latestCancellationInMinutes` | `bookingPolicy.reschedulePolicy.enabled` | `bookingPolicy.reschedulePolicy.limitLatestReschedule` | `bookingPolicy.reschedulePolicy.latestRescheduleInMinutes` | `bookingPolicy.waitlistPolicy.enabled` | `bookingPolicy.waitlistPolicy.capacity` | `bookingPolicy.waitlistPolicy.reservationTimeInMinutes` | `bookingPolicy.participantsPolicy.maxParticipantsPerBooking` | `bookingPolicy.resourcesPolicy.enabled` | `bookingPolicy.resourcesPolicy.autoAssignAllowed` | `bookingPolicy.cancellationFeePolicy.enabled` | `bookingPolicy.cancellationFeePolicy.cancellationWindows` | `bookingPolicy.cancellationFeePolicy.cancellationWindows.${number}.percentage` | `bookingPolicy.saveCreditCardPolicy.enabled` | `schedule.availabilityConstraints.durations` | `schedule.availabilityConstraints.durations.${number}.minutes` | `schedule.availabilityConstraints.sessionDurations` | `schedule.availabilityConstraints.timeBetweenSessions` | `staffMemberIds` | `serviceResources` | `supportedSlugs` | `supportedSlugs.${number}.name` | `seoData.tags` | `seoData.tags.${number}.type` | `seoData.tags.${number}.children` | `seoData.tags.${number}.custom` | `seoData.tags.${number}.disabled` | `seoData.settings.preventAutoRedirect` | `seoData.settings.keywords` | `seoData.settings.keywords.${number}.term` | `seoData.settings.keywords.${number}.isMain` | `addOnGroups` | `addOnDetails` | `taxableAddress.taxableAddressType` | `connectedProductTagIds`, 6>>;
|
|
5025
5007
|
/**
|
|
5026
5008
|
* Updates a service.
|
|
5027
5009
|
*
|
|
@@ -5057,7 +5039,7 @@ declare function getService(serviceId: string): Promise<NonNullablePaths<Service
|
|
|
5057
5039
|
* @returns Updated service.
|
|
5058
5040
|
* @fqn wix.bookings.services.v2.ServicesService.UpdateService
|
|
5059
5041
|
*/
|
|
5060
|
-
declare function updateService(_id: string, service: NonNullablePaths<UpdateService, `revision`, 2>): Promise<NonNullablePaths<Service, `type` | `media.items` | `category._id` | `form._id` | `payment.fixed.price.value` | `payment.fixed.price.currency` | `payment.rateType` | `payment.pricingPlanIds` | `payment.addOnOption` | `locations` | `locations.${number}.business._id` | `locations.${number}.business.name` | `locations.${number}.custom._id` | `locations.${number}._id` | `locations.${number}.type` | `bookingPolicy._id` | `bookingPolicy.customPolicyDescription.enabled` | `bookingPolicy.customPolicyDescription.description` | `bookingPolicy.limitEarlyBookingPolicy.enabled` | `bookingPolicy.limitEarlyBookingPolicy.earliestBookingInMinutes` | `bookingPolicy.limitLateBookingPolicy.enabled` | `bookingPolicy.limitLateBookingPolicy.latestBookingInMinutes` | `bookingPolicy.bookAfterStartPolicy.enabled` | `bookingPolicy.cancellationPolicy.enabled` | `bookingPolicy.cancellationPolicy.limitLatestCancellation` | `bookingPolicy.cancellationPolicy.latestCancellationInMinutes` | `bookingPolicy.reschedulePolicy.enabled` | `bookingPolicy.reschedulePolicy.limitLatestReschedule` | `bookingPolicy.reschedulePolicy.latestRescheduleInMinutes` | `bookingPolicy.waitlistPolicy.enabled` | `bookingPolicy.waitlistPolicy.capacity` | `bookingPolicy.waitlistPolicy.reservationTimeInMinutes` | `bookingPolicy.participantsPolicy.maxParticipantsPerBooking` | `bookingPolicy.resourcesPolicy.enabled` | `bookingPolicy.resourcesPolicy.autoAssignAllowed` | `bookingPolicy.cancellationFeePolicy.enabled` | `bookingPolicy.cancellationFeePolicy.cancellationWindows` | `bookingPolicy.cancellationFeePolicy.cancellationWindows.${number}.percentage` | `bookingPolicy.saveCreditCardPolicy.enabled` | `schedule.availabilityConstraints.durations` | `schedule.availabilityConstraints.durations.${number}.minutes` | `schedule.availabilityConstraints.sessionDurations` | `schedule.availabilityConstraints.timeBetweenSessions` | `staffMemberIds` | `serviceResources` | `supportedSlugs` | `supportedSlugs.${number}.name` | `seoData.tags` | `seoData.tags.${number}.type` | `seoData.tags.${number}.children` | `seoData.tags.${number}.custom` | `seoData.tags.${number}.disabled` | `seoData.settings.preventAutoRedirect` | `seoData.settings.keywords` | `seoData.settings.keywords.${number}.term` | `seoData.settings.keywords.${number}.isMain` | `addOnGroups` | `addOnDetails` | `taxableAddress.taxableAddressType`, 6> & {
|
|
5042
|
+
declare function updateService(_id: string, service: NonNullablePaths<UpdateService, `revision`, 2>): Promise<NonNullablePaths<Service, `type` | `media.items` | `category._id` | `form._id` | `payment.fixed.price.value` | `payment.fixed.price.currency` | `payment.rateType` | `payment.pricingPlanIds` | `payment.addOnOption` | `locations` | `locations.${number}.business._id` | `locations.${number}.business.name` | `locations.${number}.custom._id` | `locations.${number}._id` | `locations.${number}.type` | `bookingPolicy._id` | `bookingPolicy.customPolicyDescription.enabled` | `bookingPolicy.customPolicyDescription.description` | `bookingPolicy.limitEarlyBookingPolicy.enabled` | `bookingPolicy.limitEarlyBookingPolicy.earliestBookingInMinutes` | `bookingPolicy.limitLateBookingPolicy.enabled` | `bookingPolicy.limitLateBookingPolicy.latestBookingInMinutes` | `bookingPolicy.bookAfterStartPolicy.enabled` | `bookingPolicy.cancellationPolicy.enabled` | `bookingPolicy.cancellationPolicy.limitLatestCancellation` | `bookingPolicy.cancellationPolicy.latestCancellationInMinutes` | `bookingPolicy.reschedulePolicy.enabled` | `bookingPolicy.reschedulePolicy.limitLatestReschedule` | `bookingPolicy.reschedulePolicy.latestRescheduleInMinutes` | `bookingPolicy.waitlistPolicy.enabled` | `bookingPolicy.waitlistPolicy.capacity` | `bookingPolicy.waitlistPolicy.reservationTimeInMinutes` | `bookingPolicy.participantsPolicy.maxParticipantsPerBooking` | `bookingPolicy.resourcesPolicy.enabled` | `bookingPolicy.resourcesPolicy.autoAssignAllowed` | `bookingPolicy.cancellationFeePolicy.enabled` | `bookingPolicy.cancellationFeePolicy.cancellationWindows` | `bookingPolicy.cancellationFeePolicy.cancellationWindows.${number}.percentage` | `bookingPolicy.saveCreditCardPolicy.enabled` | `schedule.availabilityConstraints.durations` | `schedule.availabilityConstraints.durations.${number}.minutes` | `schedule.availabilityConstraints.sessionDurations` | `schedule.availabilityConstraints.timeBetweenSessions` | `staffMemberIds` | `serviceResources` | `supportedSlugs` | `supportedSlugs.${number}.name` | `seoData.tags` | `seoData.tags.${number}.type` | `seoData.tags.${number}.children` | `seoData.tags.${number}.custom` | `seoData.tags.${number}.disabled` | `seoData.settings.preventAutoRedirect` | `seoData.settings.keywords` | `seoData.settings.keywords.${number}.term` | `seoData.settings.keywords.${number}.isMain` | `addOnGroups` | `addOnDetails` | `taxableAddress.taxableAddressType` | `connectedProductTagIds`, 6> & {
|
|
5061
5043
|
__validationErrorsType?: UpdateServiceValidationErrors;
|
|
5062
5044
|
}>;
|
|
5063
5045
|
interface UpdateService {
|
|
@@ -5159,13 +5141,14 @@ interface UpdateService {
|
|
|
5159
5141
|
*/
|
|
5160
5142
|
schedule?: Schedule;
|
|
5161
5143
|
/**
|
|
5162
|
-
* IDs of the [resources](https://dev.wix.com/docs/api-reference/business-solutions/bookings/resources/resources-v2/introduction)
|
|
5144
|
+
* IDs of the [resources](https://dev.wix.com/docs/api-reference/business-solutions/bookings/resources/resources-v2/introduction) associated with the [staff members](https://dev.wix.com/docs/api-reference/business-solutions/bookings/staff-members/staff-members/introduction) providing the service.
|
|
5163
5145
|
* Note that these are the resource IDs, not the staff member IDs.
|
|
5164
5146
|
*
|
|
5165
5147
|
* For appointment-based services, set this field when creating or updating the service.
|
|
5166
|
-
* For classes and courses, this field is read-only and is automatically derived from
|
|
5167
|
-
*
|
|
5168
|
-
*
|
|
5148
|
+
* For classes and courses, this field is read-only and is automatically derived from staff assigned to the service's recurring scheduled sessions.
|
|
5149
|
+
* Staff assigned only to single, non-recurring events are not included.
|
|
5150
|
+
* Once all of a staff member's upcoming recurring sessions have ended, their ID is removed from this field.
|
|
5151
|
+
* To retrieve the full list of staff for classes or courses, query the service's calendar events instead.
|
|
5169
5152
|
* Learn more about [retrieving staff for classes and courses](https://dev.wix.com/docs/api-reference/business-solutions/bookings/services/services-v2/sample-flows#retrieve-staff-members-for-a-class-or-course).
|
|
5170
5153
|
* @maxSize 220
|
|
5171
5154
|
* @format GUID
|
|
@@ -5229,6 +5212,11 @@ interface UpdateService {
|
|
|
5229
5212
|
addOnDetails?: AddOnDetails[];
|
|
5230
5213
|
/** Taxable address used to calculate tax */
|
|
5231
5214
|
taxableAddress?: TaxableAddress;
|
|
5215
|
+
/**
|
|
5216
|
+
* IDs of tags from Wix Tags service associated with this service.
|
|
5217
|
+
* @maxSize 3
|
|
5218
|
+
*/
|
|
5219
|
+
connectedProductTagIds?: string[];
|
|
5232
5220
|
}
|
|
5233
5221
|
/**
|
|
5234
5222
|
* Updates up to 100 services.
|
|
@@ -5987,7 +5975,7 @@ interface QueryCategoriesOptions {
|
|
|
5987
5975
|
* @applicableIdentity APP
|
|
5988
5976
|
* @fqn wix.bookings.services.v2.ServicesService.SetServiceLocations
|
|
5989
5977
|
*/
|
|
5990
|
-
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.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>>;
|
|
5978
|
+
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.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` | `service.connectedProductTagIds`, 7>>;
|
|
5991
5979
|
interface SetServiceLocationsOptions {
|
|
5992
5980
|
/**
|
|
5993
5981
|
* 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.
|
|
@@ -6024,7 +6012,7 @@ interface SetServiceLocationsOptions {
|
|
|
6024
6012
|
* @applicableIdentity APP
|
|
6025
6013
|
* @fqn wix.bookings.services.v2.ServicesService.EnablePricingPlansForService
|
|
6026
6014
|
*/
|
|
6027
|
-
declare function enablePricingPlansForService(serviceId: string, pricingPlanIds: string[]): Promise<NonNullablePaths<EnablePricingPlansForServiceResponse, `service.type` | `service.media.items` | `service.category._id` | `service.form._id` | `service.payment.fixed.price.value` | `service.payment.fixed.price.currency` | `service.payment.rateType` | `service.payment.pricingPlanIds` | `service.payment.addOnOption` | `service.locations` | `service.locations.${number}.business._id` | `service.locations.${number}.business.name` | `service.locations.${number}.custom._id` | `service.locations.${number}._id` | `service.locations.${number}.type` | `service.bookingPolicy._id` | `service.bookingPolicy.customPolicyDescription.enabled` | `service.bookingPolicy.customPolicyDescription.description` | `service.bookingPolicy.limitEarlyBookingPolicy.enabled` | `service.bookingPolicy.limitEarlyBookingPolicy.earliestBookingInMinutes` | `service.bookingPolicy.limitLateBookingPolicy.enabled` | `service.bookingPolicy.limitLateBookingPolicy.latestBookingInMinutes` | `service.bookingPolicy.bookAfterStartPolicy.enabled` | `service.bookingPolicy.cancellationPolicy.enabled` | `service.bookingPolicy.cancellationPolicy.limitLatestCancellation` | `service.bookingPolicy.cancellationPolicy.latestCancellationInMinutes` | `service.bookingPolicy.reschedulePolicy.enabled` | `service.bookingPolicy.reschedulePolicy.limitLatestReschedule` | `service.bookingPolicy.reschedulePolicy.latestRescheduleInMinutes` | `service.bookingPolicy.waitlistPolicy.enabled` | `service.bookingPolicy.waitlistPolicy.capacity` | `service.bookingPolicy.waitlistPolicy.reservationTimeInMinutes` | `service.bookingPolicy.participantsPolicy.maxParticipantsPerBooking` | `service.bookingPolicy.resourcesPolicy.enabled` | `service.bookingPolicy.resourcesPolicy.autoAssignAllowed` | `service.bookingPolicy.cancellationFeePolicy.enabled` | `service.bookingPolicy.cancellationFeePolicy.cancellationWindows` | `service.bookingPolicy.cancellationFeePolicy.cancellationWindows.${number}.percentage` | `service.bookingPolicy.saveCreditCardPolicy.enabled` | `service.schedule.availabilityConstraints.durations` | `service.schedule.availabilityConstraints.durations.${number}.minutes` | `service.schedule.availabilityConstraints.sessionDurations` | `service.schedule.availabilityConstraints.timeBetweenSessions` | `service.staffMemberIds` | `service.serviceResources` | `service.supportedSlugs` | `service.supportedSlugs.${number}.name` | `service.seoData.tags` | `service.seoData.tags.${number}.type` | `service.seoData.tags.${number}.children` | `service.seoData.tags.${number}.custom` | `service.seoData.tags.${number}.disabled` | `service.seoData.settings.preventAutoRedirect` | `service.seoData.settings.keywords` | `service.seoData.settings.keywords.${number}.term` | `service.seoData.settings.keywords.${number}.isMain` | `service.addOnGroups` | `service.addOnDetails` | `service.taxableAddress.taxableAddressType`, 7> & {
|
|
6015
|
+
declare function enablePricingPlansForService(serviceId: string, pricingPlanIds: string[]): Promise<NonNullablePaths<EnablePricingPlansForServiceResponse, `service.type` | `service.media.items` | `service.category._id` | `service.form._id` | `service.payment.fixed.price.value` | `service.payment.fixed.price.currency` | `service.payment.rateType` | `service.payment.pricingPlanIds` | `service.payment.addOnOption` | `service.locations` | `service.locations.${number}.business._id` | `service.locations.${number}.business.name` | `service.locations.${number}.custom._id` | `service.locations.${number}._id` | `service.locations.${number}.type` | `service.bookingPolicy._id` | `service.bookingPolicy.customPolicyDescription.enabled` | `service.bookingPolicy.customPolicyDescription.description` | `service.bookingPolicy.limitEarlyBookingPolicy.enabled` | `service.bookingPolicy.limitEarlyBookingPolicy.earliestBookingInMinutes` | `service.bookingPolicy.limitLateBookingPolicy.enabled` | `service.bookingPolicy.limitLateBookingPolicy.latestBookingInMinutes` | `service.bookingPolicy.bookAfterStartPolicy.enabled` | `service.bookingPolicy.cancellationPolicy.enabled` | `service.bookingPolicy.cancellationPolicy.limitLatestCancellation` | `service.bookingPolicy.cancellationPolicy.latestCancellationInMinutes` | `service.bookingPolicy.reschedulePolicy.enabled` | `service.bookingPolicy.reschedulePolicy.limitLatestReschedule` | `service.bookingPolicy.reschedulePolicy.latestRescheduleInMinutes` | `service.bookingPolicy.waitlistPolicy.enabled` | `service.bookingPolicy.waitlistPolicy.capacity` | `service.bookingPolicy.waitlistPolicy.reservationTimeInMinutes` | `service.bookingPolicy.participantsPolicy.maxParticipantsPerBooking` | `service.bookingPolicy.resourcesPolicy.enabled` | `service.bookingPolicy.resourcesPolicy.autoAssignAllowed` | `service.bookingPolicy.cancellationFeePolicy.enabled` | `service.bookingPolicy.cancellationFeePolicy.cancellationWindows` | `service.bookingPolicy.cancellationFeePolicy.cancellationWindows.${number}.percentage` | `service.bookingPolicy.saveCreditCardPolicy.enabled` | `service.schedule.availabilityConstraints.durations` | `service.schedule.availabilityConstraints.durations.${number}.minutes` | `service.schedule.availabilityConstraints.sessionDurations` | `service.schedule.availabilityConstraints.timeBetweenSessions` | `service.staffMemberIds` | `service.serviceResources` | `service.supportedSlugs` | `service.supportedSlugs.${number}.name` | `service.seoData.tags` | `service.seoData.tags.${number}.type` | `service.seoData.tags.${number}.children` | `service.seoData.tags.${number}.custom` | `service.seoData.tags.${number}.disabled` | `service.seoData.settings.preventAutoRedirect` | `service.seoData.settings.keywords` | `service.seoData.settings.keywords.${number}.term` | `service.seoData.settings.keywords.${number}.isMain` | `service.addOnGroups` | `service.addOnDetails` | `service.taxableAddress.taxableAddressType` | `service.connectedProductTagIds`, 7> & {
|
|
6028
6016
|
__applicationErrorsType?: EnablePricingPlansForServiceApplicationErrors;
|
|
6029
6017
|
}>;
|
|
6030
6018
|
/**
|
|
@@ -6041,7 +6029,7 @@ declare function enablePricingPlansForService(serviceId: string, pricingPlanIds:
|
|
|
6041
6029
|
* @applicableIdentity APP
|
|
6042
6030
|
* @fqn wix.bookings.services.v2.ServicesService.DisablePricingPlansForService
|
|
6043
6031
|
*/
|
|
6044
|
-
declare function disablePricingPlansForService(serviceId: string, options?: DisablePricingPlansForServiceOptions): Promise<NonNullablePaths<DisablePricingPlansForServiceResponse, `service.type` | `service.media.items` | `service.category._id` | `service.form._id` | `service.payment.fixed.price.value` | `service.payment.fixed.price.currency` | `service.payment.rateType` | `service.payment.pricingPlanIds` | `service.payment.addOnOption` | `service.locations` | `service.locations.${number}.business._id` | `service.locations.${number}.business.name` | `service.locations.${number}.custom._id` | `service.locations.${number}._id` | `service.locations.${number}.type` | `service.bookingPolicy._id` | `service.bookingPolicy.customPolicyDescription.enabled` | `service.bookingPolicy.customPolicyDescription.description` | `service.bookingPolicy.limitEarlyBookingPolicy.enabled` | `service.bookingPolicy.limitEarlyBookingPolicy.earliestBookingInMinutes` | `service.bookingPolicy.limitLateBookingPolicy.enabled` | `service.bookingPolicy.limitLateBookingPolicy.latestBookingInMinutes` | `service.bookingPolicy.bookAfterStartPolicy.enabled` | `service.bookingPolicy.cancellationPolicy.enabled` | `service.bookingPolicy.cancellationPolicy.limitLatestCancellation` | `service.bookingPolicy.cancellationPolicy.latestCancellationInMinutes` | `service.bookingPolicy.reschedulePolicy.enabled` | `service.bookingPolicy.reschedulePolicy.limitLatestReschedule` | `service.bookingPolicy.reschedulePolicy.latestRescheduleInMinutes` | `service.bookingPolicy.waitlistPolicy.enabled` | `service.bookingPolicy.waitlistPolicy.capacity` | `service.bookingPolicy.waitlistPolicy.reservationTimeInMinutes` | `service.bookingPolicy.participantsPolicy.maxParticipantsPerBooking` | `service.bookingPolicy.resourcesPolicy.enabled` | `service.bookingPolicy.resourcesPolicy.autoAssignAllowed` | `service.bookingPolicy.cancellationFeePolicy.enabled` | `service.bookingPolicy.cancellationFeePolicy.cancellationWindows` | `service.bookingPolicy.cancellationFeePolicy.cancellationWindows.${number}.percentage` | `service.bookingPolicy.saveCreditCardPolicy.enabled` | `service.schedule.availabilityConstraints.durations` | `service.schedule.availabilityConstraints.durations.${number}.minutes` | `service.schedule.availabilityConstraints.sessionDurations` | `service.schedule.availabilityConstraints.timeBetweenSessions` | `service.staffMemberIds` | `service.serviceResources` | `service.supportedSlugs` | `service.supportedSlugs.${number}.name` | `service.seoData.tags` | `service.seoData.tags.${number}.type` | `service.seoData.tags.${number}.children` | `service.seoData.tags.${number}.custom` | `service.seoData.tags.${number}.disabled` | `service.seoData.settings.preventAutoRedirect` | `service.seoData.settings.keywords` | `service.seoData.settings.keywords.${number}.term` | `service.seoData.settings.keywords.${number}.isMain` | `service.addOnGroups` | `service.addOnDetails` | `service.taxableAddress.taxableAddressType`, 7> & {
|
|
6032
|
+
declare function disablePricingPlansForService(serviceId: string, options?: DisablePricingPlansForServiceOptions): Promise<NonNullablePaths<DisablePricingPlansForServiceResponse, `service.type` | `service.media.items` | `service.category._id` | `service.form._id` | `service.payment.fixed.price.value` | `service.payment.fixed.price.currency` | `service.payment.rateType` | `service.payment.pricingPlanIds` | `service.payment.addOnOption` | `service.locations` | `service.locations.${number}.business._id` | `service.locations.${number}.business.name` | `service.locations.${number}.custom._id` | `service.locations.${number}._id` | `service.locations.${number}.type` | `service.bookingPolicy._id` | `service.bookingPolicy.customPolicyDescription.enabled` | `service.bookingPolicy.customPolicyDescription.description` | `service.bookingPolicy.limitEarlyBookingPolicy.enabled` | `service.bookingPolicy.limitEarlyBookingPolicy.earliestBookingInMinutes` | `service.bookingPolicy.limitLateBookingPolicy.enabled` | `service.bookingPolicy.limitLateBookingPolicy.latestBookingInMinutes` | `service.bookingPolicy.bookAfterStartPolicy.enabled` | `service.bookingPolicy.cancellationPolicy.enabled` | `service.bookingPolicy.cancellationPolicy.limitLatestCancellation` | `service.bookingPolicy.cancellationPolicy.latestCancellationInMinutes` | `service.bookingPolicy.reschedulePolicy.enabled` | `service.bookingPolicy.reschedulePolicy.limitLatestReschedule` | `service.bookingPolicy.reschedulePolicy.latestRescheduleInMinutes` | `service.bookingPolicy.waitlistPolicy.enabled` | `service.bookingPolicy.waitlistPolicy.capacity` | `service.bookingPolicy.waitlistPolicy.reservationTimeInMinutes` | `service.bookingPolicy.participantsPolicy.maxParticipantsPerBooking` | `service.bookingPolicy.resourcesPolicy.enabled` | `service.bookingPolicy.resourcesPolicy.autoAssignAllowed` | `service.bookingPolicy.cancellationFeePolicy.enabled` | `service.bookingPolicy.cancellationFeePolicy.cancellationWindows` | `service.bookingPolicy.cancellationFeePolicy.cancellationWindows.${number}.percentage` | `service.bookingPolicy.saveCreditCardPolicy.enabled` | `service.schedule.availabilityConstraints.durations` | `service.schedule.availabilityConstraints.durations.${number}.minutes` | `service.schedule.availabilityConstraints.sessionDurations` | `service.schedule.availabilityConstraints.timeBetweenSessions` | `service.staffMemberIds` | `service.serviceResources` | `service.supportedSlugs` | `service.supportedSlugs.${number}.name` | `service.seoData.tags` | `service.seoData.tags.${number}.type` | `service.seoData.tags.${number}.children` | `service.seoData.tags.${number}.custom` | `service.seoData.tags.${number}.disabled` | `service.seoData.settings.preventAutoRedirect` | `service.seoData.settings.keywords` | `service.seoData.settings.keywords.${number}.term` | `service.seoData.settings.keywords.${number}.isMain` | `service.addOnGroups` | `service.addOnDetails` | `service.taxableAddress.taxableAddressType` | `service.connectedProductTagIds`, 7> & {
|
|
6045
6033
|
__applicationErrorsType?: DisablePricingPlansForServiceApplicationErrors;
|
|
6046
6034
|
}>;
|
|
6047
6035
|
interface DisablePricingPlansForServiceOptions {
|
|
@@ -6069,7 +6057,7 @@ interface DisablePricingPlansForServiceOptions {
|
|
|
6069
6057
|
* @applicableIdentity APP
|
|
6070
6058
|
* @fqn wix.bookings.services.v2.ServicesService.SetCustomSlug
|
|
6071
6059
|
*/
|
|
6072
|
-
declare function setCustomSlug(serviceId: string, options?: SetCustomSlugOptions): Promise<NonNullablePaths<SetCustomSlugResponse, `slug.name` | `service.type` | `service.media.items` | `service.category._id` | `service.form._id` | `service.payment.fixed.price.value` | `service.payment.fixed.price.currency` | `service.payment.rateType` | `service.payment.pricingPlanIds` | `service.payment.addOnOption` | `service.locations` | `service.locations.${number}.business._id` | `service.locations.${number}.business.name` | `service.locations.${number}.custom._id` | `service.locations.${number}._id` | `service.locations.${number}.type` | `service.bookingPolicy._id` | `service.bookingPolicy.customPolicyDescription.enabled` | `service.bookingPolicy.customPolicyDescription.description` | `service.bookingPolicy.limitEarlyBookingPolicy.enabled` | `service.bookingPolicy.limitEarlyBookingPolicy.earliestBookingInMinutes` | `service.bookingPolicy.limitLateBookingPolicy.enabled` | `service.bookingPolicy.limitLateBookingPolicy.latestBookingInMinutes` | `service.bookingPolicy.bookAfterStartPolicy.enabled` | `service.bookingPolicy.cancellationPolicy.enabled` | `service.bookingPolicy.cancellationPolicy.limitLatestCancellation` | `service.bookingPolicy.cancellationPolicy.latestCancellationInMinutes` | `service.bookingPolicy.reschedulePolicy.enabled` | `service.bookingPolicy.reschedulePolicy.limitLatestReschedule` | `service.bookingPolicy.reschedulePolicy.latestRescheduleInMinutes` | `service.bookingPolicy.waitlistPolicy.enabled` | `service.bookingPolicy.waitlistPolicy.capacity` | `service.bookingPolicy.waitlistPolicy.reservationTimeInMinutes` | `service.bookingPolicy.participantsPolicy.maxParticipantsPerBooking` | `service.bookingPolicy.resourcesPolicy.enabled` | `service.bookingPolicy.resourcesPolicy.autoAssignAllowed` | `service.bookingPolicy.cancellationFeePolicy.enabled` | `service.bookingPolicy.cancellationFeePolicy.cancellationWindows` | `service.bookingPolicy.cancellationFeePolicy.cancellationWindows.${number}.percentage` | `service.bookingPolicy.saveCreditCardPolicy.enabled` | `service.schedule.availabilityConstraints.durations` | `service.schedule.availabilityConstraints.durations.${number}.minutes` | `service.schedule.availabilityConstraints.sessionDurations` | `service.schedule.availabilityConstraints.timeBetweenSessions` | `service.staffMemberIds` | `service.serviceResources` | `service.supportedSlugs` | `service.supportedSlugs.${number}.name` | `service.seoData.tags` | `service.seoData.tags.${number}.type` | `service.seoData.tags.${number}.children` | `service.seoData.tags.${number}.custom` | `service.seoData.tags.${number}.disabled` | `service.seoData.settings.preventAutoRedirect` | `service.seoData.settings.keywords` | `service.seoData.settings.keywords.${number}.term` | `service.seoData.settings.keywords.${number}.isMain` | `service.addOnGroups` | `service.addOnDetails` | `service.taxableAddress.taxableAddressType`, 7> & {
|
|
6060
|
+
declare function setCustomSlug(serviceId: string, options?: SetCustomSlugOptions): Promise<NonNullablePaths<SetCustomSlugResponse, `slug.name` | `service.type` | `service.media.items` | `service.category._id` | `service.form._id` | `service.payment.fixed.price.value` | `service.payment.fixed.price.currency` | `service.payment.rateType` | `service.payment.pricingPlanIds` | `service.payment.addOnOption` | `service.locations` | `service.locations.${number}.business._id` | `service.locations.${number}.business.name` | `service.locations.${number}.custom._id` | `service.locations.${number}._id` | `service.locations.${number}.type` | `service.bookingPolicy._id` | `service.bookingPolicy.customPolicyDescription.enabled` | `service.bookingPolicy.customPolicyDescription.description` | `service.bookingPolicy.limitEarlyBookingPolicy.enabled` | `service.bookingPolicy.limitEarlyBookingPolicy.earliestBookingInMinutes` | `service.bookingPolicy.limitLateBookingPolicy.enabled` | `service.bookingPolicy.limitLateBookingPolicy.latestBookingInMinutes` | `service.bookingPolicy.bookAfterStartPolicy.enabled` | `service.bookingPolicy.cancellationPolicy.enabled` | `service.bookingPolicy.cancellationPolicy.limitLatestCancellation` | `service.bookingPolicy.cancellationPolicy.latestCancellationInMinutes` | `service.bookingPolicy.reschedulePolicy.enabled` | `service.bookingPolicy.reschedulePolicy.limitLatestReschedule` | `service.bookingPolicy.reschedulePolicy.latestRescheduleInMinutes` | `service.bookingPolicy.waitlistPolicy.enabled` | `service.bookingPolicy.waitlistPolicy.capacity` | `service.bookingPolicy.waitlistPolicy.reservationTimeInMinutes` | `service.bookingPolicy.participantsPolicy.maxParticipantsPerBooking` | `service.bookingPolicy.resourcesPolicy.enabled` | `service.bookingPolicy.resourcesPolicy.autoAssignAllowed` | `service.bookingPolicy.cancellationFeePolicy.enabled` | `service.bookingPolicy.cancellationFeePolicy.cancellationWindows` | `service.bookingPolicy.cancellationFeePolicy.cancellationWindows.${number}.percentage` | `service.bookingPolicy.saveCreditCardPolicy.enabled` | `service.schedule.availabilityConstraints.durations` | `service.schedule.availabilityConstraints.durations.${number}.minutes` | `service.schedule.availabilityConstraints.sessionDurations` | `service.schedule.availabilityConstraints.timeBetweenSessions` | `service.staffMemberIds` | `service.serviceResources` | `service.supportedSlugs` | `service.supportedSlugs.${number}.name` | `service.seoData.tags` | `service.seoData.tags.${number}.type` | `service.seoData.tags.${number}.children` | `service.seoData.tags.${number}.custom` | `service.seoData.tags.${number}.disabled` | `service.seoData.settings.preventAutoRedirect` | `service.seoData.settings.keywords` | `service.seoData.settings.keywords.${number}.term` | `service.seoData.settings.keywords.${number}.isMain` | `service.addOnGroups` | `service.addOnDetails` | `service.taxableAddress.taxableAddressType` | `service.connectedProductTagIds`, 7> & {
|
|
6073
6061
|
__applicationErrorsType?: SetCustomSlugApplicationErrors;
|
|
6074
6062
|
__validationErrorsType?: SetCustomSlugValidationErrors;
|
|
6075
6063
|
}>;
|
|
@@ -6163,7 +6151,7 @@ interface ValidateSlugOptions {
|
|
|
6163
6151
|
* @applicableIdentity APP
|
|
6164
6152
|
* @fqn wix.bookings.services.v2.ServicesService.CloneService
|
|
6165
6153
|
*/
|
|
6166
|
-
declare function cloneService(sourceServiceId: string): Promise<NonNullablePaths<CloneServiceResponse, `service.type` | `service.media.items` | `service.category._id` | `service.form._id` | `service.payment.fixed.price.value` | `service.payment.fixed.price.currency` | `service.payment.rateType` | `service.payment.pricingPlanIds` | `service.payment.addOnOption` | `service.locations` | `service.locations.${number}.business._id` | `service.locations.${number}.business.name` | `service.locations.${number}.custom._id` | `service.locations.${number}._id` | `service.locations.${number}.type` | `service.bookingPolicy._id` | `service.bookingPolicy.customPolicyDescription.enabled` | `service.bookingPolicy.customPolicyDescription.description` | `service.bookingPolicy.limitEarlyBookingPolicy.enabled` | `service.bookingPolicy.limitEarlyBookingPolicy.earliestBookingInMinutes` | `service.bookingPolicy.limitLateBookingPolicy.enabled` | `service.bookingPolicy.limitLateBookingPolicy.latestBookingInMinutes` | `service.bookingPolicy.bookAfterStartPolicy.enabled` | `service.bookingPolicy.cancellationPolicy.enabled` | `service.bookingPolicy.cancellationPolicy.limitLatestCancellation` | `service.bookingPolicy.cancellationPolicy.latestCancellationInMinutes` | `service.bookingPolicy.reschedulePolicy.enabled` | `service.bookingPolicy.reschedulePolicy.limitLatestReschedule` | `service.bookingPolicy.reschedulePolicy.latestRescheduleInMinutes` | `service.bookingPolicy.waitlistPolicy.enabled` | `service.bookingPolicy.waitlistPolicy.capacity` | `service.bookingPolicy.waitlistPolicy.reservationTimeInMinutes` | `service.bookingPolicy.participantsPolicy.maxParticipantsPerBooking` | `service.bookingPolicy.resourcesPolicy.enabled` | `service.bookingPolicy.resourcesPolicy.autoAssignAllowed` | `service.bookingPolicy.cancellationFeePolicy.enabled` | `service.bookingPolicy.cancellationFeePolicy.cancellationWindows` | `service.bookingPolicy.cancellationFeePolicy.cancellationWindows.${number}.percentage` | `service.bookingPolicy.saveCreditCardPolicy.enabled` | `service.schedule.availabilityConstraints.durations` | `service.schedule.availabilityConstraints.durations.${number}.minutes` | `service.schedule.availabilityConstraints.sessionDurations` | `service.schedule.availabilityConstraints.timeBetweenSessions` | `service.staffMemberIds` | `service.serviceResources` | `service.supportedSlugs` | `service.supportedSlugs.${number}.name` | `service.seoData.tags` | `service.seoData.tags.${number}.type` | `service.seoData.tags.${number}.children` | `service.seoData.tags.${number}.custom` | `service.seoData.tags.${number}.disabled` | `service.seoData.settings.preventAutoRedirect` | `service.seoData.settings.keywords` | `service.seoData.settings.keywords.${number}.term` | `service.seoData.settings.keywords.${number}.isMain` | `service.addOnGroups` | `service.addOnDetails` | `service.taxableAddress.taxableAddressType` | `errors`, 7>>;
|
|
6154
|
+
declare function cloneService(sourceServiceId: string): Promise<NonNullablePaths<CloneServiceResponse, `service.type` | `service.media.items` | `service.category._id` | `service.form._id` | `service.payment.fixed.price.value` | `service.payment.fixed.price.currency` | `service.payment.rateType` | `service.payment.pricingPlanIds` | `service.payment.addOnOption` | `service.locations` | `service.locations.${number}.business._id` | `service.locations.${number}.business.name` | `service.locations.${number}.custom._id` | `service.locations.${number}._id` | `service.locations.${number}.type` | `service.bookingPolicy._id` | `service.bookingPolicy.customPolicyDescription.enabled` | `service.bookingPolicy.customPolicyDescription.description` | `service.bookingPolicy.limitEarlyBookingPolicy.enabled` | `service.bookingPolicy.limitEarlyBookingPolicy.earliestBookingInMinutes` | `service.bookingPolicy.limitLateBookingPolicy.enabled` | `service.bookingPolicy.limitLateBookingPolicy.latestBookingInMinutes` | `service.bookingPolicy.bookAfterStartPolicy.enabled` | `service.bookingPolicy.cancellationPolicy.enabled` | `service.bookingPolicy.cancellationPolicy.limitLatestCancellation` | `service.bookingPolicy.cancellationPolicy.latestCancellationInMinutes` | `service.bookingPolicy.reschedulePolicy.enabled` | `service.bookingPolicy.reschedulePolicy.limitLatestReschedule` | `service.bookingPolicy.reschedulePolicy.latestRescheduleInMinutes` | `service.bookingPolicy.waitlistPolicy.enabled` | `service.bookingPolicy.waitlistPolicy.capacity` | `service.bookingPolicy.waitlistPolicy.reservationTimeInMinutes` | `service.bookingPolicy.participantsPolicy.maxParticipantsPerBooking` | `service.bookingPolicy.resourcesPolicy.enabled` | `service.bookingPolicy.resourcesPolicy.autoAssignAllowed` | `service.bookingPolicy.cancellationFeePolicy.enabled` | `service.bookingPolicy.cancellationFeePolicy.cancellationWindows` | `service.bookingPolicy.cancellationFeePolicy.cancellationWindows.${number}.percentage` | `service.bookingPolicy.saveCreditCardPolicy.enabled` | `service.schedule.availabilityConstraints.durations` | `service.schedule.availabilityConstraints.durations.${number}.minutes` | `service.schedule.availabilityConstraints.sessionDurations` | `service.schedule.availabilityConstraints.timeBetweenSessions` | `service.staffMemberIds` | `service.serviceResources` | `service.supportedSlugs` | `service.supportedSlugs.${number}.name` | `service.seoData.tags` | `service.seoData.tags.${number}.type` | `service.seoData.tags.${number}.children` | `service.seoData.tags.${number}.custom` | `service.seoData.tags.${number}.disabled` | `service.seoData.settings.preventAutoRedirect` | `service.seoData.settings.keywords` | `service.seoData.settings.keywords.${number}.term` | `service.seoData.settings.keywords.${number}.isMain` | `service.addOnGroups` | `service.addOnDetails` | `service.taxableAddress.taxableAddressType` | `service.connectedProductTagIds` | `errors`, 7>>;
|
|
6167
6155
|
/**
|
|
6168
6156
|
* Creates a new add-on group for a service and updates the service's `addOnGroups` array.
|
|
6169
6157
|
* @param addOnGroup - Add-on group to create.
|
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, G as SetCustomSlugOptions, H as SetCustomSlugResponse, I as SetCustomSlugApplicationErrors, J as SetCustomSlugValidationErrors, V as ValidateSlugOptions, K as ValidateSlugResponse, L as CloneServiceResponse, M as AddOnGroup, N as CreateAddOnGroupOptions, O as CreateAddOnGroupResponse, P as DeleteAddOnGroupOptions, R as DeleteAddOnGroupApplicationErrors, T as UpdateAddOnGroupOptions, W as UpdateAddOnGroupResponse, X as UpdateAddOnGroupApplicationErrors, Y as ListAddOnGroupsByServiceIdOptions, Z as ListAddOnGroupsByServiceIdResponse, _ as SetAddOnsForGroupOptions, $ as SetAddOnsForGroupResponse, a0 as SetAddOnsForGroupApplicationErrors, a1 as ServiceCreatedEnvelope, a2 as ServiceDeletedEnvelope, a3 as ServiceUpdatedEnvelope, a4 as ServiceQuery, a5 as QueryServicesOptions, a6 as typedQueryServices, a7 as ServicesQueryBuilder } from './bookings-services-v2-service-services.universal-
|
|
3
|
-
export { cz as AccountInfo, eW as AccountInfoMetadata, aG as Action, cv as ActionEvent, fx as ActionWithLiterals, as as Actor, fj as ActorWithLiterals, eQ as AddOn, eR as AddOnAddOnInfoOneOf, bR as AddOnDetails, eS as AddOnGroupDetail, ac as AddOnPaymentOptions, f3 as AddOnPaymentOptionsWithLiterals, c7 as Address, ex as AddressHint, ca as AddressLocation, c8 as AddressStreetOneOf, da as Aggregation, dr as AggregationData, db as AggregationKindOneOf, dM as AggregationResults, dN as AggregationResultsResultOneOf, dL as AggregationResultsScalarDateResult, dy as AggregationResultsScalarResult, aD as AggregationType, fu as AggregationTypeWithLiterals, cI as ApplicationError, bz as AvailabilityConstraints, eU as BaseEventMetadata, em as Behavior, en as BehaviorBehaviorOneOf, ei as Benefit, eh as BenefitNotification, aL as BenefitType, fC as BenefitTypeWithLiterals, bj as BookAfterStartPolicy, co as BookedAddOn, b_ as BookedEntity, b$ as BookedEntityItemOneOf, c1 as BookedResource, c5 as BookedSchedule, c0 as BookedSlot, bY as Booking, dS as BookingForm, bZ as BookingParticipantsInfoOneOf, bf as BookingPolicy, dQ as BookingPolicyWithServices, cd as BookingSource, ao as BookingStatus, ff as BookingStatusWithLiterals, cJ as BulkActionMetadata, cF as BulkCreateServicesRequest, cZ as BulkDeleteServicesByFilterRequest, cY as BulkDeleteServicesRequest, cG as BulkServiceResult, cU as BulkUpdateServicesByFilterRequest, cS as BulkUpdateServicesRequest, bd as BusinessLocationOptions, dY as BusinessLocations, ez as BusinessSchedule, bp as CancellationFeePolicy, bk as CancellationPolicy, bq as CancellationWindow, br as CancellationWindowFeeOneOf, eu as Categories, ef as Category, ee as CategoryNotification, aK as CategoryNotificationEvent, fB as CategoryNotificationEventWithLiterals, eG as ChangeContext, eH as ChangeContextPayloadOneOf, aI as CloneErrors, fz as CloneErrorsWithLiterals, ed as CloneServiceRequest, b9 as CommonAddress, bc as CommonAddressLocation, ba as CommonAddressStreetOneOf, cf as CommonIdentificationData, cg as CommonIdentificationDataIdOneOf, fI as CommonQueryWithEntityContext, fJ as CommonSearchWithEntityContext, bb as CommonStreetAddress, ah as CompletionRequirement, f8 as CompletionRequirementWithLiterals, b6 as Conferencing, dU as ConnectedService, eE as ConsentPolicy, c6 as ContactDetails, dV as CountServicesRequest, eL as CreateAddOnGroupRequest, cA as CreateServiceRequest, cB as CreateServiceResponse, aN as CrudType, fE as CrudTypeWithLiterals, d3 as CursorPaging, dq as CursorPagingMetadata, dP as CursorQueryPagingMethodOneOf, d8 as CursorSearch, d9 as CursorSearchPagingMethodOneOf, d6 as Cursors, cc as CustomFormField, be as CustomLocationOptions, dZ as CustomLocations, bw as CustomOptions, a$ as CustomPayment, d_ as CustomerLocations, di as DateHistogramAggregation, dH as DateHistogramResult, dJ as DateHistogramResults, aP as DayOfWeek, fG as DayOfWeekWithLiterals, eM as DeleteAddOnGroupRequest, eN as DeleteAddOnGroupResponse, cV as DeleteServiceRequest, cX as DeleteServiceResponse, ea as DisablePricingPlansForServiceRequest, ek as Discount, el as DiscountDiscountOneOf, b4 as DiscountInfo, cp as DomainEvent, cq as DomainEventBodyOneOf, bW as DummyRequest, bX as DummyResponse, cm as Duration, eg as Empty, e7 as EnablePricingPlansForServiceRequest, cr as EntityCreatedEvent, cu as EntityDeletedEvent, ct as EntityUpdatedEvent, ej as EntryPass, aM as Event, eV as EventMetadata, fD as EventWithLiterals, bM as ExtendedFields, cE as FieldViolation, ab as FirstChargeDateType, f2 as FirstChargeDateTypeWithLiterals, aZ as FixedPayment, ch as FlowControlSettings, aV as Form, dT as FormDetails, aW as FormSettings, aa as FrequencyType, f1 as FrequencyTypeWithLiterals, b2 as FullUpfrontPayment, ey as GeoCoordinates, cM as GetServiceAvailabilityConstraintsRequest, cN as GetServiceAvailabilityConstraintsResponse, cK as GetServiceRequest, cL as GetServiceResponse, dm as GroupByAggregation, dn as GroupByAggregationKindOneOf, dI as GroupByValueResults, ep as HtmlSitePublished, cx as IdentificationData, cy as IdentificationDataIdOneOf, at as IdentityType, fk as IdentityTypeWithLiterals, dd as IncludeMissingValuesOptions, bx as IntakeFormPolicy, aC as Interval, ft as IntervalWithLiterals, e9 as InvalidPricingPlan, aH as InvalidSlugError, fy as InvalidSlugErrorWithLiterals, cH as ItemMetadata, bO as Keyword, bh as LimitEarlyBookingPolicy, bi as LimitLateBookingPolicy, eP as ListAddOnGroupsByServiceIdRequest, ev as Locale, c2 as Location, al as LocationType, ad as LocationTypeEnumLocationType, f4 as LocationTypeEnumLocationTypeWithLiterals, fc as LocationTypeWithLiterals, cT as MaskedService, aR as Media, aS as MediaItem, aT as MediaItemItemOneOf, cw as MessageEnvelope, az as MissingValues, fq as MissingValuesWithLiterals, aE as Mode, fv as ModeWithLiterals, a_ as Money, e6 as MoveToNewLocationsOptions, cn as MultiServiceBookingInfo, aj as MultiServiceBookingType, fa as MultiServiceBookingTypeWithLiterals, eC as Multilingual, dl as NestedAggregation, dj as NestedAggregationItem, dk as NestedAggregationItemKindOneOf, du as NestedAggregationResults, dv as NestedAggregationResultsResultOneOf, aB as NestedAggregationType, fs as NestedAggregationTypeWithLiterals, dE as NestedResultValue, dF as NestedResultValueResultOneOf, dK as NestedResults, dz as NestedValueAggregationResult, b5 as OnlineBooking, eq as Page, d2 as Paging, d5 as PagingMetadataV2, ci as ParticipantChoices, ce as ParticipantNotification, bn as ParticipantsPolicy, aX as Payment, b3 as PaymentOptions, aY as PaymentRateOneOf, ap as PaymentStatus, fg as PaymentStatusWithLiterals, c3 as PhoneCall, aO as PlacementType, fF as PlacementTypeWithLiterals, ar as Platform, fi as PlatformWithLiterals, bg as PolicyDescription, e8 as PricingPlanSelection, et as Properties, eI as PropertiesChange, dR as QueryBookingFormsRequest, e0 as QueryCategoriesFilter, d$ as QueryCategoriesRequest, dX as QueryLocationsFilter, dW as QueryLocationsRequest, dO as QueryPoliciesRequest, e1 as QueryServicesMultiLanguageRequest, e2 as QueryServicesMultiLanguageResponse, c_ as QueryServicesRequest, d4 as QueryServicesResponse, c$ as QueryV2, d0 as QueryV2PagingMethodOneOf, dg as RangeAggregation, dt as RangeAggregationResult, dc as RangeBucket, dB as RangeResult, dx as RangeResults, bv as RankingOptions, ae as RankingOrder, f5 as RankingOrderWithLiterals, a9 as RateType, f0 as RateTypeWithLiterals, e4 as RemovedLocationSessionsAction, e5 as RemovedLocationSessionsActionActionOptionsOneOf, aF as RequestedFields, fw as RequestedFieldsWithLiterals, bl as ReschedulePolicy, aQ as ResolutionMethod, fH as ResolutionMethodWithLiterals, bF as ResourceGroup, bG as ResourceIds, c4 as ResourceSelection, ak as ResourceTransparency, fb as ResourceTransparencyWithLiterals, bJ as ResourceType, bo as ResourcesPolicy, cs as RestoreInfo, dG as Results, bs as SaveCreditCardPolicy, dh as ScalarAggregation, dD as ScalarDateResult, dC as ScalarResult, aA as ScalarType, fr as ScalarTypeWithLiterals, by as Schedule, dp as SearchDetails, d7 as SearchServicesRequest, aq as SelectedPaymentOption, fh as SelectedPaymentOptionWithLiterals, am as SelectionMethod, fd as SelectionMethodWithLiterals, bN as SeoSchema, cO as ServiceAvailabilityConstraints, ck as ServiceChoice, cl as ServiceChoiceChoiceOneOf, cj as ServiceChoices, eY as ServiceQuerySpec, bH as ServiceResource, bI as ServiceResourceSelectionOneOf, eZ as ServiceSearchSpec, a8 as ServiceType, e$ as ServiceTypeWithLiterals, eX as ServicesQueryResult, bV as ServicesUrlsChanged, eT as SetAddOnsForGroupRequest, bU as SetCustomSlugEvent, eb as SetCustomSlugRequest, e3 as SetServiceLocationsRequest, bQ as Settings, eK as SiteCloned, eJ as SiteCreated, es as SitePropertiesEvent, er as SitePropertiesNotification, bK as Slug, ay as SortDirection, fp as SortDirectionWithLiterals, aw as SortOrder, fn as SortOrderWithLiterals, ax as SortType, fo as SortTypeWithLiterals, d1 as Sorting, af as SortingMethodType, f6 as SortingMethodTypeWithLiterals, eB as SpecialHourPeriod, cP as SplitInterval, bC as StaffMediaItem, bD as StaffMediaItemItemOneOf, bB as StaffMember, bE as StaffMemberDetails, bt as StaffSortingPolicy, bu as StaffSortingPolicyOptionsOneOf, aJ as Status, fA as StatusWithLiterals, c9 as StreetAddress, cb as Subdivision, b1 as SubscriptionPayment, eD as SupportedLanguage, bP as Tag, bS as TaxableAddress, ai as TaxableAddressType, f9 as TaxableAddressTypeWithLiterals, eA as TimePeriod, ag as Timing, f7 as TimingWithLiterals, eF as Translation, bL as URLs, eO as UpdateAddOnGroupRequest, cQ as UpdateServiceRequest, cR as UpdateServiceResponse, eo as UserDomainInfoChangedEvent, aU as V2Category, bA as V2Duration, b7 as V2Location, b8 as V2LocationOptionsOneOf, cW as V2ParticipantNotification, bT as V2PhoneCall, av as V2RequestedFields, fm as V2RequestedFieldsWithLiterals, ew as V4Address, cC as ValidateServiceRequest, cD as ValidateServiceResponse, ec as ValidateSlugRequest, de as ValueAggregation, df as ValueAggregationOptionsOneOf, ds as ValueAggregationResult, dA as ValueResult, dw as ValueResults, an as ValueType, fe as ValueTypeWithLiterals, b0 as VariedPayment, bm as WaitlistPolicy, au as WebhookIdentityType, fl as WebhookIdentityTypeWithLiterals, e_ as utils } from './bookings-services-v2-service-services.universal-
|
|
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, G as SetCustomSlugOptions, H as SetCustomSlugResponse, I as SetCustomSlugApplicationErrors, J as SetCustomSlugValidationErrors, V as ValidateSlugOptions, K as ValidateSlugResponse, L as CloneServiceResponse, M as AddOnGroup, N as CreateAddOnGroupOptions, O as CreateAddOnGroupResponse, P as DeleteAddOnGroupOptions, R as DeleteAddOnGroupApplicationErrors, T as UpdateAddOnGroupOptions, W as UpdateAddOnGroupResponse, X as UpdateAddOnGroupApplicationErrors, Y as ListAddOnGroupsByServiceIdOptions, Z as ListAddOnGroupsByServiceIdResponse, _ as SetAddOnsForGroupOptions, $ as SetAddOnsForGroupResponse, a0 as SetAddOnsForGroupApplicationErrors, a1 as ServiceCreatedEnvelope, a2 as ServiceDeletedEnvelope, a3 as ServiceUpdatedEnvelope, a4 as ServiceQuery, a5 as QueryServicesOptions, a6 as typedQueryServices, a7 as ServicesQueryBuilder } from './bookings-services-v2-service-services.universal-DCFqBaaN.js';
|
|
3
|
+
export { cz as AccountInfo, eW as AccountInfoMetadata, aG as Action, cv as ActionEvent, fx as ActionWithLiterals, as as Actor, fj as ActorWithLiterals, eQ as AddOn, eR as AddOnAddOnInfoOneOf, bR as AddOnDetails, eS as AddOnGroupDetail, ac as AddOnPaymentOptions, f3 as AddOnPaymentOptionsWithLiterals, c7 as Address, ex as AddressHint, ca as AddressLocation, c8 as AddressStreetOneOf, da as Aggregation, dr as AggregationData, db as AggregationKindOneOf, dM as AggregationResults, dN as AggregationResultsResultOneOf, dL as AggregationResultsScalarDateResult, dy as AggregationResultsScalarResult, aD as AggregationType, fu as AggregationTypeWithLiterals, cI as ApplicationError, bz as AvailabilityConstraints, eU as BaseEventMetadata, em as Behavior, en as BehaviorBehaviorOneOf, ei as Benefit, eh as BenefitNotification, aL as BenefitType, fC as BenefitTypeWithLiterals, bj as BookAfterStartPolicy, co as BookedAddOn, b_ as BookedEntity, b$ as BookedEntityItemOneOf, c1 as BookedResource, c5 as BookedSchedule, c0 as BookedSlot, bY as Booking, dS as BookingForm, bZ as BookingParticipantsInfoOneOf, bf as BookingPolicy, dQ as BookingPolicyWithServices, cd as BookingSource, ao as BookingStatus, ff as BookingStatusWithLiterals, cJ as BulkActionMetadata, cF as BulkCreateServicesRequest, cZ as BulkDeleteServicesByFilterRequest, cY as BulkDeleteServicesRequest, cG as BulkServiceResult, cU as BulkUpdateServicesByFilterRequest, cS as BulkUpdateServicesRequest, bd as BusinessLocationOptions, dY as BusinessLocations, ez as BusinessSchedule, bp as CancellationFeePolicy, bk as CancellationPolicy, bq as CancellationWindow, br as CancellationWindowFeeOneOf, eu as Categories, ef as Category, ee as CategoryNotification, aK as CategoryNotificationEvent, fB as CategoryNotificationEventWithLiterals, eG as ChangeContext, eH as ChangeContextPayloadOneOf, aI as CloneErrors, fz as CloneErrorsWithLiterals, ed as CloneServiceRequest, b9 as CommonAddress, bc as CommonAddressLocation, ba as CommonAddressStreetOneOf, cf as CommonIdentificationData, cg as CommonIdentificationDataIdOneOf, fI as CommonQueryWithEntityContext, fJ as CommonSearchWithEntityContext, bb as CommonStreetAddress, ah as CompletionRequirement, f8 as CompletionRequirementWithLiterals, b6 as Conferencing, dU as ConnectedService, eE as ConsentPolicy, c6 as ContactDetails, dV as CountServicesRequest, eL as CreateAddOnGroupRequest, cA as CreateServiceRequest, cB as CreateServiceResponse, aN as CrudType, fE as CrudTypeWithLiterals, d3 as CursorPaging, dq as CursorPagingMetadata, dP as CursorQueryPagingMethodOneOf, d8 as CursorSearch, d9 as CursorSearchPagingMethodOneOf, d6 as Cursors, cc as CustomFormField, be as CustomLocationOptions, dZ as CustomLocations, bw as CustomOptions, a$ as CustomPayment, d_ as CustomerLocations, di as DateHistogramAggregation, dH as DateHistogramResult, dJ as DateHistogramResults, aP as DayOfWeek, fG as DayOfWeekWithLiterals, eM as DeleteAddOnGroupRequest, eN as DeleteAddOnGroupResponse, cV as DeleteServiceRequest, cX as DeleteServiceResponse, ea as DisablePricingPlansForServiceRequest, ek as Discount, el as DiscountDiscountOneOf, b4 as DiscountInfo, cp as DomainEvent, cq as DomainEventBodyOneOf, bW as DummyRequest, bX as DummyResponse, cm as Duration, eg as Empty, e7 as EnablePricingPlansForServiceRequest, cr as EntityCreatedEvent, cu as EntityDeletedEvent, ct as EntityUpdatedEvent, ej as EntryPass, aM as Event, eV as EventMetadata, fD as EventWithLiterals, bM as ExtendedFields, cE as FieldViolation, ab as FirstChargeDateType, f2 as FirstChargeDateTypeWithLiterals, aZ as FixedPayment, ch as FlowControlSettings, aV as Form, dT as FormDetails, aW as FormSettings, aa as FrequencyType, f1 as FrequencyTypeWithLiterals, b2 as FullUpfrontPayment, ey as GeoCoordinates, cM as GetServiceAvailabilityConstraintsRequest, cN as GetServiceAvailabilityConstraintsResponse, cK as GetServiceRequest, cL as GetServiceResponse, dm as GroupByAggregation, dn as GroupByAggregationKindOneOf, dI as GroupByValueResults, ep as HtmlSitePublished, cx as IdentificationData, cy as IdentificationDataIdOneOf, at as IdentityType, fk as IdentityTypeWithLiterals, dd as IncludeMissingValuesOptions, bx as IntakeFormPolicy, aC as Interval, ft as IntervalWithLiterals, e9 as InvalidPricingPlan, aH as InvalidSlugError, fy as InvalidSlugErrorWithLiterals, cH as ItemMetadata, bO as Keyword, bh as LimitEarlyBookingPolicy, bi as LimitLateBookingPolicy, eP as ListAddOnGroupsByServiceIdRequest, ev as Locale, c2 as Location, al as LocationType, ad as LocationTypeEnumLocationType, f4 as LocationTypeEnumLocationTypeWithLiterals, fc as LocationTypeWithLiterals, cT as MaskedService, aR as Media, aS as MediaItem, aT as MediaItemItemOneOf, cw as MessageEnvelope, az as MissingValues, fq as MissingValuesWithLiterals, aE as Mode, fv as ModeWithLiterals, a_ as Money, e6 as MoveToNewLocationsOptions, cn as MultiServiceBookingInfo, aj as MultiServiceBookingType, fa as MultiServiceBookingTypeWithLiterals, eC as Multilingual, dl as NestedAggregation, dj as NestedAggregationItem, dk as NestedAggregationItemKindOneOf, du as NestedAggregationResults, dv as NestedAggregationResultsResultOneOf, aB as NestedAggregationType, fs as NestedAggregationTypeWithLiterals, dE as NestedResultValue, dF as NestedResultValueResultOneOf, dK as NestedResults, dz as NestedValueAggregationResult, b5 as OnlineBooking, eq as Page, d2 as Paging, d5 as PagingMetadataV2, ci as ParticipantChoices, ce as ParticipantNotification, bn as ParticipantsPolicy, aX as Payment, b3 as PaymentOptions, aY as PaymentRateOneOf, ap as PaymentStatus, fg as PaymentStatusWithLiterals, c3 as PhoneCall, aO as PlacementType, fF as PlacementTypeWithLiterals, ar as Platform, fi as PlatformWithLiterals, bg as PolicyDescription, e8 as PricingPlanSelection, et as Properties, eI as PropertiesChange, dR as QueryBookingFormsRequest, e0 as QueryCategoriesFilter, d$ as QueryCategoriesRequest, dX as QueryLocationsFilter, dW as QueryLocationsRequest, dO as QueryPoliciesRequest, e1 as QueryServicesMultiLanguageRequest, e2 as QueryServicesMultiLanguageResponse, c_ as QueryServicesRequest, d4 as QueryServicesResponse, c$ as QueryV2, d0 as QueryV2PagingMethodOneOf, dg as RangeAggregation, dt as RangeAggregationResult, dc as RangeBucket, dB as RangeResult, dx as RangeResults, bv as RankingOptions, ae as RankingOrder, f5 as RankingOrderWithLiterals, a9 as RateType, f0 as RateTypeWithLiterals, e4 as RemovedLocationSessionsAction, e5 as RemovedLocationSessionsActionActionOptionsOneOf, aF as RequestedFields, fw as RequestedFieldsWithLiterals, bl as ReschedulePolicy, aQ as ResolutionMethod, fH as ResolutionMethodWithLiterals, bF as ResourceGroup, bG as ResourceIds, c4 as ResourceSelection, ak as ResourceTransparency, fb as ResourceTransparencyWithLiterals, bJ as ResourceType, bo as ResourcesPolicy, cs as RestoreInfo, dG as Results, bs as SaveCreditCardPolicy, dh as ScalarAggregation, dD as ScalarDateResult, dC as ScalarResult, aA as ScalarType, fr as ScalarTypeWithLiterals, by as Schedule, dp as SearchDetails, d7 as SearchServicesRequest, aq as SelectedPaymentOption, fh as SelectedPaymentOptionWithLiterals, am as SelectionMethod, fd as SelectionMethodWithLiterals, bN as SeoSchema, cO as ServiceAvailabilityConstraints, ck as ServiceChoice, cl as ServiceChoiceChoiceOneOf, cj as ServiceChoices, eY as ServiceQuerySpec, bH as ServiceResource, bI as ServiceResourceSelectionOneOf, eZ as ServiceSearchSpec, a8 as ServiceType, e$ as ServiceTypeWithLiterals, eX as ServicesQueryResult, bV as ServicesUrlsChanged, eT as SetAddOnsForGroupRequest, bU as SetCustomSlugEvent, eb as SetCustomSlugRequest, e3 as SetServiceLocationsRequest, bQ as Settings, eK as SiteCloned, eJ as SiteCreated, es as SitePropertiesEvent, er as SitePropertiesNotification, bK as Slug, ay as SortDirection, fp as SortDirectionWithLiterals, aw as SortOrder, fn as SortOrderWithLiterals, ax as SortType, fo as SortTypeWithLiterals, d1 as Sorting, af as SortingMethodType, f6 as SortingMethodTypeWithLiterals, eB as SpecialHourPeriod, cP as SplitInterval, bC as StaffMediaItem, bD as StaffMediaItemItemOneOf, bB as StaffMember, bE as StaffMemberDetails, bt as StaffSortingPolicy, bu as StaffSortingPolicyOptionsOneOf, aJ as Status, fA as StatusWithLiterals, c9 as StreetAddress, cb as Subdivision, b1 as SubscriptionPayment, eD as SupportedLanguage, bP as Tag, bS as TaxableAddress, ai as TaxableAddressType, f9 as TaxableAddressTypeWithLiterals, eA as TimePeriod, ag as Timing, f7 as TimingWithLiterals, eF as Translation, bL as URLs, eO as UpdateAddOnGroupRequest, cQ as UpdateServiceRequest, cR as UpdateServiceResponse, eo as UserDomainInfoChangedEvent, aU as V2Category, bA as V2Duration, b7 as V2Location, b8 as V2LocationOptionsOneOf, cW as V2ParticipantNotification, bT as V2PhoneCall, av as V2RequestedFields, fm as V2RequestedFieldsWithLiterals, ew as V4Address, cC as ValidateServiceRequest, cD as ValidateServiceResponse, ec as ValidateSlugRequest, de as ValueAggregation, df as ValueAggregationOptionsOneOf, ds as ValueAggregationResult, dA as ValueResult, dw as ValueResults, an as ValueType, fe as ValueTypeWithLiterals, b0 as VariedPayment, bm as WaitlistPolicy, au as WebhookIdentityType, fl as WebhookIdentityTypeWithLiterals, e_ as utils } from './bookings-services-v2-service-services.universal-DCFqBaaN.js';
|
|
4
4
|
|
|
5
5
|
declare function createService$1(httpClient: HttpClient): CreateServiceSignature;
|
|
6
6
|
interface CreateServiceSignature {
|
|
@@ -104,7 +104,7 @@ interface CreateServiceSignature {
|
|
|
104
104
|
* @param - Service to create.
|
|
105
105
|
* @returns Created service.
|
|
106
106
|
*/
|
|
107
|
-
(service: Service): Promise<NonNullablePaths<Service, `type` | `media.items` | `category._id` | `form._id` | `payment.fixed.price.value` | `payment.fixed.price.currency` | `payment.rateType` | `payment.pricingPlanIds` | `payment.addOnOption` | `locations` | `locations.${number}.business._id` | `locations.${number}.business.name` | `locations.${number}.custom._id` | `locations.${number}._id` | `locations.${number}.type` | `bookingPolicy._id` | `bookingPolicy.customPolicyDescription.enabled` | `bookingPolicy.customPolicyDescription.description` | `bookingPolicy.limitEarlyBookingPolicy.enabled` | `bookingPolicy.limitEarlyBookingPolicy.earliestBookingInMinutes` | `bookingPolicy.limitLateBookingPolicy.enabled` | `bookingPolicy.limitLateBookingPolicy.latestBookingInMinutes` | `bookingPolicy.bookAfterStartPolicy.enabled` | `bookingPolicy.cancellationPolicy.enabled` | `bookingPolicy.cancellationPolicy.limitLatestCancellation` | `bookingPolicy.cancellationPolicy.latestCancellationInMinutes` | `bookingPolicy.reschedulePolicy.enabled` | `bookingPolicy.reschedulePolicy.limitLatestReschedule` | `bookingPolicy.reschedulePolicy.latestRescheduleInMinutes` | `bookingPolicy.waitlistPolicy.enabled` | `bookingPolicy.waitlistPolicy.capacity` | `bookingPolicy.waitlistPolicy.reservationTimeInMinutes` | `bookingPolicy.participantsPolicy.maxParticipantsPerBooking` | `bookingPolicy.resourcesPolicy.enabled` | `bookingPolicy.resourcesPolicy.autoAssignAllowed` | `bookingPolicy.cancellationFeePolicy.enabled` | `bookingPolicy.cancellationFeePolicy.cancellationWindows` | `bookingPolicy.cancellationFeePolicy.cancellationWindows.${number}.percentage` | `bookingPolicy.saveCreditCardPolicy.enabled` | `schedule.availabilityConstraints.durations` | `schedule.availabilityConstraints.durations.${number}.minutes` | `schedule.availabilityConstraints.sessionDurations` | `schedule.availabilityConstraints.timeBetweenSessions` | `staffMemberIds` | `serviceResources` | `supportedSlugs` | `supportedSlugs.${number}.name` | `seoData.tags` | `seoData.tags.${number}.type` | `seoData.tags.${number}.children` | `seoData.tags.${number}.custom` | `seoData.tags.${number}.disabled` | `seoData.settings.preventAutoRedirect` | `seoData.settings.keywords` | `seoData.settings.keywords.${number}.term` | `seoData.settings.keywords.${number}.isMain` | `addOnGroups` | `addOnDetails` | `taxableAddress.taxableAddressType`, 6> & {
|
|
107
|
+
(service: Service): Promise<NonNullablePaths<Service, `type` | `media.items` | `category._id` | `form._id` | `payment.fixed.price.value` | `payment.fixed.price.currency` | `payment.rateType` | `payment.pricingPlanIds` | `payment.addOnOption` | `locations` | `locations.${number}.business._id` | `locations.${number}.business.name` | `locations.${number}.custom._id` | `locations.${number}._id` | `locations.${number}.type` | `bookingPolicy._id` | `bookingPolicy.customPolicyDescription.enabled` | `bookingPolicy.customPolicyDescription.description` | `bookingPolicy.limitEarlyBookingPolicy.enabled` | `bookingPolicy.limitEarlyBookingPolicy.earliestBookingInMinutes` | `bookingPolicy.limitLateBookingPolicy.enabled` | `bookingPolicy.limitLateBookingPolicy.latestBookingInMinutes` | `bookingPolicy.bookAfterStartPolicy.enabled` | `bookingPolicy.cancellationPolicy.enabled` | `bookingPolicy.cancellationPolicy.limitLatestCancellation` | `bookingPolicy.cancellationPolicy.latestCancellationInMinutes` | `bookingPolicy.reschedulePolicy.enabled` | `bookingPolicy.reschedulePolicy.limitLatestReschedule` | `bookingPolicy.reschedulePolicy.latestRescheduleInMinutes` | `bookingPolicy.waitlistPolicy.enabled` | `bookingPolicy.waitlistPolicy.capacity` | `bookingPolicy.waitlistPolicy.reservationTimeInMinutes` | `bookingPolicy.participantsPolicy.maxParticipantsPerBooking` | `bookingPolicy.resourcesPolicy.enabled` | `bookingPolicy.resourcesPolicy.autoAssignAllowed` | `bookingPolicy.cancellationFeePolicy.enabled` | `bookingPolicy.cancellationFeePolicy.cancellationWindows` | `bookingPolicy.cancellationFeePolicy.cancellationWindows.${number}.percentage` | `bookingPolicy.saveCreditCardPolicy.enabled` | `schedule.availabilityConstraints.durations` | `schedule.availabilityConstraints.durations.${number}.minutes` | `schedule.availabilityConstraints.sessionDurations` | `schedule.availabilityConstraints.timeBetweenSessions` | `staffMemberIds` | `serviceResources` | `supportedSlugs` | `supportedSlugs.${number}.name` | `seoData.tags` | `seoData.tags.${number}.type` | `seoData.tags.${number}.children` | `seoData.tags.${number}.custom` | `seoData.tags.${number}.disabled` | `seoData.settings.preventAutoRedirect` | `seoData.settings.keywords` | `seoData.settings.keywords.${number}.term` | `seoData.settings.keywords.${number}.isMain` | `addOnGroups` | `addOnDetails` | `taxableAddress.taxableAddressType` | `connectedProductTagIds`, 6> & {
|
|
108
108
|
__validationErrorsType?: CreateServiceValidationErrors;
|
|
109
109
|
}>;
|
|
110
110
|
}
|
|
@@ -126,7 +126,7 @@ interface GetServiceSignature {
|
|
|
126
126
|
* @param - ID of the service to retrieve.
|
|
127
127
|
* @returns Retrieved service.
|
|
128
128
|
*/
|
|
129
|
-
(serviceId: string): Promise<NonNullablePaths<Service, `type` | `media.items` | `category._id` | `form._id` | `payment.fixed.price.value` | `payment.fixed.price.currency` | `payment.rateType` | `payment.pricingPlanIds` | `payment.addOnOption` | `locations` | `locations.${number}.business._id` | `locations.${number}.business.name` | `locations.${number}.custom._id` | `locations.${number}._id` | `locations.${number}.type` | `bookingPolicy._id` | `bookingPolicy.customPolicyDescription.enabled` | `bookingPolicy.customPolicyDescription.description` | `bookingPolicy.limitEarlyBookingPolicy.enabled` | `bookingPolicy.limitEarlyBookingPolicy.earliestBookingInMinutes` | `bookingPolicy.limitLateBookingPolicy.enabled` | `bookingPolicy.limitLateBookingPolicy.latestBookingInMinutes` | `bookingPolicy.bookAfterStartPolicy.enabled` | `bookingPolicy.cancellationPolicy.enabled` | `bookingPolicy.cancellationPolicy.limitLatestCancellation` | `bookingPolicy.cancellationPolicy.latestCancellationInMinutes` | `bookingPolicy.reschedulePolicy.enabled` | `bookingPolicy.reschedulePolicy.limitLatestReschedule` | `bookingPolicy.reschedulePolicy.latestRescheduleInMinutes` | `bookingPolicy.waitlistPolicy.enabled` | `bookingPolicy.waitlistPolicy.capacity` | `bookingPolicy.waitlistPolicy.reservationTimeInMinutes` | `bookingPolicy.participantsPolicy.maxParticipantsPerBooking` | `bookingPolicy.resourcesPolicy.enabled` | `bookingPolicy.resourcesPolicy.autoAssignAllowed` | `bookingPolicy.cancellationFeePolicy.enabled` | `bookingPolicy.cancellationFeePolicy.cancellationWindows` | `bookingPolicy.cancellationFeePolicy.cancellationWindows.${number}.percentage` | `bookingPolicy.saveCreditCardPolicy.enabled` | `schedule.availabilityConstraints.durations` | `schedule.availabilityConstraints.durations.${number}.minutes` | `schedule.availabilityConstraints.sessionDurations` | `schedule.availabilityConstraints.timeBetweenSessions` | `staffMemberIds` | `serviceResources` | `supportedSlugs` | `supportedSlugs.${number}.name` | `seoData.tags` | `seoData.tags.${number}.type` | `seoData.tags.${number}.children` | `seoData.tags.${number}.custom` | `seoData.tags.${number}.disabled` | `seoData.settings.preventAutoRedirect` | `seoData.settings.keywords` | `seoData.settings.keywords.${number}.term` | `seoData.settings.keywords.${number}.isMain` | `addOnGroups` | `addOnDetails` | `taxableAddress.taxableAddressType`, 6>>;
|
|
129
|
+
(serviceId: string): Promise<NonNullablePaths<Service, `type` | `media.items` | `category._id` | `form._id` | `payment.fixed.price.value` | `payment.fixed.price.currency` | `payment.rateType` | `payment.pricingPlanIds` | `payment.addOnOption` | `locations` | `locations.${number}.business._id` | `locations.${number}.business.name` | `locations.${number}.custom._id` | `locations.${number}._id` | `locations.${number}.type` | `bookingPolicy._id` | `bookingPolicy.customPolicyDescription.enabled` | `bookingPolicy.customPolicyDescription.description` | `bookingPolicy.limitEarlyBookingPolicy.enabled` | `bookingPolicy.limitEarlyBookingPolicy.earliestBookingInMinutes` | `bookingPolicy.limitLateBookingPolicy.enabled` | `bookingPolicy.limitLateBookingPolicy.latestBookingInMinutes` | `bookingPolicy.bookAfterStartPolicy.enabled` | `bookingPolicy.cancellationPolicy.enabled` | `bookingPolicy.cancellationPolicy.limitLatestCancellation` | `bookingPolicy.cancellationPolicy.latestCancellationInMinutes` | `bookingPolicy.reschedulePolicy.enabled` | `bookingPolicy.reschedulePolicy.limitLatestReschedule` | `bookingPolicy.reschedulePolicy.latestRescheduleInMinutes` | `bookingPolicy.waitlistPolicy.enabled` | `bookingPolicy.waitlistPolicy.capacity` | `bookingPolicy.waitlistPolicy.reservationTimeInMinutes` | `bookingPolicy.participantsPolicy.maxParticipantsPerBooking` | `bookingPolicy.resourcesPolicy.enabled` | `bookingPolicy.resourcesPolicy.autoAssignAllowed` | `bookingPolicy.cancellationFeePolicy.enabled` | `bookingPolicy.cancellationFeePolicy.cancellationWindows` | `bookingPolicy.cancellationFeePolicy.cancellationWindows.${number}.percentage` | `bookingPolicy.saveCreditCardPolicy.enabled` | `schedule.availabilityConstraints.durations` | `schedule.availabilityConstraints.durations.${number}.minutes` | `schedule.availabilityConstraints.sessionDurations` | `schedule.availabilityConstraints.timeBetweenSessions` | `staffMemberIds` | `serviceResources` | `supportedSlugs` | `supportedSlugs.${number}.name` | `seoData.tags` | `seoData.tags.${number}.type` | `seoData.tags.${number}.children` | `seoData.tags.${number}.custom` | `seoData.tags.${number}.disabled` | `seoData.settings.preventAutoRedirect` | `seoData.settings.keywords` | `seoData.settings.keywords.${number}.term` | `seoData.settings.keywords.${number}.isMain` | `addOnGroups` | `addOnDetails` | `taxableAddress.taxableAddressType` | `connectedProductTagIds`, 6>>;
|
|
130
130
|
}
|
|
131
131
|
declare function updateService$1(httpClient: HttpClient): UpdateServiceSignature;
|
|
132
132
|
interface UpdateServiceSignature {
|
|
@@ -158,7 +158,7 @@ interface UpdateServiceSignature {
|
|
|
158
158
|
* @param - Service ID.
|
|
159
159
|
* @returns Updated service.
|
|
160
160
|
*/
|
|
161
|
-
(_id: string, service: NonNullablePaths<UpdateService, `revision`, 2>): Promise<NonNullablePaths<Service, `type` | `media.items` | `category._id` | `form._id` | `payment.fixed.price.value` | `payment.fixed.price.currency` | `payment.rateType` | `payment.pricingPlanIds` | `payment.addOnOption` | `locations` | `locations.${number}.business._id` | `locations.${number}.business.name` | `locations.${number}.custom._id` | `locations.${number}._id` | `locations.${number}.type` | `bookingPolicy._id` | `bookingPolicy.customPolicyDescription.enabled` | `bookingPolicy.customPolicyDescription.description` | `bookingPolicy.limitEarlyBookingPolicy.enabled` | `bookingPolicy.limitEarlyBookingPolicy.earliestBookingInMinutes` | `bookingPolicy.limitLateBookingPolicy.enabled` | `bookingPolicy.limitLateBookingPolicy.latestBookingInMinutes` | `bookingPolicy.bookAfterStartPolicy.enabled` | `bookingPolicy.cancellationPolicy.enabled` | `bookingPolicy.cancellationPolicy.limitLatestCancellation` | `bookingPolicy.cancellationPolicy.latestCancellationInMinutes` | `bookingPolicy.reschedulePolicy.enabled` | `bookingPolicy.reschedulePolicy.limitLatestReschedule` | `bookingPolicy.reschedulePolicy.latestRescheduleInMinutes` | `bookingPolicy.waitlistPolicy.enabled` | `bookingPolicy.waitlistPolicy.capacity` | `bookingPolicy.waitlistPolicy.reservationTimeInMinutes` | `bookingPolicy.participantsPolicy.maxParticipantsPerBooking` | `bookingPolicy.resourcesPolicy.enabled` | `bookingPolicy.resourcesPolicy.autoAssignAllowed` | `bookingPolicy.cancellationFeePolicy.enabled` | `bookingPolicy.cancellationFeePolicy.cancellationWindows` | `bookingPolicy.cancellationFeePolicy.cancellationWindows.${number}.percentage` | `bookingPolicy.saveCreditCardPolicy.enabled` | `schedule.availabilityConstraints.durations` | `schedule.availabilityConstraints.durations.${number}.minutes` | `schedule.availabilityConstraints.sessionDurations` | `schedule.availabilityConstraints.timeBetweenSessions` | `staffMemberIds` | `serviceResources` | `supportedSlugs` | `supportedSlugs.${number}.name` | `seoData.tags` | `seoData.tags.${number}.type` | `seoData.tags.${number}.children` | `seoData.tags.${number}.custom` | `seoData.tags.${number}.disabled` | `seoData.settings.preventAutoRedirect` | `seoData.settings.keywords` | `seoData.settings.keywords.${number}.term` | `seoData.settings.keywords.${number}.isMain` | `addOnGroups` | `addOnDetails` | `taxableAddress.taxableAddressType`, 6> & {
|
|
161
|
+
(_id: string, service: NonNullablePaths<UpdateService, `revision`, 2>): Promise<NonNullablePaths<Service, `type` | `media.items` | `category._id` | `form._id` | `payment.fixed.price.value` | `payment.fixed.price.currency` | `payment.rateType` | `payment.pricingPlanIds` | `payment.addOnOption` | `locations` | `locations.${number}.business._id` | `locations.${number}.business.name` | `locations.${number}.custom._id` | `locations.${number}._id` | `locations.${number}.type` | `bookingPolicy._id` | `bookingPolicy.customPolicyDescription.enabled` | `bookingPolicy.customPolicyDescription.description` | `bookingPolicy.limitEarlyBookingPolicy.enabled` | `bookingPolicy.limitEarlyBookingPolicy.earliestBookingInMinutes` | `bookingPolicy.limitLateBookingPolicy.enabled` | `bookingPolicy.limitLateBookingPolicy.latestBookingInMinutes` | `bookingPolicy.bookAfterStartPolicy.enabled` | `bookingPolicy.cancellationPolicy.enabled` | `bookingPolicy.cancellationPolicy.limitLatestCancellation` | `bookingPolicy.cancellationPolicy.latestCancellationInMinutes` | `bookingPolicy.reschedulePolicy.enabled` | `bookingPolicy.reschedulePolicy.limitLatestReschedule` | `bookingPolicy.reschedulePolicy.latestRescheduleInMinutes` | `bookingPolicy.waitlistPolicy.enabled` | `bookingPolicy.waitlistPolicy.capacity` | `bookingPolicy.waitlistPolicy.reservationTimeInMinutes` | `bookingPolicy.participantsPolicy.maxParticipantsPerBooking` | `bookingPolicy.resourcesPolicy.enabled` | `bookingPolicy.resourcesPolicy.autoAssignAllowed` | `bookingPolicy.cancellationFeePolicy.enabled` | `bookingPolicy.cancellationFeePolicy.cancellationWindows` | `bookingPolicy.cancellationFeePolicy.cancellationWindows.${number}.percentage` | `bookingPolicy.saveCreditCardPolicy.enabled` | `schedule.availabilityConstraints.durations` | `schedule.availabilityConstraints.durations.${number}.minutes` | `schedule.availabilityConstraints.sessionDurations` | `schedule.availabilityConstraints.timeBetweenSessions` | `staffMemberIds` | `serviceResources` | `supportedSlugs` | `supportedSlugs.${number}.name` | `seoData.tags` | `seoData.tags.${number}.type` | `seoData.tags.${number}.children` | `seoData.tags.${number}.custom` | `seoData.tags.${number}.disabled` | `seoData.settings.preventAutoRedirect` | `seoData.settings.keywords` | `seoData.settings.keywords.${number}.term` | `seoData.settings.keywords.${number}.isMain` | `addOnGroups` | `addOnDetails` | `taxableAddress.taxableAddressType` | `connectedProductTagIds`, 6> & {
|
|
162
162
|
__validationErrorsType?: UpdateServiceValidationErrors;
|
|
163
163
|
}>;
|
|
164
164
|
}
|
|
@@ -465,7 +465,7 @@ interface SetServiceLocationsSignature {
|
|
|
465
465
|
* message.
|
|
466
466
|
* @param - ID of the service.
|
|
467
467
|
*/
|
|
468
|
-
(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.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>>;
|
|
468
|
+
(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.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` | `service.connectedProductTagIds`, 7>>;
|
|
469
469
|
}
|
|
470
470
|
declare function enablePricingPlansForService$1(httpClient: HttpClient): EnablePricingPlansForServiceSignature;
|
|
471
471
|
interface EnablePricingPlansForServiceSignature {
|
|
@@ -481,7 +481,7 @@ interface EnablePricingPlansForServiceSignature {
|
|
|
481
481
|
* to add to the service's `payment.pricingPlanIds` array.
|
|
482
482
|
* Maintained for backward compatibility. Use `pricing_plan_selections` for explicit benefit selection.
|
|
483
483
|
*/
|
|
484
|
-
(serviceId: string, pricingPlanIds: string[]): Promise<NonNullablePaths<EnablePricingPlansForServiceResponse, `service.type` | `service.media.items` | `service.category._id` | `service.form._id` | `service.payment.fixed.price.value` | `service.payment.fixed.price.currency` | `service.payment.rateType` | `service.payment.pricingPlanIds` | `service.payment.addOnOption` | `service.locations` | `service.locations.${number}.business._id` | `service.locations.${number}.business.name` | `service.locations.${number}.custom._id` | `service.locations.${number}._id` | `service.locations.${number}.type` | `service.bookingPolicy._id` | `service.bookingPolicy.customPolicyDescription.enabled` | `service.bookingPolicy.customPolicyDescription.description` | `service.bookingPolicy.limitEarlyBookingPolicy.enabled` | `service.bookingPolicy.limitEarlyBookingPolicy.earliestBookingInMinutes` | `service.bookingPolicy.limitLateBookingPolicy.enabled` | `service.bookingPolicy.limitLateBookingPolicy.latestBookingInMinutes` | `service.bookingPolicy.bookAfterStartPolicy.enabled` | `service.bookingPolicy.cancellationPolicy.enabled` | `service.bookingPolicy.cancellationPolicy.limitLatestCancellation` | `service.bookingPolicy.cancellationPolicy.latestCancellationInMinutes` | `service.bookingPolicy.reschedulePolicy.enabled` | `service.bookingPolicy.reschedulePolicy.limitLatestReschedule` | `service.bookingPolicy.reschedulePolicy.latestRescheduleInMinutes` | `service.bookingPolicy.waitlistPolicy.enabled` | `service.bookingPolicy.waitlistPolicy.capacity` | `service.bookingPolicy.waitlistPolicy.reservationTimeInMinutes` | `service.bookingPolicy.participantsPolicy.maxParticipantsPerBooking` | `service.bookingPolicy.resourcesPolicy.enabled` | `service.bookingPolicy.resourcesPolicy.autoAssignAllowed` | `service.bookingPolicy.cancellationFeePolicy.enabled` | `service.bookingPolicy.cancellationFeePolicy.cancellationWindows` | `service.bookingPolicy.cancellationFeePolicy.cancellationWindows.${number}.percentage` | `service.bookingPolicy.saveCreditCardPolicy.enabled` | `service.schedule.availabilityConstraints.durations` | `service.schedule.availabilityConstraints.durations.${number}.minutes` | `service.schedule.availabilityConstraints.sessionDurations` | `service.schedule.availabilityConstraints.timeBetweenSessions` | `service.staffMemberIds` | `service.serviceResources` | `service.supportedSlugs` | `service.supportedSlugs.${number}.name` | `service.seoData.tags` | `service.seoData.tags.${number}.type` | `service.seoData.tags.${number}.children` | `service.seoData.tags.${number}.custom` | `service.seoData.tags.${number}.disabled` | `service.seoData.settings.preventAutoRedirect` | `service.seoData.settings.keywords` | `service.seoData.settings.keywords.${number}.term` | `service.seoData.settings.keywords.${number}.isMain` | `service.addOnGroups` | `service.addOnDetails` | `service.taxableAddress.taxableAddressType`, 7> & {
|
|
484
|
+
(serviceId: string, pricingPlanIds: string[]): Promise<NonNullablePaths<EnablePricingPlansForServiceResponse, `service.type` | `service.media.items` | `service.category._id` | `service.form._id` | `service.payment.fixed.price.value` | `service.payment.fixed.price.currency` | `service.payment.rateType` | `service.payment.pricingPlanIds` | `service.payment.addOnOption` | `service.locations` | `service.locations.${number}.business._id` | `service.locations.${number}.business.name` | `service.locations.${number}.custom._id` | `service.locations.${number}._id` | `service.locations.${number}.type` | `service.bookingPolicy._id` | `service.bookingPolicy.customPolicyDescription.enabled` | `service.bookingPolicy.customPolicyDescription.description` | `service.bookingPolicy.limitEarlyBookingPolicy.enabled` | `service.bookingPolicy.limitEarlyBookingPolicy.earliestBookingInMinutes` | `service.bookingPolicy.limitLateBookingPolicy.enabled` | `service.bookingPolicy.limitLateBookingPolicy.latestBookingInMinutes` | `service.bookingPolicy.bookAfterStartPolicy.enabled` | `service.bookingPolicy.cancellationPolicy.enabled` | `service.bookingPolicy.cancellationPolicy.limitLatestCancellation` | `service.bookingPolicy.cancellationPolicy.latestCancellationInMinutes` | `service.bookingPolicy.reschedulePolicy.enabled` | `service.bookingPolicy.reschedulePolicy.limitLatestReschedule` | `service.bookingPolicy.reschedulePolicy.latestRescheduleInMinutes` | `service.bookingPolicy.waitlistPolicy.enabled` | `service.bookingPolicy.waitlistPolicy.capacity` | `service.bookingPolicy.waitlistPolicy.reservationTimeInMinutes` | `service.bookingPolicy.participantsPolicy.maxParticipantsPerBooking` | `service.bookingPolicy.resourcesPolicy.enabled` | `service.bookingPolicy.resourcesPolicy.autoAssignAllowed` | `service.bookingPolicy.cancellationFeePolicy.enabled` | `service.bookingPolicy.cancellationFeePolicy.cancellationWindows` | `service.bookingPolicy.cancellationFeePolicy.cancellationWindows.${number}.percentage` | `service.bookingPolicy.saveCreditCardPolicy.enabled` | `service.schedule.availabilityConstraints.durations` | `service.schedule.availabilityConstraints.durations.${number}.minutes` | `service.schedule.availabilityConstraints.sessionDurations` | `service.schedule.availabilityConstraints.timeBetweenSessions` | `service.staffMemberIds` | `service.serviceResources` | `service.supportedSlugs` | `service.supportedSlugs.${number}.name` | `service.seoData.tags` | `service.seoData.tags.${number}.type` | `service.seoData.tags.${number}.children` | `service.seoData.tags.${number}.custom` | `service.seoData.tags.${number}.disabled` | `service.seoData.settings.preventAutoRedirect` | `service.seoData.settings.keywords` | `service.seoData.settings.keywords.${number}.term` | `service.seoData.settings.keywords.${number}.isMain` | `service.addOnGroups` | `service.addOnDetails` | `service.taxableAddress.taxableAddressType` | `service.connectedProductTagIds`, 7> & {
|
|
485
485
|
__applicationErrorsType?: EnablePricingPlansForServiceApplicationErrors;
|
|
486
486
|
}>;
|
|
487
487
|
}
|
|
@@ -496,7 +496,7 @@ interface DisablePricingPlansForServiceSignature {
|
|
|
496
496
|
* able to book the service, as they will have no payment options available.
|
|
497
497
|
* @param - ID of the service to update.
|
|
498
498
|
*/
|
|
499
|
-
(serviceId: string, options?: DisablePricingPlansForServiceOptions): Promise<NonNullablePaths<DisablePricingPlansForServiceResponse, `service.type` | `service.media.items` | `service.category._id` | `service.form._id` | `service.payment.fixed.price.value` | `service.payment.fixed.price.currency` | `service.payment.rateType` | `service.payment.pricingPlanIds` | `service.payment.addOnOption` | `service.locations` | `service.locations.${number}.business._id` | `service.locations.${number}.business.name` | `service.locations.${number}.custom._id` | `service.locations.${number}._id` | `service.locations.${number}.type` | `service.bookingPolicy._id` | `service.bookingPolicy.customPolicyDescription.enabled` | `service.bookingPolicy.customPolicyDescription.description` | `service.bookingPolicy.limitEarlyBookingPolicy.enabled` | `service.bookingPolicy.limitEarlyBookingPolicy.earliestBookingInMinutes` | `service.bookingPolicy.limitLateBookingPolicy.enabled` | `service.bookingPolicy.limitLateBookingPolicy.latestBookingInMinutes` | `service.bookingPolicy.bookAfterStartPolicy.enabled` | `service.bookingPolicy.cancellationPolicy.enabled` | `service.bookingPolicy.cancellationPolicy.limitLatestCancellation` | `service.bookingPolicy.cancellationPolicy.latestCancellationInMinutes` | `service.bookingPolicy.reschedulePolicy.enabled` | `service.bookingPolicy.reschedulePolicy.limitLatestReschedule` | `service.bookingPolicy.reschedulePolicy.latestRescheduleInMinutes` | `service.bookingPolicy.waitlistPolicy.enabled` | `service.bookingPolicy.waitlistPolicy.capacity` | `service.bookingPolicy.waitlistPolicy.reservationTimeInMinutes` | `service.bookingPolicy.participantsPolicy.maxParticipantsPerBooking` | `service.bookingPolicy.resourcesPolicy.enabled` | `service.bookingPolicy.resourcesPolicy.autoAssignAllowed` | `service.bookingPolicy.cancellationFeePolicy.enabled` | `service.bookingPolicy.cancellationFeePolicy.cancellationWindows` | `service.bookingPolicy.cancellationFeePolicy.cancellationWindows.${number}.percentage` | `service.bookingPolicy.saveCreditCardPolicy.enabled` | `service.schedule.availabilityConstraints.durations` | `service.schedule.availabilityConstraints.durations.${number}.minutes` | `service.schedule.availabilityConstraints.sessionDurations` | `service.schedule.availabilityConstraints.timeBetweenSessions` | `service.staffMemberIds` | `service.serviceResources` | `service.supportedSlugs` | `service.supportedSlugs.${number}.name` | `service.seoData.tags` | `service.seoData.tags.${number}.type` | `service.seoData.tags.${number}.children` | `service.seoData.tags.${number}.custom` | `service.seoData.tags.${number}.disabled` | `service.seoData.settings.preventAutoRedirect` | `service.seoData.settings.keywords` | `service.seoData.settings.keywords.${number}.term` | `service.seoData.settings.keywords.${number}.isMain` | `service.addOnGroups` | `service.addOnDetails` | `service.taxableAddress.taxableAddressType`, 7> & {
|
|
499
|
+
(serviceId: string, options?: DisablePricingPlansForServiceOptions): Promise<NonNullablePaths<DisablePricingPlansForServiceResponse, `service.type` | `service.media.items` | `service.category._id` | `service.form._id` | `service.payment.fixed.price.value` | `service.payment.fixed.price.currency` | `service.payment.rateType` | `service.payment.pricingPlanIds` | `service.payment.addOnOption` | `service.locations` | `service.locations.${number}.business._id` | `service.locations.${number}.business.name` | `service.locations.${number}.custom._id` | `service.locations.${number}._id` | `service.locations.${number}.type` | `service.bookingPolicy._id` | `service.bookingPolicy.customPolicyDescription.enabled` | `service.bookingPolicy.customPolicyDescription.description` | `service.bookingPolicy.limitEarlyBookingPolicy.enabled` | `service.bookingPolicy.limitEarlyBookingPolicy.earliestBookingInMinutes` | `service.bookingPolicy.limitLateBookingPolicy.enabled` | `service.bookingPolicy.limitLateBookingPolicy.latestBookingInMinutes` | `service.bookingPolicy.bookAfterStartPolicy.enabled` | `service.bookingPolicy.cancellationPolicy.enabled` | `service.bookingPolicy.cancellationPolicy.limitLatestCancellation` | `service.bookingPolicy.cancellationPolicy.latestCancellationInMinutes` | `service.bookingPolicy.reschedulePolicy.enabled` | `service.bookingPolicy.reschedulePolicy.limitLatestReschedule` | `service.bookingPolicy.reschedulePolicy.latestRescheduleInMinutes` | `service.bookingPolicy.waitlistPolicy.enabled` | `service.bookingPolicy.waitlistPolicy.capacity` | `service.bookingPolicy.waitlistPolicy.reservationTimeInMinutes` | `service.bookingPolicy.participantsPolicy.maxParticipantsPerBooking` | `service.bookingPolicy.resourcesPolicy.enabled` | `service.bookingPolicy.resourcesPolicy.autoAssignAllowed` | `service.bookingPolicy.cancellationFeePolicy.enabled` | `service.bookingPolicy.cancellationFeePolicy.cancellationWindows` | `service.bookingPolicy.cancellationFeePolicy.cancellationWindows.${number}.percentage` | `service.bookingPolicy.saveCreditCardPolicy.enabled` | `service.schedule.availabilityConstraints.durations` | `service.schedule.availabilityConstraints.durations.${number}.minutes` | `service.schedule.availabilityConstraints.sessionDurations` | `service.schedule.availabilityConstraints.timeBetweenSessions` | `service.staffMemberIds` | `service.serviceResources` | `service.supportedSlugs` | `service.supportedSlugs.${number}.name` | `service.seoData.tags` | `service.seoData.tags.${number}.type` | `service.seoData.tags.${number}.children` | `service.seoData.tags.${number}.custom` | `service.seoData.tags.${number}.disabled` | `service.seoData.settings.preventAutoRedirect` | `service.seoData.settings.keywords` | `service.seoData.settings.keywords.${number}.term` | `service.seoData.settings.keywords.${number}.isMain` | `service.addOnGroups` | `service.addOnDetails` | `service.taxableAddress.taxableAddressType` | `service.connectedProductTagIds`, 7> & {
|
|
500
500
|
__applicationErrorsType?: DisablePricingPlansForServiceApplicationErrors;
|
|
501
501
|
}>;
|
|
502
502
|
}
|
|
@@ -512,7 +512,7 @@ interface SetCustomSlugSignature {
|
|
|
512
512
|
* - Another service has used the slug in the past.
|
|
513
513
|
* @param - ID of the service for which to update the active slug.
|
|
514
514
|
*/
|
|
515
|
-
(serviceId: string, options?: SetCustomSlugOptions): Promise<NonNullablePaths<SetCustomSlugResponse, `slug.name` | `service.type` | `service.media.items` | `service.category._id` | `service.form._id` | `service.payment.fixed.price.value` | `service.payment.fixed.price.currency` | `service.payment.rateType` | `service.payment.pricingPlanIds` | `service.payment.addOnOption` | `service.locations` | `service.locations.${number}.business._id` | `service.locations.${number}.business.name` | `service.locations.${number}.custom._id` | `service.locations.${number}._id` | `service.locations.${number}.type` | `service.bookingPolicy._id` | `service.bookingPolicy.customPolicyDescription.enabled` | `service.bookingPolicy.customPolicyDescription.description` | `service.bookingPolicy.limitEarlyBookingPolicy.enabled` | `service.bookingPolicy.limitEarlyBookingPolicy.earliestBookingInMinutes` | `service.bookingPolicy.limitLateBookingPolicy.enabled` | `service.bookingPolicy.limitLateBookingPolicy.latestBookingInMinutes` | `service.bookingPolicy.bookAfterStartPolicy.enabled` | `service.bookingPolicy.cancellationPolicy.enabled` | `service.bookingPolicy.cancellationPolicy.limitLatestCancellation` | `service.bookingPolicy.cancellationPolicy.latestCancellationInMinutes` | `service.bookingPolicy.reschedulePolicy.enabled` | `service.bookingPolicy.reschedulePolicy.limitLatestReschedule` | `service.bookingPolicy.reschedulePolicy.latestRescheduleInMinutes` | `service.bookingPolicy.waitlistPolicy.enabled` | `service.bookingPolicy.waitlistPolicy.capacity` | `service.bookingPolicy.waitlistPolicy.reservationTimeInMinutes` | `service.bookingPolicy.participantsPolicy.maxParticipantsPerBooking` | `service.bookingPolicy.resourcesPolicy.enabled` | `service.bookingPolicy.resourcesPolicy.autoAssignAllowed` | `service.bookingPolicy.cancellationFeePolicy.enabled` | `service.bookingPolicy.cancellationFeePolicy.cancellationWindows` | `service.bookingPolicy.cancellationFeePolicy.cancellationWindows.${number}.percentage` | `service.bookingPolicy.saveCreditCardPolicy.enabled` | `service.schedule.availabilityConstraints.durations` | `service.schedule.availabilityConstraints.durations.${number}.minutes` | `service.schedule.availabilityConstraints.sessionDurations` | `service.schedule.availabilityConstraints.timeBetweenSessions` | `service.staffMemberIds` | `service.serviceResources` | `service.supportedSlugs` | `service.supportedSlugs.${number}.name` | `service.seoData.tags` | `service.seoData.tags.${number}.type` | `service.seoData.tags.${number}.children` | `service.seoData.tags.${number}.custom` | `service.seoData.tags.${number}.disabled` | `service.seoData.settings.preventAutoRedirect` | `service.seoData.settings.keywords` | `service.seoData.settings.keywords.${number}.term` | `service.seoData.settings.keywords.${number}.isMain` | `service.addOnGroups` | `service.addOnDetails` | `service.taxableAddress.taxableAddressType`, 7> & {
|
|
515
|
+
(serviceId: string, options?: SetCustomSlugOptions): Promise<NonNullablePaths<SetCustomSlugResponse, `slug.name` | `service.type` | `service.media.items` | `service.category._id` | `service.form._id` | `service.payment.fixed.price.value` | `service.payment.fixed.price.currency` | `service.payment.rateType` | `service.payment.pricingPlanIds` | `service.payment.addOnOption` | `service.locations` | `service.locations.${number}.business._id` | `service.locations.${number}.business.name` | `service.locations.${number}.custom._id` | `service.locations.${number}._id` | `service.locations.${number}.type` | `service.bookingPolicy._id` | `service.bookingPolicy.customPolicyDescription.enabled` | `service.bookingPolicy.customPolicyDescription.description` | `service.bookingPolicy.limitEarlyBookingPolicy.enabled` | `service.bookingPolicy.limitEarlyBookingPolicy.earliestBookingInMinutes` | `service.bookingPolicy.limitLateBookingPolicy.enabled` | `service.bookingPolicy.limitLateBookingPolicy.latestBookingInMinutes` | `service.bookingPolicy.bookAfterStartPolicy.enabled` | `service.bookingPolicy.cancellationPolicy.enabled` | `service.bookingPolicy.cancellationPolicy.limitLatestCancellation` | `service.bookingPolicy.cancellationPolicy.latestCancellationInMinutes` | `service.bookingPolicy.reschedulePolicy.enabled` | `service.bookingPolicy.reschedulePolicy.limitLatestReschedule` | `service.bookingPolicy.reschedulePolicy.latestRescheduleInMinutes` | `service.bookingPolicy.waitlistPolicy.enabled` | `service.bookingPolicy.waitlistPolicy.capacity` | `service.bookingPolicy.waitlistPolicy.reservationTimeInMinutes` | `service.bookingPolicy.participantsPolicy.maxParticipantsPerBooking` | `service.bookingPolicy.resourcesPolicy.enabled` | `service.bookingPolicy.resourcesPolicy.autoAssignAllowed` | `service.bookingPolicy.cancellationFeePolicy.enabled` | `service.bookingPolicy.cancellationFeePolicy.cancellationWindows` | `service.bookingPolicy.cancellationFeePolicy.cancellationWindows.${number}.percentage` | `service.bookingPolicy.saveCreditCardPolicy.enabled` | `service.schedule.availabilityConstraints.durations` | `service.schedule.availabilityConstraints.durations.${number}.minutes` | `service.schedule.availabilityConstraints.sessionDurations` | `service.schedule.availabilityConstraints.timeBetweenSessions` | `service.staffMemberIds` | `service.serviceResources` | `service.supportedSlugs` | `service.supportedSlugs.${number}.name` | `service.seoData.tags` | `service.seoData.tags.${number}.type` | `service.seoData.tags.${number}.children` | `service.seoData.tags.${number}.custom` | `service.seoData.tags.${number}.disabled` | `service.seoData.settings.preventAutoRedirect` | `service.seoData.settings.keywords` | `service.seoData.settings.keywords.${number}.term` | `service.seoData.settings.keywords.${number}.isMain` | `service.addOnGroups` | `service.addOnDetails` | `service.taxableAddress.taxableAddressType` | `service.connectedProductTagIds`, 7> & {
|
|
516
516
|
__applicationErrorsType?: SetCustomSlugApplicationErrors;
|
|
517
517
|
__validationErrorsType?: SetCustomSlugValidationErrors;
|
|
518
518
|
}>;
|
|
@@ -588,7 +588,7 @@ interface CloneServiceSignature {
|
|
|
588
588
|
* after cloning the service, customers will be unable to book the service.
|
|
589
589
|
* @param - ID of the service to clone.
|
|
590
590
|
*/
|
|
591
|
-
(sourceServiceId: string): Promise<NonNullablePaths<CloneServiceResponse, `service.type` | `service.media.items` | `service.category._id` | `service.form._id` | `service.payment.fixed.price.value` | `service.payment.fixed.price.currency` | `service.payment.rateType` | `service.payment.pricingPlanIds` | `service.payment.addOnOption` | `service.locations` | `service.locations.${number}.business._id` | `service.locations.${number}.business.name` | `service.locations.${number}.custom._id` | `service.locations.${number}._id` | `service.locations.${number}.type` | `service.bookingPolicy._id` | `service.bookingPolicy.customPolicyDescription.enabled` | `service.bookingPolicy.customPolicyDescription.description` | `service.bookingPolicy.limitEarlyBookingPolicy.enabled` | `service.bookingPolicy.limitEarlyBookingPolicy.earliestBookingInMinutes` | `service.bookingPolicy.limitLateBookingPolicy.enabled` | `service.bookingPolicy.limitLateBookingPolicy.latestBookingInMinutes` | `service.bookingPolicy.bookAfterStartPolicy.enabled` | `service.bookingPolicy.cancellationPolicy.enabled` | `service.bookingPolicy.cancellationPolicy.limitLatestCancellation` | `service.bookingPolicy.cancellationPolicy.latestCancellationInMinutes` | `service.bookingPolicy.reschedulePolicy.enabled` | `service.bookingPolicy.reschedulePolicy.limitLatestReschedule` | `service.bookingPolicy.reschedulePolicy.latestRescheduleInMinutes` | `service.bookingPolicy.waitlistPolicy.enabled` | `service.bookingPolicy.waitlistPolicy.capacity` | `service.bookingPolicy.waitlistPolicy.reservationTimeInMinutes` | `service.bookingPolicy.participantsPolicy.maxParticipantsPerBooking` | `service.bookingPolicy.resourcesPolicy.enabled` | `service.bookingPolicy.resourcesPolicy.autoAssignAllowed` | `service.bookingPolicy.cancellationFeePolicy.enabled` | `service.bookingPolicy.cancellationFeePolicy.cancellationWindows` | `service.bookingPolicy.cancellationFeePolicy.cancellationWindows.${number}.percentage` | `service.bookingPolicy.saveCreditCardPolicy.enabled` | `service.schedule.availabilityConstraints.durations` | `service.schedule.availabilityConstraints.durations.${number}.minutes` | `service.schedule.availabilityConstraints.sessionDurations` | `service.schedule.availabilityConstraints.timeBetweenSessions` | `service.staffMemberIds` | `service.serviceResources` | `service.supportedSlugs` | `service.supportedSlugs.${number}.name` | `service.seoData.tags` | `service.seoData.tags.${number}.type` | `service.seoData.tags.${number}.children` | `service.seoData.tags.${number}.custom` | `service.seoData.tags.${number}.disabled` | `service.seoData.settings.preventAutoRedirect` | `service.seoData.settings.keywords` | `service.seoData.settings.keywords.${number}.term` | `service.seoData.settings.keywords.${number}.isMain` | `service.addOnGroups` | `service.addOnDetails` | `service.taxableAddress.taxableAddressType` | `errors`, 7>>;
|
|
591
|
+
(sourceServiceId: string): Promise<NonNullablePaths<CloneServiceResponse, `service.type` | `service.media.items` | `service.category._id` | `service.form._id` | `service.payment.fixed.price.value` | `service.payment.fixed.price.currency` | `service.payment.rateType` | `service.payment.pricingPlanIds` | `service.payment.addOnOption` | `service.locations` | `service.locations.${number}.business._id` | `service.locations.${number}.business.name` | `service.locations.${number}.custom._id` | `service.locations.${number}._id` | `service.locations.${number}.type` | `service.bookingPolicy._id` | `service.bookingPolicy.customPolicyDescription.enabled` | `service.bookingPolicy.customPolicyDescription.description` | `service.bookingPolicy.limitEarlyBookingPolicy.enabled` | `service.bookingPolicy.limitEarlyBookingPolicy.earliestBookingInMinutes` | `service.bookingPolicy.limitLateBookingPolicy.enabled` | `service.bookingPolicy.limitLateBookingPolicy.latestBookingInMinutes` | `service.bookingPolicy.bookAfterStartPolicy.enabled` | `service.bookingPolicy.cancellationPolicy.enabled` | `service.bookingPolicy.cancellationPolicy.limitLatestCancellation` | `service.bookingPolicy.cancellationPolicy.latestCancellationInMinutes` | `service.bookingPolicy.reschedulePolicy.enabled` | `service.bookingPolicy.reschedulePolicy.limitLatestReschedule` | `service.bookingPolicy.reschedulePolicy.latestRescheduleInMinutes` | `service.bookingPolicy.waitlistPolicy.enabled` | `service.bookingPolicy.waitlistPolicy.capacity` | `service.bookingPolicy.waitlistPolicy.reservationTimeInMinutes` | `service.bookingPolicy.participantsPolicy.maxParticipantsPerBooking` | `service.bookingPolicy.resourcesPolicy.enabled` | `service.bookingPolicy.resourcesPolicy.autoAssignAllowed` | `service.bookingPolicy.cancellationFeePolicy.enabled` | `service.bookingPolicy.cancellationFeePolicy.cancellationWindows` | `service.bookingPolicy.cancellationFeePolicy.cancellationWindows.${number}.percentage` | `service.bookingPolicy.saveCreditCardPolicy.enabled` | `service.schedule.availabilityConstraints.durations` | `service.schedule.availabilityConstraints.durations.${number}.minutes` | `service.schedule.availabilityConstraints.sessionDurations` | `service.schedule.availabilityConstraints.timeBetweenSessions` | `service.staffMemberIds` | `service.serviceResources` | `service.supportedSlugs` | `service.supportedSlugs.${number}.name` | `service.seoData.tags` | `service.seoData.tags.${number}.type` | `service.seoData.tags.${number}.children` | `service.seoData.tags.${number}.custom` | `service.seoData.tags.${number}.disabled` | `service.seoData.settings.preventAutoRedirect` | `service.seoData.settings.keywords` | `service.seoData.settings.keywords.${number}.term` | `service.seoData.settings.keywords.${number}.isMain` | `service.addOnGroups` | `service.addOnDetails` | `service.taxableAddress.taxableAddressType` | `service.connectedProductTagIds` | `errors`, 7>>;
|
|
592
592
|
}
|
|
593
593
|
declare function createAddOnGroup$1(httpClient: HttpClient): CreateAddOnGroupSignature;
|
|
594
594
|
interface CreateAddOnGroupSignature {
|