@umbraco-engage/mcp 18.2.2 → 19.0.0-beta.1

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.
@@ -4,8 +4,8 @@
4
4
  export interface GetPackageInput {}
5
5
 
6
6
  export interface GetPackageOutput {
7
- tierName: string | null;
8
- domains: string[] | null;
7
+ tierName: string;
8
+ domains: string[];
9
9
  featureAnalyticsEnabled: boolean;
10
10
  featureAbTestingEnabled: boolean;
11
11
  featurePersonalizationEnabled: boolean;
@@ -18,7 +18,8 @@ export interface GetPackageOutput {
18
18
  monthlyPageviewLimit: number;
19
19
  currentPageviewsThisMonth: number;
20
20
  version?: string | null;
21
- whitelistedDomainRegexes: string[] | null;
21
+ whitelistedDomainRegexes: string[];
22
+ invalidTrialDomains: string[];
22
23
  }
23
24
 
24
25
  export interface DeleteAbTestInput {
@@ -27,8 +28,8 @@ export interface DeleteAbTestInput {
27
28
 
28
29
  export interface DeleteAbTestOutput {
29
30
  isValid: boolean;
30
- warnings: string[] | null;
31
- errors: string[] | null;
31
+ warnings: string[];
32
+ errors: string[];
32
33
  }
33
34
 
34
35
  export interface GetAbTestInput {
@@ -103,6 +104,7 @@ export interface GetAbTestOutput {
103
104
  totalPageviewsForVariant: number;
104
105
  totalVisitorsForVariant: number;
105
106
  };
107
+ isArchived: boolean;
106
108
  isCompleted: boolean;
107
109
  completedOn?: string | null;
108
110
  completedByUmbracoUserKey?: string | null;
@@ -212,6 +214,7 @@ export interface PostAbTestOutput {
212
214
  totalPageviewsForVariant: number;
213
215
  totalVisitorsForVariant: number;
214
216
  };
217
+ isArchived: boolean;
215
218
  isCompleted: boolean;
216
219
  completedOn?: string | null;
217
220
  completedByUmbracoUserKey?: string | null;
@@ -253,28 +256,26 @@ export interface PostAbTestOutput {
253
256
  isBenchmark: boolean;
254
257
  totalPageviewsForVariant: number;
255
258
  totalVisitorsForVariant: number;
256
- segment: string | null;
257
- previewSegment: string | null;
259
+ segment: string;
260
+ previewSegment: string;
258
261
  };
259
262
  visitors: number;
260
263
  goalCompletions: number;
261
264
  benchmarkVisitors: number;
262
265
  benchmarkGoalCompletions: number;
263
266
  conversionRate: number;
264
- mainGoalComparisons:
265
- | {
266
- mainGoalId: number;
267
- mainGoalCompletions: number;
268
- mainGoalCompletionsTotalValue: number;
269
- benchmarkMainGoalCompletions: number;
270
- isInvertedGoal: boolean;
271
- hurtingThreshold: number;
272
- mainGoalDifference: number;
273
- warning: boolean;
274
- mainGoalRatio?: number | null;
275
- isHurting: boolean;
276
- }[]
277
- | null;
267
+ mainGoalComparisons: {
268
+ mainGoalId: number;
269
+ mainGoalCompletions: number;
270
+ mainGoalCompletionsTotalValue: number;
271
+ benchmarkMainGoalCompletions: number;
272
+ isInvertedGoal: boolean;
273
+ hurtingThreshold: number;
274
+ mainGoalDifference: number;
275
+ warning: boolean;
276
+ mainGoalRatio?: number | null;
277
+ isHurting: boolean;
278
+ }[];
278
279
  }[];
279
280
  currentVisitorsPerVariant: number;
280
281
  currentVisitors: number;
@@ -298,28 +299,26 @@ export interface PostAbTestOutput {
298
299
  isBenchmark: boolean;
299
300
  totalPageviewsForVariant: number;
300
301
  totalVisitorsForVariant: number;
301
- segment: string | null;
302
- previewSegment: string | null;
302
+ segment: string;
303
+ previewSegment: string;
303
304
  };
304
305
  visitors: number;
305
306
  goalCompletions: number;
306
307
  benchmarkVisitors: number;
307
308
  benchmarkGoalCompletions: number;
308
309
  conversionRate: number;
309
- mainGoalComparisons:
310
- | {
311
- mainGoalId: number;
312
- mainGoalCompletions: number;
313
- mainGoalCompletionsTotalValue: number;
314
- benchmarkMainGoalCompletions: number;
315
- isInvertedGoal: boolean;
316
- hurtingThreshold: number;
317
- mainGoalDifference: number;
318
- warning: boolean;
319
- mainGoalRatio?: number | null;
320
- isHurting: boolean;
321
- }[]
322
- | null;
310
+ mainGoalComparisons: {
311
+ mainGoalId: number;
312
+ mainGoalCompletions: number;
313
+ mainGoalCompletionsTotalValue: number;
314
+ benchmarkMainGoalCompletions: number;
315
+ isInvertedGoal: boolean;
316
+ hurtingThreshold: number;
317
+ mainGoalDifference: number;
318
+ warning: boolean;
319
+ mainGoalRatio?: number | null;
320
+ isHurting: boolean;
321
+ }[];
323
322
  };
324
323
  bestNonBenchmarkVariant?: null | {
325
324
  abTestVariant: {
@@ -338,28 +337,26 @@ export interface PostAbTestOutput {
338
337
  isBenchmark: boolean;
339
338
  totalPageviewsForVariant: number;
340
339
  totalVisitorsForVariant: number;
341
- segment: string | null;
342
- previewSegment: string | null;
340
+ segment: string;
341
+ previewSegment: string;
343
342
  };
344
343
  visitors: number;
345
344
  goalCompletions: number;
346
345
  benchmarkVisitors: number;
347
346
  benchmarkGoalCompletions: number;
348
347
  conversionRate: number;
349
- mainGoalComparisons:
350
- | {
351
- mainGoalId: number;
352
- mainGoalCompletions: number;
353
- mainGoalCompletionsTotalValue: number;
354
- benchmarkMainGoalCompletions: number;
355
- isInvertedGoal: boolean;
356
- hurtingThreshold: number;
357
- mainGoalDifference: number;
358
- warning: boolean;
359
- mainGoalRatio?: number | null;
360
- isHurting: boolean;
361
- }[]
362
- | null;
348
+ mainGoalComparisons: {
349
+ mainGoalId: number;
350
+ mainGoalCompletions: number;
351
+ mainGoalCompletionsTotalValue: number;
352
+ benchmarkMainGoalCompletions: number;
353
+ isInvertedGoal: boolean;
354
+ hurtingThreshold: number;
355
+ mainGoalDifference: number;
356
+ warning: boolean;
357
+ mainGoalRatio?: number | null;
358
+ isHurting: boolean;
359
+ }[];
363
360
  };
364
361
  earliestReliableVariant?: null | {
365
362
  abTestVariant: {
@@ -378,28 +375,26 @@ export interface PostAbTestOutput {
378
375
  isBenchmark: boolean;
379
376
  totalPageviewsForVariant: number;
380
377
  totalVisitorsForVariant: number;
381
- segment: string | null;
382
- previewSegment: string | null;
378
+ segment: string;
379
+ previewSegment: string;
383
380
  };
384
381
  visitors: number;
385
382
  goalCompletions: number;
386
383
  benchmarkVisitors: number;
387
384
  benchmarkGoalCompletions: number;
388
385
  conversionRate: number;
389
- mainGoalComparisons:
390
- | {
391
- mainGoalId: number;
392
- mainGoalCompletions: number;
393
- mainGoalCompletionsTotalValue: number;
394
- benchmarkMainGoalCompletions: number;
395
- isInvertedGoal: boolean;
396
- hurtingThreshold: number;
397
- mainGoalDifference: number;
398
- warning: boolean;
399
- mainGoalRatio?: number | null;
400
- isHurting: boolean;
401
- }[]
402
- | null;
386
+ mainGoalComparisons: {
387
+ mainGoalId: number;
388
+ mainGoalCompletions: number;
389
+ mainGoalCompletionsTotalValue: number;
390
+ benchmarkMainGoalCompletions: number;
391
+ isInvertedGoal: boolean;
392
+ hurtingThreshold: number;
393
+ mainGoalDifference: number;
394
+ warning: boolean;
395
+ mainGoalRatio?: number | null;
396
+ isHurting: boolean;
397
+ }[];
403
398
  };
404
399
  bestPrognosis: {
405
400
  variantId: number;
@@ -429,28 +424,26 @@ export interface PostAbTestOutput {
429
424
  isBenchmark: boolean;
430
425
  totalPageviewsForVariant: number;
431
426
  totalVisitorsForVariant: number;
432
- segment: string | null;
433
- previewSegment: string | null;
427
+ segment: string;
428
+ previewSegment: string;
434
429
  };
435
430
  visitors: number;
436
431
  goalCompletions: number;
437
432
  benchmarkVisitors: number;
438
433
  benchmarkGoalCompletions: number;
439
434
  conversionRate: number;
440
- mainGoalComparisons:
441
- | {
442
- mainGoalId: number;
443
- mainGoalCompletions: number;
444
- mainGoalCompletionsTotalValue: number;
445
- benchmarkMainGoalCompletions: number;
446
- isInvertedGoal: boolean;
447
- hurtingThreshold: number;
448
- mainGoalDifference: number;
449
- warning: boolean;
450
- mainGoalRatio?: number | null;
451
- isHurting: boolean;
452
- }[]
453
- | null;
435
+ mainGoalComparisons: {
436
+ mainGoalId: number;
437
+ mainGoalCompletions: number;
438
+ mainGoalCompletionsTotalValue: number;
439
+ benchmarkMainGoalCompletions: number;
440
+ isInvertedGoal: boolean;
441
+ hurtingThreshold: number;
442
+ mainGoalDifference: number;
443
+ warning: boolean;
444
+ mainGoalRatio?: number | null;
445
+ isHurting: boolean;
446
+ }[];
454
447
  };
455
448
  winningVariantConversionChange: number;
456
449
  bestNonWinningVariantConversionChange: number;
@@ -522,8 +515,8 @@ export interface PostAbTestOutput {
522
515
  };
523
516
  validationResults: {
524
517
  isValid: boolean;
525
- warnings: string[] | null;
526
- errors: string[] | null;
518
+ warnings: string[];
519
+ errors: string[];
527
520
  };
528
521
  }
529
522
 
@@ -598,6 +591,7 @@ export interface GetAbTestAllOutput {
598
591
  totalPageviewsForVariant: number;
599
592
  totalVisitorsForVariant: number;
600
593
  };
594
+ isArchived: boolean;
601
595
  isCompleted: boolean;
602
596
  completedOn?: string | null;
603
597
  completedByUmbracoUserKey?: string | null;
@@ -689,6 +683,7 @@ export interface GetAbTestEmptyOutput {
689
683
  totalPageviewsForVariant: number;
690
684
  totalVisitorsForVariant: number;
691
685
  };
686
+ isArchived: boolean;
692
687
  isCompleted: boolean;
693
688
  completedOn?: string | null;
694
689
  completedByUmbracoUserKey?: string | null;
@@ -730,28 +725,26 @@ export interface GetAbTestEmptyOutput {
730
725
  isBenchmark: boolean;
731
726
  totalPageviewsForVariant: number;
732
727
  totalVisitorsForVariant: number;
733
- segment: string | null;
734
- previewSegment: string | null;
728
+ segment: string;
729
+ previewSegment: string;
735
730
  };
736
731
  visitors: number;
737
732
  goalCompletions: number;
738
733
  benchmarkVisitors: number;
739
734
  benchmarkGoalCompletions: number;
740
735
  conversionRate: number;
741
- mainGoalComparisons:
742
- | {
743
- mainGoalId: number;
744
- mainGoalCompletions: number;
745
- mainGoalCompletionsTotalValue: number;
746
- benchmarkMainGoalCompletions: number;
747
- isInvertedGoal: boolean;
748
- hurtingThreshold: number;
749
- mainGoalDifference: number;
750
- warning: boolean;
751
- mainGoalRatio?: number | null;
752
- isHurting: boolean;
753
- }[]
754
- | null;
736
+ mainGoalComparisons: {
737
+ mainGoalId: number;
738
+ mainGoalCompletions: number;
739
+ mainGoalCompletionsTotalValue: number;
740
+ benchmarkMainGoalCompletions: number;
741
+ isInvertedGoal: boolean;
742
+ hurtingThreshold: number;
743
+ mainGoalDifference: number;
744
+ warning: boolean;
745
+ mainGoalRatio?: number | null;
746
+ isHurting: boolean;
747
+ }[];
755
748
  }[];
756
749
  currentVisitorsPerVariant: number;
757
750
  currentVisitors: number;
@@ -775,28 +768,26 @@ export interface GetAbTestEmptyOutput {
775
768
  isBenchmark: boolean;
776
769
  totalPageviewsForVariant: number;
777
770
  totalVisitorsForVariant: number;
778
- segment: string | null;
779
- previewSegment: string | null;
771
+ segment: string;
772
+ previewSegment: string;
780
773
  };
781
774
  visitors: number;
782
775
  goalCompletions: number;
783
776
  benchmarkVisitors: number;
784
777
  benchmarkGoalCompletions: number;
785
778
  conversionRate: number;
786
- mainGoalComparisons:
787
- | {
788
- mainGoalId: number;
789
- mainGoalCompletions: number;
790
- mainGoalCompletionsTotalValue: number;
791
- benchmarkMainGoalCompletions: number;
792
- isInvertedGoal: boolean;
793
- hurtingThreshold: number;
794
- mainGoalDifference: number;
795
- warning: boolean;
796
- mainGoalRatio?: number | null;
797
- isHurting: boolean;
798
- }[]
799
- | null;
779
+ mainGoalComparisons: {
780
+ mainGoalId: number;
781
+ mainGoalCompletions: number;
782
+ mainGoalCompletionsTotalValue: number;
783
+ benchmarkMainGoalCompletions: number;
784
+ isInvertedGoal: boolean;
785
+ hurtingThreshold: number;
786
+ mainGoalDifference: number;
787
+ warning: boolean;
788
+ mainGoalRatio?: number | null;
789
+ isHurting: boolean;
790
+ }[];
800
791
  };
801
792
  bestNonBenchmarkVariant?: null | {
802
793
  abTestVariant: {
@@ -815,28 +806,26 @@ export interface GetAbTestEmptyOutput {
815
806
  isBenchmark: boolean;
816
807
  totalPageviewsForVariant: number;
817
808
  totalVisitorsForVariant: number;
818
- segment: string | null;
819
- previewSegment: string | null;
809
+ segment: string;
810
+ previewSegment: string;
820
811
  };
821
812
  visitors: number;
822
813
  goalCompletions: number;
823
814
  benchmarkVisitors: number;
824
815
  benchmarkGoalCompletions: number;
825
816
  conversionRate: number;
826
- mainGoalComparisons:
827
- | {
828
- mainGoalId: number;
829
- mainGoalCompletions: number;
830
- mainGoalCompletionsTotalValue: number;
831
- benchmarkMainGoalCompletions: number;
832
- isInvertedGoal: boolean;
833
- hurtingThreshold: number;
834
- mainGoalDifference: number;
835
- warning: boolean;
836
- mainGoalRatio?: number | null;
837
- isHurting: boolean;
838
- }[]
839
- | null;
817
+ mainGoalComparisons: {
818
+ mainGoalId: number;
819
+ mainGoalCompletions: number;
820
+ mainGoalCompletionsTotalValue: number;
821
+ benchmarkMainGoalCompletions: number;
822
+ isInvertedGoal: boolean;
823
+ hurtingThreshold: number;
824
+ mainGoalDifference: number;
825
+ warning: boolean;
826
+ mainGoalRatio?: number | null;
827
+ isHurting: boolean;
828
+ }[];
840
829
  };
841
830
  earliestReliableVariant?: null | {
842
831
  abTestVariant: {
@@ -855,28 +844,26 @@ export interface GetAbTestEmptyOutput {
855
844
  isBenchmark: boolean;
856
845
  totalPageviewsForVariant: number;
857
846
  totalVisitorsForVariant: number;
858
- segment: string | null;
859
- previewSegment: string | null;
847
+ segment: string;
848
+ previewSegment: string;
860
849
  };
861
850
  visitors: number;
862
851
  goalCompletions: number;
863
852
  benchmarkVisitors: number;
864
853
  benchmarkGoalCompletions: number;
865
854
  conversionRate: number;
866
- mainGoalComparisons:
867
- | {
868
- mainGoalId: number;
869
- mainGoalCompletions: number;
870
- mainGoalCompletionsTotalValue: number;
871
- benchmarkMainGoalCompletions: number;
872
- isInvertedGoal: boolean;
873
- hurtingThreshold: number;
874
- mainGoalDifference: number;
875
- warning: boolean;
876
- mainGoalRatio?: number | null;
877
- isHurting: boolean;
878
- }[]
879
- | null;
855
+ mainGoalComparisons: {
856
+ mainGoalId: number;
857
+ mainGoalCompletions: number;
858
+ mainGoalCompletionsTotalValue: number;
859
+ benchmarkMainGoalCompletions: number;
860
+ isInvertedGoal: boolean;
861
+ hurtingThreshold: number;
862
+ mainGoalDifference: number;
863
+ warning: boolean;
864
+ mainGoalRatio?: number | null;
865
+ isHurting: boolean;
866
+ }[];
880
867
  };
881
868
  bestPrognosis: {
882
869
  variantId: number;
@@ -906,28 +893,26 @@ export interface GetAbTestEmptyOutput {
906
893
  isBenchmark: boolean;
907
894
  totalPageviewsForVariant: number;
908
895
  totalVisitorsForVariant: number;
909
- segment: string | null;
910
- previewSegment: string | null;
896
+ segment: string;
897
+ previewSegment: string;
911
898
  };
912
899
  visitors: number;
913
900
  goalCompletions: number;
914
901
  benchmarkVisitors: number;
915
902
  benchmarkGoalCompletions: number;
916
903
  conversionRate: number;
917
- mainGoalComparisons:
918
- | {
919
- mainGoalId: number;
920
- mainGoalCompletions: number;
921
- mainGoalCompletionsTotalValue: number;
922
- benchmarkMainGoalCompletions: number;
923
- isInvertedGoal: boolean;
924
- hurtingThreshold: number;
925
- mainGoalDifference: number;
926
- warning: boolean;
927
- mainGoalRatio?: number | null;
928
- isHurting: boolean;
929
- }[]
930
- | null;
904
+ mainGoalComparisons: {
905
+ mainGoalId: number;
906
+ mainGoalCompletions: number;
907
+ mainGoalCompletionsTotalValue: number;
908
+ benchmarkMainGoalCompletions: number;
909
+ isInvertedGoal: boolean;
910
+ hurtingThreshold: number;
911
+ mainGoalDifference: number;
912
+ warning: boolean;
913
+ mainGoalRatio?: number | null;
914
+ isHurting: boolean;
915
+ }[];
931
916
  };
932
917
  winningVariantConversionChange: number;
933
918
  bestNonWinningVariantConversionChange: number;
@@ -1020,6 +1005,7 @@ export interface GetAbTestPageOutput {
1020
1005
  totalVisitors: number;
1021
1006
  winner?: string | null;
1022
1007
  winnerDescription?: string | null;
1008
+ isArchived: boolean;
1023
1009
  }[];
1024
1010
  }
1025
1011
 
@@ -1061,28 +1047,26 @@ export interface PostAbTestRuntimeIndicationOutput {
1061
1047
  isBenchmark: boolean;
1062
1048
  totalPageviewsForVariant: number;
1063
1049
  totalVisitorsForVariant: number;
1064
- segment: string | null;
1065
- previewSegment: string | null;
1050
+ segment: string;
1051
+ previewSegment: string;
1066
1052
  };
1067
1053
  visitors: number;
1068
1054
  goalCompletions: number;
1069
1055
  benchmarkVisitors: number;
1070
1056
  benchmarkGoalCompletions: number;
1071
1057
  conversionRate: number;
1072
- mainGoalComparisons:
1073
- | {
1074
- mainGoalId: number;
1075
- mainGoalCompletions: number;
1076
- mainGoalCompletionsTotalValue: number;
1077
- benchmarkMainGoalCompletions: number;
1078
- isInvertedGoal: boolean;
1079
- hurtingThreshold: number;
1080
- mainGoalDifference: number;
1081
- warning: boolean;
1082
- mainGoalRatio?: number | null;
1083
- isHurting: boolean;
1084
- }[]
1085
- | null;
1058
+ mainGoalComparisons: {
1059
+ mainGoalId: number;
1060
+ mainGoalCompletions: number;
1061
+ mainGoalCompletionsTotalValue: number;
1062
+ benchmarkMainGoalCompletions: number;
1063
+ isInvertedGoal: boolean;
1064
+ hurtingThreshold: number;
1065
+ mainGoalDifference: number;
1066
+ warning: boolean;
1067
+ mainGoalRatio?: number | null;
1068
+ isHurting: boolean;
1069
+ }[];
1086
1070
  }[];
1087
1071
  currentVisitorsPerVariant: number;
1088
1072
  currentVisitors: number;
@@ -1106,28 +1090,26 @@ export interface PostAbTestRuntimeIndicationOutput {
1106
1090
  isBenchmark: boolean;
1107
1091
  totalPageviewsForVariant: number;
1108
1092
  totalVisitorsForVariant: number;
1109
- segment: string | null;
1110
- previewSegment: string | null;
1093
+ segment: string;
1094
+ previewSegment: string;
1111
1095
  };
1112
1096
  visitors: number;
1113
1097
  goalCompletions: number;
1114
1098
  benchmarkVisitors: number;
1115
1099
  benchmarkGoalCompletions: number;
1116
1100
  conversionRate: number;
1117
- mainGoalComparisons:
1118
- | {
1119
- mainGoalId: number;
1120
- mainGoalCompletions: number;
1121
- mainGoalCompletionsTotalValue: number;
1122
- benchmarkMainGoalCompletions: number;
1123
- isInvertedGoal: boolean;
1124
- hurtingThreshold: number;
1125
- mainGoalDifference: number;
1126
- warning: boolean;
1127
- mainGoalRatio?: number | null;
1128
- isHurting: boolean;
1129
- }[]
1130
- | null;
1101
+ mainGoalComparisons: {
1102
+ mainGoalId: number;
1103
+ mainGoalCompletions: number;
1104
+ mainGoalCompletionsTotalValue: number;
1105
+ benchmarkMainGoalCompletions: number;
1106
+ isInvertedGoal: boolean;
1107
+ hurtingThreshold: number;
1108
+ mainGoalDifference: number;
1109
+ warning: boolean;
1110
+ mainGoalRatio?: number | null;
1111
+ isHurting: boolean;
1112
+ }[];
1131
1113
  };
