@wix/auto_sdk_ecom_checkout 1.0.184 → 1.0.185
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/build/cjs/index.d.ts +10 -10
- package/build/cjs/index.js.map +1 -1
- package/build/cjs/index.typings.d.ts +30 -11
- package/build/cjs/index.typings.js.map +1 -1
- package/build/cjs/meta.d.ts +20 -1
- package/build/cjs/meta.js.map +1 -1
- package/build/es/index.d.mts +10 -10
- package/build/es/index.mjs.map +1 -1
- package/build/es/index.typings.d.mts +30 -11
- package/build/es/index.typings.mjs.map +1 -1
- package/build/es/meta.d.mts +20 -1
- package/build/es/meta.mjs.map +1 -1
- package/build/internal/cjs/index.d.ts +10 -10
- package/build/internal/cjs/index.typings.d.ts +22 -27
- package/build/internal/cjs/meta.d.ts +12 -17
- package/build/internal/es/index.d.mts +10 -10
- package/build/internal/es/index.typings.d.mts +22 -27
- package/build/internal/es/meta.d.mts +12 -17
- package/package.json +2 -2
package/build/es/meta.d.mts
CHANGED
|
@@ -714,6 +714,10 @@ interface PhysicalProperties {
|
|
|
714
714
|
sku?: string | null;
|
|
715
715
|
/** Whether this line item is shippable. */
|
|
716
716
|
shippable?: boolean;
|
|
717
|
+
/** Product dimensions (length, width, height of the physical product). */
|
|
718
|
+
productDimensions?: Dimensions;
|
|
719
|
+
/** Package dimensions (length, width, height of the shipping package). */
|
|
720
|
+
packageDimensions?: Dimensions;
|
|
717
721
|
}
|
|
718
722
|
interface Dimensions {
|
|
719
723
|
/**
|
|
@@ -819,6 +823,14 @@ interface SubscriptionSettings {
|
|
|
819
823
|
* If None => no free trial
|
|
820
824
|
*/
|
|
821
825
|
freeTrialPeriod?: FreeTrialPeriod;
|
|
826
|
+
/**
|
|
827
|
+
* Date and time the subscription starts.
|
|
828
|
+
*
|
|
829
|
+
* The first charge happens when the order is placed. When `freeTrialPeriod` is set, the first charge happens when the free trial ends.
|
|
830
|
+
*/
|
|
831
|
+
startDate?: Date | null;
|
|
832
|
+
/** Billing configuration for recurring charges. */
|
|
833
|
+
billingSettings?: BillingSettings;
|
|
822
834
|
}
|
|
823
835
|
/** Frequency unit of recurring payment */
|
|
824
836
|
declare enum SubscriptionFrequency {
|
|
@@ -842,7 +854,9 @@ interface FreeTrialPeriod {
|
|
|
842
854
|
}
|
|
843
855
|
interface BillingSettings {
|
|
844
856
|
/**
|
|
845
|
-
* Day of month
|
|
857
|
+
* Day of the month that recurring charges fall on. For example, `15` to charge on the 15th of each month.
|
|
858
|
+
*
|
|
859
|
+
* Used only when the subscription's `frequency` is `MONTH` and `interval` is `1`.
|
|
846
860
|
* @min 1
|
|
847
861
|
* @max 28
|
|
848
862
|
*/
|
|
@@ -1022,6 +1036,11 @@ interface CatalogOverrideFields {
|
|
|
1022
1036
|
* @format GUID
|
|
1023
1037
|
*/
|
|
1024
1038
|
inventoryAppId?: string | null;
|
|
1039
|
+
/**
|
|
1040
|
+
* Whether the line item quantity is fixed and can't be changed.
|
|
1041
|
+
* When not set, falls back to the value from the catalog.
|
|
1042
|
+
*/
|
|
1043
|
+
fixedQuantity?: boolean | null;
|
|
1025
1044
|
}
|
|
1026
1045
|
interface Image {
|
|
1027
1046
|
/** WixMedia image ID. */
|