@shipengine/js-api 1.20.0 → 1.21.0
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/package.json +1 -1
- package/rates/types.d.ts +13 -0
package/package.json
CHANGED
package/rates/types.d.ts
CHANGED
|
@@ -8,6 +8,18 @@ export type RateType = "check" | "shipment";
|
|
|
8
8
|
* @category Entities
|
|
9
9
|
*/
|
|
10
10
|
export type RateDetailType = "uncategorized" | "shipping" | "insurance" | "confirmation" | "discount" | "fuel_charge" | "additional_fees" | "tariff" | "tax" | "delivery" | "handling" | "special_goods" | "pickup" | "location_fee" | "oversize" | "returns" | "notifications" | "tip" | "duties_and_taxes" | "brokerage_fee" | "admin_fee" | "adjustment";
|
|
11
|
+
/**
|
|
12
|
+
* @category Entities
|
|
13
|
+
*/
|
|
14
|
+
export type TaxType = "VAT";
|
|
15
|
+
/**
|
|
16
|
+
* @category Entities
|
|
17
|
+
*/
|
|
18
|
+
export type RateDetailAttributes = {
|
|
19
|
+
taxCode: string;
|
|
20
|
+
taxPercentage: number;
|
|
21
|
+
taxType: TaxType;
|
|
22
|
+
};
|
|
11
23
|
/**
|
|
12
24
|
* @category Entities
|
|
13
25
|
*/
|
|
@@ -16,6 +28,7 @@ export type RateDetail = {
|
|
|
16
28
|
carrierBillingCode: string | null;
|
|
17
29
|
carrierDescription: string;
|
|
18
30
|
carrierMemo: string | null;
|
|
31
|
+
rateDetailAttributes: RateDetailAttributes | null;
|
|
19
32
|
rateDetailType: RateDetailType;
|
|
20
33
|
};
|
|
21
34
|
/**
|