@easypost/api
Advanced tools
Comparing version 7.1.0 to 7.2.0
# 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 @@ |
{ | ||
"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
License Policy Violation
LicenseThis package is not allowed per your license policy. Review the package's license to ensure compliance.
Found 1 instance in 1 package
Long strings
Supply chain riskContains long string literals, which may be a sign of obfuscated or packed code.
Found 1 instance in 1 package
License Policy Violation
LicenseThis package is not allowed per your license policy. Review the package's license to ensure compliance.
Found 1 instance in 1 package
Long strings
Supply chain riskContains long string literals, which may be a sign of obfuscated or packed code.
Found 1 instance in 1 package
813097
219
12486