@openvoy/openvoy-typescriptmodels 0.0.881 → 0.0.901

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 +21 -15
  2. package/package.json +1 -1
package/core.d.ts CHANGED
@@ -29,7 +29,6 @@ export interface City {
29
29
  details?: CityDetails;
30
30
  providerAliases?: string[];
31
31
  providerDetails?: { [index: string]: CityProviderDetails };
32
- tags?: string[];
33
32
  tours?: { [index: string]: TourId[] };
34
33
  }
35
34
 
@@ -45,9 +44,9 @@ export interface CityInfo {
45
44
  countryDetails?: CountryDetails;
46
45
  countryId?: string;
47
46
  details?: CityDetails;
48
- tags?: { [index: string]: TagDetailsInfo };
47
+ tags?: { [index: string]: DestinationDetailsInfo };
49
48
  timestampOfTourCount?: string;
50
- tours?: TourId[];
49
+ tours?: TourInfo[];
51
50
  }
52
51
 
53
52
  export interface CityProviderDetails {
@@ -101,9 +100,9 @@ export interface CountryInfo {
101
100
  cities?: City[];
102
101
  countryId?: string;
103
102
  details?: CountryDetails;
104
- tags?: { [index: string]: TagDetailsInfo };
103
+ tags?: { [index: string]: DestinationDetailsInfo };
105
104
  timestampOfTourCount?: string;
106
- tours?: TourId[];
105
+ tours?: TourInfo[];
107
106
  }
108
107
 
109
108
  export interface CountryProviderDetails {
@@ -146,6 +145,18 @@ export interface DeleteTour {
146
145
  export interface DeleteUser extends UserUpdate {
147
146
  }
148
147
 
148
+ export interface DestinationDetailsInfo extends Comparable<DestinationDetailsInfo> {
149
+ details?: TagDetails;
150
+ tagId?: string;
151
+ tours?: TourInfo[];
152
+ }
153
+
154
+ export interface DestinationInfoCollected {
155
+ cityId?: string;
156
+ countryId?: string;
157
+ details?: DestinationDetailsInfo[];
158
+ }
159
+
149
160
  export interface Email {
150
161
  }
151
162
 
@@ -398,12 +409,6 @@ export interface TagDetails {
398
409
  namesByLocale?: { [index: string]: string };
399
410
  }
400
411
 
401
- export interface TagDetailsInfo {
402
- details?: TagDetails;
403
- tagId?: string;
404
- tours?: TourId[];
405
- }
406
-
407
412
  export interface TagInfo {
408
413
  childTags?: { [index: string]: TagDetails };
409
414
  details?: TagDetails;
@@ -460,6 +465,11 @@ export interface TourImage {
460
465
  width?: number;
461
466
  }
462
467
 
468
+ export interface TourInfo {
469
+ rating?: RatingDetails;
470
+ tourId?: TourId;
471
+ }
472
+
463
473
  export interface TourPricing {
464
474
  amount?: number;
465
475
  currency?: string;
@@ -516,10 +526,6 @@ export interface UpsertCountry extends CountryUpdate {
516
526
  providerDetails?: CountryProviderDetails;
517
527
  }
518
528
 
519
- export interface UpsertDestinationTags extends CityUpdate {
520
- tags?: string[];
521
- }
522
-
523
529
  export interface UpsertParentTags {
524
530
  parentTags?: { [index: string]: TagDetails };
525
531
  tagId?: string;
package/package.json CHANGED
@@ -1,5 +1,5 @@
1
1
  {
2
2
  "name": "@openvoy/openvoy-typescriptmodels",
3
- "version": "0.0.881",
3
+ "version": "0.0.901",
4
4
  "types": "core.d.ts"
5
5
  }