@wix/auto_sdk_bookings_services 1.0.322 → 1.0.324
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-DbYXx4Hq.d.ts → bookings-services-v2-service-services.universal-Cq1O-KLC.d.ts} +62 -12
- package/build/cjs/index.d.ts +12 -12
- 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 +45 -3
- package/build/cjs/meta.js.map +1 -1
- package/build/es/{bookings-services-v2-service-services.universal-DbYXx4Hq.d.mts → bookings-services-v2-service-services.universal-Cq1O-KLC.d.mts} +62 -12
- package/build/es/index.d.mts +12 -12
- 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 +45 -3
- package/build/es/meta.mjs.map +1 -1
- package/build/internal/cjs/{bookings-services-v2-service-services.universal-BiT248kA.d.ts → bookings-services-v2-service-services.universal-CsZcM96S.d.ts} +23 -31
- package/build/internal/cjs/index.d.ts +12 -12
- package/build/internal/cjs/index.typings.d.ts +2 -2
- package/build/internal/cjs/meta.d.ts +6 -22
- package/build/internal/es/{bookings-services-v2-service-services.universal-BiT248kA.d.mts → bookings-services-v2-service-services.universal-CsZcM96S.d.mts} +23 -31
- package/build/internal/es/index.d.mts +12 -12
- package/build/internal/es/index.typings.d.mts +2 -2
- package/build/internal/es/meta.d.mts +6 -22
- package/package.json +2 -2
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
import { HttpClient, NonNullablePaths, EventDefinition, MaybeContext, BuildRESTFunction, BuildEventDefinition } from '@wix/sdk-types';
|
|
2
|
-
import { S as Service, C as CreateServiceValidationErrors, B as BulkCreateServicesOptions, a as BulkCreateServicesResponse, b as BulkCreateServicesValidationErrors, G as GetServiceOptions, U as UpdateService, c as UpdateServiceValidationErrors, d as BulkUpdateServicesOptions, e as BulkUpdateServicesResponse, f as BulkUpdateServicesValidationErrors, g as BulkUpdateServicesByFilterOptions, h as BulkUpdateServicesByFilterResponse, D as DeleteServiceOptions, i as BulkDeleteServicesOptions, j as BulkDeleteServicesResponse, k as BulkDeleteServicesByFilterOptions, l as BulkDeleteServicesByFilterResponse, m as ServiceSearch, n as SearchServicesResponse, o as CursorQuery, Q as QueryPoliciesResponse, p as QueryBookingFormsOptions, q as QueryBookingFormsResponse, r as QueryBookingFormsApplicationErrors, s as CountServicesOptions, t as CountServicesResponse, u as QueryLocationsOptions, v as QueryLocationsResponse, w as QueryCategoriesOptions, x as QueryCategoriesResponse, y as SetServiceLocationsOptions, z as SetServiceLocationsResponse, E as EnablePricingPlansForServiceResponse, A as EnablePricingPlansForServiceApplicationErrors, F as DisablePricingPlansForServiceOptions, H as DisablePricingPlansForServiceResponse, I as DisablePricingPlansForServiceApplicationErrors, J as SetCustomSlugOptions, K as SetCustomSlugResponse, L as SetCustomSlugApplicationErrors, M as SetCustomSlugValidationErrors, V as ValidateSlugOptions, N as ValidateSlugResponse, O as CloneServiceResponse, P as AddOnGroup, R as CreateAddOnGroupOptions, T as CreateAddOnGroupResponse, W as CreateAddOnGroupApplicationErrors, X as DeleteAddOnGroupOptions, Y as DeleteAddOnGroupApplicationErrors, Z as UpdateAddOnGroupOptions, _ as UpdateAddOnGroupResponse, $ as UpdateAddOnGroupApplicationErrors, a0 as ListAddOnGroupsByServiceIdOptions, a1 as ListAddOnGroupsByServiceIdResponse, a2 as SetAddOnsForGroupOptions, a3 as SetAddOnsForGroupResponse, a4 as SetAddOnsForGroupApplicationErrors, a5 as ServiceCreatedEnvelope, a6 as ServiceDeletedEnvelope, a7 as ServiceUpdatedEnvelope, a8 as ServiceQuery, a9 as QueryServicesOptions, aa as typedQueryServices, ab as ServicesQueryBuilder } from './bookings-services-v2-service-services.universal-
|
|
3
|
-
export { d5 as AccountInfo, fl as AccountInfoMetadata, aR as Action, d1 as ActionEvent, g3 as ActionWithLiterals, aD as Actor, fR as ActorWithLiterals, ff as AddOn, fg as AddOnAddOnInfoOneOf, cg as AddOnDetails, fh as AddOnGroupDetail, ag as AddOnPaymentOptions, fu as AddOnPaymentOptionsWithLiterals, bg as AdditionalFee, cA as Address, eY as AddressHint, cD as AddressLocation, cB as AddressStreetOneOf, dJ as Aggregation, dZ as AggregationData, dK as AggregationKindOneOf, ei as AggregationResults, ej as AggregationResultsResultOneOf, eh as AggregationResultsScalarDateResult, e4 as AggregationResultsScalarResult, aO as AggregationType, g0 as AggregationTypeWithLiterals, de as ApplicationError, bP as AvailabilityConstraints, fj as BaseEventMetadata, bv as BookAfterStartPolicy, cU as BookedAddOn, cq as BookedEntity, cr as BookedEntityItemOneOf, ct as BookedResource, cy as BookedSchedule, cs as BookedSlot, co as Booking, cW as BookingAdditionalFee, eo as BookingForm, cp as BookingParticipantsInfoOneOf, br as BookingPolicy, em as BookingPolicyWithServices, cG as BookingSource, az as BookingStatus, fN as BookingStatusWithLiterals, df as BulkActionMetadata, db as BulkCreateServicesRequest, dw as BulkDeleteServicesByFilterRequest, dv as BulkDeleteServicesRequest, dc as BulkServiceResult, dr as BulkUpdateServicesByFilterRequest, dp as BulkUpdateServicesRequest, bp as BusinessLocationOptions, eu as BusinessLocations, e_ as BusinessSchedule, bB as CancellationFeePolicy, bw as CancellationPolicy, bC as CancellationWindow, bD as CancellationWindowFeeOneOf, eV as Categories, eN as Category, eM as CategoryNotification, f5 as ChangeContext, f6 as ChangeContextPayloadOneOf, ah as ChargeType, fv as ChargeTypeWithLiterals, aT as CloneErrors, g5 as CloneErrorsWithLiterals, eL as CloneServiceRequest, bl as CommonAddress, bo as CommonAddressLocation, bm as CommonAddressStreetOneOf, cI as CommonIdentificationData, cJ as CommonIdentificationDataIdOneOf, gc as CommonQueryWithEntityContext, gd as CommonSearchWithEntityContext, bn as CommonStreetAddress, an as CompletionRequirement, fB as CompletionRequirementWithLiterals, bi as Conferencing, eq as ConnectedService, f3 as ConsentPolicy, cz as ContactDetails, er as CountServicesRequest, fa as CreateAddOnGroupRequest, d6 as CreateServiceRequest, d7 as CreateServiceResponse, aW as CrudType, g8 as CrudTypeWithLiterals, dC as CursorPaging, dY as CursorPagingMetadata, el as CursorQueryPagingMethodOneOf, dH as CursorSearch, dI as CursorSearchPagingMethodOneOf, dF as Cursors, cF as CustomFormField, bq as CustomLocationOptions, ev as CustomLocations, bI as CustomOptions, ba as CustomPayment, ew as CustomerLocations, bU as DailyConfig, dR as DateHistogramAggregation, ed as DateHistogramResult, ef as DateHistogramResults, cQ as DateTimeRule, aY as DayOfWeek, ga as DayOfWeekWithLiterals, fb as DeleteAddOnGroupRequest, fc as DeleteAddOnGroupResponse, ds as DeleteServiceRequest, du as DeleteServiceResponse, b8 as DepositDetails, b9 as DepositDetailsValueOneOf, eI as DisablePricingPlansForServiceRequest, bf as DiscountInfo, cX as DomainEvent, cY as DomainEventBodyOneOf, cm as DummyRequest, cn as DummyResponse, cP as Duration, cS as DurationRange, ax as DurationUnitType, fL as DurationUnitTypeWithLiterals, eO as Empty, eF as EnablePricingPlansForServiceRequest, cZ as EntityCreatedEvent, d0 as EntityDeletedEvent, c$ as EntityUpdatedEvent, aV as Event, fk as EventMetadata, g7 as EventWithLiterals, cb as ExtendedFields, da as FieldViolation, af as FirstChargeDateType, ft as FirstChargeDateTypeWithLiterals, b6 as FixedPayment, cK as FlowControlSettings, b2 as Form, ep as FormDetails, b3 as FormSettings, ae as FrequencyType, fs as FrequencyTypeWithLiterals, bd as FullUpfrontPayment, eZ as GeoCoordinates, di as GetServiceAvailabilityConstraintsRequest, dj as GetServiceAvailabilityConstraintsResponse, dg as GetServiceRequest, dh as GetServiceResponse, dV as GroupByAggregation, dW as GroupByAggregationKindOneOf, ee as GroupByValueResults, bT as HourlyConfig, eQ as HtmlSitePublished, d3 as IdentificationData, d4 as IdentificationDataIdOneOf, aE as IdentityType, fS as IdentityTypeWithLiterals, dM as IncludeMissingValuesOptions, bJ as IntakeFormPolicy, aN as Interval, f$ as IntervalWithLiterals, eH as InvalidPricingPlan, aS as InvalidSlugError, g4 as InvalidSlugErrorWithLiterals, dd as ItemMetadata, cd as Keyword, bt as LimitEarlyBookingPolicy, bu as LimitLateBookingPolicy, bK as LimitRebookingPolicy, fe as ListAddOnGroupsByServiceIdRequest, eW as Locale, cu as Location, au as LocationType, ai as LocationTypeEnumLocationType, fw as LocationTypeEnumLocationTypeWithLiterals, fI as LocationTypeWithLiterals, dq as MaskedService, a_ as Media, a$ as MediaItem, b0 as MediaItemItemOneOf, d2 as MessageEnvelope, aK as MissingValues, fY as MissingValuesWithLiterals, aP as Mode, g1 as ModeWithLiterals, b7 as Money, eE as MoveToNewLocationsOptions, cT as MultiServiceBookingInfo, as as MultiServiceBookingType, fG as MultiServiceBookingTypeWithLiterals, f1 as Multilingual, cj as MultipleParticipants, dU as NestedAggregation, dS as NestedAggregationItem, dT as NestedAggregationItemKindOneOf, e0 as NestedAggregationResults, e1 as NestedAggregationResultsResultOneOf, aM as NestedAggregationType, f_ as NestedAggregationTypeWithLiterals, ea as NestedResultValue, eb as NestedResultValueResultOneOf, eg as NestedResults, e5 as NestedValueAggregationResult, bh as OnlineBooking, bX as OvernightTimes, eR as Page, dB as Paging, dE as PagingMetadataV2, cL as ParticipantChoices, cH as ParticipantNotification, bz as ParticipantsPolicy, cR as ParticipantsRange, b4 as Payment, be as PaymentOptions, b5 as PaymentRateOneOf, aA as PaymentStatus, fO as PaymentStatusWithLiterals, cv as PhoneCall, aX as PlacementType, g9 as PlacementTypeWithLiterals, aC as Platform, fQ as PlatformWithLiterals, bs as PolicyDescription, aj as PricingPlanOutcome, fx as PricingPlanOutcomeWithLiterals, bL as PricingPlanRefundPolicy, eG as PricingPlanSelection, eU as Properties, f7 as PropertiesChange, bN as ProrationPolicy, en as QueryBookingFormsRequest, ey as QueryCategoriesFilter, ex as QueryCategoriesRequest, et as QueryLocationsFilter, es as QueryLocationsRequest, ek as QueryPoliciesRequest, ez as QueryServicesMultiLanguageRequest, eA as QueryServicesMultiLanguageResponse, dx as QueryServicesRequest, dD as QueryServicesResponse, dy as QueryV2, dz as QueryV2PagingMethodOneOf, dP as RangeAggregation, d$ as RangeAggregationResult, dL as RangeBucket, e7 as RangeResult, e3 as RangeResults, bH as RankingOptions, ak as RankingOrder, fy as RankingOrderWithLiterals, ad as RateType, fr as RateTypeWithLiterals, bM as RefundWindow, eC as RemovedLocationSessionsAction, eD as RemovedLocationSessionsActionActionOptionsOneOf, aQ as RequestedFields, g2 as RequestedFieldsWithLiterals, aw as RequestedGender, cx as RequestedGenderValue, fK as RequestedGenderWithLiterals, bx as ReschedulePolicy, aZ as ResolutionMethod, gb as ResolutionMethodWithLiterals, c7 as ResourceDetails, c2 as ResourceGroup, c3 as ResourceIds, c8 as ResourceInfo, cw as ResourceSelection, at as ResourceTransparency, fH as ResourceTransparencyWithLiterals, c6 as ResourceType, bA as ResourcesPolicy, c_ as RestoreInfo, ec as Results, bE as SaveCreditCardPolicy, dQ as ScalarAggregation, e9 as ScalarDateResult, e8 as ScalarResult, aL as ScalarType, fZ as ScalarTypeWithLiterals, bO as Schedule, dX as SearchDetails, dG as SearchServicesRequest, aB as SelectedPaymentOption, fP as SelectedPaymentOptionWithLiterals, av as SelectionMethod, fJ as SelectionMethodWithLiterals, cc as SeoSchema, dk as ServiceAvailabilityConstraints, cN as ServiceChoice, cO as ServiceChoiceChoiceOneOf, cM as ServiceChoices, fn as ServiceQuerySpec, c4 as ServiceResource, c5 as ServiceResourceSelectionOneOf, fo as ServiceSearchSpec, ac as ServiceType, fq as ServiceTypeWithLiterals, fm as ServicesQueryResult, cl as ServicesUrlsChanged, fi as SetAddOnsForGroupRequest, ck as SetCustomSlugEvent, eJ as SetCustomSlugRequest, eB as SetServiceLocationsRequest, cf as Settings, f9 as SiteCloned, f8 as SiteCreated, eT as SitePropertiesEvent, eS as SitePropertiesNotification, c9 as Slug, aJ as SortDirection, fX as SortDirectionWithLiterals, aH as SortOrder, fV as SortOrderWithLiterals, aI as SortType, fW as SortTypeWithLiterals, dA as Sorting, al as SortingMethodType, fz as SortingMethodTypeWithLiterals, f0 as SpecialHourPeriod, dl as SplitInterval, b_ as StaffMediaItem, b$ as StaffMediaItemItemOneOf, bZ as StaffMember, c1 as StaffMemberDetails, bF as StaffSortingPolicy, bG as StaffSortingPolicyOptionsOneOf, aU as Status, g6 as StatusWithLiterals, cC as StreetAddress, cE as Subdivision, bc as SubscriptionPayment, f2 as SupportedLanguage, ce as Tag, ch as TaxableAddress, ar as TaxableAddressType, fF as TaxableAddressTypeWithLiterals, bV as TimeBoundaries, bW as TimeBoundariesOptionsOneOf, ap as TimeBoundariesType, fD as TimeBoundariesTypeWithLiterals, e$ as TimePeriod, am as Timing, fA as TimingWithLiterals, f4 as Translation, ca as URLs, ao as UnitType, fC as UnitTypeWithLiterals, fd as UpdateAddOnGroupRequest, dm as UpdateServiceRequest, dn as UpdateServiceResponse, eP as UserDomainInfoChangedEvent, b1 as V2Category, bQ as V2Duration, bR as V2DurationRange, bS as V2DurationRangeConfigOneOf, bj as V2Location, bk as V2LocationOptionsOneOf, dt as V2ParticipantNotification, ci as V2PhoneCall, aG as V2RequestedFields, fU as V2RequestedFieldsWithLiterals, eX as V4Address, d8 as ValidateServiceRequest, d9 as ValidateServiceResponse, eK as ValidateSlugRequest, dN as ValueAggregation, dO as ValueAggregationOptionsOneOf, d_ as ValueAggregationResult, e6 as ValueResult, e2 as ValueResults, ay as ValueType, fM as ValueTypeWithLiterals, bb as VariedPayment, by as WaitlistPolicy, aF as WebhookIdentityType, fT as WebhookIdentityTypeWithLiterals, bY as WorkingHours, c0 as WorkingHoursLocationCoverage, aq as WorkingHoursMode, fE as WorkingHoursModeWithLiterals, cV as ZonedDate, fp as utils } from './bookings-services-v2-service-services.universal-BiT248kA.js';
|
|
2
|
+
import { S as Service, C as CreateServiceValidationErrors, B as BulkCreateServicesOptions, a as BulkCreateServicesResponse, b as BulkCreateServicesValidationErrors, G as GetServiceOptions, U as UpdateService, c as UpdateServiceValidationErrors, d as BulkUpdateServicesOptions, e as BulkUpdateServicesResponse, f as BulkUpdateServicesValidationErrors, g as BulkUpdateServicesByFilterOptions, h as BulkUpdateServicesByFilterResponse, D as DeleteServiceOptions, i as BulkDeleteServicesOptions, j as BulkDeleteServicesResponse, k as BulkDeleteServicesByFilterOptions, l as BulkDeleteServicesByFilterResponse, m as ServiceSearch, n as SearchServicesResponse, o as CursorQuery, Q as QueryPoliciesResponse, p as QueryBookingFormsOptions, q as QueryBookingFormsResponse, r as QueryBookingFormsApplicationErrors, s as CountServicesOptions, t as CountServicesResponse, u as QueryLocationsOptions, v as QueryLocationsResponse, w as QueryCategoriesOptions, x as QueryCategoriesResponse, y as SetServiceLocationsOptions, z as SetServiceLocationsResponse, E as EnablePricingPlansForServiceResponse, A as EnablePricingPlansForServiceApplicationErrors, F as DisablePricingPlansForServiceOptions, H as DisablePricingPlansForServiceResponse, I as DisablePricingPlansForServiceApplicationErrors, J as SetCustomSlugOptions, K as SetCustomSlugResponse, L as SetCustomSlugApplicationErrors, M as SetCustomSlugValidationErrors, V as ValidateSlugOptions, N as ValidateSlugResponse, O as CloneServiceResponse, P as AddOnGroup, R as CreateAddOnGroupOptions, T as CreateAddOnGroupResponse, W as CreateAddOnGroupApplicationErrors, X as DeleteAddOnGroupOptions, Y as DeleteAddOnGroupApplicationErrors, Z as UpdateAddOnGroupOptions, _ as UpdateAddOnGroupResponse, $ as UpdateAddOnGroupApplicationErrors, a0 as ListAddOnGroupsByServiceIdOptions, a1 as ListAddOnGroupsByServiceIdResponse, a2 as SetAddOnsForGroupOptions, a3 as SetAddOnsForGroupResponse, a4 as SetAddOnsForGroupApplicationErrors, a5 as ServiceCreatedEnvelope, a6 as ServiceDeletedEnvelope, a7 as ServiceUpdatedEnvelope, a8 as ServiceQuery, a9 as QueryServicesOptions, aa as typedQueryServices, ab as ServicesQueryBuilder } from './bookings-services-v2-service-services.universal-CsZcM96S.js';
|
|
3
|
+
export { d5 as AccountInfo, fl as AccountInfoMetadata, aR as Action, d1 as ActionEvent, g3 as ActionWithLiterals, aD as Actor, fR as ActorWithLiterals, ff as AddOn, fg as AddOnAddOnInfoOneOf, cg as AddOnDetails, fh as AddOnGroupDetail, ag as AddOnPaymentOptions, fu as AddOnPaymentOptionsWithLiterals, bg as AdditionalFee, cA as Address, eY as AddressHint, cD as AddressLocation, cB as AddressStreetOneOf, dJ as Aggregation, dZ as AggregationData, dK as AggregationKindOneOf, ei as AggregationResults, ej as AggregationResultsResultOneOf, eh as AggregationResultsScalarDateResult, e4 as AggregationResultsScalarResult, aO as AggregationType, g0 as AggregationTypeWithLiterals, de as ApplicationError, bP as AvailabilityConstraints, fj as BaseEventMetadata, bv as BookAfterStartPolicy, cU as BookedAddOn, cq as BookedEntity, cr as BookedEntityItemOneOf, ct as BookedResource, cy as BookedSchedule, cs as BookedSlot, co as Booking, cW as BookingAdditionalFee, eo as BookingForm, cp as BookingParticipantsInfoOneOf, br as BookingPolicy, em as BookingPolicyWithServices, cG as BookingSource, az as BookingStatus, fN as BookingStatusWithLiterals, df as BulkActionMetadata, db as BulkCreateServicesRequest, dw as BulkDeleteServicesByFilterRequest, dv as BulkDeleteServicesRequest, dc as BulkServiceResult, dr as BulkUpdateServicesByFilterRequest, dp as BulkUpdateServicesRequest, bp as BusinessLocationOptions, eu as BusinessLocations, e_ as BusinessSchedule, bB as CancellationFeePolicy, bw as CancellationPolicy, bC as CancellationWindow, bD as CancellationWindowFeeOneOf, eV as Categories, eN as Category, eM as CategoryNotification, f5 as ChangeContext, f6 as ChangeContextPayloadOneOf, ah as ChargeType, fv as ChargeTypeWithLiterals, aT as CloneErrors, g5 as CloneErrorsWithLiterals, eL as CloneServiceRequest, bl as CommonAddress, bo as CommonAddressLocation, bm as CommonAddressStreetOneOf, cI as CommonIdentificationData, cJ as CommonIdentificationDataIdOneOf, gc as CommonQueryWithEntityContext, gd as CommonSearchWithEntityContext, bn as CommonStreetAddress, an as CompletionRequirement, fB as CompletionRequirementWithLiterals, bi as Conferencing, eq as ConnectedService, f3 as ConsentPolicy, cz as ContactDetails, er as CountServicesRequest, fa as CreateAddOnGroupRequest, d6 as CreateServiceRequest, d7 as CreateServiceResponse, aW as CrudType, g8 as CrudTypeWithLiterals, dC as CursorPaging, dY as CursorPagingMetadata, el as CursorQueryPagingMethodOneOf, dH as CursorSearch, dI as CursorSearchPagingMethodOneOf, dF as Cursors, cF as CustomFormField, bq as CustomLocationOptions, ev as CustomLocations, bI as CustomOptions, ba as CustomPayment, ew as CustomerLocations, bU as DailyConfig, dR as DateHistogramAggregation, ed as DateHistogramResult, ef as DateHistogramResults, cQ as DateTimeRule, aY as DayOfWeek, ga as DayOfWeekWithLiterals, fb as DeleteAddOnGroupRequest, fc as DeleteAddOnGroupResponse, ds as DeleteServiceRequest, du as DeleteServiceResponse, b8 as DepositDetails, b9 as DepositDetailsValueOneOf, eI as DisablePricingPlansForServiceRequest, bf as DiscountInfo, cX as DomainEvent, cY as DomainEventBodyOneOf, cm as DummyRequest, cn as DummyResponse, cP as Duration, cS as DurationRange, ax as DurationUnitType, fL as DurationUnitTypeWithLiterals, eO as Empty, eF as EnablePricingPlansForServiceRequest, cZ as EntityCreatedEvent, d0 as EntityDeletedEvent, c$ as EntityUpdatedEvent, aV as Event, fk as EventMetadata, g7 as EventWithLiterals, cb as ExtendedFields, da as FieldViolation, af as FirstChargeDateType, ft as FirstChargeDateTypeWithLiterals, b6 as FixedPayment, cK as FlowControlSettings, b2 as Form, ep as FormDetails, b3 as FormSettings, ae as FrequencyType, fs as FrequencyTypeWithLiterals, bd as FullUpfrontPayment, eZ as GeoCoordinates, di as GetServiceAvailabilityConstraintsRequest, dj as GetServiceAvailabilityConstraintsResponse, dg as GetServiceRequest, dh as GetServiceResponse, dV as GroupByAggregation, dW as GroupByAggregationKindOneOf, ee as GroupByValueResults, bT as HourlyConfig, eQ as HtmlSitePublished, d3 as IdentificationData, d4 as IdentificationDataIdOneOf, aE as IdentityType, fS as IdentityTypeWithLiterals, dM as IncludeMissingValuesOptions, bJ as IntakeFormPolicy, aN as Interval, f$ as IntervalWithLiterals, eH as InvalidPricingPlan, aS as InvalidSlugError, g4 as InvalidSlugErrorWithLiterals, dd as ItemMetadata, cd as Keyword, bt as LimitEarlyBookingPolicy, bu as LimitLateBookingPolicy, bK as LimitRebookingPolicy, fe as ListAddOnGroupsByServiceIdRequest, eW as Locale, cu as Location, au as LocationType, ai as LocationTypeEnumLocationType, fw as LocationTypeEnumLocationTypeWithLiterals, fI as LocationTypeWithLiterals, dq as MaskedService, a_ as Media, a$ as MediaItem, b0 as MediaItemItemOneOf, d2 as MessageEnvelope, aK as MissingValues, fY as MissingValuesWithLiterals, aP as Mode, g1 as ModeWithLiterals, b7 as Money, eE as MoveToNewLocationsOptions, cT as MultiServiceBookingInfo, as as MultiServiceBookingType, fG as MultiServiceBookingTypeWithLiterals, f1 as Multilingual, cj as MultipleParticipants, dU as NestedAggregation, dS as NestedAggregationItem, dT as NestedAggregationItemKindOneOf, e0 as NestedAggregationResults, e1 as NestedAggregationResultsResultOneOf, aM as NestedAggregationType, f_ as NestedAggregationTypeWithLiterals, ea as NestedResultValue, eb as NestedResultValueResultOneOf, eg as NestedResults, e5 as NestedValueAggregationResult, bh as OnlineBooking, bX as OvernightTimes, eR as Page, dB as Paging, dE as PagingMetadataV2, cL as ParticipantChoices, cH as ParticipantNotification, bz as ParticipantsPolicy, cR as ParticipantsRange, b4 as Payment, be as PaymentOptions, b5 as PaymentRateOneOf, aA as PaymentStatus, fO as PaymentStatusWithLiterals, cv as PhoneCall, aX as PlacementType, g9 as PlacementTypeWithLiterals, aC as Platform, fQ as PlatformWithLiterals, bs as PolicyDescription, aj as PricingPlanOutcome, fx as PricingPlanOutcomeWithLiterals, bL as PricingPlanRefundPolicy, eG as PricingPlanSelection, eU as Properties, f7 as PropertiesChange, bN as ProrationPolicy, en as QueryBookingFormsRequest, ey as QueryCategoriesFilter, ex as QueryCategoriesRequest, et as QueryLocationsFilter, es as QueryLocationsRequest, ek as QueryPoliciesRequest, ez as QueryServicesMultiLanguageRequest, eA as QueryServicesMultiLanguageResponse, dx as QueryServicesRequest, dD as QueryServicesResponse, dy as QueryV2, dz as QueryV2PagingMethodOneOf, dP as RangeAggregation, d$ as RangeAggregationResult, dL as RangeBucket, e7 as RangeResult, e3 as RangeResults, bH as RankingOptions, ak as RankingOrder, fy as RankingOrderWithLiterals, ad as RateType, fr as RateTypeWithLiterals, bM as RefundWindow, eC as RemovedLocationSessionsAction, eD as RemovedLocationSessionsActionActionOptionsOneOf, aQ as RequestedFields, g2 as RequestedFieldsWithLiterals, aw as RequestedGender, cx as RequestedGenderValue, fK as RequestedGenderWithLiterals, bx as ReschedulePolicy, aZ as ResolutionMethod, gb as ResolutionMethodWithLiterals, c7 as ResourceDetails, c2 as ResourceGroup, c3 as ResourceIds, c8 as ResourceInfo, cw as ResourceSelection, at as ResourceTransparency, fH as ResourceTransparencyWithLiterals, c6 as ResourceType, bA as ResourcesPolicy, c_ as RestoreInfo, ec as Results, bE as SaveCreditCardPolicy, dQ as ScalarAggregation, e9 as ScalarDateResult, e8 as ScalarResult, aL as ScalarType, fZ as ScalarTypeWithLiterals, bO as Schedule, dX as SearchDetails, dG as SearchServicesRequest, aB as SelectedPaymentOption, fP as SelectedPaymentOptionWithLiterals, av as SelectionMethod, fJ as SelectionMethodWithLiterals, cc as SeoSchema, dk as ServiceAvailabilityConstraints, cN as ServiceChoice, cO as ServiceChoiceChoiceOneOf, cM as ServiceChoices, fn as ServiceQuerySpec, c4 as ServiceResource, c5 as ServiceResourceSelectionOneOf, fo as ServiceSearchSpec, ac as ServiceType, fq as ServiceTypeWithLiterals, fm as ServicesQueryResult, cl as ServicesUrlsChanged, fi as SetAddOnsForGroupRequest, ck as SetCustomSlugEvent, eJ as SetCustomSlugRequest, eB as SetServiceLocationsRequest, cf as Settings, f9 as SiteCloned, f8 as SiteCreated, eT as SitePropertiesEvent, eS as SitePropertiesNotification, c9 as Slug, aJ as SortDirection, fX as SortDirectionWithLiterals, aH as SortOrder, fV as SortOrderWithLiterals, aI as SortType, fW as SortTypeWithLiterals, dA as Sorting, al as SortingMethodType, fz as SortingMethodTypeWithLiterals, f0 as SpecialHourPeriod, dl as SplitInterval, b_ as StaffMediaItem, b$ as StaffMediaItemItemOneOf, bZ as StaffMember, c1 as StaffMemberDetails, bF as StaffSortingPolicy, bG as StaffSortingPolicyOptionsOneOf, aU as Status, g6 as StatusWithLiterals, cC as StreetAddress, cE as Subdivision, bc as SubscriptionPayment, f2 as SupportedLanguage, ce as Tag, ch as TaxableAddress, ar as TaxableAddressType, fF as TaxableAddressTypeWithLiterals, bV as TimeBoundaries, bW as TimeBoundariesOptionsOneOf, ap as TimeBoundariesType, fD as TimeBoundariesTypeWithLiterals, e$ as TimePeriod, am as Timing, fA as TimingWithLiterals, f4 as Translation, ca as URLs, ao as UnitType, fC as UnitTypeWithLiterals, fd as UpdateAddOnGroupRequest, dm as UpdateServiceRequest, dn as UpdateServiceResponse, eP as UserDomainInfoChangedEvent, b1 as V2Category, bQ as V2Duration, bR as V2DurationRange, bS as V2DurationRangeConfigOneOf, bj as V2Location, bk as V2LocationOptionsOneOf, dt as V2ParticipantNotification, ci as V2PhoneCall, aG as V2RequestedFields, fU as V2RequestedFieldsWithLiterals, eX as V4Address, d8 as ValidateServiceRequest, d9 as ValidateServiceResponse, eK as ValidateSlugRequest, dN as ValueAggregation, dO as ValueAggregationOptionsOneOf, d_ as ValueAggregationResult, e6 as ValueResult, e2 as ValueResults, ay as ValueType, fM as ValueTypeWithLiterals, bb as VariedPayment, by as WaitlistPolicy, aF as WebhookIdentityType, fT as WebhookIdentityTypeWithLiterals, bY as WorkingHours, c0 as WorkingHoursLocationCoverage, aq as WorkingHoursMode, fE as WorkingHoursModeWithLiterals, cV as ZonedDate, fp as utils } from './bookings-services-v2-service-services.universal-CsZcM96S.js';
|
|
4
4
|
|
|
5
5
|
declare function createService$1(httpClient: HttpClient): CreateServiceSignature;
|
|
6
6
|
interface CreateServiceSignature {
|
|
@@ -113,7 +113,7 @@ interface CreateServiceSignature {
|
|
|
113
113
|
* @param - Service to create.
|
|
114
114
|
* @returns Created service.
|
|
115
115
|
*/
|
|
116
|
-
(service: Service): Promise<NonNullablePaths<Service, `type` | `media.items` | `category._id` | `form._id` | `payment.fixed.price.value` | `payment.fixed.price.currency` | `payment.subscription.frequency` | `payment.subscription.firstChargeDate` | `payment.rateType` | `payment.pricingPlanIds` | `payment.addOnOption` | `payment.discountInfo.discountName` | `locations` | `locations.${number}.business._id` | `locations.${number}.business.name` | `locations.${number}.custom._id` | `locations.${number}._id` | `locations.${number}.type` | `bookingPolicy._id` | `bookingPolicy.customPolicyDescription.enabled` | `bookingPolicy.customPolicyDescription.description` | `bookingPolicy.limitEarlyBookingPolicy.enabled` | `bookingPolicy.limitEarlyBookingPolicy.earliestBookingInMinutes` | `bookingPolicy.limitLateBookingPolicy.enabled` | `bookingPolicy.limitLateBookingPolicy.latestBookingInMinutes` | `bookingPolicy.bookAfterStartPolicy.enabled` | `bookingPolicy.cancellationPolicy.enabled` | `bookingPolicy.cancellationPolicy.limitLatestCancellation` | `bookingPolicy.cancellationPolicy.latestCancellationInMinutes` | `bookingPolicy.reschedulePolicy.enabled` | `bookingPolicy.reschedulePolicy.limitLatestReschedule` | `bookingPolicy.reschedulePolicy.latestRescheduleInMinutes` | `bookingPolicy.waitlistPolicy.enabled` | `bookingPolicy.waitlistPolicy.capacity` | `bookingPolicy.waitlistPolicy.reservationTimeInMinutes` | `bookingPolicy.participantsPolicy.maxParticipantsPerBooking` | `bookingPolicy.resourcesPolicy.enabled` | `bookingPolicy.resourcesPolicy.autoAssignAllowed` | `bookingPolicy.cancellationFeePolicy.enabled` | `bookingPolicy.cancellationFeePolicy.cancellationWindows` | `bookingPolicy.cancellationFeePolicy.cancellationWindows.${number}.percentage` | `bookingPolicy.saveCreditCardPolicy.enabled` | `bookingPolicy.intakeFormPolicy.enabled` | `bookingPolicy.intakeFormPolicy.timing` | `bookingPolicy.intakeFormPolicy.completionRequirement` | `schedule.availabilityConstraints.durations` | `schedule.availabilityConstraints.durations.${number}.minutes` | `schedule.availabilityConstraints.sessionDurations` | `schedule.availabilityConstraints.timeBetweenSessions` | `schedule.availabilityConstraints.durationRange.hourOptions.minDurationInMinutes` | `schedule.availabilityConstraints.durationRange.hourOptions.maxDurationInMinutes` | `schedule.availabilityConstraints.durationRange.dayOptions.minDurationInDays` | `schedule.availabilityConstraints.durationRange.dayOptions.maxDurationInDays` | `schedule.availabilityConstraints.durationRange.unitType` | `staffMemberIds` | `staffMemberDetails.staffMembers` | `staffMemberDetails.staffMembers.${number}.staffMemberId` | `serviceResources` | `supportedSlugs` | `supportedSlugs.${number}.name` | `seoData.tags` | `seoData.tags.${number}.type` | `seoData.tags.${number}.children` | `seoData.tags.${number}.custom` | `seoData.tags.${number}.disabled` | `seoData.settings.preventAutoRedirect` | `seoData.settings.keywords` | `seoData.settings.keywords.${number}.term` | `seoData.settings.keywords.${number}.isMain` | `addOnGroups` | `addOnDetails` | `taxableAddress.taxableAddressType`,
|
|
116
|
+
(service: NonNullablePaths<Service, `schedule.availabilityConstraints.durationRange.dayOptions.timeBoundaries.overnightTimes.checkInTime` | `schedule.availabilityConstraints.durationRange.dayOptions.timeBoundaries.overnightTimes.checkOutTime`, 6>): Promise<NonNullablePaths<Service, `type` | `media.items` | `category._id` | `form._id` | `payment.fixed.price.value` | `payment.fixed.price.currency` | `payment.subscription.frequency` | `payment.subscription.firstChargeDate` | `payment.rateType` | `payment.pricingPlanIds` | `payment.addOnOption` | `payment.discountInfo.discountName` | `payment.additionalFees` | `payment.additionalFees.${number}._id` | `payment.additionalFees.${number}.name` | `payment.additionalFees.${number}.chargeType` | `locations` | `locations.${number}.business._id` | `locations.${number}.business.name` | `locations.${number}.custom._id` | `locations.${number}._id` | `locations.${number}.type` | `bookingPolicy._id` | `bookingPolicy.customPolicyDescription.enabled` | `bookingPolicy.customPolicyDescription.description` | `bookingPolicy.limitEarlyBookingPolicy.enabled` | `bookingPolicy.limitEarlyBookingPolicy.earliestBookingInMinutes` | `bookingPolicy.limitLateBookingPolicy.enabled` | `bookingPolicy.limitLateBookingPolicy.latestBookingInMinutes` | `bookingPolicy.bookAfterStartPolicy.enabled` | `bookingPolicy.cancellationPolicy.enabled` | `bookingPolicy.cancellationPolicy.limitLatestCancellation` | `bookingPolicy.cancellationPolicy.latestCancellationInMinutes` | `bookingPolicy.reschedulePolicy.enabled` | `bookingPolicy.reschedulePolicy.limitLatestReschedule` | `bookingPolicy.reschedulePolicy.latestRescheduleInMinutes` | `bookingPolicy.waitlistPolicy.enabled` | `bookingPolicy.waitlistPolicy.capacity` | `bookingPolicy.waitlistPolicy.reservationTimeInMinutes` | `bookingPolicy.participantsPolicy.maxParticipantsPerBooking` | `bookingPolicy.resourcesPolicy.enabled` | `bookingPolicy.resourcesPolicy.autoAssignAllowed` | `bookingPolicy.cancellationFeePolicy.enabled` | `bookingPolicy.cancellationFeePolicy.cancellationWindows` | `bookingPolicy.cancellationFeePolicy.cancellationWindows.${number}.percentage` | `bookingPolicy.saveCreditCardPolicy.enabled` | `bookingPolicy.intakeFormPolicy.enabled` | `bookingPolicy.intakeFormPolicy.timing` | `bookingPolicy.intakeFormPolicy.completionRequirement` | `schedule.availabilityConstraints.durations` | `schedule.availabilityConstraints.durations.${number}.minutes` | `schedule.availabilityConstraints.sessionDurations` | `schedule.availabilityConstraints.timeBetweenSessions` | `schedule.availabilityConstraints.durationRange.hourOptions.minDurationInMinutes` | `schedule.availabilityConstraints.durationRange.hourOptions.maxDurationInMinutes` | `schedule.availabilityConstraints.durationRange.dayOptions.minDurationInDays` | `schedule.availabilityConstraints.durationRange.dayOptions.maxDurationInDays` | `schedule.availabilityConstraints.durationRange.dayOptions.timeBoundaries.overnightTimes.checkInTime` | `schedule.availabilityConstraints.durationRange.dayOptions.timeBoundaries.overnightTimes.checkOutTime` | `schedule.availabilityConstraints.durationRange.dayOptions.timeBoundaries.type` | `schedule.availabilityConstraints.durationRange.unitType` | `staffMemberIds` | `staffMemberDetails.staffMembers` | `staffMemberDetails.staffMembers.${number}.staffMemberId` | `serviceResources` | `supportedSlugs` | `supportedSlugs.${number}.name` | `seoData.tags` | `seoData.tags.${number}.type` | `seoData.tags.${number}.children` | `seoData.tags.${number}.custom` | `seoData.tags.${number}.disabled` | `seoData.settings.preventAutoRedirect` | `seoData.settings.keywords` | `seoData.settings.keywords.${number}.term` | `seoData.settings.keywords.${number}.isMain` | `addOnGroups` | `addOnDetails` | `taxableAddress.taxableAddressType`, 6> & {
|
|
117
117
|
__validationErrorsType?: CreateServiceValidationErrors;
|
|
118
118
|
}>;
|
|
119
119
|
}
|
|
@@ -126,7 +126,7 @@ interface BulkCreateServicesSignature {
|
|
|
126
126
|
* See [Create Service](https://dev.wix.com/docs/api-reference/business-solutions/bookings/services/services-v2/create-service) for more details.
|
|
127
127
|
* @param - Services to create.
|
|
128
128
|
*/
|
|
129
|
-
(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`, 4> & {
|
|
129
|
+
(services: NonNullablePaths<Service, `schedule.availabilityConstraints.durationRange.dayOptions.timeBoundaries.overnightTimes.checkInTime` | `schedule.availabilityConstraints.durationRange.dayOptions.timeBoundaries.overnightTimes.checkOutTime`, 6>[], 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`, 4> & {
|
|
130
130
|
__validationErrorsType?: BulkCreateServicesValidationErrors;
|
|
131
131
|
}>;
|
|
132
132
|
}
|
|
@@ -151,7 +151,7 @@ interface GetServiceSignature {
|
|
|
151
151
|
* @param - ID of the service to retrieve.
|
|
152
152
|
* @returns Retrieved service.
|
|
153
153
|
*/
|
|
154
|
-
(serviceId: string, options?: GetServiceOptions): Promise<NonNullablePaths<Service, `type` | `media.items` | `category._id` | `form._id` | `payment.fixed.price.value` | `payment.fixed.price.currency` | `payment.subscription.frequency` | `payment.subscription.firstChargeDate` | `payment.rateType` | `payment.pricingPlanIds` | `payment.addOnOption` | `payment.discountInfo.discountName` | `locations` | `locations.${number}.business._id` | `locations.${number}.business.name` | `locations.${number}.custom._id` | `locations.${number}._id` | `locations.${number}.type` | `bookingPolicy._id` | `bookingPolicy.customPolicyDescription.enabled` | `bookingPolicy.customPolicyDescription.description` | `bookingPolicy.limitEarlyBookingPolicy.enabled` | `bookingPolicy.limitEarlyBookingPolicy.earliestBookingInMinutes` | `bookingPolicy.limitLateBookingPolicy.enabled` | `bookingPolicy.limitLateBookingPolicy.latestBookingInMinutes` | `bookingPolicy.bookAfterStartPolicy.enabled` | `bookingPolicy.cancellationPolicy.enabled` | `bookingPolicy.cancellationPolicy.limitLatestCancellation` | `bookingPolicy.cancellationPolicy.latestCancellationInMinutes` | `bookingPolicy.reschedulePolicy.enabled` | `bookingPolicy.reschedulePolicy.limitLatestReschedule` | `bookingPolicy.reschedulePolicy.latestRescheduleInMinutes` | `bookingPolicy.waitlistPolicy.enabled` | `bookingPolicy.waitlistPolicy.capacity` | `bookingPolicy.waitlistPolicy.reservationTimeInMinutes` | `bookingPolicy.participantsPolicy.maxParticipantsPerBooking` | `bookingPolicy.resourcesPolicy.enabled` | `bookingPolicy.resourcesPolicy.autoAssignAllowed` | `bookingPolicy.cancellationFeePolicy.enabled` | `bookingPolicy.cancellationFeePolicy.cancellationWindows` | `bookingPolicy.cancellationFeePolicy.cancellationWindows.${number}.percentage` | `bookingPolicy.saveCreditCardPolicy.enabled` | `bookingPolicy.intakeFormPolicy.enabled` | `bookingPolicy.intakeFormPolicy.timing` | `bookingPolicy.intakeFormPolicy.completionRequirement` | `schedule.availabilityConstraints.durations` | `schedule.availabilityConstraints.durations.${number}.minutes` | `schedule.availabilityConstraints.sessionDurations` | `schedule.availabilityConstraints.timeBetweenSessions` | `schedule.availabilityConstraints.durationRange.hourOptions.minDurationInMinutes` | `schedule.availabilityConstraints.durationRange.hourOptions.maxDurationInMinutes` | `schedule.availabilityConstraints.durationRange.dayOptions.minDurationInDays` | `schedule.availabilityConstraints.durationRange.dayOptions.maxDurationInDays` | `schedule.availabilityConstraints.durationRange.unitType` | `staffMemberIds` | `staffMemberDetails.staffMembers` | `staffMemberDetails.staffMembers.${number}.staffMemberId` | `serviceResources` | `supportedSlugs` | `supportedSlugs.${number}.name` | `seoData.tags` | `seoData.tags.${number}.type` | `seoData.tags.${number}.children` | `seoData.tags.${number}.custom` | `seoData.tags.${number}.disabled` | `seoData.settings.preventAutoRedirect` | `seoData.settings.keywords` | `seoData.settings.keywords.${number}.term` | `seoData.settings.keywords.${number}.isMain` | `addOnGroups` | `addOnDetails` | `taxableAddress.taxableAddressType`,
|
|
154
|
+
(serviceId: string, options?: GetServiceOptions): Promise<NonNullablePaths<Service, `type` | `media.items` | `category._id` | `form._id` | `payment.fixed.price.value` | `payment.fixed.price.currency` | `payment.subscription.frequency` | `payment.subscription.firstChargeDate` | `payment.rateType` | `payment.pricingPlanIds` | `payment.addOnOption` | `payment.discountInfo.discountName` | `payment.additionalFees` | `payment.additionalFees.${number}._id` | `payment.additionalFees.${number}.name` | `payment.additionalFees.${number}.chargeType` | `locations` | `locations.${number}.business._id` | `locations.${number}.business.name` | `locations.${number}.custom._id` | `locations.${number}._id` | `locations.${number}.type` | `bookingPolicy._id` | `bookingPolicy.customPolicyDescription.enabled` | `bookingPolicy.customPolicyDescription.description` | `bookingPolicy.limitEarlyBookingPolicy.enabled` | `bookingPolicy.limitEarlyBookingPolicy.earliestBookingInMinutes` | `bookingPolicy.limitLateBookingPolicy.enabled` | `bookingPolicy.limitLateBookingPolicy.latestBookingInMinutes` | `bookingPolicy.bookAfterStartPolicy.enabled` | `bookingPolicy.cancellationPolicy.enabled` | `bookingPolicy.cancellationPolicy.limitLatestCancellation` | `bookingPolicy.cancellationPolicy.latestCancellationInMinutes` | `bookingPolicy.reschedulePolicy.enabled` | `bookingPolicy.reschedulePolicy.limitLatestReschedule` | `bookingPolicy.reschedulePolicy.latestRescheduleInMinutes` | `bookingPolicy.waitlistPolicy.enabled` | `bookingPolicy.waitlistPolicy.capacity` | `bookingPolicy.waitlistPolicy.reservationTimeInMinutes` | `bookingPolicy.participantsPolicy.maxParticipantsPerBooking` | `bookingPolicy.resourcesPolicy.enabled` | `bookingPolicy.resourcesPolicy.autoAssignAllowed` | `bookingPolicy.cancellationFeePolicy.enabled` | `bookingPolicy.cancellationFeePolicy.cancellationWindows` | `bookingPolicy.cancellationFeePolicy.cancellationWindows.${number}.percentage` | `bookingPolicy.saveCreditCardPolicy.enabled` | `bookingPolicy.intakeFormPolicy.enabled` | `bookingPolicy.intakeFormPolicy.timing` | `bookingPolicy.intakeFormPolicy.completionRequirement` | `schedule.availabilityConstraints.durations` | `schedule.availabilityConstraints.durations.${number}.minutes` | `schedule.availabilityConstraints.sessionDurations` | `schedule.availabilityConstraints.timeBetweenSessions` | `schedule.availabilityConstraints.durationRange.hourOptions.minDurationInMinutes` | `schedule.availabilityConstraints.durationRange.hourOptions.maxDurationInMinutes` | `schedule.availabilityConstraints.durationRange.dayOptions.minDurationInDays` | `schedule.availabilityConstraints.durationRange.dayOptions.maxDurationInDays` | `schedule.availabilityConstraints.durationRange.dayOptions.timeBoundaries.overnightTimes.checkInTime` | `schedule.availabilityConstraints.durationRange.dayOptions.timeBoundaries.overnightTimes.checkOutTime` | `schedule.availabilityConstraints.durationRange.dayOptions.timeBoundaries.type` | `schedule.availabilityConstraints.durationRange.unitType` | `staffMemberIds` | `staffMemberDetails.staffMembers` | `staffMemberDetails.staffMembers.${number}.staffMemberId` | `serviceResources` | `supportedSlugs` | `supportedSlugs.${number}.name` | `seoData.tags` | `seoData.tags.${number}.type` | `seoData.tags.${number}.children` | `seoData.tags.${number}.custom` | `seoData.tags.${number}.disabled` | `seoData.settings.preventAutoRedirect` | `seoData.settings.keywords` | `seoData.settings.keywords.${number}.term` | `seoData.settings.keywords.${number}.isMain` | `addOnGroups` | `addOnDetails` | `taxableAddress.taxableAddressType`, 6>>;
|
|
155
155
|
}
|
|
156
156
|
declare function updateService$1(httpClient: HttpClient): UpdateServiceSignature;
|
|
157
157
|
interface UpdateServiceSignature {
|
|
@@ -183,7 +183,7 @@ interface UpdateServiceSignature {
|
|
|
183
183
|
* @param - Service ID.
|
|
184
184
|
* @returns Updated service.
|
|
185
185
|
*/
|
|
186
|
-
(_id: string, service: NonNullablePaths<UpdateService, `revision`,
|
|
186
|
+
(_id: string, service: NonNullablePaths<UpdateService, `revision` | `schedule.availabilityConstraints.durationRange.dayOptions.timeBoundaries.overnightTimes.checkInTime` | `schedule.availabilityConstraints.durationRange.dayOptions.timeBoundaries.overnightTimes.checkOutTime`, 6>): Promise<NonNullablePaths<Service, `type` | `media.items` | `category._id` | `form._id` | `payment.fixed.price.value` | `payment.fixed.price.currency` | `payment.subscription.frequency` | `payment.subscription.firstChargeDate` | `payment.rateType` | `payment.pricingPlanIds` | `payment.addOnOption` | `payment.discountInfo.discountName` | `payment.additionalFees` | `payment.additionalFees.${number}._id` | `payment.additionalFees.${number}.name` | `payment.additionalFees.${number}.chargeType` | `locations` | `locations.${number}.business._id` | `locations.${number}.business.name` | `locations.${number}.custom._id` | `locations.${number}._id` | `locations.${number}.type` | `bookingPolicy._id` | `bookingPolicy.customPolicyDescription.enabled` | `bookingPolicy.customPolicyDescription.description` | `bookingPolicy.limitEarlyBookingPolicy.enabled` | `bookingPolicy.limitEarlyBookingPolicy.earliestBookingInMinutes` | `bookingPolicy.limitLateBookingPolicy.enabled` | `bookingPolicy.limitLateBookingPolicy.latestBookingInMinutes` | `bookingPolicy.bookAfterStartPolicy.enabled` | `bookingPolicy.cancellationPolicy.enabled` | `bookingPolicy.cancellationPolicy.limitLatestCancellation` | `bookingPolicy.cancellationPolicy.latestCancellationInMinutes` | `bookingPolicy.reschedulePolicy.enabled` | `bookingPolicy.reschedulePolicy.limitLatestReschedule` | `bookingPolicy.reschedulePolicy.latestRescheduleInMinutes` | `bookingPolicy.waitlistPolicy.enabled` | `bookingPolicy.waitlistPolicy.capacity` | `bookingPolicy.waitlistPolicy.reservationTimeInMinutes` | `bookingPolicy.participantsPolicy.maxParticipantsPerBooking` | `bookingPolicy.resourcesPolicy.enabled` | `bookingPolicy.resourcesPolicy.autoAssignAllowed` | `bookingPolicy.cancellationFeePolicy.enabled` | `bookingPolicy.cancellationFeePolicy.cancellationWindows` | `bookingPolicy.cancellationFeePolicy.cancellationWindows.${number}.percentage` | `bookingPolicy.saveCreditCardPolicy.enabled` | `bookingPolicy.intakeFormPolicy.enabled` | `bookingPolicy.intakeFormPolicy.timing` | `bookingPolicy.intakeFormPolicy.completionRequirement` | `schedule.availabilityConstraints.durations` | `schedule.availabilityConstraints.durations.${number}.minutes` | `schedule.availabilityConstraints.sessionDurations` | `schedule.availabilityConstraints.timeBetweenSessions` | `schedule.availabilityConstraints.durationRange.hourOptions.minDurationInMinutes` | `schedule.availabilityConstraints.durationRange.hourOptions.maxDurationInMinutes` | `schedule.availabilityConstraints.durationRange.dayOptions.minDurationInDays` | `schedule.availabilityConstraints.durationRange.dayOptions.maxDurationInDays` | `schedule.availabilityConstraints.durationRange.dayOptions.timeBoundaries.overnightTimes.checkInTime` | `schedule.availabilityConstraints.durationRange.dayOptions.timeBoundaries.overnightTimes.checkOutTime` | `schedule.availabilityConstraints.durationRange.dayOptions.timeBoundaries.type` | `schedule.availabilityConstraints.durationRange.unitType` | `staffMemberIds` | `staffMemberDetails.staffMembers` | `staffMemberDetails.staffMembers.${number}.staffMemberId` | `serviceResources` | `supportedSlugs` | `supportedSlugs.${number}.name` | `seoData.tags` | `seoData.tags.${number}.type` | `seoData.tags.${number}.children` | `seoData.tags.${number}.custom` | `seoData.tags.${number}.disabled` | `seoData.settings.preventAutoRedirect` | `seoData.settings.keywords` | `seoData.settings.keywords.${number}.term` | `seoData.settings.keywords.${number}.isMain` | `addOnGroups` | `addOnDetails` | `taxableAddress.taxableAddressType`, 6> & {
|
|
187
187
|
__validationErrorsType?: UpdateServiceValidationErrors;
|
|
188
188
|
}>;
|
|
189
189
|
}
|
|
@@ -199,7 +199,7 @@ interface BulkUpdateServicesSignature {
|
|
|
199
199
|
* The call succeeds even if one or more individual services can't be updated.
|
|
200
200
|
* Information about failures is returned in `bulkActionMetadata`.
|
|
201
201
|
*/
|
|
202
|
-
(options?: NonNullablePaths<BulkUpdateServicesOptions, `services.${number}.service` | `services.${number}.service._id` | `services.${number}.service.revision`,
|
|
202
|
+
(options?: NonNullablePaths<BulkUpdateServicesOptions, `services.${number}.service` | `services.${number}.service._id` | `services.${number}.service.revision` | `services.${number}.service.schedule.availabilityConstraints.durationRange.dayOptions.timeBoundaries.overnightTimes.checkInTime` | `services.${number}.service.schedule.availabilityConstraints.durationRange.dayOptions.timeBoundaries.overnightTimes.checkOutTime`, 9>): Promise<NonNullablePaths<BulkUpdateServicesResponse, `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`, 4> & {
|
|
203
203
|
__validationErrorsType?: BulkUpdateServicesValidationErrors;
|
|
204
204
|
}>;
|
|
205
205
|
}
|
|
@@ -492,7 +492,7 @@ interface SetServiceLocationsSignature {
|
|
|
492
492
|
* message.
|
|
493
493
|
* @param - ID of the service.
|
|
494
494
|
*/
|
|
495
|
-
(serviceId: string, options?: SetServiceLocationsOptions): Promise<NonNullablePaths<SetServiceLocationsResponse, `service.type` | `service.media.items` | `service.category._id` | `service.form._id` | `service.payment.fixed.price.value` | `service.payment.fixed.price.currency` | `service.payment.subscription.frequency` | `service.payment.subscription.firstChargeDate` | `service.payment.rateType` | `service.payment.pricingPlanIds` | `service.payment.addOnOption` | `service.payment.discountInfo.discountName` | `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.bookingPolicy.intakeFormPolicy.enabled` | `service.bookingPolicy.intakeFormPolicy.timing` | `service.bookingPolicy.intakeFormPolicy.completionRequirement` | `service.schedule.availabilityConstraints.durations` | `service.schedule.availabilityConstraints.durations.${number}.minutes` | `service.schedule.availabilityConstraints.sessionDurations` | `service.schedule.availabilityConstraints.timeBetweenSessions` | `service.schedule.availabilityConstraints.durationRange.hourOptions.minDurationInMinutes` | `service.schedule.availabilityConstraints.durationRange.hourOptions.maxDurationInMinutes` | `service.schedule.availabilityConstraints.durationRange.dayOptions.minDurationInDays` | `service.schedule.availabilityConstraints.durationRange.dayOptions.maxDurationInDays` | `service.schedule.availabilityConstraints.durationRange.unitType` | `service.staffMemberIds` | `service.staffMemberDetails.staffMembers` | `service.staffMemberDetails.staffMembers.${number}.staffMemberId` | `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.addOnGroups` | `service.addOnDetails` | `service.taxableAddress.taxableAddressType`,
|
|
495
|
+
(serviceId: string, options?: SetServiceLocationsOptions): Promise<NonNullablePaths<SetServiceLocationsResponse, `service.type` | `service.media.items` | `service.category._id` | `service.form._id` | `service.payment.fixed.price.value` | `service.payment.fixed.price.currency` | `service.payment.subscription.frequency` | `service.payment.subscription.firstChargeDate` | `service.payment.rateType` | `service.payment.pricingPlanIds` | `service.payment.addOnOption` | `service.payment.discountInfo.discountName` | `service.payment.additionalFees` | `service.payment.additionalFees.${number}._id` | `service.payment.additionalFees.${number}.name` | `service.payment.additionalFees.${number}.chargeType` | `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.bookingPolicy.intakeFormPolicy.enabled` | `service.bookingPolicy.intakeFormPolicy.timing` | `service.bookingPolicy.intakeFormPolicy.completionRequirement` | `service.schedule.availabilityConstraints.durations` | `service.schedule.availabilityConstraints.durations.${number}.minutes` | `service.schedule.availabilityConstraints.sessionDurations` | `service.schedule.availabilityConstraints.timeBetweenSessions` | `service.schedule.availabilityConstraints.durationRange.hourOptions.minDurationInMinutes` | `service.schedule.availabilityConstraints.durationRange.hourOptions.maxDurationInMinutes` | `service.schedule.availabilityConstraints.durationRange.dayOptions.minDurationInDays` | `service.schedule.availabilityConstraints.durationRange.dayOptions.maxDurationInDays` | `service.schedule.availabilityConstraints.durationRange.dayOptions.timeBoundaries.overnightTimes.checkInTime` | `service.schedule.availabilityConstraints.durationRange.dayOptions.timeBoundaries.overnightTimes.checkOutTime` | `service.schedule.availabilityConstraints.durationRange.dayOptions.timeBoundaries.type` | `service.schedule.availabilityConstraints.durationRange.unitType` | `service.staffMemberIds` | `service.staffMemberDetails.staffMembers` | `service.staffMemberDetails.staffMembers.${number}.staffMemberId` | `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.addOnGroups` | `service.addOnDetails` | `service.taxableAddress.taxableAddressType`, 7>>;
|
|
496
496
|
}
|
|
497
497
|
declare function enablePricingPlansForService$1(httpClient: HttpClient): EnablePricingPlansForServiceSignature;
|
|
498
498
|
interface EnablePricingPlansForServiceSignature {
|
|
@@ -508,7 +508,7 @@ interface EnablePricingPlansForServiceSignature {
|
|
|
508
508
|
* to add to the service's `payment.pricingPlanIds` array.
|
|
509
509
|
* Maintained for backward compatibility. Use `pricing_plan_selections` for explicit benefit selection.
|
|
510
510
|
*/
|
|
511
|
-
(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.subscription.frequency` | `service.payment.subscription.firstChargeDate` | `service.payment.rateType` | `service.payment.pricingPlanIds` | `service.payment.addOnOption` | `service.payment.discountInfo.discountName` | `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.bookingPolicy.intakeFormPolicy.enabled` | `service.bookingPolicy.intakeFormPolicy.timing` | `service.bookingPolicy.intakeFormPolicy.completionRequirement` | `service.schedule.availabilityConstraints.durations` | `service.schedule.availabilityConstraints.durations.${number}.minutes` | `service.schedule.availabilityConstraints.sessionDurations` | `service.schedule.availabilityConstraints.timeBetweenSessions` | `service.schedule.availabilityConstraints.durationRange.hourOptions.minDurationInMinutes` | `service.schedule.availabilityConstraints.durationRange.hourOptions.maxDurationInMinutes` | `service.schedule.availabilityConstraints.durationRange.dayOptions.minDurationInDays` | `service.schedule.availabilityConstraints.durationRange.dayOptions.maxDurationInDays` | `service.schedule.availabilityConstraints.durationRange.unitType` | `service.staffMemberIds` | `service.staffMemberDetails.staffMembers` | `service.staffMemberDetails.staffMembers.${number}.staffMemberId` | `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.addOnGroups` | `service.addOnDetails` | `service.taxableAddress.taxableAddressType`,
|
|
511
|
+
(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.subscription.frequency` | `service.payment.subscription.firstChargeDate` | `service.payment.rateType` | `service.payment.pricingPlanIds` | `service.payment.addOnOption` | `service.payment.discountInfo.discountName` | `service.payment.additionalFees` | `service.payment.additionalFees.${number}._id` | `service.payment.additionalFees.${number}.name` | `service.payment.additionalFees.${number}.chargeType` | `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.bookingPolicy.intakeFormPolicy.enabled` | `service.bookingPolicy.intakeFormPolicy.timing` | `service.bookingPolicy.intakeFormPolicy.completionRequirement` | `service.schedule.availabilityConstraints.durations` | `service.schedule.availabilityConstraints.durations.${number}.minutes` | `service.schedule.availabilityConstraints.sessionDurations` | `service.schedule.availabilityConstraints.timeBetweenSessions` | `service.schedule.availabilityConstraints.durationRange.hourOptions.minDurationInMinutes` | `service.schedule.availabilityConstraints.durationRange.hourOptions.maxDurationInMinutes` | `service.schedule.availabilityConstraints.durationRange.dayOptions.minDurationInDays` | `service.schedule.availabilityConstraints.durationRange.dayOptions.maxDurationInDays` | `service.schedule.availabilityConstraints.durationRange.dayOptions.timeBoundaries.overnightTimes.checkInTime` | `service.schedule.availabilityConstraints.durationRange.dayOptions.timeBoundaries.overnightTimes.checkOutTime` | `service.schedule.availabilityConstraints.durationRange.dayOptions.timeBoundaries.type` | `service.schedule.availabilityConstraints.durationRange.unitType` | `service.staffMemberIds` | `service.staffMemberDetails.staffMembers` | `service.staffMemberDetails.staffMembers.${number}.staffMemberId` | `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.addOnGroups` | `service.addOnDetails` | `service.taxableAddress.taxableAddressType`, 7> & {
|
|
512
512
|
__applicationErrorsType?: EnablePricingPlansForServiceApplicationErrors;
|
|
513
513
|
}>;
|
|
514
514
|
}
|
|
@@ -523,7 +523,7 @@ interface DisablePricingPlansForServiceSignature {
|
|
|
523
523
|
* able to book the service, as they will have no payment options available.
|
|
524
524
|
* @param - ID of the service to update.
|
|
525
525
|
*/
|
|
526
|
-
(serviceId: string, options?: DisablePricingPlansForServiceOptions): Promise<NonNullablePaths<DisablePricingPlansForServiceResponse, `service.type` | `service.media.items` | `service.category._id` | `service.form._id` | `service.payment.fixed.price.value` | `service.payment.fixed.price.currency` | `service.payment.subscription.frequency` | `service.payment.subscription.firstChargeDate` | `service.payment.rateType` | `service.payment.pricingPlanIds` | `service.payment.addOnOption` | `service.payment.discountInfo.discountName` | `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.bookingPolicy.intakeFormPolicy.enabled` | `service.bookingPolicy.intakeFormPolicy.timing` | `service.bookingPolicy.intakeFormPolicy.completionRequirement` | `service.schedule.availabilityConstraints.durations` | `service.schedule.availabilityConstraints.durations.${number}.minutes` | `service.schedule.availabilityConstraints.sessionDurations` | `service.schedule.availabilityConstraints.timeBetweenSessions` | `service.schedule.availabilityConstraints.durationRange.hourOptions.minDurationInMinutes` | `service.schedule.availabilityConstraints.durationRange.hourOptions.maxDurationInMinutes` | `service.schedule.availabilityConstraints.durationRange.dayOptions.minDurationInDays` | `service.schedule.availabilityConstraints.durationRange.dayOptions.maxDurationInDays` | `service.schedule.availabilityConstraints.durationRange.unitType` | `service.staffMemberIds` | `service.staffMemberDetails.staffMembers` | `service.staffMemberDetails.staffMembers.${number}.staffMemberId` | `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.addOnGroups` | `service.addOnDetails` | `service.taxableAddress.taxableAddressType`,
|
|
526
|
+
(serviceId: string, options?: DisablePricingPlansForServiceOptions): Promise<NonNullablePaths<DisablePricingPlansForServiceResponse, `service.type` | `service.media.items` | `service.category._id` | `service.form._id` | `service.payment.fixed.price.value` | `service.payment.fixed.price.currency` | `service.payment.subscription.frequency` | `service.payment.subscription.firstChargeDate` | `service.payment.rateType` | `service.payment.pricingPlanIds` | `service.payment.addOnOption` | `service.payment.discountInfo.discountName` | `service.payment.additionalFees` | `service.payment.additionalFees.${number}._id` | `service.payment.additionalFees.${number}.name` | `service.payment.additionalFees.${number}.chargeType` | `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.bookingPolicy.intakeFormPolicy.enabled` | `service.bookingPolicy.intakeFormPolicy.timing` | `service.bookingPolicy.intakeFormPolicy.completionRequirement` | `service.schedule.availabilityConstraints.durations` | `service.schedule.availabilityConstraints.durations.${number}.minutes` | `service.schedule.availabilityConstraints.sessionDurations` | `service.schedule.availabilityConstraints.timeBetweenSessions` | `service.schedule.availabilityConstraints.durationRange.hourOptions.minDurationInMinutes` | `service.schedule.availabilityConstraints.durationRange.hourOptions.maxDurationInMinutes` | `service.schedule.availabilityConstraints.durationRange.dayOptions.minDurationInDays` | `service.schedule.availabilityConstraints.durationRange.dayOptions.maxDurationInDays` | `service.schedule.availabilityConstraints.durationRange.dayOptions.timeBoundaries.overnightTimes.checkInTime` | `service.schedule.availabilityConstraints.durationRange.dayOptions.timeBoundaries.overnightTimes.checkOutTime` | `service.schedule.availabilityConstraints.durationRange.dayOptions.timeBoundaries.type` | `service.schedule.availabilityConstraints.durationRange.unitType` | `service.staffMemberIds` | `service.staffMemberDetails.staffMembers` | `service.staffMemberDetails.staffMembers.${number}.staffMemberId` | `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.addOnGroups` | `service.addOnDetails` | `service.taxableAddress.taxableAddressType`, 7> & {
|
|
527
527
|
__applicationErrorsType?: DisablePricingPlansForServiceApplicationErrors;
|
|
528
528
|
}>;
|
|
529
529
|
}
|
|
@@ -539,7 +539,7 @@ interface SetCustomSlugSignature {
|
|
|
539
539
|
* - Another service has used the slug in the past.
|
|
540
540
|
* @param - ID of the service for which to update the active slug.
|
|
541
541
|
*/
|
|
542
|
-
(serviceId: string, options?: SetCustomSlugOptions): Promise<NonNullablePaths<SetCustomSlugResponse, `slug.name` | `service.type` | `service.media.items` | `service.category._id` | `service.form._id` | `service.payment.fixed.price.value` | `service.payment.fixed.price.currency` | `service.payment.subscription.frequency` | `service.payment.subscription.firstChargeDate` | `service.payment.rateType` | `service.payment.pricingPlanIds` | `service.payment.addOnOption` | `service.payment.discountInfo.discountName` | `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.bookingPolicy.intakeFormPolicy.enabled` | `service.bookingPolicy.intakeFormPolicy.timing` | `service.bookingPolicy.intakeFormPolicy.completionRequirement` | `service.schedule.availabilityConstraints.durations` | `service.schedule.availabilityConstraints.durations.${number}.minutes` | `service.schedule.availabilityConstraints.sessionDurations` | `service.schedule.availabilityConstraints.timeBetweenSessions` | `service.schedule.availabilityConstraints.durationRange.hourOptions.minDurationInMinutes` | `service.schedule.availabilityConstraints.durationRange.hourOptions.maxDurationInMinutes` | `service.schedule.availabilityConstraints.durationRange.dayOptions.minDurationInDays` | `service.schedule.availabilityConstraints.durationRange.dayOptions.maxDurationInDays` | `service.schedule.availabilityConstraints.durationRange.unitType` | `service.staffMemberIds` | `service.staffMemberDetails.staffMembers` | `service.staffMemberDetails.staffMembers.${number}.staffMemberId` | `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.addOnGroups` | `service.addOnDetails` | `service.taxableAddress.taxableAddressType`,
|
|
542
|
+
(serviceId: string, options?: SetCustomSlugOptions): Promise<NonNullablePaths<SetCustomSlugResponse, `slug.name` | `service.type` | `service.media.items` | `service.category._id` | `service.form._id` | `service.payment.fixed.price.value` | `service.payment.fixed.price.currency` | `service.payment.subscription.frequency` | `service.payment.subscription.firstChargeDate` | `service.payment.rateType` | `service.payment.pricingPlanIds` | `service.payment.addOnOption` | `service.payment.discountInfo.discountName` | `service.payment.additionalFees` | `service.payment.additionalFees.${number}._id` | `service.payment.additionalFees.${number}.name` | `service.payment.additionalFees.${number}.chargeType` | `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.bookingPolicy.intakeFormPolicy.enabled` | `service.bookingPolicy.intakeFormPolicy.timing` | `service.bookingPolicy.intakeFormPolicy.completionRequirement` | `service.schedule.availabilityConstraints.durations` | `service.schedule.availabilityConstraints.durations.${number}.minutes` | `service.schedule.availabilityConstraints.sessionDurations` | `service.schedule.availabilityConstraints.timeBetweenSessions` | `service.schedule.availabilityConstraints.durationRange.hourOptions.minDurationInMinutes` | `service.schedule.availabilityConstraints.durationRange.hourOptions.maxDurationInMinutes` | `service.schedule.availabilityConstraints.durationRange.dayOptions.minDurationInDays` | `service.schedule.availabilityConstraints.durationRange.dayOptions.maxDurationInDays` | `service.schedule.availabilityConstraints.durationRange.dayOptions.timeBoundaries.overnightTimes.checkInTime` | `service.schedule.availabilityConstraints.durationRange.dayOptions.timeBoundaries.overnightTimes.checkOutTime` | `service.schedule.availabilityConstraints.durationRange.dayOptions.timeBoundaries.type` | `service.schedule.availabilityConstraints.durationRange.unitType` | `service.staffMemberIds` | `service.staffMemberDetails.staffMembers` | `service.staffMemberDetails.staffMembers.${number}.staffMemberId` | `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.addOnGroups` | `service.addOnDetails` | `service.taxableAddress.taxableAddressType`, 7> & {
|
|
543
543
|
__applicationErrorsType?: SetCustomSlugApplicationErrors;
|
|
544
544
|
__validationErrorsType?: SetCustomSlugValidationErrors;
|
|
545
545
|
}>;
|
|
@@ -615,7 +615,7 @@ interface CloneServiceSignature {
|
|
|
615
615
|
* after cloning the service, customers will be unable to book the service.
|
|
616
616
|
* @param - ID of the service to clone.
|
|
617
617
|
*/
|
|
618
|
-
(sourceServiceId: string): Promise<NonNullablePaths<CloneServiceResponse, `service.type` | `service.media.items` | `service.category._id` | `service.form._id` | `service.payment.fixed.price.value` | `service.payment.fixed.price.currency` | `service.payment.subscription.frequency` | `service.payment.subscription.firstChargeDate` | `service.payment.rateType` | `service.payment.pricingPlanIds` | `service.payment.addOnOption` | `service.payment.discountInfo.discountName` | `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.bookingPolicy.intakeFormPolicy.enabled` | `service.bookingPolicy.intakeFormPolicy.timing` | `service.bookingPolicy.intakeFormPolicy.completionRequirement` | `service.schedule.availabilityConstraints.durations` | `service.schedule.availabilityConstraints.durations.${number}.minutes` | `service.schedule.availabilityConstraints.sessionDurations` | `service.schedule.availabilityConstraints.timeBetweenSessions` | `service.schedule.availabilityConstraints.durationRange.hourOptions.minDurationInMinutes` | `service.schedule.availabilityConstraints.durationRange.hourOptions.maxDurationInMinutes` | `service.schedule.availabilityConstraints.durationRange.dayOptions.minDurationInDays` | `service.schedule.availabilityConstraints.durationRange.dayOptions.maxDurationInDays` | `service.schedule.availabilityConstraints.durationRange.unitType` | `service.staffMemberIds` | `service.staffMemberDetails.staffMembers` | `service.staffMemberDetails.staffMembers.${number}.staffMemberId` | `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.addOnGroups` | `service.addOnDetails` | `service.taxableAddress.taxableAddressType` | `errors`,
|
|
618
|
+
(sourceServiceId: string): Promise<NonNullablePaths<CloneServiceResponse, `service.type` | `service.media.items` | `service.category._id` | `service.form._id` | `service.payment.fixed.price.value` | `service.payment.fixed.price.currency` | `service.payment.subscription.frequency` | `service.payment.subscription.firstChargeDate` | `service.payment.rateType` | `service.payment.pricingPlanIds` | `service.payment.addOnOption` | `service.payment.discountInfo.discountName` | `service.payment.additionalFees` | `service.payment.additionalFees.${number}._id` | `service.payment.additionalFees.${number}.name` | `service.payment.additionalFees.${number}.chargeType` | `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.bookingPolicy.intakeFormPolicy.enabled` | `service.bookingPolicy.intakeFormPolicy.timing` | `service.bookingPolicy.intakeFormPolicy.completionRequirement` | `service.schedule.availabilityConstraints.durations` | `service.schedule.availabilityConstraints.durations.${number}.minutes` | `service.schedule.availabilityConstraints.sessionDurations` | `service.schedule.availabilityConstraints.timeBetweenSessions` | `service.schedule.availabilityConstraints.durationRange.hourOptions.minDurationInMinutes` | `service.schedule.availabilityConstraints.durationRange.hourOptions.maxDurationInMinutes` | `service.schedule.availabilityConstraints.durationRange.dayOptions.minDurationInDays` | `service.schedule.availabilityConstraints.durationRange.dayOptions.maxDurationInDays` | `service.schedule.availabilityConstraints.durationRange.dayOptions.timeBoundaries.overnightTimes.checkInTime` | `service.schedule.availabilityConstraints.durationRange.dayOptions.timeBoundaries.overnightTimes.checkOutTime` | `service.schedule.availabilityConstraints.durationRange.dayOptions.timeBoundaries.type` | `service.schedule.availabilityConstraints.durationRange.unitType` | `service.staffMemberIds` | `service.staffMemberDetails.staffMembers` | `service.staffMemberDetails.staffMembers.${number}.staffMemberId` | `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.addOnGroups` | `service.addOnDetails` | `service.taxableAddress.taxableAddressType` | `errors`, 7>>;
|
|
619
619
|
}
|
|
620
620
|
declare function createAddOnGroup$1(httpClient: HttpClient): CreateAddOnGroupSignature;
|
|
621
621
|
interface CreateAddOnGroupSignature {
|
|
@@ -1,5 +1,5 @@
|
|
|
1
|
-
import { dH as CursorSearch, n as SearchServicesResponse } from './bookings-services-v2-service-services.universal-
|
|
2
|
-
export { d5 as AccountInfo, fl as AccountInfoMetadata, aR as Action, d1 as ActionEvent, g3 as ActionWithLiterals, aD as Actor, fR as ActorWithLiterals, ff as AddOn, fg as AddOnAddOnInfoOneOf, cg as AddOnDetails, P as AddOnGroup, fh as AddOnGroupDetail, ag as AddOnPaymentOptions, fu as AddOnPaymentOptionsWithLiterals, bg as AdditionalFee, cA as Address, eY as AddressHint, cD as AddressLocation, cB as AddressStreetOneOf, dJ as Aggregation, dZ as AggregationData, dK as AggregationKindOneOf, ei as AggregationResults, ej as AggregationResultsResultOneOf, eh as AggregationResultsScalarDateResult, e4 as AggregationResultsScalarResult, aO as AggregationType, g0 as AggregationTypeWithLiterals, de as ApplicationError, bP as AvailabilityConstraints, fj as BaseEventMetadata, bv as BookAfterStartPolicy, cU as BookedAddOn, cq as BookedEntity, cr as BookedEntityItemOneOf, ct as BookedResource, cy as BookedSchedule, cs as BookedSlot, co as Booking, cW as BookingAdditionalFee, eo as BookingForm, cp as BookingParticipantsInfoOneOf, br as BookingPolicy, em as BookingPolicyWithServices, cG as BookingSource, az as BookingStatus, fN as BookingStatusWithLiterals, df as BulkActionMetadata, B as BulkCreateServicesOptions, db as BulkCreateServicesRequest, a as BulkCreateServicesResponse, b as BulkCreateServicesValidationErrors, k as BulkDeleteServicesByFilterOptions, dw as BulkDeleteServicesByFilterRequest, l as BulkDeleteServicesByFilterResponse, i as BulkDeleteServicesOptions, dv as BulkDeleteServicesRequest, j as BulkDeleteServicesResponse, dc as BulkServiceResult, g as BulkUpdateServicesByFilterOptions, dr as BulkUpdateServicesByFilterRequest, h as BulkUpdateServicesByFilterResponse, d as BulkUpdateServicesOptions, dp as BulkUpdateServicesRequest, e as BulkUpdateServicesResponse, f as BulkUpdateServicesValidationErrors, bp as BusinessLocationOptions, eu as BusinessLocations, e_ as BusinessSchedule, bB as CancellationFeePolicy, bw as CancellationPolicy, bC as CancellationWindow, bD as CancellationWindowFeeOneOf, eV as Categories, eN as Category, eM as CategoryNotification, f5 as ChangeContext, f6 as ChangeContextPayloadOneOf, ah as ChargeType, fv as ChargeTypeWithLiterals, aT as CloneErrors, g5 as CloneErrorsWithLiterals, eL as CloneServiceRequest, O as CloneServiceResponse, bl as CommonAddress, bo as CommonAddressLocation, bm as CommonAddressStreetOneOf, cI as CommonIdentificationData, cJ as CommonIdentificationDataIdOneOf, gc as CommonQueryWithEntityContext, gd as CommonSearchWithEntityContext, bn as CommonStreetAddress, an as CompletionRequirement, fB as CompletionRequirementWithLiterals, bi as Conferencing, eq as ConnectedService, f3 as ConsentPolicy, cz as ContactDetails, s as CountServicesOptions, er as CountServicesRequest, t as CountServicesResponse, W as CreateAddOnGroupApplicationErrors, R as CreateAddOnGroupOptions, fa as CreateAddOnGroupRequest, T as CreateAddOnGroupResponse, d6 as CreateServiceRequest, d7 as CreateServiceResponse, C as CreateServiceValidationErrors, aW as CrudType, g8 as CrudTypeWithLiterals, dC as CursorPaging, dY as CursorPagingMetadata, o as CursorQuery, el as CursorQueryPagingMethodOneOf, dI as CursorSearchPagingMethodOneOf, dF as Cursors, cF as CustomFormField, bq as CustomLocationOptions, ev as CustomLocations, bI as CustomOptions, ba as CustomPayment, ew as CustomerLocations, bU as DailyConfig, dR as DateHistogramAggregation, ed as DateHistogramResult, ef as DateHistogramResults, cQ as DateTimeRule, aY as DayOfWeek, ga as DayOfWeekWithLiterals, Y as DeleteAddOnGroupApplicationErrors, X as DeleteAddOnGroupOptions, fb as DeleteAddOnGroupRequest, fc as DeleteAddOnGroupResponse, D as DeleteServiceOptions, ds as DeleteServiceRequest, du as DeleteServiceResponse, b8 as DepositDetails, b9 as DepositDetailsValueOneOf, I as DisablePricingPlansForServiceApplicationErrors, F as DisablePricingPlansForServiceOptions, eI as DisablePricingPlansForServiceRequest, H as DisablePricingPlansForServiceResponse, bf as DiscountInfo, cX as DomainEvent, cY as DomainEventBodyOneOf, cm as DummyRequest, cn as DummyResponse, cP as Duration, cS as DurationRange, ax as DurationUnitType, fL as DurationUnitTypeWithLiterals, eO as Empty, A as EnablePricingPlansForServiceApplicationErrors, eF as EnablePricingPlansForServiceRequest, E as EnablePricingPlansForServiceResponse, cZ as EntityCreatedEvent, d0 as EntityDeletedEvent, c$ as EntityUpdatedEvent, aV as Event, fk as EventMetadata, g7 as EventWithLiterals, cb as ExtendedFields, da as FieldViolation, af as FirstChargeDateType, ft as FirstChargeDateTypeWithLiterals, b6 as FixedPayment, cK as FlowControlSettings, b2 as Form, ep as FormDetails, b3 as FormSettings, ae as FrequencyType, fs as FrequencyTypeWithLiterals, bd as FullUpfrontPayment, eZ as GeoCoordinates, di as GetServiceAvailabilityConstraintsRequest, dj as GetServiceAvailabilityConstraintsResponse, G as GetServiceOptions, dg as GetServiceRequest, dh as GetServiceResponse, dV as GroupByAggregation, dW as GroupByAggregationKindOneOf, ee as GroupByValueResults, bT as HourlyConfig, eQ as HtmlSitePublished, d3 as IdentificationData, d4 as IdentificationDataIdOneOf, aE as IdentityType, fS as IdentityTypeWithLiterals, dM as IncludeMissingValuesOptions, bJ as IntakeFormPolicy, aN as Interval, f$ as IntervalWithLiterals, eH as InvalidPricingPlan, aS as InvalidSlugError, g4 as InvalidSlugErrorWithLiterals, dd as ItemMetadata, cd as Keyword, bt as LimitEarlyBookingPolicy, bu as LimitLateBookingPolicy, bK as LimitRebookingPolicy, a0 as ListAddOnGroupsByServiceIdOptions, fe as ListAddOnGroupsByServiceIdRequest, a1 as ListAddOnGroupsByServiceIdResponse, eW as Locale, cu as Location, au as LocationType, ai as LocationTypeEnumLocationType, fw as LocationTypeEnumLocationTypeWithLiterals, fI as LocationTypeWithLiterals, dq as MaskedService, a_ as Media, a$ as MediaItem, b0 as MediaItemItemOneOf, d2 as MessageEnvelope, aK as MissingValues, fY as MissingValuesWithLiterals, aP as Mode, g1 as ModeWithLiterals, b7 as Money, eE as MoveToNewLocationsOptions, cT as MultiServiceBookingInfo, as as MultiServiceBookingType, fG as MultiServiceBookingTypeWithLiterals, f1 as Multilingual, cj as MultipleParticipants, dU as NestedAggregation, dS as NestedAggregationItem, dT as NestedAggregationItemKindOneOf, e0 as NestedAggregationResults, e1 as NestedAggregationResultsResultOneOf, aM as NestedAggregationType, f_ as NestedAggregationTypeWithLiterals, ea as NestedResultValue, eb as NestedResultValueResultOneOf, eg as NestedResults, e5 as NestedValueAggregationResult, bh as OnlineBooking, bX as OvernightTimes, eR as Page, dB as Paging, dE as PagingMetadataV2, cL as ParticipantChoices, cH as ParticipantNotification, bz as ParticipantsPolicy, cR as ParticipantsRange, b4 as Payment, be as PaymentOptions, b5 as PaymentRateOneOf, aA as PaymentStatus, fO as PaymentStatusWithLiterals, cv as PhoneCall, aX as PlacementType, g9 as PlacementTypeWithLiterals, aC as Platform, fQ as PlatformWithLiterals, bs as PolicyDescription, aj as PricingPlanOutcome, fx as PricingPlanOutcomeWithLiterals, bL as PricingPlanRefundPolicy, eG as PricingPlanSelection, eU as Properties, f7 as PropertiesChange, bN as ProrationPolicy, r as QueryBookingFormsApplicationErrors, p as QueryBookingFormsOptions, en as QueryBookingFormsRequest, q as QueryBookingFormsResponse, ey as QueryCategoriesFilter, w as QueryCategoriesOptions, ex as QueryCategoriesRequest, x as QueryCategoriesResponse, et as QueryLocationsFilter, u as QueryLocationsOptions, es as QueryLocationsRequest, v as QueryLocationsResponse, ek as QueryPoliciesRequest, Q as QueryPoliciesResponse, ez as QueryServicesMultiLanguageRequest, eA as QueryServicesMultiLanguageResponse, a9 as QueryServicesOptions, dx as QueryServicesRequest, dD as QueryServicesResponse, dy as QueryV2, dz as QueryV2PagingMethodOneOf, dP as RangeAggregation, d$ as RangeAggregationResult, dL as RangeBucket, e7 as RangeResult, e3 as RangeResults, bH as RankingOptions, ak as RankingOrder, fy as RankingOrderWithLiterals, ad as RateType, fr as RateTypeWithLiterals, bM as RefundWindow, eC as RemovedLocationSessionsAction, eD as RemovedLocationSessionsActionActionOptionsOneOf, aQ as RequestedFields, g2 as RequestedFieldsWithLiterals, aw as RequestedGender, cx as RequestedGenderValue, fK as RequestedGenderWithLiterals, bx as ReschedulePolicy, aZ as ResolutionMethod, gb as ResolutionMethodWithLiterals, c7 as ResourceDetails, c2 as ResourceGroup, c3 as ResourceIds, c8 as ResourceInfo, cw as ResourceSelection, at as ResourceTransparency, fH as ResourceTransparencyWithLiterals, c6 as ResourceType, bA as ResourcesPolicy, c_ as RestoreInfo, ec as Results, bE as SaveCreditCardPolicy, dQ as ScalarAggregation, e9 as ScalarDateResult, e8 as ScalarResult, aL as ScalarType, fZ as ScalarTypeWithLiterals, bO as Schedule, dX as SearchDetails, dG as SearchServicesRequest, aB as SelectedPaymentOption, fP as SelectedPaymentOptionWithLiterals, av as SelectionMethod, fJ as SelectionMethodWithLiterals, cc as SeoSchema, S as Service, dk as ServiceAvailabilityConstraints, cN as ServiceChoice, cO as ServiceChoiceChoiceOneOf, cM as ServiceChoices, a5 as ServiceCreatedEnvelope, a6 as ServiceDeletedEnvelope, a8 as ServiceQuery, fn as ServiceQuerySpec, c4 as ServiceResource, c5 as ServiceResourceSelectionOneOf, fo as ServiceSearchSpec, ac as ServiceType, fq as ServiceTypeWithLiterals, a7 as ServiceUpdatedEnvelope, ab as ServicesQueryBuilder, fm as ServicesQueryResult, cl as ServicesUrlsChanged, a4 as SetAddOnsForGroupApplicationErrors, a2 as SetAddOnsForGroupOptions, fi as SetAddOnsForGroupRequest, a3 as SetAddOnsForGroupResponse, L as SetCustomSlugApplicationErrors, ck as SetCustomSlugEvent, J as SetCustomSlugOptions, eJ as SetCustomSlugRequest, K as SetCustomSlugResponse, M as SetCustomSlugValidationErrors, y as SetServiceLocationsOptions, eB as SetServiceLocationsRequest, z as SetServiceLocationsResponse, cf as Settings, f9 as SiteCloned, f8 as SiteCreated, eT as SitePropertiesEvent, eS as SitePropertiesNotification, c9 as Slug, aJ as SortDirection, fX as SortDirectionWithLiterals, aH as SortOrder, fV as SortOrderWithLiterals, aI as SortType, fW as SortTypeWithLiterals, dA as Sorting, al as SortingMethodType, fz as SortingMethodTypeWithLiterals, f0 as SpecialHourPeriod, dl as SplitInterval, b_ as StaffMediaItem, b$ as StaffMediaItemItemOneOf, bZ as StaffMember, c1 as StaffMemberDetails, bF as StaffSortingPolicy, bG as StaffSortingPolicyOptionsOneOf, aU as Status, g6 as StatusWithLiterals, cC as StreetAddress, cE as Subdivision, bc as SubscriptionPayment, f2 as SupportedLanguage, ce as Tag, ch as TaxableAddress, ar as TaxableAddressType, fF as TaxableAddressTypeWithLiterals, bV as TimeBoundaries, bW as TimeBoundariesOptionsOneOf, ap as TimeBoundariesType, fD as TimeBoundariesTypeWithLiterals, e$ as TimePeriod, am as Timing, fA as TimingWithLiterals, f4 as Translation, ca as URLs, ao as UnitType, fC as UnitTypeWithLiterals, $ as UpdateAddOnGroupApplicationErrors, Z as UpdateAddOnGroupOptions, fd as UpdateAddOnGroupRequest, _ as UpdateAddOnGroupResponse, U as UpdateService, dm as UpdateServiceRequest, dn as UpdateServiceResponse, c as UpdateServiceValidationErrors, eP as UserDomainInfoChangedEvent, b1 as V2Category, bQ as V2Duration, bR as V2DurationRange, bS as V2DurationRangeConfigOneOf, bj as V2Location, bk as V2LocationOptionsOneOf, dt as V2ParticipantNotification, ci as V2PhoneCall, aG as V2RequestedFields, fU as V2RequestedFieldsWithLiterals, eX as V4Address, d8 as ValidateServiceRequest, d9 as ValidateServiceResponse, V as ValidateSlugOptions, eK as ValidateSlugRequest, N as ValidateSlugResponse, dN as ValueAggregation, dO as ValueAggregationOptionsOneOf, d_ as ValueAggregationResult, e6 as ValueResult, e2 as ValueResults, ay as ValueType, fM as ValueTypeWithLiterals, bb as VariedPayment, by as WaitlistPolicy, aF as WebhookIdentityType, fT as WebhookIdentityTypeWithLiterals, bY as WorkingHours, c0 as WorkingHoursLocationCoverage, aq as WorkingHoursMode, fE as WorkingHoursModeWithLiterals, cV as ZonedDate, gi as bulkCreateServices, go as bulkDeleteServices, gp as bulkDeleteServicesByFilter, gl as bulkUpdateServices, gm as bulkUpdateServicesByFilter, gB as cloneService, gt as countServices, gC as createAddOnGroup, gh as createService, gD as deleteAddOnGroup, gn as deleteService, gy as disablePricingPlansForService, gx as enablePricingPlansForService, gj as getService, gF as listAddOnGroupsByServiceId, ge as onServiceCreated, gf as onServiceDeleted, gg as onServiceUpdated, gs as queryBookingForms, gv as queryCategories, gu as queryLocations, gr as queryPolicies, gq as queryServices, gG as setAddOnsForGroup, gz as setCustomSlug, gw as setServiceLocations, aa as typedQueryServices, gE as updateAddOnGroup, gk as updateService, fp as utils, gA as validateSlug } from './bookings-services-v2-service-services.universal-BiT248kA.js';
|
|
1
|
+
import { dH as CursorSearch, n as SearchServicesResponse } from './bookings-services-v2-service-services.universal-CsZcM96S.js';
|
|
2
|
+
export { d5 as AccountInfo, fl as AccountInfoMetadata, aR as Action, d1 as ActionEvent, g3 as ActionWithLiterals, aD as Actor, fR as ActorWithLiterals, ff as AddOn, fg as AddOnAddOnInfoOneOf, cg as AddOnDetails, P as AddOnGroup, fh as AddOnGroupDetail, ag as AddOnPaymentOptions, fu as AddOnPaymentOptionsWithLiterals, bg as AdditionalFee, cA as Address, eY as AddressHint, cD as AddressLocation, cB as AddressStreetOneOf, dJ as Aggregation, dZ as AggregationData, dK as AggregationKindOneOf, ei as AggregationResults, ej as AggregationResultsResultOneOf, eh as AggregationResultsScalarDateResult, e4 as AggregationResultsScalarResult, aO as AggregationType, g0 as AggregationTypeWithLiterals, de as ApplicationError, bP as AvailabilityConstraints, fj as BaseEventMetadata, bv as BookAfterStartPolicy, cU as BookedAddOn, cq as BookedEntity, cr as BookedEntityItemOneOf, ct as BookedResource, cy as BookedSchedule, cs as BookedSlot, co as Booking, cW as BookingAdditionalFee, eo as BookingForm, cp as BookingParticipantsInfoOneOf, br as BookingPolicy, em as BookingPolicyWithServices, cG as BookingSource, az as BookingStatus, fN as BookingStatusWithLiterals, df as BulkActionMetadata, B as BulkCreateServicesOptions, db as BulkCreateServicesRequest, a as BulkCreateServicesResponse, b as BulkCreateServicesValidationErrors, k as BulkDeleteServicesByFilterOptions, dw as BulkDeleteServicesByFilterRequest, l as BulkDeleteServicesByFilterResponse, i as BulkDeleteServicesOptions, dv as BulkDeleteServicesRequest, j as BulkDeleteServicesResponse, dc as BulkServiceResult, g as BulkUpdateServicesByFilterOptions, dr as BulkUpdateServicesByFilterRequest, h as BulkUpdateServicesByFilterResponse, d as BulkUpdateServicesOptions, dp as BulkUpdateServicesRequest, e as BulkUpdateServicesResponse, f as BulkUpdateServicesValidationErrors, bp as BusinessLocationOptions, eu as BusinessLocations, e_ as BusinessSchedule, bB as CancellationFeePolicy, bw as CancellationPolicy, bC as CancellationWindow, bD as CancellationWindowFeeOneOf, eV as Categories, eN as Category, eM as CategoryNotification, f5 as ChangeContext, f6 as ChangeContextPayloadOneOf, ah as ChargeType, fv as ChargeTypeWithLiterals, aT as CloneErrors, g5 as CloneErrorsWithLiterals, eL as CloneServiceRequest, O as CloneServiceResponse, bl as CommonAddress, bo as CommonAddressLocation, bm as CommonAddressStreetOneOf, cI as CommonIdentificationData, cJ as CommonIdentificationDataIdOneOf, gc as CommonQueryWithEntityContext, gd as CommonSearchWithEntityContext, bn as CommonStreetAddress, an as CompletionRequirement, fB as CompletionRequirementWithLiterals, bi as Conferencing, eq as ConnectedService, f3 as ConsentPolicy, cz as ContactDetails, s as CountServicesOptions, er as CountServicesRequest, t as CountServicesResponse, W as CreateAddOnGroupApplicationErrors, R as CreateAddOnGroupOptions, fa as CreateAddOnGroupRequest, T as CreateAddOnGroupResponse, d6 as CreateServiceRequest, d7 as CreateServiceResponse, C as CreateServiceValidationErrors, aW as CrudType, g8 as CrudTypeWithLiterals, dC as CursorPaging, dY as CursorPagingMetadata, o as CursorQuery, el as CursorQueryPagingMethodOneOf, dI as CursorSearchPagingMethodOneOf, dF as Cursors, cF as CustomFormField, bq as CustomLocationOptions, ev as CustomLocations, bI as CustomOptions, ba as CustomPayment, ew as CustomerLocations, bU as DailyConfig, dR as DateHistogramAggregation, ed as DateHistogramResult, ef as DateHistogramResults, cQ as DateTimeRule, aY as DayOfWeek, ga as DayOfWeekWithLiterals, Y as DeleteAddOnGroupApplicationErrors, X as DeleteAddOnGroupOptions, fb as DeleteAddOnGroupRequest, fc as DeleteAddOnGroupResponse, D as DeleteServiceOptions, ds as DeleteServiceRequest, du as DeleteServiceResponse, b8 as DepositDetails, b9 as DepositDetailsValueOneOf, I as DisablePricingPlansForServiceApplicationErrors, F as DisablePricingPlansForServiceOptions, eI as DisablePricingPlansForServiceRequest, H as DisablePricingPlansForServiceResponse, bf as DiscountInfo, cX as DomainEvent, cY as DomainEventBodyOneOf, cm as DummyRequest, cn as DummyResponse, cP as Duration, cS as DurationRange, ax as DurationUnitType, fL as DurationUnitTypeWithLiterals, eO as Empty, A as EnablePricingPlansForServiceApplicationErrors, eF as EnablePricingPlansForServiceRequest, E as EnablePricingPlansForServiceResponse, cZ as EntityCreatedEvent, d0 as EntityDeletedEvent, c$ as EntityUpdatedEvent, aV as Event, fk as EventMetadata, g7 as EventWithLiterals, cb as ExtendedFields, da as FieldViolation, af as FirstChargeDateType, ft as FirstChargeDateTypeWithLiterals, b6 as FixedPayment, cK as FlowControlSettings, b2 as Form, ep as FormDetails, b3 as FormSettings, ae as FrequencyType, fs as FrequencyTypeWithLiterals, bd as FullUpfrontPayment, eZ as GeoCoordinates, di as GetServiceAvailabilityConstraintsRequest, dj as GetServiceAvailabilityConstraintsResponse, G as GetServiceOptions, dg as GetServiceRequest, dh as GetServiceResponse, dV as GroupByAggregation, dW as GroupByAggregationKindOneOf, ee as GroupByValueResults, bT as HourlyConfig, eQ as HtmlSitePublished, d3 as IdentificationData, d4 as IdentificationDataIdOneOf, aE as IdentityType, fS as IdentityTypeWithLiterals, dM as IncludeMissingValuesOptions, bJ as IntakeFormPolicy, aN as Interval, f$ as IntervalWithLiterals, eH as InvalidPricingPlan, aS as InvalidSlugError, g4 as InvalidSlugErrorWithLiterals, dd as ItemMetadata, cd as Keyword, bt as LimitEarlyBookingPolicy, bu as LimitLateBookingPolicy, bK as LimitRebookingPolicy, a0 as ListAddOnGroupsByServiceIdOptions, fe as ListAddOnGroupsByServiceIdRequest, a1 as ListAddOnGroupsByServiceIdResponse, eW as Locale, cu as Location, au as LocationType, ai as LocationTypeEnumLocationType, fw as LocationTypeEnumLocationTypeWithLiterals, fI as LocationTypeWithLiterals, dq as MaskedService, a_ as Media, a$ as MediaItem, b0 as MediaItemItemOneOf, d2 as MessageEnvelope, aK as MissingValues, fY as MissingValuesWithLiterals, aP as Mode, g1 as ModeWithLiterals, b7 as Money, eE as MoveToNewLocationsOptions, cT as MultiServiceBookingInfo, as as MultiServiceBookingType, fG as MultiServiceBookingTypeWithLiterals, f1 as Multilingual, cj as MultipleParticipants, dU as NestedAggregation, dS as NestedAggregationItem, dT as NestedAggregationItemKindOneOf, e0 as NestedAggregationResults, e1 as NestedAggregationResultsResultOneOf, aM as NestedAggregationType, f_ as NestedAggregationTypeWithLiterals, ea as NestedResultValue, eb as NestedResultValueResultOneOf, eg as NestedResults, e5 as NestedValueAggregationResult, bh as OnlineBooking, bX as OvernightTimes, eR as Page, dB as Paging, dE as PagingMetadataV2, cL as ParticipantChoices, cH as ParticipantNotification, bz as ParticipantsPolicy, cR as ParticipantsRange, b4 as Payment, be as PaymentOptions, b5 as PaymentRateOneOf, aA as PaymentStatus, fO as PaymentStatusWithLiterals, cv as PhoneCall, aX as PlacementType, g9 as PlacementTypeWithLiterals, aC as Platform, fQ as PlatformWithLiterals, bs as PolicyDescription, aj as PricingPlanOutcome, fx as PricingPlanOutcomeWithLiterals, bL as PricingPlanRefundPolicy, eG as PricingPlanSelection, eU as Properties, f7 as PropertiesChange, bN as ProrationPolicy, r as QueryBookingFormsApplicationErrors, p as QueryBookingFormsOptions, en as QueryBookingFormsRequest, q as QueryBookingFormsResponse, ey as QueryCategoriesFilter, w as QueryCategoriesOptions, ex as QueryCategoriesRequest, x as QueryCategoriesResponse, et as QueryLocationsFilter, u as QueryLocationsOptions, es as QueryLocationsRequest, v as QueryLocationsResponse, ek as QueryPoliciesRequest, Q as QueryPoliciesResponse, ez as QueryServicesMultiLanguageRequest, eA as QueryServicesMultiLanguageResponse, a9 as QueryServicesOptions, dx as QueryServicesRequest, dD as QueryServicesResponse, dy as QueryV2, dz as QueryV2PagingMethodOneOf, dP as RangeAggregation, d$ as RangeAggregationResult, dL as RangeBucket, e7 as RangeResult, e3 as RangeResults, bH as RankingOptions, ak as RankingOrder, fy as RankingOrderWithLiterals, ad as RateType, fr as RateTypeWithLiterals, bM as RefundWindow, eC as RemovedLocationSessionsAction, eD as RemovedLocationSessionsActionActionOptionsOneOf, aQ as RequestedFields, g2 as RequestedFieldsWithLiterals, aw as RequestedGender, cx as RequestedGenderValue, fK as RequestedGenderWithLiterals, bx as ReschedulePolicy, aZ as ResolutionMethod, gb as ResolutionMethodWithLiterals, c7 as ResourceDetails, c2 as ResourceGroup, c3 as ResourceIds, c8 as ResourceInfo, cw as ResourceSelection, at as ResourceTransparency, fH as ResourceTransparencyWithLiterals, c6 as ResourceType, bA as ResourcesPolicy, c_ as RestoreInfo, ec as Results, bE as SaveCreditCardPolicy, dQ as ScalarAggregation, e9 as ScalarDateResult, e8 as ScalarResult, aL as ScalarType, fZ as ScalarTypeWithLiterals, bO as Schedule, dX as SearchDetails, dG as SearchServicesRequest, aB as SelectedPaymentOption, fP as SelectedPaymentOptionWithLiterals, av as SelectionMethod, fJ as SelectionMethodWithLiterals, cc as SeoSchema, S as Service, dk as ServiceAvailabilityConstraints, cN as ServiceChoice, cO as ServiceChoiceChoiceOneOf, cM as ServiceChoices, a5 as ServiceCreatedEnvelope, a6 as ServiceDeletedEnvelope, a8 as ServiceQuery, fn as ServiceQuerySpec, c4 as ServiceResource, c5 as ServiceResourceSelectionOneOf, fo as ServiceSearchSpec, ac as ServiceType, fq as ServiceTypeWithLiterals, a7 as ServiceUpdatedEnvelope, ab as ServicesQueryBuilder, fm as ServicesQueryResult, cl as ServicesUrlsChanged, a4 as SetAddOnsForGroupApplicationErrors, a2 as SetAddOnsForGroupOptions, fi as SetAddOnsForGroupRequest, a3 as SetAddOnsForGroupResponse, L as SetCustomSlugApplicationErrors, ck as SetCustomSlugEvent, J as SetCustomSlugOptions, eJ as SetCustomSlugRequest, K as SetCustomSlugResponse, M as SetCustomSlugValidationErrors, y as SetServiceLocationsOptions, eB as SetServiceLocationsRequest, z as SetServiceLocationsResponse, cf as Settings, f9 as SiteCloned, f8 as SiteCreated, eT as SitePropertiesEvent, eS as SitePropertiesNotification, c9 as Slug, aJ as SortDirection, fX as SortDirectionWithLiterals, aH as SortOrder, fV as SortOrderWithLiterals, aI as SortType, fW as SortTypeWithLiterals, dA as Sorting, al as SortingMethodType, fz as SortingMethodTypeWithLiterals, f0 as SpecialHourPeriod, dl as SplitInterval, b_ as StaffMediaItem, b$ as StaffMediaItemItemOneOf, bZ as StaffMember, c1 as StaffMemberDetails, bF as StaffSortingPolicy, bG as StaffSortingPolicyOptionsOneOf, aU as Status, g6 as StatusWithLiterals, cC as StreetAddress, cE as Subdivision, bc as SubscriptionPayment, f2 as SupportedLanguage, ce as Tag, ch as TaxableAddress, ar as TaxableAddressType, fF as TaxableAddressTypeWithLiterals, bV as TimeBoundaries, bW as TimeBoundariesOptionsOneOf, ap as TimeBoundariesType, fD as TimeBoundariesTypeWithLiterals, e$ as TimePeriod, am as Timing, fA as TimingWithLiterals, f4 as Translation, ca as URLs, ao as UnitType, fC as UnitTypeWithLiterals, $ as UpdateAddOnGroupApplicationErrors, Z as UpdateAddOnGroupOptions, fd as UpdateAddOnGroupRequest, _ as UpdateAddOnGroupResponse, U as UpdateService, dm as UpdateServiceRequest, dn as UpdateServiceResponse, c as UpdateServiceValidationErrors, eP as UserDomainInfoChangedEvent, b1 as V2Category, bQ as V2Duration, bR as V2DurationRange, bS as V2DurationRangeConfigOneOf, bj as V2Location, bk as V2LocationOptionsOneOf, dt as V2ParticipantNotification, ci as V2PhoneCall, aG as V2RequestedFields, fU as V2RequestedFieldsWithLiterals, eX as V4Address, d8 as ValidateServiceRequest, d9 as ValidateServiceResponse, V as ValidateSlugOptions, eK as ValidateSlugRequest, N as ValidateSlugResponse, dN as ValueAggregation, dO as ValueAggregationOptionsOneOf, d_ as ValueAggregationResult, e6 as ValueResult, e2 as ValueResults, ay as ValueType, fM as ValueTypeWithLiterals, bb as VariedPayment, by as WaitlistPolicy, aF as WebhookIdentityType, fT as WebhookIdentityTypeWithLiterals, bY as WorkingHours, c0 as WorkingHoursLocationCoverage, aq as WorkingHoursMode, fE as WorkingHoursModeWithLiterals, cV as ZonedDate, gi as bulkCreateServices, go as bulkDeleteServices, gp as bulkDeleteServicesByFilter, gl as bulkUpdateServices, gm as bulkUpdateServicesByFilter, gB as cloneService, gt as countServices, gC as createAddOnGroup, gh as createService, gD as deleteAddOnGroup, gn as deleteService, gy as disablePricingPlansForService, gx as enablePricingPlansForService, gj as getService, gF as listAddOnGroupsByServiceId, ge as onServiceCreated, gf as onServiceDeleted, gg as onServiceUpdated, gs as queryBookingForms, gv as queryCategories, gu as queryLocations, gr as queryPolicies, gq as queryServices, gG as setAddOnsForGroup, gz as setCustomSlug, gw as setServiceLocations, aa as typedQueryServices, gE as updateAddOnGroup, gk as updateService, fp as utils, gA as validateSlug } from './bookings-services-v2-service-services.universal-CsZcM96S.js';
|
|
3
3
|
import '@wix/sdk-types';
|
|
4
4
|
|
|
5
5
|
/** @hidden */
|
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
import { d6 as CreateServiceRequest$1, d7 as CreateServiceResponse$1, db as BulkCreateServicesRequest$1, a as BulkCreateServicesResponse$1, dg as GetServiceRequest$1, dh as GetServiceResponse$1, dm as UpdateServiceRequest$1, dn as UpdateServiceResponse$1, dp as BulkUpdateServicesRequest$1, e as BulkUpdateServicesResponse$1, dr as BulkUpdateServicesByFilterRequest$1, h as BulkUpdateServicesByFilterResponse$1, ds as DeleteServiceRequest$1, du as DeleteServiceResponse$1, dv as BulkDeleteServicesRequest$1, j as BulkDeleteServicesResponse$1, dw as BulkDeleteServicesByFilterRequest$1, l as BulkDeleteServicesByFilterResponse$1, dx as QueryServicesRequest$1, dD as QueryServicesResponse$1, dG as SearchServicesRequest$1, n as SearchServicesResponse$1, ek as QueryPoliciesRequest$1, Q as QueryPoliciesResponse$1, en as QueryBookingFormsRequest$1, q as QueryBookingFormsResponse$1, er as CountServicesRequest$1, t as CountServicesResponse$1, es as QueryLocationsRequest$1, v as QueryLocationsResponse$1, ex as QueryCategoriesRequest$1, x as QueryCategoriesResponse$1, eB as SetServiceLocationsRequest$1, z as SetServiceLocationsResponse$1, eF as EnablePricingPlansForServiceRequest$1, E as EnablePricingPlansForServiceResponse$1, eI as DisablePricingPlansForServiceRequest$1, H as DisablePricingPlansForServiceResponse$1, eJ as SetCustomSlugRequest$1, K as SetCustomSlugResponse$1, eK as ValidateSlugRequest$1, N as ValidateSlugResponse$1, eL as CloneServiceRequest$1, O as CloneServiceResponse$1, fa as CreateAddOnGroupRequest$1, T as CreateAddOnGroupResponse$1, fb as DeleteAddOnGroupRequest$1, fc as DeleteAddOnGroupResponse$1, fd as UpdateAddOnGroupRequest$1, _ as UpdateAddOnGroupResponse$1, fe as ListAddOnGroupsByServiceIdRequest$1, a1 as ListAddOnGroupsByServiceIdResponse$1, fi as SetAddOnsForGroupRequest$1, a3 as SetAddOnsForGroupResponse$1 } from './bookings-services-v2-service-services.universal-
|
|
1
|
+
import { d6 as CreateServiceRequest$1, d7 as CreateServiceResponse$1, db as BulkCreateServicesRequest$1, a as BulkCreateServicesResponse$1, dg as GetServiceRequest$1, dh as GetServiceResponse$1, dm as UpdateServiceRequest$1, dn as UpdateServiceResponse$1, dp as BulkUpdateServicesRequest$1, e as BulkUpdateServicesResponse$1, dr as BulkUpdateServicesByFilterRequest$1, h as BulkUpdateServicesByFilterResponse$1, ds as DeleteServiceRequest$1, du as DeleteServiceResponse$1, dv as BulkDeleteServicesRequest$1, j as BulkDeleteServicesResponse$1, dw as BulkDeleteServicesByFilterRequest$1, l as BulkDeleteServicesByFilterResponse$1, dx as QueryServicesRequest$1, dD as QueryServicesResponse$1, dG as SearchServicesRequest$1, n as SearchServicesResponse$1, ek as QueryPoliciesRequest$1, Q as QueryPoliciesResponse$1, en as QueryBookingFormsRequest$1, q as QueryBookingFormsResponse$1, er as CountServicesRequest$1, t as CountServicesResponse$1, es as QueryLocationsRequest$1, v as QueryLocationsResponse$1, ex as QueryCategoriesRequest$1, x as QueryCategoriesResponse$1, eB as SetServiceLocationsRequest$1, z as SetServiceLocationsResponse$1, eF as EnablePricingPlansForServiceRequest$1, E as EnablePricingPlansForServiceResponse$1, eI as DisablePricingPlansForServiceRequest$1, H as DisablePricingPlansForServiceResponse$1, eJ as SetCustomSlugRequest$1, K as SetCustomSlugResponse$1, eK as ValidateSlugRequest$1, N as ValidateSlugResponse$1, eL as CloneServiceRequest$1, O as CloneServiceResponse$1, fa as CreateAddOnGroupRequest$1, T as CreateAddOnGroupResponse$1, fb as DeleteAddOnGroupRequest$1, fc as DeleteAddOnGroupResponse$1, fd as UpdateAddOnGroupRequest$1, _ as UpdateAddOnGroupResponse$1, fe as ListAddOnGroupsByServiceIdRequest$1, a1 as ListAddOnGroupsByServiceIdResponse$1, fi as SetAddOnsForGroupRequest$1, a3 as SetAddOnsForGroupResponse$1 } from './bookings-services-v2-service-services.universal-CsZcM96S.js';
|
|
2
2
|
import '@wix/sdk-types';
|
|
3
3
|
|
|
4
4
|
/** The `service` object represents an offering that a business provides to its customers. */
|
|
@@ -416,7 +416,6 @@ interface Payment extends PaymentRateOneOf {
|
|
|
416
416
|
* To keep a fee, including when you rename it, send it with its existing `id`.
|
|
417
417
|
*
|
|
418
418
|
* Each fee's `amount.currency` is set to the service currency.
|
|
419
|
-
* @internal
|
|
420
419
|
* @maxSize 5
|
|
421
420
|
*/
|
|
422
421
|
additionalFees?: AdditionalFee[];
|
|
@@ -1746,32 +1745,22 @@ interface DailyConfig {
|
|
|
1746
1745
|
maxDurationInDays?: number;
|
|
1747
1746
|
/**
|
|
1748
1747
|
* Times of day at which each bookable day starts and ends.
|
|
1749
|
-
* For example, check-in at 15:00 and check-out at 11:00 for a vacation house.
|
|
1748
|
+
* For example, check-in at `15:00` and check-out at `11:00` for a vacation house.
|
|
1750
1749
|
*
|
|
1751
1750
|
* When not set, each bookable day runs from midnight to midnight, the same as `FULL_DAY`.
|
|
1752
|
-
* @internal
|
|
1753
1751
|
*/
|
|
1754
1752
|
timeBoundaries?: TimeBoundaries;
|
|
1755
1753
|
}
|
|
1756
1754
|
/** Times of day at which each bookable day of a daily service starts and ends. */
|
|
1757
1755
|
interface TimeBoundaries extends TimeBoundariesOptionsOneOf {
|
|
1758
|
-
/**
|
|
1759
|
-
* Check-in and check-out times, applied to every day of the week. Required when `type` is `OVERNIGHT`.
|
|
1760
|
-
* @internal
|
|
1761
|
-
*/
|
|
1756
|
+
/** Check-in and check-out times, applied to every day of the week. Required when `type` is `OVERNIGHT`. */
|
|
1762
1757
|
overnightTimes?: OvernightTimes;
|
|
1763
|
-
/**
|
|
1764
|
-
* How the start and end times of each bookable day are set.
|
|
1765
|
-
* @internal
|
|
1766
|
-
*/
|
|
1758
|
+
/** How the start and end times of each bookable day are set. */
|
|
1767
1759
|
type?: TimeBoundariesTypeWithLiterals;
|
|
1768
1760
|
}
|
|
1769
1761
|
/** @oneof */
|
|
1770
1762
|
interface TimeBoundariesOptionsOneOf {
|
|
1771
|
-
/**
|
|
1772
|
-
* Check-in and check-out times, applied to every day of the week. Required when `type` is `OVERNIGHT`.
|
|
1773
|
-
* @internal
|
|
1774
|
-
*/
|
|
1763
|
+
/** Check-in and check-out times, applied to every day of the week. Required when `type` is `OVERNIGHT`. */
|
|
1775
1764
|
overnightTimes?: OvernightTimes;
|
|
1776
1765
|
}
|
|
1777
1766
|
/** How the start and end times of each bookable day are set. */
|
|
@@ -1781,15 +1770,12 @@ declare enum TimeBoundariesType {
|
|
|
1781
1770
|
/**
|
|
1782
1771
|
* Each booking checks in at `overnightTimes.checkInTime` and checks out on a later day
|
|
1783
1772
|
* at `overnightTimes.checkOutTime`. Each day counts as 1 night, from the check-in time to the check-out time on the next day.
|
|
1784
|
-
*
|
|
1785
|
-
* Limited to 1 resource per service.
|
|
1786
1773
|
* @documentationMaturity preview
|
|
1787
|
-
* @internal
|
|
1788
1774
|
*/
|
|
1789
1775
|
OVERNIGHT = "OVERNIGHT"
|
|
1790
1776
|
}
|
|
1791
1777
|
/** @enumType */
|
|
1792
|
-
type TimeBoundariesTypeWithLiterals = TimeBoundariesType | 'FULL_DAY';
|
|
1778
|
+
type TimeBoundariesTypeWithLiterals = TimeBoundariesType | 'FULL_DAY' | 'OVERNIGHT';
|
|
1793
1779
|
/**
|
|
1794
1780
|
* Check-in and check-out times of a daily service whose bookings run overnight.
|
|
1795
1781
|
*
|
|
@@ -1800,14 +1786,12 @@ interface OvernightTimes {
|
|
|
1800
1786
|
/**
|
|
1801
1787
|
* Check-in time in `HH:mm` format, on the hour or half hour.
|
|
1802
1788
|
* Evaluated in the business time zone. For example, `15:00`.
|
|
1803
|
-
* @internal
|
|
1804
1789
|
* @format LOCAL_TIME
|
|
1805
1790
|
*/
|
|
1806
1791
|
checkInTime?: string;
|
|
1807
1792
|
/**
|
|
1808
1793
|
* Check-out time on the day after the last booked night, in `HH:mm` format, on the hour or half hour.
|
|
1809
1794
|
* Evaluated in the business time zone. For example, `11:00`.
|
|
1810
|
-
* @internal
|
|
1811
1795
|
* @format LOCAL_TIME
|
|
1812
1796
|
*/
|
|
1813
1797
|
checkOutTime?: string;
|