@wix/auto_sdk_bookings_services 1.0.107 → 1.0.109
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-KorTqIDU.d.ts} +32 -27
- package/build/cjs/index.d.ts +36 -31
- package/build/cjs/index.js.map +1 -1
- package/build/cjs/index.typings.d.ts +5 -5
- package/build/cjs/index.typings.js.map +1 -1
- package/build/cjs/meta.d.ts +2 -2
- 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-KorTqIDU.d.mts} +32 -27
- package/build/es/index.d.mts +36 -31
- package/build/es/index.mjs.map +1 -1
- package/build/es/index.typings.d.mts +5 -5
- package/build/es/index.typings.mjs.map +1 -1
- package/build/es/meta.d.mts +2 -2
- 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-KorTqIDU.d.ts} +32 -27
- package/build/internal/cjs/index.d.ts +36 -31
- package/build/internal/cjs/index.js.map +1 -1
- package/build/internal/cjs/index.typings.d.ts +5 -5
- package/build/internal/cjs/index.typings.js.map +1 -1
- package/build/internal/cjs/meta.d.ts +2 -2
- 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-KorTqIDU.d.mts} +32 -27
- package/build/internal/es/index.d.mts +36 -31
- package/build/internal/es/index.mjs.map +1 -1
- package/build/internal/es/index.typings.d.mts +5 -5
- package/build/internal/es/index.typings.mjs.map +1 -1
- package/build/internal/es/meta.d.mts +2 -2
- package/build/internal/es/meta.mjs.map +1 -1
- package/package.json +2 -2
|
@@ -292,7 +292,7 @@ interface FixedPayment {
|
|
|
292
292
|
*/
|
|
293
293
|
interface Money {
|
|
294
294
|
/**
|
|
295
|
-
* Monetary amount. Decimal string with a period as a decimal separator
|
|
295
|
+
* Monetary amount. Decimal string with a period as a decimal separator. For example `25.05`.
|
|
296
296
|
* @format DECIMAL_VALUE
|
|
297
297
|
* @decimalValue options { gt:0, maxScale:2 }
|
|
298
298
|
*/
|
|
@@ -3777,7 +3777,7 @@ interface SetAddOnsForGroupOptions {
|
|
|
3777
3777
|
* Creates a service.
|
|
3778
3778
|
*
|
|
3779
3779
|
*
|
|
3780
|
-
*
|
|
3780
|
+
* ### Required fields
|
|
3781
3781
|
*
|
|
3782
3782
|
* When creating a service you must specify the following fields:
|
|
3783
3783
|
* - `type`
|
|
@@ -3792,8 +3792,9 @@ interface SetAddOnsForGroupOptions {
|
|
|
3792
3792
|
* - `payment`
|
|
3793
3793
|
* ([SDK](https://dev.wix.com/docs/sdk/backend-modules/bookings/services/about-service-payments) | [REST](https://dev.wix.com/docs/rest/business-solutions/bookings/services/services-v2/about-service-payments)):
|
|
3794
3794
|
* How customers can pay when signing up for the service.
|
|
3795
|
+
* - `defaultCapacity`: The maximum number of customers that can book the service. Required for all service types. For appointment-based services, it must be `1`.
|
|
3795
3796
|
*
|
|
3796
|
-
*
|
|
3797
|
+
* #### Session durations
|
|
3797
3798
|
*
|
|
3798
3799
|
* Depending on which type of service you're creating, you may also need to specify
|
|
3799
3800
|
* supported session durations.
|
|
@@ -3866,7 +3867,7 @@ declare function getService(serviceId: string): Promise<NonNullablePaths<Service
|
|
|
3866
3867
|
* This ensures you're working with the latest service information and
|
|
3867
3868
|
* prevents unintended overwrites.
|
|
3868
3869
|
*
|
|
3869
|
-
*
|
|
3870
|
+
* ### Session durations
|
|
3870
3871
|
*
|
|
3871
3872
|
* Specify `schedule.availabilityConstraints.sessionDurations`
|
|
3872
3873
|
* only if you want to update it for appointment-based services without varied
|
|
@@ -3874,6 +3875,10 @@ declare function getService(serviceId: string): Promise<NonNullablePaths<Service
|
|
|
3874
3875
|
* for all other appointment-based services, classes, or courses. See Create Service
|
|
3875
3876
|
* ([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
3877
|
* for more details.
|
|
3878
|
+
*
|
|
3879
|
+
* ## Service locations
|
|
3880
|
+
*
|
|
3881
|
+
* Don't call Update Service to adjust service locations, call Set Service Locations ([SDK](https://dev.wix.com/docs/sdk/backend-modules/bookings/services/set-service-locations) | [REST](https://dev.wix.com/docs/rest/business-solutions/bookings/services/services-v2/set-service-locations)) instead.
|
|
3877
3882
|
* @param _id - Service ID.
|
|
3878
3883
|
* @public
|
|
3879
3884
|
* @requiredField _id
|
|
@@ -4459,14 +4464,14 @@ type ServiceSearch = {
|
|
|
4459
4464
|
* and information about the services that are connected to them,
|
|
4460
4465
|
* given the provided filtering, paging, and sorting.
|
|
4461
4466
|
*
|
|
4462
|
-
*
|
|
4467
|
+
* ### Defaults
|
|
4463
4468
|
*
|
|
4464
4469
|
* Query Policies has the following default settings, which you can override:
|
|
4465
4470
|
*
|
|
4466
4471
|
* + Sorted by `id` in ascending order.
|
|
4467
4472
|
* + `cursorPaging.limit` set to `100`.
|
|
4468
4473
|
*
|
|
4469
|
-
*
|
|
4474
|
+
* ### Filters
|
|
4470
4475
|
*
|
|
4471
4476
|
* For a complete list of supported filters, refer to Booking Policies API: Supported Filters
|
|
4472
4477
|
* ([REST](https://dev.wix.com/docs/rest/business-solutions/bookings/policies/booking-policies/supported-filters)).
|
|
@@ -4474,7 +4479,7 @@ type ServiceSearch = {
|
|
|
4474
4479
|
* When using date filters, you must use
|
|
4475
4480
|
* [UTC time](https://en.wikipedia.org/wiki/Coordinated_Universal_Time).
|
|
4476
4481
|
*
|
|
4477
|
-
*
|
|
4482
|
+
* ### Returned services
|
|
4478
4483
|
*
|
|
4479
4484
|
* If a booking policy is connected to more than 5 services, only a subset of
|
|
4480
4485
|
* those services is returned. The `bookingPolicies.totalServiceCount` values
|
|
@@ -4483,7 +4488,7 @@ type ServiceSearch = {
|
|
|
4483
4488
|
* and specify the relevant policy ID in the filter to retrieve all services
|
|
4484
4489
|
* connected to the booking policy.
|
|
4485
4490
|
*
|
|
4486
|
-
*
|
|
4491
|
+
* ### See also
|
|
4487
4492
|
*
|
|
4488
4493
|
* To learn about working with Query methods, see
|
|
4489
4494
|
* [API Query Language](https://dev.wix.com/docs/rest/articles/getting-started/api-query-language)
|
|
@@ -4508,14 +4513,14 @@ declare function queryPolicies(query: CursorQuery): Promise<NonNullablePaths<Que
|
|
|
4508
4513
|
* given the provided filtering, paging, and sorting.
|
|
4509
4514
|
*
|
|
4510
4515
|
*
|
|
4511
|
-
*
|
|
4516
|
+
* ### Defaults
|
|
4512
4517
|
*
|
|
4513
4518
|
* Query Booking Forms has the following default settings, which you can override:
|
|
4514
4519
|
*
|
|
4515
4520
|
* + Sorted by `id` in ascending order.
|
|
4516
4521
|
* + `cursorPaging.limit` set to `100`.
|
|
4517
4522
|
*
|
|
4518
|
-
*
|
|
4523
|
+
* ### Filters
|
|
4519
4524
|
*
|
|
4520
4525
|
* For a complete list of supported filters, refer to Forms API: Supported Filters
|
|
4521
4526
|
* ([REST](https://dev.wix.com/docs/rest/crm/forms/form-schemas/form-object)).
|
|
@@ -4523,7 +4528,7 @@ declare function queryPolicies(query: CursorQuery): Promise<NonNullablePaths<Que
|
|
|
4523
4528
|
* When using date filters, you must use
|
|
4524
4529
|
* [UTC time](https://en.wikipedia.org/wiki/Coordinated_Universal_Time).
|
|
4525
4530
|
*
|
|
4526
|
-
*
|
|
4531
|
+
* ### Returned services
|
|
4527
4532
|
*
|
|
4528
4533
|
* If a booking policy is connected to more than 5 services, only a subset of
|
|
4529
4534
|
* these service IDs and names is returned. The `bookingForms.totalServiceCount`
|
|
@@ -4532,13 +4537,13 @@ declare function queryPolicies(query: CursorQuery): Promise<NonNullablePaths<Que
|
|
|
4532
4537
|
* and specify the relevant form ID in the filter to retrieve all services
|
|
4533
4538
|
* connected to the booking form.
|
|
4534
4539
|
*
|
|
4535
|
-
*
|
|
4540
|
+
* ### Default booking forms
|
|
4536
4541
|
*
|
|
4537
4542
|
* By default, all Wix Bookings services use a standard booking form. To retrieve
|
|
4538
4543
|
* a site's default booking form with Query Booking Forms, specify
|
|
4539
4544
|
* `{"conditionalFields": ["DEFAULT_BOOKING_FORM"]}`.
|
|
4540
4545
|
*
|
|
4541
|
-
*
|
|
4546
|
+
* ### See also
|
|
4542
4547
|
*
|
|
4543
4548
|
* To learn about working with Query methods, see
|
|
4544
4549
|
* [API Query Language](https://dev.wix.com/docs/rest/articles/getting-started/api-query-language)
|
|
@@ -4594,12 +4599,12 @@ interface CountServicesOptions {
|
|
|
4594
4599
|
* least one of the site's services.
|
|
4595
4600
|
*
|
|
4596
4601
|
*
|
|
4597
|
-
*
|
|
4602
|
+
* ### Defaults
|
|
4598
4603
|
*
|
|
4599
4604
|
* Query Locations has the following default setting, which you can't override:
|
|
4600
4605
|
* Sorted by `id` in ascending order.
|
|
4601
4606
|
*
|
|
4602
|
-
*
|
|
4607
|
+
* ### Filters
|
|
4603
4608
|
*
|
|
4604
4609
|
* For a complete list of supported filters, refer to the `location` object
|
|
4605
4610
|
* ([REST](https://dev.wix.com/docs/rest/business-management/locations/location-object)).
|
|
@@ -4607,7 +4612,7 @@ interface CountServicesOptions {
|
|
|
4607
4612
|
* When using date filters, you must use
|
|
4608
4613
|
* [UTC time](https://en.wikipedia.org/wiki/Coordinated_Universal_Time).
|
|
4609
4614
|
*
|
|
4610
|
-
*
|
|
4615
|
+
* ### See also
|
|
4611
4616
|
*
|
|
4612
4617
|
* To learn about working with Query methods, see
|
|
4613
4618
|
* [API Query Language](https://dev.wix.com/docs/rest/articles/getting-started/api-query-language)
|
|
@@ -4627,12 +4632,12 @@ interface QueryLocationsOptions {
|
|
|
4627
4632
|
* Retrieves a list of service categories ([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)), given the provided filtering.
|
|
4628
4633
|
*
|
|
4629
4634
|
*
|
|
4630
|
-
*
|
|
4635
|
+
* ### Defaults
|
|
4631
4636
|
*
|
|
4632
4637
|
* Query Categories has the following default setting, which you can't override:
|
|
4633
4638
|
* Sorted by `id` in ascending order.
|
|
4634
4639
|
*
|
|
4635
|
-
*
|
|
4640
|
+
* ### Filters
|
|
4636
4641
|
*
|
|
4637
4642
|
* For a complete list of supported filters, refer to the supported filters article
|
|
4638
4643
|
* ([REST](https://dev.wix.com/docs/rest/business-solutions/bookings/services/services-v2/filtering-and-sorting#filtering)).
|
|
@@ -4640,7 +4645,7 @@ interface QueryLocationsOptions {
|
|
|
4640
4645
|
* When using date filters, you must use
|
|
4641
4646
|
* [UTC time](https://en.wikipedia.org/wiki/Coordinated_Universal_Time).
|
|
4642
4647
|
*
|
|
4643
|
-
*
|
|
4648
|
+
* ### See also
|
|
4644
4649
|
*
|
|
4645
4650
|
* To learn about working with Query methods, see
|
|
4646
4651
|
* [API Query Language](https://dev.wix.com/docs/rest/articles/getting-started/api-query-language)
|
|
@@ -4662,7 +4667,7 @@ interface QueryCategoriesOptions {
|
|
|
4662
4667
|
* where the business offers the service.
|
|
4663
4668
|
*
|
|
4664
4669
|
*
|
|
4665
|
-
*
|
|
4670
|
+
* ### Consequences for customers
|
|
4666
4671
|
*
|
|
4667
4672
|
* Removing a service location may impact existing sessions and their
|
|
4668
4673
|
* participants. If you remove at least one service location, you must
|
|
@@ -4688,7 +4693,7 @@ interface QueryCategoriesOptions {
|
|
|
4688
4693
|
* Future sessions scheduled for a location defined by the customer are also not
|
|
4689
4694
|
* updated.
|
|
4690
4695
|
*
|
|
4691
|
-
*
|
|
4696
|
+
* ### Specify location details
|
|
4692
4697
|
*
|
|
4693
4698
|
* Depending on whether the new or updated location is a business or custom location,
|
|
4694
4699
|
* you need to specify different fields.
|
|
@@ -4699,7 +4704,7 @@ interface QueryCategoriesOptions {
|
|
|
4699
4704
|
* - **Custom location**: Specify the complete address object as
|
|
4700
4705
|
* `locations.custom.address`.
|
|
4701
4706
|
*
|
|
4702
|
-
*
|
|
4707
|
+
* ### Participant notifications
|
|
4703
4708
|
*
|
|
4704
4709
|
* You can specify a `participantNotification.message` that's immediately send
|
|
4705
4710
|
* to all customers who had booked at a changed location. Ensure
|
|
@@ -4838,11 +4843,11 @@ interface ValidateSlugOptions {
|
|
|
4838
4843
|
* Clones a service.
|
|
4839
4844
|
*
|
|
4840
4845
|
*
|
|
4841
|
-
*
|
|
4846
|
+
* ### Connected entities
|
|
4842
4847
|
*
|
|
4843
4848
|
* By default, not all entities connected to the service are cloned.
|
|
4844
4849
|
*
|
|
4845
|
-
*
|
|
4850
|
+
* #### Schedule
|
|
4846
4851
|
*
|
|
4847
4852
|
* Wix Bookings automatically creates a new active schedule
|
|
4848
4853
|
* ([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))
|
|
@@ -4866,7 +4871,7 @@ interface ValidateSlugOptions {
|
|
|
4866
4871
|
*
|
|
4867
4872
|
* Wix Bookings never adds past events to the cloned service's schedule.
|
|
4868
4873
|
*
|
|
4869
|
-
*
|
|
4874
|
+
* #### Service options and variants
|
|
4870
4875
|
*
|
|
4871
4876
|
* If the original service has variants
|
|
4872
4877
|
* ([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)),
|
|
@@ -4880,12 +4885,12 @@ interface ValidateSlugOptions {
|
|
|
4880
4885
|
* ([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
4886
|
* to add variants.
|
|
4882
4887
|
*
|
|
4883
|
-
*
|
|
4888
|
+
* #### Booking form
|
|
4884
4889
|
*
|
|
4885
4890
|
* The original service's booking form isn't cloned, whether it's
|
|
4886
4891
|
* the default or a custom booking form.
|
|
4887
4892
|
*
|
|
4888
|
-
*
|
|
4893
|
+
* #### Pricing plans
|
|
4889
4894
|
*
|
|
4890
4895
|
* If the original service's accepts payments via pricing plans
|
|
4891
4896
|
* ([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)),
|
package/build/cjs/index.d.ts
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
import { HttpClient, NonNullablePaths, EventDefinition, MaybeContext, BuildRESTFunction, BuildEventDefinition } from '@wix/sdk-types';
|
|
2
|
-
import { A as AddOnGroup, C as CreateAddOnGroupOptions, a as CreateAddOnGroupResponse, D as DeleteAddOnGroupOptions, b as DeleteAddOnGroupApplicationErrors, U as UpdateAddOnGroupOptions, c as UpdateAddOnGroupResponse, d as UpdateAddOnGroupApplicationErrors, L as ListAddOnGroupsByServiceIdOptions, e as ListAddOnGroupsByServiceIdResponse, S as SetAddOnsForGroupOptions, f as SetAddOnsForGroupResponse, g as SetAddOnsForGroupApplicationErrors, h as Service, i as CreateServiceValidationErrors, B as BulkCreateServicesOptions, j as BulkCreateServicesResponse, k as UpdateService, l as UpdateServiceValidationErrors, m as BulkUpdateServicesOptions, n as BulkUpdateServicesResponse, o as BulkUpdateServicesByFilterOptions, p as BulkUpdateServicesByFilterResponse, q as DeleteServiceOptions, r as BulkDeleteServicesOptions, s as BulkDeleteServicesResponse, t as BulkDeleteServicesByFilterOptions, u as BulkDeleteServicesByFilterResponse, v as ServicesQueryBuilder, w as ServiceSearch, x as SearchServicesResponse, y as CursorQuery, Q as QueryPoliciesResponse, z as QueryBookingFormsOptions, E as QueryBookingFormsResponse, F as QueryBookingFormsApplicationErrors, G as CountServicesOptions, H as CountServicesResponse, I as QueryLocationsOptions, J as QueryLocationsResponse, K as QueryCategoriesOptions, M as QueryCategoriesResponse, N as Location, O as SetServiceLocationsOptions, P as SetServiceLocationsResponse, R as EnablePricingPlansForServiceResponse, T as EnablePricingPlansForServiceApplicationErrors, V as DisablePricingPlansForServiceOptions, W as DisablePricingPlansForServiceResponse, X as DisablePricingPlansForServiceApplicationErrors, Y as SetCustomSlugOptions, Z as SetCustomSlugResponse, _ as SetCustomSlugApplicationErrors, $ as SetCustomSlugValidationErrors, a0 as ValidateSlugOptions, a1 as ValidateSlugResponse, a2 as CloneServiceResponse, a3 as ServiceCreatedEnvelope, a4 as ServiceDeletedEnvelope, a5 as ServiceUpdatedEnvelope } from './bookings-services-v2-service-services.universal-
|
|
3
|
-
export { am as Action, bC as ActionEvent, ef as ActionWithLiterals, bL as AddOn, bM as AddOnAddOnInfoOneOf, bo as AddOnDetails, bN as AddOnGroupDetail, a8 as AddOnPaymentOptions, e1 as AddOnPaymentOptionsWithLiterals, dI as Address, dJ as AddressHint, aQ as AddressLocation, cp as Aggregation, cF as AggregationData, cq as AggregationKindOneOf, cY as AggregationResults, cZ as AggregationResultsResultOneOf, cM as AggregationResultsScalarResult, aj as AggregationType, ec as AggregationTypeWithLiterals, bX as ApplicationError, b6 as AvailabilityConstraints, dX as BaseEventMetadata, dy as Behavior, dz as BehaviorBehaviorOneOf, du as Benefit, dt as BenefitNotification, ar as BenefitType, ek as BenefitTypeWithLiterals, aX as BookAfterStartPolicy, d2 as BookingForm, aT as BookingPolicy, d0 as BookingPolicyWithServices, bY as BulkActionMetadata, bU as BulkCreateServicesRequest, cc as BulkDeleteServicesByFilterRequest, cb as BulkDeleteServicesRequest, bV as BulkServiceResult, c7 as BulkUpdateServicesByFilterRequest, c5 as BulkUpdateServicesRequest, aR as BusinessLocationOptions, d8 as BusinessLocations, dL as BusinessSchedule, b1 as CancellationFeePolicy, aY as CancellationPolicy, b2 as CancellationWindow, b3 as CancellationWindowFeeOneOf, dG as Categories, dr as Category, dq as CategoryNotification, aq as CategoryNotificationEvent, ej as CategoryNotificationEventWithLiterals, dS as ChangeContext, dT as ChangeContextPayloadOneOf, ao as CloneErrors, eh as CloneErrorsWithLiterals, dp as CloneServiceRequest, aN as CommonAddress, aO as CommonAddressStreetOneOf, eq as CommonSearchWithEntityContext, aL as Conferencing, d4 as ConnectedService, dQ as ConsentPolicy, d5 as CountServicesRequest, bG as CreateAddOnGroupRequest, bP as CreateServiceRequest, bQ as CreateServiceResponse, at as CrudType, em as CrudTypeWithLiterals, ci as CursorPaging, cE as CursorPagingMetadata, c$ as CursorQueryPagingMethodOneOf, cn as CursorSearch, co as CursorSearchPagingMethodOneOf, cl as Cursors, aS as CustomLocationOptions, d9 as CustomLocations, aH as CustomPayment, da as CustomerLocations, cx as DateHistogramAggregation, cU as DateHistogramResult, cW as DateHistogramResults, av as DayOfWeek, eo as DayOfWeekWithLiterals, bs as Delete, bH as DeleteAddOnGroupRequest, bI as DeleteAddOnGroupResponse, c8 as DeleteServiceRequest, ca as DeleteServiceResponse, dl as DisablePricingPlansForServiceRequest, dw as Discount, dx as DiscountDiscountOneOf, bw as DomainEvent, bx as DomainEventBodyOneOf, b7 as Duration, ds as Empty, dj as EnablePricingPlansForServiceRequest, by as EntityCreatedEvent, bB as EntityDeletedEvent, bA as EntityUpdatedEvent, dv as EntryPass, as as Event, dY as EventMetadata, el as EventWithLiterals, bj as ExtendedFields, bT as FieldViolation, aF as FixedPayment, aB as Form, d3 as FormDetails, aC as FormSettings, dK as GeoCoordinates, b$ as GetServiceAvailabilityConstraintsRequest, c0 as GetServiceAvailabilityConstraintsResponse, bZ as GetServiceRequest, b_ as GetServiceResponse, cB as GroupByAggregation, cC as GroupByAggregationKindOneOf, cV as GroupByValueResults, dB as HtmlSitePublished, bE as IdentificationData, bF as IdentificationDataIdOneOf, cs as IncludeMissingValuesOptions, ai as Interval, eb as IntervalWithLiterals, dk as InvalidPricingPlan, an as InvalidSlugError, eg as InvalidSlugErrorWithLiterals, bW as ItemMetadata, bl as Keyword, aV as LimitEarlyBookingPolicy, aW as LimitLateBookingPolicy, bK as ListAddOnGroupsByServiceIdRequest, dH as Locale, aM as LocationOptionsOneOf, a9 as LocationType, e2 as LocationTypeWithLiterals, c6 as MaskedService, ax as Media, ay as MediaItem, az as MediaItemItemOneOf, bD as MessageEnvelope, af as MissingValues, e8 as MissingValuesWithLiterals, ak as Mode, ed as ModeWithLiterals, aG as Money, di as MoveToNewLocationsOptions, dO as Multilingual, cA as NestedAggregation, cy as NestedAggregationItem, cz as NestedAggregationItemKindOneOf, cI as NestedAggregationResults, cJ as NestedAggregationResultsResultOneOf, ah as NestedAggregationType, ea as NestedAggregationTypeWithLiterals, cR as NestedResultValue, cS as NestedResultValueResultOneOf, cX as NestedResults, cN as NestedValueAggregationResult, aK as OnlineBooking, dC as Page, ch as Paging, ck as PagingMetadataV2, c9 as ParticipantNotification, a$ as ParticipantsPolicy, aD as Payment, aJ as PaymentOptions, aE as PaymentRateOneOf, au as PlacementType, en as PlacementTypeWithLiterals, aU as PolicyDescription, dF as Properties, dU as PropertiesChange, d1 as QueryBookingFormsRequest, dc as QueryCategoriesFilter, db as QueryCategoriesRequest, d7 as QueryLocationsFilter, d6 as QueryLocationsRequest, c_ as QueryPoliciesRequest, dd as QueryServicesMultiLanguageRequest, de as QueryServicesMultiLanguageResponse, cd as QueryServicesRequest, cj as QueryServicesResponse, ce as QueryV2, cf as QueryV2PagingMethodOneOf, cv as RangeAggregation, cH as RangeAggregationResult, cr as RangeBucket, cP as RangeResult, cL as RangeResults, a7 as RateType, e0 as RateTypeWithLiterals, bp as ReindexMessage, bq as ReindexMessageActionOneOf, dg as RemovedLocationSessionsAction, dh as RemovedLocationSessionsActionActionOptionsOneOf, al as RequestedFields, ee as RequestedFieldsWithLiterals, aZ as ReschedulePolicy, aw as ResolutionMethod, ep as ResolutionMethodWithLiterals, bc as ResourceGroup, bd as ResourceIds, bg as ResourceType, b0 as ResourcesPolicy, bz as RestoreInfo, cT as Results, b4 as SaveCreditCardPolicy, cw as ScalarAggregation, cQ as ScalarResult, ag as ScalarType, e9 as ScalarTypeWithLiterals, b5 as Schedule, bt as Schema, cD as SearchDetails, cm as SearchServicesRequest, bk as SeoSchema, c1 as ServiceAvailabilityConstraints, be as ServiceResource, bf as ServiceResourceSelectionOneOf, d_ as ServiceSearchSpec, a6 as ServiceType, d$ as ServiceTypeWithLiterals, dZ as ServicesQueryResult, bv as ServicesUrlsChanged, bO as SetAddOnsForGroupRequest, bu as SetCustomSlugEvent, dm as SetCustomSlugRequest, df as SetServiceLocationsRequest, bn as Settings, dW as SiteCloned, dV as SiteCreated, dE as SitePropertiesEvent, dD as SitePropertiesNotification, bh as Slug, ae as SortDirection, e7 as SortDirectionWithLiterals, ac as SortOrder, e5 as SortOrderWithLiterals, ad as SortType, e6 as SortTypeWithLiterals, cg as Sorting, dN as SpecialHourPeriod, c2 as SplitInterval, b9 as StaffMediaItem, ba as StaffMediaItemItemOneOf, b8 as StaffMember, bb as StaffMemberDetails, ap as Status, ei as StatusWithLiterals, aP as StreetAddress, dP as SupportedLanguage, bm as Tag, dM as TimePeriod, dR as Translation, bi as URLs, bJ as UpdateAddOnGroupRequest, c3 as UpdateServiceRequest, c4 as UpdateServiceResponse, br as Upsert, dA as UserDomainInfoChangedEvent, aA as V2Category, ab as V2RequestedFields, e4 as V2RequestedFieldsWithLiterals, bR as ValidateServiceRequest, bS as ValidateServiceResponse, dn as ValidateSlugRequest, ct as ValueAggregation, cu as ValueAggregationOptionsOneOf, cG as ValueAggregationResult, cO as ValueResult, cK as ValueResults, aI as VariedPayment, a_ as WaitlistPolicy, aa as WebhookIdentityType, e3 as WebhookIdentityTypeWithLiterals } from './bookings-services-v2-service-services.universal-
|
|
2
|
+
import { A as AddOnGroup, C as CreateAddOnGroupOptions, a as CreateAddOnGroupResponse, D as DeleteAddOnGroupOptions, b as DeleteAddOnGroupApplicationErrors, U as UpdateAddOnGroupOptions, c as UpdateAddOnGroupResponse, d as UpdateAddOnGroupApplicationErrors, L as ListAddOnGroupsByServiceIdOptions, e as ListAddOnGroupsByServiceIdResponse, S as SetAddOnsForGroupOptions, f as SetAddOnsForGroupResponse, g as SetAddOnsForGroupApplicationErrors, h as Service, i as CreateServiceValidationErrors, B as BulkCreateServicesOptions, j as BulkCreateServicesResponse, k as UpdateService, l as UpdateServiceValidationErrors, m as BulkUpdateServicesOptions, n as BulkUpdateServicesResponse, o as BulkUpdateServicesByFilterOptions, p as BulkUpdateServicesByFilterResponse, q as DeleteServiceOptions, r as BulkDeleteServicesOptions, s as BulkDeleteServicesResponse, t as BulkDeleteServicesByFilterOptions, u as BulkDeleteServicesByFilterResponse, v as ServicesQueryBuilder, w as ServiceSearch, x as SearchServicesResponse, y as CursorQuery, Q as QueryPoliciesResponse, z as QueryBookingFormsOptions, E as QueryBookingFormsResponse, F as QueryBookingFormsApplicationErrors, G as CountServicesOptions, H as CountServicesResponse, I as QueryLocationsOptions, J as QueryLocationsResponse, K as QueryCategoriesOptions, M as QueryCategoriesResponse, N as Location, O as SetServiceLocationsOptions, P as SetServiceLocationsResponse, R as EnablePricingPlansForServiceResponse, T as EnablePricingPlansForServiceApplicationErrors, V as DisablePricingPlansForServiceOptions, W as DisablePricingPlansForServiceResponse, X as DisablePricingPlansForServiceApplicationErrors, Y as SetCustomSlugOptions, Z as SetCustomSlugResponse, _ as SetCustomSlugApplicationErrors, $ as SetCustomSlugValidationErrors, a0 as ValidateSlugOptions, a1 as ValidateSlugResponse, a2 as CloneServiceResponse, a3 as ServiceCreatedEnvelope, a4 as ServiceDeletedEnvelope, a5 as ServiceUpdatedEnvelope } from './bookings-services-v2-service-services.universal-KorTqIDU.js';
|
|
3
|
+
export { am as Action, bC as ActionEvent, ef as ActionWithLiterals, bL as AddOn, bM as AddOnAddOnInfoOneOf, bo as AddOnDetails, bN as AddOnGroupDetail, a8 as AddOnPaymentOptions, e1 as AddOnPaymentOptionsWithLiterals, dI as Address, dJ as AddressHint, aQ as AddressLocation, cp as Aggregation, cF as AggregationData, cq as AggregationKindOneOf, cY as AggregationResults, cZ as AggregationResultsResultOneOf, cM as AggregationResultsScalarResult, aj as AggregationType, ec as AggregationTypeWithLiterals, bX as ApplicationError, b6 as AvailabilityConstraints, dX as BaseEventMetadata, dy as Behavior, dz as BehaviorBehaviorOneOf, du as Benefit, dt as BenefitNotification, ar as BenefitType, ek as BenefitTypeWithLiterals, aX as BookAfterStartPolicy, d2 as BookingForm, aT as BookingPolicy, d0 as BookingPolicyWithServices, bY as BulkActionMetadata, bU as BulkCreateServicesRequest, cc as BulkDeleteServicesByFilterRequest, cb as BulkDeleteServicesRequest, bV as BulkServiceResult, c7 as BulkUpdateServicesByFilterRequest, c5 as BulkUpdateServicesRequest, aR as BusinessLocationOptions, d8 as BusinessLocations, dL as BusinessSchedule, b1 as CancellationFeePolicy, aY as CancellationPolicy, b2 as CancellationWindow, b3 as CancellationWindowFeeOneOf, dG as Categories, dr as Category, dq as CategoryNotification, aq as CategoryNotificationEvent, ej as CategoryNotificationEventWithLiterals, dS as ChangeContext, dT as ChangeContextPayloadOneOf, ao as CloneErrors, eh as CloneErrorsWithLiterals, dp as CloneServiceRequest, aN as CommonAddress, aO as CommonAddressStreetOneOf, eq as CommonSearchWithEntityContext, aL as Conferencing, d4 as ConnectedService, dQ as ConsentPolicy, d5 as CountServicesRequest, bG as CreateAddOnGroupRequest, bP as CreateServiceRequest, bQ as CreateServiceResponse, at as CrudType, em as CrudTypeWithLiterals, ci as CursorPaging, cE as CursorPagingMetadata, c$ as CursorQueryPagingMethodOneOf, cn as CursorSearch, co as CursorSearchPagingMethodOneOf, cl as Cursors, aS as CustomLocationOptions, d9 as CustomLocations, aH as CustomPayment, da as CustomerLocations, cx as DateHistogramAggregation, cU as DateHistogramResult, cW as DateHistogramResults, av as DayOfWeek, eo as DayOfWeekWithLiterals, bs as Delete, bH as DeleteAddOnGroupRequest, bI as DeleteAddOnGroupResponse, c8 as DeleteServiceRequest, ca as DeleteServiceResponse, dl as DisablePricingPlansForServiceRequest, dw as Discount, dx as DiscountDiscountOneOf, bw as DomainEvent, bx as DomainEventBodyOneOf, b7 as Duration, ds as Empty, dj as EnablePricingPlansForServiceRequest, by as EntityCreatedEvent, bB as EntityDeletedEvent, bA as EntityUpdatedEvent, dv as EntryPass, as as Event, dY as EventMetadata, el as EventWithLiterals, bj as ExtendedFields, bT as FieldViolation, aF as FixedPayment, aB as Form, d3 as FormDetails, aC as FormSettings, dK as GeoCoordinates, b$ as GetServiceAvailabilityConstraintsRequest, c0 as GetServiceAvailabilityConstraintsResponse, bZ as GetServiceRequest, b_ as GetServiceResponse, cB as GroupByAggregation, cC as GroupByAggregationKindOneOf, cV as GroupByValueResults, dB as HtmlSitePublished, bE as IdentificationData, bF as IdentificationDataIdOneOf, cs as IncludeMissingValuesOptions, ai as Interval, eb as IntervalWithLiterals, dk as InvalidPricingPlan, an as InvalidSlugError, eg as InvalidSlugErrorWithLiterals, bW as ItemMetadata, bl as Keyword, aV as LimitEarlyBookingPolicy, aW as LimitLateBookingPolicy, bK as ListAddOnGroupsByServiceIdRequest, dH as Locale, aM as LocationOptionsOneOf, a9 as LocationType, e2 as LocationTypeWithLiterals, c6 as MaskedService, ax as Media, ay as MediaItem, az as MediaItemItemOneOf, bD as MessageEnvelope, af as MissingValues, e8 as MissingValuesWithLiterals, ak as Mode, ed as ModeWithLiterals, aG as Money, di as MoveToNewLocationsOptions, dO as Multilingual, cA as NestedAggregation, cy as NestedAggregationItem, cz as NestedAggregationItemKindOneOf, cI as NestedAggregationResults, cJ as NestedAggregationResultsResultOneOf, ah as NestedAggregationType, ea as NestedAggregationTypeWithLiterals, cR as NestedResultValue, cS as NestedResultValueResultOneOf, cX as NestedResults, cN as NestedValueAggregationResult, aK as OnlineBooking, dC as Page, ch as Paging, ck as PagingMetadataV2, c9 as ParticipantNotification, a$ as ParticipantsPolicy, aD as Payment, aJ as PaymentOptions, aE as PaymentRateOneOf, au as PlacementType, en as PlacementTypeWithLiterals, aU as PolicyDescription, dF as Properties, dU as PropertiesChange, d1 as QueryBookingFormsRequest, dc as QueryCategoriesFilter, db as QueryCategoriesRequest, d7 as QueryLocationsFilter, d6 as QueryLocationsRequest, c_ as QueryPoliciesRequest, dd as QueryServicesMultiLanguageRequest, de as QueryServicesMultiLanguageResponse, cd as QueryServicesRequest, cj as QueryServicesResponse, ce as QueryV2, cf as QueryV2PagingMethodOneOf, cv as RangeAggregation, cH as RangeAggregationResult, cr as RangeBucket, cP as RangeResult, cL as RangeResults, a7 as RateType, e0 as RateTypeWithLiterals, bp as ReindexMessage, bq as ReindexMessageActionOneOf, dg as RemovedLocationSessionsAction, dh as RemovedLocationSessionsActionActionOptionsOneOf, al as RequestedFields, ee as RequestedFieldsWithLiterals, aZ as ReschedulePolicy, aw as ResolutionMethod, ep as ResolutionMethodWithLiterals, bc as ResourceGroup, bd as ResourceIds, bg as ResourceType, b0 as ResourcesPolicy, bz as RestoreInfo, cT as Results, b4 as SaveCreditCardPolicy, cw as ScalarAggregation, cQ as ScalarResult, ag as ScalarType, e9 as ScalarTypeWithLiterals, b5 as Schedule, bt as Schema, cD as SearchDetails, cm as SearchServicesRequest, bk as SeoSchema, c1 as ServiceAvailabilityConstraints, be as ServiceResource, bf as ServiceResourceSelectionOneOf, d_ as ServiceSearchSpec, a6 as ServiceType, d$ as ServiceTypeWithLiterals, dZ as ServicesQueryResult, bv as ServicesUrlsChanged, bO as SetAddOnsForGroupRequest, bu as SetCustomSlugEvent, dm as SetCustomSlugRequest, df as SetServiceLocationsRequest, bn as Settings, dW as SiteCloned, dV as SiteCreated, dE as SitePropertiesEvent, dD as SitePropertiesNotification, bh as Slug, ae as SortDirection, e7 as SortDirectionWithLiterals, ac as SortOrder, e5 as SortOrderWithLiterals, ad as SortType, e6 as SortTypeWithLiterals, cg as Sorting, dN as SpecialHourPeriod, c2 as SplitInterval, b9 as StaffMediaItem, ba as StaffMediaItemItemOneOf, b8 as StaffMember, bb as StaffMemberDetails, ap as Status, ei as StatusWithLiterals, aP as StreetAddress, dP as SupportedLanguage, bm as Tag, dM as TimePeriod, dR as Translation, bi as URLs, bJ as UpdateAddOnGroupRequest, c3 as UpdateServiceRequest, c4 as UpdateServiceResponse, br as Upsert, dA as UserDomainInfoChangedEvent, aA as V2Category, ab as V2RequestedFields, e4 as V2RequestedFieldsWithLiterals, bR as ValidateServiceRequest, bS as ValidateServiceResponse, dn as ValidateSlugRequest, ct as ValueAggregation, cu as ValueAggregationOptionsOneOf, cG as ValueAggregationResult, cO as ValueResult, cK as ValueResults, aI as VariedPayment, a_ as WaitlistPolicy, aa as WebhookIdentityType, e3 as WebhookIdentityTypeWithLiterals } from './bookings-services-v2-service-services.universal-KorTqIDU.js';
|
|
4
4
|
|
|
5
5
|
declare function createAddOnGroup$1(httpClient: HttpClient): CreateAddOnGroupSignature;
|
|
6
6
|
interface CreateAddOnGroupSignature {
|
|
@@ -61,7 +61,7 @@ interface CreateServiceSignature {
|
|
|
61
61
|
* Creates a service.
|
|
62
62
|
*
|
|
63
63
|
*
|
|
64
|
-
*
|
|
64
|
+
* ### Required fields
|
|
65
65
|
*
|
|
66
66
|
* When creating a service you must specify the following fields:
|
|
67
67
|
* - `type`
|
|
@@ -76,8 +76,9 @@ interface CreateServiceSignature {
|
|
|
76
76
|
* - `payment`
|
|
77
77
|
* ([SDK](https://dev.wix.com/docs/sdk/backend-modules/bookings/services/about-service-payments) | [REST](https://dev.wix.com/docs/rest/business-solutions/bookings/services/services-v2/about-service-payments)):
|
|
78
78
|
* How customers can pay when signing up for the service.
|
|
79
|
+
* - `defaultCapacity`: The maximum number of customers that can book the service. Required for all service types. For appointment-based services, it must be `1`.
|
|
79
80
|
*
|
|
80
|
-
*
|
|
81
|
+
* #### Session durations
|
|
81
82
|
*
|
|
82
83
|
* Depending on which type of service you're creating, you may also need to specify
|
|
83
84
|
* supported session durations.
|
|
@@ -140,7 +141,7 @@ interface UpdateServiceSignature {
|
|
|
140
141
|
* This ensures you're working with the latest service information and
|
|
141
142
|
* prevents unintended overwrites.
|
|
142
143
|
*
|
|
143
|
-
*
|
|
144
|
+
* ### Session durations
|
|
144
145
|
*
|
|
145
146
|
* Specify `schedule.availabilityConstraints.sessionDurations`
|
|
146
147
|
* only if you want to update it for appointment-based services without varied
|
|
@@ -148,6 +149,10 @@ interface UpdateServiceSignature {
|
|
|
148
149
|
* for all other appointment-based services, classes, or courses. See Create Service
|
|
149
150
|
* ([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))
|
|
150
151
|
* for more details.
|
|
152
|
+
*
|
|
153
|
+
* ## Service locations
|
|
154
|
+
*
|
|
155
|
+
* Don't call Update Service to adjust service locations, call Set Service Locations ([SDK](https://dev.wix.com/docs/sdk/backend-modules/bookings/services/set-service-locations) | [REST](https://dev.wix.com/docs/rest/business-solutions/bookings/services/services-v2/set-service-locations)) instead.
|
|
151
156
|
* @param - Service ID.
|
|
152
157
|
* @returns Updated service.
|
|
153
158
|
*/
|
|
@@ -271,14 +276,14 @@ interface SearchServicesSignature {
|
|
|
271
276
|
* and sorting.
|
|
272
277
|
*
|
|
273
278
|
*
|
|
274
|
-
*
|
|
279
|
+
* ### Defaults
|
|
275
280
|
*
|
|
276
281
|
* Search Services has the following default settings, which you can override:
|
|
277
282
|
* + Sorted by `createdDate` in ascending order.
|
|
278
283
|
* + `paging.limit` set to `100`.
|
|
279
284
|
* + `paging.offset` set to `0`.
|
|
280
285
|
*
|
|
281
|
-
*
|
|
286
|
+
* ### Filters
|
|
282
287
|
*
|
|
283
288
|
* When using filters for dates, you must use
|
|
284
289
|
* [UTC time](https://en.wikipedia.org/wiki/Coordinated_Universal_Time).
|
|
@@ -287,7 +292,7 @@ interface SearchServicesSignature {
|
|
|
287
292
|
* ([REST](https://dev.wix.com/docs/rest/business-solutions/bookings/services/services-v2/filtering-and-sorting))
|
|
288
293
|
* for a complete list of supported filters and sorting options.
|
|
289
294
|
*
|
|
290
|
-
*
|
|
295
|
+
* ### See also
|
|
291
296
|
*
|
|
292
297
|
* To learn about working with Search methods, see API Query Language
|
|
293
298
|
* ([SDK](https://dev.wix.com/docs/sdk/articles/work-with-the-sdk/api-query-language) | [REST](https://dev.wix.com/docs/rest/articles/getting-started/api-query-language))
|
|
@@ -307,14 +312,14 @@ interface QueryPoliciesSignature {
|
|
|
307
312
|
* and information about the services that are connected to them,
|
|
308
313
|
* given the provided filtering, paging, and sorting.
|
|
309
314
|
*
|
|
310
|
-
*
|
|
315
|
+
* ### Defaults
|
|
311
316
|
*
|
|
312
317
|
* Query Policies has the following default settings, which you can override:
|
|
313
318
|
*
|
|
314
319
|
* + Sorted by `id` in ascending order.
|
|
315
320
|
* + `cursorPaging.limit` set to `100`.
|
|
316
321
|
*
|
|
317
|
-
*
|
|
322
|
+
* ### Filters
|
|
318
323
|
*
|
|
319
324
|
* For a complete list of supported filters, refer to Booking Policies API: Supported Filters
|
|
320
325
|
* ([REST](https://dev.wix.com/docs/rest/business-solutions/bookings/policies/booking-policies/supported-filters)).
|
|
@@ -322,7 +327,7 @@ interface QueryPoliciesSignature {
|
|
|
322
327
|
* When using date filters, you must use
|
|
323
328
|
* [UTC time](https://en.wikipedia.org/wiki/Coordinated_Universal_Time).
|
|
324
329
|
*
|
|
325
|
-
*
|
|
330
|
+
* ### Returned services
|
|
326
331
|
*
|
|
327
332
|
* If a booking policy is connected to more than 5 services, only a subset of
|
|
328
333
|
* those services is returned. The `bookingPolicies.totalServiceCount` values
|
|
@@ -331,7 +336,7 @@ interface QueryPoliciesSignature {
|
|
|
331
336
|
* and specify the relevant policy ID in the filter to retrieve all services
|
|
332
337
|
* connected to the booking policy.
|
|
333
338
|
*
|
|
334
|
-
*
|
|
339
|
+
* ### See also
|
|
335
340
|
*
|
|
336
341
|
* To learn about working with Query methods, see
|
|
337
342
|
* [API Query Language](https://dev.wix.com/docs/rest/articles/getting-started/api-query-language)
|
|
@@ -352,14 +357,14 @@ interface QueryBookingFormsSignature {
|
|
|
352
357
|
* given the provided filtering, paging, and sorting.
|
|
353
358
|
*
|
|
354
359
|
*
|
|
355
|
-
*
|
|
360
|
+
* ### Defaults
|
|
356
361
|
*
|
|
357
362
|
* Query Booking Forms has the following default settings, which you can override:
|
|
358
363
|
*
|
|
359
364
|
* + Sorted by `id` in ascending order.
|
|
360
365
|
* + `cursorPaging.limit` set to `100`.
|
|
361
366
|
*
|
|
362
|
-
*
|
|
367
|
+
* ### Filters
|
|
363
368
|
*
|
|
364
369
|
* For a complete list of supported filters, refer to Forms API: Supported Filters
|
|
365
370
|
* ([REST](https://dev.wix.com/docs/rest/crm/forms/form-schemas/form-object)).
|
|
@@ -367,7 +372,7 @@ interface QueryBookingFormsSignature {
|
|
|
367
372
|
* When using date filters, you must use
|
|
368
373
|
* [UTC time](https://en.wikipedia.org/wiki/Coordinated_Universal_Time).
|
|
369
374
|
*
|
|
370
|
-
*
|
|
375
|
+
* ### Returned services
|
|
371
376
|
*
|
|
372
377
|
* If a booking policy is connected to more than 5 services, only a subset of
|
|
373
378
|
* these service IDs and names is returned. The `bookingForms.totalServiceCount`
|
|
@@ -376,13 +381,13 @@ interface QueryBookingFormsSignature {
|
|
|
376
381
|
* and specify the relevant form ID in the filter to retrieve all services
|
|
377
382
|
* connected to the booking form.
|
|
378
383
|
*
|
|
379
|
-
*
|
|
384
|
+
* ### Default booking forms
|
|
380
385
|
*
|
|
381
386
|
* By default, all Wix Bookings services use a standard booking form. To retrieve
|
|
382
387
|
* a site's default booking form with Query Booking Forms, specify
|
|
383
388
|
* `{"conditionalFields": ["DEFAULT_BOOKING_FORM"]}`.
|
|
384
389
|
*
|
|
385
|
-
*
|
|
390
|
+
* ### See also
|
|
386
391
|
*
|
|
387
392
|
* To learn about working with Query methods, see
|
|
388
393
|
* [API Query Language](https://dev.wix.com/docs/rest/articles/getting-started/api-query-language)
|
|
@@ -419,12 +424,12 @@ interface QueryLocationsSignature {
|
|
|
419
424
|
* least one of the site's services.
|
|
420
425
|
*
|
|
421
426
|
*
|
|
422
|
-
*
|
|
427
|
+
* ### Defaults
|
|
423
428
|
*
|
|
424
429
|
* Query Locations has the following default setting, which you can't override:
|
|
425
430
|
* Sorted by `id` in ascending order.
|
|
426
431
|
*
|
|
427
|
-
*
|
|
432
|
+
* ### Filters
|
|
428
433
|
*
|
|
429
434
|
* For a complete list of supported filters, refer to the `location` object
|
|
430
435
|
* ([REST](https://dev.wix.com/docs/rest/business-management/locations/location-object)).
|
|
@@ -432,7 +437,7 @@ interface QueryLocationsSignature {
|
|
|
432
437
|
* When using date filters, you must use
|
|
433
438
|
* [UTC time](https://en.wikipedia.org/wiki/Coordinated_Universal_Time).
|
|
434
439
|
*
|
|
435
|
-
*
|
|
440
|
+
* ### See also
|
|
436
441
|
*
|
|
437
442
|
* To learn about working with Query methods, see
|
|
438
443
|
* [API Query Language](https://dev.wix.com/docs/rest/articles/getting-started/api-query-language)
|
|
@@ -446,12 +451,12 @@ interface QueryCategoriesSignature {
|
|
|
446
451
|
* Retrieves a list of service categories ([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)), given the provided filtering.
|
|
447
452
|
*
|
|
448
453
|
*
|
|
449
|
-
*
|
|
454
|
+
* ### Defaults
|
|
450
455
|
*
|
|
451
456
|
* Query Categories has the following default setting, which you can't override:
|
|
452
457
|
* Sorted by `id` in ascending order.
|
|
453
458
|
*
|
|
454
|
-
*
|
|
459
|
+
* ### Filters
|
|
455
460
|
*
|
|
456
461
|
* For a complete list of supported filters, refer to the supported filters article
|
|
457
462
|
* ([REST](https://dev.wix.com/docs/rest/business-solutions/bookings/services/services-v2/filtering-and-sorting#filtering)).
|
|
@@ -459,7 +464,7 @@ interface QueryCategoriesSignature {
|
|
|
459
464
|
* When using date filters, you must use
|
|
460
465
|
* [UTC time](https://en.wikipedia.org/wiki/Coordinated_Universal_Time).
|
|
461
466
|
*
|
|
462
|
-
*
|
|
467
|
+
* ### See also
|
|
463
468
|
*
|
|
464
469
|
* To learn about working with Query methods, see
|
|
465
470
|
* [API Query Language](https://dev.wix.com/docs/rest/articles/getting-started/api-query-language)
|
|
@@ -475,7 +480,7 @@ interface SetServiceLocationsSignature {
|
|
|
475
480
|
* where the business offers the service.
|
|
476
481
|
*
|
|
477
482
|
*
|
|
478
|
-
*
|
|
483
|
+
* ### Consequences for customers
|
|
479
484
|
*
|
|
480
485
|
* Removing a service location may impact existing sessions and their
|
|
481
486
|
* participants. If you remove at least one service location, you must
|
|
@@ -501,7 +506,7 @@ interface SetServiceLocationsSignature {
|
|
|
501
506
|
* Future sessions scheduled for a location defined by the customer are also not
|
|
502
507
|
* updated.
|
|
503
508
|
*
|
|
504
|
-
*
|
|
509
|
+
* ### Specify location details
|
|
505
510
|
*
|
|
506
511
|
* Depending on whether the new or updated location is a business or custom location,
|
|
507
512
|
* you need to specify different fields.
|
|
@@ -512,7 +517,7 @@ interface SetServiceLocationsSignature {
|
|
|
512
517
|
* - **Custom location**: Specify the complete address object as
|
|
513
518
|
* `locations.custom.address`.
|
|
514
519
|
*
|
|
515
|
-
*
|
|
520
|
+
* ### Participant notifications
|
|
516
521
|
*
|
|
517
522
|
* You can specify a `participantNotification.message` that's immediately send
|
|
518
523
|
* to all customers who had booked at a changed location. Ensure
|
|
@@ -601,11 +606,11 @@ interface CloneServiceSignature {
|
|
|
601
606
|
* Clones a service.
|
|
602
607
|
*
|
|
603
608
|
*
|
|
604
|
-
*
|
|
609
|
+
* ### Connected entities
|
|
605
610
|
*
|
|
606
611
|
* By default, not all entities connected to the service are cloned.
|
|
607
612
|
*
|
|
608
|
-
*
|
|
613
|
+
* #### Schedule
|
|
609
614
|
*
|
|
610
615
|
* Wix Bookings automatically creates a new active schedule
|
|
611
616
|
* ([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))
|
|
@@ -629,7 +634,7 @@ interface CloneServiceSignature {
|
|
|
629
634
|
*
|
|
630
635
|
* Wix Bookings never adds past events to the cloned service's schedule.
|
|
631
636
|
*
|
|
632
|
-
*
|
|
637
|
+
* #### Service options and variants
|
|
633
638
|
*
|
|
634
639
|
* If the original service has variants
|
|
635
640
|
* ([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)),
|
|
@@ -643,12 +648,12 @@ interface CloneServiceSignature {
|
|
|
643
648
|
* ([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))
|
|
644
649
|
* to add variants.
|
|
645
650
|
*
|
|
646
|
-
*
|
|
651
|
+
* #### Booking form
|
|
647
652
|
*
|
|
648
653
|
* The original service's booking form isn't cloned, whether it's
|
|
649
654
|
* the default or a custom booking form.
|
|
650
655
|
*
|
|
651
|
-
*
|
|
656
|
+
* #### Pricing plans
|
|
652
657
|
*
|
|
653
658
|
* If the original service's accepts payments via pricing plans
|
|
654
659
|
* ([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)),
|