@shipengine/js-api 4.23.0 → 4.23.1-next.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
@@ -10,6 +10,8 @@ export type LabelFormat = "pdf" | "png" | "zpl";
10
10
  export type LabelLayout = "4x6" | "letter";
11
11
  export type LabelStatus = "processing" | "completed" | "error" | "voided";
12
12
  export type LabelTrackingStatus = "unknown" | "in_transit" | "delivered" | "error";
13
+ export type LabelVoidType = "refund_assist" | "manual";
14
+ export type RefundStatus = "request_scheduled" | "pending" | "approved" | "rejected" | "excluded";
13
15
  /**
14
16
  * Columns available for label exports
15
17
  */
@@ -94,11 +96,9 @@ export type ListLabelsParams = {
94
96
  rateId?: string;
95
97
  /**
96
98
  * `refundStatus` is an optional string to filter results by refund status.
97
- * Can be a single status or multiple comma-separated statuses.
98
- * @example "pending"
99
- * @example "pending,approved"
99
+ * Can be a single status or multiple comma-separated statuses
100
100
  */
101
- refundStatus?: string;
101
+ refundStatus?: RefundStatus[] | RefundStatus;
102
102
  /**
103
103
  * `serviceCode` is an optional string to limit results to only labels for
104
104
  * a specific carrier service.
@@ -165,8 +165,6 @@ export type ExportLabelsParams = {
165
165
  */
166
166
  labelId?: string;
167
167
  } & ListLabelsParams;
168
- export type LabelVoidType = "refund_assist" | "manual";
169
- export type RefundStatus = "request_scheduled" | "pending" | "approved" | "rejected" | "excluded";
170
168
  export type RefundDetails = {
171
169
  amountApproved: Money | null;
172
170
  amountCredited: Money | null;
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@shipengine/js-api",
3
- "version": "4.23.0",
3
+ "version": "4.23.1-next.0",
4
4
  "main": "./index.js",
5
5
  "types": "./index.d.ts",
6
6
  "exports": {