@wix/auto_sdk_bookings_bookings 1.0.58 → 1.0.59
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/index.d.ts +4 -4
- package/build/cjs/index.js.map +1 -1
- package/build/cjs/index.typings.d.ts +4 -4
- package/build/cjs/index.typings.js.map +1 -1
- package/build/cjs/meta.js.map +1 -1
- package/build/es/index.d.mts +4 -4
- package/build/es/index.mjs.map +1 -1
- package/build/es/index.typings.d.mts +4 -4
- package/build/es/index.typings.mjs.map +1 -1
- package/build/es/meta.mjs.map +1 -1
- package/build/internal/cjs/index.d.ts +4 -4
- package/build/internal/cjs/index.js.map +1 -1
- package/build/internal/cjs/index.typings.d.ts +4 -4
- package/build/internal/cjs/index.typings.js.map +1 -1
- package/build/internal/cjs/meta.js.map +1 -1
- package/build/internal/es/index.d.mts +4 -4
- package/build/internal/es/index.mjs.map +1 -1
- package/build/internal/es/index.typings.d.mts +4 -4
- package/build/internal/es/index.typings.mjs.map +1 -1
- package/build/internal/es/meta.mjs.map +1 -1
- package/package.json +2 -2
package/build/cjs/index.d.ts
CHANGED
|
@@ -9,7 +9,7 @@ interface ConfirmOrDeclineBookingSignature {
|
|
|
9
9
|
* on the `paymentStatus` you provide, double booking conflicts, and whether
|
|
10
10
|
* the service requires business approval.
|
|
11
11
|
*
|
|
12
|
-
*
|
|
12
|
+
* ### eCommerce checkout restriction
|
|
13
13
|
*
|
|
14
14
|
* Call this method only when using a custom checkout page. Don't
|
|
15
15
|
* call it when using a *Wix eCommerce checkout*
|
|
@@ -18,7 +18,7 @@ interface ConfirmOrDeclineBookingSignature {
|
|
|
18
18
|
* the `paymentStatus` of the corresponding *Wix eCommerce order*
|
|
19
19
|
* ([SDK](https://dev.wix.com/docs/sdk/backend-modules/ecom/checkout/setup) | [REST](https://dev.wix.com/docs/rest/business-solutions/e-commerce/orders/introduction)).
|
|
20
20
|
*
|
|
21
|
-
*
|
|
21
|
+
* ### New booking status
|
|
22
22
|
*
|
|
23
23
|
* The booking `status` is set to `DECLINED` if both of the following conditions
|
|
24
24
|
* are met:
|
|
@@ -28,13 +28,13 @@ interface ConfirmOrDeclineBookingSignature {
|
|
|
28
28
|
* If only one or none of these conditions is met, `status` is set to `PENDING`
|
|
29
29
|
* or `CONFIRMED` depending on whether the service requires business approval.
|
|
30
30
|
*
|
|
31
|
-
*
|
|
31
|
+
* ### Double bookings
|
|
32
32
|
*
|
|
33
33
|
* If there is a double booking conflict, but the booking has already been at least
|
|
34
34
|
* partially paid, the method still marks the booking as `PENDING` or `CONFIRMED`.
|
|
35
35
|
* Then, it also sets `doubleBooked` to `true`.
|
|
36
36
|
*
|
|
37
|
-
*
|
|
37
|
+
* ### Admin overwrites
|
|
38
38
|
*
|
|
39
39
|
* There are small but important differences in confirmation behavior if the
|
|
40
40
|
* booking was created with special `flowControlSettings`:
|