/getseats
"/getseats": {
delete?: never;
get?: never;
head?: never;
options?: never;
parameters: { cookie?: never; header?: never; path?: never; query?: never };
patch?: never;
post: {
parameters: {
cookie?: never;
header?: never;
path?: never;
query?: never;
};
requestBody: {
content: {
"application/json": | Omit<
{
payloadAttributes?: {
correlationID?: string;
echoTokenText?: string;
timeStamp?: string;
transactionID?: string;
};
requestType: string;
},
"requestType",
> & {
pointOfSale: {
agentDutyCode?: string;
location: { cityCode: string; countryCode: string };
};
request: {
offer: { offerId: string };
paxes?: {
givenName?: string;
loyaltyProgramAccount?: (...)[];
paxID: string;
surname?: string;
}[];
};
} & { requestType: "offerId" }
| Omit<
{
payloadAttributes?: {
correlationID?: string;
echoTokenText?: string;
timeStamp?: string;
transactionID?: string;
};
requestType: string;
},
"requestType",
> & {
pointOfSale: {
agentDutyCode?: string;
location: { cityCode: string; countryCode: string };
};
request: { order: { orderId: string } };
} & { requestType: "orderId" }
| Omit<
{
payloadAttributes?: {
correlationID?: string;
echoTokenText?: string;
timeStamp?: string;
transactionID?: string;
};
requestType: string;
},
"requestType",
> & {
request: {
currency?: string;
customAttributes?: { key: string; value: string }[];
dataBin?: string;
fareComponents?: {
brand?: { code: ... };
fareBasis: { fareBasisCode: ... };
fareComponentId: string;
fareDetail?: {
fareIndicator?: ...;
fareRule?: ...;
fareTariff?: ...;
fareType?: ...;
fareTypeBitmap?: ...;
privateTariffIndicator?: ...;
};
governingCarrier?: string;
price?: { amount: ... };
vendorCode?: string;
}[];
originDest: { paxJourney: { paxSegments: (...)[] } };
paxes: {
accompaniedByInfant?: boolean;
birthday?: string;
customAttributes?: (...)[];
fareComponentsAndSegmentId?: (...)[];
givenName?: string;
loyaltyProgramAccount?: (...)[];
paxID: string;
ptc: string;
surname?: string;
}[];
paxSegmentRefIds: string[];
};
requestMode?: "BOOKING"
| "CHECKIN";
} & { requestType: "payload" }
| Omit<
{
payloadAttributes?: {
correlationID?: string;
echoTokenText?: string;
timeStamp?: string;
transactionID?: string;
};
requestType: string;
},
"requestType",
> & {
request: {
customAttributes?: { key: string; value: string }[];
dataBin?: string;
pnrLocator: string;
};
requestMode?: "BOOKING"
| "CHECKIN";
} & { requestType: "stateless" };
};
};
responses: {
"200": {
content: {
"application/json": {
errors?: {
code?: string;
descriptionText?: string;
languageCode?: string;
ownerName?: string;
statusText?: string;
tagText?: string[];
typeCode?: string;
url?: string;
}[];
extensions?: Record<string, never>;
payloadAttributes?: {
correlationID?: string;
echoTokenText?: string;
timeStamp?: string;
transactionID?: string;
};
response?: {
aLaCarteOffer?: {
aLaCarteOfferItems: {
eligibility: {
flightAssociations?: ...;
paxRefIDs?: ...;
priceClassRefID?: ...;
};
offerItemID: string;
service?: {
serviceDefinitionRefID: ...;
serviceId: ...;
serviceRefID?: ...;
};
source?: (...)
| (...)
| (...)
| (...)
| (...);
unitPrice: {
baseAmount?: ...;
discount?: ...;
equivAmount?: ...;
fee?: ...;
loyaltyUnitAmount?: ...;
loyaltyUnitName?: ...;
surcharge?: ...;
taxSummary?: ...;
totalAmount?: ...;
};
}[];
baggageDisclosureRefID?: string[];
disclosureRefID?: string;
matchAppText?: string;
matchPercent?: number;
matchType?: string;
offerExpirationDateTime?: string;
offerId: string;
ownerCode: string;
ownerTypeCode?: string;
paymentTimeLimitDateTime?: string;
paymentTimeLimitText?: string;
penaltyRefID?: string[];
priceGuaranteeTimeLimitDateTime?: string;
ptcOfferParameters?: {
pricedPaxNumber?: number;
ptcPricedCode?: string;
ptcRequestedCode?: string;
requestedPaxNumber?: number;
}[];
redemptionIndicator?: boolean;
requestedDateIndicator?: boolean;
totalPrice?: {
baseAmount?: { amount: number; currencyCode?: string };
discount?: {
appText?: string;
descriptionText?: string;
discountAmount?: { amount: ...; currencyCode?: ... };
discountContext?: (...)[];
discountPercent?: number;
preDiscountedAmount?: { amount: ...; currencyCode?: ... };
ruleId?: string;
};
equivAmount?: { amount: number; currencyCode?: string };
fee?: {
amount?: ...;
description?: ...;
designator?: ...;
localAmount?: ...;
nature?: ...;
}[];
loyaltyUnitAmount?: { amount: number; currencyCode?: string };
loyaltyUnitName?: string;
surcharge?: { breakdown?: ...; total?: ... }[];
taxSummary?: {
taxes?: (...)[];
totalTaxAmount?: { amount: ...; currencyCode?: ... };
};
totalAmount?: { amount: number; currencyCode?: string };
};
validatingCarrierCode?: string;
webAddressURL?: string;
};
dataLists?: {
originDests?: {
destCode?: string;
originCode?: string;
originDestID?: string;
paxJourneyRefIDs?: (...)[];
}[];
paxJourneys?: {
distanceMeasure?: { measure: ...; unitCode?: ... };
duration?: string;
paxJourneyID?: string;
paxSegmentRefIDs: (...)[];
}[];
paxs?: {
loyaltyProgramAccount?: (...)[];
paxID: string;
ptc?: string;
}[];
paxSegments?: {
arrival: {
aircraftScheduledDateTime?: ...;
boardingGateID?: ...;
iataLocationCode?: ...;
stationName?: ...;
terminalName?: ...;
};
arrivalUknown?: boolean;
cabinType?: { cabinTypeCode?: ...; cabinTypeName?: ... };
datedOperatingLegs?: (...)[];
departure: {
aircraftScheduledDateTime?: ...;
boardingGateID?: ...;
iataLocationCode?: ...;
stationName?: ...;
terminalName?: ...;
};
duration?: string;
marketingCarrierInfo: {
carrierDesignatorCode: ...;
carrierName?: ...;
marketingCarrierFlightNumberText: ...;
operationalSuffixText?: ...;
rbdCode?: ...;
};
operatingCarrierInfo?: {
carrierDesignationCode?: ...;
carrierName?: ...;
operatingCarrierFlightNumberText?: ...;
operationalSuffixText?: ...;
rbdCode?: ...;
};
paxSegmentID: string;
secureFlight?: boolean;
segmentTypeCode?: string;
ticketless?: boolean;
}[];
seatProfiles?: {
characteristicCodes?: (...)[];
descriptionText?: (...)[];
marketingInformation?: (...)[];
seatKeywords?: (...)[];
seatPitchMeasure?: { measure: ...; unitCode?: ... };
seatProfileId: string;
seatWidthMeasure?: { measure: ...; unitCode?: ... };
}[];
serviceDefinitions?: {
bilateralProcessTimeLimits?: (...)[];
bookingInstructions?: {
equipment?: ...;
method?: ...;
osiText?: ...;
ssrCodes?: ...;
text?: ...;
upgradeMethod?: ...;
};
depositTimeLimitDateTime?: string;
descriptions: (...)[];
detail?: {
serviceCombinations?: ...;
serviceCoupon?: ...;
serviceFulfillment?: ...;
serviceItemQuantityRules?: ...;
};
name: string;
namingTimeLimitDateTime?: string;
ownerCode?: string;
paymentTimeLimitDateTime?: string;
serviceDefinitionAssociation?: {
seatProfileRefID?: ...;
serviceBundle?: ...;
};
serviceDefinitionID: string;
ticketingTimeLimitDateTime?: string;
validatingCarrierCode?: string;
}[];
};
seatMaps: {
cabinCompartments: {
cabinLayout?: ...;
cabinType?: ...;
columnIDs?: ...;
deckCode?: ...;
firstRow?: ...;
lastRow?: ...;
seatRows?: ...;
}[];
changeOfGaugeNotSupported?: boolean;
datedOperatingLegRefID?: string;
paxSegmentRefID: string;
sellable?: boolean;
}[];
shoppingResponse?: { ownerCode?: string; shoppingResponseID: string };
};
warnings?: {
code?: string;
descriptionText?: string;
ownerName?: string;
}[];
};
};
headers: { [name: string]: unknown };
};
default: {
content: {
"application/json": {
errors?: {
code?: string;
descriptionText?: string;
languageCode?: string;
ownerName?: string;
statusText?: string;
tagText?: string[];
typeCode?: string;
url?: string;
}[];
extensions?: Record<string, never>;
payloadAttributes?: {
correlationID?: string;
echoTokenText?: string;
timeStamp?: string;
transactionID?: string;
};
response?: {
aLaCarteOffer?: {
aLaCarteOfferItems: {
eligibility: {
flightAssociations?: ...;
paxRefIDs?: ...;
priceClassRefID?: ...;
};
offerItemID: string;
service?: {
serviceDefinitionRefID: ...;
serviceId: ...;
serviceRefID?: ...;
};
source?: (...)
| (...)
| (...)
| (...)
| (...);
unitPrice: {
baseAmount?: ...;
discount?: ...;
equivAmount?: ...;
fee?: ...;
loyaltyUnitAmount?: ...;
loyaltyUnitName?: ...;
surcharge?: ...;
taxSummary?: ...;
totalAmount?: ...;
};
}[];
baggageDisclosureRefID?: string[];
disclosureRefID?: string;
matchAppText?: string;
matchPercent?: number;
matchType?: string;
offerExpirationDateTime?: string;
offerId: string;
ownerCode: string;
ownerTypeCode?: string;
paymentTimeLimitDateTime?: string;
paymentTimeLimitText?: string;
penaltyRefID?: string[];
priceGuaranteeTimeLimitDateTime?: string;
ptcOfferParameters?: {
pricedPaxNumber?: number;
ptcPricedCode?: string;
ptcRequestedCode?: string;
requestedPaxNumber?: number;
}[];
redemptionIndicator?: boolean;
requestedDateIndicator?: boolean;
totalPrice?: {
baseAmount?: { amount: number; currencyCode?: string };
discount?: {
appText?: string;
descriptionText?: string;
discountAmount?: { amount: ...; currencyCode?: ... };
discountContext?: (...)[];
discountPercent?: number;
preDiscountedAmount?: { amount: ...; currencyCode?: ... };
ruleId?: string;
};
equivAmount?: { amount: number; currencyCode?: string };
fee?: {
amount?: ...;
description?: ...;
designator?: ...;
localAmount?: ...;
nature?: ...;
}[];
loyaltyUnitAmount?: { amount: number; currencyCode?: string };
loyaltyUnitName?: string;
surcharge?: { breakdown?: ...; total?: ... }[];
taxSummary?: {
taxes?: (...)[];
totalTaxAmount?: { amount: ...; currencyCode?: ... };
};
totalAmount?: { amount: number; currencyCode?: string };
};
validatingCarrierCode?: string;
webAddressURL?: string;
};
dataLists?: {
originDests?: {
destCode?: string;
originCode?: string;
originDestID?: string;
paxJourneyRefIDs?: (...)[];
}[];
paxJourneys?: {
distanceMeasure?: { measure: ...; unitCode?: ... };
duration?: string;
paxJourneyID?: string;
paxSegmentRefIDs: (...)[];
}[];
paxs?: {
loyaltyProgramAccount?: (...)[];
paxID: string;
ptc?: string;
}[];
paxSegments?: {
arrival: {
aircraftScheduledDateTime?: ...;
boardingGateID?: ...;
iataLocationCode?: ...;
stationName?: ...;
terminalName?: ...;
};
arrivalUknown?: boolean;
cabinType?: { cabinTypeCode?: ...; cabinTypeName?: ... };
datedOperatingLegs?: (...)[];
departure: {
aircraftScheduledDateTime?: ...;
boardingGateID?: ...;
iataLocationCode?: ...;
stationName?: ...;
terminalName?: ...;
};
duration?: string;
marketingCarrierInfo: {
carrierDesignatorCode: ...;
carrierName?: ...;
marketingCarrierFlightNumberText: ...;
operationalSuffixText?: ...;
rbdCode?: ...;
};
operatingCarrierInfo?: {
carrierDesignationCode?: ...;
carrierName?: ...;
operatingCarrierFlightNumberText?: ...;
operationalSuffixText?: ...;
rbdCode?: ...;
};
paxSegmentID: string;
secureFlight?: boolean;
segmentTypeCode?: string;
ticketless?: boolean;
}[];
seatProfiles?: {
characteristicCodes?: (...)[];
descriptionText?: (...)[];
marketingInformation?: (...)[];
seatKeywords?: (...)[];
seatPitchMeasure?: { measure: ...; unitCode?: ... };
seatProfileId: string;
seatWidthMeasure?: { measure: ...; unitCode?: ... };
}[];
serviceDefinitions?: {
bilateralProcessTimeLimits?: (...)[];
bookingInstructions?: {
equipment?: ...;
method?: ...;
osiText?: ...;
ssrCodes?: ...;
text?: ...;
upgradeMethod?: ...;
};
depositTimeLimitDateTime?: string;
descriptions: (...)[];
detail?: {
serviceCombinations?: ...;
serviceCoupon?: ...;
serviceFulfillment?: ...;
serviceItemQuantityRules?: ...;
};
name: string;
namingTimeLimitDateTime?: string;
ownerCode?: string;
paymentTimeLimitDateTime?: string;
serviceDefinitionAssociation?: {
seatProfileRefID?: ...;
serviceBundle?: ...;
};
serviceDefinitionID: string;
ticketingTimeLimitDateTime?: string;
validatingCarrierCode?: string;
}[];
};
seatMaps: {
cabinCompartments: {
cabinLayout?: ...;
cabinType?: ...;
columnIDs?: ...;
deckCode?: ...;
firstRow?: ...;
lastRow?: ...;
seatRows?: ...;
}[];
changeOfGaugeNotSupported?: boolean;
datedOperatingLegRefID?: string;
paxSegmentRefID: string;
sellable?: boolean;
}[];
shoppingResponse?: { ownerCode?: string; shoppingResponseID: string };
};
warnings?: {
code?: string;
descriptionText?: string;
ownerName?: string;
}[];
};
};
headers: { [name: string]: unknown };
};
};
};
put?: never;
trace?: never;
}
This file was auto-generated by openapi-typescript. Do not make direct changes to the file.