1132
1114
  bestNonBenchmarkVariant?: null | {
1133
1115
  abTestVariant: {
@@ -1146,28 +1128,26 @@ export interface PostAbTestRuntimeIndicationOutput {
1146
1128
  isBenchmark: boolean;
1147
1129
  totalPageviewsForVariant: number;
1148
1130
  totalVisitorsForVariant: number;
1149
- segment: string | null;
1150
- previewSegment: string | null;
1131
+ segment: string;
1132
+ previewSegment: string;
1151
1133
  };
1152
1134
  visitors: number;
1153
1135
  goalCompletions: number;
1154
1136
  benchmarkVisitors: number;
1155
1137
  benchmarkGoalCompletions: number;
1156
1138
  conversionRate: number;
1157
- mainGoalComparisons:
1158
- | {
1159
- mainGoalId: number;
1160
- mainGoalCompletions: number;
1161
- mainGoalCompletionsTotalValue: number;
1162
- benchmarkMainGoalCompletions: number;
1163
- isInvertedGoal: boolean;
1164
- hurtingThreshold: number;
1165
- mainGoalDifference: number;
1166
- warning: boolean;
1167
- mainGoalRatio?: number | null;
1168
- isHurting: boolean;
1169
- }[]
1170
- | null;
1139
+ mainGoalComparisons: {
1140
+ mainGoalId: number;
1141
+ mainGoalCompletions: number;
1142
+ mainGoalCompletionsTotalValue: number;
1143
+ benchmarkMainGoalCompletions: number;
1144
+ isInvertedGoal: boolean;
1145
+ hurtingThreshold: number;
1146
+ mainGoalDifference: number;
1147
+ warning: boolean;
1148
+ mainGoalRatio?: number | null;
1149
+ isHurting: boolean;
1150
+ }[];
1171
1151
  };
1172
1152
  earliestReliableVariant?: null | {
1173
1153
  abTestVariant: {
@@ -1186,28 +1166,26 @@ export interface PostAbTestRuntimeIndicationOutput {
1186
1166
  isBenchmark: boolean;
1187
1167
  totalPageviewsForVariant: number;
1188
1168
  totalVisitorsForVariant: number;
1189
- segment: string | null;
1190
- previewSegment: string | null;
1169
+ segment: string;
1170
+ previewSegment: string;
1191
1171
  };
1192
1172
  visitors: number;
1193
1173
  goalCompletions: number;
1194
1174
  benchmarkVisitors: number;
1195
1175
  benchmarkGoalCompletions: number;
1196
1176
  conversionRate: number;
1197
- mainGoalComparisons:
1198
- | {
1199
- mainGoalId: number;
1200
- mainGoalCompletions: number;
1201
- mainGoalCompletionsTotalValue: number;
1202
- benchmarkMainGoalCompletions: number;
1203
- isInvertedGoal: boolean;
1204
- hurtingThreshold: number;
1205
- mainGoalDifference: number;
1206
- warning: boolean;
1207
- mainGoalRatio?: number | null;
1208
- isHurting: boolean;
1209
- }[]
1210
- | null;
1177
+ mainGoalComparisons: {
1178
+ mainGoalId: number;
1179
+ mainGoalCompletions: number;
1180
+ mainGoalCompletionsTotalValue: number;
1181
+ benchmarkMainGoalCompletions: number;
1182
+ isInvertedGoal: boolean;
1183
+ hurtingThreshold: number;
1184
+ mainGoalDifference: number;
1185
+ warning: boolean;
1186
+ mainGoalRatio?: number | null;
1187
+ isHurting: boolean;
1188
+ }[];
1211
1189
  };
1212
1190
  bestPrognosis: {
1213
1191
  variantId: number;
@@ -1237,28 +1215,26 @@ export interface PostAbTestRuntimeIndicationOutput {
1237
1215
  isBenchmark: boolean;
1238
1216
  totalPageviewsForVariant: number;
1239
1217
  totalVisitorsForVariant: number;
1240
- segment: string | null;
1241
- previewSegment: string | null;
1218
+ segment: string;
1219
+ previewSegment: string;
1242
1220
  };
1243
1221
  visitors: number;
1244
1222
  goalCompletions: number;
1245
1223
  benchmarkVisitors: number;
1246
1224
  benchmarkGoalCompletions: number;
1247
1225
  conversionRate: number;
1248
- mainGoalComparisons:
1249
- | {
1250
- mainGoalId: number;
1251
- mainGoalCompletions: number;
1252
- mainGoalCompletionsTotalValue: number;
1253
- benchmarkMainGoalCompletions: number;
1254
- isInvertedGoal: boolean;
1255
- hurtingThreshold: number;
1256
- mainGoalDifference: number;
1257
- warning: boolean;
1258
- mainGoalRatio?: number | null;
1259
- isHurting: boolean;
1260
- }[]
1261
- | null;
1226
+ mainGoalComparisons: {
1227
+ mainGoalId: number;
1228
+ mainGoalCompletions: number;
1229
+ mainGoalCompletionsTotalValue: number;
1230
+ benchmarkMainGoalCompletions: number;
1231
+ isInvertedGoal: boolean;
1232
+ hurtingThreshold: number;
1233
+ mainGoalDifference: number;
1234
+ warning: boolean;
1235
+ mainGoalRatio?: number | null;
1236
+ isHurting: boolean;
1237
+ }[];
1262
1238
  };
1263
1239
  winningVariantConversionChange: number;
1264
1240
  bestNonWinningVariantConversionChange: number;
@@ -1422,6 +1398,7 @@ export interface GetAbTestViewModelOutput {
1422
1398
  totalPageviewsForVariant: number;
1423
1399
  totalVisitorsForVariant: number;
1424
1400
  };
1401
+ isArchived: boolean;
1425
1402
  isCompleted: boolean;
1426
1403
  completedOn?: string | null;
1427
1404
  completedByUmbracoUserKey?: string | null;
@@ -1463,28 +1440,26 @@ export interface GetAbTestViewModelOutput {
1463
1440
  isBenchmark: boolean;
1464
1441
  totalPageviewsForVariant: number;
1465
1442
  totalVisitorsForVariant: number;
1466
- segment: string | null;
1467
- previewSegment: string | null;
1443
+ segment: string;
1444
+ previewSegment: string;
1468
1445
  };
1469
1446
  visitors: number;
1470
1447
  goalCompletions: number;
1471
1448
  benchmarkVisitors: number;
1472
1449
  benchmarkGoalCompletions: number;
1473
1450
  conversionRate: number;
1474
- mainGoalComparisons:
1475
- | {
1476
- mainGoalId: number;
1477
- mainGoalCompletions: number;
1478
- mainGoalCompletionsTotalValue: number;
1479
- benchmarkMainGoalCompletions: number;
1480
- isInvertedGoal: boolean;
1481
- hurtingThreshold: number;
1482
- mainGoalDifference: number;
1483
- warning: boolean;
1484
- mainGoalRatio?: number | null;
1485
- isHurting: boolean;
1486
- }[]
1487
- | null;
1451
+ mainGoalComparisons: {
1452
+ mainGoalId: number;
1453
+ mainGoalCompletions: number;
1454
+ mainGoalCompletionsTotalValue: number;
1455
+ benchmarkMainGoalCompletions: number;
1456
+ isInvertedGoal: boolean;
1457
+ hurtingThreshold: number;
1458
+ mainGoalDifference: number;
1459
+ warning: boolean;
1460
+ mainGoalRatio?: number | null;
1461
+ isHurting: boolean;
1462
+ }[];
1488
1463
  }[];
1489
1464
  currentVisitorsPerVariant: number;
1490
1465
  currentVisitors: number;
@@ -1508,28 +1483,26 @@ export interface GetAbTestViewModelOutput {
1508
1483
  isBenchmark: boolean;
1509
1484
  totalPageviewsForVariant: number;
1510
1485
  totalVisitorsForVariant: number;
1511
- segment: string | null;
1512
- previewSegment: string | null;
1486
+ segment: string;
1487
+ previewSegment: string;
1513
1488
  };
1514
1489
  visitors: number;
1515
1490
  goalCompletions: number;
1516
1491
  benchmarkVisitors: number;
1517
1492
  benchmarkGoalCompletions: number;
1518
1493
  conversionRate: number;
1519
- mainGoalComparisons:
1520
- | {
1521
- mainGoalId: number;
1522
- mainGoalCompletions: number;
1523
- mainGoalCompletionsTotalValue: number;
1524
- benchmarkMainGoalCompletions: number;
1525
- isInvertedGoal: boolean;
1526
- hurtingThreshold: number;
1527
- mainGoalDifference: number;
1528
- warning: boolean;
1529
- mainGoalRatio?: number | null;
1530
- isHurting: boolean;
1531
- }[]
1532
- | null;
1494
+ mainGoalComparisons: {
1495
+ mainGoalId: number;
1496
+ mainGoalCompletions: number;
1497
+ mainGoalCompletionsTotalValue: number;
1498
+ benchmarkMainGoalCompletions: number;
1499
+ isInvertedGoal: boolean;
1500
+ hurtingThreshold: number;
1501
+ mainGoalDifference: number;
1502
+ warning: boolean;
1503
+ mainGoalRatio?: number | null;
1504
+ isHurting: boolean;
1505
+ }[];
1533
1506
  };
