@wix/auto_sdk_ecom_checkout-templates 1.0.165 → 1.0.166
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.js.map +1 -1
- package/build/cjs/index.typings.d.ts +20 -1
- 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.mjs.map +1 -1
- package/build/es/index.typings.d.mts +20 -1
- 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.typings.d.ts +12 -17
- package/build/internal/cjs/meta.d.ts +12 -17
- package/build/internal/es/index.typings.d.mts +12 -17
- package/build/internal/es/meta.d.mts +12 -17
- package/package.json +2 -2
|
@@ -182,6 +182,11 @@ interface CatalogOverrideFields {
|
|
|
182
182
|
* @format GUID
|
|
183
183
|
*/
|
|
184
184
|
inventoryAppId?: string | null;
|
|
185
|
+
/**
|
|
186
|
+
* Whether the line item quantity is fixed and can't be changed.
|
|
187
|
+
* When not set, falls back to the value from the catalog.
|
|
188
|
+
*/
|
|
189
|
+
fixedQuantity?: boolean | null;
|
|
185
190
|
}
|
|
186
191
|
interface ProductName {
|
|
187
192
|
/**
|
|
@@ -286,6 +291,10 @@ interface PhysicalProperties {
|
|
|
286
291
|
sku?: string | null;
|
|
287
292
|
/** Whether this line item is shippable. */
|
|
288
293
|
shippable?: boolean;
|
|
294
|
+
/** Product dimensions (length, width, height of the physical product). */
|
|
295
|
+
productDimensions?: Dimensions;
|
|
296
|
+
/** Package dimensions (length, width, height of the shipping package). */
|
|
297
|
+
packageDimensions?: Dimensions;
|
|
289
298
|
}
|
|
290
299
|
interface Dimensions {
|
|
291
300
|
/**
|
|
@@ -572,6 +581,14 @@ interface SubscriptionSettings {
|
|
|
572
581
|
* If None => no free trial
|
|
573
582
|
*/
|
|
574
583
|
freeTrialPeriod?: FreeTrialPeriod;
|
|
584
|
+
/**
|
|
585
|
+
* Date and time the subscription starts.
|
|
586
|
+
*
|
|
587
|
+
* The first charge happens when the order is placed. When `freeTrialPeriod` is set, the first charge happens when the free trial ends.
|
|
588
|
+
*/
|
|
589
|
+
startDate?: Date | null;
|
|
590
|
+
/** Billing configuration for recurring charges. */
|
|
591
|
+
billingSettings?: BillingSettings;
|
|
575
592
|
}
|
|
576
593
|
/** Frequency unit of recurring payment */
|
|
577
594
|
declare enum SubscriptionFrequency {
|
|
@@ -595,7 +612,9 @@ interface FreeTrialPeriod {
|
|
|
595
612
|
}
|
|
596
613
|
interface BillingSettings {
|
|
597
614
|
/**
|
|
598
|
-
* Day of month
|
|
615
|
+
* Day of the month that recurring charges fall on. For example, `15` to charge on the 15th of each month.
|
|
616
|
+
*
|
|
617
|
+
* Used only when the subscription's `frequency` is `MONTH` and `interval` is `1`.
|
|
599
618
|
* @min 1
|
|
600
619
|
* @max 28
|
|
601
620
|
*/
|