@wix/auto_sdk_bookings_services 1.0.150 → 1.0.152
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-BPPGPPHk.d.ts → bookings-services-v2-service-services.universal-BpWCxhni.d.ts} +77 -165
- package/build/cjs/index.d.ts +43 -91
- package/build/cjs/index.js.map +1 -1
- package/build/cjs/index.typings.d.ts +5 -9
- package/build/cjs/index.typings.js.map +1 -1
- package/build/cjs/meta.d.ts +27 -58
- package/build/cjs/meta.js.map +1 -1
- package/build/es/{bookings-services-v2-service-services.universal-BPPGPPHk.d.mts → bookings-services-v2-service-services.universal-BpWCxhni.d.mts} +77 -165
- package/build/es/index.d.mts +43 -91
- package/build/es/index.mjs.map +1 -1
- package/build/es/index.typings.d.mts +5 -9
- package/build/es/index.typings.mjs.map +1 -1
- package/build/es/meta.d.mts +27 -58
- package/build/es/meta.mjs.map +1 -1
- package/build/internal/cjs/{bookings-services-v2-service-services.universal-BPPGPPHk.d.ts → bookings-services-v2-service-services.universal-BpWCxhni.d.ts} +77 -165
- package/build/internal/cjs/index.d.ts +43 -91
- package/build/internal/cjs/index.js.map +1 -1
- package/build/internal/cjs/index.typings.d.ts +5 -9
- package/build/internal/cjs/index.typings.js.map +1 -1
- package/build/internal/cjs/meta.d.ts +27 -58
- package/build/internal/cjs/meta.js.map +1 -1
- package/build/internal/es/{bookings-services-v2-service-services.universal-BPPGPPHk.d.mts → bookings-services-v2-service-services.universal-BpWCxhni.d.mts} +77 -165
- package/build/internal/es/index.d.mts +43 -91
- package/build/internal/es/index.mjs.map +1 -1
- package/build/internal/es/index.typings.d.mts +5 -9
- package/build/internal/es/index.typings.mjs.map +1 -1
- package/build/internal/es/meta.d.mts +27 -58
- package/build/internal/es/meta.mjs.map +1 -1
- package/package.json +2 -2
|
@@ -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 { ar as Action, bO as ActionEvent, ew as ActionWithLiterals, bX as AddOn, bY as AddOnAddOnInfoOneOf, by as AddOnDetails, bZ as AddOnGroupDetail, a8 as AddOnPaymentOptions, ed as AddOnPaymentOptionsWithLiterals, dU as Address, dV as AddressHint, aV as AddressLocation, cB as Aggregation, cR as AggregationData, cC as AggregationKindOneOf, d8 as AggregationResults, d9 as AggregationResultsResultOneOf, cY as AggregationResultsScalarResult, ao as AggregationType, et as AggregationTypeWithLiterals, c7 as ApplicationError, bg as AvailabilityConstraints, e7 as BaseEventMetadata, dK as Behavior, dL as BehaviorBehaviorOneOf, dG as Benefit, dF as BenefitNotification, aw as BenefitType, eB as BenefitTypeWithLiterals, b0 as BookAfterStartPolicy, de as BookingForm, aY as BookingPolicy, dc as BookingPolicyWithServices, c8 as BulkActionMetadata, c4 as BulkCreateServicesRequest, co as BulkDeleteServicesByFilterRequest, cn as BulkDeleteServicesRequest, c5 as BulkServiceResult, cj as BulkUpdateServicesByFilterRequest, ch as BulkUpdateServicesRequest, aW as BusinessLocationOptions, dk as BusinessLocations, dX as BusinessSchedule, b6 as CancellationFeePolicy, b1 as CancellationPolicy, b7 as CancellationWindow, b8 as CancellationWindowFeeOneOf, dS as Categories, dD as Category, dC as CategoryNotification, av as CategoryNotificationEvent, eA as CategoryNotificationEventWithLiterals, e2 as ChangeContext, e3 as ChangeContextPayloadOneOf, at as CloneErrors, ey as CloneErrorsWithLiterals, dB as CloneServiceRequest, aS as CommonAddress, aT as CommonAddressStreetOneOf, eH as CommonSearchWithEntityContext, ad as CompletionRequirement, ei as CompletionRequirementWithLiterals, aQ as Conferencing, dg as ConnectedService, e0 as ConsentPolicy, dh as CountServicesRequest, bS as CreateAddOnGroupRequest, b$ as CreateServiceRequest, c0 as CreateServiceResponse, ay as CrudType, eD as CrudTypeWithLiterals, cu as CursorPaging, cQ as CursorPagingMetadata, db as CursorQueryPagingMethodOneOf, cz as CursorSearch, cA as CursorSearchPagingMethodOneOf, cx as Cursors, aX as CustomLocationOptions, dl as CustomLocations, bd as CustomOptions, aM as CustomPayment, dm as CustomerLocations, cJ as DateHistogramAggregation, d4 as DateHistogramResult, d6 as DateHistogramResults, aA as DayOfWeek, eF as DayOfWeekWithLiterals, bE as Delete, bT as DeleteAddOnGroupRequest, bU as DeleteAddOnGroupResponse, ck as DeleteServiceRequest, cm as DeleteServiceResponse, dy as DisablePricingPlansForServiceRequest, dI as Discount, dJ as DiscountDiscountOneOf, bI as DomainEvent, bJ as DomainEventBodyOneOf, bh as Duration, dE as Empty, dw as EnablePricingPlansForServiceRequest, bK as EntityCreatedEvent, bN as EntityDeletedEvent, bM as EntityUpdatedEvent, dH as EntryPass, ax as Event, e8 as EventMetadata, eC as EventWithLiterals, bt as ExtendedFields, c3 as FieldViolation, aK as FixedPayment, aG as Form, df as FormDetails, aH as FormSettings, dW as GeoCoordinates, cb as GetServiceAvailabilityConstraintsRequest, cc as GetServiceAvailabilityConstraintsResponse, c9 as GetServiceRequest, ca as GetServiceResponse, cN as GroupByAggregation, cO as GroupByAggregationKindOneOf, d5 as GroupByValueResults, dN as HtmlSitePublished, bQ as IdentificationData, bR as IdentificationDataIdOneOf, cE as IncludeMissingValuesOptions, be as IntakeFormPolicy, an as Interval, es as IntervalWithLiterals, dx as InvalidPricingPlan, as as InvalidSlugError, ex as InvalidSlugErrorWithLiterals, c6 as ItemMetadata, bv as Keyword, a_ as LimitEarlyBookingPolicy, a$ as LimitLateBookingPolicy, bW as ListAddOnGroupsByServiceIdRequest, dT as Locale, aR as LocationOptionsOneOf, a9 as LocationType, ee as LocationTypeWithLiterals, ci as MaskedService, aC as Media, aD as MediaItem, aE as MediaItemItemOneOf, bP as MessageEnvelope, ak as MissingValues, ep as MissingValuesWithLiterals, ap as Mode, eu as ModeWithLiterals, aL as Money, dv as MoveToNewLocationsOptions, d_ as Multilingual, cM as NestedAggregation, cK as NestedAggregationItem, cL as NestedAggregationItemKindOneOf, cU as NestedAggregationResults, cV as NestedAggregationResultsResultOneOf, am as NestedAggregationType, er as NestedAggregationTypeWithLiterals, d1 as NestedResultValue, d2 as NestedResultValueResultOneOf, d7 as NestedResults, cZ as NestedValueAggregationResult, aP as OnlineBooking, dO as Page, ct as Paging, cw as PagingMetadataV2, cl as ParticipantNotification, b4 as ParticipantsPolicy, aI as Payment, aO as PaymentOptions, aJ as PaymentRateOneOf, bA as PhoneCall, az as PlacementType, eE as PlacementTypeWithLiterals, aZ as PolicyDescription, dR as Properties, e4 as PropertiesChange, dd as QueryBookingFormsRequest, dp as QueryCategoriesFilter, dn as QueryCategoriesRequest, dj as QueryLocationsFilter, di as QueryLocationsRequest, da as QueryPoliciesRequest, dq as QueryServicesMultiLanguageRequest, dr as QueryServicesMultiLanguageResponse, cp as QueryServicesRequest, cv as QueryServicesResponse, cq as QueryV2, cr as QueryV2PagingMethodOneOf, cH as RangeAggregation, cT as RangeAggregationResult, cD as RangeBucket, c$ as RangeResult, cX as RangeResults, bc as RankingOptions, aa as RankingOrder, ef as RankingOrderWithLiterals, a7 as RateType, ec as RateTypeWithLiterals, bB as ReindexMessage, bC as ReindexMessageActionOneOf, dt as RemovedLocationSessionsAction, du as RemovedLocationSessionsActionActionOptionsOneOf, aq as RequestedFields, ev as RequestedFieldsWithLiterals, b2 as ReschedulePolicy, aB as ResolutionMethod, eG as ResolutionMethodWithLiterals, bm as ResourceGroup, bn as ResourceIds, bq as ResourceType, b5 as ResourcesPolicy, bL as RestoreInfo, d3 as Results, b9 as SaveCreditCardPolicy, cI as ScalarAggregation, d0 as ScalarResult, al as ScalarType, eq as ScalarTypeWithLiterals, bf as Schedule, bF as Schema, cP as SearchDetails, cy as SearchServicesRequest, bu as SeoSchema, cd as ServiceAvailabilityConstraints, bo as ServiceResource, bp as ServiceResourceSelectionOneOf, ea as ServiceSearchSpec, a6 as ServiceType, eb as ServiceTypeWithLiterals, e9 as ServicesQueryResult, bH as ServicesUrlsChanged, b_ as SetAddOnsForGroupRequest, bG as SetCustomSlugEvent, dz as SetCustomSlugRequest, ds as SetServiceLocationsRequest, bx as Settings, e6 as SiteCloned, e5 as SiteCreated, dQ as SitePropertiesEvent, dP as SitePropertiesNotification, br as Slug, aj as SortDirection, eo as SortDirectionWithLiterals, ah as SortOrder, em as SortOrderWithLiterals, ai as SortType, en as SortTypeWithLiterals, cs as Sorting, ab as SortingMethodType, eg as SortingMethodTypeWithLiterals, dZ as SpecialHourPeriod, ce as SplitInterval, bj as StaffMediaItem, bk as StaffMediaItemItemOneOf, bi as StaffMember, bl as StaffMemberDetails, ba as StaffSortingPolicy, bb as StaffSortingPolicyOptionsOneOf, au as Status, ez as StatusWithLiterals, aU as StreetAddress, d$ as SupportedLanguage, bw as Tag, bz as TaxableAddress, ae as TaxableAddressType, ej as TaxableAddressTypeWithLiterals, dY as TimePeriod, ac as Timing, eh as TimingWithLiterals, e1 as Translation, bs as URLs, bV as UpdateAddOnGroupRequest, cf as UpdateServiceRequest, cg as UpdateServiceResponse, bD as Upsert, dM as UserDomainInfoChangedEvent, aF as V2Category, ag as V2RequestedFields, el as V2RequestedFieldsWithLiterals, c1 as ValidateServiceRequest, c2 as ValidateServiceResponse, dA as ValidateSlugRequest, cF as ValueAggregation, cG as ValueAggregationOptionsOneOf, cS as ValueAggregationResult, c_ as ValueResult, cW as ValueResults, aN as VariedPayment, b3 as WaitlistPolicy, af as WebhookIdentityType, ek 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-BpWCxhni.js';
|
|
3
|
+
export { ar as Action, bO as ActionEvent, ew as ActionWithLiterals, bX as AddOn, bY as AddOnAddOnInfoOneOf, by as AddOnDetails, bZ as AddOnGroupDetail, a8 as AddOnPaymentOptions, ed as AddOnPaymentOptionsWithLiterals, dU as Address, dV as AddressHint, aV as AddressLocation, cB as Aggregation, cR as AggregationData, cC as AggregationKindOneOf, d8 as AggregationResults, d9 as AggregationResultsResultOneOf, cY as AggregationResultsScalarResult, ao as AggregationType, et as AggregationTypeWithLiterals, c7 as ApplicationError, bg as AvailabilityConstraints, e7 as BaseEventMetadata, dK as Behavior, dL as BehaviorBehaviorOneOf, dG as Benefit, dF as BenefitNotification, aw as BenefitType, eB as BenefitTypeWithLiterals, b0 as BookAfterStartPolicy, de as BookingForm, aY as BookingPolicy, dc as BookingPolicyWithServices, c8 as BulkActionMetadata, c4 as BulkCreateServicesRequest, co as BulkDeleteServicesByFilterRequest, cn as BulkDeleteServicesRequest, c5 as BulkServiceResult, cj as BulkUpdateServicesByFilterRequest, ch as BulkUpdateServicesRequest, aW as BusinessLocationOptions, dk as BusinessLocations, dX as BusinessSchedule, b6 as CancellationFeePolicy, b1 as CancellationPolicy, b7 as CancellationWindow, b8 as CancellationWindowFeeOneOf, dS as Categories, dD as Category, dC as CategoryNotification, av as CategoryNotificationEvent, eA as CategoryNotificationEventWithLiterals, e2 as ChangeContext, e3 as ChangeContextPayloadOneOf, at as CloneErrors, ey as CloneErrorsWithLiterals, dB as CloneServiceRequest, aS as CommonAddress, aT as CommonAddressStreetOneOf, eH as CommonSearchWithEntityContext, ad as CompletionRequirement, ei as CompletionRequirementWithLiterals, aQ as Conferencing, dg as ConnectedService, e0 as ConsentPolicy, dh as CountServicesRequest, bS as CreateAddOnGroupRequest, b$ as CreateServiceRequest, c0 as CreateServiceResponse, ay as CrudType, eD as CrudTypeWithLiterals, cu as CursorPaging, cQ as CursorPagingMetadata, db as CursorQueryPagingMethodOneOf, cz as CursorSearch, cA as CursorSearchPagingMethodOneOf, cx as Cursors, aX as CustomLocationOptions, dl as CustomLocations, bd as CustomOptions, aM as CustomPayment, dm as CustomerLocations, cJ as DateHistogramAggregation, d4 as DateHistogramResult, d6 as DateHistogramResults, aA as DayOfWeek, eF as DayOfWeekWithLiterals, bE as Delete, bT as DeleteAddOnGroupRequest, bU as DeleteAddOnGroupResponse, ck as DeleteServiceRequest, cm as DeleteServiceResponse, dy as DisablePricingPlansForServiceRequest, dI as Discount, dJ as DiscountDiscountOneOf, bI as DomainEvent, bJ as DomainEventBodyOneOf, bh as Duration, dE as Empty, dw as EnablePricingPlansForServiceRequest, bK as EntityCreatedEvent, bN as EntityDeletedEvent, bM as EntityUpdatedEvent, dH as EntryPass, ax as Event, e8 as EventMetadata, eC as EventWithLiterals, bt as ExtendedFields, c3 as FieldViolation, aK as FixedPayment, aG as Form, df as FormDetails, aH as FormSettings, dW as GeoCoordinates, cb as GetServiceAvailabilityConstraintsRequest, cc as GetServiceAvailabilityConstraintsResponse, c9 as GetServiceRequest, ca as GetServiceResponse, cN as GroupByAggregation, cO as GroupByAggregationKindOneOf, d5 as GroupByValueResults, dN as HtmlSitePublished, bQ as IdentificationData, bR as IdentificationDataIdOneOf, cE as IncludeMissingValuesOptions, be as IntakeFormPolicy, an as Interval, es as IntervalWithLiterals, dx as InvalidPricingPlan, as as InvalidSlugError, ex as InvalidSlugErrorWithLiterals, c6 as ItemMetadata, bv as Keyword, a_ as LimitEarlyBookingPolicy, a$ as LimitLateBookingPolicy, bW as ListAddOnGroupsByServiceIdRequest, dT as Locale, aR as LocationOptionsOneOf, a9 as LocationType, ee as LocationTypeWithLiterals, ci as MaskedService, aC as Media, aD as MediaItem, aE as MediaItemItemOneOf, bP as MessageEnvelope, ak as MissingValues, ep as MissingValuesWithLiterals, ap as Mode, eu as ModeWithLiterals, aL as Money, dv as MoveToNewLocationsOptions, d_ as Multilingual, cM as NestedAggregation, cK as NestedAggregationItem, cL as NestedAggregationItemKindOneOf, cU as NestedAggregationResults, cV as NestedAggregationResultsResultOneOf, am as NestedAggregationType, er as NestedAggregationTypeWithLiterals, d1 as NestedResultValue, d2 as NestedResultValueResultOneOf, d7 as NestedResults, cZ as NestedValueAggregationResult, aP as OnlineBooking, dO as Page, ct as Paging, cw as PagingMetadataV2, cl as ParticipantNotification, b4 as ParticipantsPolicy, aI as Payment, aO as PaymentOptions, aJ as PaymentRateOneOf, bA as PhoneCall, az as PlacementType, eE as PlacementTypeWithLiterals, aZ as PolicyDescription, dR as Properties, e4 as PropertiesChange, dd as QueryBookingFormsRequest, dp as QueryCategoriesFilter, dn as QueryCategoriesRequest, dj as QueryLocationsFilter, di as QueryLocationsRequest, da as QueryPoliciesRequest, dq as QueryServicesMultiLanguageRequest, dr as QueryServicesMultiLanguageResponse, cp as QueryServicesRequest, cv as QueryServicesResponse, cq as QueryV2, cr as QueryV2PagingMethodOneOf, cH as RangeAggregation, cT as RangeAggregationResult, cD as RangeBucket, c$ as RangeResult, cX as RangeResults, bc as RankingOptions, aa as RankingOrder, ef as RankingOrderWithLiterals, a7 as RateType, ec as RateTypeWithLiterals, bB as ReindexMessage, bC as ReindexMessageActionOneOf, dt as RemovedLocationSessionsAction, du as RemovedLocationSessionsActionActionOptionsOneOf, aq as RequestedFields, ev as RequestedFieldsWithLiterals, b2 as ReschedulePolicy, aB as ResolutionMethod, eG as ResolutionMethodWithLiterals, bm as ResourceGroup, bn as ResourceIds, bq as ResourceType, b5 as ResourcesPolicy, bL as RestoreInfo, d3 as Results, b9 as SaveCreditCardPolicy, cI as ScalarAggregation, d0 as ScalarResult, al as ScalarType, eq as ScalarTypeWithLiterals, bf as Schedule, bF as Schema, cP as SearchDetails, cy as SearchServicesRequest, bu as SeoSchema, cd as ServiceAvailabilityConstraints, bo as ServiceResource, bp as ServiceResourceSelectionOneOf, ea as ServiceSearchSpec, a6 as ServiceType, eb as ServiceTypeWithLiterals, e9 as ServicesQueryResult, bH as ServicesUrlsChanged, b_ as SetAddOnsForGroupRequest, bG as SetCustomSlugEvent, dz as SetCustomSlugRequest, ds as SetServiceLocationsRequest, bx as Settings, e6 as SiteCloned, e5 as SiteCreated, dQ as SitePropertiesEvent, dP as SitePropertiesNotification, br as Slug, aj as SortDirection, eo as SortDirectionWithLiterals, ah as SortOrder, em as SortOrderWithLiterals, ai as SortType, en as SortTypeWithLiterals, cs as Sorting, ab as SortingMethodType, eg as SortingMethodTypeWithLiterals, dZ as SpecialHourPeriod, ce as SplitInterval, bj as StaffMediaItem, bk as StaffMediaItemItemOneOf, bi as StaffMember, bl as StaffMemberDetails, ba as StaffSortingPolicy, bb as StaffSortingPolicyOptionsOneOf, au as Status, ez as StatusWithLiterals, aU as StreetAddress, d$ as SupportedLanguage, bw as Tag, bz as TaxableAddress, ae as TaxableAddressType, ej as TaxableAddressTypeWithLiterals, dY as TimePeriod, ac as Timing, eh as TimingWithLiterals, e1 as Translation, bs as URLs, bV as UpdateAddOnGroupRequest, cf as UpdateServiceRequest, cg as UpdateServiceResponse, bD as Upsert, dM as UserDomainInfoChangedEvent, aF as V2Category, ag as V2RequestedFields, el as V2RequestedFieldsWithLiterals, c1 as ValidateServiceRequest, c2 as ValidateServiceResponse, dA as ValidateSlugRequest, cF as ValueAggregation, cG as ValueAggregationOptionsOneOf, cS as ValueAggregationResult, c_ as ValueResult, cW as ValueResults, aN as VariedPayment, b3 as WaitlistPolicy, af as WebhookIdentityType, ek as WebhookIdentityTypeWithLiterals } from './bookings-services-v2-service-services.universal-BpWCxhni.js';
|
|
4
4
|
|
|
5
5
|
declare function createAddOnGroup$1(httpClient: HttpClient): CreateAddOnGroupSignature;
|
|
6
6
|
interface CreateAddOnGroupSignature {
|
|
@@ -81,8 +81,7 @@ interface CreateServiceSignature {
|
|
|
81
81
|
* ### Required fields
|
|
82
82
|
*
|
|
83
83
|
* When creating a service you must specify the following fields:
|
|
84
|
-
* - `type`
|
|
85
|
-
* ([SDK](https://dev.wix.com/docs/sdk/backend-modules/bookings/services/about-service-types) | [REST](https://dev.wix.com/docs/rest/business-solutions/bookings/services/services-v2/about-service-types)):
|
|
84
|
+
* - [`type`](https://dev.wix.com/docs/api-reference/business-solutions/bookings/services/services-v2/about-service-types):
|
|
86
85
|
* Whether it's an appointment-based service, class, or course.
|
|
87
86
|
* - `name`: Service name that's displayed to customers.
|
|
88
87
|
* - `onlineBooking`:
|
|
@@ -90,8 +89,7 @@ interface CreateServiceSignature {
|
|
|
90
89
|
* must manually confirm bookings, and whether customers can request to book an
|
|
91
90
|
* appointment time slot that already has a booking request awaiting business
|
|
92
91
|
* confirmation.
|
|
93
|
-
* - `payment`
|
|
94
|
-
* ([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)):
|
|
92
|
+
* - [`payment`](https://dev.wix.com/docs/api-reference/business-solutions/bookings/services/services-v2/about-service-payments):
|
|
95
93
|
* How customers can pay when signing up for the service.
|
|
96
94
|
* - `defaultCapacity`: The maximum number of customers that can book the service. Required for all service types. For appointment-based services, it must be `1`.
|
|
97
95
|
*
|
|
@@ -114,8 +112,7 @@ interface CreateServiceSignature {
|
|
|
114
112
|
* - Specify all supported session durations in `schedule.availabilityConstraints.sessionDurations`.
|
|
115
113
|
* - Note that Wix Bookings doesn't display these values to customers and
|
|
116
114
|
* ignores them in pricing and availability calculations. Instead session
|
|
117
|
-
* durations are retrieved from the relevant service variants
|
|
118
|
-
* ([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)).
|
|
115
|
+
* durations are retrieved from the relevant [service variants](https://dev.wix.com/docs/api-reference/business-solutions/bookings/services/service-options-and-variants/introduction).
|
|
119
116
|
* - It is mandatory to specify `schedule.availabilityConstraints.sessionDurations`,
|
|
120
117
|
* even though these values are ignored.
|
|
121
118
|
* @param - Service to create.
|
|
@@ -131,9 +128,7 @@ interface BulkCreateServicesSignature {
|
|
|
131
128
|
* Creates multiple services.
|
|
132
129
|
*
|
|
133
130
|
*
|
|
134
|
-
* See Create Service
|
|
135
|
-
* ([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))
|
|
136
|
-
* for more details.
|
|
131
|
+
* See [Create Service](https://dev.wix.com/docs/api-reference/business-solutions/bookings/services/services-v2/create-service) for more details.
|
|
137
132
|
* @param - Services to create.
|
|
138
133
|
*/
|
|
139
134
|
(services: Service[], options?: BulkCreateServicesOptions): Promise<NonNullablePaths<BulkCreateServicesResponse, `results` | `results.${number}.itemMetadata.originalIndex` | `results.${number}.itemMetadata.success` | `results.${number}.itemMetadata.error.code` | `results.${number}.itemMetadata.error.description` | `results.${number}.item.type` | `results.${number}.item.category._id` | `results.${number}.item.form._id` | `results.${number}.item.payment.rateType` | `results.${number}.item.payment.addOnOption` | `results.${number}.item.bookingPolicy._id` | `results.${number}.item.taxableAddress.taxableAddressType` | `bulkActionMetadata.totalSuccesses` | `bulkActionMetadata.totalFailures` | `bulkActionMetadata.undetailedFailures`, 6>>;
|
|
@@ -163,19 +158,17 @@ interface UpdateServiceSignature {
|
|
|
163
158
|
* Specify `schedule.availabilityConstraints.sessionDurations`
|
|
164
159
|
* only if you want to update it for appointment-based services without varied
|
|
165
160
|
* pricing based on session length. Don't specify `schedule.availabilityConstraints.sessionDurations`
|
|
166
|
-
* for all other appointment-based services, classes, or courses. See Create Service
|
|
167
|
-
* ([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))
|
|
168
|
-
* for more details.
|
|
161
|
+
* for all other appointment-based services, classes, or courses. See [Create Service](https://dev.wix.com/docs/api-reference/business-solutions/bookings/services/services-v2/create-service#session-durations) for more details.
|
|
169
162
|
*
|
|
170
163
|
* ### Service locations
|
|
171
164
|
*
|
|
172
|
-
* Don't
|
|
165
|
+
* Don't call Update Service to adjust service locations, call [Set Service Locations](https://dev.wix.com/docs/api-reference/business-solutions/bookings/services/services-v2/set-service-locations) instead.
|
|
173
166
|
*
|
|
174
167
|
* <!-- ### Add-on groups
|
|
175
168
|
*
|
|
176
169
|
* Don't use Update Service to modify service add-on groups. Use these dedicated methods instead:
|
|
177
|
-
* - **Update add-on group properties**: Call Update Add On Group
|
|
178
|
-
* - **Update add-on display order**: Call Set Add Ons For Group
|
|
170
|
+
* - **Update add-on group properties**: Call [Update Add On Group](https://dev.wix.com/docs/api-reference/business-solutions/bookings/services/services-v2/update-add-on-group).
|
|
171
|
+
* - **Update add-on display order**: Call [Set Add Ons For Group](https://dev.wix.com/docs/api-reference/business-solutions/bookings/services/services-v2/set-add-ons-for-group). -->
|
|
179
172
|
* @param - Service ID.
|
|
180
173
|
* @returns Updated service.
|
|
181
174
|
*/
|
|
@@ -189,8 +182,7 @@ interface BulkUpdateServicesSignature {
|
|
|
189
182
|
* Updates up to 100 services.
|
|
190
183
|
*
|
|
191
184
|
*
|
|
192
|
-
* See Update Service
|
|
193
|
-
* ([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))
|
|
185
|
+
* See [Update Service](https://dev.wix.com/docs/api-reference/business-solutions/bookings/services/services-v2/update-service)
|
|
194
186
|
* for more details.
|
|
195
187
|
*
|
|
196
188
|
* The call succeeds even if one or more individual services can't be updated.
|
|
@@ -204,13 +196,9 @@ interface BulkUpdateServicesByFilterSignature {
|
|
|
204
196
|
* Updates multiple services by filter.
|
|
205
197
|
*
|
|
206
198
|
*
|
|
207
|
-
* Refer to the supported filters article
|
|
208
|
-
* ([REST](https://dev.wix.com/docs/rest/business-solutions/bookings/services/services-v2/filtering-and-sorting#filtering))
|
|
209
|
-
* for more details.
|
|
199
|
+
* Refer to the [supported filters article](https://dev.wix.com/docs/api-reference/business-solutions/bookings/services/services-v2/filtering-and-sorting) for more details.
|
|
210
200
|
*
|
|
211
|
-
* See Update Service
|
|
212
|
-
* ([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))
|
|
213
|
-
* for more details about updating a service.
|
|
201
|
+
* See [Update Service](https://dev.wix.com/docs/api-reference/business-solutions/bookings/services/services-v2/update-service) for more details about updating a service.
|
|
214
202
|
*
|
|
215
203
|
* The call succeeds even if one or more individual services can't be updated.
|
|
216
204
|
* Information about failures is returned in `bulkActionMetadata`.
|
|
@@ -237,8 +225,7 @@ interface BulkDeleteServicesSignature {
|
|
|
237
225
|
* Deletes multiple services.
|
|
238
226
|
*
|
|
239
227
|
*
|
|
240
|
-
* See Delete Service
|
|
241
|
-
* ([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))
|
|
228
|
+
* See [Delete Service](https://dev.wix.com/docs/api-reference/business-solutions/bookings/services/services-v2/delete-service)
|
|
242
229
|
* for more details about deleting a service.
|
|
243
230
|
*
|
|
244
231
|
* The call succeeds even if one or more individual services can't be deleted.
|
|
@@ -253,15 +240,13 @@ interface BulkDeleteServicesByFilterSignature {
|
|
|
253
240
|
* Deletes multiple services by filter.
|
|
254
241
|
*
|
|
255
242
|
*
|
|
256
|
-
* See Delete Service
|
|
257
|
-
* ([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))
|
|
243
|
+
* See [Delete Service](https://dev.wix.com/docs/api-reference/business-solutions/bookings/services/services-v2/delete-service)
|
|
258
244
|
* for more details about deleting a service.
|
|
259
245
|
*
|
|
260
246
|
* The call succeeds even if one or more individual services can't be deleted.
|
|
261
247
|
* Information about failures is returned in `bulkActionMetadata`.
|
|
262
248
|
*
|
|
263
|
-
* Refer to the supported filters article
|
|
264
|
-
* ([REST](https://dev.wix.com/docs/rest/business-solutions/bookings/services/services-v2/filtering-and-sorting#filtering))
|
|
249
|
+
* Refer to the [supported filters article](https://dev.wix.com/docs/api-reference/business-solutions/bookings/services/services-v2/introduction#services-filtering-and-sorting)
|
|
265
250
|
* for more details.
|
|
266
251
|
*
|
|
267
252
|
* To learn about working with filters in general, see
|
|
@@ -311,27 +296,22 @@ interface SearchServicesSignature {
|
|
|
311
296
|
* When using filters for dates, you must use
|
|
312
297
|
* [UTC time](https://en.wikipedia.org/wiki/Coordinated_Universal_Time).
|
|
313
298
|
*
|
|
314
|
-
* Refer to the supported filters article
|
|
315
|
-
* ([REST](https://dev.wix.com/docs/rest/business-solutions/bookings/services/services-v2/filtering-and-sorting))
|
|
299
|
+
* Refer to the [supported filters](https://dev.wix.com/docs/api-reference/business-solutions/bookings/services/services-v2/filtering-and-sorting) article
|
|
316
300
|
* for a complete list of supported filters and sorting options.
|
|
317
301
|
*
|
|
318
302
|
* ### See also
|
|
319
303
|
*
|
|
320
|
-
* To learn about working with Search methods, see API Query Language
|
|
321
|
-
* ([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))
|
|
322
|
-
* and Sorting and Paging
|
|
323
|
-
* ([SDK](https://dev.wix.com/docs/sdk/articles/work-with-the-sdk/api-query-language#the-sort-array) | [REST](https://dev.wix.com/docs/rest/articles/getting-started/sorting-and-paging)).
|
|
304
|
+
* To learn about working with Search methods, see [API Query Language](https://dev.wix.com/docs/api-reference/articles/work-with-wix-apis/data-retrieval/about-the-wix-api-query-language) and [Sorting and Paging](https://dev.wix.com/docs/api-reference/articles/work-with-wix-apis/data-retrieval/about-sorting-and-paging).
|
|
324
305
|
* @param - Search criteria including filter, sort, aggregations, and paging options.
|
|
325
306
|
*
|
|
326
|
-
* Refer to the supported filters article
|
|
307
|
+
* Refer to the [supported filters article](https://dev.wix.com/docs/api-reference/business-solutions/bookings/services/services-v2/filtering-and-sorting) for complete filter and sorting options.
|
|
327
308
|
*/
|
|
328
309
|
(search: ServiceSearch): Promise<NonNullablePaths<SearchServicesResponse, `services` | `services.${number}.type` | `services.${number}.category._id` | `services.${number}.form._id` | `services.${number}.payment.rateType` | `services.${number}.payment.addOnOption` | `services.${number}.bookingPolicy._id` | `services.${number}.bookingPolicy.customPolicyDescription.enabled` | `services.${number}.bookingPolicy.customPolicyDescription.description` | `services.${number}.bookingPolicy.limitEarlyBookingPolicy.enabled` | `services.${number}.bookingPolicy.limitEarlyBookingPolicy.earliestBookingInMinutes` | `services.${number}.bookingPolicy.limitLateBookingPolicy.enabled` | `services.${number}.bookingPolicy.limitLateBookingPolicy.latestBookingInMinutes` | `services.${number}.bookingPolicy.bookAfterStartPolicy.enabled` | `services.${number}.bookingPolicy.cancellationPolicy.enabled` | `services.${number}.bookingPolicy.cancellationPolicy.limitLatestCancellation` | `services.${number}.bookingPolicy.cancellationPolicy.latestCancellationInMinutes` | `services.${number}.bookingPolicy.reschedulePolicy.enabled` | `services.${number}.bookingPolicy.reschedulePolicy.limitLatestReschedule` | `services.${number}.bookingPolicy.reschedulePolicy.latestRescheduleInMinutes` | `services.${number}.bookingPolicy.waitlistPolicy.enabled` | `services.${number}.bookingPolicy.waitlistPolicy.capacity` | `services.${number}.bookingPolicy.waitlistPolicy.reservationTimeInMinutes` | `services.${number}.bookingPolicy.participantsPolicy.maxParticipantsPerBooking` | `services.${number}.bookingPolicy.resourcesPolicy.enabled` | `services.${number}.bookingPolicy.resourcesPolicy.autoAssignAllowed` | `services.${number}.bookingPolicy.cancellationFeePolicy.enabled` | `services.${number}.bookingPolicy.saveCreditCardPolicy.enabled` | `services.${number}.schedule.availabilityConstraints.timeBetweenSessions` | `services.${number}.seoData.settings.preventAutoRedirect` | `services.${number}.taxableAddress.taxableAddressType` | `aggregationData.results` | `aggregationData.results.${number}.scalar.type` | `aggregationData.results.${number}.scalar.value` | `aggregationData.results.${number}.name` | `aggregationData.results.${number}.type` | `aggregationData.results.${number}.fieldPath`, 6>>;
|
|
329
310
|
}
|
|
330
311
|
declare function queryPolicies$1(httpClient: HttpClient): QueryPoliciesSignature;
|
|
331
312
|
interface QueryPoliciesSignature {
|
|
332
313
|
/**
|
|
333
|
-
* Retrieves a list of up to 100 booking policies
|
|
334
|
-
* ([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)),
|
|
314
|
+
* Retrieves a list of up to 100 [booking policies](https://dev.wix.com/docs/api-reference/business-solutions/bookings/policies/booking-policies/introduction),
|
|
335
315
|
* and information about the services that are connected to them,
|
|
336
316
|
* given the provided filtering, paging, and sorting.
|
|
337
317
|
*
|
|
@@ -344,8 +324,7 @@ interface QueryPoliciesSignature {
|
|
|
344
324
|
*
|
|
345
325
|
* ### Filters
|
|
346
326
|
*
|
|
347
|
-
* For a complete list of supported filters, refer to Booking Policies API: Supported Filters
|
|
348
|
-
* ([REST](https://dev.wix.com/docs/rest/business-solutions/bookings/policies/booking-policies/supported-filters)).
|
|
327
|
+
* For a complete list of supported filters, refer to Booking Policies API: [Supported Filters](https://dev.wix.com/docs/rest/business-solutions/bookings/policies/booking-policies/supported-filters).
|
|
349
328
|
*
|
|
350
329
|
* When using date filters, you must use
|
|
351
330
|
* [UTC time](https://en.wikipedia.org/wiki/Coordinated_Universal_Time).
|
|
@@ -354,8 +333,7 @@ interface QueryPoliciesSignature {
|
|
|
354
333
|
*
|
|
355
334
|
* If a booking policy is connected to more than 5 services, only a subset of
|
|
356
335
|
* those services is returned. The `bookingPolicies.totalServiceCount` values
|
|
357
|
-
* indicate the total number of services linked to each policy. You can call Search Services
|
|
358
|
-
* ([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))
|
|
336
|
+
* indicate the total number of services linked to each policy. You can call [Search Services](https://dev.wix.com/docs/api-reference/business-solutions/bookings/services/services-v2/search-services)
|
|
359
337
|
* and specify the relevant policy ID in the filter to retrieve all services
|
|
360
338
|
* connected to the booking policy.
|
|
361
339
|
*
|
|
@@ -374,8 +352,7 @@ interface QueryPoliciesSignature {
|
|
|
374
352
|
declare function queryBookingForms$1(httpClient: HttpClient): QueryBookingFormsSignature;
|
|
375
353
|
interface QueryBookingFormsSignature {
|
|
376
354
|
/**
|
|
377
|
-
* Retrieves a list of up to 100 booking forms
|
|
378
|
-
* ([SDK](https://dev.wix.com/docs/sdk/backend-modules/forms/introduction) | [REST](https://dev.wix.com/docs/rest/crm/forms/form-schemas/form-object)),
|
|
355
|
+
* Retrieves a list of up to 100 booking [forms](https://dev.wix.com/docs/api-reference/crm/forms/form-schemas/form-object),
|
|
379
356
|
* and information about the services that are connected to them,
|
|
380
357
|
* given the provided filtering, paging, and sorting.
|
|
381
358
|
*
|
|
@@ -389,8 +366,7 @@ interface QueryBookingFormsSignature {
|
|
|
389
366
|
*
|
|
390
367
|
* ### Filters
|
|
391
368
|
*
|
|
392
|
-
* For a complete list of supported filters, refer to Forms API: Supported Filters
|
|
393
|
-
* ([REST](https://dev.wix.com/docs/rest/crm/forms/form-schemas/form-object)).
|
|
369
|
+
* For a complete list of supported filters, refer to Forms API: [Supported Filters](https://dev.wix.com/docs/rest/crm/forms/form-schemas/form-object).
|
|
394
370
|
*
|
|
395
371
|
* When using date filters, you must use
|
|
396
372
|
* [UTC time](https://en.wikipedia.org/wiki/Coordinated_Universal_Time).
|
|
@@ -399,8 +375,7 @@ interface QueryBookingFormsSignature {
|
|
|
399
375
|
*
|
|
400
376
|
* If a booking policy is connected to more than 5 services, only a subset of
|
|
401
377
|
* these service IDs and names is returned. The `bookingForms.totalServiceCount`
|
|
402
|
-
* values indicate the total number of services linked to each form. You can call Query Services
|
|
403
|
-
* ([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))
|
|
378
|
+
* values indicate the total number of services linked to each form. You can call [Query Services](https://dev.wix.com/docs/api-reference/business-solutions/bookings/services/services-v2/query-services)
|
|
404
379
|
* and specify the relevant form ID in the filter to retrieve all services
|
|
405
380
|
* connected to the booking form.
|
|
406
381
|
*
|
|
@@ -441,8 +416,7 @@ interface CountServicesSignature {
|
|
|
441
416
|
declare function queryLocations$1(httpClient: HttpClient): QueryLocationsSignature;
|
|
442
417
|
interface QueryLocationsSignature {
|
|
443
418
|
/**
|
|
444
|
-
* Retrieves 3 separate lists of business, custom, and customer locations
|
|
445
|
-
* ([SDK](https://dev.wix.com/docs/sdk/backend-modules/business-tools/locations/introduction) | [REST](https://dev.wix.com/docs/rest/business-management/locations/introduction)),
|
|
419
|
+
* Retrieves 3 separate lists of business, custom, and customer [locations](https://dev.wix.com/docs/api-reference/business-management/locations/introduction),
|
|
446
420
|
* given the provided filtering, and whether each location is connected to at
|
|
447
421
|
* least one of the site's services.
|
|
448
422
|
*
|
|
@@ -471,7 +445,7 @@ interface QueryLocationsSignature {
|
|
|
471
445
|
declare function queryCategories$1(httpClient: HttpClient): QueryCategoriesSignature;
|
|
472
446
|
interface QueryCategoriesSignature {
|
|
473
447
|
/**
|
|
474
|
-
* Retrieves a list of service categories
|
|
448
|
+
* Retrieves a list of [service categories](https://dev.wix.com/docs/api-reference/business-solutions/bookings/services/categories-v2/introduction), given the provided filtering.
|
|
475
449
|
*
|
|
476
450
|
*
|
|
477
451
|
* ### Defaults
|
|
@@ -481,8 +455,7 @@ interface QueryCategoriesSignature {
|
|
|
481
455
|
*
|
|
482
456
|
* ### Filters
|
|
483
457
|
*
|
|
484
|
-
* For a complete list of supported filters, refer to the supported filters article
|
|
485
|
-
* ([REST](https://dev.wix.com/docs/rest/business-solutions/bookings/services/services-v2/filtering-and-sorting#filtering)).
|
|
458
|
+
* For a complete list of supported filters, refer to the [supported filters article](https://dev.wix.com/docs/api-reference/business-solutions/bookings/services/services-v2/filtering-and-sorting).
|
|
486
459
|
*
|
|
487
460
|
* When using date filters, you must use
|
|
488
461
|
* [UTC time](https://en.wikipedia.org/wiki/Coordinated_Universal_Time).
|
|
@@ -490,17 +463,15 @@ interface QueryCategoriesSignature {
|
|
|
490
463
|
* ### See also
|
|
491
464
|
*
|
|
492
465
|
* To learn about working with Query methods, see
|
|
493
|
-
* [API Query Language](https://dev.wix.com/docs/
|
|
494
|
-
* and [Sorting and Paging](https://dev.wix.com/docs/
|
|
466
|
+
* [API Query Language](https://dev.wix.com/docs/api-reference/articles/work-with-wix-apis/data-retrieval/about-the-wix-api-query-language)
|
|
467
|
+
* and [Sorting and Paging](https://dev.wix.com/docs/api-reference/articles/work-with-wix-apis/data-retrieval/about-sorting-and-paging).
|
|
495
468
|
*/
|
|
496
469
|
(options?: QueryCategoriesOptions): Promise<NonNullablePaths<QueryCategoriesResponse, `categories` | `categories.${number}._id`, 4>>;
|
|
497
470
|
}
|
|
498
471
|
declare function setServiceLocations$1(httpClient: HttpClient): SetServiceLocationsSignature;
|
|
499
472
|
interface SetServiceLocationsSignature {
|
|
500
473
|
/**
|
|
501
|
-
* Replaces the list of the locations
|
|
502
|
-
* ([SDK](https://dev.wix.com/docs/sdk/backend-modules/business-tools/locations/introduction) | [REST](https://dev.wix.com/docs/rest/business-management/locations/introduction))
|
|
503
|
-
* where the business offers the service.
|
|
474
|
+
* Replaces the list of the [locations](https://dev.wix.com/docs/api-reference/business-management/locations/introduction) where the business offers the service.
|
|
504
475
|
*
|
|
505
476
|
*
|
|
506
477
|
* ### Consequences for customers
|
|
@@ -534,9 +505,7 @@ interface SetServiceLocationsSignature {
|
|
|
534
505
|
* Depending on whether the new or updated location is a business or custom location,
|
|
535
506
|
* you need to specify different fields.
|
|
536
507
|
*
|
|
537
|
-
* - **Business location**: Specify the relevant location ID
|
|
538
|
-
* ([SDK](https://dev.wix.com/docs/sdk/backend-modules/business-tools/locations/introduction) | [REST](https://dev.wix.com/docs/rest/business-management/locations/introduction))
|
|
539
|
-
* in `locations.business.id`.
|
|
508
|
+
* - **Business location**: Specify the relevant [location ID](https://dev.wix.com/docs/api-reference/business-management/locations/introduction) in `locations.business.id`.
|
|
540
509
|
* - **Custom location**: Specify the complete address object as
|
|
541
510
|
* `locations.custom.address`.
|
|
542
511
|
*
|
|
@@ -554,19 +523,14 @@ interface SetServiceLocationsSignature {
|
|
|
554
523
|
declare function enablePricingPlansForService$1(httpClient: HttpClient): EnablePricingPlansForServiceSignature;
|
|
555
524
|
interface EnablePricingPlansForServiceSignature {
|
|
556
525
|
/**
|
|
557
|
-
* Adds a list of pricing plan IDs
|
|
558
|
-
* ([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))
|
|
559
|
-
* to a service's `payment.pricingPlanIds` array.
|
|
526
|
+
* Adds a list of [pricing plan IDs](https://dev.wix.com/docs/api-reference/business-solutions/pricing-plans/plans/plans-v3/introduction) to a service's `payment.pricingPlanIds` array.
|
|
560
527
|
*
|
|
561
528
|
*
|
|
562
529
|
* The call doesn't validate whether the service's `payment.options.pricingPlan`
|
|
563
530
|
* is set to `true`. If it's set to `false`, customers aren't able to pay
|
|
564
|
-
* for their bookings using pricing plans. You can call Update Service
|
|
565
|
-
* ([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))
|
|
566
|
-
* to change a service's supported payment methods.
|
|
531
|
+
* for their bookings using pricing plans. You can call [Update Service](https://dev.wix.com/docs/api-reference/business-solutions/bookings/services/services-v2/update-service) to change a service's supported payment methods.
|
|
567
532
|
* @param - ID of the service to update.
|
|
568
|
-
* @param - IDs of the pricing plans
|
|
569
|
-
* ([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))
|
|
533
|
+
* @param - IDs of the [pricing plans](https://dev.wix.com/docs/api-reference/business-solutions/pricing-plans/pricing-plans/plans/introduction)
|
|
570
534
|
* to add to the service's `payment.pricingPlanIds` array.
|
|
571
535
|
*/
|
|
572
536
|
(serviceId: string, pricingPlanIds: string[]): Promise<NonNullablePaths<EnablePricingPlansForServiceResponse, `service.type` | `service.media.items` | `service.category._id` | `service.form._id` | `service.payment.fixed.price.value` | `service.payment.fixed.price.currency` | `service.payment.rateType` | `service.payment.pricingPlanIds` | `service.payment.addOnOption` | `service.locations` | `service.locations.${number}.business._id` | `service.locations.${number}.business.name` | `service.locations.${number}.custom._id` | `service.locations.${number}._id` | `service.locations.${number}.type` | `service.bookingPolicy._id` | `service.bookingPolicy.customPolicyDescription.enabled` | `service.bookingPolicy.customPolicyDescription.description` | `service.bookingPolicy.limitEarlyBookingPolicy.enabled` | `service.bookingPolicy.limitEarlyBookingPolicy.earliestBookingInMinutes` | `service.bookingPolicy.limitLateBookingPolicy.enabled` | `service.bookingPolicy.limitLateBookingPolicy.latestBookingInMinutes` | `service.bookingPolicy.bookAfterStartPolicy.enabled` | `service.bookingPolicy.cancellationPolicy.enabled` | `service.bookingPolicy.cancellationPolicy.limitLatestCancellation` | `service.bookingPolicy.cancellationPolicy.latestCancellationInMinutes` | `service.bookingPolicy.reschedulePolicy.enabled` | `service.bookingPolicy.reschedulePolicy.limitLatestReschedule` | `service.bookingPolicy.reschedulePolicy.latestRescheduleInMinutes` | `service.bookingPolicy.waitlistPolicy.enabled` | `service.bookingPolicy.waitlistPolicy.capacity` | `service.bookingPolicy.waitlistPolicy.reservationTimeInMinutes` | `service.bookingPolicy.participantsPolicy.maxParticipantsPerBooking` | `service.bookingPolicy.resourcesPolicy.enabled` | `service.bookingPolicy.resourcesPolicy.autoAssignAllowed` | `service.bookingPolicy.cancellationFeePolicy.enabled` | `service.bookingPolicy.cancellationFeePolicy.cancellationWindows` | `service.bookingPolicy.cancellationFeePolicy.cancellationWindows.${number}.percentage` | `service.bookingPolicy.saveCreditCardPolicy.enabled` | `service.schedule.availabilityConstraints.durations` | `service.schedule.availabilityConstraints.durations.${number}.minutes` | `service.schedule.availabilityConstraints.sessionDurations` | `service.schedule.availabilityConstraints.timeBetweenSessions` | `service.staffMemberIds` | `service.serviceResources` | `service.supportedSlugs` | `service.supportedSlugs.${number}.name` | `service.seoData.tags` | `service.seoData.tags.${number}.type` | `service.seoData.tags.${number}.children` | `service.seoData.tags.${number}.custom` | `service.seoData.tags.${number}.disabled` | `service.seoData.settings.preventAutoRedirect` | `service.seoData.settings.keywords` | `service.seoData.settings.keywords.${number}.term` | `service.seoData.settings.keywords.${number}.isMain` | `service.taxableAddress.taxableAddressType`, 7> & {
|
|
@@ -576,9 +540,7 @@ interface EnablePricingPlansForServiceSignature {
|
|
|
576
540
|
declare function disablePricingPlansForService$1(httpClient: HttpClient): DisablePricingPlansForServiceSignature;
|
|
577
541
|
interface DisablePricingPlansForServiceSignature {
|
|
578
542
|
/**
|
|
579
|
-
* Removes a list of pricing plan IDs
|
|
580
|
-
* ([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))
|
|
581
|
-
* from a service's `payment.pricingPlanIds` array.
|
|
543
|
+
* Removes a list of [pricing plan IDs](https://dev.wix.com/docs/api-reference/business-solutions/pricing-plans/pricing-plans/plans/introduction) from a service's `payment.pricingPlanIds` array.
|
|
582
544
|
*
|
|
583
545
|
*
|
|
584
546
|
* If you remove all pricing plan IDs from `payment.pricingPlanIds` and the
|
|
@@ -635,15 +597,12 @@ interface CloneServiceSignature {
|
|
|
635
597
|
*
|
|
636
598
|
* #### Schedule
|
|
637
599
|
*
|
|
638
|
-
* Wix Bookings automatically creates a new active schedule
|
|
639
|
-
* ([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))
|
|
600
|
+
* Wix Bookings automatically creates a new active [schedule](https://dev.wix.com/docs/api-reference/business-management/calendar/schedules-v3/introduction)
|
|
640
601
|
* for the cloned service. If Wix Bookings can't create this schedule, the
|
|
641
602
|
* Clone Service call fails.
|
|
642
603
|
*
|
|
643
604
|
* - __For appointment-based services__: Future appointments aren't added to the
|
|
644
|
-
* cloned service's schedule. Use the Events API
|
|
645
|
-
* ([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))
|
|
646
|
-
* to add them as needed.
|
|
605
|
+
* cloned service's schedule. Use the [Events API](https://dev.wix.com/docs/api-reference/business-management/calendar/events-v3/introduction) to add them as needed.
|
|
647
606
|
* - __For classes and courses__: Future one-time events aren't added to the
|
|
648
607
|
* cloned service's schedule, while future recurring events are added
|
|
649
608
|
* asynchronously. The Clone Service call always succeeds, whether or not
|
|
@@ -651,25 +610,20 @@ interface CloneServiceSignature {
|
|
|
651
610
|
* If the response includes `RECURRING_EVENTS` in the `errors` array, it means the
|
|
652
611
|
* cloned service doesn't have future recurring events, even though the original
|
|
653
612
|
* service does. You can either delete the cloned service and try again or use
|
|
654
|
-
* the Events API
|
|
655
|
-
* ([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))
|
|
656
|
-
* to add missing events to the schedule.
|
|
613
|
+
* the [Events API](https://dev.wix.com/docs/api-reference/business-management/calendar/events-v3/introduction) to add missing events to the schedule.
|
|
657
614
|
*
|
|
658
615
|
* Wix Bookings never adds past events to the cloned service's schedule.
|
|
659
616
|
*
|
|
660
617
|
* #### Service options and variants
|
|
661
618
|
*
|
|
662
|
-
* If the original service has variants
|
|
663
|
-
* ([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)),
|
|
619
|
+
* If the original service has [variants](https://dev.wix.com/docs/api-reference/business-solutions/bookings/services/service-options-and-variants/introduction),
|
|
664
620
|
* they're cloned asynchronously. The Clone Service call always succeeds,
|
|
665
621
|
* regardless of whether variants were cloned.
|
|
666
622
|
*
|
|
667
623
|
* If the response includes `OPTIONS_AND_VARIANTS` in the `errors` array, the cloned
|
|
668
624
|
* service doesn't have variants, even though the original service does. You can
|
|
669
625
|
* delete the cloned service and call Clone Service again, or use the
|
|
670
|
-
*
|
|
671
|
-
* ([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))
|
|
672
|
-
* to add variants.
|
|
626
|
+
* [Service Options And Variants API](https://dev.wix.com/docs/api-reference/business-solutions/bookings/services/service-options-and-variants/introduction) to add variants.
|
|
673
627
|
*
|
|
674
628
|
* #### Booking form
|
|
675
629
|
*
|
|
@@ -678,11 +632,9 @@ interface CloneServiceSignature {
|
|
|
678
632
|
*
|
|
679
633
|
* #### Pricing plans
|
|
680
634
|
*
|
|
681
|
-
* If the original service's accepts payments via pricing plans
|
|
682
|
-
* ([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)),
|
|
635
|
+
* If the original service's accepts payments via [pricing plans](https://dev.wix.com/docs/api-reference/business-solutions/pricing-plans/introduction/),
|
|
683
636
|
* the cloned service's `payment.options.pricingPlan` is also set to `true`. To
|
|
684
|
-
* accept specific pricing plans, call Enable Pricing Plans For Service
|
|
685
|
-
* ([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)),
|
|
637
|
+
* accept specific pricing plans, call [Enable Pricing Plans For Service](https://dev.wix.com/docs/api-reference/business-solutions/bookings/services/services-v2/enable-pricing-plans-for-service),
|
|
686
638
|
* after cloning the service. If the original service accepts only
|
|
687
639
|
* pricing plan payments and you don't call Enable Pricing Plans For Service
|
|
688
640
|
* after cloning the service, customers will be unable to book the service.
|