@wix/auto_sdk_bookings_services 1.0.235 → 1.0.237
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-BYcPQXaQ.d.ts → bookings-services-v2-service-services.universal-BKoqsyEO.d.ts} +52 -4
- package/build/cjs/index.d.ts +15 -2
- package/build/cjs/index.js +1 -0
- package/build/cjs/index.js.map +1 -1
- package/build/cjs/index.typings.d.ts +2 -2
- package/build/cjs/index.typings.js +1 -0
- package/build/cjs/index.typings.js.map +1 -1
- package/build/cjs/meta.d.ts +38 -5
- package/build/cjs/meta.js.map +1 -1
- package/build/es/{bookings-services-v2-service-services.universal-BYcPQXaQ.d.mts → bookings-services-v2-service-services.universal-BKoqsyEO.d.mts} +52 -4
- package/build/es/index.d.mts +15 -2
- package/build/es/index.mjs +1 -0
- package/build/es/index.mjs.map +1 -1
- package/build/es/index.typings.d.mts +2 -2
- package/build/es/index.typings.mjs +1 -0
- package/build/es/index.typings.mjs.map +1 -1
- package/build/es/meta.d.mts +38 -5
- package/build/es/meta.mjs.map +1 -1
- package/build/internal/cjs/{bookings-services-v2-service-services.universal-OMm0Xdxb.d.ts → bookings-services-v2-service-services.universal-D98H2-yO.d.ts} +65 -5
- package/build/internal/cjs/index.d.ts +15 -2
- package/build/internal/cjs/index.js +1 -0
- package/build/internal/cjs/index.js.map +1 -1
- package/build/internal/cjs/index.typings.d.ts +2 -2
- package/build/internal/cjs/index.typings.js +1 -0
- package/build/internal/cjs/index.typings.js.map +1 -1
- package/build/internal/cjs/meta.d.ts +38 -5
- package/build/internal/cjs/meta.js.map +1 -1
- package/build/internal/es/{bookings-services-v2-service-services.universal-OMm0Xdxb.d.mts → bookings-services-v2-service-services.universal-D98H2-yO.d.mts} +65 -5
- package/build/internal/es/index.d.mts +15 -2
- package/build/internal/es/index.mjs +1 -0
- package/build/internal/es/index.mjs.map +1 -1
- package/build/internal/es/index.typings.d.mts +2 -2
- package/build/internal/es/index.typings.mjs +1 -0
- package/build/internal/es/index.typings.mjs.map +1 -1
- package/build/internal/es/meta.d.mts +38 -5
- package/build/internal/es/meta.mjs.map +1 -1
- package/package.json +2 -2
|
@@ -119,6 +119,8 @@ interface Service {
|
|
|
119
119
|
/**
|
|
120
120
|
* Information about which resources must be available so customers can book the service.
|
|
121
121
|
* For example, a meeting room or equipment.
|
|
122
|
+
* Some nested fields are only returned when specific conditional fields are requested:
|
|
123
|
+
* pass `RESOURCE_TYPE_DETAILS` to retrieve `resourceType.name`, and `RESOURCE_DETAILS` to retrieve `resourceDetails.resources`.
|
|
122
124
|
* @maxSize 3
|
|
123
125
|
*/
|
|
124
126
|
serviceResources?: ServiceResource[];
|
|
@@ -421,9 +423,17 @@ interface SubscriptionPayment {
|
|
|
421
423
|
* Required when: `rateType` is `SUBSCRIPTION`. Sets the future billing cycle dates.
|
|
422
424
|
*/
|
|
423
425
|
recurringStartDate?: Date | null;
|
|
424
|
-
/**
|
|
426
|
+
/**
|
|
427
|
+
* Deprecated.
|
|
428
|
+
* @deprecated Deprecated.
|
|
429
|
+
* @targetRemovalDate 2026-07-01
|
|
430
|
+
*/
|
|
425
431
|
enrollmentFeeAmount?: Money;
|
|
426
|
-
/**
|
|
432
|
+
/**
|
|
433
|
+
* Deprecated.
|
|
434
|
+
* @deprecated Deprecated.
|
|
435
|
+
* @targetRemovalDate 2026-07-01
|
|
436
|
+
*/
|
|
427
437
|
fullUpfrontPayment?: FullUpfrontPayment;
|
|
428
438
|
}
|
|
429
439
|
declare enum FrequencyType {
|
|
@@ -2618,6 +2628,29 @@ interface AccountInfo {
|
|
|
2618
2628
|
*/
|
|
2619
2629
|
siteId?: string | null;
|
|
2620
2630
|
}
|
|
2631
|
+
/** Details about the individual resources assigned to a service resource. */
|
|
2632
|
+
interface ResourceDetails {
|
|
2633
|
+
/**
|
|
2634
|
+
* List of resources assigned to this service resource.
|
|
2635
|
+
* @maxSize 100
|
|
2636
|
+
*/
|
|
2637
|
+
resources?: ResourceInfo[];
|
|
2638
|
+
}
|
|
2639
|
+
/** A resource assigned to a service resource. */
|
|
2640
|
+
interface ResourceInfo {
|
|
2641
|
+
/**
|
|
2642
|
+
* ID of the resource.
|
|
2643
|
+
* @format GUID
|
|
2644
|
+
* @readonly
|
|
2645
|
+
*/
|
|
2646
|
+
_id?: string;
|
|
2647
|
+
/**
|
|
2648
|
+
* Display name of the resource (for example, `"John Smith"` or `"Room A"`).
|
|
2649
|
+
* @readonly
|
|
2650
|
+
* @maxLength 100
|
|
2651
|
+
*/
|
|
2652
|
+
name?: string | null;
|
|
2653
|
+
}
|
|
2621
2654
|
interface CreateServiceRequest {
|
|
2622
2655
|
/** Service to create. */
|
|
2623
2656
|
service: Service;
|
|
@@ -2718,7 +2751,7 @@ interface GetServiceRequest {
|
|
|
2718
2751
|
declare enum V2RequestedFields {
|
|
2719
2752
|
/** When passed, `service.staffMemberDetails` is returned. */
|
|
2720
2753
|
STAFF_MEMBER_DETAILS = "STAFF_MEMBER_DETAILS",
|
|
2721
|
-
/**
|
|
2754
|
+
/** Returns the name of each service resource's resource type (for example, `'Meeting rooms'` or `'Equipment'`). See `serviceResources.resourceType.name`. */
|
|
2722
2755
|
RESOURCE_TYPE_DETAILS = "RESOURCE_TYPE_DETAILS",
|
|
2723
2756
|
/** When passed, `service.payment.discountInfo` is returned. */
|
|
2724
2757
|
DISCOUNT_INFO_DETAILS = "DISCOUNT_INFO_DETAILS"
|
|
@@ -5121,6 +5154,19 @@ interface BulkCreateServicesOptions {
|
|
|
5121
5154
|
}
|
|
5122
5155
|
/**
|
|
5123
5156
|
* Retrieves a service.
|
|
5157
|
+
*
|
|
5158
|
+
*
|
|
5159
|
+
* ### Conditional fields
|
|
5160
|
+
*
|
|
5161
|
+
* Use the `conditionalFields` request parameter to receive additional data in the response.
|
|
5162
|
+
* These fields are excluded from the response by default because retrieving them requires
|
|
5163
|
+
* additional calls to other services.
|
|
5164
|
+
*
|
|
5165
|
+
* Supported values:
|
|
5166
|
+
* + `STAFF_MEMBER_DETAILS`: Returns `service.staffMemberDetails`.
|
|
5167
|
+
* + `RESOURCE_TYPE_DETAILS`: Returns the name of each service resource's resource type. See `service.serviceResources.resourceType.name`.
|
|
5168
|
+
* + `DISCOUNT_INFO_DETAILS`: Returns `service.payment.discountInfo`.
|
|
5169
|
+
* + `RESOURCE_DETAILS`: Returns the name of each individual resource assigned to a service resource. See `service.serviceResources.resourceDetails`.
|
|
5124
5170
|
* @param serviceId - ID of the service to retrieve.
|
|
5125
5171
|
* @public
|
|
5126
5172
|
* @requiredField serviceId
|
|
@@ -5292,6 +5338,8 @@ interface UpdateService {
|
|
|
5292
5338
|
/**
|
|
5293
5339
|
* Information about which resources must be available so customers can book the service.
|
|
5294
5340
|
* For example, a meeting room or equipment.
|
|
5341
|
+
* Some nested fields are only returned when specific conditional fields are requested:
|
|
5342
|
+
* pass `RESOURCE_TYPE_DETAILS` to retrieve `resourceType.name`, and `RESOURCE_DETAILS` to retrieve `resourceDetails.resources`.
|
|
5295
5343
|
* @maxSize 3
|
|
5296
5344
|
*/
|
|
5297
5345
|
serviceResources?: ServiceResource[];
|
|
@@ -6428,4 +6476,4 @@ interface SetAddOnsForGroupOptions {
|
|
|
6428
6476
|
addOnIds: string[] | null;
|
|
6429
6477
|
}
|
|
6430
6478
|
|
|
6431
|
-
export { type ListAddOnGroupsByServiceIdResponse as $, type DisablePricingPlansForServiceResponse as A, type BulkCreateServicesOptions as B, type CreateServiceValidationErrors as C, type DeleteServiceOptions as D, type EnablePricingPlansForServiceResponse as E, type DisablePricingPlansForServiceApplicationErrors as F, type GetServiceOptions as G, type SetCustomSlugOptions as H, type SetCustomSlugResponse as I, type SetCustomSlugApplicationErrors as J, type SetCustomSlugValidationErrors as K, type ValidateSlugResponse as L, type CloneServiceResponse as M, type AddOnGroup as N, type CreateAddOnGroupOptions as O, type CreateAddOnGroupResponse as P, type QueryPoliciesResponse as Q, type CreateAddOnGroupApplicationErrors as R, type Service as S, type DeleteAddOnGroupOptions as T, type UpdateService as U, type ValidateSlugOptions as V, type DeleteAddOnGroupApplicationErrors as W, type UpdateAddOnGroupOptions as X, type UpdateAddOnGroupResponse as Y, type UpdateAddOnGroupApplicationErrors as Z, type ListAddOnGroupsByServiceIdOptions as _, type BulkCreateServicesResponse as a, type Payment as a$, type SetAddOnsForGroupOptions as a0, type SetAddOnsForGroupResponse as a1, type SetAddOnsForGroupApplicationErrors as a2, type ServiceCreatedEnvelope as a3, type ServiceDeletedEnvelope as a4, type ServiceUpdatedEnvelope as a5, type ServiceQuery as a6, type QueryServicesOptions as a7, typedQueryServices as a8, type ServicesQueryBuilder as a9, SortOrder as aA, SortType as aB, SortDirection as aC, MissingValues as aD, ScalarType as aE, NestedAggregationType as aF, Interval as aG, AggregationType as aH, Mode as aI, RequestedFields as aJ, Action as aK, InvalidSlugError as aL, CloneErrors as aM, Status as aN, CategoryNotificationEvent as aO, BenefitType as aP, Event as aQ, CrudType as aR, PlacementType as aS, DayOfWeek as aT, ResolutionMethod as aU, type Media as aV, type MediaItem as aW, type MediaItemItemOneOf as aX, type V2Category as aY, type Form as aZ, type FormSettings as a_, ServiceType as aa, RateType as ab, FrequencyType as ac, FirstChargeDateType as ad, AddOnPaymentOptions as ae, LocationTypeEnumLocationType as af, RankingOrder as ag, SortingMethodType as ah, Timing as ai, CompletionRequirement as aj, UnitType as ak, TaxableAddressType as al, MultiServiceBookingType as am, ResourceTransparency as an, LocationType as ao, SelectionMethod as ap, DurationUnitType as aq, ValueType as ar, BookingStatus as as, PaymentStatus as at, SelectedPaymentOption as au, Platform as av, Actor as aw, IdentityType as ax, WebhookIdentityType as ay, V2RequestedFields as az, type UpdateServiceValidationErrors as b, type V2PhoneCall as b$, type PaymentRateOneOf as b0, type FixedPayment as b1, type Money as b2, type CustomPayment as b3, type VariedPayment as b4, type SubscriptionPayment as b5, type FullUpfrontPayment as b6, type PaymentOptions as b7, type DiscountInfo as b8, type OnlineBooking as b9, type CustomOptions as bA, type IntakeFormPolicy as bB, type Schedule as bC, type AvailabilityConstraints as bD, type V2Duration as bE, type DurationRange as bF, type DurationRangeConfigOneOf as bG, type HourlyConfig as bH, type DailyConfig as bI, type StaffMember as bJ, type StaffMediaItem as bK, type StaffMediaItemItemOneOf as bL, type StaffMemberDetails as bM, type ResourceGroup as bN, type ResourceIds as bO, type ServiceResource as bP, type ServiceResourceSelectionOneOf as bQ, type ResourceType as bR, type Slug as bS, type URLs as bT, type ExtendedFields as bU, type SeoSchema as bV, type Keyword as bW, type Tag as bX, type Settings as bY, type AddOnDetails as bZ, type TaxableAddress as b_, type Conferencing as ba, type V2Location as bb, type V2LocationOptionsOneOf as bc, type CommonAddress as bd, type CommonAddressStreetOneOf as be, type CommonStreetAddress as bf, type CommonAddressLocation as bg, type BusinessLocationOptions as bh, type CustomLocationOptions as bi, type BookingPolicy as bj, type PolicyDescription as bk, type LimitEarlyBookingPolicy as bl, type LimitLateBookingPolicy as bm, type BookAfterStartPolicy as bn, type CancellationPolicy as bo, type ReschedulePolicy as bp, type WaitlistPolicy as bq, type ParticipantsPolicy as br, type ResourcesPolicy as bs, type CancellationFeePolicy as bt, type CancellationWindow as bu, type CancellationWindowFeeOneOf as bv, type SaveCreditCardPolicy as bw, type StaffSortingPolicy as bx, type StaffSortingPolicyOptionsOneOf as by, type RankingOptions as bz, type BulkUpdateServicesOptions as c, type MaskedService as c$, type SetCustomSlugEvent as c0, type ServicesUrlsChanged as c1, type DummyRequest as c2, type DummyResponse as c3, type Booking as c4, type BookingParticipantsInfoOneOf as c5, type BookedEntity as c6, type BookedEntityItemOneOf as c7, type BookedSlot as c8, type BookedResource as c9, type RestoreInfo as cA, type EntityUpdatedEvent as cB, type EntityDeletedEvent as cC, type ActionEvent as cD, type MessageEnvelope as cE, type IdentificationData as cF, type IdentificationDataIdOneOf as cG, type AccountInfo as cH, type CreateServiceRequest as cI, type CreateServiceResponse as cJ, type ValidateServiceRequest as cK, type ValidateServiceResponse as cL, type FieldViolation as cM, type BulkCreateServicesRequest as cN, type BulkServiceResult as cO, type ItemMetadata as cP, type ApplicationError as cQ, type BulkActionMetadata as cR, type GetServiceRequest as cS, type GetServiceResponse as cT, type GetServiceAvailabilityConstraintsRequest as cU, type GetServiceAvailabilityConstraintsResponse as cV, type ServiceAvailabilityConstraints as cW, type SplitInterval as cX, type UpdateServiceRequest as cY, type UpdateServiceResponse as cZ, type BulkUpdateServicesRequest as c_, type Location as ca, type PhoneCall as cb, type ResourceSelection as cc, type BookedSchedule as cd, type ContactDetails as ce, type Address as cf, type AddressStreetOneOf as cg, type StreetAddress as ch, type AddressLocation as ci, type Subdivision as cj, type CustomFormField as ck, type BookingSource as cl, type ParticipantNotification as cm, type CommonIdentificationData as cn, type CommonIdentificationDataIdOneOf as co, type FlowControlSettings as cp, type ParticipantChoices as cq, type ServiceChoices as cr, type ServiceChoice as cs, type ServiceChoiceChoiceOneOf as ct, type Duration as cu, type MultiServiceBookingInfo as cv, type BookedAddOn as cw, type DomainEvent as cx, type DomainEventBodyOneOf as cy, type EntityCreatedEvent as cz, type BulkUpdateServicesResponse as d, type FormDetails as d$, type BulkUpdateServicesByFilterRequest as d0, type DeleteServiceRequest as d1, type V2ParticipantNotification as d2, type DeleteServiceResponse as d3, type BulkDeleteServicesRequest as d4, type BulkDeleteServicesByFilterRequest as d5, type QueryServicesRequest as d6, type QueryV2 as d7, type QueryV2PagingMethodOneOf as d8, type Sorting as d9, type ValueAggregationResult as dA, type RangeAggregationResult as dB, type NestedAggregationResults as dC, type NestedAggregationResultsResultOneOf as dD, type ValueResults as dE, type RangeResults as dF, type AggregationResultsScalarResult as dG, type NestedValueAggregationResult as dH, type ValueResult as dI, type RangeResult as dJ, type ScalarResult as dK, type ScalarDateResult as dL, type NestedResultValue as dM, type NestedResultValueResultOneOf as dN, type Results as dO, type DateHistogramResult as dP, type GroupByValueResults as dQ, type DateHistogramResults as dR, type NestedResults as dS, type AggregationResultsScalarDateResult as dT, type AggregationResults as dU, type AggregationResultsResultOneOf as dV, type QueryPoliciesRequest as dW, type CursorQueryPagingMethodOneOf as dX, type BookingPolicyWithServices as dY, type QueryBookingFormsRequest as dZ, type BookingForm as d_, type Paging as da, type CursorPaging as db, type QueryServicesResponse as dc, type PagingMetadataV2 as dd, type Cursors as de, type SearchServicesRequest as df, type CursorSearch as dg, type CursorSearchPagingMethodOneOf as dh, type Aggregation as di, type AggregationKindOneOf as dj, type RangeBucket as dk, type IncludeMissingValuesOptions as dl, type ValueAggregation as dm, type ValueAggregationOptionsOneOf as dn, type RangeAggregation as dp, type ScalarAggregation as dq, type DateHistogramAggregation as dr, type NestedAggregationItem as ds, type NestedAggregationItemKindOneOf as dt, type NestedAggregation as du, type GroupByAggregation as dv, type GroupByAggregationKindOneOf as dw, type SearchDetails as dx, type CursorPagingMetadata as dy, type AggregationData as dz, type BulkUpdateServicesByFilterOptions as e, type SetAddOnsForGroupRequest as e$, type ConnectedService as e0, type CountServicesRequest as e1, type QueryLocationsRequest as e2, type QueryLocationsFilter as e3, type BusinessLocations as e4, type CustomLocations as e5, type CustomerLocations as e6, type QueryCategoriesRequest as e7, type QueryCategoriesFilter as e8, type QueryServicesMultiLanguageRequest as e9, type SitePropertiesEvent as eA, type Properties as eB, type Categories as eC, type Locale as eD, type V4Address as eE, type AddressHint as eF, type GeoCoordinates as eG, type BusinessSchedule as eH, type TimePeriod as eI, type SpecialHourPeriod as eJ, type Multilingual as eK, type SupportedLanguage as eL, type ConsentPolicy as eM, type Translation as eN, type ChangeContext as eO, type ChangeContextPayloadOneOf as eP, type PropertiesChange as eQ, type SiteCreated as eR, type SiteCloned as eS, type CreateAddOnGroupRequest as eT, type DeleteAddOnGroupRequest as eU, type DeleteAddOnGroupResponse as eV, type UpdateAddOnGroupRequest as eW, type ListAddOnGroupsByServiceIdRequest as eX, type AddOn as eY, type AddOnAddOnInfoOneOf as eZ, type AddOnGroupDetail as e_, type QueryServicesMultiLanguageResponse as ea, type SetServiceLocationsRequest as eb, type RemovedLocationSessionsAction as ec, type RemovedLocationSessionsActionActionOptionsOneOf as ed, type MoveToNewLocationsOptions as ee, type EnablePricingPlansForServiceRequest as ef, type PricingPlanSelection as eg, type InvalidPricingPlan as eh, type DisablePricingPlansForServiceRequest as ei, type SetCustomSlugRequest as ej, type ValidateSlugRequest as ek, type CloneServiceRequest as el, type CategoryNotification as em, type Category as en, type Empty as eo, type BenefitNotification as ep, type Benefit as eq, type EntryPass as er, type Discount as es, type DiscountDiscountOneOf as et, type Behavior as eu, type BehaviorBehaviorOneOf as ev, type UserDomainInfoChangedEvent as ew, type HtmlSitePublished as ex, type Page as ey, type SitePropertiesNotification as ez, type BulkUpdateServicesByFilterResponse as f, bulkUpdateServices as f$, type BaseEventMetadata as f0, type EventMetadata as f1, type AccountInfoMetadata as f2, type ServicesQueryResult as f3, type ServiceQuerySpec as f4, type ServiceSearchSpec as f5, utils as f6, type ServiceTypeWithLiterals as f7, type RateTypeWithLiterals as f8, type FrequencyTypeWithLiterals as f9, type MissingValuesWithLiterals as fA, type ScalarTypeWithLiterals as fB, type NestedAggregationTypeWithLiterals as fC, type IntervalWithLiterals as fD, type AggregationTypeWithLiterals as fE, type ModeWithLiterals as fF, type RequestedFieldsWithLiterals as fG, type ActionWithLiterals as fH, type InvalidSlugErrorWithLiterals as fI, type CloneErrorsWithLiterals as fJ, type StatusWithLiterals as fK, type CategoryNotificationEventWithLiterals as fL, type BenefitTypeWithLiterals as fM, type EventWithLiterals as fN, type CrudTypeWithLiterals as fO, type PlacementTypeWithLiterals as fP, type DayOfWeekWithLiterals as fQ, type ResolutionMethodWithLiterals as fR, type CommonQueryWithEntityContext as fS, type CommonSearchWithEntityContext as fT, onServiceCreated as fU, onServiceDeleted as fV, onServiceUpdated as fW, createService as fX, bulkCreateServices as fY, getService as fZ, updateService as f_, type FirstChargeDateTypeWithLiterals as fa, type AddOnPaymentOptionsWithLiterals as fb, type LocationTypeEnumLocationTypeWithLiterals as fc, type RankingOrderWithLiterals as fd, type SortingMethodTypeWithLiterals as fe, type TimingWithLiterals as ff, type CompletionRequirementWithLiterals as fg, type UnitTypeWithLiterals as fh, type TaxableAddressTypeWithLiterals as fi, type MultiServiceBookingTypeWithLiterals as fj, type ResourceTransparencyWithLiterals as fk, type LocationTypeWithLiterals as fl, type SelectionMethodWithLiterals as fm, type DurationUnitTypeWithLiterals as fn, type ValueTypeWithLiterals as fo, type BookingStatusWithLiterals as fp, type PaymentStatusWithLiterals as fq, type SelectedPaymentOptionWithLiterals as fr, type PlatformWithLiterals as fs, type ActorWithLiterals as ft, type IdentityTypeWithLiterals as fu, type WebhookIdentityTypeWithLiterals as fv, type V2RequestedFieldsWithLiterals as fw, type SortOrderWithLiterals as fx, type SortTypeWithLiterals as fy, type SortDirectionWithLiterals as fz, type BulkDeleteServicesOptions as g, bulkUpdateServicesByFilter as g0, deleteService as g1, bulkDeleteServices as g2, bulkDeleteServicesByFilter as g3, queryServices as g4, queryPolicies as g5, queryBookingForms as g6, countServices as g7, queryLocations as g8, queryCategories as g9, setServiceLocations as ga, enablePricingPlansForService as gb, disablePricingPlansForService as gc, setCustomSlug as gd, validateSlug as ge, cloneService as gf, createAddOnGroup as gg, deleteAddOnGroup as gh, updateAddOnGroup as gi, listAddOnGroupsByServiceId as gj, setAddOnsForGroup as gk, type BulkDeleteServicesResponse as h, type BulkDeleteServicesByFilterOptions as i, type BulkDeleteServicesByFilterResponse as j, type ServiceSearch as k, type SearchServicesResponse as l, type CursorQuery as m, type QueryBookingFormsOptions as n, type QueryBookingFormsResponse as o, type QueryBookingFormsApplicationErrors as p, type CountServicesOptions as q, type CountServicesResponse as r, type QueryLocationsOptions as s, type QueryLocationsResponse as t, type QueryCategoriesOptions as u, type QueryCategoriesResponse as v, type SetServiceLocationsOptions as w, type SetServiceLocationsResponse as x, type EnablePricingPlansForServiceApplicationErrors as y, type DisablePricingPlansForServiceOptions as z };
|
|
6479
|
+
export { type ListAddOnGroupsByServiceIdResponse as $, type DisablePricingPlansForServiceResponse as A, type BulkCreateServicesOptions as B, type CreateServiceValidationErrors as C, type DeleteServiceOptions as D, type EnablePricingPlansForServiceResponse as E, type DisablePricingPlansForServiceApplicationErrors as F, type GetServiceOptions as G, type SetCustomSlugOptions as H, type SetCustomSlugResponse as I, type SetCustomSlugApplicationErrors as J, type SetCustomSlugValidationErrors as K, type ValidateSlugResponse as L, type CloneServiceResponse as M, type AddOnGroup as N, type CreateAddOnGroupOptions as O, type CreateAddOnGroupResponse as P, type QueryPoliciesResponse as Q, type CreateAddOnGroupApplicationErrors as R, type Service as S, type DeleteAddOnGroupOptions as T, type UpdateService as U, type ValidateSlugOptions as V, type DeleteAddOnGroupApplicationErrors as W, type UpdateAddOnGroupOptions as X, type UpdateAddOnGroupResponse as Y, type UpdateAddOnGroupApplicationErrors as Z, type ListAddOnGroupsByServiceIdOptions as _, type BulkCreateServicesResponse as a, type Payment as a$, type SetAddOnsForGroupOptions as a0, type SetAddOnsForGroupResponse as a1, type SetAddOnsForGroupApplicationErrors as a2, type ServiceCreatedEnvelope as a3, type ServiceDeletedEnvelope as a4, type ServiceUpdatedEnvelope as a5, type ServiceQuery as a6, type QueryServicesOptions as a7, typedQueryServices as a8, type ServicesQueryBuilder as a9, SortOrder as aA, SortType as aB, SortDirection as aC, MissingValues as aD, ScalarType as aE, NestedAggregationType as aF, Interval as aG, AggregationType as aH, Mode as aI, RequestedFields as aJ, Action as aK, InvalidSlugError as aL, CloneErrors as aM, Status as aN, CategoryNotificationEvent as aO, BenefitType as aP, Event as aQ, CrudType as aR, PlacementType as aS, DayOfWeek as aT, ResolutionMethod as aU, type Media as aV, type MediaItem as aW, type MediaItemItemOneOf as aX, type V2Category as aY, type Form as aZ, type FormSettings as a_, ServiceType as aa, RateType as ab, FrequencyType as ac, FirstChargeDateType as ad, AddOnPaymentOptions as ae, LocationTypeEnumLocationType as af, RankingOrder as ag, SortingMethodType as ah, Timing as ai, CompletionRequirement as aj, UnitType as ak, TaxableAddressType as al, MultiServiceBookingType as am, ResourceTransparency as an, LocationType as ao, SelectionMethod as ap, DurationUnitType as aq, ValueType as ar, BookingStatus as as, PaymentStatus as at, SelectedPaymentOption as au, Platform as av, Actor as aw, IdentityType as ax, WebhookIdentityType as ay, V2RequestedFields as az, type UpdateServiceValidationErrors as b, type V2PhoneCall as b$, type PaymentRateOneOf as b0, type FixedPayment as b1, type Money as b2, type CustomPayment as b3, type VariedPayment as b4, type SubscriptionPayment as b5, type FullUpfrontPayment as b6, type PaymentOptions as b7, type DiscountInfo as b8, type OnlineBooking as b9, type CustomOptions as bA, type IntakeFormPolicy as bB, type Schedule as bC, type AvailabilityConstraints as bD, type V2Duration as bE, type DurationRange as bF, type DurationRangeConfigOneOf as bG, type HourlyConfig as bH, type DailyConfig as bI, type StaffMember as bJ, type StaffMediaItem as bK, type StaffMediaItemItemOneOf as bL, type StaffMemberDetails as bM, type ResourceGroup as bN, type ResourceIds as bO, type ServiceResource as bP, type ServiceResourceSelectionOneOf as bQ, type ResourceType as bR, type Slug as bS, type URLs as bT, type ExtendedFields as bU, type SeoSchema as bV, type Keyword as bW, type Tag as bX, type Settings as bY, type AddOnDetails as bZ, type TaxableAddress as b_, type Conferencing as ba, type V2Location as bb, type V2LocationOptionsOneOf as bc, type CommonAddress as bd, type CommonAddressStreetOneOf as be, type CommonStreetAddress as bf, type CommonAddressLocation as bg, type BusinessLocationOptions as bh, type CustomLocationOptions as bi, type BookingPolicy as bj, type PolicyDescription as bk, type LimitEarlyBookingPolicy as bl, type LimitLateBookingPolicy as bm, type BookAfterStartPolicy as bn, type CancellationPolicy as bo, type ReschedulePolicy as bp, type WaitlistPolicy as bq, type ParticipantsPolicy as br, type ResourcesPolicy as bs, type CancellationFeePolicy as bt, type CancellationWindow as bu, type CancellationWindowFeeOneOf as bv, type SaveCreditCardPolicy as bw, type StaffSortingPolicy as bx, type StaffSortingPolicyOptionsOneOf as by, type RankingOptions as bz, type BulkUpdateServicesOptions as c, type UpdateServiceResponse as c$, type SetCustomSlugEvent as c0, type ServicesUrlsChanged as c1, type DummyRequest as c2, type DummyResponse as c3, type Booking as c4, type BookingParticipantsInfoOneOf as c5, type BookedEntity as c6, type BookedEntityItemOneOf as c7, type BookedSlot as c8, type BookedResource as c9, type RestoreInfo as cA, type EntityUpdatedEvent as cB, type EntityDeletedEvent as cC, type ActionEvent as cD, type MessageEnvelope as cE, type IdentificationData as cF, type IdentificationDataIdOneOf as cG, type AccountInfo as cH, type ResourceDetails as cI, type ResourceInfo as cJ, type CreateServiceRequest as cK, type CreateServiceResponse as cL, type ValidateServiceRequest as cM, type ValidateServiceResponse as cN, type FieldViolation as cO, type BulkCreateServicesRequest as cP, type BulkServiceResult as cQ, type ItemMetadata as cR, type ApplicationError as cS, type BulkActionMetadata as cT, type GetServiceRequest as cU, type GetServiceResponse as cV, type GetServiceAvailabilityConstraintsRequest as cW, type GetServiceAvailabilityConstraintsResponse as cX, type ServiceAvailabilityConstraints as cY, type SplitInterval as cZ, type UpdateServiceRequest as c_, type Location as ca, type PhoneCall as cb, type ResourceSelection as cc, type BookedSchedule as cd, type ContactDetails as ce, type Address as cf, type AddressStreetOneOf as cg, type StreetAddress as ch, type AddressLocation as ci, type Subdivision as cj, type CustomFormField as ck, type BookingSource as cl, type ParticipantNotification as cm, type CommonIdentificationData as cn, type CommonIdentificationDataIdOneOf as co, type FlowControlSettings as cp, type ParticipantChoices as cq, type ServiceChoices as cr, type ServiceChoice as cs, type ServiceChoiceChoiceOneOf as ct, type Duration as cu, type MultiServiceBookingInfo as cv, type BookedAddOn as cw, type DomainEvent as cx, type DomainEventBodyOneOf as cy, type EntityCreatedEvent as cz, type BulkUpdateServicesResponse as d, type QueryBookingFormsRequest as d$, type BulkUpdateServicesRequest as d0, type MaskedService as d1, type BulkUpdateServicesByFilterRequest as d2, type DeleteServiceRequest as d3, type V2ParticipantNotification as d4, type DeleteServiceResponse as d5, type BulkDeleteServicesRequest as d6, type BulkDeleteServicesByFilterRequest as d7, type QueryServicesRequest as d8, type QueryV2 as d9, type CursorPagingMetadata as dA, type AggregationData as dB, type ValueAggregationResult as dC, type RangeAggregationResult as dD, type NestedAggregationResults as dE, type NestedAggregationResultsResultOneOf as dF, type ValueResults as dG, type RangeResults as dH, type AggregationResultsScalarResult as dI, type NestedValueAggregationResult as dJ, type ValueResult as dK, type RangeResult as dL, type ScalarResult as dM, type ScalarDateResult as dN, type NestedResultValue as dO, type NestedResultValueResultOneOf as dP, type Results as dQ, type DateHistogramResult as dR, type GroupByValueResults as dS, type DateHistogramResults as dT, type NestedResults as dU, type AggregationResultsScalarDateResult as dV, type AggregationResults as dW, type AggregationResultsResultOneOf as dX, type QueryPoliciesRequest as dY, type CursorQueryPagingMethodOneOf as dZ, type BookingPolicyWithServices as d_, type QueryV2PagingMethodOneOf as da, type Sorting as db, type Paging as dc, type CursorPaging as dd, type QueryServicesResponse as de, type PagingMetadataV2 as df, type Cursors as dg, type SearchServicesRequest as dh, type CursorSearch as di, type CursorSearchPagingMethodOneOf as dj, type Aggregation as dk, type AggregationKindOneOf as dl, type RangeBucket as dm, type IncludeMissingValuesOptions as dn, type ValueAggregation as dp, type ValueAggregationOptionsOneOf as dq, type RangeAggregation as dr, type ScalarAggregation as ds, type DateHistogramAggregation as dt, type NestedAggregationItem as du, type NestedAggregationItemKindOneOf as dv, type NestedAggregation as dw, type GroupByAggregation as dx, type GroupByAggregationKindOneOf as dy, type SearchDetails as dz, type BulkUpdateServicesByFilterOptions as e, type AddOnAddOnInfoOneOf as e$, type BookingForm as e0, type FormDetails as e1, type ConnectedService as e2, type CountServicesRequest as e3, type QueryLocationsRequest as e4, type QueryLocationsFilter as e5, type BusinessLocations as e6, type CustomLocations as e7, type CustomerLocations as e8, type QueryCategoriesRequest as e9, type Page as eA, type SitePropertiesNotification as eB, type SitePropertiesEvent as eC, type Properties as eD, type Categories as eE, type Locale as eF, type V4Address as eG, type AddressHint as eH, type GeoCoordinates as eI, type BusinessSchedule as eJ, type TimePeriod as eK, type SpecialHourPeriod as eL, type Multilingual as eM, type SupportedLanguage as eN, type ConsentPolicy as eO, type Translation as eP, type ChangeContext as eQ, type ChangeContextPayloadOneOf as eR, type PropertiesChange as eS, type SiteCreated as eT, type SiteCloned as eU, type CreateAddOnGroupRequest as eV, type DeleteAddOnGroupRequest as eW, type DeleteAddOnGroupResponse as eX, type UpdateAddOnGroupRequest as eY, type ListAddOnGroupsByServiceIdRequest as eZ, type AddOn as e_, type QueryCategoriesFilter as ea, type QueryServicesMultiLanguageRequest as eb, type QueryServicesMultiLanguageResponse as ec, type SetServiceLocationsRequest as ed, type RemovedLocationSessionsAction as ee, type RemovedLocationSessionsActionActionOptionsOneOf as ef, type MoveToNewLocationsOptions as eg, type EnablePricingPlansForServiceRequest as eh, type PricingPlanSelection as ei, type InvalidPricingPlan as ej, type DisablePricingPlansForServiceRequest as ek, type SetCustomSlugRequest as el, type ValidateSlugRequest as em, type CloneServiceRequest as en, type CategoryNotification as eo, type Category as ep, type Empty as eq, type BenefitNotification as er, type Benefit as es, type EntryPass as et, type Discount as eu, type DiscountDiscountOneOf as ev, type Behavior as ew, type BehaviorBehaviorOneOf as ex, type UserDomainInfoChangedEvent as ey, type HtmlSitePublished as ez, type BulkUpdateServicesByFilterResponse as f, getService as f$, type AddOnGroupDetail as f0, type SetAddOnsForGroupRequest as f1, type BaseEventMetadata as f2, type EventMetadata as f3, type AccountInfoMetadata as f4, type ServicesQueryResult as f5, type ServiceQuerySpec as f6, type ServiceSearchSpec as f7, utils as f8, type ServiceTypeWithLiterals as f9, type SortTypeWithLiterals as fA, type SortDirectionWithLiterals as fB, type MissingValuesWithLiterals as fC, type ScalarTypeWithLiterals as fD, type NestedAggregationTypeWithLiterals as fE, type IntervalWithLiterals as fF, type AggregationTypeWithLiterals as fG, type ModeWithLiterals as fH, type RequestedFieldsWithLiterals as fI, type ActionWithLiterals as fJ, type InvalidSlugErrorWithLiterals as fK, type CloneErrorsWithLiterals as fL, type StatusWithLiterals as fM, type CategoryNotificationEventWithLiterals as fN, type BenefitTypeWithLiterals as fO, type EventWithLiterals as fP, type CrudTypeWithLiterals as fQ, type PlacementTypeWithLiterals as fR, type DayOfWeekWithLiterals as fS, type ResolutionMethodWithLiterals as fT, type CommonQueryWithEntityContext as fU, type CommonSearchWithEntityContext as fV, onServiceCreated as fW, onServiceDeleted as fX, onServiceUpdated as fY, createService as fZ, bulkCreateServices as f_, type RateTypeWithLiterals as fa, type FrequencyTypeWithLiterals as fb, type FirstChargeDateTypeWithLiterals as fc, type AddOnPaymentOptionsWithLiterals as fd, type LocationTypeEnumLocationTypeWithLiterals as fe, type RankingOrderWithLiterals as ff, type SortingMethodTypeWithLiterals as fg, type TimingWithLiterals as fh, type CompletionRequirementWithLiterals as fi, type UnitTypeWithLiterals as fj, type TaxableAddressTypeWithLiterals as fk, type MultiServiceBookingTypeWithLiterals as fl, type ResourceTransparencyWithLiterals as fm, type LocationTypeWithLiterals as fn, type SelectionMethodWithLiterals as fo, type DurationUnitTypeWithLiterals as fp, type ValueTypeWithLiterals as fq, type BookingStatusWithLiterals as fr, type PaymentStatusWithLiterals as fs, type SelectedPaymentOptionWithLiterals as ft, type PlatformWithLiterals as fu, type ActorWithLiterals as fv, type IdentityTypeWithLiterals as fw, type WebhookIdentityTypeWithLiterals as fx, type V2RequestedFieldsWithLiterals as fy, type SortOrderWithLiterals as fz, type BulkDeleteServicesOptions as g, updateService as g0, bulkUpdateServices as g1, bulkUpdateServicesByFilter as g2, deleteService as g3, bulkDeleteServices as g4, bulkDeleteServicesByFilter as g5, queryServices as g6, queryPolicies as g7, queryBookingForms as g8, countServices as g9, queryLocations as ga, queryCategories as gb, setServiceLocations as gc, enablePricingPlansForService as gd, disablePricingPlansForService as ge, setCustomSlug as gf, validateSlug as gg, cloneService as gh, createAddOnGroup as gi, deleteAddOnGroup as gj, updateAddOnGroup as gk, listAddOnGroupsByServiceId as gl, setAddOnsForGroup as gm, type BulkDeleteServicesResponse as h, type BulkDeleteServicesByFilterOptions as i, type BulkDeleteServicesByFilterResponse as j, type ServiceSearch as k, type SearchServicesResponse as l, type CursorQuery as m, type QueryBookingFormsOptions as n, type QueryBookingFormsResponse as o, type QueryBookingFormsApplicationErrors as p, type CountServicesOptions as q, type CountServicesResponse as r, type QueryLocationsOptions as s, type QueryLocationsResponse as t, type QueryCategoriesOptions as u, type QueryCategoriesResponse as v, type SetServiceLocationsOptions as w, type SetServiceLocationsResponse as x, type EnablePricingPlansForServiceApplicationErrors as y, type DisablePricingPlansForServiceOptions as z };
|
package/build/es/index.d.mts
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
import { HttpClient, NonNullablePaths, EventDefinition, MaybeContext, BuildRESTFunction, BuildEventDefinition } from '@wix/sdk-types';
|
|
2
|
-
import { 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 { cH as AccountInfo,
|
|
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-BKoqsyEO.mjs';
|
|
3
|
+
export { cH as AccountInfo, f4 as AccountInfoMetadata, aK as Action, cD as ActionEvent, fJ as ActionWithLiterals, aw as Actor, fv as ActorWithLiterals, e_ as AddOn, e$ as AddOnAddOnInfoOneOf, bZ as AddOnDetails, f0 as AddOnGroupDetail, ae as AddOnPaymentOptions, fd as AddOnPaymentOptionsWithLiterals, cf as Address, eH as AddressHint, ci as AddressLocation, cg as AddressStreetOneOf, dk as Aggregation, dB as AggregationData, dl as AggregationKindOneOf, dW as AggregationResults, dX as AggregationResultsResultOneOf, dV as AggregationResultsScalarDateResult, dI as AggregationResultsScalarResult, aH as AggregationType, fG as AggregationTypeWithLiterals, cS as ApplicationError, bD as AvailabilityConstraints, f2 as BaseEventMetadata, ew as Behavior, ex as BehaviorBehaviorOneOf, es as Benefit, er as BenefitNotification, aP as BenefitType, fO as BenefitTypeWithLiterals, bn as BookAfterStartPolicy, cw as BookedAddOn, c6 as BookedEntity, c7 as BookedEntityItemOneOf, c9 as BookedResource, cd as BookedSchedule, c8 as BookedSlot, c4 as Booking, e0 as BookingForm, c5 as BookingParticipantsInfoOneOf, bj as BookingPolicy, d_ as BookingPolicyWithServices, cl as BookingSource, as as BookingStatus, fr as BookingStatusWithLiterals, cT as BulkActionMetadata, cP as BulkCreateServicesRequest, d7 as BulkDeleteServicesByFilterRequest, d6 as BulkDeleteServicesRequest, cQ as BulkServiceResult, d2 as BulkUpdateServicesByFilterRequest, d0 as BulkUpdateServicesRequest, bh as BusinessLocationOptions, e6 as BusinessLocations, eJ as BusinessSchedule, bt as CancellationFeePolicy, bo as CancellationPolicy, bu as CancellationWindow, bv as CancellationWindowFeeOneOf, eE as Categories, ep as Category, eo as CategoryNotification, aO as CategoryNotificationEvent, fN as CategoryNotificationEventWithLiterals, eQ as ChangeContext, eR as ChangeContextPayloadOneOf, aM as CloneErrors, fL as CloneErrorsWithLiterals, en as CloneServiceRequest, bd as CommonAddress, bg as CommonAddressLocation, be as CommonAddressStreetOneOf, cn as CommonIdentificationData, co as CommonIdentificationDataIdOneOf, fU as CommonQueryWithEntityContext, fV as CommonSearchWithEntityContext, bf as CommonStreetAddress, aj as CompletionRequirement, fi as CompletionRequirementWithLiterals, ba as Conferencing, e2 as ConnectedService, eO as ConsentPolicy, ce as ContactDetails, e3 as CountServicesRequest, eV as CreateAddOnGroupRequest, cK as CreateServiceRequest, cL as CreateServiceResponse, aR as CrudType, fQ as CrudTypeWithLiterals, dd as CursorPaging, dA as CursorPagingMetadata, dZ as CursorQueryPagingMethodOneOf, di as CursorSearch, dj as CursorSearchPagingMethodOneOf, dg as Cursors, ck as CustomFormField, bi as CustomLocationOptions, e7 as CustomLocations, bA as CustomOptions, b3 as CustomPayment, e8 as CustomerLocations, bI as DailyConfig, dt as DateHistogramAggregation, dR as DateHistogramResult, dT as DateHistogramResults, aT as DayOfWeek, fS as DayOfWeekWithLiterals, eW as DeleteAddOnGroupRequest, eX as DeleteAddOnGroupResponse, d3 as DeleteServiceRequest, d5 as DeleteServiceResponse, ek as DisablePricingPlansForServiceRequest, eu as Discount, ev as DiscountDiscountOneOf, b8 as DiscountInfo, cx as DomainEvent, cy as DomainEventBodyOneOf, c2 as DummyRequest, c3 as DummyResponse, cu as Duration, bF as DurationRange, bG as DurationRangeConfigOneOf, aq as DurationUnitType, fp as DurationUnitTypeWithLiterals, eq as Empty, eh as EnablePricingPlansForServiceRequest, cz as EntityCreatedEvent, cC as EntityDeletedEvent, cB as EntityUpdatedEvent, et as EntryPass, aQ as Event, f3 as EventMetadata, fP as EventWithLiterals, bU as ExtendedFields, cO as FieldViolation, ad as FirstChargeDateType, fc as FirstChargeDateTypeWithLiterals, b1 as FixedPayment, cp as FlowControlSettings, aZ as Form, e1 as FormDetails, a_ as FormSettings, ac as FrequencyType, fb as FrequencyTypeWithLiterals, b6 as FullUpfrontPayment, eI as GeoCoordinates, cW as GetServiceAvailabilityConstraintsRequest, cX as GetServiceAvailabilityConstraintsResponse, cU as GetServiceRequest, cV as GetServiceResponse, dx as GroupByAggregation, dy as GroupByAggregationKindOneOf, dS as GroupByValueResults, bH as HourlyConfig, ez as HtmlSitePublished, cF as IdentificationData, cG as IdentificationDataIdOneOf, ax as IdentityType, fw as IdentityTypeWithLiterals, dn as IncludeMissingValuesOptions, bB as IntakeFormPolicy, aG as Interval, fF as IntervalWithLiterals, ej as InvalidPricingPlan, aL as InvalidSlugError, fK as InvalidSlugErrorWithLiterals, cR as ItemMetadata, bW as Keyword, bl as LimitEarlyBookingPolicy, bm as LimitLateBookingPolicy, eZ as ListAddOnGroupsByServiceIdRequest, eF as Locale, ca as Location, ao as LocationType, af as LocationTypeEnumLocationType, fe as LocationTypeEnumLocationTypeWithLiterals, fn as LocationTypeWithLiterals, d1 as MaskedService, aV as Media, aW as MediaItem, aX as MediaItemItemOneOf, cE as MessageEnvelope, aD as MissingValues, fC as MissingValuesWithLiterals, aI as Mode, fH as ModeWithLiterals, b2 as Money, eg as MoveToNewLocationsOptions, cv as MultiServiceBookingInfo, am as MultiServiceBookingType, fl as MultiServiceBookingTypeWithLiterals, eM as Multilingual, dw as NestedAggregation, du as NestedAggregationItem, dv as NestedAggregationItemKindOneOf, dE as NestedAggregationResults, dF as NestedAggregationResultsResultOneOf, aF as NestedAggregationType, fE as NestedAggregationTypeWithLiterals, dO as NestedResultValue, dP as NestedResultValueResultOneOf, dU as NestedResults, dJ as NestedValueAggregationResult, b9 as OnlineBooking, eA as Page, dc as Paging, df as PagingMetadataV2, cq as ParticipantChoices, cm as ParticipantNotification, br as ParticipantsPolicy, a$ as Payment, b7 as PaymentOptions, b0 as PaymentRateOneOf, at as PaymentStatus, fs as PaymentStatusWithLiterals, cb as PhoneCall, aS as PlacementType, fR as PlacementTypeWithLiterals, av as Platform, fu as PlatformWithLiterals, bk as PolicyDescription, ei as PricingPlanSelection, eD as Properties, eS as PropertiesChange, d$ as QueryBookingFormsRequest, ea as QueryCategoriesFilter, e9 as QueryCategoriesRequest, e5 as QueryLocationsFilter, e4 as QueryLocationsRequest, dY as QueryPoliciesRequest, eb as QueryServicesMultiLanguageRequest, ec as QueryServicesMultiLanguageResponse, d8 as QueryServicesRequest, de as QueryServicesResponse, d9 as QueryV2, da as QueryV2PagingMethodOneOf, dr as RangeAggregation, dD as RangeAggregationResult, dm as RangeBucket, dL as RangeResult, dH as RangeResults, bz as RankingOptions, ag as RankingOrder, ff as RankingOrderWithLiterals, ab as RateType, fa as RateTypeWithLiterals, ee as RemovedLocationSessionsAction, ef as RemovedLocationSessionsActionActionOptionsOneOf, aJ as RequestedFields, fI as RequestedFieldsWithLiterals, bp as ReschedulePolicy, aU as ResolutionMethod, fT as ResolutionMethodWithLiterals, cI as ResourceDetails, bN as ResourceGroup, bO as ResourceIds, cJ as ResourceInfo, cc as ResourceSelection, an as ResourceTransparency, fm as ResourceTransparencyWithLiterals, bR as ResourceType, bs as ResourcesPolicy, cA as RestoreInfo, dQ as Results, bw as SaveCreditCardPolicy, ds as ScalarAggregation, dN as ScalarDateResult, dM as ScalarResult, aE as ScalarType, fD as ScalarTypeWithLiterals, bC as Schedule, dz as SearchDetails, dh as SearchServicesRequest, au as SelectedPaymentOption, ft as SelectedPaymentOptionWithLiterals, ap as SelectionMethod, fo as SelectionMethodWithLiterals, bV as SeoSchema, cY as ServiceAvailabilityConstraints, cs as ServiceChoice, ct as ServiceChoiceChoiceOneOf, cr as ServiceChoices, f6 as ServiceQuerySpec, bP as ServiceResource, bQ as ServiceResourceSelectionOneOf, f7 as ServiceSearchSpec, aa as ServiceType, f9 as ServiceTypeWithLiterals, f5 as ServicesQueryResult, c1 as ServicesUrlsChanged, f1 as SetAddOnsForGroupRequest, c0 as SetCustomSlugEvent, el as SetCustomSlugRequest, ed as SetServiceLocationsRequest, bY as Settings, eU as SiteCloned, eT as SiteCreated, eC as SitePropertiesEvent, eB as SitePropertiesNotification, bS as Slug, aC as SortDirection, fB as SortDirectionWithLiterals, aA as SortOrder, fz as SortOrderWithLiterals, aB as SortType, fA as SortTypeWithLiterals, db as Sorting, ah as SortingMethodType, fg as SortingMethodTypeWithLiterals, eL as SpecialHourPeriod, cZ as SplitInterval, bK as StaffMediaItem, bL as StaffMediaItemItemOneOf, bJ as StaffMember, bM as StaffMemberDetails, bx as StaffSortingPolicy, by as StaffSortingPolicyOptionsOneOf, aN as Status, fM as StatusWithLiterals, ch as StreetAddress, cj as Subdivision, b5 as SubscriptionPayment, eN as SupportedLanguage, bX as Tag, b_ as TaxableAddress, al as TaxableAddressType, fk as TaxableAddressTypeWithLiterals, eK as TimePeriod, ai as Timing, fh as TimingWithLiterals, eP as Translation, bT as URLs, ak as UnitType, fj as UnitTypeWithLiterals, eY as UpdateAddOnGroupRequest, c_ as UpdateServiceRequest, c$ as UpdateServiceResponse, ey as UserDomainInfoChangedEvent, aY as V2Category, bE as V2Duration, bb as V2Location, bc as V2LocationOptionsOneOf, d4 as V2ParticipantNotification, b$ as V2PhoneCall, az as V2RequestedFields, fy as V2RequestedFieldsWithLiterals, eG as V4Address, cM as ValidateServiceRequest, cN as ValidateServiceResponse, em as ValidateSlugRequest, dp as ValueAggregation, dq as ValueAggregationOptionsOneOf, dC as ValueAggregationResult, dK as ValueResult, dG as ValueResults, ar as ValueType, fq as ValueTypeWithLiterals, b4 as VariedPayment, bq as WaitlistPolicy, ay as WebhookIdentityType, fx as WebhookIdentityTypeWithLiterals, f8 as utils } from './bookings-services-v2-service-services.universal-BKoqsyEO.mjs';
|
|
4
4
|
|
|
5
5
|
declare function createService$1(httpClient: HttpClient): CreateServiceSignature;
|
|
6
6
|
interface CreateServiceSignature {
|
|
@@ -132,6 +132,19 @@ declare function getService$1(httpClient: HttpClient): GetServiceSignature;
|
|
|
132
132
|
interface GetServiceSignature {
|
|
133
133
|
/**
|
|
134
134
|
* Retrieves a service.
|
|
135
|
+
*
|
|
136
|
+
*
|
|
137
|
+
* ### Conditional fields
|
|
138
|
+
*
|
|
139
|
+
* Use the `conditionalFields` request parameter to receive additional data in the response.
|
|
140
|
+
* These fields are excluded from the response by default because retrieving them requires
|
|
141
|
+
* additional calls to other services.
|
|
142
|
+
*
|
|
143
|
+
* Supported values:
|
|
144
|
+
* + `STAFF_MEMBER_DETAILS`: Returns `service.staffMemberDetails`.
|
|
145
|
+
* + `RESOURCE_TYPE_DETAILS`: Returns the name of each service resource's resource type. See `service.serviceResources.resourceType.name`.
|
|
146
|
+
* + `DISCOUNT_INFO_DETAILS`: Returns `service.payment.discountInfo`.
|
|
147
|
+
* + `RESOURCE_DETAILS`: Returns the name of each individual resource assigned to a service resource. See `service.serviceResources.resourceDetails`.
|
|
135
148
|
* @param - ID of the service to retrieve.
|
|
136
149
|
* @returns Retrieved service.
|
|
137
150
|
*/
|
package/build/es/index.mjs
CHANGED
|
@@ -1909,6 +1909,7 @@ var V2RequestedFields = /* @__PURE__ */ ((V2RequestedFields2) => {
|
|
|
1909
1909
|
V2RequestedFields2["STAFF_MEMBER_DETAILS"] = "STAFF_MEMBER_DETAILS";
|
|
1910
1910
|
V2RequestedFields2["RESOURCE_TYPE_DETAILS"] = "RESOURCE_TYPE_DETAILS";
|
|
1911
1911
|
V2RequestedFields2["DISCOUNT_INFO_DETAILS"] = "DISCOUNT_INFO_DETAILS";
|
|
1912
|
+
V2RequestedFields2["RESOURCE_DETAILS"] = "RESOURCE_DETAILS";
|
|
1912
1913
|
return V2RequestedFields2;
|
|
1913
1914
|
})(V2RequestedFields || {});
|
|
1914
1915
|
var SortOrder = /* @__PURE__ */ ((SortOrder2) => {
|