@openvoy/openvoy-typescriptmodels 0.0.6951 → 0.0.6961

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 +1 -83
  2. package/package.json +1 -1
package/core.d.ts CHANGED
@@ -74,20 +74,6 @@ 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
-
91
77
  export interface City {
92
78
  alias?: string;
93
79
  attractions?: Attraction[];
@@ -627,10 +613,6 @@ export interface GetTagUsingProvider {
627
613
  id?: string;
628
614
  }
629
615
 
630
- export interface GetTour {
631
- tourId?: TourId;
632
- }
633
-
634
616
  export interface GetTourProvider {
635
617
  code?: string;
636
618
  }
@@ -688,11 +670,6 @@ export interface MissingProviderLink {
688
670
  value?: any;
689
671
  }
690
672
 
691
- export interface NumberRange {
692
- max?: number;
693
- min?: number;
694
- }
695
-
696
673
  export interface NumberSortableFilter extends SortableFilter<number> {
697
674
  maxExclusive?: number;
698
675
  min?: number;
@@ -1041,34 +1018,17 @@ export interface Tour {
1041
1018
  tourScore?: number;
1042
1019
  }
1043
1020
 
1044
- export interface TourAgeRange {
1045
- maxAge?: number;
1046
- minAge?: number;
1047
- }
1048
-
1049
1021
  export interface TourDetails {
1050
- additionalInfo?: string[];
1051
- ageRange?: TourAgeRange;
1052
1022
  bestSeller?: boolean;
1053
- cancellationPolicy?: CancellationPolicy;
1054
1023
  certified?: boolean;
1055
1024
  description?: string;
1056
- difficulty?: TourDifficulty;
1057
1025
  durationInHours?: number;
1058
- exclusions?: string[];
1059
- highlights?: string[];
1060
1026
  images?: Image[];
1061
- inclusions?: string[];
1062
- itinerary?: TourItineraryItem[];
1063
- languages?: string[];
1064
- logistics?: TourLogistics;
1065
- maxGroupSize?: number;
1066
1027
  name?: string;
1067
1028
  openingHours?: InstantRange[];
1068
1029
  provider?: TourProvider;
1069
1030
  providerUrl?: string;
1070
1031
  rating?: RatingDetails;
1071
- shortSummary?: string;
1072
1032
  tags?: string[];
1073
1033
  timeRange?: InstantRange;
1074
1034
  }
@@ -1082,11 +1042,6 @@ export interface TourDetailsUpdate extends TourUpdate {
1082
1042
  subContinent?: string;
1083
1043
  }
1084
1044
 
1085
- export interface TourDifficulty {
1086
- level?: number;
1087
- name?: string;
1088
- }
1089
-
1090
1045
  export interface TourId {
1091
1046
  type?: any;
1092
1047
  }
@@ -1099,27 +1054,6 @@ export interface TourInfo {
1099
1054
  tourScore?: number;
1100
1055
  }
1101
1056
 
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
-
1123
1057
  export interface TourPricing {
1124
1058
  amount?: number;
1125
1059
  currency?: string;
@@ -1149,7 +1083,7 @@ export interface TourSummary {
1149
1083
  complete?: boolean;
1150
1084
  continent?: Continent;
1151
1085
  countryId?: string;
1152
- details?: TourSummaryDetails;
1086
+ details?: TourDetails;
1153
1087
  externalId?: TourProviderId;
1154
1088
  externalProviderId?: string;
1155
1089
  priceInDollar?: number;
@@ -1160,22 +1094,6 @@ export interface TourSummary {
1160
1094
  tourScore?: number;
1161
1095
  }
1162
1096
 
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
-
1179
1097
  export interface TourUpdate {
1180
1098
  countryId?: string;
1181
1099
  tourId?: TourId;
package/package.json CHANGED
@@ -1,5 +1,5 @@
1
1
  {
2
2
  "name": "@openvoy/openvoy-typescriptmodels",
3
- "version": "0.0.6951",
3
+ "version": "0.0.6961",
4
4
  "types": "core.d.ts"
5
5
  }