1534
1507
  bestNonBenchmarkVariant?: null | {
1535
1508
  abTestVariant: {
@@ -1548,28 +1521,26 @@ export interface GetAbTestViewModelOutput {
1548
1521
  isBenchmark: boolean;
1549
1522
  totalPageviewsForVariant: number;
1550
1523
  totalVisitorsForVariant: number;
1551
- segment: string | null;
1552
- previewSegment: string | null;
1524
+ segment: string;
1525
+ previewSegment: string;
1553
1526
  };
1554
1527
  visitors: number;
1555
1528
  goalCompletions: number;
1556
1529
  benchmarkVisitors: number;
1557
1530
  benchmarkGoalCompletions: number;
1558
1531
  conversionRate: number;
1559
- mainGoalComparisons:
1560
- | {
1561
- mainGoalId: number;
1562
- mainGoalCompletions: number;
1563
- mainGoalCompletionsTotalValue: number;
1564
- benchmarkMainGoalCompletions: number;
1565
- isInvertedGoal: boolean;
1566
- hurtingThreshold: number;
1567
- mainGoalDifference: number;
1568
- warning: boolean;
1569
- mainGoalRatio?: number | null;
1570
- isHurting: boolean;
1571
- }[]
1572
- | null;
1532
+ mainGoalComparisons: {
1533
+ mainGoalId: number;
1534
+ mainGoalCompletions: number;
1535
+ mainGoalCompletionsTotalValue: number;
1536
+ benchmarkMainGoalCompletions: number;
1537
+ isInvertedGoal: boolean;
1538
+ hurtingThreshold: number;
1539
+ mainGoalDifference: number;
1540
+ warning: boolean;
1541
+ mainGoalRatio?: number | null;
1542
+ isHurting: boolean;
1543
+ }[];
1573
1544
  };
1574
1545
  earliestReliableVariant?: null | {
1575
1546
  abTestVariant: {
@@ -1588,28 +1559,26 @@ export interface GetAbTestViewModelOutput {
1588
1559
  isBenchmark: boolean;
1589
1560
  totalPageviewsForVariant: number;
1590
1561
  totalVisitorsForVariant: number;
1591
- segment: string | null;
1592
- previewSegment: string | null;
1562
+ segment: string;
1563
+ previewSegment: string;
1593
1564
  };
1594
1565
  visitors: number;
1595
1566
  goalCompletions: number;
1596
1567
  benchmarkVisitors: number;
1597
1568
  benchmarkGoalCompletions: number;
1598
1569
  conversionRate: number;
1599
- mainGoalComparisons:
1600
- | {
1601
- mainGoalId: number;
1602
- mainGoalCompletions: number;
1603
- mainGoalCompletionsTotalValue: number;
1604
- benchmarkMainGoalCompletions: number;
1605
- isInvertedGoal: boolean;
1606
- hurtingThreshold: number;
1607
- mainGoalDifference: number;
1608
- warning: boolean;
1609
- mainGoalRatio?: number | null;
1610
- isHurting: boolean;
1611
- }[]
1612
- | null;
1570
+ mainGoalComparisons: {
1571
+ mainGoalId: number;
1572
+ mainGoalCompletions: number;
1573
+ mainGoalCompletionsTotalValue: number;
1574
+ benchmarkMainGoalCompletions: number;
1575
+ isInvertedGoal: boolean;
1576
+ hurtingThreshold: number;
1577
+ mainGoalDifference: number;
1578
+ warning: boolean;
1579
+ mainGoalRatio?: number | null;
1580
+ isHurting: boolean;
1581
+ }[];
1613
1582
  };
1614
1583
  bestPrognosis: {
1615
1584
  variantId: number;
@@ -1639,28 +1608,26 @@ export interface GetAbTestViewModelOutput {
1639
1608
  isBenchmark: boolean;
1640
1609
  totalPageviewsForVariant: number;
1641
1610
  totalVisitorsForVariant: number;
1642
- segment: string | null;
1643
- previewSegment: string | null;
1611
+ segment: string;
1612
+ previewSegment: string;
1644
1613
  };
1645
1614
  visitors: number;
1646
1615
  goalCompletions: number;
1647
1616
  benchmarkVisitors: number;
1648
1617
  benchmarkGoalCompletions: number;
1649
1618
  conversionRate: number;
1650
- mainGoalComparisons:
1651
- | {
1652
- mainGoalId: number;
1653
- mainGoalCompletions: number;
1654
- mainGoalCompletionsTotalValue: number;
1655
- benchmarkMainGoalCompletions: number;
1656
- isInvertedGoal: boolean;
1657
- hurtingThreshold: number;
1658
- mainGoalDifference: number;
1659
- warning: boolean;
1660
- mainGoalRatio?: number | null;
1661
- isHurting: boolean;
1662
- }[]
1663
- | null;
1619
+ mainGoalComparisons: {
1620
+ mainGoalId: number;
1621
+ mainGoalCompletions: number;
1622
+ mainGoalCompletionsTotalValue: number;
1623
+ benchmarkMainGoalCompletions: number;
1624
+ isInvertedGoal: boolean;
1625
+ hurtingThreshold: number;
1626
+ mainGoalDifference: number;
1627
+ warning: boolean;
1628
+ mainGoalRatio?: number | null;
1629
+ isHurting: boolean;
1630
+ }[];
1664
1631
  };
1665
1632
  winningVariantConversionChange: number;
1666
1633
  bestNonWinningVariantConversionChange: number;
@@ -1820,6 +1787,7 @@ export interface PostAbTestStartOutput {
1820
1787
  totalPageviewsForVariant: number;
1821
1788
  totalVisitorsForVariant: number;
1822
1789
  };
1790
+ isArchived: boolean;
1823
1791
  isCompleted: boolean;
1824
1792
  completedOn?: string | null;
1825
1793
  completedByUmbracoUserKey?: string | null;
@@ -1861,28 +1829,26 @@ export interface PostAbTestStartOutput {
1861
1829
  isBenchmark: boolean;
1862
1830
  totalPageviewsForVariant: number;
1863
1831
  totalVisitorsForVariant: number;
1864
- segment: string | null;
1865
- previewSegment: string | null;
1832
+ segment: string;
1833
+ previewSegment: string;
1866
1834
  };
1867
1835
  visitors: number;
1868
1836
  goalCompletions: number;
1869
1837
  benchmarkVisitors: number;
1870
1838
  benchmarkGoalCompletions: number;
1871
1839
  conversionRate: number;
1872
- mainGoalComparisons:
1873
- | {
1874
- mainGoalId: number;
1875
- mainGoalCompletions: number;
1876
- mainGoalCompletionsTotalValue: number;
1877
- benchmarkMainGoalCompletions: number;
1878
- isInvertedGoal: boolean;
1879
- hurtingThreshold: number;
1880
- mainGoalDifference: number;
1881
- warning: boolean;
1882
- mainGoalRatio?: number | null;
1883
- isHurting: boolean;
1884
- }[]
1885
- | null;
1840
+ mainGoalComparisons: {
1841
+ mainGoalId: number;
1842
+ mainGoalCompletions: number;
1843
+ mainGoalCompletionsTotalValue: number;
1844
+ benchmarkMainGoalCompletions: number;
1845
+ isInvertedGoal: boolean;
1846
+ hurtingThreshold: number;
1847
+ mainGoalDifference: number;
1848
+ warning: boolean;
1849
+ mainGoalRatio?: number | null;
1850
+ isHurting: boolean;
1851
+ }[];
1886
1852
  }[];
1887
1853
  currentVisitorsPerVariant: number;
1888
1854
  currentVisitors: number;
@@ -1906,28 +1872,26 @@ export interface PostAbTestStartOutput {
1906
1872
  isBenchmark: boolean;
1907
1873
  totalPageviewsForVariant: number;
1908
1874
  totalVisitorsForVariant: number;
1909
- segment: string | null;
1910
- previewSegment: string | null;
1875
+ segment: string;
1876
+ previewSegment: string;
1911
1877
  };
1912
1878
  visitors: number;
1913
1879
  goalCompletions: number;
1914
1880
  benchmarkVisitors: number;
1915
1881
  benchmarkGoalCompletions: number;
1916
1882
  conversionRate: number;
1917
- mainGoalComparisons:
1918
- | {
1919
- mainGoalId: number;
1920
- mainGoalCompletions: number;
1921
- mainGoalCompletionsTotalValue: number;
1922
- benchmarkMainGoalCompletions: number;
1923
- isInvertedGoal: boolean;
1924
- hurtingThreshold: number;
1925
- mainGoalDifference: number;
1926
- warning: boolean;
1927
- mainGoalRatio?: number | null;
1928
- isHurting: boolean;
1929
- }[]
1930
- | null;
1883
+ mainGoalComparisons: {
1884
+ mainGoalId: number;
1885
+ mainGoalCompletions: number;
1886
+ mainGoalCompletionsTotalValue: number;
1887
+ benchmarkMainGoalCompletions: number;
1888
+ isInvertedGoal: boolean;
1889
+ hurtingThreshold: number;
1890
+ mainGoalDifference: number;
1891
+ warning: boolean;
1892
+ mainGoalRatio?: number | null;
1893
+ isHurting: boolean;
1894
+ }[];
1931
1895
  };
