sm-types 1.11.95 → 1.11.97
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.
|
@@ -2,12 +2,12 @@
|
|
|
2
2
|
Object.defineProperty(exports, "__esModule", { value: true });
|
|
3
3
|
exports.ORDER_ITEM = void 0;
|
|
4
4
|
exports.ORDER_ITEM = {
|
|
5
|
-
|
|
5
|
+
CARD_NOT_ELIGIBLE: {
|
|
6
6
|
usecase: "ORDER_ITEM",
|
|
7
|
-
type: "
|
|
7
|
+
type: "CARD_NOT_ELIGIBLE",
|
|
8
8
|
messageLangMap: {
|
|
9
|
-
"PT-BR": "
|
|
10
|
-
"EN-US": "
|
|
9
|
+
"PT-BR": "Este cartão não pode ser usado nesta compra devido às regras de configuração.",
|
|
10
|
+
"EN-US": "This card cannot be used for this purchase due to configuration rules.",
|
|
11
11
|
},
|
|
12
12
|
},
|
|
13
13
|
INVALID_PAYMENT_METHOD: {
|
package/package.json
CHANGED
|
@@ -1,8 +1,9 @@
|
|
|
1
|
-
import { IListOffersFiltersInfo, ISmAzulOffer, ISmWcfOffer, IPriceDetails, IWcfCredentials, ITTravelCredentialItem, ISmWcfFamilyOffer, AirlinesFlightChangeType } from "../index";
|
|
2
|
-
import { CredentialTypeEnum, Nullable, BookingConfirmationStatus } from "../../common";
|
|
3
|
-
import { IAzulCredentials, IAzulFareDetails } from "../../sm-azul";
|
|
4
|
-
import { AmadeusCredentials, SmAmadeusOffer } from "../../sm-amadeus";
|
|
5
1
|
import { EnrichedJourneyOptions, PaymentDetails } from "../../api-core/flight-controller/responses";
|
|
2
|
+
import { BookingConfirmationStatus, CredentialTypeEnum, Nullable } from "../../common";
|
|
3
|
+
import { AmadeusCredentials, SmAmadeusOffer } from "../../sm-amadeus";
|
|
4
|
+
import { IAzulCredentials, IAzulFareDetails } from "../../sm-azul";
|
|
5
|
+
import { AirlinesFlightChangeType, IListOffersFiltersInfo, IPriceDetails, ISmAzulOffer, ISmWcfFamilyOffer, ISmWcfOffer, ITTravelCredentialItem, IWcfCredentials } from "../index";
|
|
6
|
+
export type OfferComposition = "single_selected_offer" | "combined_from_separated_roundtrip";
|
|
6
7
|
export interface IListFareFamiliesResDto {
|
|
7
8
|
fareFamilies: ISmWcfFamilyOffer[];
|
|
8
9
|
}
|
|
@@ -22,6 +23,7 @@ export interface IAddOfferResDto {
|
|
|
22
23
|
available: boolean;
|
|
23
24
|
verifiedOffer: ISmWcfOffer;
|
|
24
25
|
airlinesOfferId: number;
|
|
26
|
+
offerComposition: OfferComposition;
|
|
25
27
|
}
|
|
26
28
|
export declare type IGetOfferDetailsResDto = ISmAzulOffer | ISmWcfOffer | SmAmadeusOffer;
|
|
27
29
|
export interface IRefreshAvailabilityResDto {
|