@wix/bookings 1.0.408 → 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.408",
3
+ "version": "1.0.409",
4
4
  "publishConfig": {
5
5
  "registry": "https://registry.npmjs.org/",
6
6
  "access": "public"
@@ -21,12 +21,12 @@
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.40",
24
+ "@wix/bookings_bookings": "1.0.41",
25
25
  "@wix/bookings_categories": "1.0.29",
26
- "@wix/bookings_extended-bookings": "1.0.33",
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.25",
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
32
  "@wix/bookings_services": "1.0.52"
@@ -54,5 +54,5 @@
54
54
  "fqdn": ""
55
55
  }
56
56
  },
57
- "falconPackageHash": "9e53e677e85e51f9543ee9a26a96f3e28191a9dc735dfa6c9e81967f"
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
- * One of:
3014
- * - `"CREATED"` - The booking was created.
3015
- * - `"UPDATED"` - The booking was updated.
3016
- * - `"CONFIRMED"` - The booking was confirmed and appears on the bookings calendar.
3017
- * A booking can be manually confirmed using the [`Confirm Or Decline API`](www.example.com).
3018
- * A booking can be automatically confirmed when the following requirements are met:
3019
- * + The service is configured as automatically confirmed.
3020
- * + The system invoked the eCommerce checkout API and created an order.
3021
- * - `"CANCELED"` - The booking has been canceled and synced to the bookings calendar.
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
- * One of:
8393
- * - `"CREATED"` - The booking was created.
8394
- * - `"UPDATED"` - The booking was updated.
8395
- * - `"CONFIRMED"` - The booking was confirmed and appears on the bookings calendar.
8396
- * A booking can be manually confirmed using the [`Confirm Or Decline API`](www.example.com).
8397
- * A booking can be automatically confirmed when the following requirements are met:
8398
- * + The service is configured as automatically confirmed.
8399
- * + The system invoked the eCommerce checkout API and created an order.
8400
- * - `"CANCELED"` - The booking has been canceled and synced to the bookings calendar.
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
  /**
@@ -7126,27 +7126,15 @@ interface Booking$5 extends BookingParticipantsInfoOneOf$5 {
7126
7126
  additionalFields?: CustomFormField$5[];
7127
7127
  /**
7128
7128
  * Booking status.
7129
- * One of:
7130
- * - `"CREATED"` - The booking was created.
7131
- * - `"UPDATED"` - The booking was updated.
7132
- * - `"CONFIRMED"` - The booking was confirmed and appears on the bookings calendar.
7133
- * A booking can be manually confirmed using the [`Confirm Or Decline API`](www.example.com).
7134
- * A booking can be automatically confirmed when the following requirements are met:
7135
- * + The service is configured as automatically confirmed.
7136
- * + The system invoked the eCommerce checkout API and created an order.
7137
- * - `"CANCELED"` - The booking has been canceled and synced to the bookings calendar.
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
- * One of:
7852
- * - `"CREATED"` - The booking was created.
7853
- * - `"UPDATED"` - The booking was updated.
7854
- * - `"CONFIRMED"` - The booking was confirmed and appears on the bookings calendar.
7855
- * A booking can be manually confirmed using the [`Confirm Or Decline API`](www.example.com).
7856
- * A booking can be automatically confirmed when the following requirements are met:
7857
- * + The service is configured as automatically confirmed.
7858
- * + The system invoked the eCommerce checkout API and created an order.
7859
- * - `"CANCELED"` - The booking has been canceled and synced to the bookings calendar.
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
- * One of:
12459
- * - `"CREATED"` - The booking was created.
12460
- * - `"UPDATED"` - The booking was updated.
12461
- * - `"CONFIRMED"` - The booking was confirmed and appears on the bookings calendar.
12462
- * A booking can be manually confirmed using the [`Confirm Or Decline API`](www.example.com).
12463
- * A booking can be automatically confirmed when the following requirements are met:
12464
- * + The service is configured as automatically confirmed.
12465
- * + The system invoked the eCommerce checkout API and created an order.
12466
- * - `"CANCELED"` - The booking has been canceled and synced to the bookings calendar.
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
- * One of:
15520
- * - `"CREATED"` - The booking was created.
15521
- * - `"UPDATED"` - The booking was updated.
15522
- * - `"CONFIRMED"` - The booking was confirmed and appears on the bookings calendar.
15523
- * A booking can be manually confirmed using the [`Confirm Or Decline API`](www.example.com).
15524
- * A booking can be automatically confirmed when the following requirements are met:
15525
- * + The service is configured as automatically confirmed.
15526
- * + The system invoked the eCommerce checkout API and created an order.
15527
- * - `"CANCELED"` - The booking has been canceled and synced to the bookings calendar.
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
  /**