@wix/bookings 1.0.1795 → 1.0.1797
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/context-booking-checkout.d.ts +3 -37
- package/build/cjs/context-booking-checkout.js +1350 -1340
- package/build/cjs/context-booking-checkout.js.map +1 -1
- package/build/cjs/context-categories.d.ts +1 -3
- package/build/cjs/context-categories.js +20 -43
- package/build/cjs/context-categories.js.map +1 -1
- package/build/cjs/context-locations.d.ts +1 -1
- package/build/cjs/context-locations.js +20 -43
- package/build/cjs/context-locations.js.map +1 -1
- package/build/cjs/context-service-addons.d.ts +1 -15
- package/build/cjs/context-service-addons.js +20 -43
- package/build/cjs/context-service-addons.js.map +1 -1
- package/build/cjs/context-service.d.ts +1 -65
- package/build/cjs/context-service.js +363 -386
- package/build/cjs/context-service.js.map +1 -1
- package/build/cjs/context-services.d.ts +1 -23
- package/build/cjs/context-services.js +542 -566
- package/build/cjs/context-services.js.map +1 -1
- package/build/cjs/context-time-slots.d.ts +1 -21
- package/build/cjs/context-time-slots.js +588 -615
- package/build/cjs/context-time-slots.js.map +1 -1
- package/build/es/context-booking-checkout.d.mts +3 -37
- package/build/es/context-booking-checkout.mjs +1350 -1340
- package/build/es/context-booking-checkout.mjs.map +1 -1
- package/build/es/context-categories.d.mts +1 -3
- package/build/es/context-categories.mjs +20 -43
- package/build/es/context-categories.mjs.map +1 -1
- package/build/es/context-locations.d.mts +1 -1
- package/build/es/context-locations.mjs +20 -43
- package/build/es/context-locations.mjs.map +1 -1
- package/build/es/context-service-addons.d.mts +1 -15
- package/build/es/context-service-addons.mjs +20 -43
- package/build/es/context-service-addons.mjs.map +1 -1
- package/build/es/context-service.d.mts +1 -65
- package/build/es/context-service.mjs +363 -386
- package/build/es/context-service.mjs.map +1 -1
- package/build/es/context-services.d.mts +1 -23
- package/build/es/context-services.mjs +542 -566
- package/build/es/context-services.mjs.map +1 -1
- package/build/es/context-time-slots.d.mts +1 -21
- package/build/es/context-time-slots.mjs +588 -615
- package/build/es/context-time-slots.mjs.map +1 -1
- package/build/internal/cjs/context-booking-checkout.d.ts +3 -37
- package/build/internal/cjs/context-categories.d.ts +1 -3
- package/build/internal/cjs/context-locations.d.ts +1 -1
- package/build/internal/cjs/context-service-addons.d.ts +1 -15
- package/build/internal/cjs/context-service.d.ts +1 -65
- package/build/internal/cjs/context-services.d.ts +1 -23
- package/build/internal/cjs/context-time-slots.d.ts +1 -21
- package/build/internal/es/context-booking-checkout.d.mts +3 -37
- package/build/internal/es/context-categories.d.mts +1 -3
- package/build/internal/es/context-locations.d.mts +1 -1
- package/build/internal/es/context-service-addons.d.mts +1 -15
- package/build/internal/es/context-service.d.mts +1 -65
- package/build/internal/es/context-services.d.mts +1 -23
- package/build/internal/es/context-time-slots.d.mts +1 -21
- package/context-runtime/context-booking-checkout/runtime.d.ts +3 -38
- package/context-runtime/context-booking-checkout/runtime.js +3 -3
- package/context-runtime/context-categories/runtime.d.ts +1 -4
- package/context-runtime/context-categories/runtime.js +2 -2
- package/context-runtime/context-locations/runtime.d.ts +1 -2
- package/context-runtime/context-locations/runtime.js +2 -2
- package/context-runtime/context-service/runtime.d.ts +1 -66
- package/context-runtime/context-service/runtime.js +3 -3
- package/context-runtime/context-service-addons/runtime.d.ts +1 -16
- package/context-runtime/context-service-addons/runtime.js +2 -2
- package/context-runtime/context-services/runtime.d.ts +1 -24
- package/context-runtime/context-services/runtime.js +3 -3
- package/context-runtime/context-time-slots/runtime.d.ts +1 -22
- package/context-runtime/context-time-slots/runtime.js +3 -3
- package/package.json +3 -3
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
import React, { ReactNode } from 'react';
|
|
2
2
|
|
|
3
|
-
|
|
3
|
+
// ../../node_modules/type-fest/source/observable-like.d.ts
|
|
4
4
|
declare global {
|
|
5
5
|
// eslint-disable-next-line @typescript-eslint/consistent-type-definitions -- It has to be an `interface` so that it can be merged.
|
|
6
6
|
interface SymbolConstructor {
|
|
@@ -17,8 +17,6 @@ As well, some guidance on making an `Observable` to not include `closed` propert
|
|
|
17
17
|
|
|
18
18
|
@category Observable
|
|
19
19
|
*/
|
|
20
|
-
//#endregion
|
|
21
|
-
//#region ../../node_modules/@wix/sdk-types/internal/build/index.d.ts
|
|
22
20
|
declare global {
|
|
23
21
|
interface ContextualClient {}
|
|
24
22
|
}
|
|
@@ -64,8 +62,6 @@ declare global {
|
|
|
64
62
|
*/
|
|
65
63
|
interface SDKTypeMode {}
|
|
66
64
|
}
|
|
67
|
-
//#endregion
|
|
68
|
-
//#region ../../node_modules/@wix/auto_sdk_calendar_events/build/es/index.typings.d.mts
|
|
69
65
|
/**
|
|
70
66
|
* An event is a scheduled entry on a calendar that includes details like timing,
|
|
71
67
|
* location, and participants. Each event is associated with
|
|
@@ -730,8 +726,6 @@ interface ExtendedFields$2 {
|
|
|
730
726
|
*/
|
|
731
727
|
namespaces?: Record<string, Record<string, any>>;
|
|
732
728
|
}
|
|
733
|
-
//#endregion
|
|
734
|
-
//#region ../../node_modules/@wix/editor-react-types/dist/links.d.ts
|
|
735
729
|
type LinkTarget = '_self' | '_blank';
|
|
736
730
|
/**
|
|
737
731
|
* A link to a URL, used for navigation within components.
|
|
@@ -766,8 +760,6 @@ type Link = {
|
|
|
766
760
|
*/
|
|
767
761
|
pageRole?: string;
|
|
768
762
|
};
|
|
769
|
-
//#endregion
|
|
770
|
-
//#region ../../node_modules/@wix/auto_sdk_bookings_service-options-and-variants/build/es/index.typings.d.mts
|
|
771
763
|
/**
|
|
772
764
|
* The `serviceOptionsAndVariants` object links a [service](https://dev.wix.com/docs/api-reference/business-solutions/bookings/services/services-v2/introduction)
|
|
773
765
|
* to its variants.
|
|
@@ -1225,8 +1217,6 @@ interface ExtendedFields$1 {
|
|
|
1225
1217
|
*/
|
|
1226
1218
|
namespaces?: Record<string, Record<string, any>>;
|
|
1227
1219
|
}
|
|
1228
|
-
//#endregion
|
|
1229
|
-
//#region ../../node_modules/@wix/auto_sdk_bookings_services/build/es/bookings-services-v2-service-services.universal-p5eQUd5f.d.mts
|
|
1230
1220
|
/** The `service` object represents an offering that a business provides to its customers. */
|
|
1231
1221
|
interface Service {
|
|
1232
1222
|
/**
|
|
@@ -2897,8 +2887,6 @@ declare enum TaxableAddressType {
|
|
|
2897
2887
|
}
|
|
2898
2888
|
/** @enumType */
|
|
2899
2889
|
type TaxableAddressTypeWithLiterals = TaxableAddressType | 'BUSINESS' | 'BILLING';
|
|
2900
|
-
//#endregion
|
|
2901
|
-
//#region ../../node_modules/@wix/auto_sdk_bookings_bookings-settings/build/es/index.typings.d.mts
|
|
2902
2890
|
declare enum BasedOn {
|
|
2903
2891
|
/** Times are displayed in the business's time zone. */
|
|
2904
2892
|
BUSINESS_TIME_ZONE = "BUSINESS_TIME_ZONE",
|
|
@@ -2907,12 +2895,6 @@ declare enum BasedOn {
|
|
|
2907
2895
|
}
|
|
2908
2896
|
/** @enumType */
|
|
2909
2897
|
type BasedOnWithLiterals = BasedOn | 'BUSINESS_TIME_ZONE' | 'CUSTOMER_TIME_ZONE';
|
|
2910
|
-
//#endregion
|
|
2911
|
-
//#region src/api/adapters/service/service.d.ts
|
|
2912
|
-
//#endregion
|
|
2913
|
-
//#region src/api/adapters/service-options-and-variants/service-options-and-variants.d.ts
|
|
2914
|
-
//#endregion
|
|
2915
|
-
//#region src/api/adapters/bookings-settings/bookings-settings.d.ts
|
|
2916
2898
|
/** A policy, not an IANA zone: the real zone needs the business zone from site properties. */
|
|
2917
2899
|
type DisplayTimeZonePolicy = {
|
|
2918
2900
|
/**
|
|
@@ -2941,8 +2923,6 @@ interface ExposedBookingsSettings {
|
|
|
2941
2923
|
/** Whether visitors can book more than 1 service in a single appointment. */
|
|
2942
2924
|
multiServiceAppointmentsEnabled: boolean;
|
|
2943
2925
|
}
|
|
2944
|
-
//#endregion
|
|
2945
|
-
//#region src/lib/picker-filter.d.ts
|
|
2946
2926
|
/** One field of a panel filter backed by an Items Selection provider (`$in`, or `$eq` after an operator switch). */
|
|
2947
2927
|
interface PickerRule {
|
|
2948
2928
|
$in?: string[];
|
|
@@ -2951,8 +2931,6 @@ interface PickerRule {
|
|
|
2951
2931
|
interface CategoriesPickerFilter {
|
|
2952
2932
|
categoryId?: PickerRule;
|
|
2953
2933
|
}
|
|
2954
|
-
//#endregion
|
|
2955
|
-
//#region src/extensions/contexts/services-context/services-context.d.ts
|
|
2956
2934
|
/** Raw data only; the nested service-context derives display values. Not for direct binding. */
|
|
2957
2935
|
interface ServiceItem {
|
|
2958
2936
|
/**
|