@shipengine/js-api 1.16.1 → 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.
Files changed (2) hide show
  1. package/labels/types.d.ts +10 -1
  2. package/package.json +1 -1
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
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@shipengine/js-api",
3
- "version": "1.16.1",
3
+ "version": "1.17.0",
4
4
  "main": "./index.js",
5
5
  "types": "./index.d.ts",
6
6
  "exports": {