@wix/auto_sdk_bookings_services 1.0.66 → 1.0.68

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.
@@ -3466,7 +3466,6 @@ interface ServiceUpdatedEnvelope {
3466
3466
  entity: Service;
3467
3467
  metadata: EventMetadata;
3468
3468
  }
3469
- type ServiceNonNullablePaths = `type` | `media.items` | `category._id` | `form._id` | `payment.fixed.price.value` | `payment.fixed.price.currency` | `payment.rateType` | `payment.pricingPlanIds` | `locations` | `locations.${number}.business._id` | `locations.${number}.business.name` | `locations.${number}.business.address.streetAddress.number` | `locations.${number}.business.address.streetAddress.name` | `locations.${number}.business.address.streetAddress.apt` | `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}.amount.value` | `bookingPolicy.cancellationFeePolicy.cancellationWindows.${number}.amount.currency` | `bookingPolicy.cancellationFeePolicy.cancellationWindows.${number}.percentage` | `bookingPolicy.saveCreditCardPolicy.enabled` | `schedule.availabilityConstraints.durations` | `schedule.availabilityConstraints.durations.${number}.minutes` | `schedule.availabilityConstraints.sessionDurations` | `schedule.availabilityConstraints.timeBetweenSessions` | `staffMemberIds` | `serviceResources` | `supportedSlugs` | `supportedSlugs.${number}.name` | `mainSlug.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`;
3470
3469
  interface BulkCreateServicesOptions {
3471
3470
  /** Whether to return the created service objects. */
3472
3471
  returnEntity?: boolean;
@@ -3973,4 +3972,4 @@ interface ValidateSlugOptions {
3973
3972
  slug?: string;
3974
3973
  }
3975
3974
 
3976
- export { AggregationType as $, type SetCustomSlugResponse as A, type BulkCreateServicesOptions as B, type CursorQuery as C, type DeleteServiceOptions as D, type EnablePricingPlansForServiceResponse as E, type ValidateSlugResponse as F, type CloneServiceResponse as G, type ServiceCreatedEnvelope as H, type ServiceDeletedEnvelope as I, type ServiceUpdatedEnvelope as J, ServiceType as K, type Location as L, LocationType as M, V2RequestedFields as N, SortOrder as O, SortType as P, type QueryPoliciesResponse as Q, RateType as R, type Service as S, SortDirection as T, type UpdateService as U, type ValidateSlugOptions as V, WebhookIdentityType as W, MissingValues as X, ScalarType as Y, NestedAggregationType as Z, Interval as _, type ServiceNonNullablePaths as a, type ExtendedFields as a$, Mode as a0, RequestedFields as a1, Action as a2, InvalidSlugError as a3, CloneErrors as a4, Status as a5, CategoryNotificationEvent as a6, BenefitType as a7, Event as a8, CrudType as a9, type PolicyDescription as aA, type LimitEarlyBookingPolicy as aB, type LimitLateBookingPolicy as aC, type BookAfterStartPolicy as aD, type CancellationPolicy as aE, type ReschedulePolicy as aF, type WaitlistPolicy as aG, type ParticipantsPolicy as aH, type ResourcesPolicy as aI, type CancellationFeePolicy as aJ, type CancellationWindow as aK, type CancellationWindowFeeOneOf as aL, type SaveCreditCardPolicy as aM, type Schedule as aN, type AvailabilityConstraints as aO, type Duration as aP, type StaffMember as aQ, type StaffMediaItem as aR, type StaffMediaItemItemOneOf as aS, type StaffMemberDetails as aT, type ResourceGroup as aU, type ResourceIds as aV, type ServiceResource as aW, type ServiceResourceSelectionOneOf as aX, type ResourceType as aY, type Slug as aZ, type URLs as a_, PlacementType as aa, DayOfWeek as ab, ResolutionMethod as ac, type Media as ad, type MediaItem as ae, type MediaItemItemOneOf as af, type V2Category as ag, type Form as ah, type FormSettings as ai, type Payment as aj, type PaymentRateOneOf as ak, type FixedPayment as al, type Money as am, type CustomPayment as an, type VariedPayment as ao, type PaymentOptions as ap, type OnlineBooking as aq, type Conferencing as ar, type LocationOptionsOneOf as as, type CommonAddress as at, type CommonAddressStreetOneOf as au, type StreetAddress as av, type AddressLocation as aw, type BusinessLocationOptions as ax, type CustomLocationOptions as ay, type BookingPolicy as az, type BulkCreateServicesResponse as b, type BulkDeleteServicesRequest as b$, type SeoSchema as b0, type Keyword as b1, type Tag as b2, type Settings as b3, type AddOnGroup as b4, type AddOnDetails as b5, type ReindexMessage as b6, type ReindexMessageActionOneOf as b7, type Upsert as b8, type Delete as b9, type ValidateAddOnsSelectionRequest as bA, type ValidateAddOnsSelectionResponse as bB, type ValidationResult as bC, type CreateServiceRequest as bD, type CreateServiceResponse as bE, type ValidateServiceRequest as bF, type ValidateServiceResponse as bG, type FieldViolation as bH, type BulkCreateServicesRequest as bI, type BulkServiceResult as bJ, type ItemMetadata as bK, type ApplicationError as bL, type BulkActionMetadata as bM, type GetServiceRequest as bN, type GetServiceResponse as bO, type GetServiceAvailabilityConstraintsRequest as bP, type GetServiceAvailabilityConstraintsResponse as bQ, type ServiceAvailabilityConstraints as bR, type SplitInterval as bS, type UpdateServiceRequest as bT, type UpdateServiceResponse as bU, type BulkUpdateServicesRequest as bV, type MaskedService as bW, type BulkUpdateServicesByFilterRequest as bX, type DeleteServiceRequest as bY, type ParticipantNotification as bZ, type DeleteServiceResponse as b_, type Schema as ba, type SetCustomSlugEvent as bb, type ServicesUrlsChanged as bc, type DomainEvent as bd, type DomainEventBodyOneOf as be, type EntityCreatedEvent as bf, type RestoreInfo as bg, type EntityUpdatedEvent as bh, type EntityDeletedEvent as bi, type ActionEvent as bj, type MessageEnvelope as bk, type IdentificationData as bl, type IdentificationDataIdOneOf as bm, type CreateAddOnGroupRequest as bn, type CreateAddOnGroupResponse as bo, type DeleteAddOnGroupRequest as bp, type DeleteAddOnGroupResponse as bq, type UpdateAddOnGroupRequest as br, type UpdateAddOnGroupResponse as bs, type ListAddOnGroupsByServiceIdRequest as bt, type ListAddOnGroupsByServiceIdResponse as bu, type AddOn as bv, type AddOnAddOnInfoOneOf as bw, type AddOnGroupDetail as bx, type SetAddOnsForGroupRequest as by, type SetAddOnsForGroupResponse as bz, type BulkUpdateServicesOptions as c, type QueryCategoriesRequest as c$, type BulkDeleteServicesByFilterRequest as c0, type QueryServicesRequest as c1, type QueryV2 as c2, type QueryV2PagingMethodOneOf as c3, type Sorting as c4, type Paging as c5, type CursorPaging as c6, type QueryServicesResponse as c7, type PagingMetadataV2 as c8, type Cursors as c9, type AggregationResultsScalarResult as cA, type NestedValueAggregationResult as cB, type ValueResult as cC, type RangeResult as cD, type ScalarResult as cE, type NestedResultValue as cF, type NestedResultValueResultOneOf as cG, type Results as cH, type DateHistogramResult as cI, type GroupByValueResults as cJ, type DateHistogramResults as cK, type NestedResults as cL, type AggregationResults as cM, type AggregationResultsResultOneOf as cN, type QueryPoliciesRequest as cO, type CursorQueryPagingMethodOneOf as cP, type BookingPolicyWithServices as cQ, type QueryBookingFormsRequest as cR, type BookingForm as cS, type FormDetails as cT, type ConnectedService as cU, type CountServicesRequest as cV, type QueryLocationsRequest as cW, type QueryLocationsFilter as cX, type BusinessLocations as cY, type CustomLocations as cZ, type CustomerLocations as c_, type SearchServicesRequest as ca, type CursorSearch as cb, type CursorSearchPagingMethodOneOf as cc, type Aggregation as cd, type AggregationKindOneOf as ce, type RangeBucket as cf, type IncludeMissingValuesOptions as cg, type ValueAggregation as ch, type ValueAggregationOptionsOneOf as ci, type RangeAggregation as cj, type ScalarAggregation as ck, type DateHistogramAggregation as cl, type NestedAggregationItem as cm, type NestedAggregationItemKindOneOf as cn, type NestedAggregation as co, type GroupByAggregation as cp, type GroupByAggregationKindOneOf as cq, type SearchDetails as cr, type CursorPagingMetadata as cs, type AggregationData as ct, type ValueAggregationResult as cu, type RangeAggregationResult as cv, type NestedAggregationResults as cw, type NestedAggregationResultsResultOneOf as cx, type ValueResults as cy, type RangeResults as cz, type BulkUpdateServicesResponse as d, type QueryCategoriesFilter as d0, type QueryServicesMultiLanguageRequest as d1, type QueryServicesMultiLanguageResponse as d2, type SetServiceLocationsRequest as d3, type RemovedLocationSessionsAction as d4, type RemovedLocationSessionsActionActionOptionsOneOf as d5, type MoveToNewLocationsOptions as d6, type EnablePricingPlansForServiceRequest as d7, type InvalidPricingPlan as d8, type DisablePricingPlansForServiceRequest as d9, type TimePeriod as dA, type SpecialHourPeriod as dB, type Multilingual as dC, type SupportedLanguage as dD, type ConsentPolicy as dE, type Translation as dF, type ChangeContext as dG, type ChangeContextPayloadOneOf as dH, type PropertiesChange as dI, type SiteCreated as dJ, type SiteCloned as dK, type BaseEventMetadata as dL, type EventMetadata as dM, type ServicesQueryResult as dN, type ServiceSearchSpec as dO, type SetCustomSlugRequest as da, type ValidateSlugRequest as db, type CloneServiceRequest as dc, type CategoryNotification as dd, type Category as de, type Empty as df, type BenefitNotification as dg, type Benefit as dh, type EntryPass as di, type Discount as dj, type DiscountDiscountOneOf as dk, type Behavior as dl, type BehaviorBehaviorOneOf as dm, type UserDomainInfoChangedEvent as dn, type HtmlSitePublished as dp, type Page as dq, type SitePropertiesNotification as dr, type SitePropertiesEvent as ds, type Properties as dt, type Categories as du, type Locale as dv, type Address as dw, type AddressHint as dx, type GeoCoordinates as dy, type BusinessSchedule as dz, type BulkUpdateServicesByFilterOptions as e, type BulkUpdateServicesByFilterResponse as f, type BulkDeleteServicesOptions as g, type BulkDeleteServicesResponse as h, type BulkDeleteServicesByFilterOptions as i, type BulkDeleteServicesByFilterResponse as j, type ServicesQueryBuilder as k, type ServiceSearch as l, type SearchServicesResponse as m, type QueryBookingFormsOptions as n, type QueryBookingFormsResponse as o, type CountServicesOptions as p, type CountServicesResponse as q, type QueryLocationsOptions as r, type QueryLocationsResponse as s, type QueryCategoriesOptions as t, type QueryCategoriesResponse as u, type SetServiceLocationsOptions as v, type SetServiceLocationsResponse as w, type DisablePricingPlansForServiceOptions as x, type DisablePricingPlansForServiceResponse as y, type SetCustomSlugOptions as z };
3975
+ export { Mode as $, type ValidateSlugResponse as A, type BulkCreateServicesOptions as B, type CursorQuery as C, type DeleteServiceOptions as D, type EnablePricingPlansForServiceResponse as E, type CloneServiceResponse as F, type ServiceCreatedEnvelope as G, type ServiceDeletedEnvelope as H, type ServiceUpdatedEnvelope as I, ServiceType as J, LocationType as K, type Location as L, V2RequestedFields as M, SortOrder as N, SortType as O, SortDirection as P, type QueryPoliciesResponse as Q, RateType as R, type Service as S, MissingValues as T, type UpdateService as U, type ValidateSlugOptions as V, WebhookIdentityType as W, ScalarType as X, NestedAggregationType as Y, Interval as Z, AggregationType as _, type BulkCreateServicesResponse as a, type SeoSchema as a$, RequestedFields as a0, Action as a1, InvalidSlugError as a2, CloneErrors as a3, Status as a4, CategoryNotificationEvent as a5, BenefitType as a6, Event as a7, CrudType as a8, PlacementType as a9, type LimitEarlyBookingPolicy as aA, type LimitLateBookingPolicy as aB, type BookAfterStartPolicy as aC, type CancellationPolicy as aD, type ReschedulePolicy as aE, type WaitlistPolicy as aF, type ParticipantsPolicy as aG, type ResourcesPolicy as aH, type CancellationFeePolicy as aI, type CancellationWindow as aJ, type CancellationWindowFeeOneOf as aK, type SaveCreditCardPolicy as aL, type Schedule as aM, type AvailabilityConstraints as aN, type Duration as aO, type StaffMember as aP, type StaffMediaItem as aQ, type StaffMediaItemItemOneOf as aR, type StaffMemberDetails as aS, type ResourceGroup as aT, type ResourceIds as aU, type ServiceResource as aV, type ServiceResourceSelectionOneOf as aW, type ResourceType as aX, type Slug as aY, type URLs as aZ, type ExtendedFields as a_, DayOfWeek as aa, ResolutionMethod as ab, type Media as ac, type MediaItem as ad, type MediaItemItemOneOf as ae, type V2Category as af, type Form as ag, type FormSettings as ah, type Payment as ai, type PaymentRateOneOf as aj, type FixedPayment as ak, type Money as al, type CustomPayment as am, type VariedPayment as an, type PaymentOptions as ao, type OnlineBooking as ap, type Conferencing as aq, type LocationOptionsOneOf as ar, type CommonAddress as as, type CommonAddressStreetOneOf as at, type StreetAddress as au, type AddressLocation as av, type BusinessLocationOptions as aw, type CustomLocationOptions as ax, type BookingPolicy as ay, type PolicyDescription as az, type BulkUpdateServicesOptions as b, type BulkDeleteServicesByFilterRequest as b$, type Keyword as b0, type Tag as b1, type Settings as b2, type AddOnGroup as b3, type AddOnDetails as b4, type ReindexMessage as b5, type ReindexMessageActionOneOf as b6, type Upsert as b7, type Delete as b8, type Schema as b9, type ValidateAddOnsSelectionResponse as bA, type ValidationResult as bB, type CreateServiceRequest as bC, type CreateServiceResponse as bD, type ValidateServiceRequest as bE, type ValidateServiceResponse as bF, type FieldViolation as bG, type BulkCreateServicesRequest as bH, type BulkServiceResult as bI, type ItemMetadata as bJ, type ApplicationError as bK, type BulkActionMetadata as bL, type GetServiceRequest as bM, type GetServiceResponse as bN, type GetServiceAvailabilityConstraintsRequest as bO, type GetServiceAvailabilityConstraintsResponse as bP, type ServiceAvailabilityConstraints as bQ, type SplitInterval as bR, type UpdateServiceRequest as bS, type UpdateServiceResponse as bT, type BulkUpdateServicesRequest as bU, type MaskedService as bV, type BulkUpdateServicesByFilterRequest as bW, type DeleteServiceRequest as bX, type ParticipantNotification as bY, type DeleteServiceResponse as bZ, type BulkDeleteServicesRequest as b_, type SetCustomSlugEvent as ba, type ServicesUrlsChanged as bb, type DomainEvent as bc, type DomainEventBodyOneOf as bd, type EntityCreatedEvent as be, type RestoreInfo as bf, type EntityUpdatedEvent as bg, type EntityDeletedEvent as bh, type ActionEvent as bi, type MessageEnvelope as bj, type IdentificationData as bk, type IdentificationDataIdOneOf as bl, type CreateAddOnGroupRequest as bm, type CreateAddOnGroupResponse as bn, type DeleteAddOnGroupRequest as bo, type DeleteAddOnGroupResponse as bp, type UpdateAddOnGroupRequest as bq, type UpdateAddOnGroupResponse as br, type ListAddOnGroupsByServiceIdRequest as bs, type ListAddOnGroupsByServiceIdResponse as bt, type AddOn as bu, type AddOnAddOnInfoOneOf as bv, type AddOnGroupDetail as bw, type SetAddOnsForGroupRequest as bx, type SetAddOnsForGroupResponse as by, type ValidateAddOnsSelectionRequest as bz, type BulkUpdateServicesResponse as c, type QueryCategoriesFilter as c$, type QueryServicesRequest as c0, type QueryV2 as c1, type QueryV2PagingMethodOneOf as c2, type Sorting as c3, type Paging as c4, type CursorPaging as c5, type QueryServicesResponse as c6, type PagingMetadataV2 as c7, type Cursors as c8, type SearchServicesRequest as c9, type NestedValueAggregationResult as cA, type ValueResult as cB, type RangeResult as cC, type ScalarResult as cD, type NestedResultValue as cE, type NestedResultValueResultOneOf as cF, type Results as cG, type DateHistogramResult as cH, type GroupByValueResults as cI, type DateHistogramResults as cJ, type NestedResults as cK, type AggregationResults as cL, type AggregationResultsResultOneOf as cM, type QueryPoliciesRequest as cN, type CursorQueryPagingMethodOneOf as cO, type BookingPolicyWithServices as cP, type QueryBookingFormsRequest as cQ, type BookingForm as cR, type FormDetails as cS, type ConnectedService as cT, type CountServicesRequest as cU, type QueryLocationsRequest as cV, type QueryLocationsFilter as cW, type BusinessLocations as cX, type CustomLocations as cY, type CustomerLocations as cZ, type QueryCategoriesRequest as c_, type CursorSearch as ca, type CursorSearchPagingMethodOneOf as cb, type Aggregation as cc, type AggregationKindOneOf as cd, type RangeBucket as ce, type IncludeMissingValuesOptions as cf, type ValueAggregation as cg, type ValueAggregationOptionsOneOf as ch, type RangeAggregation as ci, type ScalarAggregation as cj, type DateHistogramAggregation as ck, type NestedAggregationItem as cl, type NestedAggregationItemKindOneOf as cm, type NestedAggregation as cn, type GroupByAggregation as co, type GroupByAggregationKindOneOf as cp, type SearchDetails as cq, type CursorPagingMetadata as cr, type AggregationData as cs, type ValueAggregationResult as ct, type RangeAggregationResult as cu, type NestedAggregationResults as cv, type NestedAggregationResultsResultOneOf as cw, type ValueResults as cx, type RangeResults as cy, type AggregationResultsScalarResult as cz, type BulkUpdateServicesByFilterOptions as d, type QueryServicesMultiLanguageRequest as d0, type QueryServicesMultiLanguageResponse as d1, type SetServiceLocationsRequest as d2, type RemovedLocationSessionsAction as d3, type RemovedLocationSessionsActionActionOptionsOneOf as d4, type MoveToNewLocationsOptions as d5, type EnablePricingPlansForServiceRequest as d6, type InvalidPricingPlan as d7, type DisablePricingPlansForServiceRequest as d8, type SetCustomSlugRequest as d9, type SpecialHourPeriod as dA, type Multilingual as dB, type SupportedLanguage as dC, type ConsentPolicy as dD, type Translation as dE, type ChangeContext as dF, type ChangeContextPayloadOneOf as dG, type PropertiesChange as dH, type SiteCreated as dI, type SiteCloned as dJ, type BaseEventMetadata as dK, type EventMetadata as dL, type ServicesQueryResult as dM, type ServiceSearchSpec as dN, type ValidateSlugRequest as da, type CloneServiceRequest as db, type CategoryNotification as dc, type Category as dd, type Empty as de, type BenefitNotification as df, type Benefit as dg, type EntryPass as dh, type Discount as di, type DiscountDiscountOneOf as dj, type Behavior as dk, type BehaviorBehaviorOneOf as dl, type UserDomainInfoChangedEvent as dm, type HtmlSitePublished as dn, type Page as dp, type SitePropertiesNotification as dq, type SitePropertiesEvent as dr, type Properties as ds, type Categories as dt, type Locale as du, type Address as dv, type AddressHint as dw, type GeoCoordinates as dx, type BusinessSchedule as dy, type TimePeriod as dz, type BulkUpdateServicesByFilterResponse as e, type BulkDeleteServicesOptions as f, type BulkDeleteServicesResponse as g, type BulkDeleteServicesByFilterOptions as h, type BulkDeleteServicesByFilterResponse as i, type ServicesQueryBuilder as j, type ServiceSearch as k, type SearchServicesResponse as l, type QueryBookingFormsOptions as m, type QueryBookingFormsResponse as n, type CountServicesOptions as o, type CountServicesResponse as p, type QueryLocationsOptions as q, type QueryLocationsResponse as r, type QueryCategoriesOptions as s, type QueryCategoriesResponse as t, type SetServiceLocationsOptions as u, type SetServiceLocationsResponse as v, type DisablePricingPlansForServiceOptions as w, type DisablePricingPlansForServiceResponse as x, type SetCustomSlugOptions as y, type SetCustomSlugResponse as z };
@@ -1,6 +1,6 @@
1
- import { HttpClient, NonNullablePaths, EventDefinition, MaybeContext, BuildRESTFunction, BuildEventDefinition } from '@wix/sdk-types';
2
- import { S as Service, a as ServiceNonNullablePaths, B as BulkCreateServicesOptions, b as BulkCreateServicesResponse, U as UpdateService, 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 ServicesQueryBuilder, l as ServiceSearch, m as SearchServicesResponse, C as CursorQuery, Q as QueryPoliciesResponse, n as QueryBookingFormsOptions, o as QueryBookingFormsResponse, p as CountServicesOptions, q as CountServicesResponse, r as QueryLocationsOptions, s as QueryLocationsResponse, t as QueryCategoriesOptions, u as QueryCategoriesResponse, L as Location, v as SetServiceLocationsOptions, w as SetServiceLocationsResponse, E as EnablePricingPlansForServiceResponse, x as DisablePricingPlansForServiceOptions, y as DisablePricingPlansForServiceResponse, z as SetCustomSlugOptions, A as SetCustomSlugResponse, V as ValidateSlugOptions, F as ValidateSlugResponse, G as CloneServiceResponse, H as ServiceCreatedEnvelope, I as ServiceDeletedEnvelope, J as ServiceUpdatedEnvelope } from './bookings-services-v2-service-services.universal-o2tHvpTk.js';
3
- export { a2 as Action, bj as ActionEvent, bv as AddOn, bw as AddOnAddOnInfoOneOf, b5 as AddOnDetails, b4 as AddOnGroup, bx as AddOnGroupDetail, dw as Address, dx as AddressHint, aw as AddressLocation, cd as Aggregation, ct as AggregationData, ce as AggregationKindOneOf, cM as AggregationResults, cN as AggregationResultsResultOneOf, cA as AggregationResultsScalarResult, $ as AggregationType, bL as ApplicationError, aO as AvailabilityConstraints, dL as BaseEventMetadata, dl as Behavior, dm as BehaviorBehaviorOneOf, dh as Benefit, dg as BenefitNotification, a7 as BenefitType, aD as BookAfterStartPolicy, cS as BookingForm, az as BookingPolicy, cQ as BookingPolicyWithServices, bM as BulkActionMetadata, bI as BulkCreateServicesRequest, c0 as BulkDeleteServicesByFilterRequest, b$ as BulkDeleteServicesRequest, bJ as BulkServiceResult, bX as BulkUpdateServicesByFilterRequest, bV as BulkUpdateServicesRequest, ax as BusinessLocationOptions, cY as BusinessLocations, dz as BusinessSchedule, aJ as CancellationFeePolicy, aE as CancellationPolicy, aK as CancellationWindow, aL as CancellationWindowFeeOneOf, du as Categories, de as Category, dd as CategoryNotification, a6 as CategoryNotificationEvent, dG as ChangeContext, dH as ChangeContextPayloadOneOf, a4 as CloneErrors, dc as CloneServiceRequest, at as CommonAddress, au as CommonAddressStreetOneOf, ar as Conferencing, cU as ConnectedService, dE as ConsentPolicy, cV as CountServicesRequest, bn as CreateAddOnGroupRequest, bo as CreateAddOnGroupResponse, bD as CreateServiceRequest, bE as CreateServiceResponse, a9 as CrudType, c6 as CursorPaging, cs as CursorPagingMetadata, cP as CursorQueryPagingMethodOneOf, cb as CursorSearch, cc as CursorSearchPagingMethodOneOf, c9 as Cursors, ay as CustomLocationOptions, cZ as CustomLocations, an as CustomPayment, c_ as CustomerLocations, cl as DateHistogramAggregation, cI as DateHistogramResult, cK as DateHistogramResults, ab as DayOfWeek, b9 as Delete, bp as DeleteAddOnGroupRequest, bq as DeleteAddOnGroupResponse, bY as DeleteServiceRequest, b_ as DeleteServiceResponse, d9 as DisablePricingPlansForServiceRequest, dj as Discount, dk as DiscountDiscountOneOf, bd as DomainEvent, be as DomainEventBodyOneOf, aP as Duration, df as Empty, d7 as EnablePricingPlansForServiceRequest, bf as EntityCreatedEvent, bi as EntityDeletedEvent, bh as EntityUpdatedEvent, di as EntryPass, a8 as Event, dM as EventMetadata, a$ as ExtendedFields, bH as FieldViolation, al as FixedPayment, ah as Form, cT as FormDetails, ai as FormSettings, dy as GeoCoordinates, bP as GetServiceAvailabilityConstraintsRequest, bQ as GetServiceAvailabilityConstraintsResponse, bN as GetServiceRequest, bO as GetServiceResponse, cp as GroupByAggregation, cq as GroupByAggregationKindOneOf, cJ as GroupByValueResults, dp as HtmlSitePublished, bl as IdentificationData, bm as IdentificationDataIdOneOf, cg as IncludeMissingValuesOptions, _ as Interval, d8 as InvalidPricingPlan, a3 as InvalidSlugError, bK as ItemMetadata, b1 as Keyword, aB as LimitEarlyBookingPolicy, aC as LimitLateBookingPolicy, bt as ListAddOnGroupsByServiceIdRequest, bu as ListAddOnGroupsByServiceIdResponse, dv as Locale, as as LocationOptionsOneOf, M as LocationType, bW as MaskedService, ad as Media, ae as MediaItem, af as MediaItemItemOneOf, bk as MessageEnvelope, X as MissingValues, a0 as Mode, am as Money, d6 as MoveToNewLocationsOptions, dC as Multilingual, co as NestedAggregation, cm as NestedAggregationItem, cn as NestedAggregationItemKindOneOf, cw as NestedAggregationResults, cx as NestedAggregationResultsResultOneOf, Z as NestedAggregationType, cF as NestedResultValue, cG as NestedResultValueResultOneOf, cL as NestedResults, cB as NestedValueAggregationResult, aq as OnlineBooking, dq as Page, c5 as Paging, c8 as PagingMetadataV2, bZ as ParticipantNotification, aH as ParticipantsPolicy, aj as Payment, ap as PaymentOptions, ak as PaymentRateOneOf, aa as PlacementType, aA as PolicyDescription, dt as Properties, dI as PropertiesChange, cR as QueryBookingFormsRequest, d0 as QueryCategoriesFilter, c$ as QueryCategoriesRequest, cX as QueryLocationsFilter, cW as QueryLocationsRequest, cO as QueryPoliciesRequest, d1 as QueryServicesMultiLanguageRequest, d2 as QueryServicesMultiLanguageResponse, c1 as QueryServicesRequest, c7 as QueryServicesResponse, c2 as QueryV2, c3 as QueryV2PagingMethodOneOf, cj as RangeAggregation, cv as RangeAggregationResult, cf as RangeBucket, cD as RangeResult, cz as RangeResults, R as RateType, b6 as ReindexMessage, b7 as ReindexMessageActionOneOf, d4 as RemovedLocationSessionsAction, d5 as RemovedLocationSessionsActionActionOptionsOneOf, a1 as RequestedFields, aF as ReschedulePolicy, ac as ResolutionMethod, aU as ResourceGroup, aV as ResourceIds, aY as ResourceType, aI as ResourcesPolicy, bg as RestoreInfo, cH as Results, aM as SaveCreditCardPolicy, ck as ScalarAggregation, cE as ScalarResult, Y as ScalarType, aN as Schedule, ba as Schema, cr as SearchDetails, ca as SearchServicesRequest, b0 as SeoSchema, bR as ServiceAvailabilityConstraints, aW as ServiceResource, aX as ServiceResourceSelectionOneOf, dO as ServiceSearchSpec, K as ServiceType, dN as ServicesQueryResult, bc as ServicesUrlsChanged, by as SetAddOnsForGroupRequest, bz as SetAddOnsForGroupResponse, bb as SetCustomSlugEvent, da as SetCustomSlugRequest, d3 as SetServiceLocationsRequest, b3 as Settings, dK as SiteCloned, dJ as SiteCreated, ds as SitePropertiesEvent, dr as SitePropertiesNotification, aZ as Slug, T as SortDirection, O as SortOrder, P as SortType, c4 as Sorting, dB as SpecialHourPeriod, bS as SplitInterval, aR as StaffMediaItem, aS as StaffMediaItemItemOneOf, aQ as StaffMember, aT as StaffMemberDetails, a5 as Status, av as StreetAddress, dD as SupportedLanguage, b2 as Tag, dA as TimePeriod, dF as Translation, a_ as URLs, br as UpdateAddOnGroupRequest, bs as UpdateAddOnGroupResponse, bT as UpdateServiceRequest, bU as UpdateServiceResponse, b8 as Upsert, dn as UserDomainInfoChangedEvent, ag as V2Category, N as V2RequestedFields, bA as ValidateAddOnsSelectionRequest, bB as ValidateAddOnsSelectionResponse, bF as ValidateServiceRequest, bG as ValidateServiceResponse, db as ValidateSlugRequest, bC as ValidationResult, ch as ValueAggregation, ci as ValueAggregationOptionsOneOf, cu as ValueAggregationResult, cC as ValueResult, cy as ValueResults, ao as VariedPayment, aG as WaitlistPolicy, W as WebhookIdentityType } from './bookings-services-v2-service-services.universal-o2tHvpTk.js';
1
+ import { HttpClient, EventDefinition, MaybeContext, BuildRESTFunction, BuildEventDefinition } from '@wix/sdk-types';
2
+ import { S as Service, B as BulkCreateServicesOptions, a as BulkCreateServicesResponse, U as UpdateService, b as BulkUpdateServicesOptions, c as BulkUpdateServicesResponse, d as BulkUpdateServicesByFilterOptions, e as BulkUpdateServicesByFilterResponse, D as DeleteServiceOptions, f as BulkDeleteServicesOptions, g as BulkDeleteServicesResponse, h as BulkDeleteServicesByFilterOptions, i as BulkDeleteServicesByFilterResponse, j as ServicesQueryBuilder, k as ServiceSearch, l as SearchServicesResponse, C as CursorQuery, Q as QueryPoliciesResponse, m as QueryBookingFormsOptions, n as QueryBookingFormsResponse, o as CountServicesOptions, p as CountServicesResponse, q as QueryLocationsOptions, r as QueryLocationsResponse, s as QueryCategoriesOptions, t as QueryCategoriesResponse, L as Location, u as SetServiceLocationsOptions, v as SetServiceLocationsResponse, E as EnablePricingPlansForServiceResponse, w as DisablePricingPlansForServiceOptions, x as DisablePricingPlansForServiceResponse, y as SetCustomSlugOptions, z as SetCustomSlugResponse, V as ValidateSlugOptions, A as ValidateSlugResponse, F as CloneServiceResponse, G as ServiceCreatedEnvelope, H as ServiceDeletedEnvelope, I as ServiceUpdatedEnvelope } from './bookings-services-v2-service-services.universal-Cy9SqUQp.js';
3
+ export { a1 as Action, bi as ActionEvent, bu as AddOn, bv as AddOnAddOnInfoOneOf, b4 as AddOnDetails, b3 as AddOnGroup, bw as AddOnGroupDetail, dv as Address, dw as AddressHint, av as AddressLocation, cc as Aggregation, cs as AggregationData, cd as AggregationKindOneOf, cL as AggregationResults, cM as AggregationResultsResultOneOf, cz as AggregationResultsScalarResult, _ as AggregationType, bK as ApplicationError, aN as AvailabilityConstraints, dK as BaseEventMetadata, dk as Behavior, dl as BehaviorBehaviorOneOf, dg as Benefit, df as BenefitNotification, a6 as BenefitType, aC as BookAfterStartPolicy, cR as BookingForm, ay as BookingPolicy, cP as BookingPolicyWithServices, bL as BulkActionMetadata, bH as BulkCreateServicesRequest, b$ as BulkDeleteServicesByFilterRequest, b_ as BulkDeleteServicesRequest, bI as BulkServiceResult, bW as BulkUpdateServicesByFilterRequest, bU as BulkUpdateServicesRequest, aw as BusinessLocationOptions, cX as BusinessLocations, dy as BusinessSchedule, aI as CancellationFeePolicy, aD as CancellationPolicy, aJ as CancellationWindow, aK as CancellationWindowFeeOneOf, dt as Categories, dd as Category, dc as CategoryNotification, a5 as CategoryNotificationEvent, dF as ChangeContext, dG as ChangeContextPayloadOneOf, a3 as CloneErrors, db as CloneServiceRequest, as as CommonAddress, at as CommonAddressStreetOneOf, aq as Conferencing, cT as ConnectedService, dD as ConsentPolicy, cU as CountServicesRequest, bm as CreateAddOnGroupRequest, bn as CreateAddOnGroupResponse, bC as CreateServiceRequest, bD as CreateServiceResponse, a8 as CrudType, c5 as CursorPaging, cr as CursorPagingMetadata, cO as CursorQueryPagingMethodOneOf, ca as CursorSearch, cb as CursorSearchPagingMethodOneOf, c8 as Cursors, ax as CustomLocationOptions, cY as CustomLocations, am as CustomPayment, cZ as CustomerLocations, ck as DateHistogramAggregation, cH as DateHistogramResult, cJ as DateHistogramResults, aa as DayOfWeek, b8 as Delete, bo as DeleteAddOnGroupRequest, bp as DeleteAddOnGroupResponse, bX as DeleteServiceRequest, bZ as DeleteServiceResponse, d8 as DisablePricingPlansForServiceRequest, di as Discount, dj as DiscountDiscountOneOf, bc as DomainEvent, bd as DomainEventBodyOneOf, aO as Duration, de as Empty, d6 as EnablePricingPlansForServiceRequest, be as EntityCreatedEvent, bh as EntityDeletedEvent, bg as EntityUpdatedEvent, dh as EntryPass, a7 as Event, dL as EventMetadata, a_ as ExtendedFields, bG as FieldViolation, ak as FixedPayment, ag as Form, cS as FormDetails, ah as FormSettings, dx as GeoCoordinates, bO as GetServiceAvailabilityConstraintsRequest, bP as GetServiceAvailabilityConstraintsResponse, bM as GetServiceRequest, bN as GetServiceResponse, co as GroupByAggregation, cp as GroupByAggregationKindOneOf, cI as GroupByValueResults, dn as HtmlSitePublished, bk as IdentificationData, bl as IdentificationDataIdOneOf, cf as IncludeMissingValuesOptions, Z as Interval, d7 as InvalidPricingPlan, a2 as InvalidSlugError, bJ as ItemMetadata, b0 as Keyword, aA as LimitEarlyBookingPolicy, aB as LimitLateBookingPolicy, bs as ListAddOnGroupsByServiceIdRequest, bt as ListAddOnGroupsByServiceIdResponse, du as Locale, ar as LocationOptionsOneOf, K as LocationType, bV as MaskedService, ac as Media, ad as MediaItem, ae as MediaItemItemOneOf, bj as MessageEnvelope, T as MissingValues, $ as Mode, al as Money, d5 as MoveToNewLocationsOptions, dB as Multilingual, cn as NestedAggregation, cl as NestedAggregationItem, cm as NestedAggregationItemKindOneOf, cv as NestedAggregationResults, cw as NestedAggregationResultsResultOneOf, Y as NestedAggregationType, cE as NestedResultValue, cF as NestedResultValueResultOneOf, cK as NestedResults, cA as NestedValueAggregationResult, ap as OnlineBooking, dp as Page, c4 as Paging, c7 as PagingMetadataV2, bY as ParticipantNotification, aG as ParticipantsPolicy, ai as Payment, ao as PaymentOptions, aj as PaymentRateOneOf, a9 as PlacementType, az as PolicyDescription, ds as Properties, dH as PropertiesChange, cQ as QueryBookingFormsRequest, c$ as QueryCategoriesFilter, c_ as QueryCategoriesRequest, cW as QueryLocationsFilter, cV as QueryLocationsRequest, cN as QueryPoliciesRequest, d0 as QueryServicesMultiLanguageRequest, d1 as QueryServicesMultiLanguageResponse, c0 as QueryServicesRequest, c6 as QueryServicesResponse, c1 as QueryV2, c2 as QueryV2PagingMethodOneOf, ci as RangeAggregation, cu as RangeAggregationResult, ce as RangeBucket, cC as RangeResult, cy as RangeResults, R as RateType, b5 as ReindexMessage, b6 as ReindexMessageActionOneOf, d3 as RemovedLocationSessionsAction, d4 as RemovedLocationSessionsActionActionOptionsOneOf, a0 as RequestedFields, aE as ReschedulePolicy, ab as ResolutionMethod, aT as ResourceGroup, aU as ResourceIds, aX as ResourceType, aH as ResourcesPolicy, bf as RestoreInfo, cG as Results, aL as SaveCreditCardPolicy, cj as ScalarAggregation, cD as ScalarResult, X as ScalarType, aM as Schedule, b9 as Schema, cq as SearchDetails, c9 as SearchServicesRequest, a$ as SeoSchema, bQ as ServiceAvailabilityConstraints, aV as ServiceResource, aW as ServiceResourceSelectionOneOf, dN as ServiceSearchSpec, J as ServiceType, dM as ServicesQueryResult, bb as ServicesUrlsChanged, bx as SetAddOnsForGroupRequest, by as SetAddOnsForGroupResponse, ba as SetCustomSlugEvent, d9 as SetCustomSlugRequest, d2 as SetServiceLocationsRequest, b2 as Settings, dJ as SiteCloned, dI as SiteCreated, dr as SitePropertiesEvent, dq as SitePropertiesNotification, aY as Slug, P as SortDirection, N as SortOrder, O as SortType, c3 as Sorting, dA as SpecialHourPeriod, bR as SplitInterval, aQ as StaffMediaItem, aR as StaffMediaItemItemOneOf, aP as StaffMember, aS as StaffMemberDetails, a4 as Status, au as StreetAddress, dC as SupportedLanguage, b1 as Tag, dz as TimePeriod, dE as Translation, aZ as URLs, bq as UpdateAddOnGroupRequest, br as UpdateAddOnGroupResponse, bS as UpdateServiceRequest, bT as UpdateServiceResponse, b7 as Upsert, dm as UserDomainInfoChangedEvent, af as V2Category, M as V2RequestedFields, bz as ValidateAddOnsSelectionRequest, bA as ValidateAddOnsSelectionResponse, bE as ValidateServiceRequest, bF as ValidateServiceResponse, da as ValidateSlugRequest, bB as ValidationResult, cg as ValueAggregation, ch as ValueAggregationOptionsOneOf, ct as ValueAggregationResult, cB as ValueResult, cx as ValueResults, an as VariedPayment, aF as WaitlistPolicy, W as WebhookIdentityType } from './bookings-services-v2-service-services.universal-Cy9SqUQp.js';
4
4
 
5
5
  declare function createService$1(httpClient: HttpClient): CreateServiceSignature;
6
6
  interface CreateServiceSignature {
@@ -50,7 +50,7 @@ interface CreateServiceSignature {
50
50
  * @param - Service to create.
51
51
  * @returns Created service.
52
52
  */
53
- (service: Service): Promise<NonNullablePaths<Service, ServiceNonNullablePaths>>;
53
+ (service: Service): Promise<Service>;
54
54
  }
55
55
  declare function bulkCreateServices$1(httpClient: HttpClient): BulkCreateServicesSignature;
56
56
  interface BulkCreateServicesSignature {
@@ -63,9 +63,7 @@ interface BulkCreateServicesSignature {
63
63
  * for more details.
64
64
  * @param - Services to create.
65
65
  */
66
- (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` | {
67
- [P in ServiceNonNullablePaths]: `results.${number}.item.${P}`;
68
- }[ServiceNonNullablePaths] | `bulkActionMetadata.totalSuccesses` | `bulkActionMetadata.totalFailures` | `bulkActionMetadata.undetailedFailures`>>;
66
+ (services: Service[], options?: BulkCreateServicesOptions | undefined): Promise<BulkCreateServicesResponse>;
69
67
  }
70
68
  declare function getService$1(httpClient: HttpClient): GetServiceSignature;
71
69
  interface GetServiceSignature {
@@ -74,7 +72,7 @@ interface GetServiceSignature {
74
72
  * @param - ID of the service to retrieve.
75
73
  * @returns Retrieved service.
76
74
  */
77
- (serviceId: string): Promise<NonNullablePaths<Service, ServiceNonNullablePaths>>;
75
+ (serviceId: string): Promise<Service>;
78
76
  }
79
77
  declare function updateService$1(httpClient: HttpClient): UpdateServiceSignature;
80
78
  interface UpdateServiceSignature {
@@ -98,7 +96,7 @@ interface UpdateServiceSignature {
98
96
  * @param - Service ID.
99
97
  * @returns Updated service.
100
98
  */
101
- (_id: string, service: NonNullablePaths<UpdateService, `revision`>): Promise<NonNullablePaths<Service, ServiceNonNullablePaths>>;
99
+ (_id: string, service: UpdateService): Promise<Service>;
102
100
  }
103
101
  declare function bulkUpdateServices$1(httpClient: HttpClient): BulkUpdateServicesSignature;
104
102
  interface BulkUpdateServicesSignature {
@@ -113,9 +111,7 @@ interface BulkUpdateServicesSignature {
113
111
  * The call succeeds even if one or more individual services can't be updated.
114
112
  * Information about failures is returned in `bulkActionMetadata`.
115
113
  */
116
- (options?: NonNullablePaths<BulkUpdateServicesOptions, `services.${number}.service` | `services.${number}.service._id` | `services.${number}.service.revision`>): Promise<NonNullablePaths<BulkUpdateServicesResponse, `results` | `results.${number}.itemMetadata.originalIndex` | `results.${number}.itemMetadata.success` | `results.${number}.itemMetadata.error.code` | `results.${number}.itemMetadata.error.description` | {
117
- [P in ServiceNonNullablePaths]: `results.${number}.item.${P}`;
118
- }[ServiceNonNullablePaths] | `bulkActionMetadata.totalSuccesses` | `bulkActionMetadata.totalFailures` | `bulkActionMetadata.undetailedFailures`>>;
114
+ (options?: BulkUpdateServicesOptions | undefined): Promise<BulkUpdateServicesResponse>;
119
115
  }
120
116
  declare function bulkUpdateServicesByFilter$1(httpClient: HttpClient): BulkUpdateServicesByFilterSignature;
121
117
  interface BulkUpdateServicesByFilterSignature {
@@ -135,7 +131,7 @@ interface BulkUpdateServicesByFilterSignature {
135
131
  * Information about failures is returned in `bulkActionMetadata`.
136
132
  * @param - Filter to identify the services to update.
137
133
  */
138
- (filter: Record<string, any>, options: NonNullablePaths<BulkUpdateServicesByFilterOptions, `service`>): Promise<NonNullablePaths<BulkUpdateServicesByFilterResponse, `jobId`>>;
134
+ (filter: Record<string, any>, options: BulkUpdateServicesByFilterOptions): Promise<BulkUpdateServicesByFilterResponse>;
139
135
  }
140
136
  declare function deleteService$1(httpClient: HttpClient): DeleteServiceSignature;
141
137
  interface DeleteServiceSignature {
@@ -148,7 +144,7 @@ interface DeleteServiceSignature {
148
144
  * @param - ID of the service to delete.
149
145
  * @param - Allows you to configure how to handle the deleted service's future sessions and how to notify the sessions participants.
150
146
  */
151
- (serviceId: string, options?: DeleteServiceOptions): Promise<void>;
147
+ (serviceId: string, options?: DeleteServiceOptions | undefined): Promise<void>;
152
148
  }
153
149
  declare function bulkDeleteServices$1(httpClient: HttpClient): BulkDeleteServicesSignature;
154
150
  interface BulkDeleteServicesSignature {
@@ -164,9 +160,7 @@ interface BulkDeleteServicesSignature {
164
160
  * Information about failures is returned in `bulkActionMetadata`.
165
161
  * @param - IDs of the services to delete.
166
162
  */
167
- (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` | {
168
- [P in ServiceNonNullablePaths]: `results.${number}.item.${P}`;
169
- }[ServiceNonNullablePaths] | `bulkActionMetadata.totalSuccesses` | `bulkActionMetadata.totalFailures` | `bulkActionMetadata.undetailedFailures`>>;
163
+ (ids: string[], options?: BulkDeleteServicesOptions | undefined): Promise<BulkDeleteServicesResponse>;
170
164
  }
171
165
  declare function bulkDeleteServicesByFilter$1(httpClient: HttpClient): BulkDeleteServicesByFilterSignature;
172
166
  interface BulkDeleteServicesByFilterSignature {
@@ -189,7 +183,7 @@ interface BulkDeleteServicesByFilterSignature {
189
183
  * [API Query Language](https://dev.wix.com/docs/rest/articles/getting-started/api-query-language#filters).
190
184
  * @param - Filter to identify the services that need to be deleted.
191
185
  */
192
- (filter: Record<string, any>, options?: BulkDeleteServicesByFilterOptions): Promise<NonNullablePaths<BulkDeleteServicesByFilterResponse, `jobId`>>;
186
+ (filter: Record<string, any>, options?: BulkDeleteServicesByFilterOptions | undefined): Promise<BulkDeleteServicesByFilterResponse>;
193
187
  }
194
188
  declare function queryServices$1(httpClient: HttpClient): QueryServicesSignature;
195
189
  interface QueryServicesSignature {
@@ -247,9 +241,7 @@ interface SearchServicesSignature {
247
241
  *
248
242
  * Refer to the supported filters article ([SDK](https://dev.wix.com/docs/sdk/backend-modules/bookings/services/supported-filters) | [REST](https://dev.wix.com/docs/rest/business-solutions/bookings/services/services-v2/filtering-and-sorting)) for complete filter and sorting options.
249
243
  */
250
- (search: ServiceSearch): Promise<NonNullablePaths<SearchServicesResponse, {
251
- [P in ServiceNonNullablePaths]: `services.${number}.${P}`;
252
- }[ServiceNonNullablePaths] | `aggregationData.results` | `aggregationData.results.${number}.scalar.type` | `aggregationData.results.${number}.scalar.value` | `aggregationData.results.${number}.name` | `aggregationData.results.${number}.type` | `aggregationData.results.${number}.fieldPath`>>;
244
+ (search: ServiceSearch): Promise<SearchServicesResponse>;
253
245
  }
254
246
  declare function queryPolicies$1(httpClient: HttpClient): QueryPoliciesSignature;
255
247
  interface QueryPoliciesSignature {
@@ -293,9 +285,7 @@ interface QueryPoliciesSignature {
293
285
  * ([REST](https://dev.wix.com/docs/rest/business-solutions/bookings/policies/booking-policies/supported-filters))
294
286
  * for all supported filters and sorting options.
295
287
  */
296
- (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` | {
297
- [P in ServiceNonNullablePaths]: `bookingPolicies.${number}.connectedServices.${number}.${P}`;
298
- }[ServiceNonNullablePaths] | `bookingPolicies.${number}.totalServiceCount`>>;
288
+ (query: CursorQuery): Promise<QueryPoliciesResponse>;
299
289
  }
300
290
  declare function queryBookingForms$1(httpClient: HttpClient): QueryBookingFormsSignature;
301
291
  interface QueryBookingFormsSignature {
@@ -345,7 +335,7 @@ interface QueryBookingFormsSignature {
345
335
  * form filters ([REST](https://dev.wix.com/docs/rest/crm/forms/form-schemas/form-object))
346
336
  * for all supported filters and sorting options.
347
337
  */
348
- (query: CursorQuery, options?: QueryBookingFormsOptions): Promise<NonNullablePaths<QueryBookingFormsResponse, `bookingForms` | `bookingForms.${number}.formDetails.formId` | `bookingForms.${number}.totalServiceCount` | `defaultBookingForm.formDetails.formId` | `defaultBookingForm.connectedServices` | `defaultBookingForm.totalServiceCount`>>;
338
+ (query: CursorQuery, options?: QueryBookingFormsOptions | undefined): Promise<QueryBookingFormsResponse>;
349
339
  }
350
340
  declare function countServices$1(httpClient: HttpClient): CountServicesSignature;
351
341
  interface CountServicesSignature {
@@ -360,7 +350,7 @@ interface CountServicesSignature {
360
350
  * To learn about working with filters in general, see
361
351
  * [API Query Language](https://dev.wix.com/docs/rest/articles/getting-started/api-query-language#filters)
362
352
  */
363
- (options?: CountServicesOptions): Promise<NonNullablePaths<CountServicesResponse, `count`>>;
353
+ (options?: CountServicesOptions | undefined): Promise<CountServicesResponse>;
364
354
  }
365
355
  declare function queryLocations$1(httpClient: HttpClient): QueryLocationsSignature;
366
356
  interface QueryLocationsSignature {
@@ -390,7 +380,7 @@ interface QueryLocationsSignature {
390
380
  * [API Query Language](https://dev.wix.com/docs/rest/articles/getting-started/api-query-language)
391
381
  * and [Sorting and Paging](https://dev.wix.com/docs/rest/articles/getting-started/sorting-and-paging).
392
382
  */
393
- (options?: QueryLocationsOptions): Promise<NonNullablePaths<QueryLocationsResponse, `businessLocations.exists` | `businessLocations.locations` | `businessLocations.locations.${number}.business._id` | `businessLocations.locations.${number}.business.name` | `businessLocations.locations.${number}.business.address.streetAddress.number` | `businessLocations.locations.${number}.business.address.streetAddress.name` | `businessLocations.locations.${number}.business.address.streetAddress.apt` | `businessLocations.locations.${number}.custom._id` | `businessLocations.locations.${number}._id` | `businessLocations.locations.${number}.type` | `customLocations.exists` | `customerLocations.exists`>>;
383
+ (options?: QueryLocationsOptions | undefined): Promise<QueryLocationsResponse>;
394
384
  }
395
385
  declare function queryCategories$1(httpClient: HttpClient): QueryCategoriesSignature;
396
386
  interface QueryCategoriesSignature {
@@ -419,7 +409,7 @@ interface QueryCategoriesSignature {
419
409
  * [API Query Language](https://dev.wix.com/docs/rest/articles/getting-started/api-query-language)
420
410
  * and [Sorting and Paging](https://dev.wix.com/docs/rest/articles/getting-started/sorting-and-paging).
421
411
  */
422
- (options?: QueryCategoriesOptions): Promise<NonNullablePaths<QueryCategoriesResponse, `categories` | `categories.${number}._id`>>;
412
+ (options?: QueryCategoriesOptions | undefined): Promise<QueryCategoriesResponse>;
423
413
  }
424
414
  declare function setServiceLocations$1(httpClient: HttpClient): SetServiceLocationsSignature;
425
415
  interface SetServiceLocationsSignature {
@@ -475,9 +465,7 @@ interface SetServiceLocationsSignature {
475
465
  * @param - ID of the service.
476
466
  * @param - List of locations replacing existing service locations. Omitting an existing location removes it from the service. Specify `removedLocationSessionsAction` to determine the handling of future sessions scheduled at that location.
477
467
  */
478
- (serviceId: string, locations: Location[], options?: SetServiceLocationsOptions): Promise<NonNullablePaths<SetServiceLocationsResponse, {
479
- [P in ServiceNonNullablePaths]: `service.${P}`;
480
- }[ServiceNonNullablePaths]>>;
468
+ (serviceId: string, locations: Location[], options?: SetServiceLocationsOptions | undefined): Promise<SetServiceLocationsResponse>;
481
469
  }
482
470
  declare function enablePricingPlansForService$1(httpClient: HttpClient): EnablePricingPlansForServiceSignature;
483
471
  interface EnablePricingPlansForServiceSignature {
@@ -497,9 +485,7 @@ interface EnablePricingPlansForServiceSignature {
497
485
  * ([SDK](https://dev.wix.com/docs/sdk/backend-modules/pricing-plans/plans/introduction) | [REST](https://dev.wix.com/api/rest/wix-pricing-plans/pricing-plans/plans/plan-object))
498
486
  * to add to the service's `payment.pricingPlanIds` array.
499
487
  */
500
- (serviceId: string, pricingPlanIds: string[]): Promise<NonNullablePaths<EnablePricingPlansForServiceResponse, {
501
- [P in ServiceNonNullablePaths]: `service.${P}`;
502
- }[ServiceNonNullablePaths]>>;
488
+ (serviceId: string, pricingPlanIds: string[]): Promise<EnablePricingPlansForServiceResponse>;
503
489
  }
504
490
  declare function disablePricingPlansForService$1(httpClient: HttpClient): DisablePricingPlansForServiceSignature;
505
491
  interface DisablePricingPlansForServiceSignature {
@@ -514,9 +500,7 @@ interface DisablePricingPlansForServiceSignature {
514
500
  * able to book the service, as they will have no payment options available.
515
501
  * @param - ID of the service to update.
516
502
  */
517
- (serviceId: string, options?: DisablePricingPlansForServiceOptions): Promise<NonNullablePaths<DisablePricingPlansForServiceResponse, {
518
- [P in ServiceNonNullablePaths]: `service.${P}`;
519
- }[ServiceNonNullablePaths]>>;
503
+ (serviceId: string, options?: DisablePricingPlansForServiceOptions | undefined): Promise<DisablePricingPlansForServiceResponse>;
520
504
  }
521
505
  declare function setCustomSlug$1(httpClient: HttpClient): SetCustomSlugSignature;
522
506
  interface SetCustomSlugSignature {
@@ -530,9 +514,7 @@ interface SetCustomSlugSignature {
530
514
  * - Another service has used the slug in the past.
531
515
  * @param - ID of the service for which to update the active slug.
532
516
  */
533
- (serviceId: string, options?: SetCustomSlugOptions): Promise<NonNullablePaths<SetCustomSlugResponse, `slug.name` | {
534
- [P in ServiceNonNullablePaths]: `service.${P}`;
535
- }[ServiceNonNullablePaths]>>;
517
+ (serviceId: string, options?: SetCustomSlugOptions | undefined): Promise<SetCustomSlugResponse>;
536
518
  }
537
519
  declare function validateSlug$1(httpClient: HttpClient): ValidateSlugSignature;
538
520
  interface ValidateSlugSignature {
@@ -548,7 +530,7 @@ interface ValidateSlugSignature {
548
530
  * The call fails if at least one of the checks fails.
549
531
  * @param - IO of the service to check custom slug validity for.
550
532
  */
551
- (serviceId: string, options?: ValidateSlugOptions): Promise<NonNullablePaths<ValidateSlugResponse, `valid` | `errors`>>;
533
+ (serviceId: string, options?: ValidateSlugOptions | undefined): Promise<ValidateSlugResponse>;
552
534
  }
553
535
  declare function cloneService$1(httpClient: HttpClient): CloneServiceSignature;
554
536
  interface CloneServiceSignature {
@@ -615,9 +597,7 @@ interface CloneServiceSignature {
615
597
  * after cloning the service, customers will be unable to book the service.
616
598
  * @param - ID of the service to clone.
617
599
  */
618
- (sourceServiceId: string): Promise<NonNullablePaths<CloneServiceResponse, {
619
- [P in ServiceNonNullablePaths]: `service.${P}`;
620
- }[ServiceNonNullablePaths] | `errors`>>;
600
+ (sourceServiceId: string): Promise<CloneServiceResponse>;
621
601
  }
622
602
  declare const onServiceCreated$1: EventDefinition<ServiceCreatedEnvelope, "wix.bookings.services.v2.service_created">;
623
603
  declare const onServiceDeleted$1: EventDefinition<ServiceDeletedEnvelope, "wix.bookings.services.v2.service_deleted">;