@openvoy/openvoy-typescriptmodels 0.0.7001 → 0.0.7031

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 +38 -0
  2. package/package.json +1 -1
package/core.d.ts CHANGED
@@ -638,6 +638,11 @@ export interface GetTourProvider {
638
638
  export interface GetTourProviders {
639
639
  }
640
640
 
641
+ export interface GetTourReviews {
642
+ pagination?: Pagination;
643
+ tourProviderId?: TourProviderId;
644
+ }
645
+
641
646
  export interface GetTourWithSummary {
642
647
  tourId?: TourId;
643
648
  }
@@ -794,11 +799,37 @@ export interface ReviewDetails {
794
799
  totalReviews?: number;
795
800
  }
796
801
 
802
+ export interface ReviewItem {
803
+ language?: string;
804
+ ownerResponse?: ReviewOwnerResponse;
805
+ provider?: string;
806
+ publishedDate?: string;
807
+ rating?: number;
808
+ reference?: string;
809
+ text?: string;
810
+ title?: string;
811
+ userName?: string;
812
+ votes?: ReviewVotes;
813
+ }
814
+
815
+ export interface ReviewOwnerResponse {
816
+ language?: string;
817
+ publishedDate?: string;
818
+ reviewReference?: string;
819
+ text?: string;
820
+ userName?: string;
821
+ }
822
+
797
823
  export interface ReviewSummary {
798
824
  count?: number;
799
825
  rating?: number;
800
826
  }
801
827
 
828
+ export interface ReviewVotes {
829
+ down?: number;
830
+ up?: number;
831
+ }
832
+
802
833
  export interface RuntimeException extends Exception {
803
834
  }
804
835
 
@@ -1145,6 +1176,13 @@ export interface TourProviderId {
1145
1176
  type?: any;
1146
1177
  }
1147
1178
 
1179
+ export interface TourReviewsPage {
1180
+ averageRating?: number;
1181
+ items?: ReviewItem[];
1182
+ summary?: ReviewSummary[];
1183
+ totalCount?: number;
1184
+ }
1185
+
1148
1186
  export interface TourSummariesUpdater {
1149
1187
  }
1150
1188
 
package/package.json CHANGED
@@ -1,5 +1,5 @@
1
1
  {
2
2
  "name": "@openvoy/openvoy-typescriptmodels",
3
- "version": "0.0.7001",
3
+ "version": "0.0.7031",
4
4
  "types": "core.d.ts"
5
5
  }