1932
1896
  bestNonBenchmarkVariant?: null | {
1933
1897
  abTestVariant: {
@@ -1946,28 +1910,26 @@ export interface PostAbTestStartOutput {
1946
1910
  isBenchmark: boolean;
1947
1911
  totalPageviewsForVariant: number;
1948
1912
  totalVisitorsForVariant: number;
1949
- segment: string | null;
1950
- previewSegment: string | null;
1913
+ segment: string;
1914
+ previewSegment: string;
1951
1915
  };
1952
1916
  visitors: number;
1953
1917
  goalCompletions: number;
1954
1918
  benchmarkVisitors: number;
1955
1919
  benchmarkGoalCompletions: number;
1956
1920
  conversionRate: number;
1957
- mainGoalComparisons:
1958
- | {
1959
- mainGoalId: number;
1960
- mainGoalCompletions: number;
1961
- mainGoalCompletionsTotalValue: number;
1962
- benchmarkMainGoalCompletions: number;
1963
- isInvertedGoal: boolean;
1964
- hurtingThreshold: number;
1965
- mainGoalDifference: number;
1966
- warning: boolean;
1967
- mainGoalRatio?: number | null;
1968
- isHurting: boolean;
1969
- }[]
1970
- | null;
1921
+ mainGoalComparisons: {
1922
+ mainGoalId: number;
1923
+ mainGoalCompletions: number;
1924
+ mainGoalCompletionsTotalValue: number;
1925
+ benchmarkMainGoalCompletions: number;
1926
+ isInvertedGoal: boolean;
1927
+ hurtingThreshold: number;
1928
+ mainGoalDifference: number;
1929
+ warning: boolean;
1930
+ mainGoalRatio?: number | null;
1931
+ isHurting: boolean;
1932
+ }[];
1971
1933
  };
1972
1934
  earliestReliableVariant?: null | {
1973
1935
  abTestVariant: {
@@ -1986,28 +1948,26 @@ export interface PostAbTestStartOutput {
1986
1948
  isBenchmark: boolean;
1987
1949
  totalPageviewsForVariant: number;
1988
1950
  totalVisitorsForVariant: number;
1989
- segment: string | null;
1990
- previewSegment: string | null;
1951
+ segment: string;
1952
+ previewSegment: string;
1991
1953
  };
1992
1954
  visitors: number;
1993
1955
  goalCompletions: number;
1994
1956
  benchmarkVisitors: number;
1995
1957
  benchmarkGoalCompletions: number;
1996
1958
  conversionRate: number;
1997
- mainGoalComparisons:
1998
- | {
1999
- mainGoalId: number;
2000
- mainGoalCompletions: number;
2001
- mainGoalCompletionsTotalValue: number;
2002
- benchmarkMainGoalCompletions: number;
2003
- isInvertedGoal: boolean;
2004
- hurtingThreshold: number;
2005
- mainGoalDifference: number;
2006
- warning: boolean;
2007
- mainGoalRatio?: number | null;
2008
- isHurting: boolean;
2009
- }[]
2010
- | null;
1959
+ mainGoalComparisons: {
1960
+ mainGoalId: number;
1961
+ mainGoalCompletions: number;
1962
+ mainGoalCompletionsTotalValue: number;
1963
+ benchmarkMainGoalCompletions: number;
1964
+ isInvertedGoal: boolean;
1965
+ hurtingThreshold: number;
1966
+ mainGoalDifference: number;
1967
+ warning: boolean;
1968
+ mainGoalRatio?: number | null;
1969
+ isHurting: boolean;
1970
+ }[];
2011
1971
  };
2012
1972
  bestPrognosis: {
2013
1973
  variantId: number;
@@ -2037,28 +1997,26 @@ export interface PostAbTestStartOutput {
2037
1997
  isBenchmark: boolean;
2038
1998
  totalPageviewsForVariant: number;
2039
1999
  totalVisitorsForVariant: number;
2040
- segment: string | null;
2041
- previewSegment: string | null;
2000
+ segment: string;
2001
+ previewSegment: string;
2042
2002
  };
2043
2003
  visitors: number;
2044
2004
  goalCompletions: number;
2045
2005
  benchmarkVisitors: number;
2046
2006
  benchmarkGoalCompletions: number;
2047
2007
  conversionRate: number;
2048
- mainGoalComparisons:
2049
- | {
2050
- mainGoalId: number;
2051
- mainGoalCompletions: number;
2052
- mainGoalCompletionsTotalValue: number;
2053
- benchmarkMainGoalCompletions: number;
2054
- isInvertedGoal: boolean;
2055
- hurtingThreshold: number;
2056
- mainGoalDifference: number;
2057
- warning: boolean;
2058
- mainGoalRatio?: number | null;
2059
- isHurting: boolean;
2060
- }[]
2061
- | null;
2008
+ mainGoalComparisons: {
2009
+ mainGoalId: number;
2010
+ mainGoalCompletions: number;
2011
+ mainGoalCompletionsTotalValue: number;
2012
+ benchmarkMainGoalCompletions: number;
2013
+ isInvertedGoal: boolean;
2014
+ hurtingThreshold: number;
2015
+ mainGoalDifference: number;
2016
+ warning: boolean;
2017
+ mainGoalRatio?: number | null;
2018
+ isHurting: boolean;
2019
+ }[];
2062
2020
  };
2063
2021
  winningVariantConversionChange: number;
2064
2022
  bestNonWinningVariantConversionChange: number;
@@ -2130,8 +2088,8 @@ export interface PostAbTestStartOutput {
2130
2088
  };
2131
2089
  validationResults: {
2132
2090
  isValid: boolean;
2133
- warnings: string[] | null;
2134
- errors: string[] | null;
2091
+ warnings: string[];
2092
+ errors: string[];
2135
2093
  };
2136
2094
  }
2137
2095
 
@@ -2228,6 +2186,7 @@ export interface PostAbTestStopOutput {
2228
2186
  totalPageviewsForVariant: number;
2229
2187
  totalVisitorsForVariant: number;
2230
2188
  };
2189
+ isArchived: boolean;
2231
2190
  isCompleted: boolean;
2232
2191
  completedOn?: string | null;
2233
2192
  completedByUmbracoUserKey?: string | null;
@@ -2269,28 +2228,26 @@ export interface PostAbTestStopOutput {
2269
2228
  isBenchmark: boolean;
2270
2229
  totalPageviewsForVariant: number;
2271
2230
  totalVisitorsForVariant: number;
2272
- segment: string | null;
2273
- previewSegment: string | null;
2231
+ segment: string;
2232
+ previewSegment: string;
2274
2233
  };
2275
2234
  visitors: number;
2276
2235
  goalCompletions: number;
2277
2236
  benchmarkVisitors: number;
2278
2237
  benchmarkGoalCompletions: number;
2279
2238
  conversionRate: number;
2280
- mainGoalComparisons:
2281
- | {
2282
- mainGoalId: number;
2283
- mainGoalCompletions: number;
2284
- mainGoalCompletionsTotalValue: number;
2285
- benchmarkMainGoalCompletions: number;
2286
- isInvertedGoal: boolean;
2287
- hurtingThreshold: number;
2288
- mainGoalDifference: number;
2289
- warning: boolean;
2290
- mainGoalRatio?: number | null;
2291
- isHurting: boolean;
2292
- }[]
2293
- | null;
2239
+ mainGoalComparisons: {
2240
+ mainGoalId: number;
2241
+ mainGoalCompletions: number;
2242
+ mainGoalCompletionsTotalValue: number;
2243
+ benchmarkMainGoalCompletions: number;
2244
+ isInvertedGoal: boolean;
2245
+ hurtingThreshold: number;
2246
+ mainGoalDifference: number;
2247
+ warning: boolean;
2248
+ mainGoalRatio?: number | null;
2249
+ isHurting: boolean;
2250
+ }[];
2294
2251
  }[];
2295
2252
  currentVisitorsPerVariant: number;
2296
2253
  currentVisitors: number;
@@ -2314,28 +2271,26 @@ export interface PostAbTestStopOutput {
2314
2271
  isBenchmark: boolean;
2315
2272
  totalPageviewsForVariant: number;
2316
2273
  totalVisitorsForVariant: number;
2317
- segment: string | null;
2318
- previewSegment: string | null;
2274
+ segment: string;
2275
+ previewSegment: string;
2319
2276
  };
2320
2277
  visitors: number;
2321
2278
  goalCompletions: number;
2322
2279
  benchmarkVisitors: number;
2323
2280
  benchmarkGoalCompletions: number;
2324
2281
  conversionRate: number;
2325
- mainGoalComparisons:
2326
- | {
2327
- mainGoalId: number;
2328
- mainGoalCompletions: number;
2329
- mainGoalCompletionsTotalValue: number;
2330
- benchmarkMainGoalCompletions: number;
2331
- isInvertedGoal: boolean;
2332
- hurtingThreshold: number;
2333
- mainGoalDifference: number;
2334
- warning: boolean;
2335
- mainGoalRatio?: number | null;
2336
- isHurting: boolean;
2337
- }[]
2338
- | null;
2282
+ mainGoalComparisons: {
2283
+ mainGoalId: number;
2284
+ mainGoalCompletions: number;
2285
+ mainGoalCompletionsTotalValue: number;
2286
+ benchmarkMainGoalCompletions: number;
2287
+ isInvertedGoal: boolean;
2288
+ hurtingThreshold: number;
2289
+ mainGoalDifference: number;
2290
+ warning: boolean;
2291
+ mainGoalRatio?: number | null;
2292
+ isHurting: boolean;
2293
+ }[];
2339
2294
  };
