@v-office/website-sdk 2.11.0 → 2.12.0
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/README.md +6 -1
- package/dist/cli.d.mts +1 -1
- package/dist/cli.mjs +2 -2
- package/dist/{client-DYAHnU5F.mjs → client-Bmxh2SAu.mjs} +54 -30
- package/dist/index.d.mts +566 -288
- package/dist/index.mjs +1 -1
- package/dist/instructions/CHANGELOG.md +1 -0
- package/dist/instructions/MIGRATION.md +1 -0
- package/dist/instructions/README.md +6 -3
- package/dist/instructions/quote.md +95 -3
- package/dist/instructions/search.md +77 -12
- package/dist/instructions/versions/2.12.0/CHANGELOG.md +56 -0
- package/dist/instructions/versions/2.12.0/MIGRATION.md +194 -0
- package/dist/instructions/versions/2.5.0/MIGRATION.md +3 -0
- package/dist/{quote-Cs6jGoRS.mjs → quote-Qy_affum.mjs} +4 -4
- package/dist/{rentals-CFod9H4m.mjs → rentals-BG1diZoo.mjs} +7 -4
- package/dist/{search-QlZrI7ue.mjs → search-BlL8vSPY.mjs} +39 -19
- package/dist/{to-rental-highlights-B6a_fi0j.mjs → to-rental-highlights-BVikT4Iz.mjs} +4 -2
- package/instructions/CHANGELOG.md +1 -0
- package/instructions/MIGRATION.md +1 -0
- package/instructions/README.md +6 -3
- package/instructions/quote.md +95 -3
- package/instructions/search.md +77 -12
- package/instructions/versions/2.12.0/CHANGELOG.md +56 -0
- package/instructions/versions/2.12.0/MIGRATION.md +194 -0
- package/instructions/versions/2.5.0/MIGRATION.md +3 -0
- package/package.json +15 -13
package/dist/index.d.mts
CHANGED
|
@@ -1,7 +1,6 @@
|
|
|
1
1
|
import { AdditionalServiceLimitExceeded, AvailabilityGetInitialAvailabilityInput, AvailabilityGetInitialAvailabilityInput as AvailabilityGetInitialAvailabilityInput$1, AvailabilityGetInitialAvailabilityOutput, AvailabilityGetInitialAvailabilityOutput as AvailabilityGetInitialAvailabilityOutput$1, AvailabilityGetStartDateSelectedAvailabilityInput, AvailabilityGetStartDateSelectedAvailabilityInput as AvailabilityGetStartDateSelectedAvailabilityInput$1, AvailabilityGetStartDateSelectedAvailabilityOutput, AvailabilityGetStartDateSelectedAvailabilityOutput as AvailabilityGetStartDateSelectedAvailabilityOutput$1, AvailabilityService, BackendKind, BookingBookInput, BookingBookInput as BookingBookInput$1, BookingBookOutput, BookingBookOutput as BookingBookOutput$1, BookingPaymentOption, BookingService, ContactService, ContactSubmitInput, ContactSubmitInput as ContactSubmitInput$1, ContactSubmitOutput, ContactSubmitOutput as ContactSubmitOutput$1, ContactSubmitValidationIssue, ContactSubmitValidationIssueCode, CoreSDKError, CoreSDKError as CMSError, CoreSDKError as CoreSDKError$1, CustomAttributeCatalog, CustomAttributeCatalogDefinitionInput, CustomAttributeCatalogInput, CustomAttributeCatalogSchema, CustomAttributeCategoryKey, CustomAttributeFilterCategoryKey, CustomAttributeFilterDefinition, CustomAttributeFilterDefinition as CustomAttributeFilterDefinition$1, CustomAttributeFilterExpression, CustomAttributeFilterLabel, CustomAttributeFilterNumericBounds, CustomAttributeFilterOption, CustomAttributeOverridesInput, CustomAttributeRegistry, CustomAttributeRegistrySnapshot, CustomAttributeRegistrySnapshot as CustomAttributeRegistrySnapshot$1, CustomAttributeSelection, DocumentsGetTermsAndPrivacyPolicyInput, DocumentsGetTermsAndPrivacyPolicyInput as DocumentsGetTermsAndPrivacyPolicyInput$1, DocumentsGetTermsAndPrivacyPolicyOutput, DocumentsGetTermsAndPrivacyPolicyOutput as DocumentsGetTermsAndPrivacyPolicyOutput$1, DocumentsService, FilterGetFiltersInput, FilterGetFiltersInput as FilterGetFiltersInput$1, FilterGetFiltersOutput, FilterGetFiltersOutput as FilterGetFiltersOutput$1, FilterService, GuestQuote, GuestQuoteInput, GuestQuoteInsurance, GuestQuoteResult, GuestQuoteSchema, GuestQuoteSelectionResult, GuestQuoteVoucher, InsuranceBookingOutput, InsuranceCustomerInformationInput, InsurancePaymentInformationInput, InsurancePaymentOptionOutput, InsurancePreContractOutput, InvalidAdditionalServiceQuantity, Locale, LocaleSchema, QuoteAddAdditionalServiceInput, QuoteAddAdditionalServiceOutput, QuoteBookInsuranceInput, QuoteBookInsuranceOutput, QuoteClearAdditionalServicesInput, QuoteClearAdditionalServicesOutput, QuoteCreateInsurancePreContractInput, QuoteCreateInsurancePreContractOutput, QuoteQuoteInput, QuoteQuoteInput as QuoteQuoteInput$1, QuoteQuoteOutput, QuoteQuoteOutput as QuoteQuoteOutput$1, QuoteRemoveAdditionalServiceInput, QuoteRemoveAdditionalServiceOutput, QuoteSelectCancellationPolicyInput, QuoteSelectCancellationPolicyOutput, QuoteSelectInsuranceInput, QuoteSelectInsuranceOutput, QuoteSelectInsurancePaymentInput, QuoteSelectInsurancePaymentOutput, QuoteService as QuoteService$1, RentalGetRentalsInput, RentalGetRentalsInput as RentalGetRentalsInput$1, RentalGetRentalsOutput, RentalGetRentalsOutput as RentalGetRentalsOutput$1, RentalHighlightPrioritizationKey, RentalHighlightPrioritizationKey as RentalHighlightPrioritizationKey$1, RentalPropertyHighlightPrioritizationKey, RentalPropertyHighlightPrioritizationKey as RentalPropertyHighlightPrioritizationKey$1, RentalScope, RentalService, ResolvedCustomAttribute, SearchSearchFieldOrderBy, SearchSearchFieldOrderBySchema, SearchSearchFieldSort, SearchSearchFieldSort as SearchSearchFieldSort$1, SearchSearchFieldSortSchema, SearchSearchInput, SearchSearchInput as SearchSearchInput$1, SearchSearchInputSchema, SearchSearchOutput, SearchSearchOutput as SearchSearchOutput$1, SearchSearchOutputSchema, SearchSearchPriceSort, SearchSearchPriceSortSchema, SearchSearchRandomSort, SearchSearchRandomSortSchema, SearchSearchRatingSort, SearchSearchRatingSortSchema, SearchSearchSort, SearchSearchSort as SearchSearchSort$1, SearchSearchSortSchema, SearchService, SearchSortDirection, SearchSortDirectionSchema, SelectableInsuranceOptionOutput, SelectedInsuranceInformationInput, SubmittableBookingPaymentOption, SubmittableBookingPaymentOption as SubmittableBookingPaymentOption$1, TranslationOverrides, TranslationOverrides as TranslationOverrides$1, UnknownAdditionalService, V10CoreConfig, V9OnlyCustomAttributeInput, defineCustomAttributes, defineCustomAttributesFromUnknown, fetchCustomAttributeCatalog, parseCustomAttributeCatalog, validateContactSubmitInput } from "@v-office/sdk-core";
|
|
2
2
|
import { Context, Effect, Layer, Schema } from "effect";
|
|
3
3
|
import { HttpClient } from "effect/unstable/http";
|
|
4
|
-
|
|
5
4
|
//#region src/legacy-v9/config.d.ts
|
|
6
5
|
type WebsiteV9Config = {
|
|
7
6
|
readonly backend: "v9";
|
|
@@ -19,7 +18,8 @@ type WebsiteV10Config = V10CoreConfig & {
|
|
|
19
18
|
};
|
|
20
19
|
type WebsiteSDKConfig = WebsiteV10Config | WebsiteV9Config;
|
|
21
20
|
type WebsiteSDKOptions = {
|
|
22
|
-
readonly translationOverrides?: TranslationOverrides$1;
|
|
21
|
+
readonly translationOverrides?: TranslationOverrides$1;
|
|
22
|
+
/** The validated registry returned by `defineCustomAttributes`. */
|
|
23
23
|
readonly customAttributes?: CustomAttributeRegistrySnapshot$1;
|
|
24
24
|
readonly customAttributeFilterDefinitions?: readonly CustomAttributeFilterDefinition$1[];
|
|
25
25
|
/**
|
|
@@ -115,24 +115,15 @@ type WebsiteSDKV10 = WebsiteSDKBase<WebsiteSDKV10Static, WebsiteSDKV10Live> & {
|
|
|
115
115
|
readonly backend: "v10";
|
|
116
116
|
};
|
|
117
117
|
type WebsiteSDK = WebsiteSDKV9 | WebsiteSDKV10;
|
|
118
|
-
declare function createWebsiteSDK({
|
|
119
|
-
config,
|
|
120
|
-
options
|
|
121
|
-
}: {
|
|
118
|
+
declare function createWebsiteSDK({ config, options }: {
|
|
122
119
|
readonly config: WebsiteV9Config;
|
|
123
120
|
readonly options?: WebsiteSDKOptions;
|
|
124
121
|
}): WebsiteSDKV9;
|
|
125
|
-
declare function createWebsiteSDK({
|
|
126
|
-
config,
|
|
127
|
-
options
|
|
128
|
-
}: {
|
|
122
|
+
declare function createWebsiteSDK({ config, options }: {
|
|
129
123
|
readonly config: WebsiteV10Config;
|
|
130
124
|
readonly options?: WebsiteSDKOptions;
|
|
131
125
|
}): WebsiteSDKV10;
|
|
132
|
-
declare function createWebsiteSDK({
|
|
133
|
-
config,
|
|
134
|
-
options
|
|
135
|
-
}: {
|
|
126
|
+
declare function createWebsiteSDK({ config, options }: {
|
|
136
127
|
readonly config: WebsiteSDKConfig;
|
|
137
128
|
readonly options?: WebsiteSDKOptions;
|
|
138
129
|
}): WebsiteSDK;
|
|
@@ -583,8 +574,10 @@ declare const submitContactEffect: (input: ContactSubmitInput$1) => Effect.Effec
|
|
|
583
574
|
//#region codegen/v9/v0/generated/openapi-types.d.ts
|
|
584
575
|
interface components$1 {
|
|
585
576
|
schemas: {
|
|
586
|
-
/** @enum {string} */
|
|
587
|
-
|
|
577
|
+
/** @enum {string} */
|
|
578
|
+
ActionName: "getUnits" | "getAvailabilities" | "getServices" | "getRegions" | "getMessages" | "getProperties" | "saveMessage" | "searchUnits" | "getUnit" | "getCal" | "quotePrices" | "searchPhoneNumber" | "checkCoupon" | "validateVoucher" | "book" | "getUpdatedBookings" | "getUpdatedBooking" | "getBooking" | "updateBooking" | "getDoc" | "checkoutPayment" | "subscribe" | "onLocationLogin" | "reservationData" | "allReservations" | "reservationContent" | "getFeedbackForm" | "submitFeedbackForm" | "saveCustomer" | "checkIn" | "checkOut" | "setReservationStatus" | "setArrivalTime" | "setDepartureTime" | "getDocument" | "getPaymentMethods" | "initStripePayment" | "submitCoupon" | "getTravelInsurancePlans" | "bookTravelInsurancePlan" | "cancelTravelInsurance";
|
|
579
|
+
VofficeProxyResponse: components$1["schemas"]["UnitExportResponse"] | components$1["schemas"]["AvailabilityExportResponse"] | components$1["schemas"]["ServicesResponse"] | components$1["schemas"]["RegionsResponse"] | components$1["schemas"]["SearchUnitsResponse"] | components$1["schemas"]["CalendarResponse"] | components$1["schemas"]["QuotePricesResponse"] | components$1["schemas"]["CouponResponse"] | components$1["schemas"]["BookResponse"] | components$1["schemas"]["UpdatedBookingsResponse"] | components$1["schemas"]["GuestAppReservationDataResponse"] | components$1["schemas"]["TravelInsurancePlansResponse"] | components$1["schemas"]["BookTravelInsurancePlanResponse"] | components$1["schemas"]["SaveMessageResponse"] | components$1["schemas"]["GenericVofficeResponse"];
|
|
580
|
+
/** @description Flexible fallback for upstream vOffice actions and fields not fully documented here. */
|
|
588
581
|
GenericVofficeResponse: {
|
|
589
582
|
ok?: boolean;
|
|
590
583
|
trackingId?: string;
|
|
@@ -608,7 +601,9 @@ interface components$1 {
|
|
|
608
601
|
[key: string]: string;
|
|
609
602
|
};
|
|
610
603
|
GeoPoint: {
|
|
611
|
-
/** @constant */
|
|
604
|
+
/** @constant */
|
|
605
|
+
type: "Point";
|
|
606
|
+
/** @description Longitude, latitude. */
|
|
612
607
|
coordinates: number[];
|
|
613
608
|
} & {
|
|
614
609
|
[key: string]: unknown;
|
|
@@ -616,20 +611,24 @@ interface components$1 {
|
|
|
616
611
|
UnitImage: {
|
|
617
612
|
id?: number;
|
|
618
613
|
width?: number;
|
|
619
|
-
height?: number;
|
|
614
|
+
height?: number;
|
|
615
|
+
/** @description Comma-separated image category tags. */
|
|
620
616
|
tag?: string;
|
|
621
617
|
titles?: components$1["schemas"]["LanguageMap"];
|
|
622
618
|
} & {
|
|
623
619
|
[key: string]: unknown;
|
|
624
620
|
};
|
|
625
621
|
RoomDetail: {
|
|
626
|
-
/** @enum {string} */
|
|
622
|
+
/** @enum {string} */
|
|
623
|
+
type?: "BEDROOM" | "LIVINGROOM" | "GALLERY" | "OTHER";
|
|
627
624
|
hasPrivateBathroom?: boolean;
|
|
628
625
|
roomDarkeningOption?: boolean;
|
|
629
626
|
wardrobe?: boolean;
|
|
630
627
|
maxGuests?: number;
|
|
631
628
|
beds?: ({
|
|
632
|
-
/** @enum {string} */
|
|
629
|
+
/** @enum {string} */
|
|
630
|
+
kind?: "SINGLE" | "SMALLDOUBLE" | "DOUBLE" | "KINGSIZE" | "BUNK" | "BUNK4THREE";
|
|
631
|
+
/** @enum {string} */
|
|
633
632
|
type?: "ORDINARY" | "BOXSPRING" | "SOFA" | "LOFT" | "FOLDAWAY_CLOSET" | "FOLDAWAY" | "WATER" | "FUTON" | "HAMMOCK" | "FLOOR_MATTRESS" | "AIR_MATTRESS";
|
|
634
633
|
raisedBeds?: boolean;
|
|
635
634
|
openFootsection?: boolean;
|
|
@@ -664,8 +663,10 @@ interface components$1 {
|
|
|
664
663
|
};
|
|
665
664
|
CancellationPolicy: {
|
|
666
665
|
gracePeriod?: number;
|
|
667
|
-
gracePeriodArrivalInMaxDays?: number;
|
|
668
|
-
|
|
666
|
+
gracePeriodArrivalInMaxDays?: number;
|
|
667
|
+
/** @description Percentage value multiplied by 100. */
|
|
668
|
+
defaultPenalty?: number;
|
|
669
|
+
/** @description Flat fee in cents. */
|
|
669
670
|
cancellationFlatFee?: number;
|
|
670
671
|
byDaysTillArrival?: ({
|
|
671
672
|
daysBeforeArrival?: number;
|
|
@@ -677,14 +678,17 @@ interface components$1 {
|
|
|
677
678
|
[key: string]: unknown;
|
|
678
679
|
};
|
|
679
680
|
UnitPrice: {
|
|
680
|
-
service?: number;
|
|
681
|
+
service?: number;
|
|
682
|
+
/** @description Price in cents. */
|
|
681
683
|
value?: number;
|
|
682
684
|
ask?: number;
|
|
683
685
|
sourceId?: number;
|
|
684
686
|
calculation?: components$1["schemas"]["ServiceCalculation"];
|
|
685
687
|
type?: components$1["schemas"]["ServiceType"];
|
|
686
|
-
season?: string | components$1["schemas"]["LanguageMap"];
|
|
687
|
-
|
|
688
|
+
season?: string | components$1["schemas"]["LanguageMap"];
|
|
689
|
+
/** Format: date */
|
|
690
|
+
fromdate?: string;
|
|
691
|
+
/** Format: date */
|
|
688
692
|
tilldate?: string;
|
|
689
693
|
guestRange?: components$1["schemas"]["NumericRange"];
|
|
690
694
|
nightRange?: components$1["schemas"]["NumericRange"];
|
|
@@ -700,12 +704,16 @@ interface components$1 {
|
|
|
700
704
|
};
|
|
701
705
|
Offer: {
|
|
702
706
|
id?: number;
|
|
703
|
-
name?: components$1["schemas"]["LanguageMap"];
|
|
704
|
-
|
|
707
|
+
name?: components$1["schemas"]["LanguageMap"];
|
|
708
|
+
/** Format: date */
|
|
709
|
+
validfrom?: string;
|
|
710
|
+
/** Format: date */
|
|
705
711
|
validtill?: string;
|
|
706
|
-
minStay?: number;
|
|
712
|
+
minStay?: number;
|
|
713
|
+
/** @enum {string} */
|
|
707
714
|
type?: "EARLYBIRD" | "LASTMINUTE" | "UNITOFDAY";
|
|
708
|
-
timeSpan?: number;
|
|
715
|
+
timeSpan?: number;
|
|
716
|
+
/** @enum {string} */
|
|
709
717
|
discountType?: "XY" | "PERCENT" | "FLAT";
|
|
710
718
|
value?: number;
|
|
711
719
|
services?: number[];
|
|
@@ -731,8 +739,11 @@ interface components$1 {
|
|
|
731
739
|
[key: string]: unknown;
|
|
732
740
|
};
|
|
733
741
|
Feedback: {
|
|
734
|
-
/** Format: date-time */
|
|
735
|
-
|
|
742
|
+
/** Format: date-time */
|
|
743
|
+
arrival?: string;
|
|
744
|
+
/** Format: date-time */
|
|
745
|
+
departure?: string;
|
|
746
|
+
/** Format: date-time */
|
|
736
747
|
onDate?: string;
|
|
737
748
|
forename?: string;
|
|
738
749
|
surname?: string;
|
|
@@ -751,10 +762,13 @@ interface components$1 {
|
|
|
751
762
|
UnitInfo: {
|
|
752
763
|
facility?: number;
|
|
753
764
|
isfacility?: boolean;
|
|
754
|
-
code?: string;
|
|
765
|
+
code?: string;
|
|
766
|
+
/** @enum {string} */
|
|
755
767
|
type?: "HOUSE" | "FLAT" | "ROOM" | "PRIVAT" | "MOBILEHOME" | "YACHT" | "HOUSE_FAC" | "FLAT_FAC" | "HOTEL" | "HOSTEL" | "FARM" | "CAMPGROUND";
|
|
756
|
-
deposit?: number;
|
|
757
|
-
|
|
768
|
+
deposit?: number;
|
|
769
|
+
/** @enum {string} */
|
|
770
|
+
depositLocation?: "WITH_PREPAYMENT" | "WITH_FINALPAYMENT" | "ON_ARRIVAL" | "ON_SITE";
|
|
771
|
+
/** @enum {string} */
|
|
758
772
|
bookable?: "DIRECTLY" | "REVERSED" | "REVERSED_OPT" | "INQUIRY_CAL" | "INQUIRY_NO_CAL";
|
|
759
773
|
bookingLeadTime?: number;
|
|
760
774
|
region?: number | {
|
|
@@ -766,7 +780,8 @@ interface components$1 {
|
|
|
766
780
|
name?: components$1["schemas"]["LanguageMap"];
|
|
767
781
|
facilityName?: components$1["schemas"]["LanguageMap"];
|
|
768
782
|
address?: components$1["schemas"]["UnitAddress"];
|
|
769
|
-
url?: components$1["schemas"]["LanguageMap"];
|
|
783
|
+
url?: components$1["schemas"]["LanguageMap"];
|
|
784
|
+
/** @enum {string} */
|
|
770
785
|
picsOrder?: "FAC_PICS_FIRST" | "FAC_PICS_LAST" | "NO_FAC_PICS";
|
|
771
786
|
images?: components$1["schemas"]["UnitImage"][];
|
|
772
787
|
roomDetails?: components$1["schemas"]["RoomDetail"][];
|
|
@@ -780,14 +795,16 @@ interface components$1 {
|
|
|
780
795
|
};
|
|
781
796
|
UnitExportItem: {
|
|
782
797
|
_id?: number;
|
|
783
|
-
info?: components$1["schemas"]["UnitInfo"];
|
|
798
|
+
info?: components$1["schemas"]["UnitInfo"];
|
|
799
|
+
/** @description vOffice internal customer/member ID. */
|
|
784
800
|
member?: number;
|
|
785
801
|
prices?: components$1["schemas"]["UnitPrice"][];
|
|
786
802
|
offers?: components$1["schemas"]["Offer"][];
|
|
787
803
|
restrictions?: components$1["schemas"]["Restriction"][];
|
|
788
804
|
feedbacks?: components$1["schemas"]["Feedback"][];
|
|
789
805
|
ratings?: components$1["schemas"]["Rating"];
|
|
790
|
-
groups?: number[];
|
|
806
|
+
groups?: number[];
|
|
807
|
+
/** @description ISO 4217 currency code. */
|
|
791
808
|
currency?: string;
|
|
792
809
|
} & {
|
|
793
810
|
[key: string]: unknown;
|
|
@@ -804,7 +821,8 @@ interface components$1 {
|
|
|
804
821
|
_id?: number;
|
|
805
822
|
availability?: ("N" | "Y" | "Q")[];
|
|
806
823
|
changeOver?: ("X" | "C" | "O" | "I")[];
|
|
807
|
-
minStay?: number[];
|
|
824
|
+
minStay?: number[];
|
|
825
|
+
/** Format: date-time */
|
|
808
826
|
availabilityUpdate?: string;
|
|
809
827
|
facilityid?: number;
|
|
810
828
|
} & {
|
|
@@ -816,18 +834,22 @@ interface components$1 {
|
|
|
816
834
|
ok?: boolean;
|
|
817
835
|
} & {
|
|
818
836
|
[key: string]: unknown;
|
|
819
|
-
};
|
|
820
|
-
|
|
837
|
+
};
|
|
838
|
+
/** @enum {string} */
|
|
839
|
+
ServiceCalculation: "FLAT" | "NIGHT" | "DAY" | "WEEK" | "MONTH" | "PERC" | "USAGE";
|
|
840
|
+
/** @enum {string} */
|
|
821
841
|
ServiceType: "RENT" | "FINALCLEANING" | "LINEN" | "HANDTOWELS" | "PET" | "CRIB" | "HIGHCHAIR" | "BABYBED" | "TRANSFER" | "VTAX" | "CITYTAX" | "HEATING" | "GAS" | "WATER" | "ELECTRICITY" | "INSURANCE" | "CANCELLATION" | "COMMISSION" | "COMM_THIRD" | "AGIO" | "BOOKING_FEE" | "DISCOUNT" | "INTERNET" | "PARKING";
|
|
822
842
|
Service: {
|
|
823
843
|
_id?: number;
|
|
824
844
|
id?: number;
|
|
825
|
-
name?: string | components$1["schemas"]["LanguageMap"];
|
|
845
|
+
name?: string | components$1["schemas"]["LanguageMap"];
|
|
846
|
+
/** @enum {string} */
|
|
826
847
|
summary?: "ADD_NO_SHOW" | "SHOW" | "EXCLUDE";
|
|
827
848
|
calculation?: components$1["schemas"]["ServiceCalculation"];
|
|
828
849
|
constrain?: boolean;
|
|
829
850
|
mandatory?: boolean;
|
|
830
|
-
type?: components$1["schemas"]["ServiceType"];
|
|
851
|
+
type?: components$1["schemas"]["ServiceType"];
|
|
852
|
+
/** @enum {string} */
|
|
831
853
|
charge?: "CUSTOMER" | "OWNER" | "AGENCY";
|
|
832
854
|
ask?: number;
|
|
833
855
|
provider?: string;
|
|
@@ -852,7 +874,8 @@ interface components$1 {
|
|
|
852
874
|
name?: components$1["schemas"]["LanguageMap"];
|
|
853
875
|
description?: components$1["schemas"]["LanguageMap"];
|
|
854
876
|
descriptions?: components$1["schemas"]["LanguageMap"];
|
|
855
|
-
path?: components$1["schemas"]["LanguageMap"];
|
|
877
|
+
path?: components$1["schemas"]["LanguageMap"];
|
|
878
|
+
/** @enum {string} */
|
|
856
879
|
leveltype?: "COUNTRY" | "REGION" | "AREA" | "CITY" | "DISTRICT";
|
|
857
880
|
parent?: number;
|
|
858
881
|
} & {
|
|
@@ -865,11 +888,14 @@ interface components$1 {
|
|
|
865
888
|
[key: string]: unknown;
|
|
866
889
|
};
|
|
867
890
|
SearchUnitsData: {
|
|
868
|
-
/** @description Requested fields such as `u.name`, `u.path`, `u.calc.total`, or any unit property. */
|
|
891
|
+
/** @description Requested fields such as `u.name`, `u.path`, `u.calc.total`, or any unit property. */
|
|
892
|
+
fields: {
|
|
869
893
|
[key: string]: components$1["schemas"]["ProjectionOptions"];
|
|
870
894
|
};
|
|
871
895
|
filter: {
|
|
872
|
-
/** Format: date */
|
|
896
|
+
/** Format: date */
|
|
897
|
+
from?: string;
|
|
898
|
+
/** Format: date */
|
|
873
899
|
till?: string;
|
|
874
900
|
region?: string;
|
|
875
901
|
regionid?: number;
|
|
@@ -893,7 +919,8 @@ interface components$1 {
|
|
|
893
919
|
} & {
|
|
894
920
|
[key: string]: unknown;
|
|
895
921
|
};
|
|
896
|
-
warnings?: boolean;
|
|
922
|
+
warnings?: boolean;
|
|
923
|
+
/** @description Unit property or one of `price`, `random`, `rating`, `stars`. */
|
|
897
924
|
sorting?: string;
|
|
898
925
|
ids?: number[];
|
|
899
926
|
max?: number;
|
|
@@ -905,7 +932,8 @@ interface components$1 {
|
|
|
905
932
|
[key: string]: unknown;
|
|
906
933
|
};
|
|
907
934
|
ProjectionOptions: {
|
|
908
|
-
/** @enum {string} */
|
|
935
|
+
/** @enum {string} */
|
|
936
|
+
filter?: "vcurrency" | "vsoption" | "vlang" | "vautolang";
|
|
909
937
|
} & {
|
|
910
938
|
[key: string]: unknown;
|
|
911
939
|
};
|
|
@@ -945,7 +973,8 @@ interface components$1 {
|
|
|
945
973
|
};
|
|
946
974
|
CalendarResponse: {
|
|
947
975
|
availability?: ("N" | "Y" | "Q")[];
|
|
948
|
-
changeOver?: ("X" | "C" | "O" | "I")[];
|
|
976
|
+
changeOver?: ("X" | "C" | "O" | "I")[];
|
|
977
|
+
/** Format: date-time */
|
|
949
978
|
availabilityUpdate?: string;
|
|
950
979
|
minStay?: number[];
|
|
951
980
|
ok?: boolean;
|
|
@@ -953,11 +982,16 @@ interface components$1 {
|
|
|
953
982
|
[key: string]: unknown;
|
|
954
983
|
};
|
|
955
984
|
QuotePricesData: {
|
|
956
|
-
unit: number;
|
|
957
|
-
|
|
958
|
-
|
|
959
|
-
|
|
960
|
-
|
|
985
|
+
unit: number;
|
|
986
|
+
/** Format: date */
|
|
987
|
+
fromdate: string;
|
|
988
|
+
/** Format: date */
|
|
989
|
+
tilldate: string;
|
|
990
|
+
/** @default 1 */
|
|
991
|
+
adults: number;
|
|
992
|
+
/** @default 0 */
|
|
993
|
+
children: number;
|
|
994
|
+
/** @default 0 */
|
|
961
995
|
babys: number;
|
|
962
996
|
childrenAges?: string;
|
|
963
997
|
includeServiceLimits?: boolean;
|
|
@@ -968,14 +1002,18 @@ interface components$1 {
|
|
|
968
1002
|
[key: string]: unknown;
|
|
969
1003
|
};
|
|
970
1004
|
QuoteLine: {
|
|
971
|
-
service?: components$1["schemas"]["Service"];
|
|
1005
|
+
service?: components$1["schemas"]["Service"];
|
|
1006
|
+
/** @description Price in cents. */
|
|
972
1007
|
price?: number;
|
|
973
1008
|
calculation?: components$1["schemas"]["ServiceCalculation"];
|
|
974
1009
|
charge?: string;
|
|
975
|
-
season?: string | components$1["schemas"]["LanguageMap"];
|
|
976
|
-
|
|
1010
|
+
season?: string | components$1["schemas"]["LanguageMap"];
|
|
1011
|
+
/** Format: date */
|
|
1012
|
+
fromdate?: string;
|
|
1013
|
+
/** Format: date */
|
|
977
1014
|
tilldate?: string;
|
|
978
|
-
timespan?: number;
|
|
1015
|
+
timespan?: number;
|
|
1016
|
+
/** @description Total in cents. */
|
|
979
1017
|
total?: number;
|
|
980
1018
|
timeLabel?: string;
|
|
981
1019
|
discountName?: string;
|
|
@@ -997,7 +1035,8 @@ interface components$1 {
|
|
|
997
1035
|
};
|
|
998
1036
|
PaymentSchedule: {
|
|
999
1037
|
[key: string]: {
|
|
1000
|
-
/** Format: date */
|
|
1038
|
+
/** Format: date */
|
|
1039
|
+
date?: string;
|
|
1001
1040
|
amount?: number;
|
|
1002
1041
|
percent?: number;
|
|
1003
1042
|
includesDeposit?: boolean | number;
|
|
@@ -1006,7 +1045,8 @@ interface components$1 {
|
|
|
1006
1045
|
};
|
|
1007
1046
|
};
|
|
1008
1047
|
Deposit: {
|
|
1009
|
-
amount?: number;
|
|
1048
|
+
amount?: number;
|
|
1049
|
+
/** @enum {string} */
|
|
1010
1050
|
location?: "WITH_PREPAYMENT" | "WITH_FINALPAYMENT" | "ON_ARRIVAL" | "ON_SITE";
|
|
1011
1051
|
} & {
|
|
1012
1052
|
[key: string]: unknown;
|
|
@@ -1035,7 +1075,8 @@ interface components$1 {
|
|
|
1035
1075
|
[key: string]: unknown;
|
|
1036
1076
|
};
|
|
1037
1077
|
SearchPhoneNumberData: {
|
|
1038
|
-
/** @description E.164 phone number. */
|
|
1078
|
+
/** @description E.164 phone number. */
|
|
1079
|
+
nr: string;
|
|
1039
1080
|
};
|
|
1040
1081
|
CheckCouponData: {
|
|
1041
1082
|
code: string;
|
|
@@ -1055,7 +1096,8 @@ interface components$1 {
|
|
|
1055
1096
|
forename?: string;
|
|
1056
1097
|
surname?: string;
|
|
1057
1098
|
company?: string;
|
|
1058
|
-
mainAddress?: components$1["schemas"]["UnitAddress"];
|
|
1099
|
+
mainAddress?: components$1["schemas"]["UnitAddress"];
|
|
1100
|
+
/** Format: email */
|
|
1059
1101
|
email?: string;
|
|
1060
1102
|
phone?: string;
|
|
1061
1103
|
telcom?: string;
|
|
@@ -1077,8 +1119,10 @@ interface components$1 {
|
|
|
1077
1119
|
price?: number;
|
|
1078
1120
|
discountName?: string;
|
|
1079
1121
|
description?: string;
|
|
1080
|
-
season?: string;
|
|
1081
|
-
|
|
1122
|
+
season?: string;
|
|
1123
|
+
/** Format: date */
|
|
1124
|
+
fromdate?: string;
|
|
1125
|
+
/** Format: date */
|
|
1082
1126
|
tilldate?: string;
|
|
1083
1127
|
specialOffer?: number;
|
|
1084
1128
|
timespan?: number;
|
|
@@ -1091,8 +1135,10 @@ interface components$1 {
|
|
|
1091
1135
|
unit: number;
|
|
1092
1136
|
adults?: number;
|
|
1093
1137
|
children?: number;
|
|
1094
|
-
babys?: number;
|
|
1095
|
-
|
|
1138
|
+
babys?: number;
|
|
1139
|
+
/** Format: date */
|
|
1140
|
+
fromdate: string;
|
|
1141
|
+
/** Format: date */
|
|
1096
1142
|
tilldate: string;
|
|
1097
1143
|
servicelines?: components$1["schemas"]["BookingServiceLine"][];
|
|
1098
1144
|
childrenAges?: string;
|
|
@@ -1105,7 +1151,8 @@ interface components$1 {
|
|
|
1105
1151
|
} & {
|
|
1106
1152
|
[key: string]: unknown;
|
|
1107
1153
|
};
|
|
1108
|
-
bookings: components$1["schemas"]["BookingInput"][];
|
|
1154
|
+
bookings: components$1["schemas"]["BookingInput"][];
|
|
1155
|
+
/** @enum {string} */
|
|
1109
1156
|
action: "offer" | "option" | "booking";
|
|
1110
1157
|
commission?: number;
|
|
1111
1158
|
extraCommission?: {
|
|
@@ -1123,7 +1170,8 @@ interface components$1 {
|
|
|
1123
1170
|
};
|
|
1124
1171
|
PaymentMethods: {
|
|
1125
1172
|
[key: string]: {
|
|
1126
|
-
id?: number;
|
|
1173
|
+
id?: number;
|
|
1174
|
+
/** @enum {string} */
|
|
1127
1175
|
type?: "PAYPAL" | "STRIPE" | "BANKACCOUNT";
|
|
1128
1176
|
paymentTest?: boolean;
|
|
1129
1177
|
paymenturl?: string;
|
|
@@ -1168,8 +1216,10 @@ interface components$1 {
|
|
|
1168
1216
|
[key: string]: unknown;
|
|
1169
1217
|
};
|
|
1170
1218
|
UpdatedBooking: {
|
|
1171
|
-
id?: number;
|
|
1172
|
-
|
|
1219
|
+
id?: number;
|
|
1220
|
+
/** Format: date */
|
|
1221
|
+
fromdate?: string;
|
|
1222
|
+
/** Format: date */
|
|
1173
1223
|
tilldate?: string;
|
|
1174
1224
|
status?: string;
|
|
1175
1225
|
lines?: components$1["schemas"]["QuoteLine"][];
|
|
@@ -1212,16 +1262,22 @@ interface components$1 {
|
|
|
1212
1262
|
[key: string]: unknown;
|
|
1213
1263
|
};
|
|
1214
1264
|
GetDocData: {
|
|
1215
|
-
lang: string;
|
|
1265
|
+
lang: string;
|
|
1266
|
+
/** @enum {string} */
|
|
1216
1267
|
type: "gtc";
|
|
1217
1268
|
};
|
|
1218
1269
|
CheckoutPaymentData: {
|
|
1219
|
-
/** @description Reservation ID. */
|
|
1220
|
-
|
|
1270
|
+
/** @description Reservation ID. */
|
|
1271
|
+
id: number;
|
|
1272
|
+
nr: string;
|
|
1273
|
+
/** @description Amount in cents. */
|
|
1221
1274
|
amount: number;
|
|
1222
|
-
paymentMethodId: number;
|
|
1223
|
-
|
|
1224
|
-
|
|
1275
|
+
paymentMethodId: number;
|
|
1276
|
+
/** Format: uri */
|
|
1277
|
+
rootUrl: string;
|
|
1278
|
+
/** Format: uri */
|
|
1279
|
+
successUrlBase?: string;
|
|
1280
|
+
/** Format: uri */
|
|
1225
1281
|
cancelUrlBase?: string;
|
|
1226
1282
|
} & {
|
|
1227
1283
|
[key: string]: unknown;
|
|
@@ -1236,26 +1292,34 @@ interface components$1 {
|
|
|
1236
1292
|
[key: string]: unknown;
|
|
1237
1293
|
};
|
|
1238
1294
|
form: {
|
|
1239
|
-
/** Format: email */
|
|
1295
|
+
/** Format: email */
|
|
1296
|
+
email: string;
|
|
1240
1297
|
} & {
|
|
1241
1298
|
[key: string]: unknown;
|
|
1242
1299
|
};
|
|
1243
1300
|
} & {
|
|
1244
1301
|
[key: string]: unknown;
|
|
1245
|
-
};
|
|
1246
|
-
|
|
1302
|
+
};
|
|
1303
|
+
/** @description A submitted contact-form value. */
|
|
1304
|
+
MessageFormValue: string | number | boolean | null;
|
|
1305
|
+
/** @description Contact-form message payload passed as JSON in the v0 `data` query parameter. */
|
|
1247
1306
|
SaveMessageData: {
|
|
1248
|
-
/** @description Message subject used by vOffice for the saved inquiry. */
|
|
1307
|
+
/** @description Message subject used by vOffice for the saved inquiry. */
|
|
1308
|
+
subject: string;
|
|
1309
|
+
/** @description Submitted form values keyed by technical field name. */
|
|
1249
1310
|
form: {
|
|
1250
1311
|
[key: string]: components$1["schemas"]["MessageFormValue"];
|
|
1251
|
-
};
|
|
1312
|
+
};
|
|
1313
|
+
/** @description Human-readable labels keyed by technical field name. */
|
|
1252
1314
|
labels: {
|
|
1253
1315
|
[key: string]: string;
|
|
1254
|
-
};
|
|
1316
|
+
};
|
|
1317
|
+
/** @description Field order used when rendering or storing the message. */
|
|
1255
1318
|
order: string[];
|
|
1256
1319
|
} & {
|
|
1257
1320
|
[key: string]: unknown;
|
|
1258
|
-
};
|
|
1321
|
+
};
|
|
1322
|
+
/** @description Response returned by `actionName=saveMessage`. */
|
|
1259
1323
|
SaveMessageResponse: {
|
|
1260
1324
|
trackingId?: string;
|
|
1261
1325
|
ok?: boolean;
|
|
@@ -1280,7 +1344,8 @@ interface components$1 {
|
|
|
1280
1344
|
bookingId: number;
|
|
1281
1345
|
formData: ({
|
|
1282
1346
|
id?: number;
|
|
1283
|
-
name?: string;
|
|
1347
|
+
name?: string;
|
|
1348
|
+
/** @enum {string} */
|
|
1284
1349
|
type?: "STARS" | "TEXT";
|
|
1285
1350
|
value?: number | string;
|
|
1286
1351
|
} & {
|
|
@@ -1300,7 +1365,8 @@ interface components$1 {
|
|
|
1300
1365
|
housenumber?: string;
|
|
1301
1366
|
city?: string;
|
|
1302
1367
|
postalcode?: string;
|
|
1303
|
-
country?: string;
|
|
1368
|
+
country?: string;
|
|
1369
|
+
/** Format: email */
|
|
1304
1370
|
email?: string;
|
|
1305
1371
|
mobile?: string;
|
|
1306
1372
|
} & {
|
|
@@ -1310,7 +1376,8 @@ interface components$1 {
|
|
|
1310
1376
|
[key: string]: unknown;
|
|
1311
1377
|
};
|
|
1312
1378
|
SetReservationStatusData: {
|
|
1313
|
-
/** @enum {string} */
|
|
1379
|
+
/** @enum {string} */
|
|
1380
|
+
status: "CONFIRMED";
|
|
1314
1381
|
bookingId: number;
|
|
1315
1382
|
};
|
|
1316
1383
|
SetArrivalTimeData: {
|
|
@@ -1322,7 +1389,8 @@ interface components$1 {
|
|
|
1322
1389
|
bookingId: number;
|
|
1323
1390
|
};
|
|
1324
1391
|
GetDocumentData: {
|
|
1325
|
-
/** @enum {string} */
|
|
1392
|
+
/** @enum {string} */
|
|
1393
|
+
type: "gtc" | "privacy";
|
|
1326
1394
|
token: string;
|
|
1327
1395
|
};
|
|
1328
1396
|
InitStripePaymentData: components$1["schemas"]["CheckoutPaymentData"];
|
|
@@ -1340,15 +1408,18 @@ interface components$1 {
|
|
|
1340
1408
|
[key: string]: unknown;
|
|
1341
1409
|
};
|
|
1342
1410
|
preferredLanguage?: string;
|
|
1343
|
-
reservationNumber?: string;
|
|
1411
|
+
reservationNumber?: string;
|
|
1412
|
+
/** Format: date */
|
|
1344
1413
|
reservationDate?: string;
|
|
1345
1414
|
bookingId?: number;
|
|
1346
1415
|
customer?: {
|
|
1347
1416
|
[key: string]: unknown;
|
|
1348
1417
|
};
|
|
1349
1418
|
status?: string;
|
|
1350
|
-
arrivalStatus?: string | null;
|
|
1351
|
-
|
|
1419
|
+
arrivalStatus?: string | null;
|
|
1420
|
+
/** Format: date */
|
|
1421
|
+
from?: string;
|
|
1422
|
+
/** Format: date */
|
|
1352
1423
|
till?: string;
|
|
1353
1424
|
totalDays?: number;
|
|
1354
1425
|
totalPersons?: number;
|
|
@@ -1391,28 +1462,39 @@ interface components$1 {
|
|
|
1391
1462
|
[key: string]: unknown;
|
|
1392
1463
|
};
|
|
1393
1464
|
TravelInsurancePlansData: {
|
|
1394
|
-
/** @enum {string} */
|
|
1465
|
+
/** @enum {string} */
|
|
1466
|
+
target?: "test" | "production";
|
|
1395
1467
|
debug?: boolean;
|
|
1396
|
-
totalBookingAmount: number;
|
|
1397
|
-
|
|
1468
|
+
totalBookingAmount: number;
|
|
1469
|
+
/** Format: date */
|
|
1470
|
+
fromdate: string;
|
|
1471
|
+
/** Format: date */
|
|
1398
1472
|
tilldate: string;
|
|
1399
1473
|
adults: number;
|
|
1400
1474
|
children: number;
|
|
1401
|
-
babys: number;
|
|
1475
|
+
babys: number;
|
|
1476
|
+
/** @enum {string} */
|
|
1402
1477
|
forceTravelInsuranceMode?: "test" | "production";
|
|
1403
1478
|
} & {
|
|
1404
1479
|
[key: string]: unknown;
|
|
1405
1480
|
};
|
|
1406
1481
|
TravelInsurancePlan: {
|
|
1407
1482
|
planid?: string;
|
|
1408
|
-
name?: string;
|
|
1409
|
-
|
|
1483
|
+
name?: string;
|
|
1484
|
+
/** Format: date */
|
|
1485
|
+
expireDate?: string;
|
|
1486
|
+
/** Format: date */
|
|
1410
1487
|
effectiveDate?: string;
|
|
1411
|
-
featured?: string;
|
|
1412
|
-
|
|
1413
|
-
|
|
1414
|
-
|
|
1415
|
-
|
|
1488
|
+
featured?: string;
|
|
1489
|
+
/** Format: uri */
|
|
1490
|
+
quoteDetailUrl?: string;
|
|
1491
|
+
/** Format: uri */
|
|
1492
|
+
bookingDetailUrl?: string;
|
|
1493
|
+
/** Format: uri */
|
|
1494
|
+
termsConditionsUrl?: string;
|
|
1495
|
+
/** Format: uri */
|
|
1496
|
+
commonProductInformationsUrl?: string;
|
|
1497
|
+
/** Format: uri */
|
|
1416
1498
|
logoUnderwriterUrl?: string;
|
|
1417
1499
|
planCost?: {
|
|
1418
1500
|
currencyCode?: string;
|
|
@@ -1433,7 +1515,8 @@ interface components$1 {
|
|
|
1433
1515
|
};
|
|
1434
1516
|
TravelInsurancePlansResponse: {
|
|
1435
1517
|
trackingId?: string;
|
|
1436
|
-
ok?: boolean;
|
|
1518
|
+
ok?: boolean;
|
|
1519
|
+
/** @enum {string} */
|
|
1437
1520
|
target?: "test" | "production";
|
|
1438
1521
|
errors?: {
|
|
1439
1522
|
[key: string]: unknown;
|
|
@@ -1449,30 +1532,40 @@ interface components$1 {
|
|
|
1449
1532
|
debug?: boolean;
|
|
1450
1533
|
bookingId: number;
|
|
1451
1534
|
plan: {
|
|
1452
|
-
planid: string;
|
|
1535
|
+
planid: string;
|
|
1536
|
+
/** @description Amount in cents. */
|
|
1453
1537
|
amount: number;
|
|
1454
|
-
};
|
|
1455
|
-
|
|
1538
|
+
};
|
|
1539
|
+
/** @enum {string} */
|
|
1540
|
+
forceTravelInsuranceTarget?: "test" | "production";
|
|
1541
|
+
/** @enum {string} */
|
|
1456
1542
|
forceTravelInsuranceBookingMode?: "test" | "production";
|
|
1457
1543
|
} & {
|
|
1458
1544
|
[key: string]: unknown;
|
|
1459
1545
|
};
|
|
1460
1546
|
TravelInsurance: {
|
|
1461
1547
|
id?: number;
|
|
1462
|
-
policyid?: string;
|
|
1463
|
-
|
|
1464
|
-
|
|
1548
|
+
policyid?: string;
|
|
1549
|
+
/** @enum {string} */
|
|
1550
|
+
target?: "test" | "production";
|
|
1551
|
+
/** @enum {string} */
|
|
1552
|
+
mode?: "test" | "production";
|
|
1553
|
+
/** Format: uri */
|
|
1465
1554
|
paymentUrl?: string;
|
|
1466
1555
|
planid?: string;
|
|
1467
1556
|
amount?: number;
|
|
1468
1557
|
booked?: string;
|
|
1469
|
-
changed?: string;
|
|
1470
|
-
|
|
1558
|
+
changed?: string;
|
|
1559
|
+
/** @enum {string} */
|
|
1560
|
+
status?: "REQUEST" | "BOOKED" | "BOOKEDERROR" | "CANCELREQUEST" | "CANCELED" | "CANCELEDERROR";
|
|
1561
|
+
/** @enum {string} */
|
|
1471
1562
|
status_payment?: "UNKNOWN" | "BOOKED" | "ERROR" | "ABORTED" | "PAYMENT_DEADLINE_EXPIRED";
|
|
1472
1563
|
errortext?: string;
|
|
1473
1564
|
bookingTotal?: number;
|
|
1474
|
-
tarifLimit?: number;
|
|
1475
|
-
|
|
1565
|
+
tarifLimit?: number;
|
|
1566
|
+
/** Format: date */
|
|
1567
|
+
fromdate?: string;
|
|
1568
|
+
/** Format: date */
|
|
1476
1569
|
tilldate?: string;
|
|
1477
1570
|
cancellable?: boolean | "onrequest";
|
|
1478
1571
|
tarifLimitExceeded?: boolean;
|
|
@@ -1501,7 +1594,8 @@ interface components$1 {
|
|
|
1501
1594
|
* @description 5 means customer cancellation within 14 days.
|
|
1502
1595
|
* @enum {integer}
|
|
1503
1596
|
*/
|
|
1504
|
-
cancelReasonId: 1 | 2 | 3 | 4 | 5;
|
|
1597
|
+
cancelReasonId: 1 | 2 | 3 | 4 | 5;
|
|
1598
|
+
/** @enum {string} */
|
|
1505
1599
|
forceTravelInsuranceTarget?: "test" | "production";
|
|
1506
1600
|
} & {
|
|
1507
1601
|
[key: string]: unknown;
|
|
@@ -1509,10 +1603,15 @@ interface components$1 {
|
|
|
1509
1603
|
};
|
|
1510
1604
|
responses: never;
|
|
1511
1605
|
parameters: {
|
|
1512
|
-
/** @description vOffice action to execute. */
|
|
1513
|
-
|
|
1514
|
-
|
|
1515
|
-
|
|
1606
|
+
/** @description vOffice action to execute. */
|
|
1607
|
+
ActionName: components$1["schemas"]["ActionName"];
|
|
1608
|
+
/** @description URL-encoded JSON payload. Required by most live-query, booking, guest-app, and travel-insurance actions. */
|
|
1609
|
+
Data: string;
|
|
1610
|
+
/** @description ISO 639-1 language code. Required or useful for many live-query and booking actions. */
|
|
1611
|
+
Lang: string;
|
|
1612
|
+
/** @description ISO date-time for incremental export actions. */
|
|
1613
|
+
UpdatedSince: string;
|
|
1614
|
+
/** @description Pagination cursor returned by vOffice. */
|
|
1516
1615
|
LastId: number;
|
|
1517
1616
|
};
|
|
1518
1617
|
requestBodies: never;
|
|
@@ -1523,27 +1622,49 @@ interface operations$1 {
|
|
|
1523
1622
|
proxyVofficeAction: {
|
|
1524
1623
|
parameters: {
|
|
1525
1624
|
query: {
|
|
1526
|
-
/** @description vOffice action to execute. */
|
|
1527
|
-
|
|
1528
|
-
|
|
1529
|
-
|
|
1530
|
-
|
|
1531
|
-
|
|
1532
|
-
|
|
1533
|
-
|
|
1534
|
-
|
|
1535
|
-
|
|
1536
|
-
|
|
1537
|
-
|
|
1538
|
-
|
|
1539
|
-
|
|
1540
|
-
|
|
1541
|
-
|
|
1542
|
-
|
|
1543
|
-
|
|
1544
|
-
|
|
1545
|
-
|
|
1546
|
-
|
|
1625
|
+
/** @description vOffice action to execute. */
|
|
1626
|
+
actionName: components$1["parameters"]["ActionName"];
|
|
1627
|
+
/** @description URL-encoded JSON payload. Required by most live-query, booking, guest-app, and travel-insurance actions. */
|
|
1628
|
+
data?: components$1["parameters"]["Data"];
|
|
1629
|
+
/** @description ISO 639-1 language code. Required or useful for many live-query and booking actions. */
|
|
1630
|
+
lang?: components$1["parameters"]["Lang"];
|
|
1631
|
+
/** @description ISO date-time for incremental export actions. */
|
|
1632
|
+
updatedSince?: components$1["parameters"]["UpdatedSince"];
|
|
1633
|
+
/** @description Pagination cursor returned by vOffice. */
|
|
1634
|
+
lastid?: components$1["parameters"]["LastId"];
|
|
1635
|
+
/** @description Include prices in `getUnits`. */
|
|
1636
|
+
prices?: boolean;
|
|
1637
|
+
/** @description Include offers in `getUnits`. */
|
|
1638
|
+
offers?: boolean;
|
|
1639
|
+
/** @description Include booking restrictions in `getUnits`. */
|
|
1640
|
+
restrictions?: boolean;
|
|
1641
|
+
/** @description Include facilities or list only facilities in `getUnits`. */
|
|
1642
|
+
facilities?: boolean;
|
|
1643
|
+
/** @description Include average ratings in `getUnits`. */
|
|
1644
|
+
ratings?: boolean;
|
|
1645
|
+
/** @description Include text feedbacks in `getUnits`. */
|
|
1646
|
+
feedbacks?: boolean;
|
|
1647
|
+
/** @description Include property-manager/contact profiles in `getUnits`. */
|
|
1648
|
+
profiles?: boolean;
|
|
1649
|
+
/** @description Include unit groups in `getUnits`. */
|
|
1650
|
+
groups?: boolean;
|
|
1651
|
+
/** @description Add facility images to unit images in `getUnits`. */
|
|
1652
|
+
facilitiesimages?: boolean;
|
|
1653
|
+
/** @description Include changeover days in `getAvailabilities`. */
|
|
1654
|
+
changeOver?: boolean;
|
|
1655
|
+
/** @description Include minimum-stay information in `getAvailabilities`. */
|
|
1656
|
+
minStay?: boolean;
|
|
1657
|
+
/** @description Include facility ID in `getAvailabilities`; spelling follows upstream documentation. */
|
|
1658
|
+
facilitid?: boolean;
|
|
1659
|
+
/** @description Include descriptions in `getRegions`. */
|
|
1660
|
+
description?: boolean;
|
|
1661
|
+
/** @description Maximum result count for actions that support pagination. */
|
|
1662
|
+
max?: number;
|
|
1663
|
+
/** @description vOffice member ID for `getProperties`. */
|
|
1664
|
+
member?: number;
|
|
1665
|
+
/** @description Booking ID for booking-update actions when sent outside `data`. */
|
|
1666
|
+
bookingId?: number;
|
|
1667
|
+
/** @description Include channel prices in updated booking actions. */
|
|
1547
1668
|
channelPrices?: boolean;
|
|
1548
1669
|
};
|
|
1549
1670
|
header?: never;
|
|
@@ -1552,28 +1673,34 @@ interface operations$1 {
|
|
|
1552
1673
|
};
|
|
1553
1674
|
requestBody?: never;
|
|
1554
1675
|
responses: {
|
|
1555
|
-
/** @description vOffice JSON response. Exact shape depends on `actionName`. */
|
|
1676
|
+
/** @description vOffice JSON response. Exact shape depends on `actionName`. */
|
|
1677
|
+
200: {
|
|
1556
1678
|
headers: {
|
|
1557
|
-
/** @description Upstream vOffice cache hint; clients should respect `max-age`. */
|
|
1679
|
+
/** @description Upstream vOffice cache hint; clients should respect `max-age`. */
|
|
1680
|
+
"Cache-Control"?: string;
|
|
1681
|
+
/** @description Usually `Origin`. */
|
|
1558
1682
|
Vary?: string;
|
|
1559
1683
|
[name: string]: unknown;
|
|
1560
1684
|
};
|
|
1561
1685
|
content: {
|
|
1562
1686
|
"application/json": components$1["schemas"]["VofficeProxyResponse"];
|
|
1563
1687
|
};
|
|
1564
|
-
};
|
|
1688
|
+
};
|
|
1689
|
+
/** @description Missing or invalid be-on API key. */
|
|
1565
1690
|
401: {
|
|
1566
1691
|
headers: {
|
|
1567
1692
|
[name: string]: unknown;
|
|
1568
1693
|
};
|
|
1569
1694
|
content?: never;
|
|
1570
|
-
};
|
|
1695
|
+
};
|
|
1696
|
+
/** @description Upstream or proxy client error. */
|
|
1571
1697
|
"4XX": {
|
|
1572
1698
|
headers: {
|
|
1573
1699
|
[name: string]: unknown;
|
|
1574
1700
|
};
|
|
1575
1701
|
content?: never;
|
|
1576
|
-
};
|
|
1702
|
+
};
|
|
1703
|
+
/** @description Upstream or proxy server error. */
|
|
1577
1704
|
"5XX": {
|
|
1578
1705
|
headers: {
|
|
1579
1706
|
[name: string]: unknown;
|
|
@@ -1591,12 +1718,14 @@ interface operations$1 {
|
|
|
1591
1718
|
};
|
|
1592
1719
|
requestBody?: never;
|
|
1593
1720
|
responses: {
|
|
1594
|
-
/** @description Empty preflight response. */
|
|
1721
|
+
/** @description Empty preflight response. */
|
|
1722
|
+
204: {
|
|
1595
1723
|
headers: {
|
|
1596
1724
|
[name: string]: unknown;
|
|
1597
1725
|
};
|
|
1598
1726
|
content?: never;
|
|
1599
|
-
};
|
|
1727
|
+
};
|
|
1728
|
+
/** @description Preflight rejected. */
|
|
1600
1729
|
"4XX": {
|
|
1601
1730
|
headers: {
|
|
1602
1731
|
[name: string]: unknown;
|
|
@@ -2353,7 +2482,7 @@ declare const V0OpenApiClientErrorBase: new (args: V0OpenApiClientErrorOptions)
|
|
|
2353
2482
|
readonly _tag: "V0OpenApiClientError";
|
|
2354
2483
|
};
|
|
2355
2484
|
declare class V0OpenApiClientError extends V0OpenApiClientErrorBase {}
|
|
2356
|
-
type Simplify$1<T> = { readonly [Key in keyof T]: T[Key] } & {};
|
|
2485
|
+
type Simplify$1<T> = { readonly [Key in keyof T]: T[Key]; } & {};
|
|
2357
2486
|
type V0OpenApiOperationId = Extract<V0OperationId, keyof operations$1>;
|
|
2358
2487
|
type OperationParameters$1<TOperation extends V0OpenApiOperationId> = operations$1[TOperation] extends {
|
|
2359
2488
|
readonly parameters: infer Parameters;
|
|
@@ -2498,7 +2627,8 @@ interface paths {
|
|
|
2498
2627
|
header?: never;
|
|
2499
2628
|
path?: never;
|
|
2500
2629
|
cookie?: never;
|
|
2501
|
-
};
|
|
2630
|
+
};
|
|
2631
|
+
/** List unit IDs */
|
|
2502
2632
|
get: operations["listUnitIds"];
|
|
2503
2633
|
put?: never;
|
|
2504
2634
|
post?: never;
|
|
@@ -2534,7 +2664,8 @@ interface paths {
|
|
|
2534
2664
|
header?: never;
|
|
2535
2665
|
path?: never;
|
|
2536
2666
|
cookie?: never;
|
|
2537
|
-
};
|
|
2667
|
+
};
|
|
2668
|
+
/** Get one region */
|
|
2538
2669
|
get: operations["getRegion"];
|
|
2539
2670
|
put?: never;
|
|
2540
2671
|
post?: never;
|
|
@@ -2570,7 +2701,8 @@ interface paths {
|
|
|
2570
2701
|
header?: never;
|
|
2571
2702
|
path?: never;
|
|
2572
2703
|
cookie?: never;
|
|
2573
|
-
};
|
|
2704
|
+
};
|
|
2705
|
+
/** Get one service */
|
|
2574
2706
|
get: operations["getService"];
|
|
2575
2707
|
put?: never;
|
|
2576
2708
|
post?: never;
|
|
@@ -2606,7 +2738,8 @@ interface paths {
|
|
|
2606
2738
|
header?: never;
|
|
2607
2739
|
path?: never;
|
|
2608
2740
|
cookie?: never;
|
|
2609
|
-
};
|
|
2741
|
+
};
|
|
2742
|
+
/** Get one facility */
|
|
2610
2743
|
get: operations["getFacility"];
|
|
2611
2744
|
put?: never;
|
|
2612
2745
|
post?: never;
|
|
@@ -2662,7 +2795,8 @@ interface paths {
|
|
|
2662
2795
|
header?: never;
|
|
2663
2796
|
path?: never;
|
|
2664
2797
|
cookie?: never;
|
|
2665
|
-
};
|
|
2798
|
+
};
|
|
2799
|
+
/** List documents for a unit */
|
|
2666
2800
|
get: operations["listUnitDocuments"];
|
|
2667
2801
|
put?: never;
|
|
2668
2802
|
post?: never;
|
|
@@ -2684,7 +2818,8 @@ interface paths {
|
|
|
2684
2818
|
post?: never;
|
|
2685
2819
|
delete?: never;
|
|
2686
2820
|
options?: never;
|
|
2687
|
-
head?: never;
|
|
2821
|
+
head?: never;
|
|
2822
|
+
/** Accept or decline a document */
|
|
2688
2823
|
patch: operations["updateDocumentStatus"];
|
|
2689
2824
|
trace?: never;
|
|
2690
2825
|
};
|
|
@@ -2694,7 +2829,8 @@ interface paths {
|
|
|
2694
2829
|
header?: never;
|
|
2695
2830
|
path?: never;
|
|
2696
2831
|
cookie?: never;
|
|
2697
|
-
};
|
|
2832
|
+
};
|
|
2833
|
+
/** Get a unit video */
|
|
2698
2834
|
get: operations["getUnitVideo"];
|
|
2699
2835
|
put?: never;
|
|
2700
2836
|
post?: never;
|
|
@@ -2710,7 +2846,8 @@ interface paths {
|
|
|
2710
2846
|
header?: never;
|
|
2711
2847
|
path?: never;
|
|
2712
2848
|
cookie?: never;
|
|
2713
|
-
};
|
|
2849
|
+
};
|
|
2850
|
+
/** Get a member frontpage video */
|
|
2714
2851
|
get: operations["getFrontpageVideo"];
|
|
2715
2852
|
put?: never;
|
|
2716
2853
|
post?: never;
|
|
@@ -2726,7 +2863,8 @@ interface paths {
|
|
|
2726
2863
|
header?: never;
|
|
2727
2864
|
path?: never;
|
|
2728
2865
|
cookie?: never;
|
|
2729
|
-
};
|
|
2866
|
+
};
|
|
2867
|
+
/** List portal tiles */
|
|
2730
2868
|
get: operations["listTiles"];
|
|
2731
2869
|
put?: never;
|
|
2732
2870
|
post?: never;
|
|
@@ -2742,7 +2880,8 @@ interface paths {
|
|
|
2742
2880
|
header?: never;
|
|
2743
2881
|
path?: never;
|
|
2744
2882
|
cookie?: never;
|
|
2745
|
-
};
|
|
2883
|
+
};
|
|
2884
|
+
/** Ping ERGO/ERV travel cancellation insurance */
|
|
2746
2885
|
get: operations["pingErgoTravelCancellationInsurance"];
|
|
2747
2886
|
put?: never;
|
|
2748
2887
|
post?: never;
|
|
@@ -2760,7 +2899,8 @@ interface paths {
|
|
|
2760
2899
|
cookie?: never;
|
|
2761
2900
|
};
|
|
2762
2901
|
get?: never;
|
|
2763
|
-
put?: never;
|
|
2902
|
+
put?: never;
|
|
2903
|
+
/** Search ERGO/ERV insurance plans */
|
|
2764
2904
|
post: operations["searchErgoTravelCancellationInsurancePlans"];
|
|
2765
2905
|
delete?: never;
|
|
2766
2906
|
options?: never;
|
|
@@ -2776,7 +2916,8 @@ interface paths {
|
|
|
2776
2916
|
cookie?: never;
|
|
2777
2917
|
};
|
|
2778
2918
|
get?: never;
|
|
2779
|
-
put?: never;
|
|
2919
|
+
put?: never;
|
|
2920
|
+
/** Create ERGO/ERV pre-contractual information */
|
|
2780
2921
|
post: operations["createErgoPreContract"];
|
|
2781
2922
|
delete?: never;
|
|
2782
2923
|
options?: never;
|
|
@@ -2792,7 +2933,8 @@ interface paths {
|
|
|
2792
2933
|
cookie?: never;
|
|
2793
2934
|
};
|
|
2794
2935
|
get?: never;
|
|
2795
|
-
put?: never;
|
|
2936
|
+
put?: never;
|
|
2937
|
+
/** Read ERGO/ERV pre-contractual information */
|
|
2796
2938
|
post: operations["readErgoPreContract"];
|
|
2797
2939
|
delete?: never;
|
|
2798
2940
|
options?: never;
|
|
@@ -2808,7 +2950,8 @@ interface paths {
|
|
|
2808
2950
|
cookie?: never;
|
|
2809
2951
|
};
|
|
2810
2952
|
get?: never;
|
|
2811
|
-
put?: never;
|
|
2953
|
+
put?: never;
|
|
2954
|
+
/** Book ERGO/ERV insurance */
|
|
2812
2955
|
post: operations["bookErgoTravelCancellationInsurance"];
|
|
2813
2956
|
delete?: never;
|
|
2814
2957
|
options?: never;
|
|
@@ -2824,7 +2967,8 @@ interface paths {
|
|
|
2824
2967
|
cookie?: never;
|
|
2825
2968
|
};
|
|
2826
2969
|
get?: never;
|
|
2827
|
-
put?: never;
|
|
2970
|
+
put?: never;
|
|
2971
|
+
/** Read ERGO/ERV insurance by policy number */
|
|
2828
2972
|
post: operations["readErgoTravelCancellationInsurance"];
|
|
2829
2973
|
delete?: never;
|
|
2830
2974
|
options?: never;
|
|
@@ -2840,7 +2984,8 @@ interface paths {
|
|
|
2840
2984
|
cookie?: never;
|
|
2841
2985
|
};
|
|
2842
2986
|
get?: never;
|
|
2843
|
-
put?: never;
|
|
2987
|
+
put?: never;
|
|
2988
|
+
/** Cancel ERGO/ERV insurance by policy number */
|
|
2844
2989
|
post: operations["cancelErgoTravelCancellationInsurance"];
|
|
2845
2990
|
delete?: never;
|
|
2846
2991
|
options?: never;
|
|
@@ -2854,9 +2999,11 @@ interface paths {
|
|
|
2854
2999
|
header?: never;
|
|
2855
3000
|
path?: never;
|
|
2856
3001
|
cookie?: never;
|
|
2857
|
-
};
|
|
3002
|
+
};
|
|
3003
|
+
/** Find a travel insurance booking */
|
|
2858
3004
|
get: operations["findTravelInsuranceBooking"];
|
|
2859
|
-
put?: never;
|
|
3005
|
+
put?: never;
|
|
3006
|
+
/** Create or update a travel insurance booking */
|
|
2860
3007
|
post: operations["storeTravelInsuranceBooking"];
|
|
2861
3008
|
delete?: never;
|
|
2862
3009
|
options?: never;
|
|
@@ -2870,10 +3017,12 @@ interface paths {
|
|
|
2870
3017
|
header?: never;
|
|
2871
3018
|
path?: never;
|
|
2872
3019
|
cookie?: never;
|
|
2873
|
-
};
|
|
3020
|
+
};
|
|
3021
|
+
/** Get a travel insurance booking */
|
|
2874
3022
|
get: operations["getTravelInsuranceBooking"];
|
|
2875
3023
|
put?: never;
|
|
2876
|
-
post?: never;
|
|
3024
|
+
post?: never;
|
|
3025
|
+
/** Delete a travel insurance booking */
|
|
2877
3026
|
delete: operations["deleteTravelInsuranceBooking"];
|
|
2878
3027
|
options?: never;
|
|
2879
3028
|
head?: never;
|
|
@@ -2886,7 +3035,8 @@ interface paths {
|
|
|
2886
3035
|
header?: never;
|
|
2887
3036
|
path?: never;
|
|
2888
3037
|
cookie?: never;
|
|
2889
|
-
};
|
|
3038
|
+
};
|
|
3039
|
+
/** List imported service prices for a unit */
|
|
2890
3040
|
get: operations["listUnitServicePrices"];
|
|
2891
3041
|
put?: never;
|
|
2892
3042
|
post?: never;
|
|
@@ -2902,7 +3052,8 @@ interface paths {
|
|
|
2902
3052
|
header?: never;
|
|
2903
3053
|
path?: never;
|
|
2904
3054
|
cookie?: never;
|
|
2905
|
-
};
|
|
3055
|
+
};
|
|
3056
|
+
/** List non-voucher offers for a unit */
|
|
2906
3057
|
get: operations["listUnitOffers"];
|
|
2907
3058
|
put?: never;
|
|
2908
3059
|
post?: never;
|
|
@@ -2918,7 +3069,8 @@ interface paths {
|
|
|
2918
3069
|
header?: never;
|
|
2919
3070
|
path?: never;
|
|
2920
3071
|
cookie?: never;
|
|
2921
|
-
};
|
|
3072
|
+
};
|
|
3073
|
+
/** List group IDs for a unit */
|
|
2922
3074
|
get: operations["listUnitGroupIds"];
|
|
2923
3075
|
put?: never;
|
|
2924
3076
|
post?: never;
|
|
@@ -2934,7 +3086,8 @@ interface paths {
|
|
|
2934
3086
|
header?: never;
|
|
2935
3087
|
path?: never;
|
|
2936
3088
|
cookie?: never;
|
|
2937
|
-
};
|
|
3089
|
+
};
|
|
3090
|
+
/** Get settings for the current key */
|
|
2938
3091
|
get: operations["getSetup"];
|
|
2939
3092
|
put?: never;
|
|
2940
3093
|
post?: never;
|
|
@@ -2950,7 +3103,8 @@ interface paths {
|
|
|
2950
3103
|
header?: never;
|
|
2951
3104
|
path?: never;
|
|
2952
3105
|
cookie?: never;
|
|
2953
|
-
};
|
|
3106
|
+
};
|
|
3107
|
+
/** Get the current vOffice member IDs */
|
|
2954
3108
|
get: operations["getCurrentMember"];
|
|
2955
3109
|
put?: never;
|
|
2956
3110
|
post?: never;
|
|
@@ -2966,7 +3120,8 @@ interface paths {
|
|
|
2966
3120
|
header?: never;
|
|
2967
3121
|
path?: never;
|
|
2968
3122
|
cookie?: never;
|
|
2969
|
-
};
|
|
3123
|
+
};
|
|
3124
|
+
/** List published OnOffice units for a vOffice member */
|
|
2970
3125
|
get: operations["listOnOfficeUnits"];
|
|
2971
3126
|
put?: never;
|
|
2972
3127
|
post?: never;
|
|
@@ -2981,7 +3136,8 @@ interface components {
|
|
|
2981
3136
|
schemas: {
|
|
2982
3137
|
ApiEnvelopeBase: {
|
|
2983
3138
|
ok: boolean;
|
|
2984
|
-
};
|
|
3139
|
+
};
|
|
3140
|
+
/** @description Raw imported or proxied vOffice object. Consumers should preserve unknown fields. */
|
|
2985
3141
|
RawVofficeObject: {
|
|
2986
3142
|
[key: string]: unknown;
|
|
2987
3143
|
};
|
|
@@ -2989,7 +3145,8 @@ interface components {
|
|
|
2989
3145
|
data: components["schemas"]["RawVofficeObject"];
|
|
2990
3146
|
};
|
|
2991
3147
|
UnitListItem: components["schemas"]["RawVofficeObject"] & {
|
|
2992
|
-
/** @description vOffice unit ID. */
|
|
3148
|
+
/** @description vOffice unit ID. */
|
|
3149
|
+
id: number;
|
|
2993
3150
|
};
|
|
2994
3151
|
UnitListResponse: components["schemas"]["ApiEnvelopeBase"] & {
|
|
2995
3152
|
data: components["schemas"]["UnitListItem"][];
|
|
@@ -3002,7 +3159,8 @@ interface components {
|
|
|
3002
3159
|
images: components["schemas"]["RoomImage"][];
|
|
3003
3160
|
};
|
|
3004
3161
|
RoomImage: {
|
|
3005
|
-
/** Format: uri */
|
|
3162
|
+
/** Format: uri */
|
|
3163
|
+
path?: string;
|
|
3006
3164
|
name?: string | null;
|
|
3007
3165
|
title?: string | null;
|
|
3008
3166
|
description?: string | null;
|
|
@@ -3028,17 +3186,20 @@ interface components {
|
|
|
3028
3186
|
data: components["schemas"]["RawVofficeObject"][];
|
|
3029
3187
|
};
|
|
3030
3188
|
CalendarResponse: {
|
|
3031
|
-
/** @description Map keyed by date (`YYYY-MM-DD`). */
|
|
3189
|
+
/** @description Map keyed by date (`YYYY-MM-DD`). */
|
|
3190
|
+
caldata_beon: {
|
|
3032
3191
|
[key: string]: components["schemas"]["CalendarDay"];
|
|
3033
3192
|
};
|
|
3034
3193
|
events: {
|
|
3035
3194
|
[key: string]: unknown;
|
|
3036
3195
|
}[];
|
|
3037
|
-
ok: boolean;
|
|
3196
|
+
ok: boolean;
|
|
3197
|
+
/** Format: date */
|
|
3038
3198
|
max_date: string | null;
|
|
3039
3199
|
};
|
|
3040
3200
|
CalendarDay: {
|
|
3041
|
-
tooltip: string;
|
|
3201
|
+
tooltip: string;
|
|
3202
|
+
/** @enum {string} */
|
|
3042
3203
|
class: "check-in" | "available" | "check-out" | "unavailable";
|
|
3043
3204
|
locked: boolean;
|
|
3044
3205
|
minStay: number;
|
|
@@ -3075,25 +3236,33 @@ interface components {
|
|
|
3075
3236
|
serviceLimits?: {
|
|
3076
3237
|
[key: string]: components["schemas"]["ServiceLimit"];
|
|
3077
3238
|
};
|
|
3078
|
-
travelInsuranceIsSetup?: boolean;
|
|
3239
|
+
travelInsuranceIsSetup?: boolean;
|
|
3240
|
+
/** @example EUR */
|
|
3079
3241
|
currency?: string;
|
|
3080
3242
|
} & {
|
|
3081
3243
|
[key: string]: unknown;
|
|
3082
3244
|
};
|
|
3083
3245
|
QuoteLine: {
|
|
3084
|
-
service?: components["schemas"]["QuoteService"];
|
|
3085
|
-
|
|
3086
|
-
|
|
3246
|
+
service?: components["schemas"]["QuoteService"];
|
|
3247
|
+
/** @description Price in minor currency units. */
|
|
3248
|
+
price?: number;
|
|
3249
|
+
/** @example NIGHT */
|
|
3250
|
+
calculation?: string;
|
|
3251
|
+
/** @example CUSTOMER */
|
|
3087
3252
|
charge?: string;
|
|
3088
3253
|
annotation?: string | null;
|
|
3089
|
-
season?: string | null;
|
|
3090
|
-
|
|
3254
|
+
season?: string | null;
|
|
3255
|
+
/** Format: date */
|
|
3256
|
+
fromdate?: string | null;
|
|
3257
|
+
/** Format: date */
|
|
3091
3258
|
tilldate?: string | null;
|
|
3092
|
-
timespan?: number | null;
|
|
3259
|
+
timespan?: number | null;
|
|
3260
|
+
/** @description Total in minor currency units. */
|
|
3093
3261
|
total?: number;
|
|
3094
3262
|
timeLabel?: string | null;
|
|
3095
3263
|
amount?: number | null;
|
|
3096
|
-
tags?: string[];
|
|
3264
|
+
tags?: string[];
|
|
3265
|
+
/** @description Locally enriched service metadata. vOffice may return an empty array when no metadata is present. */
|
|
3097
3266
|
beon_data?: components["schemas"]["ServiceBeonData"] | unknown[];
|
|
3098
3267
|
} & {
|
|
3099
3268
|
[key: string]: unknown;
|
|
@@ -3124,7 +3293,8 @@ interface components {
|
|
|
3124
3293
|
[key: string]: unknown;
|
|
3125
3294
|
};
|
|
3126
3295
|
ServiceImage: {
|
|
3127
|
-
/** Format: uri */
|
|
3296
|
+
/** Format: uri */
|
|
3297
|
+
url?: string;
|
|
3128
3298
|
title?: string | null;
|
|
3129
3299
|
description?: string | null;
|
|
3130
3300
|
};
|
|
@@ -3134,7 +3304,8 @@ interface components {
|
|
|
3134
3304
|
total?: components["schemas"]["PaymentScheduleItem"];
|
|
3135
3305
|
};
|
|
3136
3306
|
PaymentScheduleItem: {
|
|
3137
|
-
/** Format: date */
|
|
3307
|
+
/** Format: date */
|
|
3308
|
+
date?: string;
|
|
3138
3309
|
amount?: number;
|
|
3139
3310
|
percent?: number;
|
|
3140
3311
|
};
|
|
@@ -3142,8 +3313,10 @@ interface components {
|
|
|
3142
3313
|
maxPerBooking?: number | null;
|
|
3143
3314
|
maxDaysAfterBooking?: number | null;
|
|
3144
3315
|
minDaysBeforeArrival?: number | null;
|
|
3145
|
-
};
|
|
3146
|
-
|
|
3316
|
+
};
|
|
3317
|
+
/** @enum {string} */
|
|
3318
|
+
DocumentType: "invoice" | "cost_estimate" | "credit_note";
|
|
3319
|
+
/** @enum {string} */
|
|
3147
3320
|
DocumentStatus: "submitted" | "accepted" | "declined";
|
|
3148
3321
|
DocumentCollectionResponse: {
|
|
3149
3322
|
data: components["schemas"]["DocumentSummary"][];
|
|
@@ -3157,14 +3330,18 @@ interface components {
|
|
|
3157
3330
|
DocumentSummary: {
|
|
3158
3331
|
id?: number;
|
|
3159
3332
|
name?: string;
|
|
3160
|
-
status?: components["schemas"]["DocumentStatus"];
|
|
3161
|
-
|
|
3162
|
-
|
|
3333
|
+
status?: components["schemas"]["DocumentStatus"];
|
|
3334
|
+
/** @example 07.05.2026 */
|
|
3335
|
+
created_at?: string;
|
|
3336
|
+
/** @example 07.05.2026 */
|
|
3337
|
+
invoice_date?: string;
|
|
3338
|
+
/** Format: uri */
|
|
3163
3339
|
pdf?: string | null;
|
|
3164
3340
|
service_provider?: string | null;
|
|
3165
3341
|
};
|
|
3166
3342
|
DocumentStatusUpdateRequest: {
|
|
3167
|
-
/** @enum {string} */
|
|
3343
|
+
/** @enum {string} */
|
|
3344
|
+
status: "accepted" | "declined";
|
|
3168
3345
|
decline_reason?: string | null;
|
|
3169
3346
|
};
|
|
3170
3347
|
DocumentResourceResponse: {
|
|
@@ -3175,11 +3352,15 @@ interface components {
|
|
|
3175
3352
|
status?: components["schemas"]["DocumentStatus"];
|
|
3176
3353
|
name?: string;
|
|
3177
3354
|
decline_reason?: string | null;
|
|
3178
|
-
units?: components["schemas"]["CustomerUnitSummary"][];
|
|
3179
|
-
|
|
3355
|
+
units?: components["schemas"]["CustomerUnitSummary"][];
|
|
3356
|
+
/** Format: uri */
|
|
3357
|
+
pdf?: string;
|
|
3358
|
+
/** @example Cost Estimate */
|
|
3180
3359
|
type?: string;
|
|
3181
|
-
service_provider?: string | null;
|
|
3182
|
-
|
|
3360
|
+
service_provider?: string | null;
|
|
3361
|
+
/** @example 07.05.2026 */
|
|
3362
|
+
decline_date?: string | null;
|
|
3363
|
+
/** @example 07.05.2026 */
|
|
3183
3364
|
created_at?: string;
|
|
3184
3365
|
};
|
|
3185
3366
|
CustomerUnitSummary: {
|
|
@@ -3192,10 +3373,13 @@ interface components {
|
|
|
3192
3373
|
};
|
|
3193
3374
|
VideoResponse: {
|
|
3194
3375
|
data: {
|
|
3195
|
-
/** Format: uri */
|
|
3376
|
+
/** Format: uri */
|
|
3377
|
+
url: string;
|
|
3378
|
+
/** Format: uri */
|
|
3196
3379
|
thumbnail: string | null;
|
|
3197
3380
|
};
|
|
3198
|
-
};
|
|
3381
|
+
};
|
|
3382
|
+
/** @enum {string} */
|
|
3199
3383
|
TileTag: "guest_portal_home" | "guest_portal_property" | "guest_portal_brands" | "owner_portal_home" | "owner_portal_property" | "owner_portal_brands";
|
|
3200
3384
|
TileCollectionResponse: {
|
|
3201
3385
|
data: components["schemas"]["Tile"][];
|
|
@@ -3203,18 +3387,22 @@ interface components {
|
|
|
3203
3387
|
Tile: {
|
|
3204
3388
|
id?: number;
|
|
3205
3389
|
title?: string;
|
|
3206
|
-
description?: string | null;
|
|
3390
|
+
description?: string | null;
|
|
3391
|
+
/** Format: uri */
|
|
3207
3392
|
image?: string | null;
|
|
3208
3393
|
link_url?: string | null;
|
|
3209
|
-
open_in_new_tab?: boolean;
|
|
3394
|
+
open_in_new_tab?: boolean;
|
|
3395
|
+
/** @description Optional tile property payload. The source data may vary by portal tile configuration. */
|
|
3210
3396
|
property?: {
|
|
3211
3397
|
[key: string]: unknown;
|
|
3212
3398
|
} | null;
|
|
3213
3399
|
};
|
|
3214
3400
|
UnitServicePrice: {
|
|
3215
3401
|
price?: number | null;
|
|
3216
|
-
calculation?: string | null;
|
|
3217
|
-
|
|
3402
|
+
calculation?: string | null;
|
|
3403
|
+
/** Format: date */
|
|
3404
|
+
from_date?: string | null;
|
|
3405
|
+
/** Format: date */
|
|
3218
3406
|
till_date?: string | null;
|
|
3219
3407
|
night_range_min?: number | null;
|
|
3220
3408
|
night_range_max?: number | null;
|
|
@@ -3228,9 +3416,12 @@ interface components {
|
|
|
3228
3416
|
discount_type?: string | null;
|
|
3229
3417
|
title?: string | null;
|
|
3230
3418
|
min_stay?: number | null;
|
|
3231
|
-
time_span?: number | null;
|
|
3232
|
-
|
|
3233
|
-
|
|
3419
|
+
time_span?: number | null;
|
|
3420
|
+
/** Format: date */
|
|
3421
|
+
from_date?: string | null;
|
|
3422
|
+
/** Format: date */
|
|
3423
|
+
till_date?: string | null;
|
|
3424
|
+
/** @description Raw offer season payload when supplied by vOffice. */
|
|
3234
3425
|
season?: {
|
|
3235
3426
|
[key: string]: unknown;
|
|
3236
3427
|
} | null;
|
|
@@ -3290,7 +3481,8 @@ interface components {
|
|
|
3290
3481
|
total_area?: string;
|
|
3291
3482
|
floor_area?: string;
|
|
3292
3483
|
land_area?: string;
|
|
3293
|
-
rooms?: number;
|
|
3484
|
+
rooms?: number;
|
|
3485
|
+
/** Format: uri */
|
|
3294
3486
|
image_url?: string | null;
|
|
3295
3487
|
image_link_url?: string | null;
|
|
3296
3488
|
open_in_new_tab?: boolean;
|
|
@@ -3306,43 +3498,57 @@ interface components {
|
|
|
3306
3498
|
* @description ISO 3166-1 alpha-2 country code.
|
|
3307
3499
|
* @example DE
|
|
3308
3500
|
*/
|
|
3309
|
-
destination_country: string;
|
|
3310
|
-
|
|
3501
|
+
destination_country: string;
|
|
3502
|
+
/** Format: date */
|
|
3503
|
+
start_date: string;
|
|
3504
|
+
/** Format: date */
|
|
3311
3505
|
end_date: string;
|
|
3312
3506
|
traveler_count: number;
|
|
3313
|
-
total_amount: number;
|
|
3507
|
+
total_amount: number;
|
|
3508
|
+
/** @example EUR */
|
|
3314
3509
|
total_currency: string;
|
|
3315
3510
|
total_decimals?: number | null;
|
|
3316
|
-
rebook_policy_number?: string | null;
|
|
3511
|
+
rebook_policy_number?: string | null;
|
|
3512
|
+
/** @enum {string} */
|
|
3317
3513
|
list_type?: "crs" | "web" | "ava" | "DE_TID";
|
|
3318
3514
|
};
|
|
3319
3515
|
ErgoCreatePreContractRequest: components["schemas"]["ErgoCommonFields"] & components["schemas"]["ErgoTripAndCustomerRequest"] & {
|
|
3320
|
-
/** @description Required when `plan_code` is not supplied. */
|
|
3516
|
+
/** @description Required when `plan_code` is not supplied. */
|
|
3517
|
+
tariff_code?: string | null;
|
|
3518
|
+
/** @description Required when `tariff_code` is not supplied. */
|
|
3321
3519
|
plan_code?: string | null;
|
|
3322
3520
|
rebook_policy_number?: string | null;
|
|
3323
3521
|
};
|
|
3324
3522
|
ErgoReadPreContractRequest: components["schemas"]["ErgoCommonFields"] & {
|
|
3325
|
-
pre_contractual_information_id: string;
|
|
3523
|
+
pre_contractual_information_id: string;
|
|
3524
|
+
/** Format: email */
|
|
3326
3525
|
email: string;
|
|
3327
3526
|
};
|
|
3328
3527
|
ErgoBookRequest: components["schemas"]["ErgoCommonFields"] & components["schemas"]["ErgoTripAndCustomerRequest"] & {
|
|
3329
|
-
/** @description Required when `plan_code` is not supplied. */
|
|
3528
|
+
/** @description Required when `plan_code` is not supplied. */
|
|
3529
|
+
tariff_code?: string | null;
|
|
3530
|
+
/** @description Required when `tariff_code` is not supplied. */
|
|
3330
3531
|
plan_code?: string | null;
|
|
3331
3532
|
rebook_policy_number?: string | null;
|
|
3332
3533
|
pre_contractual_information_id: string;
|
|
3333
3534
|
bank: components["schemas"]["ErgoBank"];
|
|
3334
3535
|
};
|
|
3335
3536
|
ErgoTripAndCustomerRequest: {
|
|
3336
|
-
/** @example DE */
|
|
3337
|
-
|
|
3537
|
+
/** @example DE */
|
|
3538
|
+
destination_country: string;
|
|
3539
|
+
total_amount: number;
|
|
3540
|
+
/** @example EUR */
|
|
3338
3541
|
total_currency: string;
|
|
3339
|
-
total_decimals?: number | null;
|
|
3340
|
-
|
|
3542
|
+
total_decimals?: number | null;
|
|
3543
|
+
/** Format: date */
|
|
3544
|
+
start_date: string;
|
|
3545
|
+
/** Format: date */
|
|
3341
3546
|
end_date: string;
|
|
3342
3547
|
guests: number;
|
|
3343
3548
|
policy_holder: components["schemas"]["ErgoPerson"];
|
|
3344
3549
|
address: components["schemas"]["ErgoAddress"];
|
|
3345
|
-
travelers: components["schemas"]["ErgoPerson"][];
|
|
3550
|
+
travelers: components["schemas"]["ErgoPerson"][];
|
|
3551
|
+
/** Format: email */
|
|
3346
3552
|
email: string;
|
|
3347
3553
|
mobile: string;
|
|
3348
3554
|
fax?: string | null;
|
|
@@ -3375,7 +3581,8 @@ interface components {
|
|
|
3375
3581
|
street_and_nr?: string;
|
|
3376
3582
|
city_name?: string;
|
|
3377
3583
|
postal_code?: string;
|
|
3378
|
-
country_code?: string;
|
|
3584
|
+
country_code?: string;
|
|
3585
|
+
/** Format: email */
|
|
3379
3586
|
email?: string;
|
|
3380
3587
|
};
|
|
3381
3588
|
TravelInsuranceBookingStoreRequest: {
|
|
@@ -3393,29 +3600,35 @@ interface components {
|
|
|
3393
3600
|
travel_insurance_number?: string | null;
|
|
3394
3601
|
additional_booking_data?: {
|
|
3395
3602
|
[key: string]: unknown;
|
|
3396
|
-
} | null;
|
|
3603
|
+
} | null;
|
|
3604
|
+
/** Format: date-time */
|
|
3397
3605
|
webhook_executed_at?: string | null;
|
|
3398
3606
|
webhook_attempts?: number;
|
|
3399
3607
|
webhook_last_response?: {
|
|
3400
3608
|
[key: string]: unknown;
|
|
3401
|
-
} | null;
|
|
3402
|
-
|
|
3609
|
+
} | null;
|
|
3610
|
+
/** Format: date-time */
|
|
3611
|
+
created_at?: string | null;
|
|
3612
|
+
/** Format: date-time */
|
|
3403
3613
|
updated_at?: string | null;
|
|
3404
3614
|
};
|
|
3405
3615
|
};
|
|
3406
3616
|
responses: {
|
|
3407
|
-
/** @description Missing, expired, or invalid API key. */
|
|
3617
|
+
/** @description Missing, expired, or invalid API key. */
|
|
3618
|
+
Unauthorized: {
|
|
3408
3619
|
headers: {
|
|
3409
3620
|
[name: string]: unknown;
|
|
3410
3621
|
};
|
|
3411
3622
|
content?: never;
|
|
3412
|
-
};
|
|
3623
|
+
};
|
|
3624
|
+
/** @description Resource not found. */
|
|
3413
3625
|
NotFound: {
|
|
3414
3626
|
headers: {
|
|
3415
3627
|
[name: string]: unknown;
|
|
3416
3628
|
};
|
|
3417
3629
|
content?: never;
|
|
3418
|
-
};
|
|
3630
|
+
};
|
|
3631
|
+
/** @description Validation failed. */
|
|
3419
3632
|
ValidationError: {
|
|
3420
3633
|
headers: {
|
|
3421
3634
|
[name: string]: unknown;
|
|
@@ -3425,7 +3638,8 @@ interface components {
|
|
|
3425
3638
|
[key: string]: unknown;
|
|
3426
3639
|
} | string;
|
|
3427
3640
|
};
|
|
3428
|
-
};
|
|
3641
|
+
};
|
|
3642
|
+
/** @description Response returned by the ERGO/ERV SOAP client. */
|
|
3429
3643
|
ErgoResponse: {
|
|
3430
3644
|
headers: {
|
|
3431
3645
|
[name: string]: unknown;
|
|
@@ -3438,8 +3652,11 @@ interface components {
|
|
|
3438
3652
|
};
|
|
3439
3653
|
};
|
|
3440
3654
|
parameters: {
|
|
3441
|
-
/** @description vOffice unit ID (`voffice_id`). */
|
|
3442
|
-
|
|
3655
|
+
/** @description vOffice unit ID (`voffice_id`). */
|
|
3656
|
+
UnitId: number;
|
|
3657
|
+
/** @description Language code passed through to vOffice where supported. */
|
|
3658
|
+
Lang: string;
|
|
3659
|
+
/** @description Travel insurance booking number. */
|
|
3443
3660
|
BookingNumber: string;
|
|
3444
3661
|
ErgoMsgId: string;
|
|
3445
3662
|
ErgoEchoToken: string;
|
|
@@ -3459,7 +3676,8 @@ interface operations {
|
|
|
3459
3676
|
};
|
|
3460
3677
|
requestBody?: never;
|
|
3461
3678
|
responses: {
|
|
3462
|
-
/** @description Unit list */
|
|
3679
|
+
/** @description Unit list */
|
|
3680
|
+
200: {
|
|
3463
3681
|
headers: {
|
|
3464
3682
|
[name: string]: unknown;
|
|
3465
3683
|
};
|
|
@@ -3473,17 +3691,20 @@ interface operations {
|
|
|
3473
3691
|
getUnit: {
|
|
3474
3692
|
parameters: {
|
|
3475
3693
|
query?: {
|
|
3476
|
-
/** @description Optional room-image tag filter. Laravel accepts this as an array query parameter. */
|
|
3694
|
+
/** @description Optional room-image tag filter. Laravel accepts this as an array query parameter. */
|
|
3695
|
+
tags?: string[];
|
|
3477
3696
|
};
|
|
3478
3697
|
header?: never;
|
|
3479
3698
|
path: {
|
|
3480
|
-
/** @description vOffice unit ID (`voffice_id`). */
|
|
3699
|
+
/** @description vOffice unit ID (`voffice_id`). */
|
|
3700
|
+
voffice_unit: components["parameters"]["UnitId"];
|
|
3481
3701
|
};
|
|
3482
3702
|
cookie?: never;
|
|
3483
3703
|
};
|
|
3484
3704
|
requestBody?: never;
|
|
3485
3705
|
responses: {
|
|
3486
|
-
/** @description Unit details */
|
|
3706
|
+
/** @description Unit details */
|
|
3707
|
+
200: {
|
|
3487
3708
|
headers: {
|
|
3488
3709
|
[name: string]: unknown;
|
|
3489
3710
|
};
|
|
@@ -3497,18 +3718,22 @@ interface operations {
|
|
|
3497
3718
|
getUnitCalendar: {
|
|
3498
3719
|
parameters: {
|
|
3499
3720
|
query?: {
|
|
3500
|
-
/** @description Language code passed through to vOffice where supported. */
|
|
3721
|
+
/** @description Language code passed through to vOffice where supported. */
|
|
3722
|
+
lang?: components["parameters"]["Lang"];
|
|
3723
|
+
/** @description Return translation keys in calendar tooltips instead of translated labels. */
|
|
3501
3724
|
useTranslationKeys?: boolean;
|
|
3502
3725
|
};
|
|
3503
3726
|
header?: never;
|
|
3504
3727
|
path: {
|
|
3505
|
-
/** @description vOffice unit ID (`voffice_id`). */
|
|
3728
|
+
/** @description vOffice unit ID (`voffice_id`). */
|
|
3729
|
+
voffice_unit: components["parameters"]["UnitId"];
|
|
3506
3730
|
};
|
|
3507
3731
|
cookie?: never;
|
|
3508
3732
|
};
|
|
3509
3733
|
requestBody?: never;
|
|
3510
3734
|
responses: {
|
|
3511
|
-
/** @description Calendar data */
|
|
3735
|
+
/** @description Calendar data */
|
|
3736
|
+
200: {
|
|
3512
3737
|
headers: {
|
|
3513
3738
|
[name: string]: unknown;
|
|
3514
3739
|
};
|
|
@@ -3522,25 +3747,31 @@ interface operations {
|
|
|
3522
3747
|
getUnitQuotePrices: {
|
|
3523
3748
|
parameters: {
|
|
3524
3749
|
query: {
|
|
3525
|
-
/** @description Language code passed through to vOffice where supported. */
|
|
3526
|
-
|
|
3750
|
+
/** @description Language code passed through to vOffice where supported. */
|
|
3751
|
+
lang?: components["parameters"]["Lang"];
|
|
3752
|
+
/** @example 2026-07-07 */
|
|
3753
|
+
fromdate: string;
|
|
3754
|
+
/** @example 2026-07-13 */
|
|
3527
3755
|
tilldate: string;
|
|
3528
3756
|
adults?: number;
|
|
3529
3757
|
children?: number;
|
|
3530
3758
|
babies?: number;
|
|
3531
3759
|
pets?: number;
|
|
3532
|
-
voucherCode?: string;
|
|
3760
|
+
voucherCode?: string;
|
|
3761
|
+
/** @description Passed through to vOffice when supplied. */
|
|
3533
3762
|
childrenAges?: string;
|
|
3534
3763
|
};
|
|
3535
3764
|
header?: never;
|
|
3536
3765
|
path: {
|
|
3537
|
-
/** @description vOffice unit ID (`voffice_id`). */
|
|
3766
|
+
/** @description vOffice unit ID (`voffice_id`). */
|
|
3767
|
+
voffice_unit: components["parameters"]["UnitId"];
|
|
3538
3768
|
};
|
|
3539
3769
|
cookie?: never;
|
|
3540
3770
|
};
|
|
3541
3771
|
requestBody?: never;
|
|
3542
3772
|
responses: {
|
|
3543
|
-
/** @description Quote prices */
|
|
3773
|
+
/** @description Quote prices */
|
|
3774
|
+
200: {
|
|
3544
3775
|
headers: {
|
|
3545
3776
|
[name: string]: unknown;
|
|
3546
3777
|
};
|
|
@@ -3560,7 +3791,8 @@ interface operations {
|
|
|
3560
3791
|
};
|
|
3561
3792
|
requestBody?: never;
|
|
3562
3793
|
responses: {
|
|
3563
|
-
/** @description vOffice unit IDs for the current key */
|
|
3794
|
+
/** @description vOffice unit IDs for the current key */
|
|
3795
|
+
200: {
|
|
3564
3796
|
headers: {
|
|
3565
3797
|
[name: string]: unknown;
|
|
3566
3798
|
};
|
|
@@ -3580,7 +3812,8 @@ interface operations {
|
|
|
3580
3812
|
};
|
|
3581
3813
|
requestBody?: never;
|
|
3582
3814
|
responses: {
|
|
3583
|
-
/** @description Region list */
|
|
3815
|
+
/** @description Region list */
|
|
3816
|
+
200: {
|
|
3584
3817
|
headers: {
|
|
3585
3818
|
[name: string]: unknown;
|
|
3586
3819
|
};
|
|
@@ -3596,13 +3829,15 @@ interface operations {
|
|
|
3596
3829
|
query?: never;
|
|
3597
3830
|
header?: never;
|
|
3598
3831
|
path: {
|
|
3599
|
-
/** @description vOffice region ID. */
|
|
3832
|
+
/** @description vOffice region ID. */
|
|
3833
|
+
voffice_region: number;
|
|
3600
3834
|
};
|
|
3601
3835
|
cookie?: never;
|
|
3602
3836
|
};
|
|
3603
3837
|
requestBody?: never;
|
|
3604
3838
|
responses: {
|
|
3605
|
-
/** @description Region raw data */
|
|
3839
|
+
/** @description Region raw data */
|
|
3840
|
+
200: {
|
|
3606
3841
|
headers: {
|
|
3607
3842
|
[name: string]: unknown;
|
|
3608
3843
|
};
|
|
@@ -3622,7 +3857,8 @@ interface operations {
|
|
|
3622
3857
|
};
|
|
3623
3858
|
requestBody?: never;
|
|
3624
3859
|
responses: {
|
|
3625
|
-
/** @description Service list */
|
|
3860
|
+
/** @description Service list */
|
|
3861
|
+
200: {
|
|
3626
3862
|
headers: {
|
|
3627
3863
|
[name: string]: unknown;
|
|
3628
3864
|
};
|
|
@@ -3638,13 +3874,15 @@ interface operations {
|
|
|
3638
3874
|
query?: never;
|
|
3639
3875
|
header?: never;
|
|
3640
3876
|
path: {
|
|
3641
|
-
/** @description vOffice service ID. */
|
|
3877
|
+
/** @description vOffice service ID. */
|
|
3878
|
+
voffice_service: number;
|
|
3642
3879
|
};
|
|
3643
3880
|
cookie?: never;
|
|
3644
3881
|
};
|
|
3645
3882
|
requestBody?: never;
|
|
3646
3883
|
responses: {
|
|
3647
|
-
/** @description Service raw data */
|
|
3884
|
+
/** @description Service raw data */
|
|
3885
|
+
200: {
|
|
3648
3886
|
headers: {
|
|
3649
3887
|
[name: string]: unknown;
|
|
3650
3888
|
};
|
|
@@ -3664,7 +3902,8 @@ interface operations {
|
|
|
3664
3902
|
};
|
|
3665
3903
|
requestBody?: never;
|
|
3666
3904
|
responses: {
|
|
3667
|
-
/** @description Facility list */
|
|
3905
|
+
/** @description Facility list */
|
|
3906
|
+
200: {
|
|
3668
3907
|
headers: {
|
|
3669
3908
|
[name: string]: unknown;
|
|
3670
3909
|
};
|
|
@@ -3680,13 +3919,15 @@ interface operations {
|
|
|
3680
3919
|
query?: never;
|
|
3681
3920
|
header?: never;
|
|
3682
3921
|
path: {
|
|
3683
|
-
/** @description vOffice facility ID. */
|
|
3922
|
+
/** @description vOffice facility ID. */
|
|
3923
|
+
voffice_facility: number;
|
|
3684
3924
|
};
|
|
3685
3925
|
cookie?: never;
|
|
3686
3926
|
};
|
|
3687
3927
|
requestBody?: never;
|
|
3688
3928
|
responses: {
|
|
3689
|
-
/** @description Facility raw data */
|
|
3929
|
+
/** @description Facility raw data */
|
|
3930
|
+
200: {
|
|
3690
3931
|
headers: {
|
|
3691
3932
|
[name: string]: unknown;
|
|
3692
3933
|
};
|
|
@@ -3700,7 +3941,8 @@ interface operations {
|
|
|
3700
3941
|
downloadTravelInsurancePdf: {
|
|
3701
3942
|
parameters: {
|
|
3702
3943
|
query: {
|
|
3703
|
-
/** @description URL on `www.unionreiseversicherung.de` or `www.urv.de`. */
|
|
3944
|
+
/** @description URL on `www.unionreiseversicherung.de` or `www.urv.de`. */
|
|
3945
|
+
url: string;
|
|
3704
3946
|
};
|
|
3705
3947
|
header?: never;
|
|
3706
3948
|
path?: never;
|
|
@@ -3708,7 +3950,8 @@ interface operations {
|
|
|
3708
3950
|
};
|
|
3709
3951
|
requestBody?: never;
|
|
3710
3952
|
responses: {
|
|
3711
|
-
/** @description PDF document */
|
|
3953
|
+
/** @description PDF document */
|
|
3954
|
+
200: {
|
|
3712
3955
|
headers: {
|
|
3713
3956
|
[name: string]: unknown;
|
|
3714
3957
|
};
|
|
@@ -3716,7 +3959,8 @@ interface operations {
|
|
|
3716
3959
|
"application/pdf": string;
|
|
3717
3960
|
};
|
|
3718
3961
|
};
|
|
3719
|
-
401: components["responses"]["Unauthorized"];
|
|
3962
|
+
401: components["responses"]["Unauthorized"];
|
|
3963
|
+
/** @description Download failed or host not allowed */
|
|
3720
3964
|
500: {
|
|
3721
3965
|
headers: {
|
|
3722
3966
|
[name: string]: unknown;
|
|
@@ -3734,7 +3978,8 @@ interface operations {
|
|
|
3734
3978
|
};
|
|
3735
3979
|
requestBody?: never;
|
|
3736
3980
|
responses: {
|
|
3737
|
-
/** @description Search property metadata */
|
|
3981
|
+
/** @description Search property metadata */
|
|
3982
|
+
200: {
|
|
3738
3983
|
headers: {
|
|
3739
3984
|
[name: string]: unknown;
|
|
3740
3985
|
};
|
|
@@ -3760,13 +4005,15 @@ interface operations {
|
|
|
3760
4005
|
};
|
|
3761
4006
|
header?: never;
|
|
3762
4007
|
path: {
|
|
3763
|
-
/** @description vOffice unit ID (`voffice_id`). */
|
|
4008
|
+
/** @description vOffice unit ID (`voffice_id`). */
|
|
4009
|
+
voffice_unit: components["parameters"]["UnitId"];
|
|
3764
4010
|
};
|
|
3765
4011
|
cookie?: never;
|
|
3766
4012
|
};
|
|
3767
4013
|
requestBody?: never;
|
|
3768
4014
|
responses: {
|
|
3769
|
-
/** @description Document collection. Paginated responses may include Laravel `links` and `meta`. */
|
|
4015
|
+
/** @description Document collection. Paginated responses may include Laravel `links` and `meta`. */
|
|
4016
|
+
200: {
|
|
3770
4017
|
headers: {
|
|
3771
4018
|
[name: string]: unknown;
|
|
3772
4019
|
};
|
|
@@ -3793,7 +4040,8 @@ interface operations {
|
|
|
3793
4040
|
};
|
|
3794
4041
|
};
|
|
3795
4042
|
responses: {
|
|
3796
|
-
/** @description Updated document */
|
|
4043
|
+
/** @description Updated document */
|
|
4044
|
+
200: {
|
|
3797
4045
|
headers: {
|
|
3798
4046
|
[name: string]: unknown;
|
|
3799
4047
|
};
|
|
@@ -3810,13 +4058,15 @@ interface operations {
|
|
|
3810
4058
|
query?: never;
|
|
3811
4059
|
header?: never;
|
|
3812
4060
|
path: {
|
|
3813
|
-
/** @description vOffice unit ID (`voffice_id`). */
|
|
4061
|
+
/** @description vOffice unit ID (`voffice_id`). */
|
|
4062
|
+
voffice_unit: components["parameters"]["UnitId"];
|
|
3814
4063
|
};
|
|
3815
4064
|
cookie?: never;
|
|
3816
4065
|
};
|
|
3817
4066
|
requestBody?: never;
|
|
3818
4067
|
responses: {
|
|
3819
|
-
/** @description Unit video */
|
|
4068
|
+
/** @description Unit video */
|
|
4069
|
+
200: {
|
|
3820
4070
|
headers: {
|
|
3821
4071
|
[name: string]: unknown;
|
|
3822
4072
|
};
|
|
@@ -3833,13 +4083,15 @@ interface operations {
|
|
|
3833
4083
|
query?: never;
|
|
3834
4084
|
header?: never;
|
|
3835
4085
|
path: {
|
|
3836
|
-
/** @description vOffice member `member_id`. */
|
|
4086
|
+
/** @description vOffice member `member_id`. */
|
|
4087
|
+
voffice_member: number;
|
|
3837
4088
|
};
|
|
3838
4089
|
cookie?: never;
|
|
3839
4090
|
};
|
|
3840
4091
|
requestBody?: never;
|
|
3841
4092
|
responses: {
|
|
3842
|
-
/** @description Frontpage video */
|
|
4093
|
+
/** @description Frontpage video */
|
|
4094
|
+
200: {
|
|
3843
4095
|
headers: {
|
|
3844
4096
|
[name: string]: unknown;
|
|
3845
4097
|
};
|
|
@@ -3863,7 +4115,8 @@ interface operations {
|
|
|
3863
4115
|
};
|
|
3864
4116
|
requestBody?: never;
|
|
3865
4117
|
responses: {
|
|
3866
|
-
/** @description Tile collection */
|
|
4118
|
+
/** @description Tile collection */
|
|
4119
|
+
200: {
|
|
3867
4120
|
headers: {
|
|
3868
4121
|
[name: string]: unknown;
|
|
3869
4122
|
};
|
|
@@ -3871,7 +4124,8 @@ interface operations {
|
|
|
3871
4124
|
"application/json": components["schemas"]["TileCollectionResponse"];
|
|
3872
4125
|
};
|
|
3873
4126
|
};
|
|
3874
|
-
401: components["responses"]["Unauthorized"];
|
|
4127
|
+
401: components["responses"]["Unauthorized"];
|
|
4128
|
+
/** @description Missing or invalid tag/language, missing member, or no tiles. */
|
|
3875
4129
|
403: {
|
|
3876
4130
|
headers: {
|
|
3877
4131
|
[name: string]: unknown;
|
|
@@ -4018,7 +4272,8 @@ interface operations {
|
|
|
4018
4272
|
};
|
|
4019
4273
|
requestBody?: never;
|
|
4020
4274
|
responses: {
|
|
4021
|
-
/** @description Matching booking or null */
|
|
4275
|
+
/** @description Matching booking or null */
|
|
4276
|
+
200: {
|
|
4022
4277
|
headers: {
|
|
4023
4278
|
[name: string]: unknown;
|
|
4024
4279
|
};
|
|
@@ -4042,14 +4297,16 @@ interface operations {
|
|
|
4042
4297
|
};
|
|
4043
4298
|
};
|
|
4044
4299
|
responses: {
|
|
4045
|
-
/** @description Created or updated booking */
|
|
4300
|
+
/** @description Created or updated booking */
|
|
4301
|
+
200: {
|
|
4046
4302
|
headers: {
|
|
4047
4303
|
[name: string]: unknown;
|
|
4048
4304
|
};
|
|
4049
4305
|
content: {
|
|
4050
4306
|
"application/json": components["schemas"]["TravelInsuranceBooking"];
|
|
4051
4307
|
};
|
|
4052
|
-
};
|
|
4308
|
+
};
|
|
4309
|
+
/** @description Missing `guest_token` or `booking_number`, or invalid API key. */
|
|
4053
4310
|
401: {
|
|
4054
4311
|
headers: {
|
|
4055
4312
|
[name: string]: unknown;
|
|
@@ -4065,13 +4322,15 @@ interface operations {
|
|
|
4065
4322
|
};
|
|
4066
4323
|
header?: never;
|
|
4067
4324
|
path: {
|
|
4068
|
-
/** @description Travel insurance booking number. */
|
|
4325
|
+
/** @description Travel insurance booking number. */
|
|
4326
|
+
travel_insurance_booking: components["parameters"]["BookingNumber"];
|
|
4069
4327
|
};
|
|
4070
4328
|
cookie?: never;
|
|
4071
4329
|
};
|
|
4072
4330
|
requestBody?: never;
|
|
4073
4331
|
responses: {
|
|
4074
|
-
/** @description Booking */
|
|
4332
|
+
/** @description Booking */
|
|
4333
|
+
200: {
|
|
4075
4334
|
headers: {
|
|
4076
4335
|
[name: string]: unknown;
|
|
4077
4336
|
};
|
|
@@ -4089,13 +4348,15 @@ interface operations {
|
|
|
4089
4348
|
};
|
|
4090
4349
|
header?: never;
|
|
4091
4350
|
path: {
|
|
4092
|
-
/** @description Travel insurance booking number. */
|
|
4351
|
+
/** @description Travel insurance booking number. */
|
|
4352
|
+
travel_insurance_booking: components["parameters"]["BookingNumber"];
|
|
4093
4353
|
};
|
|
4094
4354
|
cookie?: never;
|
|
4095
4355
|
};
|
|
4096
4356
|
requestBody?: never;
|
|
4097
4357
|
responses: {
|
|
4098
|
-
/** @description Delete result */
|
|
4358
|
+
/** @description Delete result */
|
|
4359
|
+
200: {
|
|
4099
4360
|
headers: {
|
|
4100
4361
|
[name: string]: unknown;
|
|
4101
4362
|
};
|
|
@@ -4112,18 +4373,21 @@ interface operations {
|
|
|
4112
4373
|
listUnitServicePrices: {
|
|
4113
4374
|
parameters: {
|
|
4114
4375
|
query?: {
|
|
4115
|
-
/** @description Filters price rows whose date range intersects the given year. */
|
|
4376
|
+
/** @description Filters price rows whose date range intersects the given year. */
|
|
4377
|
+
year?: string;
|
|
4116
4378
|
language?: string;
|
|
4117
4379
|
};
|
|
4118
4380
|
header?: never;
|
|
4119
4381
|
path: {
|
|
4120
|
-
/** @description vOffice unit ID (`voffice_id`). */
|
|
4382
|
+
/** @description vOffice unit ID (`voffice_id`). */
|
|
4383
|
+
voffice_unit: components["parameters"]["UnitId"];
|
|
4121
4384
|
};
|
|
4122
4385
|
cookie?: never;
|
|
4123
4386
|
};
|
|
4124
4387
|
requestBody?: never;
|
|
4125
4388
|
responses: {
|
|
4126
|
-
/** @description Service price rows */
|
|
4389
|
+
/** @description Service price rows */
|
|
4390
|
+
200: {
|
|
4127
4391
|
headers: {
|
|
4128
4392
|
[name: string]: unknown;
|
|
4129
4393
|
};
|
|
@@ -4141,13 +4405,15 @@ interface operations {
|
|
|
4141
4405
|
};
|
|
4142
4406
|
header?: never;
|
|
4143
4407
|
path: {
|
|
4144
|
-
/** @description vOffice unit ID (`voffice_id`). */
|
|
4408
|
+
/** @description vOffice unit ID (`voffice_id`). */
|
|
4409
|
+
voffice_unit: components["parameters"]["UnitId"];
|
|
4145
4410
|
};
|
|
4146
4411
|
cookie?: never;
|
|
4147
4412
|
};
|
|
4148
4413
|
requestBody?: never;
|
|
4149
4414
|
responses: {
|
|
4150
|
-
/** @description Offer rows */
|
|
4415
|
+
/** @description Offer rows */
|
|
4416
|
+
200: {
|
|
4151
4417
|
headers: {
|
|
4152
4418
|
[name: string]: unknown;
|
|
4153
4419
|
};
|
|
@@ -4163,13 +4429,15 @@ interface operations {
|
|
|
4163
4429
|
query?: never;
|
|
4164
4430
|
header?: never;
|
|
4165
4431
|
path: {
|
|
4166
|
-
/** @description vOffice unit ID (`voffice_id`). */
|
|
4432
|
+
/** @description vOffice unit ID (`voffice_id`). */
|
|
4433
|
+
voffice_unit: components["parameters"]["UnitId"];
|
|
4167
4434
|
};
|
|
4168
4435
|
cookie?: never;
|
|
4169
4436
|
};
|
|
4170
4437
|
requestBody?: never;
|
|
4171
4438
|
responses: {
|
|
4172
|
-
/** @description Group IDs */
|
|
4439
|
+
/** @description Group IDs */
|
|
4440
|
+
200: {
|
|
4173
4441
|
headers: {
|
|
4174
4442
|
[name: string]: unknown;
|
|
4175
4443
|
};
|
|
@@ -4183,7 +4451,9 @@ interface operations {
|
|
|
4183
4451
|
getSetup: {
|
|
4184
4452
|
parameters: {
|
|
4185
4453
|
query?: {
|
|
4186
|
-
/** @description Comma-separated list of sections to include. */
|
|
4454
|
+
/** @description Comma-separated list of sections to include. */
|
|
4455
|
+
include?: string;
|
|
4456
|
+
/** @description Applies customer-level settings overrides when the customer belongs to the current vOffice member. */
|
|
4187
4457
|
customer_account_id?: number;
|
|
4188
4458
|
};
|
|
4189
4459
|
header?: never;
|
|
@@ -4192,7 +4462,8 @@ interface operations {
|
|
|
4192
4462
|
};
|
|
4193
4463
|
requestBody?: never;
|
|
4194
4464
|
responses: {
|
|
4195
|
-
/** @description Settings payload */
|
|
4465
|
+
/** @description Settings payload */
|
|
4466
|
+
200: {
|
|
4196
4467
|
headers: {
|
|
4197
4468
|
[name: string]: unknown;
|
|
4198
4469
|
};
|
|
@@ -4212,7 +4483,8 @@ interface operations {
|
|
|
4212
4483
|
};
|
|
4213
4484
|
requestBody?: never;
|
|
4214
4485
|
responses: {
|
|
4215
|
-
/** @description Current member */
|
|
4486
|
+
/** @description Current member */
|
|
4487
|
+
200: {
|
|
4216
4488
|
headers: {
|
|
4217
4489
|
[name: string]: unknown;
|
|
4218
4490
|
};
|
|
@@ -4220,7 +4492,8 @@ interface operations {
|
|
|
4220
4492
|
"application/json": components["schemas"]["CurrentMemberResponse"];
|
|
4221
4493
|
};
|
|
4222
4494
|
};
|
|
4223
|
-
401: components["responses"]["Unauthorized"];
|
|
4495
|
+
401: components["responses"]["Unauthorized"];
|
|
4496
|
+
/** @description The current key is not connected to a vOffice key. */
|
|
4224
4497
|
404: {
|
|
4225
4498
|
headers: {
|
|
4226
4499
|
[name: string]: unknown;
|
|
@@ -4232,18 +4505,22 @@ interface operations {
|
|
|
4232
4505
|
listOnOfficeUnits: {
|
|
4233
4506
|
parameters: {
|
|
4234
4507
|
query?: {
|
|
4235
|
-
/** @description Restrict to units configured for guest portal playout. */
|
|
4508
|
+
/** @description Restrict to units configured for guest portal playout. */
|
|
4509
|
+
is_guest_app?: boolean;
|
|
4510
|
+
/** @description Restrict to units configured for owner portal playout. */
|
|
4236
4511
|
is_owner_app?: boolean;
|
|
4237
4512
|
};
|
|
4238
4513
|
header?: never;
|
|
4239
4514
|
path: {
|
|
4240
|
-
/** @description Internal vOffice member model ID. */
|
|
4515
|
+
/** @description Internal vOffice member model ID. */
|
|
4516
|
+
voffice_member: number;
|
|
4241
4517
|
};
|
|
4242
4518
|
cookie?: never;
|
|
4243
4519
|
};
|
|
4244
4520
|
requestBody?: never;
|
|
4245
4521
|
responses: {
|
|
4246
|
-
/** @description OnOffice unit collection */
|
|
4522
|
+
/** @description OnOffice unit collection */
|
|
4523
|
+
200: {
|
|
4247
4524
|
headers: {
|
|
4248
4525
|
[name: string]: unknown;
|
|
4249
4526
|
};
|
|
@@ -4251,7 +4528,8 @@ interface operations {
|
|
|
4251
4528
|
"application/json": components["schemas"]["OnOfficeUnitCollectionResponse"];
|
|
4252
4529
|
};
|
|
4253
4530
|
};
|
|
4254
|
-
401: components["responses"]["Unauthorized"];
|
|
4531
|
+
401: components["responses"]["Unauthorized"];
|
|
4532
|
+
/** @description The requested member does not belong to the current key. */
|
|
4255
4533
|
403: {
|
|
4256
4534
|
headers: {
|
|
4257
4535
|
[name: string]: unknown;
|
|
@@ -6477,7 +6755,7 @@ declare const V1OpenApiClientErrorBase: new (args: V1OpenApiClientErrorOptions)
|
|
|
6477
6755
|
readonly _tag: "V1OpenApiClientError";
|
|
6478
6756
|
};
|
|
6479
6757
|
declare class V1OpenApiClientError extends V1OpenApiClientErrorBase {}
|
|
6480
|
-
type Simplify<T> = { readonly [Key in keyof T]: T[Key] } & {};
|
|
6758
|
+
type Simplify<T> = { readonly [Key in keyof T]: T[Key]; } & {};
|
|
6481
6759
|
type V1OpenApiOperationId = Extract<V1OperationId, keyof operations>;
|
|
6482
6760
|
type OperationParameters<TOperation extends V1OpenApiOperationId> = operations[TOperation] extends {
|
|
6483
6761
|
readonly parameters: infer Parameters;
|
|
@@ -6527,7 +6805,7 @@ declare const makeV1OpenApiClientFetchLive: (options: V1OpenApiClientOptions) =>
|
|
|
6527
6805
|
//#region codegen/v9/heuristic-generation/v9-data.d.ts
|
|
6528
6806
|
type KnownDataAttribute<TData> = Extract<keyof TData, string>;
|
|
6529
6807
|
type SchemaMap = Readonly<Record<string, Schema.Decoder<unknown>>>;
|
|
6530
|
-
type KnownJsonData<TFields extends SchemaMap> = { readonly [Key in keyof TFields]?: TFields[Key]["Type"] };
|
|
6808
|
+
type KnownJsonData<TFields extends SchemaMap> = { readonly [Key in keyof TFields]?: TFields[Key]["Type"]; };
|
|
6531
6809
|
interface ParsedJsonData<TKnown> {
|
|
6532
6810
|
readonly known: TKnown;
|
|
6533
6811
|
readonly unknown: Record<string, unknown>;
|