@commercengine/storefront-sdk 0.4.0 → 0.4.2
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/dist/index.d.cts
CHANGED
|
@@ -2500,36 +2500,18 @@ interface components {
|
|
|
2500
2500
|
* @description Subtotal including tax.
|
|
2501
2501
|
*/
|
|
2502
2502
|
subtotal_including_tax: number;
|
|
2503
|
-
/**
|
|
2504
|
-
|
|
2505
|
-
|
|
2506
|
-
|
|
2507
|
-
|
|
2508
|
-
|
|
2509
|
-
|
|
2510
|
-
|
|
2511
|
-
|
|
2512
|
-
|
|
2513
|
-
/**
|
|
2514
|
-
|
|
2515
|
-
* @description Shipping amount chargable to customer.
|
|
2516
|
-
*/
|
|
2517
|
-
shipping_amount: number;
|
|
2518
|
-
/**
|
|
2519
|
-
* Format: double
|
|
2520
|
-
* @description Shipping tax rate applied on shipping amount.
|
|
2521
|
-
*/
|
|
2522
|
-
shipping_tax_rate: number;
|
|
2523
|
-
/**
|
|
2524
|
-
* Format: double
|
|
2525
|
-
* @description Tax applied on shipping_amount.
|
|
2526
|
-
*/
|
|
2527
|
-
shipping_tax_amount: number;
|
|
2528
|
-
/**
|
|
2529
|
-
* Format: double
|
|
2530
|
-
* @description Shipping amount including shipping tax.
|
|
2531
|
-
*/
|
|
2532
|
-
shipping_amount_including_tax: number;
|
|
2503
|
+
/** @description Estimated cost of shipping. */
|
|
2504
|
+
shipping_estimated_cost: number | null;
|
|
2505
|
+
/** @description Discount applied on estimated shipping cost. */
|
|
2506
|
+
shipping_discount_amount: number | null;
|
|
2507
|
+
/** @description Shipping amount chargable to customer. */
|
|
2508
|
+
shipping_amount: number | null;
|
|
2509
|
+
/** @description Shipping tax rate applied on shipping amount. */
|
|
2510
|
+
shipping_tax_rate: number | null;
|
|
2511
|
+
/** @description Tax applied on shipping_amount. */
|
|
2512
|
+
shipping_tax_amount: number | null;
|
|
2513
|
+
/** @description Shipping amount including shipping tax. */
|
|
2514
|
+
shipping_amount_including_tax: number | null;
|
|
2533
2515
|
shipping_provider_id: string | null;
|
|
2534
2516
|
shipping_provider_name: string | null;
|
|
2535
2517
|
courier_company_id: string | null;
|
package/dist/index.d.ts
CHANGED
|
@@ -2500,36 +2500,18 @@ interface components {
|
|
|
2500
2500
|
* @description Subtotal including tax.
|
|
2501
2501
|
*/
|
|
2502
2502
|
subtotal_including_tax: number;
|
|
2503
|
-
/**
|
|
2504
|
-
|
|
2505
|
-
|
|
2506
|
-
|
|
2507
|
-
|
|
2508
|
-
|
|
2509
|
-
|
|
2510
|
-
|
|
2511
|
-
|
|
2512
|
-
|
|
2513
|
-
/**
|
|
2514
|
-
|
|
2515
|
-
* @description Shipping amount chargable to customer.
|
|
2516
|
-
*/
|
|
2517
|
-
shipping_amount: number;
|
|
2518
|
-
/**
|
|
2519
|
-
* Format: double
|
|
2520
|
-
* @description Shipping tax rate applied on shipping amount.
|
|
2521
|
-
*/
|
|
2522
|
-
shipping_tax_rate: number;
|
|
2523
|
-
/**
|
|
2524
|
-
* Format: double
|
|
2525
|
-
* @description Tax applied on shipping_amount.
|
|
2526
|
-
*/
|
|
2527
|
-
shipping_tax_amount: number;
|
|
2528
|
-
/**
|
|
2529
|
-
* Format: double
|
|
2530
|
-
* @description Shipping amount including shipping tax.
|
|
2531
|
-
*/
|
|
2532
|
-
shipping_amount_including_tax: number;
|
|
2503
|
+
/** @description Estimated cost of shipping. */
|
|
2504
|
+
shipping_estimated_cost: number | null;
|
|
2505
|
+
/** @description Discount applied on estimated shipping cost. */
|
|
2506
|
+
shipping_discount_amount: number | null;
|
|
2507
|
+
/** @description Shipping amount chargable to customer. */
|
|
2508
|
+
shipping_amount: number | null;
|
|
2509
|
+
/** @description Shipping tax rate applied on shipping amount. */
|
|
2510
|
+
shipping_tax_rate: number | null;
|
|
2511
|
+
/** @description Tax applied on shipping_amount. */
|
|
2512
|
+
shipping_tax_amount: number | null;
|
|
2513
|
+
/** @description Shipping amount including shipping tax. */
|
|
2514
|
+
shipping_amount_including_tax: number | null;
|
|
2533
2515
|
shipping_provider_id: string | null;
|
|
2534
2516
|
shipping_provider_name: string | null;
|
|
2535
2517
|
courier_company_id: string | null;
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@commercengine/storefront-sdk",
|
|
3
|
-
"version": "0.4.
|
|
3
|
+
"version": "0.4.2",
|
|
4
4
|
"description": "TypeScript SDK for the Storefront API",
|
|
5
5
|
"type": "module",
|
|
6
6
|
"main": "dist/index.js",
|
|
@@ -8,9 +8,9 @@
|
|
|
8
8
|
"exports": {
|
|
9
9
|
".": {
|
|
10
10
|
"types": "./dist/index.d.ts",
|
|
11
|
-
"browser": "./dist/index.iife.js",
|
|
12
11
|
"import": "./dist/index.js",
|
|
13
|
-
"require": "./dist/index.cjs"
|
|
12
|
+
"require": "./dist/index.cjs",
|
|
13
|
+
"browser": "./dist/index.iife.js"
|
|
14
14
|
}
|
|
15
15
|
},
|
|
16
16
|
"files": [
|
|
File without changes
|