@openvoy/openvoy-typescriptmodels 0.0.3781 → 0.0.3791

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 +28 -9
  2. package/package.json +1 -1
package/core.d.ts CHANGED
@@ -17,13 +17,15 @@ export interface ApiKeyResult {
17
17
  export interface Attraction {
18
18
  alias?: string;
19
19
  attractionId?: string;
20
+ cityId?: string;
21
+ countryId?: string;
20
22
  countryIsoCode?: string;
21
23
  details?: AttractionDetails;
22
24
  providerAliases?: string[];
23
25
  providerDetails?: { [index: string]: AttractionProviderDetails };
24
26
  }
25
27
 
26
- export interface AttractionCommand extends CountryUpdate {
28
+ export interface AttractionCommand {
27
29
  attractionId?: string;
28
30
  }
29
31
 
@@ -86,6 +88,8 @@ export interface Category {
86
88
  city?: string;
87
89
  continent?: Continent;
88
90
  country?: string;
91
+ destinationAlias?: string;
92
+ destinationTypeOfTag?: DestinationType;
89
93
  name?: string;
90
94
  region?: string;
91
95
  subContinent?: string;
@@ -148,7 +152,6 @@ export interface ContentDetails {
148
152
 
149
153
  export interface Country {
150
154
  alias?: string;
151
- attractions?: Attraction[];
152
155
  cities?: City[];
153
156
  contentDetails?: ContentDetails;
154
157
  countryId?: string;
@@ -207,6 +210,7 @@ export interface DateRange extends Comparable<DateRange> {
207
210
  }
208
211
 
209
212
  export interface DeleteAttraction extends AttractionCommand {
213
+ countryId?: string;
210
214
  }
211
215
 
212
216
  export interface DeleteTour {
@@ -296,6 +300,20 @@ export interface EntityChanged<T> {
296
300
  type?: any;
297
301
  }
298
302
 
303
+ export interface ExchangeRate {
304
+ exchangeRateId?: ExchangeRateId;
305
+ expiry?: string;
306
+ lastUpdated?: string;
307
+ rate?: number;
308
+ sourceCurrency?: string;
309
+ targetCurrency?: string;
310
+ tourProvider?: TourProvider;
311
+ }
312
+
313
+ export interface ExchangeRateId {
314
+ type?: any;
315
+ }
316
+
299
317
  export interface FacetFilter {
300
318
  facetName?: string;
301
319
  values?: any[];
@@ -363,6 +381,10 @@ export interface FindDestinations extends FacetedSearch<DestinationSummary> {
363
381
  type?: DestinationType;
364
382
  }
365
383
 
384
+ export interface FindExchangeRates {
385
+ targetCurrency?: string;
386
+ }
387
+
366
388
  export interface FindRegion {
367
389
  code?: string;
368
390
  regionId?: string;
@@ -577,6 +599,7 @@ export interface Region {
577
599
  contentDetails?: ContentDetails;
578
600
  countryIsoCode?: string;
579
601
  details?: RegionDetails;
602
+ providerAliases?: string[];
580
603
  providerDetails?: { [index: string]: RegionProviderDetails };
581
604
  regionId?: string;
582
605
  }
@@ -720,6 +743,7 @@ export interface TagInfo {
720
743
  destinationAlias?: string;
721
744
  destinationId?: string;
722
745
  destinationIds?: DestinationIds;
746
+ destinationName?: string;
723
747
  destinationType?: DestinationType;
724
748
  details?: TagDetails;
725
749
  internalDetails?: TagInternalDetails;
@@ -755,6 +779,7 @@ export interface TagSummary {
755
779
  destinationAlias?: string;
756
780
  destinationId?: string;
757
781
  destinationIds?: DestinationIds;
782
+ destinationName?: string;
758
783
  destinationType?: DestinationType;
759
784
  details?: TagDetails;
760
785
  internalDetails?: TagInternalDetails;
@@ -888,17 +913,11 @@ export interface UpsertAttraction extends UpsertAttractionCommand {
888
913
  }
889
914
 
890
915
  export interface UpsertAttractionCommand extends AttractionCommand {
916
+ countryId?: string;
891
917
  details?: AttractionDetails;
892
918
  providerDetails?: AttractionProviderDetails;
893
919
  }
894
920
 
895
- export interface UpsertAttractionForCity extends UpsertAttractionCommand {
896
- cityId?: string;
897
- }
898
-
899
- export interface UpsertAttractionForCountry extends UpsertAttractionCommand {
900
- }
901
-
902
921
  export interface UpsertCity extends CityUpdate {
903
922
  contentDetails?: ContentDetails;
904
923
  details?: CityDetails;
package/package.json CHANGED
@@ -1,5 +1,5 @@
1
1
  {
2
2
  "name": "@openvoy/openvoy-typescriptmodels",
3
- "version": "0.0.3781",
3
+ "version": "0.0.3791",
4
4
  "types": "core.d.ts"
5
5
  }