@shipengine/js-api 1.16.0 → 1.17.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 +10 -1
- package/package.json +1 -1
- package/rates/types.d.ts +2 -2
package/labels/types.d.ts
CHANGED
|
@@ -9,7 +9,7 @@ export type LabelChargeEvent = "carrier_default" | "on_creation" | "on_carrier_a
|
|
|
9
9
|
/**
|
|
10
10
|
* @category Entities
|
|
11
11
|
*/
|
|
12
|
-
export type LabelDisplayScheme = "label" | "qr_code";
|
|
12
|
+
export type LabelDisplayScheme = "label" | "qr_code" | "label_and_paperless";
|
|
13
13
|
/**
|
|
14
14
|
* @category Entities
|
|
15
15
|
*/
|
|
@@ -40,6 +40,7 @@ export type Label = {
|
|
|
40
40
|
labelLayout: LabelLayout;
|
|
41
41
|
packageCode: string;
|
|
42
42
|
packages: ShipmentPackage[];
|
|
43
|
+
paperlessDownload: PaperlessDownload | null;
|
|
43
44
|
relayPoints: {
|
|
44
45
|
shipFrom: RelayPoint;
|
|
45
46
|
shipTo: RelayPoint;
|
|
@@ -56,6 +57,14 @@ export type Label = {
|
|
|
56
57
|
voided: boolean;
|
|
57
58
|
voidedAt: string;
|
|
58
59
|
};
|
|
60
|
+
/**
|
|
61
|
+
* @category Entities
|
|
62
|
+
*/
|
|
63
|
+
export type PaperlessDownload = {
|
|
64
|
+
handoffCode: string;
|
|
65
|
+
href: string;
|
|
66
|
+
instructions: string;
|
|
67
|
+
};
|
|
59
68
|
/**
|
|
60
69
|
* @category Entities
|
|
61
70
|
*/
|
package/package.json
CHANGED
package/rates/types.d.ts
CHANGED
|
@@ -13,9 +13,9 @@ export type RateDetailType = "uncategorized" | "shipping" | "insurance" | "confi
|
|
|
13
13
|
*/
|
|
14
14
|
export type RateDetail = {
|
|
15
15
|
amount: Money;
|
|
16
|
-
carrierBillingCode: string;
|
|
16
|
+
carrierBillingCode: string | null;
|
|
17
17
|
carrierDescription: string;
|
|
18
|
-
carrierMemo: string;
|
|
18
|
+
carrierMemo: string | null;
|
|
19
19
|
rateDetailType: RateDetailType;
|
|
20
20
|
};
|
|
21
21
|
/**
|