2340
2295
  bestNonBenchmarkVariant?: null | {
2341
2296
  abTestVariant: {
@@ -2354,28 +2309,26 @@ export interface PostAbTestStopOutput {
2354
2309
  isBenchmark: boolean;
2355
2310
  totalPageviewsForVariant: number;
2356
2311
  totalVisitorsForVariant: number;
2357
- segment: string | null;
2358
- previewSegment: string | null;
2312
+ segment: string;
2313
+ previewSegment: string;
2359
2314
  };
2360
2315
  visitors: number;
2361
2316
  goalCompletions: number;
2362
2317
  benchmarkVisitors: number;
2363
2318
  benchmarkGoalCompletions: number;
2364
2319
  conversionRate: number;
2365
- mainGoalComparisons:
2366
- | {
2367
- mainGoalId: number;
2368
- mainGoalCompletions: number;
2369
- mainGoalCompletionsTotalValue: number;
2370
- benchmarkMainGoalCompletions: number;
2371
- isInvertedGoal: boolean;
2372
- hurtingThreshold: number;
2373
- mainGoalDifference: number;
2374
- warning: boolean;
2375
- mainGoalRatio?: number | null;
2376
- isHurting: boolean;
2377
- }[]
2378
- | null;
2320
+ mainGoalComparisons: {
2321
+ mainGoalId: number;
2322
+ mainGoalCompletions: number;
2323
+ mainGoalCompletionsTotalValue: number;
2324
+ benchmarkMainGoalCompletions: number;
2325
+ isInvertedGoal: boolean;
2326
+ hurtingThreshold: number;
2327
+ mainGoalDifference: number;
2328
+ warning: boolean;
2329
+ mainGoalRatio?: number | null;
2330
+ isHurting: boolean;
2331
+ }[];
2379
2332
  };
2380
2333
  earliestReliableVariant?: null | {
2381
2334
  abTestVariant: {
@@ -2394,28 +2347,26 @@ export interface PostAbTestStopOutput {
2394
2347
  isBenchmark: boolean;
2395
2348
  totalPageviewsForVariant: number;
2396
2349
  totalVisitorsForVariant: number;
2397
- segment: string | null;
2398
- previewSegment: string | null;
2350
+ segment: string;
2351
+ previewSegment: string;
2399
2352
  };
2400
2353
  visitors: number;
2401
2354
  goalCompletions: number;
2402
2355
  benchmarkVisitors: number;
2403
2356
  benchmarkGoalCompletions: number;
2404
2357
  conversionRate: number;
2405
- mainGoalComparisons:
2406
- | {
2407
- mainGoalId: number;
2408
- mainGoalCompletions: number;
2409
- mainGoalCompletionsTotalValue: number;
2410
- benchmarkMainGoalCompletions: number;
2411
- isInvertedGoal: boolean;
2412
- hurtingThreshold: number;
2413
- mainGoalDifference: number;
2414
- warning: boolean;
2415
- mainGoalRatio?: number | null;
2416
- isHurting: boolean;
2417
- }[]
2418
- | null;
2358
+ mainGoalComparisons: {
2359
+ mainGoalId: number;
2360
+ mainGoalCompletions: number;
2361
+ mainGoalCompletionsTotalValue: number;
2362
+ benchmarkMainGoalCompletions: number;
2363
+ isInvertedGoal: boolean;
2364
+ hurtingThreshold: number;
2365
+ mainGoalDifference: number;
2366
+ warning: boolean;
2367
+ mainGoalRatio?: number | null;
2368
+ isHurting: boolean;
2369
+ }[];
2419
2370
  };
2420
2371
  bestPrognosis: {
2421
2372
  variantId: number;
@@ -2445,28 +2396,26 @@ export interface PostAbTestStopOutput {
2445
2396
  isBenchmark: boolean;
2446
2397
  totalPageviewsForVariant: number;
2447
2398
  totalVisitorsForVariant: number;
2448
- segment: string | null;
2449
- previewSegment: string | null;
2399
+ segment: string;
2400
+ previewSegment: string;
2450
2401
  };
2451
2402
  visitors: number;
2452
2403
  goalCompletions: number;
2453
2404
  benchmarkVisitors: number;
2454
2405
  benchmarkGoalCompletions: number;
2455
2406
  conversionRate: number;
2456
- mainGoalComparisons:
2457
- | {
2458
- mainGoalId: number;
2459
- mainGoalCompletions: number;
2460
- mainGoalCompletionsTotalValue: number;
2461
- benchmarkMainGoalCompletions: number;
2462
- isInvertedGoal: boolean;
2463
- hurtingThreshold: number;
2464
- mainGoalDifference: number;
2465
- warning: boolean;
2466
- mainGoalRatio?: number | null;
2467
- isHurting: boolean;
2468
- }[]
2469
- | null;
2407
+ mainGoalComparisons: {
2408
+ mainGoalId: number;
2409
+ mainGoalCompletions: number;
2410
+ mainGoalCompletionsTotalValue: number;
2411
+ benchmarkMainGoalCompletions: number;
2412
+ isInvertedGoal: boolean;
2413
+ hurtingThreshold: number;
2414
+ mainGoalDifference: number;
2415
+ warning: boolean;
2416
+ mainGoalRatio?: number | null;
2417
+ isHurting: boolean;
2418
+ }[];
2470
2419
  };
2471
2420
  winningVariantConversionChange: number;
2472
2421
  bestNonWinningVariantConversionChange: number;
@@ -2538,8 +2487,516 @@ export interface PostAbTestStopOutput {
2538
2487
  };
2539
2488
  validationResults: {
2540
2489
  isValid: boolean;
2541
- warnings: string[] | null;
2542
- errors: string[] | null;
2490
+ warnings: string[];
2491
+ errors: string[];
2492
+ };
2493
+ }
2494
+
2495
+ export interface PostAbTestArchiveInput {
2496
+ /**
2497
+ * The A/B test's `unique` guid (from post-ab-test's response, or get-ab-test-all).
2498
+ */
2499
+ unique: string;
2500
+ /**
2501
+ * true to archive the test, false to restore an archived test.
2502
+ */
2503
+ archived: boolean;
2504
+ }
2505
+
2506
+ export interface PostAbTestArchiveOutput {
2507
+ isValid: boolean;
2508
+ warnings: string[];
2509
+ errors: string[];
2510
+ }
2511
+
2512
+ export interface PostAbTestEndInput {
2513
+ /**
2514
+ * The A/B test's `unique` guid (from post-ab-test's response, or get-ab-test-all).
2515
+ */
2516
+ unique: string;
2517
+ /**
2518
+ * The end state. Stopped halts a Running test without picking a winner (it can still be completed later). Completed finishes a Running or Stopped test for good, optionally with a winner.
2519
+ */
2520
+ status: "Stopped" | "Completed";
2521
+ /**
2522
+ * Only with status Completed: the `unique` of the winning variant (from get-ab-test-view-model's `variants`). Must be one of this test's own variants. Omit to complete without declaring a winner.
2523
+ */
2524
+ winnerKey?: string;
2525
+ /**
2526
+ * Only with status Completed and a winnerKey: what Engage does with the winning variant's content on the page - Nothing (leave the page as it is), Publish (apply it and publish), or Draft (apply it as an unpublished draft). Omit or use Nothing to leave content untouched.
2527
+ */
2528
+ onCompleteAction?: "Nothing" | "Publish" | "Draft";
2529
+ }
2530
+
2531
+ export interface PostAbTestEndOutput {
2532
+ test?: null | {
2533
+ test: {
2534
+ unique: string;
2535
+ projectKey?: string | null;
2536
+ goalKey?: string | null;
2537
+ status?: null | ("Unknown" | "Scheduled" | "Running" | "Stopped" | "Completed" | "Draft" | null);
2538
+ name?: string | null;
2539
+ description?: string | null;
2540
+ createdByUmbracoUserName?: string | null;
2541
+ testType?: null | ("SinglePage" | "MultiPage" | "ContentType" | "SplitUrl" | null);
2542
+ startTime?: string | null;
2543
+ endTime?: string | null;
2544
+ participationPercentage?: number | null;
2545
+ minimumDetectableEffect?: number | null;
2546
+ variants: {
2547
+ id: number;
2548
+ unique: string;
2549
+ abTestId: number;
2550
+ name?: string | null;
2551
+ description?: string | null;
2552
+ redirectNodeKey?: string | null;
2553
+ css?: string | null;
2554
+ javascript?: string | null;
2555
+ created: string;
2556
+ createdByUmbracoUserKey: string;
2557
+ isBenchmark: boolean;
2558
+ disabled?: string | null;
2559
+ disabledByUmbracoUserKey?: string | null;
2560
+ isDisabled: boolean;
2561
+ segment?: string | null;
2562
+ previewSegment?: string | null;
2563
+ totalPageviewsForVariant: number;
2564
+ totalVisitorsForVariant: number;
2565
+ }[];
2566
+ umbracoPageVariants: {
2567
+ id: number;
2568
+ unique: string;
2569
+ nodeKey: string;
2570
+ nodeName?: string | null;
2571
+ culture?: string | null;
2572
+ abTestId?: number | null;
2573
+ variesBySegment: boolean;
2574
+ contentTypeKey: string;
2575
+ }[];
2576
+ contentTypes: {
2577
+ contentTypeId: number;
2578
+ contentTypeName?: string | null;
2579
+ culture?: string | null;
2580
+ }[];
2581
+ winner?: null | {
2582
+ id: number;
2583
+ unique: string;
2584
+ abTestId: number;
2585
+ name?: string | null;
2586
+ description?: string | null;
2587
+ redirectNodeKey?: string | null;
2588
+ css?: string | null;
2589
+ javascript?: string | null;
2590
+ created: string;
2591
+ createdByUmbracoUserKey: string;
2592
+ isBenchmark: boolean;
2593
+ disabled?: string | null;
2594
+ disabledByUmbracoUserKey?: string | null;
2595
+ isDisabled: boolean;
2596
+ segment?: string | null;
2597
+ previewSegment?: string | null;
2598
+ totalPageviewsForVariant: number;
2599
+ totalVisitorsForVariant: number;
2600
+ };
2601
+ isArchived: boolean;
2602
+ isCompleted: boolean;
2603
+ completedOn?: string | null;
2604
+ completedByUmbracoUserKey?: string | null;
2605
+ stoppedByUmbracoUserKey?: string | null;
2606
+ estimatedDailyVisitors?: number | null;
2607
+ baselineConversionRate?: number | null;
2608
+ viableVisitorThreshold?: number | null;
2609
+ previewNodeKey?: string | null;
2610
+ onCompleteAction: "Nothing" | "Publish" | "Draft";
2611
+ id: number;
2612
+ created: string;
2613
+ };
2614
+ indication?: null | {
2615
+ estimatedRuntimeInDays?: number | null;
2616
+ estimatedRequiredRuntimeRemainingInDays?: number | null;
2617
+ currentRuntimeInDays: number;
2618
+ mde: number;
2619
+ benchmarkConversionRate: number;
2620
+ targetConversionRate: number;
2621
+ variantCount: number;
2622
+ requiredVisitorsTotal?: number | null;
2623
+ requiredVisitorsPerVariant?: number | null;
2624
+ expectedDailyVisitors: number;
2625
+ status: "Unknown" | "Scheduled" | "Running" | "Stopped" | "Completed" | "Draft" | null;
2626
+ hurtingVariants: {
2627
+ abTestVariant: {
2628
+ id: number;
2629
+ unique: string;
2630
+ name?: string | null;
2631
+ description?: string | null;
2632
+ redirectNodeKey?: string | null;
2633
+ css?: string | null;
2634
+ javascript?: string | null;
2635
+ created: string;
2636
+ createdByUmbracoUserKey: string;
2637
+ disabled?: string | null;
2638
+ disabledByUmbracoUserKey?: string | null;
2639
+ isDisabled: boolean;
2640
+ isBenchmark: boolean;
2641
+ totalPageviewsForVariant: number;
2642
+ totalVisitorsForVariant: number;
2643
+ segment: string;
2644
+ previewSegment: string;
2645
+ };
2646
+ visitors: number;
2647
+ goalCompletions: number;
2648
+ benchmarkVisitors: number;
2649
+ benchmarkGoalCompletions: number;
2650
+ conversionRate: number;
2651
+ mainGoalComparisons: {
2652
+ mainGoalId: number;
2653
+ mainGoalCompletions: number;
2654
+ mainGoalCompletionsTotalValue: number;
2655
+ benchmarkMainGoalCompletions: number;
2656
+ isInvertedGoal: boolean;
2657
+ hurtingThreshold: number;
2658
+ mainGoalDifference: number;
2659
+ warning: boolean;
2660
+ mainGoalRatio?: number | null;
2661
+ isHurting: boolean;
2662
+ }[];
2663
+ }[];
2664
+ currentVisitorsPerVariant: number;
2665
+ currentVisitors: number;
2666
+ reliableVariants: number;
2667
+ isInvertedGoal: boolean;
2668
+ originalVariantIsWinning: boolean;
2669
+ winningVariant?: null | {
2670
+ abTestVariant: {
2671
+ id: number;
2672
+ unique: string;
2673
+ name?: string | null;
2674
+ description?: string | null;
2675
+ redirectNodeKey?: string | null;
2676
+ css?: string | null;
2677
+ javascript?: string | null;
2678
+ created: string;
2679
+ createdByUmbracoUserKey: string;
2680
+ disabled?: string | null;
2681
+ disabledByUmbracoUserKey?: string | null;
2682
+ isDisabled: boolean;
2683
+ isBenchmark: boolean;
2684
+ totalPageviewsForVariant: number;
2685
+ totalVisitorsForVariant: number;
2686
+ segment: string;
2687
+ previewSegment: string;
2688
+ };
2689
+ visitors: number;
2690
+ goalCompletions: number;
2691
+ benchmarkVisitors: number;
2692
+ benchmarkGoalCompletions: number;
2693
+ conversionRate: number;
2694
+ mainGoalComparisons: {
2695
+ mainGoalId: number;
2696
+ mainGoalCompletions: number;
2697
+ mainGoalCompletionsTotalValue: number;
2698
+ benchmarkMainGoalCompletions: number;
2699
+ isInvertedGoal: boolean;
2700
+ hurtingThreshold: number;
2701
+ mainGoalDifference: number;
2702
+ warning: boolean;
2703
+ mainGoalRatio?: number | null;
2704
+ isHurting: boolean;
2705
+ }[];
2706
+ };
2707
+ bestNonBenchmarkVariant?: null | {
2708
+ abTestVariant: {
2709
+ id: number;
2710
+ unique: string;
2711
+ name?: string | null;
2712
+ description?: string | null;
2713
+ redirectNodeKey?: string | null;
2714
+ css?: string | null;
2715
+ javascript?: string | null;
2716
+ created: string;
2717
+ createdByUmbracoUserKey: string;
2718
+ disabled?: string | null;
2719
+ disabledByUmbracoUserKey?: string | null;
2720
+ isDisabled: boolean;
2721
+ isBenchmark: boolean;
2722
+ totalPageviewsForVariant: number;
2723
+ totalVisitorsForVariant: number;
2724
+ segment: string;
2725
+ previewSegment: string;
2726
+ };
2727
+ visitors: number;
2728
+ goalCompletions: number;
2729
+ benchmarkVisitors: number;
2730
+ benchmarkGoalCompletions: number;
2731
+ conversionRate: number;
2732
+ mainGoalComparisons: {
2733
+ mainGoalId: number;
2734
+ mainGoalCompletions: number;
2735
+ mainGoalCompletionsTotalValue: number;
2736
+ benchmarkMainGoalCompletions: number;
2737
+ isInvertedGoal: boolean;
2738
+ hurtingThreshold: number;
2739
+ mainGoalDifference: number;
2740
+ warning: boolean;
2741
+ mainGoalRatio?: number | null;
2742
+ isHurting: boolean;
2743
+ }[];
2744
+ };
2745
+ earliestReliableVariant?: null | {
2746
+ abTestVariant: {
2747
+ id: number;
2748
+ unique: string;
2749
+ name?: string | null;
2750
+ description?: string | null;
2751
+ redirectNodeKey?: string | null;
2752
+ css?: string | null;
2753
+ javascript?: string | null;
2754
+ created: string;
2755
+ createdByUmbracoUserKey: string;
2756
+ disabled?: string | null;
2757
+ disabledByUmbracoUserKey?: string | null;
2758
+ isDisabled: boolean;
2759
+ isBenchmark: boolean;
2760
+ totalPageviewsForVariant: number;
2761
+ totalVisitorsForVariant: number;
2762
+ segment: string;
2763
+ previewSegment: string;
2764
+ };
2765
+ visitors: number;
2766
+ goalCompletions: number;
2767
+ benchmarkVisitors: number;
2768
+ benchmarkGoalCompletions: number;
2769
+ conversionRate: number;
2770
+ mainGoalComparisons: {
2771
+ mainGoalId: number;
2772
+ mainGoalCompletions: number;
2773
+ mainGoalCompletionsTotalValue: number;
2774
+ benchmarkMainGoalCompletions: number;
2775
+ isInvertedGoal: boolean;
2776
+ hurtingThreshold: number;
2777
+ mainGoalDifference: number;
2778
+ warning: boolean;
2779
+ mainGoalRatio?: number | null;
2780
+ isHurting: boolean;
2781
+ }[];
2782
+ };
2783
+ bestPrognosis: {
2784
+ variantId: number;
2785
+ conversionIncrease: number;
2786
+ currentVisitors: number;
2787
+ requiredVisitorsTotal?: number | null;
2788
+ expectedDailyVisitors: number;
2789
+ estimatedRuntimeInDays?: number | null;
2790
+ isHurtingMainConversion: boolean;
2791
+ remainingVisitors?: number | null;
2792
+ isReliable: boolean;
2793
+ };
2794
+ winner?: null | {
2795
+ abTestVariant: {
2796
+ id: number;
2797
+ unique: string;
2798
+ name?: string | null;
2799
+ description?: string | null;
2800
+ redirectNodeKey?: string | null;
2801
+ css?: string | null;
2802
+ javascript?: string | null;
2803
+ created: string;
2804
+ createdByUmbracoUserKey: string;
2805
+ disabled?: string | null;
2806
+ disabledByUmbracoUserKey?: string | null;
2807
+ isDisabled: boolean;
2808
+ isBenchmark: boolean;
2809
+ totalPageviewsForVariant: number;
2810
+ totalVisitorsForVariant: number;
2811
+ segment: string;
2812
+ previewSegment: string;
2813
+ };
2814
+ visitors: number;
2815
+ goalCompletions: number;
2816
+ benchmarkVisitors: number;
2817
+ benchmarkGoalCompletions: number;
2818
+ conversionRate: number;
2819
+ mainGoalComparisons: {
2820
+ mainGoalId: number;
2821
+ mainGoalCompletions: number;
2822
+ mainGoalCompletionsTotalValue: number;
2823
+ benchmarkMainGoalCompletions: number;
2824
+ isInvertedGoal: boolean;
2825
+ hurtingThreshold: number;
2826
+ mainGoalDifference: number;
2827
+ warning: boolean;
2828
+ mainGoalRatio?: number | null;
2829
+ isHurting: boolean;
2830
+ }[];
2831
+ };
2832
+ winningVariantConversionChange: number;
2833
+ bestNonWinningVariantConversionChange: number;
2834
+ winnerConversionChange: number;
2835
+ stoppedOn?: string | null;
2836
+ startTime?: string | null;
2837
+ completedOn?: string | null;
2838
+ hasSelectedWinner: boolean;
2839
+ completedByUsername?: string | null;
2840
+ stoppedByUsername?: string | null;
2841
+ hasSurpassedViableVisitorThreshold: boolean;
2842
+ variantStatus: {
2843
+ [k: string]: "Running" | "Warning" | "Disabled" | "Reliable" | "Stopped" | "Scheduled" | "Completed" | "Draft";
2844
+ };
2845
+ };
2846
+ variants?:
2847
+ | {
2848
+ label?: string | null;
2849
+ currentTotalParticipantCount: number;
2850
+ currentTotalPageviewCount: number;
2851
+ requiredTotalVisitorCount?: number | null;
2852
+ goalCompletions: number;
2853
+ goalValue: number;
2854
+ difference: number;
2855
+ participantPortion: number;
2856
+ visitorsPortion: number;
2857
+ conversionRate: number;
2858
+ conversionRateImprovement: number;
2859
+ conversionRateImprovementRelative: number;
2860
+ mainGoalComparisons: {
2861
+ mainGoalId: number;
2862
+ mainGoalCompletions: number;
2863
+ mainGoalCompletionsTotalValue: number;
2864
+ benchmarkMainGoalCompletions: number;
2865
+ isInvertedGoal: boolean;
2866
+ hurtingThreshold: number;
2867
+ mainGoalDifference: number;
2868
+ warning: boolean;
2869
+ mainGoalRatio?: number | null;
2870
+ isHurting: boolean;
2871
+ }[];
2872
+ mainGoalWarning: boolean;
2873
+ goalWarning: boolean;
2874
+ status: "Running" | "Warning" | "Disabled" | "Reliable" | "Stopped" | "Scheduled" | "Completed" | "Draft";
2875
+ isWinner: boolean;
2876
+ isLeading: boolean;
2877
+ id: number;
2878
+ unique: string;
2879
+ abTestId: number;
2880
+ name?: string | null;
2881
+ description?: string | null;
2882
+ redirectNodeKey?: string | null;
2883
+ css?: string | null;
2884
+ javascript?: string | null;
2885
+ created: string;
2886
+ createdByUmbracoUserKey: string;
2887
+ isBenchmark: boolean;
2888
+ disabled?: string | null;
2889
+ disabledByUmbracoUserKey?: string | null;
2890
+ isDisabled: boolean;
2891
+ segment?: string | null;
2892
+ previewSegment?: string | null;
2893
+ totalPageviewsForVariant: number;
2894
+ totalVisitorsForVariant: number;
2895
+ }[]
2896
+ | null;
2897
+ isInvertedGoal: boolean;
2898
+ cultureSharedSegmentedProperties?: string[] | null;
2899
+ };
2900
+ validationResults: {
2901
+ isValid: boolean;
2902
+ warnings: string[];
2903
+ errors: string[];
2904
+ };
2905
+ }
2906
+
2907
+ export interface PostAbTestUnscheduleInput {
2908
+ /**
2909
+ * The Scheduled A/B test's `unique` guid (from post-ab-test's response, or get-ab-test-all).
2910
+ */
2911
+ unique: string;
2912
+ }
2913
+
2914
+ export interface PostAbTestUnscheduleOutput {
2915
+ test?: null | {
2916
+ unique: string;
2917
+ projectKey?: string | null;
2918
+ goalKey?: string | null;
2919
+ status?: null | ("Unknown" | "Scheduled" | "Running" | "Stopped" | "Completed" | "Draft" | null);
2920
+ name?: string | null;
2921
+ description?: string | null;
2922
+ createdByUmbracoUserName?: string | null;
2923
+ testType?: null | ("SinglePage" | "MultiPage" | "ContentType" | "SplitUrl" | null);
2924
+ startTime?: string | null;
2925
+ endTime?: string | null;
2926
+ participationPercentage?: number | null;
2927
+ minimumDetectableEffect?: number | null;
2928
+ variants: {
2929
+ id: number;
2930
+ unique: string;
2931
+ abTestId: number;
2932
+ name?: string | null;
2933
+ description?: string | null;
2934
+ redirectNodeKey?: string | null;
2935
+ css?: string | null;
2936
+ javascript?: string | null;
2937
+ created: string;
2938
+ createdByUmbracoUserKey: string;
2939
+ isBenchmark: boolean;
2940
+ disabled?: string | null;
2941
+ disabledByUmbracoUserKey?: string | null;
2942
+ isDisabled: boolean;
2943
+ segment?: string | null;
2944
+ previewSegment?: string | null;
2945
+ totalPageviewsForVariant: number;
2946
+ totalVisitorsForVariant: number;
2947
+ }[];
2948
+ umbracoPageVariants: {
2949
+ id: number;
2950
+ unique: string;
2951
+ nodeKey: string;
2952
+ nodeName?: string | null;
2953
+ culture?: string | null;
2954
+ abTestId?: number | null;
2955
+ variesBySegment: boolean;
2956
+ contentTypeKey: string;
2957
+ }[];
2958
+ contentTypes: {
2959
+ contentTypeId: number;
2960
+ contentTypeName?: string | null;
2961
+ culture?: string | null;
2962
+ }[];
2963
+ winner?: null | {
2964
+ id: number;
2965
+ unique: string;
2966
+ abTestId: number;
2967
+ name?: string | null;
2968
+ description?: string | null;
2969
+ redirectNodeKey?: string | null;
2970
+ css?: string | null;
2971
+ javascript?: string | null;
2972
+ created: string;
2973
+ createdByUmbracoUserKey: string;
2974
+ isBenchmark: boolean;
2975
+ disabled?: string | null;
2976
+ disabledByUmbracoUserKey?: string | null;
2977
+ isDisabled: boolean;
2978
+ segment?: string | null;
2979
+ previewSegment?: string | null;
2980
+ totalPageviewsForVariant: number;
2981
+ totalVisitorsForVariant: number;
2982
+ };
2983
+ isArchived: boolean;
2984
+ isCompleted: boolean;
2985
+ completedOn?: string | null;
2986
+ completedByUmbracoUserKey?: string | null;
2987
+ stoppedByUmbracoUserKey?: string | null;
2988
+ estimatedDailyVisitors?: number | null;
2989
+ baselineConversionRate?: number | null;
2990
+ viableVisitorThreshold?: number | null;
2991
+ previewNodeKey?: string | null;
2992
+ onCompleteAction: "Nothing" | "Publish" | "Draft";
2993
+ id: number;
2994
+ created: string;
2995
+ };
2996
+ validationResults: {
2997
+ isValid: boolean;
2998
+ warnings: string[];
2999
+ errors: string[];
2543
3000
  };
2544
3001
  }
2545
3002
 
@@ -2625,6 +3082,7 @@ export interface PostAbTestProjectOutput {
2625
3082
  totalPageviewsForVariant: number;
2626
3083
  totalVisitorsForVariant: number;
2627
3084
  };
3085
+ isArchived: boolean;
2628
3086
  isCompleted: boolean;
2629
3087
  completedOn?: string | null;
2630
3088
  completedByUmbracoUserKey?: string | null;
@@ -2726,6 +3184,7 @@ export interface GetAbTestProjectOutput {
2726
3184
  totalPageviewsForVariant: number;
2727
3185
  totalVisitorsForVariant: number;
2728
3186
  };
3187
+ isArchived: boolean;
2729
3188
  isCompleted: boolean;
2730
3189
  completedOn?: string | null;
2731
3190
  completedByUmbracoUserKey?: string | null;
@@ -2819,6 +3278,7 @@ export interface PutAbTestProjectInput {
2819
3278
  totalPageviewsForVariant: number;
2820
3279
  totalVisitorsForVariant: number;
2821
3280
  };
3281
+ isArchived: boolean;
2822
3282
  isCompleted: boolean;
2823
3283
  completedOn?: string | null;
2824
3284
  completedByUmbracoUserKey?: string | null;
@@ -2912,6 +3372,7 @@ export interface PutAbTestProjectOutput {
2912
3372
  totalPageviewsForVariant: number;
2913
3373
  totalVisitorsForVariant: number;
2914
3374
  };
3375
+ isArchived: boolean;
2915
3376
  isCompleted: boolean;
2916
3377
  completedOn?: string | null;
2917
3378
  completedByUmbracoUserKey?: string | null;
@@ -3008,6 +3469,7 @@ export interface GetAbTestProjectAllOutput {
3008
3469
  totalPageviewsForVariant: number;
3009
3470
  totalVisitorsForVariant: number;
3010
3471
  };
3472
+ isArchived: boolean;
3011
3473
  isCompleted: boolean;
3012
3474
  completedOn?: string | null;
3013
3475
  completedByUmbracoUserKey?: string | null;
@@ -3058,6 +3520,7 @@ export interface GetAbTestProjectDetailsOutput {
3058
3520
  totalVisitors: number;
3059
3521
  winner?: string | null;
3060
3522
  winnerDescription?: string | null;
3523
+ isArchived: boolean;
3061
3524
  }[];
3062
3525
  amountOfActiveTests: number;
3063
3526
  amountOfTests: number;
@@ -3237,13 +3700,6 @@ export interface GetAbTestVariantSegmentOutput {
3237
3700
  totalVisitorsForVariant: number;
3238
3701
  }
3239
3702
 
3240
- export interface GetAddOnsInput {}
3241
-
3242
- export interface GetAddOnsOutput {
3243
- umbracoForms: boolean;
3244
- umbracoCommerce: boolean;
3245
- }
3246
-
3247
3703
  export interface GetAnalyticsDistinctInput {
3248
3704
  dimension?:
3249
3705
  | "UNDEFINED"
@@ -3381,7 +3837,6 @@ export interface PostAnalyticsQueryInput {
3381
3837
  | "umbracoFormsFieldAbandons"
3382
3838
  | "umbracoFormsFieldErrors"
3383
3839
  | "avgEngagedTimeOnPage"
3384
- | "pageviewsBot"
3385
3840
  | "pageSessions"
3386
3841
  | "pageVisitors"
3387
3842
  | "pageSessionsWithSubpages"
@@ -3613,7 +4068,6 @@ export interface PostAnalyticsQueryInput {
3613
4068
  | "umbracoFormsFieldAbandons"
3614
4069
  | "umbracoFormsFieldErrors"
3615
4070
  | "avgEngagedTimeOnPage"
3616
- | "pageviewsBot"
3617
4071
  | "pageSessions"
3618
4072
  | "pageVisitors"
3619
4073
  | "pageSessionsWithSubpages"
@@ -3642,12 +4096,18 @@ export interface PostAnalyticsQueryInput {
3642
4096
  | "entrySessions"
3643
4097
  );
3644
4098
  ascending?: boolean;
3645
- page?: number;
3646
- pageSize?: number;
3647
4099
  search?: string | null;
3648
4100
  includeTotals?: boolean | null;
3649
4101
  includeTotalRows?: boolean | null;
3650
4102
  includeSubpages?: boolean;
4103
+ /**
4104
+ * 1-based page of rows to return.
4105
+ */
4106
+ page?: number;
4107
+ /**
4108
+ * Rows per page.
4109
+ */
4110
+ pageSize?: number;
3651
4111
  }
3652
4112
 
3653
4113
  export interface PostAnalyticsQueryOutput {
@@ -3766,7 +4226,6 @@ export interface PostAnalyticsQueryOutput {
3766
4226
  | "umbracoFormsFieldAbandons"
3767
4227
  | "umbracoFormsFieldErrors"
3768
4228
  | "avgEngagedTimeOnPage"
3769
- | "pageviewsBot"
3770
4229
  | "pageSessions"
3771
4230
  | "pageVisitors"
3772
4231
  | "pageSessionsWithSubpages"
@@ -3799,7 +4258,196 @@ export interface PostAnalyticsQueryOutput {
3799
4258
  rowsPerPage: number;
3800
4259
  totalRows: number;
3801
4260
  totalPages: number;
3802
- metricTotals?: number[] | null;
4261
+ metricTotals?: (number | null)[] | null;
4262
+ fromRow: number;
4263
+ toRow: number;
4264
+ reportsExist: boolean;
4265
+ }
4266
+
4267
+ export interface PostAnalyticsRenderedSegmentsInput {
4268
+ /**
4269
+ * table: one row per segment that was rendered - [segment id, segment name, pageviews] - with deleted segments left out. chart: one row per day and segment - [date, segment name, pageviews] - for a time series.
4270
+ */
4271
+ view?: "table" | "chart";
4272
+ /**
4273
+ * ISO 8601 datetime, e.g. 2026-01-01T00:00:00Z
4274
+ */
4275
+ startDate: string | null;
4276
+ /**
4277
+ * ISO 8601 datetime, e.g. 2026-01-31T23:59:59Z
4278
+ */
4279
+ endDate: string | null;
4280
+ /**
4281
+ * Limit to pageviews of this content page (its document key). Omit for the whole site.
4282
+ */
4283
+ pageUnique?: string;
4284
+ /**
4285
+ * With pageUnique: also count pageviews of the page's descendants.
4286
+ */
4287
+ includeSubpages?: boolean;
4288
+ /**
4289
+ * With pageUnique: limit to one culture of the page, e.g. en-US.
4290
+ */
4291
+ culture?: string;
4292
+ /**
4293
+ * table view only: 1-based page of rows to return.
4294
+ */
4295
+ page?: number;
4296
+ /**
4297
+ * table view only: rows per page.
4298
+ */
4299
+ pageSize?: number;
4300
+ }
4301
+
4302
+ export interface PostAnalyticsRenderedSegmentsOutput {
4303
+ columns: (
4304
+ | "UNDEFINED"
4305
+ | "usertype"
4306
+ | "referralPath"
4307
+ | "fullReferrer"
4308
+ | "campaign"
4309
+ | "source"
4310
+ | "medium"
4311
+ | "sourceMedium"
4312
+ | "browser"
4313
+ | "browserVersion"
4314
+ | "operatingSystem"
4315
+ | "operatingSystemVersion"
4316
+ | "deviceCategory"
4317
+ | "country"
4318
+ | "city"
4319
+ | "hostname"
4320
+ | "pageUrl"
4321
+ | "pageId"
4322
+ | "NodeId"
4323
+ | "NodeCulture"
4324
+ | "NodeSegment"
4325
+ | "NodeContentType"
4326
+ | "pagePath"
4327
+ | "eventCategory"
4328
+ | "eventAction"
4329
+ | "eventLabel"
4330
+ | "date"
4331
+ | "year"
4332
+ | "month"
4333
+ | "week"
4334
+ | "day"
4335
+ | "hour"
4336
+ | "minute"
4337
+ | "nthMonth"
4338
+ | "nthWeek"
4339
+ | "nthDay"
4340
+ | "nthMinute"
4341
+ | "nthHour"
4342
+ | "abTest"
4343
+ | "abTestVariant"
4344
+ | "goal"
4345
+ | "goalId"
4346
+ | "goalType"
4347
+ | "isMainGoal"
4348
+ | "visitorType"
4349
+ | "bot"
4350
+ | "botId"
4351
+ | "botVersion"
4352
+ | "botVersionId"
4353
+ | "referralHostname"
4354
+ | "referralIsInternalPage"
4355
+ | "referralPathAndQuery"
4356
+ | "browserId"
4357
+ | "datetime"
4358
+ | "pageviewSegmentId"
4359
+ | "pageviewSegmentName"
4360
+ | "pageviewAppliedSegmentId"
4361
+ | "pageviewAppliedSegmentName"
4362
+ | "pageviewAppliedPersonalizationId"
4363
+ | "pageviewAppliedPersonalizationName"
4364
+ | "videoName"
4365
+ | "videoUrl"
4366
+ | "videoEventType"
4367
+ | "videoEventTypeName"
4368
+ | "umbracoFormsName"
4369
+ | "umbracoFormsId"
4370
+ | "umbracoFormsFieldName"
4371
+ | "umbracoFormsFieldId"
4372
+ | "umbracoFormsFieldError"
4373
+ | "cityId"
4374
+ | "countryId"
4375
+ | "province"
4376
+ | "provinceId"
4377
+ | "county"
4378
+ | "countyId"
4379
+ | "sourcePlatform"
4380
+ | "creativeFormat"
4381
+ | "marketingTactic"
4382
+ | "segmentId"
4383
+ | "segmentName"
4384
+ | "searchTerm"
4385
+ | "users"
4386
+ | "newVisitors"
4387
+ | "percentNewSessions"
4388
+ | "sessions"
4389
+ | "bounceRate"
4390
+ | "sessionDuration"
4391
+ | "avgSessionDuration"
4392
+ | "goalCompletionsAll"
4393
+ | "goalValueAll"
4394
+ | "pageviews"
4395
+ | "pageviewsWithSubpages"
4396
+ | "pageviewsPerSession"
4397
+ | "uniquePageviews"
4398
+ | "avgTimeOnPage"
4399
+ | "totalEvents"
4400
+ | "eventValue"
4401
+ | "avgEventValue"
4402
+ | "abTestVariantVisitors"
4403
+ | "abTestVariantCompletionsAll"
4404
+ | "videoPlays"
4405
+ | "videoPlaytime"
4406
+ | "avgVideoPlaytime"
4407
+ | "avgRelativeVideoPlaytime"
4408
+ | "videoEvents"
4409
+ | "umbracoFormsViews"
4410
+ | "umbracoFormsSubmissions"
4411
+ | "umbracoFormsStarts"
4412
+ | "umbracoFormsAbandons"
4413
+ | "umbracoFormsErrors"
4414
+ | "umbracoFormsFieldFocusses"
4415
+ | "umbracoFormsFieldAbandons"
4416
+ | "umbracoFormsFieldErrors"
4417
+ | "avgEngagedTimeOnPage"
4418
+ | "pageSessions"
4419
+ | "pageVisitors"
4420
+ | "pageSessionsWithSubpages"
4421
+ | "pageVisitorsWithSubpages"
4422
+ | "activeSegmentPageviews"
4423
+ | "inactiveSegmentPageviews"
4424
+ | "activeSegmentSessions"
4425
+ | "inactiveSegmentSessions"
4426
+ | "activeSegmentProfiles"
4427
+ | "inactiveSegmentProfiles"
4428
+ | "activePersonalizedSegmentPageviews"
4429
+ | "inactivePersonalizedSegmentPageviews"
4430
+ | "activePersonalizedSegmentSessions"
4431
+ | "inactivePersonalizedSegmentSessions"
4432
+ | "activePersonalizedSegmentProfiles"
4433
+ | "inactivePersonalizedSegmentProfiles"
4434
+ | "searchVolume"
4435
+ | "searchVolumeWithSubpages"
4436
+ | "visitors"
4437
+ | "campaignEntries"
4438
+ | "campaignVisitors"
4439
+ | "campaignGoals"
4440
+ | "campaignGoalValue"
4441
+ | "campaignFormSubmissions"
4442
+ | "campaignCommerceOrders"
4443
+ | "entrySessions"
4444
+ )[];
4445
+ currentPage: number;
4446
+ rows: unknown[][];
4447
+ rowsPerPage: number;
4448
+ totalRows: number;
4449
+ totalPages: number;
4450
+ metricTotals?: (number | null)[] | null;
3803
4451
  fromRow: number;
3804
4452
  toRow: number;
3805
4453
  reportsExist: boolean;
@@ -4328,9 +4976,8 @@ export interface GetConfigurationInput {}
4328
4976
 
4329
4977
  export interface GetConfigurationOutput {
4330
4978
  settings: {
4331
- databaseConnectionStringName: string | null;
4979
+ databaseConnectionStringName: string;
4332
4980
  enabled: boolean;
4333
- useLegacySegmentNames: boolean;
4334
4981
  suspiciousActivity: {
4335
4982
  pageviewThreshold: number;
4336
4983
  };
@@ -4338,8 +4985,8 @@ export interface GetConfigurationOutput {
4338
4985
  analytics: {
4339
4986
  visitorCookie: {
4340
4987
  expirationInDays: number;
4341
- cookieName: string | null;
4342
- legacyCookieName: string | null;
4988
+ cookieName: string;
4989
+ legacyCookieName: string;
4343
4990
  includeSubdomains: boolean;
4344
4991
  };
4345
4992
  dataCollection: {
@@ -4350,9 +4997,9 @@ export interface GetConfigurationOutput {
4350
4997
  regexTimeoutInMilliseconds: number;
4351
4998
  internalSiteSearch: {
4352
4999
  automaticSearchTracking: boolean;
4353
- searchTermParameters: string[] | null;
4354
- searchBoxParameters: string[] | null;
4355
- categoryParameters: string[] | null;
5000
+ searchTermParameters: string[];
5001
+ searchBoxParameters: string[];
5002
+ categoryParameters: string[];
4356
5003
  };
4357
5004
  };
4358
5005
  dataStorage: {
@@ -4365,16 +5012,14 @@ export interface GetConfigurationOutput {
4365
5012
  intervalInSeconds: number;
4366
5013
  sessionLengthInMinutes: number;
4367
5014
  isProcessingServer: boolean;
5015
+ profileBuildCommandTimeout: number;
4368
5016
  };
4369
5017
  dataCleanup: {
4370
5018
  enabled: boolean;
4371
- firstRunTime: string | null;
5019
+ firstRunTime: string;
4372
5020
  startupDelay: string;
4373
5021
  interval: string;
4374
5022
  commandTimeout: number;
4375
- startAfterSeconds: number;
4376
- intervalInSeconds: number;
4377
- numberOfRows: number;
4378
5023
  };
4379
5024
  };
4380
5025
  abTesting: {
@@ -4388,8 +5033,8 @@ export interface GetConfigurationOutput {
4388
5033
  engagedThresholdNumberOfSessions: number;
4389
5034
  };
4390
5035
  identification: {
4391
- name: string | null;
4392
- abbreviation: string | null;
5036
+ name: string;
5037
+ abbreviation: string;
4393
5038
  };
4394
5039
  };
4395
5040
  reporting: {
@@ -4397,14 +5042,17 @@ export interface GetConfigurationOutput {
4397
5042
  dataGenerationTime?: string | null;
4398
5043
  timezone?: string | null;
4399
5044
  reportingTimeZone: {
4400
- id: string | null;
5045
+ id: string;
4401
5046
  hasIanaId: boolean;
4402
- displayName: string | null;
4403
- standardName: string | null;
4404
- daylightName: string | null;
5047
+ displayName: string;
5048
+ standardName: string;
5049
+ daylightName: string;
4405
5050
  baseUtcOffset: string;
4406
5051
  supportsDaylightSavingTime: boolean;
4407
5052
  };
5053
+ queryCommandTimeout: number;
5054
+ resolvedDataGenerationTime?: string | null;
5055
+ isDataGenerationTimeAutomatic: boolean;
4408
5056
  };
4409
5057
  deliveryApi: {
4410
5058
  disableVisitorCookie: boolean;
@@ -4431,11 +5079,11 @@ export interface GetConfigurationOutput {
4431
5079
  cleanupIntervalMinutes: number;
4432
5080
  tokenRetentionBufferMinutes: number;
4433
5081
  sessionRetentionBufferMinutes: number;
4434
- sessionCookieSameSite: string | null;
5082
+ sessionCookieSameSite: string;
4435
5083
  };
4436
5084
  };
4437
5085
  segmentation: {
4438
- excludedPropertyAliases: string[] | null;
5086
+ excludedPropertyAliases: string[];
4439
5087
  };
4440
5088
  }
4441
5089
 
@@ -4533,8 +5181,8 @@ export interface DeleteCustomerJourneyInput {
4533
5181
 
4534
5182
  export interface DeleteCustomerJourneyOutput {
4535
5183
  isValid: boolean;
4536
- warnings: string[] | null;
4537
- errors: string[] | null;
5184
+ warnings: string[];
5185
+ errors: string[];
4538
5186
  }
4539
5187
 
4540
5188
  export interface PostCustomerJourneyInput {
@@ -4591,8 +5239,8 @@ export interface PostCustomerJourneyOutput {
4591
5239
  };
4592
5240
  validationResults: {
4593
5241
  isValid: boolean;
4594
- warnings: string[] | null;
4595
- errors: string[] | null;
5242
+ warnings: string[];
5243
+ errors: string[];
4596
5244
  };
4597
5245
  }
4598
5246
 
@@ -4922,9 +5570,9 @@ export interface GetGoalAllTypesInput {}
4922
5570
 
4923
5571
  export interface GetGoalAllTypesOutput {
4924
5572
  items: {
4925
- configurationEditorAlias: string | null;
5573
+ configurationEditorAlias: string;
4926
5574
  id: string;
4927
- name: string | null;
5575
+ name: string;
4928
5576
  }[];
4929
5577
  }
4930
5578
 
@@ -4938,10 +5586,10 @@ export interface GetGoalDetailsInput {
4938
5586
  export interface GetGoalDetailsOutput {
4939
5587
  id: number;
4940
5588
  unique: string;
4941
- name: string | null;
5589
+ name: string;
4942
5590
  value: number;
4943
5591
  goalTypeId: string;
4944
- goalTypeConfig: string | null;
5592
+ goalTypeConfig: string;
4945
5593
  isMain: boolean;
4946
5594
  isInverted: boolean;
4947
5595
  isActive: boolean;
@@ -5099,8 +5747,8 @@ export interface DeletePersonaInput {
5099
5747
 
5100
5748
  export interface DeletePersonaOutput {
5101
5749
  isValid: boolean;
5102
- warnings: string[] | null;
5103
- errors: string[] | null;
5750
+ warnings: string[];
5751
+ errors: string[];
5104
5752
  }
5105
5753
 
5106
5754
  export interface PostPersonaInput {
@@ -5160,8 +5808,8 @@ export interface PostPersonaOutput {
5160
5808
  };
5161
5809
  validationResults: {
5162
5810
  isValid: boolean;
5163
- warnings: string[] | null;
5164
- errors: string[] | null;
5811
+ warnings: string[];
5812
+ errors: string[];
5165
5813
  };
5166
5814
  }
5167
5815
 
@@ -5829,14 +6477,12 @@ export interface PostReferralScoringScoredOutput {
5829
6477
  totalPages: number;
5830
6478
  totalRowCount: number;
5831
6479
  itemsPerPage: number;
5832
- rows:
5833
- | {
5834
- id: number;
5835
- referralGroupId?: number | null;
5836
- url?: string | null;
5837
- referrals: number;
5838
- }[]
5839
- | null;
6480
+ rows: {
6481
+ id: number;
6482
+ referralGroupId?: number | null;
6483
+ url?: string | null;
6484
+ referrals: number;
6485
+ }[];
5840
6486
  }
5841
6487
 
5842
6488
  export interface PostReferralScoringUnscoredInput {
@@ -5850,14 +6496,12 @@ export interface PostReferralScoringUnscoredOutput {
5850
6496
  totalPages: number;
5851
6497
  totalRowCount: number;
5852
6498
  itemsPerPage: number;
5853
- rows:
5854
- | {
5855
- id: number;
5856
- referralGroupId?: number | null;
5857
- url?: string | null;
5858
- referrals: number;
5859
- }[]
5860
- | null;
6499
+ rows: {
6500
+ id: number;
6501
+ referralGroupId?: number | null;
6502
+ url?: string | null;
6503
+ referrals: number;
6504
+ }[];
5861
6505
  }
5862
6506
 
5863
6507
  export interface GetReportingInput {
@@ -6094,6 +6738,39 @@ export interface PostSegmentsUpdatePriorityInput {
6094
6738
  }[];
6095
6739
  }
6096
6740
 
6741
+ export interface GetSegmentsEditableSegmentsInput {
6742
+ /**
6743
+ * The content item's key (document unique guid). Returns only the segments editors can create segment variants of for this page. Omit (or pass an unknown key) to list every editable segment on the site.
6744
+ */
6745
+ id?: string;
6746
+ /**
6747
+ * The content item's document type unique guid, as a string. Required by the API.
6748
+ */
6749
+ contentType: string;
6750
+ /**
6751
+ * The content item's entity type. Defaults to document.
6752
+ */
6753
+ entityType?: string;
6754
+ }
6755
+
6756
+ export interface GetSegmentsEditableSegmentsOutput {
6757
+ items: {
6758
+ alias: string;
6759
+ name: string;
6760
+ cultures?: string[] | null;
6761
+ }[];
6762
+ }
6763
+
6764
+ export interface GetStartPageSetupStatusInput {}
6765
+
6766
+ export interface GetStartPageSetupStatusOutput {
6767
+ pageviewRecorded: boolean;
6768
+ segmentExists: boolean;
6769
+ goalExists: boolean;
6770
+ abTestExists: boolean;
6771
+ personalizationExists: boolean;
6772
+ }
6773
+
6097
6774
  export interface GetStatisticsInput {}
6098
6775
 
6099
6776
  export interface GetStatisticsOutput {
@@ -6207,64 +6884,6 @@ export interface GetTrafficFilterEmptyOutput {
6207
6884
  created: string;
6208
6885
  }
6209
6886
 
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
6887
  export interface EngageTools {
6269
6888
  "get-package": { input: GetPackageInput; output: GetPackageOutput };
6270
6889
  "delete-ab-test": { input: DeleteAbTestInput; output: DeleteAbTestOutput };
@@ -6279,6 +6898,9 @@ export interface EngageTools {
6279
6898
  "get-ab-test-view-model": { input: GetAbTestViewModelInput; output: GetAbTestViewModelOutput };
6280
6899
  "post-ab-test-start": { input: PostAbTestStartInput; output: PostAbTestStartOutput };
6281
6900
  "post-ab-test-stop": { input: PostAbTestStopInput; output: PostAbTestStopOutput };
6901
+ "post-ab-test-archive": { input: PostAbTestArchiveInput; output: PostAbTestArchiveOutput };
6902
+ "post-ab-test-end": { input: PostAbTestEndInput; output: PostAbTestEndOutput };
6903
+ "post-ab-test-unschedule": { input: PostAbTestUnscheduleInput; output: PostAbTestUnscheduleOutput };
6282
6904
  "post-ab-test-project": { input: PostAbTestProjectInput; output: PostAbTestProjectOutput };
6283
6905
  "delete-ab-test-project": { input: DeleteAbTestProjectInput; output: unknown };
6284
6906
  "get-ab-test-project": { input: GetAbTestProjectInput; output: GetAbTestProjectOutput };
@@ -6292,9 +6914,9 @@ export interface EngageTools {
6292
6914
  "post-ab-test-variant-create": { input: PostAbTestVariantCreateInput; output: PostAbTestVariantCreateOutput };
6293
6915
  "post-ab-test-variant-disable": { input: PostAbTestVariantDisableInput; output: PostAbTestVariantDisableOutput };
6294
6916
  "get-ab-test-variant-segment": { input: GetAbTestVariantSegmentInput; output: GetAbTestVariantSegmentOutput };
6295
- "get-add-ons": { input: GetAddOnsInput; output: GetAddOnsOutput };
6296
6917
  "get-analytics-distinct": { input: GetAnalyticsDistinctInput; output: GetAnalyticsDistinctOutput };
6297
6918
  "post-analytics-query": { input: PostAnalyticsQueryInput; output: PostAnalyticsQueryOutput };
6919
+ "post-analytics-rendered-segments": { input: PostAnalyticsRenderedSegmentsInput; output: PostAnalyticsRenderedSegmentsOutput };
6298
6920
  "delete-annotations": { input: DeleteAnnotationsInput; output: unknown };
6299
6921
  "post-annotations": { input: PostAnnotationsInput; output: PostAnnotationsOutput };
6300
6922
  "get-annotations-all": { input: GetAnnotationsAllInput; output: GetAnnotationsAllOutput };
@@ -6392,6 +7014,8 @@ export interface EngageTools {
6392
7014
  "get-segments-all": { input: GetSegmentsAllInput; output: GetSegmentsAllOutput };
6393
7015
  "get-segments-locations-data": { input: GetSegmentsLocationsDataInput; output: GetSegmentsLocationsDataOutput };
6394
7016
  "post-segments-update-priority": { input: PostSegmentsUpdatePriorityInput; output: unknown };
7017
+ "get-segments-editable-segments": { input: GetSegmentsEditableSegmentsInput; output: GetSegmentsEditableSegmentsOutput };
7018
+ "get-start-page-setup-status": { input: GetStartPageSetupStatusInput; output: GetStartPageSetupStatusOutput };
6395
7019
  "get-statistics": { input: GetStatisticsInput; output: GetStatisticsOutput };
6396
7020
  "get-suspicious-activity-overview": { input: GetSuspiciousActivityOverviewInput; output: GetSuspiciousActivityOverviewOutput };
6397
7021
  "delete-traffic-filter": { input: DeleteTrafficFilterInput; output: unknown };
@@ -6399,9 +7023,6 @@ export interface EngageTools {
6399
7023
  "post-traffic-filter": { input: PostTrafficFilterInput; output: PostTrafficFilterOutput };
6400
7024
  "get-traffic-filter-all": { input: GetTrafficFilterAllInput; output: GetTrafficFilterAllOutput };
6401
7025
  "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
7026
  }
6406
7027
 
6407
7028
  export type EngageToolsName = keyof EngageTools;