@wix/bookings 1.0.430 → 1.0.432
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.432",
|
|
4
4
|
"publishConfig": {
|
|
5
5
|
"registry": "https://registry.npmjs.org/",
|
|
6
6
|
"access": "public"
|
|
@@ -27,11 +27,11 @@
|
|
|
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",
|
|
34
|
-
"@wix/bookings_services": "1.0.
|
|
34
|
+
"@wix/bookings_services": "1.0.65",
|
|
35
35
|
"@wix/bookings_staff-members": "1.0.0"
|
|
36
36
|
},
|
|
37
37
|
"devDependencies": {
|
|
@@ -57,5 +57,5 @@
|
|
|
57
57
|
"fqdn": ""
|
|
58
58
|
}
|
|
59
59
|
},
|
|
60
|
-
"falconPackageHash": "
|
|
60
|
+
"falconPackageHash": "9f20780da6f2c7c0f25598ea1e46cfeb399419dc8e47ba063783d533"
|
|
61
61
|
}
|
|
@@ -10967,9 +10967,15 @@ interface StaffMember$1 {
|
|
|
10967
10967
|
* @readonly
|
|
10968
10968
|
*/
|
|
10969
10969
|
staffMemberId?: string;
|
|
10970
|
-
/**
|
|
10970
|
+
/**
|
|
10971
|
+
* Name of the staff member
|
|
10972
|
+
* @readonly
|
|
10973
|
+
*/
|
|
10971
10974
|
name?: string | null;
|
|
10972
|
-
/**
|
|
10975
|
+
/**
|
|
10976
|
+
* Main media associated with the service.
|
|
10977
|
+
* @readonly
|
|
10978
|
+
*/
|
|
10973
10979
|
mainMedia?: StaffMediaItem;
|
|
10974
10980
|
}
|
|
10975
10981
|
interface StaffMediaItem extends StaffMediaItemItemOneOf {
|
|
@@ -23279,16 +23285,14 @@ declare namespace context$1 {
|
|
|
23279
23285
|
interface PriceInfo extends PriceInfoTotalPriceOneOf {
|
|
23280
23286
|
/**
|
|
23281
23287
|
* Calculated total price. Available only when the
|
|
23282
|
-
* service's
|
|
23288
|
+
* [service](https://dev.wix.com/docs/sdk/backend-modules/bookings/services/get-service)'s
|
|
23283
23289
|
* price has been set up as a numerical value in the
|
|
23284
23290
|
* `schedule.rate.labeledPriceOptions` object.
|
|
23285
23291
|
*/
|
|
23286
23292
|
calculatedPrice?: number;
|
|
23287
23293
|
/**
|
|
23288
|
-
* Description of the total price.
|
|
23289
|
-
*
|
|
23290
|
-
* price has been set up as a text value in the
|
|
23291
|
-
* `schedule.rate.priceText` property.
|
|
23294
|
+
* Description of the total price. __Deprecated.__ Use `priceDescriptionInfo.original` instead.
|
|
23295
|
+
* `priceDescription` will be removed on March 31, 2025.
|
|
23292
23296
|
* @deprecated Description of the total price. Available only when the
|
|
23293
23297
|
* [service](https://dev.wix.com/api/rest/wix-bookings/services/service/create-service)'s
|
|
23294
23298
|
* price has been set up as a text value in the
|
|
@@ -23298,8 +23302,8 @@ interface PriceInfo extends PriceInfoTotalPriceOneOf {
|
|
|
23298
23302
|
*/
|
|
23299
23303
|
priceDescription?: string;
|
|
23300
23304
|
/**
|
|
23301
|
-
* Description of the total price. Available only when the [service](https://dev.wix.com/docs/
|
|
23302
|
-
* 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`.
|
|
23303
23307
|
*/
|
|
23304
23308
|
priceDescriptionInfo?: PriceDescriptionInfo;
|
|
23305
23309
|
/** List of line items, including the number of participants and the price per participant. */
|
|
@@ -23315,16 +23319,15 @@ interface PriceInfo extends PriceInfoTotalPriceOneOf {
|
|
|
23315
23319
|
interface PriceInfoTotalPriceOneOf {
|
|
23316
23320
|
/**
|
|
23317
23321
|
* Calculated total price. Available only when the
|
|
23318
|
-
* [service](https://dev.wix.com/
|
|
23319
|
-
* price has been set up as a numerical value in
|
|
23320
|
-
*
|
|
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
|
+
*
|
|
23321
23326
|
*/
|
|
23322
23327
|
calculatedPrice?: number;
|
|
23323
23328
|
/**
|
|
23324
|
-
* Description of the total price.
|
|
23325
|
-
*
|
|
23326
|
-
* price has been set up as a text value in the
|
|
23327
|
-
* [`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.
|
|
23328
23331
|
* @deprecated Description of the total price. Available only when the
|
|
23329
23332
|
* [service](https://dev.wix.com/api/rest/wix-bookings/services/service/create-service)'s
|
|
23330
23333
|
* price has been set up as a text value in the
|
|
@@ -23334,8 +23337,8 @@ interface PriceInfoTotalPriceOneOf {
|
|
|
23334
23337
|
*/
|
|
23335
23338
|
priceDescription?: string;
|
|
23336
23339
|
/**
|
|
23337
|
-
* Description of the total price. Available only when the [service](https://dev.wix.com/docs/
|
|
23338
|
-
* 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`.
|
|
23339
23342
|
*/
|
|
23340
23343
|
priceDescriptionInfo?: PriceDescriptionInfo;
|
|
23341
23344
|
}
|
|
@@ -23388,9 +23391,9 @@ interface ServiceChoiceChoiceOneOf {
|
|
|
23388
23391
|
custom?: string;
|
|
23389
23392
|
}
|
|
23390
23393
|
interface PriceDescriptionInfo {
|
|
23391
|
-
/**
|
|
23394
|
+
/** Price description in the site's [primary language](https://dev.wix.com/docs/sdk/frontend-modules/window/multilingual/site-languages). */
|
|
23392
23395
|
original?: string;
|
|
23393
|
-
/**
|
|
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). */
|
|
23394
23397
|
translated?: string | null;
|
|
23395
23398
|
}
|
|
23396
23399
|
interface PreviewPriceRequest {
|
|
@@ -10967,9 +10967,15 @@ interface StaffMember$1 {
|
|
|
10967
10967
|
* @readonly
|
|
10968
10968
|
*/
|
|
10969
10969
|
staffMemberId?: string;
|
|
10970
|
-
/**
|
|
10970
|
+
/**
|
|
10971
|
+
* Name of the staff member
|
|
10972
|
+
* @readonly
|
|
10973
|
+
*/
|
|
10971
10974
|
name?: string | null;
|
|
10972
|
-
/**
|
|
10975
|
+
/**
|
|
10976
|
+
* Main media associated with the service.
|
|
10977
|
+
* @readonly
|
|
10978
|
+
*/
|
|
10973
10979
|
mainMedia?: StaffMediaItem;
|
|
10974
10980
|
}
|
|
10975
10981
|
interface StaffMediaItem extends StaffMediaItemItemOneOf {
|
|
@@ -23279,16 +23285,14 @@ declare namespace index_d$1 {
|
|
|
23279
23285
|
interface PriceInfo extends PriceInfoTotalPriceOneOf {
|
|
23280
23286
|
/**
|
|
23281
23287
|
* Calculated total price. Available only when the
|
|
23282
|
-
* service's
|
|
23288
|
+
* [service](https://dev.wix.com/docs/sdk/backend-modules/bookings/services/get-service)'s
|
|
23283
23289
|
* price has been set up as a numerical value in the
|
|
23284
23290
|
* `schedule.rate.labeledPriceOptions` object.
|
|
23285
23291
|
*/
|
|
23286
23292
|
calculatedPrice?: number;
|
|
23287
23293
|
/**
|
|
23288
|
-
* Description of the total price.
|
|
23289
|
-
*
|
|
23290
|
-
* price has been set up as a text value in the
|
|
23291
|
-
* `schedule.rate.priceText` property.
|
|
23294
|
+
* Description of the total price. __Deprecated.__ Use `priceDescriptionInfo.original` instead.
|
|
23295
|
+
* `priceDescription` will be removed on March 31, 2025.
|
|
23292
23296
|
* @deprecated Description of the total price. Available only when the
|
|
23293
23297
|
* [service](https://dev.wix.com/api/rest/wix-bookings/services/service/create-service)'s
|
|
23294
23298
|
* price has been set up as a text value in the
|
|
@@ -23298,8 +23302,8 @@ interface PriceInfo extends PriceInfoTotalPriceOneOf {
|
|
|
23298
23302
|
*/
|
|
23299
23303
|
priceDescription?: string;
|
|
23300
23304
|
/**
|
|
23301
|
-
* Description of the total price. Available only when the [service](https://dev.wix.com/docs/
|
|
23302
|
-
* 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`.
|
|
23303
23307
|
*/
|
|
23304
23308
|
priceDescriptionInfo?: PriceDescriptionInfo;
|
|
23305
23309
|
/** List of line items, including the number of participants and the price per participant. */
|
|
@@ -23315,16 +23319,15 @@ interface PriceInfo extends PriceInfoTotalPriceOneOf {
|
|
|
23315
23319
|
interface PriceInfoTotalPriceOneOf {
|
|
23316
23320
|
/**
|
|
23317
23321
|
* Calculated total price. Available only when the
|
|
23318
|
-
* [service](https://dev.wix.com/
|
|
23319
|
-
* price has been set up as a numerical value in
|
|
23320
|
-
*
|
|
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
|
+
*
|
|
23321
23326
|
*/
|
|
23322
23327
|
calculatedPrice?: number;
|
|
23323
23328
|
/**
|
|
23324
|
-
* Description of the total price.
|
|
23325
|
-
*
|
|
23326
|
-
* price has been set up as a text value in the
|
|
23327
|
-
* [`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.
|
|
23328
23331
|
* @deprecated Description of the total price. Available only when the
|
|
23329
23332
|
* [service](https://dev.wix.com/api/rest/wix-bookings/services/service/create-service)'s
|
|
23330
23333
|
* price has been set up as a text value in the
|
|
@@ -23334,8 +23337,8 @@ interface PriceInfoTotalPriceOneOf {
|
|
|
23334
23337
|
*/
|
|
23335
23338
|
priceDescription?: string;
|
|
23336
23339
|
/**
|
|
23337
|
-
* Description of the total price. Available only when the [service](https://dev.wix.com/docs/
|
|
23338
|
-
* 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`.
|
|
23339
23342
|
*/
|
|
23340
23343
|
priceDescriptionInfo?: PriceDescriptionInfo;
|
|
23341
23344
|
}
|
|
@@ -23388,9 +23391,9 @@ interface ServiceChoiceChoiceOneOf {
|
|
|
23388
23391
|
custom?: string;
|
|
23389
23392
|
}
|
|
23390
23393
|
interface PriceDescriptionInfo {
|
|
23391
|
-
/**
|
|
23394
|
+
/** Price description in the site's [primary language](https://dev.wix.com/docs/sdk/frontend-modules/window/multilingual/site-languages). */
|
|
23392
23395
|
original?: string;
|
|
23393
|
-
/**
|
|
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). */
|
|
23394
23397
|
translated?: string | null;
|
|
23395
23398
|
}
|
|
23396
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 {
|