@wix/auto_sdk_bookings_services 1.0.72 → 1.0.74

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.
Files changed (41) hide show
  1. package/build/cjs/{bookings-services-v2-service-services.universal-DYRSxPXw.d.ts → bookings-services-v2-service-services.universal-D6jEh8MN.d.ts} +332 -169
  2. package/build/cjs/index.d.ts +70 -3
  3. package/build/cjs/index.js +469 -0
  4. package/build/cjs/index.js.map +1 -1
  5. package/build/cjs/index.typings.d.ts +2 -2
  6. package/build/cjs/index.typings.js +415 -0
  7. package/build/cjs/index.typings.js.map +1 -1
  8. package/build/cjs/meta.d.ts +204 -3
  9. package/build/cjs/meta.js +345 -0
  10. package/build/cjs/meta.js.map +1 -1
  11. package/build/es/{bookings-services-v2-service-services.universal-DYRSxPXw.d.mts → bookings-services-v2-service-services.universal-D6jEh8MN.d.mts} +332 -169
  12. package/build/es/index.d.mts +70 -3
  13. package/build/es/index.mjs +463 -0
  14. package/build/es/index.mjs.map +1 -1
  15. package/build/es/index.typings.d.mts +2 -2
  16. package/build/es/index.typings.mjs +409 -0
  17. package/build/es/index.typings.mjs.map +1 -1
  18. package/build/es/meta.d.mts +204 -3
  19. package/build/es/meta.mjs +339 -0
  20. package/build/es/meta.mjs.map +1 -1
  21. package/build/internal/cjs/{bookings-services-v2-service-services.universal-DYRSxPXw.d.ts → bookings-services-v2-service-services.universal-D6jEh8MN.d.ts} +332 -169
  22. package/build/internal/cjs/index.d.ts +70 -3
  23. package/build/internal/cjs/index.js +469 -0
  24. package/build/internal/cjs/index.js.map +1 -1
  25. package/build/internal/cjs/index.typings.d.ts +2 -2
  26. package/build/internal/cjs/index.typings.js +415 -0
  27. package/build/internal/cjs/index.typings.js.map +1 -1
  28. package/build/internal/cjs/meta.d.ts +204 -3
  29. package/build/internal/cjs/meta.js +345 -0
  30. package/build/internal/cjs/meta.js.map +1 -1
  31. package/build/internal/es/{bookings-services-v2-service-services.universal-DYRSxPXw.d.mts → bookings-services-v2-service-services.universal-D6jEh8MN.d.mts} +332 -169
  32. package/build/internal/es/index.d.mts +70 -3
  33. package/build/internal/es/index.mjs +463 -0
  34. package/build/internal/es/index.mjs.map +1 -1
  35. package/build/internal/es/index.typings.d.mts +2 -2
  36. package/build/internal/es/index.typings.mjs +409 -0
  37. package/build/internal/es/index.typings.mjs.map +1 -1
  38. package/build/internal/es/meta.d.mts +204 -3
  39. package/build/internal/es/meta.mjs +339 -0
  40. package/build/internal/es/meta.mjs.map +1 -1
  41. package/package.json +3 -2
