@wix/auto_sdk_bookings_services 1.0.122 → 1.0.124

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-KorTqIDU.d.ts → bookings-services-v2-service-services.universal-ITYqFvzY.d.ts} +421 -348
  2. package/build/cjs/index.d.ts +60 -60
  3. package/build/cjs/index.js +333 -316
  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 +262 -245
  7. package/build/cjs/index.typings.js.map +1 -1
  8. package/build/cjs/meta.d.ts +138 -138
  9. package/build/cjs/meta.js +185 -185
  10. package/build/cjs/meta.js.map +1 -1
  11. package/build/es/{bookings-services-v2-service-services.universal-KorTqIDU.d.mts → bookings-services-v2-service-services.universal-ITYqFvzY.d.mts} +421 -348
  12. package/build/es/index.d.mts +60 -60
  13. package/build/es/index.mjs +331 -316
  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 +260 -245
  17. package/build/es/index.typings.mjs.map +1 -1
  18. package/build/es/meta.d.mts +138 -138
  19. package/build/es/meta.mjs +185 -185
  20. package/build/es/meta.mjs.map +1 -1
  21. package/build/internal/cjs/{bookings-services-v2-service-services.universal-KorTqIDU.d.ts → bookings-services-v2-service-services.universal-ITYqFvzY.d.ts} +421 -348
  22. package/build/internal/cjs/index.d.ts +60 -60
  23. package/build/internal/cjs/index.js +333 -316
  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 +262 -245
  27. package/build/internal/cjs/index.typings.js.map +1 -1
  28. package/build/internal/cjs/meta.d.ts +138 -138
  29. package/build/internal/cjs/meta.js +185 -185
  30. package/build/internal/cjs/meta.js.map +1 -1
  31. package/build/internal/es/{bookings-services-v2-service-services.universal-KorTqIDU.d.mts → bookings-services-v2-service-services.universal-ITYqFvzY.d.mts} +421 -348
  32. package/build/internal/es/index.d.mts +60 -60
  33. package/build/internal/es/index.mjs +331 -316
  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 +260 -245
  37. package/build/internal/es/index.typings.mjs.map +1 -1
  38. package/build/internal/es/meta.d.mts +138 -138
  39. package/build/internal/es/meta.mjs +185 -185
  40. package/build/internal/es/meta.mjs.map +1 -1
  41. package/package.json +2 -2
