Huge News!Announcing our $40M Series B led by Abstract Ventures.Learn More
Socket
Sign inDemoInstall
Socket

@easypost/api

Package Overview
Dependencies
Maintainers
7
Versions
80
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

@easypost/api - npm Package Compare versions

Comparing version 7.1.0 to 7.2.0

4

CHANGELOG.md
# CHANGELOG
## v7.2.0 (2024-01-22)
- Adds missing exports to Typescript definitions (ApiKey, Billing, Brand, EndShipper, Fee, PaymentMethod, Rate, Refund) - closes #433
## v7.1.0 (2024-01-08)

@@ -4,0 +8,0 @@

2

package.json
{
"name": "@easypost/api",
"description": "EasyPost Node Client Library",
"version": "7.1.0",
"version": "7.2.0",
"author": "Easypost Engineering <oss@easypost.com>",

@@ -6,0 +6,0 @@ "homepage": "https://easypost.com",

import { Address } from './Address';
import { ApiKey } from './ApiKey';
import { Batch } from './Batch';
import { CarrierAccount, CarrierType, CarrierMetadata } from './Carrier';
import { Billing } from './Billing';
import { Brand } from './Brand';
import { CarrierAccount, CarrierMetadata, CarrierType } from './Carrier';
import { CustomsInfo, CustomsItem } from './Customs';
import { EndShipper } from './EndShipper';
import { Event } from './Event';
import { Fee } from './Fee';
import { Insurance } from './Insurance';
import { Order } from './Order';
import { Parcel } from './Parcel';
import { PaymentMethod } from './PaymentMethod';
import { Pickup } from './Pickup';
import { Rate } from './Rate';
import { Referral } from './Referral';
import { Refund } from './Refund';
import { Report } from './Report';

@@ -65,3 +73,6 @@ import { ScanForm } from './ScanForm';

public Address: typeof Address;
public ApiKey: typeof ApiKey;
public Batch: typeof Batch;
public Billing: typeof Billing;
public Brand: typeof Brand;
public CarrierAccount: typeof CarrierAccount;

@@ -72,15 +83,20 @@ public CarrierMetadata: typeof CarrierMetadata;

public CustomsItem: typeof CustomsItem;
public EndShipper: typeof EndShipper;
public Event: typeof Event;
public Fee: typeof Fee; // TODO: Fix IFee
public Insurance: typeof Insurance;
public Order: typeof Order;
public Parcel: typeof Parcel;
public PaymentMethod: typeof PaymentMethod;
public Pickup: typeof Pickup;
public Rate: typeof Rate;
public Referral: typeof Referral;
public Refund: typeof Refund;
public Report: typeof Report;
public Referral: typeof Referral;
public ScanForm: typeof ScanForm;
public Shipment: typeof Shipment;
public Tracker: typeof Tracker;
public Webhook: typeof Webhook;
public User: typeof User;
public Utils: typeof Utils;
public Webhook: typeof Webhook;

@@ -87,0 +103,0 @@ public constructor(apiKey: string, options?: IEasyPostOptions);

@@ -1,2 +0,2 @@

import { IObjectWithId } from '../base';
import { IBaseObject } from '../base';
import { TFeeType } from './FeeType';

@@ -15,3 +15,3 @@

*/
export declare interface IFee extends IObjectWithId<'Fee'> {
export declare interface IFee extends IBaseObject<'Fee'> {
/**

@@ -37,1 +37,9 @@ * The name of the category of fee. Possible types are "LabelFee", "PostageFee", "InsuranceFee", and "TrackerFee"

}
export declare class Fee implements IFee {
object: 'Fee';
type: TFeeType;
amount: string;
charged: boolean;
refunded: boolean;
}

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

SocketSocket SOC 2 Logo

Product

  • Package Alerts
  • Integrations
  • Docs
  • Pricing
  • FAQ
  • Roadmap
  • Changelog

Packages

npm

Stay in touch

Get open source security insights delivered straight into your inbox.


  • Terms
  • Privacy
  • Security

Made with ⚡️ by Socket Inc