@wix/auto_sdk_bookings_services 1.0.101 → 1.0.102
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-bHx_aSVy.d.ts → bookings-services-v2-service-services.universal-Ckx3A9Qa.d.ts} +43 -41
- package/build/cjs/index.d.ts +43 -40
- package/build/cjs/index.js.map +1 -1
- package/build/cjs/index.typings.d.ts +5 -4
- package/build/cjs/index.typings.js.map +1 -1
- package/build/cjs/meta.d.ts +5 -5
- package/build/cjs/meta.js.map +1 -1
- package/build/es/{bookings-services-v2-service-services.universal-bHx_aSVy.d.mts → bookings-services-v2-service-services.universal-Ckx3A9Qa.d.mts} +43 -41
- package/build/es/index.d.mts +43 -40
- package/build/es/index.mjs.map +1 -1
- package/build/es/index.typings.d.mts +5 -4
- package/build/es/index.typings.mjs.map +1 -1
- package/build/es/meta.d.mts +5 -5
- package/build/es/meta.mjs.map +1 -1
- package/build/internal/cjs/{bookings-services-v2-service-services.universal-bHx_aSVy.d.ts → bookings-services-v2-service-services.universal-Ckx3A9Qa.d.ts} +43 -41
- package/build/internal/cjs/index.d.ts +43 -40
- package/build/internal/cjs/index.js.map +1 -1
- package/build/internal/cjs/index.typings.d.ts +5 -4
- package/build/internal/cjs/index.typings.js.map +1 -1
- package/build/internal/cjs/meta.d.ts +5 -5
- package/build/internal/cjs/meta.js.map +1 -1
- package/build/internal/es/{bookings-services-v2-service-services.universal-bHx_aSVy.d.mts → bookings-services-v2-service-services.universal-Ckx3A9Qa.d.mts} +43 -41
- package/build/internal/es/index.d.mts +43 -40
- package/build/internal/es/index.mjs.map +1 -1
- package/build/internal/es/index.typings.d.mts +5 -4
- package/build/internal/es/index.typings.mjs.map +1 -1
- package/build/internal/es/meta.d.mts +5 -5
- package/build/internal/es/meta.mjs.map +1 -1
- package/package.json +2 -2
|
@@ -2507,7 +2507,7 @@ interface BookingPolicyWithServices {
|
|
|
2507
2507
|
/**
|
|
2508
2508
|
* Up to 5 services connected to the booking policy. If `totalServiceCount` is
|
|
2509
2509
|
* greater than 5, there are additional services connected to the policy.
|
|
2510
|
-
* You can call Search Services
|
|
2510
|
+
* You can call *Search Services*
|
|
2511
2511
|
* ([SDK](https://dev.wix.com/docs/sdk/backend-modules/bookings/services/search-services) | [REST](https://dev.wix.com/docs/rest/business-solutions/bookings/services/services-v2/search-services))
|
|
2512
2512
|
* specifying the relevant policy ID in the filter, to retrieve all services that are
|
|
2513
2513
|
* connected to a booking policy.
|
|
@@ -2552,7 +2552,7 @@ interface BookingForm {
|
|
|
2552
2552
|
/**
|
|
2553
2553
|
* Up to 5 services connected to the booking form. If `totalServiceCount` is
|
|
2554
2554
|
* greater than 5, there are additional services connected to the policy.
|
|
2555
|
-
* You can call Search Services
|
|
2555
|
+
* You can call *Search Services*
|
|
2556
2556
|
* ([SDK](https://dev.wix.com/docs/sdk/backend-modules/bookings/services/search-services) | [REST](https://dev.wix.com/docs/rest/business-solutions/bookings/services/services-v2/search-services))
|
|
2557
2557
|
* specifying the relevant policy ID in the filter, to retrieve all services that are
|
|
2558
2558
|
* connected to a booking policy.
|
|
@@ -2773,7 +2773,7 @@ interface EnablePricingPlansForServiceRequest {
|
|
|
2773
2773
|
*/
|
|
2774
2774
|
serviceId: string;
|
|
2775
2775
|
/**
|
|
2776
|
-
* IDs of the pricing plans
|
|
2776
|
+
* IDs of the *pricing plans*
|
|
2777
2777
|
* ([SDK](https://dev.wix.com/docs/sdk/backend-modules/pricing-plans/plans/introduction) | [REST](https://dev.wix.com/api/rest/wix-pricing-plans/pricing-plans/plans/plan-object))
|
|
2778
2778
|
* to add to the service's `payment.pricingPlanIds` array.
|
|
2779
2779
|
* @format GUID
|
|
@@ -2804,7 +2804,7 @@ interface DisablePricingPlansForServiceRequest {
|
|
|
2804
2804
|
*/
|
|
2805
2805
|
serviceId: string;
|
|
2806
2806
|
/**
|
|
2807
|
-
* IDs of the pricing plans
|
|
2807
|
+
* IDs of the *pricing plans*
|
|
2808
2808
|
* ([SDK](https://dev.wix.com/docs/sdk/backend-modules/pricing-plans/plans/introduction) | [REST](https://dev.wix.com/api/rest/wix-pricing-plans/pricing-plans/plans/plan-object))
|
|
2809
2809
|
* to remove from the service's `payment.pricingPlanIds` array.
|
|
2810
2810
|
* @format GUID
|
|
@@ -3812,7 +3812,7 @@ interface SetAddOnsForGroupOptions {
|
|
|
3812
3812
|
* - Specify all supported session durations in `schedule.availabilityConstraints.sessionDurations`.
|
|
3813
3813
|
* - Note that Wix Bookings doesn't display these values to customers and
|
|
3814
3814
|
* ignores them in pricing and availability calculations. Instead session
|
|
3815
|
-
* durations are retrieved from the relevant service variants
|
|
3815
|
+
* durations are retrieved from the relevant service *variants*
|
|
3816
3816
|
* ([SDK](https://dev.wix.com/docs/sdk/backend-modules/bookings/service-options-and-variants/introduction) | [REST](https://dev.wix.com/docs/rest/business-solutions/bookings/services/service-options-and-variants/introduction)).
|
|
3817
3817
|
* - It is mandatory to specify `schedule.availabilityConstraints.sessionDurations`,
|
|
3818
3818
|
* even though these values are ignored.
|
|
@@ -3831,7 +3831,7 @@ declare function createService(service: Service): Promise<NonNullablePaths<Servi
|
|
|
3831
3831
|
* Creates multiple services.
|
|
3832
3832
|
*
|
|
3833
3833
|
*
|
|
3834
|
-
* See Create Service
|
|
3834
|
+
* See *Create Service*
|
|
3835
3835
|
* ([SDK](https://dev.wix.com/docs/sdk/backend-modules/bookings/services/create-service) | [REST](https://dev.wix.com/docs/rest/business-solutions/bookings/services/services-v2/create-service))
|
|
3836
3836
|
* for more details.
|
|
3837
3837
|
* @param services - Services to create.
|
|
@@ -3871,7 +3871,7 @@ declare function getService(serviceId: string): Promise<NonNullablePaths<Service
|
|
|
3871
3871
|
* Specify `schedule.availabilityConstraints.sessionDurations`
|
|
3872
3872
|
* only if you want to update it for appointment-based services without varied
|
|
3873
3873
|
* pricing based on session length. Don't specify `schedule.availabilityConstraints.sessionDurations`
|
|
3874
|
-
* for all other appointment-based services, classes, or courses. See Create Service
|
|
3874
|
+
* for all other appointment-based services, classes, or courses. See *Create Service*
|
|
3875
3875
|
* ([SDK](https://dev.wix.com/docs/sdk/backend-modules/bookings/services/create-service#session-durations) | [REST](https://dev.wix.com/docs/rest/business-solutions/bookings/services/services-v2/create-service#session-durations))
|
|
3876
3876
|
* for more details.
|
|
3877
3877
|
* @param _id - Service ID.
|
|
@@ -4028,7 +4028,7 @@ interface UpdateService {
|
|
|
4028
4028
|
* Updates up to 100 services.
|
|
4029
4029
|
*
|
|
4030
4030
|
*
|
|
4031
|
-
* See Update Service
|
|
4031
|
+
* See *Update Service*
|
|
4032
4032
|
* ([SDK](https://dev.wix.com/docs/sdk/backend-modules/bookings/services/update-service) | [REST](https://dev.wix.com/docs/rest/business-solutions/bookings/services/services-v2/update-service))
|
|
4033
4033
|
* for more details.
|
|
4034
4034
|
*
|
|
@@ -4060,7 +4060,7 @@ interface BulkUpdateServicesOptions {
|
|
|
4060
4060
|
* ([REST](https://dev.wix.com/docs/rest/business-solutions/bookings/services/services-v2/filtering-and-sorting#filtering))
|
|
4061
4061
|
* for more details.
|
|
4062
4062
|
*
|
|
4063
|
-
* See Update Service
|
|
4063
|
+
* See *Update Service*
|
|
4064
4064
|
* ([SDK](https://dev.wix.com/docs/sdk/backend-modules/bookings/services/update-service) | [REST](https://dev.wix.com/docs/rest/business-solutions/bookings/services/services-v2/update-service))
|
|
4065
4065
|
* for more details about updating a service.
|
|
4066
4066
|
*
|
|
@@ -4112,7 +4112,7 @@ interface DeleteServiceOptions {
|
|
|
4112
4112
|
* Deletes multiple services.
|
|
4113
4113
|
*
|
|
4114
4114
|
*
|
|
4115
|
-
* See Delete Service
|
|
4115
|
+
* See *Delete Service*
|
|
4116
4116
|
* ([SDK](https://dev.wix.com/docs/sdk/backend-modules/bookings/services/delete-service) | [REST](https://dev.wix.com/docs/rest/business-solutions/bookings/services/services-v2/delete-service))
|
|
4117
4117
|
* for more details about deleting a service.
|
|
4118
4118
|
*
|
|
@@ -4143,7 +4143,7 @@ interface BulkDeleteServicesOptions {
|
|
|
4143
4143
|
* Deletes multiple services by filter.
|
|
4144
4144
|
*
|
|
4145
4145
|
*
|
|
4146
|
-
* See Delete Service
|
|
4146
|
+
* See *Delete Service*
|
|
4147
4147
|
* ([SDK](https://dev.wix.com/docs/sdk/backend-modules/bookings/services/delete-service) | [REST](https://dev.wix.com/docs/rest/business-solutions/bookings/services/services-v2/delete-service))
|
|
4148
4148
|
* for more details about deleting a service.
|
|
4149
4149
|
*
|
|
@@ -4454,7 +4454,7 @@ type ServiceSearch = {
|
|
|
4454
4454
|
timeZone?: CommonSearchWithEntityContext['timeZone'] | null;
|
|
4455
4455
|
};
|
|
4456
4456
|
/**
|
|
4457
|
-
* Retrieves a list of up to 100 booking policies
|
|
4457
|
+
* Retrieves a list of up to 100 *booking policies*
|
|
4458
4458
|
* ([SDK](https://dev.wix.com/docs/sdk/backend-modules/bookings/booking-policies/introduction) | [REST](https://dev.wix.com/docs/rest/business-solutions/bookings/policies/booking-policies/introduction)),
|
|
4459
4459
|
* and information about the services that are connected to them,
|
|
4460
4460
|
* given the provided filtering, paging, and sorting.
|
|
@@ -4468,7 +4468,7 @@ type ServiceSearch = {
|
|
|
4468
4468
|
*
|
|
4469
4469
|
* ## Filters
|
|
4470
4470
|
*
|
|
4471
|
-
* For a complete list of supported filters, refer to Booking Policies API: Supported Filters
|
|
4471
|
+
* For a complete list of supported filters, refer to **Booking Policies API: Supported Filters**
|
|
4472
4472
|
* ([REST](https://dev.wix.com/docs/rest/business-solutions/bookings/policies/booking-policies/supported-filters)).
|
|
4473
4473
|
*
|
|
4474
4474
|
* When using date filters, you must use
|
|
@@ -4478,14 +4478,14 @@ type ServiceSearch = {
|
|
|
4478
4478
|
*
|
|
4479
4479
|
* If a booking policy is connected to more than 5 services, only a subset of
|
|
4480
4480
|
* those services is returned. The `bookingPolicies.totalServiceCount` values
|
|
4481
|
-
* indicate the total number of services linked to each policy. You can call Search Services
|
|
4481
|
+
* indicate the total number of services linked to each policy. You can call *Search Services*
|
|
4482
4482
|
* ([SDK](https://dev.wix.com/docs/sdk/backend-modules/bookings/services/search-services) | [REST](https://dev.wix.com/docs/rest/business-solutions/bookings/services/services-v2/search-services))
|
|
4483
4483
|
* and specify the relevant policy ID in the filter to retrieve all services
|
|
4484
4484
|
* connected to the booking policy.
|
|
4485
4485
|
*
|
|
4486
4486
|
* ## See also
|
|
4487
4487
|
*
|
|
4488
|
-
* To learn about working with Query
|
|
4488
|
+
* To learn about working with *Query* endpoints, see
|
|
4489
4489
|
* [API Query Language](https://dev.wix.com/docs/rest/articles/getting-started/api-query-language)
|
|
4490
4490
|
* and [Sorting and Paging](https://dev.wix.com/docs/rest/articles/getting-started/sorting-and-paging).
|
|
4491
4491
|
* @param query - Information about filters, paging, and sorting. See the article about
|
|
@@ -4502,7 +4502,7 @@ type ServiceSearch = {
|
|
|
4502
4502
|
*/
|
|
4503
4503
|
declare function queryPolicies(query: CursorQuery): Promise<NonNullablePaths<QueryPoliciesResponse, `bookingPolicies` | `bookingPolicies.${number}.bookingPolicy._id` | `bookingPolicies.${number}.bookingPolicy.customPolicyDescription.enabled` | `bookingPolicies.${number}.bookingPolicy.customPolicyDescription.description` | `bookingPolicies.${number}.bookingPolicy.limitEarlyBookingPolicy.enabled` | `bookingPolicies.${number}.bookingPolicy.limitEarlyBookingPolicy.earliestBookingInMinutes` | `bookingPolicies.${number}.bookingPolicy.limitLateBookingPolicy.enabled` | `bookingPolicies.${number}.bookingPolicy.limitLateBookingPolicy.latestBookingInMinutes` | `bookingPolicies.${number}.bookingPolicy.bookAfterStartPolicy.enabled` | `bookingPolicies.${number}.bookingPolicy.cancellationPolicy.enabled` | `bookingPolicies.${number}.bookingPolicy.cancellationPolicy.limitLatestCancellation` | `bookingPolicies.${number}.bookingPolicy.cancellationPolicy.latestCancellationInMinutes` | `bookingPolicies.${number}.bookingPolicy.reschedulePolicy.enabled` | `bookingPolicies.${number}.bookingPolicy.reschedulePolicy.limitLatestReschedule` | `bookingPolicies.${number}.bookingPolicy.reschedulePolicy.latestRescheduleInMinutes` | `bookingPolicies.${number}.bookingPolicy.waitlistPolicy.enabled` | `bookingPolicies.${number}.bookingPolicy.waitlistPolicy.capacity` | `bookingPolicies.${number}.bookingPolicy.waitlistPolicy.reservationTimeInMinutes` | `bookingPolicies.${number}.bookingPolicy.participantsPolicy.maxParticipantsPerBooking` | `bookingPolicies.${number}.bookingPolicy.resourcesPolicy.enabled` | `bookingPolicies.${number}.bookingPolicy.resourcesPolicy.autoAssignAllowed` | `bookingPolicies.${number}.bookingPolicy.cancellationFeePolicy.enabled` | `bookingPolicies.${number}.bookingPolicy.saveCreditCardPolicy.enabled` | `bookingPolicies.${number}.totalServiceCount`, 6>>;
|
|
4504
4504
|
/**
|
|
4505
|
-
* Retrieves a list of up to 100 booking forms
|
|
4505
|
+
* Retrieves a list of up to 100 *booking forms*
|
|
4506
4506
|
* ([SDK](https://dev.wix.com/docs/sdk/backend-modules/forms/introduction) | [REST](https://dev.wix.com/docs/rest/crm/forms/form-schemas/form-object)),
|
|
4507
4507
|
* and information about the services that are connected to them,
|
|
4508
4508
|
* given the provided filtering, paging, and sorting.
|
|
@@ -4517,7 +4517,7 @@ declare function queryPolicies(query: CursorQuery): Promise<NonNullablePaths<Que
|
|
|
4517
4517
|
*
|
|
4518
4518
|
* ## Filters
|
|
4519
4519
|
*
|
|
4520
|
-
* For a complete list of supported filters, refer to Forms API: Supported Filters
|
|
4520
|
+
* For a complete list of supported filters, refer to **Forms API: Supported Filters**
|
|
4521
4521
|
* ([REST](https://dev.wix.com/docs/rest/crm/forms/form-schemas/form-object)).
|
|
4522
4522
|
*
|
|
4523
4523
|
* When using date filters, you must use
|
|
@@ -4527,7 +4527,7 @@ declare function queryPolicies(query: CursorQuery): Promise<NonNullablePaths<Que
|
|
|
4527
4527
|
*
|
|
4528
4528
|
* If a booking policy is connected to more than 5 services, only a subset of
|
|
4529
4529
|
* these service IDs and names is returned. The `bookingForms.totalServiceCount`
|
|
4530
|
-
* values indicate the total number of services linked to each form. You can call Query Services
|
|
4530
|
+
* values indicate the total number of services linked to each form. You can call *Query Services*
|
|
4531
4531
|
* ([SDK](https://dev.wix.com/docs/sdk/backend-modules/bookings/services/query-services) | [REST](https://dev.wix.com/docs/rest/business-solutions/bookings/services/services-v2/query-services))
|
|
4532
4532
|
* and specify the relevant form ID in the filter to retrieve all services
|
|
4533
4533
|
* connected to the booking form.
|
|
@@ -4540,7 +4540,7 @@ declare function queryPolicies(query: CursorQuery): Promise<NonNullablePaths<Que
|
|
|
4540
4540
|
*
|
|
4541
4541
|
* ## See also
|
|
4542
4542
|
*
|
|
4543
|
-
* To learn about working with Query
|
|
4543
|
+
* To learn about working with *Query* endpoints, see
|
|
4544
4544
|
* [API Query Language](https://dev.wix.com/docs/rest/articles/getting-started/api-query-language)
|
|
4545
4545
|
* and [Sorting and Paging](https://dev.wix.com/docs/rest/articles/getting-started/sorting-and-paging).
|
|
4546
4546
|
* @param query - Information about filters, paging, and sorting. See the article about
|
|
@@ -4588,7 +4588,7 @@ interface CountServicesOptions {
|
|
|
4588
4588
|
filter?: Record<string, any> | null;
|
|
4589
4589
|
}
|
|
4590
4590
|
/**
|
|
4591
|
-
* Retrieves 3 separate lists of business, custom, and customer locations
|
|
4591
|
+
* Retrieves 3 separate lists of business, custom, and customer *locations*
|
|
4592
4592
|
* ([SDK](https://dev.wix.com/docs/sdk/backend-modules/business-tools/locations/introduction) | [REST](https://dev.wix.com/docs/rest/business-management/locations/introduction)),
|
|
4593
4593
|
* given the provided filtering, and whether each location is connected to at
|
|
4594
4594
|
* least one of the site's services.
|
|
@@ -4609,7 +4609,7 @@ interface CountServicesOptions {
|
|
|
4609
4609
|
*
|
|
4610
4610
|
* ## See also
|
|
4611
4611
|
*
|
|
4612
|
-
* To learn about working with Query
|
|
4612
|
+
* To learn about working with *Query* endpoints, see
|
|
4613
4613
|
* [API Query Language](https://dev.wix.com/docs/rest/articles/getting-started/api-query-language)
|
|
4614
4614
|
* and [Sorting and Paging](https://dev.wix.com/docs/rest/articles/getting-started/sorting-and-paging).
|
|
4615
4615
|
* @public
|
|
@@ -4624,7 +4624,9 @@ interface QueryLocationsOptions {
|
|
|
4624
4624
|
filter?: QueryLocationsFilter;
|
|
4625
4625
|
}
|
|
4626
4626
|
/**
|
|
4627
|
-
* Retrieves a list of service categories
|
|
4627
|
+
* Retrieves a list of service *categories*
|
|
4628
|
+
* ([SDK](https://dev.wix.com/docs/sdk/backend-modules/bookings/categories-v2/introduction) | [REST](https://dev.wix.com/docs/rest/business-solutions/bookings/services/categories-v2/introduction)),
|
|
4629
|
+
* given the provided filtering.
|
|
4628
4630
|
*
|
|
4629
4631
|
*
|
|
4630
4632
|
* ## Defaults
|
|
@@ -4642,7 +4644,7 @@ interface QueryLocationsOptions {
|
|
|
4642
4644
|
*
|
|
4643
4645
|
* ## See also
|
|
4644
4646
|
*
|
|
4645
|
-
* To learn about working with Query
|
|
4647
|
+
* To learn about working with *Query* endpoints, see
|
|
4646
4648
|
* [API Query Language](https://dev.wix.com/docs/rest/articles/getting-started/api-query-language)
|
|
4647
4649
|
* and [Sorting and Paging](https://dev.wix.com/docs/rest/articles/getting-started/sorting-and-paging).
|
|
4648
4650
|
* @public
|
|
@@ -4657,7 +4659,7 @@ interface QueryCategoriesOptions {
|
|
|
4657
4659
|
filter?: QueryCategoriesFilter;
|
|
4658
4660
|
}
|
|
4659
4661
|
/**
|
|
4660
|
-
* Replaces the list of the locations
|
|
4662
|
+
* Replaces the list of the *locations*
|
|
4661
4663
|
* ([SDK](https://dev.wix.com/docs/sdk/backend-modules/business-tools/locations/introduction) | [REST](https://dev.wix.com/docs/rest/business-management/locations/introduction))
|
|
4662
4664
|
* where the business offers the service.
|
|
4663
4665
|
*
|
|
@@ -4693,7 +4695,7 @@ interface QueryCategoriesOptions {
|
|
|
4693
4695
|
* Depending on whether the new or updated location is a business or custom location,
|
|
4694
4696
|
* you need to specify different fields.
|
|
4695
4697
|
*
|
|
4696
|
-
* - **Business location**: Specify the relevant location ID
|
|
4698
|
+
* - **Business location**: Specify the relevant *location ID*
|
|
4697
4699
|
* ([SDK](https://dev.wix.com/docs/sdk/backend-modules/business-tools/locations/introduction) | [REST](https://dev.wix.com/docs/rest/business-management/locations/introduction))
|
|
4698
4700
|
* in `locations.business.id`.
|
|
4699
4701
|
* - **Custom location**: Specify the complete address object as
|
|
@@ -4730,18 +4732,18 @@ interface SetServiceLocationsOptions {
|
|
|
4730
4732
|
participantNotification?: ParticipantNotification;
|
|
4731
4733
|
}
|
|
4732
4734
|
/**
|
|
4733
|
-
* Adds a list of pricing plan IDs
|
|
4735
|
+
* Adds a list of *pricing plan IDs*
|
|
4734
4736
|
* ([SDK](https://dev.wix.com/docs/sdk/backend-modules/pricing-plans/plans/introduction) | [REST](https://dev.wix.com/api/rest/wix-pricing-plans/pricing-plans/plans/plan-object))
|
|
4735
4737
|
* to a service's `payment.pricingPlanIds` array.
|
|
4736
4738
|
*
|
|
4737
4739
|
*
|
|
4738
4740
|
* The call doesn't validate whether the service's `payment.options.pricingPlan`
|
|
4739
4741
|
* is set to `true`. If it's set to `false`, customers aren't able to pay
|
|
4740
|
-
* for their bookings using pricing plans. You can call Update Service
|
|
4742
|
+
* for their bookings using pricing plans. You can call *Update Service*
|
|
4741
4743
|
* ([SDK](https://dev.wix.com/docs/sdk/backend-modules/bookings/services/update-service) | [REST](https://dev.wix.com/docs/rest/business-solutions/bookings/services/services-v2/update-service))
|
|
4742
4744
|
* to change a service's supported payment methods.
|
|
4743
4745
|
* @param serviceId - ID of the service to update.
|
|
4744
|
-
* @param pricingPlanIds - IDs of the pricing plans
|
|
4746
|
+
* @param pricingPlanIds - IDs of the *pricing plans*
|
|
4745
4747
|
* ([SDK](https://dev.wix.com/docs/sdk/backend-modules/pricing-plans/plans/introduction) | [REST](https://dev.wix.com/api/rest/wix-pricing-plans/pricing-plans/plans/plan-object))
|
|
4746
4748
|
* to add to the service's `payment.pricingPlanIds` array.
|
|
4747
4749
|
* @public
|
|
@@ -4755,7 +4757,7 @@ declare function enablePricingPlansForService(serviceId: string, pricingPlanIds:
|
|
|
4755
4757
|
__applicationErrorsType?: EnablePricingPlansForServiceApplicationErrors;
|
|
4756
4758
|
}>;
|
|
4757
4759
|
/**
|
|
4758
|
-
* Removes a list of pricing plan IDs
|
|
4760
|
+
* Removes a list of *pricing plan IDs*
|
|
4759
4761
|
* ([SDK](https://dev.wix.com/docs/sdk/backend-modules/pricing-plans/plans/introduction) | [REST](https://dev.wix.com/api/rest/wix-pricing-plans/pricing-plans/plans/plan-object))
|
|
4760
4762
|
* from a service's `payment.pricingPlanIds` array.
|
|
4761
4763
|
*
|
|
@@ -4775,7 +4777,7 @@ declare function disablePricingPlansForService(serviceId: string, options?: Disa
|
|
|
4775
4777
|
}>;
|
|
4776
4778
|
interface DisablePricingPlansForServiceOptions {
|
|
4777
4779
|
/**
|
|
4778
|
-
* IDs of the pricing plans
|
|
4780
|
+
* IDs of the *pricing plans*
|
|
4779
4781
|
* ([SDK](https://dev.wix.com/docs/sdk/backend-modules/pricing-plans/plans/introduction) | [REST](https://dev.wix.com/api/rest/wix-pricing-plans/pricing-plans/plans/plan-object))
|
|
4780
4782
|
* to remove from the service's `payment.pricingPlanIds` array.
|
|
4781
4783
|
* @format GUID
|
|
@@ -4844,23 +4846,23 @@ interface ValidateSlugOptions {
|
|
|
4844
4846
|
*
|
|
4845
4847
|
* ### Schedule
|
|
4846
4848
|
*
|
|
4847
|
-
* Wix Bookings automatically creates a new active schedule
|
|
4849
|
+
* Wix Bookings automatically creates a new active *schedule*
|
|
4848
4850
|
* ([SDK](https://dev.wix.com/docs/sdk/backend-modules/calendar/schedules/introduction) | [REST](https://dev.wix.com/docs/rest/business-management/calendar/schedules-v3/introduction))
|
|
4849
4851
|
* for the cloned service. If Wix Bookings can't create this schedule, the
|
|
4850
|
-
* Clone Service call fails.
|
|
4852
|
+
* Clone Service* call fails.
|
|
4851
4853
|
*
|
|
4852
4854
|
* - __For appointment-based services__: Future appointments aren't added to the
|
|
4853
|
-
* cloned service's schedule. Use the Events API
|
|
4855
|
+
* cloned service's schedule. Use the *Events API*
|
|
4854
4856
|
* ([SDK](https://dev.wix.com/docs/sdk/backend-modules/calendar/events/introduction) | [REST](https://dev.wix.com/docs/rest/business-management/calendar/events-v3/introduction))
|
|
4855
4857
|
* to add them as needed.
|
|
4856
4858
|
* - __For classes and courses__: Future one-time events aren't added to the
|
|
4857
4859
|
* cloned service's schedule, while future recurring events are added
|
|
4858
|
-
* asynchronously. The Clone Service call always succeeds, whether or not
|
|
4860
|
+
* asynchronously. The *Clone Service* call always succeeds, whether or not
|
|
4859
4861
|
* recurring events are added.
|
|
4860
4862
|
* If the response includes `RECURRING_EVENTS` in the `errors` array, it means the
|
|
4861
4863
|
* cloned service doesn't have future recurring events, even though the original
|
|
4862
4864
|
* service does. You can either delete the cloned service and try again or use
|
|
4863
|
-
* the Events API
|
|
4865
|
+
* the *Events API*
|
|
4864
4866
|
* ([SDK](https://dev.wix.com/docs/sdk/backend-modules/calendar/events/introduction) | [REST](https://dev.wix.com/docs/rest/business-management/calendar/events-v3/introduction))
|
|
4865
4867
|
* to add missing events to the schedule.
|
|
4866
4868
|
*
|
|
@@ -4868,14 +4870,14 @@ interface ValidateSlugOptions {
|
|
|
4868
4870
|
*
|
|
4869
4871
|
* ### Service options and variants
|
|
4870
4872
|
*
|
|
4871
|
-
* If the original service has variants
|
|
4873
|
+
* If the original service has *variants*
|
|
4872
4874
|
* ([SDK](https://dev.wix.com/docs/sdk/backend-modules/bookings/service-options-and-variants/introduction) | [REST](https://dev.wix.com/docs/rest/business-solutions/bookings/services/service-options-and-variants/introduction)),
|
|
4873
|
-
* they're cloned asynchronously. The Clone Service call always succeeds,
|
|
4875
|
+
* they're cloned asynchronously. The *Clone Service* call always succeeds,
|
|
4874
4876
|
* regardless of whether variants were cloned.
|
|
4875
4877
|
*
|
|
4876
4878
|
* If the response includes `OPTIONS_AND_VARIANTS` in the `errors` array, the cloned
|
|
4877
4879
|
* service doesn't have variants, even though the original service does. You can
|
|
4878
|
-
* delete the cloned service and call Clone Service again, or use the
|
|
4880
|
+
* delete the cloned service and call *Clone Service* again, or use the
|
|
4879
4881
|
* _Service Options And Variants API_
|
|
4880
4882
|
* ([SDK](https://dev.wix.com/docs/sdk/backend-modules/bookings/service-options-and-variants/introduction) | [REST](https://dev.wix.com/docs/rest/business-solutions/bookings/services/service-options-and-variants/introduction))
|
|
4881
4883
|
* to add variants.
|
|
@@ -4887,13 +4889,13 @@ interface ValidateSlugOptions {
|
|
|
4887
4889
|
*
|
|
4888
4890
|
* ### Pricing plans
|
|
4889
4891
|
*
|
|
4890
|
-
* If the original service's accepts payments via pricing plans
|
|
4892
|
+
* If the original service's accepts payments via *pricing plans*
|
|
4891
4893
|
* ([SDK](https://dev.wix.com/docs/sdk/backend-modules/pricing-plans/plans/introduction) | [REST](https://dev.wix.com/docs/rest/business-solutions/pricing-plans/pricing-plans/plans/introduction)),
|
|
4892
4894
|
* the cloned service's `payment.options.pricingPlan` is also set to `true`. To
|
|
4893
|
-
* accept specific pricing plans, call Enable Pricing Plans For Service
|
|
4895
|
+
* accept specific pricing plans, call *Enable Pricing Plans For Service*
|
|
4894
4896
|
* ([SDK](https://dev.wix.com/docs/sdk/backend-modules/bookings/services/enable-pricing-plans-for-service) | [REST](https://dev.wix.com/docs/rest/business-solutions/bookings/services/services-v2/enable-pricing-plans-for-service)),
|
|
4895
4897
|
* after cloning the service. If the original service accepts only
|
|
4896
|
-
* pricing plan payments and you don't call Enable Pricing Plans For Service
|
|
4898
|
+
* pricing plan payments and you don't call *Enable Pricing Plans For Service*
|
|
4897
4899
|
* after cloning the service, customers will be unable to book the service.
|
|
4898
4900
|
* @param sourceServiceId - ID of the service to clone.
|
|
4899
4901
|
* @public
|