aramex-service-api
Version:
An Aramex client package for shipment operations using TypeScript and OOP.
46 lines (42 loc) • 1.02 kB
text/typescript
export interface PartyAddress {
Line1: string;
Line2: string;
Line3: string;
City: string;
StateOrProvinceCode: string;
PostCode: string;
CountryCode: string;
}
export interface Contact {
Department: string;
PersonName: string;
Title: string;
CompanyName: string;
PhoneNumber1: string;
PhoneNumber1Ext: string;
PhoneNumber2: string;
PhoneNumber2Ext: string;
FaxNumber: string;
CellPhone: string;
EmailAddress: string;
Type: string;
}
export interface ShipperDetails {
Reference1: string;
Reference2: string;
AccountNumber: string;
PartyAddress: PartyAddress;
Contact: Contact;
}
export interface AramexClientConfig {
username: string;
password: string;
accountNumber: string;
accountPin: string;
accountEntity: string;
accountCountryCode: string;
shipper: ShipperDetails;
}
export interface Order {
[key: string]: any;
}