@wix/auto_sdk_ecom_cart 1.0.102 → 1.0.103
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 +35 -7
- package/build/cjs/index.typings.js.map +1 -1
- package/build/cjs/meta.d.ts +25 -5
- package/build/cjs/meta.js.map +1 -1
- package/build/es/index.mjs.map +1 -1
- package/build/es/index.typings.d.mts +35 -7
- package/build/es/index.typings.mjs.map +1 -1
- package/build/es/meta.d.mts +25 -5
- package/build/es/meta.mjs.map +1 -1
- package/build/internal/cjs/index.js.map +1 -1
- package/build/internal/cjs/index.typings.d.ts +35 -7
- package/build/internal/cjs/index.typings.js.map +1 -1
- package/build/internal/cjs/meta.d.ts +25 -5
- package/build/internal/cjs/meta.js.map +1 -1
- package/build/internal/es/index.mjs.map +1 -1
- package/build/internal/es/index.typings.d.mts +35 -7
- package/build/internal/es/index.typings.mjs.map +1 -1
- package/build/internal/es/meta.d.mts +25 -5
- package/build/internal/es/meta.mjs.map +1 -1
- package/package.json +3 -3
|
@@ -1411,7 +1411,11 @@ interface AddToCurrentCartAndEstimateTotalsRequest {
|
|
|
1411
1411
|
* @maxSize 100
|
|
1412
1412
|
*/
|
|
1413
1413
|
customLineItems?: CustomLineItem[];
|
|
1414
|
-
/**
|
|
1414
|
+
/**
|
|
1415
|
+
* Selected shipping option.
|
|
1416
|
+
*
|
|
1417
|
+
* Pass this field only when there is no existing shipping option in the cart.
|
|
1418
|
+
*/
|
|
1415
1419
|
selectedShippingOption?: SelectedShippingOption;
|
|
1416
1420
|
/** Shipping address. Used for calculating tax and shipping (when applicable). */
|
|
1417
1421
|
shippingAddress?: Address;
|
|
@@ -2470,7 +2474,11 @@ interface CreateCheckoutFromCurrentCartRequest {
|
|
|
2470
2474
|
shippingAddress?: Address;
|
|
2471
2475
|
/** Billing address. Used for calculating tax if all the items in the cart are not shippable. */
|
|
2472
2476
|
billingAddress?: Address;
|
|
2473
|
-
/**
|
|
2477
|
+
/**
|
|
2478
|
+
* Selected shipping option.
|
|
2479
|
+
*
|
|
2480
|
+
* Pass this field only when there is no existing shipping option in the cart.
|
|
2481
|
+
*/
|
|
2474
2482
|
selectedShippingOption?: SelectedShippingOption;
|
|
2475
2483
|
/**
|
|
2476
2484
|
* Required when setting billing or shipping address and user is not logged in.
|
|
@@ -2552,7 +2560,11 @@ interface UpdateLineItemsQuantityResponse {
|
|
|
2552
2560
|
cart?: Cart;
|
|
2553
2561
|
}
|
|
2554
2562
|
interface EstimateCurrentCartTotalsRequest {
|
|
2555
|
-
/**
|
|
2563
|
+
/**
|
|
2564
|
+
* Selected shipping option
|
|
2565
|
+
*
|
|
2566
|
+
* Pass this field only when there is no existing shipping option in the cart.
|
|
2567
|
+
*/
|
|
2556
2568
|
selectedShippingOption?: SelectedShippingOption;
|
|
2557
2569
|
/** Shipping address. Used for calculating tax and shipping (when applicable). */
|
|
2558
2570
|
shippingAddress?: Address;
|
|
@@ -2825,7 +2837,11 @@ interface CreateCheckoutRequest {
|
|
|
2825
2837
|
shippingAddress?: Address;
|
|
2826
2838
|
/** Billing address. Used for calculating tax if all the items in the cart are not shippable. */
|
|
2827
2839
|
billingAddress?: Address;
|
|
2828
|
-
/**
|
|
2840
|
+
/**
|
|
2841
|
+
* Selected shipping option.
|
|
2842
|
+
*
|
|
2843
|
+
* Pass this field only when there is no existing shipping option in the cart.
|
|
2844
|
+
*/
|
|
2829
2845
|
selectedShippingOption?: SelectedShippingOption;
|
|
2830
2846
|
/**
|
|
2831
2847
|
* Required when setting a billing or shipping address if the site visitor isn't logged in.
|
|
@@ -2859,7 +2875,11 @@ interface EstimateTotalsRequest {
|
|
|
2859
2875
|
* @format GUID
|
|
2860
2876
|
*/
|
|
2861
2877
|
id: string;
|
|
2862
|
-
/**
|
|
2878
|
+
/**
|
|
2879
|
+
* Selected shipping option.
|
|
2880
|
+
*
|
|
2881
|
+
* Pass this field only when there is no existing shipping option in the cart.
|
|
2882
|
+
*/
|
|
2863
2883
|
selectedShippingOption?: SelectedShippingOption;
|
|
2864
2884
|
/** Shipping address. Used for calculating tax and shipping (when applicable). */
|
|
2865
2885
|
shippingAddress?: Address;
|