@wix/auto_sdk_bookings_services 1.0.72 → 1.0.73

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-B_To7DFS.d.ts} +176 -13
  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 +203 -2
  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-B_To7DFS.d.mts} +176 -13
  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 +203 -2
  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-B_To7DFS.d.ts} +176 -13
  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 +203 -2
  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-B_To7DFS.d.mts} +176 -13
  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 +203 -2
  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 { cq as CursorSearch, y as SearchServicesResponse } from './bookings-services-v2-service-services.universal-B_To7DFS.mjs';
2
+ export { an as Action, bD as ActionEvent, eh as ActionWithLiterals, bM as AddOn, bN as AddOnAddOnInfoOneOf, bp as AddOnDetails, A as AddOnGroup, bO as AddOnGroupDetail, dL as Address, dM as AddressHint, aR as AddressLocation, cs as Aggregation, cI as AggregationData, ct as AggregationKindOneOf, c$ as AggregationResults, d0 as AggregationResultsResultOneOf, cP as AggregationResultsScalarResult, ak as AggregationType, ee as AggregationTypeWithLiterals, b_ as ApplicationError, b7 as AvailabilityConstraints, d_ as BaseEventMetadata, dB as Behavior, dC as BehaviorBehaviorOneOf, dx as Benefit, dw as BenefitNotification, as as BenefitType, em as BenefitTypeWithLiterals, aY as BookAfterStartPolicy, d5 as BookingForm, aU as BookingPolicy, d3 as BookingPolicyWithServices, b$ as BulkActionMetadata, B as BulkCreateServicesOptions, bX as BulkCreateServicesRequest, k as BulkCreateServicesResponse, u as BulkDeleteServicesByFilterOptions, cf as BulkDeleteServicesByFilterRequest, v as BulkDeleteServicesByFilterResponse, s as BulkDeleteServicesOptions, ce as BulkDeleteServicesRequest, t as BulkDeleteServicesResponse, bY as BulkServiceResult, p as BulkUpdateServicesByFilterOptions, ca as BulkUpdateServicesByFilterRequest, q as BulkUpdateServicesByFilterResponse, n as BulkUpdateServicesOptions, c8 as BulkUpdateServicesRequest, o as BulkUpdateServicesResponse, aS as BusinessLocationOptions, db as BusinessLocations, dO as BusinessSchedule, b2 as CancellationFeePolicy, aZ as CancellationPolicy, b3 as CancellationWindow, b4 as CancellationWindowFeeOneOf, dJ as Categories, du as Category, dt as CategoryNotification, ar as CategoryNotificationEvent, el as CategoryNotificationEventWithLiterals, dV as ChangeContext, dW as ChangeContextPayloadOneOf, ap as CloneErrors, ej as CloneErrorsWithLiterals, ds as CloneServiceRequest, a4 as CloneServiceResponse, aO as CommonAddress, aP as CommonAddressStreetOneOf, eL as CommonSearchWithEntityContext, aM as Conferencing, d7 as ConnectedService, dT as ConsentPolicy, H as CountServicesOptions, d8 as CountServicesRequest, I as CountServicesResponse, C as CreateAddOnGroupOptions, bH as CreateAddOnGroupRequest, a as CreateAddOnGroupResponse, bS as CreateServiceRequest, bT as CreateServiceResponse, j as CreateServiceValidationErrors, au as CrudType, eo as CrudTypeWithLiterals, cl as CursorPaging, cH as CursorPagingMetadata, z as CursorQuery, d2 as CursorQueryPagingMethodOneOf, cr as CursorSearchPagingMethodOneOf, co as Cursors, aT as CustomLocationOptions, dc as CustomLocations, aI as CustomPayment, dd as CustomerLocations, cA as DateHistogramAggregation, cX as DateHistogramResult, cZ as DateHistogramResults, aw as DayOfWeek, eq as DayOfWeekWithLiterals, bt as Delete, b as DeleteAddOnGroupApplicationErrors, D as DeleteAddOnGroupOptions, bI as DeleteAddOnGroupRequest, bJ as DeleteAddOnGroupResponse, r as DeleteServiceOptions, cb as DeleteServiceRequest, cd as DeleteServiceResponse, Z as DisablePricingPlansForServiceApplicationErrors, X as DisablePricingPlansForServiceOptions, dp as DisablePricingPlansForServiceRequest, Y as DisablePricingPlansForServiceResponse, dz as Discount, dA as DiscountDiscountOneOf, bx as DomainEvent, by as DomainEventBodyOneOf, b8 as Duration, dv as Empty, W as EnablePricingPlansForServiceApplicationErrors, dm as EnablePricingPlansForServiceRequest, T as EnablePricingPlansForServiceResponse, bz as EntityCreatedEvent, bC as EntityDeletedEvent, bB as EntityUpdatedEvent, dy as EntryPass, at as Event, d$ as EventMetadata, en as EventWithLiterals, bk as ExtendedFields, bW as FieldViolation, aG as FixedPayment, aC as Form, d6 as FormDetails, aD as FormSettings, dN as GeoCoordinates, c2 as GetServiceAvailabilityConstraintsRequest, c3 as GetServiceAvailabilityConstraintsResponse, c0 as GetServiceRequest, c1 as GetServiceResponse, cE as GroupByAggregation, cF as GroupByAggregationKindOneOf, cY as GroupByValueResults, dE as HtmlSitePublished, bF as IdentificationData, bG as IdentificationDataIdOneOf, cv as IncludeMissingValuesOptions, aj as Interval, ed as IntervalWithLiterals, dn as InvalidPricingPlan, ao as InvalidSlugError, ei as InvalidSlugErrorWithLiterals, bZ as ItemMetadata, bm as Keyword, aW as LimitEarlyBookingPolicy, aX as LimitLateBookingPolicy, L as ListAddOnGroupsByServiceIdOptions, bL as ListAddOnGroupsByServiceIdRequest, e as ListAddOnGroupsByServiceIdResponse, dK as Locale, O as Location, aN as LocationOptionsOneOf, aa as LocationType, e4 as LocationTypeWithLiterals, c9 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, dl as MoveToNewLocationsOptions, dR as Multilingual, cD as NestedAggregation, cB as NestedAggregationItem, cC as NestedAggregationItemKindOneOf, cL as NestedAggregationResults, cM as NestedAggregationResultsResultOneOf, ai as NestedAggregationType, ec as NestedAggregationTypeWithLiterals, cU as NestedResultValue, cV as NestedResultValueResultOneOf, c_ as NestedResults, cQ as NestedValueAggregationResult, aL as OnlineBooking, dF as Page, ck as Paging, cn as PagingMetadataV2, cc as ParticipantNotification, b0 as ParticipantsPolicy, aE as Payment, aK as PaymentOptions, aF as PaymentRateOneOf, av as PlacementType, ep as PlacementTypeWithLiterals, aV as PolicyDescription, dI as Properties, dX as PropertiesChange, G as QueryBookingFormsApplicationErrors, E as QueryBookingFormsOptions, d4 as QueryBookingFormsRequest, F as QueryBookingFormsResponse, df as QueryCategoriesFilter, M as QueryCategoriesOptions, de as QueryCategoriesRequest, N as QueryCategoriesResponse, da as QueryLocationsFilter, J as QueryLocationsOptions, d9 as QueryLocationsRequest, K as QueryLocationsResponse, d1 as QueryPoliciesRequest, Q as QueryPoliciesResponse, dg as QueryServicesMultiLanguageRequest, dh as QueryServicesMultiLanguageResponse, cg as QueryServicesRequest, cm as QueryServicesResponse, ch as QueryV2, ci as QueryV2PagingMethodOneOf, cy as RangeAggregation, cK as RangeAggregationResult, cu as RangeBucket, cS as RangeResult, cO as RangeResults, a9 as RateType, e3 as RateTypeWithLiterals, bq as ReindexMessage, br as ReindexMessageActionOneOf, dj as RemovedLocationSessionsAction, dk 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, cW as Results, b5 as SaveCreditCardPolicy, cz as ScalarAggregation, cT as ScalarResult, ah as ScalarType, eb as ScalarTypeWithLiterals, b6 as Schedule, bu as Schema, cG as SearchDetails, cp as SearchServicesRequest, bl as SeoSchema, i as Service, c4 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, w as ServicesQueryBuilder, e0 as ServicesQueryResult, bw as ServicesUrlsChanged, g as SetAddOnsForGroupApplicationErrors, S as SetAddOnsForGroupOptions, bP as SetAddOnsForGroupRequest, f as SetAddOnsForGroupResponse, a0 as SetCustomSlugApplicationErrors, bv as SetCustomSlugEvent, _ as SetCustomSlugOptions, dq as SetCustomSlugRequest, $ as SetCustomSlugResponse, a1 as SetCustomSlugValidationErrors, P as SetServiceLocationsOptions, di as SetServiceLocationsRequest, R as SetServiceLocationsResponse, bo as Settings, dZ as SiteCloned, dY as SiteCreated, dH as SitePropertiesEvent, dG as SitePropertiesNotification, bi as Slug, af as SortDirection, e9 as SortDirectionWithLiterals, ad as SortOrder, e7 as SortOrderWithLiterals, ae as SortType, e8 as SortTypeWithLiterals, cj as Sorting, dQ as SpecialHourPeriod, c5 as SplitInterval, ba as StaffMediaItem, bb as StaffMediaItemItemOneOf, b9 as StaffMember, bc as StaffMemberDetails, aq as Status, ek as StatusWithLiterals, aQ as StreetAddress, dS as SupportedLanguage, bn as Tag, dP as TimePeriod, dU as Translation, bj as URLs, d as UpdateAddOnGroupApplicationErrors, U as UpdateAddOnGroupOptions, bK as UpdateAddOnGroupRequest, c as UpdateAddOnGroupResponse, l as UpdateService, c6 as UpdateServiceRequest, c7 as UpdateServiceResponse, m as UpdateServiceValidationErrors, bs as Upsert, dD as UserDomainInfoChangedEvent, aB as V2Category, ac as V2RequestedFields, e6 as V2RequestedFieldsWithLiterals, V as ValidateAddOnsSelectionOptions, bQ as ValidateAddOnsSelectionRequest, h as ValidateAddOnsSelectionResponse, bU as ValidateServiceRequest, bV as ValidateServiceResponse, a2 as ValidateSlugOptions, dr as ValidateSlugRequest, a3 as ValidateSlugResponse, bR as ValidationResult, cw as ValueAggregation, cx as ValueAggregationOptionsOneOf, cJ as ValueAggregationResult, cR as ValueResult, cN as ValueResults, aJ as VariedPayment, a$ as WaitlistPolicy, ab as WebhookIdentityType, e5 as WebhookIdentityTypeWithLiterals, eC as bulkCreateServices, eI as bulkDeleteServices, eJ as bulkDeleteServicesByFilter, eF as bulkUpdateServices, eG as bulkUpdateServicesByFilter, eW as cloneService, eO as countServices, ev as createAddOnGroup, eB as createService, ew as deleteAddOnGroup, eH as deleteService, eT as disablePricingPlansForService, eS as enablePricingPlansForService, eD as getService, ey as listAddOnGroupsByServiceId, es as onServiceCreated, et as onServiceDeleted, eu as onServiceUpdated, eN as queryBookingForms, eQ as queryCategories, eP as queryLocations, eM as queryPolicies, eK as queryServices, ez as setAddOnsForGroup, eU as setCustomSlug, eR as setServiceLocations, ex as updateAddOnGroup, eE as updateService, eA as validateAddOnsSelection, eV as validateSlug } from './bookings-services-v2-service-services.universal-B_To7DFS.mjs';
3
3
  import '@wix/sdk-types';
