@openvoy/openvoy-typescriptmodels 0.0.6961 → 0.0.6981

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.
Files changed (2) hide show
  1. package/core.d.ts +92 -1
  2. 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
  }
@@ -620,6 +638,10 @@ export interface GetTourProvider {
620
638
  export interface GetTourProviders {
621
639
  }
622
640
 
641
+ export interface GetTourWithSummary {
642
+ tourId?: TourId;
643
+ }
644
+
623
645
  export interface GetUserProfile {
624
646
  }
625
647
 
@@ -670,6 +692,11 @@ export interface MissingProviderLink {
670
692
  value?: any;
671
693
  }
672
694
 
695
+ export interface NumberRange {
696
+ max?: number;
697
+ min?: number;
698
+ }
699
+
673
700
  export interface NumberSortableFilter extends SortableFilter<number> {
674
701
  maxExclusive?: number;
675
702
  min?: number;
@@ -1018,17 +1045,34 @@ export interface Tour {
1018
1045
  tourScore?: number;
1019
1046
  }
1020
1047
 
1048
+ export interface TourAgeRange {
1049
+ maxAge?: number;
1050
+ minAge?: number;
1051
+ }
1052
+
1021
1053
  export interface TourDetails {
1054
+ additionalInfo?: string[];
1055
+ ageRange?: TourAgeRange;
1022
1056
  bestSeller?: boolean;
1057
+ cancellationPolicy?: CancellationPolicy;
1023
1058
  certified?: boolean;
1024
1059
  description?: string;
1060
+ difficulty?: TourDifficulty;
1025
1061
  durationInHours?: number;
1062
+ exclusions?: string[];
1063
+ highlights?: string[];
1026
1064
  images?: Image[];
1065
+ inclusions?: string[];
1066
+ itinerary?: TourItineraryItem[];
1067
+ languages?: string[];
1068
+ logistics?: TourLogistics;
1069
+ maxGroupSize?: number;
1027
1070
  name?: string;
1028
1071
  openingHours?: InstantRange[];
1029
1072
  provider?: TourProvider;
1030
1073
  providerUrl?: string;
1031
1074
  rating?: RatingDetails;
1075
+ shortSummary?: string;
1032
1076
  tags?: string[];
1033
1077
  timeRange?: InstantRange;
1034
1078
  }
@@ -1042,6 +1086,11 @@ export interface TourDetailsUpdate extends TourUpdate {
1042
1086
  subContinent?: string;
1043
1087
  }
1044
1088
 
1089
+ export interface TourDifficulty {
1090
+ level?: number;
1091
+ name?: string;
1092
+ }
1093
+
1045
1094
  export interface TourId {
1046
1095
  type?: any;
1047
1096
  }
@@ -1054,6 +1103,27 @@ export interface TourInfo {
1054
1103
  tourScore?: number;
1055
1104
  }
1056
1105
 
1106
+ export interface TourItineraryItem {
1107
+ day?: number;
1108
+ description?: string;
1109
+ durationInDays?: number;
1110
+ locations?: TourLocation[];
1111
+ title?: string;
1112
+ }
1113
+
1114
+ export interface TourLocation {
1115
+ address?: string;
1116
+ name?: string;
1117
+ point?: LatLong;
1118
+ }
1119
+
1120
+ export interface TourLogistics {
1121
+ endLocation?: TourLocation;
1122
+ meetingPoint?: TourLocation;
1123
+ redemptionAddress?: string;
1124
+ startLocation?: TourLocation;
1125
+ }
1126
+
1057
1127
  export interface TourPricing {
1058
1128
  amount?: number;
1059
1129
  currency?: string;
@@ -1083,7 +1153,7 @@ export interface TourSummary {
1083
1153
  complete?: boolean;
1084
1154
  continent?: Continent;
1085
1155
  countryId?: string;
1086
- details?: TourDetails;
1156
+ details?: TourSummaryDetails;
1087
1157
  externalId?: TourProviderId;
1088
1158
  externalProviderId?: string;
1089
1159
  priceInDollar?: number;
@@ -1094,11 +1164,32 @@ export interface TourSummary {
1094
1164
  tourScore?: number;
1095
1165
  }
1096
1166
 
1167
+ export interface TourSummaryDetails {
1168
+ bestSeller?: boolean;
1169
+ certified?: boolean;
1170
+ description?: string;
1171
+ durationInHours?: number;
1172
+ images?: Image[];
1173
+ name?: string;
1174
+ openingHours?: InstantRange[];
1175
+ provider?: TourProvider;
1176
+ providerUrl?: string;
1177
+ rating?: RatingDetails;
1178
+ shortSummary?: string;
1179
+ tags?: string[];
1180
+ timeRange?: InstantRange;
1181
+ }
1182
+
1097
1183
  export interface TourUpdate {
1098
1184
  countryId?: string;
1099
1185
  tourId?: TourId;
1100
1186
  }
1101
1187
 
1188
+ export interface TourWithSummary {
1189
+ summary?: TourSummary;
1190
+ tour?: Tour;
1191
+ }
1192
+
1102
1193
  export interface ToursUpdater {
1103
1194
  }
1104
1195
 
package/package.json CHANGED
@@ -1,5 +1,5 @@
1
1
  {
2
2
  "name": "@openvoy/openvoy-typescriptmodels",
3
- "version": "0.0.6961",
3
+ "version": "0.0.6981",
4
4
  "types": "core.d.ts"
5
5
  }