@v-office/website-sdk 2.10.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 +7 -3
- 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 +590 -291
- package/dist/index.mjs +1 -1
- package/dist/instructions/CHANGELOG.md +2 -0
- package/dist/instructions/MIGRATION.md +2 -0
- package/dist/instructions/README.md +10 -3
- package/dist/instructions/quote.md +95 -3
- package/dist/instructions/search.md +118 -13
- package/dist/instructions/versions/2.11.0/CHANGELOG.md +28 -0
- package/dist/instructions/versions/2.11.0/MIGRATION.md +72 -0
- 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 +6 -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 +2 -0
- package/instructions/MIGRATION.md +2 -0
- package/instructions/README.md +10 -3
- package/instructions/quote.md +95 -3
- package/instructions/search.md +118 -13
- package/instructions/versions/2.11.0/CHANGELOG.md +28 -0
- package/instructions/versions/2.11.0/MIGRATION.md +72 -0
- 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 +6 -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;
|
|
@@ -350,6 +341,14 @@ declare const searchEffect: (input: SearchSearchInput$1) => Effect.Effect<{
|
|
|
350
341
|
readonly province?: string;
|
|
351
342
|
readonly country?: string;
|
|
352
343
|
};
|
|
344
|
+
readonly formattedTotal?: string;
|
|
345
|
+
readonly discount?: {
|
|
346
|
+
readonly formattedOriginalTotal: string;
|
|
347
|
+
readonly applied: readonly {
|
|
348
|
+
readonly label: string;
|
|
349
|
+
readonly formattedAmount: string;
|
|
350
|
+
}[];
|
|
351
|
+
};
|
|
353
352
|
readonly highlights?: readonly string[];
|
|
354
353
|
readonly property?: {
|
|
355
354
|
readonly id: string;
|
|
@@ -379,7 +378,6 @@ declare const searchEffect: (input: SearchSearchInput$1) => Effect.Effect<{
|
|
|
379
378
|
readonly country?: string;
|
|
380
379
|
};
|
|
381
380
|
};
|
|
382
|
-
readonly formattedTotal?: string;
|
|
383
381
|
}[];
|
|
384
382
|
readonly alternatives?: readonly {
|
|
385
383
|
readonly item: {
|
|
@@ -411,6 +409,14 @@ declare const searchEffect: (input: SearchSearchInput$1) => Effect.Effect<{
|
|
|
411
409
|
readonly province?: string;
|
|
412
410
|
readonly country?: string;
|
|
413
411
|
};
|
|
412
|
+
readonly formattedTotal?: string;
|
|
413
|
+
readonly discount?: {
|
|
414
|
+
readonly formattedOriginalTotal: string;
|
|
415
|
+
readonly applied: readonly {
|
|
416
|
+
readonly label: string;
|
|
417
|
+
readonly formattedAmount: string;
|
|
418
|
+
}[];
|
|
419
|
+
};
|
|
414
420
|
readonly highlights?: readonly string[];
|
|
415
421
|
readonly property?: {
|
|
416
422
|
readonly id: string;
|
|
@@ -440,12 +446,18 @@ declare const searchEffect: (input: SearchSearchInput$1) => Effect.Effect<{
|
|
|
440
446
|
readonly country?: string;
|
|
441
447
|
};
|
|
442
448
|
};
|
|
443
|
-
readonly formattedTotal?: string;
|
|
444
449
|
};
|
|
445
450
|
readonly alternativePeriods: readonly {
|
|
451
|
+
readonly formattedTotal?: string;
|
|
452
|
+
readonly discount?: {
|
|
453
|
+
readonly formattedOriginalTotal: string;
|
|
454
|
+
readonly applied: readonly {
|
|
455
|
+
readonly label: string;
|
|
456
|
+
readonly formattedAmount: string;
|
|
457
|
+
}[];
|
|
458
|
+
};
|
|
446
459
|
readonly start: string;
|
|
447
460
|
readonly end: string;
|
|
448
|
-
readonly formattedTotal?: string;
|
|
449
461
|
}[];
|
|
450
462
|
}[];
|
|
451
463
|
readonly appliedFilters: readonly {
|
|
@@ -562,8 +574,10 @@ declare const submitContactEffect: (input: ContactSubmitInput$1) => Effect.Effec
|
|
|
562
574
|
//#region codegen/v9/v0/generated/openapi-types.d.ts
|
|
563
575
|
interface components$1 {
|
|
564
576
|
schemas: {
|
|
565
|
-
/** @enum {string} */
|
|
566
|
-
|
|
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. */
|
|
567
581
|
GenericVofficeResponse: {
|
|
568
582
|
ok?: boolean;
|
|
569
583
|
trackingId?: string;
|
|
@@ -587,7 +601,9 @@ interface components$1 {
|
|
|
587
601
|
[key: string]: string;
|
|
588
602
|
};
|
|
589
603
|
GeoPoint: {
|
|
590
|
-
/** @constant */
|
|
604
|
+
/** @constant */
|
|
605
|
+
type: "Point";
|
|
606
|
+
/** @description Longitude, latitude. */
|
|
591
607
|
coordinates: number[];
|
|
592
608
|
} & {
|
|
593
609
|
[key: string]: unknown;
|
|
@@ -595,20 +611,24 @@ interface components$1 {
|
|
|
595
611
|
UnitImage: {
|
|
596
612
|
id?: number;
|
|
597
613
|
width?: number;
|
|
598
|
-
height?: number;
|
|
614
|
+
height?: number;
|
|
615
|
+
/** @description Comma-separated image category tags. */
|
|
599
616
|
tag?: string;
|
|
600
617
|
titles?: components$1["schemas"]["LanguageMap"];
|
|
601
618
|
} & {
|
|
602
619
|
[key: string]: unknown;
|
|
603
620
|
};
|
|
604
621
|
RoomDetail: {
|
|
605
|
-
/** @enum {string} */
|
|
622
|
+
/** @enum {string} */
|
|
623
|
+
type?: "BEDROOM" | "LIVINGROOM" | "GALLERY" | "OTHER";
|
|
606
624
|
hasPrivateBathroom?: boolean;
|
|
607
625
|
roomDarkeningOption?: boolean;
|
|
608
626
|
wardrobe?: boolean;
|
|
609
627
|
maxGuests?: number;
|
|
610
628
|
beds?: ({
|
|
611
|
-
/** @enum {string} */
|
|
629
|
+
/** @enum {string} */
|
|
630
|
+
kind?: "SINGLE" | "SMALLDOUBLE" | "DOUBLE" | "KINGSIZE" | "BUNK" | "BUNK4THREE";
|
|
631
|
+
/** @enum {string} */
|
|
612
632
|
type?: "ORDINARY" | "BOXSPRING" | "SOFA" | "LOFT" | "FOLDAWAY_CLOSET" | "FOLDAWAY" | "WATER" | "FUTON" | "HAMMOCK" | "FLOOR_MATTRESS" | "AIR_MATTRESS";
|
|
613
633
|
raisedBeds?: boolean;
|
|
614
634
|
openFootsection?: boolean;
|
|
@@ -643,8 +663,10 @@ interface components$1 {
|
|
|
643
663
|
};
|
|
644
664
|
CancellationPolicy: {
|
|
645
665
|
gracePeriod?: number;
|
|
646
|
-
gracePeriodArrivalInMaxDays?: number;
|
|
647
|
-
|
|
666
|
+
gracePeriodArrivalInMaxDays?: number;
|
|
667
|
+
/** @description Percentage value multiplied by 100. */
|
|
668
|
+
defaultPenalty?: number;
|
|
669
|
+
/** @description Flat fee in cents. */
|
|
648
670
|
cancellationFlatFee?: number;
|
|
649
671
|
byDaysTillArrival?: ({
|
|
650
672
|
daysBeforeArrival?: number;
|
|
@@ -656,14 +678,17 @@ interface components$1 {
|
|
|
656
678
|
[key: string]: unknown;
|
|
657
679
|
};
|
|
658
680
|
UnitPrice: {
|
|
659
|
-
service?: number;
|
|
681
|
+
service?: number;
|
|
682
|
+
/** @description Price in cents. */
|
|
660
683
|
value?: number;
|
|
661
684
|
ask?: number;
|
|
662
685
|
sourceId?: number;
|
|
663
686
|
calculation?: components$1["schemas"]["ServiceCalculation"];
|
|
664
687
|
type?: components$1["schemas"]["ServiceType"];
|
|
665
|
-
season?: string | components$1["schemas"]["LanguageMap"];
|
|
666
|
-
|
|
688
|
+
season?: string | components$1["schemas"]["LanguageMap"];
|
|
689
|
+
/** Format: date */
|
|
690
|
+
fromdate?: string;
|
|
691
|
+
/** Format: date */
|
|
667
692
|
tilldate?: string;
|
|
668
693
|
guestRange?: components$1["schemas"]["NumericRange"];
|
|
669
694
|
nightRange?: components$1["schemas"]["NumericRange"];
|
|
@@ -679,12 +704,16 @@ interface components$1 {
|
|
|
679
704
|
};
|
|
680
705
|
Offer: {
|
|
681
706
|
id?: number;
|
|
682
|
-
name?: components$1["schemas"]["LanguageMap"];
|
|
683
|
-
|
|
707
|
+
name?: components$1["schemas"]["LanguageMap"];
|
|
708
|
+
/** Format: date */
|
|
709
|
+
validfrom?: string;
|
|
710
|
+
/** Format: date */
|
|
684
711
|
validtill?: string;
|
|
685
|
-
minStay?: number;
|
|
712
|
+
minStay?: number;
|
|
713
|
+
/** @enum {string} */
|
|
686
714
|
type?: "EARLYBIRD" | "LASTMINUTE" | "UNITOFDAY";
|
|
687
|
-
timeSpan?: number;
|
|
715
|
+
timeSpan?: number;
|
|
716
|
+
/** @enum {string} */
|
|
688
717
|
discountType?: "XY" | "PERCENT" | "FLAT";
|
|
689
718
|
value?: number;
|
|
690
719
|
services?: number[];
|
|
@@ -710,8 +739,11 @@ interface components$1 {
|
|
|
710
739
|
[key: string]: unknown;
|
|
711
740
|
};
|
|
712
741
|
Feedback: {
|
|
713
|
-
/** Format: date-time */
|
|
714
|
-
|
|
742
|
+
/** Format: date-time */
|
|
743
|
+
arrival?: string;
|
|
744
|
+
/** Format: date-time */
|
|
745
|
+
departure?: string;
|
|
746
|
+
/** Format: date-time */
|
|
715
747
|
onDate?: string;
|
|
716
748
|
forename?: string;
|
|
717
749
|
surname?: string;
|
|
@@ -730,10 +762,13 @@ interface components$1 {
|
|
|
730
762
|
UnitInfo: {
|
|
731
763
|
facility?: number;
|
|
732
764
|
isfacility?: boolean;
|
|
733
|
-
code?: string;
|
|
765
|
+
code?: string;
|
|
766
|
+
/** @enum {string} */
|
|
734
767
|
type?: "HOUSE" | "FLAT" | "ROOM" | "PRIVAT" | "MOBILEHOME" | "YACHT" | "HOUSE_FAC" | "FLAT_FAC" | "HOTEL" | "HOSTEL" | "FARM" | "CAMPGROUND";
|
|
735
|
-
deposit?: number;
|
|
736
|
-
|
|
768
|
+
deposit?: number;
|
|
769
|
+
/** @enum {string} */
|
|
770
|
+
depositLocation?: "WITH_PREPAYMENT" | "WITH_FINALPAYMENT" | "ON_ARRIVAL" | "ON_SITE";
|
|
771
|
+
/** @enum {string} */
|
|
737
772
|
bookable?: "DIRECTLY" | "REVERSED" | "REVERSED_OPT" | "INQUIRY_CAL" | "INQUIRY_NO_CAL";
|
|
738
773
|
bookingLeadTime?: number;
|
|
739
774
|
region?: number | {
|
|
@@ -745,7 +780,8 @@ interface components$1 {
|
|
|
745
780
|
name?: components$1["schemas"]["LanguageMap"];
|
|
746
781
|
facilityName?: components$1["schemas"]["LanguageMap"];
|
|
747
782
|
address?: components$1["schemas"]["UnitAddress"];
|
|
748
|
-
url?: components$1["schemas"]["LanguageMap"];
|
|
783
|
+
url?: components$1["schemas"]["LanguageMap"];
|
|
784
|
+
/** @enum {string} */
|
|
749
785
|
picsOrder?: "FAC_PICS_FIRST" | "FAC_PICS_LAST" | "NO_FAC_PICS";
|
|
750
786
|
images?: components$1["schemas"]["UnitImage"][];
|
|
751
787
|
roomDetails?: components$1["schemas"]["RoomDetail"][];
|
|
@@ -759,14 +795,16 @@ interface components$1 {
|
|
|
759
795
|
};
|
|
760
796
|
UnitExportItem: {
|
|
761
797
|
_id?: number;
|
|
762
|
-
info?: components$1["schemas"]["UnitInfo"];
|
|
798
|
+
info?: components$1["schemas"]["UnitInfo"];
|
|
799
|
+
/** @description vOffice internal customer/member ID. */
|
|
763
800
|
member?: number;
|
|
764
801
|
prices?: components$1["schemas"]["UnitPrice"][];
|
|
765
802
|
offers?: components$1["schemas"]["Offer"][];
|
|
766
803
|
restrictions?: components$1["schemas"]["Restriction"][];
|
|
767
804
|
feedbacks?: components$1["schemas"]["Feedback"][];
|
|
768
805
|
ratings?: components$1["schemas"]["Rating"];
|
|
769
|
-
groups?: number[];
|
|
806
|
+
groups?: number[];
|
|
807
|
+
/** @description ISO 4217 currency code. */
|
|
770
808
|
currency?: string;
|
|
771
809
|
} & {
|
|
772
810
|
[key: string]: unknown;
|
|
@@ -783,7 +821,8 @@ interface components$1 {
|
|
|
783
821
|
_id?: number;
|
|
784
822
|
availability?: ("N" | "Y" | "Q")[];
|
|
785
823
|
changeOver?: ("X" | "C" | "O" | "I")[];
|
|
786
|
-
minStay?: number[];
|
|
824
|
+
minStay?: number[];
|
|
825
|
+
/** Format: date-time */
|
|
787
826
|
availabilityUpdate?: string;
|
|
788
827
|
facilityid?: number;
|
|
789
828
|
} & {
|
|
@@ -795,18 +834,22 @@ interface components$1 {
|
|
|
795
834
|
ok?: boolean;
|
|
796
835
|
} & {
|
|
797
836
|
[key: string]: unknown;
|
|
798
|
-
};
|
|
799
|
-
|
|
837
|
+
};
|
|
838
|
+
/** @enum {string} */
|
|
839
|
+
ServiceCalculation: "FLAT" | "NIGHT" | "DAY" | "WEEK" | "MONTH" | "PERC" | "USAGE";
|
|
840
|
+
/** @enum {string} */
|
|
800
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";
|
|
801
842
|
Service: {
|
|
802
843
|
_id?: number;
|
|
803
844
|
id?: number;
|
|
804
|
-
name?: string | components$1["schemas"]["LanguageMap"];
|
|
845
|
+
name?: string | components$1["schemas"]["LanguageMap"];
|
|
846
|
+
/** @enum {string} */
|
|
805
847
|
summary?: "ADD_NO_SHOW" | "SHOW" | "EXCLUDE";
|
|
806
848
|
calculation?: components$1["schemas"]["ServiceCalculation"];
|
|
807
849
|
constrain?: boolean;
|
|
808
850
|
mandatory?: boolean;
|
|
809
|
-
type?: components$1["schemas"]["ServiceType"];
|
|
851
|
+
type?: components$1["schemas"]["ServiceType"];
|
|
852
|
+
/** @enum {string} */
|
|
810
853
|
charge?: "CUSTOMER" | "OWNER" | "AGENCY";
|
|
811
854
|
ask?: number;
|
|
812
855
|
provider?: string;
|
|
@@ -831,7 +874,8 @@ interface components$1 {
|
|
|
831
874
|
name?: components$1["schemas"]["LanguageMap"];
|
|
832
875
|
description?: components$1["schemas"]["LanguageMap"];
|
|
833
876
|
descriptions?: components$1["schemas"]["LanguageMap"];
|
|
834
|
-
path?: components$1["schemas"]["LanguageMap"];
|
|
877
|
+
path?: components$1["schemas"]["LanguageMap"];
|
|
878
|
+
/** @enum {string} */
|
|
835
879
|
leveltype?: "COUNTRY" | "REGION" | "AREA" | "CITY" | "DISTRICT";
|
|
836
880
|
parent?: number;
|
|
837
881
|
} & {
|
|
@@ -844,11 +888,14 @@ interface components$1 {
|
|
|
844
888
|
[key: string]: unknown;
|
|
845
889
|
};
|
|
846
890
|
SearchUnitsData: {
|
|
847
|
-
/** @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: {
|
|
848
893
|
[key: string]: components$1["schemas"]["ProjectionOptions"];
|
|
849
894
|
};
|
|
850
895
|
filter: {
|
|
851
|
-
/** Format: date */
|
|
896
|
+
/** Format: date */
|
|
897
|
+
from?: string;
|
|
898
|
+
/** Format: date */
|
|
852
899
|
till?: string;
|
|
853
900
|
region?: string;
|
|
854
901
|
regionid?: number;
|
|
@@ -872,7 +919,8 @@ interface components$1 {
|
|
|
872
919
|
} & {
|
|
873
920
|
[key: string]: unknown;
|
|
874
921
|
};
|
|
875
|
-
warnings?: boolean;
|
|
922
|
+
warnings?: boolean;
|
|
923
|
+
/** @description Unit property or one of `price`, `random`, `rating`, `stars`. */
|
|
876
924
|
sorting?: string;
|
|
877
925
|
ids?: number[];
|
|
878
926
|
max?: number;
|
|
@@ -884,7 +932,8 @@ interface components$1 {
|
|
|
884
932
|
[key: string]: unknown;
|
|
885
933
|
};
|
|
886
934
|
ProjectionOptions: {
|
|
887
|
-
/** @enum {string} */
|
|
935
|
+
/** @enum {string} */
|
|
936
|
+
filter?: "vcurrency" | "vsoption" | "vlang" | "vautolang";
|
|
888
937
|
} & {
|
|
889
938
|
[key: string]: unknown;
|
|
890
939
|
};
|
|
@@ -924,7 +973,8 @@ interface components$1 {
|
|
|
924
973
|
};
|
|
925
974
|
CalendarResponse: {
|
|
926
975
|
availability?: ("N" | "Y" | "Q")[];
|
|
927
|
-
changeOver?: ("X" | "C" | "O" | "I")[];
|
|
976
|
+
changeOver?: ("X" | "C" | "O" | "I")[];
|
|
977
|
+
/** Format: date-time */
|
|
928
978
|
availabilityUpdate?: string;
|
|
929
979
|
minStay?: number[];
|
|
930
980
|
ok?: boolean;
|
|
@@ -932,11 +982,16 @@ interface components$1 {
|
|
|
932
982
|
[key: string]: unknown;
|
|
933
983
|
};
|
|
934
984
|
QuotePricesData: {
|
|
935
|
-
unit: number;
|
|
936
|
-
|
|
937
|
-
|
|
938
|
-
|
|
939
|
-
|
|
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 */
|
|
940
995
|
babys: number;
|
|
941
996
|
childrenAges?: string;
|
|
942
997
|
includeServiceLimits?: boolean;
|
|
@@ -947,14 +1002,18 @@ interface components$1 {
|
|
|
947
1002
|
[key: string]: unknown;
|
|
948
1003
|
};
|
|
949
1004
|
QuoteLine: {
|
|
950
|
-
service?: components$1["schemas"]["Service"];
|
|
1005
|
+
service?: components$1["schemas"]["Service"];
|
|
1006
|
+
/** @description Price in cents. */
|
|
951
1007
|
price?: number;
|
|
952
1008
|
calculation?: components$1["schemas"]["ServiceCalculation"];
|
|
953
1009
|
charge?: string;
|
|
954
|
-
season?: string | components$1["schemas"]["LanguageMap"];
|
|
955
|
-
|
|
1010
|
+
season?: string | components$1["schemas"]["LanguageMap"];
|
|
1011
|
+
/** Format: date */
|
|
1012
|
+
fromdate?: string;
|
|
1013
|
+
/** Format: date */
|
|
956
1014
|
tilldate?: string;
|
|
957
|
-
timespan?: number;
|
|
1015
|
+
timespan?: number;
|
|
1016
|
+
/** @description Total in cents. */
|
|
958
1017
|
total?: number;
|
|
959
1018
|
timeLabel?: string;
|
|
960
1019
|
discountName?: string;
|
|
@@ -976,7 +1035,8 @@ interface components$1 {
|
|
|
976
1035
|
};
|
|
977
1036
|
PaymentSchedule: {
|
|
978
1037
|
[key: string]: {
|
|
979
|
-
/** Format: date */
|
|
1038
|
+
/** Format: date */
|
|
1039
|
+
date?: string;
|
|
980
1040
|
amount?: number;
|
|
981
1041
|
percent?: number;
|
|
982
1042
|
includesDeposit?: boolean | number;
|
|
@@ -985,7 +1045,8 @@ interface components$1 {
|
|
|
985
1045
|
};
|
|
986
1046
|
};
|
|
987
1047
|
Deposit: {
|
|
988
|
-
amount?: number;
|
|
1048
|
+
amount?: number;
|
|
1049
|
+
/** @enum {string} */
|
|
989
1050
|
location?: "WITH_PREPAYMENT" | "WITH_FINALPAYMENT" | "ON_ARRIVAL" | "ON_SITE";
|
|
990
1051
|
} & {
|
|
991
1052
|
[key: string]: unknown;
|
|
@@ -1014,7 +1075,8 @@ interface components$1 {
|
|
|
1014
1075
|
[key: string]: unknown;
|
|
1015
1076
|
};
|
|
1016
1077
|
SearchPhoneNumberData: {
|
|
1017
|
-
/** @description E.164 phone number. */
|
|
1078
|
+
/** @description E.164 phone number. */
|
|
1079
|
+
nr: string;
|
|
1018
1080
|
};
|
|
1019
1081
|
CheckCouponData: {
|
|
1020
1082
|
code: string;
|
|
@@ -1034,7 +1096,8 @@ interface components$1 {
|
|
|
1034
1096
|
forename?: string;
|
|
1035
1097
|
surname?: string;
|
|
1036
1098
|
company?: string;
|
|
1037
|
-
mainAddress?: components$1["schemas"]["UnitAddress"];
|
|
1099
|
+
mainAddress?: components$1["schemas"]["UnitAddress"];
|
|
1100
|
+
/** Format: email */
|
|
1038
1101
|
email?: string;
|
|
1039
1102
|
phone?: string;
|
|
1040
1103
|
telcom?: string;
|
|
@@ -1056,8 +1119,10 @@ interface components$1 {
|
|
|
1056
1119
|
price?: number;
|
|
1057
1120
|
discountName?: string;
|
|
1058
1121
|
description?: string;
|
|
1059
|
-
season?: string;
|
|
1060
|
-
|
|
1122
|
+
season?: string;
|
|
1123
|
+
/** Format: date */
|
|
1124
|
+
fromdate?: string;
|
|
1125
|
+
/** Format: date */
|
|
1061
1126
|
tilldate?: string;
|
|
1062
1127
|
specialOffer?: number;
|
|
1063
1128
|
timespan?: number;
|
|
@@ -1070,8 +1135,10 @@ interface components$1 {
|
|
|
1070
1135
|
unit: number;
|
|
1071
1136
|
adults?: number;
|
|
1072
1137
|
children?: number;
|
|
1073
|
-
babys?: number;
|
|
1074
|
-
|
|
1138
|
+
babys?: number;
|
|
1139
|
+
/** Format: date */
|
|
1140
|
+
fromdate: string;
|
|
1141
|
+
/** Format: date */
|
|
1075
1142
|
tilldate: string;
|
|
1076
1143
|
servicelines?: components$1["schemas"]["BookingServiceLine"][];
|
|
1077
1144
|
childrenAges?: string;
|
|
@@ -1084,7 +1151,8 @@ interface components$1 {
|
|
|
1084
1151
|
} & {
|
|
1085
1152
|
[key: string]: unknown;
|
|
1086
1153
|
};
|
|
1087
|
-
bookings: components$1["schemas"]["BookingInput"][];
|
|
1154
|
+
bookings: components$1["schemas"]["BookingInput"][];
|
|
1155
|
+
/** @enum {string} */
|
|
1088
1156
|
action: "offer" | "option" | "booking";
|
|
1089
1157
|
commission?: number;
|
|
1090
1158
|
extraCommission?: {
|
|
@@ -1102,7 +1170,8 @@ interface components$1 {
|
|
|
1102
1170
|
};
|
|
1103
1171
|
PaymentMethods: {
|
|
1104
1172
|
[key: string]: {
|
|
1105
|
-
id?: number;
|
|
1173
|
+
id?: number;
|
|
1174
|
+
/** @enum {string} */
|
|
1106
1175
|
type?: "PAYPAL" | "STRIPE" | "BANKACCOUNT";
|
|
1107
1176
|
paymentTest?: boolean;
|
|
1108
1177
|
paymenturl?: string;
|
|
@@ -1147,8 +1216,10 @@ interface components$1 {
|
|
|
1147
1216
|
[key: string]: unknown;
|
|
1148
1217
|
};
|
|
1149
1218
|
UpdatedBooking: {
|
|
1150
|
-
id?: number;
|
|
1151
|
-
|
|
1219
|
+
id?: number;
|
|
1220
|
+
/** Format: date */
|
|
1221
|
+
fromdate?: string;
|
|
1222
|
+
/** Format: date */
|
|
1152
1223
|
tilldate?: string;
|
|
1153
1224
|
status?: string;
|
|
1154
1225
|
lines?: components$1["schemas"]["QuoteLine"][];
|
|
@@ -1191,16 +1262,22 @@ interface components$1 {
|
|
|
1191
1262
|
[key: string]: unknown;
|
|
1192
1263
|
};
|
|
1193
1264
|
GetDocData: {
|
|
1194
|
-
lang: string;
|
|
1265
|
+
lang: string;
|
|
1266
|
+
/** @enum {string} */
|
|
1195
1267
|
type: "gtc";
|
|
1196
1268
|
};
|
|
1197
1269
|
CheckoutPaymentData: {
|
|
1198
|
-
/** @description Reservation ID. */
|
|
1199
|
-
|
|
1270
|
+
/** @description Reservation ID. */
|
|
1271
|
+
id: number;
|
|
1272
|
+
nr: string;
|
|
1273
|
+
/** @description Amount in cents. */
|
|
1200
1274
|
amount: number;
|
|
1201
|
-
paymentMethodId: number;
|
|
1202
|
-
|
|
1203
|
-
|
|
1275
|
+
paymentMethodId: number;
|
|
1276
|
+
/** Format: uri */
|
|
1277
|
+
rootUrl: string;
|
|
1278
|
+
/** Format: uri */
|
|
1279
|
+
successUrlBase?: string;
|
|
1280
|
+
/** Format: uri */
|
|
1204
1281
|
cancelUrlBase?: string;
|
|
1205
1282
|
} & {
|
|
1206
1283
|
[key: string]: unknown;
|
|
@@ -1215,26 +1292,34 @@ interface components$1 {
|
|
|
1215
1292
|
[key: string]: unknown;
|
|
1216
1293
|
};
|
|
1217
1294
|
form: {
|
|
1218
|
-
/** Format: email */
|
|
1295
|
+
/** Format: email */
|
|
1296
|
+
email: string;
|
|
1219
1297
|
} & {
|
|
1220
1298
|
[key: string]: unknown;
|
|
1221
1299
|
};
|
|
1222
1300
|
} & {
|
|
1223
1301
|
[key: string]: unknown;
|
|
1224
|
-
};
|
|
1225
|
-
|
|
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. */
|
|
1226
1306
|
SaveMessageData: {
|
|
1227
|
-
/** @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. */
|
|
1228
1310
|
form: {
|
|
1229
1311
|
[key: string]: components$1["schemas"]["MessageFormValue"];
|
|
1230
|
-
};
|
|
1312
|
+
};
|
|
1313
|
+
/** @description Human-readable labels keyed by technical field name. */
|
|
1231
1314
|
labels: {
|
|
1232
1315
|
[key: string]: string;
|
|
1233
|
-
};
|
|
1316
|
+
};
|
|
1317
|
+
/** @description Field order used when rendering or storing the message. */
|
|
1234
1318
|
order: string[];
|
|
1235
1319
|
} & {
|
|
1236
1320
|
[key: string]: unknown;
|
|
1237
|
-
};
|
|
1321
|
+
};
|
|
1322
|
+
/** @description Response returned by `actionName=saveMessage`. */
|
|
1238
1323
|
SaveMessageResponse: {
|
|
1239
1324
|
trackingId?: string;
|
|
1240
1325
|
ok?: boolean;
|
|
@@ -1259,7 +1344,8 @@ interface components$1 {
|
|
|
1259
1344
|
bookingId: number;
|
|
1260
1345
|
formData: ({
|
|
1261
1346
|
id?: number;
|
|
1262
|
-
name?: string;
|
|
1347
|
+
name?: string;
|
|
1348
|
+
/** @enum {string} */
|
|
1263
1349
|
type?: "STARS" | "TEXT";
|
|
1264
1350
|
value?: number | string;
|
|
1265
1351
|
} & {
|
|
@@ -1279,7 +1365,8 @@ interface components$1 {
|
|
|
1279
1365
|
housenumber?: string;
|
|
1280
1366
|
city?: string;
|
|
1281
1367
|
postalcode?: string;
|
|
1282
|
-
country?: string;
|
|
1368
|
+
country?: string;
|
|
1369
|
+
/** Format: email */
|
|
1283
1370
|
email?: string;
|
|
1284
1371
|
mobile?: string;
|
|
1285
1372
|
} & {
|
|
@@ -1289,7 +1376,8 @@ interface components$1 {
|
|
|
1289
1376
|
[key: string]: unknown;
|
|
1290
1377
|
};
|
|
1291
1378
|
SetReservationStatusData: {
|
|
1292
|
-
/** @enum {string} */
|
|
1379
|
+
/** @enum {string} */
|
|
1380
|
+
status: "CONFIRMED";
|
|
1293
1381
|
bookingId: number;
|
|
1294
1382
|
};
|
|
1295
1383
|
SetArrivalTimeData: {
|
|
@@ -1301,7 +1389,8 @@ interface components$1 {
|
|
|
1301
1389
|
bookingId: number;
|
|
1302
1390
|
};
|
|
1303
1391
|
GetDocumentData: {
|
|
1304
|
-
/** @enum {string} */
|
|
1392
|
+
/** @enum {string} */
|
|
1393
|
+
type: "gtc" | "privacy";
|
|
1305
1394
|
token: string;
|
|
1306
1395
|
};
|
|
1307
1396
|
InitStripePaymentData: components$1["schemas"]["CheckoutPaymentData"];
|
|
@@ -1319,15 +1408,18 @@ interface components$1 {
|
|
|
1319
1408
|
[key: string]: unknown;
|
|
1320
1409
|
};
|
|
1321
1410
|
preferredLanguage?: string;
|
|
1322
|
-
reservationNumber?: string;
|
|
1411
|
+
reservationNumber?: string;
|
|
1412
|
+
/** Format: date */
|
|
1323
1413
|
reservationDate?: string;
|
|
1324
1414
|
bookingId?: number;
|
|
1325
1415
|
customer?: {
|
|
1326
1416
|
[key: string]: unknown;
|
|
1327
1417
|
};
|
|
1328
1418
|
status?: string;
|
|
1329
|
-
arrivalStatus?: string | null;
|
|
1330
|
-
|
|
1419
|
+
arrivalStatus?: string | null;
|
|
1420
|
+
/** Format: date */
|
|
1421
|
+
from?: string;
|
|
1422
|
+
/** Format: date */
|
|
1331
1423
|
till?: string;
|
|
1332
1424
|
totalDays?: number;
|
|
1333
1425
|
totalPersons?: number;
|
|
@@ -1370,28 +1462,39 @@ interface components$1 {
|
|
|
1370
1462
|
[key: string]: unknown;
|
|
1371
1463
|
};
|
|
1372
1464
|
TravelInsurancePlansData: {
|
|
1373
|
-
/** @enum {string} */
|
|
1465
|
+
/** @enum {string} */
|
|
1466
|
+
target?: "test" | "production";
|
|
1374
1467
|
debug?: boolean;
|
|
1375
|
-
totalBookingAmount: number;
|
|
1376
|
-
|
|
1468
|
+
totalBookingAmount: number;
|
|
1469
|
+
/** Format: date */
|
|
1470
|
+
fromdate: string;
|
|
1471
|
+
/** Format: date */
|
|
1377
1472
|
tilldate: string;
|
|
1378
1473
|
adults: number;
|
|
1379
1474
|
children: number;
|
|
1380
|
-
babys: number;
|
|
1475
|
+
babys: number;
|
|
1476
|
+
/** @enum {string} */
|
|
1381
1477
|
forceTravelInsuranceMode?: "test" | "production";
|
|
1382
1478
|
} & {
|
|
1383
1479
|
[key: string]: unknown;
|
|
1384
1480
|
};
|
|
1385
1481
|
TravelInsurancePlan: {
|
|
1386
1482
|
planid?: string;
|
|
1387
|
-
name?: string;
|
|
1388
|
-
|
|
1483
|
+
name?: string;
|
|
1484
|
+
/** Format: date */
|
|
1485
|
+
expireDate?: string;
|
|
1486
|
+
/** Format: date */
|
|
1389
1487
|
effectiveDate?: string;
|
|
1390
|
-
featured?: string;
|
|
1391
|
-
|
|
1392
|
-
|
|
1393
|
-
|
|
1394
|
-
|
|
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 */
|
|
1395
1498
|
logoUnderwriterUrl?: string;
|
|
1396
1499
|
planCost?: {
|
|
1397
1500
|
currencyCode?: string;
|
|
@@ -1412,7 +1515,8 @@ interface components$1 {
|
|
|
1412
1515
|
};
|
|
1413
1516
|
TravelInsurancePlansResponse: {
|
|
1414
1517
|
trackingId?: string;
|
|
1415
|
-
ok?: boolean;
|
|
1518
|
+
ok?: boolean;
|
|
1519
|
+
/** @enum {string} */
|
|
1416
1520
|
target?: "test" | "production";
|
|
1417
1521
|
errors?: {
|
|
1418
1522
|
[key: string]: unknown;
|
|
@@ -1428,30 +1532,40 @@ interface components$1 {
|
|
|
1428
1532
|
debug?: boolean;
|
|
1429
1533
|
bookingId: number;
|
|
1430
1534
|
plan: {
|
|
1431
|
-
planid: string;
|
|
1535
|
+
planid: string;
|
|
1536
|
+
/** @description Amount in cents. */
|
|
1432
1537
|
amount: number;
|
|
1433
|
-
};
|
|
1434
|
-
|
|
1538
|
+
};
|
|
1539
|
+
/** @enum {string} */
|
|
1540
|
+
forceTravelInsuranceTarget?: "test" | "production";
|
|
1541
|
+
/** @enum {string} */
|
|
1435
1542
|
forceTravelInsuranceBookingMode?: "test" | "production";
|
|
1436
1543
|
} & {
|
|
1437
1544
|
[key: string]: unknown;
|
|
1438
1545
|
};
|
|
1439
1546
|
TravelInsurance: {
|
|
1440
1547
|
id?: number;
|
|
1441
|
-
policyid?: string;
|
|
1442
|
-
|
|
1443
|
-
|
|
1548
|
+
policyid?: string;
|
|
1549
|
+
/** @enum {string} */
|
|
1550
|
+
target?: "test" | "production";
|
|
1551
|
+
/** @enum {string} */
|
|
1552
|
+
mode?: "test" | "production";
|
|
1553
|
+
/** Format: uri */
|
|
1444
1554
|
paymentUrl?: string;
|
|
1445
1555
|
planid?: string;
|
|
1446
1556
|
amount?: number;
|
|
1447
1557
|
booked?: string;
|
|
1448
|
-
changed?: string;
|
|
1449
|
-
|
|
1558
|
+
changed?: string;
|
|
1559
|
+
/** @enum {string} */
|
|
1560
|
+
status?: "REQUEST" | "BOOKED" | "BOOKEDERROR" | "CANCELREQUEST" | "CANCELED" | "CANCELEDERROR";
|
|
1561
|
+
/** @enum {string} */
|
|
1450
1562
|
status_payment?: "UNKNOWN" | "BOOKED" | "ERROR" | "ABORTED" | "PAYMENT_DEADLINE_EXPIRED";
|
|
1451
1563
|
errortext?: string;
|
|
1452
1564
|
bookingTotal?: number;
|
|
1453
|
-
tarifLimit?: number;
|
|
1454
|
-
|
|
1565
|
+
tarifLimit?: number;
|
|
1566
|
+
/** Format: date */
|
|
1567
|
+
fromdate?: string;
|
|
1568
|
+
/** Format: date */
|
|
1455
1569
|
tilldate?: string;
|
|
1456
1570
|
cancellable?: boolean | "onrequest";
|
|
1457
1571
|
tarifLimitExceeded?: boolean;
|
|
@@ -1480,7 +1594,8 @@ interface components$1 {
|
|
|
1480
1594
|
* @description 5 means customer cancellation within 14 days.
|
|
1481
1595
|
* @enum {integer}
|
|
1482
1596
|
*/
|
|
1483
|
-
cancelReasonId: 1 | 2 | 3 | 4 | 5;
|
|
1597
|
+
cancelReasonId: 1 | 2 | 3 | 4 | 5;
|
|
1598
|
+
/** @enum {string} */
|
|
1484
1599
|
forceTravelInsuranceTarget?: "test" | "production";
|
|
1485
1600
|
} & {
|
|
1486
1601
|
[key: string]: unknown;
|
|
@@ -1488,10 +1603,15 @@ interface components$1 {
|
|
|
1488
1603
|
};
|
|
1489
1604
|
responses: never;
|
|
1490
1605
|
parameters: {
|
|
1491
|
-
/** @description vOffice action to execute. */
|
|
1492
|
-
|
|
1493
|
-
|
|
1494
|
-
|
|
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. */
|
|
1495
1615
|
LastId: number;
|
|
1496
1616
|
};
|
|
1497
1617
|
requestBodies: never;
|
|
@@ -1502,27 +1622,49 @@ interface operations$1 {
|
|
|
1502
1622
|
proxyVofficeAction: {
|
|
1503
1623
|
parameters: {
|
|
1504
1624
|
query: {
|
|
1505
|
-
/** @description vOffice action to execute. */
|
|
1506
|
-
|
|
1507
|
-
|
|
1508
|
-
|
|
1509
|
-
|
|
1510
|
-
|
|
1511
|
-
|
|
1512
|
-
|
|
1513
|
-
|
|
1514
|
-
|
|
1515
|
-
|
|
1516
|
-
|
|
1517
|
-
|
|
1518
|
-
|
|
1519
|
-
|
|
1520
|
-
|
|
1521
|
-
|
|
1522
|
-
|
|
1523
|
-
|
|
1524
|
-
|
|
1525
|
-
|
|
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. */
|
|
1526
1668
|
channelPrices?: boolean;
|
|
1527
1669
|
};
|
|
1528
1670
|
header?: never;
|
|
@@ -1531,28 +1673,34 @@ interface operations$1 {
|
|
|
1531
1673
|
};
|
|
1532
1674
|
requestBody?: never;
|
|
1533
1675
|
responses: {
|
|
1534
|
-
/** @description vOffice JSON response. Exact shape depends on `actionName`. */
|
|
1676
|
+
/** @description vOffice JSON response. Exact shape depends on `actionName`. */
|
|
1677
|
+
200: {
|
|
1535
1678
|
headers: {
|
|
1536
|
-
/** @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`. */
|
|
1537
1682
|
Vary?: string;
|
|
1538
1683
|
[name: string]: unknown;
|
|
1539
1684
|
};
|
|
1540
1685
|
content: {
|
|
1541
1686
|
"application/json": components$1["schemas"]["VofficeProxyResponse"];
|
|
1542
1687
|
};
|
|
1543
|
-
};
|
|
1688
|
+
};
|
|
1689
|
+
/** @description Missing or invalid be-on API key. */
|
|
1544
1690
|
401: {
|
|
1545
1691
|
headers: {
|
|
1546
1692
|
[name: string]: unknown;
|
|
1547
1693
|
};
|
|
1548
1694
|
content?: never;
|
|
1549
|
-
};
|
|
1695
|
+
};
|
|
1696
|
+
/** @description Upstream or proxy client error. */
|
|
1550
1697
|
"4XX": {
|
|
1551
1698
|
headers: {
|
|
1552
1699
|
[name: string]: unknown;
|
|
1553
1700
|
};
|
|
1554
1701
|
content?: never;
|
|
1555
|
-
};
|
|
1702
|
+
};
|
|
1703
|
+
/** @description Upstream or proxy server error. */
|
|
1556
1704
|
"5XX": {
|
|
1557
1705
|
headers: {
|
|
1558
1706
|
[name: string]: unknown;
|
|
@@ -1570,12 +1718,14 @@ interface operations$1 {
|
|
|
1570
1718
|
};
|
|
1571
1719
|
requestBody?: never;
|
|
1572
1720
|
responses: {
|
|
1573
|
-
/** @description Empty preflight response. */
|
|
1721
|
+
/** @description Empty preflight response. */
|
|
1722
|
+
204: {
|
|
1574
1723
|
headers: {
|
|
1575
1724
|
[name: string]: unknown;
|
|
1576
1725
|
};
|
|
1577
1726
|
content?: never;
|
|
1578
|
-
};
|
|
1727
|
+
};
|
|
1728
|
+
/** @description Preflight rejected. */
|
|
1579
1729
|
"4XX": {
|
|
1580
1730
|
headers: {
|
|
1581
1731
|
[name: string]: unknown;
|
|
@@ -2332,7 +2482,7 @@ declare const V0OpenApiClientErrorBase: new (args: V0OpenApiClientErrorOptions)
|
|
|
2332
2482
|
readonly _tag: "V0OpenApiClientError";
|
|
2333
2483
|
};
|
|
2334
2484
|
declare class V0OpenApiClientError extends V0OpenApiClientErrorBase {}
|
|
2335
|
-
type Simplify$1<T> = { readonly [Key in keyof T]: T[Key] } & {};
|
|
2485
|
+
type Simplify$1<T> = { readonly [Key in keyof T]: T[Key]; } & {};
|
|
2336
2486
|
type V0OpenApiOperationId = Extract<V0OperationId, keyof operations$1>;
|
|
2337
2487
|
type OperationParameters$1<TOperation extends V0OpenApiOperationId> = operations$1[TOperation] extends {
|
|
2338
2488
|
readonly parameters: infer Parameters;
|
|
@@ -2477,7 +2627,8 @@ interface paths {
|
|
|
2477
2627
|
header?: never;
|
|
2478
2628
|
path?: never;
|
|
2479
2629
|
cookie?: never;
|
|
2480
|
-
};
|
|
2630
|
+
};
|
|
2631
|
+
/** List unit IDs */
|
|
2481
2632
|
get: operations["listUnitIds"];
|
|
2482
2633
|
put?: never;
|
|
2483
2634
|
post?: never;
|
|
@@ -2513,7 +2664,8 @@ interface paths {
|
|
|
2513
2664
|
header?: never;
|
|
2514
2665
|
path?: never;
|
|
2515
2666
|
cookie?: never;
|
|
2516
|
-
};
|
|
2667
|
+
};
|
|
2668
|
+
/** Get one region */
|
|
2517
2669
|
get: operations["getRegion"];
|
|
2518
2670
|
put?: never;
|
|
2519
2671
|
post?: never;
|
|
@@ -2549,7 +2701,8 @@ interface paths {
|
|
|
2549
2701
|
header?: never;
|
|
2550
2702
|
path?: never;
|
|
2551
2703
|
cookie?: never;
|
|
2552
|
-
};
|
|
2704
|
+
};
|
|
2705
|
+
/** Get one service */
|
|
2553
2706
|
get: operations["getService"];
|
|
2554
2707
|
put?: never;
|
|
2555
2708
|
post?: never;
|
|
@@ -2585,7 +2738,8 @@ interface paths {
|
|
|
2585
2738
|
header?: never;
|
|
2586
2739
|
path?: never;
|
|
2587
2740
|
cookie?: never;
|
|
2588
|
-
};
|
|
2741
|
+
};
|
|
2742
|
+
/** Get one facility */
|
|
2589
2743
|
get: operations["getFacility"];
|
|
2590
2744
|
put?: never;
|
|
2591
2745
|
post?: never;
|
|
@@ -2641,7 +2795,8 @@ interface paths {
|
|
|
2641
2795
|
header?: never;
|
|
2642
2796
|
path?: never;
|
|
2643
2797
|
cookie?: never;
|
|
2644
|
-
};
|
|
2798
|
+
};
|
|
2799
|
+
/** List documents for a unit */
|
|
2645
2800
|
get: operations["listUnitDocuments"];
|
|
2646
2801
|
put?: never;
|
|
2647
2802
|
post?: never;
|
|
@@ -2663,7 +2818,8 @@ interface paths {
|
|
|
2663
2818
|
post?: never;
|
|
2664
2819
|
delete?: never;
|
|
2665
2820
|
options?: never;
|
|
2666
|
-
head?: never;
|
|
2821
|
+
head?: never;
|
|
2822
|
+
/** Accept or decline a document */
|
|
2667
2823
|
patch: operations["updateDocumentStatus"];
|
|
2668
2824
|
trace?: never;
|
|
2669
2825
|
};
|
|
@@ -2673,7 +2829,8 @@ interface paths {
|
|
|
2673
2829
|
header?: never;
|
|
2674
2830
|
path?: never;
|
|
2675
2831
|
cookie?: never;
|
|
2676
|
-
};
|
|
2832
|
+
};
|
|
2833
|
+
/** Get a unit video */
|
|
2677
2834
|
get: operations["getUnitVideo"];
|
|
2678
2835
|
put?: never;
|
|
2679
2836
|
post?: never;
|
|
@@ -2689,7 +2846,8 @@ interface paths {
|
|
|
2689
2846
|
header?: never;
|
|
2690
2847
|
path?: never;
|
|
2691
2848
|
cookie?: never;
|
|
2692
|
-
};
|
|
2849
|
+
};
|
|
2850
|
+
/** Get a member frontpage video */
|
|
2693
2851
|
get: operations["getFrontpageVideo"];
|
|
2694
2852
|
put?: never;
|
|
2695
2853
|
post?: never;
|
|
@@ -2705,7 +2863,8 @@ interface paths {
|
|
|
2705
2863
|
header?: never;
|
|
2706
2864
|
path?: never;
|
|
2707
2865
|
cookie?: never;
|
|
2708
|
-
};
|
|
2866
|
+
};
|
|
2867
|
+
/** List portal tiles */
|
|
2709
2868
|
get: operations["listTiles"];
|
|
2710
2869
|
put?: never;
|
|
2711
2870
|
post?: never;
|
|
@@ -2721,7 +2880,8 @@ interface paths {
|
|
|
2721
2880
|
header?: never;
|
|
2722
2881
|
path?: never;
|
|
2723
2882
|
cookie?: never;
|
|
2724
|
-
};
|
|
2883
|
+
};
|
|
2884
|
+
/** Ping ERGO/ERV travel cancellation insurance */
|
|
2725
2885
|
get: operations["pingErgoTravelCancellationInsurance"];
|
|
2726
2886
|
put?: never;
|
|
2727
2887
|
post?: never;
|
|
@@ -2739,7 +2899,8 @@ interface paths {
|
|
|
2739
2899
|
cookie?: never;
|
|
2740
2900
|
};
|
|
2741
2901
|
get?: never;
|
|
2742
|
-
put?: never;
|
|
2902
|
+
put?: never;
|
|
2903
|
+
/** Search ERGO/ERV insurance plans */
|
|
2743
2904
|
post: operations["searchErgoTravelCancellationInsurancePlans"];
|
|
2744
2905
|
delete?: never;
|
|
2745
2906
|
options?: never;
|
|
@@ -2755,7 +2916,8 @@ interface paths {
|
|
|
2755
2916
|
cookie?: never;
|
|
2756
2917
|
};
|
|
2757
2918
|
get?: never;
|
|
2758
|
-
put?: never;
|
|
2919
|
+
put?: never;
|
|
2920
|
+
/** Create ERGO/ERV pre-contractual information */
|
|
2759
2921
|
post: operations["createErgoPreContract"];
|
|
2760
2922
|
delete?: never;
|
|
2761
2923
|
options?: never;
|
|
@@ -2771,7 +2933,8 @@ interface paths {
|
|
|
2771
2933
|
cookie?: never;
|
|
2772
2934
|
};
|
|
2773
2935
|
get?: never;
|
|
2774
|
-
put?: never;
|
|
2936
|
+
put?: never;
|
|
2937
|
+
/** Read ERGO/ERV pre-contractual information */
|
|
2775
2938
|
post: operations["readErgoPreContract"];
|
|
2776
2939
|
delete?: never;
|
|
2777
2940
|
options?: never;
|
|
@@ -2787,7 +2950,8 @@ interface paths {
|
|
|
2787
2950
|
cookie?: never;
|
|
2788
2951
|
};
|
|
2789
2952
|
get?: never;
|
|
2790
|
-
put?: never;
|
|
2953
|
+
put?: never;
|
|
2954
|
+
/** Book ERGO/ERV insurance */
|
|
2791
2955
|
post: operations["bookErgoTravelCancellationInsurance"];
|
|
2792
2956
|
delete?: never;
|
|
2793
2957
|
options?: never;
|
|
@@ -2803,7 +2967,8 @@ interface paths {
|
|
|
2803
2967
|
cookie?: never;
|
|
2804
2968
|
};
|
|
2805
2969
|
get?: never;
|
|
2806
|
-
put?: never;
|
|
2970
|
+
put?: never;
|
|
2971
|
+
/** Read ERGO/ERV insurance by policy number */
|
|
2807
2972
|
post: operations["readErgoTravelCancellationInsurance"];
|
|
2808
2973
|
delete?: never;
|
|
2809
2974
|
options?: never;
|
|
@@ -2819,7 +2984,8 @@ interface paths {
|
|
|
2819
2984
|
cookie?: never;
|
|
2820
2985
|
};
|
|
2821
2986
|
get?: never;
|
|
2822
|
-
put?: never;
|
|
2987
|
+
put?: never;
|
|
2988
|
+
/** Cancel ERGO/ERV insurance by policy number */
|
|
2823
2989
|
post: operations["cancelErgoTravelCancellationInsurance"];
|
|
2824
2990
|
delete?: never;
|
|
2825
2991
|
options?: never;
|
|
@@ -2833,9 +2999,11 @@ interface paths {
|
|
|
2833
2999
|
header?: never;
|
|
2834
3000
|
path?: never;
|
|
2835
3001
|
cookie?: never;
|
|
2836
|
-
};
|
|
3002
|
+
};
|
|
3003
|
+
/** Find a travel insurance booking */
|
|
2837
3004
|
get: operations["findTravelInsuranceBooking"];
|
|
2838
|
-
put?: never;
|
|
3005
|
+
put?: never;
|
|
3006
|
+
/** Create or update a travel insurance booking */
|
|
2839
3007
|
post: operations["storeTravelInsuranceBooking"];
|
|
2840
3008
|
delete?: never;
|
|
2841
3009
|
options?: never;
|
|
@@ -2849,10 +3017,12 @@ interface paths {
|
|
|
2849
3017
|
header?: never;
|
|
2850
3018
|
path?: never;
|
|
2851
3019
|
cookie?: never;
|
|
2852
|
-
};
|
|
3020
|
+
};
|
|
3021
|
+
/** Get a travel insurance booking */
|
|
2853
3022
|
get: operations["getTravelInsuranceBooking"];
|
|
2854
3023
|
put?: never;
|
|
2855
|
-
post?: never;
|
|
3024
|
+
post?: never;
|
|
3025
|
+
/** Delete a travel insurance booking */
|
|
2856
3026
|
delete: operations["deleteTravelInsuranceBooking"];
|
|
2857
3027
|
options?: never;
|
|
2858
3028
|
head?: never;
|
|
@@ -2865,7 +3035,8 @@ interface paths {
|
|
|
2865
3035
|
header?: never;
|
|
2866
3036
|
path?: never;
|
|
2867
3037
|
cookie?: never;
|
|
2868
|
-
};
|
|
3038
|
+
};
|
|
3039
|
+
/** List imported service prices for a unit */
|
|
2869
3040
|
get: operations["listUnitServicePrices"];
|
|
2870
3041
|
put?: never;
|
|
2871
3042
|
post?: never;
|
|
@@ -2881,7 +3052,8 @@ interface paths {
|
|
|
2881
3052
|
header?: never;
|
|
2882
3053
|
path?: never;
|
|
2883
3054
|
cookie?: never;
|
|
2884
|
-
};
|
|
3055
|
+
};
|
|
3056
|
+
/** List non-voucher offers for a unit */
|
|
2885
3057
|
get: operations["listUnitOffers"];
|
|
2886
3058
|
put?: never;
|
|
2887
3059
|
post?: never;
|
|
@@ -2897,7 +3069,8 @@ interface paths {
|
|
|
2897
3069
|
header?: never;
|
|
2898
3070
|
path?: never;
|
|
2899
3071
|
cookie?: never;
|
|
2900
|
-
};
|
|
3072
|
+
};
|
|
3073
|
+
/** List group IDs for a unit */
|
|
2901
3074
|
get: operations["listUnitGroupIds"];
|
|
2902
3075
|
put?: never;
|
|
2903
3076
|
post?: never;
|
|
@@ -2913,7 +3086,8 @@ interface paths {
|
|
|
2913
3086
|
header?: never;
|
|
2914
3087
|
path?: never;
|
|
2915
3088
|
cookie?: never;
|
|
2916
|
-
};
|
|
3089
|
+
};
|
|
3090
|
+
/** Get settings for the current key */
|
|
2917
3091
|
get: operations["getSetup"];
|
|
2918
3092
|
put?: never;
|
|
2919
3093
|
post?: never;
|
|
@@ -2929,7 +3103,8 @@ interface paths {
|
|
|
2929
3103
|
header?: never;
|
|
2930
3104
|
path?: never;
|
|
2931
3105
|
cookie?: never;
|
|
2932
|
-
};
|
|
3106
|
+
};
|
|
3107
|
+
/** Get the current vOffice member IDs */
|
|
2933
3108
|
get: operations["getCurrentMember"];
|
|
2934
3109
|
put?: never;
|
|
2935
3110
|
post?: never;
|
|
@@ -2945,7 +3120,8 @@ interface paths {
|
|
|
2945
3120
|
header?: never;
|
|
2946
3121
|
path?: never;
|
|
2947
3122
|
cookie?: never;
|
|
2948
|
-
};
|
|
3123
|
+
};
|
|
3124
|
+
/** List published OnOffice units for a vOffice member */
|
|
2949
3125
|
get: operations["listOnOfficeUnits"];
|
|
2950
3126
|
put?: never;
|
|
2951
3127
|
post?: never;
|
|
@@ -2960,7 +3136,8 @@ interface components {
|
|
|
2960
3136
|
schemas: {
|
|
2961
3137
|
ApiEnvelopeBase: {
|
|
2962
3138
|
ok: boolean;
|
|
2963
|
-
};
|
|
3139
|
+
};
|
|
3140
|
+
/** @description Raw imported or proxied vOffice object. Consumers should preserve unknown fields. */
|
|
2964
3141
|
RawVofficeObject: {
|
|
2965
3142
|
[key: string]: unknown;
|
|
2966
3143
|
};
|
|
@@ -2968,7 +3145,8 @@ interface components {
|
|
|
2968
3145
|
data: components["schemas"]["RawVofficeObject"];
|
|
2969
3146
|
};
|
|
2970
3147
|
UnitListItem: components["schemas"]["RawVofficeObject"] & {
|
|
2971
|
-
/** @description vOffice unit ID. */
|
|
3148
|
+
/** @description vOffice unit ID. */
|
|
3149
|
+
id: number;
|
|
2972
3150
|
};
|
|
2973
3151
|
UnitListResponse: components["schemas"]["ApiEnvelopeBase"] & {
|
|
2974
3152
|
data: components["schemas"]["UnitListItem"][];
|
|
@@ -2981,7 +3159,8 @@ interface components {
|
|
|
2981
3159
|
images: components["schemas"]["RoomImage"][];
|
|
2982
3160
|
};
|
|
2983
3161
|
RoomImage: {
|
|
2984
|
-
/** Format: uri */
|
|
3162
|
+
/** Format: uri */
|
|
3163
|
+
path?: string;
|
|
2985
3164
|
name?: string | null;
|
|
2986
3165
|
title?: string | null;
|
|
2987
3166
|
description?: string | null;
|
|
@@ -3007,17 +3186,20 @@ interface components {
|
|
|
3007
3186
|
data: components["schemas"]["RawVofficeObject"][];
|
|
3008
3187
|
};
|
|
3009
3188
|
CalendarResponse: {
|
|
3010
|
-
/** @description Map keyed by date (`YYYY-MM-DD`). */
|
|
3189
|
+
/** @description Map keyed by date (`YYYY-MM-DD`). */
|
|
3190
|
+
caldata_beon: {
|
|
3011
3191
|
[key: string]: components["schemas"]["CalendarDay"];
|
|
3012
3192
|
};
|
|
3013
3193
|
events: {
|
|
3014
3194
|
[key: string]: unknown;
|
|
3015
3195
|
}[];
|
|
3016
|
-
ok: boolean;
|
|
3196
|
+
ok: boolean;
|
|
3197
|
+
/** Format: date */
|
|
3017
3198
|
max_date: string | null;
|
|
3018
3199
|
};
|
|
3019
3200
|
CalendarDay: {
|
|
3020
|
-
tooltip: string;
|
|
3201
|
+
tooltip: string;
|
|
3202
|
+
/** @enum {string} */
|
|
3021
3203
|
class: "check-in" | "available" | "check-out" | "unavailable";
|
|
3022
3204
|
locked: boolean;
|
|
3023
3205
|
minStay: number;
|
|
@@ -3054,25 +3236,33 @@ interface components {
|
|
|
3054
3236
|
serviceLimits?: {
|
|
3055
3237
|
[key: string]: components["schemas"]["ServiceLimit"];
|
|
3056
3238
|
};
|
|
3057
|
-
travelInsuranceIsSetup?: boolean;
|
|
3239
|
+
travelInsuranceIsSetup?: boolean;
|
|
3240
|
+
/** @example EUR */
|
|
3058
3241
|
currency?: string;
|
|
3059
3242
|
} & {
|
|
3060
3243
|
[key: string]: unknown;
|
|
3061
3244
|
};
|
|
3062
3245
|
QuoteLine: {
|
|
3063
|
-
service?: components["schemas"]["QuoteService"];
|
|
3064
|
-
|
|
3065
|
-
|
|
3246
|
+
service?: components["schemas"]["QuoteService"];
|
|
3247
|
+
/** @description Price in minor currency units. */
|
|
3248
|
+
price?: number;
|
|
3249
|
+
/** @example NIGHT */
|
|
3250
|
+
calculation?: string;
|
|
3251
|
+
/** @example CUSTOMER */
|
|
3066
3252
|
charge?: string;
|
|
3067
3253
|
annotation?: string | null;
|
|
3068
|
-
season?: string | null;
|
|
3069
|
-
|
|
3254
|
+
season?: string | null;
|
|
3255
|
+
/** Format: date */
|
|
3256
|
+
fromdate?: string | null;
|
|
3257
|
+
/** Format: date */
|
|
3070
3258
|
tilldate?: string | null;
|
|
3071
|
-
timespan?: number | null;
|
|
3259
|
+
timespan?: number | null;
|
|
3260
|
+
/** @description Total in minor currency units. */
|
|
3072
3261
|
total?: number;
|
|
3073
3262
|
timeLabel?: string | null;
|
|
3074
3263
|
amount?: number | null;
|
|
3075
|
-
tags?: string[];
|
|
3264
|
+
tags?: string[];
|
|
3265
|
+
/** @description Locally enriched service metadata. vOffice may return an empty array when no metadata is present. */
|
|
3076
3266
|
beon_data?: components["schemas"]["ServiceBeonData"] | unknown[];
|
|
3077
3267
|
} & {
|
|
3078
3268
|
[key: string]: unknown;
|
|
@@ -3103,7 +3293,8 @@ interface components {
|
|
|
3103
3293
|
[key: string]: unknown;
|
|
3104
3294
|
};
|
|
3105
3295
|
ServiceImage: {
|
|
3106
|
-
/** Format: uri */
|
|
3296
|
+
/** Format: uri */
|
|
3297
|
+
url?: string;
|
|
3107
3298
|
title?: string | null;
|
|
3108
3299
|
description?: string | null;
|
|
3109
3300
|
};
|
|
@@ -3113,7 +3304,8 @@ interface components {
|
|
|
3113
3304
|
total?: components["schemas"]["PaymentScheduleItem"];
|
|
3114
3305
|
};
|
|
3115
3306
|
PaymentScheduleItem: {
|
|
3116
|
-
/** Format: date */
|
|
3307
|
+
/** Format: date */
|
|
3308
|
+
date?: string;
|
|
3117
3309
|
amount?: number;
|
|
3118
3310
|
percent?: number;
|
|
3119
3311
|
};
|
|
@@ -3121,8 +3313,10 @@ interface components {
|
|
|
3121
3313
|
maxPerBooking?: number | null;
|
|
3122
3314
|
maxDaysAfterBooking?: number | null;
|
|
3123
3315
|
minDaysBeforeArrival?: number | null;
|
|
3124
|
-
};
|
|
3125
|
-
|
|
3316
|
+
};
|
|
3317
|
+
/** @enum {string} */
|
|
3318
|
+
DocumentType: "invoice" | "cost_estimate" | "credit_note";
|
|
3319
|
+
/** @enum {string} */
|
|
3126
3320
|
DocumentStatus: "submitted" | "accepted" | "declined";
|
|
3127
3321
|
DocumentCollectionResponse: {
|
|
3128
3322
|
data: components["schemas"]["DocumentSummary"][];
|
|
@@ -3136,14 +3330,18 @@ interface components {
|
|
|
3136
3330
|
DocumentSummary: {
|
|
3137
3331
|
id?: number;
|
|
3138
3332
|
name?: string;
|
|
3139
|
-
status?: components["schemas"]["DocumentStatus"];
|
|
3140
|
-
|
|
3141
|
-
|
|
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 */
|
|
3142
3339
|
pdf?: string | null;
|
|
3143
3340
|
service_provider?: string | null;
|
|
3144
3341
|
};
|
|
3145
3342
|
DocumentStatusUpdateRequest: {
|
|
3146
|
-
/** @enum {string} */
|
|
3343
|
+
/** @enum {string} */
|
|
3344
|
+
status: "accepted" | "declined";
|
|
3147
3345
|
decline_reason?: string | null;
|
|
3148
3346
|
};
|
|
3149
3347
|
DocumentResourceResponse: {
|
|
@@ -3154,11 +3352,15 @@ interface components {
|
|
|
3154
3352
|
status?: components["schemas"]["DocumentStatus"];
|
|
3155
3353
|
name?: string;
|
|
3156
3354
|
decline_reason?: string | null;
|
|
3157
|
-
units?: components["schemas"]["CustomerUnitSummary"][];
|
|
3158
|
-
|
|
3355
|
+
units?: components["schemas"]["CustomerUnitSummary"][];
|
|
3356
|
+
/** Format: uri */
|
|
3357
|
+
pdf?: string;
|
|
3358
|
+
/** @example Cost Estimate */
|
|
3159
3359
|
type?: string;
|
|
3160
|
-
service_provider?: string | null;
|
|
3161
|
-
|
|
3360
|
+
service_provider?: string | null;
|
|
3361
|
+
/** @example 07.05.2026 */
|
|
3362
|
+
decline_date?: string | null;
|
|
3363
|
+
/** @example 07.05.2026 */
|
|
3162
3364
|
created_at?: string;
|
|
3163
3365
|
};
|
|
3164
3366
|
CustomerUnitSummary: {
|
|
@@ -3171,10 +3373,13 @@ interface components {
|
|
|
3171
3373
|
};
|
|
3172
3374
|
VideoResponse: {
|
|
3173
3375
|
data: {
|
|
3174
|
-
/** Format: uri */
|
|
3376
|
+
/** Format: uri */
|
|
3377
|
+
url: string;
|
|
3378
|
+
/** Format: uri */
|
|
3175
3379
|
thumbnail: string | null;
|
|
3176
3380
|
};
|
|
3177
|
-
};
|
|
3381
|
+
};
|
|
3382
|
+
/** @enum {string} */
|
|
3178
3383
|
TileTag: "guest_portal_home" | "guest_portal_property" | "guest_portal_brands" | "owner_portal_home" | "owner_portal_property" | "owner_portal_brands";
|
|
3179
3384
|
TileCollectionResponse: {
|
|
3180
3385
|
data: components["schemas"]["Tile"][];
|
|
@@ -3182,18 +3387,22 @@ interface components {
|
|
|
3182
3387
|
Tile: {
|
|
3183
3388
|
id?: number;
|
|
3184
3389
|
title?: string;
|
|
3185
|
-
description?: string | null;
|
|
3390
|
+
description?: string | null;
|
|
3391
|
+
/** Format: uri */
|
|
3186
3392
|
image?: string | null;
|
|
3187
3393
|
link_url?: string | null;
|
|
3188
|
-
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. */
|
|
3189
3396
|
property?: {
|
|
3190
3397
|
[key: string]: unknown;
|
|
3191
3398
|
} | null;
|
|
3192
3399
|
};
|
|
3193
3400
|
UnitServicePrice: {
|
|
3194
3401
|
price?: number | null;
|
|
3195
|
-
calculation?: string | null;
|
|
3196
|
-
|
|
3402
|
+
calculation?: string | null;
|
|
3403
|
+
/** Format: date */
|
|
3404
|
+
from_date?: string | null;
|
|
3405
|
+
/** Format: date */
|
|
3197
3406
|
till_date?: string | null;
|
|
3198
3407
|
night_range_min?: number | null;
|
|
3199
3408
|
night_range_max?: number | null;
|
|
@@ -3207,9 +3416,12 @@ interface components {
|
|
|
3207
3416
|
discount_type?: string | null;
|
|
3208
3417
|
title?: string | null;
|
|
3209
3418
|
min_stay?: number | null;
|
|
3210
|
-
time_span?: number | null;
|
|
3211
|
-
|
|
3212
|
-
|
|
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. */
|
|
3213
3425
|
season?: {
|
|
3214
3426
|
[key: string]: unknown;
|
|
3215
3427
|
} | null;
|
|
@@ -3269,7 +3481,8 @@ interface components {
|
|
|
3269
3481
|
total_area?: string;
|
|
3270
3482
|
floor_area?: string;
|
|
3271
3483
|
land_area?: string;
|
|
3272
|
-
rooms?: number;
|
|
3484
|
+
rooms?: number;
|
|
3485
|
+
/** Format: uri */
|
|
3273
3486
|
image_url?: string | null;
|
|
3274
3487
|
image_link_url?: string | null;
|
|
3275
3488
|
open_in_new_tab?: boolean;
|
|
@@ -3285,43 +3498,57 @@ interface components {
|
|
|
3285
3498
|
* @description ISO 3166-1 alpha-2 country code.
|
|
3286
3499
|
* @example DE
|
|
3287
3500
|
*/
|
|
3288
|
-
destination_country: string;
|
|
3289
|
-
|
|
3501
|
+
destination_country: string;
|
|
3502
|
+
/** Format: date */
|
|
3503
|
+
start_date: string;
|
|
3504
|
+
/** Format: date */
|
|
3290
3505
|
end_date: string;
|
|
3291
3506
|
traveler_count: number;
|
|
3292
|
-
total_amount: number;
|
|
3507
|
+
total_amount: number;
|
|
3508
|
+
/** @example EUR */
|
|
3293
3509
|
total_currency: string;
|
|
3294
3510
|
total_decimals?: number | null;
|
|
3295
|
-
rebook_policy_number?: string | null;
|
|
3511
|
+
rebook_policy_number?: string | null;
|
|
3512
|
+
/** @enum {string} */
|
|
3296
3513
|
list_type?: "crs" | "web" | "ava" | "DE_TID";
|
|
3297
3514
|
};
|
|
3298
3515
|
ErgoCreatePreContractRequest: components["schemas"]["ErgoCommonFields"] & components["schemas"]["ErgoTripAndCustomerRequest"] & {
|
|
3299
|
-
/** @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. */
|
|
3300
3519
|
plan_code?: string | null;
|
|
3301
3520
|
rebook_policy_number?: string | null;
|
|
3302
3521
|
};
|
|
3303
3522
|
ErgoReadPreContractRequest: components["schemas"]["ErgoCommonFields"] & {
|
|
3304
|
-
pre_contractual_information_id: string;
|
|
3523
|
+
pre_contractual_information_id: string;
|
|
3524
|
+
/** Format: email */
|
|
3305
3525
|
email: string;
|
|
3306
3526
|
};
|
|
3307
3527
|
ErgoBookRequest: components["schemas"]["ErgoCommonFields"] & components["schemas"]["ErgoTripAndCustomerRequest"] & {
|
|
3308
|
-
/** @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. */
|
|
3309
3531
|
plan_code?: string | null;
|
|
3310
3532
|
rebook_policy_number?: string | null;
|
|
3311
3533
|
pre_contractual_information_id: string;
|
|
3312
3534
|
bank: components["schemas"]["ErgoBank"];
|
|
3313
3535
|
};
|
|
3314
3536
|
ErgoTripAndCustomerRequest: {
|
|
3315
|
-
/** @example DE */
|
|
3316
|
-
|
|
3537
|
+
/** @example DE */
|
|
3538
|
+
destination_country: string;
|
|
3539
|
+
total_amount: number;
|
|
3540
|
+
/** @example EUR */
|
|
3317
3541
|
total_currency: string;
|
|
3318
|
-
total_decimals?: number | null;
|
|
3319
|
-
|
|
3542
|
+
total_decimals?: number | null;
|
|
3543
|
+
/** Format: date */
|
|
3544
|
+
start_date: string;
|
|
3545
|
+
/** Format: date */
|
|
3320
3546
|
end_date: string;
|
|
3321
3547
|
guests: number;
|
|
3322
3548
|
policy_holder: components["schemas"]["ErgoPerson"];
|
|
3323
3549
|
address: components["schemas"]["ErgoAddress"];
|
|
3324
|
-
travelers: components["schemas"]["ErgoPerson"][];
|
|
3550
|
+
travelers: components["schemas"]["ErgoPerson"][];
|
|
3551
|
+
/** Format: email */
|
|
3325
3552
|
email: string;
|
|
3326
3553
|
mobile: string;
|
|
3327
3554
|
fax?: string | null;
|
|
@@ -3354,7 +3581,8 @@ interface components {
|
|
|
3354
3581
|
street_and_nr?: string;
|
|
3355
3582
|
city_name?: string;
|
|
3356
3583
|
postal_code?: string;
|
|
3357
|
-
country_code?: string;
|
|
3584
|
+
country_code?: string;
|
|
3585
|
+
/** Format: email */
|
|
3358
3586
|
email?: string;
|
|
3359
3587
|
};
|
|
3360
3588
|
TravelInsuranceBookingStoreRequest: {
|
|
@@ -3372,29 +3600,35 @@ interface components {
|
|
|
3372
3600
|
travel_insurance_number?: string | null;
|
|
3373
3601
|
additional_booking_data?: {
|
|
3374
3602
|
[key: string]: unknown;
|
|
3375
|
-
} | null;
|
|
3603
|
+
} | null;
|
|
3604
|
+
/** Format: date-time */
|
|
3376
3605
|
webhook_executed_at?: string | null;
|
|
3377
3606
|
webhook_attempts?: number;
|
|
3378
3607
|
webhook_last_response?: {
|
|
3379
3608
|
[key: string]: unknown;
|
|
3380
|
-
} | null;
|
|
3381
|
-
|
|
3609
|
+
} | null;
|
|
3610
|
+
/** Format: date-time */
|
|
3611
|
+
created_at?: string | null;
|
|
3612
|
+
/** Format: date-time */
|
|
3382
3613
|
updated_at?: string | null;
|
|
3383
3614
|
};
|
|
3384
3615
|
};
|
|
3385
3616
|
responses: {
|
|
3386
|
-
/** @description Missing, expired, or invalid API key. */
|
|
3617
|
+
/** @description Missing, expired, or invalid API key. */
|
|
3618
|
+
Unauthorized: {
|
|
3387
3619
|
headers: {
|
|
3388
3620
|
[name: string]: unknown;
|
|
3389
3621
|
};
|
|
3390
3622
|
content?: never;
|
|
3391
|
-
};
|
|
3623
|
+
};
|
|
3624
|
+
/** @description Resource not found. */
|
|
3392
3625
|
NotFound: {
|
|
3393
3626
|
headers: {
|
|
3394
3627
|
[name: string]: unknown;
|
|
3395
3628
|
};
|
|
3396
3629
|
content?: never;
|
|
3397
|
-
};
|
|
3630
|
+
};
|
|
3631
|
+
/** @description Validation failed. */
|
|
3398
3632
|
ValidationError: {
|
|
3399
3633
|
headers: {
|
|
3400
3634
|
[name: string]: unknown;
|
|
@@ -3404,7 +3638,8 @@ interface components {
|
|
|
3404
3638
|
[key: string]: unknown;
|
|
3405
3639
|
} | string;
|
|
3406
3640
|
};
|
|
3407
|
-
};
|
|
3641
|
+
};
|
|
3642
|
+
/** @description Response returned by the ERGO/ERV SOAP client. */
|
|
3408
3643
|
ErgoResponse: {
|
|
3409
3644
|
headers: {
|
|
3410
3645
|
[name: string]: unknown;
|
|
@@ -3417,8 +3652,11 @@ interface components {
|
|
|
3417
3652
|
};
|
|
3418
3653
|
};
|
|
3419
3654
|
parameters: {
|
|
3420
|
-
/** @description vOffice unit ID (`voffice_id`). */
|
|
3421
|
-
|
|
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. */
|
|
3422
3660
|
BookingNumber: string;
|
|
3423
3661
|
ErgoMsgId: string;
|
|
3424
3662
|
ErgoEchoToken: string;
|
|
@@ -3438,7 +3676,8 @@ interface operations {
|
|
|
3438
3676
|
};
|
|
3439
3677
|
requestBody?: never;
|
|
3440
3678
|
responses: {
|
|
3441
|
-
/** @description Unit list */
|
|
3679
|
+
/** @description Unit list */
|
|
3680
|
+
200: {
|
|
3442
3681
|
headers: {
|
|
3443
3682
|
[name: string]: unknown;
|
|
3444
3683
|
};
|
|
@@ -3452,17 +3691,20 @@ interface operations {
|
|
|
3452
3691
|
getUnit: {
|
|
3453
3692
|
parameters: {
|
|
3454
3693
|
query?: {
|
|
3455
|
-
/** @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[];
|
|
3456
3696
|
};
|
|
3457
3697
|
header?: never;
|
|
3458
3698
|
path: {
|
|
3459
|
-
/** @description vOffice unit ID (`voffice_id`). */
|
|
3699
|
+
/** @description vOffice unit ID (`voffice_id`). */
|
|
3700
|
+
voffice_unit: components["parameters"]["UnitId"];
|
|
3460
3701
|
};
|
|
3461
3702
|
cookie?: never;
|
|
3462
3703
|
};
|
|
3463
3704
|
requestBody?: never;
|
|
3464
3705
|
responses: {
|
|
3465
|
-
/** @description Unit details */
|
|
3706
|
+
/** @description Unit details */
|
|
3707
|
+
200: {
|
|
3466
3708
|
headers: {
|
|
3467
3709
|
[name: string]: unknown;
|
|
3468
3710
|
};
|
|
@@ -3476,18 +3718,22 @@ interface operations {
|
|
|
3476
3718
|
getUnitCalendar: {
|
|
3477
3719
|
parameters: {
|
|
3478
3720
|
query?: {
|
|
3479
|
-
/** @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. */
|
|
3480
3724
|
useTranslationKeys?: boolean;
|
|
3481
3725
|
};
|
|
3482
3726
|
header?: never;
|
|
3483
3727
|
path: {
|
|
3484
|
-
/** @description vOffice unit ID (`voffice_id`). */
|
|
3728
|
+
/** @description vOffice unit ID (`voffice_id`). */
|
|
3729
|
+
voffice_unit: components["parameters"]["UnitId"];
|
|
3485
3730
|
};
|
|
3486
3731
|
cookie?: never;
|
|
3487
3732
|
};
|
|
3488
3733
|
requestBody?: never;
|
|
3489
3734
|
responses: {
|
|
3490
|
-
/** @description Calendar data */
|
|
3735
|
+
/** @description Calendar data */
|
|
3736
|
+
200: {
|
|
3491
3737
|
headers: {
|
|
3492
3738
|
[name: string]: unknown;
|
|
3493
3739
|
};
|
|
@@ -3501,25 +3747,31 @@ interface operations {
|
|
|
3501
3747
|
getUnitQuotePrices: {
|
|
3502
3748
|
parameters: {
|
|
3503
3749
|
query: {
|
|
3504
|
-
/** @description Language code passed through to vOffice where supported. */
|
|
3505
|
-
|
|
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 */
|
|
3506
3755
|
tilldate: string;
|
|
3507
3756
|
adults?: number;
|
|
3508
3757
|
children?: number;
|
|
3509
3758
|
babies?: number;
|
|
3510
3759
|
pets?: number;
|
|
3511
|
-
voucherCode?: string;
|
|
3760
|
+
voucherCode?: string;
|
|
3761
|
+
/** @description Passed through to vOffice when supplied. */
|
|
3512
3762
|
childrenAges?: string;
|
|
3513
3763
|
};
|
|
3514
3764
|
header?: never;
|
|
3515
3765
|
path: {
|
|
3516
|
-
/** @description vOffice unit ID (`voffice_id`). */
|
|
3766
|
+
/** @description vOffice unit ID (`voffice_id`). */
|
|
3767
|
+
voffice_unit: components["parameters"]["UnitId"];
|
|
3517
3768
|
};
|
|
3518
3769
|
cookie?: never;
|
|
3519
3770
|
};
|
|
3520
3771
|
requestBody?: never;
|
|
3521
3772
|
responses: {
|
|
3522
|
-
/** @description Quote prices */
|
|
3773
|
+
/** @description Quote prices */
|
|
3774
|
+
200: {
|
|
3523
3775
|
headers: {
|
|
3524
3776
|
[name: string]: unknown;
|
|
3525
3777
|
};
|
|
@@ -3539,7 +3791,8 @@ interface operations {
|
|
|
3539
3791
|
};
|
|
3540
3792
|
requestBody?: never;
|
|
3541
3793
|
responses: {
|
|
3542
|
-
/** @description vOffice unit IDs for the current key */
|
|
3794
|
+
/** @description vOffice unit IDs for the current key */
|
|
3795
|
+
200: {
|
|
3543
3796
|
headers: {
|
|
3544
3797
|
[name: string]: unknown;
|
|
3545
3798
|
};
|
|
@@ -3559,7 +3812,8 @@ interface operations {
|
|
|
3559
3812
|
};
|
|
3560
3813
|
requestBody?: never;
|
|
3561
3814
|
responses: {
|
|
3562
|
-
/** @description Region list */
|
|
3815
|
+
/** @description Region list */
|
|
3816
|
+
200: {
|
|
3563
3817
|
headers: {
|
|
3564
3818
|
[name: string]: unknown;
|
|
3565
3819
|
};
|
|
@@ -3575,13 +3829,15 @@ interface operations {
|
|
|
3575
3829
|
query?: never;
|
|
3576
3830
|
header?: never;
|
|
3577
3831
|
path: {
|
|
3578
|
-
/** @description vOffice region ID. */
|
|
3832
|
+
/** @description vOffice region ID. */
|
|
3833
|
+
voffice_region: number;
|
|
3579
3834
|
};
|
|
3580
3835
|
cookie?: never;
|
|
3581
3836
|
};
|
|
3582
3837
|
requestBody?: never;
|
|
3583
3838
|
responses: {
|
|
3584
|
-
/** @description Region raw data */
|
|
3839
|
+
/** @description Region raw data */
|
|
3840
|
+
200: {
|
|
3585
3841
|
headers: {
|
|
3586
3842
|
[name: string]: unknown;
|
|
3587
3843
|
};
|
|
@@ -3601,7 +3857,8 @@ interface operations {
|
|
|
3601
3857
|
};
|
|
3602
3858
|
requestBody?: never;
|
|
3603
3859
|
responses: {
|
|
3604
|
-
/** @description Service list */
|
|
3860
|
+
/** @description Service list */
|
|
3861
|
+
200: {
|
|
3605
3862
|
headers: {
|
|
3606
3863
|
[name: string]: unknown;
|
|
3607
3864
|
};
|
|
@@ -3617,13 +3874,15 @@ interface operations {
|
|
|
3617
3874
|
query?: never;
|
|
3618
3875
|
header?: never;
|
|
3619
3876
|
path: {
|
|
3620
|
-
/** @description vOffice service ID. */
|
|
3877
|
+
/** @description vOffice service ID. */
|
|
3878
|
+
voffice_service: number;
|
|
3621
3879
|
};
|
|
3622
3880
|
cookie?: never;
|
|
3623
3881
|
};
|
|
3624
3882
|
requestBody?: never;
|
|
3625
3883
|
responses: {
|
|
3626
|
-
/** @description Service raw data */
|
|
3884
|
+
/** @description Service raw data */
|
|
3885
|
+
200: {
|
|
3627
3886
|
headers: {
|
|
3628
3887
|
[name: string]: unknown;
|
|
3629
3888
|
};
|
|
@@ -3643,7 +3902,8 @@ interface operations {
|
|
|
3643
3902
|
};
|
|
3644
3903
|
requestBody?: never;
|
|
3645
3904
|
responses: {
|
|
3646
|
-
/** @description Facility list */
|
|
3905
|
+
/** @description Facility list */
|
|
3906
|
+
200: {
|
|
3647
3907
|
headers: {
|
|
3648
3908
|
[name: string]: unknown;
|
|
3649
3909
|
};
|
|
@@ -3659,13 +3919,15 @@ interface operations {
|
|
|
3659
3919
|
query?: never;
|
|
3660
3920
|
header?: never;
|
|
3661
3921
|
path: {
|
|
3662
|
-
/** @description vOffice facility ID. */
|
|
3922
|
+
/** @description vOffice facility ID. */
|
|
3923
|
+
voffice_facility: number;
|
|
3663
3924
|
};
|
|
3664
3925
|
cookie?: never;
|
|
3665
3926
|
};
|
|
3666
3927
|
requestBody?: never;
|
|
3667
3928
|
responses: {
|
|
3668
|
-
/** @description Facility raw data */
|
|
3929
|
+
/** @description Facility raw data */
|
|
3930
|
+
200: {
|
|
3669
3931
|
headers: {
|
|
3670
3932
|
[name: string]: unknown;
|
|
3671
3933
|
};
|
|
@@ -3679,7 +3941,8 @@ interface operations {
|
|
|
3679
3941
|
downloadTravelInsurancePdf: {
|
|
3680
3942
|
parameters: {
|
|
3681
3943
|
query: {
|
|
3682
|
-
/** @description URL on `www.unionreiseversicherung.de` or `www.urv.de`. */
|
|
3944
|
+
/** @description URL on `www.unionreiseversicherung.de` or `www.urv.de`. */
|
|
3945
|
+
url: string;
|
|
3683
3946
|
};
|
|
3684
3947
|
header?: never;
|
|
3685
3948
|
path?: never;
|
|
@@ -3687,7 +3950,8 @@ interface operations {
|
|
|
3687
3950
|
};
|
|
3688
3951
|
requestBody?: never;
|
|
3689
3952
|
responses: {
|
|
3690
|
-
/** @description PDF document */
|
|
3953
|
+
/** @description PDF document */
|
|
3954
|
+
200: {
|
|
3691
3955
|
headers: {
|
|
3692
3956
|
[name: string]: unknown;
|
|
3693
3957
|
};
|
|
@@ -3695,7 +3959,8 @@ interface operations {
|
|
|
3695
3959
|
"application/pdf": string;
|
|
3696
3960
|
};
|
|
3697
3961
|
};
|
|
3698
|
-
401: components["responses"]["Unauthorized"];
|
|
3962
|
+
401: components["responses"]["Unauthorized"];
|
|
3963
|
+
/** @description Download failed or host not allowed */
|
|
3699
3964
|
500: {
|
|
3700
3965
|
headers: {
|
|
3701
3966
|
[name: string]: unknown;
|
|
@@ -3713,7 +3978,8 @@ interface operations {
|
|
|
3713
3978
|
};
|
|
3714
3979
|
requestBody?: never;
|
|
3715
3980
|
responses: {
|
|
3716
|
-
/** @description Search property metadata */
|
|
3981
|
+
/** @description Search property metadata */
|
|
3982
|
+
200: {
|
|
3717
3983
|
headers: {
|
|
3718
3984
|
[name: string]: unknown;
|
|
3719
3985
|
};
|
|
@@ -3739,13 +4005,15 @@ interface operations {
|
|
|
3739
4005
|
};
|
|
3740
4006
|
header?: never;
|
|
3741
4007
|
path: {
|
|
3742
|
-
/** @description vOffice unit ID (`voffice_id`). */
|
|
4008
|
+
/** @description vOffice unit ID (`voffice_id`). */
|
|
4009
|
+
voffice_unit: components["parameters"]["UnitId"];
|
|
3743
4010
|
};
|
|
3744
4011
|
cookie?: never;
|
|
3745
4012
|
};
|
|
3746
4013
|
requestBody?: never;
|
|
3747
4014
|
responses: {
|
|
3748
|
-
/** @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: {
|
|
3749
4017
|
headers: {
|
|
3750
4018
|
[name: string]: unknown;
|
|
3751
4019
|
};
|
|
@@ -3772,7 +4040,8 @@ interface operations {
|
|
|
3772
4040
|
};
|
|
3773
4041
|
};
|
|
3774
4042
|
responses: {
|
|
3775
|
-
/** @description Updated document */
|
|
4043
|
+
/** @description Updated document */
|
|
4044
|
+
200: {
|
|
3776
4045
|
headers: {
|
|
3777
4046
|
[name: string]: unknown;
|
|
3778
4047
|
};
|
|
@@ -3789,13 +4058,15 @@ interface operations {
|
|
|
3789
4058
|
query?: never;
|
|
3790
4059
|
header?: never;
|
|
3791
4060
|
path: {
|
|
3792
|
-
/** @description vOffice unit ID (`voffice_id`). */
|
|
4061
|
+
/** @description vOffice unit ID (`voffice_id`). */
|
|
4062
|
+
voffice_unit: components["parameters"]["UnitId"];
|
|
3793
4063
|
};
|
|
3794
4064
|
cookie?: never;
|
|
3795
4065
|
};
|
|
3796
4066
|
requestBody?: never;
|
|
3797
4067
|
responses: {
|
|
3798
|
-
/** @description Unit video */
|
|
4068
|
+
/** @description Unit video */
|
|
4069
|
+
200: {
|
|
3799
4070
|
headers: {
|
|
3800
4071
|
[name: string]: unknown;
|
|
3801
4072
|
};
|
|
@@ -3812,13 +4083,15 @@ interface operations {
|
|
|
3812
4083
|
query?: never;
|
|
3813
4084
|
header?: never;
|
|
3814
4085
|
path: {
|
|
3815
|
-
/** @description vOffice member `member_id`. */
|
|
4086
|
+
/** @description vOffice member `member_id`. */
|
|
4087
|
+
voffice_member: number;
|
|
3816
4088
|
};
|
|
3817
4089
|
cookie?: never;
|
|
3818
4090
|
};
|
|
3819
4091
|
requestBody?: never;
|
|
3820
4092
|
responses: {
|
|
3821
|
-
/** @description Frontpage video */
|
|
4093
|
+
/** @description Frontpage video */
|
|
4094
|
+
200: {
|
|
3822
4095
|
headers: {
|
|
3823
4096
|
[name: string]: unknown;
|
|
3824
4097
|
};
|
|
@@ -3842,7 +4115,8 @@ interface operations {
|
|
|
3842
4115
|
};
|
|
3843
4116
|
requestBody?: never;
|
|
3844
4117
|
responses: {
|
|
3845
|
-
/** @description Tile collection */
|
|
4118
|
+
/** @description Tile collection */
|
|
4119
|
+
200: {
|
|
3846
4120
|
headers: {
|
|
3847
4121
|
[name: string]: unknown;
|
|
3848
4122
|
};
|
|
@@ -3850,7 +4124,8 @@ interface operations {
|
|
|
3850
4124
|
"application/json": components["schemas"]["TileCollectionResponse"];
|
|
3851
4125
|
};
|
|
3852
4126
|
};
|
|
3853
|
-
401: components["responses"]["Unauthorized"];
|
|
4127
|
+
401: components["responses"]["Unauthorized"];
|
|
4128
|
+
/** @description Missing or invalid tag/language, missing member, or no tiles. */
|
|
3854
4129
|
403: {
|
|
3855
4130
|
headers: {
|
|
3856
4131
|
[name: string]: unknown;
|
|
@@ -3997,7 +4272,8 @@ interface operations {
|
|
|
3997
4272
|
};
|
|
3998
4273
|
requestBody?: never;
|
|
3999
4274
|
responses: {
|
|
4000
|
-
/** @description Matching booking or null */
|
|
4275
|
+
/** @description Matching booking or null */
|
|
4276
|
+
200: {
|
|
4001
4277
|
headers: {
|
|
4002
4278
|
[name: string]: unknown;
|
|
4003
4279
|
};
|
|
@@ -4021,14 +4297,16 @@ interface operations {
|
|
|
4021
4297
|
};
|
|
4022
4298
|
};
|
|
4023
4299
|
responses: {
|
|
4024
|
-
/** @description Created or updated booking */
|
|
4300
|
+
/** @description Created or updated booking */
|
|
4301
|
+
200: {
|
|
4025
4302
|
headers: {
|
|
4026
4303
|
[name: string]: unknown;
|
|
4027
4304
|
};
|
|
4028
4305
|
content: {
|
|
4029
4306
|
"application/json": components["schemas"]["TravelInsuranceBooking"];
|
|
4030
4307
|
};
|
|
4031
|
-
};
|
|
4308
|
+
};
|
|
4309
|
+
/** @description Missing `guest_token` or `booking_number`, or invalid API key. */
|
|
4032
4310
|
401: {
|
|
4033
4311
|
headers: {
|
|
4034
4312
|
[name: string]: unknown;
|
|
@@ -4044,13 +4322,15 @@ interface operations {
|
|
|
4044
4322
|
};
|
|
4045
4323
|
header?: never;
|
|
4046
4324
|
path: {
|
|
4047
|
-
/** @description Travel insurance booking number. */
|
|
4325
|
+
/** @description Travel insurance booking number. */
|
|
4326
|
+
travel_insurance_booking: components["parameters"]["BookingNumber"];
|
|
4048
4327
|
};
|
|
4049
4328
|
cookie?: never;
|
|
4050
4329
|
};
|
|
4051
4330
|
requestBody?: never;
|
|
4052
4331
|
responses: {
|
|
4053
|
-
/** @description Booking */
|
|
4332
|
+
/** @description Booking */
|
|
4333
|
+
200: {
|
|
4054
4334
|
headers: {
|
|
4055
4335
|
[name: string]: unknown;
|
|
4056
4336
|
};
|
|
@@ -4068,13 +4348,15 @@ interface operations {
|
|
|
4068
4348
|
};
|
|
4069
4349
|
header?: never;
|
|
4070
4350
|
path: {
|
|
4071
|
-
/** @description Travel insurance booking number. */
|
|
4351
|
+
/** @description Travel insurance booking number. */
|
|
4352
|
+
travel_insurance_booking: components["parameters"]["BookingNumber"];
|
|
4072
4353
|
};
|
|
4073
4354
|
cookie?: never;
|
|
4074
4355
|
};
|
|
4075
4356
|
requestBody?: never;
|
|
4076
4357
|
responses: {
|
|
4077
|
-
/** @description Delete result */
|
|
4358
|
+
/** @description Delete result */
|
|
4359
|
+
200: {
|
|
4078
4360
|
headers: {
|
|
4079
4361
|
[name: string]: unknown;
|
|
4080
4362
|
};
|
|
@@ -4091,18 +4373,21 @@ interface operations {
|
|
|
4091
4373
|
listUnitServicePrices: {
|
|
4092
4374
|
parameters: {
|
|
4093
4375
|
query?: {
|
|
4094
|
-
/** @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;
|
|
4095
4378
|
language?: string;
|
|
4096
4379
|
};
|
|
4097
4380
|
header?: never;
|
|
4098
4381
|
path: {
|
|
4099
|
-
/** @description vOffice unit ID (`voffice_id`). */
|
|
4382
|
+
/** @description vOffice unit ID (`voffice_id`). */
|
|
4383
|
+
voffice_unit: components["parameters"]["UnitId"];
|
|
4100
4384
|
};
|
|
4101
4385
|
cookie?: never;
|
|
4102
4386
|
};
|
|
4103
4387
|
requestBody?: never;
|
|
4104
4388
|
responses: {
|
|
4105
|
-
/** @description Service price rows */
|
|
4389
|
+
/** @description Service price rows */
|
|
4390
|
+
200: {
|
|
4106
4391
|
headers: {
|
|
4107
4392
|
[name: string]: unknown;
|
|
4108
4393
|
};
|
|
@@ -4120,13 +4405,15 @@ interface operations {
|
|
|
4120
4405
|
};
|
|
4121
4406
|
header?: never;
|
|
4122
4407
|
path: {
|
|
4123
|
-
/** @description vOffice unit ID (`voffice_id`). */
|
|
4408
|
+
/** @description vOffice unit ID (`voffice_id`). */
|
|
4409
|
+
voffice_unit: components["parameters"]["UnitId"];
|
|
4124
4410
|
};
|
|
4125
4411
|
cookie?: never;
|
|
4126
4412
|
};
|
|
4127
4413
|
requestBody?: never;
|
|
4128
4414
|
responses: {
|
|
4129
|
-
/** @description Offer rows */
|
|
4415
|
+
/** @description Offer rows */
|
|
4416
|
+
200: {
|
|
4130
4417
|
headers: {
|
|
4131
4418
|
[name: string]: unknown;
|
|
4132
4419
|
};
|
|
@@ -4142,13 +4429,15 @@ interface operations {
|
|
|
4142
4429
|
query?: never;
|
|
4143
4430
|
header?: never;
|
|
4144
4431
|
path: {
|
|
4145
|
-
/** @description vOffice unit ID (`voffice_id`). */
|
|
4432
|
+
/** @description vOffice unit ID (`voffice_id`). */
|
|
4433
|
+
voffice_unit: components["parameters"]["UnitId"];
|
|
4146
4434
|
};
|
|
4147
4435
|
cookie?: never;
|
|
4148
4436
|
};
|
|
4149
4437
|
requestBody?: never;
|
|
4150
4438
|
responses: {
|
|
4151
|
-
/** @description Group IDs */
|
|
4439
|
+
/** @description Group IDs */
|
|
4440
|
+
200: {
|
|
4152
4441
|
headers: {
|
|
4153
4442
|
[name: string]: unknown;
|
|
4154
4443
|
};
|
|
@@ -4162,7 +4451,9 @@ interface operations {
|
|
|
4162
4451
|
getSetup: {
|
|
4163
4452
|
parameters: {
|
|
4164
4453
|
query?: {
|
|
4165
|
-
/** @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. */
|
|
4166
4457
|
customer_account_id?: number;
|
|
4167
4458
|
};
|
|
4168
4459
|
header?: never;
|
|
@@ -4171,7 +4462,8 @@ interface operations {
|
|
|
4171
4462
|
};
|
|
4172
4463
|
requestBody?: never;
|
|
4173
4464
|
responses: {
|
|
4174
|
-
/** @description Settings payload */
|
|
4465
|
+
/** @description Settings payload */
|
|
4466
|
+
200: {
|
|
4175
4467
|
headers: {
|
|
4176
4468
|
[name: string]: unknown;
|
|
4177
4469
|
};
|
|
@@ -4191,7 +4483,8 @@ interface operations {
|
|
|
4191
4483
|
};
|
|
4192
4484
|
requestBody?: never;
|
|
4193
4485
|
responses: {
|
|
4194
|
-
/** @description Current member */
|
|
4486
|
+
/** @description Current member */
|
|
4487
|
+
200: {
|
|
4195
4488
|
headers: {
|
|
4196
4489
|
[name: string]: unknown;
|
|
4197
4490
|
};
|
|
@@ -4199,7 +4492,8 @@ interface operations {
|
|
|
4199
4492
|
"application/json": components["schemas"]["CurrentMemberResponse"];
|
|
4200
4493
|
};
|
|
4201
4494
|
};
|
|
4202
|
-
401: components["responses"]["Unauthorized"];
|
|
4495
|
+
401: components["responses"]["Unauthorized"];
|
|
4496
|
+
/** @description The current key is not connected to a vOffice key. */
|
|
4203
4497
|
404: {
|
|
4204
4498
|
headers: {
|
|
4205
4499
|
[name: string]: unknown;
|
|
@@ -4211,18 +4505,22 @@ interface operations {
|
|
|
4211
4505
|
listOnOfficeUnits: {
|
|
4212
4506
|
parameters: {
|
|
4213
4507
|
query?: {
|
|
4214
|
-
/** @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. */
|
|
4215
4511
|
is_owner_app?: boolean;
|
|
4216
4512
|
};
|
|
4217
4513
|
header?: never;
|
|
4218
4514
|
path: {
|
|
4219
|
-
/** @description Internal vOffice member model ID. */
|
|
4515
|
+
/** @description Internal vOffice member model ID. */
|
|
4516
|
+
voffice_member: number;
|
|
4220
4517
|
};
|
|
4221
4518
|
cookie?: never;
|
|
4222
4519
|
};
|
|
4223
4520
|
requestBody?: never;
|
|
4224
4521
|
responses: {
|
|
4225
|
-
/** @description OnOffice unit collection */
|
|
4522
|
+
/** @description OnOffice unit collection */
|
|
4523
|
+
200: {
|
|
4226
4524
|
headers: {
|
|
4227
4525
|
[name: string]: unknown;
|
|
4228
4526
|
};
|
|
@@ -4230,7 +4528,8 @@ interface operations {
|
|
|
4230
4528
|
"application/json": components["schemas"]["OnOfficeUnitCollectionResponse"];
|
|
4231
4529
|
};
|
|
4232
4530
|
};
|
|
4233
|
-
401: components["responses"]["Unauthorized"];
|
|
4531
|
+
401: components["responses"]["Unauthorized"];
|
|
4532
|
+
/** @description The requested member does not belong to the current key. */
|
|
4234
4533
|
403: {
|
|
4235
4534
|
headers: {
|
|
4236
4535
|
[name: string]: unknown;
|
|
@@ -6456,7 +6755,7 @@ declare const V1OpenApiClientErrorBase: new (args: V1OpenApiClientErrorOptions)
|
|
|
6456
6755
|
readonly _tag: "V1OpenApiClientError";
|
|
6457
6756
|
};
|
|
6458
6757
|
declare class V1OpenApiClientError extends V1OpenApiClientErrorBase {}
|
|
6459
|
-
type Simplify<T> = { readonly [Key in keyof T]: T[Key] } & {};
|
|
6758
|
+
type Simplify<T> = { readonly [Key in keyof T]: T[Key]; } & {};
|
|
6460
6759
|
type V1OpenApiOperationId = Extract<V1OperationId, keyof operations>;
|
|
6461
6760
|
type OperationParameters<TOperation extends V1OpenApiOperationId> = operations[TOperation] extends {
|
|
6462
6761
|
readonly parameters: infer Parameters;
|
|
@@ -6506,7 +6805,7 @@ declare const makeV1OpenApiClientFetchLive: (options: V1OpenApiClientOptions) =>
|
|
|
6506
6805
|
//#region codegen/v9/heuristic-generation/v9-data.d.ts
|
|
6507
6806
|
type KnownDataAttribute<TData> = Extract<keyof TData, string>;
|
|
6508
6807
|
type SchemaMap = Readonly<Record<string, Schema.Decoder<unknown>>>;
|
|
6509
|
-
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"]; };
|
|
6510
6809
|
interface ParsedJsonData<TKnown> {
|
|
6511
6810
|
readonly known: TKnown;
|
|
6512
6811
|
readonly unknown: Record<string, unknown>;
|