@@ -1,5 +1,5 @@
1
- import { cn as CursorSearch, x as SearchServicesResponse } from './bookings-services-v2-service-services.universal-KorTqIDU.js';
2
- export { am as Action, bC as ActionEvent, ef as ActionWithLiterals, bL as AddOn, bM as AddOnAddOnInfoOneOf, bo as AddOnDetails, A as AddOnGroup, bN as AddOnGroupDetail, a8 as AddOnPaymentOptions, e1 as AddOnPaymentOptionsWithLiterals, dI as Address, dJ as AddressHint, aQ as AddressLocation, cp as Aggregation, cF as AggregationData, cq as AggregationKindOneOf, cY as AggregationResults, cZ as AggregationResultsResultOneOf, cM as AggregationResultsScalarResult, aj as AggregationType, ec as AggregationTypeWithLiterals, bX as ApplicationError, b6 as AvailabilityConstraints, dX as BaseEventMetadata, dy as Behavior, dz as BehaviorBehaviorOneOf, du as Benefit, dt as BenefitNotification, ar as BenefitType, ek as BenefitTypeWithLiterals, aX as BookAfterStartPolicy, d2 as BookingForm, aT as BookingPolicy, d0 as BookingPolicyWithServices, bY as BulkActionMetadata, B as BulkCreateServicesOptions, bU as BulkCreateServicesRequest, j as BulkCreateServicesResponse, t as BulkDeleteServicesByFilterOptions, cc as BulkDeleteServicesByFilterRequest, u as BulkDeleteServicesByFilterResponse, r as BulkDeleteServicesOptions, cb as BulkDeleteServicesRequest, s as BulkDeleteServicesResponse, bV as BulkServiceResult, o as BulkUpdateServicesByFilterOptions, c7 as BulkUpdateServicesByFilterRequest, p as BulkUpdateServicesByFilterResponse, m as BulkUpdateServicesOptions, c5 as BulkUpdateServicesRequest, n as BulkUpdateServicesResponse, aR as BusinessLocationOptions, d8 as BusinessLocations, dL as BusinessSchedule, b1 as CancellationFeePolicy, aY as CancellationPolicy, b2 as CancellationWindow, b3 as CancellationWindowFeeOneOf, dG as Categories, dr as Category, dq as CategoryNotification, aq as CategoryNotificationEvent, ej as CategoryNotificationEventWithLiterals, dS as ChangeContext, dT as ChangeContextPayloadOneOf, ao as CloneErrors, eh as CloneErrorsWithLiterals, dp as CloneServiceRequest, a2 as CloneServiceResponse, aN as CommonAddress, aO as CommonAddressStreetOneOf, eq as CommonSearchWithEntityContext, aL as Conferencing, d4 as ConnectedService, dQ as ConsentPolicy, G as CountServicesOptions, d5 as CountServicesRequest, H as CountServicesResponse, C as CreateAddOnGroupOptions, bG as CreateAddOnGroupRequest, a as CreateAddOnGroupResponse, bP as CreateServiceRequest, bQ as CreateServiceResponse, i as CreateServiceValidationErrors, at as CrudType, em as CrudTypeWithLiterals, ci as CursorPaging, cE as CursorPagingMetadata, y as CursorQuery, c$ as CursorQueryPagingMethodOneOf, co as CursorSearchPagingMethodOneOf, cl as Cursors, aS as CustomLocationOptions, d9 as CustomLocations, aH as CustomPayment, da as CustomerLocations, cx as DateHistogramAggregation, cU as DateHistogramResult, cW as DateHistogramResults, av as DayOfWeek, eo as DayOfWeekWithLiterals, bs as Delete, b as DeleteAddOnGroupApplicationErrors, D as DeleteAddOnGroupOptions, bH as DeleteAddOnGroupRequest, bI as DeleteAddOnGroupResponse, q as DeleteServiceOptions, c8 as DeleteServiceRequest, ca as DeleteServiceResponse, X as DisablePricingPlansForServiceApplicationErrors, V as DisablePricingPlansForServiceOptions, dl as DisablePricingPlansForServiceRequest, W as DisablePricingPlansForServiceResponse, dw as Discount, dx as DiscountDiscountOneOf, bw as DomainEvent, bx as DomainEventBodyOneOf, b7 as Duration, ds as Empty, T as EnablePricingPlansForServiceApplicationErrors, dj as EnablePricingPlansForServiceRequest, R as EnablePricingPlansForServiceResponse, by as EntityCreatedEvent, bB as EntityDeletedEvent, bA as EntityUpdatedEvent, dv as EntryPass, as as Event, dY as EventMetadata, el as EventWithLiterals, bj as ExtendedFields, bT as FieldViolation, aF as FixedPayment, aB as Form, d3 as FormDetails, aC as FormSettings, dK as GeoCoordinates, b$ as GetServiceAvailabilityConstraintsRequest, c0 as GetServiceAvailabilityConstraintsResponse, bZ as GetServiceRequest, b_ as GetServiceResponse, cB as GroupByAggregation, cC as GroupByAggregationKindOneOf, cV as GroupByValueResults, dB as HtmlSitePublished, bE as IdentificationData, bF as IdentificationDataIdOneOf, cs as IncludeMissingValuesOptions, ai as Interval, eb as IntervalWithLiterals, dk as InvalidPricingPlan, an as InvalidSlugError, eg as InvalidSlugErrorWithLiterals, bW as ItemMetadata, bl as Keyword, aV as LimitEarlyBookingPolicy, aW as LimitLateBookingPolicy, L as ListAddOnGroupsByServiceIdOptions, bK as ListAddOnGroupsByServiceIdRequest, e as ListAddOnGroupsByServiceIdResponse, dH as Locale, N as Location, aM as LocationOptionsOneOf, a9 as LocationType, e2 as LocationTypeWithLiterals, c6 as MaskedService, ax as Media, ay as MediaItem, az as MediaItemItemOneOf, bD as MessageEnvelope, af as MissingValues, e8 as MissingValuesWithLiterals, ak as Mode, ed as ModeWithLiterals, aG as Money, di as MoveToNewLocationsOptions, dO as Multilingual, cA as NestedAggregation, cy as NestedAggregationItem, cz as NestedAggregationItemKindOneOf, cI as NestedAggregationResults, cJ as NestedAggregationResultsResultOneOf, ah as NestedAggregationType, ea as NestedAggregationTypeWithLiterals, cR as NestedResultValue, cS as NestedResultValueResultOneOf, cX as NestedResults, cN as NestedValueAggregationResult, aK as OnlineBooking, dC as Page, ch as Paging, ck as PagingMetadataV2, c9 as ParticipantNotification, a$ as ParticipantsPolicy, aD as Payment, aJ as PaymentOptions, aE as PaymentRateOneOf, au as PlacementType, en as PlacementTypeWithLiterals, aU as PolicyDescription, dF as Properties, dU as PropertiesChange, F as QueryBookingFormsApplicationErrors, z as QueryBookingFormsOptions, d1 as QueryBookingFormsRequest, E as QueryBookingFormsResponse, dc as QueryCategoriesFilter, K as QueryCategoriesOptions, db as QueryCategoriesRequest, M as QueryCategoriesResponse, d7 as QueryLocationsFilter, I as QueryLocationsOptions, d6 as QueryLocationsRequest, J as QueryLocationsResponse, c_ as QueryPoliciesRequest, Q as QueryPoliciesResponse, dd as QueryServicesMultiLanguageRequest, de as QueryServicesMultiLanguageResponse, cd as QueryServicesRequest, cj as QueryServicesResponse, ce as QueryV2, cf as QueryV2PagingMethodOneOf, cv as RangeAggregation, cH as RangeAggregationResult, cr as RangeBucket, cP as RangeResult, cL as RangeResults, a7 as RateType, e0 as RateTypeWithLiterals, bp as ReindexMessage, bq as ReindexMessageActionOneOf, dg as RemovedLocationSessionsAction, dh as RemovedLocationSessionsActionActionOptionsOneOf, al as RequestedFields, ee as RequestedFieldsWithLiterals, aZ as ReschedulePolicy, aw as ResolutionMethod, ep as ResolutionMethodWithLiterals, bc as ResourceGroup, bd as ResourceIds, bg as ResourceType, b0 as ResourcesPolicy, bz as RestoreInfo, cT as Results, b4 as SaveCreditCardPolicy, cw as ScalarAggregation, cQ as ScalarResult, ag as ScalarType, e9 as ScalarTypeWithLiterals, b5 as Schedule, bt as Schema, cD as SearchDetails, cm as SearchServicesRequest, bk as SeoSchema, h as Service, c1 as ServiceAvailabilityConstraints, a3 as ServiceCreatedEnvelope, a4 as ServiceDeletedEnvelope, be as ServiceResource, bf as ServiceResourceSelectionOneOf, d_ as ServiceSearchSpec, a6 as ServiceType, d$ as ServiceTypeWithLiterals, a5 as ServiceUpdatedEnvelope, v as ServicesQueryBuilder, dZ as ServicesQueryResult, bv as ServicesUrlsChanged, g as SetAddOnsForGroupApplicationErrors, S as SetAddOnsForGroupOptions, bO as SetAddOnsForGroupRequest, f as SetAddOnsForGroupResponse, _ as SetCustomSlugApplicationErrors, bu as SetCustomSlugEvent, Y as SetCustomSlugOptions, dm as SetCustomSlugRequest, Z as SetCustomSlugResponse, $ as SetCustomSlugValidationErrors, O as SetServiceLocationsOptions, df as SetServiceLocationsRequest, P as SetServiceLocationsResponse, bn as Settings, dW as SiteCloned, dV as SiteCreated, dE as SitePropertiesEvent, dD as SitePropertiesNotification, bh as Slug, ae as SortDirection, e7 as SortDirectionWithLiterals, ac as SortOrder, e5 as SortOrderWithLiterals, ad as SortType, e6 as SortTypeWithLiterals, cg as Sorting, dN as SpecialHourPeriod, c2 as SplitInterval, b9 as StaffMediaItem, ba as StaffMediaItemItemOneOf, b8 as StaffMember, bb as StaffMemberDetails, ap as Status, ei as StatusWithLiterals, aP as StreetAddress, dP as SupportedLanguage, bm as Tag, dM as TimePeriod, dR as Translation, bi as URLs, d as UpdateAddOnGroupApplicationErrors, U as UpdateAddOnGroupOptions, bJ as UpdateAddOnGroupRequest, c as UpdateAddOnGroupResponse, k as UpdateService, c3 as UpdateServiceRequest, c4 as UpdateServiceResponse, l as UpdateServiceValidationErrors, br as Upsert, dA as UserDomainInfoChangedEvent, aA as V2Category, ab as V2RequestedFields, e4 as V2RequestedFieldsWithLiterals, bR as ValidateServiceRequest, bS as ValidateServiceResponse, a0 as ValidateSlugOptions, dn as ValidateSlugRequest, a1 as ValidateSlugResponse, ct as ValueAggregation, cu as ValueAggregationOptionsOneOf, cG as ValueAggregationResult, cO as ValueResult, cK as ValueResults, aI as VariedPayment, a_ as WaitlistPolicy, aa as WebhookIdentityType, e3 as WebhookIdentityTypeWithLiterals, eA as bulkCreateServices, eG as bulkDeleteServices, eH as bulkDeleteServicesByFilter, eD as bulkUpdateServices, eE as bulkUpdateServicesByFilter, eT as cloneService, eL as countServices, eu as createAddOnGroup, ez as createService, ev as deleteAddOnGroup, eF as deleteService, eQ as disablePricingPlansForService, eP as enablePricingPlansForService, eB as getService, ex as listAddOnGroupsByServiceId, er as onServiceCreated, es as onServiceDeleted, et as onServiceUpdated, eK as queryBookingForms, eN as queryCategories, eM as queryLocations, eJ as queryPolicies, eI as queryServices, ey as setAddOnsForGroup, eR as setCustomSlug, eO as setServiceLocations, ew as updateAddOnGroup, eC as updateService, eS as validateSlug } from './bookings-services-v2-service-services.universal-KorTqIDU.js';
1
+ import { ck as CursorSearch, m as SearchServicesResponse } from './bookings-services-v2-service-services.universal-ITYqFvzY.js';
2
+ export { ao as Action, bI as ActionEvent, en as ActionWithLiterals, dZ as AddOn, d_ as AddOnAddOnInfoOneOf, bu as AddOnDetails, O as AddOnGroup, d$ as AddOnGroupDetail, a8 as AddOnPaymentOptions, e7 as AddOnPaymentOptionsWithLiterals, dF as Address, dG as AddressHint, aS as AddressLocation, cm as Aggregation, cC as AggregationData, cn as AggregationKindOneOf, cV as AggregationResults, cW as AggregationResultsResultOneOf, cJ as AggregationResultsScalarResult, al as AggregationType, ek as AggregationTypeWithLiterals, bU as ApplicationError, bc as AvailabilityConstraints, e1 as BaseEventMetadata, dv as Behavior, dw as BehaviorBehaviorOneOf, dr as Benefit, dq as BenefitNotification, at as BenefitType, es as BenefitTypeWithLiterals, aZ as BookAfterStartPolicy, c$ as BookingForm, aV as BookingPolicy, cZ as BookingPolicyWithServices, bV as BulkActionMetadata, B as BulkCreateServicesOptions, bR as BulkCreateServicesRequest, a as BulkCreateServicesResponse, i as BulkDeleteServicesByFilterOptions, c9 as BulkDeleteServicesByFilterRequest, j as BulkDeleteServicesByFilterResponse, g as BulkDeleteServicesOptions, c8 as BulkDeleteServicesRequest, h as BulkDeleteServicesResponse, bS as BulkServiceResult, e as BulkUpdateServicesByFilterOptions, c4 as BulkUpdateServicesByFilterRequest, f as BulkUpdateServicesByFilterResponse, c as BulkUpdateServicesOptions, c2 as BulkUpdateServicesRequest, d as BulkUpdateServicesResponse, aT as BusinessLocationOptions, d5 as BusinessLocations, dI as BusinessSchedule, b3 as CancellationFeePolicy, a_ as CancellationPolicy, b4 as CancellationWindow, b5 as CancellationWindowFeeOneOf, dD as Categories, dn as Category, dm as CategoryNotification, as as CategoryNotificationEvent, er as CategoryNotificationEventWithLiterals, dP as ChangeContext, dQ as ChangeContextPayloadOneOf, aq as CloneErrors, ep as CloneErrorsWithLiterals, dl as CloneServiceRequest, N as CloneServiceResponse, aP as CommonAddress, aQ as CommonAddressStreetOneOf, ey as CommonSearchWithEntityContext, aN as Conferencing, d1 as ConnectedService, dN as ConsentPolicy, r as CountServicesOptions, d2 as CountServicesRequest, s as CountServicesResponse, P as CreateAddOnGroupOptions, dU as CreateAddOnGroupRequest, R as CreateAddOnGroupResponse, bM as CreateServiceRequest, bN as CreateServiceResponse, C as CreateServiceValidationErrors, av as CrudType, eu as CrudTypeWithLiterals, cf as CursorPaging, cB as CursorPagingMetadata, n as CursorQuery, cY as CursorQueryPagingMethodOneOf, cl as CursorSearchPagingMethodOneOf, ci as Cursors, aU as CustomLocationOptions, d6 as CustomLocations, ba as CustomOptions, aJ as CustomPayment, d7 as CustomerLocations, cu as DateHistogramAggregation, cR as DateHistogramResult, cT as DateHistogramResults, ax as DayOfWeek, ew as DayOfWeekWithLiterals, by as Delete, W as DeleteAddOnGroupApplicationErrors, T as DeleteAddOnGroupOptions, dV as DeleteAddOnGroupRequest, dW as DeleteAddOnGroupResponse, D as DeleteServiceOptions, c5 as DeleteServiceRequest, c7 as DeleteServiceResponse, G as DisablePricingPlansForServiceApplicationErrors, A as DisablePricingPlansForServiceOptions, di as DisablePricingPlansForServiceRequest, F as DisablePricingPlansForServiceResponse, dt as Discount, du as DiscountDiscountOneOf, bC as DomainEvent, bD as DomainEventBodyOneOf, bd as Duration, dp as Empty, z as EnablePricingPlansForServiceApplicationErrors, dg as EnablePricingPlansForServiceRequest, E as EnablePricingPlansForServiceResponse, bE as EntityCreatedEvent, bH as EntityDeletedEvent, bG as EntityUpdatedEvent, ds as EntryPass, au as Event, e2 as EventMetadata, et as EventWithLiterals, bp as ExtendedFields, bQ as FieldViolation, aH as FixedPayment, aD as Form, d0 as FormDetails, aE as FormSettings, dH as GeoCoordinates, bY as GetServiceAvailabilityConstraintsRequest, bZ as GetServiceAvailabilityConstraintsResponse, bW as GetServiceRequest, bX as GetServiceResponse, cy as GroupByAggregation, cz as GroupByAggregationKindOneOf, cS as GroupByValueResults, dy as HtmlSitePublished, bK as IdentificationData, bL as IdentificationDataIdOneOf, cp as IncludeMissingValuesOptions, ak as Interval, ej as IntervalWithLiterals, dh as InvalidPricingPlan, ap as InvalidSlugError, eo as InvalidSlugErrorWithLiterals, bT as ItemMetadata, br as Keyword, aX as LimitEarlyBookingPolicy, aY as LimitLateBookingPolicy, _ as ListAddOnGroupsByServiceIdOptions, dY as ListAddOnGroupsByServiceIdRequest, $ as ListAddOnGroupsByServiceIdResponse, dE as Locale, L as Location, aO as LocationOptionsOneOf, a9 as LocationType, e8 as LocationTypeWithLiterals, c3 as MaskedService, az as Media, aA as MediaItem, aB as MediaItemItemOneOf, bJ as MessageEnvelope, ah as MissingValues, eg as MissingValuesWithLiterals, am as Mode, el as ModeWithLiterals, aI as Money, df as MoveToNewLocationsOptions, dL as Multilingual, cx as NestedAggregation, cv as NestedAggregationItem, cw as NestedAggregationItemKindOneOf, cF as NestedAggregationResults, cG as NestedAggregationResultsResultOneOf, aj as NestedAggregationType, ei as NestedAggregationTypeWithLiterals, cO as NestedResultValue, cP as NestedResultValueResultOneOf, cU as NestedResults, cK as NestedValueAggregationResult, aM as OnlineBooking, dz as Page, ce as Paging, ch as PagingMetadataV2, c6 as ParticipantNotification, b1 as ParticipantsPolicy, aF as Payment, aL as PaymentOptions, aG as PaymentRateOneOf, aw as PlacementType, ev as PlacementTypeWithLiterals, aW as PolicyDescription, dC as Properties, dR as PropertiesChange, q as QueryBookingFormsApplicationErrors, o as QueryBookingFormsOptions, c_ as QueryBookingFormsRequest, p as QueryBookingFormsResponse, d9 as QueryCategoriesFilter, v as QueryCategoriesOptions, d8 as QueryCategoriesRequest, w as QueryCategoriesResponse, d4 as QueryLocationsFilter, t as QueryLocationsOptions, d3 as QueryLocationsRequest, u as QueryLocationsResponse, cX as QueryPoliciesRequest, Q as QueryPoliciesResponse, da as QueryServicesMultiLanguageRequest, db as QueryServicesMultiLanguageResponse, ca as QueryServicesRequest, cg as QueryServicesResponse, cb as QueryV2, cc as QueryV2PagingMethodOneOf, cs as RangeAggregation, cE as RangeAggregationResult, co as RangeBucket, cM as RangeResult, cI as RangeResults, b9 as RankingOptions, aa as RankingOrder, e9 as RankingOrderWithLiterals, a7 as RateType, e6 as RateTypeWithLiterals, bv as ReindexMessage, bw as ReindexMessageActionOneOf, dd as RemovedLocationSessionsAction, de as RemovedLocationSessionsActionActionOptionsOneOf, an as RequestedFields, em as RequestedFieldsWithLiterals, a$ as ReschedulePolicy, ay as ResolutionMethod, ex as ResolutionMethodWithLiterals, bi as ResourceGroup, bj as ResourceIds, bm as ResourceType, b2 as ResourcesPolicy, bF as RestoreInfo, cQ as Results, b6 as SaveCreditCardPolicy, ct as ScalarAggregation, cN as ScalarResult, ai as ScalarType, eh as ScalarTypeWithLiterals, bb as Schedule, bz as Schema, cA as SearchDetails, cj as SearchServicesRequest, bq as SeoSchema, S as Service, b_ as ServiceAvailabilityConstraints, a3 as ServiceCreatedEnvelope, a4 as ServiceDeletedEnvelope, bk as ServiceResource, bl as ServiceResourceSelectionOneOf, e4 as ServiceSearchSpec, a6 as ServiceType, e5 as ServiceTypeWithLiterals, a5 as ServiceUpdatedEnvelope, k as ServicesQueryBuilder, e3 as ServicesQueryResult, bB as ServicesUrlsChanged, a2 as SetAddOnsForGroupApplicationErrors, a0 as SetAddOnsForGroupOptions, e0 as SetAddOnsForGroupRequest, a1 as SetAddOnsForGroupResponse, J as SetCustomSlugApplicationErrors, bA as SetCustomSlugEvent, H as SetCustomSlugOptions, dj as SetCustomSlugRequest, I as SetCustomSlugResponse, K as SetCustomSlugValidationErrors, x as SetServiceLocationsOptions, dc as SetServiceLocationsRequest, y as SetServiceLocationsResponse, bt as Settings, dT as SiteCloned, dS as SiteCreated, dB as SitePropertiesEvent, dA as SitePropertiesNotification, bn as Slug, ag as SortDirection, ef as SortDirectionWithLiterals, ae as SortOrder, ed as SortOrderWithLiterals, af as SortType, ee as SortTypeWithLiterals, cd as Sorting, ab as SortingMethodType, ea as SortingMethodTypeWithLiterals, dK as SpecialHourPeriod, b$ as SplitInterval, bf as StaffMediaItem, bg as StaffMediaItemItemOneOf, be as StaffMember, bh as StaffMemberDetails, b7 as StaffSortingPolicy, b8 as StaffSortingPolicyOptionsOneOf, ar as Status, eq as StatusWithLiterals, aR as StreetAddress, dM as SupportedLanguage, bs as Tag, dJ as TimePeriod, dO as Translation, bo as URLs, Z as UpdateAddOnGroupApplicationErrors, X as UpdateAddOnGroupOptions, dX as UpdateAddOnGroupRequest, Y as UpdateAddOnGroupResponse, U as UpdateService, c0 as UpdateServiceRequest, c1 as UpdateServiceResponse, b as UpdateServiceValidationErrors, bx as Upsert, dx as UserDomainInfoChangedEvent, aC as V2Category, ad as V2RequestedFields, ec as V2RequestedFieldsWithLiterals, bO as ValidateServiceRequest, bP as ValidateServiceResponse, V as ValidateSlugOptions, dk as ValidateSlugRequest, M as ValidateSlugResponse, cq as ValueAggregation, cr as ValueAggregationOptionsOneOf, cD as ValueAggregationResult, cL as ValueResult, cH as ValueResults, aK as VariedPayment, b0 as WaitlistPolicy, ac as WebhookIdentityType, eb as WebhookIdentityTypeWithLiterals, eD as bulkCreateServices, eJ as bulkDeleteServices, eK as bulkDeleteServicesByFilter, eG as bulkUpdateServices, eH as bulkUpdateServicesByFilter, eW as cloneService, eO as countServices, eX as createAddOnGroup, eC as createService, eY as deleteAddOnGroup, eI as deleteService, eT as disablePricingPlansForService, eS as enablePricingPlansForService, eE as getService, e_ as listAddOnGroupsByServiceId, ez as onServiceCreated, eA as onServiceDeleted, eB as onServiceUpdated, eN as queryBookingForms, eQ as queryCategories, eP as queryLocations, eM as queryPolicies, eL as queryServices, e$ as setAddOnsForGroup, eU as setCustomSlug, eR as setServiceLocations, eZ as updateAddOnGroup, eF as updateService, eV as validateSlug } from './bookings-services-v2-service-services.universal-ITYqFvzY.js';
3
3
  import '@wix/sdk-types';
