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,578 @@
1
+ import { ISmTTravelOffer } from "../sm-tech";
2
+ export { IAddOfferReqDto, IBuyOfferReqDto, IReserveOfferReqDto, IListOffersReqDto, IListOffersResDto, IAddOfferResDto, IGetOfferDetailsResDto, IRefreshAvailabilityResDto, IReplaceOfferResDto, IReserveOfferResDto, ICheckReserveOfferResDto, IBuyOfferResDto, ICancelOfferResDto, } from "./dtos";
3
+ export { IAddOfferCommandParams, IRefreshAvailabilityCommandParams, IBuyOfferCommandParams, ICancelOfferCommandParams, IReserveOfferCommandParams, IReplaceOfferCommandParams, ICheckReserveQueryParams, } from "./command-params";
4
+ export interface IWrappedResponse<T> {
5
+ status: IResponseStatus;
6
+ data?: T;
7
+ message?: string;
8
+ code?: number;
9
+ }
10
+ export interface ISmAzulTariffedJourney {
11
+ notForGeneralUse: boolean;
12
+ sellKey: string;
13
+ fare: ISmAzulFare;
14
+ segments: ISmAzulDetailedSegment[];
15
+ salesDate: Date;
16
+ }
17
+ export interface ISmAzulFare {
18
+ classOfService: string;
19
+ ruleTariff: string;
20
+ carrierCode: string;
21
+ ruleCode: string;
22
+ fareBasis: string;
23
+ paxFares: ISmPaxFareDto[];
24
+ fareApplicationType: ISmAzulFareApplicationType;
25
+ inboundOutbound: string;
26
+ isAllotmentMarketFare: boolean;
27
+ sellKey: string;
28
+ tripTypeRule: string;
29
+ }
30
+ export interface ISmPaxFareDto {
31
+ paxType: IPassengerType;
32
+ discountCode: string;
33
+ ruleTariff: string;
34
+ carrierCode: string;
35
+ ruleCode: string;
36
+ fareBasis: string;
37
+ fareDiscountCode: string;
38
+ actionStatusCode: string;
39
+ productClass: string;
40
+ productClassName: ISmAzulProductClassName;
41
+ fareStatus: ISmAzulFareStatus;
42
+ charges: ISmAzulServiceCharge[];
43
+ lastModified: Date;
44
+ availableCount: number;
45
+ status: string;
46
+ }
47
+ export interface ISmAzulSegment {
48
+ state: ISmAzulState;
49
+ departure: {
50
+ station: string;
51
+ dateTime: Date;
52
+ terminalOverride?: string;
53
+ };
54
+ arrival: {
55
+ station: string;
56
+ dateTime: Date;
57
+ terminalOverride?: string;
58
+ };
59
+ flightDesignator: ISmAzulFlightDesignator;
60
+ segmentType: string;
61
+ international: boolean;
62
+ legs: ISmAzulLeg[];
63
+ sellKey: string;
64
+ trafficRestriction: string;
65
+ }
66
+ export interface ISmAzulDetailedSegment extends ISmAzulSegment {
67
+ fares: ISmAzulFare[];
68
+ cancelSegment: boolean;
69
+ actionStatusCode: string;
70
+ classOfService: string;
71
+ classType: string;
72
+ paxCount: number;
73
+ priorityCode: string;
74
+ priorityDate: Date;
75
+ changeReasonCode: string;
76
+ timeChanged: boolean;
77
+ tripType: ISmAzulTripType;
78
+ checkInStatus: ISmAzulCheckInStatus;
79
+ createdDate: Date;
80
+ paxSegmentServices: ISmAzulPaxSegmentService[];
81
+ fareClassOfService: string;
82
+ cabinOfService: string;
83
+ aVSStatusIndicator: ISmAzulClassStatus;
84
+ segmentId: string;
85
+ }
86
+ export interface ISmAzulPaxSegmentService {
87
+ passengerId: number;
88
+ passengerNumber: number;
89
+ baggageCount: number;
90
+ baggageWeight: number;
91
+ paxLegServices?: any[];
92
+ }
93
+ export interface ISmAzulLeg {
94
+ departure: {
95
+ station: string;
96
+ dateTime: Date;
97
+ paxDateTime: Date;
98
+ terminal: string;
99
+ LTV: number;
100
+ };
101
+ arrival: {
102
+ station: string;
103
+ dateTime: Date;
104
+ paxDateTime: Date;
105
+ terminal: string;
106
+ LTV: number;
107
+ };
108
+ flightDesignator: ISmAzulFlightDesignator;
109
+ status: string;
110
+ inventoryLegKey: string;
111
+ aircraftType: string;
112
+ aircraftTypeSuffix: string;
113
+ PRBCCode: string;
114
+ scheduleServiceType: string;
115
+ onTime: string;
116
+ eTicket: boolean;
117
+ IROP: boolean;
118
+ FLIFOUpdated: boolean;
119
+ subjectToGovtApproval: boolean;
120
+ capacity: number;
121
+ lid: number;
122
+ adjustedCapacity: number;
123
+ sold: number;
124
+ soldNonStop: number;
125
+ soldConnect: number;
126
+ outMoveDays: number;
127
+ backMoveDays: number;
128
+ soldThru: number;
129
+ codeShareIndicator: string;
130
+ operatingCarrier: string;
131
+ operatingFlightNumber: string;
132
+ operatingOpSuffix: string;
133
+ operatedByText: string;
134
+ transitLayover: number;
135
+ transitDays: number;
136
+ }
137
+ export interface ISmAzulFlightDesignator {
138
+ carrierCode: string;
139
+ flightNumber: string;
140
+ opSuffix: string;
141
+ }
142
+ export interface ISmAzulBookingPassenger {
143
+ paxType: IPassengerType;
144
+ passengerFees: ISmAzulPassengerFee[];
145
+ }
146
+ export interface ISmAzulPassengerFee {
147
+ feeCode: string;
148
+ feeType: string;
149
+ charges: ISmAzulServiceCharge[];
150
+ }
151
+ export interface ISmAzulServiceCharge {
152
+ chargeType: ISmAzulChargeType;
153
+ collectType: ISmAzulCollectType;
154
+ chargeCode: string;
155
+ ticketCode: string;
156
+ currencyCode: string;
157
+ amount: number;
158
+ chargeDetail: string;
159
+ foreignCurrencyCode: string;
160
+ foreignAmount: number;
161
+ }
162
+ export interface ISmAzulJourney {
163
+ classOfService: string;
164
+ ruleTariff: string;
165
+ carrierCode: string;
166
+ ruleCode: string;
167
+ fareBasis: string;
168
+ paxFares: ISmAzulPaxFare[];
169
+ fareApplicationType: ISmAzulFareApplicationType;
170
+ inboundOutbound: string;
171
+ isAllotmentMarketFare: boolean;
172
+ sellKey: string;
173
+ tripTypeRule: string;
174
+ }
175
+ export interface ISmAzulPaxFare {
176
+ paxType: IPassengerType;
177
+ discountCode: string;
178
+ ruleTariff: string;
179
+ carrierCode: string;
180
+ ruleCode: string;
181
+ fareBasis: string;
182
+ fareDiscountCode: string;
183
+ actionStatusCode: string;
184
+ productClass: string;
185
+ productClassName: ISmAzulProductClassName;
186
+ fareStatus: ISmAzulFareStatus;
187
+ charges: ISmAzulServiceCharge[];
188
+ lastModified: Date;
189
+ availableCount: number;
190
+ status: string;
191
+ }
192
+ export interface ISmAzulOffer {
193
+ currencyCode: string;
194
+ total: number;
195
+ priceStatus: ISmAzulPriceStatus;
196
+ tariffedJourneys: ISmAzulTariffedJourney[];
197
+ bookingPassengers: ISmAzulBookingPassenger[];
198
+ }
199
+ export interface ISmWcfOffer {
200
+ outbound: ISmWcfBound;
201
+ inbound: ISmWcfBound | null;
202
+ supplier: string;
203
+ itineraryId?: number;
204
+ travelIdentification: string | IJourneyIdentificator[];
205
+ price: number;
206
+ priceDetails: IPriceDetails;
207
+ flightIdentification: string;
208
+ stopType: string;
209
+ cabinClass: string;
210
+ diffAirports: boolean;
211
+ familyOffers?: any[];
212
+ selectedItineraryId?: number;
213
+ supplierSearchId?: string;
214
+ }
215
+ export interface ISmWcfBound {
216
+ segments: ISmWcfSegment[];
217
+ supplier: string;
218
+ type: string;
219
+ departure: string;
220
+ departureHour: string;
221
+ departureTextDate: string;
222
+ departureWeekDay: string;
223
+ arrival: string;
224
+ arrivalHour: string;
225
+ arrivalTextDate: string;
226
+ arrivalWeekDay: string;
227
+ daysDiff: number;
228
+ origin: ISmWcfStation;
229
+ destination: ISmWcfStation;
230
+ totalStops: number;
231
+ carrier: ISmWcfCarrier;
232
+ durationMinutes: number;
233
+ cabinClass: string;
234
+ family: string;
235
+ baggage: boolean;
236
+ baggagePieces: number;
237
+ baggageWeight: number;
238
+ stops: any[];
239
+ durationHours: string;
240
+ }
241
+ export interface ISmWcfSegment {
242
+ departureMoment: string;
243
+ departure: string;
244
+ departureHour: string;
245
+ departureTextDate: string;
246
+ departureWeekDay: string;
247
+ arrivalMoment: string;
248
+ arrival: string;
249
+ arrivalHour: string;
250
+ arrivalTextDate: string;
251
+ arrivalWeekDay: string;
252
+ daysDiff: number;
253
+ durationMinutes: number;
254
+ durationHours: string;
255
+ origin: ISmWcfStation;
256
+ destination: ISmWcfStation;
257
+ carrier: ISmWcfCarrier;
258
+ family: string;
259
+ familyCode: string;
260
+ cabinClass: string;
261
+ flightNumber: string;
262
+ flightCode: string;
263
+ baggage: boolean;
264
+ baggagePieces: number;
265
+ baggageWeight: number;
266
+ fareInfo: ISmWcfFare;
267
+ }
268
+ interface ISmWcfStation {
269
+ code: string;
270
+ name: string;
271
+ type: string;
272
+ }
273
+ interface ISmWcfCarrier {
274
+ code: string;
275
+ name: string;
276
+ imageUrl: string;
277
+ }
278
+ export interface ISmWcfFare {
279
+ base: string;
280
+ class: string;
281
+ flightNumber: string;
282
+ }
283
+ export interface IJourneyIdentificator {
284
+ journeyKey: string;
285
+ fareKey: string;
286
+ fareInfo: IFareInfo | ISmTechFareInfo;
287
+ }
288
+ export interface IFareInfo {
289
+ classOfService: string;
290
+ ruleTariff: string;
291
+ carrierCode: string;
292
+ ruleCode: string;
293
+ fareBasis: string;
294
+ productClass: string;
295
+ productClassName: ISmAzulProductClassName;
296
+ }
297
+ export interface ISmTechFareInfo {
298
+ productClass: string;
299
+ productClassName: string;
300
+ fareBasis: string;
301
+ totalPrice: number;
302
+ baggageCount: number;
303
+ }
304
+ export interface IDateInfo {
305
+ writtenFormatWithDayOfWeek: string;
306
+ writtenFormat: string;
307
+ dateOnly: string;
308
+ hourMinuteOnly: string;
309
+ }
310
+ export interface IStationInfo {
311
+ code: string;
312
+ name: string;
313
+ type: string;
314
+ }
315
+ export interface ICarrierInfo {
316
+ code: string;
317
+ name: string;
318
+ imageUrl: string;
319
+ }
320
+ export interface IPriceDetails {
321
+ total: number;
322
+ totalFare: number;
323
+ totalTaxes: number;
324
+ totalAdditional: number;
325
+ totalDiscount: number;
326
+ totalPassengerFees?: number;
327
+ totalDiscountMargin: number;
328
+ }
329
+ export interface IReserveDetails {
330
+ status: string;
331
+ recordLocator: string;
332
+ price: number;
333
+ priceDetails?: IPriceDetails;
334
+ reservedUntil: Date | string;
335
+ extraLocators?: string;
336
+ supplierOrderId?: string;
337
+ refreshedOffer: ISmWcfOffer | ISmAzulOffer | ISmTTravelOffer;
338
+ }
339
+ export interface IContactInfo {
340
+ firstName: string;
341
+ surname: string;
342
+ email: string;
343
+ phone: {
344
+ ddi: string;
345
+ number: string;
346
+ };
347
+ companyName: string;
348
+ address: {
349
+ street: string;
350
+ number: number;
351
+ complement: string;
352
+ postalCode: string;
353
+ city: string;
354
+ stateCode: string;
355
+ countryCode: string;
356
+ };
357
+ }
358
+ export interface IPassengerInfo {
359
+ firstName: string;
360
+ surname: string;
361
+ birthDate: Date | string;
362
+ sex: ISex;
363
+ nationality: string;
364
+ residenceCountry: string;
365
+ cpf: {
366
+ number: number;
367
+ };
368
+ passport: {
369
+ number: number;
370
+ issuingCountry: string;
371
+ expirationDate: Date | string;
372
+ };
373
+ }
374
+ export interface IAirlinesOffer {
375
+ id: number;
376
+ status: IOfferStatus;
377
+ supplier: ISuppliers;
378
+ supplierOfferDetails: ISmAzulOffer | ISmWcfOffer;
379
+ price: number;
380
+ routes: IRoute[];
381
+ paxInfo: IPaxInfo;
382
+ oneway: boolean;
383
+ international: boolean;
384
+ recordLocator: string;
385
+ carrier: string;
386
+ availability: boolean;
387
+ }
388
+ export interface IRoute {
389
+ date: string;
390
+ departureStation: string;
391
+ arrivalStation: string;
392
+ stopover: {
393
+ station: string;
394
+ days: number;
395
+ };
396
+ filters?: IRouteFilters;
397
+ }
398
+ export interface IRouteFilters {
399
+ productClassName: ISmAzulProductClassName;
400
+ flightNumber: string;
401
+ }
402
+ export interface IPaxInfo {
403
+ adults: number;
404
+ children: number;
405
+ babies: number;
406
+ }
407
+ export interface IListOffersFiltersInfo {
408
+ carriersDataByName: Record<string, any>;
409
+ cheapestStopPricesMap: Record<string, number>;
410
+ cheapestMinStopPrice: number;
411
+ cheapestCarrierPricesMap: Record<string, number>;
412
+ cheapestAirportPricesMap: Record<string, number>;
413
+ }
414
+ export interface IReservationData {
415
+ contactInfo: IContactInfo;
416
+ passengersInfo: IPassengerInfo[];
417
+ }
418
+ export interface IOfferCancelationInfo {
419
+ supplier: ISuppliers;
420
+ recordLocator: string;
421
+ costToCancel?: number;
422
+ refundedValue?: number;
423
+ }
424
+ export interface IAvailabilityInfo {
425
+ availability: boolean;
426
+ currentPrice: number | null;
427
+ selectedPrice: number;
428
+ isSamePrice: boolean;
429
+ smWcfOffer: ISmWcfOffer | null;
430
+ updatedAirOfferDetails: ISmWcfOffer | ISmAzulOffer | ISmTTravelOffer;
431
+ }
432
+ export interface ISearchData {
433
+ international: boolean;
434
+ cabinClass: string;
435
+ promoCode: string;
436
+ paxInfo: IPaxInfo;
437
+ routes: IRoute[];
438
+ }
439
+ export interface IReserveCheckInfo {
440
+ availability: boolean;
441
+ currentPrice: number;
442
+ selectedPrice: number;
443
+ priceDetails: IPriceDetails;
444
+ isSamePrice: boolean;
445
+ error?: boolean;
446
+ message?: string;
447
+ }
448
+ export interface IOfferEmissionData {
449
+ recordLocator: string;
450
+ bookingCode: string;
451
+ price: number;
452
+ emittedAt: Date;
453
+ }
454
+ declare type ValueOf<T> = T[keyof T];
455
+ declare const RESPONSE_STATUS: {
456
+ readonly SUCCESS: "success";
457
+ readonly ERROR: "error";
458
+ readonly FAIL: "fail";
459
+ };
460
+ declare const SUPPLIERS: {
461
+ readonly SKYTEAM: "skyteam";
462
+ readonly AZUL: "azul";
463
+ readonly TTECH: "tech-travel";
464
+ };
465
+ declare const OFFER_STATUS: {
466
+ readonly ADDED: "added";
467
+ readonly RESERVED: "reserved";
468
+ readonly EMITTED: "emitted";
469
+ readonly CANCELED: "canceled";
470
+ };
471
+ declare const ORDER_OPTIONS: {
472
+ readonly RELEVANCE: "RELEVANCE";
473
+ readonly DURATION: "DURATION";
474
+ readonly PRICE: "PRICE";
475
+ };
476
+ declare const PASSENGER_TYPE: {
477
+ readonly ADULT: "ADT";
478
+ readonly CHILDREN: "CHD";
479
+ readonly INFANT: "INF";
480
+ };
481
+ declare const SEX: {
482
+ readonly MALE: "Male";
483
+ readonly FEMALE: "Female";
484
+ };
485
+ declare const SM_AZUL_PRICE_STATUS: {
486
+ readonly INVALID: "Invalid";
487
+ readonly OVERRIDE: "Override";
488
+ readonly VALID: "Valid";
489
+ };
490
+ declare const SM_AZUL_CHARGE_TYPE: {
491
+ readonly FARE_PRICE: "FarePrice";
492
+ readonly DISCOUNT: "Discount";
493
+ readonly INCLUDED_TRAVEL_FEE: "IncludedTravelFee";
494
+ readonly INCLUDED_TAX: "IncludedTax";
495
+ readonly TRAVEL_FEE: "TravelFee";
496
+ readonly TAX: "Tax";
497
+ readonly SERVICE_CHARGE: "ServiceCharge";
498
+ readonly PROMOTION_DISCOUNT: "PromotionDiscount";
499
+ readonly CONNECTION_ADJUSTMENT_AMOUNT: "ConnectionAdjustmentAmount";
500
+ readonly ADD_ON_SERVICE_PRICE: "AddOnServicePrice";
501
+ readonly POINTS: "Points";
502
+ readonly INCLUDED_ADD_ON_SERVICE_FEE: "IncludedAddOnServiceFee";
503
+ readonly ADD_ON_SERVICE_FEE: "AddOnServiceFee";
504
+ readonly ADD_ON_SERVICE_MARKUP: "AddOnServiceMarkup";
505
+ readonly CALCULATED: "Calculated";
506
+ readonly NOTE: "Note";
507
+ };
508
+ declare const SM_AZUL_COLLECT_TYPE: {
509
+ readonly IMMEDIATE: "Immediate";
510
+ readonly DEFERRED: "Deferred";
511
+ };
512
+ declare const SM_AZUL_PRODUCT_CLASS_NAME: {
513
+ readonly AZUL: "azul";
514
+ readonly AZUL_MAIS: "azul+";
515
+ readonly AZUL_SOUTH_AMERICA: "azulSA";
516
+ readonly AZUL_MAIS_SOUTH_AMERICA: "azul+SA";
517
+ readonly AZUL_NORTH_AMERICA_AND_EUROPE: "azulEUAndSA";
518
+ readonly AZUL_MAIS_NORTH_AMERICA_AND_EUROPE: "azul+EUAndSA";
519
+ readonly AZUL_SUPER: "azulSuper";
520
+ readonly AZUL_BUSINESS: "azulBusiness";
521
+ };
522
+ declare const SM_AZUL_TRIP_TYPE: {
523
+ readonly NONE: "None";
524
+ readonly ONE_WAY: "OneWay";
525
+ readonly ROUND_TRIP: "RoundTrip";
526
+ readonly HALF_ROUND: "HalfRound";
527
+ readonly OPEN_JAW: "OpenJaw";
528
+ readonly CIRCLE_TRIP: "CircleTrip";
529
+ readonly ALL: "All";
530
+ };
531
+ declare const SM_AZUL_FARE_STATUS: {
532
+ readonly DEFAULT: "Default";
533
+ readonly SAME_DAY_STAND_BY: "SameDayStandBy";
534
+ readonly FARE_OVERRIDE_CONFIRMING: "FareOverrideConfirming";
535
+ readonly FARE_OVERRIDE_CONFIRMED: "FareOverrideConfirmed";
536
+ readonly UNMAPPED: "Unmapped";
537
+ };
538
+ declare const SM_AZUL_FARE_APPLICATION_TYPE: {
539
+ readonly ROUTE: "Route";
540
+ readonly SECTOR: "Sector";
541
+ readonly GOVERNING: "Governing";
542
+ readonly UNMAPPED: "Unmapped";
543
+ };
544
+ declare const SM_AZUL_CHECK_IN_STATUS: {
545
+ readonly NOT_YET_OPEN: "NotYetOpen";
546
+ readonly OPEN: "Open";
547
+ readonly CLOSED: "Closed";
548
+ };
549
+ declare const SM_AZUL_CLASS_STATUS: {
550
+ readonly ACTIVE: "Active";
551
+ readonly INACTIVE: "InActive";
552
+ readonly AVS_OPEN: "AVSOpen";
553
+ readonly AVS_ON_REQUEST: "AVSOnRequest";
554
+ readonly AVS_CLOSED: "AVSClosed";
555
+ };
556
+ declare const SM_AZUL_STATE: {
557
+ readonly CLEAN: "Clean";
558
+ readonly NEW: "New";
559
+ readonly MODIFIED: "Modified";
560
+ readonly DELETED: "Deleted";
561
+ readonly CONFIRMED: "Confirmed";
562
+ };
563
+ export declare type IResponseStatus = ValueOf<typeof RESPONSE_STATUS>;
564
+ export declare type ISuppliers = ValueOf<typeof SUPPLIERS>;
565
+ export declare type IOfferStatus = ValueOf<typeof OFFER_STATUS>;
566
+ export declare type IOrderOptions = ValueOf<typeof ORDER_OPTIONS>;
567
+ export declare type IPassengerType = ValueOf<typeof PASSENGER_TYPE>;
568
+ export declare type ISex = ValueOf<typeof SEX>;
569
+ export declare type ISmAzulPriceStatus = ValueOf<typeof SM_AZUL_PRICE_STATUS>;
570
+ export declare type ISmAzulChargeType = ValueOf<typeof SM_AZUL_CHARGE_TYPE>;
571
+ export declare type ISmAzulCollectType = ValueOf<typeof SM_AZUL_COLLECT_TYPE>;
572
+ export declare type ISmAzulProductClassName = ValueOf<typeof SM_AZUL_PRODUCT_CLASS_NAME>;
573
+ export declare type ISmAzulFareStatus = ValueOf<typeof SM_AZUL_FARE_STATUS>;
574
+ export declare type ISmAzulFareApplicationType = ValueOf<typeof SM_AZUL_FARE_APPLICATION_TYPE>;
575
+ export declare type ISmAzulTripType = ValueOf<typeof SM_AZUL_TRIP_TYPE>;
576
+ export declare type ISmAzulCheckInStatus = ValueOf<typeof SM_AZUL_CHECK_IN_STATUS>;
577
+ export declare type ISmAzulClassStatus = ValueOf<typeof SM_AZUL_CLASS_STATUS>;
578
+ export declare type ISmAzulState = ValueOf<typeof SM_AZUL_STATE>;
@@ -0,0 +1,110 @@
1
+ "use strict";
2
+ Object.defineProperty(exports, "__esModule", { value: true });
3
+ var RESPONSE_STATUS = {
4
+ SUCCESS: "success",
5
+ ERROR: "error",
6
+ FAIL: "fail",
7
+ };
8
+ var SUPPLIERS = {
9
+ SKYTEAM: "skyteam",
10
+ AZUL: "azul",
11
+ TTECH: 'tech-travel'
12
+ };
13
+ var OFFER_STATUS = {
14
+ ADDED: "added",
15
+ RESERVED: "reserved",
16
+ EMITTED: "emitted",
17
+ CANCELED: "canceled",
18
+ };
19
+ var ORDER_OPTIONS = {
20
+ RELEVANCE: "RELEVANCE",
21
+ DURATION: "DURATION",
22
+ PRICE: "PRICE",
23
+ };
24
+ var PASSENGER_TYPE = {
25
+ ADULT: "ADT",
26
+ CHILDREN: "CHD",
27
+ INFANT: "INF",
28
+ };
29
+ var SEX = {
30
+ MALE: "Male",
31
+ FEMALE: "Female",
32
+ };
33
+ var SM_AZUL_PRICE_STATUS = {
34
+ INVALID: "Invalid",
35
+ OVERRIDE: "Override",
36
+ VALID: "Valid",
37
+ };
38
+ var SM_AZUL_CHARGE_TYPE = {
39
+ FARE_PRICE: "FarePrice",
40
+ DISCOUNT: "Discount",
41
+ INCLUDED_TRAVEL_FEE: "IncludedTravelFee",
42
+ INCLUDED_TAX: "IncludedTax",
43
+ TRAVEL_FEE: "TravelFee",
44
+ TAX: "Tax",
45
+ SERVICE_CHARGE: "ServiceCharge",
46
+ PROMOTION_DISCOUNT: "PromotionDiscount",
47
+ CONNECTION_ADJUSTMENT_AMOUNT: "ConnectionAdjustmentAmount",
48
+ ADD_ON_SERVICE_PRICE: "AddOnServicePrice",
49
+ POINTS: "Points",
50
+ INCLUDED_ADD_ON_SERVICE_FEE: "IncludedAddOnServiceFee",
51
+ ADD_ON_SERVICE_FEE: "AddOnServiceFee",
52
+ ADD_ON_SERVICE_MARKUP: "AddOnServiceMarkup",
53
+ CALCULATED: "Calculated",
54
+ NOTE: "Note",
55
+ };
56
+ var SM_AZUL_COLLECT_TYPE = {
57
+ IMMEDIATE: "Immediate",
58
+ DEFERRED: "Deferred",
59
+ };
60
+ var SM_AZUL_PRODUCT_CLASS_NAME = {
61
+ AZUL: "azul",
62
+ AZUL_MAIS: "azul+",
63
+ AZUL_SOUTH_AMERICA: "azulSA",
64
+ AZUL_MAIS_SOUTH_AMERICA: "azul+SA",
65
+ AZUL_NORTH_AMERICA_AND_EUROPE: "azulEUAndSA",
66
+ AZUL_MAIS_NORTH_AMERICA_AND_EUROPE: "azul+EUAndSA",
67
+ AZUL_SUPER: "azulSuper",
68
+ AZUL_BUSINESS: "azulBusiness",
69
+ };
70
+ var SM_AZUL_TRIP_TYPE = {
71
+ NONE: "None",
72
+ ONE_WAY: "OneWay",
73
+ ROUND_TRIP: "RoundTrip",
74
+ HALF_ROUND: "HalfRound",
75
+ OPEN_JAW: "OpenJaw",
76
+ CIRCLE_TRIP: "CircleTrip",
77
+ ALL: "All",
78
+ };
79
+ var SM_AZUL_FARE_STATUS = {
80
+ DEFAULT: "Default",
81
+ SAME_DAY_STAND_BY: "SameDayStandBy",
82
+ FARE_OVERRIDE_CONFIRMING: "FareOverrideConfirming",
83
+ FARE_OVERRIDE_CONFIRMED: "FareOverrideConfirmed",
84
+ UNMAPPED: "Unmapped",
85
+ };
86
+ var SM_AZUL_FARE_APPLICATION_TYPE = {
87
+ ROUTE: "Route",
88
+ SECTOR: "Sector",
89
+ GOVERNING: "Governing",
90
+ UNMAPPED: "Unmapped",
91
+ };
92
+ var SM_AZUL_CHECK_IN_STATUS = {
93
+ NOT_YET_OPEN: "NotYetOpen",
94
+ OPEN: "Open",
95
+ CLOSED: "Closed",
96
+ };
97
+ var SM_AZUL_CLASS_STATUS = {
98
+ ACTIVE: "Active",
99
+ INACTIVE: "InActive",
100
+ AVS_OPEN: "AVSOpen",
101
+ AVS_ON_REQUEST: "AVSOnRequest",
102
+ AVS_CLOSED: "AVSClosed",
103
+ };
104
+ var SM_AZUL_STATE = {
105
+ CLEAN: "Clean",
106
+ NEW: "New",
107
+ MODIFIED: "Modified",
108
+ DELETED: "Deleted",
109
+ CONFIRMED: "Confirmed",
110
+ };