@openvoy/openvoy-typescriptmodels 0.0.6961 → 0.0.6971
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/core.d.ts +83 -1
- package/package.json +1 -1
package/core.d.ts
CHANGED
|
@@ -74,6 +74,20 @@ export interface AttractionSummary {
|
|
|
74
74
|
export interface AttractionUpdate extends AttractionCommand {
|
|
75
75
|
}
|
|
76
76
|
|
|
77
|
+
export interface CancellationPolicy {
|
|
78
|
+
cancelIfBadWeather?: boolean;
|
|
79
|
+
cancelIfInsufficientTravelers?: boolean;
|
|
80
|
+
cancellable?: boolean;
|
|
81
|
+
description?: string;
|
|
82
|
+
eligibility?: CancellationPolicyItem[];
|
|
83
|
+
}
|
|
84
|
+
|
|
85
|
+
export interface CancellationPolicyItem {
|
|
86
|
+
datePolicy?: InstantRange;
|
|
87
|
+
hourPolicy?: NumberRange;
|
|
88
|
+
percentageRefundable?: number;
|
|
89
|
+
}
|
|
90
|
+
|
|
77
91
|
export interface City {
|
|
78
92
|
alias?: string;
|
|
79
93
|
attractions?: Attraction[];
|
|
@@ -613,6 +627,10 @@ export interface GetTagUsingProvider {
|
|
|
613
627
|
id?: string;
|
|
614
628
|
}
|
|
615
629
|
|
|
630
|
+
export interface GetTour {
|
|
631
|
+
tourId?: TourId;
|
|
632
|
+
}
|
|
633
|
+
|
|
616
634
|
export interface GetTourProvider {
|
|
617
635
|
code?: string;
|
|
618
636
|
}
|
|
@@ -670,6 +688,11 @@ export interface MissingProviderLink {
|
|
|
670
688
|
value?: any;
|
|
671
689
|
}
|
|
672
690
|
|
|
691
|
+
export interface NumberRange {
|
|
692
|
+
max?: number;
|
|
693
|
+
min?: number;
|
|
694
|
+
}
|
|
695
|
+
|
|
673
696
|
export interface NumberSortableFilter extends SortableFilter<number> {
|
|
674
697
|
maxExclusive?: number;
|
|
675
698
|
min?: number;
|
|
@@ -1018,17 +1041,34 @@ export interface Tour {
|
|
|
1018
1041
|
tourScore?: number;
|
|
1019
1042
|
}
|
|
1020
1043
|
|
|
1044
|
+
export interface TourAgeRange {
|
|
1045
|
+
maxAge?: number;
|
|
1046
|
+
minAge?: number;
|
|
1047
|
+
}
|
|
1048
|
+
|
|
1021
1049
|
export interface TourDetails {
|
|
1050
|
+
additionalInfo?: string[];
|
|
1051
|
+
ageRange?: TourAgeRange;
|
|
1022
1052
|
bestSeller?: boolean;
|
|
1053
|
+
cancellationPolicy?: CancellationPolicy;
|
|
1023
1054
|
certified?: boolean;
|
|
1024
1055
|
description?: string;
|
|
1056
|
+
difficulty?: TourDifficulty;
|
|
1025
1057
|
durationInHours?: number;
|
|
1058
|
+
exclusions?: string[];
|
|
1059
|
+
highlights?: string[];
|
|
1026
1060
|
images?: Image[];
|
|
1061
|
+
inclusions?: string[];
|
|
1062
|
+
itinerary?: TourItineraryItem[];
|
|
1063
|
+
languages?: string[];
|
|
1064
|
+
logistics?: TourLogistics;
|
|
1065
|
+
maxGroupSize?: number;
|
|
1027
1066
|
name?: string;
|
|
1028
1067
|
openingHours?: InstantRange[];
|
|
1029
1068
|
provider?: TourProvider;
|
|
1030
1069
|
providerUrl?: string;
|
|
1031
1070
|
rating?: RatingDetails;
|
|
1071
|
+
shortSummary?: string;
|
|
1032
1072
|
tags?: string[];
|
|
1033
1073
|
timeRange?: InstantRange;
|
|
1034
1074
|
}
|
|
@@ -1042,6 +1082,11 @@ export interface TourDetailsUpdate extends TourUpdate {
|
|
|
1042
1082
|
subContinent?: string;
|
|
1043
1083
|
}
|
|
1044
1084
|
|
|
1085
|
+
export interface TourDifficulty {
|
|
1086
|
+
level?: number;
|
|
1087
|
+
name?: string;
|
|
1088
|
+
}
|
|
1089
|
+
|
|
1045
1090
|
export interface TourId {
|
|
1046
1091
|
type?: any;
|
|
1047
1092
|
}
|
|
@@ -1054,6 +1099,27 @@ export interface TourInfo {
|
|
|
1054
1099
|
tourScore?: number;
|
|
1055
1100
|
}
|
|
1056
1101
|
|
|
1102
|
+
export interface TourItineraryItem {
|
|
1103
|
+
day?: number;
|
|
1104
|
+
description?: string;
|
|
1105
|
+
durationInDays?: number;
|
|
1106
|
+
locations?: TourLocation[];
|
|
1107
|
+
title?: string;
|
|
1108
|
+
}
|
|
1109
|
+
|
|
1110
|
+
export interface TourLocation {
|
|
1111
|
+
address?: string;
|
|
1112
|
+
name?: string;
|
|
1113
|
+
point?: LatLong;
|
|
1114
|
+
}
|
|
1115
|
+
|
|
1116
|
+
export interface TourLogistics {
|
|
1117
|
+
endLocation?: TourLocation;
|
|
1118
|
+
meetingPoint?: TourLocation;
|
|
1119
|
+
redemptionAddress?: string;
|
|
1120
|
+
startLocation?: TourLocation;
|
|
1121
|
+
}
|
|
1122
|
+
|
|
1057
1123
|
export interface TourPricing {
|
|
1058
1124
|
amount?: number;
|
|
1059
1125
|
currency?: string;
|
|
@@ -1083,7 +1149,7 @@ export interface TourSummary {
|
|
|
1083
1149
|
complete?: boolean;
|
|
1084
1150
|
continent?: Continent;
|
|
1085
1151
|
countryId?: string;
|
|
1086
|
-
details?:
|
|
1152
|
+
details?: TourSummaryDetails;
|
|
1087
1153
|
externalId?: TourProviderId;
|
|
1088
1154
|
externalProviderId?: string;
|
|
1089
1155
|
priceInDollar?: number;
|
|
@@ -1094,6 +1160,22 @@ export interface TourSummary {
|
|
|
1094
1160
|
tourScore?: number;
|
|
1095
1161
|
}
|
|
1096
1162
|
|
|
1163
|
+
export interface TourSummaryDetails {
|
|
1164
|
+
bestSeller?: boolean;
|
|
1165
|
+
certified?: boolean;
|
|
1166
|
+
description?: string;
|
|
1167
|
+
durationInHours?: number;
|
|
1168
|
+
images?: Image[];
|
|
1169
|
+
name?: string;
|
|
1170
|
+
openingHours?: InstantRange[];
|
|
1171
|
+
provider?: TourProvider;
|
|
1172
|
+
providerUrl?: string;
|
|
1173
|
+
rating?: RatingDetails;
|
|
1174
|
+
shortSummary?: string;
|
|
1175
|
+
tags?: string[];
|
|
1176
|
+
timeRange?: InstantRange;
|
|
1177
|
+
}
|
|
1178
|
+
|
|
1097
1179
|
export interface TourUpdate {
|
|
1098
1180
|
countryId?: string;
|
|
1099
1181
|
tourId?: TourId;
|
package/package.json
CHANGED