Latest Threat Research:SANDWORM_MODE: Shai-Hulud-Style npm Worm Hijacks CI Workflows and Poisons AI Toolchains.Details
Socket
Book a DemoInstallSign in
Socket

@shipengine/js-api

Package Overview
Dependencies
Maintainers
43
Versions
230
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

@shipengine/js-api - npm Package Compare versions

Comparing version
4.22.0
to
4.22.1-next.0
+19
-0
labels/types.d.ts

@@ -42,2 +42,3 @@ import { Address } from "../addresses";

rateDetails: RateDetail[];
refundDetails: RefundDetails | null;
relayPoints: {

@@ -62,2 +63,3 @@ shipFrom: RelayPoint;

voidedAt: string | null;
voidType: LabelVoidType | null;
};

@@ -96,2 +98,9 @@ export type PaperlessDownload = {

/**
* `refundStatus` is an optional string to filter results by refund status.
* Can be a single status or multiple comma-separated statuses.
* @example "pending"
* @example "pending,approved"
*/
refundStatus?: string;
/**
* `serviceCode` is an optional string to limit results to only labels for

@@ -162,1 +171,11 @@ * a specific carrier service.

} & ListLabelsParams;
export type LabelVoidType = "refund_assist" | "manual";
export type RefundStatus = "request_scheduled" | "pending" | "approved" | "rejected" | "excluded";
export type RefundDetails = {
amountApproved: Money | null;
amountCredited: Money | null;
amountPaid: Money | null;
amountRequested: Money | null;
refundStatus: RefundStatus;
requestDate: string;
};
+1
-1
{
"name": "@shipengine/js-api",
"version": "4.22.0",
"version": "4.22.1-next.0",
"main": "./index.js",

@@ -5,0 +5,0 @@ "types": "./index.d.ts",