@revolugo/common 6.14.6-beta.20 → 6.14.6-beta.22

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
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@revolugo/common",
3
- "version": "6.14.6-beta.20",
3
+ "version": "6.14.6-beta.22",
4
4
  "private": false,
5
5
  "description": "Revolugo common",
6
6
  "author": "Revolugo",
@@ -40,14 +40,14 @@ export interface HotelOfferRequest {
40
40
  * <b style="color: red;"> when no address parameter passed.</b>
41
41
  * @type {number}
42
42
  */
43
- latitude?: number | null
43
+ latitude: number
44
44
  /**
45
45
  * Search location longitude.
46
46
  *
47
47
  * <b style="color: red;"> when no address parameter passed.</b>
48
48
  * @type {number}
49
49
  */
50
- longitude?: number | null
50
+ longitude: number
51
51
  /**
52
52
  * The total number of rooms requested for the stay. Results may display offers matching a different room count than the requested one, however those results will always provide enough occupancy for the total guest count needed.
53
53
  *
@@ -156,16 +156,15 @@ export interface HotelOfferRequestResponse {
156
156
  id: string
157
157
  }
158
158
 
159
- export type HotelOfferRequestCreate = Pick<
160
- HotelOfferRequest,
161
- | 'address'
162
- | 'adultCount'
163
- | 'checkInDate'
164
- | 'checkOutDate'
165
- | 'children'
166
- | 'eventMetadata'
167
- | 'latitude'
168
- | 'longitude'
169
- | 'roomCount'
170
- | 'sourceMarket'
171
- >
159
+ export interface HotelOfferRequestCreate {
160
+ address?: HotelOfferRequest['address']
161
+ adultCount: HotelOfferRequest['adultCount']
162
+ checkInDate: HotelOfferRequest['checkInDate']
163
+ checkOutDate: HotelOfferRequest['checkOutDate']
164
+ children?: HotelOfferRequest['children']
165
+ eventMetadata?: HotelOfferRequest['eventMetadata']
166
+ latitude?: HotelOfferRequest['latitude']
167
+ longitude?: HotelOfferRequest['longitude']
168
+ roomCount: HotelOfferRequest['roomCount']
169
+ sourceMarket: HotelOfferRequest['sourceMarket']
170
+ }