@wix/bookings 1.0.1755 → 1.0.1757
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/_sdk-exports/context-booking-checkout/runtime.d.ts +42 -1
- package/_sdk-exports/context-booking-checkout/runtime.js +3 -2
- package/_sdk-exports/context-categories/runtime.d.ts +1 -1
- package/_sdk-exports/context-categories/runtime.js +2 -1
- package/_sdk-exports/context-locations/runtime.d.ts +1 -1
- package/_sdk-exports/context-locations/runtime.js +2 -1
- package/_sdk-exports/context-service/runtime.d.ts +42 -1
- package/_sdk-exports/context-service/runtime.js +3 -2
- package/_sdk-exports/context-service-addons/runtime.d.ts +1 -1
- package/_sdk-exports/context-service-addons/runtime.js +2 -1
- package/_sdk-exports/context-services/runtime.d.ts +42 -1
- package/_sdk-exports/context-services/runtime.js +3 -2
- package/_sdk-exports/context-time-slots/runtime.d.ts +22 -9
- package/_sdk-exports/context-time-slots/runtime.js +3 -2
- package/build/cjs/context-booking-checkout.d.ts +42 -1
- package/build/cjs/context-booking-checkout.js +1346 -1344
- package/build/cjs/context-booking-checkout.js.map +1 -1
- package/build/cjs/context-categories.d.ts +1 -1
- package/build/cjs/context-categories.js +116 -114
- package/build/cjs/context-categories.js.map +1 -1
- package/build/cjs/context-locations.d.ts +1 -1
- package/build/cjs/context-locations.js +126 -124
- package/build/cjs/context-locations.js.map +1 -1
- package/build/cjs/context-service-addons.d.ts +1 -1
- package/build/cjs/context-service-addons.js +323 -321
- package/build/cjs/context-service-addons.js.map +1 -1
- package/build/cjs/context-service.d.ts +42 -1
- package/build/cjs/context-service.js +1517 -1515
- package/build/cjs/context-service.js.map +1 -1
- package/build/cjs/context-services.d.ts +42 -1
- package/build/cjs/context-services.js +460 -458
- package/build/cjs/context-services.js.map +1 -1
- package/build/cjs/context-time-slots.d.ts +22 -9
- package/build/cjs/context-time-slots.js +1033 -1000
- package/build/cjs/context-time-slots.js.map +1 -1
- package/build/es/context-booking-checkout.d.mts +42 -1
- package/build/es/context-booking-checkout.mjs +1346 -1344
- package/build/es/context-booking-checkout.mjs.map +1 -1
- package/build/es/context-categories.d.mts +1 -1
- package/build/es/context-categories.mjs +116 -114
- package/build/es/context-categories.mjs.map +1 -1
- package/build/es/context-locations.d.mts +1 -1
- package/build/es/context-locations.mjs +126 -124
- package/build/es/context-locations.mjs.map +1 -1
- package/build/es/context-service-addons.d.mts +1 -1
- package/build/es/context-service-addons.mjs +323 -321
- package/build/es/context-service-addons.mjs.map +1 -1
- package/build/es/context-service.d.mts +42 -1
- package/build/es/context-service.mjs +1517 -1515
- package/build/es/context-service.mjs.map +1 -1
- package/build/es/context-services.d.mts +42 -1
- package/build/es/context-services.mjs +460 -458
- package/build/es/context-services.mjs.map +1 -1
- package/build/es/context-time-slots.d.mts +22 -9
- package/build/es/context-time-slots.mjs +1033 -1000
- package/build/es/context-time-slots.mjs.map +1 -1
- package/build/internal/cjs/context-booking-checkout.d.ts +42 -1
- package/build/internal/cjs/context-categories.d.ts +1 -1
- package/build/internal/cjs/context-locations.d.ts +1 -1
- package/build/internal/cjs/context-service-addons.d.ts +1 -1
- package/build/internal/cjs/context-service.d.ts +42 -1
- package/build/internal/cjs/context-services.d.ts +42 -1
- package/build/internal/cjs/context-time-slots.d.ts +22 -9
- package/build/internal/es/context-booking-checkout.d.mts +42 -1
- package/build/internal/es/context-categories.d.mts +1 -1
- package/build/internal/es/context-locations.d.mts +1 -1
- package/build/internal/es/context-service-addons.d.mts +1 -1
- package/build/internal/es/context-service.d.mts +42 -1
- package/build/internal/es/context-services.d.mts +42 -1
- package/build/internal/es/context-time-slots.d.mts +22 -9
- package/package.json +2 -2
|
@@ -524,7 +524,7 @@ interface ExtendedFields$1 {
|
|
|
524
524
|
namespaces?: Record<string, Record<string, any>>;
|
|
525
525
|
}
|
|
526
526
|
//#endregion
|
|
527
|
-
//#region ../../node_modules/@wix/auto_sdk_bookings_services/build/es/bookings-services-v2-service-services.universal-
|
|
527
|
+
//#region ../../node_modules/@wix/auto_sdk_bookings_services/build/es/bookings-services-v2-service-services.universal-p5eQUd5f.d.mts
|
|
528
528
|
/** The `service` object represents an offering that a business provides to its customers. */
|
|
529
529
|
interface Service {
|
|
530
530
|
/**
|
|
@@ -899,6 +899,12 @@ interface FixedPayment {
|
|
|
899
899
|
* Default: `false`.
|
|
900
900
|
*/
|
|
901
901
|
fullUpfrontPaymentAllowed?: boolean | null;
|
|
902
|
+
/**
|
|
903
|
+
* The deposit required to book the service, expressed as either a fixed amount or a percentage of the price.
|
|
904
|
+
*
|
|
905
|
+
* Used only when `paymentOptions.deposit` is `true`.
|
|
906
|
+
*/
|
|
907
|
+
depositDetails?: DepositDetails;
|
|
902
908
|
}
|
|
903
909
|
/**
|
|
904
910
|
* Money.
|
|
@@ -927,6 +933,35 @@ interface Money$1 {
|
|
|
927
933
|
* A deposit expressed as exactly one of a fixed monetary amount or a percentage of the full service price.
|
|
928
934
|
* Structurally exclusive: at most one of `amount` or `percentage` may be set.
|
|
929
935
|
*/
|
|
936
|
+
interface DepositDetails extends DepositDetailsValueOneOf {
|
|
937
|
+
/** The deposit as a fixed monetary amount. */
|
|
938
|
+
amount?: Money$1;
|
|
939
|
+
/**
|
|
940
|
+
* The deposit as a percentage of the full service price, for example `20` for 20% or `20.5` for 20.5%.
|
|
941
|
+
* Resolved to a concrete amount when the customer books.
|
|
942
|
+
*
|
|
943
|
+
* Min: `0.01` percent
|
|
944
|
+
* Max: `99.99` percent
|
|
945
|
+
* @format DECIMAL_VALUE
|
|
946
|
+
* @decimalValue options { gte:0.01, lte:99.99, maxScale:2 }
|
|
947
|
+
*/
|
|
948
|
+
percentage?: string | null;
|
|
949
|
+
}
|
|
950
|
+
/** @oneof */
|
|
951
|
+
interface DepositDetailsValueOneOf {
|
|
952
|
+
/** The deposit as a fixed monetary amount. */
|
|
953
|
+
amount?: Money$1;
|
|
954
|
+
/**
|
|
955
|
+
* The deposit as a percentage of the full service price, for example `20` for 20% or `20.5` for 20.5%.
|
|
956
|
+
* Resolved to a concrete amount when the customer books.
|
|
957
|
+
*
|
|
958
|
+
* Min: `0.01` percent
|
|
959
|
+
* Max: `99.99` percent
|
|
960
|
+
* @format DECIMAL_VALUE
|
|
961
|
+
* @decimalValue options { gte:0.01, lte:99.99, maxScale:2 }
|
|
962
|
+
*/
|
|
963
|
+
percentage?: string | null;
|
|
964
|
+
}
|
|
930
965
|
interface CustomPayment {
|
|
931
966
|
/**
|
|
932
967
|
* A custom description explaining to the customer how to pay for the service.
|
|
@@ -961,6 +996,12 @@ interface VariedPayment {
|
|
|
961
996
|
* Default: `false`.
|
|
962
997
|
*/
|
|
963
998
|
fullUpfrontPaymentAllowed?: boolean | null;
|
|
999
|
+
/**
|
|
1000
|
+
* The deposit required to book the service, expressed as either a fixed amount or a percentage of the price.
|
|
1001
|
+
*
|
|
1002
|
+
* Used only when `paymentOptions.deposit` is `true`.
|
|
1003
|
+
*/
|
|
1004
|
+
depositDetails?: DepositDetails;
|
|
964
1005
|
}
|
|
965
1006
|
interface SubscriptionPayment {
|
|
966
1007
|
/**
|