@wix/auto_sdk_bookings_services 1.0.124 → 1.0.126
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/build/cjs/{bookings-services-v2-service-services.universal-ITYqFvzY.d.ts → bookings-services-v2-service-services.universal-B6t2dBMg.d.ts} +298 -282
- package/build/cjs/index.d.ts +72 -72
- package/build/cjs/index.js +343 -335
- package/build/cjs/index.js.map +1 -1
- package/build/cjs/index.typings.d.ts +2 -2
- package/build/cjs/index.typings.js +253 -245
- package/build/cjs/index.typings.js.map +1 -1
- package/build/cjs/meta.d.ts +152 -138
- package/build/cjs/meta.js +185 -185
- package/build/cjs/meta.js.map +1 -1
- package/build/es/{bookings-services-v2-service-services.universal-ITYqFvzY.d.mts → bookings-services-v2-service-services.universal-B6t2dBMg.d.mts} +298 -282
- package/build/es/index.d.mts +72 -72
- package/build/es/index.mjs +342 -335
- package/build/es/index.mjs.map +1 -1
- package/build/es/index.typings.d.mts +2 -2
- package/build/es/index.typings.mjs +252 -245
- package/build/es/index.typings.mjs.map +1 -1
- package/build/es/meta.d.mts +152 -138
- package/build/es/meta.mjs +185 -185
- package/build/es/meta.mjs.map +1 -1
- package/build/internal/cjs/{bookings-services-v2-service-services.universal-ITYqFvzY.d.ts → bookings-services-v2-service-services.universal-B6t2dBMg.d.ts} +298 -282
- package/build/internal/cjs/index.d.ts +72 -72
- package/build/internal/cjs/index.js +343 -335
- package/build/internal/cjs/index.js.map +1 -1
- package/build/internal/cjs/index.typings.d.ts +2 -2
- package/build/internal/cjs/index.typings.js +253 -245
- package/build/internal/cjs/index.typings.js.map +1 -1
- package/build/internal/cjs/meta.d.ts +152 -138
- package/build/internal/cjs/meta.js +185 -185
- package/build/internal/cjs/meta.js.map +1 -1
- package/build/internal/es/{bookings-services-v2-service-services.universal-ITYqFvzY.d.mts → bookings-services-v2-service-services.universal-B6t2dBMg.d.mts} +298 -282
- package/build/internal/es/index.d.mts +72 -72
- package/build/internal/es/index.mjs +342 -335
- package/build/internal/es/index.mjs.map +1 -1
- package/build/internal/es/index.typings.d.mts +2 -2
- package/build/internal/es/index.typings.mjs +252 -245
- package/build/internal/es/index.typings.mjs.map +1 -1
- package/build/internal/es/meta.d.mts +152 -138
- package/build/internal/es/meta.mjs +185 -185
- package/build/internal/es/meta.mjs.map +1 -1
- package/package.json +2 -2
|
@@ -1,5 +1,5 @@
|
|
|
1
|
-
import {
|
|
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';
|
|
1
|
+
import { cv as CursorSearch, x as SearchServicesResponse } from './bookings-services-v2-service-services.universal-B6t2dBMg.js';
|
|
2
|
+
export { ap as Action, bJ as ActionEvent, eq as ActionWithLiterals, bT as AddOn, bU as AddOnAddOnInfoOneOf, bv as AddOnDetails, A as AddOnGroup, bV as AddOnGroupDetail, a8 as AddOnPaymentOptions, e9 as AddOnPaymentOptionsWithLiterals, dQ as Address, dR as AddressHint, aT as AddressLocation, cx as Aggregation, cN as AggregationData, cy as AggregationKindOneOf, d4 as AggregationResults, d5 as AggregationResultsResultOneOf, cU as AggregationResultsScalarResult, am as AggregationType, en as AggregationTypeWithLiterals, c3 as ApplicationError, bd as AvailabilityConstraints, e3 as BaseEventMetadata, dG as Behavior, dH as BehaviorBehaviorOneOf, dC as Benefit, dB as BenefitNotification, au as BenefitType, ev as BenefitTypeWithLiterals, a_ as BookAfterStartPolicy, da as BookingForm, aW as BookingPolicy, d8 as BookingPolicyWithServices, c4 as BulkActionMetadata, B as BulkCreateServicesOptions, c0 as BulkCreateServicesRequest, j as BulkCreateServicesResponse, t as BulkDeleteServicesByFilterOptions, ck as BulkDeleteServicesByFilterRequest, u as BulkDeleteServicesByFilterResponse, r as BulkDeleteServicesOptions, cj as BulkDeleteServicesRequest, s as BulkDeleteServicesResponse, c1 as BulkServiceResult, o as BulkUpdateServicesByFilterOptions, cf as BulkUpdateServicesByFilterRequest, p as BulkUpdateServicesByFilterResponse, m as BulkUpdateServicesOptions, cd as BulkUpdateServicesRequest, n as BulkUpdateServicesResponse, aU as BusinessLocationOptions, dg as BusinessLocations, dT as BusinessSchedule, b4 as CancellationFeePolicy, a$ as CancellationPolicy, b5 as CancellationWindow, b6 as CancellationWindowFeeOneOf, dO as Categories, dz as Category, dy as CategoryNotification, at as CategoryNotificationEvent, eu as CategoryNotificationEventWithLiterals, d_ as ChangeContext, d$ as ChangeContextPayloadOneOf, ar as CloneErrors, es as CloneErrorsWithLiterals, dx as CloneServiceRequest, a2 as CloneServiceResponse, aQ as CommonAddress, aR as CommonAddressStreetOneOf, eB as CommonSearchWithEntityContext, aO as Conferencing, dc as ConnectedService, dY as ConsentPolicy, G as CountServicesOptions, dd as CountServicesRequest, H as CountServicesResponse, C as CreateAddOnGroupOptions, bO as CreateAddOnGroupRequest, a as CreateAddOnGroupResponse, bX as CreateServiceRequest, bY as CreateServiceResponse, i as CreateServiceValidationErrors, aw as CrudType, ex as CrudTypeWithLiterals, cq as CursorPaging, cM as CursorPagingMetadata, y as CursorQuery, d7 as CursorQueryPagingMethodOneOf, cw as CursorSearchPagingMethodOneOf, ct as Cursors, aV as CustomLocationOptions, dh as CustomLocations, bb as CustomOptions, aK as CustomPayment, di as CustomerLocations, cF as DateHistogramAggregation, d0 as DateHistogramResult, d2 as DateHistogramResults, ay as DayOfWeek, ez as DayOfWeekWithLiterals, bz as Delete, b as DeleteAddOnGroupApplicationErrors, D as DeleteAddOnGroupOptions, bP as DeleteAddOnGroupRequest, bQ as DeleteAddOnGroupResponse, q as DeleteServiceOptions, cg as DeleteServiceRequest, ci as DeleteServiceResponse, X as DisablePricingPlansForServiceApplicationErrors, V as DisablePricingPlansForServiceOptions, du as DisablePricingPlansForServiceRequest, W as DisablePricingPlansForServiceResponse, dE as Discount, dF as DiscountDiscountOneOf, bD as DomainEvent, bE as DomainEventBodyOneOf, be as Duration, dA as Empty, T as EnablePricingPlansForServiceApplicationErrors, ds as EnablePricingPlansForServiceRequest, R as EnablePricingPlansForServiceResponse, bF as EntityCreatedEvent, bI as EntityDeletedEvent, bH as EntityUpdatedEvent, dD as EntryPass, av as Event, e4 as EventMetadata, ew as EventWithLiterals, bq as ExtendedFields, b$ as FieldViolation, aI as FixedPayment, aE as Form, db as FormDetails, aF as FormSettings, dS as GeoCoordinates, c7 as GetServiceAvailabilityConstraintsRequest, c8 as GetServiceAvailabilityConstraintsResponse, c5 as GetServiceRequest, c6 as GetServiceResponse, cJ as GroupByAggregation, cK as GroupByAggregationKindOneOf, d1 as GroupByValueResults, dJ as HtmlSitePublished, bL as IdentificationData, bM as IdentificationDataIdOneOf, cA as IncludeMissingValuesOptions, al as Interval, em as IntervalWithLiterals, dt as InvalidPricingPlan, aq as InvalidSlugError, er as InvalidSlugErrorWithLiterals, c2 as ItemMetadata, bs as Keyword, aY as LimitEarlyBookingPolicy, aZ as LimitLateBookingPolicy, L as ListAddOnGroupsByServiceIdOptions, bS as ListAddOnGroupsByServiceIdRequest, e as ListAddOnGroupsByServiceIdResponse, dP as Locale, N as Location, aP as LocationOptionsOneOf, a9 as LocationType, ea as LocationTypeWithLiterals, ce as MaskedService, aA as Media, aB as MediaItem, aC as MediaItemItemOneOf, bK as MessageEnvelope, ai as MissingValues, ej as MissingValuesWithLiterals, an as Mode, eo as ModeWithLiterals, aJ as Money, dr as MoveToNewLocationsOptions, dW as Multilingual, cI as NestedAggregation, cG as NestedAggregationItem, cH as NestedAggregationItemKindOneOf, cQ as NestedAggregationResults, cR as NestedAggregationResultsResultOneOf, ak as NestedAggregationType, el as NestedAggregationTypeWithLiterals, cZ as NestedResultValue, c_ as NestedResultValueResultOneOf, d3 as NestedResults, cV as NestedValueAggregationResult, aN as OnlineBooking, dK as Page, cp as Paging, cs as PagingMetadataV2, ch as ParticipantNotification, b2 as ParticipantsPolicy, aG as Payment, aM as PaymentOptions, aH as PaymentRateOneOf, ax as PlacementType, ey as PlacementTypeWithLiterals, aX as PolicyDescription, dN as Properties, e0 as PropertiesChange, F as QueryBookingFormsApplicationErrors, z as QueryBookingFormsOptions, d9 as QueryBookingFormsRequest, E as QueryBookingFormsResponse, dk as QueryCategoriesFilter, K as QueryCategoriesOptions, dj as QueryCategoriesRequest, M as QueryCategoriesResponse, df as QueryLocationsFilter, I as QueryLocationsOptions, de as QueryLocationsRequest, J as QueryLocationsResponse, d6 as QueryPoliciesRequest, Q as QueryPoliciesResponse, dl as QueryServicesMultiLanguageRequest, dm as QueryServicesMultiLanguageResponse, cl as QueryServicesRequest, cr as QueryServicesResponse, cm as QueryV2, cn as QueryV2PagingMethodOneOf, cD as RangeAggregation, cP as RangeAggregationResult, cz as RangeBucket, cX as RangeResult, cT as RangeResults, ba as RankingOptions, aa as RankingOrder, eb as RankingOrderWithLiterals, a7 as RateType, e8 as RateTypeWithLiterals, bw as ReindexMessage, bx as ReindexMessageActionOneOf, dp as RemovedLocationSessionsAction, dq as RemovedLocationSessionsActionActionOptionsOneOf, ao as RequestedFields, ep as RequestedFieldsWithLiterals, b0 as ReschedulePolicy, az as ResolutionMethod, eA as ResolutionMethodWithLiterals, bj as ResourceGroup, bk as ResourceIds, bn as ResourceType, b3 as ResourcesPolicy, bG as RestoreInfo, c$ as Results, b7 as SaveCreditCardPolicy, cE as ScalarAggregation, cY as ScalarResult, aj as ScalarType, ek as ScalarTypeWithLiterals, bc as Schedule, bA as Schema, cL as SearchDetails, cu as SearchServicesRequest, br as SeoSchema, h as Service, c9 as ServiceAvailabilityConstraints, a3 as ServiceCreatedEnvelope, a4 as ServiceDeletedEnvelope, bl as ServiceResource, bm as ServiceResourceSelectionOneOf, e6 as ServiceSearchSpec, a6 as ServiceType, e7 as ServiceTypeWithLiterals, a5 as ServiceUpdatedEnvelope, v as ServicesQueryBuilder, e5 as ServicesQueryResult, bC as ServicesUrlsChanged, g as SetAddOnsForGroupApplicationErrors, S as SetAddOnsForGroupOptions, bW as SetAddOnsForGroupRequest, f as SetAddOnsForGroupResponse, _ as SetCustomSlugApplicationErrors, bB as SetCustomSlugEvent, Y as SetCustomSlugOptions, dv as SetCustomSlugRequest, Z as SetCustomSlugResponse, $ as SetCustomSlugValidationErrors, O as SetServiceLocationsOptions, dn as SetServiceLocationsRequest, P as SetServiceLocationsResponse, bu as Settings, e2 as SiteCloned, e1 as SiteCreated, dM as SitePropertiesEvent, dL as SitePropertiesNotification, bo as Slug, ah as SortDirection, ei as SortDirectionWithLiterals, af as SortOrder, eg as SortOrderWithLiterals, ag as SortType, eh as SortTypeWithLiterals, co as Sorting, ab as SortingMethodType, ec as SortingMethodTypeWithLiterals, dV as SpecialHourPeriod, ca as SplitInterval, bg as StaffMediaItem, bh as StaffMediaItemItemOneOf, bf as StaffMember, bi as StaffMemberDetails, b8 as StaffSortingPolicy, b9 as StaffSortingPolicyOptionsOneOf, as as Status, et as StatusWithLiterals, aS as StreetAddress, dX as SupportedLanguage, bt as Tag, bN as TaxableAddress, ad as TaxableAddressType, ee as TaxableAddressTypeWithLiterals, dU as TimePeriod, dZ as Translation, bp as URLs, d as UpdateAddOnGroupApplicationErrors, U as UpdateAddOnGroupOptions, bR as UpdateAddOnGroupRequest, c as UpdateAddOnGroupResponse, k as UpdateService, cb as UpdateServiceRequest, cc as UpdateServiceResponse, l as UpdateServiceValidationErrors, by as Upsert, dI as UserDomainInfoChangedEvent, aD as V2Category, ae as V2RequestedFields, ef as V2RequestedFieldsWithLiterals, bZ as ValidateServiceRequest, b_ as ValidateServiceResponse, a0 as ValidateSlugOptions, dw as ValidateSlugRequest, a1 as ValidateSlugResponse, cB as ValueAggregation, cC as ValueAggregationOptionsOneOf, cO as ValueAggregationResult, cW as ValueResult, cS as ValueResults, aL as VariedPayment, b1 as WaitlistPolicy, ac as WebhookIdentityType, ed as WebhookIdentityTypeWithLiterals, eL as bulkCreateServices, eR as bulkDeleteServices, eS as bulkDeleteServicesByFilter, eO as bulkUpdateServices, eP as bulkUpdateServicesByFilter, f2 as cloneService, eW as countServices, eF as createAddOnGroup, eK as createService, eG as deleteAddOnGroup, eQ as deleteService, e$ as disablePricingPlansForService, e_ as enablePricingPlansForService, eM as getService, eI as listAddOnGroupsByServiceId, eC as onServiceCreated, eD as onServiceDeleted, eE as onServiceUpdated, eV as queryBookingForms, eY as queryCategories, eX as queryLocations, eU as queryPolicies, eT as queryServices, eJ as setAddOnsForGroup, f0 as setCustomSlug, eZ as setServiceLocations, eH as updateAddOnGroup, eN as updateService, f1 as validateSlug } from './bookings-services-v2-service-services.universal-B6t2dBMg.js';
|
|
3
3
|
import '@wix/sdk-types';
|
|
4
4
|
|
|
5
5
|
/** @hidden */
|
|
@@ -47,6 +47,7 @@ __export(index_typings_exports, {
|
|
|
47
47
|
SortType: () => SortType,
|
|
48
48
|
SortingMethodType: () => SortingMethodType,
|
|
49
49
|
Status: () => Status,
|
|
50
|
+
TaxableAddressType: () => TaxableAddressType,
|
|
50
51
|
V2RequestedFields: () => V2RequestedFields,
|
|
51
52
|
WebhookIdentityType: () => WebhookIdentityType,
|
|
52
53
|
bulkCreateServices: () => bulkCreateServices2,
|
|
@@ -93,7 +94,7 @@ var import_timestamp2 = require("@wix/sdk-runtime/transformations/timestamp");
|
|
|
93
94
|
var import_field_mask = require("@wix/sdk-runtime/transformations/field-mask");
|
|
94
95
|
var import_transform_paths = require("@wix/sdk-runtime/transformations/transform-paths");
|
|
95
96
|
var import_rest_modules2 = require("@wix/sdk-runtime/rest-modules");
|
|
96
|
-
function
|
|
97
|
+
function resolveWixBookingsServicesV2ServicesServiceUrl(opts) {
|
|
97
98
|
const domainToMappings = {
|
|
98
99
|
"*.dev.wix-code.com": [
|
|
99
100
|
{
|
|
@@ -208,7 +209,7 @@ function resolveWixBookingsServicesV2AddOnGroupsServiceUrl(opts) {
|
|
|
208
209
|
};
|
|
209
210
|
return (0, import_rest_modules2.resolveUrl)(Object.assign(opts, { domainToMappings }));
|
|
210
211
|
}
|
|
211
|
-
function
|
|
212
|
+
function resolveWixBookingsServicesV2AddOnGroupsServiceUrl(opts) {
|
|
212
213
|
const domainToMappings = {
|
|
213
214
|
"*.dev.wix-code.com": [
|
|
214
215
|
{
|
|
@@ -324,6 +325,102 @@ function resolveWixBookingsServicesV2ServicesServiceUrl(opts) {
|
|
|
324
325
|
return (0, import_rest_modules2.resolveUrl)(Object.assign(opts, { domainToMappings }));
|
|
325
326
|
}
|
|
326
327
|
var PACKAGE_NAME = "@wix/auto_sdk_bookings_services";
|
|
328
|
+
function createAddOnGroup(payload) {
|
|
329
|
+
function __createAddOnGroup({ host }) {
|
|
330
|
+
const metadata = {
|
|
331
|
+
entityFqdn: "wix.bookings.services.v2.service",
|
|
332
|
+
method: "POST",
|
|
333
|
+
methodFqn: "wix.bookings.services.v2.AddOnGroupsService.CreateAddOnGroup",
|
|
334
|
+
packageName: PACKAGE_NAME,
|
|
335
|
+
url: resolveWixBookingsServicesV2AddOnGroupsServiceUrl({
|
|
336
|
+
protoPath: "/v2/services/add-on-groups/create",
|
|
337
|
+
data: payload,
|
|
338
|
+
host
|
|
339
|
+
}),
|
|
340
|
+
data: payload
|
|
341
|
+
};
|
|
342
|
+
return metadata;
|
|
343
|
+
}
|
|
344
|
+
return __createAddOnGroup;
|
|
345
|
+
}
|
|
346
|
+
function deleteAddOnGroup(payload) {
|
|
347
|
+
function __deleteAddOnGroup({ host }) {
|
|
348
|
+
const metadata = {
|
|
349
|
+
entityFqdn: "wix.bookings.services.v2.service",
|
|
350
|
+
method: "POST",
|
|
351
|
+
methodFqn: "wix.bookings.services.v2.AddOnGroupsService.DeleteAddOnGroup",
|
|
352
|
+
packageName: PACKAGE_NAME,
|
|
353
|
+
url: resolveWixBookingsServicesV2AddOnGroupsServiceUrl({
|
|
354
|
+
protoPath: "/v2/services/add-on-groups/delete",
|
|
355
|
+
data: payload,
|
|
356
|
+
host
|
|
357
|
+
}),
|
|
358
|
+
data: payload
|
|
359
|
+
};
|
|
360
|
+
return metadata;
|
|
361
|
+
}
|
|
362
|
+
return __deleteAddOnGroup;
|
|
363
|
+
}
|
|
364
|
+
function updateAddOnGroup(payload) {
|
|
365
|
+
function __updateAddOnGroup({ host }) {
|
|
366
|
+
const serializedData = (0, import_transform_paths.transformPaths)(payload, [
|
|
367
|
+
{
|
|
368
|
+
transformFn: import_field_mask.transformSDKFieldMaskToRESTFieldMask,
|
|
369
|
+
paths: [{ path: "mask" }]
|
|
370
|
+
}
|
|
371
|
+
]);
|
|
372
|
+
const metadata = {
|
|
373
|
+
entityFqdn: "wix.bookings.services.v2.service",
|
|
374
|
+
method: "POST",
|
|
375
|
+
methodFqn: "wix.bookings.services.v2.AddOnGroupsService.UpdateAddOnGroup",
|
|
376
|
+
packageName: PACKAGE_NAME,
|
|
377
|
+
url: resolveWixBookingsServicesV2AddOnGroupsServiceUrl({
|
|
378
|
+
protoPath: "/v2/services/add-on-groups/update",
|
|
379
|
+
data: serializedData,
|
|
380
|
+
host
|
|
381
|
+
}),
|
|
382
|
+
data: serializedData
|
|
383
|
+
};
|
|
384
|
+
return metadata;
|
|
385
|
+
}
|
|
386
|
+
return __updateAddOnGroup;
|
|
387
|
+
}
|
|
388
|
+
function listAddOnGroupsByServiceId(payload) {
|
|
389
|
+
function __listAddOnGroupsByServiceId({ host }) {
|
|
390
|
+
const metadata = {
|
|
391
|
+
entityFqdn: "wix.bookings.services.v2.service",
|
|
392
|
+
method: "POST",
|
|
393
|
+
methodFqn: "wix.bookings.services.v2.AddOnGroupsService.ListAddOnGroupsByServiceId",
|
|
394
|
+
packageName: PACKAGE_NAME,
|
|
395
|
+
url: resolveWixBookingsServicesV2AddOnGroupsServiceUrl({
|
|
396
|
+
protoPath: "/v2/services/add-on-groups/list-add-on-groups-by-service-id",
|
|
397
|
+
data: payload,
|
|
398
|
+
host
|
|
399
|
+
}),
|
|
400
|
+
data: payload
|
|
401
|
+
};
|
|
402
|
+
return metadata;
|
|
403
|
+
}
|
|
404
|
+
return __listAddOnGroupsByServiceId;
|
|
405
|
+
}
|
|
406
|
+
function setAddOnsForGroup(payload) {
|
|
407
|
+
function __setAddOnsForGroup({ host }) {
|
|
408
|
+
const metadata = {
|
|
409
|
+
entityFqdn: "wix.bookings.services.v2.service",
|
|
410
|
+
method: "POST",
|
|
411
|
+
methodFqn: "wix.bookings.services.v2.AddOnGroupsService.SetAddOnsForGroup",
|
|
412
|
+
packageName: PACKAGE_NAME,
|
|
413
|
+
url: resolveWixBookingsServicesV2AddOnGroupsServiceUrl({
|
|
414
|
+
protoPath: "/v2/services/add-on-groups/set-add-ons-for-group",
|
|
415
|
+
data: payload,
|
|
416
|
+
host
|
|
417
|
+
}),
|
|
418
|
+
data: payload
|
|
419
|
+
};
|
|
420
|
+
return metadata;
|
|
421
|
+
}
|
|
422
|
+
return __setAddOnsForGroup;
|
|
423
|
+
}
|
|
327
424
|
function createService(payload) {
|
|
328
425
|
function __createService({ host }) {
|
|
329
426
|
const serializedData = (0, import_transform_paths.transformPaths)(payload, [
|
|
@@ -1607,102 +1704,6 @@ function cloneService(payload) {
|
|
|
1607
1704
|
}
|
|
1608
1705
|
return __cloneService;
|
|
1609
1706
|
}
|
|
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
|
-
}
|
|
1706
1707
|
|
|
1707
1708
|
// src/bookings-services-v2-service-services.universal.ts
|
|
1708
1709
|
var import_address = require("@wix/sdk-runtime/transformations/address");
|
|
@@ -1760,6 +1761,12 @@ var WebhookIdentityType = /* @__PURE__ */ ((WebhookIdentityType2) => {
|
|
|
1760
1761
|
WebhookIdentityType2["APP"] = "APP";
|
|
1761
1762
|
return WebhookIdentityType2;
|
|
1762
1763
|
})(WebhookIdentityType || {});
|
|
1764
|
+
var TaxableAddressType = /* @__PURE__ */ ((TaxableAddressType2) => {
|
|
1765
|
+
TaxableAddressType2["UNKNOWN_TAXABLE_ADDRESS_TYPE"] = "UNKNOWN_TAXABLE_ADDRESS_TYPE";
|
|
1766
|
+
TaxableAddressType2["BUSINESS"] = "BUSINESS";
|
|
1767
|
+
TaxableAddressType2["BILLING"] = "BILLING";
|
|
1768
|
+
return TaxableAddressType2;
|
|
1769
|
+
})(TaxableAddressType || {});
|
|
1763
1770
|
var V2RequestedFields = /* @__PURE__ */ ((V2RequestedFields2) => {
|
|
1764
1771
|
V2RequestedFields2["UNKNOWN_REQUESTED_FIELD"] = "UNKNOWN_REQUESTED_FIELD";
|
|
1765
1772
|
V2RequestedFields2["STAFF_MEMBER_DETAILS"] = "STAFF_MEMBER_DETAILS";
|
|
@@ -1902,6 +1909,153 @@ var ResolutionMethod = /* @__PURE__ */ ((ResolutionMethod2) => {
|
|
|
1902
1909
|
ResolutionMethod2["SUBDIRECTORY"] = "SUBDIRECTORY";
|
|
1903
1910
|
return ResolutionMethod2;
|
|
1904
1911
|
})(ResolutionMethod || {});
|
|
1912
|
+
async function createAddOnGroup2(addOnGroup, options) {
|
|
1913
|
+
const { httpClient, sideEffects } = arguments[2];
|
|
1914
|
+
const payload = (0, import_rename_all_nested_keys.renameKeysFromSDKRequestToRESTRequest)({
|
|
1915
|
+
addOnGroup,
|
|
1916
|
+
serviceId: options?.serviceId
|
|
1917
|
+
});
|
|
1918
|
+
const reqOpts = createAddOnGroup(payload);
|
|
1919
|
+
sideEffects?.onSiteCall?.();
|
|
1920
|
+
try {
|
|
1921
|
+
const result = await httpClient.request(reqOpts);
|
|
1922
|
+
sideEffects?.onSuccess?.(result);
|
|
1923
|
+
return (0, import_rename_all_nested_keys.renameKeysFromRESTResponseToSDKResponse)(result.data);
|
|
1924
|
+
} catch (err) {
|
|
1925
|
+
const transformedError = (0, import_transform_error.transformError)(
|
|
1926
|
+
err,
|
|
1927
|
+
{
|
|
1928
|
+
spreadPathsToArguments: {},
|
|
1929
|
+
explicitPathsToArguments: {
|
|
1930
|
+
addOnGroup: "$[0]",
|
|
1931
|
+
serviceId: "$[1].serviceId"
|
|
1932
|
+
},
|
|
1933
|
+
singleArgumentUnchanged: false
|
|
1934
|
+
},
|
|
1935
|
+
["addOnGroup", "options"]
|
|
1936
|
+
);
|
|
1937
|
+
sideEffects?.onError?.(err);
|
|
1938
|
+
throw transformedError;
|
|
1939
|
+
}
|
|
1940
|
+
}
|
|
1941
|
+
async function deleteAddOnGroup2(addOnGroupId, options) {
|
|
1942
|
+
const { httpClient, sideEffects } = arguments[2];
|
|
1943
|
+
const payload = (0, import_rename_all_nested_keys.renameKeysFromSDKRequestToRESTRequest)({
|
|
1944
|
+
addOnGroupId,
|
|
1945
|
+
serviceId: options?.serviceId
|
|
1946
|
+
});
|
|
1947
|
+
const reqOpts = deleteAddOnGroup(payload);
|
|
1948
|
+
sideEffects?.onSiteCall?.();
|
|
1949
|
+
try {
|
|
1950
|
+
const result = await httpClient.request(reqOpts);
|
|
1951
|
+
sideEffects?.onSuccess?.(result);
|
|
1952
|
+
return (0, import_rename_all_nested_keys.renameKeysFromRESTResponseToSDKResponse)(result.data);
|
|
1953
|
+
} catch (err) {
|
|
1954
|
+
const transformedError = (0, import_transform_error.transformError)(
|
|
1955
|
+
err,
|
|
1956
|
+
{
|
|
1957
|
+
spreadPathsToArguments: {},
|
|
1958
|
+
explicitPathsToArguments: {
|
|
1959
|
+
addOnGroupId: "$[0]",
|
|
1960
|
+
serviceId: "$[1].serviceId"
|
|
1961
|
+
},
|
|
1962
|
+
singleArgumentUnchanged: false
|
|
1963
|
+
},
|
|
1964
|
+
["addOnGroupId", "options"]
|
|
1965
|
+
);
|
|
1966
|
+
sideEffects?.onError?.(err);
|
|
1967
|
+
throw transformedError;
|
|
1968
|
+
}
|
|
1969
|
+
}
|
|
1970
|
+
async function updateAddOnGroup2(addOnGroup, options) {
|
|
1971
|
+
const { httpClient, sideEffects } = arguments[2];
|
|
1972
|
+
const payload = (0, import_rename_all_nested_keys.renameKeysFromSDKRequestToRESTRequest)({
|
|
1973
|
+
addOnGroup,
|
|
1974
|
+
serviceId: options?.serviceId
|
|
1975
|
+
});
|
|
1976
|
+
const reqOpts = updateAddOnGroup(payload);
|
|
1977
|
+
sideEffects?.onSiteCall?.();
|
|
1978
|
+
try {
|
|
1979
|
+
const result = await httpClient.request(reqOpts);
|
|
1980
|
+
sideEffects?.onSuccess?.(result);
|
|
1981
|
+
return (0, import_rename_all_nested_keys.renameKeysFromRESTResponseToSDKResponse)(result.data);
|
|
1982
|
+
} catch (err) {
|
|
1983
|
+
const transformedError = (0, import_transform_error.transformError)(
|
|
1984
|
+
err,
|
|
1985
|
+
{
|
|
1986
|
+
spreadPathsToArguments: {},
|
|
1987
|
+
explicitPathsToArguments: {
|
|
1988
|
+
addOnGroup: "$[0]",
|
|
1989
|
+
serviceId: "$[1].serviceId"
|
|
1990
|
+
},
|
|
1991
|
+
singleArgumentUnchanged: false
|
|
1992
|
+
},
|
|
1993
|
+
["addOnGroup", "options"]
|
|
1994
|
+
);
|
|
1995
|
+
sideEffects?.onError?.(err);
|
|
1996
|
+
throw transformedError;
|
|
1997
|
+
}
|
|
1998
|
+
}
|
|
1999
|
+
async function listAddOnGroupsByServiceId2(serviceId, options) {
|
|
2000
|
+
const { httpClient, sideEffects } = arguments[2];
|
|
2001
|
+
const payload = (0, import_rename_all_nested_keys.renameKeysFromSDKRequestToRESTRequest)({
|
|
2002
|
+
serviceId,
|
|
2003
|
+
groupIds: options?.groupIds
|
|
2004
|
+
});
|
|
2005
|
+
const reqOpts = listAddOnGroupsByServiceId(payload);
|
|
2006
|
+
sideEffects?.onSiteCall?.();
|
|
2007
|
+
try {
|
|
2008
|
+
const result = await httpClient.request(reqOpts);
|
|
2009
|
+
sideEffects?.onSuccess?.(result);
|
|
2010
|
+
return (0, import_rename_all_nested_keys.renameKeysFromRESTResponseToSDKResponse)(result.data);
|
|
2011
|
+
} catch (err) {
|
|
2012
|
+
const transformedError = (0, import_transform_error.transformError)(
|
|
2013
|
+
err,
|
|
2014
|
+
{
|
|
2015
|
+
spreadPathsToArguments: {},
|
|
2016
|
+
explicitPathsToArguments: {
|
|
2017
|
+
serviceId: "$[0]",
|
|
2018
|
+
groupIds: "$[1].groupIds"
|
|
2019
|
+
},
|
|
2020
|
+
singleArgumentUnchanged: false
|
|
2021
|
+
},
|
|
2022
|
+
["serviceId", "options"]
|
|
2023
|
+
);
|
|
2024
|
+
sideEffects?.onError?.(err);
|
|
2025
|
+
throw transformedError;
|
|
2026
|
+
}
|
|
2027
|
+
}
|
|
2028
|
+
async function setAddOnsForGroup2(serviceId, options) {
|
|
2029
|
+
const { httpClient, sideEffects } = arguments[2];
|
|
2030
|
+
const payload = (0, import_rename_all_nested_keys.renameKeysFromSDKRequestToRESTRequest)({
|
|
2031
|
+
serviceId,
|
|
2032
|
+
groupId: options?.groupId,
|
|
2033
|
+
addOnIds: options?.addOnIds
|
|
2034
|
+
});
|
|
2035
|
+
const reqOpts = setAddOnsForGroup(payload);
|
|
2036
|
+
sideEffects?.onSiteCall?.();
|
|
2037
|
+
try {
|
|
2038
|
+
const result = await httpClient.request(reqOpts);
|
|
2039
|
+
sideEffects?.onSuccess?.(result);
|
|
2040
|
+
return (0, import_rename_all_nested_keys.renameKeysFromRESTResponseToSDKResponse)(result.data);
|
|
2041
|
+
} catch (err) {
|
|
2042
|
+
const transformedError = (0, import_transform_error.transformError)(
|
|
2043
|
+
err,
|
|
2044
|
+
{
|
|
2045
|
+
spreadPathsToArguments: {},
|
|
2046
|
+
explicitPathsToArguments: {
|
|
2047
|
+
serviceId: "$[0]",
|
|
2048
|
+
groupId: "$[1].groupId",
|
|
2049
|
+
addOnIds: "$[1].addOnIds"
|
|
2050
|
+
},
|
|
2051
|
+
singleArgumentUnchanged: false
|
|
2052
|
+
},
|
|
2053
|
+
["serviceId", "options"]
|
|
2054
|
+
);
|
|
2055
|
+
sideEffects?.onError?.(err);
|
|
2056
|
+
throw transformedError;
|
|
2057
|
+
}
|
|
2058
|
+
}
|
|
1905
2059
|
async function createService2(service) {
|
|
1906
2060
|
const { httpClient, sideEffects } = arguments[1];
|
|
1907
2061
|
const payload = (0, import_transform_paths2.transformPaths)(
|
|
@@ -3134,153 +3288,6 @@ async function cloneService2(sourceServiceId) {
|
|
|
3134
3288
|
throw transformedError;
|
|
3135
3289
|
}
|
|
3136
3290
|
}
|
|
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
|
-
}
|
|
3284
3291
|
// Annotate the CommonJS export names for ESM import in node:
|
|
3285
3292
|
0 && (module.exports = {
|
|
3286
3293
|
Action,
|
|
@@ -3310,6 +3317,7 @@ async function setAddOnsForGroup2(serviceId, options) {
|
|
|
3310
3317
|
SortType,
|
|
3311
3318
|
SortingMethodType,
|
|
3312
3319
|
Status,
|
|
3320
|
+
TaxableAddressType,
|
|
3313
3321
|
V2RequestedFields,
|
|
3314
3322
|
WebhookIdentityType,
|
|
3315
3323
|
bulkCreateServices,
|