Skip to content

Commit

Permalink
Update ShipmentCreateParameters.d.ts
Browse files Browse the repository at this point in the history
Add missing options for ICreateShipmentParameters
  • Loading branch information
bensontrent authored Mar 16, 2024
1 parent 0efdad1 commit a4501f8
Showing 1 changed file with 13 additions and 0 deletions.
13 changes: 13 additions & 0 deletions types/Shipment/ShipmentCreateParameters.d.ts
Original file line number Diff line number Diff line change
Expand Up @@ -15,6 +15,19 @@ export declare interface IShipmentCreateParameters {
*/
carrier_accounts?: string[] | null;

/**
* Optional service name to create one-call-buy shipment
*/
service?: string | null;

tax_identifiers?: TaxIdentifier[] | null
customs_info?: DeepPartial<ICustomsInfo> | null;
options?: DeepPartial<IOptions> | null;
}

type TaxIdentifier = {
entity: "SENDER" | "RECIPIENT"
tax_id: string,
tax_id_type: string;
issuing_country: string
}

0 comments on commit a4501f8

Please sign in to comment.