@revolugo/common 7.4.2-alpha.14 → 7.4.2-alpha.16

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": "7.4.2-alpha.14",
3
+ "version": "7.4.2-alpha.16",
4
4
  "private": false,
5
5
  "description": "Revolugo common",
6
6
  "author": "Revolugo",
@@ -1,5 +1,5 @@
1
1
  /* eslint-disable camelcase */
2
- import z from 'zod'
2
+ import { z } from 'zod'
3
3
 
4
4
  import { PayLaterStatusEnum } from '../types/booking.ts'
5
5
  import { BookingStatusEnum } from '../types/index.ts'
@@ -1,5 +1,5 @@
1
1
  /* eslint-disable camelcase */
2
- import z from 'zod'
2
+ import { z } from 'zod'
3
3
 
4
4
  import { CountryIso2Code } from '../countries/constants.ts'
5
5
  import { ContactPersonSalutationEnum } from '../types/index.ts'
@@ -1,4 +1,4 @@
1
- import z from 'zod'
1
+ import { z } from 'zod'
2
2
 
3
3
  export const EVENT_SCHEMA = z
4
4
  .object({
@@ -1,5 +1,5 @@
1
1
  /* eslint-disable camelcase */
2
- import z from 'zod'
2
+ import { z } from 'zod'
3
3
 
4
4
  import { HOTEL_ROOM_SCHEMA } from './hotel-room.ts'
5
5
 
@@ -1,4 +1,4 @@
1
- import z from 'zod'
1
+ import { z } from 'zod'
2
2
 
3
3
  import { InvoiceApiTypeEnum } from '../types/index.ts'
4
4
 
@@ -1,5 +1,5 @@
1
1
  /* eslint-disable camelcase */
2
- import z from 'zod'
2
+ import { z } from 'zod'
3
3
 
4
4
  import {
5
5
  BookingStatusEnum,
@@ -166,5 +166,4 @@ export interface HotelOfferRequestCreate {
166
166
  latitude?: HotelOfferRequest['latitude']
167
167
  longitude?: HotelOfferRequest['longitude']
168
168
  roomCount: HotelOfferRequest['roomCount']
169
- sourceMarket: HotelOfferRequest['sourceMarket']
170
169
  }
@@ -135,7 +135,6 @@ export interface HotelRoomOfferRequestCreate {
135
135
  eventMetadata?: HotelRoomOfferRequest['eventMetadata']
136
136
  hotelId: HotelRoomOfferRequest['hotelId']
137
137
  roomCount: HotelRoomOfferRequest['roomCount']
138
- sourceMarket: HotelRoomOfferRequest['sourceMarket']
139
138
  }
140
139
  export interface HotelRoomOfferRequestsCreatePayload {
141
140
  hotelRoomOfferRequestCreateApi?: HotelRoomOfferRequestCreate
@@ -13,12 +13,12 @@ import timezone from 'dayjs/plugin/timezone.js'
13
13
  import utc from 'dayjs/plugin/utc.js'
14
14
  /* eslint-enable no-restricted-imports, no-restricted-syntax */
15
15
 
16
- /* eslint-disable no-restricted-syntax, import/no-unassigned-import */
16
+ /* eslint-disable no-restricted-syntax, import-x/no-unassigned-import */
17
17
  import 'dayjs/locale/fr.js'
18
18
  import 'dayjs/locale/en.js'
19
- /* eslint-enable no-restricted-syntax, import/no-unassigned-import */
19
+ /* eslint-enable no-restricted-syntax, import-x/no-unassigned-import */
20
20
 
21
- /* eslint-disable import/no-named-as-default-member */
21
+ /* eslint-disable import-x/no-named-as-default-member */
22
22
  dayjs.extend(advancedFormat)
23
23
  dayjs.extend(customParseFormat)
24
24
  dayjs.extend(isBetween)
@@ -30,7 +30,7 @@ dayjs.extend(minMax)
30
30
  dayjs.extend(relativeTime)
31
31
  dayjs.extend(timezone)
32
32
  dayjs.extend(utc)
33
- /* eslint-enable import/no-named-as-default-member */
33
+ /* eslint-enable import-x/no-named-as-default-member */
34
34
 
35
35
  export { dayjs }
36
36