@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
|
@@ -1226,7 +1226,7 @@ interface ExtendedFields$1 {
|
|
|
1226
1226
|
namespaces?: Record<string, Record<string, any>>;
|
|
1227
1227
|
}
|
|
1228
1228
|
//#endregion
|
|
1229
|
-
//#region ../../node_modules/@wix/auto_sdk_bookings_services/build/es/bookings-services-v2-service-services.universal-
|
|
1229
|
+
//#region ../../node_modules/@wix/auto_sdk_bookings_services/build/es/bookings-services-v2-service-services.universal-p5eQUd5f.d.mts
|
|
1230
1230
|
/** The `service` object represents an offering that a business provides to its customers. */
|
|
1231
1231
|
interface Service {
|
|
1232
1232
|
/**
|
|
@@ -1601,6 +1601,12 @@ interface FixedPayment {
|
|
|
1601
1601
|
* Default: `false`.
|
|
1602
1602
|
*/
|
|
1603
1603
|
fullUpfrontPaymentAllowed?: boolean | null;
|
|
1604
|
+
/**
|
|
1605
|
+
* The deposit required to book the service, expressed as either a fixed amount or a percentage of the price.
|
|
1606
|
+
*
|
|
1607
|
+
* Used only when `paymentOptions.deposit` is `true`.
|
|
1608
|
+
*/
|
|
1609
|
+
depositDetails?: DepositDetails;
|
|
1604
1610
|
}
|
|
1605
1611
|
/**
|
|
1606
1612
|
* Money.
|
|
@@ -1629,6 +1635,35 @@ interface Money {
|
|
|
1629
1635
|
* A deposit expressed as exactly one of a fixed monetary amount or a percentage of the full service price.
|
|
1630
1636
|
* Structurally exclusive: at most one of `amount` or `percentage` may be set.
|
|
1631
1637
|
*/
|
|
1638
|
+
interface DepositDetails extends DepositDetailsValueOneOf {
|
|
1639
|
+
/** The deposit as a fixed monetary amount. */
|
|
1640
|
+
amount?: Money;
|
|
1641
|
+
/**
|
|
1642
|
+
* The deposit as a percentage of the full service price, for example `20` for 20% or `20.5` for 20.5%.
|
|
1643
|
+
* Resolved to a concrete amount when the customer books.
|
|
1644
|
+
*
|
|
1645
|
+
* Min: `0.01` percent
|
|
1646
|
+
* Max: `99.99` percent
|
|
1647
|
+
* @format DECIMAL_VALUE
|
|
1648
|
+
* @decimalValue options { gte:0.01, lte:99.99, maxScale:2 }
|
|
1649
|
+
*/
|
|
1650
|
+
percentage?: string | null;
|
|
1651
|
+
}
|
|
1652
|
+
/** @oneof */
|
|
1653
|
+
interface DepositDetailsValueOneOf {
|
|
1654
|
+
/** The deposit as a fixed monetary amount. */
|
|
1655
|
+
amount?: Money;
|
|
1656
|
+
/**
|
|
1657
|
+
* The deposit as a percentage of the full service price, for example `20` for 20% or `20.5` for 20.5%.
|
|
1658
|
+
* Resolved to a concrete amount when the customer books.
|
|
1659
|
+
*
|
|
1660
|
+
* Min: `0.01` percent
|
|
1661
|
+
* Max: `99.99` percent
|
|
1662
|
+
* @format DECIMAL_VALUE
|
|
1663
|
+
* @decimalValue options { gte:0.01, lte:99.99, maxScale:2 }
|
|
1664
|
+
*/
|
|
1665
|
+
percentage?: string | null;
|
|
1666
|
+
}
|
|
1632
1667
|
interface CustomPayment {
|
|
1633
1668
|
/**
|
|
1634
1669
|
* A custom description explaining to the customer how to pay for the service.
|
|
@@ -1663,6 +1698,12 @@ interface VariedPayment {
|
|
|
1663
1698
|
* Default: `false`.
|
|
1664
1699
|
*/
|
|
1665
1700
|
fullUpfrontPaymentAllowed?: boolean | null;
|
|
1701
|
+
/**
|
|
1702
|
+
* The deposit required to book the service, expressed as either a fixed amount or a percentage of the price.
|
|
1703
|
+
*
|
|
1704
|
+
* Used only when `paymentOptions.deposit` is `true`.
|
|
1705
|
+
*/
|
|
1706
|
+
depositDetails?: DepositDetails;
|
|
1666
1707
|
}
|
|
1667
1708
|
interface SubscriptionPayment {
|
|
1668
1709
|
/**
|