Skip to content

Commit

Permalink
🤖 Merge PR DefinitelyTyped#69263 fix: Add missing types on Shipment o…
Browse files Browse the repository at this point in the history
…bject by @clalexander

Co-authored-by: Chris Alexander <chris@synaptechgenesis.com>
  • Loading branch information
clalexander and clalexander authored Apr 14, 2024
1 parent bd30954 commit 5c33ec3
Showing 1 changed file with 7 additions and 2 deletions.
9 changes: 7 additions & 2 deletions types/shippo/index.d.ts
Original file line number Diff line number Diff line change
Expand Up @@ -352,8 +352,9 @@ declare namespace Shippo {
}

interface Message {
source?: string;
code?: string;
message: string;
text?: string;
}

interface Location {
Expand Down Expand Up @@ -471,9 +472,13 @@ declare namespace Shippo {
address_from: Address | string;
address_to: Address | string;
address_return?: Address | string | undefined;
shipment_date?: string | undefined;
parcels: Parcel[];
shipment_date?: string | undefined;
extra?: ShipmentExtras | undefined;
customs_declaration?: string | undefined;
rates: Rate[];
carrier_accounts: string[];
messages: Message[];
test?: boolean | undefined;
}

Expand Down

0 comments on commit 5c33ec3

Please sign in to comment.