@wix/auto_sdk_bookings_services 1.0.104 → 1.0.105
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-BvheLzPB.d.ts → bookings-services-v2-service-services.universal-bHx_aSVy.d.ts} +26 -26
- package/build/cjs/index.d.ts +31 -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 +1 -1
- package/build/cjs/meta.js.map +1 -1
- package/build/es/{bookings-services-v2-service-services.universal-BvheLzPB.d.mts → bookings-services-v2-service-services.universal-bHx_aSVy.d.mts} +26 -26
- package/build/es/index.d.mts +31 -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 +1 -1
- package/build/es/meta.mjs.map +1 -1
- package/build/internal/cjs/{bookings-services-v2-service-services.universal-BvheLzPB.d.ts → bookings-services-v2-service-services.universal-bHx_aSVy.d.ts} +26 -26
- package/build/internal/cjs/index.d.ts +31 -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 +1 -1
- package/build/internal/cjs/meta.js.map +1 -1
- package/build/internal/es/{bookings-services-v2-service-services.universal-BvheLzPB.d.mts → bookings-services-v2-service-services.universal-bHx_aSVy.d.mts} +26 -26
- package/build/internal/es/index.d.mts +31 -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 +1 -1
- package/build/internal/es/meta.mjs.map +1 -1
- package/package.json +2 -2
|
@@ -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`
|
|
@@ -3793,7 +3793,7 @@ interface SetAddOnsForGroupOptions {
|
|
|
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
3795
|
*
|
|
3796
|
-
*
|
|
3796
|
+
* ### Session durations
|
|
3797
3797
|
*
|
|
3798
3798
|
* Depending on which type of service you're creating, you may also need to specify
|
|
3799
3799
|
* supported session durations.
|
|
@@ -3866,7 +3866,7 @@ declare function getService(serviceId: string): Promise<NonNullablePaths<Service
|
|
|
3866
3866
|
* This ensures you're working with the latest service information and
|
|
3867
3867
|
* prevents unintended overwrites.
|
|
3868
3868
|
*
|
|
3869
|
-
*
|
|
3869
|
+
* ## Session durations
|
|
3870
3870
|
*
|
|
3871
3871
|
* Specify `schedule.availabilityConstraints.sessionDurations`
|
|
3872
3872
|
* only if you want to update it for appointment-based services without varied
|
|
@@ -4459,14 +4459,14 @@ type ServiceSearch = {
|
|
|
4459
4459
|
* and information about the services that are connected to them,
|
|
4460
4460
|
* given the provided filtering, paging, and sorting.
|
|
4461
4461
|
*
|
|
4462
|
-
*
|
|
4462
|
+
* ## Defaults
|
|
4463
4463
|
*
|
|
4464
4464
|
* Query Policies has the following default settings, which you can override:
|
|
4465
4465
|
*
|
|
4466
4466
|
* + Sorted by `id` in ascending order.
|
|
4467
4467
|
* + `cursorPaging.limit` set to `100`.
|
|
4468
4468
|
*
|
|
4469
|
-
*
|
|
4469
|
+
* ## Filters
|
|
4470
4470
|
*
|
|
4471
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)).
|
|
@@ -4474,7 +4474,7 @@ type ServiceSearch = {
|
|
|
4474
4474
|
* When using date filters, you must use
|
|
4475
4475
|
* [UTC time](https://en.wikipedia.org/wiki/Coordinated_Universal_Time).
|
|
4476
4476
|
*
|
|
4477
|
-
*
|
|
4477
|
+
* ## Returned services
|
|
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
|
|
@@ -4483,7 +4483,7 @@ type ServiceSearch = {
|
|
|
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
4488
|
* To learn about working with Query methods, see
|
|
4489
4489
|
* [API Query Language](https://dev.wix.com/docs/rest/articles/getting-started/api-query-language)
|
|
@@ -4508,14 +4508,14 @@ declare function queryPolicies(query: CursorQuery): Promise<NonNullablePaths<Que
|
|
|
4508
4508
|
* given the provided filtering, paging, and sorting.
|
|
4509
4509
|
*
|
|
4510
4510
|
*
|
|
4511
|
-
*
|
|
4511
|
+
* ## Defaults
|
|
4512
4512
|
*
|
|
4513
4513
|
* Query Booking Forms has the following default settings, which you can override:
|
|
4514
4514
|
*
|
|
4515
4515
|
* + Sorted by `id` in ascending order.
|
|
4516
4516
|
* + `cursorPaging.limit` set to `100`.
|
|
4517
4517
|
*
|
|
4518
|
-
*
|
|
4518
|
+
* ## Filters
|
|
4519
4519
|
*
|
|
4520
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)).
|
|
@@ -4523,7 +4523,7 @@ declare function queryPolicies(query: CursorQuery): Promise<NonNullablePaths<Que
|
|
|
4523
4523
|
* When using date filters, you must use
|
|
4524
4524
|
* [UTC time](https://en.wikipedia.org/wiki/Coordinated_Universal_Time).
|
|
4525
4525
|
*
|
|
4526
|
-
*
|
|
4526
|
+
* ## Returned services
|
|
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`
|
|
@@ -4532,13 +4532,13 @@ declare function queryPolicies(query: CursorQuery): Promise<NonNullablePaths<Que
|
|
|
4532
4532
|
* and specify the relevant form ID in the filter to retrieve all services
|
|
4533
4533
|
* connected to the booking form.
|
|
4534
4534
|
*
|
|
4535
|
-
*
|
|
4535
|
+
* ## Default booking forms
|
|
4536
4536
|
*
|
|
4537
4537
|
* By default, all Wix Bookings services use a standard booking form. To retrieve
|
|
4538
4538
|
* a site's default booking form with Query Booking Forms, specify
|
|
4539
4539
|
* `{"conditionalFields": ["DEFAULT_BOOKING_FORM"]}`.
|
|
4540
4540
|
*
|
|
4541
|
-
*
|
|
4541
|
+
* ## See also
|
|
4542
4542
|
*
|
|
4543
4543
|
* To learn about working with Query methods, see
|
|
4544
4544
|
* [API Query Language](https://dev.wix.com/docs/rest/articles/getting-started/api-query-language)
|
|
@@ -4594,12 +4594,12 @@ interface CountServicesOptions {
|
|
|
4594
4594
|
* least one of the site's services.
|
|
4595
4595
|
*
|
|
4596
4596
|
*
|
|
4597
|
-
*
|
|
4597
|
+
* ## Defaults
|
|
4598
4598
|
*
|
|
4599
4599
|
* Query Locations has the following default setting, which you can't override:
|
|
4600
4600
|
* Sorted by `id` in ascending order.
|
|
4601
4601
|
*
|
|
4602
|
-
*
|
|
4602
|
+
* ## Filters
|
|
4603
4603
|
*
|
|
4604
4604
|
* For a complete list of supported filters, refer to the `location` object
|
|
4605
4605
|
* ([REST](https://dev.wix.com/docs/rest/business-management/locations/location-object)).
|
|
@@ -4607,7 +4607,7 @@ interface CountServicesOptions {
|
|
|
4607
4607
|
* When using date filters, you must use
|
|
4608
4608
|
* [UTC time](https://en.wikipedia.org/wiki/Coordinated_Universal_Time).
|
|
4609
4609
|
*
|
|
4610
|
-
*
|
|
4610
|
+
* ## See also
|
|
4611
4611
|
*
|
|
4612
4612
|
* To learn about working with Query methods, see
|
|
4613
4613
|
* [API Query Language](https://dev.wix.com/docs/rest/articles/getting-started/api-query-language)
|
|
@@ -4627,12 +4627,12 @@ interface QueryLocationsOptions {
|
|
|
4627
4627
|
* 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
4628
|
*
|
|
4629
4629
|
*
|
|
4630
|
-
*
|
|
4630
|
+
* ## Defaults
|
|
4631
4631
|
*
|
|
4632
4632
|
* Query Categories has the following default setting, which you can't override:
|
|
4633
4633
|
* Sorted by `id` in ascending order.
|
|
4634
4634
|
*
|
|
4635
|
-
*
|
|
4635
|
+
* ## Filters
|
|
4636
4636
|
*
|
|
4637
4637
|
* For a complete list of supported filters, refer to the supported filters article
|
|
4638
4638
|
* ([REST](https://dev.wix.com/docs/rest/business-solutions/bookings/services/services-v2/filtering-and-sorting#filtering)).
|
|
@@ -4640,7 +4640,7 @@ interface QueryLocationsOptions {
|
|
|
4640
4640
|
* When using date filters, you must use
|
|
4641
4641
|
* [UTC time](https://en.wikipedia.org/wiki/Coordinated_Universal_Time).
|
|
4642
4642
|
*
|
|
4643
|
-
*
|
|
4643
|
+
* ## See also
|
|
4644
4644
|
*
|
|
4645
4645
|
* To learn about working with Query methods, see
|
|
4646
4646
|
* [API Query Language](https://dev.wix.com/docs/rest/articles/getting-started/api-query-language)
|
|
@@ -4662,7 +4662,7 @@ interface QueryCategoriesOptions {
|
|
|
4662
4662
|
* where the business offers the service.
|
|
4663
4663
|
*
|
|
4664
4664
|
*
|
|
4665
|
-
*
|
|
4665
|
+
* ## Consequences for customers
|
|
4666
4666
|
*
|
|
4667
4667
|
* Removing a service location may impact existing sessions and their
|
|
4668
4668
|
* participants. If you remove at least one service location, you must
|
|
@@ -4688,7 +4688,7 @@ interface QueryCategoriesOptions {
|
|
|
4688
4688
|
* Future sessions scheduled for a location defined by the customer are also not
|
|
4689
4689
|
* updated.
|
|
4690
4690
|
*
|
|
4691
|
-
*
|
|
4691
|
+
* ## Specify location details
|
|
4692
4692
|
*
|
|
4693
4693
|
* Depending on whether the new or updated location is a business or custom location,
|
|
4694
4694
|
* you need to specify different fields.
|
|
@@ -4699,7 +4699,7 @@ interface QueryCategoriesOptions {
|
|
|
4699
4699
|
* - **Custom location**: Specify the complete address object as
|
|
4700
4700
|
* `locations.custom.address`.
|
|
4701
4701
|
*
|
|
4702
|
-
*
|
|
4702
|
+
* ## Participant notifications
|
|
4703
4703
|
*
|
|
4704
4704
|
* You can specify a `participantNotification.message` that's immediately send
|
|
4705
4705
|
* to all customers who had booked at a changed location. Ensure
|
|
@@ -4838,11 +4838,11 @@ interface ValidateSlugOptions {
|
|
|
4838
4838
|
* Clones a service.
|
|
4839
4839
|
*
|
|
4840
4840
|
*
|
|
4841
|
-
*
|
|
4841
|
+
* ## Connected entities
|
|
4842
4842
|
*
|
|
4843
4843
|
* By default, not all entities connected to the service are cloned.
|
|
4844
4844
|
*
|
|
4845
|
-
*
|
|
4845
|
+
* ### Schedule
|
|
4846
4846
|
*
|
|
4847
4847
|
* Wix Bookings automatically creates a new active schedule
|
|
4848
4848
|
* ([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 +4866,7 @@ interface ValidateSlugOptions {
|
|
|
4866
4866
|
*
|
|
4867
4867
|
* Wix Bookings never adds past events to the cloned service's schedule.
|
|
4868
4868
|
*
|
|
4869
|
-
*
|
|
4869
|
+
* ### Service options and variants
|
|
4870
4870
|
*
|
|
4871
4871
|
* If the original service has variants
|
|
4872
4872
|
* ([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 +4880,12 @@ interface ValidateSlugOptions {
|
|
|
4880
4880
|
* ([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
4881
|
* to add variants.
|
|
4882
4882
|
*
|
|
4883
|
-
*
|
|
4883
|
+
* ### Booking form
|
|
4884
4884
|
*
|
|
4885
4885
|
* The original service's booking form isn't cloned, whether it's
|
|
4886
4886
|
* the default or a custom booking form.
|
|
4887
4887
|
*
|
|
4888
|
-
*
|
|
4888
|
+
* ### Pricing plans
|
|
4889
4889
|
*
|
|
4890
4890
|
* If the original service's accepts payments via pricing plans
|
|
4891
4891
|
* ([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-bHx_aSVy.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-bHx_aSVy.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`
|
|
@@ -77,7 +77,7 @@ interface CreateServiceSignature {
|
|
|
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
79
|
*
|
|
80
|
-
*
|
|
80
|
+
* ### Session durations
|
|
81
81
|
*
|
|
82
82
|
* Depending on which type of service you're creating, you may also need to specify
|
|
83
83
|
* supported session durations.
|
|
@@ -140,7 +140,7 @@ interface UpdateServiceSignature {
|
|
|
140
140
|
* This ensures you're working with the latest service information and
|
|
141
141
|
* prevents unintended overwrites.
|
|
142
142
|
*
|
|
143
|
-
*
|
|
143
|
+
* ## Session durations
|
|
144
144
|
*
|
|
145
145
|
* Specify `schedule.availabilityConstraints.sessionDurations`
|
|
146
146
|
* only if you want to update it for appointment-based services without varied
|
|
@@ -271,14 +271,14 @@ interface SearchServicesSignature {
|
|
|
271
271
|
* and sorting.
|
|
272
272
|
*
|
|
273
273
|
*
|
|
274
|
-
*
|
|
274
|
+
* ## Defaults
|
|
275
275
|
*
|
|
276
276
|
* Search Services has the following default settings, which you can override:
|
|
277
277
|
* + Sorted by `createdDate` in ascending order.
|
|
278
278
|
* + `paging.limit` set to `100`.
|
|
279
279
|
* + `paging.offset` set to `0`.
|
|
280
280
|
*
|
|
281
|
-
*
|
|
281
|
+
* ## Filters
|
|
282
282
|
*
|
|
283
283
|
* When using filters for dates, you must use
|
|
284
284
|
* [UTC time](https://en.wikipedia.org/wiki/Coordinated_Universal_Time).
|
|
@@ -287,7 +287,7 @@ interface SearchServicesSignature {
|
|
|
287
287
|
* ([REST](https://dev.wix.com/docs/rest/business-solutions/bookings/services/services-v2/filtering-and-sorting))
|
|
288
288
|
* for a complete list of supported filters and sorting options.
|
|
289
289
|
*
|
|
290
|
-
*
|
|
290
|
+
* ## See also
|
|
291
291
|
*
|
|
292
292
|
* To learn about working with Search methods, see API Query Language
|
|
293
293
|
* ([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 +307,14 @@ interface QueryPoliciesSignature {
|
|
|
307
307
|
* and information about the services that are connected to them,
|
|
308
308
|
* given the provided filtering, paging, and sorting.
|
|
309
309
|
*
|
|
310
|
-
*
|
|
310
|
+
* ## Defaults
|
|
311
311
|
*
|
|
312
312
|
* Query Policies has the following default settings, which you can override:
|
|
313
313
|
*
|
|
314
314
|
* + Sorted by `id` in ascending order.
|
|
315
315
|
* + `cursorPaging.limit` set to `100`.
|
|
316
316
|
*
|
|
317
|
-
*
|
|
317
|
+
* ## Filters
|
|
318
318
|
*
|
|
319
319
|
* For a complete list of supported filters, refer to Booking Policies API: Supported Filters
|
|
320
320
|
* ([REST](https://dev.wix.com/docs/rest/business-solutions/bookings/policies/booking-policies/supported-filters)).
|
|
@@ -322,7 +322,7 @@ interface QueryPoliciesSignature {
|
|
|
322
322
|
* When using date filters, you must use
|
|
323
323
|
* [UTC time](https://en.wikipedia.org/wiki/Coordinated_Universal_Time).
|
|
324
324
|
*
|
|
325
|
-
*
|
|
325
|
+
* ## Returned services
|
|
326
326
|
*
|
|
327
327
|
* If a booking policy is connected to more than 5 services, only a subset of
|
|
328
328
|
* those services is returned. The `bookingPolicies.totalServiceCount` values
|
|
@@ -331,7 +331,7 @@ interface QueryPoliciesSignature {
|
|
|
331
331
|
* and specify the relevant policy ID in the filter to retrieve all services
|
|
332
332
|
* connected to the booking policy.
|
|
333
333
|
*
|
|
334
|
-
*
|
|
334
|
+
* ## See also
|
|
335
335
|
*
|
|
336
336
|
* To learn about working with Query methods, see
|
|
337
337
|
* [API Query Language](https://dev.wix.com/docs/rest/articles/getting-started/api-query-language)
|
|
@@ -352,14 +352,14 @@ interface QueryBookingFormsSignature {
|
|
|
352
352
|
* given the provided filtering, paging, and sorting.
|
|
353
353
|
*
|
|
354
354
|
*
|
|
355
|
-
*
|
|
355
|
+
* ## Defaults
|
|
356
356
|
*
|
|
357
357
|
* Query Booking Forms has the following default settings, which you can override:
|
|
358
358
|
*
|
|
359
359
|
* + Sorted by `id` in ascending order.
|
|
360
360
|
* + `cursorPaging.limit` set to `100`.
|
|
361
361
|
*
|
|
362
|
-
*
|
|
362
|
+
* ## Filters
|
|
363
363
|
*
|
|
364
364
|
* For a complete list of supported filters, refer to Forms API: Supported Filters
|
|
365
365
|
* ([REST](https://dev.wix.com/docs/rest/crm/forms/form-schemas/form-object)).
|
|
@@ -367,7 +367,7 @@ interface QueryBookingFormsSignature {
|
|
|
367
367
|
* When using date filters, you must use
|
|
368
368
|
* [UTC time](https://en.wikipedia.org/wiki/Coordinated_Universal_Time).
|
|
369
369
|
*
|
|
370
|
-
*
|
|
370
|
+
* ## Returned services
|
|
371
371
|
*
|
|
372
372
|
* If a booking policy is connected to more than 5 services, only a subset of
|
|
373
373
|
* these service IDs and names is returned. The `bookingForms.totalServiceCount`
|
|
@@ -376,13 +376,13 @@ interface QueryBookingFormsSignature {
|
|
|
376
376
|
* and specify the relevant form ID in the filter to retrieve all services
|
|
377
377
|
* connected to the booking form.
|
|
378
378
|
*
|
|
379
|
-
*
|
|
379
|
+
* ## Default booking forms
|
|
380
380
|
*
|
|
381
381
|
* By default, all Wix Bookings services use a standard booking form. To retrieve
|
|
382
382
|
* a site's default booking form with Query Booking Forms, specify
|
|
383
383
|
* `{"conditionalFields": ["DEFAULT_BOOKING_FORM"]}`.
|
|
384
384
|
*
|
|
385
|
-
*
|
|
385
|
+
* ## See also
|
|
386
386
|
*
|
|
387
387
|
* To learn about working with Query methods, see
|
|
388
388
|
* [API Query Language](https://dev.wix.com/docs/rest/articles/getting-started/api-query-language)
|
|
@@ -419,12 +419,12 @@ interface QueryLocationsSignature {
|
|
|
419
419
|
* least one of the site's services.
|
|
420
420
|
*
|
|
421
421
|
*
|
|
422
|
-
*
|
|
422
|
+
* ## Defaults
|
|
423
423
|
*
|
|
424
424
|
* Query Locations has the following default setting, which you can't override:
|
|
425
425
|
* Sorted by `id` in ascending order.
|
|
426
426
|
*
|
|
427
|
-
*
|
|
427
|
+
* ## Filters
|
|
428
428
|
*
|
|
429
429
|
* For a complete list of supported filters, refer to the `location` object
|
|
430
430
|
* ([REST](https://dev.wix.com/docs/rest/business-management/locations/location-object)).
|
|
@@ -432,7 +432,7 @@ interface QueryLocationsSignature {
|
|
|
432
432
|
* When using date filters, you must use
|
|
433
433
|
* [UTC time](https://en.wikipedia.org/wiki/Coordinated_Universal_Time).
|
|
434
434
|
*
|
|
435
|
-
*
|
|
435
|
+
* ## See also
|
|
436
436
|
*
|
|
437
437
|
* To learn about working with Query methods, see
|
|
438
438
|
* [API Query Language](https://dev.wix.com/docs/rest/articles/getting-started/api-query-language)
|
|
@@ -446,12 +446,12 @@ interface QueryCategoriesSignature {
|
|
|
446
446
|
* 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
447
|
*
|
|
448
448
|
*
|
|
449
|
-
*
|
|
449
|
+
* ## Defaults
|
|
450
450
|
*
|
|
451
451
|
* Query Categories has the following default setting, which you can't override:
|
|
452
452
|
* Sorted by `id` in ascending order.
|
|
453
453
|
*
|
|
454
|
-
*
|
|
454
|
+
* ## Filters
|
|
455
455
|
*
|
|
456
456
|
* For a complete list of supported filters, refer to the supported filters article
|
|
457
457
|
* ([REST](https://dev.wix.com/docs/rest/business-solutions/bookings/services/services-v2/filtering-and-sorting#filtering)).
|
|
@@ -459,7 +459,7 @@ interface QueryCategoriesSignature {
|
|
|
459
459
|
* When using date filters, you must use
|
|
460
460
|
* [UTC time](https://en.wikipedia.org/wiki/Coordinated_Universal_Time).
|
|
461
461
|
*
|
|
462
|
-
*
|
|
462
|
+
* ## See also
|
|
463
463
|
*
|
|
464
464
|
* To learn about working with Query methods, see
|
|
465
465
|
* [API Query Language](https://dev.wix.com/docs/rest/articles/getting-started/api-query-language)
|
|
@@ -475,7 +475,7 @@ interface SetServiceLocationsSignature {
|
|
|
475
475
|
* where the business offers the service.
|
|
476
476
|
*
|
|
477
477
|
*
|
|
478
|
-
*
|
|
478
|
+
* ## Consequences for customers
|
|
479
479
|
*
|
|
480
480
|
* Removing a service location may impact existing sessions and their
|
|
481
481
|
* participants. If you remove at least one service location, you must
|
|
@@ -501,7 +501,7 @@ interface SetServiceLocationsSignature {
|
|
|
501
501
|
* Future sessions scheduled for a location defined by the customer are also not
|
|
502
502
|
* updated.
|
|
503
503
|
*
|
|
504
|
-
*
|
|
504
|
+
* ## Specify location details
|
|
505
505
|
*
|
|
506
506
|
* Depending on whether the new or updated location is a business or custom location,
|
|
507
507
|
* you need to specify different fields.
|
|
@@ -512,7 +512,7 @@ interface SetServiceLocationsSignature {
|
|
|
512
512
|
* - **Custom location**: Specify the complete address object as
|
|
513
513
|
* `locations.custom.address`.
|
|
514
514
|
*
|
|
515
|
-
*
|
|
515
|
+
* ## Participant notifications
|
|
516
516
|
*
|
|
517
517
|
* You can specify a `participantNotification.message` that's immediately send
|
|
518
518
|
* to all customers who had booked at a changed location. Ensure
|
|
@@ -601,11 +601,11 @@ interface CloneServiceSignature {
|
|
|
601
601
|
* Clones a service.
|
|
602
602
|
*
|
|
603
603
|
*
|
|
604
|
-
*
|
|
604
|
+
* ## Connected entities
|
|
605
605
|
*
|
|
606
606
|
* By default, not all entities connected to the service are cloned.
|
|
607
607
|
*
|
|
608
|
-
*
|
|
608
|
+
* ### Schedule
|
|
609
609
|
*
|
|
610
610
|
* Wix Bookings automatically creates a new active schedule
|
|
611
611
|
* ([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 +629,7 @@ interface CloneServiceSignature {
|
|
|
629
629
|
*
|
|
630
630
|
* Wix Bookings never adds past events to the cloned service's schedule.
|
|
631
631
|
*
|
|
632
|
-
*
|
|
632
|
+
* ### Service options and variants
|
|
633
633
|
*
|
|
634
634
|
* If the original service has variants
|
|
635
635
|
* ([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 +643,12 @@ interface CloneServiceSignature {
|
|
|
643
643
|
* ([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
644
|
* to add variants.
|
|
645
645
|
*
|
|
646
|
-
*
|
|
646
|
+
* ### Booking form
|
|
647
647
|
*
|
|
648
648
|
* The original service's booking form isn't cloned, whether it's
|
|
649
649
|
* the default or a custom booking form.
|
|
650
650
|
*
|
|
651
|
-
*
|
|
651
|
+
* ### Pricing plans
|
|
652
652
|
*
|
|
653
653
|
* If the original service's accepts payments via pricing plans
|
|
654
654
|
* ([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)),
|