@wix/auto_sdk_ecom_cart 1.0.190 → 1.0.192
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 +9 -9
- package/build/cjs/index.js.map +1 -1
- package/build/cjs/index.typings.d.ts +29 -10
- 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 +9 -9
- package/build/es/index.mjs.map +1 -1
- package/build/es/index.typings.d.mts +29 -10
- 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 +29 -27
- package/build/internal/cjs/meta.d.ts +19 -17
- package/build/internal/es/index.d.mts +10 -10
- package/build/internal/es/index.typings.d.mts +29 -27
- package/build/internal/es/meta.d.mts +19 -17
- package/package.json +2 -2
package/build/cjs/meta.d.ts
CHANGED
|
@@ -529,6 +529,10 @@ interface PhysicalProperties {
|
|
|
529
529
|
sku?: string | null;
|
|
530
530
|
/** Whether this line item is shippable. */
|
|
531
531
|
shippable?: boolean;
|
|
532
|
+
/** Product dimensions (length, width, height of the physical product). */
|
|
533
|
+
productDimensions?: Dimensions;
|
|
534
|
+
/** Package dimensions (length, width, height of the shipping package). */
|
|
535
|
+
packageDimensions?: Dimensions;
|
|
532
536
|
}
|
|
533
537
|
interface Dimensions {
|
|
534
538
|
/**
|
|
@@ -634,6 +638,14 @@ interface SubscriptionSettings {
|
|
|
634
638
|
* If None => no free trial
|
|
635
639
|
*/
|
|
636
640
|
freeTrialPeriod?: FreeTrialPeriod;
|
|
641
|
+
/**
|
|
642
|
+
* Date and time the subscription starts.
|
|
643
|
+
*
|
|
644
|
+
* The first charge happens when the order is placed. When `freeTrialPeriod` is set, the first charge happens when the free trial ends.
|
|
645
|
+
*/
|
|
646
|
+
startDate?: Date | null;
|
|
647
|
+
/** Billing configuration for recurring charges. */
|
|
648
|
+
billingSettings?: BillingSettings;
|
|
637
649
|
}
|
|
638
650
|
/** Frequency unit of recurring payment */
|
|
639
651
|
declare enum SubscriptionFrequency {
|
|
@@ -657,7 +669,9 @@ interface FreeTrialPeriod {
|
|
|
657
669
|
}
|
|
658
670
|
interface BillingSettings {
|
|
659
671
|
/**
|
|
660
|
-
* Day of month
|
|
672
|
+
* Day of the month that recurring charges fall on. For example, `15` to charge on the 15th of each month.
|
|
673
|
+
*
|
|
674
|
+
* Used only when the subscription's `frequency` is `MONTH` and `interval` is `1`.
|
|
661
675
|
* @min 1
|
|
662
676
|
* @max 28
|
|
663
677
|
*/
|
|
@@ -851,6 +865,11 @@ interface CatalogOverrideFields {
|
|
|
851
865
|
* @format GUID
|
|
852
866
|
*/
|
|
853
867
|
inventoryAppId?: string | null;
|
|
868
|
+
/**
|
|
869
|
+
* Whether the line item quantity is fixed and can't be changed.
|
|
870
|
+
* When not set, falls back to the value from the catalog.
|
|
871
|
+
*/
|
|
872
|
+
fixedQuantity?: boolean | null;
|
|
854
873
|
}
|
|
855
874
|
interface Image {
|
|
856
875
|
/** WixMedia image ID. */
|