@openvoy/openvoy-typescriptmodels 0.0.1651 → 0.0.1671

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 +22 -4
  2. package/package.json +1 -1
package/core.d.ts CHANGED
@@ -486,6 +486,7 @@ export interface SystemUserKey {
486
486
  }
487
487
 
488
488
  export interface Tag {
489
+ childTags?: { [index: string]: TagDetails };
489
490
  details?: TagDetails;
490
491
  internalDetails?: TagInternalDetails;
491
492
  parentTags?: { [index: string]: TagDetails };
@@ -495,6 +496,10 @@ export interface Tag {
495
496
  tagId?: string;
496
497
  }
497
498
 
499
+ export interface TagCommand {
500
+ tagId?: string;
501
+ }
502
+
498
503
  export interface TagDetails {
499
504
  name?: string;
500
505
  namesByLocale?: { [index: string]: string };
@@ -503,7 +508,11 @@ export interface TagDetails {
503
508
  export interface TagInfo {
504
509
  active?: boolean;
505
510
  bestTour?: TourInfo;
511
+ childTagIds?: string[];
512
+ childTags?: { [index: string]: TagDetails };
506
513
  details?: TagDetails;
514
+ hasChildren?: boolean;
515
+ hasParent?: boolean;
507
516
  internalDetails?: TagInternalDetails;
508
517
  parentTagIds?: string[];
509
518
  parentTags?: { [index: string]: TagDetails };
@@ -527,6 +536,9 @@ export interface TagProviderId {
527
536
  type?: any;
528
537
  }
529
538
 
539
+ export interface TagUpdate extends TagCommand {
540
+ }
541
+
530
542
  export interface Tour {
531
543
  cityId?: string;
532
544
  continent?: Continent;
@@ -635,9 +647,11 @@ export interface UpsertCountry extends CountryUpdate {
635
647
  providerDetails?: CountryProviderDetails;
636
648
  }
637
649
 
638
- export interface UpsertParentTags {
650
+ /**
651
+ * @deprecated for removal
652
+ */
653
+ export interface UpsertParentTags extends TagUpdate {
639
654
  parentTags?: { [index: string]: TagDetails };
640
- tagId?: string;
641
655
  }
642
656
 
643
657
  export interface UpsertPublicKey extends UserUpdate {
@@ -646,11 +660,15 @@ export interface UpsertPublicKey extends UserUpdate {
646
660
  publicKey?: string;
647
661
  }
648
662
 
649
- export interface UpsertTag {
663
+ export interface UpsertTag extends TagCommand {
650
664
  details?: TagDetails;
651
665
  internalDetails?: TagInternalDetails;
652
666
  providerDetails?: TagProviderDetails;
653
- tagId?: string;
667
+ }
668
+
669
+ export interface UpsertTagRelationships extends TagUpdate {
670
+ childTags?: { [index: string]: TagDetails };
671
+ parentTags?: { [index: string]: TagDetails };
654
672
  }
655
673
 
656
674
  export interface UpsertTour extends TourUpdate {
package/package.json CHANGED
@@ -1,5 +1,5 @@
1
1
  {
2
2
  "name": "@openvoy/openvoy-typescriptmodels",
3
- "version": "0.0.1651",
3
+ "version": "0.0.1671",
4
4
  "types": "core.d.ts"
5
5
  }