@openvoy/openvoy-typescriptmodels 0.0.5241 → 0.0.5261

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 +13 -2
  2. 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
  }
@@ -949,6 +957,7 @@ export interface UiUpdate {
949
957
  }
950
958
 
951
959
  export interface UpdateTour extends TourDetailsUpdate {
960
+ attractionId?: string;
952
961
  cityId?: string;
953
962
  continent?: Continent;
954
963
  providerDetails?: TourProviderDetails;
@@ -995,6 +1004,7 @@ export interface UploadDestinationsCsv {
995
1004
  export interface UpsertAttraction extends UpsertAttractionCommand {
996
1005
  cityId?: string;
997
1006
  contentDetails?: ContentDetails;
1007
+ merge?: boolean;
998
1008
  }
999
1009
 
1000
1010
  export interface UpsertAttractionCommand extends AttractionCommand {
@@ -1084,6 +1094,7 @@ export interface UpsertTagRelationships extends TagUpdate {
1084
1094
  }
1085
1095
 
1086
1096
  export interface UpsertTour extends TourDetailsUpdate {
1097
+ attractionId?: string;
1087
1098
  cityId?: string;
1088
1099
  continent?: Continent;
1089
1100
  providerDetails?: TourProviderDetails;
package/package.json CHANGED
@@ -1,5 +1,5 @@
1
1
  {
2
2
  "name": "@openvoy/openvoy-typescriptmodels",
3
- "version": "0.0.5241",
3
+ "version": "0.0.5261",
4
4
  "types": "core.d.ts"
5
5
  }