@qite/tide-client 1.0.53 → 1.0.54

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.
Files changed (156) hide show
  1. package/build/index.d.ts +50 -11
  2. package/build/index.js +4589 -4471
  3. package/build/types/aapi/accommodation-occupancy.d.ts +9 -9
  4. package/build/types/aapi/accommodation-with-available-places.d.ts +14 -14
  5. package/build/types/aapi/accommodation.d.ts +7 -7
  6. package/build/types/aapi/additional-services.d.ts +6 -6
  7. package/build/types/aapi/alternative-flight-data.d.ts +10 -10
  8. package/build/types/aapi/alternative-flight-leg.d.ts +18 -18
  9. package/build/types/aapi/alternative-flight.d.ts +12 -12
  10. package/build/types/aapi/availability-request.d.ts +12 -12
  11. package/build/types/aapi/availability.d.ts +5 -5
  12. package/build/types/aapi/available-products-request.d.ts +32 -32
  13. package/build/types/aapi/duration.d.ts +4 -4
  14. package/build/types/aapi/flight-leg.d.ts +18 -18
  15. package/build/types/aapi/flight.d.ts +23 -23
  16. package/build/types/aapi/hotel.d.ts +35 -35
  17. package/build/types/aapi/index.d.ts +22 -22
  18. package/build/types/aapi/mollie-payment-request.d.ts +6 -6
  19. package/build/types/aapi/mollie-payment.d.ts +3 -3
  20. package/build/types/aapi/option-pax.d.ts +4 -4
  21. package/build/types/aapi/option.d.ts +28 -21
  22. package/build/types/aapi/pax.d.ts +4 -4
  23. package/build/types/aapi/price-detail.d.ts +8 -8
  24. package/build/types/aapi/regime.d.ts +5 -5
  25. package/build/types/aapi/traveler-grouping.d.ts +5 -5
  26. package/build/types/enums/allotment-type.d.ts +5 -5
  27. package/build/types/enums/availability-search-type.d.ts +4 -4
  28. package/build/types/enums/dossier-type.d.ts +6 -6
  29. package/build/types/enums/entry-line-flag.d.ts +6 -6
  30. package/build/types/enums/entry-line-status.d.ts +19 -19
  31. package/build/types/enums/entry-status.d.ts +8 -8
  32. package/build/types/enums/export-status.d.ts +5 -5
  33. package/build/types/enums/gender.d.ts +5 -5
  34. package/build/types/enums/index.d.ts +15 -15
  35. package/build/types/enums/meta-data-type.d.ts +10 -10
  36. package/build/types/enums/payment-type.d.ts +6 -6
  37. package/build/types/enums/price-chart-type.d.ts +4 -4
  38. package/build/types/enums/requirement-type.d.ts +5 -5
  39. package/build/types/enums/room-type.d.ts +8 -8
  40. package/build/types/enums/sale-type.d.ts +4 -4
  41. package/build/types/enums/service-type.d.ts +26 -26
  42. package/build/types/index.d.ts +26 -4
  43. package/build/types/offer/additional-services.d.ts +6 -6
  44. package/build/types/offer/address.d.ts +11 -11
  45. package/build/types/offer/affiliate.d.ts +5 -5
  46. package/build/types/offer/alternative-flight-data.d.ts +10 -10
  47. package/build/types/offer/alternative-flight-leg.d.ts +18 -18
  48. package/build/types/offer/alternative-flight.d.ts +14 -14
  49. package/build/types/offer/available-package-accommodation.d.ts +7 -7
  50. package/build/types/offer/available-package-flight.d.ts +9 -9
  51. package/build/types/offer/available-package-option.d.ts +17 -12
  52. package/build/types/offer/available-package-pax-price.d.ts +6 -6
  53. package/build/types/offer/available-package-regime.d.ts +4 -4
  54. package/build/types/offer/available-package.d.ts +7 -7
  55. package/build/types/offer/base-price.d.ts +6 -6
  56. package/build/types/offer/base-prices-from-date-request.d.ts +12 -12
  57. package/build/types/offer/base-prices-request.d.ts +12 -12
  58. package/build/types/offer/book-request.d.ts +36 -36
  59. package/build/types/offer/booking-response.d.ts +4 -4
  60. package/build/types/offer/booking-v2/index.d.ts +3 -3
  61. package/build/types/offer/booking-v2/request/booking-package-address.d.ts +13 -13
  62. package/build/types/offer/booking-v2/request/booking-package-book-request.d.ts +15 -15
  63. package/build/types/offer/booking-v2/request/booking-package-destination.d.ts +9 -9
  64. package/build/types/offer/booking-v2/request/booking-package-details-request.d.ts +12 -12
  65. package/build/types/offer/booking-v2/request/booking-package-request.d.ts +5 -5
  66. package/build/types/offer/booking-v2/request/booking-package-search-request.d.ts +22 -22
  67. package/build/types/offer/booking-v2/request/index.d.ts +6 -6
  68. package/build/types/offer/booking-v2/response/booking-package-allotment-info.d.ts +13 -13
  69. package/build/types/offer/booking-v2/response/booking-package-dossier.d.ts +6 -6
  70. package/build/types/offer/booking-v2/response/booking-package-item.d.ts +22 -22
  71. package/build/types/offer/booking-v2/response/booking-price-detail.d.ts +15 -15
  72. package/build/types/offer/booking-v2/response/booking-price-details.d.ts +7 -7
  73. package/build/types/offer/booking-v2/response/booking-price-per-pax.d.ts +4 -4
  74. package/build/types/offer/booking-v2/response/changed-line.d.ts +4 -4
  75. package/build/types/offer/booking-v2/response/index.d.ts +7 -7
  76. package/build/types/offer/booking-v2/shared/booking-option-group.d.ts +5 -5
  77. package/build/types/offer/booking-v2/shared/booking-option-pax.d.ts +7 -7
  78. package/build/types/offer/booking-v2/shared/booking-option-unit.d.ts +6 -6
  79. package/build/types/offer/booking-v2/shared/booking-package-flight-meta-data-line.d.ts +16 -16
  80. package/build/types/offer/booking-v2/shared/booking-package-flight-meta-data.d.ts +9 -9
  81. package/build/types/offer/booking-v2/shared/booking-package-flight.d.ts +13 -13
  82. package/build/types/offer/booking-v2/shared/booking-package-hotel-option.d.ts +10 -10
  83. package/build/types/offer/booking-v2/shared/booking-package-hotel-room.d.ts +5 -5
  84. package/build/types/offer/booking-v2/shared/booking-package-hotel.d.ts +20 -20
  85. package/build/types/offer/booking-v2/shared/booking-package-line.d.ts +12 -12
  86. package/build/types/offer/booking-v2/shared/booking-package-pax.d.ts +16 -16
  87. package/build/types/offer/booking-v2/shared/booking-package-request-room.d.ts +5 -5
  88. package/build/types/offer/booking-v2/shared/booking-package-room-option.d.ts +12 -12
  89. package/build/types/offer/booking-v2/shared/booking-package-room.d.ts +5 -5
  90. package/build/types/offer/booking-v2/shared/booking-package.d.ts +39 -39
  91. package/build/types/offer/booking-v2/shared/index.d.ts +19 -17
  92. package/build/types/offer/booking-v2/shared/per-booking-package-option.d.ts +9 -9
  93. package/build/types/offer/booking-v2/shared/per-package-option.d.ts +9 -9
  94. package/build/types/offer/booking-v2/shared/per-pax-package-option.d.ts +5 -5
  95. package/build/types/offer/booking-v2/shared/per-unit-package-option.d.ts +7 -7
  96. package/build/types/offer/cached-package-search-result.d.ts +5 -5
  97. package/build/types/offer/confirmed-dossier-check.d.ts +6 -6
  98. package/build/types/offer/crm-contact-request.d.ts +36 -28
  99. package/build/types/offer/customer-request.d.ts +5 -5
  100. package/build/types/offer/dossier-default-product.d.ts +14 -14
  101. package/build/types/offer/entry-check-response.d.ts +8 -8
  102. package/build/types/offer/entry-line-meta-data.d.ts +5 -5
  103. package/build/types/offer/entry-line-pax.d.ts +8 -8
  104. package/build/types/offer/entry-line.d.ts +73 -67
  105. package/build/types/offer/entry-price-line.d.ts +40 -40
  106. package/build/types/offer/entry-room2.d.ts +5 -5
  107. package/build/types/offer/entry.d.ts +59 -49
  108. package/build/types/offer/flight-meta-data-line.d.ts +16 -16
  109. package/build/types/offer/flight-meta-data.d.ts +14 -14
  110. package/build/types/offer/flight-pool.d.ts +5 -5
  111. package/build/types/offer/index.d.ts +65 -65
  112. package/build/types/offer/language.d.ts +5 -5
  113. package/build/types/offer/multiroom-book-request.d.ts +10 -10
  114. package/build/types/offer/note.d.ts +16 -16
  115. package/build/types/offer/other-product.d.ts +13 -13
  116. package/build/types/offer/package-book-request-room.d.ts +5 -5
  117. package/build/types/offer/package-book-request.d.ts +12 -12
  118. package/build/types/offer/package-flight.d.ts +13 -13
  119. package/build/types/offer/package-flights.d.ts +5 -5
  120. package/build/types/offer/package-option.d.ts +22 -22
  121. package/build/types/offer/package-price-details-request-room.d.ts +4 -4
  122. package/build/types/offer/package-price-details-request.d.ts +8 -8
  123. package/build/types/offer/package-room-option.d.ts +10 -10
  124. package/build/types/offer/package-room.d.ts +7 -7
  125. package/build/types/offer/package-search-destination.d.ts +9 -9
  126. package/build/types/offer/package-search-request-date.d.ts +4 -4
  127. package/build/types/offer/package-search-request-room.d.ts +5 -5
  128. package/build/types/offer/package-search-request.d.ts +22 -18
  129. package/build/types/offer/package-search-result.d.ts +12 -12
  130. package/build/types/offer/package-sub-option.d.ts +6 -6
  131. package/build/types/offer/pax.d.ts +29 -29
  132. package/build/types/offer/payment.d.ts +20 -20
  133. package/build/types/offer/person-country-preference.d.ts +7 -7
  134. package/build/types/offer/person-location-preference.d.ts +7 -7
  135. package/build/types/offer/person-oord-preference.d.ts +7 -7
  136. package/build/types/offer/person-period-date-range-preference.d.ts +6 -6
  137. package/build/types/offer/person-period-preference.d.ts +7 -7
  138. package/build/types/offer/person-region-preference.d.ts +7 -7
  139. package/build/types/offer/person-tour-group-preference.d.ts +7 -7
  140. package/build/types/offer/price-detail.d.ts +18 -18
  141. package/build/types/offer/price-per-pax.d.ts +6 -6
  142. package/build/types/offer/product-notification-result.d.ts +9 -9
  143. package/build/types/offer/web-contact-form-request.d.ts +13 -13
  144. package/build/types/offer/web-contact-has-tag-request.d.ts +4 -4
  145. package/build/types/tide-client-config.d.ts +4 -4
  146. package/build/utils/api.d.ts +11 -2
  147. package/build/utils/booking-client.d.ts +169 -102
  148. package/build/utils/booking-v2-client.d.ts +37 -7
  149. package/build/utils/common-client.d.ts +13 -2
  150. package/build/utils/json.d.ts +2 -2
  151. package/build/utils/mollie-client.d.ts +15 -7
  152. package/build/utils/web-client.d.ts +26 -19
  153. package/build/utils/web-contact-client.d.ts +23 -11
  154. package/build/utils/web-file.d.ts +14 -10
  155. package/package.json +1 -1
  156. package/src/types/offer/booking-v2/shared/index.ts +2 -0
