@wix/auto_sdk_bookings_services 1.0.219 → 1.0.221
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/build/cjs/{bookings-services-v2-service-services.universal-BgThyBUH.d.ts → bookings-services-v2-service-services.universal-_bWigLGM.d.ts} +24 -17
- package/build/cjs/index.d.ts +11 -11
- package/build/cjs/index.js +3 -8
- package/build/cjs/index.js.map +1 -1
- package/build/cjs/index.typings.d.ts +2 -2
- package/build/cjs/index.typings.js +3 -8
- package/build/cjs/index.typings.js.map +1 -1
- package/build/cjs/meta.d.ts +16 -9
- package/build/cjs/meta.js +3 -8
- package/build/cjs/meta.js.map +1 -1
- package/build/cjs/schemas.d.ts +152 -0
- package/build/cjs/schemas.js +385 -5
- package/build/cjs/schemas.js.map +1 -1
- package/build/es/{bookings-services-v2-service-services.universal-BgThyBUH.d.mts → bookings-services-v2-service-services.universal-_bWigLGM.d.mts} +24 -17
- package/build/es/index.d.mts +11 -11
- package/build/es/index.mjs +3 -7
- package/build/es/index.mjs.map +1 -1
- package/build/es/index.typings.d.mts +2 -2
- package/build/es/index.typings.mjs +3 -7
- package/build/es/index.typings.mjs.map +1 -1
- package/build/es/meta.d.mts +16 -9
- package/build/es/meta.mjs +3 -7
- package/build/es/meta.mjs.map +1 -1
- package/build/es/schemas.d.mts +152 -0
- package/build/es/schemas.mjs +385 -5
- package/build/es/schemas.mjs.map +1 -1
- package/build/internal/cjs/{bookings-services-v2-service-services.universal-XLSTzYV_.d.ts → bookings-services-v2-service-services.universal-CCfmktJC.d.ts} +12 -18
- package/build/internal/cjs/index.d.ts +11 -11
- package/build/internal/cjs/index.js +3 -8
- 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 +3 -8
- package/build/internal/cjs/index.typings.js.map +1 -1
- package/build/internal/cjs/meta.d.ts +16 -9
- package/build/internal/cjs/meta.js +3 -8
- package/build/internal/cjs/meta.js.map +1 -1
- package/build/internal/cjs/schemas.d.ts +152 -0
- package/build/internal/cjs/schemas.js +385 -5
- package/build/internal/cjs/schemas.js.map +1 -1
- package/build/internal/es/{bookings-services-v2-service-services.universal-XLSTzYV_.d.mts → bookings-services-v2-service-services.universal-CCfmktJC.d.mts} +12 -18
- package/build/internal/es/index.d.mts +11 -11
- package/build/internal/es/index.mjs +3 -7
- 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 +3 -7
- package/build/internal/es/index.typings.mjs.map +1 -1
- package/build/internal/es/meta.d.mts +16 -9
- package/build/internal/es/meta.mjs +3 -7
- package/build/internal/es/meta.mjs.map +1 -1
- package/build/internal/es/schemas.d.mts +152 -0
- package/build/internal/es/schemas.mjs +385 -5
- package/build/internal/es/schemas.mjs.map +1 -1
- package/package.json +2 -2
|
@@ -271,6 +271,18 @@ interface Payment extends PaymentRateOneOf {
|
|
|
271
271
|
* If customers pay for the booking using any method other than a pricing plan, the value of this field is ignored.
|
|
272
272
|
*/
|
|
273
273
|
addOnOption?: AddOnPaymentOptionsWithLiterals;
|
|
274
|
+
/**
|
|
275
|
+
* Estimated discount information for the service based on active [eCommerce discounts](https://dev.wix.com/docs/rest/business-solutions/e-commerce/extensions/discounts/introduction).
|
|
276
|
+
* The final discount is determined during eCommerce checkout and may differ from the estimate,
|
|
277
|
+
* for example when discounts depend on cart totals.
|
|
278
|
+
*
|
|
279
|
+
* A discount is considered active when its start time has passed and its end time hasn't.
|
|
280
|
+
* If multiple active discounts apply, the most recently created one is returned.
|
|
281
|
+
*
|
|
282
|
+
* Returned only when `DISCOUNT_INFO_DETAILS` is requested.
|
|
283
|
+
* @readonly
|
|
284
|
+
*/
|
|
285
|
+
discountInfo?: DiscountInfo;
|
|
274
286
|
}
|
|
275
287
|
/** @oneof */
|
|
276
288
|
interface PaymentRateOneOf {
|
|
@@ -1204,10 +1216,10 @@ interface DurationRangeConfigOneOf {
|
|
|
1204
1216
|
dayOptions?: DailyConfig;
|
|
1205
1217
|
}
|
|
1206
1218
|
/** The booking unit for the duration range. */
|
|
1207
|
-
declare enum
|
|
1219
|
+
declare enum UnitType {
|
|
1208
1220
|
}
|
|
1209
1221
|
/** @enumType */
|
|
1210
|
-
type
|
|
1222
|
+
type UnitTypeWithLiterals = UnitType;
|
|
1211
1223
|
/** Hourly duration configuration. Values are in minutes. */
|
|
1212
1224
|
interface HourlyConfig {
|
|
1213
1225
|
/**
|
|
@@ -2582,11 +2594,6 @@ interface AccountInfo {
|
|
|
2582
2594
|
*/
|
|
2583
2595
|
siteId?: string | null;
|
|
2584
2596
|
}
|
|
2585
|
-
/** The booking unit for the duration range. */
|
|
2586
|
-
declare enum UnitType {
|
|
2587
|
-
}
|
|
2588
|
-
/** @enumType */
|
|
2589
|
-
type UnitTypeWithLiterals = UnitType;
|
|
2590
2597
|
interface CreateServiceRequest {
|
|
2591
2598
|
/** Service to create. */
|
|
2592
2599
|
service: Service;
|
|
@@ -5041,7 +5048,7 @@ declare function onServiceUpdated(handler: (event: ServiceUpdatedEnvelope) => vo
|
|
|
5041
5048
|
* @returns Created service.
|
|
5042
5049
|
* @fqn wix.bookings.services.v2.ServicesService.CreateService
|
|
5043
5050
|
*/
|
|
5044
|
-
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> & {
|
|
5051
|
+
declare function createService(service: Service): Promise<NonNullablePaths<Service, `type` | `media.items` | `category._id` | `form._id` | `payment.fixed.price.value` | `payment.fixed.price.currency` | `payment.rateType` | `payment.pricingPlanIds` | `payment.addOnOption` | `payment.discountInfo.discountName` | `locations` | `locations.${number}.business._id` | `locations.${number}.business.name` | `locations.${number}.custom._id` | `locations.${number}._id` | `locations.${number}.type` | `bookingPolicy._id` | `bookingPolicy.customPolicyDescription.enabled` | `bookingPolicy.customPolicyDescription.description` | `bookingPolicy.limitEarlyBookingPolicy.enabled` | `bookingPolicy.limitEarlyBookingPolicy.earliestBookingInMinutes` | `bookingPolicy.limitLateBookingPolicy.enabled` | `bookingPolicy.limitLateBookingPolicy.latestBookingInMinutes` | `bookingPolicy.bookAfterStartPolicy.enabled` | `bookingPolicy.cancellationPolicy.enabled` | `bookingPolicy.cancellationPolicy.limitLatestCancellation` | `bookingPolicy.cancellationPolicy.latestCancellationInMinutes` | `bookingPolicy.reschedulePolicy.enabled` | `bookingPolicy.reschedulePolicy.limitLatestReschedule` | `bookingPolicy.reschedulePolicy.latestRescheduleInMinutes` | `bookingPolicy.waitlistPolicy.enabled` | `bookingPolicy.waitlistPolicy.capacity` | `bookingPolicy.waitlistPolicy.reservationTimeInMinutes` | `bookingPolicy.participantsPolicy.maxParticipantsPerBooking` | `bookingPolicy.resourcesPolicy.enabled` | `bookingPolicy.resourcesPolicy.autoAssignAllowed` | `bookingPolicy.cancellationFeePolicy.enabled` | `bookingPolicy.cancellationFeePolicy.cancellationWindows` | `bookingPolicy.cancellationFeePolicy.cancellationWindows.${number}.percentage` | `bookingPolicy.saveCreditCardPolicy.enabled` | `schedule.availabilityConstraints.durations` | `schedule.availabilityConstraints.durations.${number}.minutes` | `schedule.availabilityConstraints.sessionDurations` | `schedule.availabilityConstraints.timeBetweenSessions` | `staffMemberIds` | `serviceResources` | `supportedSlugs` | `supportedSlugs.${number}.name` | `seoData.tags` | `seoData.tags.${number}.type` | `seoData.tags.${number}.children` | `seoData.tags.${number}.custom` | `seoData.tags.${number}.disabled` | `seoData.settings.preventAutoRedirect` | `seoData.settings.keywords` | `seoData.settings.keywords.${number}.term` | `seoData.settings.keywords.${number}.isMain` | `addOnGroups` | `addOnDetails` | `taxableAddress.taxableAddressType`, 6> & {
|
|
5045
5052
|
__validationErrorsType?: CreateServiceValidationErrors;
|
|
5046
5053
|
}>;
|
|
5047
5054
|
/**
|
|
@@ -5071,7 +5078,7 @@ interface BulkCreateServicesOptions {
|
|
|
5071
5078
|
* @returns Retrieved service.
|
|
5072
5079
|
* @fqn wix.bookings.services.v2.ServicesService.GetService
|
|
5073
5080
|
*/
|
|
5074
|
-
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>>;
|
|
5081
|
+
declare function getService(serviceId: string): Promise<NonNullablePaths<Service, `type` | `media.items` | `category._id` | `form._id` | `payment.fixed.price.value` | `payment.fixed.price.currency` | `payment.rateType` | `payment.pricingPlanIds` | `payment.addOnOption` | `payment.discountInfo.discountName` | `locations` | `locations.${number}.business._id` | `locations.${number}.business.name` | `locations.${number}.custom._id` | `locations.${number}._id` | `locations.${number}.type` | `bookingPolicy._id` | `bookingPolicy.customPolicyDescription.enabled` | `bookingPolicy.customPolicyDescription.description` | `bookingPolicy.limitEarlyBookingPolicy.enabled` | `bookingPolicy.limitEarlyBookingPolicy.earliestBookingInMinutes` | `bookingPolicy.limitLateBookingPolicy.enabled` | `bookingPolicy.limitLateBookingPolicy.latestBookingInMinutes` | `bookingPolicy.bookAfterStartPolicy.enabled` | `bookingPolicy.cancellationPolicy.enabled` | `bookingPolicy.cancellationPolicy.limitLatestCancellation` | `bookingPolicy.cancellationPolicy.latestCancellationInMinutes` | `bookingPolicy.reschedulePolicy.enabled` | `bookingPolicy.reschedulePolicy.limitLatestReschedule` | `bookingPolicy.reschedulePolicy.latestRescheduleInMinutes` | `bookingPolicy.waitlistPolicy.enabled` | `bookingPolicy.waitlistPolicy.capacity` | `bookingPolicy.waitlistPolicy.reservationTimeInMinutes` | `bookingPolicy.participantsPolicy.maxParticipantsPerBooking` | `bookingPolicy.resourcesPolicy.enabled` | `bookingPolicy.resourcesPolicy.autoAssignAllowed` | `bookingPolicy.cancellationFeePolicy.enabled` | `bookingPolicy.cancellationFeePolicy.cancellationWindows` | `bookingPolicy.cancellationFeePolicy.cancellationWindows.${number}.percentage` | `bookingPolicy.saveCreditCardPolicy.enabled` | `schedule.availabilityConstraints.durations` | `schedule.availabilityConstraints.durations.${number}.minutes` | `schedule.availabilityConstraints.sessionDurations` | `schedule.availabilityConstraints.timeBetweenSessions` | `staffMemberIds` | `serviceResources` | `supportedSlugs` | `supportedSlugs.${number}.name` | `seoData.tags` | `seoData.tags.${number}.type` | `seoData.tags.${number}.children` | `seoData.tags.${number}.custom` | `seoData.tags.${number}.disabled` | `seoData.settings.preventAutoRedirect` | `seoData.settings.keywords` | `seoData.settings.keywords.${number}.term` | `seoData.settings.keywords.${number}.isMain` | `addOnGroups` | `addOnDetails` | `taxableAddress.taxableAddressType`, 6>>;
|
|
5075
5082
|
/**
|
|
5076
5083
|
* Updates a service.
|
|
5077
5084
|
*
|
|
@@ -5107,7 +5114,7 @@ declare function getService(serviceId: string): Promise<NonNullablePaths<Service
|
|
|
5107
5114
|
* @returns Updated service.
|
|
5108
5115
|
* @fqn wix.bookings.services.v2.ServicesService.UpdateService
|
|
5109
5116
|
*/
|
|
5110
|
-
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> & {
|
|
5117
|
+
declare function updateService(_id: string, service: NonNullablePaths<UpdateService, `revision`, 2>): Promise<NonNullablePaths<Service, `type` | `media.items` | `category._id` | `form._id` | `payment.fixed.price.value` | `payment.fixed.price.currency` | `payment.rateType` | `payment.pricingPlanIds` | `payment.addOnOption` | `payment.discountInfo.discountName` | `locations` | `locations.${number}.business._id` | `locations.${number}.business.name` | `locations.${number}.custom._id` | `locations.${number}._id` | `locations.${number}.type` | `bookingPolicy._id` | `bookingPolicy.customPolicyDescription.enabled` | `bookingPolicy.customPolicyDescription.description` | `bookingPolicy.limitEarlyBookingPolicy.enabled` | `bookingPolicy.limitEarlyBookingPolicy.earliestBookingInMinutes` | `bookingPolicy.limitLateBookingPolicy.enabled` | `bookingPolicy.limitLateBookingPolicy.latestBookingInMinutes` | `bookingPolicy.bookAfterStartPolicy.enabled` | `bookingPolicy.cancellationPolicy.enabled` | `bookingPolicy.cancellationPolicy.limitLatestCancellation` | `bookingPolicy.cancellationPolicy.latestCancellationInMinutes` | `bookingPolicy.reschedulePolicy.enabled` | `bookingPolicy.reschedulePolicy.limitLatestReschedule` | `bookingPolicy.reschedulePolicy.latestRescheduleInMinutes` | `bookingPolicy.waitlistPolicy.enabled` | `bookingPolicy.waitlistPolicy.capacity` | `bookingPolicy.waitlistPolicy.reservationTimeInMinutes` | `bookingPolicy.participantsPolicy.maxParticipantsPerBooking` | `bookingPolicy.resourcesPolicy.enabled` | `bookingPolicy.resourcesPolicy.autoAssignAllowed` | `bookingPolicy.cancellationFeePolicy.enabled` | `bookingPolicy.cancellationFeePolicy.cancellationWindows` | `bookingPolicy.cancellationFeePolicy.cancellationWindows.${number}.percentage` | `bookingPolicy.saveCreditCardPolicy.enabled` | `schedule.availabilityConstraints.durations` | `schedule.availabilityConstraints.durations.${number}.minutes` | `schedule.availabilityConstraints.sessionDurations` | `schedule.availabilityConstraints.timeBetweenSessions` | `staffMemberIds` | `serviceResources` | `supportedSlugs` | `supportedSlugs.${number}.name` | `seoData.tags` | `seoData.tags.${number}.type` | `seoData.tags.${number}.children` | `seoData.tags.${number}.custom` | `seoData.tags.${number}.disabled` | `seoData.settings.preventAutoRedirect` | `seoData.settings.keywords` | `seoData.settings.keywords.${number}.term` | `seoData.settings.keywords.${number}.isMain` | `addOnGroups` | `addOnDetails` | `taxableAddress.taxableAddressType`, 6> & {
|
|
5111
5118
|
__validationErrorsType?: UpdateServiceValidationErrors;
|
|
5112
5119
|
}>;
|
|
5113
5120
|
interface UpdateService {
|
|
@@ -5517,7 +5524,7 @@ interface ServicesQueryBuilder {
|
|
|
5517
5524
|
* @fqn wix.bookings.services.v2.ServicesService.QueryServices
|
|
5518
5525
|
* @requiredField query
|
|
5519
5526
|
*/
|
|
5520
|
-
declare function typedQueryServices(query: ServiceQuery, options?: QueryServicesOptions): Promise<NonNullablePaths<QueryServicesResponse, `services` | `services.${number}.type` | `services.${number}.category._id` | `services.${number}.form._id` | `services.${number}.payment.rateType` | `services.${number}.payment.addOnOption` | `services.${number}.bookingPolicy._id` | `services.${number}.bookingPolicy.customPolicyDescription.enabled` | `services.${number}.bookingPolicy.customPolicyDescription.description` | `services.${number}.bookingPolicy.limitEarlyBookingPolicy.enabled` | `services.${number}.bookingPolicy.limitEarlyBookingPolicy.earliestBookingInMinutes` | `services.${number}.bookingPolicy.limitLateBookingPolicy.enabled` | `services.${number}.bookingPolicy.limitLateBookingPolicy.latestBookingInMinutes` | `services.${number}.bookingPolicy.bookAfterStartPolicy.enabled` | `services.${number}.bookingPolicy.cancellationPolicy.enabled` | `services.${number}.bookingPolicy.cancellationPolicy.limitLatestCancellation` | `services.${number}.bookingPolicy.cancellationPolicy.latestCancellationInMinutes` | `services.${number}.bookingPolicy.reschedulePolicy.enabled` | `services.${number}.bookingPolicy.reschedulePolicy.limitLatestReschedule` | `services.${number}.bookingPolicy.reschedulePolicy.latestRescheduleInMinutes` | `services.${number}.bookingPolicy.waitlistPolicy.enabled` | `services.${number}.bookingPolicy.waitlistPolicy.capacity` | `services.${number}.bookingPolicy.waitlistPolicy.reservationTimeInMinutes` | `services.${number}.bookingPolicy.participantsPolicy.maxParticipantsPerBooking` | `services.${number}.bookingPolicy.resourcesPolicy.enabled` | `services.${number}.bookingPolicy.resourcesPolicy.autoAssignAllowed` | `services.${number}.bookingPolicy.cancellationFeePolicy.enabled` | `services.${number}.bookingPolicy.saveCreditCardPolicy.enabled` | `services.${number}.schedule.availabilityConstraints.timeBetweenSessions` | `services.${number}.seoData.settings.preventAutoRedirect` | `services.${number}.taxableAddress.taxableAddressType`, 6>>;
|
|
5527
|
+
declare function typedQueryServices(query: ServiceQuery, options?: QueryServicesOptions): Promise<NonNullablePaths<QueryServicesResponse, `services` | `services.${number}.type` | `services.${number}.category._id` | `services.${number}.form._id` | `services.${number}.payment.rateType` | `services.${number}.payment.addOnOption` | `services.${number}.payment.discountInfo.discountName` | `services.${number}.bookingPolicy._id` | `services.${number}.bookingPolicy.customPolicyDescription.enabled` | `services.${number}.bookingPolicy.customPolicyDescription.description` | `services.${number}.bookingPolicy.limitEarlyBookingPolicy.enabled` | `services.${number}.bookingPolicy.limitEarlyBookingPolicy.earliestBookingInMinutes` | `services.${number}.bookingPolicy.limitLateBookingPolicy.enabled` | `services.${number}.bookingPolicy.limitLateBookingPolicy.latestBookingInMinutes` | `services.${number}.bookingPolicy.bookAfterStartPolicy.enabled` | `services.${number}.bookingPolicy.cancellationPolicy.enabled` | `services.${number}.bookingPolicy.cancellationPolicy.limitLatestCancellation` | `services.${number}.bookingPolicy.cancellationPolicy.latestCancellationInMinutes` | `services.${number}.bookingPolicy.reschedulePolicy.enabled` | `services.${number}.bookingPolicy.reschedulePolicy.limitLatestReschedule` | `services.${number}.bookingPolicy.reschedulePolicy.latestRescheduleInMinutes` | `services.${number}.bookingPolicy.waitlistPolicy.enabled` | `services.${number}.bookingPolicy.waitlistPolicy.capacity` | `services.${number}.bookingPolicy.waitlistPolicy.reservationTimeInMinutes` | `services.${number}.bookingPolicy.participantsPolicy.maxParticipantsPerBooking` | `services.${number}.bookingPolicy.resourcesPolicy.enabled` | `services.${number}.bookingPolicy.resourcesPolicy.autoAssignAllowed` | `services.${number}.bookingPolicy.cancellationFeePolicy.enabled` | `services.${number}.bookingPolicy.saveCreditCardPolicy.enabled` | `services.${number}.schedule.availabilityConstraints.timeBetweenSessions` | `services.${number}.seoData.settings.preventAutoRedirect` | `services.${number}.taxableAddress.taxableAddressType`, 6>>;
|
|
5521
5528
|
interface ServiceQuerySpec extends QuerySpec {
|
|
5522
5529
|
paging: 'offset';
|
|
5523
5530
|
wql: [
|
|
@@ -6038,7 +6045,7 @@ interface QueryCategoriesOptions {
|
|
|
6038
6045
|
* @applicableIdentity APP
|
|
6039
6046
|
* @fqn wix.bookings.services.v2.ServicesService.SetServiceLocations
|
|
6040
6047
|
*/
|
|
6041
|
-
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>>;
|
|
6048
|
+
declare function setServiceLocations(serviceId: string, options?: SetServiceLocationsOptions): Promise<NonNullablePaths<SetServiceLocationsResponse, `service.type` | `service.media.items` | `service.category._id` | `service.form._id` | `service.payment.fixed.price.value` | `service.payment.fixed.price.currency` | `service.payment.rateType` | `service.payment.pricingPlanIds` | `service.payment.addOnOption` | `service.payment.discountInfo.discountName` | `service.locations` | `service.locations.${number}.business._id` | `service.locations.${number}.business.name` | `service.locations.${number}.custom._id` | `service.locations.${number}._id` | `service.locations.${number}.type` | `service.bookingPolicy._id` | `service.bookingPolicy.customPolicyDescription.enabled` | `service.bookingPolicy.customPolicyDescription.description` | `service.bookingPolicy.limitEarlyBookingPolicy.enabled` | `service.bookingPolicy.limitEarlyBookingPolicy.earliestBookingInMinutes` | `service.bookingPolicy.limitLateBookingPolicy.enabled` | `service.bookingPolicy.limitLateBookingPolicy.latestBookingInMinutes` | `service.bookingPolicy.bookAfterStartPolicy.enabled` | `service.bookingPolicy.cancellationPolicy.enabled` | `service.bookingPolicy.cancellationPolicy.limitLatestCancellation` | `service.bookingPolicy.cancellationPolicy.latestCancellationInMinutes` | `service.bookingPolicy.reschedulePolicy.enabled` | `service.bookingPolicy.reschedulePolicy.limitLatestReschedule` | `service.bookingPolicy.reschedulePolicy.latestRescheduleInMinutes` | `service.bookingPolicy.waitlistPolicy.enabled` | `service.bookingPolicy.waitlistPolicy.capacity` | `service.bookingPolicy.waitlistPolicy.reservationTimeInMinutes` | `service.bookingPolicy.participantsPolicy.maxParticipantsPerBooking` | `service.bookingPolicy.resourcesPolicy.enabled` | `service.bookingPolicy.resourcesPolicy.autoAssignAllowed` | `service.bookingPolicy.cancellationFeePolicy.enabled` | `service.bookingPolicy.cancellationFeePolicy.cancellationWindows` | `service.bookingPolicy.cancellationFeePolicy.cancellationWindows.${number}.percentage` | `service.bookingPolicy.saveCreditCardPolicy.enabled` | `service.schedule.availabilityConstraints.durations` | `service.schedule.availabilityConstraints.durations.${number}.minutes` | `service.schedule.availabilityConstraints.sessionDurations` | `service.schedule.availabilityConstraints.timeBetweenSessions` | `service.staffMemberIds` | `service.serviceResources` | `service.supportedSlugs` | `service.supportedSlugs.${number}.name` | `service.seoData.tags` | `service.seoData.tags.${number}.type` | `service.seoData.tags.${number}.children` | `service.seoData.tags.${number}.custom` | `service.seoData.tags.${number}.disabled` | `service.seoData.settings.preventAutoRedirect` | `service.seoData.settings.keywords` | `service.seoData.settings.keywords.${number}.term` | `service.seoData.settings.keywords.${number}.isMain` | `service.addOnGroups` | `service.addOnDetails` | `service.taxableAddress.taxableAddressType`, 7>>;
|
|
6042
6049
|
interface SetServiceLocationsOptions {
|
|
6043
6050
|
/**
|
|
6044
6051
|
* 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.
|
|
@@ -6075,7 +6082,7 @@ interface SetServiceLocationsOptions {
|
|
|
6075
6082
|
* @applicableIdentity APP
|
|
6076
6083
|
* @fqn wix.bookings.services.v2.ServicesService.EnablePricingPlansForService
|
|
6077
6084
|
*/
|
|
6078
|
-
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> & {
|
|
6085
|
+
declare function enablePricingPlansForService(serviceId: string, pricingPlanIds: string[]): Promise<NonNullablePaths<EnablePricingPlansForServiceResponse, `service.type` | `service.media.items` | `service.category._id` | `service.form._id` | `service.payment.fixed.price.value` | `service.payment.fixed.price.currency` | `service.payment.rateType` | `service.payment.pricingPlanIds` | `service.payment.addOnOption` | `service.payment.discountInfo.discountName` | `service.locations` | `service.locations.${number}.business._id` | `service.locations.${number}.business.name` | `service.locations.${number}.custom._id` | `service.locations.${number}._id` | `service.locations.${number}.type` | `service.bookingPolicy._id` | `service.bookingPolicy.customPolicyDescription.enabled` | `service.bookingPolicy.customPolicyDescription.description` | `service.bookingPolicy.limitEarlyBookingPolicy.enabled` | `service.bookingPolicy.limitEarlyBookingPolicy.earliestBookingInMinutes` | `service.bookingPolicy.limitLateBookingPolicy.enabled` | `service.bookingPolicy.limitLateBookingPolicy.latestBookingInMinutes` | `service.bookingPolicy.bookAfterStartPolicy.enabled` | `service.bookingPolicy.cancellationPolicy.enabled` | `service.bookingPolicy.cancellationPolicy.limitLatestCancellation` | `service.bookingPolicy.cancellationPolicy.latestCancellationInMinutes` | `service.bookingPolicy.reschedulePolicy.enabled` | `service.bookingPolicy.reschedulePolicy.limitLatestReschedule` | `service.bookingPolicy.reschedulePolicy.latestRescheduleInMinutes` | `service.bookingPolicy.waitlistPolicy.enabled` | `service.bookingPolicy.waitlistPolicy.capacity` | `service.bookingPolicy.waitlistPolicy.reservationTimeInMinutes` | `service.bookingPolicy.participantsPolicy.maxParticipantsPerBooking` | `service.bookingPolicy.resourcesPolicy.enabled` | `service.bookingPolicy.resourcesPolicy.autoAssignAllowed` | `service.bookingPolicy.cancellationFeePolicy.enabled` | `service.bookingPolicy.cancellationFeePolicy.cancellationWindows` | `service.bookingPolicy.cancellationFeePolicy.cancellationWindows.${number}.percentage` | `service.bookingPolicy.saveCreditCardPolicy.enabled` | `service.schedule.availabilityConstraints.durations` | `service.schedule.availabilityConstraints.durations.${number}.minutes` | `service.schedule.availabilityConstraints.sessionDurations` | `service.schedule.availabilityConstraints.timeBetweenSessions` | `service.staffMemberIds` | `service.serviceResources` | `service.supportedSlugs` | `service.supportedSlugs.${number}.name` | `service.seoData.tags` | `service.seoData.tags.${number}.type` | `service.seoData.tags.${number}.children` | `service.seoData.tags.${number}.custom` | `service.seoData.tags.${number}.disabled` | `service.seoData.settings.preventAutoRedirect` | `service.seoData.settings.keywords` | `service.seoData.settings.keywords.${number}.term` | `service.seoData.settings.keywords.${number}.isMain` | `service.addOnGroups` | `service.addOnDetails` | `service.taxableAddress.taxableAddressType`, 7> & {
|
|
6079
6086
|
__applicationErrorsType?: EnablePricingPlansForServiceApplicationErrors;
|
|
6080
6087
|
}>;
|
|
6081
6088
|
/**
|
|
@@ -6092,7 +6099,7 @@ declare function enablePricingPlansForService(serviceId: string, pricingPlanIds:
|
|
|
6092
6099
|
* @applicableIdentity APP
|
|
6093
6100
|
* @fqn wix.bookings.services.v2.ServicesService.DisablePricingPlansForService
|
|
6094
6101
|
*/
|
|
6095
|
-
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> & {
|
|
6102
|
+
declare function disablePricingPlansForService(serviceId: string, options?: DisablePricingPlansForServiceOptions): Promise<NonNullablePaths<DisablePricingPlansForServiceResponse, `service.type` | `service.media.items` | `service.category._id` | `service.form._id` | `service.payment.fixed.price.value` | `service.payment.fixed.price.currency` | `service.payment.rateType` | `service.payment.pricingPlanIds` | `service.payment.addOnOption` | `service.payment.discountInfo.discountName` | `service.locations` | `service.locations.${number}.business._id` | `service.locations.${number}.business.name` | `service.locations.${number}.custom._id` | `service.locations.${number}._id` | `service.locations.${number}.type` | `service.bookingPolicy._id` | `service.bookingPolicy.customPolicyDescription.enabled` | `service.bookingPolicy.customPolicyDescription.description` | `service.bookingPolicy.limitEarlyBookingPolicy.enabled` | `service.bookingPolicy.limitEarlyBookingPolicy.earliestBookingInMinutes` | `service.bookingPolicy.limitLateBookingPolicy.enabled` | `service.bookingPolicy.limitLateBookingPolicy.latestBookingInMinutes` | `service.bookingPolicy.bookAfterStartPolicy.enabled` | `service.bookingPolicy.cancellationPolicy.enabled` | `service.bookingPolicy.cancellationPolicy.limitLatestCancellation` | `service.bookingPolicy.cancellationPolicy.latestCancellationInMinutes` | `service.bookingPolicy.reschedulePolicy.enabled` | `service.bookingPolicy.reschedulePolicy.limitLatestReschedule` | `service.bookingPolicy.reschedulePolicy.latestRescheduleInMinutes` | `service.bookingPolicy.waitlistPolicy.enabled` | `service.bookingPolicy.waitlistPolicy.capacity` | `service.bookingPolicy.waitlistPolicy.reservationTimeInMinutes` | `service.bookingPolicy.participantsPolicy.maxParticipantsPerBooking` | `service.bookingPolicy.resourcesPolicy.enabled` | `service.bookingPolicy.resourcesPolicy.autoAssignAllowed` | `service.bookingPolicy.cancellationFeePolicy.enabled` | `service.bookingPolicy.cancellationFeePolicy.cancellationWindows` | `service.bookingPolicy.cancellationFeePolicy.cancellationWindows.${number}.percentage` | `service.bookingPolicy.saveCreditCardPolicy.enabled` | `service.schedule.availabilityConstraints.durations` | `service.schedule.availabilityConstraints.durations.${number}.minutes` | `service.schedule.availabilityConstraints.sessionDurations` | `service.schedule.availabilityConstraints.timeBetweenSessions` | `service.staffMemberIds` | `service.serviceResources` | `service.supportedSlugs` | `service.supportedSlugs.${number}.name` | `service.seoData.tags` | `service.seoData.tags.${number}.type` | `service.seoData.tags.${number}.children` | `service.seoData.tags.${number}.custom` | `service.seoData.tags.${number}.disabled` | `service.seoData.settings.preventAutoRedirect` | `service.seoData.settings.keywords` | `service.seoData.settings.keywords.${number}.term` | `service.seoData.settings.keywords.${number}.isMain` | `service.addOnGroups` | `service.addOnDetails` | `service.taxableAddress.taxableAddressType`, 7> & {
|
|
6096
6103
|
__applicationErrorsType?: DisablePricingPlansForServiceApplicationErrors;
|
|
6097
6104
|
}>;
|
|
6098
6105
|
interface DisablePricingPlansForServiceOptions {
|
|
@@ -6120,7 +6127,7 @@ interface DisablePricingPlansForServiceOptions {
|
|
|
6120
6127
|
* @applicableIdentity APP
|
|
6121
6128
|
* @fqn wix.bookings.services.v2.ServicesService.SetCustomSlug
|
|
6122
6129
|
*/
|
|
6123
|
-
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> & {
|
|
6130
|
+
declare function setCustomSlug(serviceId: string, options?: SetCustomSlugOptions): Promise<NonNullablePaths<SetCustomSlugResponse, `slug.name` | `service.type` | `service.media.items` | `service.category._id` | `service.form._id` | `service.payment.fixed.price.value` | `service.payment.fixed.price.currency` | `service.payment.rateType` | `service.payment.pricingPlanIds` | `service.payment.addOnOption` | `service.payment.discountInfo.discountName` | `service.locations` | `service.locations.${number}.business._id` | `service.locations.${number}.business.name` | `service.locations.${number}.custom._id` | `service.locations.${number}._id` | `service.locations.${number}.type` | `service.bookingPolicy._id` | `service.bookingPolicy.customPolicyDescription.enabled` | `service.bookingPolicy.customPolicyDescription.description` | `service.bookingPolicy.limitEarlyBookingPolicy.enabled` | `service.bookingPolicy.limitEarlyBookingPolicy.earliestBookingInMinutes` | `service.bookingPolicy.limitLateBookingPolicy.enabled` | `service.bookingPolicy.limitLateBookingPolicy.latestBookingInMinutes` | `service.bookingPolicy.bookAfterStartPolicy.enabled` | `service.bookingPolicy.cancellationPolicy.enabled` | `service.bookingPolicy.cancellationPolicy.limitLatestCancellation` | `service.bookingPolicy.cancellationPolicy.latestCancellationInMinutes` | `service.bookingPolicy.reschedulePolicy.enabled` | `service.bookingPolicy.reschedulePolicy.limitLatestReschedule` | `service.bookingPolicy.reschedulePolicy.latestRescheduleInMinutes` | `service.bookingPolicy.waitlistPolicy.enabled` | `service.bookingPolicy.waitlistPolicy.capacity` | `service.bookingPolicy.waitlistPolicy.reservationTimeInMinutes` | `service.bookingPolicy.participantsPolicy.maxParticipantsPerBooking` | `service.bookingPolicy.resourcesPolicy.enabled` | `service.bookingPolicy.resourcesPolicy.autoAssignAllowed` | `service.bookingPolicy.cancellationFeePolicy.enabled` | `service.bookingPolicy.cancellationFeePolicy.cancellationWindows` | `service.bookingPolicy.cancellationFeePolicy.cancellationWindows.${number}.percentage` | `service.bookingPolicy.saveCreditCardPolicy.enabled` | `service.schedule.availabilityConstraints.durations` | `service.schedule.availabilityConstraints.durations.${number}.minutes` | `service.schedule.availabilityConstraints.sessionDurations` | `service.schedule.availabilityConstraints.timeBetweenSessions` | `service.staffMemberIds` | `service.serviceResources` | `service.supportedSlugs` | `service.supportedSlugs.${number}.name` | `service.seoData.tags` | `service.seoData.tags.${number}.type` | `service.seoData.tags.${number}.children` | `service.seoData.tags.${number}.custom` | `service.seoData.tags.${number}.disabled` | `service.seoData.settings.preventAutoRedirect` | `service.seoData.settings.keywords` | `service.seoData.settings.keywords.${number}.term` | `service.seoData.settings.keywords.${number}.isMain` | `service.addOnGroups` | `service.addOnDetails` | `service.taxableAddress.taxableAddressType`, 7> & {
|
|
6124
6131
|
__applicationErrorsType?: SetCustomSlugApplicationErrors;
|
|
6125
6132
|
__validationErrorsType?: SetCustomSlugValidationErrors;
|
|
6126
6133
|
}>;
|
|
@@ -6214,7 +6221,7 @@ interface ValidateSlugOptions {
|
|
|
6214
6221
|
* @applicableIdentity APP
|
|
6215
6222
|
* @fqn wix.bookings.services.v2.ServicesService.CloneService
|
|
6216
6223
|
*/
|
|
6217
|
-
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>>;
|
|
6224
|
+
declare function cloneService(sourceServiceId: string): Promise<NonNullablePaths<CloneServiceResponse, `service.type` | `service.media.items` | `service.category._id` | `service.form._id` | `service.payment.fixed.price.value` | `service.payment.fixed.price.currency` | `service.payment.rateType` | `service.payment.pricingPlanIds` | `service.payment.addOnOption` | `service.payment.discountInfo.discountName` | `service.locations` | `service.locations.${number}.business._id` | `service.locations.${number}.business.name` | `service.locations.${number}.custom._id` | `service.locations.${number}._id` | `service.locations.${number}.type` | `service.bookingPolicy._id` | `service.bookingPolicy.customPolicyDescription.enabled` | `service.bookingPolicy.customPolicyDescription.description` | `service.bookingPolicy.limitEarlyBookingPolicy.enabled` | `service.bookingPolicy.limitEarlyBookingPolicy.earliestBookingInMinutes` | `service.bookingPolicy.limitLateBookingPolicy.enabled` | `service.bookingPolicy.limitLateBookingPolicy.latestBookingInMinutes` | `service.bookingPolicy.bookAfterStartPolicy.enabled` | `service.bookingPolicy.cancellationPolicy.enabled` | `service.bookingPolicy.cancellationPolicy.limitLatestCancellation` | `service.bookingPolicy.cancellationPolicy.latestCancellationInMinutes` | `service.bookingPolicy.reschedulePolicy.enabled` | `service.bookingPolicy.reschedulePolicy.limitLatestReschedule` | `service.bookingPolicy.reschedulePolicy.latestRescheduleInMinutes` | `service.bookingPolicy.waitlistPolicy.enabled` | `service.bookingPolicy.waitlistPolicy.capacity` | `service.bookingPolicy.waitlistPolicy.reservationTimeInMinutes` | `service.bookingPolicy.participantsPolicy.maxParticipantsPerBooking` | `service.bookingPolicy.resourcesPolicy.enabled` | `service.bookingPolicy.resourcesPolicy.autoAssignAllowed` | `service.bookingPolicy.cancellationFeePolicy.enabled` | `service.bookingPolicy.cancellationFeePolicy.cancellationWindows` | `service.bookingPolicy.cancellationFeePolicy.cancellationWindows.${number}.percentage` | `service.bookingPolicy.saveCreditCardPolicy.enabled` | `service.schedule.availabilityConstraints.durations` | `service.schedule.availabilityConstraints.durations.${number}.minutes` | `service.schedule.availabilityConstraints.sessionDurations` | `service.schedule.availabilityConstraints.timeBetweenSessions` | `service.staffMemberIds` | `service.serviceResources` | `service.supportedSlugs` | `service.supportedSlugs.${number}.name` | `service.seoData.tags` | `service.seoData.tags.${number}.type` | `service.seoData.tags.${number}.children` | `service.seoData.tags.${number}.custom` | `service.seoData.tags.${number}.disabled` | `service.seoData.settings.preventAutoRedirect` | `service.seoData.settings.keywords` | `service.seoData.settings.keywords.${number}.term` | `service.seoData.settings.keywords.${number}.isMain` | `service.addOnGroups` | `service.addOnDetails` | `service.taxableAddress.taxableAddressType` | `errors`, 7>>;
|
|
6218
6225
|
/**
|
|
6219
6226
|
* Creates a new add-on group for a service and updates the service's `addOnGroups` array.
|
|
6220
6227
|
* @param addOnGroup - Add-on group to create.
|
|
@@ -6359,4 +6366,4 @@ interface SetAddOnsForGroupOptions {
|
|
|
6359
6366
|
addOnIds: string[] | null;
|
|
6360
6367
|
}
|
|
6361
6368
|
|
|
6362
|
-
export { type SetAddOnsForGroupResponse as $, type DisablePricingPlansForServiceResponse as A, type BulkCreateServicesOptions as B, type CreateServiceValidationErrors as C, type DeleteServiceOptions as D, type EnablePricingPlansForServiceResponse as E, type DisablePricingPlansForServiceApplicationErrors as F, type SetCustomSlugOptions as G, type SetCustomSlugResponse as H, type SetCustomSlugApplicationErrors as I, type SetCustomSlugValidationErrors as J, type ValidateSlugResponse as K, type CloneServiceResponse as L, type AddOnGroup as M, type CreateAddOnGroupOptions as N, type CreateAddOnGroupResponse as O, type DeleteAddOnGroupOptions as P, type QueryPoliciesResponse as Q, type DeleteAddOnGroupApplicationErrors as R, type Service as S, type UpdateAddOnGroupOptions as T, type UpdateService as U, type ValidateSlugOptions as V, type UpdateAddOnGroupResponse as W, type UpdateAddOnGroupApplicationErrors as X, type ListAddOnGroupsByServiceIdOptions as Y, type ListAddOnGroupsByServiceIdResponse as Z, type SetAddOnsForGroupOptions as _, type BulkCreateServicesResponse as a, type FixedPayment as a$, type SetAddOnsForGroupApplicationErrors as a0, type ServiceCreatedEnvelope as a1, type ServiceDeletedEnvelope as a2, type ServiceUpdatedEnvelope as a3, type ServiceQuery as a4, type QueryServicesOptions as a5, typedQueryServices as a6, type ServicesQueryBuilder as a7, ServiceType as a8, RateType as a9, SortDirection as aA, MissingValues as aB, ScalarType as aC, NestedAggregationType as aD, Interval as aE, AggregationType as aF, Mode as aG, RequestedFields as aH, Action as aI, InvalidSlugError as aJ, CloneErrors as aK, Status as aL, CategoryNotificationEvent as aM, BenefitType as aN, Event as aO, CrudType as aP, PlacementType as aQ, DayOfWeek as aR, ResolutionMethod as aS, type Media as aT, type MediaItem as aU, type MediaItemItemOneOf as aV, type V2Category as aW, type Form as aX, type FormSettings as aY, type Payment as aZ, type PaymentRateOneOf as a_, FrequencyType as aa, FirstChargeDateType as ab, AddOnPaymentOptions as ac, LocationTypeEnumLocationType as ad, RankingOrder as ae, SortingMethodType as af, Timing as ag, CompletionRequirement as ah, V2UnitType as ai, TaxableAddressType as aj, MultiServiceBookingType as ak, ResourceTransparency as al, LocationType as am, SelectionMethod as an, ValueType as ao, BookingStatus as ap, PaymentStatus as aq, SelectedPaymentOption as ar, Platform as as, Actor as at, IdentityType as au, WebhookIdentityType as av, UnitType as aw, V2RequestedFields as ax, SortOrder as ay, SortType as az, type UpdateServiceValidationErrors as b, type ServicesUrlsChanged as b$, type Money as b0, type CustomPayment as b1, type VariedPayment as b2, type SubscriptionPayment as b3, type FullUpfrontPayment as b4, type PaymentOptions as b5, type DiscountInfo as b6, type OnlineBooking as b7, type Conferencing as b8, type V2Location as b9, type Schedule as bA, type AvailabilityConstraints as bB, type V2Duration as bC, type DurationRange as bD, type DurationRangeConfigOneOf as bE, type HourlyConfig as bF, type DailyConfig as bG, type StaffMember as bH, type StaffMediaItem as bI, type StaffMediaItemItemOneOf as bJ, type StaffMemberDetails as bK, type ResourceGroup as bL, type ResourceIds as bM, type ServiceResource as bN, type ServiceResourceSelectionOneOf as bO, type ResourceType as bP, type Slug as bQ, type URLs as bR, type ExtendedFields as bS, type SeoSchema as bT, type Keyword as bU, type Tag as bV, type Settings as bW, type AddOnDetails as bX, type TaxableAddress as bY, type V2PhoneCall as bZ, type SetCustomSlugEvent as b_, type V2LocationOptionsOneOf as ba, type CommonAddress as bb, type CommonAddressStreetOneOf as bc, type CommonStreetAddress as bd, type CommonAddressLocation as be, type BusinessLocationOptions as bf, type CustomLocationOptions as bg, type BookingPolicy as bh, type PolicyDescription as bi, type LimitEarlyBookingPolicy as bj, type LimitLateBookingPolicy as bk, type BookAfterStartPolicy as bl, type CancellationPolicy as bm, type ReschedulePolicy as bn, type WaitlistPolicy as bo, type ParticipantsPolicy as bp, type ResourcesPolicy as bq, type CancellationFeePolicy as br, type CancellationWindow as bs, type CancellationWindowFeeOneOf as bt, type SaveCreditCardPolicy as bu, type StaffSortingPolicy as bv, type StaffSortingPolicyOptionsOneOf as bw, type RankingOptions as bx, type CustomOptions as by, type IntakeFormPolicy as bz, type BulkUpdateServicesOptions as c, type DeleteServiceRequest as c$, type DummyRequest as c0, type DummyResponse as c1, type Booking as c2, type BookingParticipantsInfoOneOf as c3, type BookedEntity as c4, type BookedEntityItemOneOf as c5, type BookedSlot as c6, type BookedResource as c7, type Location as c8, type PhoneCall as c9, type EntityDeletedEvent as cA, type ActionEvent as cB, type MessageEnvelope as cC, type IdentificationData as cD, type IdentificationDataIdOneOf as cE, type AccountInfo as cF, type CreateServiceRequest as cG, type CreateServiceResponse as cH, type ValidateServiceRequest as cI, type ValidateServiceResponse as cJ, type FieldViolation as cK, type BulkCreateServicesRequest as cL, type BulkServiceResult as cM, type ItemMetadata as cN, type ApplicationError as cO, type BulkActionMetadata as cP, type GetServiceRequest as cQ, type GetServiceResponse as cR, type GetServiceAvailabilityConstraintsRequest as cS, type GetServiceAvailabilityConstraintsResponse as cT, type ServiceAvailabilityConstraints as cU, type SplitInterval as cV, type UpdateServiceRequest as cW, type UpdateServiceResponse as cX, type BulkUpdateServicesRequest as cY, type MaskedService as cZ, type BulkUpdateServicesByFilterRequest as c_, type ResourceSelection as ca, type BookedSchedule as cb, type ContactDetails as cc, type Address as cd, type AddressStreetOneOf as ce, type StreetAddress as cf, type AddressLocation as cg, type Subdivision as ch, type CustomFormField as ci, type BookingSource as cj, type ParticipantNotification as ck, type CommonIdentificationData as cl, type CommonIdentificationDataIdOneOf as cm, type FlowControlSettings as cn, type ParticipantChoices as co, type ServiceChoices as cp, type ServiceChoice as cq, type ServiceChoiceChoiceOneOf as cr, type Duration as cs, type MultiServiceBookingInfo as ct, type BookedAddOn as cu, type DomainEvent as cv, type DomainEventBodyOneOf as cw, type EntityCreatedEvent as cx, type RestoreInfo as cy, type EntityUpdatedEvent as cz, type BulkUpdateServicesResponse as d, type CountServicesRequest as d$, type V2ParticipantNotification as d0, type DeleteServiceResponse as d1, type BulkDeleteServicesRequest as d2, type BulkDeleteServicesByFilterRequest as d3, type QueryServicesRequest as d4, type QueryV2 as d5, type QueryV2PagingMethodOneOf as d6, type Sorting as d7, type Paging as d8, type CursorPaging as d9, type NestedAggregationResults as dA, type NestedAggregationResultsResultOneOf as dB, type ValueResults as dC, type RangeResults as dD, type AggregationResultsScalarResult as dE, type NestedValueAggregationResult as dF, type ValueResult as dG, type RangeResult as dH, type ScalarResult as dI, type ScalarDateResult as dJ, type NestedResultValue as dK, type NestedResultValueResultOneOf as dL, type Results as dM, type DateHistogramResult as dN, type GroupByValueResults as dO, type DateHistogramResults as dP, type NestedResults as dQ, type AggregationResultsScalarDateResult as dR, type AggregationResults as dS, type AggregationResultsResultOneOf as dT, type QueryPoliciesRequest as dU, type CursorQueryPagingMethodOneOf as dV, type BookingPolicyWithServices as dW, type QueryBookingFormsRequest as dX, type BookingForm as dY, type FormDetails as dZ, type ConnectedService as d_, type QueryServicesResponse as da, type PagingMetadataV2 as db, type Cursors as dc, type SearchServicesRequest as dd, type CursorSearch as de, type CursorSearchPagingMethodOneOf as df, type Aggregation as dg, type AggregationKindOneOf as dh, type RangeBucket as di, type IncludeMissingValuesOptions as dj, type ValueAggregation as dk, type ValueAggregationOptionsOneOf as dl, type RangeAggregation as dm, type ScalarAggregation as dn, type DateHistogramAggregation as dp, type NestedAggregationItem as dq, type NestedAggregationItemKindOneOf as dr, type NestedAggregation as ds, type GroupByAggregation as dt, type GroupByAggregationKindOneOf as du, type SearchDetails as dv, type CursorPagingMetadata as dw, type AggregationData as dx, type ValueAggregationResult as dy, type RangeAggregationResult as dz, type BulkUpdateServicesByFilterOptions as e, type EventMetadata as e$, type QueryLocationsRequest as e0, type QueryLocationsFilter as e1, type BusinessLocations as e2, type CustomLocations as e3, type CustomerLocations as e4, type QueryCategoriesRequest as e5, type QueryCategoriesFilter as e6, type QueryServicesMultiLanguageRequest as e7, type QueryServicesMultiLanguageResponse as e8, type SetServiceLocationsRequest as e9, type Categories as eA, type Locale as eB, type V4Address as eC, type AddressHint as eD, type GeoCoordinates as eE, type BusinessSchedule as eF, type TimePeriod as eG, type SpecialHourPeriod as eH, type Multilingual as eI, type SupportedLanguage as eJ, type ConsentPolicy as eK, type Translation as eL, type ChangeContext as eM, type ChangeContextPayloadOneOf as eN, type PropertiesChange as eO, type SiteCreated as eP, type SiteCloned as eQ, type CreateAddOnGroupRequest as eR, type DeleteAddOnGroupRequest as eS, type DeleteAddOnGroupResponse as eT, type UpdateAddOnGroupRequest as eU, type ListAddOnGroupsByServiceIdRequest as eV, type AddOn as eW, type AddOnAddOnInfoOneOf as eX, type AddOnGroupDetail as eY, type SetAddOnsForGroupRequest as eZ, type BaseEventMetadata as e_, type RemovedLocationSessionsAction as ea, type RemovedLocationSessionsActionActionOptionsOneOf as eb, type MoveToNewLocationsOptions as ec, type EnablePricingPlansForServiceRequest as ed, type PricingPlanSelection as ee, type InvalidPricingPlan as ef, type DisablePricingPlansForServiceRequest as eg, type SetCustomSlugRequest as eh, type ValidateSlugRequest as ei, type CloneServiceRequest as ej, type CategoryNotification as ek, type Category as el, type Empty as em, type BenefitNotification as en, type Benefit as eo, type EntryPass as ep, type Discount as eq, type DiscountDiscountOneOf as er, type Behavior as es, type BehaviorBehaviorOneOf as et, type UserDomainInfoChangedEvent as eu, type HtmlSitePublished as ev, type Page as ew, type SitePropertiesNotification as ex, type SitePropertiesEvent as ey, type Properties as ez, type BulkUpdateServicesByFilterResponse as f, deleteService as f$, type AccountInfoMetadata as f0, type ServicesQueryResult as f1, type ServiceQuerySpec as f2, type ServiceSearchSpec as f3, utils as f4, type ServiceTypeWithLiterals as f5, type RateTypeWithLiterals as f6, type FrequencyTypeWithLiterals as f7, type FirstChargeDateTypeWithLiterals as f8, type AddOnPaymentOptionsWithLiterals as f9, type NestedAggregationTypeWithLiterals as fA, type IntervalWithLiterals as fB, type AggregationTypeWithLiterals as fC, type ModeWithLiterals as fD, type RequestedFieldsWithLiterals as fE, type ActionWithLiterals as fF, type InvalidSlugErrorWithLiterals as fG, type CloneErrorsWithLiterals as fH, type StatusWithLiterals as fI, type CategoryNotificationEventWithLiterals as fJ, type BenefitTypeWithLiterals as fK, type EventWithLiterals as fL, type CrudTypeWithLiterals as fM, type PlacementTypeWithLiterals as fN, type DayOfWeekWithLiterals as fO, type ResolutionMethodWithLiterals as fP, type CommonQueryWithEntityContext as fQ, type CommonSearchWithEntityContext as fR, onServiceCreated as fS, onServiceDeleted as fT, onServiceUpdated as fU, createService as fV, bulkCreateServices as fW, getService as fX, updateService as fY, bulkUpdateServices as fZ, bulkUpdateServicesByFilter as f_, type LocationTypeEnumLocationTypeWithLiterals as fa, type RankingOrderWithLiterals as fb, type SortingMethodTypeWithLiterals as fc, type TimingWithLiterals as fd, type CompletionRequirementWithLiterals as fe, type V2UnitTypeWithLiterals as ff, type TaxableAddressTypeWithLiterals as fg, type MultiServiceBookingTypeWithLiterals as fh, type ResourceTransparencyWithLiterals as fi, type LocationTypeWithLiterals as fj, type SelectionMethodWithLiterals as fk, type ValueTypeWithLiterals as fl, type BookingStatusWithLiterals as fm, type PaymentStatusWithLiterals as fn, type SelectedPaymentOptionWithLiterals as fo, type PlatformWithLiterals as fp, type ActorWithLiterals as fq, type IdentityTypeWithLiterals as fr, type WebhookIdentityTypeWithLiterals as fs, type UnitTypeWithLiterals as ft, type V2RequestedFieldsWithLiterals as fu, type SortOrderWithLiterals as fv, type SortTypeWithLiterals as fw, type SortDirectionWithLiterals as fx, type MissingValuesWithLiterals as fy, type ScalarTypeWithLiterals as fz, type BulkDeleteServicesOptions as g, bulkDeleteServices as g0, bulkDeleteServicesByFilter as g1, queryServices as g2, queryPolicies as g3, queryBookingForms as g4, countServices as g5, queryLocations as g6, queryCategories as g7, setServiceLocations as g8, enablePricingPlansForService as g9, disablePricingPlansForService as ga, setCustomSlug as gb, validateSlug as gc, cloneService as gd, createAddOnGroup as ge, deleteAddOnGroup as gf, updateAddOnGroup as gg, listAddOnGroupsByServiceId as gh, setAddOnsForGroup as gi, type BulkDeleteServicesResponse as h, type BulkDeleteServicesByFilterOptions as i, type BulkDeleteServicesByFilterResponse as j, type ServiceSearch as k, type SearchServicesResponse as l, type CursorQuery as m, type QueryBookingFormsOptions as n, type QueryBookingFormsResponse as o, type QueryBookingFormsApplicationErrors as p, type CountServicesOptions as q, type CountServicesResponse as r, type QueryLocationsOptions as s, type QueryLocationsResponse as t, type QueryCategoriesOptions as u, type QueryCategoriesResponse as v, type SetServiceLocationsOptions as w, type SetServiceLocationsResponse as x, type EnablePricingPlansForServiceApplicationErrors as y, type DisablePricingPlansForServiceOptions as z };
|
|
6369
|
+
export { type SetAddOnsForGroupResponse as $, type DisablePricingPlansForServiceResponse as A, type BulkCreateServicesOptions as B, type CreateServiceValidationErrors as C, type DeleteServiceOptions as D, type EnablePricingPlansForServiceResponse as E, type DisablePricingPlansForServiceApplicationErrors as F, type SetCustomSlugOptions as G, type SetCustomSlugResponse as H, type SetCustomSlugApplicationErrors as I, type SetCustomSlugValidationErrors as J, type ValidateSlugResponse as K, type CloneServiceResponse as L, type AddOnGroup as M, type CreateAddOnGroupOptions as N, type CreateAddOnGroupResponse as O, type DeleteAddOnGroupOptions as P, type QueryPoliciesResponse as Q, type DeleteAddOnGroupApplicationErrors as R, type Service as S, type UpdateAddOnGroupOptions as T, type UpdateService as U, type ValidateSlugOptions as V, type UpdateAddOnGroupResponse as W, type UpdateAddOnGroupApplicationErrors as X, type ListAddOnGroupsByServiceIdOptions as Y, type ListAddOnGroupsByServiceIdResponse as Z, type SetAddOnsForGroupOptions as _, type BulkCreateServicesResponse as a, type Money as a$, type SetAddOnsForGroupApplicationErrors as a0, type ServiceCreatedEnvelope as a1, type ServiceDeletedEnvelope as a2, type ServiceUpdatedEnvelope as a3, type ServiceQuery as a4, type QueryServicesOptions as a5, typedQueryServices as a6, type ServicesQueryBuilder as a7, ServiceType as a8, RateType as a9, MissingValues as aA, ScalarType as aB, NestedAggregationType as aC, Interval as aD, AggregationType as aE, Mode as aF, RequestedFields as aG, Action as aH, InvalidSlugError as aI, CloneErrors as aJ, Status as aK, CategoryNotificationEvent as aL, BenefitType as aM, Event as aN, CrudType as aO, PlacementType as aP, DayOfWeek as aQ, ResolutionMethod as aR, type Media as aS, type MediaItem as aT, type MediaItemItemOneOf as aU, type V2Category as aV, type Form as aW, type FormSettings as aX, type Payment as aY, type PaymentRateOneOf as aZ, type FixedPayment as a_, FrequencyType as aa, FirstChargeDateType as ab, AddOnPaymentOptions as ac, LocationTypeEnumLocationType as ad, RankingOrder as ae, SortingMethodType as af, Timing as ag, CompletionRequirement as ah, UnitType as ai, TaxableAddressType as aj, MultiServiceBookingType as ak, ResourceTransparency as al, LocationType as am, SelectionMethod as an, ValueType as ao, BookingStatus as ap, PaymentStatus as aq, SelectedPaymentOption as ar, Platform as as, Actor as at, IdentityType as au, WebhookIdentityType as av, V2RequestedFields as aw, SortOrder as ax, SortType as ay, SortDirection as az, type UpdateServiceValidationErrors as b, type DummyRequest as b$, type CustomPayment as b0, type VariedPayment as b1, type SubscriptionPayment as b2, type FullUpfrontPayment as b3, type PaymentOptions as b4, type DiscountInfo as b5, type OnlineBooking as b6, type Conferencing as b7, type V2Location as b8, type V2LocationOptionsOneOf as b9, type AvailabilityConstraints as bA, type V2Duration as bB, type DurationRange as bC, type DurationRangeConfigOneOf as bD, type HourlyConfig as bE, type DailyConfig as bF, type StaffMember as bG, type StaffMediaItem as bH, type StaffMediaItemItemOneOf as bI, type StaffMemberDetails as bJ, type ResourceGroup as bK, type ResourceIds as bL, type ServiceResource as bM, type ServiceResourceSelectionOneOf as bN, type ResourceType as bO, type Slug as bP, type URLs as bQ, type ExtendedFields as bR, type SeoSchema as bS, type Keyword as bT, type Tag as bU, type Settings as bV, type AddOnDetails as bW, type TaxableAddress as bX, type V2PhoneCall as bY, type SetCustomSlugEvent as bZ, type ServicesUrlsChanged as b_, type CommonAddress as ba, type CommonAddressStreetOneOf as bb, type CommonStreetAddress as bc, type CommonAddressLocation as bd, type BusinessLocationOptions as be, type CustomLocationOptions as bf, type BookingPolicy as bg, type PolicyDescription as bh, type LimitEarlyBookingPolicy as bi, type LimitLateBookingPolicy as bj, type BookAfterStartPolicy as bk, type CancellationPolicy as bl, type ReschedulePolicy as bm, type WaitlistPolicy as bn, type ParticipantsPolicy as bo, type ResourcesPolicy as bp, type CancellationFeePolicy as bq, type CancellationWindow as br, type CancellationWindowFeeOneOf as bs, type SaveCreditCardPolicy as bt, type StaffSortingPolicy as bu, type StaffSortingPolicyOptionsOneOf as bv, type RankingOptions as bw, type CustomOptions as bx, type IntakeFormPolicy as by, type Schedule as bz, type BulkUpdateServicesOptions as c, type V2ParticipantNotification as c$, type DummyResponse as c0, type Booking as c1, type BookingParticipantsInfoOneOf as c2, type BookedEntity as c3, type BookedEntityItemOneOf as c4, type BookedSlot as c5, type BookedResource as c6, type Location as c7, type PhoneCall as c8, type ResourceSelection as c9, type ActionEvent as cA, type MessageEnvelope as cB, type IdentificationData as cC, type IdentificationDataIdOneOf as cD, type AccountInfo as cE, type CreateServiceRequest as cF, type CreateServiceResponse as cG, type ValidateServiceRequest as cH, type ValidateServiceResponse as cI, type FieldViolation as cJ, type BulkCreateServicesRequest as cK, type BulkServiceResult as cL, type ItemMetadata as cM, type ApplicationError as cN, type BulkActionMetadata as cO, type GetServiceRequest as cP, type GetServiceResponse as cQ, type GetServiceAvailabilityConstraintsRequest as cR, type GetServiceAvailabilityConstraintsResponse as cS, type ServiceAvailabilityConstraints as cT, type SplitInterval as cU, type UpdateServiceRequest as cV, type UpdateServiceResponse as cW, type BulkUpdateServicesRequest as cX, type MaskedService as cY, type BulkUpdateServicesByFilterRequest as cZ, type DeleteServiceRequest as c_, type BookedSchedule as ca, type ContactDetails as cb, type Address as cc, type AddressStreetOneOf as cd, type StreetAddress as ce, type AddressLocation as cf, type Subdivision as cg, type CustomFormField as ch, type BookingSource as ci, type ParticipantNotification as cj, type CommonIdentificationData as ck, type CommonIdentificationDataIdOneOf as cl, type FlowControlSettings as cm, type ParticipantChoices as cn, type ServiceChoices as co, type ServiceChoice as cp, type ServiceChoiceChoiceOneOf as cq, type Duration as cr, type MultiServiceBookingInfo as cs, type BookedAddOn as ct, type DomainEvent as cu, type DomainEventBodyOneOf as cv, type EntityCreatedEvent as cw, type RestoreInfo as cx, type EntityUpdatedEvent as cy, type EntityDeletedEvent as cz, type BulkUpdateServicesResponse as d, type QueryLocationsRequest as d$, type DeleteServiceResponse as d0, type BulkDeleteServicesRequest as d1, type BulkDeleteServicesByFilterRequest as d2, type QueryServicesRequest as d3, type QueryV2 as d4, type QueryV2PagingMethodOneOf as d5, type Sorting as d6, type Paging as d7, type CursorPaging as d8, type QueryServicesResponse as d9, type NestedAggregationResultsResultOneOf as dA, type ValueResults as dB, type RangeResults as dC, type AggregationResultsScalarResult as dD, type NestedValueAggregationResult as dE, type ValueResult as dF, type RangeResult as dG, type ScalarResult as dH, type ScalarDateResult as dI, type NestedResultValue as dJ, type NestedResultValueResultOneOf as dK, type Results as dL, type DateHistogramResult as dM, type GroupByValueResults as dN, type DateHistogramResults as dO, type NestedResults as dP, type AggregationResultsScalarDateResult as dQ, type AggregationResults as dR, type AggregationResultsResultOneOf as dS, type QueryPoliciesRequest as dT, type CursorQueryPagingMethodOneOf as dU, type BookingPolicyWithServices as dV, type QueryBookingFormsRequest as dW, type BookingForm as dX, type FormDetails as dY, type ConnectedService as dZ, type CountServicesRequest as d_, type PagingMetadataV2 as da, type Cursors as db, type SearchServicesRequest as dc, type CursorSearch as dd, type CursorSearchPagingMethodOneOf as de, type Aggregation as df, type AggregationKindOneOf as dg, type RangeBucket as dh, type IncludeMissingValuesOptions as di, type ValueAggregation as dj, type ValueAggregationOptionsOneOf as dk, type RangeAggregation as dl, type ScalarAggregation as dm, type DateHistogramAggregation as dn, type NestedAggregationItem as dp, type NestedAggregationItemKindOneOf as dq, type NestedAggregation as dr, type GroupByAggregation as ds, type GroupByAggregationKindOneOf as dt, type SearchDetails as du, type CursorPagingMetadata as dv, type AggregationData as dw, type ValueAggregationResult as dx, type RangeAggregationResult as dy, type NestedAggregationResults as dz, type BulkUpdateServicesByFilterOptions as e, type AccountInfoMetadata as e$, type QueryLocationsFilter as e0, type BusinessLocations as e1, type CustomLocations as e2, type CustomerLocations as e3, type QueryCategoriesRequest as e4, type QueryCategoriesFilter as e5, type QueryServicesMultiLanguageRequest as e6, type QueryServicesMultiLanguageResponse as e7, type SetServiceLocationsRequest as e8, type RemovedLocationSessionsAction as e9, type Locale as eA, type V4Address as eB, type AddressHint as eC, type GeoCoordinates as eD, type BusinessSchedule as eE, type TimePeriod as eF, type SpecialHourPeriod as eG, type Multilingual as eH, type SupportedLanguage as eI, type ConsentPolicy as eJ, type Translation as eK, type ChangeContext as eL, type ChangeContextPayloadOneOf as eM, type PropertiesChange as eN, type SiteCreated as eO, type SiteCloned as eP, type CreateAddOnGroupRequest as eQ, type DeleteAddOnGroupRequest as eR, type DeleteAddOnGroupResponse as eS, type UpdateAddOnGroupRequest as eT, type ListAddOnGroupsByServiceIdRequest as eU, type AddOn as eV, type AddOnAddOnInfoOneOf as eW, type AddOnGroupDetail as eX, type SetAddOnsForGroupRequest as eY, type BaseEventMetadata as eZ, type EventMetadata as e_, type RemovedLocationSessionsActionActionOptionsOneOf as ea, type MoveToNewLocationsOptions as eb, type EnablePricingPlansForServiceRequest as ec, type PricingPlanSelection as ed, type InvalidPricingPlan as ee, type DisablePricingPlansForServiceRequest as ef, type SetCustomSlugRequest as eg, type ValidateSlugRequest as eh, type CloneServiceRequest as ei, type CategoryNotification as ej, type Category as ek, type Empty as el, type BenefitNotification as em, type Benefit as en, type EntryPass as eo, type Discount as ep, type DiscountDiscountOneOf as eq, type Behavior as er, type BehaviorBehaviorOneOf as es, type UserDomainInfoChangedEvent as et, type HtmlSitePublished as eu, type Page as ev, type SitePropertiesNotification as ew, type SitePropertiesEvent as ex, type Properties as ey, type Categories as ez, type BulkUpdateServicesByFilterResponse as f, bulkDeleteServicesByFilter as f$, type ServicesQueryResult as f0, type ServiceQuerySpec as f1, type ServiceSearchSpec as f2, utils as f3, type ServiceTypeWithLiterals as f4, type RateTypeWithLiterals as f5, type FrequencyTypeWithLiterals as f6, type FirstChargeDateTypeWithLiterals as f7, type AddOnPaymentOptionsWithLiterals as f8, type LocationTypeEnumLocationTypeWithLiterals as f9, type AggregationTypeWithLiterals as fA, type ModeWithLiterals as fB, type RequestedFieldsWithLiterals as fC, type ActionWithLiterals as fD, type InvalidSlugErrorWithLiterals as fE, type CloneErrorsWithLiterals as fF, type StatusWithLiterals as fG, type CategoryNotificationEventWithLiterals as fH, type BenefitTypeWithLiterals as fI, type EventWithLiterals as fJ, type CrudTypeWithLiterals as fK, type PlacementTypeWithLiterals as fL, type DayOfWeekWithLiterals as fM, type ResolutionMethodWithLiterals as fN, type CommonQueryWithEntityContext as fO, type CommonSearchWithEntityContext as fP, onServiceCreated as fQ, onServiceDeleted as fR, onServiceUpdated as fS, createService as fT, bulkCreateServices as fU, getService as fV, updateService as fW, bulkUpdateServices as fX, bulkUpdateServicesByFilter as fY, deleteService as fZ, bulkDeleteServices as f_, type RankingOrderWithLiterals as fa, type SortingMethodTypeWithLiterals as fb, type TimingWithLiterals as fc, type CompletionRequirementWithLiterals as fd, type UnitTypeWithLiterals as fe, type TaxableAddressTypeWithLiterals as ff, type MultiServiceBookingTypeWithLiterals as fg, type ResourceTransparencyWithLiterals as fh, type LocationTypeWithLiterals as fi, type SelectionMethodWithLiterals as fj, type ValueTypeWithLiterals as fk, type BookingStatusWithLiterals as fl, type PaymentStatusWithLiterals as fm, type SelectedPaymentOptionWithLiterals as fn, type PlatformWithLiterals as fo, type ActorWithLiterals as fp, type IdentityTypeWithLiterals as fq, type WebhookIdentityTypeWithLiterals as fr, type V2RequestedFieldsWithLiterals as fs, type SortOrderWithLiterals as ft, type SortTypeWithLiterals as fu, type SortDirectionWithLiterals as fv, type MissingValuesWithLiterals as fw, type ScalarTypeWithLiterals as fx, type NestedAggregationTypeWithLiterals as fy, type IntervalWithLiterals as fz, type BulkDeleteServicesOptions as g, queryServices as g0, queryPolicies as g1, queryBookingForms as g2, countServices as g3, queryLocations as g4, queryCategories as g5, setServiceLocations as g6, enablePricingPlansForService as g7, disablePricingPlansForService as g8, setCustomSlug as g9, validateSlug as ga, cloneService as gb, createAddOnGroup as gc, deleteAddOnGroup as gd, updateAddOnGroup as ge, listAddOnGroupsByServiceId as gf, setAddOnsForGroup as gg, type BulkDeleteServicesResponse as h, type BulkDeleteServicesByFilterOptions as i, type BulkDeleteServicesByFilterResponse as j, type ServiceSearch as k, type SearchServicesResponse as l, type CursorQuery as m, type QueryBookingFormsOptions as n, type QueryBookingFormsResponse as o, type QueryBookingFormsApplicationErrors as p, type CountServicesOptions as q, type CountServicesResponse as r, type QueryLocationsOptions as s, type QueryLocationsResponse as t, type QueryCategoriesOptions as u, type QueryCategoriesResponse as v, type SetServiceLocationsOptions as w, type SetServiceLocationsResponse as x, type EnablePricingPlansForServiceApplicationErrors as y, type DisablePricingPlansForServiceOptions as z };
|
package/build/cjs/index.d.ts
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
import { HttpClient, NonNullablePaths, EventDefinition, MaybeContext, BuildRESTFunction, BuildEventDefinition } from '@wix/sdk-types';
|
|
2
|
-
import { S as Service, C as CreateServiceValidationErrors, B as BulkCreateServicesOptions, a as BulkCreateServicesResponse, U as UpdateService, b as UpdateServiceValidationErrors, c as BulkUpdateServicesOptions, d as BulkUpdateServicesResponse, e as BulkUpdateServicesByFilterOptions, f as BulkUpdateServicesByFilterResponse, D as DeleteServiceOptions, g as BulkDeleteServicesOptions, h as BulkDeleteServicesResponse, i as BulkDeleteServicesByFilterOptions, j as BulkDeleteServicesByFilterResponse, k as ServiceSearch, l as SearchServicesResponse, m as CursorQuery, Q as QueryPoliciesResponse, n as QueryBookingFormsOptions, o as QueryBookingFormsResponse, p as QueryBookingFormsApplicationErrors, q as CountServicesOptions, r as CountServicesResponse, s as QueryLocationsOptions, t as QueryLocationsResponse, u as QueryCategoriesOptions, v as QueryCategoriesResponse, w as SetServiceLocationsOptions, x as SetServiceLocationsResponse, E as EnablePricingPlansForServiceResponse, y as EnablePricingPlansForServiceApplicationErrors, z as DisablePricingPlansForServiceOptions, A as DisablePricingPlansForServiceResponse, F as DisablePricingPlansForServiceApplicationErrors, 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 {
|
|
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-_bWigLGM.js';
|
|
3
|
+
export { cE as AccountInfo, e$ as AccountInfoMetadata, aH as Action, cA as ActionEvent, fD as ActionWithLiterals, at as Actor, fp as ActorWithLiterals, eV as AddOn, eW as AddOnAddOnInfoOneOf, bW as AddOnDetails, eX as AddOnGroupDetail, ac as AddOnPaymentOptions, f8 as AddOnPaymentOptionsWithLiterals, cc as Address, eC as AddressHint, cf as AddressLocation, cd as AddressStreetOneOf, df as Aggregation, dw as AggregationData, dg as AggregationKindOneOf, dR as AggregationResults, dS as AggregationResultsResultOneOf, dQ as AggregationResultsScalarDateResult, dD as AggregationResultsScalarResult, aE as AggregationType, fA as AggregationTypeWithLiterals, cN as ApplicationError, bA as AvailabilityConstraints, eZ as BaseEventMetadata, er as Behavior, es as BehaviorBehaviorOneOf, en as Benefit, em as BenefitNotification, aM as BenefitType, fI as BenefitTypeWithLiterals, bk as BookAfterStartPolicy, ct as BookedAddOn, c3 as BookedEntity, c4 as BookedEntityItemOneOf, c6 as BookedResource, ca as BookedSchedule, c5 as BookedSlot, c1 as Booking, dX as BookingForm, c2 as BookingParticipantsInfoOneOf, bg as BookingPolicy, dV as BookingPolicyWithServices, ci as BookingSource, ap as BookingStatus, fl as BookingStatusWithLiterals, cO as BulkActionMetadata, cK as BulkCreateServicesRequest, d2 as BulkDeleteServicesByFilterRequest, d1 as BulkDeleteServicesRequest, cL as BulkServiceResult, cZ as BulkUpdateServicesByFilterRequest, cX as BulkUpdateServicesRequest, be as BusinessLocationOptions, e1 as BusinessLocations, eE as BusinessSchedule, bq as CancellationFeePolicy, bl as CancellationPolicy, br as CancellationWindow, bs as CancellationWindowFeeOneOf, ez as Categories, ek as Category, ej as CategoryNotification, aL as CategoryNotificationEvent, fH as CategoryNotificationEventWithLiterals, eL as ChangeContext, eM as ChangeContextPayloadOneOf, aJ as CloneErrors, fF as CloneErrorsWithLiterals, ei as CloneServiceRequest, ba as CommonAddress, bd as CommonAddressLocation, bb as CommonAddressStreetOneOf, ck as CommonIdentificationData, cl as CommonIdentificationDataIdOneOf, fO as CommonQueryWithEntityContext, fP as CommonSearchWithEntityContext, bc as CommonStreetAddress, ah as CompletionRequirement, fd as CompletionRequirementWithLiterals, b7 as Conferencing, dZ as ConnectedService, eJ as ConsentPolicy, cb as ContactDetails, d_ as CountServicesRequest, eQ as CreateAddOnGroupRequest, cF as CreateServiceRequest, cG as CreateServiceResponse, aO as CrudType, fK as CrudTypeWithLiterals, d8 as CursorPaging, dv as CursorPagingMetadata, dU as CursorQueryPagingMethodOneOf, dd as CursorSearch, de as CursorSearchPagingMethodOneOf, db as Cursors, ch as CustomFormField, bf as CustomLocationOptions, e2 as CustomLocations, bx as CustomOptions, b0 as CustomPayment, e3 as CustomerLocations, bF as DailyConfig, dn as DateHistogramAggregation, dM as DateHistogramResult, dO as DateHistogramResults, aQ as DayOfWeek, fM as DayOfWeekWithLiterals, eR as DeleteAddOnGroupRequest, eS as DeleteAddOnGroupResponse, c_ as DeleteServiceRequest, d0 as DeleteServiceResponse, ef as DisablePricingPlansForServiceRequest, ep as Discount, eq as DiscountDiscountOneOf, b5 as DiscountInfo, cu as DomainEvent, cv as DomainEventBodyOneOf, b$ as DummyRequest, c0 as DummyResponse, cr as Duration, bC as DurationRange, bD as DurationRangeConfigOneOf, el as Empty, ec as EnablePricingPlansForServiceRequest, cw as EntityCreatedEvent, cz as EntityDeletedEvent, cy as EntityUpdatedEvent, eo as EntryPass, aN as Event, e_ as EventMetadata, fJ as EventWithLiterals, bR as ExtendedFields, cJ as FieldViolation, ab as FirstChargeDateType, f7 as FirstChargeDateTypeWithLiterals, a_ as FixedPayment, cm as FlowControlSettings, aW as Form, dY as FormDetails, aX as FormSettings, aa as FrequencyType, f6 as FrequencyTypeWithLiterals, b3 as FullUpfrontPayment, eD as GeoCoordinates, cR as GetServiceAvailabilityConstraintsRequest, cS as GetServiceAvailabilityConstraintsResponse, cP as GetServiceRequest, cQ as GetServiceResponse, ds as GroupByAggregation, dt as GroupByAggregationKindOneOf, dN as GroupByValueResults, bE as HourlyConfig, eu as HtmlSitePublished, cC as IdentificationData, cD as IdentificationDataIdOneOf, au as IdentityType, fq as IdentityTypeWithLiterals, di as IncludeMissingValuesOptions, by as IntakeFormPolicy, aD as Interval, fz as IntervalWithLiterals, ee as InvalidPricingPlan, aI as InvalidSlugError, fE as InvalidSlugErrorWithLiterals, cM as ItemMetadata, bT as Keyword, bi as LimitEarlyBookingPolicy, bj as LimitLateBookingPolicy, eU as ListAddOnGroupsByServiceIdRequest, eA as Locale, c7 as Location, am as LocationType, ad as LocationTypeEnumLocationType, f9 as LocationTypeEnumLocationTypeWithLiterals, fi as LocationTypeWithLiterals, cY as MaskedService, aS as Media, aT as MediaItem, aU as MediaItemItemOneOf, cB as MessageEnvelope, aA as MissingValues, fw as MissingValuesWithLiterals, aF as Mode, fB as ModeWithLiterals, a$ as Money, eb as MoveToNewLocationsOptions, cs as MultiServiceBookingInfo, ak as MultiServiceBookingType, fg as MultiServiceBookingTypeWithLiterals, eH as Multilingual, dr as NestedAggregation, dp as NestedAggregationItem, dq as NestedAggregationItemKindOneOf, dz as NestedAggregationResults, dA as NestedAggregationResultsResultOneOf, aC as NestedAggregationType, fy as NestedAggregationTypeWithLiterals, dJ as NestedResultValue, dK as NestedResultValueResultOneOf, dP as NestedResults, dE as NestedValueAggregationResult, b6 as OnlineBooking, ev as Page, d7 as Paging, da as PagingMetadataV2, cn as ParticipantChoices, cj as ParticipantNotification, bo as ParticipantsPolicy, aY as Payment, b4 as PaymentOptions, aZ as PaymentRateOneOf, aq as PaymentStatus, fm as PaymentStatusWithLiterals, c8 as PhoneCall, aP as PlacementType, fL as PlacementTypeWithLiterals, as as Platform, fo as PlatformWithLiterals, bh as PolicyDescription, ed as PricingPlanSelection, ey as Properties, eN as PropertiesChange, dW as QueryBookingFormsRequest, e5 as QueryCategoriesFilter, e4 as QueryCategoriesRequest, e0 as QueryLocationsFilter, d$ as QueryLocationsRequest, dT as QueryPoliciesRequest, e6 as QueryServicesMultiLanguageRequest, e7 as QueryServicesMultiLanguageResponse, d3 as QueryServicesRequest, d9 as QueryServicesResponse, d4 as QueryV2, d5 as QueryV2PagingMethodOneOf, dl as RangeAggregation, dy as RangeAggregationResult, dh as RangeBucket, dG as RangeResult, dC as RangeResults, bw as RankingOptions, ae as RankingOrder, fa as RankingOrderWithLiterals, a9 as RateType, f5 as RateTypeWithLiterals, e9 as RemovedLocationSessionsAction, ea as RemovedLocationSessionsActionActionOptionsOneOf, aG as RequestedFields, fC as RequestedFieldsWithLiterals, bm as ReschedulePolicy, aR as ResolutionMethod, fN as ResolutionMethodWithLiterals, bK as ResourceGroup, bL as ResourceIds, c9 as ResourceSelection, al as ResourceTransparency, fh as ResourceTransparencyWithLiterals, bO as ResourceType, bp as ResourcesPolicy, cx as RestoreInfo, dL as Results, bt as SaveCreditCardPolicy, dm as ScalarAggregation, dI as ScalarDateResult, dH as ScalarResult, aB as ScalarType, fx as ScalarTypeWithLiterals, bz as Schedule, du as SearchDetails, dc as SearchServicesRequest, ar as SelectedPaymentOption, fn as SelectedPaymentOptionWithLiterals, an as SelectionMethod, fj as SelectionMethodWithLiterals, bS as SeoSchema, cT as ServiceAvailabilityConstraints, cp as ServiceChoice, cq as ServiceChoiceChoiceOneOf, co as ServiceChoices, f1 as ServiceQuerySpec, bM as ServiceResource, bN as ServiceResourceSelectionOneOf, f2 as ServiceSearchSpec, a8 as ServiceType, f4 as ServiceTypeWithLiterals, f0 as ServicesQueryResult, b_ as ServicesUrlsChanged, eY as SetAddOnsForGroupRequest, bZ as SetCustomSlugEvent, eg as SetCustomSlugRequest, e8 as SetServiceLocationsRequest, bV as Settings, eP as SiteCloned, eO as SiteCreated, ex as SitePropertiesEvent, ew as SitePropertiesNotification, bP as Slug, az as SortDirection, fv as SortDirectionWithLiterals, ax as SortOrder, ft as SortOrderWithLiterals, ay as SortType, fu as SortTypeWithLiterals, d6 as Sorting, af as SortingMethodType, fb as SortingMethodTypeWithLiterals, eG as SpecialHourPeriod, cU as SplitInterval, bH as StaffMediaItem, bI as StaffMediaItemItemOneOf, bG as StaffMember, bJ as StaffMemberDetails, bu as StaffSortingPolicy, bv as StaffSortingPolicyOptionsOneOf, aK as Status, fG as StatusWithLiterals, ce as StreetAddress, cg as Subdivision, b2 as SubscriptionPayment, eI as SupportedLanguage, bU as Tag, bX as TaxableAddress, aj as TaxableAddressType, ff as TaxableAddressTypeWithLiterals, eF as TimePeriod, ag as Timing, fc as TimingWithLiterals, eK as Translation, bQ as URLs, ai as UnitType, fe as UnitTypeWithLiterals, eT as UpdateAddOnGroupRequest, cV as UpdateServiceRequest, cW as UpdateServiceResponse, et as UserDomainInfoChangedEvent, aV as V2Category, bB as V2Duration, b8 as V2Location, b9 as V2LocationOptionsOneOf, c$ as V2ParticipantNotification, bY as V2PhoneCall, aw as V2RequestedFields, fs as V2RequestedFieldsWithLiterals, eB as V4Address, cH as ValidateServiceRequest, cI as ValidateServiceResponse, eh as ValidateSlugRequest, dj as ValueAggregation, dk as ValueAggregationOptionsOneOf, dx as ValueAggregationResult, dF as ValueResult, dB as ValueResults, ao as ValueType, fk as ValueTypeWithLiterals, b1 as VariedPayment, bn as WaitlistPolicy, av as WebhookIdentityType, fr as WebhookIdentityTypeWithLiterals, f3 as utils } from './bookings-services-v2-service-services.universal-_bWigLGM.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` | `payment.discountInfo.discountName` | `locations` | `locations.${number}.business._id` | `locations.${number}.business.name` | `locations.${number}.custom._id` | `locations.${number}._id` | `locations.${number}.type` | `bookingPolicy._id` | `bookingPolicy.customPolicyDescription.enabled` | `bookingPolicy.customPolicyDescription.description` | `bookingPolicy.limitEarlyBookingPolicy.enabled` | `bookingPolicy.limitEarlyBookingPolicy.earliestBookingInMinutes` | `bookingPolicy.limitLateBookingPolicy.enabled` | `bookingPolicy.limitLateBookingPolicy.latestBookingInMinutes` | `bookingPolicy.bookAfterStartPolicy.enabled` | `bookingPolicy.cancellationPolicy.enabled` | `bookingPolicy.cancellationPolicy.limitLatestCancellation` | `bookingPolicy.cancellationPolicy.latestCancellationInMinutes` | `bookingPolicy.reschedulePolicy.enabled` | `bookingPolicy.reschedulePolicy.limitLatestReschedule` | `bookingPolicy.reschedulePolicy.latestRescheduleInMinutes` | `bookingPolicy.waitlistPolicy.enabled` | `bookingPolicy.waitlistPolicy.capacity` | `bookingPolicy.waitlistPolicy.reservationTimeInMinutes` | `bookingPolicy.participantsPolicy.maxParticipantsPerBooking` | `bookingPolicy.resourcesPolicy.enabled` | `bookingPolicy.resourcesPolicy.autoAssignAllowed` | `bookingPolicy.cancellationFeePolicy.enabled` | `bookingPolicy.cancellationFeePolicy.cancellationWindows` | `bookingPolicy.cancellationFeePolicy.cancellationWindows.${number}.percentage` | `bookingPolicy.saveCreditCardPolicy.enabled` | `schedule.availabilityConstraints.durations` | `schedule.availabilityConstraints.durations.${number}.minutes` | `schedule.availabilityConstraints.sessionDurations` | `schedule.availabilityConstraints.timeBetweenSessions` | `staffMemberIds` | `serviceResources` | `supportedSlugs` | `supportedSlugs.${number}.name` | `seoData.tags` | `seoData.tags.${number}.type` | `seoData.tags.${number}.children` | `seoData.tags.${number}.custom` | `seoData.tags.${number}.disabled` | `seoData.settings.preventAutoRedirect` | `seoData.settings.keywords` | `seoData.settings.keywords.${number}.term` | `seoData.settings.keywords.${number}.isMain` | `addOnGroups` | `addOnDetails` | `taxableAddress.taxableAddressType`, 6> & {
|
|
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` | `payment.discountInfo.discountName` | `locations` | `locations.${number}.business._id` | `locations.${number}.business.name` | `locations.${number}.custom._id` | `locations.${number}._id` | `locations.${number}.type` | `bookingPolicy._id` | `bookingPolicy.customPolicyDescription.enabled` | `bookingPolicy.customPolicyDescription.description` | `bookingPolicy.limitEarlyBookingPolicy.enabled` | `bookingPolicy.limitEarlyBookingPolicy.earliestBookingInMinutes` | `bookingPolicy.limitLateBookingPolicy.enabled` | `bookingPolicy.limitLateBookingPolicy.latestBookingInMinutes` | `bookingPolicy.bookAfterStartPolicy.enabled` | `bookingPolicy.cancellationPolicy.enabled` | `bookingPolicy.cancellationPolicy.limitLatestCancellation` | `bookingPolicy.cancellationPolicy.latestCancellationInMinutes` | `bookingPolicy.reschedulePolicy.enabled` | `bookingPolicy.reschedulePolicy.limitLatestReschedule` | `bookingPolicy.reschedulePolicy.latestRescheduleInMinutes` | `bookingPolicy.waitlistPolicy.enabled` | `bookingPolicy.waitlistPolicy.capacity` | `bookingPolicy.waitlistPolicy.reservationTimeInMinutes` | `bookingPolicy.participantsPolicy.maxParticipantsPerBooking` | `bookingPolicy.resourcesPolicy.enabled` | `bookingPolicy.resourcesPolicy.autoAssignAllowed` | `bookingPolicy.cancellationFeePolicy.enabled` | `bookingPolicy.cancellationFeePolicy.cancellationWindows` | `bookingPolicy.cancellationFeePolicy.cancellationWindows.${number}.percentage` | `bookingPolicy.saveCreditCardPolicy.enabled` | `schedule.availabilityConstraints.durations` | `schedule.availabilityConstraints.durations.${number}.minutes` | `schedule.availabilityConstraints.sessionDurations` | `schedule.availabilityConstraints.timeBetweenSessions` | `staffMemberIds` | `serviceResources` | `supportedSlugs` | `supportedSlugs.${number}.name` | `seoData.tags` | `seoData.tags.${number}.type` | `seoData.tags.${number}.children` | `seoData.tags.${number}.custom` | `seoData.tags.${number}.disabled` | `seoData.settings.preventAutoRedirect` | `seoData.settings.keywords` | `seoData.settings.keywords.${number}.term` | `seoData.settings.keywords.${number}.isMain` | `addOnGroups` | `addOnDetails` | `taxableAddress.taxableAddressType`, 6>>;
|
|
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` | `payment.discountInfo.discountName` | `locations` | `locations.${number}.business._id` | `locations.${number}.business.name` | `locations.${number}.custom._id` | `locations.${number}._id` | `locations.${number}.type` | `bookingPolicy._id` | `bookingPolicy.customPolicyDescription.enabled` | `bookingPolicy.customPolicyDescription.description` | `bookingPolicy.limitEarlyBookingPolicy.enabled` | `bookingPolicy.limitEarlyBookingPolicy.earliestBookingInMinutes` | `bookingPolicy.limitLateBookingPolicy.enabled` | `bookingPolicy.limitLateBookingPolicy.latestBookingInMinutes` | `bookingPolicy.bookAfterStartPolicy.enabled` | `bookingPolicy.cancellationPolicy.enabled` | `bookingPolicy.cancellationPolicy.limitLatestCancellation` | `bookingPolicy.cancellationPolicy.latestCancellationInMinutes` | `bookingPolicy.reschedulePolicy.enabled` | `bookingPolicy.reschedulePolicy.limitLatestReschedule` | `bookingPolicy.reschedulePolicy.latestRescheduleInMinutes` | `bookingPolicy.waitlistPolicy.enabled` | `bookingPolicy.waitlistPolicy.capacity` | `bookingPolicy.waitlistPolicy.reservationTimeInMinutes` | `bookingPolicy.participantsPolicy.maxParticipantsPerBooking` | `bookingPolicy.resourcesPolicy.enabled` | `bookingPolicy.resourcesPolicy.autoAssignAllowed` | `bookingPolicy.cancellationFeePolicy.enabled` | `bookingPolicy.cancellationFeePolicy.cancellationWindows` | `bookingPolicy.cancellationFeePolicy.cancellationWindows.${number}.percentage` | `bookingPolicy.saveCreditCardPolicy.enabled` | `schedule.availabilityConstraints.durations` | `schedule.availabilityConstraints.durations.${number}.minutes` | `schedule.availabilityConstraints.sessionDurations` | `schedule.availabilityConstraints.timeBetweenSessions` | `staffMemberIds` | `serviceResources` | `supportedSlugs` | `supportedSlugs.${number}.name` | `seoData.tags` | `seoData.tags.${number}.type` | `seoData.tags.${number}.children` | `seoData.tags.${number}.custom` | `seoData.tags.${number}.disabled` | `seoData.settings.preventAutoRedirect` | `seoData.settings.keywords` | `seoData.settings.keywords.${number}.term` | `seoData.settings.keywords.${number}.isMain` | `addOnGroups` | `addOnDetails` | `taxableAddress.taxableAddressType`, 6> & {
|
|
162
162
|
__validationErrorsType?: UpdateServiceValidationErrors;
|
|
163
163
|
}>;
|
|
164
164
|
}
|
|
@@ -265,7 +265,7 @@ interface SearchServicesSignature {
|
|
|
265
265
|
* To learn about working with Search methods, see [API Query Language](https://dev.wix.com/docs/api-reference/articles/work-with-wix-apis/data-retrieval/about-the-wix-api-query-language) and [Sorting and Paging](https://dev.wix.com/docs/api-reference/articles/work-with-wix-apis/data-retrieval/about-sorting-and-paging).
|
|
266
266
|
* @param - Search criteria including filter, sort, aggregations, and paging options.
|
|
267
267
|
*/
|
|
268
|
-
(search: ServiceSearch): Promise<NonNullablePaths<SearchServicesResponse, `services` | `services.${number}.type` | `services.${number}.category._id` | `services.${number}.form._id` | `services.${number}.payment.rateType` | `services.${number}.payment.addOnOption` | `services.${number}.bookingPolicy._id` | `services.${number}.bookingPolicy.customPolicyDescription.enabled` | `services.${number}.bookingPolicy.customPolicyDescription.description` | `services.${number}.bookingPolicy.limitEarlyBookingPolicy.enabled` | `services.${number}.bookingPolicy.limitEarlyBookingPolicy.earliestBookingInMinutes` | `services.${number}.bookingPolicy.limitLateBookingPolicy.enabled` | `services.${number}.bookingPolicy.limitLateBookingPolicy.latestBookingInMinutes` | `services.${number}.bookingPolicy.bookAfterStartPolicy.enabled` | `services.${number}.bookingPolicy.cancellationPolicy.enabled` | `services.${number}.bookingPolicy.cancellationPolicy.limitLatestCancellation` | `services.${number}.bookingPolicy.cancellationPolicy.latestCancellationInMinutes` | `services.${number}.bookingPolicy.reschedulePolicy.enabled` | `services.${number}.bookingPolicy.reschedulePolicy.limitLatestReschedule` | `services.${number}.bookingPolicy.reschedulePolicy.latestRescheduleInMinutes` | `services.${number}.bookingPolicy.waitlistPolicy.enabled` | `services.${number}.bookingPolicy.waitlistPolicy.capacity` | `services.${number}.bookingPolicy.waitlistPolicy.reservationTimeInMinutes` | `services.${number}.bookingPolicy.participantsPolicy.maxParticipantsPerBooking` | `services.${number}.bookingPolicy.resourcesPolicy.enabled` | `services.${number}.bookingPolicy.resourcesPolicy.autoAssignAllowed` | `services.${number}.bookingPolicy.cancellationFeePolicy.enabled` | `services.${number}.bookingPolicy.saveCreditCardPolicy.enabled` | `services.${number}.schedule.availabilityConstraints.timeBetweenSessions` | `services.${number}.seoData.settings.preventAutoRedirect` | `services.${number}.taxableAddress.taxableAddressType` | `aggregationData.results` | `aggregationData.results.${number}.scalar.type` | `aggregationData.results.${number}.scalar.value` | `aggregationData.results.${number}.scalarDate.type` | `aggregationData.results.${number}.scalarDate.value` | `aggregationData.results.${number}.name` | `aggregationData.results.${number}.type` | `aggregationData.results.${number}.fieldPath`, 6>>;
|
|
268
|
+
(search: ServiceSearch): Promise<NonNullablePaths<SearchServicesResponse, `services` | `services.${number}.type` | `services.${number}.category._id` | `services.${number}.form._id` | `services.${number}.payment.rateType` | `services.${number}.payment.addOnOption` | `services.${number}.payment.discountInfo.discountName` | `services.${number}.bookingPolicy._id` | `services.${number}.bookingPolicy.customPolicyDescription.enabled` | `services.${number}.bookingPolicy.customPolicyDescription.description` | `services.${number}.bookingPolicy.limitEarlyBookingPolicy.enabled` | `services.${number}.bookingPolicy.limitEarlyBookingPolicy.earliestBookingInMinutes` | `services.${number}.bookingPolicy.limitLateBookingPolicy.enabled` | `services.${number}.bookingPolicy.limitLateBookingPolicy.latestBookingInMinutes` | `services.${number}.bookingPolicy.bookAfterStartPolicy.enabled` | `services.${number}.bookingPolicy.cancellationPolicy.enabled` | `services.${number}.bookingPolicy.cancellationPolicy.limitLatestCancellation` | `services.${number}.bookingPolicy.cancellationPolicy.latestCancellationInMinutes` | `services.${number}.bookingPolicy.reschedulePolicy.enabled` | `services.${number}.bookingPolicy.reschedulePolicy.limitLatestReschedule` | `services.${number}.bookingPolicy.reschedulePolicy.latestRescheduleInMinutes` | `services.${number}.bookingPolicy.waitlistPolicy.enabled` | `services.${number}.bookingPolicy.waitlistPolicy.capacity` | `services.${number}.bookingPolicy.waitlistPolicy.reservationTimeInMinutes` | `services.${number}.bookingPolicy.participantsPolicy.maxParticipantsPerBooking` | `services.${number}.bookingPolicy.resourcesPolicy.enabled` | `services.${number}.bookingPolicy.resourcesPolicy.autoAssignAllowed` | `services.${number}.bookingPolicy.cancellationFeePolicy.enabled` | `services.${number}.bookingPolicy.saveCreditCardPolicy.enabled` | `services.${number}.schedule.availabilityConstraints.timeBetweenSessions` | `services.${number}.seoData.settings.preventAutoRedirect` | `services.${number}.taxableAddress.taxableAddressType` | `aggregationData.results` | `aggregationData.results.${number}.scalar.type` | `aggregationData.results.${number}.scalar.value` | `aggregationData.results.${number}.scalarDate.type` | `aggregationData.results.${number}.scalarDate.value` | `aggregationData.results.${number}.name` | `aggregationData.results.${number}.type` | `aggregationData.results.${number}.fieldPath`, 6>>;
|
|
269
269
|
}
|
|
270
270
|
declare function queryPolicies$1(httpClient: HttpClient): QueryPoliciesSignature;
|
|
271
271
|
interface QueryPoliciesSignature {
|
|
@@ -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.payment.discountInfo.discountName` | `service.locations` | `service.locations.${number}.business._id` | `service.locations.${number}.business.name` | `service.locations.${number}.custom._id` | `service.locations.${number}._id` | `service.locations.${number}.type` | `service.bookingPolicy._id` | `service.bookingPolicy.customPolicyDescription.enabled` | `service.bookingPolicy.customPolicyDescription.description` | `service.bookingPolicy.limitEarlyBookingPolicy.enabled` | `service.bookingPolicy.limitEarlyBookingPolicy.earliestBookingInMinutes` | `service.bookingPolicy.limitLateBookingPolicy.enabled` | `service.bookingPolicy.limitLateBookingPolicy.latestBookingInMinutes` | `service.bookingPolicy.bookAfterStartPolicy.enabled` | `service.bookingPolicy.cancellationPolicy.enabled` | `service.bookingPolicy.cancellationPolicy.limitLatestCancellation` | `service.bookingPolicy.cancellationPolicy.latestCancellationInMinutes` | `service.bookingPolicy.reschedulePolicy.enabled` | `service.bookingPolicy.reschedulePolicy.limitLatestReschedule` | `service.bookingPolicy.reschedulePolicy.latestRescheduleInMinutes` | `service.bookingPolicy.waitlistPolicy.enabled` | `service.bookingPolicy.waitlistPolicy.capacity` | `service.bookingPolicy.waitlistPolicy.reservationTimeInMinutes` | `service.bookingPolicy.participantsPolicy.maxParticipantsPerBooking` | `service.bookingPolicy.resourcesPolicy.enabled` | `service.bookingPolicy.resourcesPolicy.autoAssignAllowed` | `service.bookingPolicy.cancellationFeePolicy.enabled` | `service.bookingPolicy.cancellationFeePolicy.cancellationWindows` | `service.bookingPolicy.cancellationFeePolicy.cancellationWindows.${number}.percentage` | `service.bookingPolicy.saveCreditCardPolicy.enabled` | `service.schedule.availabilityConstraints.durations` | `service.schedule.availabilityConstraints.durations.${number}.minutes` | `service.schedule.availabilityConstraints.sessionDurations` | `service.schedule.availabilityConstraints.timeBetweenSessions` | `service.staffMemberIds` | `service.serviceResources` | `service.supportedSlugs` | `service.supportedSlugs.${number}.name` | `service.seoData.tags` | `service.seoData.tags.${number}.type` | `service.seoData.tags.${number}.children` | `service.seoData.tags.${number}.custom` | `service.seoData.tags.${number}.disabled` | `service.seoData.settings.preventAutoRedirect` | `service.seoData.settings.keywords` | `service.seoData.settings.keywords.${number}.term` | `service.seoData.settings.keywords.${number}.isMain` | `service.addOnGroups` | `service.addOnDetails` | `service.taxableAddress.taxableAddressType`, 7>>;
|
|
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.payment.discountInfo.discountName` | `service.locations` | `service.locations.${number}.business._id` | `service.locations.${number}.business.name` | `service.locations.${number}.custom._id` | `service.locations.${number}._id` | `service.locations.${number}.type` | `service.bookingPolicy._id` | `service.bookingPolicy.customPolicyDescription.enabled` | `service.bookingPolicy.customPolicyDescription.description` | `service.bookingPolicy.limitEarlyBookingPolicy.enabled` | `service.bookingPolicy.limitEarlyBookingPolicy.earliestBookingInMinutes` | `service.bookingPolicy.limitLateBookingPolicy.enabled` | `service.bookingPolicy.limitLateBookingPolicy.latestBookingInMinutes` | `service.bookingPolicy.bookAfterStartPolicy.enabled` | `service.bookingPolicy.cancellationPolicy.enabled` | `service.bookingPolicy.cancellationPolicy.limitLatestCancellation` | `service.bookingPolicy.cancellationPolicy.latestCancellationInMinutes` | `service.bookingPolicy.reschedulePolicy.enabled` | `service.bookingPolicy.reschedulePolicy.limitLatestReschedule` | `service.bookingPolicy.reschedulePolicy.latestRescheduleInMinutes` | `service.bookingPolicy.waitlistPolicy.enabled` | `service.bookingPolicy.waitlistPolicy.capacity` | `service.bookingPolicy.waitlistPolicy.reservationTimeInMinutes` | `service.bookingPolicy.participantsPolicy.maxParticipantsPerBooking` | `service.bookingPolicy.resourcesPolicy.enabled` | `service.bookingPolicy.resourcesPolicy.autoAssignAllowed` | `service.bookingPolicy.cancellationFeePolicy.enabled` | `service.bookingPolicy.cancellationFeePolicy.cancellationWindows` | `service.bookingPolicy.cancellationFeePolicy.cancellationWindows.${number}.percentage` | `service.bookingPolicy.saveCreditCardPolicy.enabled` | `service.schedule.availabilityConstraints.durations` | `service.schedule.availabilityConstraints.durations.${number}.minutes` | `service.schedule.availabilityConstraints.sessionDurations` | `service.schedule.availabilityConstraints.timeBetweenSessions` | `service.staffMemberIds` | `service.serviceResources` | `service.supportedSlugs` | `service.supportedSlugs.${number}.name` | `service.seoData.tags` | `service.seoData.tags.${number}.type` | `service.seoData.tags.${number}.children` | `service.seoData.tags.${number}.custom` | `service.seoData.tags.${number}.disabled` | `service.seoData.settings.preventAutoRedirect` | `service.seoData.settings.keywords` | `service.seoData.settings.keywords.${number}.term` | `service.seoData.settings.keywords.${number}.isMain` | `service.addOnGroups` | `service.addOnDetails` | `service.taxableAddress.taxableAddressType`, 7> & {
|
|
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.payment.discountInfo.discountName` | `service.locations` | `service.locations.${number}.business._id` | `service.locations.${number}.business.name` | `service.locations.${number}.custom._id` | `service.locations.${number}._id` | `service.locations.${number}.type` | `service.bookingPolicy._id` | `service.bookingPolicy.customPolicyDescription.enabled` | `service.bookingPolicy.customPolicyDescription.description` | `service.bookingPolicy.limitEarlyBookingPolicy.enabled` | `service.bookingPolicy.limitEarlyBookingPolicy.earliestBookingInMinutes` | `service.bookingPolicy.limitLateBookingPolicy.enabled` | `service.bookingPolicy.limitLateBookingPolicy.latestBookingInMinutes` | `service.bookingPolicy.bookAfterStartPolicy.enabled` | `service.bookingPolicy.cancellationPolicy.enabled` | `service.bookingPolicy.cancellationPolicy.limitLatestCancellation` | `service.bookingPolicy.cancellationPolicy.latestCancellationInMinutes` | `service.bookingPolicy.reschedulePolicy.enabled` | `service.bookingPolicy.reschedulePolicy.limitLatestReschedule` | `service.bookingPolicy.reschedulePolicy.latestRescheduleInMinutes` | `service.bookingPolicy.waitlistPolicy.enabled` | `service.bookingPolicy.waitlistPolicy.capacity` | `service.bookingPolicy.waitlistPolicy.reservationTimeInMinutes` | `service.bookingPolicy.participantsPolicy.maxParticipantsPerBooking` | `service.bookingPolicy.resourcesPolicy.enabled` | `service.bookingPolicy.resourcesPolicy.autoAssignAllowed` | `service.bookingPolicy.cancellationFeePolicy.enabled` | `service.bookingPolicy.cancellationFeePolicy.cancellationWindows` | `service.bookingPolicy.cancellationFeePolicy.cancellationWindows.${number}.percentage` | `service.bookingPolicy.saveCreditCardPolicy.enabled` | `service.schedule.availabilityConstraints.durations` | `service.schedule.availabilityConstraints.durations.${number}.minutes` | `service.schedule.availabilityConstraints.sessionDurations` | `service.schedule.availabilityConstraints.timeBetweenSessions` | `service.staffMemberIds` | `service.serviceResources` | `service.supportedSlugs` | `service.supportedSlugs.${number}.name` | `service.seoData.tags` | `service.seoData.tags.${number}.type` | `service.seoData.tags.${number}.children` | `service.seoData.tags.${number}.custom` | `service.seoData.tags.${number}.disabled` | `service.seoData.settings.preventAutoRedirect` | `service.seoData.settings.keywords` | `service.seoData.settings.keywords.${number}.term` | `service.seoData.settings.keywords.${number}.isMain` | `service.addOnGroups` | `service.addOnDetails` | `service.taxableAddress.taxableAddressType`, 7> & {
|
|
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.payment.discountInfo.discountName` | `service.locations` | `service.locations.${number}.business._id` | `service.locations.${number}.business.name` | `service.locations.${number}.custom._id` | `service.locations.${number}._id` | `service.locations.${number}.type` | `service.bookingPolicy._id` | `service.bookingPolicy.customPolicyDescription.enabled` | `service.bookingPolicy.customPolicyDescription.description` | `service.bookingPolicy.limitEarlyBookingPolicy.enabled` | `service.bookingPolicy.limitEarlyBookingPolicy.earliestBookingInMinutes` | `service.bookingPolicy.limitLateBookingPolicy.enabled` | `service.bookingPolicy.limitLateBookingPolicy.latestBookingInMinutes` | `service.bookingPolicy.bookAfterStartPolicy.enabled` | `service.bookingPolicy.cancellationPolicy.enabled` | `service.bookingPolicy.cancellationPolicy.limitLatestCancellation` | `service.bookingPolicy.cancellationPolicy.latestCancellationInMinutes` | `service.bookingPolicy.reschedulePolicy.enabled` | `service.bookingPolicy.reschedulePolicy.limitLatestReschedule` | `service.bookingPolicy.reschedulePolicy.latestRescheduleInMinutes` | `service.bookingPolicy.waitlistPolicy.enabled` | `service.bookingPolicy.waitlistPolicy.capacity` | `service.bookingPolicy.waitlistPolicy.reservationTimeInMinutes` | `service.bookingPolicy.participantsPolicy.maxParticipantsPerBooking` | `service.bookingPolicy.resourcesPolicy.enabled` | `service.bookingPolicy.resourcesPolicy.autoAssignAllowed` | `service.bookingPolicy.cancellationFeePolicy.enabled` | `service.bookingPolicy.cancellationFeePolicy.cancellationWindows` | `service.bookingPolicy.cancellationFeePolicy.cancellationWindows.${number}.percentage` | `service.bookingPolicy.saveCreditCardPolicy.enabled` | `service.schedule.availabilityConstraints.durations` | `service.schedule.availabilityConstraints.durations.${number}.minutes` | `service.schedule.availabilityConstraints.sessionDurations` | `service.schedule.availabilityConstraints.timeBetweenSessions` | `service.staffMemberIds` | `service.serviceResources` | `service.supportedSlugs` | `service.supportedSlugs.${number}.name` | `service.seoData.tags` | `service.seoData.tags.${number}.type` | `service.seoData.tags.${number}.children` | `service.seoData.tags.${number}.custom` | `service.seoData.tags.${number}.disabled` | `service.seoData.settings.preventAutoRedirect` | `service.seoData.settings.keywords` | `service.seoData.settings.keywords.${number}.term` | `service.seoData.settings.keywords.${number}.isMain` | `service.addOnGroups` | `service.addOnDetails` | `service.taxableAddress.taxableAddressType`, 7> & {
|
|
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.payment.discountInfo.discountName` | `service.locations` | `service.locations.${number}.business._id` | `service.locations.${number}.business.name` | `service.locations.${number}.custom._id` | `service.locations.${number}._id` | `service.locations.${number}.type` | `service.bookingPolicy._id` | `service.bookingPolicy.customPolicyDescription.enabled` | `service.bookingPolicy.customPolicyDescription.description` | `service.bookingPolicy.limitEarlyBookingPolicy.enabled` | `service.bookingPolicy.limitEarlyBookingPolicy.earliestBookingInMinutes` | `service.bookingPolicy.limitLateBookingPolicy.enabled` | `service.bookingPolicy.limitLateBookingPolicy.latestBookingInMinutes` | `service.bookingPolicy.bookAfterStartPolicy.enabled` | `service.bookingPolicy.cancellationPolicy.enabled` | `service.bookingPolicy.cancellationPolicy.limitLatestCancellation` | `service.bookingPolicy.cancellationPolicy.latestCancellationInMinutes` | `service.bookingPolicy.reschedulePolicy.enabled` | `service.bookingPolicy.reschedulePolicy.limitLatestReschedule` | `service.bookingPolicy.reschedulePolicy.latestRescheduleInMinutes` | `service.bookingPolicy.waitlistPolicy.enabled` | `service.bookingPolicy.waitlistPolicy.capacity` | `service.bookingPolicy.waitlistPolicy.reservationTimeInMinutes` | `service.bookingPolicy.participantsPolicy.maxParticipantsPerBooking` | `service.bookingPolicy.resourcesPolicy.enabled` | `service.bookingPolicy.resourcesPolicy.autoAssignAllowed` | `service.bookingPolicy.cancellationFeePolicy.enabled` | `service.bookingPolicy.cancellationFeePolicy.cancellationWindows` | `service.bookingPolicy.cancellationFeePolicy.cancellationWindows.${number}.percentage` | `service.bookingPolicy.saveCreditCardPolicy.enabled` | `service.schedule.availabilityConstraints.durations` | `service.schedule.availabilityConstraints.durations.${number}.minutes` | `service.schedule.availabilityConstraints.sessionDurations` | `service.schedule.availabilityConstraints.timeBetweenSessions` | `service.staffMemberIds` | `service.serviceResources` | `service.supportedSlugs` | `service.supportedSlugs.${number}.name` | `service.seoData.tags` | `service.seoData.tags.${number}.type` | `service.seoData.tags.${number}.children` | `service.seoData.tags.${number}.custom` | `service.seoData.tags.${number}.disabled` | `service.seoData.settings.preventAutoRedirect` | `service.seoData.settings.keywords` | `service.seoData.settings.keywords.${number}.term` | `service.seoData.settings.keywords.${number}.isMain` | `service.addOnGroups` | `service.addOnDetails` | `service.taxableAddress.taxableAddressType` | `errors`, 7>>;
|
|
592
592
|
}
|
|
593
593
|
declare function createAddOnGroup$1(httpClient: HttpClient): CreateAddOnGroupSignature;
|
|
594
594
|
interface CreateAddOnGroupSignature {
|
package/build/cjs/index.js
CHANGED
|
@@ -64,7 +64,6 @@ __export(index_exports, {
|
|
|
64
64
|
Timing: () => Timing,
|
|
65
65
|
UnitType: () => UnitType,
|
|
66
66
|
V2RequestedFields: () => V2RequestedFields,
|
|
67
|
-
V2UnitType: () => V2UnitType,
|
|
68
67
|
ValueType: () => ValueType,
|
|
69
68
|
WebhookIdentityType: () => WebhookIdentityType,
|
|
70
69
|
bulkCreateServices: () => bulkCreateServices4,
|
|
@@ -1904,9 +1903,9 @@ var CompletionRequirement = /* @__PURE__ */ ((CompletionRequirement2) => {
|
|
|
1904
1903
|
CompletionRequirement2["REQUIRED_BEFORE_BOOKING"] = "REQUIRED_BEFORE_BOOKING";
|
|
1905
1904
|
return CompletionRequirement2;
|
|
1906
1905
|
})(CompletionRequirement || {});
|
|
1907
|
-
var
|
|
1908
|
-
return
|
|
1909
|
-
})(
|
|
1906
|
+
var UnitType = /* @__PURE__ */ ((UnitType2) => {
|
|
1907
|
+
return UnitType2;
|
|
1908
|
+
})(UnitType || {});
|
|
1910
1909
|
var TaxableAddressType = /* @__PURE__ */ ((TaxableAddressType2) => {
|
|
1911
1910
|
TaxableAddressType2["BUSINESS"] = "BUSINESS";
|
|
1912
1911
|
TaxableAddressType2["BILLING"] = "BILLING";
|
|
@@ -1996,9 +1995,6 @@ var WebhookIdentityType = /* @__PURE__ */ ((WebhookIdentityType2) => {
|
|
|
1996
1995
|
WebhookIdentityType2["APP"] = "APP";
|
|
1997
1996
|
return WebhookIdentityType2;
|
|
1998
1997
|
})(WebhookIdentityType || {});
|
|
1999
|
-
var UnitType = /* @__PURE__ */ ((UnitType2) => {
|
|
2000
|
-
return UnitType2;
|
|
2001
|
-
})(UnitType || {});
|
|
2002
1998
|
var V2RequestedFields = /* @__PURE__ */ ((V2RequestedFields2) => {
|
|
2003
1999
|
V2RequestedFields2["STAFF_MEMBER_DETAILS"] = "STAFF_MEMBER_DETAILS";
|
|
2004
2000
|
V2RequestedFields2["RESOURCE_TYPE_DETAILS"] = "RESOURCE_TYPE_DETAILS";
|
|
@@ -4057,7 +4053,6 @@ var onServiceUpdated2 = (0, import_event_definition_modules.createEventModule)(o
|
|
|
4057
4053
|
Timing,
|
|
4058
4054
|
UnitType,
|
|
4059
4055
|
V2RequestedFields,
|
|
4060
|
-
V2UnitType,
|
|
4061
4056
|
ValueType,
|
|
4062
4057
|
WebhookIdentityType,
|
|
4063
4058
|
bulkCreateServices,
|