-
Notifications
You must be signed in to change notification settings - Fork 11
/
Copy pathtypes.ts
53 lines (50 loc) · 1.38 KB
/
types.ts
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
export interface Leg {
operatingCarrierPNR?: string;
departureAirport?: string;
arrivalAirport?: string;
operatingCarrierDesignator?: string;
flightNumber?: string;
flightDate?: Date;
compartmentCode?: string;
seatNumber?: string;
checkInSequenceNumber?: string;
passengerStatus?: string;
airlineNumericCode?: string;
serialNumber?: string;
selecteeIndicator?: string;
internationalDocumentationVerification?: string;
marketingCarrierDesignator?: string;
frequentFlyerAirlineDesignator?: string;
frequentFlyerNumber?: string;
idIndicator?: string;
freeBaggageAllowance?: string;
fastTrack?: boolean;
airlineInfo?: string;
}
export interface BoardingPassData {
legs?: Leg[];
passengerName?: string;
passengerDescription?: string;
checkInSource?: string;
boardingPassIssuanceSource?: string;
issuanceDate?: Date;
documentType?: string;
boardingPassIssuerDesignator?: string;
baggageTagNumber?: string;
firstBaggageTagNumber?: string;
secondBaggageTagNumber?: string;
securityDataType?: string;
securityData?: string;
}
export interface BoardingPassMetaData {
formatCode?: string;
numberOfLegs?: number;
electronicTicketIndicator?: string;
versionNumberIndicator?: string;
versionNumber?: number;
securityDataIndicator?: string;
}
export interface BarcodedBoardingPass {
data?: BoardingPassData;
meta?: BoardingPassMetaData;
}