@duffel/components 3.1.3--prototype.11 → 3.1.3--prototype.13
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/{react-dist/index.d.ts → index.d.ts} +230 -265
- package/index.tsbuildinfo +1 -0
- package/package.json +4 -4
- package/README.md +0 -68
- package/react-dist/index.tsbuildinfo +0 -1
- /package/{react-dist/custom-elements.js → custom-elements.js} +0 -0
- /package/{react-dist/custom-elements.js.map → custom-elements.js.map} +0 -0
- /package/{react-dist/index.js → index.js} +0 -0
- /package/{react-dist/index.js.map → index.js.map} +0 -0
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
declare module "
|
|
1
|
+
declare module "types/Aircraft" {
|
|
2
2
|
export interface Aircraft {
|
|
3
3
|
/**
|
|
4
4
|
* The three-character IATA code for the aircraft
|
|
@@ -14,7 +14,7 @@ declare module "src/types/Aircraft" {
|
|
|
14
14
|
name: string;
|
|
15
15
|
}
|
|
16
16
|
}
|
|
17
|
-
declare module "
|
|
17
|
+
declare module "types/Airline" {
|
|
18
18
|
export interface Airline {
|
|
19
19
|
/**
|
|
20
20
|
* The two-character IATA code for the airline. This may be null for non-IATA carriers.
|
|
@@ -30,7 +30,7 @@ declare module "src/types/Airline" {
|
|
|
30
30
|
name: string;
|
|
31
31
|
}
|
|
32
32
|
}
|
|
33
|
-
declare module "
|
|
33
|
+
declare module "types/City" {
|
|
34
34
|
export interface City {
|
|
35
35
|
/**
|
|
36
36
|
* The three-character IATA code for the city
|
|
@@ -50,8 +50,8 @@ declare module "src/types/City" {
|
|
|
50
50
|
name: string;
|
|
51
51
|
}
|
|
52
52
|
}
|
|
53
|
-
declare module "
|
|
54
|
-
import { City } from "
|
|
53
|
+
declare module "types/Airport" {
|
|
54
|
+
import { City } from "types/City";
|
|
55
55
|
export interface Airport {
|
|
56
56
|
/**
|
|
57
57
|
* The three-character IATA code for the airport
|
|
@@ -96,11 +96,11 @@ declare module "src/types/Airport" {
|
|
|
96
96
|
city: City;
|
|
97
97
|
}
|
|
98
98
|
}
|
|
99
|
-
declare module "
|
|
100
|
-
import { Aircraft } from "
|
|
101
|
-
import { Airline } from "
|
|
102
|
-
import { Airport } from "
|
|
103
|
-
import { City } from "
|
|
99
|
+
declare module "types/Offer" {
|
|
100
|
+
import { Aircraft } from "types/Aircraft";
|
|
101
|
+
import { Airline } from "types/Airline";
|
|
102
|
+
import { Airport } from "types/Airport";
|
|
103
|
+
import { City } from "types/City";
|
|
104
104
|
export const CabinClassMap: {
|
|
105
105
|
economy: string;
|
|
106
106
|
premium_economy: string;
|
|
@@ -808,8 +808,8 @@ declare module "src/types/Offer" {
|
|
|
808
808
|
export type OfferAvailableServiceType = OfferAvailableService["type"];
|
|
809
809
|
export type OfferAvailableServiceMetadata = OfferAvailableServiceBaggageMetadata | OfferAvailableServiceSeatMetadata;
|
|
810
810
|
}
|
|
811
|
-
declare module "
|
|
812
|
-
import { Offer, OfferAvailableCancelForAnyReasonServiceMetadata, OfferAvailableServiceBaggageMetadata } from "
|
|
811
|
+
declare module "types/CreateOrderPayload" {
|
|
812
|
+
import { Offer, OfferAvailableCancelForAnyReasonServiceMetadata, OfferAvailableServiceBaggageMetadata } from "types/Offer";
|
|
813
813
|
export interface CreateOrderPayload {
|
|
814
814
|
selected_offers: Array<Offer["id"]>;
|
|
815
815
|
passengers: CreateOrderPayloadPassengers;
|
|
@@ -881,7 +881,7 @@ declare module "src/types/CreateOrderPayload" {
|
|
|
881
881
|
*/
|
|
882
882
|
"total_amount" | "total_currency"> & OfferAvailableCancelForAnyReasonServiceMetadata;
|
|
883
883
|
}
|
|
884
|
-
declare module "
|
|
884
|
+
declare module "types/SeatMap" {
|
|
885
885
|
/**
|
|
886
886
|
* Seat maps are used to build a rich experience for your customers so they can select a seat as part of an order.
|
|
887
887
|
* A seat map includes the data for rendering seats in the relevant cabins, along with their total cost and other information such as disclosures.
|
|
@@ -1073,10 +1073,10 @@ declare module "src/types/SeatMap" {
|
|
|
1073
1073
|
export type SeatMapCabinRowSectionElementType = SeatMapCabinRowSectionElement["type"];
|
|
1074
1074
|
export type SeatMapCabinRowSectionElementAmenity = Exclude<SeatMapCabinRowSectionElementType, "empty" | "seat">;
|
|
1075
1075
|
}
|
|
1076
|
-
declare module "
|
|
1077
|
-
import { CreateOrderPayload, CreateOrderPayloadServices } from "
|
|
1078
|
-
import { Offer, OfferAvailableServiceBaggage, OfferAvailableServiceCancelForAnyReason } from "
|
|
1079
|
-
import { SeatMap, SeatMapCabinRowSectionAvailableService } from "
|
|
1076
|
+
declare module "types/DuffelAncillariesProps" {
|
|
1077
|
+
import { CreateOrderPayload, CreateOrderPayloadServices } from "types/CreateOrderPayload";
|
|
1078
|
+
import { Offer, OfferAvailableServiceBaggage, OfferAvailableServiceCancelForAnyReason } from "types/Offer";
|
|
1079
|
+
import { SeatMap, SeatMapCabinRowSectionAvailableService } from "types/SeatMap";
|
|
1080
1080
|
export type DuffelAncillariesProps = DuffelAncillariesPropsWithOfferIdForFixture | DuffelAncillariesPropsWithClientKeyAndOfferId | DuffelAncillariesPropWithOfferAndClientKey | DuffelAncillariesPropsWithOffersAndSeatMaps;
|
|
1081
1081
|
export interface DuffelAncillariesCommonProps {
|
|
1082
1082
|
styles?: CustomStyles;
|
|
@@ -1145,10 +1145,10 @@ declare module "src/types/DuffelAncillariesProps" {
|
|
|
1145
1145
|
}
|
|
1146
1146
|
export type Ancillaries = "bags" | "seats" | "cancel_for_any_reason";
|
|
1147
1147
|
}
|
|
1148
|
-
declare module "
|
|
1148
|
+
declare module "lib/captureErrorInSentry" {
|
|
1149
1149
|
export const captureErrorInSentry: (error: Error) => string;
|
|
1150
1150
|
}
|
|
1151
|
-
declare module "
|
|
1151
|
+
declare module "lib/logging" {
|
|
1152
1152
|
/**
|
|
1153
1153
|
* The functions in this file are used to enable logging.
|
|
1154
1154
|
*
|
|
@@ -1196,7 +1196,7 @@ declare module "src/lib/logging" {
|
|
|
1196
1196
|
}): void;
|
|
1197
1197
|
export { initializeLogger, log, logGroup };
|
|
1198
1198
|
}
|
|
1199
|
-
declare module "
|
|
1199
|
+
declare module "components/shared/Icon" {
|
|
1200
1200
|
import * as React from "react";
|
|
1201
1201
|
export const ICON_MAP: {
|
|
1202
1202
|
add: import("react/jsx-runtime").JSX.Element;
|
|
@@ -1243,8 +1243,8 @@ declare module "src/components/shared/Icon" {
|
|
|
1243
1243
|
}
|
|
1244
1244
|
export const Icon: React.FunctionComponent<IconProps>;
|
|
1245
1245
|
}
|
|
1246
|
-
declare module "
|
|
1247
|
-
import { IconName } from "
|
|
1246
|
+
declare module "components/shared/Button" {
|
|
1247
|
+
import { IconName } from "components/shared/Icon";
|
|
1248
1248
|
import * as React from "react";
|
|
1249
1249
|
const BUTTON_VARIANTS: {
|
|
1250
1250
|
primary: string;
|
|
@@ -1267,13 +1267,13 @@ declare module "src/components/shared/Button" {
|
|
|
1267
1267
|
}
|
|
1268
1268
|
export const Button: React.FC<ButtonProps>;
|
|
1269
1269
|
}
|
|
1270
|
-
declare module "
|
|
1270
|
+
declare module "components/shared/NonIdealState" {
|
|
1271
1271
|
import React from "react";
|
|
1272
1272
|
export const NonIdealState: React.FC<React.PropsWithChildren<{
|
|
1273
1273
|
style?: React.CSSProperties;
|
|
1274
1274
|
}>>;
|
|
1275
1275
|
}
|
|
1276
|
-
declare module "
|
|
1276
|
+
declare module "components/shared/ErrorBoundary" {
|
|
1277
1277
|
import React from "react";
|
|
1278
1278
|
export class ErrorBoundary extends React.Component<{
|
|
1279
1279
|
children: React.ReactNode | React.ReactNode[];
|
|
@@ -1288,31 +1288,31 @@ declare module "src/components/shared/ErrorBoundary" {
|
|
|
1288
1288
|
render(): string | number | boolean | Iterable<React.ReactNode> | import("react/jsx-runtime").JSX.Element | null | undefined;
|
|
1289
1289
|
}
|
|
1290
1290
|
}
|
|
1291
|
-
declare module "
|
|
1291
|
+
declare module "components/shared/FetchOfferErrorState" {
|
|
1292
1292
|
import * as React from "react";
|
|
1293
1293
|
export const FetchOfferErrorState: React.FC<{
|
|
1294
1294
|
height: string;
|
|
1295
1295
|
message: string;
|
|
1296
1296
|
}>;
|
|
1297
1297
|
}
|
|
1298
|
-
declare module "
|
|
1299
|
-
import { OfferAvailableService } from "
|
|
1298
|
+
declare module "lib/getServicePriceMapById" {
|
|
1299
|
+
import { OfferAvailableService } from "types/Offer";
|
|
1300
1300
|
export type ServicePriceMapById = Record<OfferAvailableService["id"], Pick<OfferAvailableService, "total_amount" | "total_currency">>;
|
|
1301
1301
|
export const getServicePriceMapById: (availableServices: OfferAvailableService[]) => ServicePriceMapById;
|
|
1302
1302
|
}
|
|
1303
|
-
declare module "
|
|
1304
|
-
import { CreateOrderPayloadServices } from "
|
|
1305
|
-
import { Offer } from "
|
|
1306
|
-
import { SeatMap } from "
|
|
1307
|
-
import { ServicePriceMapById } from "
|
|
1303
|
+
declare module "lib/getTotalAmountForServices" {
|
|
1304
|
+
import { CreateOrderPayloadServices } from "types/CreateOrderPayload";
|
|
1305
|
+
import { Offer } from "types/Offer";
|
|
1306
|
+
import { SeatMap } from "types/SeatMap";
|
|
1307
|
+
import { ServicePriceMapById } from "lib/getServicePriceMapById";
|
|
1308
1308
|
export const getTotalAmountForServices: (offer: Offer, selectedServices: CreateOrderPayloadServices, seatMaps?: SeatMap[]) => number;
|
|
1309
1309
|
export const getTotalAmountForServicesWithPriceMap: (servicePriceMap: ServicePriceMapById, selectedServices: CreateOrderPayloadServices, seatMaps?: SeatMap[]) => number;
|
|
1310
1310
|
}
|
|
1311
|
-
declare module "
|
|
1312
|
-
import { CreateOrderPayload, CreateOrderPayloadServices } from "
|
|
1313
|
-
import { DuffelAncillariesProps } from "
|
|
1314
|
-
import { Offer } from "
|
|
1315
|
-
import { SeatMap } from "
|
|
1311
|
+
declare module "lib/compileCreateOrderPayload" {
|
|
1312
|
+
import { CreateOrderPayload, CreateOrderPayloadServices } from "types/CreateOrderPayload";
|
|
1313
|
+
import { DuffelAncillariesProps } from "types/DuffelAncillariesProps";
|
|
1314
|
+
import { Offer } from "types/Offer";
|
|
1315
|
+
import { SeatMap } from "types/SeatMap";
|
|
1316
1316
|
interface CompileCreateOrderPayloadInput {
|
|
1317
1317
|
offer: Offer;
|
|
1318
1318
|
passengers: DuffelAncillariesProps["passengers"];
|
|
@@ -1323,8 +1323,8 @@ declare module "src/lib/compileCreateOrderPayload" {
|
|
|
1323
1323
|
}
|
|
1324
1324
|
export const compileCreateOrderPayload: ({ baggageSelectedServices, seatSelectedServices, cfarSelectedServices, offer, seatMaps, passengers, }: CompileCreateOrderPayloadInput) => Partial<CreateOrderPayload>;
|
|
1325
1325
|
}
|
|
1326
|
-
declare module "
|
|
1327
|
-
import { DuffelAncillariesMarkup, DuffelAncillariesPriceFormatters } from "
|
|
1326
|
+
declare module "lib/createPriceFormatters" {
|
|
1327
|
+
import { DuffelAncillariesMarkup, DuffelAncillariesPriceFormatters } from "types/DuffelAncillariesProps";
|
|
1328
1328
|
/**
|
|
1329
1329
|
* Creates price formatters from the markup and priceFormatters passed in.
|
|
1330
1330
|
* Throws an error if both are supplied.
|
|
@@ -1337,17 +1337,17 @@ declare module "src/lib/createPriceFormatters" {
|
|
|
1337
1337
|
const createPriceFormatters: (markup?: DuffelAncillariesMarkup, priceFormatters?: DuffelAncillariesPriceFormatters) => DuffelAncillariesPriceFormatters;
|
|
1338
1338
|
export { createPriceFormatters };
|
|
1339
1339
|
}
|
|
1340
|
-
declare module "
|
|
1341
|
-
import { OfferAvailableBaggageService, OfferAvailableService } from "
|
|
1340
|
+
declare module "lib/isBaggageService" {
|
|
1341
|
+
import { OfferAvailableBaggageService, OfferAvailableService } from "types/Offer";
|
|
1342
1342
|
export const isBaggageService: (service: OfferAvailableService) => service is OfferAvailableBaggageService;
|
|
1343
1343
|
}
|
|
1344
|
-
declare module "
|
|
1345
|
-
import { OfferAvailableService, OfferAvailableServiceCancelForAnyReason } from "
|
|
1344
|
+
declare module "lib/isCancelForAnyReasonService" {
|
|
1345
|
+
import { OfferAvailableService, OfferAvailableServiceCancelForAnyReason } from "types/Offer";
|
|
1346
1346
|
export const isCancelForAnyReasonService: (service: OfferAvailableService) => service is OfferAvailableServiceCancelForAnyReason;
|
|
1347
1347
|
}
|
|
1348
|
-
declare module "
|
|
1349
|
-
import { DuffelAncillariesPriceFormatters } from "
|
|
1350
|
-
import { Offer } from "
|
|
1348
|
+
declare module "lib/formatAvailableServices" {
|
|
1349
|
+
import { DuffelAncillariesPriceFormatters } from "types/DuffelAncillariesProps";
|
|
1350
|
+
import { Offer } from "types/Offer";
|
|
1351
1351
|
/**
|
|
1352
1352
|
* Formats the prices of the available services of an offer according to the
|
|
1353
1353
|
* priceFormatters passed in.
|
|
@@ -1359,28 +1359,28 @@ declare module "src/lib/formatAvailableServices" {
|
|
|
1359
1359
|
const formatAvailableServices: (offer: Offer, priceFormatters?: DuffelAncillariesPriceFormatters) => Offer;
|
|
1360
1360
|
export { formatAvailableServices };
|
|
1361
1361
|
}
|
|
1362
|
-
declare module "
|
|
1363
|
-
import { SeatMapCabinRowSectionElement, SeatMapCabinRowSectionElementSeat } from "
|
|
1362
|
+
declare module "lib/isSeatElement" {
|
|
1363
|
+
import { SeatMapCabinRowSectionElement, SeatMapCabinRowSectionElementSeat } from "types/SeatMap";
|
|
1364
1364
|
export function isSeatElement(element: SeatMapCabinRowSectionElement): element is SeatMapCabinRowSectionElementSeat;
|
|
1365
1365
|
}
|
|
1366
|
-
declare module "
|
|
1367
|
-
import { DuffelAncillariesPriceFormatterForSeats } from "
|
|
1368
|
-
import { SeatMap } from "
|
|
1366
|
+
declare module "lib/formatSeatMaps" {
|
|
1367
|
+
import { DuffelAncillariesPriceFormatterForSeats } from "types/DuffelAncillariesProps";
|
|
1368
|
+
import { SeatMap } from "types/SeatMap";
|
|
1369
1369
|
const formatSeatMaps: (seatMaps: SeatMap[], priceFormatter?: DuffelAncillariesPriceFormatterForSeats) => SeatMap[];
|
|
1370
1370
|
export { formatSeatMaps };
|
|
1371
1371
|
}
|
|
1372
|
-
declare module "
|
|
1372
|
+
declare module "lib/hasHighLuminance" {
|
|
1373
1373
|
export const hasHighLuminance: (accentColor: string) => boolean;
|
|
1374
1374
|
}
|
|
1375
|
-
declare module "
|
|
1376
|
-
import { CreateOrderPayload } from "
|
|
1375
|
+
declare module "lib/isPayloadComplete" {
|
|
1376
|
+
import { CreateOrderPayload } from "types/CreateOrderPayload";
|
|
1377
1377
|
export const isPayloadComplete: (payload: Partial<CreateOrderPayload>) => payload is CreateOrderPayload;
|
|
1378
1378
|
}
|
|
1379
|
-
declare module "
|
|
1380
|
-
import { Offer } from "
|
|
1379
|
+
declare module "lib/offerIsExpired" {
|
|
1380
|
+
import { Offer } from "types/Offer";
|
|
1381
1381
|
export const offerIsExpired: (offer: Offer) => boolean | "";
|
|
1382
1382
|
}
|
|
1383
|
-
declare module "
|
|
1383
|
+
declare module "lib/fetchFromDuffelAPI" {
|
|
1384
1384
|
export interface ErrorResponse extends Response {
|
|
1385
1385
|
data: {
|
|
1386
1386
|
meta: any;
|
|
@@ -1390,32 +1390,32 @@ declare module "src/lib/fetchFromDuffelAPI" {
|
|
|
1390
1390
|
export const isErrorResponse: (response: any) => response is ErrorResponse;
|
|
1391
1391
|
export function fetchFromDuffelAPI(withClientKey: string, path: string, method?: string, body?: string): Promise<any>;
|
|
1392
1392
|
}
|
|
1393
|
-
declare module "
|
|
1394
|
-
import { Offer } from "
|
|
1395
|
-
import { SeatMap } from "
|
|
1393
|
+
declare module "lib/fetchFromFixtures" {
|
|
1394
|
+
import { Offer } from "types/Offer";
|
|
1395
|
+
import { SeatMap } from "types/SeatMap";
|
|
1396
1396
|
export const importFromOfferFixtures: (offerId: string) => Promise<Offer>;
|
|
1397
1397
|
export const importFromSeatMapsFixtures: (offerId: string) => Promise<SeatMap[]>;
|
|
1398
1398
|
}
|
|
1399
|
-
declare module "
|
|
1400
|
-
import { Offer } from "
|
|
1399
|
+
declare module "lib/isFixtureOfferId" {
|
|
1400
|
+
import { Offer } from "types/Offer";
|
|
1401
1401
|
export const isFixtureOfferId: (offerId: Offer["id"]) => boolean;
|
|
1402
1402
|
}
|
|
1403
|
-
declare module "
|
|
1403
|
+
declare module "lib/retrieveOfferFromDuffelAPI" {
|
|
1404
1404
|
export function retrieveOfferFromDuffelAPI(offer_id: string, client_key: string): Promise<any>;
|
|
1405
1405
|
}
|
|
1406
|
-
declare module "
|
|
1407
|
-
import { Offer } from "
|
|
1406
|
+
declare module "lib/retrieveOffer" {
|
|
1407
|
+
import { Offer } from "types/Offer";
|
|
1408
1408
|
export function retrieveOffer(offer_id: string, client_key: string | null, onError: (error: string) => void, setIsLoading: (isLoading: boolean) => void, onOfferReady: (offer: Offer) => void): Promise<void>;
|
|
1409
1409
|
}
|
|
1410
|
-
declare module "
|
|
1410
|
+
declare module "lib/retrieveSeatMapsFromDuffelAPI" {
|
|
1411
1411
|
export function retrieveSeatMapsFromDuffelAPI(offer_id: string, client_key: string): Promise<any>;
|
|
1412
1412
|
}
|
|
1413
|
-
declare module "
|
|
1414
|
-
import { SeatMap } from "
|
|
1413
|
+
declare module "lib/retrieveSeatMaps" {
|
|
1414
|
+
import { SeatMap } from "types/SeatMap";
|
|
1415
1415
|
export function retrieveSeatMaps(offer_id: string, client_key: string | null, onError: () => void, setIsLoading: (isLoading: boolean) => void, onSeatMapReady: (seatMaps: SeatMap[]) => void): Promise<void>;
|
|
1416
1416
|
}
|
|
1417
|
-
declare module "
|
|
1418
|
-
import { DuffelAncillariesProps, DuffelAncillariesPropsWithClientKeyAndOfferId, DuffelAncillariesPropsWithOfferIdForFixture, DuffelAncillariesPropsWithOffersAndSeatMaps, DuffelAncillariesPropWithOfferAndClientKey } from "
|
|
1417
|
+
declare module "lib/validateProps" {
|
|
1418
|
+
import { DuffelAncillariesProps, DuffelAncillariesPropsWithClientKeyAndOfferId, DuffelAncillariesPropsWithOfferIdForFixture, DuffelAncillariesPropsWithOffersAndSeatMaps, DuffelAncillariesPropWithOfferAndClientKey } from "types/DuffelAncillariesProps";
|
|
1419
1419
|
export const areDuffelAncillariesPropsValid: (props: DuffelAncillariesProps) => boolean;
|
|
1420
1420
|
export const hasCommonRequiredProps: (props: DuffelAncillariesProps) => boolean;
|
|
1421
1421
|
export const isDuffelAncillariesPropsWithOfferIdForFixture: (props: DuffelAncillariesProps) => props is DuffelAncillariesPropsWithOfferIdForFixture;
|
|
@@ -1423,11 +1423,11 @@ declare module "src/lib/validateProps" {
|
|
|
1423
1423
|
export const isDuffelAncillariesPropsWithOfferAndSeatMaps: (props: DuffelAncillariesProps) => props is DuffelAncillariesPropsWithOffersAndSeatMaps;
|
|
1424
1424
|
export const isDuffelAncillariesPropsWithOfferAndClientKey: (props: DuffelAncillariesProps) => props is DuffelAncillariesPropWithOfferAndClientKey;
|
|
1425
1425
|
}
|
|
1426
|
-
declare module "
|
|
1426
|
+
declare module "components/shared/AnimatedLoaderEllipsis" {
|
|
1427
1427
|
import * as React from "react";
|
|
1428
1428
|
export const AnimatedLoaderEllipsis: React.FC;
|
|
1429
1429
|
}
|
|
1430
|
-
declare module "
|
|
1430
|
+
declare module "components/shared/Stamp" {
|
|
1431
1431
|
import React from "react";
|
|
1432
1432
|
export interface StampProps {
|
|
1433
1433
|
backgroundColor: React.CSSProperties["backgroundColor"];
|
|
@@ -1436,8 +1436,8 @@ declare module "src/components/shared/Stamp" {
|
|
|
1436
1436
|
}
|
|
1437
1437
|
export const Stamp: React.FC<StampProps>;
|
|
1438
1438
|
}
|
|
1439
|
-
declare module "
|
|
1440
|
-
import { Offer } from "
|
|
1439
|
+
declare module "lib/getCurrencyForServices" {
|
|
1440
|
+
import { Offer } from "types/Offer";
|
|
1441
1441
|
/**
|
|
1442
1442
|
*
|
|
1443
1443
|
* Returns the currency of the first service of the given type in the offer.
|
|
@@ -1449,15 +1449,15 @@ declare module "src/lib/getCurrencyForServices" {
|
|
|
1449
1449
|
const getCurrencyForServices: (offer: Offer, serviceType: string) => string;
|
|
1450
1450
|
export { getCurrencyForServices };
|
|
1451
1451
|
}
|
|
1452
|
-
declare module "
|
|
1453
|
-
import { CreateOrderPayloadServices } from "
|
|
1452
|
+
declare module "lib/getTotalQuantity" {
|
|
1453
|
+
import { CreateOrderPayloadServices } from "types/CreateOrderPayload";
|
|
1454
1454
|
export const getTotalQuantity: (fromSelectedServices: CreateOrderPayloadServices) => number;
|
|
1455
1455
|
}
|
|
1456
|
-
declare module "
|
|
1457
|
-
import { Offer, OfferAvailableServiceType } from "
|
|
1456
|
+
declare module "lib/hasService" {
|
|
1457
|
+
import { Offer, OfferAvailableServiceType } from "types/Offer";
|
|
1458
1458
|
export const hasService: (offer: Offer | undefined, type: OfferAvailableServiceType) => boolean | undefined;
|
|
1459
1459
|
}
|
|
1460
|
-
declare module "
|
|
1460
|
+
declare module "lib/moneyStringFormatter" {
|
|
1461
1461
|
/**
|
|
1462
1462
|
* Return a function to format a number into a money amount for a given currency
|
|
1463
1463
|
*
|
|
@@ -1467,11 +1467,11 @@ declare module "src/lib/moneyStringFormatter" {
|
|
|
1467
1467
|
[option: string]: string;
|
|
1468
1468
|
}) => (value: number) => string;
|
|
1469
1469
|
}
|
|
1470
|
-
declare module "
|
|
1470
|
+
declare module "lib/withPlural" {
|
|
1471
1471
|
export const withPlural: (totalQuantity: number, singular: string, plural: string) => string;
|
|
1472
1472
|
}
|
|
1473
|
-
declare module "
|
|
1474
|
-
import { IconName } from "
|
|
1473
|
+
declare module "components/DuffelAncillaries/Card" {
|
|
1474
|
+
import { IconName } from "components/shared/Icon";
|
|
1475
1475
|
import * as React from "react";
|
|
1476
1476
|
export interface CardProps {
|
|
1477
1477
|
buttonTitle: string;
|
|
@@ -1486,12 +1486,12 @@ declare module "src/components/DuffelAncillaries/Card" {
|
|
|
1486
1486
|
}
|
|
1487
1487
|
export const Card: React.FC<CardProps>;
|
|
1488
1488
|
}
|
|
1489
|
-
declare module "
|
|
1489
|
+
declare module "lib/setBodyScrollability" {
|
|
1490
1490
|
export const setBodyScrollability: (shouldScroll: boolean) => void;
|
|
1491
1491
|
}
|
|
1492
|
-
declare module "
|
|
1492
|
+
declare module "components/shared/IconButton" {
|
|
1493
1493
|
import * as React from "react";
|
|
1494
|
-
import { IconName } from "
|
|
1494
|
+
import { IconName } from "components/shared/Icon";
|
|
1495
1495
|
const ICON_BUTTON_VARIANTS: {
|
|
1496
1496
|
primary: string;
|
|
1497
1497
|
outlined: string;
|
|
@@ -1506,7 +1506,7 @@ declare module "src/components/shared/IconButton" {
|
|
|
1506
1506
|
}
|
|
1507
1507
|
export const IconButton: React.FC<IconButtonProps>;
|
|
1508
1508
|
}
|
|
1509
|
-
declare module "
|
|
1509
|
+
declare module "components/shared/Modal" {
|
|
1510
1510
|
import * as React from "react";
|
|
1511
1511
|
interface ModalProps {
|
|
1512
1512
|
onClose: () => void;
|
|
@@ -1518,30 +1518,30 @@ declare module "src/components/shared/Modal" {
|
|
|
1518
1518
|
children: React.ReactNode;
|
|
1519
1519
|
}>;
|
|
1520
1520
|
}
|
|
1521
|
-
declare module "
|
|
1522
|
-
import { CreateOrderPayloadPassenger, CreateOrderPayloadPassengers } from "
|
|
1521
|
+
declare module "lib/getPassengerMapById" {
|
|
1522
|
+
import { CreateOrderPayloadPassenger, CreateOrderPayloadPassengers } from "types/CreateOrderPayload";
|
|
1523
1523
|
export type PassengerMapById = Record<CreateOrderPayloadPassenger["id"], CreateOrderPayloadPassenger>;
|
|
1524
1524
|
export const getPassengerMapById: (passengers: CreateOrderPayloadPassengers) => PassengerMapById;
|
|
1525
1525
|
}
|
|
1526
|
-
declare module "
|
|
1527
|
-
import { Offer, OfferSliceSegment } from "
|
|
1526
|
+
declare module "lib/getSegmentList" {
|
|
1527
|
+
import { Offer, OfferSliceSegment } from "types/Offer";
|
|
1528
1528
|
export const getSegmentList: (offer: Offer) => OfferSliceSegment[];
|
|
1529
1529
|
}
|
|
1530
|
-
declare module "
|
|
1531
|
-
import { CreateOrderPayloadPassenger } from "
|
|
1532
|
-
import { OfferPassenger } from "
|
|
1530
|
+
declare module "lib/getPassengerName" {
|
|
1531
|
+
import { CreateOrderPayloadPassenger } from "types/CreateOrderPayload";
|
|
1532
|
+
import { OfferPassenger } from "types/Offer";
|
|
1533
1533
|
export const getPassengerName: (createOrderPayloadPassenger: CreateOrderPayloadPassenger, offerPassenger: OfferPassenger | undefined, fallbackIndex: number) => string;
|
|
1534
1534
|
}
|
|
1535
|
-
declare module "
|
|
1536
|
-
import { OfferAvailableServiceBaggageMetadata } from "
|
|
1535
|
+
declare module "lib/getBaggageServiceDescription" {
|
|
1536
|
+
import { OfferAvailableServiceBaggageMetadata } from "types/Offer";
|
|
1537
1537
|
export const getBaggageServiceDescription: (metadata: OfferAvailableServiceBaggageMetadata) => string | null;
|
|
1538
1538
|
}
|
|
1539
|
-
declare module "
|
|
1540
|
-
import { CreateOrderPayloadServices } from "
|
|
1541
|
-
import { OfferAvailableServiceBaggage } from "
|
|
1539
|
+
declare module "lib/hasServiceOfSameMetadataTypeAlreadyBeenSelected" {
|
|
1540
|
+
import { CreateOrderPayloadServices } from "types/CreateOrderPayload";
|
|
1541
|
+
import { OfferAvailableServiceBaggage } from "types/Offer";
|
|
1542
1542
|
export const hasServiceOfSameMetadataTypeAlreadyBeenSelected: (selectedServices: CreateOrderPayloadServices, segmentId: string, passengerId: string, availableService: OfferAvailableServiceBaggage) => boolean;
|
|
1543
1543
|
}
|
|
1544
|
-
declare module "
|
|
1544
|
+
declare module "components/DuffelAncillaries/Counter" {
|
|
1545
1545
|
import * as React from "react";
|
|
1546
1546
|
interface CounterProps {
|
|
1547
1547
|
id: string;
|
|
@@ -1552,10 +1552,10 @@ declare module "src/components/DuffelAncillaries/Counter" {
|
|
|
1552
1552
|
}
|
|
1553
1553
|
export const Counter: React.FC<CounterProps>;
|
|
1554
1554
|
}
|
|
1555
|
-
declare module "
|
|
1555
|
+
declare module "components/DuffelAncillaries/bags/BaggageSelectionController" {
|
|
1556
1556
|
import React from "react";
|
|
1557
|
-
import { CreateOrderPayloadServices } from "
|
|
1558
|
-
import { OfferAvailableServiceBaggage } from "
|
|
1557
|
+
import { CreateOrderPayloadServices } from "types/CreateOrderPayload";
|
|
1558
|
+
import { OfferAvailableServiceBaggage } from "types/Offer";
|
|
1559
1559
|
interface BaggageSelectionControllerProps {
|
|
1560
1560
|
segmentId: string;
|
|
1561
1561
|
passengerId: string;
|
|
@@ -1566,18 +1566,18 @@ declare module "src/components/DuffelAncillaries/bags/BaggageSelectionController
|
|
|
1566
1566
|
}
|
|
1567
1567
|
export const BaggageSelectionController: React.FC<BaggageSelectionControllerProps>;
|
|
1568
1568
|
}
|
|
1569
|
-
declare module "
|
|
1569
|
+
declare module "components/DuffelAncillaries/bags/IncludedBaggageBanner" {
|
|
1570
1570
|
import React from "react";
|
|
1571
|
-
import { OfferSliceSegmentPassengerBaggage } from "
|
|
1571
|
+
import { OfferSliceSegmentPassengerBaggage } from "types/Offer";
|
|
1572
1572
|
interface IncludedBaggageBannerProps {
|
|
1573
1573
|
includedBaggage: OfferSliceSegmentPassengerBaggage[];
|
|
1574
1574
|
}
|
|
1575
1575
|
export const IncludedBaggageBanner: React.FC<IncludedBaggageBannerProps>;
|
|
1576
1576
|
}
|
|
1577
|
-
declare module "
|
|
1577
|
+
declare module "components/DuffelAncillaries/bags/BaggageSelectionModalBodyPassenger" {
|
|
1578
1578
|
import React from "react";
|
|
1579
|
-
import { CreateOrderPayloadServices } from "
|
|
1580
|
-
import { OfferAvailableServiceBaggage, OfferSliceSegmentPassengerBaggage } from "
|
|
1579
|
+
import { CreateOrderPayloadServices } from "types/CreateOrderPayload";
|
|
1580
|
+
import { OfferAvailableServiceBaggage, OfferSliceSegmentPassengerBaggage } from "types/Offer";
|
|
1581
1581
|
export interface BaggageSelectionModalBodyPassengerProps {
|
|
1582
1582
|
segmentId: string;
|
|
1583
1583
|
passengerId: string;
|
|
@@ -1589,10 +1589,10 @@ declare module "src/components/DuffelAncillaries/bags/BaggageSelectionModalBodyP
|
|
|
1589
1589
|
}
|
|
1590
1590
|
export const BaggageSelectionModalBodyPassenger: React.FC<BaggageSelectionModalBodyPassengerProps>;
|
|
1591
1591
|
}
|
|
1592
|
-
declare module "
|
|
1592
|
+
declare module "components/DuffelAncillaries/bags/BaggageSelectionModalBody" {
|
|
1593
1593
|
import React from "react";
|
|
1594
|
-
import { CreateOrderPayloadPassenger, CreateOrderPayloadServices } from "
|
|
1595
|
-
import { Offer, OfferSliceSegment } from "
|
|
1594
|
+
import { CreateOrderPayloadPassenger, CreateOrderPayloadServices } from "types/CreateOrderPayload";
|
|
1595
|
+
import { Offer, OfferSliceSegment } from "types/Offer";
|
|
1596
1596
|
export interface BaggageSelectionModalBodyProps {
|
|
1597
1597
|
offer: Offer;
|
|
1598
1598
|
segment: OfferSliceSegment;
|
|
@@ -1602,10 +1602,10 @@ declare module "src/components/DuffelAncillaries/bags/BaggageSelectionModalBody"
|
|
|
1602
1602
|
}
|
|
1603
1603
|
export const BaggageSelectionModalBody: React.FC<BaggageSelectionModalBodyProps>;
|
|
1604
1604
|
}
|
|
1605
|
-
declare module "
|
|
1606
|
-
import { ServicePriceMapById } from "
|
|
1605
|
+
declare module "components/DuffelAncillaries/bags/BaggageSelectionModalFooter" {
|
|
1606
|
+
import { ServicePriceMapById } from "lib/getServicePriceMapById";
|
|
1607
1607
|
import React from "react";
|
|
1608
|
-
import { CreateOrderPayloadServices } from "
|
|
1608
|
+
import { CreateOrderPayloadServices } from "types/CreateOrderPayload";
|
|
1609
1609
|
export interface BaggageSelectionModalFooterProps {
|
|
1610
1610
|
currency: string;
|
|
1611
1611
|
selectedServices: CreateOrderPayloadServices;
|
|
@@ -1618,13 +1618,13 @@ declare module "src/components/DuffelAncillaries/bags/BaggageSelectionModalFoote
|
|
|
1618
1618
|
}
|
|
1619
1619
|
export const BaggageSelectionModalFooter: React.FC<BaggageSelectionModalFooterProps>;
|
|
1620
1620
|
}
|
|
1621
|
-
declare module "
|
|
1621
|
+
declare module "lib/formatDate" {
|
|
1622
1622
|
export const formatDateString: (dateString: string) => string | undefined;
|
|
1623
1623
|
export const formatDate: (date: Date) => string;
|
|
1624
1624
|
}
|
|
1625
|
-
declare module "
|
|
1625
|
+
declare module "components/DuffelAncillaries/bags/BaggageSelectionModalHeader" {
|
|
1626
1626
|
import React from "react";
|
|
1627
|
-
import { OfferSliceSegment } from "
|
|
1627
|
+
import { OfferSliceSegment } from "types/Offer";
|
|
1628
1628
|
export interface BaggageSelectionModalHeaderProps {
|
|
1629
1629
|
segmentCount: number;
|
|
1630
1630
|
currentSegmentIndex: number;
|
|
@@ -1633,10 +1633,10 @@ declare module "src/components/DuffelAncillaries/bags/BaggageSelectionModalHeade
|
|
|
1633
1633
|
}
|
|
1634
1634
|
export const BaggageSelectionModalHeader: React.FC<BaggageSelectionModalHeaderProps>;
|
|
1635
1635
|
}
|
|
1636
|
-
declare module "
|
|
1636
|
+
declare module "components/DuffelAncillaries/bags/BaggageSelectionModal" {
|
|
1637
1637
|
import React from "react";
|
|
1638
|
-
import { CreateOrderPayload, CreateOrderPayloadServices } from "
|
|
1639
|
-
import { Offer } from "
|
|
1638
|
+
import { CreateOrderPayload, CreateOrderPayloadServices } from "types/CreateOrderPayload";
|
|
1639
|
+
import { Offer } from "types/Offer";
|
|
1640
1640
|
export interface BaggageSelectionModalProps {
|
|
1641
1641
|
isOpen: boolean;
|
|
1642
1642
|
offer?: Offer;
|
|
@@ -1646,10 +1646,10 @@ declare module "src/components/DuffelAncillaries/bags/BaggageSelectionModal" {
|
|
|
1646
1646
|
}
|
|
1647
1647
|
export const BaggageSelectionModal: React.FC<BaggageSelectionModalProps>;
|
|
1648
1648
|
}
|
|
1649
|
-
declare module "
|
|
1649
|
+
declare module "components/DuffelAncillaries/bags/BaggageSelectionCard" {
|
|
1650
1650
|
import React from "react";
|
|
1651
|
-
import { CreateOrderPayload, CreateOrderPayloadServices } from "
|
|
1652
|
-
import { Offer } from "
|
|
1651
|
+
import { CreateOrderPayload, CreateOrderPayloadServices } from "types/CreateOrderPayload";
|
|
1652
|
+
import { Offer } from "types/Offer";
|
|
1653
1653
|
export interface BaggageSelectionCardProps {
|
|
1654
1654
|
isLoading: boolean;
|
|
1655
1655
|
offer?: Offer;
|
|
@@ -1659,25 +1659,25 @@ declare module "src/components/DuffelAncillaries/bags/BaggageSelectionCard" {
|
|
|
1659
1659
|
}
|
|
1660
1660
|
export const BaggageSelectionCard: React.FC<BaggageSelectionCardProps>;
|
|
1661
1661
|
}
|
|
1662
|
-
declare module "
|
|
1662
|
+
declare module "components/DuffelAncillaries/cancel_for_any_reason/CfarSelectionModalBodyListItem" {
|
|
1663
1663
|
import React, { ReactNode } from "react";
|
|
1664
1664
|
export const CfarSelectionModalBodyListItem: React.FC<{
|
|
1665
1665
|
children: ReactNode;
|
|
1666
1666
|
}>;
|
|
1667
1667
|
}
|
|
1668
|
-
declare module "
|
|
1668
|
+
declare module "components/DuffelAncillaries/cancel_for_any_reason/CfarSelectionModalBody" {
|
|
1669
1669
|
import React from "react";
|
|
1670
|
-
import { Offer, OfferAvailableServiceCancelForAnyReason } from "
|
|
1670
|
+
import { Offer, OfferAvailableServiceCancelForAnyReason } from "types/Offer";
|
|
1671
1671
|
export interface CfarSelectionModalBodyProps {
|
|
1672
1672
|
offerCurrency: Offer["base_currency"];
|
|
1673
1673
|
service: OfferAvailableServiceCancelForAnyReason;
|
|
1674
1674
|
}
|
|
1675
1675
|
export const CfarSelectionModalBody: React.FC<CfarSelectionModalBodyProps>;
|
|
1676
1676
|
}
|
|
1677
|
-
declare module "
|
|
1677
|
+
declare module "components/DuffelAncillaries/cancel_for_any_reason/CfarSelectionModalFooter" {
|
|
1678
1678
|
import React from "react";
|
|
1679
|
-
import { CreateOrderPayloadServices } from "
|
|
1680
|
-
import { OfferAvailableServiceCancelForAnyReason } from "
|
|
1679
|
+
import { CreateOrderPayloadServices } from "types/CreateOrderPayload";
|
|
1680
|
+
import { OfferAvailableServiceCancelForAnyReason } from "types/Offer";
|
|
1681
1681
|
export interface CfarSelectionModalFooterProps {
|
|
1682
1682
|
service: OfferAvailableServiceCancelForAnyReason;
|
|
1683
1683
|
selectedServices: CreateOrderPayloadServices;
|
|
@@ -1687,14 +1687,14 @@ declare module "src/components/DuffelAncillaries/cancel_for_any_reason/CfarSelec
|
|
|
1687
1687
|
}
|
|
1688
1688
|
export const CfarSelectionModalFooter: React.FC<CfarSelectionModalFooterProps>;
|
|
1689
1689
|
}
|
|
1690
|
-
declare module "
|
|
1690
|
+
declare module "components/DuffelAncillaries/cancel_for_any_reason/CfarSelectionModalHeader" {
|
|
1691
1691
|
import React from "react";
|
|
1692
1692
|
export const CfarSelectionModalHeader: React.FC;
|
|
1693
1693
|
}
|
|
1694
|
-
declare module "
|
|
1694
|
+
declare module "components/DuffelAncillaries/cancel_for_any_reason/CfarSelectionModal" {
|
|
1695
1695
|
import React from "react";
|
|
1696
|
-
import { CreateOrderPayloadServices } from "
|
|
1697
|
-
import { Offer, OfferAvailableServiceCancelForAnyReason } from "
|
|
1696
|
+
import { CreateOrderPayloadServices } from "types/CreateOrderPayload";
|
|
1697
|
+
import { Offer, OfferAvailableServiceCancelForAnyReason } from "types/Offer";
|
|
1698
1698
|
export interface CfarSelectionModalProps {
|
|
1699
1699
|
isOpen: boolean;
|
|
1700
1700
|
offerCurrency?: Offer["base_currency"];
|
|
@@ -1704,10 +1704,10 @@ declare module "src/components/DuffelAncillaries/cancel_for_any_reason/CfarSelec
|
|
|
1704
1704
|
}
|
|
1705
1705
|
export const CfarSelectionModal: React.FC<CfarSelectionModalProps>;
|
|
1706
1706
|
}
|
|
1707
|
-
declare module "
|
|
1707
|
+
declare module "components/DuffelAncillaries/cancel_for_any_reason/CfarSelectionCard" {
|
|
1708
1708
|
import React from "react";
|
|
1709
|
-
import { CreateOrderPayloadServices } from "
|
|
1710
|
-
import { Offer } from "
|
|
1709
|
+
import { CreateOrderPayloadServices } from "types/CreateOrderPayload";
|
|
1710
|
+
import { Offer } from "types/Offer";
|
|
1711
1711
|
export interface CfarSelectionCardProps {
|
|
1712
1712
|
isLoading: boolean;
|
|
1713
1713
|
offer?: Offer;
|
|
@@ -1716,13 +1716,13 @@ declare module "src/components/DuffelAncillaries/cancel_for_any_reason/CfarSelec
|
|
|
1716
1716
|
}
|
|
1717
1717
|
export const CfarSelectionCard: React.FC<CfarSelectionCardProps>;
|
|
1718
1718
|
}
|
|
1719
|
-
declare module "
|
|
1720
|
-
import { SeatMap, SeatMapCabinRowSectionElement } from "
|
|
1719
|
+
declare module "lib/getFirstSeatElementMatchingCriteria" {
|
|
1720
|
+
import { SeatMap, SeatMapCabinRowSectionElement } from "types/SeatMap";
|
|
1721
1721
|
const getFirstSeatElementMatchingCriteria: (seatMaps: SeatMap[], matcher: (element: SeatMapCabinRowSectionElement) => boolean) => SeatMapCabinRowSectionElement | undefined;
|
|
1722
1722
|
export { getFirstSeatElementMatchingCriteria };
|
|
1723
1723
|
}
|
|
1724
|
-
declare module "
|
|
1725
|
-
import { SeatMap } from "
|
|
1724
|
+
declare module "lib/getCurrencyForSeatMaps" {
|
|
1725
|
+
import { SeatMap } from "types/SeatMap";
|
|
1726
1726
|
/**
|
|
1727
1727
|
*
|
|
1728
1728
|
* Returns the currency of the first service of the given seat maps.
|
|
@@ -1733,27 +1733,27 @@ declare module "src/lib/getCurrencyForSeatMaps" {
|
|
|
1733
1733
|
const getCurrencyForSeatMaps: (seatMaps: SeatMap[]) => string | undefined;
|
|
1734
1734
|
export { getCurrencyForSeatMaps };
|
|
1735
1735
|
}
|
|
1736
|
-
declare module "
|
|
1737
|
-
import { OfferSliceSegment } from "
|
|
1736
|
+
declare module "lib/getPassengerBySegmentList" {
|
|
1737
|
+
import { OfferSliceSegment } from "types/Offer";
|
|
1738
1738
|
export const getPassengerBySegmentList: (segments: OfferSliceSegment[]) => {
|
|
1739
|
-
passenger: import("
|
|
1739
|
+
passenger: import("types/Offer").OfferSliceSegmentPassenger;
|
|
1740
1740
|
passengerIndex: number;
|
|
1741
1741
|
segment: OfferSliceSegment;
|
|
1742
1742
|
}[];
|
|
1743
1743
|
}
|
|
1744
|
-
declare module "
|
|
1745
|
-
import { SeatMap } from "
|
|
1746
|
-
export const getCabinsForSegmentAndDeck: (forDeck: number, seatMap: SeatMap) => import("
|
|
1744
|
+
declare module "lib/getCabinsForSegmentAndDeck" {
|
|
1745
|
+
import { SeatMap } from "types/SeatMap";
|
|
1746
|
+
export const getCabinsForSegmentAndDeck: (forDeck: number, seatMap: SeatMap) => import("types/SeatMap").SeatMapCabin[];
|
|
1747
1747
|
}
|
|
1748
|
-
declare module "
|
|
1749
|
-
import { SeatMapCabin, SeatMapCabinRowSectionElementAmenity } from "
|
|
1748
|
+
declare module "lib/getSymbols" {
|
|
1749
|
+
import { SeatMapCabin, SeatMapCabinRowSectionElementAmenity } from "types/SeatMap";
|
|
1750
1750
|
export const getSymbols: (cabins: SeatMapCabin[]) => Set<SeatMapCabinRowSectionElementAmenity>;
|
|
1751
1751
|
}
|
|
1752
|
-
declare module "
|
|
1753
|
-
import { SeatMapCabin } from "
|
|
1752
|
+
declare module "lib/hasWings" {
|
|
1753
|
+
import { SeatMapCabin } from "types/SeatMap";
|
|
1754
1754
|
export const hasWings: (cabin: SeatMapCabin, rowIndex: number) => boolean;
|
|
1755
1755
|
}
|
|
1756
|
-
declare module "
|
|
1756
|
+
declare module "components/shared/Tabs" {
|
|
1757
1757
|
import React from "react";
|
|
1758
1758
|
export interface TabsProps {
|
|
1759
1759
|
/**
|
|
@@ -1771,7 +1771,7 @@ declare module "src/components/shared/Tabs" {
|
|
|
1771
1771
|
}
|
|
1772
1772
|
export const Tabs: React.FC<TabsProps>;
|
|
1773
1773
|
}
|
|
1774
|
-
declare module "
|
|
1774
|
+
declare module "components/DuffelAncillaries/seats/DeckSelect" {
|
|
1775
1775
|
import * as React from "react";
|
|
1776
1776
|
export interface DeckSelectProps {
|
|
1777
1777
|
/**
|
|
@@ -1788,9 +1788,9 @@ declare module "src/components/DuffelAncillaries/seats/DeckSelect" {
|
|
|
1788
1788
|
*/
|
|
1789
1789
|
export const DeckSelect: React.FC<DeckSelectProps>;
|
|
1790
1790
|
}
|
|
1791
|
-
declare module "
|
|
1791
|
+
declare module "components/DuffelAncillaries/seats/Legend" {
|
|
1792
1792
|
import * as React from "react";
|
|
1793
|
-
import { SeatMapCabinRowSectionElementAmenity } from "
|
|
1793
|
+
import { SeatMapCabinRowSectionElementAmenity } from "types/SeatMap";
|
|
1794
1794
|
export interface LegendProps {
|
|
1795
1795
|
/**
|
|
1796
1796
|
* The set of additional symbols to display
|
|
@@ -1802,52 +1802,52 @@ declare module "src/components/DuffelAncillaries/seats/Legend" {
|
|
|
1802
1802
|
*/
|
|
1803
1803
|
export const Legend: React.FC<LegendProps>;
|
|
1804
1804
|
}
|
|
1805
|
-
declare module "
|
|
1806
|
-
import { SeatMapCabinRow } from "
|
|
1805
|
+
declare module "lib/getRowNumber" {
|
|
1806
|
+
import { SeatMapCabinRow } from "types/SeatMap";
|
|
1807
1807
|
export const getRowNumber: (row: SeatMapCabinRow) => string | null;
|
|
1808
1808
|
}
|
|
1809
|
-
declare module "
|
|
1809
|
+
declare module "components/DuffelAncillaries/seats/Amenity" {
|
|
1810
1810
|
import * as React from "react";
|
|
1811
|
-
import { SeatMapCabinRowSectionElementAmenity } from "
|
|
1811
|
+
import { SeatMapCabinRowSectionElementAmenity } from "types/SeatMap";
|
|
1812
1812
|
export interface AmenityProps {
|
|
1813
1813
|
type: SeatMapCabinRowSectionElementAmenity;
|
|
1814
1814
|
}
|
|
1815
1815
|
export const Amenity: React.FC<AmenityProps>;
|
|
1816
1816
|
}
|
|
1817
|
-
declare module "
|
|
1817
|
+
declare module "components/DuffelAncillaries/seats/EmptyElement" {
|
|
1818
1818
|
import * as React from "react";
|
|
1819
1819
|
export const EmptyElement: React.FC;
|
|
1820
1820
|
}
|
|
1821
|
-
declare module "
|
|
1821
|
+
declare module "components/DuffelAncillaries/seats/ExitElement" {
|
|
1822
1822
|
import * as React from "react";
|
|
1823
1823
|
interface ExitElementProps {
|
|
1824
1824
|
isRight: boolean;
|
|
1825
1825
|
}
|
|
1826
1826
|
export const ExitElement: React.FC<ExitElementProps>;
|
|
1827
1827
|
}
|
|
1828
|
-
declare module "
|
|
1828
|
+
declare module "lib/getPassengerInitials" {
|
|
1829
1829
|
export const getPassengerInitials: (passengerName?: string) => string;
|
|
1830
1830
|
}
|
|
1831
|
-
declare module "
|
|
1831
|
+
declare module "components/DuffelAncillaries/seats/SeatInfo" {
|
|
1832
1832
|
import * as React from "react";
|
|
1833
|
-
import { SeatMapCabinRowSectionAvailableService, SeatMapCabinRowSectionElementSeat } from "
|
|
1833
|
+
import { SeatMapCabinRowSectionAvailableService, SeatMapCabinRowSectionElementSeat } from "types/SeatMap";
|
|
1834
1834
|
export interface SeatInfoProps {
|
|
1835
1835
|
seat: SeatMapCabinRowSectionElementSeat | null;
|
|
1836
1836
|
service: SeatMapCabinRowSectionAvailableService | undefined;
|
|
1837
1837
|
}
|
|
1838
1838
|
export const SeatInfo: React.FC<SeatInfoProps>;
|
|
1839
1839
|
}
|
|
1840
|
-
declare module "
|
|
1840
|
+
declare module "components/DuffelAncillaries/seats/SeatUnavailable" {
|
|
1841
1841
|
import * as React from "react";
|
|
1842
|
-
import { SeatMapCabinRowSectionElementSeat } from "
|
|
1842
|
+
import { SeatMapCabinRowSectionElementSeat } from "types/SeatMap";
|
|
1843
1843
|
export const SeatUnavailable: React.FC<{
|
|
1844
1844
|
seat: SeatMapCabinRowSectionElementSeat;
|
|
1845
1845
|
}>;
|
|
1846
1846
|
}
|
|
1847
|
-
declare module "
|
|
1847
|
+
declare module "components/DuffelAncillaries/seats/SeatElement" {
|
|
1848
1848
|
import * as React from "react";
|
|
1849
|
-
import { CreateOrderPayloadSeatService } from "
|
|
1850
|
-
import { SeatMapCabinRowSectionElementSeat } from "
|
|
1849
|
+
import { CreateOrderPayloadSeatService } from "types/CreateOrderPayload";
|
|
1850
|
+
import { SeatMapCabinRowSectionElementSeat } from "types/SeatMap";
|
|
1851
1851
|
interface SeatElementProps {
|
|
1852
1852
|
element: SeatMapCabinRowSectionElementSeat;
|
|
1853
1853
|
currentSegmentId: string;
|
|
@@ -1858,10 +1858,10 @@ declare module "src/components/DuffelAncillaries/seats/SeatElement" {
|
|
|
1858
1858
|
}
|
|
1859
1859
|
export const SeatElement: React.FC<SeatElementProps>;
|
|
1860
1860
|
}
|
|
1861
|
-
declare module "
|
|
1861
|
+
declare module "components/DuffelAncillaries/seats/Element" {
|
|
1862
1862
|
import * as React from "react";
|
|
1863
|
-
import { CreateOrderPayloadSeatService } from "
|
|
1864
|
-
import { SeatMapCabinRowSectionElement } from "
|
|
1863
|
+
import { CreateOrderPayloadSeatService } from "types/CreateOrderPayload";
|
|
1864
|
+
import { SeatMapCabinRowSectionElement } from "types/SeatMap";
|
|
1865
1865
|
interface ElementProps {
|
|
1866
1866
|
sectionIndex: number;
|
|
1867
1867
|
elementIndex: number;
|
|
@@ -1874,10 +1874,10 @@ declare module "src/components/DuffelAncillaries/seats/Element" {
|
|
|
1874
1874
|
}
|
|
1875
1875
|
export const Element: React.FC<ElementProps>;
|
|
1876
1876
|
}
|
|
1877
|
-
declare module "
|
|
1877
|
+
declare module "components/DuffelAncillaries/seats/RowSection" {
|
|
1878
1878
|
import * as React from "react";
|
|
1879
|
-
import { CreateOrderPayloadSeatService } from "
|
|
1880
|
-
import { SeatMapCabinRow, SeatMapCabinRowSection } from "
|
|
1879
|
+
import { CreateOrderPayloadSeatService } from "types/CreateOrderPayload";
|
|
1880
|
+
import { SeatMapCabinRow, SeatMapCabinRowSection } from "types/SeatMap";
|
|
1881
1881
|
interface RowSectionProps {
|
|
1882
1882
|
row: SeatMapCabinRow;
|
|
1883
1883
|
rowNumber: string | null;
|
|
@@ -1892,10 +1892,10 @@ declare module "src/components/DuffelAncillaries/seats/RowSection" {
|
|
|
1892
1892
|
}
|
|
1893
1893
|
export const RowSection: React.FC<RowSectionProps>;
|
|
1894
1894
|
}
|
|
1895
|
-
declare module "
|
|
1895
|
+
declare module "components/DuffelAncillaries/seats/Row" {
|
|
1896
1896
|
import * as React from "react";
|
|
1897
|
-
import { CreateOrderPayloadSeatService } from "
|
|
1898
|
-
import { SeatMapCabinRow } from "
|
|
1897
|
+
import { CreateOrderPayloadSeatService } from "types/CreateOrderPayload";
|
|
1898
|
+
import { SeatMapCabinRow } from "types/SeatMap";
|
|
1899
1899
|
export interface RowProps {
|
|
1900
1900
|
row: SeatMapCabinRow;
|
|
1901
1901
|
hasWings: boolean;
|
|
@@ -1907,14 +1907,14 @@ declare module "src/components/DuffelAncillaries/seats/Row" {
|
|
|
1907
1907
|
}
|
|
1908
1908
|
export const Row: React.FC<RowProps>;
|
|
1909
1909
|
}
|
|
1910
|
-
declare module "
|
|
1910
|
+
declare module "components/DuffelAncillaries/seats/SeatMapUnavailable" {
|
|
1911
1911
|
import * as React from "react";
|
|
1912
1912
|
export const SeatMapUnavailable: React.FC;
|
|
1913
1913
|
}
|
|
1914
|
-
declare module "
|
|
1914
|
+
declare module "components/DuffelAncillaries/seats/SeatMap" {
|
|
1915
1915
|
import * as React from "react";
|
|
1916
|
-
import { CreateOrderPayloadSeatService } from "
|
|
1917
|
-
import { SeatMap as SeatMapType } from "
|
|
1916
|
+
import { CreateOrderPayloadSeatService } from "types/CreateOrderPayload";
|
|
1917
|
+
import { SeatMap as SeatMapType } from "types/SeatMap";
|
|
1918
1918
|
export interface SeatMapProps {
|
|
1919
1919
|
seatMap: SeatMapType;
|
|
1920
1920
|
selectedServicesMap: Record<string, CreateOrderPayloadSeatService>;
|
|
@@ -1925,17 +1925,17 @@ declare module "src/components/DuffelAncillaries/seats/SeatMap" {
|
|
|
1925
1925
|
}
|
|
1926
1926
|
export const SeatMap: React.FC<SeatMapProps>;
|
|
1927
1927
|
}
|
|
1928
|
-
declare module "
|
|
1928
|
+
declare module "components/DuffelAncillaries/seats/SeatSelectionModalBody" {
|
|
1929
1929
|
import React from "react";
|
|
1930
|
-
import { SeatMapProps } from "
|
|
1930
|
+
import { SeatMapProps } from "components/DuffelAncillaries/seats/SeatMap";
|
|
1931
1931
|
export type SeatSelectionModalBodyProps = SeatMapProps;
|
|
1932
1932
|
export const SeatSelectionModalBody: React.FC<SeatSelectionModalBodyProps>;
|
|
1933
1933
|
}
|
|
1934
|
-
declare module "
|
|
1935
|
-
import { ServicePriceMapById } from "
|
|
1934
|
+
declare module "components/DuffelAncillaries/seats/SeatSelectionModalFooter" {
|
|
1935
|
+
import { ServicePriceMapById } from "lib/getServicePriceMapById";
|
|
1936
1936
|
import React from "react";
|
|
1937
|
-
import { CreateOrderPayloadServices } from "
|
|
1938
|
-
import { SeatMap } from "
|
|
1937
|
+
import { CreateOrderPayloadServices } from "types/CreateOrderPayload";
|
|
1938
|
+
import { SeatMap } from "types/SeatMap";
|
|
1939
1939
|
export interface SeatSelectionModalFooterProps {
|
|
1940
1940
|
currency: string;
|
|
1941
1941
|
selectedServices: CreateOrderPayloadServices;
|
|
@@ -1949,9 +1949,9 @@ declare module "src/components/DuffelAncillaries/seats/SeatSelectionModalFooter"
|
|
|
1949
1949
|
}
|
|
1950
1950
|
export const SeatSelectionModalFooter: React.FC<SeatSelectionModalFooterProps>;
|
|
1951
1951
|
}
|
|
1952
|
-
declare module "
|
|
1952
|
+
declare module "components/DuffelAncillaries/seats/SeatSelectionModalHeader" {
|
|
1953
1953
|
import React from "react";
|
|
1954
|
-
import { OfferSliceSegment } from "
|
|
1954
|
+
import { OfferSliceSegment } from "types/Offer";
|
|
1955
1955
|
export interface SeatSelectionModalHeaderProps {
|
|
1956
1956
|
segmentAndPassengerPermutationsCount: number;
|
|
1957
1957
|
currentSegment: OfferSliceSegment;
|
|
@@ -1961,11 +1961,11 @@ declare module "src/components/DuffelAncillaries/seats/SeatSelectionModalHeader"
|
|
|
1961
1961
|
}
|
|
1962
1962
|
export const SeatSelectionModalHeader: React.FC<SeatSelectionModalHeaderProps>;
|
|
1963
1963
|
}
|
|
1964
|
-
declare module "
|
|
1964
|
+
declare module "components/DuffelAncillaries/seats/SeatSelectionModal" {
|
|
1965
1965
|
import React from "react";
|
|
1966
|
-
import { CreateOrderPayload, CreateOrderPayloadSeatService } from "
|
|
1967
|
-
import { Offer } from "
|
|
1968
|
-
import { SeatMap } from "
|
|
1966
|
+
import { CreateOrderPayload, CreateOrderPayloadSeatService } from "types/CreateOrderPayload";
|
|
1967
|
+
import { Offer } from "types/Offer";
|
|
1968
|
+
import { SeatMap } from "types/SeatMap";
|
|
1969
1969
|
export interface SeatSelectionModalProps {
|
|
1970
1970
|
isOpen: boolean;
|
|
1971
1971
|
offer?: Offer;
|
|
@@ -1976,11 +1976,11 @@ declare module "src/components/DuffelAncillaries/seats/SeatSelectionModal" {
|
|
|
1976
1976
|
}
|
|
1977
1977
|
export const SeatSelectionModal: React.FC<SeatSelectionModalProps>;
|
|
1978
1978
|
}
|
|
1979
|
-
declare module "
|
|
1979
|
+
declare module "components/DuffelAncillaries/seats/SeatSelectionCard" {
|
|
1980
1980
|
import React from "react";
|
|
1981
|
-
import { CreateOrderPayload, CreateOrderPayloadServices } from "
|
|
1982
|
-
import { Offer } from "
|
|
1983
|
-
import { SeatMap } from "
|
|
1981
|
+
import { CreateOrderPayload, CreateOrderPayloadServices } from "types/CreateOrderPayload";
|
|
1982
|
+
import { Offer } from "types/Offer";
|
|
1983
|
+
import { SeatMap } from "types/SeatMap";
|
|
1984
1984
|
export interface SeatSelectionCardProps {
|
|
1985
1985
|
isLoading: boolean;
|
|
1986
1986
|
offer?: Offer;
|
|
@@ -1991,13 +1991,13 @@ declare module "src/components/DuffelAncillaries/seats/SeatSelectionCard" {
|
|
|
1991
1991
|
}
|
|
1992
1992
|
export const SeatSelectionCard: React.FC<SeatSelectionCardProps>;
|
|
1993
1993
|
}
|
|
1994
|
-
declare module "
|
|
1994
|
+
declare module "components/DuffelAncillaries/DuffelAncillaries" {
|
|
1995
1995
|
import * as React from "react";
|
|
1996
|
-
import { DuffelAncillariesProps } from "
|
|
1996
|
+
import { DuffelAncillariesProps } from "types/DuffelAncillariesProps";
|
|
1997
1997
|
export const DuffelAncillaries: React.FC<DuffelAncillariesProps>;
|
|
1998
1998
|
}
|
|
1999
|
-
declare module "
|
|
2000
|
-
import { DuffelAncillariesPropsWithClientKeyAndOfferId, DuffelAncillariesPropsWithOfferIdForFixture, DuffelAncillariesPropsWithOffersAndSeatMaps, DuffelAncillariesPropWithOfferAndClientKey, OnPayloadReady } from "
|
|
1999
|
+
declare module "components/DuffelAncillaries/DuffelAncillariesCustomElement" {
|
|
2000
|
+
import { DuffelAncillariesPropsWithClientKeyAndOfferId, DuffelAncillariesPropsWithOfferIdForFixture, DuffelAncillariesPropsWithOffersAndSeatMaps, DuffelAncillariesPropWithOfferAndClientKey, OnPayloadReady } from "types/DuffelAncillariesProps";
|
|
2001
2001
|
global {
|
|
2002
2002
|
namespace JSX {
|
|
2003
2003
|
interface IntrinsicElements {
|
|
@@ -2009,7 +2009,7 @@ declare module "src/components/DuffelAncillaries/DuffelAncillariesCustomElement"
|
|
|
2009
2009
|
export function renderDuffelAncillariesCustomElement(props: DuffelAncillariesCustomElementRenderArguments): void;
|
|
2010
2010
|
export function onDuffelAncillariesPayloadReady(onPayloadReady: OnPayloadReady): void;
|
|
2011
2011
|
}
|
|
2012
|
-
declare module "
|
|
2012
|
+
declare module "types/CurrencyConversion" {
|
|
2013
2013
|
export interface CurrencyConversion {
|
|
2014
2014
|
/**
|
|
2015
2015
|
* currency The ISO-4217 currency code to be used
|
|
@@ -2021,7 +2021,7 @@ declare module "src/types/CurrencyConversion" {
|
|
|
2021
2021
|
rate: number;
|
|
2022
2022
|
}
|
|
2023
2023
|
}
|
|
2024
|
-
declare module "
|
|
2024
|
+
declare module "types/Order" {
|
|
2025
2025
|
export type Order = {
|
|
2026
2026
|
id: string;
|
|
2027
2027
|
[any: string]: any;
|
|
@@ -2031,9 +2031,9 @@ declare module "src/types/Order" {
|
|
|
2031
2031
|
};
|
|
2032
2032
|
export type OrderAvailableService = any;
|
|
2033
2033
|
}
|
|
2034
|
-
declare module "
|
|
2035
|
-
import { Airport } from "
|
|
2036
|
-
import { City } from "
|
|
2034
|
+
declare module "types/Place" {
|
|
2035
|
+
import { Airport } from "types/Airport";
|
|
2036
|
+
import { City } from "types/City";
|
|
2037
2037
|
export type Place = (Airport & {
|
|
2038
2038
|
type?: "airport";
|
|
2039
2039
|
airports?: Airport[] | null;
|
|
@@ -2041,23 +2041,23 @@ declare module "src/types/Place" {
|
|
|
2041
2041
|
type?: "city";
|
|
2042
2042
|
});
|
|
2043
2043
|
}
|
|
2044
|
-
declare module "
|
|
2045
|
-
export * from "
|
|
2046
|
-
export * from "
|
|
2047
|
-
export * from "
|
|
2048
|
-
export * from "
|
|
2049
|
-
export * from "
|
|
2050
|
-
export * from "
|
|
2051
|
-
export * from "
|
|
2052
|
-
export * from "
|
|
2053
|
-
export * from "
|
|
2054
|
-
export * from "
|
|
2055
|
-
export * from "
|
|
2056
|
-
}
|
|
2057
|
-
declare module "
|
|
2044
|
+
declare module "types/index" {
|
|
2045
|
+
export * from "types/Aircraft";
|
|
2046
|
+
export * from "types/Airline";
|
|
2047
|
+
export * from "types/Airport";
|
|
2048
|
+
export * from "types/City";
|
|
2049
|
+
export * from "types/CreateOrderPayload";
|
|
2050
|
+
export * from "types/CurrencyConversion";
|
|
2051
|
+
export * from "types/DuffelAncillariesProps";
|
|
2052
|
+
export * from "types/Offer";
|
|
2053
|
+
export * from "types/Order";
|
|
2054
|
+
export * from "types/Place";
|
|
2055
|
+
export * from "types/SeatMap";
|
|
2056
|
+
}
|
|
2057
|
+
declare module "components/DuffelPayments/DuffelPayments" {
|
|
2058
2058
|
import { StripeError } from "@stripe/stripe-js";
|
|
2059
2059
|
import * as React from "react";
|
|
2060
|
-
import { CustomStyles } from "
|
|
2060
|
+
import { CustomStyles } from "types/index";
|
|
2061
2061
|
export interface DuffelPaymentsProps {
|
|
2062
2062
|
paymentIntentClientToken: string;
|
|
2063
2063
|
onSuccessfulPayment: () => void;
|
|
@@ -2067,8 +2067,8 @@ declare module "src/components/DuffelPayments/DuffelPayments" {
|
|
|
2067
2067
|
}
|
|
2068
2068
|
export const DuffelPayments: React.FC<DuffelPaymentsProps>;
|
|
2069
2069
|
}
|
|
2070
|
-
declare module "
|
|
2071
|
-
import { DuffelPaymentsProps } from "
|
|
2070
|
+
declare module "components/DuffelPayments/DuffelPaymentsCustomElement" {
|
|
2071
|
+
import { DuffelPaymentsProps } from "components/DuffelPayments/DuffelPayments";
|
|
2072
2072
|
global {
|
|
2073
2073
|
namespace JSX {
|
|
2074
2074
|
interface IntrinsicElements {
|
|
@@ -2081,24 +2081,24 @@ declare module "src/components/DuffelPayments/DuffelPaymentsCustomElement" {
|
|
|
2081
2081
|
export function onDuffelPaymentsSuccessfulPayment(onSuccessfulPayment: DuffelPaymentsProps["onSuccessfulPayment"]): void;
|
|
2082
2082
|
export function onDuffelPaymentsFailedPayment(onFailedPayment: DuffelPaymentsProps["onFailedPayment"]): void;
|
|
2083
2083
|
}
|
|
2084
|
-
declare module "
|
|
2084
|
+
declare module "custom-elements" {
|
|
2085
2085
|
/**
|
|
2086
2086
|
* This file is one of the entry points for the library -- `@duffel/components/custom-elements`.
|
|
2087
2087
|
* If you'd like to expose other custom element functions, please add them here.
|
|
2088
2088
|
*/
|
|
2089
|
-
export { onDuffelAncillariesPayloadReady, renderDuffelAncillariesCustomElement, } from "
|
|
2090
|
-
export { onDuffelPaymentsFailedPayment, onDuffelPaymentsSuccessfulPayment, renderDuffelPaymentsCustomElement, } from "
|
|
2089
|
+
export { onDuffelAncillariesPayloadReady, renderDuffelAncillariesCustomElement, } from "components/DuffelAncillaries/DuffelAncillariesCustomElement";
|
|
2090
|
+
export { onDuffelPaymentsFailedPayment, onDuffelPaymentsSuccessfulPayment, renderDuffelPaymentsCustomElement, } from "components/DuffelPayments/DuffelPaymentsCustomElement";
|
|
2091
2091
|
}
|
|
2092
|
-
declare module "
|
|
2092
|
+
declare module "index" {
|
|
2093
2093
|
/**
|
|
2094
2094
|
* This file is the main entry point for the library -- `@duffel/components`.
|
|
2095
2095
|
* If you'd like to expose other react components, please add them here.
|
|
2096
2096
|
*/
|
|
2097
|
-
export * from "
|
|
2098
|
-
export * from "
|
|
2099
|
-
export * from "
|
|
2097
|
+
export * from "components/DuffelAncillaries/DuffelAncillaries";
|
|
2098
|
+
export * from "components/DuffelPayments/DuffelPayments";
|
|
2099
|
+
export * from "types/index";
|
|
2100
2100
|
}
|
|
2101
|
-
declare module "
|
|
2101
|
+
declare module "components/PlacesLookup/PlacesLookup" {
|
|
2102
2102
|
import React from "react";
|
|
2103
2103
|
interface City {
|
|
2104
2104
|
type: "city";
|
|
@@ -2119,38 +2119,3 @@ declare module "src/components/PlacesLookup/PlacesLookup" {
|
|
|
2119
2119
|
}
|
|
2120
2120
|
export const PlacesLookup: React.FC<PlacesLookupProps>;
|
|
2121
2121
|
}
|
|
2122
|
-
declare module "scripts/generate-fixture" {
|
|
2123
|
-
export const makeMockDateInTheFuture: (daysAhead: number) => Date;
|
|
2124
|
-
const _default: Promise<void>;
|
|
2125
|
-
export default _default;
|
|
2126
|
-
}
|
|
2127
|
-
declare module "scripts/setup-suggestion-data" {
|
|
2128
|
-
export interface CityCsvRow {
|
|
2129
|
-
id: string;
|
|
2130
|
-
iata_code: string;
|
|
2131
|
-
iata_country_code: string;
|
|
2132
|
-
name: string;
|
|
2133
|
-
inserted_at: string;
|
|
2134
|
-
updated_at: string;
|
|
2135
|
-
metropolitan_area: string;
|
|
2136
|
-
}
|
|
2137
|
-
export interface AirportCsvRow {
|
|
2138
|
-
id: string;
|
|
2139
|
-
iata_code: string;
|
|
2140
|
-
iata_city_code: string;
|
|
2141
|
-
iata_country_code: string;
|
|
2142
|
-
name: string;
|
|
2143
|
-
inserted_at: string;
|
|
2144
|
-
updated_at: string;
|
|
2145
|
-
source_type: string;
|
|
2146
|
-
alternative_names: string;
|
|
2147
|
-
icao_code: string;
|
|
2148
|
-
disabled_at: string;
|
|
2149
|
-
city_name: string;
|
|
2150
|
-
latitude: string;
|
|
2151
|
-
longitude: string;
|
|
2152
|
-
time_zone: string;
|
|
2153
|
-
}
|
|
2154
|
-
const _default_1: Promise<void>;
|
|
2155
|
-
export default _default_1;
|
|
2156
|
-
}
|