@openvoy/openvoy-typescriptmodels 0.0.911 → 0.0.931

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 +78 -2
  2. package/package.json +1 -1
package/core.d.ts CHANGED
@@ -29,13 +29,13 @@ export interface City {
29
29
  details?: CityDetails;
30
30
  providerAliases?: string[];
31
31
  providerDetails?: { [index: string]: CityProviderDetails };
32
- tours?: { [index: string]: TourId[] };
33
32
  }
34
33
 
35
34
  export interface CityDetails {
36
35
  description?: string;
37
36
  imageUrl?: string;
38
37
  name?: string;
38
+ region?: Region;
39
39
  }
40
40
 
41
41
  export interface CityInfo {
@@ -44,6 +44,7 @@ export interface CityInfo {
44
44
  countryDetails?: CountryDetails;
45
45
  countryId?: string;
46
46
  details?: CityDetails;
47
+ regionId?: string;
47
48
  tags?: { [index: string]: DestinationDetailsInfo };
48
49
  timestampOfTourCount?: string;
49
50
  tours?: TourInfo[];
@@ -67,11 +68,22 @@ export interface CityTourDetails {
67
68
 
68
69
  export interface CityUpdate extends CountryUpdate {
69
70
  cityId?: string;
71
+ details?: CityDetails;
70
72
  }
71
73
 
72
74
  export interface Comparable<T> {
73
75
  }
74
76
 
77
+ export interface ContinentInfo {
78
+ alias?: string;
79
+ continent?: Continent;
80
+ countries?: { [index: string]: CountryDetails };
81
+ subContinents?: string[];
82
+ tags?: { [index: string]: DestinationDetailsInfo };
83
+ timestampOfTourCount?: string;
84
+ tours?: TourInfo[];
85
+ }
86
+
75
87
  export interface Country {
76
88
  cities?: City[];
77
89
  countryId?: string;
@@ -100,6 +112,7 @@ export interface CountryInfo {
100
112
  cities?: City[];
101
113
  countryId?: string;
102
114
  details?: CountryDetails;
115
+ regions?: Region[];
103
116
  tags?: { [index: string]: DestinationDetailsInfo };
104
117
  timestampOfTourCount?: string;
105
118
  tours?: TourInfo[];
@@ -121,8 +134,11 @@ export interface CountryUpdate {
121
134
 
122
135
  export interface CreateTour extends TourUpdate {
123
136
  cityId?: string;
137
+ continent?: Continent;
124
138
  countryId?: string;
125
139
  providerDetails?: TourProviderDetails;
140
+ regionId?: string;
141
+ subContinent?: string;
126
142
  }
127
143
 
128
144
  export interface CreateUser extends UserUpdate {
@@ -153,8 +169,11 @@ export interface DestinationDetailsInfo extends Comparable<DestinationDetailsInf
153
169
 
154
170
  export interface DestinationInfoCollected {
155
171
  cityId?: string;
172
+ continent?: Continent;
156
173
  countryId?: string;
157
174
  details?: DestinationDetailsInfo[];
175
+ regionId?: string;
176
+ subContinent?: string;
158
177
  }
159
178
 
160
179
  export interface Email {
@@ -213,6 +232,10 @@ export interface FindCityInfo {
213
232
  cityId?: string;
214
233
  }
215
234
 
235
+ export interface FindContinentInfo {
236
+ continent?: Continent;
237
+ }
238
+
216
239
  export interface FindCountries extends FacetedSearch<Country> {
217
240
  term?: string;
218
241
  }
@@ -229,10 +252,18 @@ export interface FindCountryInfo {
229
252
  countryId?: string;
230
253
  }
231
254
 
255
+ export interface FindRegionInfo {
256
+ regionId?: string;
257
+ }
258
+
232
259
  export interface FindRegisteredEmailAddresses {
233
260
  from?: string;
234
261
  }
235
262
 
263
+ export interface FindSubContinentInfo {
264
+ subContinentId?: string;
265
+ }
266
+
236
267
  export interface FindTagCities {
237
268
  tagId?: string;
238
269
  }
@@ -250,7 +281,10 @@ export interface FindTours extends FacetedSearch<Tour> {
250
281
 
251
282
  export interface FindToursForDestination extends FacetedSearch<Tour> {
252
283
  cityId?: string;
284
+ continent?: Continent;
253
285
  countryId?: string;
286
+ regionId?: string;
287
+ subContinentId?: string;
254
288
  }
255
289
 
256
290
  export interface Function<T, R> {
@@ -362,6 +396,28 @@ export interface RatingDetails {
362
396
  rating?: number;
363
397
  }
364
398
 
399
+ export interface Region {
400
+ details?: RegionDetails;
401
+ regionId?: string;
402
+ }
403
+
404
+ export interface RegionDetails {
405
+ externalId?: string;
406
+ name?: string;
407
+ }
408
+
409
+ export interface RegionInfo {
410
+ alias?: string;
411
+ cities?: City[];
412
+ countryDetails?: CountryDetails;
413
+ countryId?: string;
414
+ details?: RegionDetails;
415
+ regionId?: string;
416
+ tags?: { [index: string]: DestinationDetailsInfo };
417
+ timestampOfTourCount?: string;
418
+ tours?: TourInfo[];
419
+ }
420
+
365
421
  export interface RegisterEmailAddress {
366
422
  emailAddress?: Email;
367
423
  }
@@ -388,6 +444,16 @@ export interface SetUserRole extends UserUpdate {
388
444
  userRole?: Role;
389
445
  }
390
446
 
447
+ export interface SubContinentInfo {
448
+ alias?: string;
449
+ continent?: Continent;
450
+ countries?: { [index: string]: CountryDetails };
451
+ subContinentId?: string;
452
+ tags?: { [index: string]: DestinationDetailsInfo };
453
+ timestampOfTourCount?: string;
454
+ tours?: TourInfo[];
455
+ }
456
+
391
457
  export interface Supplier<T> {
392
458
  }
393
459
 
@@ -430,10 +496,13 @@ export interface TagProviderId {
430
496
 
431
497
  export interface Tour {
432
498
  cityId?: string;
499
+ continent?: Continent;
433
500
  countryId?: string;
434
501
  details?: TourDetails;
435
502
  externalId?: TourProviderId;
436
503
  providerDetails?: TourProviderDetails;
504
+ regionId?: string;
505
+ subContinent?: string;
437
506
  tourId?: TourId;
438
507
  }
439
508
 
@@ -504,8 +573,11 @@ export interface UiUpdate {
504
573
 
505
574
  export interface UpdateTour extends TourUpdate {
506
575
  cityId?: string;
576
+ continent?: Continent;
507
577
  countryId?: string;
508
578
  providerDetails?: TourProviderDetails;
579
+ regionId?: string;
580
+ subContinent?: string;
509
581
  }
510
582
 
511
583
  export interface UpdateUser extends UserUpdate {
@@ -513,7 +585,6 @@ export interface UpdateUser extends UserUpdate {
513
585
  }
514
586
 
515
587
  export interface UpsertCity extends CityUpdate {
516
- details?: CityDetails;
517
588
  providerDetails?: CityProviderDetails;
518
589
  }
519
590
 
@@ -545,8 +616,11 @@ export interface UpsertTag {
545
616
 
546
617
  export interface UpsertTour extends TourUpdate {
547
618
  cityId?: string;
619
+ continent?: Continent;
548
620
  countryId?: string;
549
621
  providerDetails?: TourProviderDetails;
622
+ regionId?: string;
623
+ subContinent?: string;
550
624
  }
551
625
 
552
626
  export interface UpsertTours {
@@ -577,7 +651,9 @@ export interface UserUpdate {
577
651
 
578
652
  export const enum CategoryType {
579
653
  continent = "continent",
654
+ subContinent = "subContinent",
580
655
  country = "country",
656
+ region = "region",
581
657
  city = "city",
582
658
  tag = "tag",
583
659
  tour = "tour",
package/package.json CHANGED
@@ -1,5 +1,5 @@
1
1
  {
2
2
  "name": "@openvoy/openvoy-typescriptmodels",
3
- "version": "0.0.911",
3
+ "version": "0.0.931",
4
4
  "types": "core.d.ts"
5
5
  }