@wix/auto_sdk_bookings_services 1.0.111 → 1.0.112
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-KorTqIDU.d.ts → bookings-services-v2-service-services.universal-BvheLzPB.d.ts} +1 -6
- package/build/cjs/index.d.ts +2 -7
- package/build/cjs/index.js.map +1 -1
- package/build/cjs/index.typings.d.ts +2 -2
- package/build/cjs/index.typings.js.map +1 -1
- package/build/cjs/meta.d.ts +2 -2
- package/build/cjs/meta.js.map +1 -1
- package/build/es/{bookings-services-v2-service-services.universal-KorTqIDU.d.mts → bookings-services-v2-service-services.universal-BvheLzPB.d.mts} +1 -6
- package/build/es/index.d.mts +2 -7
- package/build/es/index.mjs.map +1 -1
- package/build/es/index.typings.d.mts +2 -2
- package/build/es/index.typings.mjs.map +1 -1
- package/build/es/meta.d.mts +2 -2
- package/build/es/meta.mjs.map +1 -1
- package/build/internal/cjs/{bookings-services-v2-service-services.universal-KorTqIDU.d.ts → bookings-services-v2-service-services.universal-BvheLzPB.d.ts} +1 -6
- package/build/internal/cjs/index.d.ts +2 -7
- package/build/internal/cjs/index.js.map +1 -1
- package/build/internal/cjs/index.typings.d.ts +2 -2
- package/build/internal/cjs/index.typings.js.map +1 -1
- package/build/internal/cjs/meta.d.ts +2 -2
- package/build/internal/cjs/meta.js.map +1 -1
- package/build/internal/es/{bookings-services-v2-service-services.universal-KorTqIDU.d.mts → bookings-services-v2-service-services.universal-BvheLzPB.d.mts} +1 -6
- package/build/internal/es/index.d.mts +2 -7
- package/build/internal/es/index.mjs.map +1 -1
- package/build/internal/es/index.typings.d.mts +2 -2
- package/build/internal/es/index.typings.mjs.map +1 -1
- package/build/internal/es/meta.d.mts +2 -2
- package/build/internal/es/meta.mjs.map +1 -1
- package/package.json +2 -2
|
@@ -292,7 +292,7 @@ interface FixedPayment {
|
|
|
292
292
|
*/
|
|
293
293
|
interface Money {
|
|
294
294
|
/**
|
|
295
|
-
* Monetary amount. Decimal string with a period as a decimal separator.
|
|
295
|
+
* Monetary amount. Decimal string with a period as a decimal separator (e.g., 3.99). Optionally, a single (-), to indicate that the amount is negative.
|
|
296
296
|
* @format DECIMAL_VALUE
|
|
297
297
|
* @decimalValue options { gt:0, maxScale:2 }
|
|
298
298
|
*/
|
|
@@ -3792,7 +3792,6 @@ interface SetAddOnsForGroupOptions {
|
|
|
3792
3792
|
* - `payment`
|
|
3793
3793
|
* ([SDK](https://dev.wix.com/docs/sdk/backend-modules/bookings/services/about-service-payments) | [REST](https://dev.wix.com/docs/rest/business-solutions/bookings/services/services-v2/about-service-payments)):
|
|
3794
3794
|
* How customers can pay when signing up for the service.
|
|
3795
|
-
* - `defaultCapacity`: The maximum number of customers that can book the service. Required for all service types. For appointment-based services, it must be `1`.
|
|
3796
3795
|
*
|
|
3797
3796
|
* #### Session durations
|
|
3798
3797
|
*
|
|
@@ -3875,10 +3874,6 @@ declare function getService(serviceId: string): Promise<NonNullablePaths<Service
|
|
|
3875
3874
|
* for all other appointment-based services, classes, or courses. See Create Service
|
|
3876
3875
|
* ([SDK](https://dev.wix.com/docs/sdk/backend-modules/bookings/services/create-service#session-durations) | [REST](https://dev.wix.com/docs/rest/business-solutions/bookings/services/services-v2/create-service#session-durations))
|
|
3877
3876
|
* for more details.
|
|
3878
|
-
*
|
|
3879
|
-
* ## Service locations
|
|
3880
|
-
*
|
|
3881
|
-
* Don't call Update Service to adjust service locations, call Set Service Locations ([SDK](https://dev.wix.com/docs/sdk/backend-modules/bookings/services/set-service-locations) | [REST](https://dev.wix.com/docs/rest/business-solutions/bookings/services/services-v2/set-service-locations)) instead.
|
|
3882
3877
|
* @param _id - Service ID.
|
|
3883
3878
|
* @public
|
|
3884
3879
|
* @requiredField _id
|
package/build/es/index.d.mts
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-BvheLzPB.mjs';
|
|
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-BvheLzPB.mjs';
|
|
4
4
|
|
|
5
5
|
declare function createAddOnGroup$1(httpClient: HttpClient): CreateAddOnGroupSignature;
|
|
6
6
|
interface CreateAddOnGroupSignature {
|
|
@@ -76,7 +76,6 @@ interface CreateServiceSignature {
|
|
|
76
76
|
* - `payment`
|
|
77
77
|
* ([SDK](https://dev.wix.com/docs/sdk/backend-modules/bookings/services/about-service-payments) | [REST](https://dev.wix.com/docs/rest/business-solutions/bookings/services/services-v2/about-service-payments)):
|
|
78
78
|
* How customers can pay when signing up for the service.
|
|
79
|
-
* - `defaultCapacity`: The maximum number of customers that can book the service. Required for all service types. For appointment-based services, it must be `1`.
|
|
80
79
|
*
|
|
81
80
|
* #### Session durations
|
|
82
81
|
*
|
|
@@ -149,10 +148,6 @@ interface UpdateServiceSignature {
|
|
|
149
148
|
* for all other appointment-based services, classes, or courses. See Create Service
|
|
150
149
|
* ([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))
|
|
151
150
|
* for more details.
|
|
152
|
-
*
|
|
153
|
-
* ## Service locations
|
|
154
|
-
*
|
|
155
|
-
* Don't call Update Service to adjust service locations, call Set Service Locations ([SDK](https://dev.wix.com/docs/sdk/backend-modules/bookings/services/set-service-locations) | [REST](https://dev.wix.com/docs/rest/business-solutions/bookings/services/services-v2/set-service-locations)) instead.
|
|
156
151
|
* @param - Service ID.
|
|
157
152
|
* @returns Updated service.
|
|
158
153
|
*/
|