@wix/bookings 1.0.431 → 1.0.433
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.433",
|
|
4
4
|
"publishConfig": {
|
|
5
5
|
"registry": "https://registry.npmjs.org/",
|
|
6
6
|
"access": "public"
|
|
@@ -22,12 +22,12 @@
|
|
|
22
22
|
"@wix/bookings_availability-calendar": "1.0.33",
|
|
23
23
|
"@wix/bookings_availability-time-slots": "1.0.29",
|
|
24
24
|
"@wix/bookings_booking-policies": "1.0.0",
|
|
25
|
-
"@wix/bookings_bookings": "1.0.
|
|
25
|
+
"@wix/bookings_bookings": "1.0.49",
|
|
26
26
|
"@wix/bookings_categories": "1.0.34",
|
|
27
27
|
"@wix/bookings_extended-bookings": "1.0.41",
|
|
28
28
|
"@wix/bookings_external-calendars": "1.0.31",
|
|
29
29
|
"@wix/bookings_multi-service-availability-time-slots": "1.0.28",
|
|
30
|
-
"@wix/bookings_pricing": "1.0.
|
|
30
|
+
"@wix/bookings_pricing": "1.0.32",
|
|
31
31
|
"@wix/bookings_resource-types": "1.0.0",
|
|
32
32
|
"@wix/bookings_resources": "1.0.34",
|
|
33
33
|
"@wix/bookings_service-options-and-variants": "1.0.43",
|
|
@@ -57,5 +57,5 @@
|
|
|
57
57
|
"fqdn": ""
|
|
58
58
|
}
|
|
59
59
|
},
|
|
60
|
-
"falconPackageHash": "
|
|
60
|
+
"falconPackageHash": "0a87a0abe338c85d9c254c51742382d031cdb3af571d6729391c7fe0"
|
|
61
61
|
}
|
|
@@ -23285,16 +23285,14 @@ declare namespace context$1 {
|
|
|
23285
23285
|
interface PriceInfo extends PriceInfoTotalPriceOneOf {
|
|
23286
23286
|
/**
|
|
23287
23287
|
* Calculated total price. Available only when the
|
|
23288
|
-
* service's
|
|
23288
|
+
* [service](https://dev.wix.com/docs/sdk/backend-modules/bookings/services/get-service)'s
|
|
23289
23289
|
* price has been set up as a numerical value in the
|
|
23290
23290
|
* `schedule.rate.labeledPriceOptions` object.
|
|
23291
23291
|
*/
|
|
23292
23292
|
calculatedPrice?: number;
|
|
23293
23293
|
/**
|
|
23294
|
-
* Description of the total price.
|
|
23295
|
-
*
|
|
23296
|
-
* price has been set up as a text value in the
|
|
23297
|
-
* `schedule.rate.priceText` property.
|
|
23294
|
+
* Description of the total price. __Deprecated.__ Use `priceDescriptionInfo.original` instead.
|
|
23295
|
+
* `priceDescription` will be removed on March 31, 2025.
|
|
23298
23296
|
* @deprecated Description of the total price. Available only when the
|
|
23299
23297
|
* [service](https://dev.wix.com/api/rest/wix-bookings/services/service/create-service)'s
|
|
23300
23298
|
* price has been set up as a text value in the
|
|
@@ -23304,8 +23302,8 @@ interface PriceInfo extends PriceInfoTotalPriceOneOf {
|
|
|
23304
23302
|
*/
|
|
23305
23303
|
priceDescription?: string;
|
|
23306
23304
|
/**
|
|
23307
|
-
* Description of the total price. Available only when the [service](https://dev.wix.com/docs/
|
|
23308
|
-
* rateType is CUSTOM
|
|
23305
|
+
* Description of the total price. Available only when the [service](https://dev.wix.com/docs/sdk/backend-modules/bookings/services/get-service)'s
|
|
23306
|
+
* `payment.rateType` is set to `CUSTOM`.
|
|
23309
23307
|
*/
|
|
23310
23308
|
priceDescriptionInfo?: PriceDescriptionInfo;
|
|
23311
23309
|
/** List of line items, including the number of participants and the price per participant. */
|
|
@@ -23321,16 +23319,15 @@ interface PriceInfo extends PriceInfoTotalPriceOneOf {
|
|
|
23321
23319
|
interface PriceInfoTotalPriceOneOf {
|
|
23322
23320
|
/**
|
|
23323
23321
|
* Calculated total price. Available only when the
|
|
23324
|
-
* [service](https://dev.wix.com/
|
|
23325
|
-
* price has been set up as a numerical value in
|
|
23326
|
-
*
|
|
23322
|
+
* [service](https://dev.wix.com/docs/sdk/backend-modules/bookings/services/get-service)'s
|
|
23323
|
+
* price has been set up as a numerical value in
|
|
23324
|
+
* `schedule.rate.labeledPriceOptions`.
|
|
23325
|
+
*
|
|
23327
23326
|
*/
|
|
23328
23327
|
calculatedPrice?: number;
|
|
23329
23328
|
/**
|
|
23330
|
-
* Description of the total price.
|
|
23331
|
-
*
|
|
23332
|
-
* price has been set up as a text value in the
|
|
23333
|
-
* [`schedule.rate.priceText`](https://dev.wix.com/api/rest/wix-bookings/schedules-and-sessions/schedule/schedule-object) property.
|
|
23329
|
+
* Description of the total price. __Deprecated.__ Use `priceDescriptionInfo.original` instead.
|
|
23330
|
+
* `priceDescription` will be removed on March 31, 2025.
|
|
23334
23331
|
* @deprecated Description of the total price. Available only when the
|
|
23335
23332
|
* [service](https://dev.wix.com/api/rest/wix-bookings/services/service/create-service)'s
|
|
23336
23333
|
* price has been set up as a text value in the
|
|
@@ -23340,8 +23337,8 @@ interface PriceInfoTotalPriceOneOf {
|
|
|
23340
23337
|
*/
|
|
23341
23338
|
priceDescription?: string;
|
|
23342
23339
|
/**
|
|
23343
|
-
* Description of the total price. Available only when the [service](https://dev.wix.com/docs/
|
|
23344
|
-
* rateType is CUSTOM
|
|
23340
|
+
* Description of the total price. Available only when the [service](https://dev.wix.com/docs/sdk/backend-modules/bookings/services/get-service)'s
|
|
23341
|
+
* `payment.rateType` is set to `CUSTOM`.
|
|
23345
23342
|
*/
|
|
23346
23343
|
priceDescriptionInfo?: PriceDescriptionInfo;
|
|
23347
23344
|
}
|
|
@@ -23394,9 +23391,9 @@ interface ServiceChoiceChoiceOneOf {
|
|
|
23394
23391
|
custom?: string;
|
|
23395
23392
|
}
|
|
23396
23393
|
interface PriceDescriptionInfo {
|
|
23397
|
-
/**
|
|
23394
|
+
/** Price description in the site's [primary language](https://dev.wix.com/docs/sdk/frontend-modules/window/multilingual/site-languages). */
|
|
23398
23395
|
original?: string;
|
|
23399
|
-
/**
|
|
23396
|
+
/** Translated price description. Available if the customer booked in a language other than the site's [primary language](https://dev.wix.com/docs/sdk/frontend-modules/window/multilingual/site-languages). */
|
|
23400
23397
|
translated?: string | null;
|
|
23401
23398
|
}
|
|
23402
23399
|
interface PreviewPriceRequest {
|
|
@@ -23285,16 +23285,14 @@ declare namespace index_d$1 {
|
|
|
23285
23285
|
interface PriceInfo extends PriceInfoTotalPriceOneOf {
|
|
23286
23286
|
/**
|
|
23287
23287
|
* Calculated total price. Available only when the
|
|
23288
|
-
* service's
|
|
23288
|
+
* [service](https://dev.wix.com/docs/sdk/backend-modules/bookings/services/get-service)'s
|
|
23289
23289
|
* price has been set up as a numerical value in the
|
|
23290
23290
|
* `schedule.rate.labeledPriceOptions` object.
|
|
23291
23291
|
*/
|
|
23292
23292
|
calculatedPrice?: number;
|
|
23293
23293
|
/**
|
|
23294
|
-
* Description of the total price.
|
|
23295
|
-
*
|
|
23296
|
-
* price has been set up as a text value in the
|
|
23297
|
-
* `schedule.rate.priceText` property.
|
|
23294
|
+
* Description of the total price. __Deprecated.__ Use `priceDescriptionInfo.original` instead.
|
|
23295
|
+
* `priceDescription` will be removed on March 31, 2025.
|
|
23298
23296
|
* @deprecated Description of the total price. Available only when the
|
|
23299
23297
|
* [service](https://dev.wix.com/api/rest/wix-bookings/services/service/create-service)'s
|
|
23300
23298
|
* price has been set up as a text value in the
|
|
@@ -23304,8 +23302,8 @@ interface PriceInfo extends PriceInfoTotalPriceOneOf {
|
|
|
23304
23302
|
*/
|
|
23305
23303
|
priceDescription?: string;
|
|
23306
23304
|
/**
|
|
23307
|
-
* Description of the total price. Available only when the [service](https://dev.wix.com/docs/
|
|
23308
|
-
* rateType is CUSTOM
|
|
23305
|
+
* Description of the total price. Available only when the [service](https://dev.wix.com/docs/sdk/backend-modules/bookings/services/get-service)'s
|
|
23306
|
+
* `payment.rateType` is set to `CUSTOM`.
|
|
23309
23307
|
*/
|
|
23310
23308
|
priceDescriptionInfo?: PriceDescriptionInfo;
|
|
23311
23309
|
/** List of line items, including the number of participants and the price per participant. */
|
|
@@ -23321,16 +23319,15 @@ interface PriceInfo extends PriceInfoTotalPriceOneOf {
|
|
|
23321
23319
|
interface PriceInfoTotalPriceOneOf {
|
|
23322
23320
|
/**
|
|
23323
23321
|
* Calculated total price. Available only when the
|
|
23324
|
-
* [service](https://dev.wix.com/
|
|
23325
|
-
* price has been set up as a numerical value in
|
|
23326
|
-
*
|
|
23322
|
+
* [service](https://dev.wix.com/docs/sdk/backend-modules/bookings/services/get-service)'s
|
|
23323
|
+
* price has been set up as a numerical value in
|
|
23324
|
+
* `schedule.rate.labeledPriceOptions`.
|
|
23325
|
+
*
|
|
23327
23326
|
*/
|
|
23328
23327
|
calculatedPrice?: number;
|
|
23329
23328
|
/**
|
|
23330
|
-
* Description of the total price.
|
|
23331
|
-
*
|
|
23332
|
-
* price has been set up as a text value in the
|
|
23333
|
-
* [`schedule.rate.priceText`](https://dev.wix.com/api/rest/wix-bookings/schedules-and-sessions/schedule/schedule-object) property.
|
|
23329
|
+
* Description of the total price. __Deprecated.__ Use `priceDescriptionInfo.original` instead.
|
|
23330
|
+
* `priceDescription` will be removed on March 31, 2025.
|
|
23334
23331
|
* @deprecated Description of the total price. Available only when the
|
|
23335
23332
|
* [service](https://dev.wix.com/api/rest/wix-bookings/services/service/create-service)'s
|
|
23336
23333
|
* price has been set up as a text value in the
|
|
@@ -23340,8 +23337,8 @@ interface PriceInfoTotalPriceOneOf {
|
|
|
23340
23337
|
*/
|
|
23341
23338
|
priceDescription?: string;
|
|
23342
23339
|
/**
|
|
23343
|
-
* Description of the total price. Available only when the [service](https://dev.wix.com/docs/
|
|
23344
|
-
* rateType is CUSTOM
|
|
23340
|
+
* Description of the total price. Available only when the [service](https://dev.wix.com/docs/sdk/backend-modules/bookings/services/get-service)'s
|
|
23341
|
+
* `payment.rateType` is set to `CUSTOM`.
|
|
23345
23342
|
*/
|
|
23346
23343
|
priceDescriptionInfo?: PriceDescriptionInfo;
|
|
23347
23344
|
}
|
|
@@ -23394,9 +23391,9 @@ interface ServiceChoiceChoiceOneOf {
|
|
|
23394
23391
|
custom?: string;
|
|
23395
23392
|
}
|
|
23396
23393
|
interface PriceDescriptionInfo {
|
|
23397
|
-
/**
|
|
23394
|
+
/** Price description in the site's [primary language](https://dev.wix.com/docs/sdk/frontend-modules/window/multilingual/site-languages). */
|
|
23398
23395
|
original?: string;
|
|
23399
|
-
/**
|
|
23396
|
+
/** Translated price description. Available if the customer booked in a language other than the site's [primary language](https://dev.wix.com/docs/sdk/frontend-modules/window/multilingual/site-languages). */
|
|
23400
23397
|
translated?: string | null;
|
|
23401
23398
|
}
|
|
23402
23399
|
interface PreviewPriceRequest {
|
|
@@ -17720,16 +17720,14 @@ interface CalculatePriceResponseNonNullableFields$1 {
|
|
|
17720
17720
|
interface PriceInfo extends PriceInfoTotalPriceOneOf {
|
|
17721
17721
|
/**
|
|
17722
17722
|
* Calculated total price. Available only when the
|
|
17723
|
-
* service's
|
|
17723
|
+
* [service](https://dev.wix.com/docs/sdk/backend-modules/bookings/services/get-service)'s
|
|
17724
17724
|
* price has been set up as a numerical value in the
|
|
17725
17725
|
* `schedule.rate.labeledPriceOptions` object.
|
|
17726
17726
|
*/
|
|
17727
17727
|
calculatedPrice?: number;
|
|
17728
17728
|
/**
|
|
17729
|
-
* Description of the total price.
|
|
17730
|
-
*
|
|
17731
|
-
* price has been set up as a text value in the
|
|
17732
|
-
* `schedule.rate.priceText` property.
|
|
17729
|
+
* Description of the total price. __Deprecated.__ Use `priceDescriptionInfo.original` instead.
|
|
17730
|
+
* `priceDescription` will be removed on March 31, 2025.
|
|
17733
17731
|
* @deprecated Description of the total price. Available only when the
|
|
17734
17732
|
* [service](https://dev.wix.com/api/rest/wix-bookings/services/service/create-service)'s
|
|
17735
17733
|
* price has been set up as a text value in the
|
|
@@ -17739,8 +17737,8 @@ interface PriceInfo extends PriceInfoTotalPriceOneOf {
|
|
|
17739
17737
|
*/
|
|
17740
17738
|
priceDescription?: string;
|
|
17741
17739
|
/**
|
|
17742
|
-
* Description of the total price. Available only when the [service](https://dev.wix.com/docs/
|
|
17743
|
-
* rateType is CUSTOM
|
|
17740
|
+
* Description of the total price. Available only when the [service](https://dev.wix.com/docs/sdk/backend-modules/bookings/services/get-service)'s
|
|
17741
|
+
* `payment.rateType` is set to `CUSTOM`.
|
|
17744
17742
|
*/
|
|
17745
17743
|
priceDescriptionInfo?: PriceDescriptionInfo;
|
|
17746
17744
|
/** List of line items, including the number of participants and the price per participant. */
|
|
@@ -17756,16 +17754,15 @@ interface PriceInfo extends PriceInfoTotalPriceOneOf {
|
|
|
17756
17754
|
interface PriceInfoTotalPriceOneOf {
|
|
17757
17755
|
/**
|
|
17758
17756
|
* Calculated total price. Available only when the
|
|
17759
|
-
* [service](https://dev.wix.com/
|
|
17760
|
-
* price has been set up as a numerical value in
|
|
17761
|
-
*
|
|
17757
|
+
* [service](https://dev.wix.com/docs/sdk/backend-modules/bookings/services/get-service)'s
|
|
17758
|
+
* price has been set up as a numerical value in
|
|
17759
|
+
* `schedule.rate.labeledPriceOptions`.
|
|
17760
|
+
*
|
|
17762
17761
|
*/
|
|
17763
17762
|
calculatedPrice?: number;
|
|
17764
17763
|
/**
|
|
17765
|
-
* Description of the total price.
|
|
17766
|
-
*
|
|
17767
|
-
* price has been set up as a text value in the
|
|
17768
|
-
* [`schedule.rate.priceText`](https://dev.wix.com/api/rest/wix-bookings/schedules-and-sessions/schedule/schedule-object) property.
|
|
17764
|
+
* Description of the total price. __Deprecated.__ Use `priceDescriptionInfo.original` instead.
|
|
17765
|
+
* `priceDescription` will be removed on March 31, 2025.
|
|
17769
17766
|
* @deprecated Description of the total price. Available only when the
|
|
17770
17767
|
* [service](https://dev.wix.com/api/rest/wix-bookings/services/service/create-service)'s
|
|
17771
17768
|
* price has been set up as a text value in the
|
|
@@ -17775,8 +17772,8 @@ interface PriceInfoTotalPriceOneOf {
|
|
|
17775
17772
|
*/
|
|
17776
17773
|
priceDescription?: string;
|
|
17777
17774
|
/**
|
|
17778
|
-
* Description of the total price. Available only when the [service](https://dev.wix.com/docs/
|
|
17779
|
-
* rateType is CUSTOM
|
|
17775
|
+
* Description of the total price. Available only when the [service](https://dev.wix.com/docs/sdk/backend-modules/bookings/services/get-service)'s
|
|
17776
|
+
* `payment.rateType` is set to `CUSTOM`.
|
|
17780
17777
|
*/
|
|
17781
17778
|
priceDescriptionInfo?: PriceDescriptionInfo;
|
|
17782
17779
|
}
|
|
@@ -17829,9 +17826,9 @@ interface ServiceChoiceChoiceOneOf {
|
|
|
17829
17826
|
custom?: string;
|
|
17830
17827
|
}
|
|
17831
17828
|
interface PriceDescriptionInfo {
|
|
17832
|
-
/**
|
|
17829
|
+
/** Price description in the site's [primary language](https://dev.wix.com/docs/sdk/frontend-modules/window/multilingual/site-languages). */
|
|
17833
17830
|
original?: string;
|
|
17834
|
-
/**
|
|
17831
|
+
/** Translated price description. Available if the customer booked in a language other than the site's [primary language](https://dev.wix.com/docs/sdk/frontend-modules/window/multilingual/site-languages). */
|
|
17835
17832
|
translated?: string | null;
|
|
17836
17833
|
}
|
|
17837
17834
|
interface PreviewPriceRequest {
|