@wix/bookings 1.0.407 → 1.0.409
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/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@wix/bookings",
|
|
3
|
-
"version": "1.0.
|
|
3
|
+
"version": "1.0.409",
|
|
4
4
|
"publishConfig": {
|
|
5
5
|
"registry": "https://registry.npmjs.org/",
|
|
6
6
|
"access": "public"
|
|
@@ -21,15 +21,15 @@
|
|
|
21
21
|
"@wix/bookings_attendance": "1.0.39",
|
|
22
22
|
"@wix/bookings_availability-calendar": "1.0.28",
|
|
23
23
|
"@wix/bookings_availability-time-slots": "1.0.24",
|
|
24
|
-
"@wix/bookings_bookings": "1.0.
|
|
24
|
+
"@wix/bookings_bookings": "1.0.41",
|
|
25
25
|
"@wix/bookings_categories": "1.0.29",
|
|
26
|
-
"@wix/bookings_extended-bookings": "1.0.
|
|
26
|
+
"@wix/bookings_extended-bookings": "1.0.34",
|
|
27
27
|
"@wix/bookings_external-calendars": "1.0.26",
|
|
28
28
|
"@wix/bookings_multi-service-availability-time-slots": "1.0.23",
|
|
29
|
-
"@wix/bookings_pricing": "1.0.
|
|
29
|
+
"@wix/bookings_pricing": "1.0.26",
|
|
30
30
|
"@wix/bookings_resources": "1.0.29",
|
|
31
31
|
"@wix/bookings_service-options-and-variants": "1.0.35",
|
|
32
|
-
"@wix/bookings_services": "1.0.
|
|
32
|
+
"@wix/bookings_services": "1.0.52"
|
|
33
33
|
},
|
|
34
34
|
"devDependencies": {
|
|
35
35
|
"@wix/sdk": "https://cdn.dev.wixpress.com/@wix/sdk/02e8069ab2fd783e0e6a080fc7d590e76cb26ab93c8389574286305b.tar.gz",
|
|
@@ -54,5 +54,5 @@
|
|
|
54
54
|
"fqdn": ""
|
|
55
55
|
}
|
|
56
56
|
},
|
|
57
|
-
"falconPackageHash": "
|
|
57
|
+
"falconPackageHash": "834d10bbf27b6618972fc9166b6a20c495507bee451e74acee8a83b3"
|
|
58
58
|
}
|
|
@@ -3010,27 +3010,15 @@ interface Booking$2 extends BookingParticipantsInfoOneOf$2 {
|
|
|
3010
3010
|
additionalFields?: CustomFormField$2[];
|
|
3011
3011
|
/**
|
|
3012
3012
|
* Booking status.
|
|
3013
|
-
*
|
|
3014
|
-
*
|
|
3015
|
-
* - `
|
|
3016
|
-
* - `
|
|
3017
|
-
*
|
|
3018
|
-
* A booking
|
|
3019
|
-
*
|
|
3020
|
-
*
|
|
3021
|
-
* - `
|
|
3022
|
-
* The booking can be canceled using [`Cancel Booking API`](www.example.com).
|
|
3023
|
-
* - `"PENDING"` - The booking is waiting to be confirmed or declined by the owner and the booking is synced to the bookings calendar.
|
|
3024
|
-
* Bookings can be manually set as `PENDING` using the [`setAsPending` API](www.example.com), by those with Manage Booking Status permissions scopes.
|
|
3025
|
-
* Bookings can be automatically set as `PENDING` when the following requirements are met:
|
|
3026
|
-
* + The service is configured as manually confirmed.
|
|
3027
|
-
* + Invoking the eCommerce checkout API and an order has been created.
|
|
3028
|
-
* - `"WAITING_LIST"` - The booking is on a waiting list.
|
|
3029
|
-
* - `"DECLINED"` - The booking was declined by the owner and synced to the Bookings calendar.
|
|
3030
|
-
* Bookings can be manually declined using the [`Decline Booking` API](www.example.com) by those with Manage Booking Status permissions scopes.
|
|
3031
|
-
* Booking can be automatically declined when one of the following requirements are met:
|
|
3032
|
-
* + Invoking the `eCommerce checkout` API and the order declined event has been sent.
|
|
3033
|
-
* + Invoking the `eCommerce checkout` API and order approved event has been sent, but the booking is offline and the booking causes a double booking.
|
|
3013
|
+
*
|
|
3014
|
+
* Supported values:
|
|
3015
|
+
* - `CREATED`: The booking was created.
|
|
3016
|
+
* - `UPDATED`: The booking was updated.
|
|
3017
|
+
* - `PENDING`: The booking is waiting to be confirmed or declined by the business owner. A booking is automatically set as `PENDING` if the service is configured to require manual business onwer confirmation and an [eCommerce order](https://dev.wix.com/docs/rest/business-solutions/e-commerce/orders/introduction) was created.
|
|
3018
|
+
* - `CONFIRMED`: The booking was confirmed. A booking is automatically confirmed if the service is configured to automatically confirm bookings and an [eCommerce order](https://dev.wix.com/docs/rest/business-solutions/e-commerce/orders/introduction) was created. If the service isn't configured to automatically confirm bookings, you can use [Confirm Or Decline Booking](https://dev.wix.com/docs/rest/business-solutions/bookings/bookings-and-time-slots/bookings-v2/bookings-v2-and-confirmation/confirm-or-decline-booking).
|
|
3019
|
+
* - `DECLINED`: The booking was declined by the business owner. A booking is also declined if an [eCommerce order](https://dev.wix.com/docs/rest/business-solutions/e-commerce/orders/introduction) was created that resulted in a double booking.
|
|
3020
|
+
* - `CANCELED`: The booking was canceled.
|
|
3021
|
+
* - `WAITING_LIST`: The booking is on a wait list.
|
|
3034
3022
|
*/
|
|
3035
3023
|
status?: BookingStatus$2;
|
|
3036
3024
|
/**
|
|
@@ -8389,27 +8389,15 @@ interface Booking$2 extends BookingParticipantsInfoOneOf$2 {
|
|
|
8389
8389
|
additionalFields?: CustomFormField$2[];
|
|
8390
8390
|
/**
|
|
8391
8391
|
* Booking status.
|
|
8392
|
-
*
|
|
8393
|
-
*
|
|
8394
|
-
* - `
|
|
8395
|
-
* - `
|
|
8396
|
-
*
|
|
8397
|
-
* A booking
|
|
8398
|
-
*
|
|
8399
|
-
*
|
|
8400
|
-
* - `
|
|
8401
|
-
* The booking can be canceled using [`Cancel Booking API`](www.example.com).
|
|
8402
|
-
* - `"PENDING"` - The booking is waiting to be confirmed or declined by the owner and the booking is synced to the bookings calendar.
|
|
8403
|
-
* Bookings can be manually set as `PENDING` using the [`setAsPending` API](www.example.com), by those with Manage Booking Status permissions scopes.
|
|
8404
|
-
* Bookings can be automatically set as `PENDING` when the following requirements are met:
|
|
8405
|
-
* + The service is configured as manually confirmed.
|
|
8406
|
-
* + Invoking the eCommerce checkout API and an order has been created.
|
|
8407
|
-
* - `"WAITING_LIST"` - The booking is on a waiting list.
|
|
8408
|
-
* - `"DECLINED"` - The booking was declined by the owner and synced to the Bookings calendar.
|
|
8409
|
-
* Bookings can be manually declined using the [`Decline Booking` API](www.example.com) by those with Manage Booking Status permissions scopes.
|
|
8410
|
-
* Booking can be automatically declined when one of the following requirements are met:
|
|
8411
|
-
* + Invoking the `eCommerce checkout` API and the order declined event has been sent.
|
|
8412
|
-
* + Invoking the `eCommerce checkout` API and order approved event has been sent, but the booking is offline and the booking causes a double booking.
|
|
8392
|
+
*
|
|
8393
|
+
* Supported values:
|
|
8394
|
+
* - `CREATED`: The booking was created.
|
|
8395
|
+
* - `UPDATED`: The booking was updated.
|
|
8396
|
+
* - `PENDING`: The booking is waiting to be confirmed or declined by the business owner. A booking is automatically set as `PENDING` if the service is configured to require manual business onwer confirmation and an [eCommerce order](https://dev.wix.com/docs/rest/business-solutions/e-commerce/orders/introduction) was created.
|
|
8397
|
+
* - `CONFIRMED`: The booking was confirmed. A booking is automatically confirmed if the service is configured to automatically confirm bookings and an [eCommerce order](https://dev.wix.com/docs/rest/business-solutions/e-commerce/orders/introduction) was created. If the service isn't configured to automatically confirm bookings, you can use [Confirm Or Decline Booking](https://dev.wix.com/docs/rest/business-solutions/bookings/bookings-and-time-slots/bookings-v2/bookings-v2-and-confirmation/confirm-or-decline-booking).
|
|
8398
|
+
* - `DECLINED`: The booking was declined by the business owner. A booking is also declined if an [eCommerce order](https://dev.wix.com/docs/rest/business-solutions/e-commerce/orders/introduction) was created that resulted in a double booking.
|
|
8399
|
+
* - `CANCELED`: The booking was canceled.
|
|
8400
|
+
* - `WAITING_LIST`: The booking is on a wait list.
|
|
8413
8401
|
*/
|
|
8414
8402
|
status?: BookingStatus$2;
|
|
8415
8403
|
/**
|
|
@@ -10001,6 +9989,7 @@ interface ServiceResource extends ServiceResourceSelectionOneOf {
|
|
|
10001
9989
|
resourceIds?: ResourceIds;
|
|
10002
9990
|
/** The unique identifier for the service resource, if not provided, would default to the resource type id. */
|
|
10003
9991
|
_id?: string | null;
|
|
9992
|
+
/** Service resource type data. */
|
|
10004
9993
|
resourceType?: ResourceType;
|
|
10005
9994
|
/**
|
|
10006
9995
|
* How many resources of the are required in order to book the service.
|
|
@@ -10217,7 +10206,9 @@ interface BulkCreateServicesResponse {
|
|
|
10217
10206
|
bulkActionMetadata?: BulkActionMetadata$2;
|
|
10218
10207
|
}
|
|
10219
10208
|
interface BulkServiceResult {
|
|
10209
|
+
/** Updated service metadata. */
|
|
10220
10210
|
itemMetadata?: ItemMetadata$2;
|
|
10211
|
+
/** The updated service. */
|
|
10221
10212
|
item?: Service;
|
|
10222
10213
|
}
|
|
10223
10214
|
interface ItemMetadata$2 {
|
|
@@ -10289,10 +10280,11 @@ interface ServiceAvailabilityConstraints {
|
|
|
10289
10280
|
*/
|
|
10290
10281
|
locations?: V2Location[];
|
|
10291
10282
|
/**
|
|
10283
|
+
* Resource groups required to book the service. For backwards compatibility only. Use `serviceResources` instead.
|
|
10292
10284
|
* @readonly
|
|
10293
|
-
* @deprecated
|
|
10285
|
+
* @deprecated Resource groups required to book the service. For backwards compatibility only. Use `serviceResources` instead.
|
|
10294
10286
|
* @replacedBy service_resources
|
|
10295
|
-
* @removalDate
|
|
10287
|
+
* @removalDate 2024-09-01
|
|
10296
10288
|
*/
|
|
10297
10289
|
resourceGroups?: ResourceGroup[];
|
|
10298
10290
|
/**
|
|
@@ -10374,13 +10366,15 @@ interface V2ParticipantNotification {
|
|
|
10374
10366
|
interface DeleteServiceResponse {
|
|
10375
10367
|
}
|
|
10376
10368
|
interface BulkDeleteServicesRequest {
|
|
10369
|
+
/** Ids of the services for deletion. */
|
|
10377
10370
|
ids?: string[];
|
|
10378
|
-
preserveFutureSessionsWithParticipants?: boolean;
|
|
10379
10371
|
/**
|
|
10380
10372
|
* Whether to preserve future sessions with participants.
|
|
10381
10373
|
*
|
|
10382
10374
|
* Default: `false`.
|
|
10383
10375
|
*/
|
|
10376
|
+
preserveFutureSessionsWithParticipants?: boolean;
|
|
10377
|
+
/** Whether to notify participants about the change and an optional custom message. */
|
|
10384
10378
|
participantNotification?: V2ParticipantNotification;
|
|
10385
10379
|
}
|
|
10386
10380
|
interface BulkDeleteServicesResponse {
|
|
@@ -10476,6 +10470,7 @@ interface Cursors$2 {
|
|
|
10476
10470
|
prev?: string | null;
|
|
10477
10471
|
}
|
|
10478
10472
|
interface SearchServicesRequest {
|
|
10473
|
+
/** WQL, search or aggregation expression. */
|
|
10479
10474
|
search?: CursorSearch;
|
|
10480
10475
|
}
|
|
10481
10476
|
interface CursorSearch extends CursorSearchPagingMethodOneOf {
|
|
@@ -7126,27 +7126,15 @@ interface Booking$5 extends BookingParticipantsInfoOneOf$5 {
|
|
|
7126
7126
|
additionalFields?: CustomFormField$5[];
|
|
7127
7127
|
/**
|
|
7128
7128
|
* Booking status.
|
|
7129
|
-
*
|
|
7130
|
-
*
|
|
7131
|
-
* - `
|
|
7132
|
-
* - `
|
|
7133
|
-
*
|
|
7134
|
-
* A booking
|
|
7135
|
-
*
|
|
7136
|
-
*
|
|
7137
|
-
* - `
|
|
7138
|
-
* The booking can be canceled using [`Cancel Booking API`](www.example.com).
|
|
7139
|
-
* - `"PENDING"` - The booking is waiting to be confirmed or declined by the owner and the booking is synced to the bookings calendar.
|
|
7140
|
-
* Bookings can be manually set as `PENDING` using the [`setAsPending` API](www.example.com), by those with Manage Booking Status permissions scopes.
|
|
7141
|
-
* Bookings can be automatically set as `PENDING` when the following requirements are met:
|
|
7142
|
-
* + The service is configured as manually confirmed.
|
|
7143
|
-
* + Invoking the eCommerce checkout API and an order has been created.
|
|
7144
|
-
* - `"WAITING_LIST"` - The booking is on a waiting list.
|
|
7145
|
-
* - `"DECLINED"` - The booking was declined by the owner and synced to the Bookings calendar.
|
|
7146
|
-
* Bookings can be manually declined using the [`Decline Booking` API](www.example.com) by those with Manage Booking Status permissions scopes.
|
|
7147
|
-
* Booking can be automatically declined when one of the following requirements are met:
|
|
7148
|
-
* + Invoking the `eCommerce checkout` API and the order declined event has been sent.
|
|
7149
|
-
* + Invoking the `eCommerce checkout` API and order approved event has been sent, but the booking is offline and the booking causes a double booking.
|
|
7129
|
+
*
|
|
7130
|
+
* Supported values:
|
|
7131
|
+
* - `CREATED`: The booking was created.
|
|
7132
|
+
* - `UPDATED`: The booking was updated.
|
|
7133
|
+
* - `PENDING`: The booking is waiting to be confirmed or declined by the business owner. A booking is automatically set as `PENDING` if the service is configured to require manual business onwer confirmation and an [eCommerce order](https://dev.wix.com/docs/rest/business-solutions/e-commerce/orders/introduction) was created.
|
|
7134
|
+
* - `CONFIRMED`: The booking was confirmed. A booking is automatically confirmed if the service is configured to automatically confirm bookings and an [eCommerce order](https://dev.wix.com/docs/rest/business-solutions/e-commerce/orders/introduction) was created. If the service isn't configured to automatically confirm bookings, you can use [Confirm Or Decline Booking](https://dev.wix.com/docs/rest/business-solutions/bookings/bookings-and-time-slots/bookings-v2/bookings-v2-and-confirmation/confirm-or-decline-booking).
|
|
7135
|
+
* - `DECLINED`: The booking was declined by the business owner. A booking is also declined if an [eCommerce order](https://dev.wix.com/docs/rest/business-solutions/e-commerce/orders/introduction) was created that resulted in a double booking.
|
|
7136
|
+
* - `CANCELED`: The booking was canceled.
|
|
7137
|
+
* - `WAITING_LIST`: The booking is on a wait list.
|
|
7150
7138
|
*/
|
|
7151
7139
|
status?: BookingStatus$5;
|
|
7152
7140
|
/**
|
|
@@ -7848,27 +7836,15 @@ interface Booking$4 extends BookingParticipantsInfoOneOf$4 {
|
|
|
7848
7836
|
additionalFields?: CustomFormField$4[];
|
|
7849
7837
|
/**
|
|
7850
7838
|
* Booking status.
|
|
7851
|
-
*
|
|
7852
|
-
*
|
|
7853
|
-
* - `
|
|
7854
|
-
* - `
|
|
7855
|
-
*
|
|
7856
|
-
* A booking
|
|
7857
|
-
*
|
|
7858
|
-
*
|
|
7859
|
-
* - `
|
|
7860
|
-
* The booking can be canceled using [`Cancel Booking API`](www.example.com).
|
|
7861
|
-
* - `"PENDING"` - The booking is waiting to be confirmed or declined by the owner and the booking is synced to the bookings calendar.
|
|
7862
|
-
* Bookings can be manually set as `PENDING` using the [`setAsPending` API](www.example.com), by those with Manage Booking Status permissions scopes.
|
|
7863
|
-
* Bookings can be automatically set as `PENDING` when the following requirements are met:
|
|
7864
|
-
* + The service is configured as manually confirmed.
|
|
7865
|
-
* + Invoking the eCommerce checkout API and an order has been created.
|
|
7866
|
-
* - `"WAITING_LIST"` - The booking is on a waiting list.
|
|
7867
|
-
* - `"DECLINED"` - The booking was declined by the owner and synced to the Bookings calendar.
|
|
7868
|
-
* Bookings can be manually declined using the [`Decline Booking` API](www.example.com) by those with Manage Booking Status permissions scopes.
|
|
7869
|
-
* Booking can be automatically declined when one of the following requirements are met:
|
|
7870
|
-
* + Invoking the `eCommerce checkout` API and the order declined event has been sent.
|
|
7871
|
-
* + Invoking the `eCommerce checkout` API and order approved event has been sent, but the booking is offline and the booking causes a double booking.
|
|
7839
|
+
*
|
|
7840
|
+
* Supported values:
|
|
7841
|
+
* - `CREATED`: The booking was created.
|
|
7842
|
+
* - `UPDATED`: The booking was updated.
|
|
7843
|
+
* - `PENDING`: The booking is waiting to be confirmed or declined by the business owner. A booking is automatically set as `PENDING` if the service is configured to require manual business onwer confirmation and an [eCommerce order](https://dev.wix.com/docs/rest/business-solutions/e-commerce/orders/introduction) was created.
|
|
7844
|
+
* - `CONFIRMED`: The booking was confirmed. A booking is automatically confirmed if the service is configured to automatically confirm bookings and an [eCommerce order](https://dev.wix.com/docs/rest/business-solutions/e-commerce/orders/introduction) was created. If the service isn't configured to automatically confirm bookings, you can use [Confirm Or Decline Booking](https://dev.wix.com/docs/rest/business-solutions/bookings/bookings-and-time-slots/bookings-v2/bookings-v2-and-confirmation/confirm-or-decline-booking).
|
|
7845
|
+
* - `DECLINED`: The booking was declined by the business owner. A booking is also declined if an [eCommerce order](https://dev.wix.com/docs/rest/business-solutions/e-commerce/orders/introduction) was created that resulted in a double booking.
|
|
7846
|
+
* - `CANCELED`: The booking was canceled.
|
|
7847
|
+
* - `WAITING_LIST`: The booking is on a wait list.
|
|
7872
7848
|
*/
|
|
7873
7849
|
status?: BookingStatus$4;
|
|
7874
7850
|
/**
|
|
@@ -12455,27 +12431,15 @@ interface Booking$3 extends BookingParticipantsInfoOneOf$3 {
|
|
|
12455
12431
|
additionalFields?: CustomFormField$3[];
|
|
12456
12432
|
/**
|
|
12457
12433
|
* Booking status.
|
|
12458
|
-
*
|
|
12459
|
-
*
|
|
12460
|
-
* - `
|
|
12461
|
-
* - `
|
|
12462
|
-
*
|
|
12463
|
-
* A booking
|
|
12464
|
-
*
|
|
12465
|
-
*
|
|
12466
|
-
* - `
|
|
12467
|
-
* The booking can be canceled using [`Cancel Booking API`](www.example.com).
|
|
12468
|
-
* - `"PENDING"` - The booking is waiting to be confirmed or declined by the owner and the booking is synced to the bookings calendar.
|
|
12469
|
-
* Bookings can be manually set as `PENDING` using the [`setAsPending` API](www.example.com), by those with Manage Booking Status permissions scopes.
|
|
12470
|
-
* Bookings can be automatically set as `PENDING` when the following requirements are met:
|
|
12471
|
-
* + The service is configured as manually confirmed.
|
|
12472
|
-
* + Invoking the eCommerce checkout API and an order has been created.
|
|
12473
|
-
* - `"WAITING_LIST"` - The booking is on a waiting list.
|
|
12474
|
-
* - `"DECLINED"` - The booking was declined by the owner and synced to the Bookings calendar.
|
|
12475
|
-
* Bookings can be manually declined using the [`Decline Booking` API](www.example.com) by those with Manage Booking Status permissions scopes.
|
|
12476
|
-
* Booking can be automatically declined when one of the following requirements are met:
|
|
12477
|
-
* + Invoking the `eCommerce checkout` API and the order declined event has been sent.
|
|
12478
|
-
* + Invoking the `eCommerce checkout` API and order approved event has been sent, but the booking is offline and the booking causes a double booking.
|
|
12434
|
+
*
|
|
12435
|
+
* Supported values:
|
|
12436
|
+
* - `CREATED`: The booking was created.
|
|
12437
|
+
* - `UPDATED`: The booking was updated.
|
|
12438
|
+
* - `PENDING`: The booking is waiting to be confirmed or declined by the business owner. A booking is automatically set as `PENDING` if the service is configured to require manual business onwer confirmation and an [eCommerce order](https://dev.wix.com/docs/rest/business-solutions/e-commerce/orders/introduction) was created.
|
|
12439
|
+
* - `CONFIRMED`: The booking was confirmed. A booking is automatically confirmed if the service is configured to automatically confirm bookings and an [eCommerce order](https://dev.wix.com/docs/rest/business-solutions/e-commerce/orders/introduction) was created. If the service isn't configured to automatically confirm bookings, you can use [Confirm Or Decline Booking](https://dev.wix.com/docs/rest/business-solutions/bookings/bookings-and-time-slots/bookings-v2/bookings-v2-and-confirmation/confirm-or-decline-booking).
|
|
12440
|
+
* - `DECLINED`: The booking was declined by the business owner. A booking is also declined if an [eCommerce order](https://dev.wix.com/docs/rest/business-solutions/e-commerce/orders/introduction) was created that resulted in a double booking.
|
|
12441
|
+
* - `CANCELED`: The booking was canceled.
|
|
12442
|
+
* - `WAITING_LIST`: The booking is on a wait list.
|
|
12479
12443
|
*/
|
|
12480
12444
|
status?: BookingStatus$3;
|
|
12481
12445
|
/**
|
|
@@ -15516,27 +15480,15 @@ interface Booking$1 extends BookingParticipantsInfoOneOf$1 {
|
|
|
15516
15480
|
additionalFields?: CustomFormField$1[];
|
|
15517
15481
|
/**
|
|
15518
15482
|
* Booking status.
|
|
15519
|
-
*
|
|
15520
|
-
*
|
|
15521
|
-
* - `
|
|
15522
|
-
* - `
|
|
15523
|
-
*
|
|
15524
|
-
* A booking
|
|
15525
|
-
*
|
|
15526
|
-
*
|
|
15527
|
-
* - `
|
|
15528
|
-
* The booking can be canceled using [`Cancel Booking API`](www.example.com).
|
|
15529
|
-
* - `"PENDING"` - The booking is waiting to be confirmed or declined by the owner and the booking is synced to the bookings calendar.
|
|
15530
|
-
* Bookings can be manually set as `PENDING` using the [`setAsPending` API](www.example.com), by those with Manage Booking Status permissions scopes.
|
|
15531
|
-
* Bookings can be automatically set as `PENDING` when the following requirements are met:
|
|
15532
|
-
* + The service is configured as manually confirmed.
|
|
15533
|
-
* + Invoking the eCommerce checkout API and an order has been created.
|
|
15534
|
-
* - `"WAITING_LIST"` - The booking is on a waiting list.
|
|
15535
|
-
* - `"DECLINED"` - The booking was declined by the owner and synced to the Bookings calendar.
|
|
15536
|
-
* Bookings can be manually declined using the [`Decline Booking` API](www.example.com) by those with Manage Booking Status permissions scopes.
|
|
15537
|
-
* Booking can be automatically declined when one of the following requirements are met:
|
|
15538
|
-
* + Invoking the `eCommerce checkout` API and the order declined event has been sent.
|
|
15539
|
-
* + Invoking the `eCommerce checkout` API and order approved event has been sent, but the booking is offline and the booking causes a double booking.
|
|
15483
|
+
*
|
|
15484
|
+
* Supported values:
|
|
15485
|
+
* - `CREATED`: The booking was created.
|
|
15486
|
+
* - `UPDATED`: The booking was updated.
|
|
15487
|
+
* - `PENDING`: The booking is waiting to be confirmed or declined by the business owner. A booking is automatically set as `PENDING` if the service is configured to require manual business onwer confirmation and an [eCommerce order](https://dev.wix.com/docs/rest/business-solutions/e-commerce/orders/introduction) was created.
|
|
15488
|
+
* - `CONFIRMED`: The booking was confirmed. A booking is automatically confirmed if the service is configured to automatically confirm bookings and an [eCommerce order](https://dev.wix.com/docs/rest/business-solutions/e-commerce/orders/introduction) was created. If the service isn't configured to automatically confirm bookings, you can use [Confirm Or Decline Booking](https://dev.wix.com/docs/rest/business-solutions/bookings/bookings-and-time-slots/bookings-v2/bookings-v2-and-confirmation/confirm-or-decline-booking).
|
|
15489
|
+
* - `DECLINED`: The booking was declined by the business owner. A booking is also declined if an [eCommerce order](https://dev.wix.com/docs/rest/business-solutions/e-commerce/orders/introduction) was created that resulted in a double booking.
|
|
15490
|
+
* - `CANCELED`: The booking was canceled.
|
|
15491
|
+
* - `WAITING_LIST`: The booking is on a wait list.
|
|
15540
15492
|
*/
|
|
15541
15493
|
status?: BookingStatus$1;
|
|
15542
15494
|
/**
|