@wix/auto_sdk_bookings_services 1.0.120 → 1.0.121

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