@qite/tide-client 1.1.116 → 1.1.118

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.
@@ -5,6 +5,7 @@ export interface BookingPackageAllotmentInfo {
5
5
  startTime: string;
6
6
  endDate: string;
7
7
  endTime: string;
8
+ minPlaces: number;
8
9
  totalPlaces: number;
9
10
  bookedPlaces: number;
10
11
  inOptionPlaces: number;
@@ -11,3 +11,5 @@ export * from "./agent-dossier-traveler";
11
11
  export * from "./agent-dossier";
12
12
  export * from "./contact-form-request";
13
13
  export * from "./generate-booking-accommodation-request";
14
+ export * from "./locations-request";
15
+ export * from "./tide-location";
@@ -0,0 +1,3 @@
1
+ export interface LocationsRequest {
2
+ locationIds: number[];
3
+ }
@@ -0,0 +1,9 @@
1
+ export interface TideLocation {
2
+ id: number;
3
+ country: number;
4
+ region?: number;
5
+ oord?: number;
6
+ name: string;
7
+ latitude: number;
8
+ longitude: number;
9
+ }
@@ -3,7 +3,9 @@ import {
3
3
  ContactFormRequest,
4
4
  CrmContactRequest,
5
5
  GenerateBookingAccommodationRequest,
6
+ LocationsRequest,
6
7
  TideClientConfig,
8
+ TideLocation,
7
9
  } from "../types";
8
10
  /**
9
11
  * api/web/crmcontact
@@ -56,3 +58,8 @@ export declare const generateBookingAccommodations: (
56
58
  ) => Promise<{
57
59
  [key: string]: string;
58
60
  }>;
61
+ export declare const getLocations: (
62
+ config: TideClientConfig,
63
+ request: LocationsRequest,
64
+ signal?: AbortSignal | undefined
65
+ ) => Promise<TideLocation[]>;
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@qite/tide-client",
3
- "version": "1.1.116",
3
+ "version": "1.1.118",
4
4
  "description": "Frontend client for Tide",
5
5
  "main": "build/index.js",
6
6
  "scripts": {