@wix/auto_sdk_bookings_services 1.0.284 → 1.0.285
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-DtoRUDhQ.d.ts → bookings-services-v2-service-services.universal-x93KVD3o.d.ts} +25 -25
- package/build/cjs/index.d.ts +27 -27
- 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 +1 -1
- package/build/es/{bookings-services-v2-service-services.universal-DtoRUDhQ.d.mts → bookings-services-v2-service-services.universal-x93KVD3o.d.mts} +25 -25
- package/build/es/index.d.mts +27 -27
- 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 +1 -1
- package/build/internal/cjs/{bookings-services-v2-service-services.universal-CIJg59AV.d.ts → bookings-services-v2-service-services.universal-BMl4hjIJ.d.ts} +25 -25
- package/build/internal/cjs/index.d.ts +27 -27
- package/build/internal/cjs/index.typings.d.ts +2 -2
- package/build/internal/cjs/meta.d.ts +1 -1
- package/build/internal/es/{bookings-services-v2-service-services.universal-CIJg59AV.d.mts → bookings-services-v2-service-services.universal-BMl4hjIJ.d.mts} +25 -25
- package/build/internal/es/index.d.mts +27 -27
- package/build/internal/es/index.typings.d.mts +2 -2
- package/build/internal/es/meta.d.mts +1 -1
- package/package.json +2 -2
package/build/cjs/index.d.ts
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
import { HttpClient, NonNullablePaths, EventDefinition, MaybeContext, BuildRESTFunction, BuildEventDefinition } from '@wix/sdk-types';
|
|
2
|
-
import { S as Service, C as CreateServiceValidationErrors, B as BulkCreateServicesOptions, a as BulkCreateServicesResponse, G as GetServiceOptions, U as UpdateService, b as UpdateServiceValidationErrors, c as BulkUpdateServicesOptions, d as BulkUpdateServicesResponse, e as BulkUpdateServicesByFilterOptions, f as BulkUpdateServicesByFilterResponse, D as DeleteServiceOptions, g as BulkDeleteServicesOptions, h as BulkDeleteServicesResponse, i as BulkDeleteServicesByFilterOptions, j as BulkDeleteServicesByFilterResponse, k as ServiceSearch, l as SearchServicesResponse, m as CursorQuery, Q as QueryPoliciesResponse, n as QueryBookingFormsOptions, o as QueryBookingFormsResponse, p as QueryBookingFormsApplicationErrors, q as CountServicesOptions, r as CountServicesResponse, s as QueryLocationsOptions, t as QueryLocationsResponse, u as QueryCategoriesOptions, v as QueryCategoriesResponse, w as SetServiceLocationsOptions, x as SetServiceLocationsResponse, E as EnablePricingPlansForServiceResponse, y as EnablePricingPlansForServiceApplicationErrors, z as DisablePricingPlansForServiceOptions, A as DisablePricingPlansForServiceResponse, F as DisablePricingPlansForServiceApplicationErrors, H as SetCustomSlugOptions, I as SetCustomSlugResponse, J as SetCustomSlugApplicationErrors, K as SetCustomSlugValidationErrors, V as ValidateSlugOptions, L as ValidateSlugResponse, M as CloneServiceResponse, N as AddOnGroup, O as CreateAddOnGroupOptions, P as CreateAddOnGroupResponse, R as CreateAddOnGroupApplicationErrors, T as DeleteAddOnGroupOptions, W as DeleteAddOnGroupApplicationErrors, X as UpdateAddOnGroupOptions, Y as UpdateAddOnGroupResponse, Z as UpdateAddOnGroupApplicationErrors, _ as ListAddOnGroupsByServiceIdOptions, $ as ListAddOnGroupsByServiceIdResponse, a0 as SetAddOnsForGroupOptions, a1 as SetAddOnsForGroupResponse, a2 as SetAddOnsForGroupApplicationErrors, a3 as ServiceCreatedEnvelope, a4 as ServiceDeletedEnvelope, a5 as ServiceUpdatedEnvelope, a6 as ServiceQuery, a7 as QueryServicesOptions, a8 as typedQueryServices, a9 as ServicesQueryBuilder } from './bookings-services-v2-service-services.universal-
|
|
3
|
-
export { cS as AccountInfo, f6 as AccountInfoMetadata, aM as Action, cO as ActionEvent, fN as ActionWithLiterals, ay as Actor, fz as ActorWithLiterals, f0 as AddOn, f1 as AddOnAddOnInfoOneOf, c4 as AddOnDetails, f2 as AddOnGroupDetail, ae as AddOnPaymentOptions, ff as AddOnPaymentOptionsWithLiterals, cn as Address, eJ as AddressHint, cq as AddressLocation, co as AddressStreetOneOf, du as Aggregation, dK as AggregationData, dv as AggregationKindOneOf, e3 as AggregationResults, e4 as AggregationResultsResultOneOf, e2 as AggregationResultsScalarDateResult, dR as AggregationResultsScalarResult, aJ as AggregationType, fK as AggregationTypeWithLiterals, c$ as ApplicationError, bG as AvailabilityConstraints, f4 as BaseEventMetadata, bp as BookAfterStartPolicy, cG as BookedAddOn, cd as BookedEntity, ce as BookedEntityItemOneOf, cg as BookedResource, cl as BookedSchedule, cf as BookedSlot, cb as Booking, e9 as BookingForm, cc as BookingParticipantsInfoOneOf, bl as BookingPolicy, e7 as BookingPolicyWithServices, ct as BookingSource, au as BookingStatus, fv as BookingStatusWithLiterals, d0 as BulkActionMetadata, cY as BulkCreateServicesRequest, dg as BulkDeleteServicesByFilterRequest, df as BulkDeleteServicesRequest, cZ as BulkServiceResult, db as BulkUpdateServicesByFilterRequest, d9 as BulkUpdateServicesRequest, bj as BusinessLocationOptions, ef as BusinessLocations, eL as BusinessSchedule, bv as CancellationFeePolicy, bq as CancellationPolicy, bw as CancellationWindow, bx as CancellationWindowFeeOneOf, eG as Categories, ey as Category, ex as CategoryNotification, eS as ChangeContext, eT as ChangeContextPayloadOneOf, aO as CloneErrors, fP as CloneErrorsWithLiterals, ew as CloneServiceRequest, bf as CommonAddress, bi as CommonAddressLocation, bg as CommonAddressStreetOneOf, cv as CommonIdentificationData, cw as CommonIdentificationDataIdOneOf, fW as CommonQueryWithEntityContext, fX as CommonSearchWithEntityContext, bh as CommonStreetAddress, aj as CompletionRequirement, fk as CompletionRequirementWithLiterals, bc as Conferencing, eb as ConnectedService, eQ as ConsentPolicy, cm as ContactDetails, ec as CountServicesRequest, eX as CreateAddOnGroupRequest, cT as CreateServiceRequest, cU as CreateServiceResponse, aR as CrudType, fS as CrudTypeWithLiterals, dm as CursorPaging, dJ as CursorPagingMetadata, e6 as CursorQueryPagingMethodOneOf, ds as CursorSearch, dt as CursorSearchPagingMethodOneOf, dq as Cursors, cs as CustomFormField, bk as CustomLocationOptions, eg as CustomLocations, bC as CustomOptions, b5 as CustomPayment, eh as CustomerLocations, bL as DailyConfig, dC as DateHistogramAggregation, d_ as DateHistogramResult, e0 as DateHistogramResults, cD as DateTimeRule, aT as DayOfWeek, fU as DayOfWeekWithLiterals, eY as DeleteAddOnGroupRequest, eZ as DeleteAddOnGroupResponse, dc as DeleteServiceRequest, de as DeleteServiceResponse, b3 as DepositDetails, b4 as DepositDetailsValueOneOf, et as DisablePricingPlansForServiceRequest, ba as DiscountInfo, cI as DomainEvent, cJ as DomainEventBodyOneOf, c9 as DummyRequest, ca as DummyResponse, cC as Duration, bI as DurationRange, bJ as DurationRangeConfigOneOf, as as DurationUnitType, ft as DurationUnitTypeWithLiterals, ez as Empty, eq as EnablePricingPlansForServiceRequest, cK as EntityCreatedEvent, cN as EntityDeletedEvent, cM as EntityUpdatedEvent, aQ as Event, f5 as EventMetadata, fR as EventWithLiterals, b$ as ExtendedFields, cX as FieldViolation, ad as FirstChargeDateType, fe as FirstChargeDateTypeWithLiterals, b1 as FixedPayment, cx as FlowControlSettings, aZ as Form, ea as FormDetails, a_ as FormSettings, ac as FrequencyType, fd as FrequencyTypeWithLiterals, b8 as FullUpfrontPayment, eK as GeoCoordinates, d3 as GetServiceAvailabilityConstraintsRequest, d4 as GetServiceAvailabilityConstraintsResponse, d1 as GetServiceRequest, d2 as GetServiceResponse, dG as GroupByAggregation, dH as GroupByAggregationKindOneOf, d$ as GroupByValueResults, bK as HourlyConfig, eB as HtmlSitePublished, cQ as IdentificationData, cR as IdentificationDataIdOneOf, az as IdentityType, fA as IdentityTypeWithLiterals, dx as IncludeMissingValuesOptions, bD as IntakeFormPolicy, aI as Interval, fJ as IntervalWithLiterals, es as InvalidPricingPlan, aN as InvalidSlugError, fO as InvalidSlugErrorWithLiterals, c_ as ItemMetadata, c1 as Keyword, bn as LimitEarlyBookingPolicy, bo as LimitLateBookingPolicy, bE as LimitRebookingPolicy, e$ as ListAddOnGroupsByServiceIdRequest, eH as Locale, ch as Location, ap as LocationType, af as LocationTypeEnumLocationType, fg as LocationTypeEnumLocationTypeWithLiterals, fq as LocationTypeWithLiterals, da as MaskedService, aV as Media, aW as MediaItem, aX as MediaItemItemOneOf, cP as MessageEnvelope, aF as MissingValues, fG as MissingValuesWithLiterals, aK as Mode, fL as ModeWithLiterals, b2 as Money, ep as MoveToNewLocationsOptions, cF as MultiServiceBookingInfo, an as MultiServiceBookingType, fo as MultiServiceBookingTypeWithLiterals, eO as Multilingual, dF as NestedAggregation, dD as NestedAggregationItem, dE as NestedAggregationItemKindOneOf, dN as NestedAggregationResults, dO as NestedAggregationResultsResultOneOf, aH as NestedAggregationType, fI as NestedAggregationTypeWithLiterals, dX as NestedResultValue, dY as NestedResultValueResultOneOf, e1 as NestedResults, dS as NestedValueAggregationResult, bb as OnlineBooking, eC as Page, dl as Paging, dp as PagingMetadataV2, cy as ParticipantChoices, cu as ParticipantNotification, bt as ParticipantsPolicy, cE as ParticipantsRange, a$ as Payment, b9 as PaymentOptions, b0 as PaymentRateOneOf, av as PaymentStatus, fw as PaymentStatusWithLiterals, ci as PhoneCall, aS as PlacementType, fT as PlacementTypeWithLiterals, ax as Platform, fy as PlatformWithLiterals, bm as PolicyDescription, er as PricingPlanSelection, eF as Properties, eU as PropertiesChange, e8 as QueryBookingFormsRequest, ej as QueryCategoriesFilter, ei as QueryCategoriesRequest, ee as QueryLocationsFilter, ed as QueryLocationsRequest, e5 as QueryPoliciesRequest, ek as QueryServicesMultiLanguageRequest, el as QueryServicesMultiLanguageResponse, dh as QueryServicesRequest, dn as QueryServicesResponse, di as QueryV2, dj as QueryV2PagingMethodOneOf, dA as RangeAggregation, dM as RangeAggregationResult, dw as RangeBucket, dU as RangeResult, dQ as RangeResults, bB as RankingOptions, ag as RankingOrder, fh as RankingOrderWithLiterals, ab as RateType, fc as RateTypeWithLiterals, en as RemovedLocationSessionsAction, eo as RemovedLocationSessionsActionActionOptionsOneOf, aL as RequestedFields, fM as RequestedFieldsWithLiterals, ar as RequestedGender, ck as RequestedGenderValue, fs as RequestedGenderWithLiterals, br as ReschedulePolicy, aU as ResolutionMethod, fV as ResolutionMethodWithLiterals, bX as ResourceDetails, bS as ResourceGroup, bT as ResourceIds, bY as ResourceInfo, cj as ResourceSelection, ao as ResourceTransparency, fp as ResourceTransparencyWithLiterals, bW as ResourceType, bu as ResourcesPolicy, cL as RestoreInfo, dZ as Results, by as SaveCreditCardPolicy, dB as ScalarAggregation, dW as ScalarDateResult, dV as ScalarResult, aG as ScalarType, fH as ScalarTypeWithLiterals, bF as Schedule, dI as SearchDetails, dr as SearchServicesRequest, aw as SelectedPaymentOption, fx as SelectedPaymentOptionWithLiterals, aq as SelectionMethod, fr as SelectionMethodWithLiterals, c0 as SeoSchema, d5 as ServiceAvailabilityConstraints, cA as ServiceChoice, cB as ServiceChoiceChoiceOneOf, cz as ServiceChoices, f8 as ServiceQuerySpec, bU as ServiceResource, bV as ServiceResourceSelectionOneOf, f9 as ServiceSearchSpec, aa as ServiceType, fb as ServiceTypeWithLiterals, f7 as ServicesQueryResult, c8 as ServicesUrlsChanged, f3 as SetAddOnsForGroupRequest, c7 as SetCustomSlugEvent, eu as SetCustomSlugRequest, em as SetServiceLocationsRequest, c3 as Settings, eW as SiteCloned, eV as SiteCreated, eE as SitePropertiesEvent, eD as SitePropertiesNotification, bZ as Slug, aE as SortDirection, fF as SortDirectionWithLiterals, aC as SortOrder, fD as SortOrderWithLiterals, aD as SortType, fE as SortTypeWithLiterals, dk as Sorting, ah as SortingMethodType, fi as SortingMethodTypeWithLiterals, eN as SpecialHourPeriod, d6 as SplitInterval, bO as StaffMediaItem, bP as StaffMediaItemItemOneOf, bN as StaffMember, bR as StaffMemberDetails, bz as StaffSortingPolicy, bA as StaffSortingPolicyOptionsOneOf, aP as Status, fQ as StatusWithLiterals, cp as StreetAddress, cr as Subdivision, b7 as SubscriptionPayment, eP as SupportedLanguage, c2 as Tag, c5 as TaxableAddress, am as TaxableAddressType, fn as TaxableAddressTypeWithLiterals, eM as TimePeriod, ai as Timing, fj as TimingWithLiterals, eR as Translation, b_ as URLs, ak as UnitType, fl as UnitTypeWithLiterals, e_ as UpdateAddOnGroupRequest, d7 as UpdateServiceRequest, d8 as UpdateServiceResponse, eA as UserDomainInfoChangedEvent, aY as V2Category, bH as V2Duration, bd as V2Location, be as V2LocationOptionsOneOf, dd as V2ParticipantNotification, c6 as V2PhoneCall, aB as V2RequestedFields, fC as V2RequestedFieldsWithLiterals, eI as V4Address, cV as ValidateServiceRequest, cW as ValidateServiceResponse, ev as ValidateSlugRequest, dy as ValueAggregation, dz as ValueAggregationOptionsOneOf, dL as ValueAggregationResult, dT as ValueResult, dP as ValueResults, at as ValueType, fu as ValueTypeWithLiterals, b6 as VariedPayment, bs as WaitlistPolicy, aA as WebhookIdentityType, fB as WebhookIdentityTypeWithLiterals, bM as WorkingHours, bQ as WorkingHoursLocationCoverage, al as WorkingHoursMode, fm as WorkingHoursModeWithLiterals, cH as ZonedDate, fa as utils } from './bookings-services-v2-service-services.universal-
|
|
2
|
+
import { S as Service, C as CreateServiceValidationErrors, B as BulkCreateServicesOptions, a as BulkCreateServicesResponse, G as GetServiceOptions, U as UpdateService, b as UpdateServiceValidationErrors, c as BulkUpdateServicesOptions, d as BulkUpdateServicesResponse, e as BulkUpdateServicesByFilterOptions, f as BulkUpdateServicesByFilterResponse, D as DeleteServiceOptions, g as BulkDeleteServicesOptions, h as BulkDeleteServicesResponse, i as BulkDeleteServicesByFilterOptions, j as BulkDeleteServicesByFilterResponse, k as ServiceSearch, l as SearchServicesResponse, m as CursorQuery, Q as QueryPoliciesResponse, n as QueryBookingFormsOptions, o as QueryBookingFormsResponse, p as QueryBookingFormsApplicationErrors, q as CountServicesOptions, r as CountServicesResponse, s as QueryLocationsOptions, t as QueryLocationsResponse, u as QueryCategoriesOptions, v as QueryCategoriesResponse, w as SetServiceLocationsOptions, x as SetServiceLocationsResponse, E as EnablePricingPlansForServiceResponse, y as EnablePricingPlansForServiceApplicationErrors, z as DisablePricingPlansForServiceOptions, A as DisablePricingPlansForServiceResponse, F as DisablePricingPlansForServiceApplicationErrors, H as SetCustomSlugOptions, I as SetCustomSlugResponse, J as SetCustomSlugApplicationErrors, K as SetCustomSlugValidationErrors, V as ValidateSlugOptions, L as ValidateSlugResponse, M as CloneServiceResponse, N as AddOnGroup, O as CreateAddOnGroupOptions, P as CreateAddOnGroupResponse, R as CreateAddOnGroupApplicationErrors, T as DeleteAddOnGroupOptions, W as DeleteAddOnGroupApplicationErrors, X as UpdateAddOnGroupOptions, Y as UpdateAddOnGroupResponse, Z as UpdateAddOnGroupApplicationErrors, _ as ListAddOnGroupsByServiceIdOptions, $ as ListAddOnGroupsByServiceIdResponse, a0 as SetAddOnsForGroupOptions, a1 as SetAddOnsForGroupResponse, a2 as SetAddOnsForGroupApplicationErrors, a3 as ServiceCreatedEnvelope, a4 as ServiceDeletedEnvelope, a5 as ServiceUpdatedEnvelope, a6 as ServiceQuery, a7 as QueryServicesOptions, a8 as typedQueryServices, a9 as ServicesQueryBuilder } from './bookings-services-v2-service-services.universal-x93KVD3o.js';
|
|
3
|
+
export { cS as AccountInfo, f6 as AccountInfoMetadata, aM as Action, cO as ActionEvent, fN as ActionWithLiterals, ay as Actor, fz as ActorWithLiterals, f0 as AddOn, f1 as AddOnAddOnInfoOneOf, c4 as AddOnDetails, f2 as AddOnGroupDetail, ae as AddOnPaymentOptions, ff as AddOnPaymentOptionsWithLiterals, cn as Address, eJ as AddressHint, cq as AddressLocation, co as AddressStreetOneOf, du as Aggregation, dK as AggregationData, dv as AggregationKindOneOf, e3 as AggregationResults, e4 as AggregationResultsResultOneOf, e2 as AggregationResultsScalarDateResult, dR as AggregationResultsScalarResult, aJ as AggregationType, fK as AggregationTypeWithLiterals, c$ as ApplicationError, bG as AvailabilityConstraints, f4 as BaseEventMetadata, bp as BookAfterStartPolicy, cG as BookedAddOn, cd as BookedEntity, ce as BookedEntityItemOneOf, cg as BookedResource, cl as BookedSchedule, cf as BookedSlot, cb as Booking, e9 as BookingForm, cc as BookingParticipantsInfoOneOf, bl as BookingPolicy, e7 as BookingPolicyWithServices, ct as BookingSource, au as BookingStatus, fv as BookingStatusWithLiterals, d0 as BulkActionMetadata, cY as BulkCreateServicesRequest, dg as BulkDeleteServicesByFilterRequest, df as BulkDeleteServicesRequest, cZ as BulkServiceResult, db as BulkUpdateServicesByFilterRequest, d9 as BulkUpdateServicesRequest, bj as BusinessLocationOptions, ef as BusinessLocations, eL as BusinessSchedule, bv as CancellationFeePolicy, bq as CancellationPolicy, bw as CancellationWindow, bx as CancellationWindowFeeOneOf, eG as Categories, ey as Category, ex as CategoryNotification, eS as ChangeContext, eT as ChangeContextPayloadOneOf, aO as CloneErrors, fP as CloneErrorsWithLiterals, ew as CloneServiceRequest, bf as CommonAddress, bi as CommonAddressLocation, bg as CommonAddressStreetOneOf, cv as CommonIdentificationData, cw as CommonIdentificationDataIdOneOf, fW as CommonQueryWithEntityContext, fX as CommonSearchWithEntityContext, bh as CommonStreetAddress, aj as CompletionRequirement, fk as CompletionRequirementWithLiterals, bc as Conferencing, eb as ConnectedService, eQ as ConsentPolicy, cm as ContactDetails, ec as CountServicesRequest, eX as CreateAddOnGroupRequest, cT as CreateServiceRequest, cU as CreateServiceResponse, aR as CrudType, fS as CrudTypeWithLiterals, dm as CursorPaging, dJ as CursorPagingMetadata, e6 as CursorQueryPagingMethodOneOf, ds as CursorSearch, dt as CursorSearchPagingMethodOneOf, dq as Cursors, cs as CustomFormField, bk as CustomLocationOptions, eg as CustomLocations, bC as CustomOptions, b5 as CustomPayment, eh as CustomerLocations, bL as DailyConfig, dC as DateHistogramAggregation, d_ as DateHistogramResult, e0 as DateHistogramResults, cD as DateTimeRule, aT as DayOfWeek, fU as DayOfWeekWithLiterals, eY as DeleteAddOnGroupRequest, eZ as DeleteAddOnGroupResponse, dc as DeleteServiceRequest, de as DeleteServiceResponse, b3 as DepositDetails, b4 as DepositDetailsValueOneOf, et as DisablePricingPlansForServiceRequest, ba as DiscountInfo, cI as DomainEvent, cJ as DomainEventBodyOneOf, c9 as DummyRequest, ca as DummyResponse, cC as Duration, bI as DurationRange, bJ as DurationRangeConfigOneOf, as as DurationUnitType, ft as DurationUnitTypeWithLiterals, ez as Empty, eq as EnablePricingPlansForServiceRequest, cK as EntityCreatedEvent, cN as EntityDeletedEvent, cM as EntityUpdatedEvent, aQ as Event, f5 as EventMetadata, fR as EventWithLiterals, b$ as ExtendedFields, cX as FieldViolation, ad as FirstChargeDateType, fe as FirstChargeDateTypeWithLiterals, b1 as FixedPayment, cx as FlowControlSettings, aZ as Form, ea as FormDetails, a_ as FormSettings, ac as FrequencyType, fd as FrequencyTypeWithLiterals, b8 as FullUpfrontPayment, eK as GeoCoordinates, d3 as GetServiceAvailabilityConstraintsRequest, d4 as GetServiceAvailabilityConstraintsResponse, d1 as GetServiceRequest, d2 as GetServiceResponse, dG as GroupByAggregation, dH as GroupByAggregationKindOneOf, d$ as GroupByValueResults, bK as HourlyConfig, eB as HtmlSitePublished, cQ as IdentificationData, cR as IdentificationDataIdOneOf, az as IdentityType, fA as IdentityTypeWithLiterals, dx as IncludeMissingValuesOptions, bD as IntakeFormPolicy, aI as Interval, fJ as IntervalWithLiterals, es as InvalidPricingPlan, aN as InvalidSlugError, fO as InvalidSlugErrorWithLiterals, c_ as ItemMetadata, c1 as Keyword, bn as LimitEarlyBookingPolicy, bo as LimitLateBookingPolicy, bE as LimitRebookingPolicy, e$ as ListAddOnGroupsByServiceIdRequest, eH as Locale, ch as Location, ap as LocationType, af as LocationTypeEnumLocationType, fg as LocationTypeEnumLocationTypeWithLiterals, fq as LocationTypeWithLiterals, da as MaskedService, aV as Media, aW as MediaItem, aX as MediaItemItemOneOf, cP as MessageEnvelope, aF as MissingValues, fG as MissingValuesWithLiterals, aK as Mode, fL as ModeWithLiterals, b2 as Money, ep as MoveToNewLocationsOptions, cF as MultiServiceBookingInfo, an as MultiServiceBookingType, fo as MultiServiceBookingTypeWithLiterals, eO as Multilingual, dF as NestedAggregation, dD as NestedAggregationItem, dE as NestedAggregationItemKindOneOf, dN as NestedAggregationResults, dO as NestedAggregationResultsResultOneOf, aH as NestedAggregationType, fI as NestedAggregationTypeWithLiterals, dX as NestedResultValue, dY as NestedResultValueResultOneOf, e1 as NestedResults, dS as NestedValueAggregationResult, bb as OnlineBooking, eC as Page, dl as Paging, dp as PagingMetadataV2, cy as ParticipantChoices, cu as ParticipantNotification, bt as ParticipantsPolicy, cE as ParticipantsRange, a$ as Payment, b9 as PaymentOptions, b0 as PaymentRateOneOf, av as PaymentStatus, fw as PaymentStatusWithLiterals, ci as PhoneCall, aS as PlacementType, fT as PlacementTypeWithLiterals, ax as Platform, fy as PlatformWithLiterals, bm as PolicyDescription, er as PricingPlanSelection, eF as Properties, eU as PropertiesChange, e8 as QueryBookingFormsRequest, ej as QueryCategoriesFilter, ei as QueryCategoriesRequest, ee as QueryLocationsFilter, ed as QueryLocationsRequest, e5 as QueryPoliciesRequest, ek as QueryServicesMultiLanguageRequest, el as QueryServicesMultiLanguageResponse, dh as QueryServicesRequest, dn as QueryServicesResponse, di as QueryV2, dj as QueryV2PagingMethodOneOf, dA as RangeAggregation, dM as RangeAggregationResult, dw as RangeBucket, dU as RangeResult, dQ as RangeResults, bB as RankingOptions, ag as RankingOrder, fh as RankingOrderWithLiterals, ab as RateType, fc as RateTypeWithLiterals, en as RemovedLocationSessionsAction, eo as RemovedLocationSessionsActionActionOptionsOneOf, aL as RequestedFields, fM as RequestedFieldsWithLiterals, ar as RequestedGender, ck as RequestedGenderValue, fs as RequestedGenderWithLiterals, br as ReschedulePolicy, aU as ResolutionMethod, fV as ResolutionMethodWithLiterals, bX as ResourceDetails, bS as ResourceGroup, bT as ResourceIds, bY as ResourceInfo, cj as ResourceSelection, ao as ResourceTransparency, fp as ResourceTransparencyWithLiterals, bW as ResourceType, bu as ResourcesPolicy, cL as RestoreInfo, dZ as Results, by as SaveCreditCardPolicy, dB as ScalarAggregation, dW as ScalarDateResult, dV as ScalarResult, aG as ScalarType, fH as ScalarTypeWithLiterals, bF as Schedule, dI as SearchDetails, dr as SearchServicesRequest, aw as SelectedPaymentOption, fx as SelectedPaymentOptionWithLiterals, aq as SelectionMethod, fr as SelectionMethodWithLiterals, c0 as SeoSchema, d5 as ServiceAvailabilityConstraints, cA as ServiceChoice, cB as ServiceChoiceChoiceOneOf, cz as ServiceChoices, f8 as ServiceQuerySpec, bU as ServiceResource, bV as ServiceResourceSelectionOneOf, f9 as ServiceSearchSpec, aa as ServiceType, fb as ServiceTypeWithLiterals, f7 as ServicesQueryResult, c8 as ServicesUrlsChanged, f3 as SetAddOnsForGroupRequest, c7 as SetCustomSlugEvent, eu as SetCustomSlugRequest, em as SetServiceLocationsRequest, c3 as Settings, eW as SiteCloned, eV as SiteCreated, eE as SitePropertiesEvent, eD as SitePropertiesNotification, bZ as Slug, aE as SortDirection, fF as SortDirectionWithLiterals, aC as SortOrder, fD as SortOrderWithLiterals, aD as SortType, fE as SortTypeWithLiterals, dk as Sorting, ah as SortingMethodType, fi as SortingMethodTypeWithLiterals, eN as SpecialHourPeriod, d6 as SplitInterval, bO as StaffMediaItem, bP as StaffMediaItemItemOneOf, bN as StaffMember, bR as StaffMemberDetails, bz as StaffSortingPolicy, bA as StaffSortingPolicyOptionsOneOf, aP as Status, fQ as StatusWithLiterals, cp as StreetAddress, cr as Subdivision, b7 as SubscriptionPayment, eP as SupportedLanguage, c2 as Tag, c5 as TaxableAddress, am as TaxableAddressType, fn as TaxableAddressTypeWithLiterals, eM as TimePeriod, ai as Timing, fj as TimingWithLiterals, eR as Translation, b_ as URLs, ak as UnitType, fl as UnitTypeWithLiterals, e_ as UpdateAddOnGroupRequest, d7 as UpdateServiceRequest, d8 as UpdateServiceResponse, eA as UserDomainInfoChangedEvent, aY as V2Category, bH as V2Duration, bd as V2Location, be as V2LocationOptionsOneOf, dd as V2ParticipantNotification, c6 as V2PhoneCall, aB as V2RequestedFields, fC as V2RequestedFieldsWithLiterals, eI as V4Address, cV as ValidateServiceRequest, cW as ValidateServiceResponse, ev as ValidateSlugRequest, dy as ValueAggregation, dz as ValueAggregationOptionsOneOf, dL as ValueAggregationResult, dT as ValueResult, dP as ValueResults, at as ValueType, fu as ValueTypeWithLiterals, b6 as VariedPayment, bs as WaitlistPolicy, aA as WebhookIdentityType, fB as WebhookIdentityTypeWithLiterals, bM as WorkingHours, bQ as WorkingHoursLocationCoverage, al as WorkingHoursMode, fm as WorkingHoursModeWithLiterals, cH as ZonedDate, fa as utils } from './bookings-services-v2-service-services.universal-x93KVD3o.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` | `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: 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` | `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`, 4> & {
|
|
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`,
|
|
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>>;
|
|
130
130
|
}
|
|
131
131
|
declare function getService$1(httpClient: HttpClient): GetServiceSignature;
|
|
132
132
|
interface GetServiceSignature {
|
|
@@ -149,7 +149,7 @@ interface GetServiceSignature {
|
|
|
149
149
|
* @param - ID of the service to retrieve.
|
|
150
150
|
* @returns Retrieved service.
|
|
151
151
|
*/
|
|
152
|
-
(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` | `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`,
|
|
152
|
+
(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` | `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`, 4>>;
|
|
153
153
|
}
|
|
154
154
|
declare function updateService$1(httpClient: HttpClient): UpdateServiceSignature;
|
|
155
155
|
interface UpdateServiceSignature {
|
|
@@ -181,7 +181,7 @@ interface UpdateServiceSignature {
|
|
|
181
181
|
* @param - Service ID.
|
|
182
182
|
* @returns Updated service.
|
|
183
183
|
*/
|
|
184
|
-
(_id: string, service: NonNullablePaths<UpdateService, `revision`,
|
|
184
|
+
(_id: string, service: NonNullablePaths<UpdateService, `revision`, 0>): 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` | `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`, 4> & {
|
|
185
185
|
__validationErrorsType?: UpdateServiceValidationErrors;
|
|
186
186
|
}>;
|
|
187
187
|
}
|
|
@@ -197,7 +197,7 @@ interface BulkUpdateServicesSignature {
|
|
|
197
197
|
* The call succeeds even if one or more individual services can't be updated.
|
|
198
198
|
* Information about failures is returned in `bulkActionMetadata`.
|
|
199
199
|
*/
|
|
200
|
-
(options?: NonNullablePaths<BulkUpdateServicesOptions, `services.${number}.service` | `services.${number}.service._id` | `services.${number}.service.revision`,
|
|
200
|
+
(options?: NonNullablePaths<BulkUpdateServicesOptions, `services.${number}.service` | `services.${number}.service._id` | `services.${number}.service.revision`, 3>): 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>>;
|
|
201
201
|
}
|
|
202
202
|
declare function bulkUpdateServicesByFilter$1(httpClient: HttpClient): BulkUpdateServicesByFilterSignature;
|
|
203
203
|
interface BulkUpdateServicesByFilterSignature {
|
|
@@ -213,7 +213,7 @@ interface BulkUpdateServicesByFilterSignature {
|
|
|
213
213
|
* Information about failures is returned in `bulkActionMetadata`.
|
|
214
214
|
* @param - Filter to identify the services to update.
|
|
215
215
|
*/
|
|
216
|
-
(filter: Record<string, any>, options: NonNullablePaths<BulkUpdateServicesByFilterOptions, `service`,
|
|
216
|
+
(filter: Record<string, any>, options: NonNullablePaths<BulkUpdateServicesByFilterOptions, `service`, 0>): Promise<NonNullablePaths<BulkUpdateServicesByFilterResponse, `jobId`, 0>>;
|
|
217
217
|
}
|
|
218
218
|
declare function deleteService$1(httpClient: HttpClient): DeleteServiceSignature;
|
|
219
219
|
interface DeleteServiceSignature {
|
|
@@ -241,7 +241,7 @@ interface BulkDeleteServicesSignature {
|
|
|
241
241
|
* Information about failures is returned in `bulkActionMetadata`.
|
|
242
242
|
* @param - IDs of the services to delete.
|
|
243
243
|
*/
|
|
244
|
-
(ids: string[], options?: BulkDeleteServicesOptions): Promise<NonNullablePaths<BulkDeleteServicesResponse, `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`,
|
|
244
|
+
(ids: string[], options?: BulkDeleteServicesOptions): Promise<NonNullablePaths<BulkDeleteServicesResponse, `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>>;
|
|
245
245
|
}
|
|
246
246
|
declare function bulkDeleteServicesByFilter$1(httpClient: HttpClient): BulkDeleteServicesByFilterSignature;
|
|
247
247
|
interface BulkDeleteServicesByFilterSignature {
|
|
@@ -262,7 +262,7 @@ interface BulkDeleteServicesByFilterSignature {
|
|
|
262
262
|
* [API Query Language](https://dev.wix.com/docs/rest/articles/getting-started/api-query-language#filters).
|
|
263
263
|
* @param - Filter to identify the services that need to be deleted.
|
|
264
264
|
*/
|
|
265
|
-
(filter: Record<string, any>, options?: BulkDeleteServicesByFilterOptions): Promise<NonNullablePaths<BulkDeleteServicesByFilterResponse, `jobId`,
|
|
265
|
+
(filter: Record<string, any>, options?: BulkDeleteServicesByFilterOptions): Promise<NonNullablePaths<BulkDeleteServicesByFilterResponse, `jobId`, 0>>;
|
|
266
266
|
}
|
|
267
267
|
declare function searchServices$1(httpClient: HttpClient): SearchServicesSignature;
|
|
268
268
|
interface SearchServicesSignature {
|
|
@@ -288,7 +288,7 @@ interface SearchServicesSignature {
|
|
|
288
288
|
* To learn about working with Search methods, see [API Query Language](https://dev.wix.com/docs/api-reference/articles/work-with-wix-apis/data-retrieval/about-the-wix-api-query-language) and [Sorting and Paging](https://dev.wix.com/docs/api-reference/articles/work-with-wix-apis/data-retrieval/about-sorting-and-paging).
|
|
289
289
|
* @param - Search criteria including filter, sort, aggregations, and paging options.
|
|
290
290
|
*/
|
|
291
|
-
(search: ServiceSearch): Promise<NonNullablePaths<SearchServicesResponse, `services` | `services.${number}.type` | `services.${number}.category._id` | `services.${number}.form._id` | `services.${number}.payment.subscription.frequency` | `services.${number}.payment.subscription.firstChargeDate` | `services.${number}.payment.rateType` | `services.${number}.payment.addOnOption` | `services.${number}.payment.discountInfo.discountName` | `services.${number}.bookingPolicy._id` | `services.${number}.bookingPolicy.customPolicyDescription.enabled` | `services.${number}.bookingPolicy.customPolicyDescription.description` | `services.${number}.bookingPolicy.limitEarlyBookingPolicy.enabled` | `services.${number}.bookingPolicy.limitEarlyBookingPolicy.earliestBookingInMinutes` | `services.${number}.bookingPolicy.limitLateBookingPolicy.enabled` | `services.${number}.bookingPolicy.limitLateBookingPolicy.latestBookingInMinutes` | `services.${number}.bookingPolicy.bookAfterStartPolicy.enabled` | `services.${number}.bookingPolicy.cancellationPolicy.enabled` | `services.${number}.bookingPolicy.cancellationPolicy.limitLatestCancellation` | `services.${number}.bookingPolicy.cancellationPolicy.latestCancellationInMinutes` | `services.${number}.bookingPolicy.reschedulePolicy.enabled` | `services.${number}.bookingPolicy.reschedulePolicy.limitLatestReschedule` | `services.${number}.bookingPolicy.reschedulePolicy.latestRescheduleInMinutes` | `services.${number}.bookingPolicy.waitlistPolicy.enabled` | `services.${number}.bookingPolicy.waitlistPolicy.capacity` | `services.${number}.bookingPolicy.waitlistPolicy.reservationTimeInMinutes` | `services.${number}.bookingPolicy.participantsPolicy.maxParticipantsPerBooking` | `services.${number}.bookingPolicy.resourcesPolicy.enabled` | `services.${number}.bookingPolicy.resourcesPolicy.autoAssignAllowed` | `services.${number}.bookingPolicy.cancellationFeePolicy.enabled` | `services.${number}.bookingPolicy.saveCreditCardPolicy.enabled` | `services.${number}.schedule.availabilityConstraints.timeBetweenSessions` | `services.${number}.seoData.settings.preventAutoRedirect` | `services.${number}.taxableAddress.taxableAddressType` | `aggregationData.results` | `aggregationData.results.${number}.scalar.type` | `aggregationData.results.${number}.scalar.value` | `aggregationData.results.${number}.scalarDate.type` | `aggregationData.results.${number}.scalarDate.value` | `aggregationData.results.${number}.name` | `aggregationData.results.${number}.type` | `aggregationData.results.${number}.fieldPath`,
|
|
291
|
+
(search: ServiceSearch): Promise<NonNullablePaths<SearchServicesResponse, `services` | `services.${number}.type` | `services.${number}.category._id` | `services.${number}.form._id` | `services.${number}.payment.subscription.frequency` | `services.${number}.payment.subscription.firstChargeDate` | `services.${number}.payment.rateType` | `services.${number}.payment.addOnOption` | `services.${number}.payment.discountInfo.discountName` | `services.${number}.bookingPolicy._id` | `services.${number}.bookingPolicy.customPolicyDescription.enabled` | `services.${number}.bookingPolicy.customPolicyDescription.description` | `services.${number}.bookingPolicy.limitEarlyBookingPolicy.enabled` | `services.${number}.bookingPolicy.limitEarlyBookingPolicy.earliestBookingInMinutes` | `services.${number}.bookingPolicy.limitLateBookingPolicy.enabled` | `services.${number}.bookingPolicy.limitLateBookingPolicy.latestBookingInMinutes` | `services.${number}.bookingPolicy.bookAfterStartPolicy.enabled` | `services.${number}.bookingPolicy.cancellationPolicy.enabled` | `services.${number}.bookingPolicy.cancellationPolicy.limitLatestCancellation` | `services.${number}.bookingPolicy.cancellationPolicy.latestCancellationInMinutes` | `services.${number}.bookingPolicy.reschedulePolicy.enabled` | `services.${number}.bookingPolicy.reschedulePolicy.limitLatestReschedule` | `services.${number}.bookingPolicy.reschedulePolicy.latestRescheduleInMinutes` | `services.${number}.bookingPolicy.waitlistPolicy.enabled` | `services.${number}.bookingPolicy.waitlistPolicy.capacity` | `services.${number}.bookingPolicy.waitlistPolicy.reservationTimeInMinutes` | `services.${number}.bookingPolicy.participantsPolicy.maxParticipantsPerBooking` | `services.${number}.bookingPolicy.resourcesPolicy.enabled` | `services.${number}.bookingPolicy.resourcesPolicy.autoAssignAllowed` | `services.${number}.bookingPolicy.cancellationFeePolicy.enabled` | `services.${number}.bookingPolicy.saveCreditCardPolicy.enabled` | `services.${number}.schedule.availabilityConstraints.timeBetweenSessions` | `services.${number}.seoData.settings.preventAutoRedirect` | `services.${number}.taxableAddress.taxableAddressType` | `aggregationData.results` | `aggregationData.results.${number}.scalar.type` | `aggregationData.results.${number}.scalar.value` | `aggregationData.results.${number}.scalarDate.type` | `aggregationData.results.${number}.scalarDate.value` | `aggregationData.results.${number}.name` | `aggregationData.results.${number}.type` | `aggregationData.results.${number}.fieldPath`, 4>>;
|
|
292
292
|
}
|
|
293
293
|
declare function queryPolicies$1(httpClient: HttpClient): QueryPoliciesSignature;
|
|
294
294
|
interface QueryPoliciesSignature {
|
|
@@ -324,7 +324,7 @@ interface QueryPoliciesSignature {
|
|
|
324
324
|
* and [Sorting and Paging](https://dev.wix.com/docs/rest/articles/getting-started/sorting-and-paging).
|
|
325
325
|
* @param - Information about filters, paging, and sorting.
|
|
326
326
|
*/
|
|
327
|
-
(query: CursorQuery): Promise<NonNullablePaths<QueryPoliciesResponse, `bookingPolicies` | `bookingPolicies.${number}.bookingPolicy._id` | `bookingPolicies.${number}.bookingPolicy.customPolicyDescription.enabled` | `bookingPolicies.${number}.bookingPolicy.customPolicyDescription.description` | `bookingPolicies.${number}.bookingPolicy.limitEarlyBookingPolicy.enabled` | `bookingPolicies.${number}.bookingPolicy.limitEarlyBookingPolicy.earliestBookingInMinutes` | `bookingPolicies.${number}.bookingPolicy.limitLateBookingPolicy.enabled` | `bookingPolicies.${number}.bookingPolicy.limitLateBookingPolicy.latestBookingInMinutes` | `bookingPolicies.${number}.bookingPolicy.bookAfterStartPolicy.enabled` | `bookingPolicies.${number}.bookingPolicy.cancellationPolicy.enabled` | `bookingPolicies.${number}.bookingPolicy.cancellationPolicy.limitLatestCancellation` | `bookingPolicies.${number}.bookingPolicy.cancellationPolicy.latestCancellationInMinutes` | `bookingPolicies.${number}.bookingPolicy.reschedulePolicy.enabled` | `bookingPolicies.${number}.bookingPolicy.reschedulePolicy.limitLatestReschedule` | `bookingPolicies.${number}.bookingPolicy.reschedulePolicy.latestRescheduleInMinutes` | `bookingPolicies.${number}.bookingPolicy.waitlistPolicy.enabled` | `bookingPolicies.${number}.bookingPolicy.waitlistPolicy.capacity` | `bookingPolicies.${number}.bookingPolicy.waitlistPolicy.reservationTimeInMinutes` | `bookingPolicies.${number}.bookingPolicy.participantsPolicy.maxParticipantsPerBooking` | `bookingPolicies.${number}.bookingPolicy.resourcesPolicy.enabled` | `bookingPolicies.${number}.bookingPolicy.resourcesPolicy.autoAssignAllowed` | `bookingPolicies.${number}.bookingPolicy.cancellationFeePolicy.enabled` | `bookingPolicies.${number}.bookingPolicy.saveCreditCardPolicy.enabled` | `bookingPolicies.${number}.totalServiceCount`,
|
|
327
|
+
(query: CursorQuery): Promise<NonNullablePaths<QueryPoliciesResponse, `bookingPolicies` | `bookingPolicies.${number}.bookingPolicy._id` | `bookingPolicies.${number}.bookingPolicy.customPolicyDescription.enabled` | `bookingPolicies.${number}.bookingPolicy.customPolicyDescription.description` | `bookingPolicies.${number}.bookingPolicy.limitEarlyBookingPolicy.enabled` | `bookingPolicies.${number}.bookingPolicy.limitEarlyBookingPolicy.earliestBookingInMinutes` | `bookingPolicies.${number}.bookingPolicy.limitLateBookingPolicy.enabled` | `bookingPolicies.${number}.bookingPolicy.limitLateBookingPolicy.latestBookingInMinutes` | `bookingPolicies.${number}.bookingPolicy.bookAfterStartPolicy.enabled` | `bookingPolicies.${number}.bookingPolicy.cancellationPolicy.enabled` | `bookingPolicies.${number}.bookingPolicy.cancellationPolicy.limitLatestCancellation` | `bookingPolicies.${number}.bookingPolicy.cancellationPolicy.latestCancellationInMinutes` | `bookingPolicies.${number}.bookingPolicy.reschedulePolicy.enabled` | `bookingPolicies.${number}.bookingPolicy.reschedulePolicy.limitLatestReschedule` | `bookingPolicies.${number}.bookingPolicy.reschedulePolicy.latestRescheduleInMinutes` | `bookingPolicies.${number}.bookingPolicy.waitlistPolicy.enabled` | `bookingPolicies.${number}.bookingPolicy.waitlistPolicy.capacity` | `bookingPolicies.${number}.bookingPolicy.waitlistPolicy.reservationTimeInMinutes` | `bookingPolicies.${number}.bookingPolicy.participantsPolicy.maxParticipantsPerBooking` | `bookingPolicies.${number}.bookingPolicy.resourcesPolicy.enabled` | `bookingPolicies.${number}.bookingPolicy.resourcesPolicy.autoAssignAllowed` | `bookingPolicies.${number}.bookingPolicy.cancellationFeePolicy.enabled` | `bookingPolicies.${number}.bookingPolicy.saveCreditCardPolicy.enabled` | `bookingPolicies.${number}.totalServiceCount`, 4>>;
|
|
328
328
|
}
|
|
329
329
|
declare function queryBookingForms$1(httpClient: HttpClient): QueryBookingFormsSignature;
|
|
330
330
|
interface QueryBookingFormsSignature {
|
|
@@ -369,7 +369,7 @@ interface QueryBookingFormsSignature {
|
|
|
369
369
|
* form filters ([REST](https://dev.wix.com/docs/rest/crm/forms/form-schemas/form-object))
|
|
370
370
|
* for all supported filters and sorting options.
|
|
371
371
|
*/
|
|
372
|
-
(query: CursorQuery, options?: QueryBookingFormsOptions): Promise<NonNullablePaths<QueryBookingFormsResponse, `bookingForms` | `bookingForms.${number}.formDetails.formId` | `bookingForms.${number}.totalServiceCount` | `defaultBookingForm.formDetails.formId` | `defaultBookingForm.connectedServices` | `defaultBookingForm.totalServiceCount`,
|
|
372
|
+
(query: CursorQuery, options?: QueryBookingFormsOptions): Promise<NonNullablePaths<QueryBookingFormsResponse, `bookingForms` | `bookingForms.${number}.formDetails.formId` | `bookingForms.${number}.totalServiceCount` | `defaultBookingForm.formDetails.formId` | `defaultBookingForm.connectedServices` | `defaultBookingForm.totalServiceCount`, 3> & {
|
|
373
373
|
__applicationErrorsType?: QueryBookingFormsApplicationErrors;
|
|
374
374
|
}>;
|
|
375
375
|
}
|
|
@@ -384,7 +384,7 @@ interface CountServicesSignature {
|
|
|
384
384
|
* To learn about working with filters in general, see
|
|
385
385
|
* [API Query Language](https://dev.wix.com/docs/rest/articles/getting-started/api-query-language#filters)
|
|
386
386
|
*/
|
|
387
|
-
(options?: CountServicesOptions): Promise<NonNullablePaths<CountServicesResponse, `count`,
|
|
387
|
+
(options?: CountServicesOptions): Promise<NonNullablePaths<CountServicesResponse, `count`, 0>>;
|
|
388
388
|
}
|
|
389
389
|
declare function queryLocations$1(httpClient: HttpClient): QueryLocationsSignature;
|
|
390
390
|
interface QueryLocationsSignature {
|
|
@@ -413,7 +413,7 @@ interface QueryLocationsSignature {
|
|
|
413
413
|
* [API Query Language](https://dev.wix.com/docs/rest/articles/getting-started/api-query-language)
|
|
414
414
|
* and [Sorting and Paging](https://dev.wix.com/docs/rest/articles/getting-started/sorting-and-paging).
|
|
415
415
|
*/
|
|
416
|
-
(options?: QueryLocationsOptions): Promise<NonNullablePaths<QueryLocationsResponse, `businessLocations.exists` | `businessLocations.locations` | `businessLocations.locations.${number}.business._id` | `businessLocations.locations.${number}.business.name` | `businessLocations.locations.${number}.custom._id` | `businessLocations.locations.${number}._id` | `businessLocations.locations.${number}.type` | `customLocations.exists` | `customerLocations.exists`,
|
|
416
|
+
(options?: QueryLocationsOptions): Promise<NonNullablePaths<QueryLocationsResponse, `businessLocations.exists` | `businessLocations.locations` | `businessLocations.locations.${number}.business._id` | `businessLocations.locations.${number}.business.name` | `businessLocations.locations.${number}.custom._id` | `businessLocations.locations.${number}._id` | `businessLocations.locations.${number}.type` | `customLocations.exists` | `customerLocations.exists`, 4>>;
|
|
417
417
|
}
|
|
418
418
|
declare function queryCategories$1(httpClient: HttpClient): QueryCategoriesSignature;
|
|
419
419
|
interface QueryCategoriesSignature {
|
|
@@ -437,7 +437,7 @@ interface QueryCategoriesSignature {
|
|
|
437
437
|
* [API Query Language](https://dev.wix.com/docs/api-reference/articles/work-with-wix-apis/data-retrieval/about-the-wix-api-query-language)
|
|
438
438
|
* and [Sorting and Paging](https://dev.wix.com/docs/api-reference/articles/work-with-wix-apis/data-retrieval/about-sorting-and-paging).
|
|
439
439
|
*/
|
|
440
|
-
(options?: QueryCategoriesOptions): Promise<NonNullablePaths<QueryCategoriesResponse, `categories` | `categories.${number}._id`,
|
|
440
|
+
(options?: QueryCategoriesOptions): Promise<NonNullablePaths<QueryCategoriesResponse, `categories` | `categories.${number}._id`, 2>>;
|
|
441
441
|
}
|
|
442
442
|
declare function setServiceLocations$1(httpClient: HttpClient): SetServiceLocationsSignature;
|
|
443
443
|
interface SetServiceLocationsSignature {
|
|
@@ -488,7 +488,7 @@ interface SetServiceLocationsSignature {
|
|
|
488
488
|
* message.
|
|
489
489
|
* @param - ID of the service.
|
|
490
490
|
*/
|
|
491
|
-
(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.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`,
|
|
491
|
+
(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.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`, 5>>;
|
|
492
492
|
}
|
|
493
493
|
declare function enablePricingPlansForService$1(httpClient: HttpClient): EnablePricingPlansForServiceSignature;
|
|
494
494
|
interface EnablePricingPlansForServiceSignature {
|
|
@@ -504,7 +504,7 @@ interface EnablePricingPlansForServiceSignature {
|
|
|
504
504
|
* to add to the service's `payment.pricingPlanIds` array.
|
|
505
505
|
* Maintained for backward compatibility. Use `pricing_plan_selections` for explicit benefit selection.
|
|
506
506
|
*/
|
|
507
|
-
(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.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`,
|
|
507
|
+
(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.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`, 5> & {
|
|
508
508
|
__applicationErrorsType?: EnablePricingPlansForServiceApplicationErrors;
|
|
509
509
|
}>;
|
|
510
510
|
}
|
|
@@ -519,7 +519,7 @@ interface DisablePricingPlansForServiceSignature {
|
|
|
519
519
|
* able to book the service, as they will have no payment options available.
|
|
520
520
|
* @param - ID of the service to update.
|
|
521
521
|
*/
|
|
522
|
-
(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.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`,
|
|
522
|
+
(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.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`, 5> & {
|
|
523
523
|
__applicationErrorsType?: DisablePricingPlansForServiceApplicationErrors;
|
|
524
524
|
}>;
|
|
525
525
|
}
|
|
@@ -535,7 +535,7 @@ interface SetCustomSlugSignature {
|
|
|
535
535
|
* - Another service has used the slug in the past.
|
|
536
536
|
* @param - ID of the service for which to update the active slug.
|
|
537
537
|
*/
|
|
538
|
-
(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.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`,
|
|
538
|
+
(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.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`, 5> & {
|
|
539
539
|
__applicationErrorsType?: SetCustomSlugApplicationErrors;
|
|
540
540
|
__validationErrorsType?: SetCustomSlugValidationErrors;
|
|
541
541
|
}>;
|
|
@@ -554,7 +554,7 @@ interface ValidateSlugSignature {
|
|
|
554
554
|
* The call fails if at least one of the checks fails.
|
|
555
555
|
* @param - IO of the service to check custom slug validity for.
|
|
556
556
|
*/
|
|
557
|
-
(serviceId: string, options?: ValidateSlugOptions): Promise<NonNullablePaths<ValidateSlugResponse, `valid` | `errors`,
|
|
557
|
+
(serviceId: string, options?: ValidateSlugOptions): Promise<NonNullablePaths<ValidateSlugResponse, `valid` | `errors`, 0>>;
|
|
558
558
|
}
|
|
559
559
|
declare function cloneService$1(httpClient: HttpClient): CloneServiceSignature;
|
|
560
560
|
interface CloneServiceSignature {
|
|
@@ -611,7 +611,7 @@ interface CloneServiceSignature {
|
|
|
611
611
|
* after cloning the service, customers will be unable to book the service.
|
|
612
612
|
* @param - ID of the service to clone.
|
|
613
613
|
*/
|
|
614
|
-
(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.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`,
|
|
614
|
+
(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.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`, 5>>;
|
|
615
615
|
}
|
|
616
616
|
declare function createAddOnGroup$1(httpClient: HttpClient): CreateAddOnGroupSignature;
|
|
617
617
|
interface CreateAddOnGroupSignature {
|
|
@@ -619,7 +619,7 @@ interface CreateAddOnGroupSignature {
|
|
|
619
619
|
* Creates a new add-on group for a service and updates the service's `addOnGroups` array.
|
|
620
620
|
* @param - Add-on group to create.
|
|
621
621
|
*/
|
|
622
|
-
(addOnGroup: NonNullablePaths<AddOnGroup, `name`,
|
|
622
|
+
(addOnGroup: NonNullablePaths<AddOnGroup, `name`, 0>, options: NonNullablePaths<CreateAddOnGroupOptions, `serviceId`, 0>): Promise<NonNullablePaths<CreateAddOnGroupResponse, `addOnGroup.addOnIds`, 1> & {
|
|
623
623
|
__applicationErrorsType?: CreateAddOnGroupApplicationErrors;
|
|
624
624
|
}>;
|
|
625
625
|
}
|
|
@@ -633,7 +633,7 @@ interface DeleteAddOnGroupSignature {
|
|
|
633
633
|
* Any add-on not associated with another group isn't available for customers to book.
|
|
634
634
|
* @param - ID of the add-on group to delete.
|
|
635
635
|
*/
|
|
636
|
-
(addOnGroupId: string, options: NonNullablePaths<DeleteAddOnGroupOptions, `serviceId`,
|
|
636
|
+
(addOnGroupId: string, options: NonNullablePaths<DeleteAddOnGroupOptions, `serviceId`, 0>): Promise<void & {
|
|
637
637
|
__applicationErrorsType?: DeleteAddOnGroupApplicationErrors;
|
|
638
638
|
}>;
|
|
639
639
|
}
|
|
@@ -650,7 +650,7 @@ interface UpdateAddOnGroupSignature {
|
|
|
650
650
|
* To use the same add-ons with a different service, create a new add-on group for that service.
|
|
651
651
|
* @param - Add-on group to update.
|
|
652
652
|
*/
|
|
653
|
-
(addOnGroup: NonNullablePaths<AddOnGroup, `_id`,
|
|
653
|
+
(addOnGroup: NonNullablePaths<AddOnGroup, `_id`, 0>, options: NonNullablePaths<UpdateAddOnGroupOptions, `serviceId`, 0>): Promise<NonNullablePaths<UpdateAddOnGroupResponse, `addOnGroup.addOnIds`, 1> & {
|
|
654
654
|
__applicationErrorsType?: UpdateAddOnGroupApplicationErrors;
|
|
655
655
|
}>;
|
|
656
656
|
}
|
|
@@ -666,7 +666,7 @@ interface ListAddOnGroupsByServiceIdSignature {
|
|
|
666
666
|
* By default, all groups associated with the service are returned.
|
|
667
667
|
* @param - ID of the service to retrieve add-on groups for.
|
|
668
668
|
*/
|
|
669
|
-
(serviceId: string, options?: ListAddOnGroupsByServiceIdOptions): Promise<NonNullablePaths<ListAddOnGroupsByServiceIdResponse, `addOnGroupsDetails`,
|
|
669
|
+
(serviceId: string, options?: ListAddOnGroupsByServiceIdOptions): Promise<NonNullablePaths<ListAddOnGroupsByServiceIdResponse, `addOnGroupsDetails`, 0>>;
|
|
670
670
|
}
|
|
671
671
|
declare function setAddOnsForGroup$1(httpClient: HttpClient): SetAddOnsForGroupSignature;
|
|
672
672
|
interface SetAddOnsForGroupSignature {
|
|
@@ -685,7 +685,7 @@ interface SetAddOnsForGroupSignature {
|
|
|
685
685
|
* For updating other add-on group properties, for example `name`, `prompt`, or `constraints`, call [Update Add On Group](https://dev.wix.com/docs/api-reference/business-solutions/bookings/services/services-v2/update-add-on-group) instead.
|
|
686
686
|
* @param - Service ID containing the group.
|
|
687
687
|
*/
|
|
688
|
-
(serviceId: string, options: NonNullablePaths<SetAddOnsForGroupOptions, `addOnIds` | `groupId`,
|
|
688
|
+
(serviceId: string, options: NonNullablePaths<SetAddOnsForGroupOptions, `addOnIds` | `groupId`, 0>): Promise<NonNullablePaths<SetAddOnsForGroupResponse, `addOnGroup.addOnIds`, 1> & {
|
|
689
689
|
__applicationErrorsType?: SetAddOnsForGroupApplicationErrors;
|
|
690
690
|
}>;
|
|
691
691
|
}
|