@wix/auto_sdk_bookings_bookings 1.0.41 → 1.0.42
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 +42 -45
- package/build/cjs/index.js.map +1 -1
- package/build/cjs/index.typings.d.ts +81 -57
- package/build/cjs/index.typings.js.map +1 -1
- package/build/cjs/meta.d.ts +23 -8
- package/build/cjs/meta.js.map +1 -1
- package/build/es/index.d.mts +42 -45
- package/build/es/index.mjs.map +1 -1
- package/build/es/index.typings.d.mts +81 -57
- package/build/es/index.typings.mjs.map +1 -1
- package/build/es/meta.d.mts +23 -8
- package/build/es/meta.mjs.map +1 -1
- package/build/internal/cjs/index.d.ts +42 -45
- package/build/internal/cjs/index.js.map +1 -1
- package/build/internal/cjs/index.typings.d.ts +81 -57
- package/build/internal/cjs/index.typings.js.map +1 -1
- package/build/internal/cjs/meta.d.ts +23 -8
- package/build/internal/cjs/meta.js.map +1 -1
- package/build/internal/es/index.d.mts +42 -45
- package/build/internal/es/index.mjs.map +1 -1
- package/build/internal/es/index.typings.d.mts +81 -57
- package/build/internal/es/index.typings.mjs.map +1 -1
- package/build/internal/es/meta.d.mts +23 -8
- package/build/internal/es/meta.mjs.map +1 -1
- package/package.json +2 -2
package/build/cjs/meta.d.ts
CHANGED
|
@@ -154,8 +154,11 @@ interface BookingParticipantsInfoOneOf {
|
|
|
154
154
|
* For `SEQUENTIAL_BOOKINGS`, see `List Multi Service Availability Time Slots` documentation.
|
|
155
155
|
*/
|
|
156
156
|
declare enum MultiServiceBookingType {
|
|
157
|
+
/** You must schedule single-service bookings back-to-back with each booking starting when the previous booking ends */
|
|
157
158
|
SEQUENTIAL_BOOKINGS = "SEQUENTIAL_BOOKINGS",
|
|
159
|
+
/** Not currently supported. */
|
|
158
160
|
SEPARATE_BOOKINGS = "SEPARATE_BOOKINGS",
|
|
161
|
+
/** Not currently supported. */
|
|
159
162
|
PARALLEL_BOOKINGS = "PARALLEL_BOOKINGS"
|
|
160
163
|
}
|
|
161
164
|
/** @enumType */
|
|
@@ -534,7 +537,7 @@ declare enum SelectedPaymentOption {
|
|
|
534
537
|
type SelectedPaymentOptionWithLiterals = SelectedPaymentOption | 'UNDEFINED' | 'OFFLINE' | 'ONLINE' | 'MEMBERSHIP' | 'MEMBERSHIP_OFFLINE';
|
|
535
538
|
interface ParticipantNotification {
|
|
536
539
|
/**
|
|
537
|
-
* Whether to send
|
|
540
|
+
* Whether to send a message about the changes to the customer.
|
|
538
541
|
*
|
|
539
542
|
* Default: `false`
|
|
540
543
|
*/
|
|
@@ -796,7 +799,7 @@ interface CreateBookingFlowControlSettings {
|
|
|
796
799
|
* Whether `PENDING` bookings are automatically set to `CONFIRMED` for
|
|
797
800
|
* services that normally require the owner's manual confirmation.
|
|
798
801
|
*
|
|
799
|
-
* Your app must have the `BOOKINGS.OVERRIDE_AVAILABILITY` permission
|
|
802
|
+
* Your app must have the `BOOKINGS.OVERRIDE_AVAILABILITY` permission
|
|
800
803
|
* when passing `true`.
|
|
801
804
|
* Default: `false`.
|
|
802
805
|
*/
|
|
@@ -805,7 +808,7 @@ interface CreateBookingFlowControlSettings {
|
|
|
805
808
|
* Whether customers can pay using a payment method that isn't supported
|
|
806
809
|
* for the service, but that's supported for other services.
|
|
807
810
|
*
|
|
808
|
-
* Your app must have the `BOOKINGS.MANAGE_PAYMENTS` permission
|
|
811
|
+
* Your app must have the `BOOKINGS.MANAGE_PAYMENTS` permission when passing
|
|
809
812
|
* `true`.
|
|
810
813
|
* Default: `false`.
|
|
811
814
|
*/
|
|
@@ -1288,7 +1291,7 @@ interface CreateMultiServiceBookingRequest {
|
|
|
1288
1291
|
/**
|
|
1289
1292
|
* Multi-service booking type.
|
|
1290
1293
|
*
|
|
1291
|
-
* Currently only `SEQUENTIAL_BOOKINGS` is supported
|
|
1294
|
+
* Currently only `SEQUENTIAL_BOOKINGS` is supported.
|
|
1292
1295
|
*/
|
|
1293
1296
|
multiServiceBookingType?: MultiServiceBookingTypeWithLiterals;
|
|
1294
1297
|
}
|
|
@@ -1448,7 +1451,11 @@ interface MarkMultiServiceBookingAsPendingRequest {
|
|
|
1448
1451
|
sendSmsReminder?: boolean | null;
|
|
1449
1452
|
/** Whether this booking has a conflict with at least 1 other confirmed booking. */
|
|
1450
1453
|
doubleBooked?: boolean | null;
|
|
1451
|
-
/**
|
|
1454
|
+
/**
|
|
1455
|
+
* Whether to return the single-service bookings that were marked as `PENDING`.
|
|
1456
|
+
*
|
|
1457
|
+
* Default: `false`
|
|
1458
|
+
*/
|
|
1452
1459
|
returnFullEntity?: boolean;
|
|
1453
1460
|
/**
|
|
1454
1461
|
* Information about whether specific procedures of the standard Wix Bookings creation flow are changed.
|
|
@@ -1541,7 +1548,7 @@ interface BulkGetMultiServiceBookingAllowedActionsRequest {
|
|
|
1541
1548
|
interface BulkGetMultiServiceBookingAllowedActionsResponse {
|
|
1542
1549
|
/**
|
|
1543
1550
|
* Information about the multi-service bookings that were retrieved.
|
|
1544
|
-
*
|
|
1551
|
+
* Includes their ID, index in the bulk request and whether they were successfully processed.
|
|
1545
1552
|
*/
|
|
1546
1553
|
results?: BulkCalculateAllowedActionsResult[];
|
|
1547
1554
|
/** Total number of successes and failures for Bulk Get Multi Service Booking Allowed Actions. */
|
|
@@ -1578,7 +1585,11 @@ interface AddBookingsToMultiServiceBookingRequest {
|
|
|
1578
1585
|
* @maxSize 8
|
|
1579
1586
|
*/
|
|
1580
1587
|
bookings: BookingIdAndRevision[];
|
|
1581
|
-
/**
|
|
1588
|
+
/**
|
|
1589
|
+
* Whether to return the single-service bookings that were added to the multi-service booking.
|
|
1590
|
+
*
|
|
1591
|
+
* Default: `false`
|
|
1592
|
+
*/
|
|
1582
1593
|
returnFullEntity?: boolean;
|
|
1583
1594
|
}
|
|
1584
1595
|
interface BookingIdAndRevision {
|
|
@@ -1608,7 +1619,11 @@ interface RemoveBookingsFromMultiServiceBookingRequest {
|
|
|
1608
1619
|
* @maxSize 8
|
|
1609
1620
|
*/
|
|
1610
1621
|
bookings?: BookingIdAndRevision[];
|
|
1611
|
-
/**
|
|
1622
|
+
/**
|
|
1623
|
+
* Whether to return the single-service bookings.
|
|
1624
|
+
*
|
|
1625
|
+
* Default: `false`
|
|
1626
|
+
*/
|
|
1612
1627
|
returnFullEntity?: boolean;
|
|
1613
1628
|
}
|
|
1614
1629
|
interface RemoveBookingsFromMultiServiceBookingResponse {
|