@qite/tide-client 1.1.66 → 1.1.68
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.js +7 -0
- package/build/index.js.map +1 -1
- package/build/types/booking-v2/response/booking-package-flight-combination.d.ts +5 -0
- package/build/types/booking-v2/response/booking-package-flight-info.d.ts +7 -0
- package/build/types/booking-v2/response/booking-package-flight-route.d.ts +4 -0
- package/build/types/booking-v2/shared/booking-package.d.ts +2 -0
- package/build/types/web/airport.d.ts +10 -0
- package/build/types/web/index.d.ts +1 -0
- package/build/utils/search-client.d.ts +5 -1
- package/package.json +1 -1
- package/src/index.ts +0 -43
- package/src/services/odata.service.ts +0 -158
- package/src/types/booking-v2/index.ts +0 -3
- package/src/types/booking-v2/request/available-countries-request.ts +0 -4
- package/src/types/booking-v2/request/available-flights-request.ts +0 -8
- package/src/types/booking-v2/request/bookable-dates-request.ts +0 -4
- package/src/types/booking-v2/request/booking-package-address.ts +0 -14
- package/src/types/booking-v2/request/booking-package-book-request.ts +0 -26
- package/src/types/booking-v2/request/booking-package-customer-request.ts +0 -4
- package/src/types/booking-v2/request/booking-package-destination.ts +0 -9
- package/src/types/booking-v2/request/booking-package-details-request.ts +0 -30
- package/src/types/booking-v2/request/booking-package-flight-pool-request.ts +0 -13
- package/src/types/booking-v2/request/booking-package-request.ts +0 -5
- package/src/types/booking-v2/request/booking-package-search-request.ts +0 -32
- package/src/types/booking-v2/request/booking-package-update-request.ts +0 -5
- package/src/types/booking-v2/request/booking-package-voucher-request.ts +0 -4
- package/src/types/booking-v2/request/index.ts +0 -18
- package/src/types/booking-v2/request/prices-request.ts +0 -19
- package/src/types/booking-v2/request/selected-flight.ts +0 -10
- package/src/types/booking-v2/request/selected-hotel.ts +0 -5
- package/src/types/booking-v2/request/tour-codes.request.ts +0 -3
- package/src/types/booking-v2/request/transport-dates-request.ts +0 -14
- package/src/types/booking-v2/response/available-country.ts +0 -5
- package/src/types/booking-v2/response/available-flight.ts +0 -4
- package/src/types/booking-v2/response/base-price.ts +0 -7
- package/src/types/booking-v2/response/bookable-dates.ts +0 -4
- package/src/types/booking-v2/response/booking-package-allotment-info.ts +0 -17
- package/src/types/booking-v2/response/booking-package-dossier.ts +0 -6
- package/src/types/booking-v2/response/booking-package-flight-pool.ts +0 -6
- package/src/types/booking-v2/response/booking-package-hotel-pool.ts +0 -5
- package/src/types/booking-v2/response/booking-package-item.ts +0 -40
- package/src/types/booking-v2/response/booking-price-detail.ts +0 -20
- package/src/types/booking-v2/response/booking-price-details.ts +0 -15
- package/src/types/booking-v2/response/booking-price-per-pax.ts +0 -4
- package/src/types/booking-v2/response/booking-product-notification.ts +0 -7
- package/src/types/booking-v2/response/booking-room-status-option.ts +0 -5
- package/src/types/booking-v2/response/booking-room-status.ts +0 -6
- package/src/types/booking-v2/response/booking-travel-agent.ts +0 -7
- package/src/types/booking-v2/response/booking-validity-line.ts +0 -4
- package/src/types/booking-v2/response/booking-voucher-result.ts +0 -3
- package/src/types/booking-v2/response/changed-line.ts +0 -4
- package/src/types/booking-v2/response/index.ts +0 -22
- package/src/types/booking-v2/response/tide-response.ts +0 -6
- package/src/types/booking-v2/response/tour-codes-response.ts +0 -3
- package/src/types/booking-v2/response/transport-dates-response.ts +0 -4
- package/src/types/booking-v2/shared/airline-booking-package-option.ts +0 -3
- package/src/types/booking-v2/shared/airport-booking-package-option.ts +0 -3
- package/src/types/booking-v2/shared/booking-airline-group.ts +0 -7
- package/src/types/booking-v2/shared/booking-airport-group.ts +0 -7
- package/src/types/booking-v2/shared/booking-option-group.ts +0 -5
- package/src/types/booking-v2/shared/booking-option-pax.ts +0 -14
- package/src/types/booking-v2/shared/booking-option-unit.ts +0 -13
- package/src/types/booking-v2/shared/booking-package-availability.ts +0 -9
- package/src/types/booking-v2/shared/booking-package-flight-meta-data-line.ts +0 -18
- package/src/types/booking-v2/shared/booking-package-flight-meta-data.ts +0 -11
- package/src/types/booking-v2/shared/booking-package-flight.ts +0 -16
- package/src/types/booking-v2/shared/booking-package-hotel-option.ts +0 -10
- package/src/types/booking-v2/shared/booking-package-hotel-room.ts +0 -6
- package/src/types/booking-v2/shared/booking-package-hotel.ts +0 -27
- package/src/types/booking-v2/shared/booking-package-line.ts +0 -18
- package/src/types/booking-v2/shared/booking-package-option.ts +0 -55
- package/src/types/booking-v2/shared/booking-package-pax.ts +0 -19
- package/src/types/booking-v2/shared/booking-package-request-room.ts +0 -6
- package/src/types/booking-v2/shared/booking-package-room-option.ts +0 -22
- package/src/types/booking-v2/shared/booking-package-room.ts +0 -6
- package/src/types/booking-v2/shared/booking-package-tag.ts +0 -5
- package/src/types/booking-v2/shared/booking-package.ts +0 -13
- package/src/types/booking-v2/shared/index.ts +0 -27
- package/src/types/booking-v2/shared/per-booking-package-option.ts +0 -10
- package/src/types/booking-v2/shared/per-package-option.ts +0 -10
- package/src/types/booking-v2/shared/per-pax-package-option.ts +0 -6
- package/src/types/booking-v2/shared/per-unit-package-option.ts +0 -8
- package/src/types/booking-v2/shared/room-option-pax-type.ts +0 -4
- package/src/types/company/agent/agent-invoice-item.ts +0 -9
- package/src/types/company/agent/change-entry-agent-surcharge-action.model.ts +0 -5
- package/src/types/company/agent/entry-totals.ts +0 -7
- package/src/types/company/agent/index.ts +0 -3
- package/src/types/company/agent-print-action-request.ts +0 -11
- package/src/types/company/agent-print-action.ts +0 -7
- package/src/types/company/custom-entry-status-item.ts +0 -6
- package/src/types/company/index.ts +0 -5
- package/src/types/company/number-string-pair.ts +0 -4
- package/src/types/enums/allotment-type.ts +0 -5
- package/src/types/enums/availability-search-type.ts +0 -4
- package/src/types/enums/data-type.ts +0 -14
- package/src/types/enums/dossier-type.ts +0 -6
- package/src/types/enums/entry-line-flag.ts +0 -6
- package/src/types/enums/entry-line-status.ts +0 -19
- package/src/types/enums/entry-status.ts +0 -8
- package/src/types/enums/export-status.ts +0 -5
- package/src/types/enums/gender.ts +0 -5
- package/src/types/enums/index.ts +0 -17
- package/src/types/enums/meta-data-type.ts +0 -10
- package/src/types/enums/payment-type.ts +0 -6
- package/src/types/enums/price-chart-type.ts +0 -4
- package/src/types/enums/print-action-group.ts +0 -10
- package/src/types/enums/requirement-type.ts +0 -5
- package/src/types/enums/room-type.ts +0 -8
- package/src/types/enums/sale-type.ts +0 -4
- package/src/types/enums/service-type.ts +0 -33
- package/src/types/hubs/index.ts +0 -1
- package/src/types/hubs/search/flight-search-finish-response.ts +0 -4
- package/src/types/hubs/search/flight-search-request.ts +0 -26
- package/src/types/hubs/search/flight-search-response.ts +0 -42
- package/src/types/hubs/search/index.ts +0 -3
- package/src/types/index.ts +0 -10
- package/src/types/mollie/index.ts +0 -2
- package/src/types/mollie/mollie-payment-request.ts +0 -6
- package/src/types/mollie/mollie-payment.ts +0 -3
- package/src/types/odata/column.ts +0 -8
- package/src/types/odata/filter-item.ts +0 -14
- package/src/types/odata/index.ts +0 -4
- package/src/types/odata/odata-params.ts +0 -3
- package/src/types/odata/page-result.ts +0 -5
- package/src/types/offer/confirmed-dossier-check.ts +0 -6
- package/src/types/offer/country-item.ts +0 -5
- package/src/types/offer/crm-contact-request.ts +0 -37
- package/src/types/offer/customer-request.ts +0 -5
- package/src/types/offer/dossier-default-product.ts +0 -14
- package/src/types/offer/dossier-pax-item.Ts +0 -4
- package/src/types/offer/dossier-view-result.ts +0 -49
- package/src/types/offer/entry-check-response.ts +0 -5
- package/src/types/offer/entry-line-meta-data.ts +0 -5
- package/src/types/offer/entry-line-pax.ts +0 -9
- package/src/types/offer/entry-line.ts +0 -74
- package/src/types/offer/entry-price-line.ts +0 -40
- package/src/types/offer/entry-room2.ts +0 -5
- package/src/types/offer/entry.ts +0 -66
- package/src/types/offer/flight-meta-data-line.ts +0 -16
- package/src/types/offer/flight-meta-data.ts +0 -14
- package/src/types/offer/flight-pool.ts +0 -6
- package/src/types/offer/index.ts +0 -39
- package/src/types/offer/item-tag.ts +0 -3
- package/src/types/offer/language.ts +0 -5
- package/src/types/offer/member-confirmation-request.ts +0 -5
- package/src/types/offer/member-forgot-password-request.ts +0 -4
- package/src/types/offer/member-info.ts +0 -11
- package/src/types/offer/member-login-request.ts +0 -4
- package/src/types/offer/member-login-response.ts +0 -3
- package/src/types/offer/member-reset-password-request.ts +0 -4
- package/src/types/offer/note.ts +0 -16
- package/src/types/offer/pax.ts +0 -30
- package/src/types/offer/payment.ts +0 -20
- package/src/types/offer/person-country-preference.ts +0 -7
- package/src/types/offer/person-location-preference.ts +0 -7
- package/src/types/offer/person-oord-preference.ts +0 -7
- package/src/types/offer/person-period-date-range-preference.ts +0 -6
- package/src/types/offer/person-period-preference.ts +0 -7
- package/src/types/offer/person-region-preference.ts +0 -7
- package/src/types/offer/person-tour-group-preference.ts +0 -7
- package/src/types/offer/product-notification-result.ts +0 -9
- package/src/types/offer/web-contact-form-request.ts +0 -13
- package/src/types/offer/web-contact-has-tag-request.ts +0 -4
- package/src/types/shared/date-struct.ts +0 -5
- package/src/types/shared/index.ts +0 -1
- package/src/types/tide-client-config.ts +0 -5
- package/src/types/web/affiliate.ts +0 -5
- package/src/types/web/contact-form-request.ts +0 -11
- package/src/types/web/generate-booking-accommodation-request.ts +0 -6
- package/src/types/web/index.ts +0 -3
- package/src/utils/api.ts +0 -82
- package/src/utils/booking-v2-client.ts +0 -318
- package/src/utils/common-client.ts +0 -77
- package/src/utils/json.ts +0 -26
- package/src/utils/member-client.ts +0 -76
- package/src/utils/mollie-client.ts +0 -27
- package/src/utils/search-client.ts +0 -22
- package/src/utils/web-agent-client.ts +0 -176
- package/src/utils/web-client.ts +0 -96
- package/src/utils/web-contact-client.ts +0 -43
- package/src/utils/web-file.ts +0 -45
- package/tests/webClient.test.ts +0 -38
- package/tests/webContactClient.test.ts +0 -61
- package/tsconfig.json +0 -23
package/build/index.js
CHANGED
|
@@ -6371,6 +6371,7 @@ var getMolliePayment = function (config, request, signal) {
|
|
|
6371
6371
|
|
|
6372
6372
|
var ENDPOINT$4 = "/api/web/search";
|
|
6373
6373
|
var ENDPOINT_COUNTRIES = ENDPOINT$4 + "/countries";
|
|
6374
|
+
var ENDPOINT_AIRPORTS = ENDPOINT$4 + "/airports";
|
|
6374
6375
|
/**
|
|
6375
6376
|
* api/search/countries
|
|
6376
6377
|
* Gets all Countries
|
|
@@ -6383,6 +6384,11 @@ var getCountries = function (config, signal) {
|
|
|
6383
6384
|
var apiKey = config.apiKey;
|
|
6384
6385
|
return get(url, apiKey, config.token, signal, true);
|
|
6385
6386
|
};
|
|
6387
|
+
var getAirports = function (config, signal) {
|
|
6388
|
+
var url = "" + config.host + ENDPOINT_AIRPORTS;
|
|
6389
|
+
var apiKey = config.apiKey;
|
|
6390
|
+
return get(url, apiKey, config.token, signal, true);
|
|
6391
|
+
};
|
|
6386
6392
|
|
|
6387
6393
|
var createParams = function (filter, all, gridColumns, mode, forceToLower) {
|
|
6388
6394
|
var params = {};
|
|
@@ -6763,6 +6769,7 @@ exports.feedXmlFolder = feedXmlFolder;
|
|
|
6763
6769
|
exports.forgotPassword = forgotPassword;
|
|
6764
6770
|
exports.generateBookingAccommodations = generateBookingAccommodations;
|
|
6765
6771
|
exports.getAffiliates = getAffiliates;
|
|
6772
|
+
exports.getAirports = getAirports;
|
|
6766
6773
|
exports.getAllotmentAvailability = getAllotmentAvailability;
|
|
6767
6774
|
exports.getCountries = getCountries;
|
|
6768
6775
|
exports.getCustomEntryStatus = getCustomEntryStatus;
|