@shipengine/js-api 4.23.0 → 4.23.1-next.1

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,8 @@ 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"
100
99
  */
101
- refundStatus?: string;
100
+ refundStatus?: RefundStatus[];
102
101
  /**
103
102
  * `serviceCode` is an optional string to limit results to only labels for
104
103
  * a specific carrier service.
@@ -165,8 +164,6 @@ export type ExportLabelsParams = {
165
164
  */
166
165
  labelId?: string;
167
166
  } & ListLabelsParams;
168
- export type LabelVoidType = "refund_assist" | "manual";
169
- export type RefundStatus = "request_scheduled" | "pending" | "approved" | "rejected" | "excluded";
170
167
  export type RefundDetails = {
171
168
  amountApproved: Money | null;
172
169
  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.1",
4
4
  "main": "./index.js",
5
5
  "types": "./index.d.ts",
6
6
  "exports": {