sm-types 1.11.59 → 1.11.61
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/package.json +1 -1
- package/sm-airlines/dtos/response.d.ts +1 -0
- package/sm-wcf/index.d.ts +3 -41
package/package.json
CHANGED
package/sm-wcf/index.d.ts
CHANGED
|
@@ -1,3 +1,4 @@
|
|
|
1
|
+
import { IContactInfo, IPassengerInfo } from "../sm-airlines";
|
|
1
2
|
export interface IWcfOffer {
|
|
2
3
|
outbound: IWcfBound;
|
|
3
4
|
inbound: IWcfBound | null;
|
|
@@ -98,47 +99,8 @@ export interface IAirlinesOffer {
|
|
|
98
99
|
export interface IWcfReserveOfferReqDto {
|
|
99
100
|
offer: IAirlinesOffer;
|
|
100
101
|
reserveData: {
|
|
101
|
-
contactInfo:
|
|
102
|
-
passengersInfo:
|
|
103
|
-
};
|
|
104
|
-
}
|
|
105
|
-
export interface IContactInfoReqDto {
|
|
106
|
-
firstName: string;
|
|
107
|
-
surname: string;
|
|
108
|
-
email: string;
|
|
109
|
-
phone: {
|
|
110
|
-
ddi: string;
|
|
111
|
-
number: string;
|
|
112
|
-
};
|
|
113
|
-
companyName: string;
|
|
114
|
-
address: {
|
|
115
|
-
street: string;
|
|
116
|
-
number: string;
|
|
117
|
-
complement: string;
|
|
118
|
-
postalCode: string;
|
|
119
|
-
city: string;
|
|
120
|
-
stateCode: string;
|
|
121
|
-
countryCode: string;
|
|
122
|
-
};
|
|
123
|
-
}
|
|
124
|
-
export interface IPassengerInfoReqDto {
|
|
125
|
-
firstName: string;
|
|
126
|
-
surname: string;
|
|
127
|
-
birthDate: Date | string;
|
|
128
|
-
sex: "M" | "F";
|
|
129
|
-
nationality: string;
|
|
130
|
-
residenceCountry: string;
|
|
131
|
-
cpf: {
|
|
132
|
-
firstName: string;
|
|
133
|
-
surname: string;
|
|
134
|
-
number: string;
|
|
135
|
-
};
|
|
136
|
-
passport: {
|
|
137
|
-
firstName: string;
|
|
138
|
-
surname: string;
|
|
139
|
-
number: string;
|
|
140
|
-
issuingCountry: string;
|
|
141
|
-
expirationDate: Date | string;
|
|
102
|
+
contactInfo: IContactInfo;
|
|
103
|
+
passengersInfo: IPassengerInfo[];
|
|
142
104
|
};
|
|
143
105
|
}
|
|
144
106
|
export interface IWcfReserveOfferResDto {
|