@wix/bookings 1.0.1750 → 1.0.1752
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/_sdk-exports/{context-booking-checkout-context → context-booking-checkout}/runtime.d.ts +10 -0
- package/_sdk-exports/context-booking-checkout/runtime.js +2 -0
- package/_sdk-exports/context-categories/runtime.js +1 -0
- package/_sdk-exports/context-locations/runtime.js +1 -0
- package/_sdk-exports/{context-service-context → context-service}/runtime.d.ts +1 -1
- package/_sdk-exports/{context-service-context → context-service}/runtime.js +2 -2
- package/_sdk-exports/context-service-addons/runtime.js +1 -0
- package/_sdk-exports/context-services/runtime.js +2 -0
- package/_sdk-exports/context-time-slots/runtime.js +2 -0
- package/build/{internal/es/context-booking-checkout-context.d.mts → cjs/context-booking-checkout.d.ts} +10 -0
- package/build/cjs/{context-booking-checkout-context.js → context-booking-checkout.js} +909 -925
- package/build/cjs/context-booking-checkout.js.map +1 -0
- package/build/cjs/{context-categories-context.js → context-categories.js} +287 -293
- package/build/cjs/context-categories.js.map +1 -0
- package/build/cjs/{context-locations-context.js → context-locations.js} +362 -368
- package/build/cjs/context-locations.js.map +1 -0
- package/build/cjs/{context-service-addons-context.js → context-service-addons.js} +424 -430
- package/build/cjs/context-service-addons.js.map +1 -0
- package/build/cjs/{context-service-context.d.ts → context-service.d.ts} +1 -1
- package/build/cjs/{context-service-context.js → context-service.js} +964 -977
- package/build/cjs/context-service.js.map +1 -0
- package/build/cjs/{context-services-context.js → context-services.js} +600 -611
- package/build/cjs/context-services.js.map +1 -0
- package/build/cjs/{context-time-slots-context.js → context-time-slots.js} +1187 -1195
- package/build/cjs/context-time-slots.js.map +1 -0
- package/build/{cjs/context-booking-checkout-context.d.ts → es/context-booking-checkout.d.mts} +10 -0
- package/build/es/{context-booking-checkout-context.mjs → context-booking-checkout.mjs} +906 -922
- package/build/es/context-booking-checkout.mjs.map +1 -0
- package/build/es/{context-categories-context.mjs → context-categories.mjs} +283 -289
- package/build/es/context-categories.mjs.map +1 -0
- package/build/es/{context-locations-context.mjs → context-locations.mjs} +358 -364
- package/build/es/context-locations.mjs.map +1 -0
- package/build/es/{context-service-addons-context.mjs → context-service-addons.mjs} +417 -423
- package/build/es/context-service-addons.mjs.map +1 -0
- package/build/{internal/cjs/context-service-context.d.ts → es/context-service.d.mts} +1 -1
- package/build/es/{context-service-context.mjs → context-service.mjs} +960 -973
- package/build/es/context-service.mjs.map +1 -0
- package/build/es/{context-services-context.mjs → context-services.mjs} +596 -607
- package/build/es/context-services.mjs.map +1 -0
- package/build/es/{context-time-slots-context.mjs → context-time-slots.mjs} +1181 -1189
- package/build/es/context-time-slots.mjs.map +1 -0
- package/build/internal/cjs/{context-booking-checkout-context.d.ts → context-booking-checkout.d.ts} +10 -0
- package/build/internal/{es/context-service-context.d.mts → cjs/context-service.d.ts} +1 -1
- package/build/{es/context-booking-checkout-context.d.mts → internal/es/context-booking-checkout.d.mts} +10 -0
- package/build/{es/context-service-context.d.mts → internal/es/context-service.d.mts} +1 -1
- package/context/booking-checkout/package.json +3 -0
- package/context/categories/package.json +3 -0
- package/context/locations/package.json +3 -0
- package/context/service/package.json +3 -0
- package/context/service-addons/package.json +3 -0
- package/context/services/package.json +3 -0
- package/context/time-slots/package.json +3 -0
- package/package.json +37 -37
- package/_sdk-exports/context-booking-checkout-context/runtime.js +0 -2
- package/_sdk-exports/context-categories-context/runtime.js +0 -1
- package/_sdk-exports/context-locations-context/runtime.js +0 -1
- package/_sdk-exports/context-service-addons-context/runtime.js +0 -1
- package/_sdk-exports/context-services-context/runtime.js +0 -2
- package/_sdk-exports/context-time-slots-context/runtime.js +0 -2
- package/build/cjs/context-booking-checkout-context.js.map +0 -1
- package/build/cjs/context-categories-context.js.map +0 -1
- package/build/cjs/context-locations-context.js.map +0 -1
- package/build/cjs/context-service-addons-context.js.map +0 -1
- package/build/cjs/context-service-context.js.map +0 -1
- package/build/cjs/context-services-context.js.map +0 -1
- package/build/cjs/context-time-slots-context.js.map +0 -1
- package/build/es/context-booking-checkout-context.mjs.map +0 -1
- package/build/es/context-categories-context.mjs.map +0 -1
- package/build/es/context-locations-context.mjs.map +0 -1
- package/build/es/context-service-addons-context.mjs.map +0 -1
- package/build/es/context-service-context.mjs.map +0 -1
- package/build/es/context-services-context.mjs.map +0 -1
- package/build/es/context-time-slots-context.mjs.map +0 -1
- package/context/booking-checkout-context/package.json +0 -3
- package/context/categories-context/package.json +0 -3
- package/context/locations-context/package.json +0 -3
- package/context/service-addons-context/package.json +0 -3
- package/context/service-context/package.json +0 -3
- package/context/services-context/package.json +0 -3
- package/context/time-slots-context/package.json +0 -3
- /package/_sdk-exports/{context-categories-context → context-categories}/runtime.d.ts +0 -0
- /package/_sdk-exports/{context-locations-context → context-locations}/runtime.d.ts +0 -0
- /package/_sdk-exports/{context-service-addons-context → context-service-addons}/runtime.d.ts +0 -0
- /package/_sdk-exports/{context-services-context → context-services}/runtime.d.ts +0 -0
- /package/_sdk-exports/{context-time-slots-context → context-time-slots}/runtime.d.ts +0 -0
- /package/build/cjs/{context-categories-context.d.ts → context-categories.d.ts} +0 -0
- /package/build/cjs/{context-locations-context.d.ts → context-locations.d.ts} +0 -0
- /package/build/cjs/{context-service-addons-context.d.ts → context-service-addons.d.ts} +0 -0
- /package/build/cjs/{context-services-context.d.ts → context-services.d.ts} +0 -0
- /package/build/cjs/{context-time-slots-context.d.ts → context-time-slots.d.ts} +0 -0
- /package/build/es/{context-categories-context.d.mts → context-categories.d.mts} +0 -0
- /package/build/es/{context-locations-context.d.mts → context-locations.d.mts} +0 -0
- /package/build/es/{context-service-addons-context.d.mts → context-service-addons.d.mts} +0 -0
- /package/build/es/{context-services-context.d.mts → context-services.d.mts} +0 -0
- /package/build/es/{context-time-slots-context.d.mts → context-time-slots.d.mts} +0 -0
- /package/build/internal/cjs/{context-categories-context.d.ts → context-categories.d.ts} +0 -0
- /package/build/internal/cjs/{context-locations-context.d.ts → context-locations.d.ts} +0 -0
- /package/build/internal/cjs/{context-service-addons-context.d.ts → context-service-addons.d.ts} +0 -0
- /package/build/internal/cjs/{context-services-context.d.ts → context-services.d.ts} +0 -0
- /package/build/internal/cjs/{context-time-slots-context.d.ts → context-time-slots.d.ts} +0 -0
- /package/build/internal/es/{context-categories-context.d.mts → context-categories.d.mts} +0 -0
- /package/build/internal/es/{context-locations-context.d.mts → context-locations.d.mts} +0 -0
- /package/build/internal/es/{context-service-addons-context.d.mts → context-service-addons.d.mts} +0 -0
- /package/build/internal/es/{context-services-context.d.mts → context-services.d.mts} +0 -0
- /package/build/internal/es/{context-time-slots-context.d.mts → context-time-slots.d.mts} +0 -0
package/build/internal/cjs/{context-booking-checkout-context.d.ts → context-booking-checkout.d.ts}
RENAMED
|
@@ -2521,6 +2521,14 @@ interface PlanPurchase {
|
|
|
2521
2521
|
/** Pricing Plans' page for a plan that needs a start date or a form before purchase. */
|
|
2522
2522
|
infoCollectionUrl?: string | null;
|
|
2523
2523
|
}
|
|
2524
|
+
/** What a limited plan grants, as legacy's row subtitle says it. */
|
|
2525
|
+
interface PlanBenefit {
|
|
2526
|
+
/** Sessions or credits granted; null when the SPI leaves it out. */
|
|
2527
|
+
total: number | null;
|
|
2528
|
+
isSessionBased: boolean;
|
|
2529
|
+
/** Credits one booking of this service costs; null for a session plan. */
|
|
2530
|
+
redemptionCost: number | null;
|
|
2531
|
+
}
|
|
2524
2532
|
//#endregion
|
|
2525
2533
|
//#region src/domains/payment-options/from-service.d.ts
|
|
2526
2534
|
type Service = Service$2;
|
|
@@ -2559,6 +2567,8 @@ interface PaymentOption$1 {
|
|
|
2559
2567
|
suffixText: string | null;
|
|
2560
2568
|
membership: MembershipRowData | null;
|
|
2561
2569
|
purchasablePlan?: PlanPurchase;
|
|
2570
|
+
/** A plan to buy: what it grants, for its subtitle. */
|
|
2571
|
+
planBenefit?: PlanBenefit | null;
|
|
2562
2572
|
}
|
|
2563
2573
|
//#endregion
|
|
2564
2574
|
//#region src/domains/payment-options/to-booking.d.ts
|
|
@@ -3465,7 +3465,7 @@ type WithSelectionParam = (path: string, opts?: {
|
|
|
3465
3465
|
handoff?: boolean;
|
|
3466
3466
|
staffId?: string | null;
|
|
3467
3467
|
}) => string;
|
|
3468
|
-
/**
|
|
3468
|
+
/** Location and staff go back to the choices made before the calendar. */
|
|
3469
3469
|
type ClearSlot = () => void;
|
|
3470
3470
|
/** A Multi-Service Appointment slot's part for one service. */
|
|
3471
3471
|
type NestedSlotPart = Pick<NestedTimeSlot, 'serviceId' | 'localStartDate' | 'localEndDate' | 'scheduleId'>;
|
|
@@ -2521,6 +2521,14 @@ interface PlanPurchase {
|
|
|
2521
2521
|
/** Pricing Plans' page for a plan that needs a start date or a form before purchase. */
|
|
2522
2522
|
infoCollectionUrl?: string | null;
|
|
2523
2523
|
}
|
|
2524
|
+
/** What a limited plan grants, as legacy's row subtitle says it. */
|
|
2525
|
+
interface PlanBenefit {
|
|
2526
|
+
/** Sessions or credits granted; null when the SPI leaves it out. */
|
|
2527
|
+
total: number | null;
|
|
2528
|
+
isSessionBased: boolean;
|
|
2529
|
+
/** Credits one booking of this service costs; null for a session plan. */
|
|
2530
|
+
redemptionCost: number | null;
|
|
2531
|
+
}
|
|
2524
2532
|
//#endregion
|
|
2525
2533
|
//#region src/domains/payment-options/from-service.d.ts
|
|
2526
2534
|
type Service = Service$2;
|
|
@@ -2559,6 +2567,8 @@ interface PaymentOption$1 {
|
|
|
2559
2567
|
suffixText: string | null;
|
|
2560
2568
|
membership: MembershipRowData | null;
|
|
2561
2569
|
purchasablePlan?: PlanPurchase;
|
|
2570
|
+
/** A plan to buy: what it grants, for its subtitle. */
|
|
2571
|
+
planBenefit?: PlanBenefit | null;
|
|
2562
2572
|
}
|
|
2563
2573
|
//#endregion
|
|
2564
2574
|
//#region src/domains/payment-options/to-booking.d.ts
|
|
@@ -3465,7 +3465,7 @@ type WithSelectionParam = (path: string, opts?: {
|
|
|
3465
3465
|
handoff?: boolean;
|
|
3466
3466
|
staffId?: string | null;
|
|
3467
3467
|
}) => string;
|
|
3468
|
-
/**
|
|
3468
|
+
/** Location and staff go back to the choices made before the calendar. */
|
|
3469
3469
|
type ClearSlot = () => void;
|
|
3470
3470
|
/** A Multi-Service Appointment slot's part for one service. */
|
|
3471
3471
|
type NestedSlotPart = Pick<NestedTimeSlot, 'serviceId' | 'localStartDate' | 'localEndDate' | 'scheduleId'>;
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@wix/bookings",
|
|
3
|
-
"version": "1.0.
|
|
3
|
+
"version": "1.0.1752",
|
|
4
4
|
"license": "MIT",
|
|
5
5
|
"publishConfig": {
|
|
6
6
|
"registry": "https://registry.npmjs.org/",
|
|
@@ -43,50 +43,50 @@
|
|
|
43
43
|
"require": "./build/cjs/site.js",
|
|
44
44
|
"types": "./build/es/site.d.mts"
|
|
45
45
|
},
|
|
46
|
-
"./context/time-slots
|
|
47
|
-
"import": "./build/es/context-time-slots
|
|
48
|
-
"require": "./build/cjs/context-time-slots
|
|
49
|
-
"types": "./build/es/context-time-slots
|
|
46
|
+
"./context/time-slots": {
|
|
47
|
+
"import": "./build/es/context-time-slots.mjs",
|
|
48
|
+
"require": "./build/cjs/context-time-slots.js",
|
|
49
|
+
"types": "./build/es/context-time-slots.d.mts"
|
|
50
50
|
},
|
|
51
|
-
"./context/locations
|
|
52
|
-
"import": "./build/es/context-locations
|
|
53
|
-
"require": "./build/cjs/context-locations
|
|
54
|
-
"types": "./build/es/context-locations
|
|
51
|
+
"./context/locations": {
|
|
52
|
+
"import": "./build/es/context-locations.mjs",
|
|
53
|
+
"require": "./build/cjs/context-locations.js",
|
|
54
|
+
"types": "./build/es/context-locations.d.mts"
|
|
55
55
|
},
|
|
56
|
-
"./context/booking-checkout
|
|
57
|
-
"import": "./build/es/context-booking-checkout
|
|
58
|
-
"require": "./build/cjs/context-booking-checkout
|
|
59
|
-
"types": "./build/es/context-booking-checkout
|
|
56
|
+
"./context/booking-checkout": {
|
|
57
|
+
"import": "./build/es/context-booking-checkout.mjs",
|
|
58
|
+
"require": "./build/cjs/context-booking-checkout.js",
|
|
59
|
+
"types": "./build/es/context-booking-checkout.d.mts"
|
|
60
60
|
},
|
|
61
61
|
"./services": {
|
|
62
62
|
"import": "./build/es/services.mjs",
|
|
63
63
|
"require": "./build/cjs/services.js",
|
|
64
64
|
"types": "./build/es/services.d.mts"
|
|
65
65
|
},
|
|
66
|
-
"./context/service-addons
|
|
67
|
-
"import": "./build/es/context-service-addons
|
|
68
|
-
"require": "./build/cjs/context-service-addons
|
|
69
|
-
"types": "./build/es/context-service-addons
|
|
66
|
+
"./context/service-addons": {
|
|
67
|
+
"import": "./build/es/context-service-addons.mjs",
|
|
68
|
+
"require": "./build/cjs/context-service-addons.js",
|
|
69
|
+
"types": "./build/es/context-service-addons.d.mts"
|
|
70
70
|
},
|
|
71
71
|
"./components": {
|
|
72
72
|
"import": "./build/es/components.mjs",
|
|
73
73
|
"require": "./build/cjs/components.js",
|
|
74
74
|
"types": "./build/es/components.d.mts"
|
|
75
75
|
},
|
|
76
|
-
"./context/categories
|
|
77
|
-
"import": "./build/es/context-categories
|
|
78
|
-
"require": "./build/cjs/context-categories
|
|
79
|
-
"types": "./build/es/context-categories
|
|
76
|
+
"./context/categories": {
|
|
77
|
+
"import": "./build/es/context-categories.mjs",
|
|
78
|
+
"require": "./build/cjs/context-categories.js",
|
|
79
|
+
"types": "./build/es/context-categories.d.mts"
|
|
80
80
|
},
|
|
81
|
-
"./context/services
|
|
82
|
-
"import": "./build/es/context-services
|
|
83
|
-
"require": "./build/cjs/context-services
|
|
84
|
-
"types": "./build/es/context-services
|
|
81
|
+
"./context/services": {
|
|
82
|
+
"import": "./build/es/context-services.mjs",
|
|
83
|
+
"require": "./build/cjs/context-services.js",
|
|
84
|
+
"types": "./build/es/context-services.d.mts"
|
|
85
85
|
},
|
|
86
|
-
"./context/service
|
|
87
|
-
"import": "./build/es/context-service
|
|
88
|
-
"require": "./build/cjs/context-service
|
|
89
|
-
"types": "./build/es/context-service
|
|
86
|
+
"./context/service": {
|
|
87
|
+
"import": "./build/es/context-service.mjs",
|
|
88
|
+
"require": "./build/cjs/context-service.js",
|
|
89
|
+
"types": "./build/es/context-service.d.mts"
|
|
90
90
|
}
|
|
91
91
|
},
|
|
92
92
|
"files": [
|
|
@@ -96,15 +96,15 @@
|
|
|
96
96
|
"dashboard",
|
|
97
97
|
"site",
|
|
98
98
|
"_sdk-exports",
|
|
99
|
-
"context/time-slots
|
|
100
|
-
"context/locations
|
|
101
|
-
"context/booking-checkout
|
|
99
|
+
"context/time-slots",
|
|
100
|
+
"context/locations",
|
|
101
|
+
"context/booking-checkout",
|
|
102
102
|
"services",
|
|
103
|
-
"context/service-addons
|
|
103
|
+
"context/service-addons",
|
|
104
104
|
"components",
|
|
105
|
-
"context/categories
|
|
106
|
-
"context/services
|
|
107
|
-
"context/service
|
|
105
|
+
"context/categories",
|
|
106
|
+
"context/services",
|
|
107
|
+
"context/service"
|
|
108
108
|
],
|
|
109
109
|
"dependencies": {
|
|
110
110
|
"@wix/auto_sdk_bookings_add-ons": "1.0.41",
|
|
@@ -180,5 +180,5 @@
|
|
|
180
180
|
"optional": true
|
|
181
181
|
}
|
|
182
182
|
},
|
|
183
|
-
"falconPackageHash": "
|
|
183
|
+
"falconPackageHash": "dbf42ea1bb99c7496acfcc9be0e907c721ee4aa1c6268d45687b56e7"
|
|
184
184
|
}
|