@qite/tide-client 1.1.93 → 1.1.94
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/build/index.d.ts +10 -10
- package/build/index.js +4807 -5062
- package/build/index.js.map +1 -1
- package/build/services/odata.service.d.ts +2 -8
- package/build/types/booking-v2/index.d.ts +3 -3
- package/build/types/booking-v2/request/available-countries-request.d.ts +4 -4
- package/build/types/booking-v2/request/available-flights-request.d.ts +8 -8
- package/build/types/booking-v2/request/bookable-dates-request.d.ts +4 -4
- package/build/types/booking-v2/request/booking-package-address.d.ts +14 -14
- package/build/types/booking-v2/request/booking-package-book-request.d.ts +25 -25
- package/build/types/booking-v2/request/booking-package-customer-request.d.ts +4 -4
- package/build/types/booking-v2/request/booking-package-destination.d.ts +9 -9
- package/build/types/booking-v2/request/booking-package-details-request.d.ts +27 -27
- package/build/types/booking-v2/request/booking-package-flight-pool-request.d.ts +12 -12
- package/build/types/booking-v2/request/booking-package-request.d.ts +5 -5
- package/build/types/booking-v2/request/booking-package-search-request.d.ts +29 -29
- package/build/types/booking-v2/request/booking-package-update-request.d.ts +4 -4
- package/build/types/booking-v2/request/booking-package-voucher-request.d.ts +4 -4
- package/build/types/booking-v2/request/index.d.ts +18 -18
- package/build/types/booking-v2/request/prices-request.d.ts +17 -17
- package/build/types/booking-v2/request/selected-flight.d.ts +10 -10
- package/build/types/booking-v2/request/selected-hotel.d.ts +5 -5
- package/build/types/booking-v2/request/tour-codes.request.d.ts +3 -3
- package/build/types/booking-v2/request/transport-dates-request.d.ts +14 -14
- package/build/types/booking-v2/response/available-country.d.ts +5 -5
- package/build/types/booking-v2/response/available-flight.d.ts +4 -4
- package/build/types/booking-v2/response/base-price.d.ts +7 -7
- package/build/types/booking-v2/response/bookable-dates.d.ts +4 -4
- package/build/types/booking-v2/response/booking-package-allotment-info.d.ts +17 -17
- package/build/types/booking-v2/response/booking-package-dossier.d.ts +6 -6
- package/build/types/booking-v2/response/booking-package-entryline-flight-meta-data.d.ts +5 -0
- package/build/types/booking-v2/response/booking-package-flight-combination.d.ts +5 -5
- package/build/types/booking-v2/response/booking-package-flight-info.d.ts +9 -7
- package/build/types/booking-v2/response/booking-package-flight-pool.d.ts +5 -5
- package/build/types/booking-v2/response/booking-package-flight-route.d.ts +4 -4
- package/build/types/booking-v2/response/booking-package-hotel-pool.d.ts +4 -4
- package/build/types/booking-v2/response/booking-package-item.d.ts +40 -40
- package/build/types/booking-v2/response/booking-price-detail.d.ts +17 -17
- package/build/types/booking-v2/response/booking-price-details.d.ts +14 -14
- package/build/types/booking-v2/response/booking-price-per-pax.d.ts +4 -4
- package/build/types/booking-v2/response/booking-product-notification.d.ts +7 -7
- package/build/types/booking-v2/response/booking-room-status-option.d.ts +5 -5
- package/build/types/booking-v2/response/booking-room-status.d.ts +5 -5
- package/build/types/booking-v2/response/booking-travel-agent.d.ts +7 -7
- package/build/types/booking-v2/response/booking-validity-line.d.ts +4 -4
- package/build/types/booking-v2/response/booking-voucher-result.d.ts +3 -3
- package/build/types/booking-v2/response/changed-line.d.ts +4 -4
- package/build/types/booking-v2/response/index.d.ts +26 -25
- package/build/types/booking-v2/response/tide-response.d.ts +8 -8
- package/build/types/booking-v2/response/tour-codes-response.d.ts +3 -3
- package/build/types/booking-v2/response/transport-dates-response.d.ts +4 -4
- package/build/types/booking-v2/shared/airline-booking-package-option.d.ts +3 -2
- package/build/types/booking-v2/shared/airport-booking-package-option.d.ts +3 -2
- package/build/types/booking-v2/shared/booking-airline-group.d.ts +6 -6
- package/build/types/booking-v2/shared/booking-airport-group.d.ts +6 -6
- package/build/types/booking-v2/shared/booking-option-group.d.ts +5 -5
- package/build/types/booking-v2/shared/booking-option-pax.d.ts +13 -13
- package/build/types/booking-v2/shared/booking-option-unit.d.ts +12 -12
- package/build/types/booking-v2/shared/booking-package-availability.d.ts +9 -9
- package/build/types/booking-v2/shared/booking-package-flight-meta-data-line.d.ts +18 -18
- package/build/types/booking-v2/shared/booking-package-flight-meta-data.d.ts +10 -10
- package/build/types/booking-v2/shared/booking-package-flight.d.ts +18 -18
- package/build/types/booking-v2/shared/booking-package-hotel-option.d.ts +10 -10
- package/build/types/booking-v2/shared/booking-package-hotel-room.d.ts +5 -5
- package/build/types/booking-v2/shared/booking-package-hotel.d.ts +22 -22
- package/build/types/booking-v2/shared/booking-package-line.d.ts +17 -17
- package/build/types/booking-v2/shared/booking-package-option.d.ts +47 -47
- package/build/types/booking-v2/shared/booking-package-pax.d.ts +17 -17
- package/build/types/booking-v2/shared/booking-package-request-room.d.ts +5 -5
- package/build/types/booking-v2/shared/booking-package-room-option.d.ts +22 -21
- package/build/types/booking-v2/shared/booking-package-room.d.ts +5 -5
- package/build/types/booking-v2/shared/booking-package-tag.d.ts +5 -5
- package/build/types/booking-v2/shared/booking-package.d.ts +14 -14
- package/build/types/booking-v2/shared/index.d.ts +27 -27
- package/build/types/booking-v2/shared/per-booking-package-option.d.ts +9 -9
- package/build/types/booking-v2/shared/per-package-option.d.ts +9 -9
- package/build/types/booking-v2/shared/per-pax-package-option.d.ts +5 -5
- package/build/types/booking-v2/shared/per-unit-package-option.d.ts +7 -7
- package/build/types/booking-v2/shared/room-option-pax-type.d.ts +4 -4
- package/build/types/company/agent/agent-invoice-item.d.ts +9 -9
- package/build/types/company/agent/change-entry-agent-surcharge-action.model.d.ts +5 -5
- package/build/types/company/agent/entry-totals.d.ts +7 -7
- package/build/types/company/agent/index.d.ts +3 -3
- package/build/types/company/agent-print-action-request.d.ts +11 -11
- package/build/types/company/agent-print-action.d.ts +6 -6
- package/build/types/company/custom-entry-status-item.d.ts +6 -6
- package/build/types/company/index.d.ts +5 -5
- package/build/types/company/number-string-pair.d.ts +4 -4
- package/build/types/enums/allotment-kind.d.ts +4 -4
- package/build/types/enums/allotment-status.d.ts +5 -5
- package/build/types/enums/allotment-type.d.ts +5 -5
- package/build/types/enums/availability-search-type.d.ts +4 -4
- package/build/types/enums/data-type.d.ts +14 -14
- package/build/types/enums/dossier-type.d.ts +6 -6
- package/build/types/enums/entry-line-flag.d.ts +6 -6
- package/build/types/enums/entry-line-status.d.ts +19 -19
- package/build/types/enums/entry-status.d.ts +8 -8
- package/build/types/enums/export-status.d.ts +5 -5
- package/build/types/enums/gender.d.ts +5 -5
- package/build/types/enums/index.d.ts +21 -21
- package/build/types/enums/meta-data-item-property-type.d.ts +6 -6
- package/build/types/enums/meta-data-type.d.ts +10 -10
- package/build/types/enums/payment-type.d.ts +6 -6
- package/build/types/enums/price-chart-type.d.ts +4 -4
- package/build/types/enums/print-action-group.d.ts +10 -10
- package/build/types/enums/requirement-type.d.ts +5 -5
- package/build/types/enums/room-type.d.ts +8 -8
- package/build/types/enums/sale-type.d.ts +4 -4
- package/build/types/enums/service-type.d.ts +33 -33
- package/build/types/enums/unit-of-measure.d.ts +5 -5
- package/build/types/hubs/index.d.ts +1 -1
- package/build/types/hubs/search/flight-search-finish-response.d.ts +4 -4
- package/build/types/hubs/search/flight-search-request.d.ts +24 -24
- package/build/types/hubs/search/flight-search-response.d.ts +43 -43
- package/build/types/hubs/search/index.d.ts +3 -3
- package/build/types/index.d.ts +10 -10
- package/build/types/mollie/index.d.ts +2 -2
- package/build/types/mollie/mollie-payment-request.d.ts +7 -7
- package/build/types/mollie/mollie-payment.d.ts +3 -3
- package/build/types/odata/column.d.ts +8 -8
- package/build/types/odata/filter-item.d.ts +14 -14
- package/build/types/odata/index.d.ts +4 -4
- package/build/types/odata/odata-params.d.ts +3 -3
- package/build/types/odata/page-result.d.ts +5 -5
- package/build/types/offer/additional-services.d.ts +6 -6
- package/build/types/offer/allotment-meta-data.d.ts +6 -6
- package/build/types/offer/confirmed-dossier-check.d.ts +6 -6
- package/build/types/offer/country-item.d.ts +5 -5
- package/build/types/offer/crm-contact-request.d.ts +28 -36
- package/build/types/offer/customer-request.d.ts +5 -5
- package/build/types/offer/dossier-default-product.d.ts +14 -14
- package/build/types/offer/dossier-pax-item.d.ts +4 -4
- package/build/types/offer/dossier-view-result.d.ts +48 -48
- package/build/types/offer/entry-check-response.d.ts +8 -8
- package/build/types/offer/entry-line-meta-data.d.ts +5 -5
- package/build/types/offer/entry-line-pax.d.ts +8 -8
- package/build/types/offer/entry-line.d.ts +67 -73
- package/build/types/offer/entry-price-line.d.ts +40 -40
- package/build/types/offer/entry-room2.d.ts +5 -5
- package/build/types/offer/entry.d.ts +55 -65
- package/build/types/offer/flight-data-segment-meta-data.d.ts +30 -30
- package/build/types/offer/flight-meta-data-line.d.ts +16 -16
- package/build/types/offer/flight-meta-data.d.ts +13 -13
- package/build/types/offer/flight-pool.d.ts +5 -5
- package/build/types/offer/index.d.ts +41 -41
- package/build/types/offer/item-tag.d.ts +3 -3
- package/build/types/offer/language.d.ts +5 -5
- package/build/types/offer/member-confirmation-request.d.ts +5 -5
- package/build/types/offer/member-forgot-password-request.d.ts +5 -5
- package/build/types/offer/member-info.d.ts +11 -11
- package/build/types/offer/member-login-request.d.ts +5 -5
- package/build/types/offer/member-login-response.d.ts +3 -3
- package/build/types/offer/member-reset-password-request.d.ts +4 -4
- package/build/types/offer/note.d.ts +16 -16
- package/build/types/offer/page-result.d.ts +5 -5
- package/build/types/offer/pax.d.ts +29 -29
- package/build/types/offer/payment.d.ts +20 -20
- package/build/types/offer/person-country-preference.d.ts +7 -7
- package/build/types/offer/person-location-preference.d.ts +7 -7
- package/build/types/offer/person-oord-preference.d.ts +7 -7
- package/build/types/offer/person-period-date-range-preference.d.ts +6 -6
- package/build/types/offer/person-period-preference.d.ts +7 -7
- package/build/types/offer/person-region-preference.d.ts +7 -7
- package/build/types/offer/person-tour-group-preference.d.ts +7 -7
- package/build/types/offer/product-notification-result.d.ts +9 -9
- package/build/types/offer/web-contact-form-request.d.ts +13 -13
- package/build/types/offer/web-contact-has-tag-request.d.ts +4 -4
- package/build/types/shared/date-struct.d.ts +5 -5
- package/build/types/shared/index.d.ts +2 -2
- package/build/types/shared/ticket-number.d.ts +5 -5
- package/build/types/tide-client-config.d.ts +5 -5
- package/build/types/web/affiliate.d.ts +5 -5
- package/build/types/web/agent-allotment-item.d.ts +31 -31
- package/build/types/web/agent-allotment.d.ts +32 -32
- package/build/types/web/agent-dossier-allotment-item.d.ts +8 -8
- package/build/types/web/agent-dossier-allotment.d.ts +14 -14
- package/build/types/web/agent-dossier-entry-line.d.ts +5 -5
- package/build/types/web/agent-dossier-flight-meta-data-line.d.ts +12 -12
- package/build/types/web/agent-dossier-flight-meta-data.d.ts +7 -7
- package/build/types/web/agent-dossier-item.d.ts +16 -16
- package/build/types/web/agent-dossier-traveler.d.ts +10 -10
- package/build/types/web/agent-dossier.d.ts +19 -19
- package/build/types/web/airport.d.ts +17 -17
- package/build/types/web/contact-form-request.d.ts +11 -11
- package/build/types/web/generate-booking-accommodation-request.d.ts +6 -6
- package/build/types/web/index.d.ts +13 -13
- package/build/utils/api.d.ts +3 -23
- package/build/utils/booking-v2-client.d.ts +22 -139
- package/build/utils/common-client.d.ts +3 -26
- package/build/utils/json.d.ts +2 -2
- package/build/utils/member-client.d.ts +7 -32
- package/build/utils/mollie-client.d.ts +7 -15
- package/build/utils/search-client.d.ts +9 -12
- package/build/utils/web-agent-client.d.ts +28 -98
- package/build/utils/web-client.d.ts +33 -58
- package/build/utils/web-contact-client.d.ts +11 -23
- package/build/utils/web-file.d.ts +20 -29
- package/package.json +64 -64
- package/rollup.config.js +20 -20
|
@@ -1,8 +1,2 @@
|
|
|
1
|
-
import { Column, FilterItem, OdataParams } from "../types";
|
|
2
|
-
export declare const createParams: (
|
|
3
|
-
filter: FilterItem,
|
|
4
|
-
all: boolean,
|
|
5
|
-
gridColumns?: Column[] | undefined,
|
|
6
|
-
mode?: string | undefined,
|
|
7
|
-
forceToLower?: boolean | undefined
|
|
8
|
-
) => OdataParams;
|
|
1
|
+
import { Column, FilterItem, OdataParams } from "../types";
|
|
2
|
+
export declare const createParams: (filter: FilterItem, all: boolean, gridColumns?: Column[] | undefined, mode?: string | undefined, forceToLower?: boolean | undefined) => OdataParams;
|
|
@@ -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,4 +1,4 @@
|
|
|
1
|
-
export interface AvailableCountriesRequest {
|
|
2
|
-
|
|
3
|
-
|
|
4
|
-
}
|
|
1
|
+
export interface AvailableCountriesRequest {
|
|
2
|
+
catalogueIds: number[];
|
|
3
|
+
language: string;
|
|
4
|
+
}
|
|
@@ -1,8 +1,8 @@
|
|
|
1
|
-
export interface AvailableFlightsRequest {
|
|
2
|
-
|
|
3
|
-
|
|
4
|
-
|
|
5
|
-
|
|
6
|
-
|
|
7
|
-
|
|
8
|
-
}
|
|
1
|
+
export interface AvailableFlightsRequest {
|
|
2
|
+
catalogueIds: number[];
|
|
3
|
+
officeId: number;
|
|
4
|
+
countryId: number;
|
|
5
|
+
countryCodes: string[];
|
|
6
|
+
regionId?: number;
|
|
7
|
+
oordId?: number;
|
|
8
|
+
}
|
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
export interface BookableDatesRequest {
|
|
2
|
-
|
|
3
|
-
|
|
4
|
-
}
|
|
1
|
+
export interface BookableDatesRequest {
|
|
2
|
+
productCode: string;
|
|
3
|
+
allotmentTourCode: string;
|
|
4
|
+
}
|
|
@@ -1,14 +1,14 @@
|
|
|
1
|
-
export interface BookingPackageAddress {
|
|
2
|
-
|
|
3
|
-
|
|
4
|
-
|
|
5
|
-
|
|
6
|
-
|
|
7
|
-
|
|
8
|
-
|
|
9
|
-
|
|
10
|
-
|
|
11
|
-
|
|
12
|
-
|
|
13
|
-
|
|
14
|
-
}
|
|
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
|
+
customerType?: number;
|
|
14
|
+
}
|
|
@@ -1,25 +1,25 @@
|
|
|
1
|
-
import { BookingProductNotification } from "../response";
|
|
2
|
-
import { BookingPackage } from "../shared";
|
|
3
|
-
import { BookingPackagePax } from "../shared/booking-package-pax";
|
|
4
|
-
import { BookingPackageAddress } from "./booking-package-address";
|
|
5
|
-
import { BookingPackageCustomerRequest } from "./booking-package-customer-request";
|
|
6
|
-
export interface BookingPackageBookRequest {
|
|
7
|
-
|
|
8
|
-
|
|
9
|
-
|
|
10
|
-
|
|
11
|
-
|
|
12
|
-
|
|
13
|
-
|
|
14
|
-
|
|
15
|
-
|
|
16
|
-
|
|
17
|
-
|
|
18
|
-
|
|
19
|
-
|
|
20
|
-
|
|
21
|
-
|
|
22
|
-
|
|
23
|
-
|
|
24
|
-
|
|
25
|
-
}
|
|
1
|
+
import { BookingProductNotification } from "../response";
|
|
2
|
+
import { BookingPackage } from "../shared";
|
|
3
|
+
import { BookingPackagePax } from "../shared/booking-package-pax";
|
|
4
|
+
import { BookingPackageAddress } from "./booking-package-address";
|
|
5
|
+
import { BookingPackageCustomerRequest } from "./booking-package-customer-request";
|
|
6
|
+
export interface BookingPackageBookRequest {
|
|
7
|
+
saleType?: number;
|
|
8
|
+
status: number;
|
|
9
|
+
customStatusId?: number;
|
|
10
|
+
package: BookingPackage;
|
|
11
|
+
returnPaymentUrl?: boolean;
|
|
12
|
+
redirectUrl?: string;
|
|
13
|
+
cancelUrl?: string;
|
|
14
|
+
calculateDeposit?: boolean;
|
|
15
|
+
tagIds?: number[];
|
|
16
|
+
voucherCodes?: string[];
|
|
17
|
+
remarks?: string;
|
|
18
|
+
customerRequests: BookingPackageCustomerRequest[];
|
|
19
|
+
travellerAddressName?: string;
|
|
20
|
+
agencyAddressName?: string;
|
|
21
|
+
address?: BookingPackageAddress;
|
|
22
|
+
pax: BookingPackagePax[];
|
|
23
|
+
nonTravelPax: BookingPackagePax[];
|
|
24
|
+
notifications: BookingProductNotification[];
|
|
25
|
+
}
|
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
export interface BookingPackageCustomerRequest {
|
|
2
|
-
|
|
3
|
-
|
|
4
|
-
}
|
|
1
|
+
export interface BookingPackageCustomerRequest {
|
|
2
|
+
title: string;
|
|
3
|
+
message: string;
|
|
4
|
+
}
|
|
@@ -1,9 +1,9 @@
|
|
|
1
|
-
export interface BookingPackageDestination {
|
|
2
|
-
|
|
3
|
-
|
|
4
|
-
|
|
5
|
-
|
|
6
|
-
|
|
7
|
-
|
|
8
|
-
|
|
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,27 +1,27 @@
|
|
|
1
|
-
import { BookingPackageRequestRoom } from "../shared/booking-package-request-room";
|
|
2
|
-
import { SelectedFlight } from "./selected-flight";
|
|
3
|
-
import { SelectedHotel } from "./selected-hotel";
|
|
4
|
-
export interface BookingPackageDetailsRequest {
|
|
5
|
-
|
|
6
|
-
|
|
7
|
-
|
|
8
|
-
|
|
9
|
-
|
|
10
|
-
|
|
11
|
-
|
|
12
|
-
|
|
13
|
-
|
|
14
|
-
|
|
15
|
-
|
|
16
|
-
|
|
17
|
-
|
|
18
|
-
|
|
19
|
-
|
|
20
|
-
|
|
21
|
-
|
|
22
|
-
|
|
23
|
-
|
|
24
|
-
|
|
25
|
-
|
|
26
|
-
|
|
27
|
-
}
|
|
1
|
+
import { BookingPackageRequestRoom } from "../shared/booking-package-request-room";
|
|
2
|
+
import { SelectedFlight } from "./selected-flight";
|
|
3
|
+
import { SelectedHotel } from "./selected-hotel";
|
|
4
|
+
export interface BookingPackageDetailsRequest {
|
|
5
|
+
catalogueId?: number;
|
|
6
|
+
rooms: BookingPackageRequestRoom[];
|
|
7
|
+
searchType: number;
|
|
8
|
+
productCode: string;
|
|
9
|
+
allotmentName?: string;
|
|
10
|
+
tourCode?: string;
|
|
11
|
+
fromDate: string;
|
|
12
|
+
toDate: string;
|
|
13
|
+
preNights?: number | null;
|
|
14
|
+
postNights?: number | null;
|
|
15
|
+
includeFlights?: boolean;
|
|
16
|
+
includeHotels?: boolean;
|
|
17
|
+
includePaxTypes?: boolean;
|
|
18
|
+
checkExternalAvailability?: boolean;
|
|
19
|
+
cachedAllotmentPriceInfos?: number[];
|
|
20
|
+
duration?: number | null;
|
|
21
|
+
expectedPrice?: number | null;
|
|
22
|
+
routeId?: string;
|
|
23
|
+
vendorConfigurationId?: number | null;
|
|
24
|
+
hotel?: SelectedHotel;
|
|
25
|
+
outwardFlight?: SelectedFlight;
|
|
26
|
+
returnFlight?: SelectedFlight;
|
|
27
|
+
}
|
|
@@ -1,12 +1,12 @@
|
|
|
1
|
-
import { BookingPackageRequestRoom } from "../shared";
|
|
2
|
-
import { BookingPackageDestination } from "./booking-package-destination";
|
|
3
|
-
export interface BookingPackageFlightPoolRequest {
|
|
4
|
-
|
|
5
|
-
|
|
6
|
-
|
|
7
|
-
|
|
8
|
-
|
|
9
|
-
|
|
10
|
-
|
|
11
|
-
|
|
12
|
-
}
|
|
1
|
+
import { BookingPackageRequestRoom } from "../shared";
|
|
2
|
+
import { BookingPackageDestination } from "./booking-package-destination";
|
|
3
|
+
export interface BookingPackageFlightPoolRequest {
|
|
4
|
+
catalogueIds: number[];
|
|
5
|
+
rooms: BookingPackageRequestRoom[];
|
|
6
|
+
destination?: BookingPackageDestination;
|
|
7
|
+
fromDate: string;
|
|
8
|
+
toDate: string;
|
|
9
|
+
productCode: string;
|
|
10
|
+
tourCode: string;
|
|
11
|
+
realTime: boolean;
|
|
12
|
+
}
|
|
@@ -1,5 +1,5 @@
|
|
|
1
|
-
export interface BookingPackageRequest<T> {
|
|
2
|
-
|
|
3
|
-
|
|
4
|
-
|
|
5
|
-
}
|
|
1
|
+
export interface BookingPackageRequest<T> {
|
|
2
|
+
officeId: number;
|
|
3
|
+
agentId?: number;
|
|
4
|
+
payload: T;
|
|
5
|
+
}
|
|
@@ -1,29 +1,29 @@
|
|
|
1
|
-
import { BookingPackageRequestRoom } from "../shared/booking-package-request-room";
|
|
2
|
-
import { BookingPackageDestination } from "./booking-package-destination";
|
|
3
|
-
export interface BookingPackageSearchRequest {
|
|
4
|
-
|
|
5
|
-
|
|
6
|
-
|
|
7
|
-
|
|
8
|
-
|
|
9
|
-
|
|
10
|
-
|
|
11
|
-
|
|
12
|
-
|
|
13
|
-
|
|
14
|
-
|
|
15
|
-
|
|
16
|
-
|
|
17
|
-
|
|
18
|
-
|
|
19
|
-
|
|
20
|
-
|
|
21
|
-
|
|
22
|
-
|
|
23
|
-
|
|
24
|
-
|
|
25
|
-
|
|
26
|
-
|
|
27
|
-
|
|
28
|
-
|
|
29
|
-
}
|
|
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
|
+
regimeCodes?: string[];
|
|
12
|
+
fromDate: string;
|
|
13
|
+
toDate: string;
|
|
14
|
+
earliestFromOffset: number;
|
|
15
|
+
latestToOffset: number;
|
|
16
|
+
productTagIds?: number[];
|
|
17
|
+
includeFlights?: boolean;
|
|
18
|
+
useExactDates: boolean;
|
|
19
|
+
minPrice?: number;
|
|
20
|
+
maxPrice?: number;
|
|
21
|
+
allotmentName?: string;
|
|
22
|
+
tourCodes?: string[];
|
|
23
|
+
allotmentTagIds?: number[];
|
|
24
|
+
includeClosedAllotments?: boolean;
|
|
25
|
+
includeFullyBookedAllotments?: boolean;
|
|
26
|
+
onlyCachedResults?: boolean;
|
|
27
|
+
includeAllAllotments?: boolean;
|
|
28
|
+
includeAllTransportTypes?: boolean;
|
|
29
|
+
}
|
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
import { BookingPackageBookRequest } from "./booking-package-book-request";
|
|
2
|
-
export interface BookingPackageUpdateRequest extends BookingPackageBookRequest {
|
|
3
|
-
|
|
4
|
-
}
|
|
1
|
+
import { BookingPackageBookRequest } from "./booking-package-book-request";
|
|
2
|
+
export interface BookingPackageUpdateRequest extends BookingPackageBookRequest {
|
|
3
|
+
dossierNumber: string;
|
|
4
|
+
}
|
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
export interface BookingPackageVoucherRequest {
|
|
2
|
-
|
|
3
|
-
|
|
4
|
-
}
|
|
1
|
+
export interface BookingPackageVoucherRequest {
|
|
2
|
+
code: string;
|
|
3
|
+
otherCodes: string[];
|
|
4
|
+
}
|
|
@@ -1,18 +1,18 @@
|
|
|
1
|
-
export * from "./available-countries-request";
|
|
2
|
-
export * from "./available-flights-request";
|
|
3
|
-
export * from "./bookable-dates-request";
|
|
4
|
-
export * from "./booking-package-address";
|
|
5
|
-
export * from "./booking-package-book-request";
|
|
6
|
-
export * from "./booking-package-customer-request";
|
|
7
|
-
export * from "./booking-package-destination";
|
|
8
|
-
export * from "./booking-package-details-request";
|
|
9
|
-
export * from "./booking-package-flight-pool-request";
|
|
10
|
-
export * from "./booking-package-request";
|
|
11
|
-
export * from "./booking-package-search-request";
|
|
12
|
-
export * from "./booking-package-update-request";
|
|
13
|
-
export * from "./booking-package-voucher-request";
|
|
14
|
-
export * from "./prices-request";
|
|
15
|
-
export * from "./selected-flight";
|
|
16
|
-
export * from "./selected-hotel";
|
|
17
|
-
export * from "./tour-codes.request";
|
|
18
|
-
export * from "./transport-dates-request";
|
|
1
|
+
export * from "./available-countries-request";
|
|
2
|
+
export * from "./available-flights-request";
|
|
3
|
+
export * from "./bookable-dates-request";
|
|
4
|
+
export * from "./booking-package-address";
|
|
5
|
+
export * from "./booking-package-book-request";
|
|
6
|
+
export * from "./booking-package-customer-request";
|
|
7
|
+
export * from "./booking-package-destination";
|
|
8
|
+
export * from "./booking-package-details-request";
|
|
9
|
+
export * from "./booking-package-flight-pool-request";
|
|
10
|
+
export * from "./booking-package-request";
|
|
11
|
+
export * from "./booking-package-search-request";
|
|
12
|
+
export * from "./booking-package-update-request";
|
|
13
|
+
export * from "./booking-package-voucher-request";
|
|
14
|
+
export * from "./prices-request";
|
|
15
|
+
export * from "./selected-flight";
|
|
16
|
+
export * from "./selected-hotel";
|
|
17
|
+
export * from "./tour-codes.request";
|
|
18
|
+
export * from "./transport-dates-request";
|
|
@@ -1,17 +1,17 @@
|
|
|
1
|
-
import { Pax } from "../../offer/pax";
|
|
2
|
-
export interface PricesRequest {
|
|
3
|
-
|
|
4
|
-
|
|
5
|
-
|
|
6
|
-
|
|
7
|
-
|
|
8
|
-
|
|
9
|
-
|
|
10
|
-
|
|
11
|
-
|
|
12
|
-
}
|
|
13
|
-
export interface PricesRequestRoom {
|
|
14
|
-
|
|
15
|
-
|
|
16
|
-
|
|
17
|
-
}
|
|
1
|
+
import { Pax } from "../../offer/pax";
|
|
2
|
+
export interface PricesRequest {
|
|
3
|
+
officeId: number;
|
|
4
|
+
catalogueId: number;
|
|
5
|
+
productCode: string;
|
|
6
|
+
rooms: PricesRequestRoom[];
|
|
7
|
+
from: Date;
|
|
8
|
+
to: Date;
|
|
9
|
+
duration: number;
|
|
10
|
+
outwardFlightCode: string | null;
|
|
11
|
+
returnFlightCode: string | null;
|
|
12
|
+
}
|
|
13
|
+
export interface PricesRequestRoom {
|
|
14
|
+
accommodationCode: string | null;
|
|
15
|
+
regimeCode: string | null;
|
|
16
|
+
travelers: Pax[];
|
|
17
|
+
}
|
|
@@ -1,10 +1,10 @@
|
|
|
1
|
-
export interface SelectedFlight {
|
|
2
|
-
|
|
3
|
-
|
|
4
|
-
|
|
5
|
-
|
|
6
|
-
|
|
7
|
-
|
|
8
|
-
|
|
9
|
-
|
|
10
|
-
}
|
|
1
|
+
export interface SelectedFlight {
|
|
2
|
+
flightCode: string;
|
|
3
|
+
flightNumbers: string[];
|
|
4
|
+
startDateTime: string | null;
|
|
5
|
+
endDateTime: string | null;
|
|
6
|
+
departureHourMin: number | null;
|
|
7
|
+
departureHourMax: number | null;
|
|
8
|
+
arrivalHourMin: number | null;
|
|
9
|
+
arrivalHourMax: number | null;
|
|
10
|
+
}
|
|
@@ -1,5 +1,5 @@
|
|
|
1
|
-
export interface SelectedHotel {
|
|
2
|
-
|
|
3
|
-
|
|
4
|
-
|
|
5
|
-
}
|
|
1
|
+
export interface SelectedHotel {
|
|
2
|
+
code: string;
|
|
3
|
+
fromDate: string;
|
|
4
|
+
toDate: string;
|
|
5
|
+
}
|
|
@@ -1,3 +1,3 @@
|
|
|
1
|
-
export interface TourCodesRequest {
|
|
2
|
-
|
|
3
|
-
}
|
|
1
|
+
export interface TourCodesRequest {
|
|
2
|
+
tourCodes: string[];
|
|
3
|
+
}
|
|
@@ -1,14 +1,14 @@
|
|
|
1
|
-
export interface TransportDatesRequest {
|
|
2
|
-
|
|
3
|
-
|
|
4
|
-
|
|
5
|
-
|
|
6
|
-
|
|
7
|
-
|
|
8
|
-
|
|
9
|
-
|
|
10
|
-
|
|
11
|
-
|
|
12
|
-
|
|
13
|
-
|
|
14
|
-
}
|
|
1
|
+
export interface TransportDatesRequest {
|
|
2
|
+
officeId: number;
|
|
3
|
+
agentId: number;
|
|
4
|
+
from: Date;
|
|
5
|
+
to: Date;
|
|
6
|
+
catalogueIds: number[];
|
|
7
|
+
productCode: string;
|
|
8
|
+
countryCodes: string[];
|
|
9
|
+
countryId?: number;
|
|
10
|
+
oordId?: number;
|
|
11
|
+
locationId?: number;
|
|
12
|
+
adultCount: number;
|
|
13
|
+
childCount: number;
|
|
14
|
+
}
|
|
@@ -1,5 +1,5 @@
|
|
|
1
|
-
export interface AvailableCountry {
|
|
2
|
-
|
|
3
|
-
|
|
4
|
-
|
|
5
|
-
}
|
|
1
|
+
export interface AvailableCountry {
|
|
2
|
+
id: number;
|
|
3
|
+
name: string;
|
|
4
|
+
iso2: string;
|
|
5
|
+
}
|
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
export interface AvailableFlight {
|
|
2
|
-
|
|
3
|
-
|
|
4
|
-
}
|
|
1
|
+
export interface AvailableFlight {
|
|
2
|
+
departure: string;
|
|
3
|
+
returns: string[];
|
|
4
|
+
}
|
|
@@ -1,7 +1,7 @@
|
|
|
1
|
-
export interface BasePrice {
|
|
2
|
-
|
|
3
|
-
|
|
4
|
-
|
|
5
|
-
|
|
6
|
-
|
|
7
|
-
}
|
|
1
|
+
export interface BasePrice {
|
|
2
|
+
productCode: string;
|
|
3
|
+
date: string;
|
|
4
|
+
dateString: string;
|
|
5
|
+
pricePerPerson: number;
|
|
6
|
+
oldPricePerPerson: number;
|
|
7
|
+
}
|
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
export interface BookableDates {
|
|
2
|
-
|
|
3
|
-
|
|
4
|
-
}
|
|
1
|
+
export interface BookableDates {
|
|
2
|
+
outward: string[];
|
|
3
|
+
return: string[];
|
|
4
|
+
}
|
|
@@ -1,17 +1,17 @@
|
|
|
1
|
-
export interface BookingPackageAllotmentInfo {
|
|
2
|
-
|
|
3
|
-
|
|
4
|
-
|
|
5
|
-
|
|
6
|
-
|
|
7
|
-
|
|
8
|
-
|
|
9
|
-
|
|
10
|
-
|
|
11
|
-
|
|
12
|
-
|
|
13
|
-
|
|
14
|
-
|
|
15
|
-
|
|
16
|
-
|
|
17
|
-
}
|
|
1
|
+
export interface BookingPackageAllotmentInfo {
|
|
2
|
+
name: string;
|
|
3
|
+
tourCode: string;
|
|
4
|
+
startDate: string;
|
|
5
|
+
startTime: string;
|
|
6
|
+
endDate: string;
|
|
7
|
+
endTime: string;
|
|
8
|
+
totalPlaces: number;
|
|
9
|
+
bookedPlaces: number;
|
|
10
|
+
inOptionPlaces: number;
|
|
11
|
+
status: number;
|
|
12
|
+
customStatusId?: number;
|
|
13
|
+
customAllotmentStatus?: string;
|
|
14
|
+
tagIds: number[];
|
|
15
|
+
allotmentIds: number[];
|
|
16
|
+
cachedAllotmentPriceInfos?: number[];
|
|
17
|
+
}
|
|
@@ -1,6 +1,6 @@
|
|
|
1
|
-
export interface BookingPackageDossier {
|
|
2
|
-
|
|
3
|
-
|
|
4
|
-
|
|
5
|
-
|
|
6
|
-
}
|
|
1
|
+
export interface BookingPackageDossier {
|
|
2
|
+
number: string;
|
|
3
|
+
productName: string;
|
|
4
|
+
allotmentName: string;
|
|
5
|
+
paymentUrl: string;
|
|
6
|
+
}
|
|
@@ -1,5 +1,5 @@
|
|
|
1
|
-
export interface BookingPackageFlightCombination {
|
|
2
|
-
|
|
3
|
-
|
|
4
|
-
|
|
5
|
-
}
|
|
1
|
+
export interface BookingPackageFlightCombination {
|
|
2
|
+
outwardOptionId: string;
|
|
3
|
+
returnOptionId: string;
|
|
4
|
+
externalGuid: string | null;
|
|
5
|
+
}
|
|
@@ -1,7 +1,9 @@
|
|
|
1
|
-
import {
|
|
2
|
-
import {
|
|
3
|
-
|
|
4
|
-
|
|
5
|
-
|
|
6
|
-
|
|
7
|
-
|
|
1
|
+
import { BookingPackageEntryLineFlightMetaData } from "./booking-package-entryline-flight-meta-data";
|
|
2
|
+
import { BookingPackageFlightCombination } from "./booking-package-flight-combination";
|
|
3
|
+
import { BookingPackageFlightRoute } from "./booking-package-flight-route";
|
|
4
|
+
export interface BookingPackageFlightInfo {
|
|
5
|
+
outwardRoutes: BookingPackageFlightRoute[];
|
|
6
|
+
returnRoutes: BookingPackageFlightRoute[];
|
|
7
|
+
combinations: BookingPackageFlightCombination[];
|
|
8
|
+
metaData: BookingPackageEntryLineFlightMetaData[];
|
|
9
|
+
}
|
|
@@ -1,5 +1,5 @@
|
|
|
1
|
-
import { BookingPackageFlight } from "../shared";
|
|
2
|
-
export interface BookingPackageFlightPool {
|
|
3
|
-
|
|
4
|
-
|
|
5
|
-
}
|
|
1
|
+
import { BookingPackageFlight } from "../shared";
|
|
2
|
+
export interface BookingPackageFlightPool {
|
|
3
|
+
outwardFlights: BookingPackageFlight[];
|
|
4
|
+
returnFlights: BookingPackageFlight[];
|
|
5
|
+
}
|