@openvoy/openvoy-typescriptmodels 0.0.5251 → 0.0.5271
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 +15 -3
- package/package.json +1 -1
package/core.d.ts
CHANGED
|
@@ -39,8 +39,6 @@ export interface AttractionDetails {
|
|
|
39
39
|
name?: string;
|
|
40
40
|
openingHours?: string;
|
|
41
41
|
primaryCity?: string;
|
|
42
|
-
provider?: TourProvider;
|
|
43
|
-
providerUrl?: string;
|
|
44
42
|
reviews?: ReviewDetails;
|
|
45
43
|
tours?: TourProviderId[];
|
|
46
44
|
}
|
|
@@ -49,6 +47,7 @@ export interface AttractionProviderDetails {
|
|
|
49
47
|
alias?: AttractionProviderId;
|
|
50
48
|
attractionCode?: string;
|
|
51
49
|
provider?: TourProvider;
|
|
50
|
+
url?: string;
|
|
52
51
|
}
|
|
53
52
|
|
|
54
53
|
export interface AttractionProviderId {
|
|
@@ -63,6 +62,7 @@ export interface AttractionSummary {
|
|
|
63
62
|
destinationIds?: DestinationIds;
|
|
64
63
|
details?: AttractionDetails;
|
|
65
64
|
primaryCity?: CityDetails;
|
|
65
|
+
providers?: AttractionProviderDetails[];
|
|
66
66
|
tags?: string[];
|
|
67
67
|
totalScore?: number;
|
|
68
68
|
tourCount?: number;
|
|
@@ -182,6 +182,7 @@ export interface CountryUpdate {
|
|
|
182
182
|
}
|
|
183
183
|
|
|
184
184
|
export interface CreateTour extends TourDetailsUpdate {
|
|
185
|
+
attractionId?: string;
|
|
185
186
|
cityId?: string;
|
|
186
187
|
continent?: Continent;
|
|
187
188
|
providerDetails?: TourProviderDetails;
|
|
@@ -451,6 +452,13 @@ export interface GetAttraction {
|
|
|
451
452
|
attractionId?: string;
|
|
452
453
|
}
|
|
453
454
|
|
|
455
|
+
export interface GetAttractionForProvider {
|
|
456
|
+
cityId?: string;
|
|
457
|
+
countryId?: string;
|
|
458
|
+
name?: string;
|
|
459
|
+
providerId?: AttractionProviderId;
|
|
460
|
+
}
|
|
461
|
+
|
|
454
462
|
export interface GetAttractionInfo {
|
|
455
463
|
attractionId?: string;
|
|
456
464
|
}
|
|
@@ -769,9 +777,10 @@ export interface Tag {
|
|
|
769
777
|
internalDetails?: TagInternalDetails;
|
|
770
778
|
parentTags?: { [index: string]: TagDetails };
|
|
771
779
|
providerAliases?: string[];
|
|
772
|
-
providerDetails?:
|
|
780
|
+
providerDetails?: TagProviderDetails;
|
|
773
781
|
root?: boolean;
|
|
774
782
|
tagId?: string;
|
|
783
|
+
tagProviderDetails?: { [index: string]: TagProviderDetails };
|
|
775
784
|
}
|
|
776
785
|
|
|
777
786
|
export interface TagCommand {
|
|
@@ -949,6 +958,7 @@ export interface UiUpdate {
|
|
|
949
958
|
}
|
|
950
959
|
|
|
951
960
|
export interface UpdateTour extends TourDetailsUpdate {
|
|
961
|
+
attractionId?: string;
|
|
952
962
|
cityId?: string;
|
|
953
963
|
continent?: Continent;
|
|
954
964
|
providerDetails?: TourProviderDetails;
|
|
@@ -995,6 +1005,7 @@ export interface UploadDestinationsCsv {
|
|
|
995
1005
|
export interface UpsertAttraction extends UpsertAttractionCommand {
|
|
996
1006
|
cityId?: string;
|
|
997
1007
|
contentDetails?: ContentDetails;
|
|
1008
|
+
merge?: boolean;
|
|
998
1009
|
}
|
|
999
1010
|
|
|
1000
1011
|
export interface UpsertAttractionCommand extends AttractionCommand {
|
|
@@ -1084,6 +1095,7 @@ export interface UpsertTagRelationships extends TagUpdate {
|
|
|
1084
1095
|
}
|
|
1085
1096
|
|
|
1086
1097
|
export interface UpsertTour extends TourDetailsUpdate {
|
|
1098
|
+
attractionId?: string;
|
|
1087
1099
|
cityId?: string;
|
|
1088
1100
|
continent?: Continent;
|
|
1089
1101
|
providerDetails?: TourProviderDetails;
|
package/package.json
CHANGED