@@ -1,36 +1,36 @@
1
- import { Address, Pax, Payment } from ".";
2
- import { Flight } from "../aapi";
3
- export interface BookRequest {
4
- officeId: number;
5
- agentId: number;
6
- customEntryStatusId?: number;
7
- productCode: string;
8
- accommodationCode?: string;
9
- regimeCode?: string;
10
- travelers?: Pax[];
11
- payments?: Payment[];
12
- startDate: Date;
13
- endDate: Date;
14
- departureFlight?: Flight;
15
- returnFlight?: Flight;
16
- address: Address;
17
- externalProvider?: string;
18
- addDefaultProducts?: boolean;
19
- isThirdPartyProduct?: boolean;
20
- productName?: string;
21
- accommodationName?: string;
22
- regimeName?: string;
23
- currencyId?: number;
24
- financialProductTypeId?: number;
25
- marginFinancialProductTypeId?: number;
26
- billingAddressId?: number;
27
- supplierAddressId?: number;
28
- countryId?: number;
29
- regionId?: number;
30
- oordId?: number;
31
- locationId?: number;
32
- salesUnitId?: number;
33
- basePrice?: number;
34
- marginPrice?: number;
35
- catalogueId: number;
36
- }
1
+ import { Address, Pax, Payment } from ".";
2
+ import { Flight } from "../aapi";
3
+ export interface BookRequest {
4
+ officeId: number;
5
+ agentId: number;
6
+ customEntryStatusId?: number;
7
+ productCode: string;
8
+ accommodationCode?: string;
9
+ regimeCode?: string;
10
+ travelers?: Pax[];
11
+ payments?: Payment[];
12
+ startDate: Date;
13
+ endDate: Date;
14
+ departureFlight?: Flight;
15
+ returnFlight?: Flight;
16
+ address: Address;
17
+ externalProvider?: string;
18
+ addDefaultProducts?: boolean;
19
+ isThirdPartyProduct?: boolean;
20
+ productName?: string;
21
+ accommodationName?: string;
22
+ regimeName?: string;
23
+ currencyId?: number;
24
+ financialProductTypeId?: number;
25
+ marginFinancialProductTypeId?: number;
26
+ billingAddressId?: number;
27
+ supplierAddressId?: number;
28
+ countryId?: number;
29
+ regionId?: number;
30
+ oordId?: number;
31
+ locationId?: number;
32
+ salesUnitId?: number;
33
+ basePrice?: number;
34
+ marginPrice?: number;
35
+ catalogueId: number;
36
+ }
@@ -1,4 +1,4 @@
1
- export interface BookingResponse {
2
- hasErrors: boolean;
3
- dossierNumber: string;
4
- }
1
+ export interface BookingResponse {
2
+ hasErrors: boolean;
3
+ dossierNumber: string;
4
+ }
@@ -1,3 +1,3 @@
1
- export * from "./request";
2
- export * from "./response";
3
- export * from "./shared";
1
+ export * from "./request";
2
+ export * from "./response";
3
+ export * from "./shared";
@@ -1,13 +1,13 @@
1
- export interface BookingPackageAddress {
2
- name: string;
3
- street: string;
4
- number: string;
5
- box?: string;
6
- postalCode: string;
7
- location: string;
8
- country: string;
9
- mobilePhone?: string;
10
- phone?: string;
11
- email: string;
12
- vatNumber?: string;
13
- }
1
+ export interface BookingPackageAddress {
2
+ name: string;
3
+ street: string;
4
+ number: string;
5
+ box?: string;
6
+ postalCode: string;
7
+ location: string;
8
+ country: string;
9
+ mobilePhone?: string;
10
+ phone?: string;
11
+ email: string;
12
+ vatNumber?: string;
13
+ }
@@ -1,15 +1,15 @@
1
- import { BookingPackage } from "../shared";
2
- import { BookingPackagePax } from "../shared/booking-package-pax";
3
- import { BookingPackageAddress } from "./booking-package-address";
4
- export interface BookingPackageBookRequest {
5
- saleType?: number;
6
- status: number;
7
- customStatusId?: number;
8
- package: BookingPackage;
9
- returnPaymentUrl?: boolean;
10
- redirectUrl?: string;
11
- calculateDeposit?: boolean;
12
- address?: BookingPackageAddress;
13
- pax: BookingPackagePax[];
14
- nonTravelPax: BookingPackagePax[];
15
- }
1
+ import { BookingPackage } from "../shared";
2
+ import { BookingPackagePax } from "../shared/booking-package-pax";
3
+ import { BookingPackageAddress } from "./booking-package-address";
4
+ export interface BookingPackageBookRequest {
5
+ saleType?: number;
6
+ status: number;
7
+ customStatusId?: number;
8
+ package: BookingPackage;
9
+ returnPaymentUrl?: boolean;
10
+ redirectUrl?: string;
11
+ calculateDeposit?: boolean;
12
+ address?: BookingPackageAddress;
13
+ pax: BookingPackagePax[];
14
+ nonTravelPax: BookingPackagePax[];
15
+ }
@@ -1,9 +1,9 @@
1
- export interface BookingPackageDestination {
2
- id?: number;
3
- code?: string;
4
- name?: string;
5
- isCountry?: boolean;
6
- isRegion?: boolean;
7
- isOord?: boolean;
8
- isLocation?: boolean;
9
- }
1
+ export interface BookingPackageDestination {
2
+ id?: number;
3
+ code?: string;
4
+ name?: string;
5
+ isCountry?: boolean;
6
+ isRegion?: boolean;
7
+ isOord?: boolean;
8
+ isLocation?: boolean;
9
+ }
@@ -1,12 +1,12 @@
1
- import { BookingPackageRequestRoom } from "../shared/booking-package-request-room";
2
- export interface BookingPackageDetailsRequest {
3
- catalogueId?: number;
4
- rooms: BookingPackageRequestRoom[];
5
- searchType: number;
6
- productCode: string;
7
- allotmentName?: string;
8
- tourCode?: string;
9
- fromDate: string;
10
- toDate: string;
11
- includeFlights?: boolean;
12
- }
1
+ import { BookingPackageRequestRoom } from "../shared/booking-package-request-room";
2
+ export interface BookingPackageDetailsRequest {
3
+ catalogueId?: number;
4
+ rooms: BookingPackageRequestRoom[];
5
+ searchType: number;
6
+ productCode: string;
7
+ allotmentName?: string;
8
+ tourCode?: string;
9
+ fromDate: string;
10
+ toDate: string;
11
+ includeFlights?: boolean;
12
+ }
@@ -1,5 +1,5 @@
1
- export interface BookingPackageRequest<T> {
2
- officeId: number;
3
- agentId?: number;
4
- payload: T;
5
- }
1
+ export interface BookingPackageRequest<T> {
2
+ officeId: number;
3
+ agentId?: number;
4
+ payload: T;
5
+ }
@@ -1,22 +1,22 @@
1
- import { BookingPackageRequestRoom } from "../shared/booking-package-request-room";
2
- import { BookingPackageDestination } from "./booking-package-destination";
3
- export interface BookingPackageSearchRequest {
4
- catalogueIds: number[];
5
- rooms: BookingPackageRequestRoom[];
6
- serviceType?: number;
7
- searchType?: number;
8
- destination?: BookingPackageDestination;
9
- productIds?: number[];
10
- productCodes?: string[];
11
- fromDate: string;
12
- toDate: string;
13
- productTagIds?: number[];
14
- includeFlights?: boolean;
15
- minPrice?: number;
16
- maxPrice?: number;
17
- allotmentName?: string;
18
- tourCode?: string;
19
- allotmentTagIds?: number[];
20
- includeClosedAllotments?: boolean;
21
- includeFullyBookedAllotments?: boolean;
22
- }
1
+ import { BookingPackageRequestRoom } from "../shared/booking-package-request-room";
2
+ import { BookingPackageDestination } from "./booking-package-destination";
3
+ export interface BookingPackageSearchRequest {
4
+ catalogueIds: number[];
5
+ rooms: BookingPackageRequestRoom[];
6
+ serviceType?: number;
7
+ searchType?: number;
8
+ destination?: BookingPackageDestination;
9
+ productIds?: number[];
10
+ productCodes?: string[];
11
+ fromDate: string;
12
+ toDate: string;
13
+ productTagIds?: number[];
14
+ includeFlights?: boolean;
15
+ minPrice?: number;
16
+ maxPrice?: number;
17
+ allotmentName?: string;
18
+ tourCode?: string;
19
+ allotmentTagIds?: number[];
20
+ includeClosedAllotments?: boolean;
21
+ includeFullyBookedAllotments?: boolean;
22
+ }
@@ -1,6 +1,6 @@
1
- export * from "./booking-package-address";
2
- export * from "./booking-package-book-request";
3
- export * from "./booking-package-destination";
4
- export * from "./booking-package-details-request";
5
- export * from "./booking-package-request";
6
- export * from "./booking-package-search-request";
1
+ export * from "./booking-package-address";
2
+ export * from "./booking-package-book-request";
3
+ export * from "./booking-package-destination";
4
+ export * from "./booking-package-details-request";
5
+ export * from "./booking-package-request";
6
+ export * from "./booking-package-search-request";
@@ -1,13 +1,13 @@
1
- export interface BookingPackageAllotmentInfo {
2
- name: string;
3
- tourCode: string;
4
- startTime: string;
5
- endTime: string;
6
- totalPlaces: number;
7
- bookedPlaces: number;
8
- inOptionPlaces: number;
9
- status: number;
10
- customStatusId?: number;
11
- tagIds: number[];
12
- allotmentIds: number[];
13
- }
1
+ export interface BookingPackageAllotmentInfo {
2
+ name: string;
3
+ tourCode: string;
4
+ startTime: string;
5
+ endTime: string;
6
+ totalPlaces: number;
7
+ bookedPlaces: number;
8
+ inOptionPlaces: number;
9
+ status: number;
10
+ customStatusId?: number;
11
+ tagIds: number[];
12
+ allotmentIds: number[];
13
+ }
@@ -1,6 +1,6 @@
1
- export interface BookingPackageDossier {
2
- number: string;
3
- productName: string;
4
- allotmentName: string;
5
- paymentUrl: string;
6
- }
1
+ export interface BookingPackageDossier {
2
+ number: string;
3
+ productName: string;
4
+ allotmentName: string;
5
+ paymentUrl: string;
6
+ }
@@ -1,22 +1,22 @@
1
- import { BookingPackageAllotmentInfo } from "./booking-package-allotment-info";
2
- export interface BookingPackageItem {
3
- accommodationCode: string;
4
- airportCode?: string;
5
- allotment: BookingPackageAllotmentInfo;
6
- averagePricePerPerson: number;
7
- catalogueId: number;
8
- code: string;
9
- fromDate: string;
10
- latitude: number;
11
- longitude: number;
12
- name: string;
13
- outwardFlightCode?: string;
14
- outwardFlightNumbers?: string[];
15
- price: number;
16
- regimeCode?: string;
17
- returnFlightCode?: string;
18
- returnFlightNumbers?: string[];
19
- tagIds: number[];
20
- toDate: string;
21
- type: number;
22
- }
1
+ import { BookingPackageAllotmentInfo } from "./booking-package-allotment-info";
2
+ export interface BookingPackageItem {
3
+ accommodationCode: string;
4
+ airportCode?: string;
5
+ allotment: BookingPackageAllotmentInfo;
6
+ averagePricePerPerson: number;
7
+ catalogueId: number;
8
+ code: string;
9
+ fromDate: string;
10
+ latitude: number;
11
+ longitude: number;
12
+ name: string;
13
+ outwardFlightCode?: string;
14
+ outwardFlightNumbers?: string[];
15
+ price: number;
16
+ regimeCode?: string;
17
+ returnFlightCode?: string;
18
+ returnFlightNumbers?: string[];
19
+ tagIds: number[];
20
+ toDate: string;
21
+ type: number;
22
+ }
@@ -1,15 +1,15 @@
1
- import { BookingPricePerPax } from "./booking-price-per-pax";
2
- export interface BookingPriceDetail {
3
- productName: string;
4
- productCode: string;
5
- priceDescription: string;
6
- accommodationCode: string;
7
- price: number;
8
- amount: number;
9
- total: number;
10
- pricePerPax: BookingPricePerPax[];
11
- isInPackage: boolean;
12
- isSeparate: boolean;
13
- showPrice: boolean;
14
- requirementType?: number;
15
- }
1
+ import { BookingPricePerPax } from "./booking-price-per-pax";
2
+ export interface BookingPriceDetail {
3
+ productName: string;
4
+ productCode: string;
5
+ priceDescription: string;
6
+ accommodationCode: string;
7
+ price: number;
8
+ amount: number;
9
+ total: number;
10
+ pricePerPax: BookingPricePerPax[];
11
+ isInPackage: boolean;
12
+ isSeparate: boolean;
13
+ showPrice: boolean;
14
+ requirementType?: number;
15
+ }
@@ -1,7 +1,7 @@
1
- import { BookingPriceDetail } from "./booking-price-detail";
2
- import { ChangedLine } from "./changed-line";
3
- export interface BookingPriceDetails {
4
- details: BookingPriceDetail[];
5
- changedLines: ChangedLine[];
6
- deposit?: number;
7
- }
1
+ import { BookingPriceDetail } from "./booking-price-detail";
2
+ import { ChangedLine } from "./changed-line";
3
+ export interface BookingPriceDetails {
4
+ details: BookingPriceDetail[];
5
+ changedLines: ChangedLine[];
6
+ deposit?: number;
7
+ }
@@ -1,4 +1,4 @@
1
- export interface BookingPricePerPax {
2
- paxId: number;
3
- price: number;
4
- }
1
+ export interface BookingPricePerPax {
2
+ paxId: number;
3
+ price: number;
4
+ }
@@ -1,4 +1,4 @@
1
- export interface ChangedLine {
2
- entryLineGuid: string;
3
- price: number;
4
- }
1
+ export interface ChangedLine {
2
+ entryLineGuid: string;
3
+ price: number;
4
+ }
@@ -1,7 +1,7 @@
1
- export * from "./booking-package-allotment-info";
2
- export * from "./booking-package-dossier";
3
- export * from "./booking-package-item";
4
- export * from "./booking-price-detail";
5
- export * from "./booking-price-details";
6
- export * from "./booking-price-per-pax";
7
- export * from "./changed-line";
1
+ export * from "./booking-package-allotment-info";
2
+ export * from "./booking-package-dossier";
3
+ export * from "./booking-package-item";
4
+ export * from "./booking-price-detail";
5
+ export * from "./booking-price-details";
6
+ export * from "./booking-price-per-pax";
7
+ export * from "./changed-line";
@@ -1,5 +1,5 @@
1
- export interface BookingOptionGroup<T> {
2
- name: string;
3
- title: string;
4
- options: T[];
5
- }
1
+ export interface BookingOptionGroup<T> {
2
+ name: string;
3
+ title: string;
4
+ options: T[];
5
+ }
@@ -1,7 +1,7 @@
1
- import { BookingOptionGroup } from "./booking-option-group";
2
- import { PerPaxPackageOption } from "./per-pax-package-option";
3
- export interface BookingOptionPax {
4
- id: number;
5
- paxName: string;
6
- groups: BookingOptionGroup<PerPaxPackageOption>[];
7
- }
1
+ import { BookingOptionGroup } from "./booking-option-group";
2
+ import { PerPaxPackageOption } from "./per-pax-package-option";
3
+ export interface BookingOptionPax {
4
+ id: number;
5
+ paxName: string;
6
+ groups: BookingOptionGroup<PerPaxPackageOption>[];
7
+ }
@@ -1,6 +1,6 @@
1
- import { BookingOptionGroup } from "./booking-option-group";
2
- import { PerUnitPackageOption } from "./per-unit-package-option";
3
- export interface BookingOptionUnit {
4
- index: number;
5
- groups: BookingOptionGroup<PerUnitPackageOption>[];
6
- }
1
+ import { BookingOptionGroup } from "./booking-option-group";
2
+ import { PerUnitPackageOption } from "./per-unit-package-option";
3
+ export interface BookingOptionUnit {
4
+ index: number;
5
+ groups: BookingOptionGroup<PerUnitPackageOption>[];
6
+ }
@@ -1,16 +1,16 @@
1
- export interface BookingPackageFlightMetaDataLine {
2
- number: string;
3
- departureDate: Date;
4
- departureAirport: string;
5
- departureAirportDescription: string;
6
- departureTime: string;
7
- arrivalDate: Date;
8
- arrivalAirport: string;
9
- arrivalAirportDescription: string;
10
- arrivalTime: string;
11
- flightClass: string;
12
- travelClass: string;
13
- airline: string;
14
- operatingAirlineCode: string;
15
- operatingAirlineDescription: string;
16
- }
1
+ export interface BookingPackageFlightMetaDataLine {
2
+ number: string;
3
+ departureDate: Date;
4
+ departureAirport: string;
5
+ departureAirportDescription: string;
6
+ departureTime: string;
7
+ arrivalDate: Date;
8
+ arrivalAirport: string;
9
+ arrivalAirportDescription: string;
10
+ arrivalTime: string;
11
+ flightClass: string;
12
+ travelClass: string;
13
+ airline: string;
14
+ operatingAirlineCode: string;
15
+ operatingAirlineDescription: string;
16
+ }
@@ -1,9 +1,9 @@
1
- import { BookingPackageFlightMetaDataLine } from "./booking-package-flight-meta-data-line";
2
- export interface BookingPackageFlightMetaData {
3
- flightLines: BookingPackageFlightMetaDataLine[];
4
- luggageIncluded: boolean;
5
- bagageAllowed: boolean;
6
- bagage: string;
7
- mealIncluded: boolean;
8
- meal: string;
9
- }
1
+ import { BookingPackageFlightMetaDataLine } from "./booking-package-flight-meta-data-line";
2
+ export interface BookingPackageFlightMetaData {
3
+ flightLines: BookingPackageFlightMetaDataLine[];
4
+ luggageIncluded: boolean;
5
+ bagageAllowed: boolean;
6
+ bagage: string;
7
+ mealIncluded: boolean;
8
+ meal: string;
9
+ }
@@ -1,13 +1,13 @@
1
- import { BookingPackageFlightMetaData } from "./booking-package-flight-meta-data";
2
- export interface BookingPackageFlight {
3
- code: string;
4
- tag: string;
5
- class: string;
6
- startDateTime: string;
7
- endDateTime: string;
8
- price: number;
9
- isSelected: boolean;
10
- externalGuid?: string;
11
- entryLineGuid: string;
12
- flightMetaData: BookingPackageFlightMetaData;
13
- }
1
+ import { BookingPackageFlightMetaData } from "./booking-package-flight-meta-data";
2
+ export interface BookingPackageFlight {
3
+ code: string;
4
+ tag: string;
5
+ class: string;
6
+ startDateTime: string;
7
+ endDateTime: string;
8
+ price: number;
9
+ isSelected: boolean;
10
+ externalGuid?: string;
11
+ entryLineGuid: string;
12
+ flightMetaData: BookingPackageFlightMetaData;
13
+ }
@@ -1,10 +1,10 @@
1
- export interface BookingPackageHotelOption {
2
- entryLineGuid: string;
3
- accommodationCode: string;
4
- accommodationName: string;
5
- regimeCode: string;
6
- regimeName: string;
7
- price: number;
8
- isSelected: boolean;
9
- roomIndex: number;
10
- }
1
+ export interface BookingPackageHotelOption {
2
+ entryLineGuid: string;
3
+ accommodationCode: string;
4
+ accommodationName: string;
5
+ regimeCode: string;
6
+ regimeName: string;
7
+ price: number;
8
+ isSelected: boolean;
9
+ roomIndex: number;
10
+ }
@@ -1,5 +1,5 @@
1
- import { BookingPackageHotelOption } from "./booking-package-hotel-option";
2
- export interface BookingPackageHotelRoom {
3
- index: number;
4
- options: BookingPackageHotelOption[];
5
- }
1
+ import { BookingPackageHotelOption } from "./booking-package-hotel-option";
2
+ export interface BookingPackageHotelRoom {
3
+ index: number;
4
+ options: BookingPackageHotelOption[];
5
+ }
@@ -1,20 +1,20 @@
1
- import { BookingPackageHotelRoom } from "./booking-package-hotel-room";
2
- export interface BookingPackageHotel {
3
- id?: number;
4
- name: string;
5
- productCode: string;
6
- isSelected: boolean;
7
- cheapestPrice: number;
8
- hotelSupplier: number;
9
- latitude: number;
10
- longitude: number;
11
- rooms: BookingPackageHotelRoom[];
12
- combinations: string[][];
13
- stars: string;
14
- rating: string;
15
- description: string;
16
- imageUrl: string;
17
- facilities: string;
18
- travelDurationToVenue: string;
19
- travelDurationToCenter: string;
20
- }
1
+ import { BookingPackageHotelRoom } from "./booking-package-hotel-room";
2
+ export interface BookingPackageHotel {
3
+ id?: number;
4
+ name: string;
5
+ productCode: string;
6
+ isSelected: boolean;
7
+ cheapestPrice: number;
8
+ hotelSupplier: number;
9
+ latitude: number;
10
+ longitude: number;
11
+ rooms: BookingPackageHotelRoom[];
12
+ combinations: string[][];
13
+ stars: string;
14
+ rating: string;
15
+ description: string;
16
+ imageUrl: string;
17
+ facilities: string;
18
+ travelDurationToVenue: string;
19
+ travelDurationToCenter: string;
20
+ }