sm-types 1.0.1

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.
@@ -0,0 +1,767 @@
1
+ export declare const FareType: {
2
+ readonly P: "P";
3
+ readonly T: "T";
4
+ readonly R: "R";
5
+ readonly W: "W";
6
+ readonly C: "C";
7
+ readonly O: "O";
8
+ readonly V: "V";
9
+ };
10
+ export declare const CurrencyOptions: {
11
+ readonly BRL: "BRL";
12
+ readonly USD: "USD";
13
+ };
14
+ export declare const Gender: {
15
+ readonly MALE: "Male";
16
+ readonly FEMALE: "Female";
17
+ };
18
+ export declare const FareClassControl: {
19
+ readonly LOWEST_FARE_CLASS: "LowestFareClass";
20
+ readonly COMPRESS_BY_PRODUCT_CLASS: "CompressByProductClass";
21
+ readonly DEFAULT: "Default";
22
+ };
23
+ export declare const AvailabilityFilter: {
24
+ readonly DEFAULT: "Default";
25
+ readonly EXCLUDE_DEPARTED: "ExcludeDeparted";
26
+ readonly EXCLUDE_IMMINENT: "ExcludeImminent";
27
+ readonly EXCLUDE_UNAVAILABLE: "ExcludeUnavailable";
28
+ };
29
+ export declare const AvailabilityType: {
30
+ readonly DEFAULT: "Default";
31
+ readonly STAND_BY: "Standby";
32
+ readonly OVERBOOK: "Overbook";
33
+ readonly MOVE: "Move";
34
+ };
35
+ export declare const FlightType: {
36
+ readonly NONE: "None";
37
+ readonly NON_STOP: "NonStop";
38
+ readonly THROUGH: "Through";
39
+ readonly DIRECT: "Direct";
40
+ readonly CONNECT: "Connect";
41
+ readonly ALL: "All";
42
+ };
43
+ export declare const InboundOutbound: {
44
+ readonly NONE: "None";
45
+ readonly INBOUND: "Inbound";
46
+ readonly OUTBOUND: "Outbound";
47
+ readonly BOTH: "Both";
48
+ readonly ROUND_FROM: "RoundFrom";
49
+ readonly ROUND_TO: "RoundTo";
50
+ readonly UNMAPPED: "Unmapped";
51
+ };
52
+ export declare const DayOfWeek: {
53
+ readonly NONE: "None";
54
+ readonly MONDAY: "Monday";
55
+ readonly TUESDAY: "Tuesday";
56
+ readonly WEDNESDAY: "Wednesday";
57
+ readonly THRUSDAY: "Thrusday";
58
+ readonly FRIDAY: "Friday";
59
+ readonly WEEK_DAY: "WeekDay";
60
+ readonly SATURDAY: "Saturday";
61
+ readonly SUNDAY: "Sunday";
62
+ readonly WEEK_END: "WeekEnd";
63
+ readonly DAILY: "Daily";
64
+ };
65
+ export declare const ChargeType: {
66
+ readonly FARE_PRICE: "FarePrice";
67
+ readonly DISCOUNT: "Discount";
68
+ readonly INCLUDED_TRAVEL_FEE: "IncludedTravelFee";
69
+ readonly INCLUDED_TAX: "IncludedTax";
70
+ readonly TRAVEL_FEE: "TravelFee";
71
+ readonly TAX: "Tax";
72
+ readonly SERVICE_CHARGE: "ServiceCharge";
73
+ readonly PROMOTION_DISCOUNT: "PromotionDiscount";
74
+ readonly CONNECTION_ADJUSTMENT_AMOUNT: "ConnectionAdjustmentAmount";
75
+ readonly ADD_ON_SERVICE_PRICE: "AddOnServicePrice";
76
+ readonly POINTS: "Points";
77
+ readonly INCLUDED_ADD_ON_SERVICE_FEE: "IncludedAddOnServiceFee";
78
+ readonly ADD_ON_SERVICE_FEE: "AddOnServiceFee";
79
+ readonly ADD_ON_SERVICE_MARKUP: "AddOnServiceMarkup";
80
+ readonly CALCULATED: "Calculated";
81
+ readonly NOTE: "Note";
82
+ };
83
+ export declare const CollectType: {
84
+ readonly IMMEDIATE: "Immediate";
85
+ readonly DEFERRED: "Deferred";
86
+ };
87
+ export declare const MessageState: {
88
+ readonly CLEAN: "Clean";
89
+ readonly NEW: "New";
90
+ readonly MODIFIED: "Modified";
91
+ readonly DELETED: "Deleted";
92
+ readonly CONFIRMED: "Confirmed";
93
+ };
94
+ export declare const FareStatus: {
95
+ readonly DEFAULT: "Default";
96
+ readonly SAME_DAY_STAND_BY: "SameDayStandBy";
97
+ readonly FARE_OVERRIDE_CONFIRMING: "FareOverrideConfirming";
98
+ readonly FARE_OVERRIDE_CONFIRMED: "FareOverrideConfirmed";
99
+ readonly UNMAPPED: "Unmapped";
100
+ };
101
+ export declare const FareApplicationType: {
102
+ readonly ROUTE: "Route";
103
+ readonly SECTOR: "Sector";
104
+ readonly GOVERNING: "Governing";
105
+ readonly UNMAPPED: "Unmapped";
106
+ };
107
+ export declare const TripType: {
108
+ readonly NONE: "None";
109
+ readonly ONE_WAY: "OneWay";
110
+ readonly ROUND_TRIP: "RoundTrip";
111
+ readonly HALF_ROUND: "HalfRound";
112
+ readonly OPEN_JAW: "OpenJaw";
113
+ readonly CIRCLE_TRIP: "CircleTrip";
114
+ readonly ALL: "All";
115
+ };
116
+ export declare const CheckInStatus: {
117
+ readonly NOT_YET_OPEN: "NotYetOpen";
118
+ readonly OPEN: "Open";
119
+ readonly CLOSED: "Closed";
120
+ };
121
+ export declare const ClassStatus: {
122
+ readonly ACTIVE: "Active";
123
+ readonly INACTIVE: "InActive";
124
+ readonly AVS_OPEN: "AVSOpen";
125
+ readonly AVS_ON_REQUEST: "AVSOnRequest";
126
+ readonly AVS_CLOSED: "AVSClosed";
127
+ };
128
+ export declare const SeatAssignmentLevel: {
129
+ readonly UNKNOWN: "Unknown";
130
+ readonly SEGMENT: "Segment";
131
+ readonly LEG: "Leg";
132
+ readonly PARTIAL_SEGMENT: "PartialSegment";
133
+ };
134
+ export declare const LiftStatus1: {
135
+ readonly DEFAULT: "Default";
136
+ readonly CHECKED_IN: "CheckedIn";
137
+ readonly BOARDED: "Boarded";
138
+ readonly NO_SHOW: "NoShow";
139
+ readonly UNMAPPED: "Unmapped";
140
+ };
141
+ export declare const BaggageStatus: {
142
+ readonly DEFAULT: "Default";
143
+ readonly CHECKED: "Checked";
144
+ readonly REMOVED: "Removed";
145
+ readonly ADDED: "Added";
146
+ };
147
+ export declare const PriceStatus: {
148
+ readonly INVALID: "Invalid";
149
+ readonly OVERRIDE: "Override";
150
+ readonly VALID: "Valid";
151
+ };
152
+ export declare const FeeType: {
153
+ readonly ALL: "All";
154
+ readonly TAX: "Tax";
155
+ readonly TRAVEL_FEE: "TravelFee";
156
+ readonly SERVICE_FEE: "ServiceFee";
157
+ readonly PAYMENT_FEE: "PaymentFee";
158
+ readonly PENALTY_FEE: "PenaltyFee";
159
+ readonly SSR_FEE: "SSRFee";
160
+ readonly NON_FLIGHT_SERVICE_FEE: "NonFlightServiceFee";
161
+ readonly UPGRADE_FEE: "UpgradeFee";
162
+ readonly SEAT_FEE: "SeatFee";
163
+ readonly BASE_FARE: "BaseFare";
164
+ readonly SPOILAGE_FEE: "SpoilageFee";
165
+ readonly NAME_CHANGE_FEE: "NameChangeFee";
166
+ readonly CONVENIENCE_FEE: "ConvenienceFee";
167
+ };
168
+ export declare const ProductClass: {
169
+ readonly AZUL: "F+";
170
+ readonly AZUL_MAIS: "PR";
171
+ readonly AZUL_SOUTH_AMERICA: "TP";
172
+ readonly AZUL_MAIS_SOUTH_AMERICA: "TI";
173
+ readonly AZUL_NORTH_AMERICA_AND_EUROPE: "ZK";
174
+ readonly AZUL_MAIS_NORTH_AMERICA_AND_EUROPE: "ZJ";
175
+ readonly AZUL_SUPER: "ZF";
176
+ readonly AZUL_BUSINESS: "ZE";
177
+ };
178
+ export declare const ProductClassName: {
179
+ readonly AZUL: "azul";
180
+ readonly AZUL_MAIS: "azul+";
181
+ readonly AZUL_SOUTH_AMERICA: "azulSA";
182
+ readonly AZUL_MAIS_SOUTH_AMERICA: "azul+SA";
183
+ readonly AZUL_NORTH_AMERICA_AND_EUROPE: "azulEUAndSA";
184
+ readonly AZUL_MAIS_NORTH_AMERICA_AND_EUROPE: "azul+EUAndSA";
185
+ readonly AZUL_SUPER: "azulSuper";
186
+ readonly AZUL_BUSINESS: "azulBusiness";
187
+ };
188
+ export declare const PaxType: {
189
+ readonly ADULT: "ADT";
190
+ readonly CHILDREN: "CHD";
191
+ readonly INFANT: "INF";
192
+ };
193
+ export declare const SeatPreference: {
194
+ readonly NONE: "None";
195
+ readonly WINDOW: "Window";
196
+ readonly AISLE: "Aisle";
197
+ readonly NO_PREFERENCE: "NoPreference";
198
+ };
199
+ export declare const BookingStatus: {
200
+ DEFAULT: string;
201
+ HOLD: string;
202
+ CONFIRMED: string;
203
+ CLOSED: string;
204
+ HOLD_CANCELED: string;
205
+ PENDING_ARCHIVE: string;
206
+ ARCHIVED: string;
207
+ };
208
+ declare type ValueOf<T> = T[keyof T];
209
+ export declare type IFareTypeDto = ValueOf<typeof FareType>;
210
+ export declare type ICurrencyOptionsDto = ValueOf<typeof CurrencyOptions>;
211
+ export declare type IGenderDto = ValueOf<typeof Gender>;
212
+ export declare type IFareClassControlDto = ValueOf<typeof FareClassControl>;
213
+ export declare type IFareApplicationTypeDto = ValueOf<typeof FareApplicationType>;
214
+ export declare type IFareStatusDto = ValueOf<typeof FareStatus>;
215
+ export declare type IAvailabilityFilterDto = ValueOf<typeof AvailabilityFilter>;
216
+ export declare type IAvailabilityTypeDto = ValueOf<typeof AvailabilityType>;
217
+ export declare type IFlightTypeDto = ValueOf<typeof FlightType>;
218
+ export declare type IInboundOutboundDto = ValueOf<typeof InboundOutbound>;
219
+ export declare type IDayOfWeekDto = ValueOf<typeof DayOfWeek>;
220
+ export declare type IChargeTypeDto = ValueOf<typeof ChargeType>;
221
+ export declare type ICollectTypeDto = ValueOf<typeof CollectType>;
222
+ export declare type IMessageStateDto = ValueOf<typeof MessageState>;
223
+ export declare type ITripTypeDto = ValueOf<typeof TripType>;
224
+ export declare type ICheckInStatusDto = ValueOf<typeof CheckInStatus>;
225
+ export declare type IClassStatusDto = ValueOf<typeof ClassStatus>;
226
+ export declare type ISeatAssignmentLevelDto = ValueOf<typeof SeatAssignmentLevel>;
227
+ export declare type ILiftStatus1Dto = ValueOf<typeof LiftStatus1>;
228
+ export declare type IBaggageStatusDto = ValueOf<typeof BaggageStatus>;
229
+ export declare type IPriceStatusDto = ValueOf<typeof PriceStatus>;
230
+ export declare type IFeeTypeDto = ValueOf<typeof FeeType>;
231
+ export declare type IProductClassDto = ValueOf<typeof ProductClass>;
232
+ export declare type IProductClassNameDto = ValueOf<typeof ProductClassName>;
233
+ export declare type IPaxTypeDto = ValueOf<typeof PaxType>;
234
+ export declare type ISeatPreferenceDto = ValueOf<typeof SeatPreference>;
235
+ export declare type IBookingStatusDto = ValueOf<typeof BookingStatus>;
236
+ export interface ITariffedOfferDto {
237
+ currencyCode: string;
238
+ total: number;
239
+ priceStatus: IPriceStatusDto;
240
+ tariffedJourneys: IJourneyServiceDto[];
241
+ bookingPassengers: IBookingPassengerDto[];
242
+ }
243
+ export interface IAirlinesOffer {
244
+ id: number;
245
+ supplier: string;
246
+ supplierOfferDetails: ITariffedOfferDto;
247
+ status: string;
248
+ oneway: boolean;
249
+ international: boolean;
250
+ paxInfo: IPaxInfoRequestDto;
251
+ price: number;
252
+ recordLocator: string;
253
+ routes: IRouteRequestDto[];
254
+ availability: boolean;
255
+ carrier: string;
256
+ }
257
+ export interface Session {
258
+ secureToken: string;
259
+ sessionId: number;
260
+ roleCode: string;
261
+ }
262
+ export interface IGeneralInfoDto {
263
+ routes: IRouteInfoDto[];
264
+ }
265
+ export interface IRouteRequestDto {
266
+ date: string;
267
+ departureStation: string;
268
+ arrivalStation: string;
269
+ stopover: {
270
+ station: string;
271
+ days: number;
272
+ };
273
+ filters?: IRouteFiltersRequestDto;
274
+ }
275
+ export interface IRouteFiltersRequestDto {
276
+ productClassName: IProductClassNameDto;
277
+ flightNumber: string;
278
+ }
279
+ export interface IPaxInfoRequestDto {
280
+ adults: number;
281
+ children: number;
282
+ babies: number;
283
+ }
284
+ export interface IJourneysPerStepDto {
285
+ routeInfo: IRouteInfoDto;
286
+ journeys: IInventoryJourneyDto[];
287
+ }
288
+ export interface IRouteInfoDto {
289
+ departureStation: string;
290
+ departureDate: Date;
291
+ arrivalStation: string;
292
+ }
293
+ export interface IFlightDesignatorDto {
294
+ carrierCode: string;
295
+ flightNumber: string;
296
+ opSuffix: string;
297
+ }
298
+ export interface IPointOfSaleDto {
299
+ state: string;
300
+ agentCode: string;
301
+ organizationCode: string;
302
+ domainCode: string;
303
+ locationCode: string;
304
+ }
305
+ export interface INameDto {
306
+ title: string;
307
+ firstName: string;
308
+ middleName: string;
309
+ lastName: string;
310
+ suffix: string;
311
+ }
312
+ export interface ILegDto {
313
+ departure: {
314
+ station: string;
315
+ dateTime: Date;
316
+ paxDateTime: Date;
317
+ terminal: string;
318
+ LTV: number;
319
+ };
320
+ arrival: {
321
+ station: string;
322
+ dateTime: Date;
323
+ paxDateTime: Date;
324
+ terminal: string;
325
+ LTV: number;
326
+ };
327
+ flightDesignator: IFlightDesignatorDto;
328
+ status: string;
329
+ inventoryLegKey: string;
330
+ aircraftType: string;
331
+ aircraftTypeSuffix: string;
332
+ PRBCCode: string;
333
+ scheduleServiceType: string;
334
+ onTime: string;
335
+ eTicket: boolean;
336
+ IROP: boolean;
337
+ FLIFOUpdated: boolean;
338
+ subjectToGovtApproval: boolean;
339
+ capacity: number;
340
+ lid: number;
341
+ adjustedCapacity: number;
342
+ sold: number;
343
+ soldNonStop: number;
344
+ soldConnect: number;
345
+ outMoveDays: number;
346
+ backMoveDays: number;
347
+ soldThru: number;
348
+ codeShareIndicator: string;
349
+ operatingCarrier: string;
350
+ operatingFlightNumber: string;
351
+ operatingOpSuffix: string;
352
+ operatedByText: string;
353
+ transitLayover: number;
354
+ transitDays: number;
355
+ }
356
+ export interface IFareDto {
357
+ classOfService: string;
358
+ ruleTariff: string;
359
+ carrierCode: string;
360
+ ruleCode: string;
361
+ fareBasis: string;
362
+ paxFares: IPaxFareDto[];
363
+ fareApplicationType: IFareApplicationTypeDto;
364
+ inboundOutbound: string;
365
+ isAllotmentMarketFare: boolean;
366
+ sellKey: string;
367
+ tripTypeRule: string;
368
+ }
369
+ export interface IServiceChargeDto {
370
+ chargeType: IChargeTypeDto;
371
+ collectType: ICollectTypeDto;
372
+ chargeCode: string;
373
+ ticketCode: string;
374
+ currencyCode: string;
375
+ amount: number;
376
+ chargeDetail: string;
377
+ foreignCurrencyCode: string;
378
+ foreignAmount: number;
379
+ }
380
+ export interface IPaxFareDto {
381
+ paxType: IPaxTypeDto;
382
+ discountCode: string;
383
+ ruleTariff: string;
384
+ carrierCode: string;
385
+ ruleCode: string;
386
+ fareBasis: string;
387
+ fareDiscountCode: string;
388
+ actionStatusCode: string;
389
+ productClass: string;
390
+ productClassName: IProductClassNameDto;
391
+ fareStatus: IFareStatusDto;
392
+ charges: IServiceChargeDto[];
393
+ lastModified: Date;
394
+ availableCount: number;
395
+ status: string;
396
+ }
397
+ export interface IInventoryJourneyDto {
398
+ state?: string;
399
+ segments: ISegmentDto[];
400
+ journeyClasses?: any;
401
+ salesDate?: Date;
402
+ notForGeneralUse: boolean;
403
+ sellKey: string;
404
+ fares: IFareDto[];
405
+ }
406
+ export interface IBookingContactDto {
407
+ firstName: string;
408
+ lastName: string;
409
+ email: string;
410
+ phone: string;
411
+ companyName: string;
412
+ address: string;
413
+ city: string;
414
+ state: string;
415
+ postalCode: string;
416
+ countryCode: string;
417
+ }
418
+ export interface IBookingPassengerDto {
419
+ paxType: IPaxTypeDto;
420
+ passengerFees: IPassengerFeeDto[];
421
+ }
422
+ export interface IPassengerDto {
423
+ state: string;
424
+ customerNumber: string;
425
+ passengerNumber: string;
426
+ name: INameDto | {};
427
+ paxPriceType: IPaxPriceType;
428
+ passengerFees: IPassengerFeeDto[];
429
+ passengerPenaltyFees: IPassengerFeeDto[];
430
+ }
431
+ export interface IPaxPriceType {
432
+ paxType: IPaxTypeDto;
433
+ paxDiscountCodeField: string;
434
+ }
435
+ export interface IPersonNameDto {
436
+ personId: number;
437
+ personNameId: number;
438
+ nameType: string;
439
+ name: INameDto;
440
+ state: IMessageStateDto;
441
+ createdAgentId: number;
442
+ createdDate: Date;
443
+ modifiedAgentId: number;
444
+ modifiedDate: Date;
445
+ }
446
+ export interface IPassengerFeeDto {
447
+ feeCode: string;
448
+ feeType: string;
449
+ charges: IServiceChargeDto[];
450
+ }
451
+ export interface IJourneyServiceDto {
452
+ notForGeneralUse: boolean;
453
+ sellKey: string;
454
+ fare: IFareDto;
455
+ segments: ISegment1Dto[];
456
+ salesDate: Date;
457
+ }
458
+ interface IBaseSegmentDto {
459
+ state: IMessageStateDto;
460
+ departure: {
461
+ station: string;
462
+ dateTime: Date;
463
+ terminalOverride?: string;
464
+ };
465
+ arrival: {
466
+ station: string;
467
+ dateTime: Date;
468
+ terminalOverride?: string;
469
+ };
470
+ flightDesignator: IFlightDesignatorDto;
471
+ segmentType: string;
472
+ international: boolean;
473
+ legs: ILegDto[];
474
+ sellKey: string;
475
+ trafficRestriction: string;
476
+ }
477
+ export interface ISegmentDto extends IBaseSegmentDto {
478
+ jointOpInfoOverride: string;
479
+ inventorySegmentSSRNEsts: string;
480
+ segmentClasses: string[];
481
+ fares: IFareDto[];
482
+ }
483
+ export interface ISegment1Dto extends IBaseSegmentDto {
484
+ fares: IFareDto[];
485
+ cancelSegment: boolean;
486
+ actionStatusCode: string;
487
+ classOfService: string;
488
+ classType: string;
489
+ paxCount: number;
490
+ priorityCode: string;
491
+ priorityDate: Date;
492
+ changeReasonCode: string;
493
+ timeChanged: boolean;
494
+ tripType: ITripTypeDto;
495
+ checkInStatus: ICheckInStatusDto;
496
+ createdDate: Date;
497
+ paxSegmentServices: IPaxSegmentServiceDto[];
498
+ fareClassOfService: string;
499
+ cabinOfService: string;
500
+ aVSStatusIndicator: IClassStatusDto;
501
+ segmentId: string;
502
+ }
503
+ export interface IPaxSegmentServiceDto {
504
+ passengerId: number;
505
+ passengerNumber: number;
506
+ baggageCount: number;
507
+ baggageWeight: number;
508
+ paxLegServices?: IPaxLegServiceDto[];
509
+ }
510
+ export interface IPaxLegServiceDto {
511
+ legNumber: number;
512
+ legSSRServices: unknown;
513
+ legBaggageList: ILegBaggageDto[];
514
+ }
515
+ export interface ILegBaggageDto {
516
+ baggageId: string;
517
+ baggageStatus: IBaggageStatusDto;
518
+ compartmentId: string;
519
+ }
520
+ export interface IFareChangeDto {
521
+ journeyKey: string;
522
+ fareClass: string;
523
+ paxFares: IPaxFareDto[];
524
+ }
525
+ export interface IOtherServiceInformationDto {
526
+ text: string;
527
+ OSIType: string;
528
+ OSISeverity: string;
529
+ }
530
+ export interface IBookingQueueInfoDto {
531
+ bookingID: string;
532
+ passengerID: string;
533
+ queueCode: string;
534
+ notes: string;
535
+ queueEventType: string;
536
+ watchListID: string;
537
+ queueName: string;
538
+ queueAction: string;
539
+ queueMode: string;
540
+ }
541
+ export interface IPaymentDto {
542
+ paymentID: string;
543
+ referenceType: string;
544
+ referenceID: string;
545
+ paymentMethodType: string;
546
+ paymentMethodCode: string;
547
+ currencyCode: string;
548
+ nominalPaymentAmount: number;
549
+ collectedCurrencyCode: string;
550
+ collectedAmount: number;
551
+ quotedCurrencyCode: string;
552
+ quotedAmount: number;
553
+ status: string;
554
+ accountNumber: string;
555
+ expiration: Date;
556
+ authorizationCode: string;
557
+ authorizationStatus: string;
558
+ parentPaymentId: string;
559
+ transferred: boolean;
560
+ DCCTransactionID: string;
561
+ DCCRateID: string;
562
+ DCCStatus: string;
563
+ reconciliationID: string;
564
+ fundedDate: Date;
565
+ installments: number;
566
+ paymentText: string;
567
+ channelType: string;
568
+ paymentNumber: string;
569
+ accountName: string;
570
+ sourcePointOfSale?: IPointOfSaleDto;
571
+ pointOfSale: IPointOfSaleDto;
572
+ paymentFields?: IPaymentFieldDto[];
573
+ paymentAddresses?: IPaymentAddressDto[];
574
+ paymentAttachments?: IPaymentAttachmentDto[];
575
+ interestAmount: number;
576
+ taxAmount: number;
577
+ }
578
+ export interface IPaymentFieldDto {
579
+ fieldName: string;
580
+ fieldValue: string | boolean;
581
+ }
582
+ export interface IPaymentAddressDto {
583
+ paymentID: string;
584
+ companyName: string;
585
+ addressLine1: string;
586
+ addressLine2: string;
587
+ addressLine3: string;
588
+ city: string;
589
+ provinceState: string;
590
+ postalCode: string;
591
+ countryCode: string;
592
+ }
593
+ export interface IPaymentAttachmentDto {
594
+ paymentID: string;
595
+ paymentAttachmentID: string;
596
+ paymentAttachmentType: string;
597
+ attachment: string[];
598
+ }
599
+ export interface IRecordLocatorDto {
600
+ systemDomainCode: string;
601
+ owningSystemCode: string;
602
+ recordCode: string;
603
+ bookingSystemCode: string;
604
+ interactionPurpose: string;
605
+ hostedCarrierCode: string;
606
+ }
607
+ export interface IBookingCommentDto {
608
+ bookingCommentID: string;
609
+ commentType: string;
610
+ commentText: string;
611
+ pointOfSale: IPointOfSaleDto;
612
+ }
613
+ export interface ISSRResponseDto {
614
+ inventoryLegKey: string;
615
+ passengerNumber: string;
616
+ legSSRServices: ILegSSRServiceDto[];
617
+ }
618
+ export interface ILegSSRServiceDto {
619
+ actionStatusCode: string;
620
+ SSRCode: string;
621
+ SSRNumber: string;
622
+ SSRDetail: string;
623
+ note: string;
624
+ feeCode: string;
625
+ unitValue: number;
626
+ }
627
+ export interface ISeatResponseDto {
628
+ flightDesignator: IFlightDesignatorDto;
629
+ departure: {
630
+ station: string;
631
+ dateTime: Date;
632
+ };
633
+ arrival: {
634
+ station: string;
635
+ dateTime: Date;
636
+ };
637
+ passengerNumber: string;
638
+ seat: ISeatDto;
639
+ seatGroup: string;
640
+ seatAssignmentLevel: ISeatAssignmentLevelDto;
641
+ seatPreference: string;
642
+ }
643
+ export interface ISeatDto {
644
+ row: string;
645
+ column: string;
646
+ cabinOfService: string;
647
+ }
648
+ export interface ISegmentChangeDto {
649
+ flightDesignator: IFlightDesignatorDto;
650
+ departure: {
651
+ station: string;
652
+ dateTime: Date;
653
+ };
654
+ arrival: {
655
+ station: string;
656
+ dateTime: Date;
657
+ };
658
+ classOfService: string;
659
+ cabinOfService: string;
660
+ }
661
+ export interface IPassengerSegmentDto {
662
+ flightDesignator: IFlightDesignatorDto;
663
+ departure: {
664
+ station: string;
665
+ dateTime: Date;
666
+ };
667
+ arrival: {
668
+ station: string;
669
+ dateTime: Date;
670
+ };
671
+ passengerNumber: string;
672
+ ticketIndicator: string;
673
+ ticketNumber: string;
674
+ ticketStatus: string;
675
+ infantTicketNumber: string;
676
+ }
677
+ export interface IBookingComponent {
678
+ shouldCommitToPDS: string;
679
+ bookingComponentID: string;
680
+ bookingID: string;
681
+ supplierCode: string;
682
+ supplierRecordLocator: string;
683
+ systemCode: string;
684
+ systemRecordLocator: string;
685
+ recordReference: string;
686
+ serviceTypeCode: string;
687
+ status: string;
688
+ beginDate: Date;
689
+ endDate: Date;
690
+ beginLocationCode: string;
691
+ endLocationCode: string;
692
+ sourceCode: string;
693
+ rateCode: string;
694
+ productCode: string;
695
+ SKUCode: string;
696
+ quantity: number;
697
+ passengerID: string;
698
+ passengerNumber: string;
699
+ flightReference: string;
700
+ productDescription: string;
701
+ changeReasonCode: string;
702
+ createdAgentCode: string;
703
+ createdOrganizationCode: string;
704
+ createdDomainCode: string;
705
+ createdLocationCode: string;
706
+ sourceAgentCode: string;
707
+ sourceOrganizationCode: string;
708
+ sourceDomainCode: string;
709
+ sourceLocationCode: string;
710
+ bookingComponentCharges: IBookingComponentChargeDto[];
711
+ bookingComponentDetails: IBookingComponentDetailDto[];
712
+ bookingComponentInfos: IBookingComponentInfoDto[];
713
+ bookingComponentNotes: IBookingComponentNoteDto[];
714
+ bookingComponentSSRs: IBookingComponentSSRDto[];
715
+ }
716
+ export interface IBookingComponentChargeDto {
717
+ bookingComponentID: string;
718
+ chargeNumber: string;
719
+ chargeType: IChargeTypeDto;
720
+ chargeCode: string;
721
+ ticketCode: string;
722
+ collectType: ICollectTypeDto;
723
+ currencyCode: string;
724
+ chargeAmount: number;
725
+ chargeDetail: string;
726
+ foreignCurrencyCode: string;
727
+ foreignAmount: number;
728
+ createdDateTime: Date;
729
+ createdAgentID: string;
730
+ }
731
+ export interface IBookingComponentDetailDto {
732
+ bookingComponentID: string;
733
+ productDetailTypeCode: string;
734
+ productDetailCode: string;
735
+ productDetailDescription: string;
736
+ }
737
+ export interface IBookingComponentInfoDto {
738
+ bookingComponentID: string;
739
+ typeCode: string;
740
+ infoData: string;
741
+ }
742
+ export interface IBookingComponentNoteDto {
743
+ bookingComponentID: string;
744
+ typeCode: string;
745
+ note: string;
746
+ }
747
+ export interface IBookingComponentSSRDto {
748
+ bookingComponentID: string;
749
+ SSRNumber: string;
750
+ SSRCode: string;
751
+ note: string;
752
+ }
753
+ export interface IValidationErrorDto {
754
+ errorType: string;
755
+ errorDescription: string;
756
+ attributeName: string;
757
+ }
758
+ export interface IPriceDetailsDto {
759
+ total: number;
760
+ totalFare: number;
761
+ totalTaxes: number;
762
+ totalAdditional: number;
763
+ totalDiscount: number;
764
+ totalPassengerFees?: number;
765
+ totalDiscountMargin: number;
766
+ }
767
+ export {};