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
232
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.5.1
to
4.6.0
+7
-1
connections/api.d.ts
import { AxiosInstance } from "axios";
import { CarrierServicesListResponse, ConnectCarrierAccount, ConnectCarrierAccountResponse, ConnectionsCarrierName, ConnectionsCarrierSettingsData, ConnectionsCarrierSettingsResponse, GetCarrierConnectionFormParams, GetCarrierConnectionFormResponse, ListCarrierConnectionsParams, ListCarrierConnectionsResponse } from "./types";
import { CarrierServicesListResponse, ConnectCarrierAccount, ConnectCarrierAccountResponse, ConnectionsCarrierName, ConnectionsCarrierSettingsData, ConnectionsCarrierSettingsResponse, GetCarrierConnectionFormParams, GetCarrierConnectionFormResponse, ListCarrierConnectionsParams, ListCarrierConnectionsResponse, RequestStampsAccountUrlParams, RequestStampsAccountUrlResponse } from "./types";
/**

@@ -37,2 +37,8 @@ * # Connections API module - /v1/connections

updateCarrierSettings: <T extends ConnectionsCarrierName>(carrierName: T, carrierId: string, formData: ConnectionsCarrierSettingsData<T>) => Promise<import("axios").AxiosResponse<void, any>>;
/**
* The `requestStampsAccountUrls` method request the Web Client Home URL from Stamps for a given
* Stamps SE Carrier ID
* @docs https://auctane.atlassian.net/wiki/spaces/SEEU/pages/6228738069/ENGINE-9471+Endicia+web+client+communication
*/
requestStampsAccountUrls: ({ carrierId, ...rest }: RequestStampsAccountUrlParams) => Promise<import("axios").AxiosResponse<RequestStampsAccountUrlResponse, any>>;
}

@@ -19,4 +19,9 @@ import { CarrierService } from "../carriers/types";

};
export type StampsAccountUrlTypes = "account_settings" | "report_balances" | "manifest_form" | "payment_methods" | "web_client_home";
export type ListCarrierConnectionsParams = LocaleBasedQuery;
export type GetCarrierConnectionFormParams = LocaleBasedQuery;
export type RequestStampsAccountUrlParams = {
carrierId: string;
urlTypes: StampsAccountUrlTypes[];
};
export type ConnectCarrierAccount = {

@@ -28,2 +33,8 @@ nickname: string;

*/
export type RequestStampsAccountUrlResponse = {
urls: Array<{
url: string;
urlType: string;
}>;
};
export type GetCarrierConnectionFormResponse = {

@@ -30,0 +41,0 @@ formMetadata: {

+1
-1
{
"name": "@shipengine/js-api",
"version": "4.5.1",
"version": "4.6.0",
"main": "./index.js",

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

Sorry, the diff of this file is too big to display

Sorry, the diff of this file is too big to display