@openvoy/openvoy-typescriptmodels 0.0.1931 → 0.0.1961
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 +43 -18
- package/package.json +1 -1
package/core.d.ts
CHANGED
|
@@ -44,16 +44,18 @@ export interface CityDetails {
|
|
|
44
44
|
|
|
45
45
|
export interface CityInfo {
|
|
46
46
|
alias?: string;
|
|
47
|
+
averageScore?: number;
|
|
47
48
|
cityId?: string;
|
|
48
49
|
continent?: Continent;
|
|
49
50
|
countryDetails?: CountryDetails;
|
|
50
51
|
countryId?: string;
|
|
51
52
|
details?: CityDetails;
|
|
53
|
+
newTags?: { [index: string]: TagScoreInfo };
|
|
54
|
+
newTours?: { [index: string]: number };
|
|
52
55
|
regionId?: string;
|
|
53
56
|
subContinent?: string;
|
|
54
|
-
tags?: { [index: string]:
|
|
57
|
+
tags?: { [index: string]: TagDetailsInfo };
|
|
55
58
|
timestampOfTourCount?: string;
|
|
56
|
-
tourScore?: number;
|
|
57
59
|
tourWithImageForCity?: Tour;
|
|
58
60
|
tours?: TourInfo[];
|
|
59
61
|
}
|
|
@@ -84,13 +86,15 @@ export interface Comparable<T> {
|
|
|
84
86
|
|
|
85
87
|
export interface ContinentInfo {
|
|
86
88
|
alias?: string;
|
|
89
|
+
averageScore?: number;
|
|
87
90
|
bestTour?: TourInfo;
|
|
88
91
|
continent?: Continent;
|
|
89
92
|
countries?: { [index: string]: CountryDetails };
|
|
93
|
+
newTags?: { [index: string]: TagScoreInfo };
|
|
94
|
+
newTours?: { [index: string]: number };
|
|
90
95
|
subContinents?: string[];
|
|
91
|
-
tags?: { [index: string]:
|
|
96
|
+
tags?: { [index: string]: TagDetailsInfo };
|
|
92
97
|
timestampOfTourCount?: string;
|
|
93
|
-
tourScore?: number;
|
|
94
98
|
tours?: TourInfo[];
|
|
95
99
|
}
|
|
96
100
|
|
|
@@ -119,13 +123,15 @@ export interface CountryDetails {
|
|
|
119
123
|
}
|
|
120
124
|
|
|
121
125
|
export interface CountryInfo {
|
|
126
|
+
averageScore?: number;
|
|
122
127
|
cities?: City[];
|
|
123
128
|
countryId?: string;
|
|
124
129
|
details?: CountryDetails;
|
|
130
|
+
newTags?: { [index: string]: TagScoreInfo };
|
|
131
|
+
newTours?: { [index: string]: number };
|
|
125
132
|
regions?: Region[];
|
|
126
|
-
tags?: { [index: string]:
|
|
133
|
+
tags?: { [index: string]: TagDetailsInfo };
|
|
127
134
|
timestampOfTourCount?: string;
|
|
128
|
-
tourScore?: number;
|
|
129
135
|
tours?: TourInfo[];
|
|
130
136
|
}
|
|
131
137
|
|
|
@@ -169,18 +175,11 @@ export interface DeleteTour {
|
|
|
169
175
|
export interface DeleteUser extends UserUpdate {
|
|
170
176
|
}
|
|
171
177
|
|
|
172
|
-
export interface DestinationDetailsInfo extends Comparable<DestinationDetailsInfo> {
|
|
173
|
-
details?: TagDetails;
|
|
174
|
-
tagId?: string;
|
|
175
|
-
tourScore?: number;
|
|
176
|
-
tours?: TourInfo[];
|
|
177
|
-
}
|
|
178
|
-
|
|
179
178
|
export interface DestinationInfoCollected {
|
|
180
179
|
cityId?: string;
|
|
181
180
|
continent?: Continent;
|
|
182
181
|
countryId?: string;
|
|
183
|
-
details?:
|
|
182
|
+
details?: TagDetailsInfo[];
|
|
184
183
|
regionId?: string;
|
|
185
184
|
subContinent?: string;
|
|
186
185
|
tags?: string[];
|
|
@@ -419,6 +418,14 @@ export interface LatLong {
|
|
|
419
418
|
longitude?: number;
|
|
420
419
|
}
|
|
421
420
|
|
|
421
|
+
export interface MigrateDestinationData {
|
|
422
|
+
cityId?: string;
|
|
423
|
+
continent?: Continent;
|
|
424
|
+
countryId?: string;
|
|
425
|
+
regionId?: string;
|
|
426
|
+
subContinentId?: string;
|
|
427
|
+
}
|
|
428
|
+
|
|
422
429
|
export interface Pagination {
|
|
423
430
|
count?: number;
|
|
424
431
|
from?: number;
|
|
@@ -441,14 +448,16 @@ export interface RegionDetails {
|
|
|
441
448
|
|
|
442
449
|
export interface RegionInfo {
|
|
443
450
|
alias?: string;
|
|
451
|
+
averageScore?: number;
|
|
444
452
|
cities?: City[];
|
|
445
453
|
countryDetails?: CountryDetails;
|
|
446
454
|
countryId?: string;
|
|
447
455
|
details?: RegionDetails;
|
|
456
|
+
newTags?: { [index: string]: TagScoreInfo };
|
|
457
|
+
newTours?: { [index: string]: number };
|
|
448
458
|
regionId?: string;
|
|
449
|
-
tags?: { [index: string]:
|
|
459
|
+
tags?: { [index: string]: TagDetailsInfo };
|
|
450
460
|
timestampOfTourCount?: string;
|
|
451
|
-
tourScore?: number;
|
|
452
461
|
tours?: TourInfo[];
|
|
453
462
|
}
|
|
454
463
|
|
|
@@ -480,14 +489,16 @@ export interface SetUserRole extends UserUpdate {
|
|
|
480
489
|
|
|
481
490
|
export interface SubContinentInfo {
|
|
482
491
|
alias?: string;
|
|
492
|
+
averageScore?: number;
|
|
483
493
|
bestTour?: TourInfo;
|
|
484
494
|
continent?: Continent;
|
|
485
495
|
countries?: { [index: string]: CountryDetails };
|
|
486
496
|
imageUrls?: string[];
|
|
497
|
+
newTags?: { [index: string]: TagScoreInfo };
|
|
498
|
+
newTours?: { [index: string]: number };
|
|
487
499
|
subContinentId?: string;
|
|
488
|
-
tags?: { [index: string]:
|
|
500
|
+
tags?: { [index: string]: TagDetailsInfo };
|
|
489
501
|
timestampOfTourCount?: string;
|
|
490
|
-
tourScore?: number;
|
|
491
502
|
tours?: TourInfo[];
|
|
492
503
|
}
|
|
493
504
|
|
|
@@ -528,6 +539,13 @@ export interface TagDetails {
|
|
|
528
539
|
namesByLocale?: { [index: string]: string };
|
|
529
540
|
}
|
|
530
541
|
|
|
542
|
+
export interface TagDetailsInfo extends Comparable<TagDetailsInfo> {
|
|
543
|
+
details?: TagDetails;
|
|
544
|
+
tagId?: string;
|
|
545
|
+
tourScore?: number;
|
|
546
|
+
tours?: TourInfo[];
|
|
547
|
+
}
|
|
548
|
+
|
|
531
549
|
export interface TagInfo {
|
|
532
550
|
active?: boolean;
|
|
533
551
|
alias?: string;
|
|
@@ -563,6 +581,13 @@ export interface TagProviderId {
|
|
|
563
581
|
type?: any;
|
|
564
582
|
}
|
|
565
583
|
|
|
584
|
+
export interface TagScoreInfo extends Comparable<TagScoreInfo> {
|
|
585
|
+
details?: TagDetails;
|
|
586
|
+
scores?: { [index: string]: number };
|
|
587
|
+
tagId?: string;
|
|
588
|
+
tourScore?: number;
|
|
589
|
+
}
|
|
590
|
+
|
|
566
591
|
export interface TagUpdate extends TagCommand {
|
|
567
592
|
}
|
|
568
593
|
|
package/package.json
CHANGED