@@ -1,5 +1,5 @@
1
- import { ch as CursorSearch, m as SearchServicesResponse } from './bookings-services-v2-service-services.universal-DYRSxPXw.mjs';
2
- export { a8 as Action, bp as ActionEvent, e8 as ActionWithLiterals, bB as AddOn, bC as AddOnAddOnInfoOneOf, bb as AddOnDetails, ba as AddOnGroup, bD as AddOnGroupDetail, dC as Address, dD as AddressHint, aC as AddressLocation, cj as Aggregation, cz as AggregationData, ck as AggregationKindOneOf, cS as AggregationResults, cT as AggregationResultsResultOneOf, cG as AggregationResultsScalarResult, a5 as AggregationType, e5 as AggregationTypeWithLiterals, bR as ApplicationError, aU as AvailabilityConstraints, dR as BaseEventMetadata, ds as Behavior, dt as BehaviorBehaviorOneOf, dn as Benefit, dm as BenefitNotification, ad as BenefitType, ed as BenefitTypeWithLiterals, aJ as BookAfterStartPolicy, cY as BookingForm, aF as BookingPolicy, cW as BookingPolicyWithServices, bS as BulkActionMetadata, B as BulkCreateServicesOptions, bO as BulkCreateServicesRequest, a as BulkCreateServicesResponse, i as BulkDeleteServicesByFilterOptions, c6 as BulkDeleteServicesByFilterRequest, j as BulkDeleteServicesByFilterResponse, g as BulkDeleteServicesOptions, c5 as BulkDeleteServicesRequest, h as BulkDeleteServicesResponse, bP as BulkServiceResult, e as BulkUpdateServicesByFilterOptions, c1 as BulkUpdateServicesByFilterRequest, f as BulkUpdateServicesByFilterResponse, c as BulkUpdateServicesOptions, b$ as BulkUpdateServicesRequest, d as BulkUpdateServicesResponse, aD as BusinessLocationOptions, d2 as BusinessLocations, dF as BusinessSchedule, aP as CancellationFeePolicy, aK as CancellationPolicy, aQ as CancellationWindow, aR as CancellationWindowFeeOneOf, dA as Categories, dk as Category, dj as CategoryNotification, ac as CategoryNotificationEvent, ec as CategoryNotificationEventWithLiterals, dM as ChangeContext, dN as ChangeContextPayloadOneOf, aa as CloneErrors, ea as CloneErrorsWithLiterals, di as CloneServiceRequest, N as CloneServiceResponse, az as CommonAddress, aA as CommonAddressStreetOneOf, ew as CommonSearchWithEntityContext, ax as Conferencing, c_ as ConnectedService, dK as ConsentPolicy, r as CountServicesOptions, c$ as CountServicesRequest, s as CountServicesResponse, bt as CreateAddOnGroupRequest, bu as CreateAddOnGroupResponse, bJ as CreateServiceRequest, bK as CreateServiceResponse, C as CreateServiceValidationErrors, af as CrudType, ef as CrudTypeWithLiterals, cc as CursorPaging, cy as CursorPagingMetadata, n as CursorQuery, cV as CursorQueryPagingMethodOneOf, ci as CursorSearchPagingMethodOneOf, cf as Cursors, aE as CustomLocationOptions, d3 as CustomLocations, at as CustomPayment, d4 as CustomerLocations, cr as DateHistogramAggregation, cO as DateHistogramResult, cQ as DateHistogramResults, ah as DayOfWeek, eh as DayOfWeekWithLiterals, bf as Delete, bv as DeleteAddOnGroupRequest, bw as DeleteAddOnGroupResponse, D as DeleteServiceOptions, c2 as DeleteServiceRequest, c4 as DeleteServiceResponse, G as DisablePricingPlansForServiceApplicationErrors, A as DisablePricingPlansForServiceOptions, df as DisablePricingPlansForServiceRequest, F as DisablePricingPlansForServiceResponse, dq as Discount, dr as DiscountDiscountOneOf, bj as DomainEvent, bk as DomainEventBodyOneOf, aV as Duration, dl as Empty, z as EnablePricingPlansForServiceApplicationErrors, dd as EnablePricingPlansForServiceRequest, E as EnablePricingPlansForServiceResponse, bl as EntityCreatedEvent, bo as EntityDeletedEvent, bn as EntityUpdatedEvent, dp as EntryPass, ae as Event, dS as EventMetadata, ee as EventWithLiterals, b5 as ExtendedFields, bN as FieldViolation, ar as FixedPayment, an as Form, cZ as FormDetails, ao as FormSettings, dE as GeoCoordinates, bV as GetServiceAvailabilityConstraintsRequest, bW as GetServiceAvailabilityConstraintsResponse, bT as GetServiceRequest, bU as GetServiceResponse, cv as GroupByAggregation, cw as GroupByAggregationKindOneOf, cP as GroupByValueResults, dv as HtmlSitePublished, br as IdentificationData, bs as IdentificationDataIdOneOf, cm as IncludeMissingValuesOptions, a4 as Interval, e4 as IntervalWithLiterals, de as InvalidPricingPlan, a9 as InvalidSlugError, e9 as InvalidSlugErrorWithLiterals, bQ as ItemMetadata, b7 as Keyword, aH as LimitEarlyBookingPolicy, aI as LimitLateBookingPolicy, bz as ListAddOnGroupsByServiceIdRequest, bA as ListAddOnGroupsByServiceIdResponse, dB as Locale, L as Location, ay as LocationOptionsOneOf, X as LocationType, dX as LocationTypeWithLiterals, c0 as MaskedService, aj as Media, ak as MediaItem, al as MediaItemItemOneOf, bq as MessageEnvelope, a1 as MissingValues, e1 as MissingValuesWithLiterals, a6 as Mode, e6 as ModeWithLiterals, as as Money, dc as MoveToNewLocationsOptions, dI as Multilingual, cu as NestedAggregation, cs as NestedAggregationItem, ct as NestedAggregationItemKindOneOf, cC as NestedAggregationResults, cD as NestedAggregationResultsResultOneOf, a3 as NestedAggregationType, e3 as NestedAggregationTypeWithLiterals, cL as NestedResultValue, cM as NestedResultValueResultOneOf, cR as NestedResults, cH as NestedValueAggregationResult, aw as OnlineBooking, dw as Page, cb as Paging, ce as PagingMetadataV2, c3 as ParticipantNotification, aN as ParticipantsPolicy, ap as Payment, av as PaymentOptions, aq as PaymentRateOneOf, ag as PlacementType, eg as PlacementTypeWithLiterals, aG as PolicyDescription, dz as Properties, dO as PropertiesChange, q as QueryBookingFormsApplicationErrors, o as QueryBookingFormsOptions, cX as QueryBookingFormsRequest, p as QueryBookingFormsResponse, d6 as QueryCategoriesFilter, v as QueryCategoriesOptions, d5 as QueryCategoriesRequest, w as QueryCategoriesResponse, d1 as QueryLocationsFilter, t as QueryLocationsOptions, d0 as QueryLocationsRequest, u as QueryLocationsResponse, cU as QueryPoliciesRequest, Q as QueryPoliciesResponse, d7 as QueryServicesMultiLanguageRequest, d8 as QueryServicesMultiLanguageResponse, c7 as QueryServicesRequest, cd as QueryServicesResponse, c8 as QueryV2, c9 as QueryV2PagingMethodOneOf, cp as RangeAggregation, cB as RangeAggregationResult, cl as RangeBucket, cJ as RangeResult, cF as RangeResults, W as RateType, dW as RateTypeWithLiterals, bc as ReindexMessage, bd as ReindexMessageActionOneOf, da as RemovedLocationSessionsAction, db as RemovedLocationSessionsActionActionOptionsOneOf, a7 as RequestedFields, e7 as RequestedFieldsWithLiterals, aL as ReschedulePolicy, ai as ResolutionMethod, ei as ResolutionMethodWithLiterals, a_ as ResourceGroup, a$ as ResourceIds, b2 as ResourceType, aO as ResourcesPolicy, bm as RestoreInfo, cN as Results, aS as SaveCreditCardPolicy, cq as ScalarAggregation, cK as ScalarResult, a2 as ScalarType, e2 as ScalarTypeWithLiterals, aT as Schedule, bg as Schema, cx as SearchDetails, cg as SearchServicesRequest, b6 as SeoSchema, S as Service, bX as ServiceAvailabilityConstraints, O as ServiceCreatedEnvelope, P as ServiceDeletedEnvelope, b0 as ServiceResource, b1 as ServiceResourceSelectionOneOf, dU as ServiceSearchSpec, T as ServiceType, dV as ServiceTypeWithLiterals, R as ServiceUpdatedEnvelope, k as ServicesQueryBuilder, dT as ServicesQueryResult, bi as ServicesUrlsChanged, bE as SetAddOnsForGroupRequest, bF as SetAddOnsForGroupResponse, J as SetCustomSlugApplicationErrors, bh as SetCustomSlugEvent, H as SetCustomSlugOptions, dg as SetCustomSlugRequest, I as SetCustomSlugResponse, K as SetCustomSlugValidationErrors, x as SetServiceLocationsOptions, d9 as SetServiceLocationsRequest, y as SetServiceLocationsResponse, b9 as Settings, dQ as SiteCloned, dP as SiteCreated, dy as SitePropertiesEvent, dx as SitePropertiesNotification, b3 as Slug, a0 as SortDirection, e0 as SortDirectionWithLiterals, _ as SortOrder, d_ as SortOrderWithLiterals, $ as SortType, d$ as SortTypeWithLiterals, ca as Sorting, dH as SpecialHourPeriod, bY as SplitInterval, aX as StaffMediaItem, aY as StaffMediaItemItemOneOf, aW as StaffMember, aZ as StaffMemberDetails, ab as Status, eb as StatusWithLiterals, aB as StreetAddress, dJ as SupportedLanguage, b8 as Tag, dG as TimePeriod, dL as Translation, b4 as URLs, bx as UpdateAddOnGroupRequest, by as UpdateAddOnGroupResponse, U as UpdateService, bZ as UpdateServiceRequest, b_ as UpdateServiceResponse, b as UpdateServiceValidationErrors, be as Upsert, du as UserDomainInfoChangedEvent, am as V2Category, Z as V2RequestedFields, dZ as V2RequestedFieldsWithLiterals, bG as ValidateAddOnsSelectionRequest, bH as ValidateAddOnsSelectionResponse, bL as ValidateServiceRequest, bM as ValidateServiceResponse, V as ValidateSlugOptions, dh as ValidateSlugRequest, M as ValidateSlugResponse, bI as ValidationResult, cn as ValueAggregation, co as ValueAggregationOptionsOneOf, cA as ValueAggregationResult, cI as ValueResult, cE as ValueResults, au as VariedPayment, aM as WaitlistPolicy, Y as WebhookIdentityType, dY as WebhookIdentityTypeWithLiterals, en as bulkCreateServices, et as bulkDeleteServices, eu as bulkDeleteServicesByFilter, eq as bulkUpdateServices, er as bulkUpdateServicesByFilter, eH as cloneService, ez as countServices, em as createService, es as deleteService, eE as disablePricingPlansForService, eD as enablePricingPlansForService, eo as getService, ej as onServiceCreated, ek as onServiceDeleted, el as onServiceUpdated, ey as queryBookingForms, eB as queryCategories, eA as queryLocations, ex as queryPolicies, ev as queryServices, eF as setCustomSlug, eC as setServiceLocations, ep as updateService, eG as validateSlug } from './bookings-services-v2-service-services.universal-DYRSxPXw.mjs';
1
+ import { cf as CursorSearch, m as SearchServicesResponse } from './bookings-services-v2-service-services.universal-D6jEh8MN.mjs';
2
+ export { an as Action, bD as ActionEvent, eh as ActionWithLiterals, dU as AddOn, dV as AddOnAddOnInfoOneOf, bp as AddOnDetails, O as AddOnGroup, dW as AddOnGroupDetail, dA as Address, dB as AddressHint, aR as AddressLocation, ch as Aggregation, cx as AggregationData, ci as AggregationKindOneOf, cQ as AggregationResults, cR as AggregationResultsResultOneOf, cE as AggregationResultsScalarResult, ak as AggregationType, ee as AggregationTypeWithLiterals, bP as ApplicationError, b7 as AvailabilityConstraints, d_ as BaseEventMetadata, dq as Behavior, dr as BehaviorBehaviorOneOf, dl as Benefit, dk as BenefitNotification, as as BenefitType, em as BenefitTypeWithLiterals, aY as BookAfterStartPolicy, cW as BookingForm, aU as BookingPolicy, cU as BookingPolicyWithServices, bQ as BulkActionMetadata, B as BulkCreateServicesOptions, bM as BulkCreateServicesRequest, a as BulkCreateServicesResponse, i as BulkDeleteServicesByFilterOptions, c4 as BulkDeleteServicesByFilterRequest, j as BulkDeleteServicesByFilterResponse, g as BulkDeleteServicesOptions, c3 as BulkDeleteServicesRequest, h as BulkDeleteServicesResponse, bN as BulkServiceResult, e as BulkUpdateServicesByFilterOptions, b$ as BulkUpdateServicesByFilterRequest, f as BulkUpdateServicesByFilterResponse, c as BulkUpdateServicesOptions, bZ as BulkUpdateServicesRequest, d as BulkUpdateServicesResponse, aS as BusinessLocationOptions, d0 as BusinessLocations, dD as BusinessSchedule, b2 as CancellationFeePolicy, aZ as CancellationPolicy, b3 as CancellationWindow, b4 as CancellationWindowFeeOneOf, dy as Categories, di as Category, dh as CategoryNotification, ar as CategoryNotificationEvent, el as CategoryNotificationEventWithLiterals, dK as ChangeContext, dL as ChangeContextPayloadOneOf, ap as CloneErrors, ej as CloneErrorsWithLiterals, dg as CloneServiceRequest, N as CloneServiceResponse, aO as CommonAddress, aP as CommonAddressStreetOneOf, eF as CommonSearchWithEntityContext, aM as Conferencing, cY as ConnectedService, dI as ConsentPolicy, r as CountServicesOptions, cZ as CountServicesRequest, s as CountServicesResponse, P as CreateAddOnGroupOptions, dP as CreateAddOnGroupRequest, R as CreateAddOnGroupResponse, bH as CreateServiceRequest, bI as CreateServiceResponse, C as CreateServiceValidationErrors, au as CrudType, eo as CrudTypeWithLiterals, ca as CursorPaging, cw as CursorPagingMetadata, n as CursorQuery, cT as CursorQueryPagingMethodOneOf, cg as CursorSearchPagingMethodOneOf, cd as Cursors, aT as CustomLocationOptions, d1 as CustomLocations, aI as CustomPayment, d2 as CustomerLocations, cp as DateHistogramAggregation, cM as DateHistogramResult, cO as DateHistogramResults, aw as DayOfWeek, eq as DayOfWeekWithLiterals, bt as Delete, W as DeleteAddOnGroupApplicationErrors, T as DeleteAddOnGroupOptions, dQ as DeleteAddOnGroupRequest, dR as DeleteAddOnGroupResponse, D as DeleteServiceOptions, c0 as DeleteServiceRequest, c2 as DeleteServiceResponse, G as DisablePricingPlansForServiceApplicationErrors, A as DisablePricingPlansForServiceOptions, dd as DisablePricingPlansForServiceRequest, F as DisablePricingPlansForServiceResponse, dn as Discount, dp as DiscountDiscountOneOf, bx as DomainEvent, by as DomainEventBodyOneOf, b8 as Duration, dj as Empty, z as EnablePricingPlansForServiceApplicationErrors, db as EnablePricingPlansForServiceRequest, E as EnablePricingPlansForServiceResponse, bz as EntityCreatedEvent, bC as EntityDeletedEvent, bB as EntityUpdatedEvent, dm as EntryPass, at as Event, d$ as EventMetadata, en as EventWithLiterals, bk as ExtendedFields, bL as FieldViolation, aG as FixedPayment, aC as Form, cX as FormDetails, aD as FormSettings, dC as GeoCoordinates, bT as GetServiceAvailabilityConstraintsRequest, bU as GetServiceAvailabilityConstraintsResponse, bR as GetServiceRequest, bS as GetServiceResponse, ct as GroupByAggregation, cu as GroupByAggregationKindOneOf, cN as GroupByValueResults, dt as HtmlSitePublished, bF as IdentificationData, bG as IdentificationDataIdOneOf, ck as IncludeMissingValuesOptions, aj as Interval, ed as IntervalWithLiterals, dc as InvalidPricingPlan, ao as InvalidSlugError, ei as InvalidSlugErrorWithLiterals, bO as ItemMetadata, bm as Keyword, aW as LimitEarlyBookingPolicy, aX as LimitLateBookingPolicy, _ as ListAddOnGroupsByServiceIdOptions, dT as ListAddOnGroupsByServiceIdRequest, $ as ListAddOnGroupsByServiceIdResponse, dz as Locale, L as Location, aN as LocationOptionsOneOf, aa as LocationType, e4 as LocationTypeWithLiterals, b_ as MaskedService, ay as Media, az as MediaItem, aA as MediaItemItemOneOf, bE as MessageEnvelope, ag as MissingValues, ea as MissingValuesWithLiterals, al as Mode, ef as ModeWithLiterals, aH as Money, da as MoveToNewLocationsOptions, dG as Multilingual, cs as NestedAggregation, cq as NestedAggregationItem, cr as NestedAggregationItemKindOneOf, cA as NestedAggregationResults, cB as NestedAggregationResultsResultOneOf, ai as NestedAggregationType, ec as NestedAggregationTypeWithLiterals, cJ as NestedResultValue, cK as NestedResultValueResultOneOf, cP as NestedResults, cF as NestedValueAggregationResult, aL as OnlineBooking, du as Page, c9 as Paging, cc as PagingMetadataV2, c1 as ParticipantNotification, b0 as ParticipantsPolicy, aE as Payment, aK as PaymentOptions, aF as PaymentRateOneOf, av as PlacementType, ep as PlacementTypeWithLiterals, aV as PolicyDescription, dx as Properties, dM as PropertiesChange, q as QueryBookingFormsApplicationErrors, o as QueryBookingFormsOptions, cV as QueryBookingFormsRequest, p as QueryBookingFormsResponse, d4 as QueryCategoriesFilter, v as QueryCategoriesOptions, d3 as QueryCategoriesRequest, w as QueryCategoriesResponse, c$ as QueryLocationsFilter, t as QueryLocationsOptions, c_ as QueryLocationsRequest, u as QueryLocationsResponse, cS as QueryPoliciesRequest, Q as QueryPoliciesResponse, d5 as QueryServicesMultiLanguageRequest, d6 as QueryServicesMultiLanguageResponse, c5 as QueryServicesRequest, cb as QueryServicesResponse, c6 as QueryV2, c7 as QueryV2PagingMethodOneOf, cn as RangeAggregation, cz as RangeAggregationResult, cj as RangeBucket, cH as RangeResult, cD as RangeResults, a9 as RateType, e3 as RateTypeWithLiterals, bq as ReindexMessage, br as ReindexMessageActionOneOf, d8 as RemovedLocationSessionsAction, d9 as RemovedLocationSessionsActionActionOptionsOneOf, am as RequestedFields, eg as RequestedFieldsWithLiterals, a_ as ReschedulePolicy, ax as ResolutionMethod, er as ResolutionMethodWithLiterals, bd as ResourceGroup, be as ResourceIds, bh as ResourceType, b1 as ResourcesPolicy, bA as RestoreInfo, cL as Results, b5 as SaveCreditCardPolicy, co as ScalarAggregation, cI as ScalarResult, ah as ScalarType, eb as ScalarTypeWithLiterals, b6 as Schedule, bu as Schema, cv as SearchDetails, ce as SearchServicesRequest, bl as SeoSchema, S as Service, bV as ServiceAvailabilityConstraints, a5 as ServiceCreatedEnvelope, a6 as ServiceDeletedEnvelope, bf as ServiceResource, bg as ServiceResourceSelectionOneOf, e1 as ServiceSearchSpec, a8 as ServiceType, e2 as ServiceTypeWithLiterals, a7 as ServiceUpdatedEnvelope, k as ServicesQueryBuilder, e0 as ServicesQueryResult, bw as ServicesUrlsChanged, a2 as SetAddOnsForGroupApplicationErrors, a0 as SetAddOnsForGroupOptions, dX as SetAddOnsForGroupRequest, a1 as SetAddOnsForGroupResponse, J as SetCustomSlugApplicationErrors, bv as SetCustomSlugEvent, H as SetCustomSlugOptions, de as SetCustomSlugRequest, I as SetCustomSlugResponse, K as SetCustomSlugValidationErrors, x as SetServiceLocationsOptions, d7 as SetServiceLocationsRequest, y as SetServiceLocationsResponse, bo as Settings, dO as SiteCloned, dN as SiteCreated, dw as SitePropertiesEvent, dv as SitePropertiesNotification, bi as Slug, af as SortDirection, e9 as SortDirectionWithLiterals, ad as SortOrder, e7 as SortOrderWithLiterals, ae as SortType, e8 as SortTypeWithLiterals, c8 as Sorting, dF as SpecialHourPeriod, bW as SplitInterval, ba as StaffMediaItem, bb as StaffMediaItemItemOneOf, b9 as StaffMember, bc as StaffMemberDetails, aq as Status, ek as StatusWithLiterals, aQ as StreetAddress, dH as SupportedLanguage, bn as Tag, dE as TimePeriod, dJ as Translation, bj as URLs, Z as UpdateAddOnGroupApplicationErrors, X as UpdateAddOnGroupOptions, dS as UpdateAddOnGroupRequest, Y as UpdateAddOnGroupResponse, U as UpdateService, bX as UpdateServiceRequest, bY as UpdateServiceResponse, b as UpdateServiceValidationErrors, bs as Upsert, ds as UserDomainInfoChangedEvent, aB as V2Category, ac as V2RequestedFields, e6 as V2RequestedFieldsWithLiterals, a3 as ValidateAddOnsSelectionOptions, dY as ValidateAddOnsSelectionRequest, a4 as ValidateAddOnsSelectionResponse, bJ as ValidateServiceRequest, bK as ValidateServiceResponse, V as ValidateSlugOptions, df as ValidateSlugRequest, M as ValidateSlugResponse, dZ as ValidationResult, cl as ValueAggregation, cm as ValueAggregationOptionsOneOf, cy as ValueAggregationResult, cG as ValueResult, cC as ValueResults, aJ as VariedPayment, a$ as WaitlistPolicy, ab as WebhookIdentityType, e5 as WebhookIdentityTypeWithLiterals, ew as bulkCreateServices, eC as bulkDeleteServices, eD as bulkDeleteServicesByFilter, ez as bulkUpdateServices, eA as bulkUpdateServicesByFilter, eQ as cloneService, eI as countServices, eR as createAddOnGroup, ev as createService, eS as deleteAddOnGroup, eB as deleteService, eN as disablePricingPlansForService, eM as enablePricingPlansForService, ex as getService, eU as listAddOnGroupsByServiceId, es as onServiceCreated, et as onServiceDeleted, eu as onServiceUpdated, eH as queryBookingForms, eK as queryCategories, eJ as queryLocations, eG as queryPolicies, eE as queryServices, eV as setAddOnsForGroup, eO as setCustomSlug, eL as setServiceLocations, eT as updateAddOnGroup, ey as updateService, eW as validateAddOnsSelection, eP as validateSlug } from './bookings-services-v2-service-services.universal-D6jEh8MN.mjs';
3
3
  import '@wix/sdk-types';
