@wix/auto_sdk_bookings_services 1.0.293 → 1.0.295
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-DGpiG_de.d.ts → bookings-services-v2-service-services.universal-Bf4TC5aj.d.ts} +86 -3
- package/build/cjs/index.d.ts +9 -5
- package/build/cjs/index.js +7 -0
- package/build/cjs/index.js.map +1 -1
- package/build/cjs/index.typings.d.ts +2 -2
- package/build/cjs/index.typings.js +7 -0
- package/build/cjs/index.typings.js.map +1 -1
- package/build/cjs/meta.d.ts +81 -2
- package/build/cjs/meta.js +7 -0
- package/build/cjs/meta.js.map +1 -1
- package/build/es/{bookings-services-v2-service-services.universal-DGpiG_de.d.mts → bookings-services-v2-service-services.universal-Bf4TC5aj.d.mts} +86 -3
- package/build/es/index.d.mts +9 -5
- package/build/es/index.mjs +6 -0
- package/build/es/index.mjs.map +1 -1
- package/build/es/index.typings.d.mts +2 -2
- package/build/es/index.typings.mjs +6 -0
- package/build/es/index.typings.mjs.map +1 -1
- package/build/es/meta.d.mts +81 -2
- package/build/es/meta.mjs +6 -0
- package/build/es/meta.mjs.map +1 -1
- package/build/internal/cjs/{bookings-services-v2-service-services.universal-Cpiy1BRB.d.ts → bookings-services-v2-service-services.universal-Bh7ww4Ec.d.ts} +100 -3
- package/build/internal/cjs/index.d.ts +9 -5
- package/build/internal/cjs/index.typings.d.ts +2 -2
- package/build/internal/cjs/meta.d.ts +95 -2
- package/build/internal/es/{bookings-services-v2-service-services.universal-Cpiy1BRB.d.mts → bookings-services-v2-service-services.universal-Bh7ww4Ec.d.mts} +100 -3
- package/build/internal/es/index.d.mts +9 -5
- package/build/internal/es/index.typings.d.mts +2 -2
- package/build/internal/es/meta.d.mts +95 -2
- package/package.json +2 -2
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
import {
|
|
1
|
+
import { c_ as CreateServiceRequest$1, c$ as CreateServiceResponse$1, d3 as BulkCreateServicesRequest$1, a as BulkCreateServicesResponse$1, d8 as GetServiceRequest$1, d9 as GetServiceResponse$1, de as UpdateServiceRequest$1, df as UpdateServiceResponse$1, dg as BulkUpdateServicesRequest$1, e as BulkUpdateServicesResponse$1, di as BulkUpdateServicesByFilterRequest$1, h as BulkUpdateServicesByFilterResponse$1, dj as DeleteServiceRequest$1, dl as DeleteServiceResponse$1, dm as BulkDeleteServicesRequest$1, j as BulkDeleteServicesResponse$1, dn as BulkDeleteServicesByFilterRequest$1, l as BulkDeleteServicesByFilterResponse$1, dp as QueryServicesRequest$1, dv as QueryServicesResponse$1, dy as SearchServicesRequest$1, n as SearchServicesResponse$1, ec as QueryPoliciesRequest$1, Q as QueryPoliciesResponse$1, ef as QueryBookingFormsRequest$1, q as QueryBookingFormsResponse$1, ej as CountServicesRequest$1, t as CountServicesResponse$1, ek as QueryLocationsRequest$1, v as QueryLocationsResponse$1, ep as QueryCategoriesRequest$1, x as QueryCategoriesResponse$1, et as SetServiceLocationsRequest$1, z as SetServiceLocationsResponse$1, ex as EnablePricingPlansForServiceRequest$1, E as EnablePricingPlansForServiceResponse$1, eA as DisablePricingPlansForServiceRequest$1, H as DisablePricingPlansForServiceResponse$1, eB as SetCustomSlugRequest$1, K as SetCustomSlugResponse$1, eC as ValidateSlugRequest$1, N as ValidateSlugResponse$1, eD as CloneServiceRequest$1, O as CloneServiceResponse$1, f2 as CreateAddOnGroupRequest$1, T as CreateAddOnGroupResponse$1, f3 as DeleteAddOnGroupRequest$1, f4 as DeleteAddOnGroupResponse$1, f5 as UpdateAddOnGroupRequest$1, _ as UpdateAddOnGroupResponse$1, f6 as ListAddOnGroupsByServiceIdRequest$1, a1 as ListAddOnGroupsByServiceIdResponse$1, fa as SetAddOnsForGroupRequest$1, a3 as SetAddOnsForGroupResponse$1 } from './bookings-services-v2-service-services.universal-Bh7ww4Ec.js';
|
|
2
2
|
import '@wix/sdk-types';
|
|
3
3
|
|
|
4
4
|
/** The `service` object represents an offering that a business provides to its customers. */
|
|
@@ -399,6 +399,20 @@ interface Payment extends PaymentRateOneOf {
|
|
|
399
399
|
* @readonly
|
|
400
400
|
*/
|
|
401
401
|
discountInfo?: DiscountInfo;
|
|
402
|
+
/**
|
|
403
|
+
* Mandatory fees the customer pays in addition to the service price, for example a cleaning fee.
|
|
404
|
+
* Fees aren't part of the deposit.
|
|
405
|
+
*
|
|
406
|
+
* When you update `additionalFees`, the list you send replaces the existing fees. Fees you leave out are removed.
|
|
407
|
+
* To keep a fee, including when you rename it, send it with its existing `id`.
|
|
408
|
+
*
|
|
409
|
+
* Each fee's `amount.currency` is set to the service currency.
|
|
410
|
+
*
|
|
411
|
+
* Setting additional fees requires the feature to be enabled on the site. Otherwise, the call fails with an `ADDITIONAL_FEES_NOT_ENABLED` error.
|
|
412
|
+
* @internal
|
|
413
|
+
* @maxSize 5
|
|
414
|
+
*/
|
|
415
|
+
additionalFees?: AdditionalFee[];
|
|
402
416
|
}
|
|
403
417
|
/** @oneof */
|
|
404
418
|
interface PaymentRateOneOf {
|
|
@@ -721,6 +735,49 @@ interface DiscountInfo {
|
|
|
721
735
|
*/
|
|
722
736
|
discountedCycleCount?: number | null;
|
|
723
737
|
}
|
|
738
|
+
/** A mandatory fee the customer pays in addition to the service price. */
|
|
739
|
+
interface AdditionalFee {
|
|
740
|
+
/**
|
|
741
|
+
* Fee ID.
|
|
742
|
+
* Wix Bookings assigns it when the fee is created.
|
|
743
|
+
* To keep a fee's ID when updating the service, pass the existing ID. A fee sent without an ID, or with an ID that isn't on the service, gets a new ID.
|
|
744
|
+
* @format GUID
|
|
745
|
+
* @readonly
|
|
746
|
+
*/
|
|
747
|
+
id?: string;
|
|
748
|
+
/**
|
|
749
|
+
* Fee name, shown to the customer.
|
|
750
|
+
*
|
|
751
|
+
* Required for each fee you send.
|
|
752
|
+
* @minLength 1
|
|
753
|
+
* @maxLength 50
|
|
754
|
+
*/
|
|
755
|
+
name?: string;
|
|
756
|
+
/**
|
|
757
|
+
* Fee amount in the service currency. For a `PER_UNIT` fee, the amount charged for each unit.
|
|
758
|
+
*
|
|
759
|
+
* Required for each fee you send.
|
|
760
|
+
*/
|
|
761
|
+
amount?: Money;
|
|
762
|
+
/**
|
|
763
|
+
* Whether the fee is charged once per reservation or for each unit of the reservation's duration.
|
|
764
|
+
*
|
|
765
|
+
* Required for each fee you send.
|
|
766
|
+
*/
|
|
767
|
+
chargeType?: ChargeTypeWithLiterals;
|
|
768
|
+
}
|
|
769
|
+
declare enum ChargeType {
|
|
770
|
+
/** Charged once for the whole reservation. */
|
|
771
|
+
PER_RESERVATION = "PER_RESERVATION",
|
|
772
|
+
/**
|
|
773
|
+
* Charged for each duration unit of the reservation, as set in `schedule.availabilityConstraints.durationRange.unitType`.
|
|
774
|
+
* For example, for each day or hour.
|
|
775
|
+
* Charged once when the service has no duration range.
|
|
776
|
+
*/
|
|
777
|
+
PER_UNIT = "PER_UNIT"
|
|
778
|
+
}
|
|
779
|
+
/** @enumType */
|
|
780
|
+
type ChargeTypeWithLiterals = ChargeType | 'PER_RESERVATION' | 'PER_UNIT';
|
|
724
781
|
interface OnlineBooking {
|
|
725
782
|
/**
|
|
726
783
|
* Whether the service can be booked online.
|
|
@@ -5839,6 +5896,24 @@ type CreateServiceValidationErrors = {
|
|
|
5839
5896
|
ruleName?: 'INVALID_APPOINTMENT_CAPACITY';
|
|
5840
5897
|
} | {
|
|
5841
5898
|
ruleName?: 'INVALID_SESSION_DURATION';
|
|
5899
|
+
} | {
|
|
5900
|
+
ruleName?: 'ADDITIONAL_FEES_NOT_ENABLED';
|
|
5901
|
+
} | {
|
|
5902
|
+
ruleName?: 'INVALID_ADDITIONAL_FEE_NAME';
|
|
5903
|
+
} | {
|
|
5904
|
+
ruleName?: 'INVALID_ADDITIONAL_FEE_AMOUNT';
|
|
5905
|
+
} | {
|
|
5906
|
+
ruleName?: 'INVALID_ADDITIONAL_FEE_CHARGE_TYPE';
|
|
5907
|
+
};
|
|
5908
|
+
/** @docsIgnore */
|
|
5909
|
+
type BulkCreateServicesValidationErrors = {
|
|
5910
|
+
ruleName?: 'ADDITIONAL_FEES_NOT_ENABLED';
|
|
5911
|
+
} | {
|
|
5912
|
+
ruleName?: 'INVALID_ADDITIONAL_FEE_NAME';
|
|
5913
|
+
} | {
|
|
5914
|
+
ruleName?: 'INVALID_ADDITIONAL_FEE_AMOUNT';
|
|
5915
|
+
} | {
|
|
5916
|
+
ruleName?: 'INVALID_ADDITIONAL_FEE_CHARGE_TYPE';
|
|
5842
5917
|
};
|
|
5843
5918
|
/** @docsIgnore */
|
|
5844
5919
|
type UpdateServiceValidationErrors = {
|
|
@@ -5883,6 +5958,24 @@ type UpdateServiceValidationErrors = {
|
|
|
5883
5958
|
ruleName?: 'INVALID_APPOINTMENT_CAPACITY';
|
|
5884
5959
|
} | {
|
|
5885
5960
|
ruleName?: 'INVALID_SESSION_DURATION';
|
|
5961
|
+
} | {
|
|
5962
|
+
ruleName?: 'ADDITIONAL_FEES_NOT_ENABLED';
|
|
5963
|
+
} | {
|
|
5964
|
+
ruleName?: 'INVALID_ADDITIONAL_FEE_NAME';
|
|
5965
|
+
} | {
|
|
5966
|
+
ruleName?: 'INVALID_ADDITIONAL_FEE_AMOUNT';
|
|
5967
|
+
} | {
|
|
5968
|
+
ruleName?: 'INVALID_ADDITIONAL_FEE_CHARGE_TYPE';
|
|
5969
|
+
};
|
|
5970
|
+
/** @docsIgnore */
|
|
5971
|
+
type BulkUpdateServicesValidationErrors = {
|
|
5972
|
+
ruleName?: 'ADDITIONAL_FEES_NOT_ENABLED';
|
|
5973
|
+
} | {
|
|
5974
|
+
ruleName?: 'INVALID_ADDITIONAL_FEE_NAME';
|
|
5975
|
+
} | {
|
|
5976
|
+
ruleName?: 'INVALID_ADDITIONAL_FEE_AMOUNT';
|
|
5977
|
+
} | {
|
|
5978
|
+
ruleName?: 'INVALID_ADDITIONAL_FEE_CHARGE_TYPE';
|
|
5886
5979
|
};
|
|
5887
5980
|
/** @docsIgnore */
|
|
5888
5981
|
type QueryBookingFormsApplicationErrors = {
|
|
@@ -5993,4 +6086,4 @@ declare function updateAddOnGroup(): __PublicMethodMetaInfo<'POST', {}, UpdateAd
|
|
|
5993
6086
|
declare function listAddOnGroupsByServiceId(): __PublicMethodMetaInfo<'POST', {}, ListAddOnGroupsByServiceIdRequest$1, ListAddOnGroupsByServiceIdRequest, ListAddOnGroupsByServiceIdResponse$1, ListAddOnGroupsByServiceIdResponse>;
|
|
5994
6087
|
declare function setAddOnsForGroup(): __PublicMethodMetaInfo<'POST', {}, SetAddOnsForGroupRequest$1, SetAddOnsForGroupRequest, SetAddOnsForGroupResponse$1, SetAddOnsForGroupResponse>;
|
|
5995
6088
|
|
|
5996
|
-
export { type AccountInfo as AccountInfoOriginal, type ActionEvent as ActionEventOriginal, Action as ActionOriginal, type ActionWithLiterals as ActionWithLiteralsOriginal, Actor as ActorOriginal, type ActorWithLiterals as ActorWithLiteralsOriginal, type AddOnAddOnInfoOneOf as AddOnAddOnInfoOneOfOriginal, type AddOnDetails as AddOnDetailsOriginal, type AddOnGroupDetail as AddOnGroupDetailOriginal, type AddOnGroup as AddOnGroupOriginal, type AddOn as AddOnOriginal, AddOnPaymentOptions as AddOnPaymentOptionsOriginal, type AddOnPaymentOptionsWithLiterals as AddOnPaymentOptionsWithLiteralsOriginal, type AddressHint as AddressHintOriginal, type AddressLocation as AddressLocationOriginal, type Address as AddressOriginal, type AddressStreetOneOf as AddressStreetOneOfOriginal, type AggregationData as AggregationDataOriginal, type AggregationKindOneOf as AggregationKindOneOfOriginal, type Aggregation as AggregationOriginal, type AggregationResults as AggregationResultsOriginal, type AggregationResultsResultOneOf as AggregationResultsResultOneOfOriginal, type AggregationResultsScalarDateResult as AggregationResultsScalarDateResultOriginal, type AggregationResultsScalarResult as AggregationResultsScalarResultOriginal, AggregationType as AggregationTypeOriginal, type AggregationTypeWithLiterals as AggregationTypeWithLiteralsOriginal, type ApplicationError as ApplicationErrorOriginal, type AvailabilityConstraints as AvailabilityConstraintsOriginal, type BookAfterStartPolicy as BookAfterStartPolicyOriginal, type BookedAddOn as BookedAddOnOriginal, type BookedEntityItemOneOf as BookedEntityItemOneOfOriginal, type BookedEntity as BookedEntityOriginal, type BookedResource as BookedResourceOriginal, type BookedSchedule as BookedScheduleOriginal, type BookedSlot as BookedSlotOriginal, type BookingForm as BookingFormOriginal, type Booking as BookingOriginal, type BookingParticipantsInfoOneOf as BookingParticipantsInfoOneOfOriginal, type BookingPolicy as BookingPolicyOriginal, type BookingPolicyWithServices as BookingPolicyWithServicesOriginal, type BookingSource as BookingSourceOriginal, BookingStatus as BookingStatusOriginal, type BookingStatusWithLiterals as BookingStatusWithLiteralsOriginal, type BulkActionMetadata as BulkActionMetadataOriginal, type BulkCreateServicesRequest as BulkCreateServicesRequestOriginal, type BulkCreateServicesResponse as BulkCreateServicesResponseOriginal, type BulkDeleteServicesByFilterRequest as BulkDeleteServicesByFilterRequestOriginal, type BulkDeleteServicesByFilterResponse as BulkDeleteServicesByFilterResponseOriginal, type BulkDeleteServicesRequest as BulkDeleteServicesRequestOriginal, type BulkDeleteServicesResponse as BulkDeleteServicesResponseOriginal, type BulkServiceResult as BulkServiceResultOriginal, type BulkUpdateServicesByFilterRequest as BulkUpdateServicesByFilterRequestOriginal, type BulkUpdateServicesByFilterResponse as BulkUpdateServicesByFilterResponseOriginal, type BulkUpdateServicesRequest as BulkUpdateServicesRequestOriginal, type BulkUpdateServicesResponse as BulkUpdateServicesResponseOriginal, type BusinessLocationOptions as BusinessLocationOptionsOriginal, type BusinessLocations as BusinessLocationsOriginal, type BusinessSchedule as BusinessScheduleOriginal, type CancellationFeePolicy as CancellationFeePolicyOriginal, type CancellationPolicy as CancellationPolicyOriginal, type CancellationWindowFeeOneOf as CancellationWindowFeeOneOfOriginal, type CancellationWindow as CancellationWindowOriginal, type Categories as CategoriesOriginal, type CategoryNotification as CategoryNotificationOriginal, type Category as CategoryOriginal, type ChangeContext as ChangeContextOriginal, type ChangeContextPayloadOneOf as ChangeContextPayloadOneOfOriginal, CloneErrors as CloneErrorsOriginal, type CloneErrorsWithLiterals as CloneErrorsWithLiteralsOriginal, type CloneServiceRequest as CloneServiceRequestOriginal, type CloneServiceResponse as CloneServiceResponseOriginal, type CommonAddressLocation as CommonAddressLocationOriginal, type CommonAddress as CommonAddressOriginal, type CommonAddressStreetOneOf as CommonAddressStreetOneOfOriginal, type CommonIdentificationDataIdOneOf as CommonIdentificationDataIdOneOfOriginal, type CommonIdentificationData as CommonIdentificationDataOriginal, type CommonStreetAddress as CommonStreetAddressOriginal, CompletionRequirement as CompletionRequirementOriginal, type CompletionRequirementWithLiterals as CompletionRequirementWithLiteralsOriginal, type Conferencing as ConferencingOriginal, type ConnectedService as ConnectedServiceOriginal, type ConsentPolicy as ConsentPolicyOriginal, type ContactDetails as ContactDetailsOriginal, type CountServicesRequest as CountServicesRequestOriginal, type CountServicesResponse as CountServicesResponseOriginal, type CreateAddOnGroupApplicationErrors as CreateAddOnGroupApplicationErrorsOriginal, type CreateAddOnGroupRequest as CreateAddOnGroupRequestOriginal, type CreateAddOnGroupResponse as CreateAddOnGroupResponseOriginal, type CreateServiceRequest as CreateServiceRequestOriginal, type CreateServiceResponse as CreateServiceResponseOriginal, type CreateServiceValidationErrors as CreateServiceValidationErrorsOriginal, CrudType as CrudTypeOriginal, type CrudTypeWithLiterals as CrudTypeWithLiteralsOriginal, type CursorPagingMetadata as CursorPagingMetadataOriginal, type CursorPaging as CursorPagingOriginal, type CursorQuery as CursorQueryOriginal, type CursorQueryPagingMethodOneOf as CursorQueryPagingMethodOneOfOriginal, type CursorSearch as CursorSearchOriginal, type CursorSearchPagingMethodOneOf as CursorSearchPagingMethodOneOfOriginal, type Cursors as CursorsOriginal, type CustomFormField as CustomFormFieldOriginal, type CustomLocationOptions as CustomLocationOptionsOriginal, type CustomLocations as CustomLocationsOriginal, type CustomOptions as CustomOptionsOriginal, type CustomPayment as CustomPaymentOriginal, type CustomerLocations as CustomerLocationsOriginal, type DailyConfig as DailyConfigOriginal, type DateHistogramAggregation as DateHistogramAggregationOriginal, type DateHistogramResult as DateHistogramResultOriginal, type DateHistogramResults as DateHistogramResultsOriginal, type DateTimeRule as DateTimeRuleOriginal, DayOfWeek as DayOfWeekOriginal, type DayOfWeekWithLiterals as DayOfWeekWithLiteralsOriginal, type DeleteAddOnGroupApplicationErrors as DeleteAddOnGroupApplicationErrorsOriginal, type DeleteAddOnGroupRequest as DeleteAddOnGroupRequestOriginal, type DeleteAddOnGroupResponse as DeleteAddOnGroupResponseOriginal, type DeleteServiceRequest as DeleteServiceRequestOriginal, type DeleteServiceResponse as DeleteServiceResponseOriginal, type DepositDetails as DepositDetailsOriginal, type DepositDetailsValueOneOf as DepositDetailsValueOneOfOriginal, type DisablePricingPlansForServiceApplicationErrors as DisablePricingPlansForServiceApplicationErrorsOriginal, type DisablePricingPlansForServiceRequest as DisablePricingPlansForServiceRequestOriginal, type DisablePricingPlansForServiceResponse as DisablePricingPlansForServiceResponseOriginal, type DiscountInfo as DiscountInfoOriginal, type DomainEventBodyOneOf as DomainEventBodyOneOfOriginal, type DomainEvent as DomainEventOriginal, type DummyRequest as DummyRequestOriginal, type DummyResponse as DummyResponseOriginal, type Duration as DurationOriginal, type DurationRangeConfigOneOf as DurationRangeConfigOneOfOriginal, type DurationRange as DurationRangeOriginal, DurationUnitType as DurationUnitTypeOriginal, type DurationUnitTypeWithLiterals as DurationUnitTypeWithLiteralsOriginal, type Empty as EmptyOriginal, type EnablePricingPlansForServiceApplicationErrors as EnablePricingPlansForServiceApplicationErrorsOriginal, type EnablePricingPlansForServiceRequest as EnablePricingPlansForServiceRequestOriginal, type EnablePricingPlansForServiceResponse as EnablePricingPlansForServiceResponseOriginal, type EntityCreatedEvent as EntityCreatedEventOriginal, type EntityDeletedEvent as EntityDeletedEventOriginal, type EntityUpdatedEvent as EntityUpdatedEventOriginal, Event as EventOriginal, type EventWithLiterals as EventWithLiteralsOriginal, type ExtendedFields as ExtendedFieldsOriginal, type FieldViolation as FieldViolationOriginal, FirstChargeDateType as FirstChargeDateTypeOriginal, type FirstChargeDateTypeWithLiterals as FirstChargeDateTypeWithLiteralsOriginal, type FixedPayment as FixedPaymentOriginal, type FlowControlSettings as FlowControlSettingsOriginal, type FormDetails as FormDetailsOriginal, type Form as FormOriginal, type FormSettings as FormSettingsOriginal, FrequencyType as FrequencyTypeOriginal, type FrequencyTypeWithLiterals as FrequencyTypeWithLiteralsOriginal, type FullUpfrontPayment as FullUpfrontPaymentOriginal, type GeoCoordinates as GeoCoordinatesOriginal, type GetServiceAvailabilityConstraintsRequest as GetServiceAvailabilityConstraintsRequestOriginal, type GetServiceAvailabilityConstraintsResponse as GetServiceAvailabilityConstraintsResponseOriginal, type GetServiceRequest as GetServiceRequestOriginal, type GetServiceResponse as GetServiceResponseOriginal, type GroupByAggregationKindOneOf as GroupByAggregationKindOneOfOriginal, type GroupByAggregation as GroupByAggregationOriginal, type GroupByValueResults as GroupByValueResultsOriginal, type HourlyConfig as HourlyConfigOriginal, type HtmlSitePublished as HtmlSitePublishedOriginal, type IdentificationDataIdOneOf as IdentificationDataIdOneOfOriginal, type IdentificationData as IdentificationDataOriginal, IdentityType as IdentityTypeOriginal, type IdentityTypeWithLiterals as IdentityTypeWithLiteralsOriginal, type Image as ImageOriginal, type IncludeMissingValuesOptions as IncludeMissingValuesOptionsOriginal, type IntakeFormPolicy as IntakeFormPolicyOriginal, Interval as IntervalOriginal, type IntervalWithLiterals as IntervalWithLiteralsOriginal, type InvalidPricingPlan as InvalidPricingPlanOriginal, InvalidSlugError as InvalidSlugErrorOriginal, type InvalidSlugErrorWithLiterals as InvalidSlugErrorWithLiteralsOriginal, type ItemMetadata as ItemMetadataOriginal, type Keyword as KeywordOriginal, type LimitEarlyBookingPolicy as LimitEarlyBookingPolicyOriginal, type LimitLateBookingPolicy as LimitLateBookingPolicyOriginal, type LimitRebookingPolicy as LimitRebookingPolicyOriginal, type ListAddOnGroupsByServiceIdRequest as ListAddOnGroupsByServiceIdRequestOriginal, type ListAddOnGroupsByServiceIdResponse as ListAddOnGroupsByServiceIdResponseOriginal, type Locale as LocaleOriginal, type Location as LocationOriginal, LocationTypeEnumLocationType as LocationTypeEnumLocationTypeOriginal, type LocationTypeEnumLocationTypeWithLiterals as LocationTypeEnumLocationTypeWithLiteralsOriginal, LocationType as LocationTypeOriginal, type LocationTypeWithLiterals as LocationTypeWithLiteralsOriginal, type MaskedService as MaskedServiceOriginal, type MediaItemItemOneOf as MediaItemItemOneOfOriginal, type MediaItem as MediaItemOriginal, type Media as MediaOriginal, type MessageEnvelope as MessageEnvelopeOriginal, MissingValues as MissingValuesOriginal, type MissingValuesWithLiterals as MissingValuesWithLiteralsOriginal, Mode as ModeOriginal, type ModeWithLiterals as ModeWithLiteralsOriginal, type Money as MoneyOriginal, type MoveToNewLocationsOptions as MoveToNewLocationsOptionsOriginal, type MultiServiceBookingInfo as MultiServiceBookingInfoOriginal, MultiServiceBookingType as MultiServiceBookingTypeOriginal, type MultiServiceBookingTypeWithLiterals as MultiServiceBookingTypeWithLiteralsOriginal, type Multilingual as MultilingualOriginal, type NestedAggregationItemKindOneOf as NestedAggregationItemKindOneOfOriginal, type NestedAggregationItem as NestedAggregationItemOriginal, type NestedAggregation as NestedAggregationOriginal, type NestedAggregationResults as NestedAggregationResultsOriginal, type NestedAggregationResultsResultOneOf as NestedAggregationResultsResultOneOfOriginal, NestedAggregationType as NestedAggregationTypeOriginal, type NestedAggregationTypeWithLiterals as NestedAggregationTypeWithLiteralsOriginal, type NestedResultValue as NestedResultValueOriginal, type NestedResultValueResultOneOf as NestedResultValueResultOneOfOriginal, type NestedResults as NestedResultsOriginal, type NestedValueAggregationResult as NestedValueAggregationResultOriginal, type OnlineBooking as OnlineBookingOriginal, type Page as PageOriginal, type PageUrlV2 as PageUrlV2Original, type PagingMetadataV2 as PagingMetadataV2Original, type Paging as PagingOriginal, type ParticipantChoices as ParticipantChoicesOriginal, type ParticipantNotification as ParticipantNotificationOriginal, type ParticipantsPolicy as ParticipantsPolicyOriginal, type ParticipantsRange as ParticipantsRangeOriginal, type PaymentOptions as PaymentOptionsOriginal, type Payment as PaymentOriginal, type PaymentRateOneOf as PaymentRateOneOfOriginal, PaymentStatus as PaymentStatusOriginal, type PaymentStatusWithLiterals as PaymentStatusWithLiteralsOriginal, type PhoneCall as PhoneCallOriginal, PlacementType as PlacementTypeOriginal, type PlacementTypeWithLiterals as PlacementTypeWithLiteralsOriginal, Platform as PlatformOriginal, type PlatformWithLiterals as PlatformWithLiteralsOriginal, type PolicyDescription as PolicyDescriptionOriginal, type PricingPlanRefundPolicy as PricingPlanRefundPolicyOriginal, type PricingPlanSelection as PricingPlanSelectionOriginal, type PropertiesChange as PropertiesChangeOriginal, type Properties as PropertiesOriginal, type ProrationPolicy as ProrationPolicyOriginal, type QueryBookingFormsApplicationErrors as QueryBookingFormsApplicationErrorsOriginal, type QueryBookingFormsRequest as QueryBookingFormsRequestOriginal, type QueryBookingFormsResponse as QueryBookingFormsResponseOriginal, type QueryCategoriesFilter as QueryCategoriesFilterOriginal, type QueryCategoriesRequest as QueryCategoriesRequestOriginal, type QueryCategoriesResponse as QueryCategoriesResponseOriginal, type QueryLocationsFilter as QueryLocationsFilterOriginal, type QueryLocationsRequest as QueryLocationsRequestOriginal, type QueryLocationsResponse as QueryLocationsResponseOriginal, type QueryPoliciesRequest as QueryPoliciesRequestOriginal, type QueryPoliciesResponse as QueryPoliciesResponseOriginal, type QueryServicesMultiLanguageRequest as QueryServicesMultiLanguageRequestOriginal, type QueryServicesMultiLanguageResponse as QueryServicesMultiLanguageResponseOriginal, type QueryServicesRequest as QueryServicesRequestOriginal, type QueryServicesResponse as QueryServicesResponseOriginal, type QueryV2 as QueryV2Original, type QueryV2PagingMethodOneOf as QueryV2PagingMethodOneOfOriginal, type RangeAggregation as RangeAggregationOriginal, type RangeAggregationResult as RangeAggregationResultOriginal, type RangeBucket as RangeBucketOriginal, type RangeResult as RangeResultOriginal, type RangeResults as RangeResultsOriginal, type RankingOptions as RankingOptionsOriginal, RankingOrder as RankingOrderOriginal, type RankingOrderWithLiterals as RankingOrderWithLiteralsOriginal, RateType as RateTypeOriginal, type RateTypeWithLiterals as RateTypeWithLiteralsOriginal, type RefundWindow as RefundWindowOriginal, type RemovedLocationSessionsActionActionOptionsOneOf as RemovedLocationSessionsActionActionOptionsOneOfOriginal, type RemovedLocationSessionsAction as RemovedLocationSessionsActionOriginal, RequestedFields as RequestedFieldsOriginal, type RequestedFieldsWithLiterals as RequestedFieldsWithLiteralsOriginal, RequestedGender as RequestedGenderOriginal, type RequestedGenderValue as RequestedGenderValueOriginal, type RequestedGenderWithLiterals as RequestedGenderWithLiteralsOriginal, type ReschedulePolicy as ReschedulePolicyOriginal, ResolutionMethod as ResolutionMethodOriginal, type ResolutionMethodWithLiterals as ResolutionMethodWithLiteralsOriginal, type ResourceDetails as ResourceDetailsOriginal, type ResourceGroup as ResourceGroupOriginal, type ResourceIds as ResourceIdsOriginal, type ResourceInfo as ResourceInfoOriginal, type ResourceSelection as ResourceSelectionOriginal, ResourceTransparency as ResourceTransparencyOriginal, type ResourceTransparencyWithLiterals as ResourceTransparencyWithLiteralsOriginal, type ResourceType as ResourceTypeOriginal, type ResourcesPolicy as ResourcesPolicyOriginal, type RestoreInfo as RestoreInfoOriginal, type Results as ResultsOriginal, type SaveCreditCardPolicy as SaveCreditCardPolicyOriginal, type ScalarAggregation as ScalarAggregationOriginal, type ScalarDateResult as ScalarDateResultOriginal, type ScalarResult as ScalarResultOriginal, ScalarType as ScalarTypeOriginal, type ScalarTypeWithLiterals as ScalarTypeWithLiteralsOriginal, type Schedule as ScheduleOriginal, type SearchDetails as SearchDetailsOriginal, type SearchServicesRequest as SearchServicesRequestOriginal, type SearchServicesResponse as SearchServicesResponseOriginal, SelectedPaymentOption as SelectedPaymentOptionOriginal, type SelectedPaymentOptionWithLiterals as SelectedPaymentOptionWithLiteralsOriginal, SelectionMethod as SelectionMethodOriginal, type SelectionMethodWithLiterals as SelectionMethodWithLiteralsOriginal, type SeoSchema as SeoSchemaOriginal, type ServiceAvailabilityConstraints as ServiceAvailabilityConstraintsOriginal, type ServiceChoiceChoiceOneOf as ServiceChoiceChoiceOneOfOriginal, type ServiceChoice as ServiceChoiceOriginal, type ServiceChoices as ServiceChoicesOriginal, type Service as ServiceOriginal, type ServiceResource as ServiceResourceOriginal, type ServiceResourceSelectionOneOf as ServiceResourceSelectionOneOfOriginal, ServiceType as ServiceTypeOriginal, type ServiceTypeWithLiterals as ServiceTypeWithLiteralsOriginal, type ServicesUrlsChanged as ServicesUrlsChangedOriginal, type SetAddOnsForGroupApplicationErrors as SetAddOnsForGroupApplicationErrorsOriginal, type SetAddOnsForGroupRequest as SetAddOnsForGroupRequestOriginal, type SetAddOnsForGroupResponse as SetAddOnsForGroupResponseOriginal, type SetCustomSlugApplicationErrors as SetCustomSlugApplicationErrorsOriginal, type SetCustomSlugEvent as SetCustomSlugEventOriginal, type SetCustomSlugRequest as SetCustomSlugRequestOriginal, type SetCustomSlugResponse as SetCustomSlugResponseOriginal, type SetCustomSlugValidationErrors as SetCustomSlugValidationErrorsOriginal, type SetServiceLocationsRequest as SetServiceLocationsRequestOriginal, type SetServiceLocationsResponse as SetServiceLocationsResponseOriginal, type Settings as SettingsOriginal, type SiteCloned as SiteClonedOriginal, type SiteCreated as SiteCreatedOriginal, type SitePropertiesEvent as SitePropertiesEventOriginal, type SitePropertiesNotification as SitePropertiesNotificationOriginal, type Slug as SlugOriginal, SortDirection as SortDirectionOriginal, type SortDirectionWithLiterals as SortDirectionWithLiteralsOriginal, SortOrder as SortOrderOriginal, type SortOrderWithLiterals as SortOrderWithLiteralsOriginal, SortType as SortTypeOriginal, type SortTypeWithLiterals as SortTypeWithLiteralsOriginal, SortingMethodType as SortingMethodTypeOriginal, type SortingMethodTypeWithLiterals as SortingMethodTypeWithLiteralsOriginal, type Sorting as SortingOriginal, type SpecialHourPeriod as SpecialHourPeriodOriginal, type SplitInterval as SplitIntervalOriginal, type StaffMediaItemItemOneOf as StaffMediaItemItemOneOfOriginal, type StaffMediaItem as StaffMediaItemOriginal, type StaffMemberDetails as StaffMemberDetailsOriginal, type StaffMember as StaffMemberOriginal, type StaffSortingPolicyOptionsOneOf as StaffSortingPolicyOptionsOneOfOriginal, type StaffSortingPolicy as StaffSortingPolicyOriginal, Status as StatusOriginal, type StatusWithLiterals as StatusWithLiteralsOriginal, type StreetAddress as StreetAddressOriginal, type Subdivision as SubdivisionOriginal, type SubscriptionPayment as SubscriptionPaymentOriginal, type SupportedLanguage as SupportedLanguageOriginal, type Tag as TagOriginal, type TaxableAddress as TaxableAddressOriginal, TaxableAddressType as TaxableAddressTypeOriginal, type TaxableAddressTypeWithLiterals as TaxableAddressTypeWithLiteralsOriginal, type TimePeriod as TimePeriodOriginal, Timing as TimingOriginal, type TimingWithLiterals as TimingWithLiteralsOriginal, type Translation as TranslationOriginal, type URLs as URLsOriginal, UnitType as UnitTypeOriginal, type UnitTypeWithLiterals as UnitTypeWithLiteralsOriginal, type UpdateAddOnGroupApplicationErrors as UpdateAddOnGroupApplicationErrorsOriginal, type UpdateAddOnGroupRequest as UpdateAddOnGroupRequestOriginal, type UpdateAddOnGroupResponse as UpdateAddOnGroupResponseOriginal, type UpdateServiceRequest as UpdateServiceRequestOriginal, type UpdateServiceResponse as UpdateServiceResponseOriginal, type UpdateServiceValidationErrors as UpdateServiceValidationErrorsOriginal, type UserDomainInfoChangedEvent as UserDomainInfoChangedEventOriginal, type V2Category as V2CategoryOriginal, type V2Duration as V2DurationOriginal, type V2LocationOptionsOneOf as V2LocationOptionsOneOfOriginal, type V2Location as V2LocationOriginal, type V2ParticipantNotification as V2ParticipantNotificationOriginal, type V2PhoneCall as V2PhoneCallOriginal, V2RequestedFields as V2RequestedFieldsOriginal, type V2RequestedFieldsWithLiterals as V2RequestedFieldsWithLiteralsOriginal, type V4Address as V4AddressOriginal, type ValidateServiceRequest as ValidateServiceRequestOriginal, type ValidateServiceResponse as ValidateServiceResponseOriginal, type ValidateSlugRequest as ValidateSlugRequestOriginal, type ValidateSlugResponse as ValidateSlugResponseOriginal, type ValueAggregationOptionsOneOf as ValueAggregationOptionsOneOfOriginal, type ValueAggregation as ValueAggregationOriginal, type ValueAggregationResult as ValueAggregationResultOriginal, type ValueResult as ValueResultOriginal, type ValueResults as ValueResultsOriginal, ValueType as ValueTypeOriginal, type ValueTypeWithLiterals as ValueTypeWithLiteralsOriginal, type VariedPayment as VariedPaymentOriginal, type WaitlistPolicy as WaitlistPolicyOriginal, WebhookIdentityType as WebhookIdentityTypeOriginal, type WebhookIdentityTypeWithLiterals as WebhookIdentityTypeWithLiteralsOriginal, type WorkingHoursLocationCoverage as WorkingHoursLocationCoverageOriginal, WorkingHoursMode as WorkingHoursModeOriginal, type WorkingHoursModeWithLiterals as WorkingHoursModeWithLiteralsOriginal, type WorkingHours as WorkingHoursOriginal, type ZonedDate as ZonedDateOriginal, type __PublicMethodMetaInfo, bulkCreateServices, bulkDeleteServices, bulkDeleteServicesByFilter, bulkUpdateServices, bulkUpdateServicesByFilter, cloneService, countServices, createAddOnGroup, createService, deleteAddOnGroup, deleteService, disablePricingPlansForService, enablePricingPlansForService, getService, listAddOnGroupsByServiceId, queryBookingForms, queryCategories, queryLocations, queryPolicies, queryServices, searchServices, setAddOnsForGroup, setCustomSlug, setServiceLocations, updateAddOnGroup, updateService, validateSlug };
|
|
6089
|
+
export { type AccountInfo as AccountInfoOriginal, type ActionEvent as ActionEventOriginal, Action as ActionOriginal, type ActionWithLiterals as ActionWithLiteralsOriginal, Actor as ActorOriginal, type ActorWithLiterals as ActorWithLiteralsOriginal, type AddOnAddOnInfoOneOf as AddOnAddOnInfoOneOfOriginal, type AddOnDetails as AddOnDetailsOriginal, type AddOnGroupDetail as AddOnGroupDetailOriginal, type AddOnGroup as AddOnGroupOriginal, type AddOn as AddOnOriginal, AddOnPaymentOptions as AddOnPaymentOptionsOriginal, type AddOnPaymentOptionsWithLiterals as AddOnPaymentOptionsWithLiteralsOriginal, type AdditionalFee as AdditionalFeeOriginal, type AddressHint as AddressHintOriginal, type AddressLocation as AddressLocationOriginal, type Address as AddressOriginal, type AddressStreetOneOf as AddressStreetOneOfOriginal, type AggregationData as AggregationDataOriginal, type AggregationKindOneOf as AggregationKindOneOfOriginal, type Aggregation as AggregationOriginal, type AggregationResults as AggregationResultsOriginal, type AggregationResultsResultOneOf as AggregationResultsResultOneOfOriginal, type AggregationResultsScalarDateResult as AggregationResultsScalarDateResultOriginal, type AggregationResultsScalarResult as AggregationResultsScalarResultOriginal, AggregationType as AggregationTypeOriginal, type AggregationTypeWithLiterals as AggregationTypeWithLiteralsOriginal, type ApplicationError as ApplicationErrorOriginal, type AvailabilityConstraints as AvailabilityConstraintsOriginal, type BookAfterStartPolicy as BookAfterStartPolicyOriginal, type BookedAddOn as BookedAddOnOriginal, type BookedEntityItemOneOf as BookedEntityItemOneOfOriginal, type BookedEntity as BookedEntityOriginal, type BookedResource as BookedResourceOriginal, type BookedSchedule as BookedScheduleOriginal, type BookedSlot as BookedSlotOriginal, type BookingForm as BookingFormOriginal, type Booking as BookingOriginal, type BookingParticipantsInfoOneOf as BookingParticipantsInfoOneOfOriginal, type BookingPolicy as BookingPolicyOriginal, type BookingPolicyWithServices as BookingPolicyWithServicesOriginal, type BookingSource as BookingSourceOriginal, BookingStatus as BookingStatusOriginal, type BookingStatusWithLiterals as BookingStatusWithLiteralsOriginal, type BulkActionMetadata as BulkActionMetadataOriginal, type BulkCreateServicesRequest as BulkCreateServicesRequestOriginal, type BulkCreateServicesResponse as BulkCreateServicesResponseOriginal, type BulkCreateServicesValidationErrors as BulkCreateServicesValidationErrorsOriginal, type BulkDeleteServicesByFilterRequest as BulkDeleteServicesByFilterRequestOriginal, type BulkDeleteServicesByFilterResponse as BulkDeleteServicesByFilterResponseOriginal, type BulkDeleteServicesRequest as BulkDeleteServicesRequestOriginal, type BulkDeleteServicesResponse as BulkDeleteServicesResponseOriginal, type BulkServiceResult as BulkServiceResultOriginal, type BulkUpdateServicesByFilterRequest as BulkUpdateServicesByFilterRequestOriginal, type BulkUpdateServicesByFilterResponse as BulkUpdateServicesByFilterResponseOriginal, type BulkUpdateServicesRequest as BulkUpdateServicesRequestOriginal, type BulkUpdateServicesResponse as BulkUpdateServicesResponseOriginal, type BulkUpdateServicesValidationErrors as BulkUpdateServicesValidationErrorsOriginal, type BusinessLocationOptions as BusinessLocationOptionsOriginal, type BusinessLocations as BusinessLocationsOriginal, type BusinessSchedule as BusinessScheduleOriginal, type CancellationFeePolicy as CancellationFeePolicyOriginal, type CancellationPolicy as CancellationPolicyOriginal, type CancellationWindowFeeOneOf as CancellationWindowFeeOneOfOriginal, type CancellationWindow as CancellationWindowOriginal, type Categories as CategoriesOriginal, type CategoryNotification as CategoryNotificationOriginal, type Category as CategoryOriginal, type ChangeContext as ChangeContextOriginal, type ChangeContextPayloadOneOf as ChangeContextPayloadOneOfOriginal, ChargeType as ChargeTypeOriginal, type ChargeTypeWithLiterals as ChargeTypeWithLiteralsOriginal, CloneErrors as CloneErrorsOriginal, type CloneErrorsWithLiterals as CloneErrorsWithLiteralsOriginal, type CloneServiceRequest as CloneServiceRequestOriginal, type CloneServiceResponse as CloneServiceResponseOriginal, type CommonAddressLocation as CommonAddressLocationOriginal, type CommonAddress as CommonAddressOriginal, type CommonAddressStreetOneOf as CommonAddressStreetOneOfOriginal, type CommonIdentificationDataIdOneOf as CommonIdentificationDataIdOneOfOriginal, type CommonIdentificationData as CommonIdentificationDataOriginal, type CommonStreetAddress as CommonStreetAddressOriginal, CompletionRequirement as CompletionRequirementOriginal, type CompletionRequirementWithLiterals as CompletionRequirementWithLiteralsOriginal, type Conferencing as ConferencingOriginal, type ConnectedService as ConnectedServiceOriginal, type ConsentPolicy as ConsentPolicyOriginal, type ContactDetails as ContactDetailsOriginal, type CountServicesRequest as CountServicesRequestOriginal, type CountServicesResponse as CountServicesResponseOriginal, type CreateAddOnGroupApplicationErrors as CreateAddOnGroupApplicationErrorsOriginal, type CreateAddOnGroupRequest as CreateAddOnGroupRequestOriginal, type CreateAddOnGroupResponse as CreateAddOnGroupResponseOriginal, type CreateServiceRequest as CreateServiceRequestOriginal, type CreateServiceResponse as CreateServiceResponseOriginal, type CreateServiceValidationErrors as CreateServiceValidationErrorsOriginal, CrudType as CrudTypeOriginal, type CrudTypeWithLiterals as CrudTypeWithLiteralsOriginal, type CursorPagingMetadata as CursorPagingMetadataOriginal, type CursorPaging as CursorPagingOriginal, type CursorQuery as CursorQueryOriginal, type CursorQueryPagingMethodOneOf as CursorQueryPagingMethodOneOfOriginal, type CursorSearch as CursorSearchOriginal, type CursorSearchPagingMethodOneOf as CursorSearchPagingMethodOneOfOriginal, type Cursors as CursorsOriginal, type CustomFormField as CustomFormFieldOriginal, type CustomLocationOptions as CustomLocationOptionsOriginal, type CustomLocations as CustomLocationsOriginal, type CustomOptions as CustomOptionsOriginal, type CustomPayment as CustomPaymentOriginal, type CustomerLocations as CustomerLocationsOriginal, type DailyConfig as DailyConfigOriginal, type DateHistogramAggregation as DateHistogramAggregationOriginal, type DateHistogramResult as DateHistogramResultOriginal, type DateHistogramResults as DateHistogramResultsOriginal, type DateTimeRule as DateTimeRuleOriginal, DayOfWeek as DayOfWeekOriginal, type DayOfWeekWithLiterals as DayOfWeekWithLiteralsOriginal, type DeleteAddOnGroupApplicationErrors as DeleteAddOnGroupApplicationErrorsOriginal, type DeleteAddOnGroupRequest as DeleteAddOnGroupRequestOriginal, type DeleteAddOnGroupResponse as DeleteAddOnGroupResponseOriginal, type DeleteServiceRequest as DeleteServiceRequestOriginal, type DeleteServiceResponse as DeleteServiceResponseOriginal, type DepositDetails as DepositDetailsOriginal, type DepositDetailsValueOneOf as DepositDetailsValueOneOfOriginal, type DisablePricingPlansForServiceApplicationErrors as DisablePricingPlansForServiceApplicationErrorsOriginal, type DisablePricingPlansForServiceRequest as DisablePricingPlansForServiceRequestOriginal, type DisablePricingPlansForServiceResponse as DisablePricingPlansForServiceResponseOriginal, type DiscountInfo as DiscountInfoOriginal, type DomainEventBodyOneOf as DomainEventBodyOneOfOriginal, type DomainEvent as DomainEventOriginal, type DummyRequest as DummyRequestOriginal, type DummyResponse as DummyResponseOriginal, type Duration as DurationOriginal, type DurationRangeConfigOneOf as DurationRangeConfigOneOfOriginal, type DurationRange as DurationRangeOriginal, DurationUnitType as DurationUnitTypeOriginal, type DurationUnitTypeWithLiterals as DurationUnitTypeWithLiteralsOriginal, type Empty as EmptyOriginal, type EnablePricingPlansForServiceApplicationErrors as EnablePricingPlansForServiceApplicationErrorsOriginal, type EnablePricingPlansForServiceRequest as EnablePricingPlansForServiceRequestOriginal, type EnablePricingPlansForServiceResponse as EnablePricingPlansForServiceResponseOriginal, type EntityCreatedEvent as EntityCreatedEventOriginal, type EntityDeletedEvent as EntityDeletedEventOriginal, type EntityUpdatedEvent as EntityUpdatedEventOriginal, Event as EventOriginal, type EventWithLiterals as EventWithLiteralsOriginal, type ExtendedFields as ExtendedFieldsOriginal, type FieldViolation as FieldViolationOriginal, FirstChargeDateType as FirstChargeDateTypeOriginal, type FirstChargeDateTypeWithLiterals as FirstChargeDateTypeWithLiteralsOriginal, type FixedPayment as FixedPaymentOriginal, type FlowControlSettings as FlowControlSettingsOriginal, type FormDetails as FormDetailsOriginal, type Form as FormOriginal, type FormSettings as FormSettingsOriginal, FrequencyType as FrequencyTypeOriginal, type FrequencyTypeWithLiterals as FrequencyTypeWithLiteralsOriginal, type FullUpfrontPayment as FullUpfrontPaymentOriginal, type GeoCoordinates as GeoCoordinatesOriginal, type GetServiceAvailabilityConstraintsRequest as GetServiceAvailabilityConstraintsRequestOriginal, type GetServiceAvailabilityConstraintsResponse as GetServiceAvailabilityConstraintsResponseOriginal, type GetServiceRequest as GetServiceRequestOriginal, type GetServiceResponse as GetServiceResponseOriginal, type GroupByAggregationKindOneOf as GroupByAggregationKindOneOfOriginal, type GroupByAggregation as GroupByAggregationOriginal, type GroupByValueResults as GroupByValueResultsOriginal, type HourlyConfig as HourlyConfigOriginal, type HtmlSitePublished as HtmlSitePublishedOriginal, type IdentificationDataIdOneOf as IdentificationDataIdOneOfOriginal, type IdentificationData as IdentificationDataOriginal, IdentityType as IdentityTypeOriginal, type IdentityTypeWithLiterals as IdentityTypeWithLiteralsOriginal, type Image as ImageOriginal, type IncludeMissingValuesOptions as IncludeMissingValuesOptionsOriginal, type IntakeFormPolicy as IntakeFormPolicyOriginal, Interval as IntervalOriginal, type IntervalWithLiterals as IntervalWithLiteralsOriginal, type InvalidPricingPlan as InvalidPricingPlanOriginal, InvalidSlugError as InvalidSlugErrorOriginal, type InvalidSlugErrorWithLiterals as InvalidSlugErrorWithLiteralsOriginal, type ItemMetadata as ItemMetadataOriginal, type Keyword as KeywordOriginal, type LimitEarlyBookingPolicy as LimitEarlyBookingPolicyOriginal, type LimitLateBookingPolicy as LimitLateBookingPolicyOriginal, type LimitRebookingPolicy as LimitRebookingPolicyOriginal, type ListAddOnGroupsByServiceIdRequest as ListAddOnGroupsByServiceIdRequestOriginal, type ListAddOnGroupsByServiceIdResponse as ListAddOnGroupsByServiceIdResponseOriginal, type Locale as LocaleOriginal, type Location as LocationOriginal, LocationTypeEnumLocationType as LocationTypeEnumLocationTypeOriginal, type LocationTypeEnumLocationTypeWithLiterals as LocationTypeEnumLocationTypeWithLiteralsOriginal, LocationType as LocationTypeOriginal, type LocationTypeWithLiterals as LocationTypeWithLiteralsOriginal, type MaskedService as MaskedServiceOriginal, type MediaItemItemOneOf as MediaItemItemOneOfOriginal, type MediaItem as MediaItemOriginal, type Media as MediaOriginal, type MessageEnvelope as MessageEnvelopeOriginal, MissingValues as MissingValuesOriginal, type MissingValuesWithLiterals as MissingValuesWithLiteralsOriginal, Mode as ModeOriginal, type ModeWithLiterals as ModeWithLiteralsOriginal, type Money as MoneyOriginal, type MoveToNewLocationsOptions as MoveToNewLocationsOptionsOriginal, type MultiServiceBookingInfo as MultiServiceBookingInfoOriginal, MultiServiceBookingType as MultiServiceBookingTypeOriginal, type MultiServiceBookingTypeWithLiterals as MultiServiceBookingTypeWithLiteralsOriginal, type Multilingual as MultilingualOriginal, type NestedAggregationItemKindOneOf as NestedAggregationItemKindOneOfOriginal, type NestedAggregationItem as NestedAggregationItemOriginal, type NestedAggregation as NestedAggregationOriginal, type NestedAggregationResults as NestedAggregationResultsOriginal, type NestedAggregationResultsResultOneOf as NestedAggregationResultsResultOneOfOriginal, NestedAggregationType as NestedAggregationTypeOriginal, type NestedAggregationTypeWithLiterals as NestedAggregationTypeWithLiteralsOriginal, type NestedResultValue as NestedResultValueOriginal, type NestedResultValueResultOneOf as NestedResultValueResultOneOfOriginal, type NestedResults as NestedResultsOriginal, type NestedValueAggregationResult as NestedValueAggregationResultOriginal, type OnlineBooking as OnlineBookingOriginal, type Page as PageOriginal, type PageUrlV2 as PageUrlV2Original, type PagingMetadataV2 as PagingMetadataV2Original, type Paging as PagingOriginal, type ParticipantChoices as ParticipantChoicesOriginal, type ParticipantNotification as ParticipantNotificationOriginal, type ParticipantsPolicy as ParticipantsPolicyOriginal, type ParticipantsRange as ParticipantsRangeOriginal, type PaymentOptions as PaymentOptionsOriginal, type Payment as PaymentOriginal, type PaymentRateOneOf as PaymentRateOneOfOriginal, PaymentStatus as PaymentStatusOriginal, type PaymentStatusWithLiterals as PaymentStatusWithLiteralsOriginal, type PhoneCall as PhoneCallOriginal, PlacementType as PlacementTypeOriginal, type PlacementTypeWithLiterals as PlacementTypeWithLiteralsOriginal, Platform as PlatformOriginal, type PlatformWithLiterals as PlatformWithLiteralsOriginal, type PolicyDescription as PolicyDescriptionOriginal, type PricingPlanRefundPolicy as PricingPlanRefundPolicyOriginal, type PricingPlanSelection as PricingPlanSelectionOriginal, type PropertiesChange as PropertiesChangeOriginal, type Properties as PropertiesOriginal, type ProrationPolicy as ProrationPolicyOriginal, type QueryBookingFormsApplicationErrors as QueryBookingFormsApplicationErrorsOriginal, type QueryBookingFormsRequest as QueryBookingFormsRequestOriginal, type QueryBookingFormsResponse as QueryBookingFormsResponseOriginal, type QueryCategoriesFilter as QueryCategoriesFilterOriginal, type QueryCategoriesRequest as QueryCategoriesRequestOriginal, type QueryCategoriesResponse as QueryCategoriesResponseOriginal, type QueryLocationsFilter as QueryLocationsFilterOriginal, type QueryLocationsRequest as QueryLocationsRequestOriginal, type QueryLocationsResponse as QueryLocationsResponseOriginal, type QueryPoliciesRequest as QueryPoliciesRequestOriginal, type QueryPoliciesResponse as QueryPoliciesResponseOriginal, type QueryServicesMultiLanguageRequest as QueryServicesMultiLanguageRequestOriginal, type QueryServicesMultiLanguageResponse as QueryServicesMultiLanguageResponseOriginal, type QueryServicesRequest as QueryServicesRequestOriginal, type QueryServicesResponse as QueryServicesResponseOriginal, type QueryV2 as QueryV2Original, type QueryV2PagingMethodOneOf as QueryV2PagingMethodOneOfOriginal, type RangeAggregation as RangeAggregationOriginal, type RangeAggregationResult as RangeAggregationResultOriginal, type RangeBucket as RangeBucketOriginal, type RangeResult as RangeResultOriginal, type RangeResults as RangeResultsOriginal, type RankingOptions as RankingOptionsOriginal, RankingOrder as RankingOrderOriginal, type RankingOrderWithLiterals as RankingOrderWithLiteralsOriginal, RateType as RateTypeOriginal, type RateTypeWithLiterals as RateTypeWithLiteralsOriginal, type RefundWindow as RefundWindowOriginal, type RemovedLocationSessionsActionActionOptionsOneOf as RemovedLocationSessionsActionActionOptionsOneOfOriginal, type RemovedLocationSessionsAction as RemovedLocationSessionsActionOriginal, RequestedFields as RequestedFieldsOriginal, type RequestedFieldsWithLiterals as RequestedFieldsWithLiteralsOriginal, RequestedGender as RequestedGenderOriginal, type RequestedGenderValue as RequestedGenderValueOriginal, type RequestedGenderWithLiterals as RequestedGenderWithLiteralsOriginal, type ReschedulePolicy as ReschedulePolicyOriginal, ResolutionMethod as ResolutionMethodOriginal, type ResolutionMethodWithLiterals as ResolutionMethodWithLiteralsOriginal, type ResourceDetails as ResourceDetailsOriginal, type ResourceGroup as ResourceGroupOriginal, type ResourceIds as ResourceIdsOriginal, type ResourceInfo as ResourceInfoOriginal, type ResourceSelection as ResourceSelectionOriginal, ResourceTransparency as ResourceTransparencyOriginal, type ResourceTransparencyWithLiterals as ResourceTransparencyWithLiteralsOriginal, type ResourceType as ResourceTypeOriginal, type ResourcesPolicy as ResourcesPolicyOriginal, type RestoreInfo as RestoreInfoOriginal, type Results as ResultsOriginal, type SaveCreditCardPolicy as SaveCreditCardPolicyOriginal, type ScalarAggregation as ScalarAggregationOriginal, type ScalarDateResult as ScalarDateResultOriginal, type ScalarResult as ScalarResultOriginal, ScalarType as ScalarTypeOriginal, type ScalarTypeWithLiterals as ScalarTypeWithLiteralsOriginal, type Schedule as ScheduleOriginal, type SearchDetails as SearchDetailsOriginal, type SearchServicesRequest as SearchServicesRequestOriginal, type SearchServicesResponse as SearchServicesResponseOriginal, SelectedPaymentOption as SelectedPaymentOptionOriginal, type SelectedPaymentOptionWithLiterals as SelectedPaymentOptionWithLiteralsOriginal, SelectionMethod as SelectionMethodOriginal, type SelectionMethodWithLiterals as SelectionMethodWithLiteralsOriginal, type SeoSchema as SeoSchemaOriginal, type ServiceAvailabilityConstraints as ServiceAvailabilityConstraintsOriginal, type ServiceChoiceChoiceOneOf as ServiceChoiceChoiceOneOfOriginal, type ServiceChoice as ServiceChoiceOriginal, type ServiceChoices as ServiceChoicesOriginal, type Service as ServiceOriginal, type ServiceResource as ServiceResourceOriginal, type ServiceResourceSelectionOneOf as ServiceResourceSelectionOneOfOriginal, ServiceType as ServiceTypeOriginal, type ServiceTypeWithLiterals as ServiceTypeWithLiteralsOriginal, type ServicesUrlsChanged as ServicesUrlsChangedOriginal, type SetAddOnsForGroupApplicationErrors as SetAddOnsForGroupApplicationErrorsOriginal, type SetAddOnsForGroupRequest as SetAddOnsForGroupRequestOriginal, type SetAddOnsForGroupResponse as SetAddOnsForGroupResponseOriginal, type SetCustomSlugApplicationErrors as SetCustomSlugApplicationErrorsOriginal, type SetCustomSlugEvent as SetCustomSlugEventOriginal, type SetCustomSlugRequest as SetCustomSlugRequestOriginal, type SetCustomSlugResponse as SetCustomSlugResponseOriginal, type SetCustomSlugValidationErrors as SetCustomSlugValidationErrorsOriginal, type SetServiceLocationsRequest as SetServiceLocationsRequestOriginal, type SetServiceLocationsResponse as SetServiceLocationsResponseOriginal, type Settings as SettingsOriginal, type SiteCloned as SiteClonedOriginal, type SiteCreated as SiteCreatedOriginal, type SitePropertiesEvent as SitePropertiesEventOriginal, type SitePropertiesNotification as SitePropertiesNotificationOriginal, type Slug as SlugOriginal, SortDirection as SortDirectionOriginal, type SortDirectionWithLiterals as SortDirectionWithLiteralsOriginal, SortOrder as SortOrderOriginal, type SortOrderWithLiterals as SortOrderWithLiteralsOriginal, SortType as SortTypeOriginal, type SortTypeWithLiterals as SortTypeWithLiteralsOriginal, SortingMethodType as SortingMethodTypeOriginal, type SortingMethodTypeWithLiterals as SortingMethodTypeWithLiteralsOriginal, type Sorting as SortingOriginal, type SpecialHourPeriod as SpecialHourPeriodOriginal, type SplitInterval as SplitIntervalOriginal, type StaffMediaItemItemOneOf as StaffMediaItemItemOneOfOriginal, type StaffMediaItem as StaffMediaItemOriginal, type StaffMemberDetails as StaffMemberDetailsOriginal, type StaffMember as StaffMemberOriginal, type StaffSortingPolicyOptionsOneOf as StaffSortingPolicyOptionsOneOfOriginal, type StaffSortingPolicy as StaffSortingPolicyOriginal, Status as StatusOriginal, type StatusWithLiterals as StatusWithLiteralsOriginal, type StreetAddress as StreetAddressOriginal, type Subdivision as SubdivisionOriginal, type SubscriptionPayment as SubscriptionPaymentOriginal, type SupportedLanguage as SupportedLanguageOriginal, type Tag as TagOriginal, type TaxableAddress as TaxableAddressOriginal, TaxableAddressType as TaxableAddressTypeOriginal, type TaxableAddressTypeWithLiterals as TaxableAddressTypeWithLiteralsOriginal, type TimePeriod as TimePeriodOriginal, Timing as TimingOriginal, type TimingWithLiterals as TimingWithLiteralsOriginal, type Translation as TranslationOriginal, type URLs as URLsOriginal, UnitType as UnitTypeOriginal, type UnitTypeWithLiterals as UnitTypeWithLiteralsOriginal, type UpdateAddOnGroupApplicationErrors as UpdateAddOnGroupApplicationErrorsOriginal, type UpdateAddOnGroupRequest as UpdateAddOnGroupRequestOriginal, type UpdateAddOnGroupResponse as UpdateAddOnGroupResponseOriginal, type UpdateServiceRequest as UpdateServiceRequestOriginal, type UpdateServiceResponse as UpdateServiceResponseOriginal, type UpdateServiceValidationErrors as UpdateServiceValidationErrorsOriginal, type UserDomainInfoChangedEvent as UserDomainInfoChangedEventOriginal, type V2Category as V2CategoryOriginal, type V2Duration as V2DurationOriginal, type V2LocationOptionsOneOf as V2LocationOptionsOneOfOriginal, type V2Location as V2LocationOriginal, type V2ParticipantNotification as V2ParticipantNotificationOriginal, type V2PhoneCall as V2PhoneCallOriginal, V2RequestedFields as V2RequestedFieldsOriginal, type V2RequestedFieldsWithLiterals as V2RequestedFieldsWithLiteralsOriginal, type V4Address as V4AddressOriginal, type ValidateServiceRequest as ValidateServiceRequestOriginal, type ValidateServiceResponse as ValidateServiceResponseOriginal, type ValidateSlugRequest as ValidateSlugRequestOriginal, type ValidateSlugResponse as ValidateSlugResponseOriginal, type ValueAggregationOptionsOneOf as ValueAggregationOptionsOneOfOriginal, type ValueAggregation as ValueAggregationOriginal, type ValueAggregationResult as ValueAggregationResultOriginal, type ValueResult as ValueResultOriginal, type ValueResults as ValueResultsOriginal, ValueType as ValueTypeOriginal, type ValueTypeWithLiterals as ValueTypeWithLiteralsOriginal, type VariedPayment as VariedPaymentOriginal, type WaitlistPolicy as WaitlistPolicyOriginal, WebhookIdentityType as WebhookIdentityTypeOriginal, type WebhookIdentityTypeWithLiterals as WebhookIdentityTypeWithLiteralsOriginal, type WorkingHoursLocationCoverage as WorkingHoursLocationCoverageOriginal, WorkingHoursMode as WorkingHoursModeOriginal, type WorkingHoursModeWithLiterals as WorkingHoursModeWithLiteralsOriginal, type WorkingHours as WorkingHoursOriginal, type ZonedDate as ZonedDateOriginal, type __PublicMethodMetaInfo, bulkCreateServices, bulkDeleteServices, bulkDeleteServicesByFilter, bulkUpdateServices, bulkUpdateServicesByFilter, cloneService, countServices, createAddOnGroup, createService, deleteAddOnGroup, deleteService, disablePricingPlansForService, enablePricingPlansForService, getService, listAddOnGroupsByServiceId, queryBookingForms, queryCategories, queryLocations, queryPolicies, queryServices, searchServices, setAddOnsForGroup, setCustomSlug, setServiceLocations, updateAddOnGroup, updateService, validateSlug };
|
|
@@ -358,6 +358,20 @@ interface Payment extends PaymentRateOneOf {
|
|
|
358
358
|
* @readonly
|
|
359
359
|
*/
|
|
360
360
|
discountInfo?: DiscountInfo;
|
|
361
|
+
/**
|
|
362
|
+
* Mandatory fees the customer pays in addition to the service price, for example a cleaning fee.
|
|
363
|
+
* Fees aren't part of the deposit.
|
|
364
|
+
*
|
|
365
|
+
* When you update `additionalFees`, the list you send replaces the existing fees. Fees you leave out are removed.
|
|
366
|
+
* To keep a fee, including when you rename it, send it with its existing `id`.
|
|
367
|
+
*
|
|
368
|
+
* Each fee's `amount.currency` is set to the service currency.
|
|
369
|
+
*
|
|
370
|
+
* Setting additional fees requires the feature to be enabled on the site. Otherwise, the call fails with an `ADDITIONAL_FEES_NOT_ENABLED` error.
|
|
371
|
+
* @internal
|
|
372
|
+
* @maxSize 5
|
|
373
|
+
*/
|
|
374
|
+
additionalFees?: AdditionalFee[];
|
|
361
375
|
}
|
|
362
376
|
/** @oneof */
|
|
363
377
|
interface PaymentRateOneOf {
|
|
@@ -680,6 +694,49 @@ interface DiscountInfo {
|
|
|
680
694
|
*/
|
|
681
695
|
discountedCycleCount?: number | null;
|
|
682
696
|
}
|
|
697
|
+
/** A mandatory fee the customer pays in addition to the service price. */
|
|
698
|
+
interface AdditionalFee {
|
|
699
|
+
/**
|
|
700
|
+
* Fee ID.
|
|
701
|
+
* Wix Bookings assigns it when the fee is created.
|
|
702
|
+
* To keep a fee's ID when updating the service, pass the existing ID. A fee sent without an ID, or with an ID that isn't on the service, gets a new ID.
|
|
703
|
+
* @format GUID
|
|
704
|
+
* @readonly
|
|
705
|
+
*/
|
|
706
|
+
_id?: string;
|
|
707
|
+
/**
|
|
708
|
+
* Fee name, shown to the customer.
|
|
709
|
+
*
|
|
710
|
+
* Required for each fee you send.
|
|
711
|
+
* @minLength 1
|
|
712
|
+
* @maxLength 50
|
|
713
|
+
*/
|
|
714
|
+
name?: string;
|
|
715
|
+
/**
|
|
716
|
+
* Fee amount in the service currency. For a `PER_UNIT` fee, the amount charged for each unit.
|
|
717
|
+
*
|
|
718
|
+
* Required for each fee you send.
|
|
719
|
+
*/
|
|
720
|
+
amount?: Money;
|
|
721
|
+
/**
|
|
722
|
+
* Whether the fee is charged once per reservation or for each unit of the reservation's duration.
|
|
723
|
+
*
|
|
724
|
+
* Required for each fee you send.
|
|
725
|
+
*/
|
|
726
|
+
chargeType?: ChargeTypeWithLiterals;
|
|
727
|
+
}
|
|
728
|
+
declare enum ChargeType {
|
|
729
|
+
/** Charged once for the whole reservation. */
|
|
730
|
+
PER_RESERVATION = "PER_RESERVATION",
|
|
731
|
+
/**
|
|
732
|
+
* Charged for each duration unit of the reservation, as set in `schedule.availabilityConstraints.durationRange.unitType`.
|
|
733
|
+
* For example, for each day or hour.
|
|
734
|
+
* Charged once when the service has no duration range.
|
|
735
|
+
*/
|
|
736
|
+
PER_UNIT = "PER_UNIT"
|
|
737
|
+
}
|
|
738
|
+
/** @enumType */
|
|
739
|
+
type ChargeTypeWithLiterals = ChargeType | 'PER_RESERVATION' | 'PER_UNIT';
|
|
683
740
|
interface OnlineBooking {
|
|
684
741
|
/**
|
|
685
742
|
* Whether the service can be booked online.
|
|
@@ -5742,6 +5799,24 @@ type CreateServiceValidationErrors = {
|
|
|
5742
5799
|
ruleName?: 'INVALID_APPOINTMENT_CAPACITY';
|
|
5743
5800
|
} | {
|
|
5744
5801
|
ruleName?: 'INVALID_SESSION_DURATION';
|
|
5802
|
+
} | {
|
|
5803
|
+
ruleName?: 'ADDITIONAL_FEES_NOT_ENABLED';
|
|
5804
|
+
} | {
|
|
5805
|
+
ruleName?: 'INVALID_ADDITIONAL_FEE_NAME';
|
|
5806
|
+
} | {
|
|
5807
|
+
ruleName?: 'INVALID_ADDITIONAL_FEE_AMOUNT';
|
|
5808
|
+
} | {
|
|
5809
|
+
ruleName?: 'INVALID_ADDITIONAL_FEE_CHARGE_TYPE';
|
|
5810
|
+
};
|
|
5811
|
+
/** @docsIgnore */
|
|
5812
|
+
type BulkCreateServicesValidationErrors = {
|
|
5813
|
+
ruleName?: 'ADDITIONAL_FEES_NOT_ENABLED';
|
|
5814
|
+
} | {
|
|
5815
|
+
ruleName?: 'INVALID_ADDITIONAL_FEE_NAME';
|
|
5816
|
+
} | {
|
|
5817
|
+
ruleName?: 'INVALID_ADDITIONAL_FEE_AMOUNT';
|
|
5818
|
+
} | {
|
|
5819
|
+
ruleName?: 'INVALID_ADDITIONAL_FEE_CHARGE_TYPE';
|
|
5745
5820
|
};
|
|
5746
5821
|
/** @docsIgnore */
|
|
5747
5822
|
type UpdateServiceValidationErrors = {
|
|
@@ -5786,6 +5861,24 @@ type UpdateServiceValidationErrors = {
|
|
|
5786
5861
|
ruleName?: 'INVALID_APPOINTMENT_CAPACITY';
|
|
5787
5862
|
} | {
|
|
5788
5863
|
ruleName?: 'INVALID_SESSION_DURATION';
|
|
5864
|
+
} | {
|
|
5865
|
+
ruleName?: 'ADDITIONAL_FEES_NOT_ENABLED';
|
|
5866
|
+
} | {
|
|
5867
|
+
ruleName?: 'INVALID_ADDITIONAL_FEE_NAME';
|
|
5868
|
+
} | {
|
|
5869
|
+
ruleName?: 'INVALID_ADDITIONAL_FEE_AMOUNT';
|
|
5870
|
+
} | {
|
|
5871
|
+
ruleName?: 'INVALID_ADDITIONAL_FEE_CHARGE_TYPE';
|
|
5872
|
+
};
|
|
5873
|
+
/** @docsIgnore */
|
|
5874
|
+
type BulkUpdateServicesValidationErrors = {
|
|
5875
|
+
ruleName?: 'ADDITIONAL_FEES_NOT_ENABLED';
|
|
5876
|
+
} | {
|
|
5877
|
+
ruleName?: 'INVALID_ADDITIONAL_FEE_NAME';
|
|
5878
|
+
} | {
|
|
5879
|
+
ruleName?: 'INVALID_ADDITIONAL_FEE_AMOUNT';
|
|
5880
|
+
} | {
|
|
5881
|
+
ruleName?: 'INVALID_ADDITIONAL_FEE_CHARGE_TYPE';
|
|
5789
5882
|
};
|
|
5790
5883
|
/** @docsIgnore */
|
|
5791
5884
|
type QueryBookingFormsApplicationErrors = {
|
|
@@ -6119,7 +6212,9 @@ declare function createService(service: Service): Promise<NonNullablePaths<Servi
|
|
|
6119
6212
|
* @applicableIdentity APP
|
|
6120
6213
|
* @fqn wix.bookings.services.v2.ServicesService.BulkCreateServices
|
|
6121
6214
|
*/
|
|
6122
|
-
declare function bulkCreateServices(services: Service[], options?: BulkCreateServicesOptions): Promise<NonNullablePaths<BulkCreateServicesResponse, `results` | `results.${number}.itemMetadata.originalIndex` | `results.${number}.itemMetadata.success` | `results.${number}.itemMetadata.error.code` | `results.${number}.itemMetadata.error.description` | `results.${number}.item.type` | `results.${number}.item.category._id` | `results.${number}.item.form._id` | `results.${number}.item.payment.rateType` | `results.${number}.item.payment.addOnOption` | `results.${number}.item.bookingPolicy._id` | `results.${number}.item.taxableAddress.taxableAddressType` | `bulkActionMetadata.totalSuccesses` | `bulkActionMetadata.totalFailures` | `bulkActionMetadata.undetailedFailures`, 4
|
|
6215
|
+
declare function bulkCreateServices(services: Service[], options?: BulkCreateServicesOptions): Promise<NonNullablePaths<BulkCreateServicesResponse, `results` | `results.${number}.itemMetadata.originalIndex` | `results.${number}.itemMetadata.success` | `results.${number}.itemMetadata.error.code` | `results.${number}.itemMetadata.error.description` | `results.${number}.item.type` | `results.${number}.item.category._id` | `results.${number}.item.form._id` | `results.${number}.item.payment.rateType` | `results.${number}.item.payment.addOnOption` | `results.${number}.item.bookingPolicy._id` | `results.${number}.item.taxableAddress.taxableAddressType` | `bulkActionMetadata.totalSuccesses` | `bulkActionMetadata.totalFailures` | `bulkActionMetadata.undetailedFailures`, 4> & {
|
|
6216
|
+
__validationErrorsType?: BulkCreateServicesValidationErrors;
|
|
6217
|
+
}>;
|
|
6123
6218
|
interface BulkCreateServicesOptions {
|
|
6124
6219
|
/** Whether to return the created service objects. */
|
|
6125
6220
|
returnEntity?: boolean;
|
|
@@ -6440,7 +6535,9 @@ interface UpdateService {
|
|
|
6440
6535
|
* @applicableIdentity APP
|
|
6441
6536
|
* @fqn wix.bookings.services.v2.ServicesService.BulkUpdateServices
|
|
6442
6537
|
*/
|
|
6443
|
-
declare function bulkUpdateServices(options?: NonNullablePaths<BulkUpdateServicesOptions, `services.${number}.service` | `services.${number}.service._id` | `services.${number}.service.revision`, 3>): Promise<NonNullablePaths<BulkUpdateServicesResponse, `results` | `results.${number}.itemMetadata.originalIndex` | `results.${number}.itemMetadata.success` | `results.${number}.itemMetadata.error.code` | `results.${number}.itemMetadata.error.description` | `results.${number}.item.type` | `results.${number}.item.category._id` | `results.${number}.item.form._id` | `results.${number}.item.payment.rateType` | `results.${number}.item.payment.addOnOption` | `results.${number}.item.bookingPolicy._id` | `results.${number}.item.taxableAddress.taxableAddressType` | `bulkActionMetadata.totalSuccesses` | `bulkActionMetadata.totalFailures` | `bulkActionMetadata.undetailedFailures`, 4
|
|
6538
|
+
declare function bulkUpdateServices(options?: NonNullablePaths<BulkUpdateServicesOptions, `services.${number}.service` | `services.${number}.service._id` | `services.${number}.service.revision`, 3>): Promise<NonNullablePaths<BulkUpdateServicesResponse, `results` | `results.${number}.itemMetadata.originalIndex` | `results.${number}.itemMetadata.success` | `results.${number}.itemMetadata.error.code` | `results.${number}.itemMetadata.error.description` | `results.${number}.item.type` | `results.${number}.item.category._id` | `results.${number}.item.form._id` | `results.${number}.item.payment.rateType` | `results.${number}.item.payment.addOnOption` | `results.${number}.item.bookingPolicy._id` | `results.${number}.item.taxableAddress.taxableAddressType` | `bulkActionMetadata.totalSuccesses` | `bulkActionMetadata.totalFailures` | `bulkActionMetadata.undetailedFailures`, 4> & {
|
|
6539
|
+
__validationErrorsType?: BulkUpdateServicesValidationErrors;
|
|
6540
|
+
}>;
|
|
6444
6541
|
interface BulkUpdateServicesOptions {
|
|
6445
6542
|
/**
|
|
6446
6543
|
* Services to update.
|
|
@@ -7523,4 +7620,4 @@ interface SetAddOnsForGroupOptions {
|
|
|
7523
7620
|
addOnIds: string[] | null;
|
|
7524
7621
|
}
|
|
7525
7622
|
|
|
7526
|
-
export { type ListAddOnGroupsByServiceIdResponse as $, type DisablePricingPlansForServiceResponse as A, type BulkCreateServicesOptions as B, type CreateServiceValidationErrors as C, type DeleteServiceOptions as D, type EnablePricingPlansForServiceResponse as E, type DisablePricingPlansForServiceApplicationErrors as F, type GetServiceOptions as G, type SetCustomSlugOptions as H, type SetCustomSlugResponse as I, type SetCustomSlugApplicationErrors as J, type SetCustomSlugValidationErrors as K, type ValidateSlugResponse as L, type CloneServiceResponse as M, type AddOnGroup as N, type CreateAddOnGroupOptions as O, type CreateAddOnGroupResponse as P, type QueryPoliciesResponse as Q, type CreateAddOnGroupApplicationErrors as R, type Service as S, type DeleteAddOnGroupOptions as T, type UpdateService as U, type ValidateSlugOptions as V, type DeleteAddOnGroupApplicationErrors as W, type UpdateAddOnGroupOptions as X, type UpdateAddOnGroupResponse as Y, type UpdateAddOnGroupApplicationErrors as Z, type ListAddOnGroupsByServiceIdOptions as _, type BulkCreateServicesResponse as a, type Payment as a$, type SetAddOnsForGroupOptions as a0, type SetAddOnsForGroupResponse as a1, type SetAddOnsForGroupApplicationErrors as a2, type ServiceCreatedEnvelope as a3, type ServiceDeletedEnvelope as a4, type ServiceUpdatedEnvelope as a5, type ServiceQuery as a6, type QueryServicesOptions as a7, typedQueryServices as a8, type ServicesQueryBuilder as a9, WebhookIdentityType as aA, V2RequestedFields as aB, SortOrder as aC, SortType as aD, SortDirection as aE, MissingValues as aF, ScalarType as aG, NestedAggregationType as aH, Interval as aI, AggregationType as aJ, Mode as aK, RequestedFields as aL, Action as aM, InvalidSlugError as aN, CloneErrors as aO, Status as aP, Event as aQ, CrudType as aR, PlacementType as aS, DayOfWeek as aT, ResolutionMethod as aU, type Media as aV, type MediaItem as aW, type MediaItemItemOneOf as aX, type V2Category as aY, type Form as aZ, type FormSettings as a_, ServiceType as aa, RateType as ab, FrequencyType as ac, FirstChargeDateType as ad, AddOnPaymentOptions as ae, LocationTypeEnumLocationType as af, RankingOrder as ag, SortingMethodType as ah, Timing as ai, CompletionRequirement as aj, UnitType as ak, WorkingHoursMode as al, TaxableAddressType as am, MultiServiceBookingType as an, ResourceTransparency as ao, LocationType as ap, SelectionMethod as aq, RequestedGender as ar, DurationUnitType as as, ValueType as at, BookingStatus as au, PaymentStatus as av, SelectedPaymentOption as aw, Platform as ax, Actor as ay, IdentityType as az, type UpdateServiceValidationErrors as b, type ResourceInfo as b$, type PaymentRateOneOf as b0, type FixedPayment as b1, type Money as b2, type DepositDetails as b3, type DepositDetailsValueOneOf as b4, type CustomPayment as b5, type VariedPayment as b6, type SubscriptionPayment as b7, type FullUpfrontPayment as b8, type PaymentOptions as b9, type StaffSortingPolicyOptionsOneOf as bA, type RankingOptions as bB, type CustomOptions as bC, type IntakeFormPolicy as bD, type LimitRebookingPolicy as bE, type PricingPlanRefundPolicy as bF, type RefundWindow as bG, type ProrationPolicy as bH, type Schedule as bI, type AvailabilityConstraints as bJ, type V2Duration as bK, type DurationRange as bL, type DurationRangeConfigOneOf as bM, type HourlyConfig as bN, type DailyConfig as bO, type WorkingHours as bP, type StaffMember as bQ, type StaffMediaItem as bR, type StaffMediaItemItemOneOf as bS, type WorkingHoursLocationCoverage as bT, type StaffMemberDetails as bU, type ResourceGroup as bV, type ResourceIds as bW, type ServiceResource as bX, type ServiceResourceSelectionOneOf as bY, type ResourceType as bZ, type ResourceDetails as b_, type DiscountInfo as ba, type OnlineBooking as bb, type Conferencing as bc, type V2Location as bd, type V2LocationOptionsOneOf as be, type CommonAddress as bf, type CommonAddressStreetOneOf as bg, type CommonStreetAddress as bh, type CommonAddressLocation as bi, type BusinessLocationOptions as bj, type CustomLocationOptions as bk, type BookingPolicy as bl, type PolicyDescription as bm, type LimitEarlyBookingPolicy as bn, type LimitLateBookingPolicy as bo, type BookAfterStartPolicy as bp, type CancellationPolicy as bq, type ReschedulePolicy as br, type WaitlistPolicy as bs, type ParticipantsPolicy as bt, type ResourcesPolicy as bu, type CancellationFeePolicy as bv, type CancellationWindow as bw, type CancellationWindowFeeOneOf as bx, type SaveCreditCardPolicy as by, type StaffSortingPolicy as bz, type BulkUpdateServicesOptions as c, type BulkCreateServicesRequest as c$, type Slug as c0, type URLs as c1, type ExtendedFields as c2, type SeoSchema as c3, type Keyword as c4, type Tag as c5, type Settings as c6, type AddOnDetails as c7, type TaxableAddress as c8, type V2PhoneCall as c9, type FlowControlSettings as cA, type ParticipantChoices as cB, type ServiceChoices as cC, type ServiceChoice as cD, type ServiceChoiceChoiceOneOf as cE, type Duration as cF, type DateTimeRule as cG, type ParticipantsRange as cH, type MultiServiceBookingInfo as cI, type BookedAddOn as cJ, type ZonedDate as cK, type DomainEvent as cL, type DomainEventBodyOneOf as cM, type EntityCreatedEvent as cN, type RestoreInfo as cO, type EntityUpdatedEvent as cP, type EntityDeletedEvent as cQ, type ActionEvent as cR, type MessageEnvelope as cS, type IdentificationData as cT, type IdentificationDataIdOneOf as cU, type AccountInfo as cV, type CreateServiceRequest as cW, type CreateServiceResponse as cX, type ValidateServiceRequest as cY, type ValidateServiceResponse as cZ, type FieldViolation as c_, type SetCustomSlugEvent as ca, type ServicesUrlsChanged as cb, type DummyRequest as cc, type DummyResponse as cd, type Booking as ce, type BookingParticipantsInfoOneOf as cf, type BookedEntity as cg, type BookedEntityItemOneOf as ch, type BookedSlot as ci, type BookedResource as cj, type Location as ck, type PhoneCall as cl, type ResourceSelection as cm, type RequestedGenderValue as cn, type BookedSchedule as co, type ContactDetails as cp, type Address as cq, type AddressStreetOneOf as cr, type StreetAddress as cs, type AddressLocation as ct, type Subdivision as cu, type CustomFormField as cv, type BookingSource as cw, type ParticipantNotification as cx, type CommonIdentificationData as cy, type CommonIdentificationDataIdOneOf as cz, type BulkUpdateServicesResponse as d, type NestedResultValueResultOneOf as d$, type BulkServiceResult as d0, type ItemMetadata as d1, type ApplicationError as d2, type BulkActionMetadata as d3, type GetServiceRequest as d4, type GetServiceResponse as d5, type GetServiceAvailabilityConstraintsRequest as d6, type GetServiceAvailabilityConstraintsResponse as d7, type ServiceAvailabilityConstraints as d8, type SplitInterval as d9, type IncludeMissingValuesOptions as dA, type ValueAggregation as dB, type ValueAggregationOptionsOneOf as dC, type RangeAggregation as dD, type ScalarAggregation as dE, type DateHistogramAggregation as dF, type NestedAggregationItem as dG, type NestedAggregationItemKindOneOf as dH, type NestedAggregation as dI, type GroupByAggregation as dJ, type GroupByAggregationKindOneOf as dK, type SearchDetails as dL, type CursorPagingMetadata as dM, type AggregationData as dN, type ValueAggregationResult as dO, type RangeAggregationResult as dP, type NestedAggregationResults as dQ, type NestedAggregationResultsResultOneOf as dR, type ValueResults as dS, type RangeResults as dT, type AggregationResultsScalarResult as dU, type NestedValueAggregationResult as dV, type ValueResult as dW, type RangeResult as dX, type ScalarResult as dY, type ScalarDateResult as dZ, type NestedResultValue as d_, type UpdateServiceRequest as da, type UpdateServiceResponse as db, type BulkUpdateServicesRequest as dc, type MaskedService as dd, type BulkUpdateServicesByFilterRequest as de, type DeleteServiceRequest as df, type V2ParticipantNotification as dg, type DeleteServiceResponse as dh, type BulkDeleteServicesRequest as di, type BulkDeleteServicesByFilterRequest as dj, type QueryServicesRequest as dk, type QueryV2 as dl, type QueryV2PagingMethodOneOf as dm, type Sorting as dn, type Paging as dp, type CursorPaging as dq, type QueryServicesResponse as dr, type PagingMetadataV2 as ds, type Cursors as dt, type SearchServicesRequest as du, type CursorSearch as dv, type CursorSearchPagingMethodOneOf as dw, type Aggregation as dx, type AggregationKindOneOf as dy, type RangeBucket as dz, type BulkUpdateServicesByFilterOptions as e, type DeleteAddOnGroupRequest as e$, type Results as e0, type DateHistogramResult as e1, type GroupByValueResults as e2, type DateHistogramResults as e3, type NestedResults as e4, type AggregationResultsScalarDateResult as e5, type AggregationResults as e6, type AggregationResultsResultOneOf as e7, type QueryPoliciesRequest as e8, type CursorQueryPagingMethodOneOf as e9, type CategoryNotification as eA, type Category as eB, type Empty as eC, type UserDomainInfoChangedEvent as eD, type HtmlSitePublished as eE, type Page as eF, type SitePropertiesNotification as eG, type SitePropertiesEvent as eH, type Properties as eI, type Categories as eJ, type Locale as eK, type V4Address as eL, type AddressHint as eM, type GeoCoordinates as eN, type BusinessSchedule as eO, type TimePeriod as eP, type SpecialHourPeriod as eQ, type Multilingual as eR, type SupportedLanguage as eS, type ConsentPolicy as eT, type Translation as eU, type ChangeContext as eV, type ChangeContextPayloadOneOf as eW, type PropertiesChange as eX, type SiteCreated as eY, type SiteCloned as eZ, type CreateAddOnGroupRequest as e_, type BookingPolicyWithServices as ea, type QueryBookingFormsRequest as eb, type BookingForm as ec, type FormDetails as ed, type ConnectedService as ee, type CountServicesRequest as ef, type QueryLocationsRequest as eg, type QueryLocationsFilter as eh, type BusinessLocations as ei, type CustomLocations as ej, type CustomerLocations as ek, type QueryCategoriesRequest as el, type QueryCategoriesFilter as em, type QueryServicesMultiLanguageRequest as en, type QueryServicesMultiLanguageResponse as eo, type SetServiceLocationsRequest as ep, type RemovedLocationSessionsAction as eq, type RemovedLocationSessionsActionActionOptionsOneOf as er, type MoveToNewLocationsOptions as es, type EnablePricingPlansForServiceRequest as et, type PricingPlanSelection as eu, type InvalidPricingPlan as ev, type DisablePricingPlansForServiceRequest as ew, type SetCustomSlugRequest as ex, type ValidateSlugRequest as ey, type CloneServiceRequest as ez, type BulkUpdateServicesByFilterResponse as f, onServiceCreated as f$, type DeleteAddOnGroupResponse as f0, type UpdateAddOnGroupRequest as f1, type ListAddOnGroupsByServiceIdRequest as f2, type AddOn as f3, type AddOnAddOnInfoOneOf as f4, type AddOnGroupDetail as f5, type SetAddOnsForGroupRequest as f6, type BaseEventMetadata as f7, type EventMetadata as f8, type AccountInfoMetadata as f9, type SelectedPaymentOptionWithLiterals as fA, type PlatformWithLiterals as fB, type ActorWithLiterals as fC, type IdentityTypeWithLiterals as fD, type WebhookIdentityTypeWithLiterals as fE, type V2RequestedFieldsWithLiterals as fF, type SortOrderWithLiterals as fG, type SortTypeWithLiterals as fH, type SortDirectionWithLiterals as fI, type MissingValuesWithLiterals as fJ, type ScalarTypeWithLiterals as fK, type NestedAggregationTypeWithLiterals as fL, type IntervalWithLiterals as fM, type AggregationTypeWithLiterals as fN, type ModeWithLiterals as fO, type RequestedFieldsWithLiterals as fP, type ActionWithLiterals as fQ, type InvalidSlugErrorWithLiterals as fR, type CloneErrorsWithLiterals as fS, type StatusWithLiterals as fT, type EventWithLiterals as fU, type CrudTypeWithLiterals as fV, type PlacementTypeWithLiterals as fW, type DayOfWeekWithLiterals as fX, type ResolutionMethodWithLiterals as fY, type CommonQueryWithEntityContext as fZ, type CommonSearchWithEntityContext as f_, type ServicesQueryResult as fa, type ServiceQuerySpec as fb, type ServiceSearchSpec as fc, utils as fd, type ServiceTypeWithLiterals as fe, type RateTypeWithLiterals as ff, type FrequencyTypeWithLiterals as fg, type FirstChargeDateTypeWithLiterals as fh, type AddOnPaymentOptionsWithLiterals as fi, type LocationTypeEnumLocationTypeWithLiterals as fj, type RankingOrderWithLiterals as fk, type SortingMethodTypeWithLiterals as fl, type TimingWithLiterals as fm, type CompletionRequirementWithLiterals as fn, type UnitTypeWithLiterals as fo, type WorkingHoursModeWithLiterals as fp, type TaxableAddressTypeWithLiterals as fq, type MultiServiceBookingTypeWithLiterals as fr, type ResourceTransparencyWithLiterals as fs, type LocationTypeWithLiterals as ft, type SelectionMethodWithLiterals as fu, type RequestedGenderWithLiterals as fv, type DurationUnitTypeWithLiterals as fw, type ValueTypeWithLiterals as fx, type BookingStatusWithLiterals as fy, type PaymentStatusWithLiterals as fz, type BulkDeleteServicesOptions as g, onServiceDeleted as g0, onServiceUpdated as g1, createService as g2, bulkCreateServices as g3, getService as g4, updateService as g5, bulkUpdateServices as g6, bulkUpdateServicesByFilter as g7, deleteService as g8, bulkDeleteServices as g9, bulkDeleteServicesByFilter as ga, queryServices as gb, queryPolicies as gc, queryBookingForms as gd, countServices as ge, queryLocations as gf, queryCategories as gg, setServiceLocations as gh, enablePricingPlansForService as gi, disablePricingPlansForService as gj, setCustomSlug as gk, validateSlug as gl, cloneService as gm, createAddOnGroup as gn, deleteAddOnGroup as go, updateAddOnGroup as gp, listAddOnGroupsByServiceId as gq, setAddOnsForGroup as gr, type BulkDeleteServicesResponse as h, type BulkDeleteServicesByFilterOptions as i, type BulkDeleteServicesByFilterResponse as j, type ServiceSearch as k, type SearchServicesResponse as l, type CursorQuery as m, type QueryBookingFormsOptions as n, type QueryBookingFormsResponse as o, type QueryBookingFormsApplicationErrors as p, type CountServicesOptions as q, type CountServicesResponse as r, type QueryLocationsOptions as s, type QueryLocationsResponse as t, type QueryCategoriesOptions as u, type QueryCategoriesResponse as v, type SetServiceLocationsOptions as w, type SetServiceLocationsResponse as x, type EnablePricingPlansForServiceApplicationErrors as y, type DisablePricingPlansForServiceOptions as z };
|
|
7623
|
+
export { type UpdateAddOnGroupApplicationErrors as $, type EnablePricingPlansForServiceApplicationErrors as A, type BulkCreateServicesOptions as B, type CreateServiceValidationErrors as C, type DeleteServiceOptions as D, type EnablePricingPlansForServiceResponse as E, type DisablePricingPlansForServiceOptions as F, type GetServiceOptions as G, type DisablePricingPlansForServiceResponse as H, type DisablePricingPlansForServiceApplicationErrors as I, type SetCustomSlugOptions as J, type SetCustomSlugResponse as K, type SetCustomSlugApplicationErrors as L, type SetCustomSlugValidationErrors as M, type ValidateSlugResponse as N, type CloneServiceResponse as O, type AddOnGroup as P, type QueryPoliciesResponse as Q, type CreateAddOnGroupOptions as R, type Service as S, type CreateAddOnGroupResponse as T, type UpdateService as U, type ValidateSlugOptions as V, type CreateAddOnGroupApplicationErrors as W, type DeleteAddOnGroupOptions as X, type DeleteAddOnGroupApplicationErrors as Y, type UpdateAddOnGroupOptions as Z, type UpdateAddOnGroupResponse as _, type BulkCreateServicesResponse as a, type V2Category as a$, type ListAddOnGroupsByServiceIdOptions as a0, type ListAddOnGroupsByServiceIdResponse as a1, type SetAddOnsForGroupOptions as a2, type SetAddOnsForGroupResponse as a3, type SetAddOnsForGroupApplicationErrors as a4, type ServiceCreatedEnvelope as a5, type ServiceDeletedEnvelope as a6, type ServiceUpdatedEnvelope as a7, type ServiceQuery as a8, type QueryServicesOptions as a9, Platform as aA, Actor as aB, IdentityType as aC, WebhookIdentityType as aD, V2RequestedFields as aE, SortOrder as aF, SortType as aG, SortDirection as aH, MissingValues as aI, ScalarType as aJ, NestedAggregationType as aK, Interval as aL, AggregationType as aM, Mode as aN, RequestedFields as aO, Action as aP, InvalidSlugError as aQ, CloneErrors as aR, Status as aS, Event as aT, CrudType as aU, PlacementType as aV, DayOfWeek as aW, ResolutionMethod as aX, type Media as aY, type MediaItem as aZ, type MediaItemItemOneOf as a_, typedQueryServices as aa, type ServicesQueryBuilder as ab, ServiceType as ac, RateType as ad, FrequencyType as ae, FirstChargeDateType as af, AddOnPaymentOptions as ag, ChargeType as ah, LocationTypeEnumLocationType as ai, RankingOrder as aj, SortingMethodType as ak, Timing as al, CompletionRequirement as am, UnitType as an, WorkingHoursMode as ao, TaxableAddressType as ap, MultiServiceBookingType as aq, ResourceTransparency as ar, LocationType as as, SelectionMethod as at, RequestedGender as au, DurationUnitType as av, ValueType as aw, BookingStatus as ax, PaymentStatus as ay, SelectedPaymentOption as az, type BulkCreateServicesValidationErrors as b, type ServiceResource as b$, type Form as b0, type FormSettings as b1, type Payment as b2, type PaymentRateOneOf as b3, type FixedPayment as b4, type Money as b5, type DepositDetails as b6, type DepositDetailsValueOneOf as b7, type CustomPayment as b8, type VariedPayment as b9, type CancellationWindow as bA, type CancellationWindowFeeOneOf as bB, type SaveCreditCardPolicy as bC, type StaffSortingPolicy as bD, type StaffSortingPolicyOptionsOneOf as bE, type RankingOptions as bF, type CustomOptions as bG, type IntakeFormPolicy as bH, type LimitRebookingPolicy as bI, type PricingPlanRefundPolicy as bJ, type RefundWindow as bK, type ProrationPolicy as bL, type Schedule as bM, type AvailabilityConstraints as bN, type V2Duration as bO, type DurationRange as bP, type DurationRangeConfigOneOf as bQ, type HourlyConfig as bR, type DailyConfig as bS, type WorkingHours as bT, type StaffMember as bU, type StaffMediaItem as bV, type StaffMediaItemItemOneOf as bW, type WorkingHoursLocationCoverage as bX, type StaffMemberDetails as bY, type ResourceGroup as bZ, type ResourceIds as b_, type SubscriptionPayment as ba, type FullUpfrontPayment as bb, type PaymentOptions as bc, type DiscountInfo as bd, type AdditionalFee as be, type OnlineBooking as bf, type Conferencing as bg, type V2Location as bh, type V2LocationOptionsOneOf as bi, type CommonAddress as bj, type CommonAddressStreetOneOf as bk, type CommonStreetAddress as bl, type CommonAddressLocation as bm, type BusinessLocationOptions as bn, type CustomLocationOptions as bo, type BookingPolicy as bp, type PolicyDescription as bq, type LimitEarlyBookingPolicy as br, type LimitLateBookingPolicy as bs, type BookAfterStartPolicy as bt, type CancellationPolicy as bu, type ReschedulePolicy as bv, type WaitlistPolicy as bw, type ParticipantsPolicy as bx, type ResourcesPolicy as by, type CancellationFeePolicy as bz, type UpdateServiceValidationErrors as c, type CreateServiceResponse as c$, type ServiceResourceSelectionOneOf as c0, type ResourceType as c1, type ResourceDetails as c2, type ResourceInfo as c3, type Slug as c4, type URLs as c5, type ExtendedFields as c6, type SeoSchema as c7, type Keyword as c8, type Tag as c9, type BookingSource as cA, type ParticipantNotification as cB, type CommonIdentificationData as cC, type CommonIdentificationDataIdOneOf as cD, type FlowControlSettings as cE, type ParticipantChoices as cF, type ServiceChoices as cG, type ServiceChoice as cH, type ServiceChoiceChoiceOneOf as cI, type Duration as cJ, type DateTimeRule as cK, type ParticipantsRange as cL, type MultiServiceBookingInfo as cM, type BookedAddOn as cN, type ZonedDate as cO, type DomainEvent as cP, type DomainEventBodyOneOf as cQ, type EntityCreatedEvent as cR, type RestoreInfo as cS, type EntityUpdatedEvent as cT, type EntityDeletedEvent as cU, type ActionEvent as cV, type MessageEnvelope as cW, type IdentificationData as cX, type IdentificationDataIdOneOf as cY, type AccountInfo as cZ, type CreateServiceRequest as c_, type Settings as ca, type AddOnDetails as cb, type TaxableAddress as cc, type V2PhoneCall as cd, type SetCustomSlugEvent as ce, type ServicesUrlsChanged as cf, type DummyRequest as cg, type DummyResponse as ch, type Booking as ci, type BookingParticipantsInfoOneOf as cj, type BookedEntity as ck, type BookedEntityItemOneOf as cl, type BookedSlot as cm, type BookedResource as cn, type Location as co, type PhoneCall as cp, type ResourceSelection as cq, type RequestedGenderValue as cr, type BookedSchedule as cs, type ContactDetails as ct, type Address as cu, type AddressStreetOneOf as cv, type StreetAddress as cw, type AddressLocation as cx, type Subdivision as cy, type CustomFormField as cz, type BulkUpdateServicesOptions as d, type RangeResult as d$, type ValidateServiceRequest as d0, type ValidateServiceResponse as d1, type FieldViolation as d2, type BulkCreateServicesRequest as d3, type BulkServiceResult as d4, type ItemMetadata as d5, type ApplicationError as d6, type BulkActionMetadata as d7, type GetServiceRequest as d8, type GetServiceResponse as d9, type CursorSearchPagingMethodOneOf as dA, type Aggregation as dB, type AggregationKindOneOf as dC, type RangeBucket as dD, type IncludeMissingValuesOptions as dE, type ValueAggregation as dF, type ValueAggregationOptionsOneOf as dG, type RangeAggregation as dH, type ScalarAggregation as dI, type DateHistogramAggregation as dJ, type NestedAggregationItem as dK, type NestedAggregationItemKindOneOf as dL, type NestedAggregation as dM, type GroupByAggregation as dN, type GroupByAggregationKindOneOf as dO, type SearchDetails as dP, type CursorPagingMetadata as dQ, type AggregationData as dR, type ValueAggregationResult as dS, type RangeAggregationResult as dT, type NestedAggregationResults as dU, type NestedAggregationResultsResultOneOf as dV, type ValueResults as dW, type RangeResults as dX, type AggregationResultsScalarResult as dY, type NestedValueAggregationResult as dZ, type ValueResult as d_, type GetServiceAvailabilityConstraintsRequest as da, type GetServiceAvailabilityConstraintsResponse as db, type ServiceAvailabilityConstraints as dc, type SplitInterval as dd, type UpdateServiceRequest as de, type UpdateServiceResponse as df, type BulkUpdateServicesRequest as dg, type MaskedService as dh, type BulkUpdateServicesByFilterRequest as di, type DeleteServiceRequest as dj, type V2ParticipantNotification as dk, type DeleteServiceResponse as dl, type BulkDeleteServicesRequest as dm, type BulkDeleteServicesByFilterRequest as dn, type QueryServicesRequest as dp, type QueryV2 as dq, type QueryV2PagingMethodOneOf as dr, type Sorting as ds, type Paging as dt, type CursorPaging as du, type QueryServicesResponse as dv, type PagingMetadataV2 as dw, type Cursors as dx, type SearchServicesRequest as dy, type CursorSearch as dz, type BulkUpdateServicesResponse as e, type PropertiesChange as e$, type ScalarResult as e0, type ScalarDateResult as e1, type NestedResultValue as e2, type NestedResultValueResultOneOf as e3, type Results as e4, type DateHistogramResult as e5, type GroupByValueResults as e6, type DateHistogramResults as e7, type NestedResults as e8, type AggregationResultsScalarDateResult as e9, type DisablePricingPlansForServiceRequest as eA, type SetCustomSlugRequest as eB, type ValidateSlugRequest as eC, type CloneServiceRequest as eD, type CategoryNotification as eE, type Category as eF, type Empty as eG, type UserDomainInfoChangedEvent as eH, type HtmlSitePublished as eI, type Page as eJ, type SitePropertiesNotification as eK, type SitePropertiesEvent as eL, type Properties as eM, type Categories as eN, type Locale as eO, type V4Address as eP, type AddressHint as eQ, type GeoCoordinates as eR, type BusinessSchedule as eS, type TimePeriod as eT, type SpecialHourPeriod as eU, type Multilingual as eV, type SupportedLanguage as eW, type ConsentPolicy as eX, type Translation as eY, type ChangeContext as eZ, type ChangeContextPayloadOneOf as e_, type AggregationResults as ea, type AggregationResultsResultOneOf as eb, type QueryPoliciesRequest as ec, type CursorQueryPagingMethodOneOf as ed, type BookingPolicyWithServices as ee, type QueryBookingFormsRequest as ef, type BookingForm as eg, type FormDetails as eh, type ConnectedService as ei, type CountServicesRequest as ej, type QueryLocationsRequest as ek, type QueryLocationsFilter as el, type BusinessLocations as em, type CustomLocations as en, type CustomerLocations as eo, type QueryCategoriesRequest as ep, type QueryCategoriesFilter as eq, type QueryServicesMultiLanguageRequest as er, type QueryServicesMultiLanguageResponse as es, type SetServiceLocationsRequest as et, type RemovedLocationSessionsAction as eu, type RemovedLocationSessionsActionActionOptionsOneOf as ev, type MoveToNewLocationsOptions as ew, type EnablePricingPlansForServiceRequest as ex, type PricingPlanSelection as ey, type InvalidPricingPlan as ez, type BulkUpdateServicesValidationErrors as f, type PlacementTypeWithLiterals as f$, type SiteCreated as f0, type SiteCloned as f1, type CreateAddOnGroupRequest as f2, type DeleteAddOnGroupRequest as f3, type DeleteAddOnGroupResponse as f4, type UpdateAddOnGroupRequest as f5, type ListAddOnGroupsByServiceIdRequest as f6, type AddOn as f7, type AddOnAddOnInfoOneOf as f8, type AddOnGroupDetail as f9, type RequestedGenderWithLiterals as fA, type DurationUnitTypeWithLiterals as fB, type ValueTypeWithLiterals as fC, type BookingStatusWithLiterals as fD, type PaymentStatusWithLiterals as fE, type SelectedPaymentOptionWithLiterals as fF, type PlatformWithLiterals as fG, type ActorWithLiterals as fH, type IdentityTypeWithLiterals as fI, type WebhookIdentityTypeWithLiterals as fJ, type V2RequestedFieldsWithLiterals as fK, type SortOrderWithLiterals as fL, type SortTypeWithLiterals as fM, type SortDirectionWithLiterals as fN, type MissingValuesWithLiterals as fO, type ScalarTypeWithLiterals as fP, type NestedAggregationTypeWithLiterals as fQ, type IntervalWithLiterals as fR, type AggregationTypeWithLiterals as fS, type ModeWithLiterals as fT, type RequestedFieldsWithLiterals as fU, type ActionWithLiterals as fV, type InvalidSlugErrorWithLiterals as fW, type CloneErrorsWithLiterals as fX, type StatusWithLiterals as fY, type EventWithLiterals as fZ, type CrudTypeWithLiterals as f_, type SetAddOnsForGroupRequest as fa, type BaseEventMetadata as fb, type EventMetadata as fc, type AccountInfoMetadata as fd, type ServicesQueryResult as fe, type ServiceQuerySpec as ff, type ServiceSearchSpec as fg, utils as fh, type ServiceTypeWithLiterals as fi, type RateTypeWithLiterals as fj, type FrequencyTypeWithLiterals as fk, type FirstChargeDateTypeWithLiterals as fl, type AddOnPaymentOptionsWithLiterals as fm, type ChargeTypeWithLiterals as fn, type LocationTypeEnumLocationTypeWithLiterals as fo, type RankingOrderWithLiterals as fp, type SortingMethodTypeWithLiterals as fq, type TimingWithLiterals as fr, type CompletionRequirementWithLiterals as fs, type UnitTypeWithLiterals as ft, type WorkingHoursModeWithLiterals as fu, type TaxableAddressTypeWithLiterals as fv, type MultiServiceBookingTypeWithLiterals as fw, type ResourceTransparencyWithLiterals as fx, type LocationTypeWithLiterals as fy, type SelectionMethodWithLiterals as fz, type BulkUpdateServicesByFilterOptions as g, type DayOfWeekWithLiterals as g0, type ResolutionMethodWithLiterals as g1, type CommonQueryWithEntityContext as g2, type CommonSearchWithEntityContext as g3, onServiceCreated as g4, onServiceDeleted as g5, onServiceUpdated as g6, createService as g7, bulkCreateServices as g8, getService as g9, updateService as ga, bulkUpdateServices as gb, bulkUpdateServicesByFilter as gc, deleteService as gd, bulkDeleteServices as ge, bulkDeleteServicesByFilter as gf, queryServices as gg, queryPolicies as gh, queryBookingForms as gi, countServices as gj, queryLocations as gk, queryCategories as gl, setServiceLocations as gm, enablePricingPlansForService as gn, disablePricingPlansForService as go, setCustomSlug as gp, validateSlug as gq, cloneService as gr, createAddOnGroup as gs, deleteAddOnGroup as gt, updateAddOnGroup as gu, listAddOnGroupsByServiceId as gv, setAddOnsForGroup as gw, type BulkUpdateServicesByFilterResponse as h, type BulkDeleteServicesOptions as i, type BulkDeleteServicesResponse as j, type BulkDeleteServicesByFilterOptions as k, type BulkDeleteServicesByFilterResponse as l, type ServiceSearch as m, type SearchServicesResponse as n, type CursorQuery as o, type QueryBookingFormsOptions as p, type QueryBookingFormsResponse as q, type QueryBookingFormsApplicationErrors as r, type CountServicesOptions as s, type CountServicesResponse as t, type QueryLocationsOptions as u, type QueryLocationsResponse as v, type QueryCategoriesOptions as w, type QueryCategoriesResponse as x, type SetServiceLocationsOptions as y, type SetServiceLocationsResponse as z };
|
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
import { HttpClient, NonNullablePaths, EventDefinition, MaybeContext, BuildRESTFunction, BuildEventDefinition } from '@wix/sdk-types';
|
|
2
|
-
import { S as Service, C as CreateServiceValidationErrors, B as BulkCreateServicesOptions, a as BulkCreateServicesResponse, G as GetServiceOptions, U as UpdateService,
|
|
3
|
-
export {
|
|
2
|
+
import { S as Service, C as CreateServiceValidationErrors, B as BulkCreateServicesOptions, a as BulkCreateServicesResponse, b as BulkCreateServicesValidationErrors, G as GetServiceOptions, U as UpdateService, c as UpdateServiceValidationErrors, d as BulkUpdateServicesOptions, e as BulkUpdateServicesResponse, f as BulkUpdateServicesValidationErrors, g as BulkUpdateServicesByFilterOptions, h as BulkUpdateServicesByFilterResponse, D as DeleteServiceOptions, i as BulkDeleteServicesOptions, j as BulkDeleteServicesResponse, k as BulkDeleteServicesByFilterOptions, l as BulkDeleteServicesByFilterResponse, m as ServiceSearch, n as SearchServicesResponse, o as CursorQuery, Q as QueryPoliciesResponse, p as QueryBookingFormsOptions, q as QueryBookingFormsResponse, r as QueryBookingFormsApplicationErrors, s as CountServicesOptions, t as CountServicesResponse, u as QueryLocationsOptions, v as QueryLocationsResponse, w as QueryCategoriesOptions, x as QueryCategoriesResponse, y as SetServiceLocationsOptions, z as SetServiceLocationsResponse, E as EnablePricingPlansForServiceResponse, A as EnablePricingPlansForServiceApplicationErrors, F as DisablePricingPlansForServiceOptions, H as DisablePricingPlansForServiceResponse, I as DisablePricingPlansForServiceApplicationErrors, J as SetCustomSlugOptions, K as SetCustomSlugResponse, L as SetCustomSlugApplicationErrors, M as SetCustomSlugValidationErrors, V as ValidateSlugOptions, N as ValidateSlugResponse, O as CloneServiceResponse, P as AddOnGroup, R as CreateAddOnGroupOptions, T as CreateAddOnGroupResponse, W as CreateAddOnGroupApplicationErrors, X as DeleteAddOnGroupOptions, Y as DeleteAddOnGroupApplicationErrors, Z as UpdateAddOnGroupOptions, _ as UpdateAddOnGroupResponse, $ as UpdateAddOnGroupApplicationErrors, a0 as ListAddOnGroupsByServiceIdOptions, a1 as ListAddOnGroupsByServiceIdResponse, a2 as SetAddOnsForGroupOptions, a3 as SetAddOnsForGroupResponse, a4 as SetAddOnsForGroupApplicationErrors, a5 as ServiceCreatedEnvelope, a6 as ServiceDeletedEnvelope, a7 as ServiceUpdatedEnvelope, a8 as ServiceQuery, a9 as QueryServicesOptions, aa as typedQueryServices, ab as ServicesQueryBuilder } from './bookings-services-v2-service-services.universal-Bh7ww4Ec.mjs';
|
|
3
|
+
export { cZ as AccountInfo, fd as AccountInfoMetadata, aP as Action, cV as ActionEvent, fV as ActionWithLiterals, aB as Actor, fH as ActorWithLiterals, f7 as AddOn, f8 as AddOnAddOnInfoOneOf, cb as AddOnDetails, f9 as AddOnGroupDetail, ag as AddOnPaymentOptions, fm as AddOnPaymentOptionsWithLiterals, be as AdditionalFee, cu as Address, eQ as AddressHint, cx as AddressLocation, cv as AddressStreetOneOf, dB as Aggregation, dR as AggregationData, dC as AggregationKindOneOf, ea as AggregationResults, eb as AggregationResultsResultOneOf, e9 as AggregationResultsScalarDateResult, dY as AggregationResultsScalarResult, aM as AggregationType, fS as AggregationTypeWithLiterals, d6 as ApplicationError, bN as AvailabilityConstraints, fb as BaseEventMetadata, bt as BookAfterStartPolicy, cN as BookedAddOn, ck as BookedEntity, cl as BookedEntityItemOneOf, cn as BookedResource, cs as BookedSchedule, cm as BookedSlot, ci as Booking, eg as BookingForm, cj as BookingParticipantsInfoOneOf, bp as BookingPolicy, ee as BookingPolicyWithServices, cA as BookingSource, ax as BookingStatus, fD as BookingStatusWithLiterals, d7 as BulkActionMetadata, d3 as BulkCreateServicesRequest, dn as BulkDeleteServicesByFilterRequest, dm as BulkDeleteServicesRequest, d4 as BulkServiceResult, di as BulkUpdateServicesByFilterRequest, dg as BulkUpdateServicesRequest, bn as BusinessLocationOptions, em as BusinessLocations, eS as BusinessSchedule, bz as CancellationFeePolicy, bu as CancellationPolicy, bA as CancellationWindow, bB as CancellationWindowFeeOneOf, eN as Categories, eF as Category, eE as CategoryNotification, eZ as ChangeContext, e_ as ChangeContextPayloadOneOf, ah as ChargeType, fn as ChargeTypeWithLiterals, aR as CloneErrors, fX as CloneErrorsWithLiterals, eD as CloneServiceRequest, bj as CommonAddress, bm as CommonAddressLocation, bk as CommonAddressStreetOneOf, cC as CommonIdentificationData, cD as CommonIdentificationDataIdOneOf, g2 as CommonQueryWithEntityContext, g3 as CommonSearchWithEntityContext, bl as CommonStreetAddress, am as CompletionRequirement, fs as CompletionRequirementWithLiterals, bg as Conferencing, ei as ConnectedService, eX as ConsentPolicy, ct as ContactDetails, ej as CountServicesRequest, f2 as CreateAddOnGroupRequest, c_ as CreateServiceRequest, c$ as CreateServiceResponse, aU as CrudType, f_ as CrudTypeWithLiterals, du as CursorPaging, dQ as CursorPagingMetadata, ed as CursorQueryPagingMethodOneOf, dz as CursorSearch, dA as CursorSearchPagingMethodOneOf, dx as Cursors, cz as CustomFormField, bo as CustomLocationOptions, en as CustomLocations, bG as CustomOptions, b8 as CustomPayment, eo as CustomerLocations, bS as DailyConfig, dJ as DateHistogramAggregation, e5 as DateHistogramResult, e7 as DateHistogramResults, cK as DateTimeRule, aW as DayOfWeek, g0 as DayOfWeekWithLiterals, f3 as DeleteAddOnGroupRequest, f4 as DeleteAddOnGroupResponse, dj as DeleteServiceRequest, dl as DeleteServiceResponse, b6 as DepositDetails, b7 as DepositDetailsValueOneOf, eA as DisablePricingPlansForServiceRequest, bd as DiscountInfo, cP as DomainEvent, cQ as DomainEventBodyOneOf, cg as DummyRequest, ch as DummyResponse, cJ as Duration, bP as DurationRange, bQ as DurationRangeConfigOneOf, av as DurationUnitType, fB as DurationUnitTypeWithLiterals, eG as Empty, ex as EnablePricingPlansForServiceRequest, cR as EntityCreatedEvent, cU as EntityDeletedEvent, cT as EntityUpdatedEvent, aT as Event, fc as EventMetadata, fZ as EventWithLiterals, c6 as ExtendedFields, d2 as FieldViolation, af as FirstChargeDateType, fl as FirstChargeDateTypeWithLiterals, b4 as FixedPayment, cE as FlowControlSettings, b0 as Form, eh as FormDetails, b1 as FormSettings, ae as FrequencyType, fk as FrequencyTypeWithLiterals, bb as FullUpfrontPayment, eR as GeoCoordinates, da as GetServiceAvailabilityConstraintsRequest, db as GetServiceAvailabilityConstraintsResponse, d8 as GetServiceRequest, d9 as GetServiceResponse, dN as GroupByAggregation, dO as GroupByAggregationKindOneOf, e6 as GroupByValueResults, bR as HourlyConfig, eI as HtmlSitePublished, cX as IdentificationData, cY as IdentificationDataIdOneOf, aC as IdentityType, fI as IdentityTypeWithLiterals, dE as IncludeMissingValuesOptions, bH as IntakeFormPolicy, aL as Interval, fR as IntervalWithLiterals, ez as InvalidPricingPlan, aQ as InvalidSlugError, fW as InvalidSlugErrorWithLiterals, d5 as ItemMetadata, c8 as Keyword, br as LimitEarlyBookingPolicy, bs as LimitLateBookingPolicy, bI as LimitRebookingPolicy, f6 as ListAddOnGroupsByServiceIdRequest, eO as Locale, co as Location, as as LocationType, ai as LocationTypeEnumLocationType, fo as LocationTypeEnumLocationTypeWithLiterals, fy as LocationTypeWithLiterals, dh as MaskedService, aY as Media, aZ as MediaItem, a_ as MediaItemItemOneOf, cW as MessageEnvelope, aI as MissingValues, fO as MissingValuesWithLiterals, aN as Mode, fT as ModeWithLiterals, b5 as Money, ew as MoveToNewLocationsOptions, cM as MultiServiceBookingInfo, aq as MultiServiceBookingType, fw as MultiServiceBookingTypeWithLiterals, eV as Multilingual, dM as NestedAggregation, dK as NestedAggregationItem, dL as NestedAggregationItemKindOneOf, dU as NestedAggregationResults, dV as NestedAggregationResultsResultOneOf, aK as NestedAggregationType, fQ as NestedAggregationTypeWithLiterals, e2 as NestedResultValue, e3 as NestedResultValueResultOneOf, e8 as NestedResults, dZ as NestedValueAggregationResult, bf as OnlineBooking, eJ as Page, dt as Paging, dw as PagingMetadataV2, cF as ParticipantChoices, cB as ParticipantNotification, bx as ParticipantsPolicy, cL as ParticipantsRange, b2 as Payment, bc as PaymentOptions, b3 as PaymentRateOneOf, ay as PaymentStatus, fE as PaymentStatusWithLiterals, cp as PhoneCall, aV as PlacementType, f$ as PlacementTypeWithLiterals, aA as Platform, fG as PlatformWithLiterals, bq as PolicyDescription, bJ as PricingPlanRefundPolicy, ey as PricingPlanSelection, eM as Properties, e$ as PropertiesChange, bL as ProrationPolicy, ef as QueryBookingFormsRequest, eq as QueryCategoriesFilter, ep as QueryCategoriesRequest, el as QueryLocationsFilter, ek as QueryLocationsRequest, ec as QueryPoliciesRequest, er as QueryServicesMultiLanguageRequest, es as QueryServicesMultiLanguageResponse, dp as QueryServicesRequest, dv as QueryServicesResponse, dq as QueryV2, dr as QueryV2PagingMethodOneOf, dH as RangeAggregation, dT as RangeAggregationResult, dD as RangeBucket, d$ as RangeResult, dX as RangeResults, bF as RankingOptions, aj as RankingOrder, fp as RankingOrderWithLiterals, ad as RateType, fj as RateTypeWithLiterals, bK as RefundWindow, eu as RemovedLocationSessionsAction, ev as RemovedLocationSessionsActionActionOptionsOneOf, aO as RequestedFields, fU as RequestedFieldsWithLiterals, au as RequestedGender, cr as RequestedGenderValue, fA as RequestedGenderWithLiterals, bv as ReschedulePolicy, aX as ResolutionMethod, g1 as ResolutionMethodWithLiterals, c2 as ResourceDetails, bZ as ResourceGroup, b_ as ResourceIds, c3 as ResourceInfo, cq as ResourceSelection, ar as ResourceTransparency, fx as ResourceTransparencyWithLiterals, c1 as ResourceType, by as ResourcesPolicy, cS as RestoreInfo, e4 as Results, bC as SaveCreditCardPolicy, dI as ScalarAggregation, e1 as ScalarDateResult, e0 as ScalarResult, aJ as ScalarType, fP as ScalarTypeWithLiterals, bM as Schedule, dP as SearchDetails, dy as SearchServicesRequest, az as SelectedPaymentOption, fF as SelectedPaymentOptionWithLiterals, at as SelectionMethod, fz as SelectionMethodWithLiterals, c7 as SeoSchema, dc as ServiceAvailabilityConstraints, cH as ServiceChoice, cI as ServiceChoiceChoiceOneOf, cG as ServiceChoices, ff as ServiceQuerySpec, b$ as ServiceResource, c0 as ServiceResourceSelectionOneOf, fg as ServiceSearchSpec, ac as ServiceType, fi as ServiceTypeWithLiterals, fe as ServicesQueryResult, cf as ServicesUrlsChanged, fa as SetAddOnsForGroupRequest, ce as SetCustomSlugEvent, eB as SetCustomSlugRequest, et as SetServiceLocationsRequest, ca as Settings, f1 as SiteCloned, f0 as SiteCreated, eL as SitePropertiesEvent, eK as SitePropertiesNotification, c4 as Slug, aH as SortDirection, fN as SortDirectionWithLiterals, aF as SortOrder, fL as SortOrderWithLiterals, aG as SortType, fM as SortTypeWithLiterals, ds as Sorting, ak as SortingMethodType, fq as SortingMethodTypeWithLiterals, eU as SpecialHourPeriod, dd as SplitInterval, bV as StaffMediaItem, bW as StaffMediaItemItemOneOf, bU as StaffMember, bY as StaffMemberDetails, bD as StaffSortingPolicy, bE as StaffSortingPolicyOptionsOneOf, aS as Status, fY as StatusWithLiterals, cw as StreetAddress, cy as Subdivision, ba as SubscriptionPayment, eW as SupportedLanguage, c9 as Tag, cc as TaxableAddress, ap as TaxableAddressType, fv as TaxableAddressTypeWithLiterals, eT as TimePeriod, al as Timing, fr as TimingWithLiterals, eY as Translation, c5 as URLs, an as UnitType, ft as UnitTypeWithLiterals, f5 as UpdateAddOnGroupRequest, de as UpdateServiceRequest, df as UpdateServiceResponse, eH as UserDomainInfoChangedEvent, a$ as V2Category, bO as V2Duration, bh as V2Location, bi as V2LocationOptionsOneOf, dk as V2ParticipantNotification, cd as V2PhoneCall, aE as V2RequestedFields, fK as V2RequestedFieldsWithLiterals, eP as V4Address, d0 as ValidateServiceRequest, d1 as ValidateServiceResponse, eC as ValidateSlugRequest, dF as ValueAggregation, dG as ValueAggregationOptionsOneOf, dS as ValueAggregationResult, d_ as ValueResult, dW as ValueResults, aw as ValueType, fC as ValueTypeWithLiterals, b9 as VariedPayment, bw as WaitlistPolicy, aD as WebhookIdentityType, fJ as WebhookIdentityTypeWithLiterals, bT as WorkingHours, bX as WorkingHoursLocationCoverage, ao as WorkingHoursMode, fu as WorkingHoursModeWithLiterals, cO as ZonedDate, fh as utils } from './bookings-services-v2-service-services.universal-Bh7ww4Ec.mjs';
|
|
4
4
|
|
|
5
5
|
declare function createService$1(httpClient: HttpClient): CreateServiceSignature;
|
|
6
6
|
interface CreateServiceSignature {
|
|
@@ -126,7 +126,9 @@ interface BulkCreateServicesSignature {
|
|
|
126
126
|
* See [Create Service](https://dev.wix.com/docs/api-reference/business-solutions/bookings/services/services-v2/create-service) for more details.
|
|
127
127
|
* @param - Services to create.
|
|
128
128
|
*/
|
|
129
|
-
(services: Service[], options?: BulkCreateServicesOptions): Promise<NonNullablePaths<BulkCreateServicesResponse, `results` | `results.${number}.itemMetadata.originalIndex` | `results.${number}.itemMetadata.success` | `results.${number}.itemMetadata.error.code` | `results.${number}.itemMetadata.error.description` | `results.${number}.item.type` | `results.${number}.item.category._id` | `results.${number}.item.form._id` | `results.${number}.item.payment.rateType` | `results.${number}.item.payment.addOnOption` | `results.${number}.item.bookingPolicy._id` | `results.${number}.item.taxableAddress.taxableAddressType` | `bulkActionMetadata.totalSuccesses` | `bulkActionMetadata.totalFailures` | `bulkActionMetadata.undetailedFailures`, 4
|
|
129
|
+
(services: Service[], options?: BulkCreateServicesOptions): Promise<NonNullablePaths<BulkCreateServicesResponse, `results` | `results.${number}.itemMetadata.originalIndex` | `results.${number}.itemMetadata.success` | `results.${number}.itemMetadata.error.code` | `results.${number}.itemMetadata.error.description` | `results.${number}.item.type` | `results.${number}.item.category._id` | `results.${number}.item.form._id` | `results.${number}.item.payment.rateType` | `results.${number}.item.payment.addOnOption` | `results.${number}.item.bookingPolicy._id` | `results.${number}.item.taxableAddress.taxableAddressType` | `bulkActionMetadata.totalSuccesses` | `bulkActionMetadata.totalFailures` | `bulkActionMetadata.undetailedFailures`, 4> & {
|
|
130
|
+
__validationErrorsType?: BulkCreateServicesValidationErrors;
|
|
131
|
+
}>;
|
|
130
132
|
}
|
|
131
133
|
declare function getService$1(httpClient: HttpClient): GetServiceSignature;
|
|
132
134
|
interface GetServiceSignature {
|
|
@@ -197,7 +199,9 @@ interface BulkUpdateServicesSignature {
|
|
|
197
199
|
* The call succeeds even if one or more individual services can't be updated.
|
|
198
200
|
* Information about failures is returned in `bulkActionMetadata`.
|
|
199
201
|
*/
|
|
200
|
-
(options?: NonNullablePaths<BulkUpdateServicesOptions, `services.${number}.service` | `services.${number}.service._id` | `services.${number}.service.revision`, 3>): Promise<NonNullablePaths<BulkUpdateServicesResponse, `results` | `results.${number}.itemMetadata.originalIndex` | `results.${number}.itemMetadata.success` | `results.${number}.itemMetadata.error.code` | `results.${number}.itemMetadata.error.description` | `results.${number}.item.type` | `results.${number}.item.category._id` | `results.${number}.item.form._id` | `results.${number}.item.payment.rateType` | `results.${number}.item.payment.addOnOption` | `results.${number}.item.bookingPolicy._id` | `results.${number}.item.taxableAddress.taxableAddressType` | `bulkActionMetadata.totalSuccesses` | `bulkActionMetadata.totalFailures` | `bulkActionMetadata.undetailedFailures`, 4
|
|
202
|
+
(options?: NonNullablePaths<BulkUpdateServicesOptions, `services.${number}.service` | `services.${number}.service._id` | `services.${number}.service.revision`, 3>): Promise<NonNullablePaths<BulkUpdateServicesResponse, `results` | `results.${number}.itemMetadata.originalIndex` | `results.${number}.itemMetadata.success` | `results.${number}.itemMetadata.error.code` | `results.${number}.itemMetadata.error.description` | `results.${number}.item.type` | `results.${number}.item.category._id` | `results.${number}.item.form._id` | `results.${number}.item.payment.rateType` | `results.${number}.item.payment.addOnOption` | `results.${number}.item.bookingPolicy._id` | `results.${number}.item.taxableAddress.taxableAddressType` | `bulkActionMetadata.totalSuccesses` | `bulkActionMetadata.totalFailures` | `bulkActionMetadata.undetailedFailures`, 4> & {
|
|
203
|
+
__validationErrorsType?: BulkUpdateServicesValidationErrors;
|
|
204
|
+
}>;
|
|
201
205
|
}
|
|
202
206
|
declare function bulkUpdateServicesByFilter$1(httpClient: HttpClient): BulkUpdateServicesByFilterSignature;
|
|
203
207
|
interface BulkUpdateServicesByFilterSignature {
|
|
@@ -737,4 +741,4 @@ declare const onServiceDeleted: BuildEventDefinition<typeof onServiceDeleted$1>
|
|
|
737
741
|
*/
|
|
738
742
|
declare const onServiceUpdated: BuildEventDefinition<typeof onServiceUpdated$1> & typeof onServiceUpdated$1;
|
|
739
743
|
|
|
740
|
-
export { AddOnGroup, BulkCreateServicesOptions, BulkCreateServicesResponse, BulkDeleteServicesByFilterOptions, BulkDeleteServicesByFilterResponse, BulkDeleteServicesOptions, BulkDeleteServicesResponse, BulkUpdateServicesByFilterOptions, BulkUpdateServicesByFilterResponse, BulkUpdateServicesOptions, BulkUpdateServicesResponse, CloneServiceResponse, CountServicesOptions, CountServicesResponse, CreateAddOnGroupApplicationErrors, CreateAddOnGroupOptions, CreateAddOnGroupResponse, CreateServiceValidationErrors, CursorQuery, DeleteAddOnGroupApplicationErrors, DeleteAddOnGroupOptions, DeleteServiceOptions, DisablePricingPlansForServiceApplicationErrors, DisablePricingPlansForServiceOptions, DisablePricingPlansForServiceResponse, EnablePricingPlansForServiceApplicationErrors, EnablePricingPlansForServiceResponse, GetServiceOptions, ListAddOnGroupsByServiceIdOptions, ListAddOnGroupsByServiceIdResponse, QueryBookingFormsApplicationErrors, QueryBookingFormsOptions, QueryBookingFormsResponse, QueryCategoriesOptions, QueryCategoriesResponse, QueryLocationsOptions, QueryLocationsResponse, QueryPoliciesResponse, QueryServicesOptions, SearchServicesResponse, Service, ServiceCreatedEnvelope, ServiceDeletedEnvelope, ServiceQuery, ServiceSearch, ServiceUpdatedEnvelope, ServicesQueryBuilder, SetAddOnsForGroupApplicationErrors, SetAddOnsForGroupOptions, SetAddOnsForGroupResponse, SetCustomSlugApplicationErrors, SetCustomSlugOptions, SetCustomSlugResponse, SetCustomSlugValidationErrors, SetServiceLocationsOptions, SetServiceLocationsResponse, UpdateAddOnGroupApplicationErrors, UpdateAddOnGroupOptions, UpdateAddOnGroupResponse, UpdateService, UpdateServiceValidationErrors, ValidateSlugOptions, ValidateSlugResponse, bulkCreateServices, bulkDeleteServices, bulkDeleteServicesByFilter, bulkUpdateServices, bulkUpdateServicesByFilter, cloneService, countServices, createAddOnGroup, createService, deleteAddOnGroup, deleteService, disablePricingPlansForService, enablePricingPlansForService, getService, listAddOnGroupsByServiceId, onServiceCreated, onServiceDeleted, onServiceUpdated, queryBookingForms, queryCategories, queryLocations, queryPolicies, queryServices, searchServices, setAddOnsForGroup, setCustomSlug, setServiceLocations, updateAddOnGroup, updateService, validateSlug };
|
|
744
|
+
export { AddOnGroup, BulkCreateServicesOptions, BulkCreateServicesResponse, BulkCreateServicesValidationErrors, BulkDeleteServicesByFilterOptions, BulkDeleteServicesByFilterResponse, BulkDeleteServicesOptions, BulkDeleteServicesResponse, BulkUpdateServicesByFilterOptions, BulkUpdateServicesByFilterResponse, BulkUpdateServicesOptions, BulkUpdateServicesResponse, BulkUpdateServicesValidationErrors, CloneServiceResponse, CountServicesOptions, CountServicesResponse, CreateAddOnGroupApplicationErrors, CreateAddOnGroupOptions, CreateAddOnGroupResponse, CreateServiceValidationErrors, CursorQuery, DeleteAddOnGroupApplicationErrors, DeleteAddOnGroupOptions, DeleteServiceOptions, DisablePricingPlansForServiceApplicationErrors, DisablePricingPlansForServiceOptions, DisablePricingPlansForServiceResponse, EnablePricingPlansForServiceApplicationErrors, EnablePricingPlansForServiceResponse, GetServiceOptions, ListAddOnGroupsByServiceIdOptions, ListAddOnGroupsByServiceIdResponse, QueryBookingFormsApplicationErrors, QueryBookingFormsOptions, QueryBookingFormsResponse, QueryCategoriesOptions, QueryCategoriesResponse, QueryLocationsOptions, QueryLocationsResponse, QueryPoliciesResponse, QueryServicesOptions, SearchServicesResponse, Service, ServiceCreatedEnvelope, ServiceDeletedEnvelope, ServiceQuery, ServiceSearch, ServiceUpdatedEnvelope, ServicesQueryBuilder, SetAddOnsForGroupApplicationErrors, SetAddOnsForGroupOptions, SetAddOnsForGroupResponse, SetCustomSlugApplicationErrors, SetCustomSlugOptions, SetCustomSlugResponse, SetCustomSlugValidationErrors, SetServiceLocationsOptions, SetServiceLocationsResponse, UpdateAddOnGroupApplicationErrors, UpdateAddOnGroupOptions, UpdateAddOnGroupResponse, UpdateService, UpdateServiceValidationErrors, ValidateSlugOptions, ValidateSlugResponse, bulkCreateServices, bulkDeleteServices, bulkDeleteServicesByFilter, bulkUpdateServices, bulkUpdateServicesByFilter, cloneService, countServices, createAddOnGroup, createService, deleteAddOnGroup, deleteService, disablePricingPlansForService, enablePricingPlansForService, getService, listAddOnGroupsByServiceId, onServiceCreated, onServiceDeleted, onServiceUpdated, queryBookingForms, queryCategories, queryLocations, queryPolicies, queryServices, searchServices, setAddOnsForGroup, setCustomSlug, setServiceLocations, updateAddOnGroup, updateService, validateSlug };
|