4
4
 
5
5
  /** @hidden */
@@ -126,7 +126,232 @@ function resolveWixBookingsServicesV2ServicesServiceUrl(opts) {
126
126
  };
127
127
  return resolveUrl(Object.assign(opts, { domainToMappings }));
128
128
  }
129
+ function resolveWixBookingsServicesV2AddOnGroupsServiceUrl(opts) {
130
+ const domainToMappings = {
131
+ "*.dev.wix-code.com": [
132
+ {
133
+ srcPath: "/_api/services-2",
134
+ destPath: ""
135
+ },
136
+ {
137
+ srcPath: "/_api/bookings/v2/services",
138
+ destPath: "/v2/services"
139
+ }
140
+ ],
141
+ "www.wixapis.com": [
142
+ {
143
+ srcPath: "/_api/bookings/v2/services",
144
+ destPath: "/v2/services"
145
+ },
146
+ {
147
+ srcPath: "/bookings/v2/services",
148
+ destPath: "/v2/services"
149
+ },
150
+ {
151
+ srcPath: "/bookings/v2/bulk/services",
152
+ destPath: "/v2/bulk/services"
153
+ }
154
+ ],
155
+ "manage._base_domain_": [
156
+ {
157
+ srcPath: "/_api/bookings/v2/services",
158
+ destPath: "/v2/services"
159
+ },
160
+ {
161
+ srcPath: "/_api/bookings/v2/bulk/services",
162
+ destPath: "/v2/bulk/services"
163
+ }
164
+ ],
165
+ "editor._base_domain_": [
166
+ {
167
+ srcPath: "/_api/bookings/v2/services",
168
+ destPath: "/v2/services"
169
+ },
170
+ {
171
+ srcPath: "/_api/bookings/v2/bulk/services",
172
+ destPath: "/v2/bulk/services"
173
+ }
174
+ ],
175
+ "blocks._base_domain_": [
176
+ {
177
+ srcPath: "/_api/bookings/v2/services",
178
+ destPath: "/v2/services"
179
+ },
180
+ {
181
+ srcPath: "/_api/bookings/v2/bulk/services",
182
+ destPath: "/v2/bulk/services"
183
+ }
184
+ ],
185
+ "create.editorx": [
186
+ {
187
+ srcPath: "/_api/bookings/v2/services",
188
+ destPath: "/v2/services"
189
+ },
190
+ {
191
+ srcPath: "/_api/bookings/v2/bulk/services",
192
+ destPath: "/v2/bulk/services"
193
+ }
194
+ ],
195
+ _: [
196
+ {
197
+ srcPath: "/_api/bookings/v2/services",
198
+ destPath: "/v2/services"
199
+ }
200
+ ],
201
+ "www._base_domain_": [
202
+ {
203
+ srcPath: "/_api/bookings/v2/services",
204
+ destPath: "/v2/services"
205
+ }
206
+ ],
207
+ "bo._base_domain_": [
208
+ {
209
+ srcPath: "/_api/bookings/v2/services",
210
+ destPath: "/v2/services"
211
+ }
212
+ ],
213
+ "wixbo.ai": [
214
+ {
215
+ srcPath: "/_api/bookings/v2/services",
216
+ destPath: "/v2/services"
217
+ }
218
+ ],
219
+ "wix-bo.com": [
220
+ {
221
+ srcPath: "/_api/bookings/v2/services",
222
+ destPath: "/v2/services"
223
+ }
224
+ ],
225
+ "editor.wixapps.net": [
226
+ {
227
+ srcPath: "/_api/bookings/v2/services",
228
+ destPath: "/v2/services"
229
+ }
230
+ ],
231
+ "api._api_base_domain_": [
232
+ {
233
+ srcPath: "/services-2",
234
+ destPath: ""
235
+ }
236
+ ]
237
+ };
238
+ return resolveUrl(Object.assign(opts, { domainToMappings }));
239
+ }
129
240
  var PACKAGE_NAME = "@wix/auto_sdk_bookings_services";