4
4
 
5
5
  /** @hidden */
@@ -15,6 +15,117 @@ import { transformRESTTimestampToSDKTimestamp } from "@wix/sdk-runtime/transform
15
15
  import { transformSDKFieldMaskToRESTFieldMask } from "@wix/sdk-runtime/transformations/field-mask";
16
16
  import { transformPaths } from "@wix/sdk-runtime/transformations/transform-paths";
17
17
  import { resolveUrl } from "@wix/sdk-runtime/rest-modules";
18
+ function resolveWixBookingsServicesV2AddOnGroupsServiceUrl(opts) {
19
+ const domainToMappings = {
20
+ "*.dev.wix-code.com": [
21
+ {
22
+ srcPath: "/_api/services-2",
23
+ destPath: ""
24
+ },
25
+ {
26
+ srcPath: "/_api/bookings/v2/services",
27
+ destPath: "/v2/services"
28
+ }
29
+ ],
30
+ "www.wixapis.com": [
31
+ {
32
+ srcPath: "/_api/bookings/v2/services",
33
+ destPath: "/v2/services"
34
+ },
35
+ {
36
+ srcPath: "/bookings/v2/services",
37
+ destPath: "/v2/services"
38
+ },
39
+ {
40
+ srcPath: "/bookings/v2/bulk/services",
41
+ destPath: "/v2/bulk/services"
42
+ }
43
+ ],
44
+ "manage._base_domain_": [
45
+ {
46
+ srcPath: "/_api/bookings/v2/services",
47
+ destPath: "/v2/services"
48
+ },
49
+ {
50
+ srcPath: "/_api/bookings/v2/bulk/services",
51
+ destPath: "/v2/bulk/services"
52
+ }
53
+ ],
54
+ "editor._base_domain_": [
55
+ {
56
+ srcPath: "/_api/bookings/v2/services",
57
+ destPath: "/v2/services"
58
+ },
59
+ {
60
+ srcPath: "/_api/bookings/v2/bulk/services",
61
+ destPath: "/v2/bulk/services"
62
+ }
63
+ ],
64
+ "blocks._base_domain_": [
65
+ {
66
+ srcPath: "/_api/bookings/v2/services",
67
+ destPath: "/v2/services"
68
+ },
69
+ {
70
+ srcPath: "/_api/bookings/v2/bulk/services",
71
+ destPath: "/v2/bulk/services"
72
+ }
73
+ ],
74
+ "create.editorx": [
75
+ {
76
+ srcPath: "/_api/bookings/v2/services",
77
+ destPath: "/v2/services"
78
+ },
79
+ {
80
+ srcPath: "/_api/bookings/v2/bulk/services",
81
+ destPath: "/v2/bulk/services"
82
+ }
83
+ ],
84
+ _: [
85
+ {
86
+ srcPath: "/_api/bookings/v2/services",
87
+ destPath: "/v2/services"
88
+ }
89
+ ],
90
+ "www._base_domain_": [
91
+ {
92
+ srcPath: "/_api/bookings/v2/services",
93
+ destPath: "/v2/services"
94
+ }
95
+ ],
96
+ "bo._base_domain_": [
97
+ {
98
+ srcPath: "/_api/bookings/v2/services",
99
+ destPath: "/v2/services"
100
+ }
101
+ ],
102
+ "wixbo.ai": [
103
+ {
104
+ srcPath: "/_api/bookings/v2/services",
105
+ destPath: "/v2/services"
106
+ }
107
+ ],
108
+ "wix-bo.com": [
109
+ {
110
+ srcPath: "/_api/bookings/v2/services",
111
+ destPath: "/v2/services"
112
+ }
113
+ ],
114
+ "editor.wixapps.net": [
115
+ {
116
+ srcPath: "/_api/bookings/v2/services",
117
+ destPath: "/v2/services"
118
+ }
119
+ ],
120
+ "api._api_base_domain_": [
121
+ {
122
+ srcPath: "/services-2",
123
+ destPath: ""
124
+ }
125
+ ]
126
+ };
127
+ return resolveUrl(Object.assign(opts, { domainToMappings }));
128
+ }
18
129
  function resolveWixBookingsServicesV2ServicesServiceUrl(opts) {
19
130
  const domainToMappings = {
20
131
  "*.dev.wix-code.com": [
@@ -1410,6 +1521,120 @@ function cloneService(payload) {
1410
1521
  }
1411
1522
  return __cloneService;
1412
1523
  }
1524
+ function createAddOnGroup(payload) {
1525
+ function __createAddOnGroup({ host }) {
1526
+ const metadata = {
1527
+ entityFqdn: "wix.bookings.services.v2.service",
1528
+ method: "POST",
1529
+ methodFqn: "wix.bookings.services.v2.AddOnGroupsService.CreateAddOnGroup",
1530
+ packageName: PACKAGE_NAME,
1531
+ url: resolveWixBookingsServicesV2AddOnGroupsServiceUrl({
1532
+ protoPath: "/v2/services/add-on-groups/create",
1533
+ data: payload,
1534
+ host
1535
+ }),
1536
+ data: payload
1537
+ };
1538
+ return metadata;
1539
+ }
1540
+ return __createAddOnGroup;
1541
+ }
1542
+ function deleteAddOnGroup(payload) {
1543
+ function __deleteAddOnGroup({ host }) {
1544
+ const metadata = {
1545
+ entityFqdn: "wix.bookings.services.v2.service",
1546
+ method: "POST",
1547
+ methodFqn: "wix.bookings.services.v2.AddOnGroupsService.DeleteAddOnGroup",
1548
+ packageName: PACKAGE_NAME,
1549
+ url: resolveWixBookingsServicesV2AddOnGroupsServiceUrl({
1550
+ protoPath: "/v2/services/add-on-groups/delete",
1551
+ data: payload,
1552
+ host
1553
+ }),
1554
+ data: payload
1555
+ };
1556
+ return metadata;
1557
+ }
1558
+ return __deleteAddOnGroup;
1559
+ }
1560
+ function updateAddOnGroup(payload) {
1561
+ function __updateAddOnGroup({ host }) {
1562
+ const serializedData = transformPaths(payload, [
1563
+ {
1564
+ transformFn: transformSDKFieldMaskToRESTFieldMask,
1565
+ paths: [{ path: "mask" }]
1566
+ }
1567
+ ]);
1568
+ const metadata = {
1569
+ entityFqdn: "wix.bookings.services.v2.service",
1570
+ method: "POST",
1571
+ methodFqn: "wix.bookings.services.v2.AddOnGroupsService.UpdateAddOnGroup",
1572
+ packageName: PACKAGE_NAME,
1573
+ url: resolveWixBookingsServicesV2AddOnGroupsServiceUrl({
1574
+ protoPath: "/v2/services/add-on-groups/update",
1575
+ data: serializedData,
1576
+ host
1577
+ }),
1578
+ data: serializedData
1579
+ };
1580
+ return metadata;
1581
+ }
1582
+ return __updateAddOnGroup;
1583
+ }
1584
+ function listAddOnGroupsByServiceId(payload) {
1585
+ function __listAddOnGroupsByServiceId({ host }) {
1586
+ const metadata = {
1587
+ entityFqdn: "wix.bookings.services.v2.service",
1588
+ method: "POST",
1589
+ methodFqn: "wix.bookings.services.v2.AddOnGroupsService.ListAddOnGroupsByServiceId",
1590
+ packageName: PACKAGE_NAME,
1591
+ url: resolveWixBookingsServicesV2AddOnGroupsServiceUrl({
1592
+ protoPath: "/v2/services/add-on-groups/list-add-on-groups-by-service-id",
1593
+ data: payload,
1594
+ host
1595
+ }),
1596
+ data: payload
1597
+ };
1598
+ return metadata;
1599
+ }
1600
+ return __listAddOnGroupsByServiceId;
1601
+ }
1602
+ function setAddOnsForGroup(payload) {
1603
+ function __setAddOnsForGroup({ host }) {
1604
+ const metadata = {
1605
+ entityFqdn: "wix.bookings.services.v2.service",
1606
+ method: "POST",
1607
+ methodFqn: "wix.bookings.services.v2.AddOnGroupsService.SetAddOnsForGroup",
1608
+ packageName: PACKAGE_NAME,
1609
+ url: resolveWixBookingsServicesV2AddOnGroupsServiceUrl({
1610
+ protoPath: "/v2/services/add-on-groups/set-add-ons-for-group",
1611
+ data: payload,
1612
+ host
1613
+ }),
1614
+ data: payload
1615
+ };
1616
+ return metadata;
1617
+ }
1618
+ return __setAddOnsForGroup;
1619
+ }
1620
+ function validateAddOnsSelection(payload) {
1621
+ function __validateAddOnsSelection({ host }) {
1622
+ const metadata = {
1623
+ entityFqdn: "wix.bookings.services.v2.service",
1624
+ method: "POST",
1625
+ methodFqn: "wix.bookings.services.v2.AddOnGroupsService.ValidateAddOnsSelection",
1626
+ packageName: PACKAGE_NAME,
1627
+ url: resolveWixBookingsServicesV2AddOnGroupsServiceUrl({
1628
+ protoPath: "/v2/services/add-on-groups/validate-add-ons-selection",
1629
+ data: payload,
1630
+ host
1631
+ }),
1632
+ data: payload
1633
+ };
1634
+ return metadata;
1635
+ }
1636
+ return __validateAddOnsSelection;
1637
+ }
1413
1638
 
1414
1639
  // src/bookings-services-v2-service-services.universal.ts
1415
1640
  import { transformSDKAddressToRESTAddress } from "@wix/sdk-runtime/transformations/address";
@@ -2822,6 +3047,184 @@ async function cloneService2(sourceServiceId) {
2822
3047
  throw transformedError;
2823
3048
  }
2824
3049
  }
3050
+ async function createAddOnGroup2(addOnGroup, options) {
3051
+ const { httpClient, sideEffects } = arguments[2];
3052
+ const payload = renameKeysFromSDKRequestToRESTRequest({
3053
+ addOnGroup,
3054
+ serviceId: options?.serviceId
3055
+ });
3056
+ const reqOpts = createAddOnGroup(payload);
3057
+ sideEffects?.onSiteCall?.();
3058
+ try {
3059
+ const result = await httpClient.request(reqOpts);
3060
+ sideEffects?.onSuccess?.(result);
3061
+ return renameKeysFromRESTResponseToSDKResponse(result.data);
3062
+ } catch (err) {
3063
+ const transformedError = sdkTransformError(
3064
+ err,
3065
+ {
3066
+ spreadPathsToArguments: {},
3067
+ explicitPathsToArguments: {
3068
+ addOnGroup: "$[0]",
3069
+ serviceId: "$[1].serviceId"
3070
+ },
3071
+ singleArgumentUnchanged: false
3072
+ },
3073
+ ["addOnGroup", "options"]
3074
+ );
3075
+ sideEffects?.onError?.(err);
3076
+ throw transformedError;
3077
+ }
3078
+ }
3079
+ async function deleteAddOnGroup2(addOnGroupId, options) {
3080
+ const { httpClient, sideEffects } = arguments[2];
3081
+ const payload = renameKeysFromSDKRequestToRESTRequest({
3082
+ addOnGroupId,
3083
+ serviceId: options?.serviceId
3084
+ });
3085
+ const reqOpts = deleteAddOnGroup(payload);
3086
+ sideEffects?.onSiteCall?.();
3087
+ try {
3088
+ const result = await httpClient.request(reqOpts);
3089
+ sideEffects?.onSuccess?.(result);
3090
+ return renameKeysFromRESTResponseToSDKResponse(result.data);
3091
+ } catch (err) {
3092
+ const transformedError = sdkTransformError(
3093
+ err,
3094
+ {
3095
+ spreadPathsToArguments: {},
3096
+ explicitPathsToArguments: {
3097
+ addOnGroupId: "$[0]",
3098
+ serviceId: "$[1].serviceId"
3099
+ },
3100
+ singleArgumentUnchanged: false
3101
+ },
3102
+ ["addOnGroupId", "options"]
3103
+ );
3104
+ sideEffects?.onError?.(err);
3105
+ throw transformedError;
3106
+ }
3107
+ }
3108
+ async function updateAddOnGroup2(addOnGroup, options) {
3109
+ const { httpClient, sideEffects } = arguments[2];
3110
+ const payload = renameKeysFromSDKRequestToRESTRequest({
3111
+ addOnGroup,
3112
+ serviceId: options?.serviceId
3113
+ });
3114
+ const reqOpts = updateAddOnGroup(payload);
3115
+ sideEffects?.onSiteCall?.();
3116
+ try {
3117
+ const result = await httpClient.request(reqOpts);
3118
+ sideEffects?.onSuccess?.(result);
3119
+ return renameKeysFromRESTResponseToSDKResponse(result.data);
3120
+ } catch (err) {
3121
+ const transformedError = sdkTransformError(
3122
+ err,
3123
+ {
3124
+ spreadPathsToArguments: {},
3125
+ explicitPathsToArguments: {
3126
+ addOnGroup: "$[0]",
3127
+ serviceId: "$[1].serviceId"
3128
+ },
3129
+ singleArgumentUnchanged: false
3130
+ },
3131
+ ["addOnGroup", "options"]
3132
+ );
3133
+ sideEffects?.onError?.(err);
3134
+ throw transformedError;
3135
+ }
3136
+ }
3137
+ async function listAddOnGroupsByServiceId2(serviceId, options) {
3138
+ const { httpClient, sideEffects } = arguments[2];
3139
+ const payload = renameKeysFromSDKRequestToRESTRequest({
3140
+ serviceId,
3141
+ groupIds: options?.groupIds
3142
+ });
3143
+ const reqOpts = listAddOnGroupsByServiceId(payload);
3144
+ sideEffects?.onSiteCall?.();
3145
+ try {
3146
+ const result = await httpClient.request(reqOpts);
3147
+ sideEffects?.onSuccess?.(result);
3148
+ return renameKeysFromRESTResponseToSDKResponse(result.data);
3149
+ } catch (err) {
3150
+ const transformedError = sdkTransformError(
3151
+ err,
3152
+ {
3153
+ spreadPathsToArguments: {},
3154
+ explicitPathsToArguments: {
3155
+ serviceId: "$[0]",
3156
+ groupIds: "$[1].groupIds"
3157
+ },
3158
+ singleArgumentUnchanged: false
3159
+ },
3160
+ ["serviceId", "options"]
3161
+ );
3162
+ sideEffects?.onError?.(err);
3163
+ throw transformedError;
3164
+ }
3165
+ }
3166
+ async function setAddOnsForGroup2(serviceId, options) {
3167
+ const { httpClient, sideEffects } = arguments[2];
3168
+ const payload = renameKeysFromSDKRequestToRESTRequest({
3169
+ serviceId,
3170
+ groupId: options?.groupId,
3171
+ addOnIds: options?.addOnIds
3172
+ });
3173
+ const reqOpts = setAddOnsForGroup(payload);
3174
+ sideEffects?.onSiteCall?.();
3175
+ try {
3176
+ const result = await httpClient.request(reqOpts);
3177
+ sideEffects?.onSuccess?.(result);
3178
+ return renameKeysFromRESTResponseToSDKResponse(result.data);
3179
+ } catch (err) {
3180
+ const transformedError = sdkTransformError(
3181
+ err,
3182
+ {
3183
+ spreadPathsToArguments: {},
3184
+ explicitPathsToArguments: {
3185
+ serviceId: "$[0]",
3186
+ groupId: "$[1].groupId",
3187
+ addOnIds: "$[1].addOnIds"
3188
+ },
3189
+ singleArgumentUnchanged: false
3190
+ },
3191
+ ["serviceId", "options"]
3192
+ );
3193
+ sideEffects?.onError?.(err);
3194
+ throw transformedError;
3195
+ }
3196
+ }
3197
+ async function validateAddOnsSelection2(serviceId, options) {
3198
+ const { httpClient, sideEffects } = arguments[2];
3199
+ const payload = renameKeysFromSDKRequestToRESTRequest({
3200
+ serviceId,
3201
+ groupId: options?.groupId,
3202
+ addOnIds: options?.addOnIds
3203
+ });
3204
+ const reqOpts = validateAddOnsSelection(payload);
3205
+ sideEffects?.onSiteCall?.();
3206
+ try {
3207
+ const result = await httpClient.request(reqOpts);
3208
+ sideEffects?.onSuccess?.(result);
3209
+ return renameKeysFromRESTResponseToSDKResponse(result.data);
3210
+ } catch (err) {
3211
+ const transformedError = sdkTransformError(
3212
+ err,
3213
+ {
3214
+ spreadPathsToArguments: {},
3215
+ explicitPathsToArguments: {
3216
+ serviceId: "$[0]",
3217
+ groupId: "$[1].groupId",
3218
+ addOnIds: "$[1].addOnIds"
3219
+ },
3220
+ singleArgumentUnchanged: false
3221
+ },
3222
+ ["serviceId", "options"]
3223
+ );
3224
+ sideEffects?.onError?.(err);
3225
+ throw transformedError;
3226
+ }
3227
+ }
2825
3228
  export {
2826
3229
  Action,
2827
3230
  AggregationType,
@@ -2856,20 +3259,26 @@ export {
2856
3259
  bulkUpdateServicesByFilter2 as bulkUpdateServicesByFilter,
2857
3260
  cloneService2 as cloneService,
2858
3261
  countServices2 as countServices,
3262
+ createAddOnGroup2 as createAddOnGroup,
2859
3263
  createService2 as createService,
3264
+ deleteAddOnGroup2 as deleteAddOnGroup,
2860
3265
  deleteService2 as deleteService,
2861
3266
  disablePricingPlansForService2 as disablePricingPlansForService,
2862
3267
  enablePricingPlansForService2 as enablePricingPlansForService,
2863
3268
  getService2 as getService,
3269
+ listAddOnGroupsByServiceId2 as listAddOnGroupsByServiceId,
2864
3270
  queryBookingForms2 as queryBookingForms,
2865
3271
  queryCategories2 as queryCategories,
2866
3272
  queryLocations2 as queryLocations,
2867
3273
  queryPolicies2 as queryPolicies,
2868
3274
  queryServices2 as queryServices,
2869
3275
  searchServices2 as searchServices,
3276
+ setAddOnsForGroup2 as setAddOnsForGroup,
2870
3277
  setCustomSlug2 as setCustomSlug,
2871
3278
  setServiceLocations2 as setServiceLocations,
3279
+ updateAddOnGroup2 as updateAddOnGroup,
2872
3280
  updateService2 as updateService,
3281
+ validateAddOnsSelection2 as validateAddOnsSelection,
2873
3282
  validateSlug2 as validateSlug
2874
3283
  };
2875
3284
  //# sourceMappingURL=index.typings.mjs.map