@qite/tide-client 1.1.94 → 1.1.96
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 +5061 -4806
- package/build/index.js.map +1 -1
- package/build/services/odata.service.d.ts +8 -2
- 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 -5
- 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 -9
- 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 +41 -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 -26
- 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 +2 -3
- package/build/types/booking-v2/shared/airport-booking-package-option.d.ts +2 -3
- 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 -22
- 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 +44 -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 +36 -28
- 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 +73 -67
- 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 +65 -55
- package/build/types/offer/flight-data-segment-meta-data.d.ts +31 -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 +23 -3
- package/build/utils/booking-v2-client.d.ts +139 -22
- package/build/utils/common-client.d.ts +26 -3
- package/build/utils/json.d.ts +2 -2
- package/build/utils/member-client.d.ts +32 -7
- package/build/utils/mollie-client.d.ts +15 -7
- package/build/utils/search-client.d.ts +12 -9
- package/build/utils/web-agent-client.d.ts +98 -28
- package/build/utils/web-client.d.ts +58 -33
- package/build/utils/web-contact-client.d.ts +23 -11
- package/build/utils/web-file.d.ts +29 -20
- package/package.json +64 -64
- package/rollup.config.js +20 -20
|
@@ -1,7 +1,7 @@
|
|
|
1
|
-
export interface PersonPeriodPreference {
|
|
2
|
-
|
|
3
|
-
|
|
4
|
-
|
|
5
|
-
|
|
6
|
-
|
|
7
|
-
}
|
|
1
|
+
export interface PersonPeriodPreference {
|
|
2
|
+
id?: number;
|
|
3
|
+
personId: number;
|
|
4
|
+
periodId: number;
|
|
5
|
+
periodName: string;
|
|
6
|
+
order: number;
|
|
7
|
+
}
|
|
@@ -1,7 +1,7 @@
|
|
|
1
|
-
export interface PersonRegionPreference {
|
|
2
|
-
|
|
3
|
-
|
|
4
|
-
|
|
5
|
-
|
|
6
|
-
|
|
7
|
-
}
|
|
1
|
+
export interface PersonRegionPreference {
|
|
2
|
+
id?: number;
|
|
3
|
+
personId: number;
|
|
4
|
+
regionId: number;
|
|
5
|
+
regionName: string;
|
|
6
|
+
order: number;
|
|
7
|
+
}
|
|
@@ -1,7 +1,7 @@
|
|
|
1
|
-
export interface PersonTourGroupPreference {
|
|
2
|
-
|
|
3
|
-
|
|
4
|
-
|
|
5
|
-
|
|
6
|
-
|
|
7
|
-
}
|
|
1
|
+
export interface PersonTourGroupPreference {
|
|
2
|
+
id?: number;
|
|
3
|
+
adults: number;
|
|
4
|
+
children: number;
|
|
5
|
+
rooms: number;
|
|
6
|
+
personId: number;
|
|
7
|
+
}
|
|
@@ -1,9 +1,9 @@
|
|
|
1
|
-
export interface ProductNotificationResult {
|
|
2
|
-
|
|
3
|
-
|
|
4
|
-
|
|
5
|
-
|
|
6
|
-
|
|
7
|
-
|
|
8
|
-
|
|
9
|
-
}
|
|
1
|
+
export interface ProductNotificationResult {
|
|
2
|
+
id: number;
|
|
3
|
+
productCode: string;
|
|
4
|
+
productName: string;
|
|
5
|
+
title: string;
|
|
6
|
+
description: string;
|
|
7
|
+
isBlocking: boolean;
|
|
8
|
+
hasToBeConfirmed: boolean;
|
|
9
|
+
}
|
|
@@ -1,13 +1,13 @@
|
|
|
1
|
-
export interface WebContactFormRequest {
|
|
2
|
-
|
|
3
|
-
|
|
4
|
-
|
|
5
|
-
|
|
6
|
-
|
|
7
|
-
|
|
8
|
-
|
|
9
|
-
|
|
10
|
-
|
|
11
|
-
|
|
12
|
-
|
|
13
|
-
}
|
|
1
|
+
export interface WebContactFormRequest {
|
|
2
|
+
internalEmailTemplate?: number;
|
|
3
|
+
externalEmailTemplate?: number;
|
|
4
|
+
officeId: number;
|
|
5
|
+
firstName: string;
|
|
6
|
+
lastName: string;
|
|
7
|
+
email: string;
|
|
8
|
+
phone?: string;
|
|
9
|
+
tags?: number[];
|
|
10
|
+
message?: string;
|
|
11
|
+
languageCode: string;
|
|
12
|
+
formContent?: Record<string, string>;
|
|
13
|
+
}
|
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
export interface WebContactHasTagRequest {
|
|
2
|
-
|
|
3
|
-
|
|
4
|
-
}
|
|
1
|
+
export interface WebContactHasTagRequest {
|
|
2
|
+
email: string;
|
|
3
|
+
tag: number;
|
|
4
|
+
}
|
|
@@ -1,5 +1,5 @@
|
|
|
1
|
-
export interface DateStruct {
|
|
2
|
-
|
|
3
|
-
|
|
4
|
-
|
|
5
|
-
}
|
|
1
|
+
export interface DateStruct {
|
|
2
|
+
day: number;
|
|
3
|
+
month: number;
|
|
4
|
+
year: number;
|
|
5
|
+
}
|
|
@@ -1,2 +1,2 @@
|
|
|
1
|
-
export * from "./date-struct";
|
|
2
|
-
export * from "./ticket-number";
|
|
1
|
+
export * from "./date-struct";
|
|
2
|
+
export * from "./ticket-number";
|
|
@@ -1,5 +1,5 @@
|
|
|
1
|
-
export interface TicketNumber {
|
|
2
|
-
|
|
3
|
-
|
|
4
|
-
|
|
5
|
-
}
|
|
1
|
+
export interface TicketNumber {
|
|
2
|
+
travelerId: number;
|
|
3
|
+
travelerGuid: string;
|
|
4
|
+
number: string;
|
|
5
|
+
}
|
|
@@ -1,5 +1,5 @@
|
|
|
1
|
-
export interface TideClientConfig {
|
|
2
|
-
|
|
3
|
-
|
|
4
|
-
|
|
5
|
-
}
|
|
1
|
+
export interface TideClientConfig {
|
|
2
|
+
host: string;
|
|
3
|
+
apiKey: string;
|
|
4
|
+
token?: string;
|
|
5
|
+
}
|
|
@@ -1,5 +1,5 @@
|
|
|
1
|
-
export interface Affiliate {
|
|
2
|
-
|
|
3
|
-
|
|
4
|
-
|
|
5
|
-
}
|
|
1
|
+
export interface Affiliate {
|
|
2
|
+
id: number;
|
|
3
|
+
slug: string;
|
|
4
|
+
companyId: number;
|
|
5
|
+
}
|
|
@@ -1,31 +1,31 @@
|
|
|
1
|
-
import { AllotmentKind, AllotmentStatus } from "../enums";
|
|
2
|
-
export interface AgentAllotmentItem {
|
|
3
|
-
|
|
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
|
-
|
|
30
|
-
|
|
31
|
-
}
|
|
1
|
+
import { AllotmentKind, AllotmentStatus } from "../enums";
|
|
2
|
+
export interface AgentAllotmentItem {
|
|
3
|
+
id: number;
|
|
4
|
+
name: string;
|
|
5
|
+
startDate: Date;
|
|
6
|
+
endDate: Date;
|
|
7
|
+
minPlaces: number;
|
|
8
|
+
totalPlaces: number;
|
|
9
|
+
bookedPlaces: number;
|
|
10
|
+
inOptionPlaces: number;
|
|
11
|
+
releaseDate: Date | null;
|
|
12
|
+
status: AllotmentStatus;
|
|
13
|
+
customStatusName: string;
|
|
14
|
+
tourCode: string;
|
|
15
|
+
primaryPerson: string;
|
|
16
|
+
secondaryPerson: string;
|
|
17
|
+
tertiaryPerson: string;
|
|
18
|
+
startTime: string;
|
|
19
|
+
endTime: string;
|
|
20
|
+
kind: AllotmentKind;
|
|
21
|
+
ticketingDate: Date | null;
|
|
22
|
+
paxListDeadline: Date | null;
|
|
23
|
+
firstDepositDeadline: Date | null;
|
|
24
|
+
secondDepositDeadline: Date | null;
|
|
25
|
+
thirdDepositDeadline: Date | null;
|
|
26
|
+
issueDate: Date | null;
|
|
27
|
+
departureMeetingDate: Date | null;
|
|
28
|
+
departureMeetingAddressName: string;
|
|
29
|
+
dossierNumbers: string[];
|
|
30
|
+
productCodes: string[];
|
|
31
|
+
}
|
|
@@ -1,32 +1,32 @@
|
|
|
1
|
-
import { AllotmentKind, AllotmentStatus } from "../enums";
|
|
2
|
-
import { AllotmentMetaData } from "../offer";
|
|
3
|
-
export interface AgentAllotment {
|
|
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
|
-
|
|
30
|
-
|
|
31
|
-
|
|
32
|
-
}
|
|
1
|
+
import { AllotmentKind, AllotmentStatus } from "../enums";
|
|
2
|
+
import { AllotmentMetaData } from "../offer";
|
|
3
|
+
export interface AgentAllotment {
|
|
4
|
+
id: number;
|
|
5
|
+
name: string;
|
|
6
|
+
startDate: Date;
|
|
7
|
+
endDate: Date;
|
|
8
|
+
minPlaces: number;
|
|
9
|
+
totalPlaces: number;
|
|
10
|
+
bookedPlaces: number;
|
|
11
|
+
inOptionPlaces: number;
|
|
12
|
+
releaseDate: Date | null;
|
|
13
|
+
status: AllotmentStatus;
|
|
14
|
+
customStatusName: string;
|
|
15
|
+
tourCode: string;
|
|
16
|
+
primaryPerson: string;
|
|
17
|
+
secondaryPerson: string;
|
|
18
|
+
tertiaryPerson: string;
|
|
19
|
+
remarks: string;
|
|
20
|
+
startTime: string;
|
|
21
|
+
endTime: string;
|
|
22
|
+
kind: AllotmentKind;
|
|
23
|
+
ticketingDate: Date | null;
|
|
24
|
+
paxListDeadline: Date | null;
|
|
25
|
+
firstDepositDeadline: Date | null;
|
|
26
|
+
secondDepositDeadline: Date | null;
|
|
27
|
+
thirdDepositDeadline: Date | null;
|
|
28
|
+
issueDate: Date | null;
|
|
29
|
+
departureMeetingDate: Date | null;
|
|
30
|
+
departureMeetingAddressName: string;
|
|
31
|
+
metaDatas: AllotmentMetaData[];
|
|
32
|
+
}
|
|
@@ -1,8 +1,8 @@
|
|
|
1
|
-
export interface AgentDossierAllotmentItem {
|
|
2
|
-
|
|
3
|
-
|
|
4
|
-
|
|
5
|
-
|
|
6
|
-
|
|
7
|
-
|
|
8
|
-
}
|
|
1
|
+
export interface AgentDossierAllotmentItem {
|
|
2
|
+
id: number;
|
|
3
|
+
startDate: Date | null;
|
|
4
|
+
endDate: Date | null;
|
|
5
|
+
ticketingDate: Date | null;
|
|
6
|
+
paxListDeadline: Date | null;
|
|
7
|
+
firstDepositDeadline: Date | null;
|
|
8
|
+
}
|
|
@@ -1,14 +1,14 @@
|
|
|
1
|
-
import { AllotmentStatus } from "../enums";
|
|
2
|
-
export interface AgentDossierAllotment {
|
|
3
|
-
|
|
4
|
-
|
|
5
|
-
|
|
6
|
-
|
|
7
|
-
|
|
8
|
-
|
|
9
|
-
|
|
10
|
-
|
|
11
|
-
|
|
12
|
-
|
|
13
|
-
|
|
14
|
-
}
|
|
1
|
+
import { AllotmentStatus } from "../enums";
|
|
2
|
+
export interface AgentDossierAllotment {
|
|
3
|
+
id: number;
|
|
4
|
+
startDate: Date;
|
|
5
|
+
endDate: Date;
|
|
6
|
+
status: AllotmentStatus;
|
|
7
|
+
bookedPlaces: number;
|
|
8
|
+
ticketingDate: Date | null;
|
|
9
|
+
paxListDeadline: Date | null;
|
|
10
|
+
firstDepositDeadline: Date | null;
|
|
11
|
+
secondDepositDeadline: Date | null;
|
|
12
|
+
thirdDepositDeadline: Date | null;
|
|
13
|
+
issueDate: Date | null;
|
|
14
|
+
}
|
|
@@ -1,5 +1,5 @@
|
|
|
1
|
-
import { AgentDossierFlightMetaData } from "./agent-dossier-flight-meta-data";
|
|
2
|
-
export interface AgentDossierEntryLine {
|
|
3
|
-
|
|
4
|
-
|
|
5
|
-
}
|
|
1
|
+
import { AgentDossierFlightMetaData } from "./agent-dossier-flight-meta-data";
|
|
2
|
+
export interface AgentDossierEntryLine {
|
|
3
|
+
status: number;
|
|
4
|
+
flightMetaData: AgentDossierFlightMetaData;
|
|
5
|
+
}
|
|
@@ -1,12 +1,12 @@
|
|
|
1
|
-
import { TicketNumber } from "../shared/ticket-number";
|
|
2
|
-
export interface AgentDossierFlightMetaDataLine {
|
|
3
|
-
|
|
4
|
-
|
|
5
|
-
|
|
6
|
-
|
|
7
|
-
|
|
8
|
-
|
|
9
|
-
|
|
10
|
-
|
|
11
|
-
|
|
12
|
-
}
|
|
1
|
+
import { TicketNumber } from "../shared/ticket-number";
|
|
2
|
+
export interface AgentDossierFlightMetaDataLine {
|
|
3
|
+
operatingAirlineCode: string;
|
|
4
|
+
operatingAirlineDescription: string;
|
|
5
|
+
departureDate: Date;
|
|
6
|
+
departureTime: string;
|
|
7
|
+
number: string;
|
|
8
|
+
departureAirport: string;
|
|
9
|
+
arrivalAirport: string;
|
|
10
|
+
travelClass: string;
|
|
11
|
+
ticketNumbers: TicketNumber[];
|
|
12
|
+
}
|
|
@@ -1,7 +1,7 @@
|
|
|
1
|
-
import { AgentDossierFlightMetaDataLine } from "./agent-dossier-flight-meta-data-line";
|
|
2
|
-
export interface AgentDossierFlightMetaData {
|
|
3
|
-
|
|
4
|
-
|
|
5
|
-
|
|
6
|
-
|
|
7
|
-
}
|
|
1
|
+
import { AgentDossierFlightMetaDataLine } from "./agent-dossier-flight-meta-data-line";
|
|
2
|
+
export interface AgentDossierFlightMetaData {
|
|
3
|
+
flightLines: AgentDossierFlightMetaDataLine[];
|
|
4
|
+
pnr: string;
|
|
5
|
+
durationInTicks?: number;
|
|
6
|
+
customOptionDate?: Date;
|
|
7
|
+
}
|
|
@@ -1,16 +1,16 @@
|
|
|
1
|
-
import { AgentDossierAllotmentItem } from "./agent-dossier-allotment-item";
|
|
2
|
-
export interface AgentDossierItem {
|
|
3
|
-
|
|
4
|
-
|
|
5
|
-
|
|
6
|
-
|
|
7
|
-
|
|
8
|
-
|
|
9
|
-
|
|
10
|
-
|
|
11
|
-
|
|
12
|
-
|
|
13
|
-
|
|
14
|
-
|
|
15
|
-
|
|
16
|
-
}
|
|
1
|
+
import { AgentDossierAllotmentItem } from "./agent-dossier-allotment-item";
|
|
2
|
+
export interface AgentDossierItem {
|
|
3
|
+
id: number;
|
|
4
|
+
dossierNumber: string;
|
|
5
|
+
dossierStartDate: Date;
|
|
6
|
+
dossierEndDate: Date;
|
|
7
|
+
dateCreated: Date;
|
|
8
|
+
officeId: number;
|
|
9
|
+
isActive: boolean;
|
|
10
|
+
entryStatus: number;
|
|
11
|
+
productCodes: string[];
|
|
12
|
+
agentAllotments: AgentDossierAllotmentItem[];
|
|
13
|
+
agentAllotmentStartDate: Date | null;
|
|
14
|
+
paxNames: string[];
|
|
15
|
+
productTagIds: number[];
|
|
16
|
+
}
|
|
@@ -1,10 +1,10 @@
|
|
|
1
|
-
export interface AgentDossierTraveler {
|
|
2
|
-
|
|
3
|
-
|
|
4
|
-
|
|
5
|
-
|
|
6
|
-
|
|
7
|
-
|
|
8
|
-
|
|
9
|
-
|
|
10
|
-
}
|
|
1
|
+
export interface AgentDossierTraveler {
|
|
2
|
+
isMainBooker: boolean;
|
|
3
|
+
email: string;
|
|
4
|
+
phone: string;
|
|
5
|
+
mobile: string;
|
|
6
|
+
dateOfBirth?: Date;
|
|
7
|
+
lastName: string;
|
|
8
|
+
firstName: string;
|
|
9
|
+
guid?: string;
|
|
10
|
+
}
|
|
@@ -1,19 +1,19 @@
|
|
|
1
|
-
import { AgentDossierAllotment } from "./agent-dossier-allotment";
|
|
2
|
-
import { AgentDossierEntryLine } from "./agent-dossier-entry-line";
|
|
3
|
-
import { AgentDossierTraveler } from "./agent-dossier-traveler";
|
|
4
|
-
export interface AgentDossier {
|
|
5
|
-
|
|
6
|
-
|
|
7
|
-
|
|
8
|
-
|
|
9
|
-
|
|
10
|
-
|
|
11
|
-
|
|
12
|
-
|
|
13
|
-
|
|
14
|
-
|
|
15
|
-
|
|
16
|
-
|
|
17
|
-
|
|
18
|
-
|
|
19
|
-
}
|
|
1
|
+
import { AgentDossierAllotment } from "./agent-dossier-allotment";
|
|
2
|
+
import { AgentDossierEntryLine } from "./agent-dossier-entry-line";
|
|
3
|
+
import { AgentDossierTraveler } from "./agent-dossier-traveler";
|
|
4
|
+
export interface AgentDossier {
|
|
5
|
+
id: number;
|
|
6
|
+
dossierNumber: string;
|
|
7
|
+
entryStatus: number;
|
|
8
|
+
dateCreated: Date;
|
|
9
|
+
currencyCode: string;
|
|
10
|
+
sellingPrice: number;
|
|
11
|
+
optionDate: Date;
|
|
12
|
+
agencyContactPerson: string;
|
|
13
|
+
agentId: number;
|
|
14
|
+
paxMainBookerName: string;
|
|
15
|
+
productTagIds: number[];
|
|
16
|
+
agentAllotments: AgentDossierAllotment[];
|
|
17
|
+
agentEntryLines: AgentDossierEntryLine[];
|
|
18
|
+
agentTravelers: AgentDossierTraveler[];
|
|
19
|
+
}
|
|
@@ -1,17 +1,17 @@
|
|
|
1
|
-
export interface Airport {
|
|
2
|
-
iata: string;
|
|
3
|
-
name: string;
|
|
4
|
-
isDepartureLocation: boolean;
|
|
5
|
-
localizations: AirportLocalized[];
|
|
6
|
-
countryId?: number;
|
|
7
|
-
location: string;
|
|
8
|
-
locationLocalizations: LocationLocalized[];
|
|
9
|
-
}
|
|
10
|
-
export interface AirportLocalized {
|
|
11
|
-
languageCode: string;
|
|
12
|
-
name: string;
|
|
13
|
-
}
|
|
14
|
-
export interface LocationLocalized {
|
|
15
|
-
languageCode: string;
|
|
16
|
-
name: string;
|
|
17
|
-
}
|
|
1
|
+
export interface Airport {
|
|
2
|
+
iata: string;
|
|
3
|
+
name: string;
|
|
4
|
+
isDepartureLocation: boolean;
|
|
5
|
+
localizations: AirportLocalized[];
|
|
6
|
+
countryId?: number;
|
|
7
|
+
location: string;
|
|
8
|
+
locationLocalizations: LocationLocalized[];
|
|
9
|
+
}
|
|
10
|
+
export interface AirportLocalized {
|
|
11
|
+
languageCode: string;
|
|
12
|
+
name: string;
|
|
13
|
+
}
|
|
14
|
+
export interface LocationLocalized {
|
|
15
|
+
languageCode: string;
|
|
16
|
+
name: string;
|
|
17
|
+
}
|
|
@@ -1,11 +1,11 @@
|
|
|
1
|
-
export interface ContactFormRequest {
|
|
2
|
-
|
|
3
|
-
|
|
4
|
-
|
|
5
|
-
|
|
6
|
-
|
|
7
|
-
|
|
8
|
-
|
|
9
|
-
|
|
10
|
-
|
|
11
|
-
}
|
|
1
|
+
export interface ContactFormRequest {
|
|
2
|
+
salutation: string;
|
|
3
|
+
firstName: string;
|
|
4
|
+
lastName: string;
|
|
5
|
+
gender: number;
|
|
6
|
+
email: string;
|
|
7
|
+
phone: string;
|
|
8
|
+
internalEmailOverride: string;
|
|
9
|
+
subject: string;
|
|
10
|
+
message: string;
|
|
11
|
+
}
|
|
@@ -1,6 +1,6 @@
|
|
|
1
|
-
export interface GenerateBookingAccommodationRequest {
|
|
2
|
-
|
|
3
|
-
|
|
4
|
-
|
|
5
|
-
|
|
6
|
-
}
|
|
1
|
+
export interface GenerateBookingAccommodationRequest {
|
|
2
|
+
languageCode: string;
|
|
3
|
+
contentViewId: number;
|
|
4
|
+
productCode: string;
|
|
5
|
+
accommodationCodes: string[];
|
|
6
|
+
}
|
|
@@ -1,13 +1,13 @@
|
|
|
1
|
-
export * from "./affiliate";
|
|
2
|
-
export * from "./agent-allotment-item";
|
|
3
|
-
export * from "./agent-allotment";
|
|
4
|
-
export * from "./agent-dossier-allotment-item";
|
|
5
|
-
export * from "./agent-dossier-allotment";
|
|
6
|
-
export * from "./agent-dossier-entry-line";
|
|
7
|
-
export * from "./agent-dossier-flight-meta-data-line";
|
|
8
|
-
export * from "./agent-dossier-flight-meta-data";
|
|
9
|
-
export * from "./agent-dossier-item";
|
|
10
|
-
export * from "./agent-dossier-traveler";
|
|
11
|
-
export * from "./agent-dossier";
|
|
12
|
-
export * from "./contact-form-request";
|
|
13
|
-
export * from "./generate-booking-accommodation-request";
|
|
1
|
+
export * from "./affiliate";
|
|
2
|
+
export * from "./agent-allotment-item";
|
|
3
|
+
export * from "./agent-allotment";
|
|
4
|
+
export * from "./agent-dossier-allotment-item";
|
|
5
|
+
export * from "./agent-dossier-allotment";
|
|
6
|
+
export * from "./agent-dossier-entry-line";
|
|
7
|
+
export * from "./agent-dossier-flight-meta-data-line";
|
|
8
|
+
export * from "./agent-dossier-flight-meta-data";
|
|
9
|
+
export * from "./agent-dossier-item";
|
|
10
|
+
export * from "./agent-dossier-traveler";
|
|
11
|
+
export * from "./agent-dossier";
|
|
12
|
+
export * from "./contact-form-request";
|
|
13
|
+
export * from "./generate-booking-accommodation-request";
|
package/build/utils/api.d.ts
CHANGED
|
@@ -1,3 +1,23 @@
|
|
|
1
|
-
export declare const post: (
|
|
2
|
-
|
|
3
|
-
|
|
1
|
+
export declare const post: (
|
|
2
|
+
url: string,
|
|
3
|
+
apiKey: string,
|
|
4
|
+
body?: string | null | undefined,
|
|
5
|
+
token?: string | undefined,
|
|
6
|
+
signal?: AbortSignal | undefined,
|
|
7
|
+
languageCode?: string | undefined
|
|
8
|
+
) => Promise<Response>;
|
|
9
|
+
export declare const patch: (
|
|
10
|
+
url: string,
|
|
11
|
+
apiKey: string,
|
|
12
|
+
body?: string | null | undefined,
|
|
13
|
+
token?: string | undefined,
|
|
14
|
+
signal?: AbortSignal | undefined,
|
|
15
|
+
languageCode?: string | undefined
|
|
16
|
+
) => Promise<Response>;
|
|
17
|
+
export declare const get: (
|
|
18
|
+
url: string,
|
|
19
|
+
apiKey: string,
|
|
20
|
+
token?: string | undefined,
|
|
21
|
+
signal?: AbortSignal | undefined,
|
|
22
|
+
languageCode?: string | undefined
|
|
23
|
+
) => Promise<Response>;
|