@shipengine/js-api 1.19.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/labels/types.d.ts CHANGED
@@ -56,10 +56,12 @@ export type Label = {
56
56
  shipDate: string;
57
57
  shipmentCost: Money;
58
58
  shipmentId: string;
59
+ shippingRuleId: string;
59
60
  status: LabelStatus;
60
61
  trackable: boolean;
61
62
  trackingNumber: string;
62
63
  trackingStatus: string;
64
+ trackingUrl: string;
63
65
  voided: boolean;
64
66
  voidedAt: string;
65
67
  };
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@shipengine/js-api",
3
- "version": "1.19.0",
3
+ "version": "1.21.0",
4
4
  "main": "./index.js",
5
5
  "types": "./index.d.ts",
6
6
  "exports": {
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
  /**