@revolugo/common 7.11.0 → 7.11.1-alpha.1

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.11.0",
3
+ "version": "7.11.1-alpha.1",
4
4
  "private": false,
5
5
  "description": "Revolugo common",
6
6
  "author": "Revolugo",
@@ -5,6 +5,7 @@ export * from './environment.ts'
5
5
  export * from './hotel-offers.ts'
6
6
  export * from './hotel-room-offer.ts'
7
7
  export * from './hotel.ts'
8
+ export * from './insurance.ts'
8
9
  export * from './locales.ts'
9
10
  export * from './measurement.ts'
10
11
  export * from './poller.ts'
@@ -0,0 +1,2 @@
1
+ export const MEETCH_INSURANCE_TYPE_NAME = 'Meetch Insurance'
2
+ export const MEETCH_INSURANCE_TYPE_SLUG = 'meetch-insurance'
@@ -154,6 +154,7 @@ export const ICONS_NAME = Object.freeze({
154
154
  running: 'ph:person-simple-run',
155
155
  scissors: 'ph:scissors',
156
156
  shield: 'ph:shield',
157
+ shieldCheck: 'ph:shield-check',
157
158
  shirt: 'ph:shirt-folded',
158
159
  shoppingBag: 'ph:shopping-bag',
159
160
  shoppingCart: 'ph:shopping-cart',
@@ -1,4 +1,16 @@
1
1
  export interface Event {
2
+ /**
3
+ * Latitude of the event venue
4
+ * @type {number}
5
+ * @memberof EventApi
6
+ */
7
+ latitude?: number | null
8
+ /**
9
+ * Longitude of the event venue
10
+ * @type {number}
11
+ * @memberof EventApi
12
+ */
13
+ longitude?: number | null
2
14
  /**
3
15
  * Unique name of the event
4
16
  * @type {string}
@@ -2,6 +2,8 @@ export interface IEvent {
2
2
  id: string
3
3
  eventDateFrom?: Date
4
4
  eventDateTo?: Date
5
+ latitude?: number | null
6
+ longitude?: number | null
5
7
  name: string
6
8
  slug: string
7
9
  }
@@ -7,6 +7,7 @@ export interface IHotelContract {
7
7
  forcedTotalComissionsAmount: number
8
8
  forcedTotalPurchasedAmount: number
9
9
  forcedTotalVatComissionsAmount: number
10
+ hotelContractTaaps?: { taapId: string }[] | null
10
11
  hotelId: string
11
12
  hotelRoomStocks?: IHotelRoomStock[]
12
13
  name: string
@@ -19,5 +19,6 @@ export type * from './event.ts'
19
19
  export type * from './geo-coordinates.ts'
20
20
  export type * from './hotel-contract.ts'
21
21
  export type * from './hotel-room-stock.ts'
22
+ export type * from './insurance.ts'
22
23
  export type * from './money-object.ts'
23
24
  export type * from './paginated-queries.ts'
@@ -0,0 +1,8 @@
1
+ import type { CurrencyCode } from '../constants/index.ts'
2
+
3
+ export interface InsuranceSummary {
4
+ currency: CurrencyCode
5
+ meetchClaimUrl: string
6
+ meetchTermsUrl: string
7
+ price: number
8
+ }