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