241
+ function createAddOnGroup(payload) {
242
+ function __createAddOnGroup({ host }) {
243
+ const metadata = {
244
+ entityFqdn: "wix.bookings.services.v2.service",
245
+ method: "POST",
246
+ methodFqn: "wix.bookings.services.v2.AddOnGroupsService.CreateAddOnGroup",
247
+ packageName: PACKAGE_NAME,
248
+ url: resolveWixBookingsServicesV2AddOnGroupsServiceUrl({
249
+ protoPath: "/v2/services/add-on-groups/create",
250
+ data: payload,
251
+ host
252
+ }),
253
+ data: payload
254
+ };
255
+ return metadata;
256
+ }
257
+ return __createAddOnGroup;
258
+ }
259
+ function deleteAddOnGroup(payload) {
260
+ function __deleteAddOnGroup({ host }) {
261
+ const metadata = {
262
+ entityFqdn: "wix.bookings.services.v2.service",
263
+ method: "POST",
264
+ methodFqn: "wix.bookings.services.v2.AddOnGroupsService.DeleteAddOnGroup",
265
+ packageName: PACKAGE_NAME,
266
+ url: resolveWixBookingsServicesV2AddOnGroupsServiceUrl({
267
+ protoPath: "/v2/services/add-on-groups/delete",
268
+ data: payload,
269
+ host
270
+ }),
271
+ data: payload
272
+ };
273
+ return metadata;
274
+ }
275
+ return __deleteAddOnGroup;
276
+ }
277
+ function updateAddOnGroup(payload) {
278
+ function __updateAddOnGroup({ host }) {
279
+ const serializedData = transformPaths(payload, [
280
+ {
281
+ transformFn: transformSDKFieldMaskToRESTFieldMask,
282
+ paths: [{ path: "mask" }]
283
+ }
284
+ ]);
285
+ const metadata = {
286
+ entityFqdn: "wix.bookings.services.v2.service",
287
+ method: "POST",
288
+ methodFqn: "wix.bookings.services.v2.AddOnGroupsService.UpdateAddOnGroup",
289
+ packageName: PACKAGE_NAME,
290
+ url: resolveWixBookingsServicesV2AddOnGroupsServiceUrl({
291
+ protoPath: "/v2/services/add-on-groups/update",
292
+ data: serializedData,
293
+ host
294
+ }),
295
+ data: serializedData
296
+ };
297
+ return metadata;
298
+ }
299
+ return __updateAddOnGroup;
300
+ }
301
+ function listAddOnGroupsByServiceId(payload) {
302
+ function __listAddOnGroupsByServiceId({ host }) {
303
+ const metadata = {
304
+ entityFqdn: "wix.bookings.services.v2.service",
305
+ method: "POST",
306
+ methodFqn: "wix.bookings.services.v2.AddOnGroupsService.ListAddOnGroupsByServiceId",
307
+ packageName: PACKAGE_NAME,
308
+ url: resolveWixBookingsServicesV2AddOnGroupsServiceUrl({
309
+ protoPath: "/v2/services/add-on-groups/list-add-on-groups-by-service-id",
310
+ data: payload,
311
+ host
312
+ }),
313
+ data: payload
314
+ };
315
+ return metadata;
316
+ }
317
+ return __listAddOnGroupsByServiceId;
318
+ }
319
+ function setAddOnsForGroup(payload) {
320
+ function __setAddOnsForGroup({ host }) {
321
+ const metadata = {
322
+ entityFqdn: "wix.bookings.services.v2.service",
323
+ method: "POST",
324
+ methodFqn: "wix.bookings.services.v2.AddOnGroupsService.SetAddOnsForGroup",
325
+ packageName: PACKAGE_NAME,
326
+ url: resolveWixBookingsServicesV2AddOnGroupsServiceUrl({
327
+ protoPath: "/v2/services/add-on-groups/set-add-ons-for-group",
328
+ data: payload,
329
+ host
330
+ }),
331
+ data: payload
332
+ };
333
+ return metadata;
334
+ }
335
+ return __setAddOnsForGroup;
336
+ }
337
+ function validateAddOnsSelection(payload) {
338
+ function __validateAddOnsSelection({ host }) {
339
+ const metadata = {
340
+ entityFqdn: "wix.bookings.services.v2.service",
341
+ method: "POST",
342
+ methodFqn: "wix.bookings.services.v2.AddOnGroupsService.ValidateAddOnsSelection",
343
+ packageName: PACKAGE_NAME,
344
+ url: resolveWixBookingsServicesV2AddOnGroupsServiceUrl({
345
+ protoPath: "/v2/services/add-on-groups/validate-add-ons-selection",
346
+ data: payload,
347
+ host
348
+ }),
349
+ data: payload
350
+ };
351
+ return metadata;
352
+ }
353
+ return __validateAddOnsSelection;
354
+ }
130
355
  function createService(payload) {
131
356
  function __createService({ host }) {
132
357
  const serializedData = transformPaths(payload, [
@@ -1590,6 +1815,184 @@ var ResolutionMethod = /* @__PURE__ */ ((ResolutionMethod2) => {
1590
1815
  ResolutionMethod2["SUBDIRECTORY"] = "SUBDIRECTORY";
1591
1816
  return ResolutionMethod2;
1592
1817
  })(ResolutionMethod || {});
1818
+ async function createAddOnGroup2(addOnGroup, options) {
1819
+ const { httpClient, sideEffects } = arguments[2];
1820
+ const payload = renameKeysFromSDKRequestToRESTRequest({
1821
+ addOnGroup,
1822
+ serviceId: options?.serviceId
1823
+ });
1824
+ const reqOpts = createAddOnGroup(payload);
1825
+ sideEffects?.onSiteCall?.();
1826
+ try {
1827
+ const result = await httpClient.request(reqOpts);
1828
+ sideEffects?.onSuccess?.(result);
1829
+ return renameKeysFromRESTResponseToSDKResponse(result.data);
1830
+ } catch (err) {
1831
+ const transformedError = sdkTransformError(
1832
+ err,
1833
+ {
1834
+ spreadPathsToArguments: {},
1835
+ explicitPathsToArguments: {
1836
+ addOnGroup: "$[0]",
1837
+ serviceId: "$[1].serviceId"
1838
+ },
1839
+ singleArgumentUnchanged: false
1840
+ },
1841
+ ["addOnGroup", "options"]
1842
+ );
1843
+ sideEffects?.onError?.(err);
1844
+ throw transformedError;
1845
+ }
1846
+ }
1847
+ async function deleteAddOnGroup2(addOnGroupId, options) {
1848
+ const { httpClient, sideEffects } = arguments[2];
1849
+ const payload = renameKeysFromSDKRequestToRESTRequest({
1850
+ addOnGroupId,
1851
+ serviceId: options?.serviceId
1852
+ });
1853
+ const reqOpts = deleteAddOnGroup(payload);
1854
+ sideEffects?.onSiteCall?.();
1855
+ try {
1856
+ const result = await httpClient.request(reqOpts);
1857
+ sideEffects?.onSuccess?.(result);
1858
+ return renameKeysFromRESTResponseToSDKResponse(result.data);
1859
+ } catch (err) {
1860
+ const transformedError = sdkTransformError(
1861
+ err,
1862
+ {
1863
+ spreadPathsToArguments: {},
1864
+ explicitPathsToArguments: {
1865
+ addOnGroupId: "$[0]",
1866
+ serviceId: "$[1].serviceId"
1867
+ },
1868
+ singleArgumentUnchanged: false
1869
+ },
1870
+ ["addOnGroupId", "options"]
1871
+ );
1872
+ sideEffects?.onError?.(err);
1873
+ throw transformedError;
1874
+ }
1875
+ }
1876
+ async function updateAddOnGroup2(addOnGroup, options) {
1877
+ const { httpClient, sideEffects } = arguments[2];
1878
+ const payload = renameKeysFromSDKRequestToRESTRequest({
1879
+ addOnGroup,
1880
+ serviceId: options?.serviceId
1881
+ });
1882
+ const reqOpts = updateAddOnGroup(payload);
1883
+ sideEffects?.onSiteCall?.();
1884
+ try {
1885
+ const result = await httpClient.request(reqOpts);
1886
+ sideEffects?.onSuccess?.(result);
1887
+ return renameKeysFromRESTResponseToSDKResponse(result.data);
1888
+ } catch (err) {
1889
+ const transformedError = sdkTransformError(
1890
+ err,
1891
+ {
1892
+ spreadPathsToArguments: {},
1893
+ explicitPathsToArguments: {
1894
+ addOnGroup: "$[0]",
1895
+ serviceId: "$[1].serviceId"
1896
+ },
1897
+ singleArgumentUnchanged: false
1898
+ },
1899
+ ["addOnGroup", "options"]
1900
+ );
1901
+ sideEffects?.onError?.(err);
1902
+ throw transformedError;
1903
+ }
1904
+ }
1905
+ async function listAddOnGroupsByServiceId2(serviceId, options) {
1906
+ const { httpClient, sideEffects } = arguments[2];
1907
+ const payload = renameKeysFromSDKRequestToRESTRequest({
1908
+ serviceId,
1909
+ groupIds: options?.groupIds
1910
+ });
1911
+ const reqOpts = listAddOnGroupsByServiceId(payload);
1912
+ sideEffects?.onSiteCall?.();
1913
+ try {
1914
+ const result = await httpClient.request(reqOpts);
1915
+ sideEffects?.onSuccess?.(result);
1916
+ return renameKeysFromRESTResponseToSDKResponse(result.data);
1917
+ } catch (err) {
1918
+ const transformedError = sdkTransformError(
1919
+ err,
1920
+ {
1921
+ spreadPathsToArguments: {},
1922
+ explicitPathsToArguments: {
1923
+ serviceId: "$[0]",
1924
+ groupIds: "$[1].groupIds"
1925
+ },
1926
+ singleArgumentUnchanged: false
1927
+ },
1928
+ ["serviceId", "options"]
1929
+ );
1930
+ sideEffects?.onError?.(err);
1931
+ throw transformedError;
1932
+ }
1933
+ }
1934
+ async function setAddOnsForGroup2(serviceId, options) {
1935
+ const { httpClient, sideEffects } = arguments[2];
1936
+ const payload = renameKeysFromSDKRequestToRESTRequest({
1937
+ serviceId,
1938
+ groupId: options?.groupId,
1939
+ addOnIds: options?.addOnIds
1940
+ });
1941
+ const reqOpts = setAddOnsForGroup(payload);
1942
+ sideEffects?.onSiteCall?.();
1943
+ try {
1944
+ const result = await httpClient.request(reqOpts);
1945
+ sideEffects?.onSuccess?.(result);
1946
+ return renameKeysFromRESTResponseToSDKResponse(result.data);
1947
+ } catch (err) {
1948
+ const transformedError = sdkTransformError(
1949
+ err,
1950
+ {
1951
+ spreadPathsToArguments: {},
1952
+ explicitPathsToArguments: {
1953
+ serviceId: "$[0]",
1954
+ groupId: "$[1].groupId",
1955
+ addOnIds: "$[1].addOnIds"
1956
+ },
1957
+ singleArgumentUnchanged: false
1958
+ },
1959
+ ["serviceId", "options"]
1960
+ );
1961
+ sideEffects?.onError?.(err);
1962
+ throw transformedError;
1963
+ }
1964
+ }
1965
+ async function validateAddOnsSelection2(serviceId, options) {
1966
+ const { httpClient, sideEffects } = arguments[2];
1967
+ const payload = renameKeysFromSDKRequestToRESTRequest({
1968
+ serviceId,
1969
+ groupId: options?.groupId,
1970
+ addOnIds: options?.addOnIds
1971
+ });
1972
+ const reqOpts = validateAddOnsSelection(payload);
1973
+ sideEffects?.onSiteCall?.();
1974
+ try {
1975
+ const result = await httpClient.request(reqOpts);
1976
+ sideEffects?.onSuccess?.(result);
1977
+ return renameKeysFromRESTResponseToSDKResponse(result.data);
1978
+ } catch (err) {
1979
+ const transformedError = sdkTransformError(
1980
+ err,
1981
+ {
1982
+ spreadPathsToArguments: {},
1983
+ explicitPathsToArguments: {
1984
+ serviceId: "$[0]",
1985
+ groupId: "$[1].groupId",
1986
+ addOnIds: "$[1].addOnIds"
1987
+ },
1988
+ singleArgumentUnchanged: false
1989
+ },
1990
+ ["serviceId", "options"]
1991
+ );
1992
+ sideEffects?.onError?.(err);
1993
+ throw transformedError;
1994
+ }
1995
+ }
1593
1996
  async function createService2(service) {
1594
1997
  const { httpClient, sideEffects } = arguments[1];
1595
1998
  const payload = transformPaths2(
@@ -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