@umbraco-engage/mcp 18.2.2 → 18.3.0
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/README.md +4 -6
- package/dist/collections.js +1587 -1132
- package/dist/collections.js.map +1 -1
- package/dist/index.js +1550 -1108
- package/dist/index.js.map +1 -1
- package/dist/tool-types.d.ts +544 -70
- package/package.json +3 -3
package/dist/tool-types.d.ts
CHANGED
|
@@ -103,6 +103,7 @@ export interface GetAbTestOutput {
|
|
|
103
103
|
totalPageviewsForVariant: number;
|
|
104
104
|
totalVisitorsForVariant: number;
|
|
105
105
|
};
|
|
106
|
+
isArchived: boolean;
|
|
106
107
|
isCompleted: boolean;
|
|
107
108
|
completedOn?: string | null;
|
|
108
109
|
completedByUmbracoUserKey?: string | null;
|
|
@@ -212,6 +213,7 @@ export interface PostAbTestOutput {
|
|
|
212
213
|
totalPageviewsForVariant: number;
|
|
213
214
|
totalVisitorsForVariant: number;
|
|
214
215
|
};
|
|
216
|
+
isArchived: boolean;
|
|
215
217
|
isCompleted: boolean;
|
|
216
218
|
completedOn?: string | null;
|
|
217
219
|
completedByUmbracoUserKey?: string | null;
|
|
@@ -598,6 +600,7 @@ export interface GetAbTestAllOutput {
|
|
|
598
600
|
totalPageviewsForVariant: number;
|
|
599
601
|
totalVisitorsForVariant: number;
|
|
600
602
|
};
|
|
603
|
+
isArchived: boolean;
|
|
601
604
|
isCompleted: boolean;
|
|
602
605
|
completedOn?: string | null;
|
|
603
606
|
completedByUmbracoUserKey?: string | null;
|
|
@@ -689,6 +692,7 @@ export interface GetAbTestEmptyOutput {
|
|
|
689
692
|
totalPageviewsForVariant: number;
|
|
690
693
|
totalVisitorsForVariant: number;
|
|
691
694
|
};
|
|
695
|
+
isArchived: boolean;
|
|
692
696
|
isCompleted: boolean;
|
|
693
697
|
completedOn?: string | null;
|
|
694
698
|
completedByUmbracoUserKey?: string | null;
|
|
@@ -1020,6 +1024,7 @@ export interface GetAbTestPageOutput {
|
|
|
1020
1024
|
totalVisitors: number;
|
|
1021
1025
|
winner?: string | null;
|
|
1022
1026
|
winnerDescription?: string | null;
|
|
1027
|
+
isArchived: boolean;
|
|
1023
1028
|
}[];
|
|
1024
1029
|
}
|
|
1025
1030
|
|
|
@@ -1422,6 +1427,7 @@ export interface GetAbTestViewModelOutput {
|
|
|
1422
1427
|
totalPageviewsForVariant: number;
|
|
1423
1428
|
totalVisitorsForVariant: number;
|
|
1424
1429
|
};
|
|
1430
|
+
isArchived: boolean;
|
|
1425
1431
|
isCompleted: boolean;
|
|
1426
1432
|
completedOn?: string | null;
|
|
1427
1433
|
completedByUmbracoUserKey?: string | null;
|
|
@@ -1820,6 +1826,7 @@ export interface PostAbTestStartOutput {
|
|
|
1820
1826
|
totalPageviewsForVariant: number;
|
|
1821
1827
|
totalVisitorsForVariant: number;
|
|
1822
1828
|
};
|
|
1829
|
+
isArchived: boolean;
|
|
1823
1830
|
isCompleted: boolean;
|
|
1824
1831
|
completedOn?: string | null;
|
|
1825
1832
|
completedByUmbracoUserKey?: string | null;
|
|
@@ -2228,6 +2235,7 @@ export interface PostAbTestStopOutput {
|
|
|
2228
2235
|
totalPageviewsForVariant: number;
|
|
2229
2236
|
totalVisitorsForVariant: number;
|
|
2230
2237
|
};
|
|
2238
|
+
isArchived: boolean;
|
|
2231
2239
|
isCompleted: boolean;
|
|
2232
2240
|
completedOn?: string | null;
|
|
2233
2241
|
completedByUmbracoUserKey?: string | null;
|
|
@@ -2543,6 +2551,524 @@ export interface PostAbTestStopOutput {
|
|
|
2543
2551
|
};
|
|
2544
2552
|
}
|
|
2545
2553
|
|
|
2554
|
+
export interface PostAbTestArchiveInput {
|
|
2555
|
+
/**
|
|
2556
|
+
* The real, existing A/B test's `unique` guid (from post-ab-test's response, or get-ab-test-all).
|
|
2557
|
+
*/
|
|
2558
|
+
unique: string;
|
|
2559
|
+
/**
|
|
2560
|
+
* true archives the test, false restores a previously archived test.
|
|
2561
|
+
*/
|
|
2562
|
+
archived: boolean;
|
|
2563
|
+
}
|
|
2564
|
+
|
|
2565
|
+
export interface PostAbTestArchiveOutput {
|
|
2566
|
+
isValid: boolean;
|
|
2567
|
+
warnings: string[] | null;
|
|
2568
|
+
errors: string[] | null;
|
|
2569
|
+
}
|
|
2570
|
+
|
|
2571
|
+
export interface PostAbTestEndInput {
|
|
2572
|
+
/**
|
|
2573
|
+
* The real, existing A/B test's `unique` guid (from post-ab-test's response, or get-ab-test-all).
|
|
2574
|
+
*/
|
|
2575
|
+
unique: string;
|
|
2576
|
+
/**
|
|
2577
|
+
* The status to end the test with: `Stopped` (halted, no winner chosen) or `Completed` (finished, usually with a `winnerKey`).
|
|
2578
|
+
*/
|
|
2579
|
+
status: "Stopped" | "Completed";
|
|
2580
|
+
/**
|
|
2581
|
+
* The `unique` of the winning variant (from get-ab-test-variant-all / get-ab-test-view-model). Used when status is `Completed`.
|
|
2582
|
+
*/
|
|
2583
|
+
winnerKey?: string;
|
|
2584
|
+
/**
|
|
2585
|
+
* What to do with the winning variant's page when completing: `Nothing`, `Publish` or `Draft`.
|
|
2586
|
+
*/
|
|
2587
|
+
onCompleteAction?: "Nothing" | "Publish" | "Draft";
|
|
2588
|
+
}
|
|
2589
|
+
|
|
2590
|
+
export interface PostAbTestEndOutput {
|
|
2591
|
+
test?: null | {
|
|
2592
|
+
test: {
|
|
2593
|
+
unique: string;
|
|
2594
|
+
projectKey?: string | null;
|
|
2595
|
+
goalKey?: string | null;
|
|
2596
|
+
status?: null | ("Unknown" | "Scheduled" | "Running" | "Stopped" | "Completed" | "Draft" | null);
|
|
2597
|
+
name?: string | null;
|
|
2598
|
+
description?: string | null;
|
|
2599
|
+
createdByUmbracoUserName?: string | null;
|
|
2600
|
+
testType?: null | ("SinglePage" | "MultiPage" | "ContentType" | "SplitUrl" | null);
|
|
2601
|
+
startTime?: string | null;
|
|
2602
|
+
endTime?: string | null;
|
|
2603
|
+
participationPercentage?: number | null;
|
|
2604
|
+
minimumDetectableEffect?: number | null;
|
|
2605
|
+
variants: {
|
|
2606
|
+
id: number;
|
|
2607
|
+
unique: string;
|
|
2608
|
+
abTestId: number;
|
|
2609
|
+
name?: string | null;
|
|
2610
|
+
description?: string | null;
|
|
2611
|
+
redirectNodeKey?: string | null;
|
|
2612
|
+
css?: string | null;
|
|
2613
|
+
javascript?: string | null;
|
|
2614
|
+
created: string;
|
|
2615
|
+
createdByUmbracoUserKey: string;
|
|
2616
|
+
isBenchmark: boolean;
|
|
2617
|
+
disabled?: string | null;
|
|
2618
|
+
disabledByUmbracoUserKey?: string | null;
|
|
2619
|
+
isDisabled: boolean;
|
|
2620
|
+
segment?: string | null;
|
|
2621
|
+
previewSegment?: string | null;
|
|
2622
|
+
totalPageviewsForVariant: number;
|
|
2623
|
+
totalVisitorsForVariant: number;
|
|
2624
|
+
}[];
|
|
2625
|
+
umbracoPageVariants: {
|
|
2626
|
+
id: number;
|
|
2627
|
+
unique: string;
|
|
2628
|
+
nodeKey: string;
|
|
2629
|
+
nodeName?: string | null;
|
|
2630
|
+
culture?: string | null;
|
|
2631
|
+
abTestId?: number | null;
|
|
2632
|
+
variesBySegment: boolean;
|
|
2633
|
+
contentTypeKey: string;
|
|
2634
|
+
}[];
|
|
2635
|
+
contentTypes: {
|
|
2636
|
+
contentTypeId: number;
|
|
2637
|
+
contentTypeName?: string | null;
|
|
2638
|
+
culture?: string | null;
|
|
2639
|
+
}[];
|
|
2640
|
+
winner?: null | {
|
|
2641
|
+
id: number;
|
|
2642
|
+
unique: string;
|
|
2643
|
+
abTestId: number;
|
|
2644
|
+
name?: string | null;
|
|
2645
|
+
description?: string | null;
|
|
2646
|
+
redirectNodeKey?: string | null;
|
|
2647
|
+
css?: string | null;
|
|
2648
|
+
javascript?: string | null;
|
|
2649
|
+
created: string;
|
|
2650
|
+
createdByUmbracoUserKey: string;
|
|
2651
|
+
isBenchmark: boolean;
|
|
2652
|
+
disabled?: string | null;
|
|
2653
|
+
disabledByUmbracoUserKey?: string | null;
|
|
2654
|
+
isDisabled: boolean;
|
|
2655
|
+
segment?: string | null;
|
|
2656
|
+
previewSegment?: string | null;
|
|
2657
|
+
totalPageviewsForVariant: number;
|
|
2658
|
+
totalVisitorsForVariant: number;
|
|
2659
|
+
};
|
|
2660
|
+
isArchived: boolean;
|
|
2661
|
+
isCompleted: boolean;
|
|
2662
|
+
completedOn?: string | null;
|
|
2663
|
+
completedByUmbracoUserKey?: string | null;
|
|
2664
|
+
stoppedByUmbracoUserKey?: string | null;
|
|
2665
|
+
estimatedDailyVisitors?: number | null;
|
|
2666
|
+
baselineConversionRate?: number | null;
|
|
2667
|
+
viableVisitorThreshold?: number | null;
|
|
2668
|
+
previewNodeKey?: string | null;
|
|
2669
|
+
onCompleteAction: "Nothing" | "Publish" | "Draft";
|
|
2670
|
+
id: number;
|
|
2671
|
+
created: string;
|
|
2672
|
+
};
|
|
2673
|
+
indication?: null | {
|
|
2674
|
+
estimatedRuntimeInDays?: number | null;
|
|
2675
|
+
estimatedRequiredRuntimeRemainingInDays?: number | null;
|
|
2676
|
+
currentRuntimeInDays: number;
|
|
2677
|
+
mde: number;
|
|
2678
|
+
benchmarkConversionRate: number;
|
|
2679
|
+
targetConversionRate: number;
|
|
2680
|
+
variantCount: number;
|
|
2681
|
+
requiredVisitorsTotal?: number | null;
|
|
2682
|
+
requiredVisitorsPerVariant?: number | null;
|
|
2683
|
+
expectedDailyVisitors: number;
|
|
2684
|
+
status: "Unknown" | "Scheduled" | "Running" | "Stopped" | "Completed" | "Draft" | null;
|
|
2685
|
+
hurtingVariants: {
|
|
2686
|
+
abTestVariant: {
|
|
2687
|
+
id: number;
|
|
2688
|
+
unique: string;
|
|
2689
|
+
name?: string | null;
|
|
2690
|
+
description?: string | null;
|
|
2691
|
+
redirectNodeKey?: string | null;
|
|
2692
|
+
css?: string | null;
|
|
2693
|
+
javascript?: string | null;
|
|
2694
|
+
created: string;
|
|
2695
|
+
createdByUmbracoUserKey: string;
|
|
2696
|
+
disabled?: string | null;
|
|
2697
|
+
disabledByUmbracoUserKey?: string | null;
|
|
2698
|
+
isDisabled: boolean;
|
|
2699
|
+
isBenchmark: boolean;
|
|
2700
|
+
totalPageviewsForVariant: number;
|
|
2701
|
+
totalVisitorsForVariant: number;
|
|
2702
|
+
segment: string | null;
|
|
2703
|
+
previewSegment: string | null;
|
|
2704
|
+
};
|
|
2705
|
+
visitors: number;
|
|
2706
|
+
goalCompletions: number;
|
|
2707
|
+
benchmarkVisitors: number;
|
|
2708
|
+
benchmarkGoalCompletions: number;
|
|
2709
|
+
conversionRate: number;
|
|
2710
|
+
mainGoalComparisons:
|
|
2711
|
+
| {
|
|
2712
|
+
mainGoalId: number;
|
|
2713
|
+
mainGoalCompletions: number;
|
|
2714
|
+
mainGoalCompletionsTotalValue: number;
|
|
2715
|
+
benchmarkMainGoalCompletions: number;
|
|
2716
|
+
isInvertedGoal: boolean;
|
|
2717
|
+
hurtingThreshold: number;
|
|
2718
|
+
mainGoalDifference: number;
|
|
2719
|
+
warning: boolean;
|
|
2720
|
+
mainGoalRatio?: number | null;
|
|
2721
|
+
isHurting: boolean;
|
|
2722
|
+
}[]
|
|
2723
|
+
| null;
|
|
2724
|
+
}[];
|
|
2725
|
+
currentVisitorsPerVariant: number;
|
|
2726
|
+
currentVisitors: number;
|
|
2727
|
+
reliableVariants: number;
|
|
2728
|
+
isInvertedGoal: boolean;
|
|
2729
|
+
originalVariantIsWinning: boolean;
|
|
2730
|
+
winningVariant?: null | {
|
|
2731
|
+
abTestVariant: {
|
|
2732
|
+
id: number;
|
|
2733
|
+
unique: string;
|
|
2734
|
+
name?: string | null;
|
|
2735
|
+
description?: string | null;
|
|
2736
|
+
redirectNodeKey?: string | null;
|
|
2737
|
+
css?: string | null;
|
|
2738
|
+
javascript?: string | null;
|
|
2739
|
+
created: string;
|
|
2740
|
+
createdByUmbracoUserKey: string;
|
|
2741
|
+
disabled?: string | null;
|
|
2742
|
+
disabledByUmbracoUserKey?: string | null;
|
|
2743
|
+
isDisabled: boolean;
|
|
2744
|
+
isBenchmark: boolean;
|
|
2745
|
+
totalPageviewsForVariant: number;
|
|
2746
|
+
totalVisitorsForVariant: number;
|
|
2747
|
+
segment: string | null;
|
|
2748
|
+
previewSegment: string | null;
|
|
2749
|
+
};
|
|
2750
|
+
visitors: number;
|
|
2751
|
+
goalCompletions: number;
|
|
2752
|
+
benchmarkVisitors: number;
|
|
2753
|
+
benchmarkGoalCompletions: number;
|
|
2754
|
+
conversionRate: number;
|
|
2755
|
+
mainGoalComparisons:
|
|
2756
|
+
| {
|
|
2757
|
+
mainGoalId: number;
|
|
2758
|
+
mainGoalCompletions: number;
|
|
2759
|
+
mainGoalCompletionsTotalValue: number;
|
|
2760
|
+
benchmarkMainGoalCompletions: number;
|
|
2761
|
+
isInvertedGoal: boolean;
|
|
2762
|
+
hurtingThreshold: number;
|
|
2763
|
+
mainGoalDifference: number;
|
|
2764
|
+
warning: boolean;
|
|
2765
|
+
mainGoalRatio?: number | null;
|
|
2766
|
+
isHurting: boolean;
|
|
2767
|
+
}[]
|
|
2768
|
+
| null;
|
|
2769
|
+
};
|
|
2770
|
+
bestNonBenchmarkVariant?: null | {
|
|
2771
|
+
abTestVariant: {
|
|
2772
|
+
id: number;
|
|
2773
|
+
unique: string;
|
|
2774
|
+
name?: string | null;
|
|
2775
|
+
description?: string | null;
|
|
2776
|
+
redirectNodeKey?: string | null;
|
|
2777
|
+
css?: string | null;
|
|
2778
|
+
javascript?: string | null;
|
|
2779
|
+
created: string;
|
|
2780
|
+
createdByUmbracoUserKey: string;
|
|
2781
|
+
disabled?: string | null;
|
|
2782
|
+
disabledByUmbracoUserKey?: string | null;
|
|
2783
|
+
isDisabled: boolean;
|
|
2784
|
+
isBenchmark: boolean;
|
|
2785
|
+
totalPageviewsForVariant: number;
|
|
2786
|
+
totalVisitorsForVariant: number;
|
|
2787
|
+
segment: string | null;
|
|
2788
|
+
previewSegment: string | null;
|
|
2789
|
+
};
|
|
2790
|
+
visitors: number;
|
|
2791
|
+
goalCompletions: number;
|
|
2792
|
+
benchmarkVisitors: number;
|
|
2793
|
+
benchmarkGoalCompletions: number;
|
|
2794
|
+
conversionRate: number;
|
|
2795
|
+
mainGoalComparisons:
|
|
2796
|
+
| {
|
|
2797
|
+
mainGoalId: number;
|
|
2798
|
+
mainGoalCompletions: number;
|
|
2799
|
+
mainGoalCompletionsTotalValue: number;
|
|
2800
|
+
benchmarkMainGoalCompletions: number;
|
|
2801
|
+
isInvertedGoal: boolean;
|
|
2802
|
+
hurtingThreshold: number;
|
|
2803
|
+
mainGoalDifference: number;
|
|
2804
|
+
warning: boolean;
|
|
2805
|
+
mainGoalRatio?: number | null;
|
|
2806
|
+
isHurting: boolean;
|
|
2807
|
+
}[]
|
|
2808
|
+
| null;
|
|
2809
|
+
};
|
|
2810
|
+
earliestReliableVariant?: null | {
|
|
2811
|
+
abTestVariant: {
|
|
2812
|
+
id: number;
|
|
2813
|
+
unique: string;
|
|
2814
|
+
name?: string | null;
|
|
2815
|
+
description?: string | null;
|
|
2816
|
+
redirectNodeKey?: string | null;
|
|
2817
|
+
css?: string | null;
|
|
2818
|
+
javascript?: string | null;
|
|
2819
|
+
created: string;
|
|
2820
|
+
createdByUmbracoUserKey: string;
|
|
2821
|
+
disabled?: string | null;
|
|
2822
|
+
disabledByUmbracoUserKey?: string | null;
|
|
2823
|
+
isDisabled: boolean;
|
|
2824
|
+
isBenchmark: boolean;
|
|
2825
|
+
totalPageviewsForVariant: number;
|
|
2826
|
+
totalVisitorsForVariant: number;
|
|
2827
|
+
segment: string | null;
|
|
2828
|
+
previewSegment: string | null;
|
|
2829
|
+
};
|
|
2830
|
+
visitors: number;
|
|
2831
|
+
goalCompletions: number;
|
|
2832
|
+
benchmarkVisitors: number;
|
|
2833
|
+
benchmarkGoalCompletions: number;
|
|
2834
|
+
conversionRate: number;
|
|
2835
|
+
mainGoalComparisons:
|
|
2836
|
+
| {
|
|
2837
|
+
mainGoalId: number;
|
|
2838
|
+
mainGoalCompletions: number;
|
|
2839
|
+
mainGoalCompletionsTotalValue: number;
|
|
2840
|
+
benchmarkMainGoalCompletions: number;
|
|
2841
|
+
isInvertedGoal: boolean;
|
|
2842
|
+
hurtingThreshold: number;
|
|
2843
|
+
mainGoalDifference: number;
|
|
2844
|
+
warning: boolean;
|
|
2845
|
+
mainGoalRatio?: number | null;
|
|
2846
|
+
isHurting: boolean;
|
|
2847
|
+
}[]
|
|
2848
|
+
| null;
|
|
2849
|
+
};
|
|
2850
|
+
bestPrognosis: {
|
|
2851
|
+
variantId: number;
|
|
2852
|
+
conversionIncrease: number;
|
|
2853
|
+
currentVisitors: number;
|
|
2854
|
+
requiredVisitorsTotal?: number | null;
|
|
2855
|
+
expectedDailyVisitors: number;
|
|
2856
|
+
estimatedRuntimeInDays?: number | null;
|
|
2857
|
+
isHurtingMainConversion: boolean;
|
|
2858
|
+
remainingVisitors?: number | null;
|
|
2859
|
+
isReliable: boolean;
|
|
2860
|
+
};
|
|
2861
|
+
winner?: null | {
|
|
2862
|
+
abTestVariant: {
|
|
2863
|
+
id: number;
|
|
2864
|
+
unique: string;
|
|
2865
|
+
name?: string | null;
|
|
2866
|
+
description?: string | null;
|
|
2867
|
+
redirectNodeKey?: string | null;
|
|
2868
|
+
css?: string | null;
|
|
2869
|
+
javascript?: string | null;
|
|
2870
|
+
created: string;
|
|
2871
|
+
createdByUmbracoUserKey: string;
|
|
2872
|
+
disabled?: string | null;
|
|
2873
|
+
disabledByUmbracoUserKey?: string | null;
|
|
2874
|
+
isDisabled: boolean;
|
|
2875
|
+
isBenchmark: boolean;
|
|
2876
|
+
totalPageviewsForVariant: number;
|
|
2877
|
+
totalVisitorsForVariant: number;
|
|
2878
|
+
segment: string | null;
|
|
2879
|
+
previewSegment: string | null;
|
|
2880
|
+
};
|
|
2881
|
+
visitors: number;
|
|
2882
|
+
goalCompletions: number;
|
|
2883
|
+
benchmarkVisitors: number;
|
|
2884
|
+
benchmarkGoalCompletions: number;
|
|
2885
|
+
conversionRate: number;
|
|
2886
|
+
mainGoalComparisons:
|
|
2887
|
+
| {
|
|
2888
|
+
mainGoalId: number;
|
|
2889
|
+
mainGoalCompletions: number;
|
|
2890
|
+
mainGoalCompletionsTotalValue: number;
|
|
2891
|
+
benchmarkMainGoalCompletions: number;
|
|
2892
|
+
isInvertedGoal: boolean;
|
|
2893
|
+
hurtingThreshold: number;
|
|
2894
|
+
mainGoalDifference: number;
|
|
2895
|
+
warning: boolean;
|
|
2896
|
+
mainGoalRatio?: number | null;
|
|
2897
|
+
isHurting: boolean;
|
|
2898
|
+
}[]
|
|
2899
|
+
| null;
|
|
2900
|
+
};
|
|
2901
|
+
winningVariantConversionChange: number;
|
|
2902
|
+
bestNonWinningVariantConversionChange: number;
|
|
2903
|
+
winnerConversionChange: number;
|
|
2904
|
+
stoppedOn?: string | null;
|
|
2905
|
+
startTime?: string | null;
|
|
2906
|
+
completedOn?: string | null;
|
|
2907
|
+
hasSelectedWinner: boolean;
|
|
2908
|
+
completedByUsername?: string | null;
|
|
2909
|
+
stoppedByUsername?: string | null;
|
|
2910
|
+
hasSurpassedViableVisitorThreshold: boolean;
|
|
2911
|
+
variantStatus: {
|
|
2912
|
+
[k: string]: "Running" | "Warning" | "Disabled" | "Reliable" | "Stopped" | "Scheduled" | "Completed" | "Draft";
|
|
2913
|
+
};
|
|
2914
|
+
};
|
|
2915
|
+
variants?:
|
|
2916
|
+
| {
|
|
2917
|
+
label?: string | null;
|
|
2918
|
+
currentTotalParticipantCount: number;
|
|
2919
|
+
currentTotalPageviewCount: number;
|
|
2920
|
+
requiredTotalVisitorCount?: number | null;
|
|
2921
|
+
goalCompletions: number;
|
|
2922
|
+
goalValue: number;
|
|
2923
|
+
difference: number;
|
|
2924
|
+
participantPortion: number;
|
|
2925
|
+
visitorsPortion: number;
|
|
2926
|
+
conversionRate: number;
|
|
2927
|
+
conversionRateImprovement: number;
|
|
2928
|
+
conversionRateImprovementRelative: number;
|
|
2929
|
+
mainGoalComparisons: {
|
|
2930
|
+
mainGoalId: number;
|
|
2931
|
+
mainGoalCompletions: number;
|
|
2932
|
+
mainGoalCompletionsTotalValue: number;
|
|
2933
|
+
benchmarkMainGoalCompletions: number;
|
|
2934
|
+
isInvertedGoal: boolean;
|
|
2935
|
+
hurtingThreshold: number;
|
|
2936
|
+
mainGoalDifference: number;
|
|
2937
|
+
warning: boolean;
|
|
2938
|
+
mainGoalRatio?: number | null;
|
|
2939
|
+
isHurting: boolean;
|
|
2940
|
+
}[];
|
|
2941
|
+
mainGoalWarning: boolean;
|
|
2942
|
+
goalWarning: boolean;
|
|
2943
|
+
status: "Running" | "Warning" | "Disabled" | "Reliable" | "Stopped" | "Scheduled" | "Completed" | "Draft";
|
|
2944
|
+
isWinner: boolean;
|
|
2945
|
+
isLeading: boolean;
|
|
2946
|
+
id: number;
|
|
2947
|
+
unique: string;
|
|
2948
|
+
abTestId: number;
|
|
2949
|
+
name?: string | null;
|
|
2950
|
+
description?: string | null;
|
|
2951
|
+
redirectNodeKey?: string | null;
|
|
2952
|
+
css?: string | null;
|
|
2953
|
+
javascript?: string | null;
|
|
2954
|
+
created: string;
|
|
2955
|
+
createdByUmbracoUserKey: string;
|
|
2956
|
+
isBenchmark: boolean;
|
|
2957
|
+
disabled?: string | null;
|
|
2958
|
+
disabledByUmbracoUserKey?: string | null;
|
|
2959
|
+
isDisabled: boolean;
|
|
2960
|
+
segment?: string | null;
|
|
2961
|
+
previewSegment?: string | null;
|
|
2962
|
+
totalPageviewsForVariant: number;
|
|
2963
|
+
totalVisitorsForVariant: number;
|
|
2964
|
+
}[]
|
|
2965
|
+
| null;
|
|
2966
|
+
isInvertedGoal: boolean;
|
|
2967
|
+
cultureSharedSegmentedProperties?: string[] | null;
|
|
2968
|
+
};
|
|
2969
|
+
validationResults: {
|
|
2970
|
+
isValid: boolean;
|
|
2971
|
+
warnings: string[] | null;
|
|
2972
|
+
errors: string[] | null;
|
|
2973
|
+
};
|
|
2974
|
+
}
|
|
2975
|
+
|
|
2976
|
+
export interface PostAbTestUnscheduleInput {
|
|
2977
|
+
/**
|
|
2978
|
+
* The real, existing A/B test's `unique` guid (from post-ab-test's response, or get-ab-test-all).
|
|
2979
|
+
*/
|
|
2980
|
+
unique: string;
|
|
2981
|
+
}
|
|
2982
|
+
|
|
2983
|
+
export interface PostAbTestUnscheduleOutput {
|
|
2984
|
+
test?: null | {
|
|
2985
|
+
unique: string;
|
|
2986
|
+
projectKey?: string | null;
|
|
2987
|
+
goalKey?: string | null;
|
|
2988
|
+
status?: null | ("Unknown" | "Scheduled" | "Running" | "Stopped" | "Completed" | "Draft" | null);
|
|
2989
|
+
name?: string | null;
|
|
2990
|
+
description?: string | null;
|
|
2991
|
+
createdByUmbracoUserName?: string | null;
|
|
2992
|
+
testType?: null | ("SinglePage" | "MultiPage" | "ContentType" | "SplitUrl" | null);
|
|
2993
|
+
startTime?: string | null;
|
|
2994
|
+
endTime?: string | null;
|
|
2995
|
+
participationPercentage?: number | null;
|
|
2996
|
+
minimumDetectableEffect?: number | null;
|
|
2997
|
+
variants: {
|
|
2998
|
+
id: number;
|
|
2999
|
+
unique: string;
|
|
3000
|
+
abTestId: number;
|
|
3001
|
+
name?: string | null;
|
|
3002
|
+
description?: string | null;
|
|
3003
|
+
redirectNodeKey?: string | null;
|
|
3004
|
+
css?: string | null;
|
|
3005
|
+
javascript?: string | null;
|
|
3006
|
+
created: string;
|
|
3007
|
+
createdByUmbracoUserKey: string;
|
|
3008
|
+
isBenchmark: boolean;
|
|
3009
|
+
disabled?: string | null;
|
|
3010
|
+
disabledByUmbracoUserKey?: string | null;
|
|
3011
|
+
isDisabled: boolean;
|
|
3012
|
+
segment?: string | null;
|
|
3013
|
+
previewSegment?: string | null;
|
|
3014
|
+
totalPageviewsForVariant: number;
|
|
3015
|
+
totalVisitorsForVariant: number;
|
|
3016
|
+
}[];
|
|
3017
|
+
umbracoPageVariants: {
|
|
3018
|
+
id: number;
|
|
3019
|
+
unique: string;
|
|
3020
|
+
nodeKey: string;
|
|
3021
|
+
nodeName?: string | null;
|
|
3022
|
+
culture?: string | null;
|
|
3023
|
+
abTestId?: number | null;
|
|
3024
|
+
variesBySegment: boolean;
|
|
3025
|
+
contentTypeKey: string;
|
|
3026
|
+
}[];
|
|
3027
|
+
contentTypes: {
|
|
3028
|
+
contentTypeId: number;
|
|
3029
|
+
contentTypeName?: string | null;
|
|
3030
|
+
culture?: string | null;
|
|
3031
|
+
}[];
|
|
3032
|
+
winner?: null | {
|
|
3033
|
+
id: number;
|
|
3034
|
+
unique: string;
|
|
3035
|
+
abTestId: number;
|
|
3036
|
+
name?: string | null;
|
|
3037
|
+
description?: string | null;
|
|
3038
|
+
redirectNodeKey?: string | null;
|
|
3039
|
+
css?: string | null;
|
|
3040
|
+
javascript?: string | null;
|
|
3041
|
+
created: string;
|
|
3042
|
+
createdByUmbracoUserKey: string;
|
|
3043
|
+
isBenchmark: boolean;
|
|
3044
|
+
disabled?: string | null;
|
|
3045
|
+
disabledByUmbracoUserKey?: string | null;
|
|
3046
|
+
isDisabled: boolean;
|
|
3047
|
+
segment?: string | null;
|
|
3048
|
+
previewSegment?: string | null;
|
|
3049
|
+
totalPageviewsForVariant: number;
|
|
3050
|
+
totalVisitorsForVariant: number;
|
|
3051
|
+
};
|
|
3052
|
+
isArchived: boolean;
|
|
3053
|
+
isCompleted: boolean;
|
|
3054
|
+
completedOn?: string | null;
|
|
3055
|
+
completedByUmbracoUserKey?: string | null;
|
|
3056
|
+
stoppedByUmbracoUserKey?: string | null;
|
|
3057
|
+
estimatedDailyVisitors?: number | null;
|
|
3058
|
+
baselineConversionRate?: number | null;
|
|
3059
|
+
viableVisitorThreshold?: number | null;
|
|
3060
|
+
previewNodeKey?: string | null;
|
|
3061
|
+
onCompleteAction: "Nothing" | "Publish" | "Draft";
|
|
3062
|
+
id: number;
|
|
3063
|
+
created: string;
|
|
3064
|
+
};
|
|
3065
|
+
validationResults: {
|
|
3066
|
+
isValid: boolean;
|
|
3067
|
+
warnings: string[] | null;
|
|
3068
|
+
errors: string[] | null;
|
|
3069
|
+
};
|
|
3070
|
+
}
|
|
3071
|
+
|
|
2546
3072
|
export interface PostAbTestProjectInput {
|
|
2547
3073
|
name?: string | null;
|
|
2548
3074
|
description?: string | null;
|
|
@@ -2625,6 +3151,7 @@ export interface PostAbTestProjectOutput {
|
|
|
2625
3151
|
totalPageviewsForVariant: number;
|
|
2626
3152
|
totalVisitorsForVariant: number;
|
|
2627
3153
|
};
|
|
3154
|
+
isArchived: boolean;
|
|
2628
3155
|
isCompleted: boolean;
|
|
2629
3156
|
completedOn?: string | null;
|
|
2630
3157
|
completedByUmbracoUserKey?: string | null;
|
|
@@ -2726,6 +3253,7 @@ export interface GetAbTestProjectOutput {
|
|
|
2726
3253
|
totalPageviewsForVariant: number;
|
|
2727
3254
|
totalVisitorsForVariant: number;
|
|
2728
3255
|
};
|
|
3256
|
+
isArchived: boolean;
|
|
2729
3257
|
isCompleted: boolean;
|
|
2730
3258
|
completedOn?: string | null;
|
|
2731
3259
|
completedByUmbracoUserKey?: string | null;
|
|
@@ -2819,6 +3347,7 @@ export interface PutAbTestProjectInput {
|
|
|
2819
3347
|
totalPageviewsForVariant: number;
|
|
2820
3348
|
totalVisitorsForVariant: number;
|
|
2821
3349
|
};
|
|
3350
|
+
isArchived: boolean;
|
|
2822
3351
|
isCompleted: boolean;
|
|
2823
3352
|
completedOn?: string | null;
|
|
2824
3353
|
completedByUmbracoUserKey?: string | null;
|
|
@@ -2912,6 +3441,7 @@ export interface PutAbTestProjectOutput {
|
|
|
2912
3441
|
totalPageviewsForVariant: number;
|
|
2913
3442
|
totalVisitorsForVariant: number;
|
|
2914
3443
|
};
|
|
3444
|
+
isArchived: boolean;
|
|
2915
3445
|
isCompleted: boolean;
|
|
2916
3446
|
completedOn?: string | null;
|
|
2917
3447
|
completedByUmbracoUserKey?: string | null;
|
|
@@ -3008,6 +3538,7 @@ export interface GetAbTestProjectAllOutput {
|
|
|
3008
3538
|
totalPageviewsForVariant: number;
|
|
3009
3539
|
totalVisitorsForVariant: number;
|
|
3010
3540
|
};
|
|
3541
|
+
isArchived: boolean;
|
|
3011
3542
|
isCompleted: boolean;
|
|
3012
3543
|
completedOn?: string | null;
|
|
3013
3544
|
completedByUmbracoUserKey?: string | null;
|
|
@@ -3058,6 +3589,7 @@ export interface GetAbTestProjectDetailsOutput {
|
|
|
3058
3589
|
totalVisitors: number;
|
|
3059
3590
|
winner?: string | null;
|
|
3060
3591
|
winnerDescription?: string | null;
|
|
3592
|
+
isArchived: boolean;
|
|
3061
3593
|
}[];
|
|
3062
3594
|
amountOfActiveTests: number;
|
|
3063
3595
|
amountOfTests: number;
|
|
@@ -3237,13 +3769,6 @@ export interface GetAbTestVariantSegmentOutput {
|
|
|
3237
3769
|
totalVisitorsForVariant: number;
|
|
3238
3770
|
}
|
|
3239
3771
|
|
|
3240
|
-
export interface GetAddOnsInput {}
|
|
3241
|
-
|
|
3242
|
-
export interface GetAddOnsOutput {
|
|
3243
|
-
umbracoForms: boolean;
|
|
3244
|
-
umbracoCommerce: boolean;
|
|
3245
|
-
}
|
|
3246
|
-
|
|
3247
3772
|
export interface GetAnalyticsDistinctInput {
|
|
3248
3773
|
dimension?:
|
|
3249
3774
|
| "UNDEFINED"
|
|
@@ -3799,7 +4324,7 @@ export interface PostAnalyticsQueryOutput {
|
|
|
3799
4324
|
rowsPerPage: number;
|
|
3800
4325
|
totalRows: number;
|
|
3801
4326
|
totalPages: number;
|
|
3802
|
-
metricTotals?: number[] | null;
|
|
4327
|
+
metricTotals?: (number | null)[] | null;
|
|
3803
4328
|
fromRow: number;
|
|
3804
4329
|
toRow: number;
|
|
3805
4330
|
reportsExist: boolean;
|
|
@@ -4365,6 +4890,7 @@ export interface GetConfigurationOutput {
|
|
|
4365
4890
|
intervalInSeconds: number;
|
|
4366
4891
|
sessionLengthInMinutes: number;
|
|
4367
4892
|
isProcessingServer: boolean;
|
|
4893
|
+
profileBuildCommandTimeout: number;
|
|
4368
4894
|
};
|
|
4369
4895
|
dataCleanup: {
|
|
4370
4896
|
enabled: boolean;
|
|
@@ -4405,6 +4931,9 @@ export interface GetConfigurationOutput {
|
|
|
4405
4931
|
baseUtcOffset: string;
|
|
4406
4932
|
supportsDaylightSavingTime: boolean;
|
|
4407
4933
|
};
|
|
4934
|
+
queryCommandTimeout: number;
|
|
4935
|
+
resolvedDataGenerationTime?: string | null;
|
|
4936
|
+
isDataGenerationTimeAutomatic: boolean;
|
|
4408
4937
|
};
|
|
4409
4938
|
deliveryApi: {
|
|
4410
4939
|
disableVisitorCookie: boolean;
|
|
@@ -5375,6 +5904,10 @@ export interface GetProfileExportOutput {
|
|
|
5375
5904
|
memberName?: string | null;
|
|
5376
5905
|
memberEmail?: string | null;
|
|
5377
5906
|
}[];
|
|
5907
|
+
/**
|
|
5908
|
+
* Lower bound on the number of matching profiles, not an exact count (the endpoint reports none): skip + the rows returned, plus 1 when more rows exist beyond this page. It only drives `nextCursor` - use `nextCursor` to page, not this number.
|
|
5909
|
+
*/
|
|
5910
|
+
total: number;
|
|
5378
5911
|
/**
|
|
5379
5912
|
* Cursor for the next page. Pass as the cursor parameter to fetch more results. Absent when on the last page.
|
|
5380
5913
|
*/
|
|
@@ -6207,64 +6740,6 @@ export interface GetTrafficFilterEmptyOutput {
|
|
|
6207
6740
|
created: string;
|
|
6208
6741
|
}
|
|
6209
6742
|
|
|
6210
|
-
export interface GetPermissionsUserGroupInput {
|
|
6211
|
-
userGroupKey: string;
|
|
6212
|
-
}
|
|
6213
|
-
|
|
6214
|
-
export interface GetPermissionsUserGroupOutput {
|
|
6215
|
-
id: number;
|
|
6216
|
-
unique: string;
|
|
6217
|
-
userGroupKey: string;
|
|
6218
|
-
userGroupName?: string | null;
|
|
6219
|
-
userGroupAlias?: string | null;
|
|
6220
|
-
userGroupIconUrl?: string | null;
|
|
6221
|
-
accessToAnalytics: boolean;
|
|
6222
|
-
accessToAbTesting: boolean;
|
|
6223
|
-
accessToPersonalization: boolean;
|
|
6224
|
-
accessToSettings: boolean;
|
|
6225
|
-
accessToProfiles: boolean;
|
|
6226
|
-
accessToReporting: boolean;
|
|
6227
|
-
updated: string;
|
|
6228
|
-
updatedByUmbracoUserKey: string;
|
|
6229
|
-
updatedByUmbracoUser?: string | null;
|
|
6230
|
-
}
|
|
6231
|
-
|
|
6232
|
-
export interface PostPermissionsUserGroupInput {
|
|
6233
|
-
userGroupKey: string;
|
|
6234
|
-
userGroupName?: string | null;
|
|
6235
|
-
userGroupAlias?: string | null;
|
|
6236
|
-
userGroupIconUrl?: string | null;
|
|
6237
|
-
accessToAnalytics?: boolean;
|
|
6238
|
-
accessToAbTesting?: boolean;
|
|
6239
|
-
accessToPersonalization?: boolean;
|
|
6240
|
-
accessToSettings?: boolean;
|
|
6241
|
-
accessToProfiles?: boolean;
|
|
6242
|
-
accessToReporting?: boolean;
|
|
6243
|
-
updatedByUmbracoUser?: string | null;
|
|
6244
|
-
}
|
|
6245
|
-
|
|
6246
|
-
export interface GetPermissionsUserGroupAllInput {}
|
|
6247
|
-
|
|
6248
|
-
export interface GetPermissionsUserGroupAllOutput {
|
|
6249
|
-
items: {
|
|
6250
|
-
id: number;
|
|
6251
|
-
unique: string;
|
|
6252
|
-
userGroupKey: string;
|
|
6253
|
-
userGroupName?: string | null;
|
|
6254
|
-
userGroupAlias?: string | null;
|
|
6255
|
-
userGroupIconUrl?: string | null;
|
|
6256
|
-
accessToAnalytics: boolean;
|
|
6257
|
-
accessToAbTesting: boolean;
|
|
6258
|
-
accessToPersonalization: boolean;
|
|
6259
|
-
accessToSettings: boolean;
|
|
6260
|
-
accessToProfiles: boolean;
|
|
6261
|
-
accessToReporting: boolean;
|
|
6262
|
-
updated: string;
|
|
6263
|
-
updatedByUmbracoUserKey: string;
|
|
6264
|
-
updatedByUmbracoUser?: string | null;
|
|
6265
|
-
}[];
|
|
6266
|
-
}
|
|
6267
|
-
|
|
6268
6743
|
export interface EngageTools {
|
|
6269
6744
|
"get-package": { input: GetPackageInput; output: GetPackageOutput };
|
|
6270
6745
|
"delete-ab-test": { input: DeleteAbTestInput; output: DeleteAbTestOutput };
|
|
@@ -6279,6 +6754,9 @@ export interface EngageTools {
|
|
|
6279
6754
|
"get-ab-test-view-model": { input: GetAbTestViewModelInput; output: GetAbTestViewModelOutput };
|
|
6280
6755
|
"post-ab-test-start": { input: PostAbTestStartInput; output: PostAbTestStartOutput };
|
|
6281
6756
|
"post-ab-test-stop": { input: PostAbTestStopInput; output: PostAbTestStopOutput };
|
|
6757
|
+
"post-ab-test-archive": { input: PostAbTestArchiveInput; output: PostAbTestArchiveOutput };
|
|
6758
|
+
"post-ab-test-end": { input: PostAbTestEndInput; output: PostAbTestEndOutput };
|
|
6759
|
+
"post-ab-test-unschedule": { input: PostAbTestUnscheduleInput; output: PostAbTestUnscheduleOutput };
|
|
6282
6760
|
"post-ab-test-project": { input: PostAbTestProjectInput; output: PostAbTestProjectOutput };
|
|
6283
6761
|
"delete-ab-test-project": { input: DeleteAbTestProjectInput; output: unknown };
|
|
6284
6762
|
"get-ab-test-project": { input: GetAbTestProjectInput; output: GetAbTestProjectOutput };
|
|
@@ -6292,7 +6770,6 @@ export interface EngageTools {
|
|
|
6292
6770
|
"post-ab-test-variant-create": { input: PostAbTestVariantCreateInput; output: PostAbTestVariantCreateOutput };
|
|
6293
6771
|
"post-ab-test-variant-disable": { input: PostAbTestVariantDisableInput; output: PostAbTestVariantDisableOutput };
|
|
6294
6772
|
"get-ab-test-variant-segment": { input: GetAbTestVariantSegmentInput; output: GetAbTestVariantSegmentOutput };
|
|
6295
|
-
"get-add-ons": { input: GetAddOnsInput; output: GetAddOnsOutput };
|
|
6296
6773
|
"get-analytics-distinct": { input: GetAnalyticsDistinctInput; output: GetAnalyticsDistinctOutput };
|
|
6297
6774
|
"post-analytics-query": { input: PostAnalyticsQueryInput; output: PostAnalyticsQueryOutput };
|
|
6298
6775
|
"delete-annotations": { input: DeleteAnnotationsInput; output: unknown };
|
|
@@ -6399,9 +6876,6 @@ export interface EngageTools {
|
|
|
6399
6876
|
"post-traffic-filter": { input: PostTrafficFilterInput; output: PostTrafficFilterOutput };
|
|
6400
6877
|
"get-traffic-filter-all": { input: GetTrafficFilterAllInput; output: GetTrafficFilterAllOutput };
|
|
6401
6878
|
"get-traffic-filter-empty": { input: GetTrafficFilterEmptyInput; output: GetTrafficFilterEmptyOutput };
|
|
6402
|
-
"get-permissions-user-group": { input: GetPermissionsUserGroupInput; output: GetPermissionsUserGroupOutput };
|
|
6403
|
-
"post-permissions-user-group": { input: PostPermissionsUserGroupInput; output: unknown };
|
|
6404
|
-
"get-permissions-user-group-all": { input: GetPermissionsUserGroupAllInput; output: GetPermissionsUserGroupAllOutput };
|
|
6405
6879
|
}
|
|
6406
6880
|
|
|
6407
6881
|
export type EngageToolsName = keyof EngageTools;
|