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 CHANGED
@@ -3,7 +3,7 @@
3
3
  "author": "Smartrips",
4
4
  "license": "ISC",
5
5
  "keywords": [],
6
- "version": "1.11.59",
6
+ "version": "1.11.61",
7
7
  "description": "",
8
8
  "repository": {
9
9
  "type": "git",
@@ -15,6 +15,7 @@ export interface IListOffersResDto {
15
15
  generalData: IListOffersFiltersInfo;
16
16
  offers: ISmWcfOffer[];
17
17
  searchMetadata: IListOffersSearchMetadata;
18
+ searchValidUntil: Date;
18
19
  }
19
20
  export interface IAddOfferResDto {
20
21
  hasPriceChanged: boolean;
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: IContactInfoReqDto;
102
- passengersInfo: IPassengerInfoReqDto[];
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 {