4
4
 
5
5
  /** @hidden */
@@ -36,6 +36,7 @@ __export(index_typings_exports, {
36
36
  Mode: () => Mode,
37
37
  NestedAggregationType: () => NestedAggregationType,
38
38
  PlacementType: () => PlacementType,
39
+ RankingOrder: () => RankingOrder,
39
40
  RateType: () => RateType,
40
41
  RequestedFields: () => RequestedFields,
41
42
  ResolutionMethod: () => ResolutionMethod,
@@ -44,6 +45,7 @@ __export(index_typings_exports, {
44
45
  SortDirection: () => SortDirection,
45
46
  SortOrder: () => SortOrder,
46
47
  SortType: () => SortType,
48
+ SortingMethodType: () => SortingMethodType,
47
49
  Status: () => Status,
48
50
  V2RequestedFields: () => V2RequestedFields,
49
51
  WebhookIdentityType: () => WebhookIdentityType,
@@ -91,7 +93,7 @@ var import_timestamp2 = require("@wix/sdk-runtime/transformations/timestamp");
91
93
  var import_field_mask = require("@wix/sdk-runtime/transformations/field-mask");
92
94
  var import_transform_paths = require("@wix/sdk-runtime/transformations/transform-paths");
93
95
  var import_rest_modules2 = require("@wix/sdk-runtime/rest-modules");
94
- function resolveWixBookingsServicesV2ServicesServiceUrl(opts) {
96
+ function resolveWixBookingsServicesV2AddOnGroupsServiceUrl(opts) {
95
97
  const domainToMappings = {
96
98
  "*.dev.wix-code.com": [
97
99
  {
@@ -206,7 +208,7 @@ function resolveWixBookingsServicesV2ServicesServiceUrl(opts) {
206
208
  };
207
209
  return (0, import_rest_modules2.resolveUrl)(Object.assign(opts, { domainToMappings }));
208
210
  }
209
- function resolveWixBookingsServicesV2AddOnGroupsServiceUrl(opts) {
211
+ function resolveWixBookingsServicesV2ServicesServiceUrl(opts) {
210
212
  const domainToMappings = {
211
213
  "*.dev.wix-code.com": [
212
214
  {
@@ -322,102 +324,6 @@ function resolveWixBookingsServicesV2AddOnGroupsServiceUrl(opts) {
322
324
  return (0, import_rest_modules2.resolveUrl)(Object.assign(opts, { domainToMappings }));
323
325
  }
324
326
  var PACKAGE_NAME = "@wix/auto_sdk_bookings_services";
325
- function createAddOnGroup(payload) {
326
- function __createAddOnGroup({ host }) {
327
- const metadata = {
328
- entityFqdn: "wix.bookings.services.v2.service",
329
- method: "POST",
330
- methodFqn: "wix.bookings.services.v2.AddOnGroupsService.CreateAddOnGroup",
331
- packageName: PACKAGE_NAME,
332
- url: resolveWixBookingsServicesV2AddOnGroupsServiceUrl({
333
- protoPath: "/v2/services/add-on-groups/create",
334
- data: payload,
335
- host
336
- }),
337
- data: payload
338
- };
339
- return metadata;
340
- }
341
- return __createAddOnGroup;
342
- }
343
- function deleteAddOnGroup(payload) {
344
- function __deleteAddOnGroup({ host }) {
345
- const metadata = {
346
- entityFqdn: "wix.bookings.services.v2.service",
347
- method: "POST",
348
- methodFqn: "wix.bookings.services.v2.AddOnGroupsService.DeleteAddOnGroup",
349
- packageName: PACKAGE_NAME,
350
- url: resolveWixBookingsServicesV2AddOnGroupsServiceUrl({
351
- protoPath: "/v2/services/add-on-groups/delete",
352
- data: payload,
353
- host
354
- }),
355
- data: payload
356
- };
357
- return metadata;
358
- }
359
- return __deleteAddOnGroup;
360
- }
361
- function updateAddOnGroup(payload) {
362
- function __updateAddOnGroup({ host }) {
363
- const serializedData = (0, import_transform_paths.transformPaths)(payload, [
364
- {
365
- transformFn: import_field_mask.transformSDKFieldMaskToRESTFieldMask,
366
- paths: [{ path: "mask" }]
367
- }
368
- ]);
369
- const metadata = {
370
- entityFqdn: "wix.bookings.services.v2.service",
371
- method: "POST",
372
- methodFqn: "wix.bookings.services.v2.AddOnGroupsService.UpdateAddOnGroup",
373
- packageName: PACKAGE_NAME,
374
- url: resolveWixBookingsServicesV2AddOnGroupsServiceUrl({
375
- protoPath: "/v2/services/add-on-groups/update",
376
- data: serializedData,
377
- host
378
- }),
379
- data: serializedData
380
- };
381
- return metadata;
382
- }
383
- return __updateAddOnGroup;
384
- }
385
- function listAddOnGroupsByServiceId(payload) {
386
- function __listAddOnGroupsByServiceId({ host }) {
387
- const metadata = {
388
- entityFqdn: "wix.bookings.services.v2.service",
389
- method: "POST",
390
- methodFqn: "wix.bookings.services.v2.AddOnGroupsService.ListAddOnGroupsByServiceId",
391
- packageName: PACKAGE_NAME,
392
- url: resolveWixBookingsServicesV2AddOnGroupsServiceUrl({
393
- protoPath: "/v2/services/add-on-groups/list-add-on-groups-by-service-id",
394
- data: payload,
395
- host
396
- }),
397
- data: payload
398
- };
399
- return metadata;
400
- }
401
- return __listAddOnGroupsByServiceId;
402
- }
403
- function setAddOnsForGroup(payload) {
404
- function __setAddOnsForGroup({ host }) {
405
- const metadata = {
406
- entityFqdn: "wix.bookings.services.v2.service",
407
- method: "POST",
408
- methodFqn: "wix.bookings.services.v2.AddOnGroupsService.SetAddOnsForGroup",
409
- packageName: PACKAGE_NAME,
410
- url: resolveWixBookingsServicesV2AddOnGroupsServiceUrl({
411
- protoPath: "/v2/services/add-on-groups/set-add-ons-for-group",
412
- data: payload,
413
- host
414
- }),
415
- data: payload
416
- };
417
- return metadata;
418
- }
419
- return __setAddOnsForGroup;
420
- }
421
327
  function createService(payload) {
422
328
  function __createService({ host }) {
423
329
  const serializedData = (0, import_transform_paths.transformPaths)(payload, [
@@ -1701,6 +1607,102 @@ function cloneService(payload) {
1701
1607
  }
1702
1608
  return __cloneService;
1703
1609
  }
1610
+ function createAddOnGroup(payload) {
1611
+ function __createAddOnGroup({ host }) {
1612
+ const metadata = {
1613
+ entityFqdn: "wix.bookings.services.v2.service",
1614
+ method: "POST",
1615
+ methodFqn: "wix.bookings.services.v2.AddOnGroupsService.CreateAddOnGroup",
1616
+ packageName: PACKAGE_NAME,
1617
+ url: resolveWixBookingsServicesV2AddOnGroupsServiceUrl({
1618
+ protoPath: "/v2/services/add-on-groups/create",
1619
+ data: payload,
1620
+ host
1621
+ }),
1622
+ data: payload
1623
+ };
1624
+ return metadata;
1625
+ }
1626
+ return __createAddOnGroup;
1627
+ }
1628
+ function deleteAddOnGroup(payload) {
1629
+ function __deleteAddOnGroup({ host }) {
1630
+ const metadata = {
1631
+ entityFqdn: "wix.bookings.services.v2.service",
1632
+ method: "POST",
1633
+ methodFqn: "wix.bookings.services.v2.AddOnGroupsService.DeleteAddOnGroup",
1634
+ packageName: PACKAGE_NAME,
1635
+ url: resolveWixBookingsServicesV2AddOnGroupsServiceUrl({
1636
+ protoPath: "/v2/services/add-on-groups/delete",
1637
+ data: payload,
1638
+ host
1639
+ }),
1640
+ data: payload
1641
+ };
1642
+ return metadata;
1643
+ }
1644
+ return __deleteAddOnGroup;
1645
+ }
1646
+ function updateAddOnGroup(payload) {
1647
+ function __updateAddOnGroup({ host }) {
1648
+ const serializedData = (0, import_transform_paths.transformPaths)(payload, [
1649
+ {
1650
+ transformFn: import_field_mask.transformSDKFieldMaskToRESTFieldMask,
1651
+ paths: [{ path: "mask" }]
1652
+ }
1653
+ ]);
1654
+ const metadata = {
1655
+ entityFqdn: "wix.bookings.services.v2.service",
1656
+ method: "POST",
1657
+ methodFqn: "wix.bookings.services.v2.AddOnGroupsService.UpdateAddOnGroup",
1658
+ packageName: PACKAGE_NAME,
1659
+ url: resolveWixBookingsServicesV2AddOnGroupsServiceUrl({
1660
+ protoPath: "/v2/services/add-on-groups/update",
1661
+ data: serializedData,
1662
+ host
1663
+ }),
1664
+ data: serializedData
1665
+ };
1666
+ return metadata;
1667
+ }
1668
+ return __updateAddOnGroup;
1669
+ }
1670
+ function listAddOnGroupsByServiceId(payload) {
1671
+ function __listAddOnGroupsByServiceId({ host }) {
1672
+ const metadata = {
1673
+ entityFqdn: "wix.bookings.services.v2.service",
1674
+ method: "POST",
1675
+ methodFqn: "wix.bookings.services.v2.AddOnGroupsService.ListAddOnGroupsByServiceId",
1676
+ packageName: PACKAGE_NAME,
1677
+ url: resolveWixBookingsServicesV2AddOnGroupsServiceUrl({
1678
+ protoPath: "/v2/services/add-on-groups/list-add-on-groups-by-service-id",
1679
+ data: payload,
1680
+ host
1681
+ }),
1682
+ data: payload
1683
+ };
1684
+ return metadata;
1685
+ }
1686
+ return __listAddOnGroupsByServiceId;
1687
+ }
1688
+ function setAddOnsForGroup(payload) {
1689
+ function __setAddOnsForGroup({ host }) {
1690
+ const metadata = {
1691
+ entityFqdn: "wix.bookings.services.v2.service",
1692
+ method: "POST",
1693
+ methodFqn: "wix.bookings.services.v2.AddOnGroupsService.SetAddOnsForGroup",
1694
+ packageName: PACKAGE_NAME,
1695
+ url: resolveWixBookingsServicesV2AddOnGroupsServiceUrl({
1696
+ protoPath: "/v2/services/add-on-groups/set-add-ons-for-group",
1697
+ data: payload,
1698
+ host
1699
+ }),
1700
+ data: payload
1701
+ };
1702
+ return metadata;
1703
+ }
1704
+ return __setAddOnsForGroup;
1705
+ }
1704
1706
 
1705
1707
  // src/bookings-services-v2-service-services.universal.ts
1706
1708
  var import_address = require("@wix/sdk-runtime/transformations/address");
@@ -1737,6 +1739,19 @@ var LocationType = /* @__PURE__ */ ((LocationType2) => {
1737
1739
  LocationType2["CUSTOMER"] = "CUSTOMER";
1738
1740
  return LocationType2;
1739
1741
  })(LocationType || {});
1742
+ var RankingOrder = /* @__PURE__ */ ((RankingOrder2) => {
1743
+ RankingOrder2["UNKNOWN_RANKING_ORDER"] = "UNKNOWN_RANKING_ORDER";
1744
+ RankingOrder2["LOWEST_TO_HIGHEST"] = "LOWEST_TO_HIGHEST";
1745
+ RankingOrder2["HIGHEST_TO_LOWEST"] = "HIGHEST_TO_LOWEST";
1746
+ return RankingOrder2;
1747
+ })(RankingOrder || {});
1748
+ var SortingMethodType = /* @__PURE__ */ ((SortingMethodType2) => {
1749
+ SortingMethodType2["UNKNOWN_SORTING_METHOD_TYPE"] = "UNKNOWN_SORTING_METHOD_TYPE";
1750
+ SortingMethodType2["RANDOM"] = "RANDOM";
1751
+ SortingMethodType2["RANKING"] = "RANKING";
1752
+ SortingMethodType2["CUSTOM"] = "CUSTOM";
1753
+ return SortingMethodType2;
1754
+ })(SortingMethodType || {});
1740
1755
  var WebhookIdentityType = /* @__PURE__ */ ((WebhookIdentityType2) => {
1741
1756
  WebhookIdentityType2["UNKNOWN"] = "UNKNOWN";
1742
1757
  WebhookIdentityType2["ANONYMOUS_VISITOR"] = "ANONYMOUS_VISITOR";
@@ -1887,153 +1902,6 @@ var ResolutionMethod = /* @__PURE__ */ ((ResolutionMethod2) => {
1887
1902
  ResolutionMethod2["SUBDIRECTORY"] = "SUBDIRECTORY";
1888
1903
  return ResolutionMethod2;
1889
1904
  })(ResolutionMethod || {});
1890
- async function createAddOnGroup2(addOnGroup, options) {
1891
- const { httpClient, sideEffects } = arguments[2];
1892
- const payload = (0, import_rename_all_nested_keys.renameKeysFromSDKRequestToRESTRequest)({
1893
- addOnGroup,
1894
- serviceId: options?.serviceId
1895
- });
1896
- const reqOpts = createAddOnGroup(payload);
1897
- sideEffects?.onSiteCall?.();
1898
- try {
1899
- const result = await httpClient.request(reqOpts);
1900
- sideEffects?.onSuccess?.(result);
1901
- return (0, import_rename_all_nested_keys.renameKeysFromRESTResponseToSDKResponse)(result.data);
1902
- } catch (err) {
1903
- const transformedError = (0, import_transform_error.transformError)(
1904
- err,
1905
- {
1906
- spreadPathsToArguments: {},
1907
- explicitPathsToArguments: {
1908
- addOnGroup: "$[0]",
1909
- serviceId: "$[1].serviceId"
1910
- },
1911
- singleArgumentUnchanged: false
1912
- },
1913
- ["addOnGroup", "options"]
1914
- );
1915
- sideEffects?.onError?.(err);
1916
- throw transformedError;
1917
- }
1918
- }
1919
- async function deleteAddOnGroup2(addOnGroupId, options) {
1920
- const { httpClient, sideEffects } = arguments[2];
1921
- const payload = (0, import_rename_all_nested_keys.renameKeysFromSDKRequestToRESTRequest)({
1922
- addOnGroupId,
1923
- serviceId: options?.serviceId
1924
- });
1925
- const reqOpts = deleteAddOnGroup(payload);
1926
- sideEffects?.onSiteCall?.();
1927
- try {
1928
- const result = await httpClient.request(reqOpts);
1929
- sideEffects?.onSuccess?.(result);
1930
- return (0, import_rename_all_nested_keys.renameKeysFromRESTResponseToSDKResponse)(result.data);
1931
- } catch (err) {
1932
- const transformedError = (0, import_transform_error.transformError)(
1933
- err,
1934
- {
1935
- spreadPathsToArguments: {},
1936
- explicitPathsToArguments: {
1937
- addOnGroupId: "$[0]",
1938
- serviceId: "$[1].serviceId"
1939
- },
1940
- singleArgumentUnchanged: false
1941
- },
1942
- ["addOnGroupId", "options"]
1943
- );
1944
- sideEffects?.onError?.(err);
1945
- throw transformedError;
1946
- }
1947
- }
1948
- async function updateAddOnGroup2(addOnGroup, options) {
1949
- const { httpClient, sideEffects } = arguments[2];
1950
- const payload = (0, import_rename_all_nested_keys.renameKeysFromSDKRequestToRESTRequest)({
1951
- addOnGroup,
1952
- serviceId: options?.serviceId
1953
- });
1954
- const reqOpts = updateAddOnGroup(payload);
1955
- sideEffects?.onSiteCall?.();
1956
- try {
1957
- const result = await httpClient.request(reqOpts);
1958
- sideEffects?.onSuccess?.(result);
1959
- return (0, import_rename_all_nested_keys.renameKeysFromRESTResponseToSDKResponse)(result.data);
1960
- } catch (err) {
1961
- const transformedError = (0, import_transform_error.transformError)(
1962
- err,
1963
- {
1964
- spreadPathsToArguments: {},
1965
- explicitPathsToArguments: {
1966
- addOnGroup: "$[0]",
1967
- serviceId: "$[1].serviceId"
1968
- },
1969
- singleArgumentUnchanged: false
1970
- },
1971
- ["addOnGroup", "options"]
1972
- );
1973
- sideEffects?.onError?.(err);
1974
- throw transformedError;
1975
- }
1976
- }
1977
- async function listAddOnGroupsByServiceId2(serviceId, options) {
1978
- const { httpClient, sideEffects } = arguments[2];
1979
- const payload = (0, import_rename_all_nested_keys.renameKeysFromSDKRequestToRESTRequest)({
1980
- serviceId,
1981
- groupIds: options?.groupIds
1982
- });
1983
- const reqOpts = listAddOnGroupsByServiceId(payload);
1984
- sideEffects?.onSiteCall?.();
1985
- try {
1986
- const result = await httpClient.request(reqOpts);
1987
- sideEffects?.onSuccess?.(result);
1988
- return (0, import_rename_all_nested_keys.renameKeysFromRESTResponseToSDKResponse)(result.data);
1989
- } catch (err) {
1990
- const transformedError = (0, import_transform_error.transformError)(
1991
- err,
1992
- {
1993
- spreadPathsToArguments: {},
1994
- explicitPathsToArguments: {
1995
- serviceId: "$[0]",
1996
- groupIds: "$[1].groupIds"
1997
- },
1998
- singleArgumentUnchanged: false
1999
- },
2000
- ["serviceId", "options"]
2001
- );
2002
- sideEffects?.onError?.(err);
2003
- throw transformedError;
2004
- }
2005
- }
2006
- async function setAddOnsForGroup2(serviceId, options) {
2007
- const { httpClient, sideEffects } = arguments[2];
2008
- const payload = (0, import_rename_all_nested_keys.renameKeysFromSDKRequestToRESTRequest)({
2009
- serviceId,
2010
- groupId: options?.groupId,
2011
- addOnIds: options?.addOnIds
2012
- });
2013
- const reqOpts = setAddOnsForGroup(payload);
2014
- sideEffects?.onSiteCall?.();
2015
- try {
2016
- const result = await httpClient.request(reqOpts);
2017
- sideEffects?.onSuccess?.(result);
2018
- return (0, import_rename_all_nested_keys.renameKeysFromRESTResponseToSDKResponse)(result.data);
2019
- } catch (err) {
2020
- const transformedError = (0, import_transform_error.transformError)(
2021
- err,
2022
- {
2023
- spreadPathsToArguments: {},
2024
- explicitPathsToArguments: {
2025
- serviceId: "$[0]",
2026
- groupId: "$[1].groupId",
2027
- addOnIds: "$[1].addOnIds"
2028
- },
2029
- singleArgumentUnchanged: false
2030
- },
2031
- ["serviceId", "options"]
2032
- );
2033
- sideEffects?.onError?.(err);
2034
- throw transformedError;
2035
- }
2036
- }
2037
1905
  async function createService2(service) {
2038
1906
  const { httpClient, sideEffects } = arguments[1];
2039
1907
  const payload = (0, import_transform_paths2.transformPaths)(
@@ -3266,6 +3134,153 @@ async function cloneService2(sourceServiceId) {
3266
3134
  throw transformedError;
3267
3135
  }
3268
3136
  }
3137
+ async function createAddOnGroup2(addOnGroup, options) {
3138
+ const { httpClient, sideEffects } = arguments[2];
3139
+ const payload = (0, import_rename_all_nested_keys.renameKeysFromSDKRequestToRESTRequest)({
3140
+ addOnGroup,
3141
+ serviceId: options?.serviceId
3142
+ });
3143
+ const reqOpts = createAddOnGroup(payload);
3144
+ sideEffects?.onSiteCall?.();
3145
+ try {
3146
+ const result = await httpClient.request(reqOpts);
3147
+ sideEffects?.onSuccess?.(result);
3148
+ return (0, import_rename_all_nested_keys.renameKeysFromRESTResponseToSDKResponse)(result.data);
3149
+ } catch (err) {
3150
+ const transformedError = (0, import_transform_error.transformError)(
3151
+ err,
3152
+ {
3153
+ spreadPathsToArguments: {},
3154
+ explicitPathsToArguments: {
3155
+ addOnGroup: "$[0]",
3156
+ serviceId: "$[1].serviceId"
3157
+ },
3158
+ singleArgumentUnchanged: false
3159
+ },
3160
+ ["addOnGroup", "options"]
3161
+ );
3162
+ sideEffects?.onError?.(err);
3163
+ throw transformedError;
3164
+ }
3165
+ }
3166
+ async function deleteAddOnGroup2(addOnGroupId, options) {
3167
+ const { httpClient, sideEffects } = arguments[2];
3168
+ const payload = (0, import_rename_all_nested_keys.renameKeysFromSDKRequestToRESTRequest)({
3169
+ addOnGroupId,
3170
+ serviceId: options?.serviceId
3171
+ });
3172
+ const reqOpts = deleteAddOnGroup(payload);
3173
+ sideEffects?.onSiteCall?.();
3174
+ try {
3175
+ const result = await httpClient.request(reqOpts);
3176
+ sideEffects?.onSuccess?.(result);
3177
+ return (0, import_rename_all_nested_keys.renameKeysFromRESTResponseToSDKResponse)(result.data);
3178
+ } catch (err) {
3179
+ const transformedError = (0, import_transform_error.transformError)(
3180
+ err,
3181
+ {
3182
+ spreadPathsToArguments: {},
3183
+ explicitPathsToArguments: {
3184
+ addOnGroupId: "$[0]",
3185
+ serviceId: "$[1].serviceId"
3186
+ },
3187
+ singleArgumentUnchanged: false
3188
+ },
3189
+ ["addOnGroupId", "options"]
3190
+ );
3191
+ sideEffects?.onError?.(err);
3192
+ throw transformedError;
3193
+ }
3194
+ }
3195
+ async function updateAddOnGroup2(addOnGroup, options) {
3196
+ const { httpClient, sideEffects } = arguments[2];
3197
+ const payload = (0, import_rename_all_nested_keys.renameKeysFromSDKRequestToRESTRequest)({
3198
+ addOnGroup,
3199
+ serviceId: options?.serviceId
3200
+ });
3201
+ const reqOpts = updateAddOnGroup(payload);
3202
+ sideEffects?.onSiteCall?.();
3203
+ try {
3204
+ const result = await httpClient.request(reqOpts);
3205
+ sideEffects?.onSuccess?.(result);
3206
+ return (0, import_rename_all_nested_keys.renameKeysFromRESTResponseToSDKResponse)(result.data);
3207
+ } catch (err) {
3208
+ const transformedError = (0, import_transform_error.transformError)(
3209
+ err,
3210
+ {
3211
+ spreadPathsToArguments: {},
3212
+ explicitPathsToArguments: {
3213
+ addOnGroup: "$[0]",
3214
+ serviceId: "$[1].serviceId"
3215
+ },
3216
+ singleArgumentUnchanged: false
3217
+ },
3218
+ ["addOnGroup", "options"]
3219
+ );
3220
+ sideEffects?.onError?.(err);
3221
+ throw transformedError;
3222
+ }
3223
+ }
3224
+ async function listAddOnGroupsByServiceId2(serviceId, options) {
3225
+ const { httpClient, sideEffects } = arguments[2];
3226
+ const payload = (0, import_rename_all_nested_keys.renameKeysFromSDKRequestToRESTRequest)({
3227
+ serviceId,
3228
+ groupIds: options?.groupIds
3229
+ });
3230
+ const reqOpts = listAddOnGroupsByServiceId(payload);
3231
+ sideEffects?.onSiteCall?.();
3232
+ try {
3233
+ const result = await httpClient.request(reqOpts);
3234
+ sideEffects?.onSuccess?.(result);
3235
+ return (0, import_rename_all_nested_keys.renameKeysFromRESTResponseToSDKResponse)(result.data);
3236
+ } catch (err) {
3237
+ const transformedError = (0, import_transform_error.transformError)(
3238
+ err,
3239
+ {
3240
+ spreadPathsToArguments: {},
3241
+ explicitPathsToArguments: {
3242
+ serviceId: "$[0]",
3243
+ groupIds: "$[1].groupIds"
3244
+ },
3245
+ singleArgumentUnchanged: false
3246
+ },
3247
+ ["serviceId", "options"]
3248
+ );
3249
+ sideEffects?.onError?.(err);
3250
+ throw transformedError;
3251
+ }
3252
+ }
3253
+ async function setAddOnsForGroup2(serviceId, options) {
3254
+ const { httpClient, sideEffects } = arguments[2];
3255
+ const payload = (0, import_rename_all_nested_keys.renameKeysFromSDKRequestToRESTRequest)({
3256
+ serviceId,
3257
+ groupId: options?.groupId,
3258
+ addOnIds: options?.addOnIds
3259
+ });
3260
+ const reqOpts = setAddOnsForGroup(payload);
3261
+ sideEffects?.onSiteCall?.();
3262
+ try {
3263
+ const result = await httpClient.request(reqOpts);
3264
+ sideEffects?.onSuccess?.(result);
3265
+ return (0, import_rename_all_nested_keys.renameKeysFromRESTResponseToSDKResponse)(result.data);
3266
+ } catch (err) {
3267
+ const transformedError = (0, import_transform_error.transformError)(
3268
+ err,
3269
+ {
3270
+ spreadPathsToArguments: {},
3271
+ explicitPathsToArguments: {
3272
+ serviceId: "$[0]",
3273
+ groupId: "$[1].groupId",
3274
+ addOnIds: "$[1].addOnIds"
3275
+ },
3276
+ singleArgumentUnchanged: false
3277
+ },
3278
+ ["serviceId", "options"]
3279
+ );
3280
+ sideEffects?.onError?.(err);
3281
+ throw transformedError;
3282
+ }
3283
+ }
3269
3284
  // Annotate the CommonJS export names for ESM import in node:
3270
3285
  0 && (module.exports = {
3271
3286
  Action,
@@ -3284,6 +3299,7 @@ async function cloneService2(sourceServiceId) {
3284
3299
  Mode,
3285
3300
  NestedAggregationType,
3286
3301
  PlacementType,
3302
+ RankingOrder,
3287
3303
  RateType,
3288
3304
  RequestedFields,
3289
3305
  ResolutionMethod,
@@ -3292,6 +3308,7 @@ async function cloneService2(sourceServiceId) {
3292
3308
  SortDirection,
3293
3309
  SortOrder,
3294
3310
  SortType,
3311
+ SortingMethodType,
3295
3312
  Status,
3296
3313
  V2RequestedFields,
3297
3314
  WebhookIdentityType,